mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
Fix for Resource temporarily unavailable error for CLN channel alias list Security fix for npm vulnerabilities
1 line
No EOL
3.2 MiB
1 line
No EOL
3.2 MiB
(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[792],{8430:(Ve,ee,p)=>{"use strict";p.d(ee,{$6:()=>ne,$J:()=>r,$Q:()=>D,Aw:()=>R,C2:()=>y,CK:()=>ie,Db:()=>Nt,Do:()=>N,Dq:()=>Ye,ED:()=>ke,EM:()=>_e,Eb:()=>We,Ew:()=>de,Fd:()=>ae,GZ:()=>pe,Gy:()=>F,Gz:()=>Ke,Hm:()=>be,Jx:()=>at,Ml:()=>Ct,N4:()=>ye,NS:()=>x,NU:()=>Je,Qj:()=>V,Qv:()=>_t,Sn:()=>m,T4:()=>ue,Uj:()=>ve,VK:()=>Ie,We:()=>Y,XT:()=>T,Yi:()=>_,Zi:()=>Z,a5:()=>rt,aB:()=>re,cR:()=>M,dv:()=>n,ed:()=>$,fy:()=>c,g6:()=>oe,gf:()=>S,ij:()=>O,jQ:()=>et,kQ:()=>he,kX:()=>w,kv:()=>z,lg:()=>l,no:()=>C,qw:()=>se,sq:()=>U,uK:()=>v,vL:()=>f,w0:()=>h,x1:()=>d,y0:()=>fe,zU:()=>L});var t=p(9640),e=p(4416);const C=(0,t.VP)(e.TC.UPDATE_API_CALL_STATUS_CLN,(0,t.xk)()),S=(0,t.VP)(e.TC.RESET_CLN_STORE),l=(0,t.VP)(e.TC.FETCH_PAGE_SETTINGS_CLN),x=(0,t.VP)(e.TC.SET_PAGE_SETTINGS_CLN,(0,t.xk)()),m=(0,t.VP)(e.TC.SAVE_PAGE_SETTINGS_CLN,(0,t.xk)()),R=(0,t.VP)(e.TC.FETCH_INFO_CLN,(0,t.xk)()),d=(0,t.VP)(e.TC.SET_INFO_CLN,(0,t.xk)()),w=(0,t.VP)(e.TC.FETCH_FEE_RATES_CLN,(0,t.xk)()),y=(0,t.VP)(e.TC.SET_FEE_RATES_CLN,(0,t.xk)()),T=(0,t.VP)(e.TC.GET_NEW_ADDRESS_CLN,(0,t.xk)()),F=((0,t.VP)(e.TC.SET_NEW_ADDRESS_CLN,(0,t.xk)()),(0,t.VP)(e.TC.FETCH_PEERS_CLN)),V=(0,t.VP)(e.TC.SET_PEERS_CLN,(0,t.xk)()),U=(0,t.VP)(e.TC.SAVE_NEW_PEER_CLN,(0,t.xk)()),Y=((0,t.VP)(e.TC.NEWLY_ADDED_PEER_CLN,(0,t.xk)()),(0,t.VP)(e.TC.ADD_PEER_CLN,(0,t.xk)())),$=(0,t.VP)(e.TC.DETACH_PEER_CLN,(0,t.xk)()),Z=(0,t.VP)(e.TC.REMOVE_PEER_CLN,(0,t.xk)()),ie=(0,t.VP)(e.TC.FETCH_PAYMENTS_CLN),ve=(0,t.VP)(e.TC.SET_PAYMENTS_CLN,(0,t.xk)()),ae=(0,t.VP)(e.TC.SEND_PAYMENT_CLN,(0,t.xk)()),ye=(0,t.VP)(e.TC.SEND_PAYMENT_STATUS_CLN,(0,t.xk)()),ue=(0,t.VP)(e.TC.GET_QUERY_ROUTES_CLN,(0,t.xk)()),be=(0,t.VP)(e.TC.SET_QUERY_ROUTES_CLN,(0,t.xk)()),D=(0,t.VP)(e.TC.FETCH_CHANNELS_CLN),n=(0,t.VP)(e.TC.SET_CHANNELS_CLN,(0,t.xk)()),c=(0,t.VP)(e.TC.UPDATE_CHANNEL_CLN,(0,t.xk)()),f=(0,t.VP)(e.TC.SAVE_NEW_CHANNEL_CLN,(0,t.xk)()),h=(0,t.VP)(e.TC.CLOSE_CHANNEL_CLN,(0,t.xk)()),M=(0,t.VP)(e.TC.REMOVE_CHANNEL_CLN,(0,t.xk)()),L=(0,t.VP)(e.TC.PEER_LOOKUP_CLN,(0,t.xk)()),O=(0,t.VP)(e.TC.CHANNEL_LOOKUP_CLN,(0,t.xk)()),_=(0,t.VP)(e.TC.INVOICE_LOOKUP_CLN,(0,t.xk)()),r=(0,t.VP)(e.TC.SET_LOOKUP_CLN,(0,t.xk)()),v=(0,t.VP)(e.TC.GET_FORWARDING_HISTORY_CLN,(0,t.xk)()),z=(0,t.VP)(e.TC.SET_FORWARDING_HISTORY_CLN,(0,t.xk)()),N=(0,t.VP)(e.TC.FETCH_INVOICES_CLN),ne=(0,t.VP)(e.TC.SET_INVOICES_CLN,(0,t.xk)()),Ie=(0,t.VP)(e.TC.SAVE_NEW_INVOICE_CLN,(0,t.xk)()),at=(0,t.VP)(e.TC.ADD_INVOICE_CLN,(0,t.xk)()),Ye=(0,t.VP)(e.TC.UPDATE_INVOICE_CLN,(0,t.xk)()),rt=(0,t.VP)(e.TC.DELETE_EXPIRED_INVOICE_CLN,(0,t.xk)()),re=(0,t.VP)(e.TC.SET_CHANNEL_TRANSACTION_CLN,(0,t.xk)()),oe=((0,t.VP)(e.TC.SET_CHANNEL_TRANSACTION_RES_CLN,(0,t.xk)()),(0,t.VP)(e.TC.FETCH_UTXO_BALANCES_CLN)),_e=(0,t.VP)(e.TC.SET_UTXO_BALANCES_CLN,(0,t.xk)()),de=(0,t.VP)(e.TC.FETCH_OFFER_INVOICE_CLN,(0,t.xk)()),pe=(0,t.VP)(e.TC.SET_OFFER_INVOICE_CLN,(0,t.xk)()),We=(0,t.VP)(e.TC.FETCH_OFFERS_CLN),se=(0,t.VP)(e.TC.SET_OFFERS_CLN,(0,t.xk)()),fe=(0,t.VP)(e.TC.SAVE_NEW_OFFER_CLN,(0,t.xk)()),he=(0,t.VP)(e.TC.ADD_OFFER_CLN,(0,t.xk)()),et=(0,t.VP)(e.TC.DISABLE_OFFER_CLN,(0,t.xk)()),Ke=(0,t.VP)(e.TC.UPDATE_OFFER_CLN,(0,t.xk)()),Ct=(0,t.VP)(e.TC.FETCH_OFFER_BOOKMARKS_CLN),_t=(0,t.VP)(e.TC.SET_OFFER_BOOKMARKS_CLN,(0,t.xk)()),Nt=(0,t.VP)(e.TC.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,t.xk)()),ke=(0,t.VP)(e.TC.DELETE_OFFER_BOOKMARK_CLN,(0,t.xk)()),Je=(0,t.VP)(e.TC.REMOVE_OFFER_BOOKMARK_CLN,(0,t.xk)())},283:(Ve,ee,p)=>{"use strict";p.d(ee,{i:()=>ye});var t=p(4054),e=p(1413),C=p(7673),S=p(1397),l=p(6977),x=p(6354),m=p(9437),R=p(2462),d=p(8321),w=p(4416),y=p(1771),T=p(8430),k=p(9584),F=p(2142),V=p(4438),U=p(1626),G=p(9640),Y=p(3202),$=p(2571),Z=p(8570),ie=p(1188),ve=p(7879),ae=p(177);let ye=(()=>{class ue{constructor(D,n,c,f,h,M,L,O,_){this.actions=D,this.httpClient=n,this.store=c,this.sessionService=f,this.commonService=h,this.logger=M,this.router=L,this.wsService=O,this.location=_,this.CHILD_API_URL=w.H$+"/cln",this.CLN_VERISON="",this.flgInitialized=!1,this.unSubs=[new e.B,new e.B,new e.B],this.infoFetchCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.FETCH_INFO_CLN),(0,S.Z)(r=>(this.flgInitialized=!1,this.store.dispatch((0,y.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,T.no)({payload:{action:"FetchInfo",status:w.wn.INITIATED}})),this.store.dispatch((0,y.mt)({payload:w.MZ.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+w.rl.GETINFO_API).pipe((0,l.Q)(this.actions.pipe((0,t.gp)(w.aU.SET_SELECTED_NODE))),(0,x.T)(v=>(this.logger.info(v),this.CLN_VERISON=v.version||"",v.chains&&v.chains.length&&v.chains[0]&&"object"==typeof v.chains[0]&&v.chains[0].hasOwnProperty("chain")&&v?.chains[0].chain&&v?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&v?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,T.no)({payload:{action:"FetchInfo",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:w.MZ.GET_NODE_INFO})),this.store.dispatch((0,y.Jh)()),setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{type:w.A$.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:w.aU.LOGOUT,payload:"Sorry Not Sorry, RTL is Bitcoin Only!"}):(this.initializeRemainingData(v,r.payload.loadPage),this.store.dispatch((0,T.no)({payload:{action:"FetchInfo",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:w.MZ.GET_NODE_INFO})),{type:w.TC.SET_INFO_CLN,payload:v||{}}))),(0,m.W)(v=>{const z=this.commonService.extractErrorCode(v),N=503===z?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(v);return this.router.navigate(["/error"],{state:{errorCode:z,errorMessage:N}}),this.handleErrorWithoutAlert("FetchInfo",w.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:z,error:N}),(0,C.of)({type:w.aU.VOID})})))))),this.fetchFeeRatesCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.FETCH_FEE_RATES_CLN),(0,S.Z)(r=>(this.store.dispatch((0,T.no)({payload:{action:"FetchFeeRates"+r.payload,status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.NETWORK_API+"/feeRates",{style:r.payload}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"FetchFeeRates"+r.payload,status:w.wn.COMPLETED}})),{type:w.TC.SET_FEE_RATES_CLN,payload:v||{}})),(0,m.W)(v=>(this.handleErrorWithoutAlert("FetchFeeRates"+r.payload,w.MZ.NO_SPINNER,"Fetching Fee Rates Failed.",v),(0,C.of)({type:w.aU.VOID})))))))),this.getNewAddressCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.GET_NEW_ADDRESS_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.post(this.CHILD_API_URL+w.rl.ON_CHAIN_API+"/newaddr",{addresstype:r.payload.addressCode}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,y.y0)({payload:w.MZ.GENERATE_NEW_ADDRESS})),{type:w.TC.SET_NEW_ADDRESS_CLN,payload:v&&v[r.payload.addressCode]?v[r.payload.addressCode]:{}})),(0,m.W)(v=>(this.handleErrorWithAlert("GenerateNewAddress",w.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+w.rl.ON_CHAIN_API,v),(0,C.of)({type:w.aU.VOID})))))))),this.setNewAddressCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.SET_NEW_ADDRESS_CLN),(0,x.T)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.peersFetchCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.FETCH_PEERS_CLN),(0,S.Z)(()=>(this.store.dispatch((0,T.no)({payload:{action:"FetchPeers",status:w.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.rl.PEERS_API).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,T.no)({payload:{action:"FetchPeers",status:w.wn.COMPLETED}})),{type:w.TC.SET_PEERS_CLN,payload:r||[]})),(0,m.W)(r=>(this.handleErrorWithoutAlert("FetchPeers",w.MZ.NO_SPINNER,"Fetching Peers Failed.",r),(0,C.of)({type:w.aU.VOID})))))))),this.saveNewPeerCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.SAVE_NEW_PEER_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.CONNECT_PEER})),this.store.dispatch((0,T.no)({payload:{action:"SaveNewPeer",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.PEERS_API,{id:r.payload.id}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"SaveNewPeer",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:w.MZ.CONNECT_PEER})),this.store.dispatch((0,T.Qj)({payload:v||[]})),{type:w.TC.NEWLY_ADDED_PEER_CLN,payload:{peer:v.find(z=>0===r.payload.id.indexOf(z.id?z.id:""))}})),(0,m.W)(v=>(this.handleErrorWithoutAlert("SaveNewPeer",w.MZ.CONNECT_PEER,"Peer Connection Failed.",v),(0,C.of)({type:w.aU.VOID})))))))),this.detachPeerCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.DETACH_PEER_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.DISCONNECT_PEER})),this.httpClient.post(this.CHILD_API_URL+w.rl.PEERS_API+"/disconnect",{id:r.payload.id,force:r.payload.force}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,y.y0)({payload:w.MZ.DISCONNECT_PEER})),this.store.dispatch((0,y.UI)({payload:"Peer Disconnected Successfully!"})),{type:w.TC.REMOVE_PEER_CLN,payload:{id:r.payload.id}})),(0,m.W)(v=>(this.handleErrorWithAlert("PeerDisconnect",w.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+w.rl.PEERS_API+"/"+r.payload.id,v),(0,C.of)({type:w.aU.VOID})))))))),this.channelsFetchCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.FETCH_CHANNELS_CLN),(0,S.Z)(()=>(this.store.dispatch((0,T.no)({payload:{action:"FetchChannels",status:w.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.rl.CHANNELS_API+"/listPeerChannels"))),(0,x.T)(r=>{this.logger.info(r),this.store.dispatch((0,T.no)({payload:{action:"FetchChannels",status:w.wn.COMPLETED}}));const v={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return r.forEach(z=>{"CHANNELD_NORMAL"===z.state?z.peer_connected?v.activeChannels.push(z):v.inactiveChannels.push(z):v.pendingChannels.push(z)}),{type:w.TC.SET_CHANNELS_CLN,payload:v}}),(0,m.W)(r=>(this.handleErrorWithoutAlert("FetchChannels",w.MZ.NO_SPINNER,"Fetching Channels Failed.",r),(0,C.of)({type:w.aU.VOID}))))),this.openNewChannelCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.SAVE_NEW_CHANNEL_CLN),(0,S.Z)(r=>{this.store.dispatch((0,y.mt)({payload:w.MZ.OPEN_CHANNEL})),this.store.dispatch((0,T.no)({payload:{action:"SaveNewChannel",status:w.wn.INITIATED}}));const v={id:r.payload.peerId,amount:r.payload.amount,feerate:r.payload.feeRate,announce:r.payload.announce};return r.payload.minconf&&(v.minconf=r.payload.minconf),r.payload.utxos&&(v.utxos=r.payload.utxos),r.payload.requestAmount&&(v.request_amt=r.payload.requestAmount),r.payload.compactLease&&(v.compact_lease=r.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+w.rl.CHANNELS_API,v).pipe((0,x.T)(z=>(this.logger.info(z),this.store.dispatch((0,T.no)({payload:{action:"SaveNewChannel",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:w.MZ.OPEN_CHANNEL})),this.store.dispatch((0,y.UI)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,T.g6)()),{type:w.TC.FETCH_CHANNELS_CLN})),(0,m.W)(z=>(this.handleErrorWithoutAlert("SaveNewChannel",w.MZ.OPEN_CHANNEL,"Opening Channel Failed.",z),(0,C.of)({type:w.aU.VOID}))))}))),this.updateChannelCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.UPDATE_CHANNEL_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+w.rl.CHANNELS_API+"/setChannelFee",r.payload).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,y.y0)({payload:w.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,y.UI)("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:w.TC.FETCH_CHANNELS_CLN})),(0,m.W)(v=>(this.handleErrorWithAlert("UpdateChannel",w.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+w.rl.CHANNELS_API,v),(0,C.of)({type:w.aU.VOID})))))))),this.closeChannelCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.CLOSE_CHANNEL_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:r.payload.force?w.MZ.FORCE_CLOSE_CHANNEL:w.MZ.CLOSE_CHANNEL})),this.httpClient.post(this.CHILD_API_URL+w.rl.CHANNELS_API+"/close",{id:r.payload.channelId,unilateraltimeout:r.payload.force?1:null}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,y.y0)({payload:r.payload.force?w.MZ.FORCE_CLOSE_CHANNEL:w.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,T.$Q)()),this.store.dispatch((0,T.g6)()),this.store.dispatch((0,y.UI)({payload:"Channel Closed Successfully!"})),{type:w.TC.REMOVE_CHANNEL_CLN,payload:r.payload})),(0,m.W)(v=>(this.handleErrorWithAlert("CloseChannel",r.payload.force?w.MZ.FORCE_CLOSE_CHANNEL:w.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+w.rl.CHANNELS_API,v),(0,C.of)({type:w.aU.VOID})))))))),this.paymentsFetchCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.FETCH_PAYMENTS_CLN),(0,S.Z)(()=>(this.store.dispatch((0,T.no)({payload:{action:"FetchPayments",status:w.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.rl.PAYMENTS_API))),(0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,T.no)({payload:{action:"FetchPayments",status:w.wn.COMPLETED}})),{type:w.TC.SET_PAYMENTS_CLN,payload:r||[]})),(0,m.W)(r=>(this.handleErrorWithoutAlert("FetchPayments",w.MZ.NO_SPINNER,"Fetching Payments Failed.",r),(0,C.of)({type:w.aU.VOID}))))),this.fetchOfferInvoiceCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.FETCH_OFFER_INVOICE_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.FETCH_INVOICE})),this.store.dispatch((0,T.no)({payload:{action:"FetchOfferInvoice",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.OFFERS_API+"/fetchOfferInvoice",r.payload).pipe((0,x.T)(v=>{this.logger.info(v),setTimeout(()=>{this.store.dispatch((0,T.no)({payload:{action:"FetchOfferInvoice",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:w.MZ.FETCH_INVOICE})),this.store.dispatch((0,T.GZ)({payload:v||{}}))},500)}),(0,m.W)(v=>(this.handleErrorWithoutAlert("FetchOfferInvoice",w.MZ.FETCH_INVOICE,"Offer Invoice Fetch Failed",v),(0,C.of)({type:w.aU.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.SET_OFFER_INVOICE_CLN),(0,x.T)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.sendPaymentCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.SEND_PAYMENT_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:r.payload.uiMessage})),this.store.dispatch((0,T.no)({payload:{action:"SendPayment",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.PAYMENTS_API,r.payload).pipe((0,x.T)(v=>{this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"SendPayment",status:w.wn.COMPLETED}}));let z="Payment Sent Successfully!";v.saveToDBError&&(z="Payment Sent Successfully but Offer Saving to Database Failed."),v.saveToDBResponse&&"NA"!==v.saveToDBResponse&&(this.store.dispatch((0,T.Db)({payload:v.saveToDBResponse})),z="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,T.$Q)()),this.store.dispatch((0,T.g6)()),this.store.dispatch((0,T.CK)()),this.store.dispatch((0,y.y0)({payload:r.payload.uiMessage})),this.store.dispatch((0,y.UI)({payload:z})),this.store.dispatch((0,T.N4)({payload:v.paymentResponse}))},1e3)}),(0,m.W)(v=>(this.logger.error("Error: "+JSON.stringify(v)),r.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",r.payload.uiMessage,"Send Payment Failed.",v):this.handleErrorWithAlert("SendPayment",r.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+w.rl.PAYMENTS_API,v),(0,C.of)({type:w.aU.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.GET_QUERY_ROUTES_CLN),(0,S.Z)(r=>(this.store.dispatch((0,T.no)({payload:{action:"GetQueryRoutes",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.NETWORK_API+"/getRoute",{id:r.payload.destPubkey,amount_msat:r.payload.amount,riskfactor:0}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"GetQueryRoutes",status:w.wn.COMPLETED}})),{type:w.TC.SET_QUERY_ROUTES_CLN,payload:v})),(0,m.W)(v=>(this.store.dispatch((0,T.Hm)({payload:{route:[]}})),this.handleErrorWithAlert("GetQueryRoutes",w.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+w.rl.NETWORK_API+"/getRoute",v),(0,C.of)({type:w.aU.VOID})))))))),this.setQueryRoutesCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.SET_QUERY_ROUTES_CLN),(0,x.T)(r=>r.payload)),{dispatch:!1}),this.peerLookupCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.PEER_LOOKUP_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.SEARCHING_NODE})),this.store.dispatch((0,T.no)({payload:{action:"Lookup",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.NETWORK_API+"/listNodes",{id:r.payload}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"Lookup",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:w.MZ.SEARCHING_NODE})),{type:w.TC.SET_LOOKUP_CLN,payload:v})),(0,m.W)(v=>(this.handleErrorWithAlert("Lookup",w.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+w.rl.NETWORK_API+"/listNodes/"+r.payload,v),(0,C.of)({type:w.aU.VOID})))))))),this.channelLookupCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.CHANNEL_LOOKUP_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:r.payload.uiMessage})),this.store.dispatch((0,T.no)({payload:{action:"Lookup",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.NETWORK_API+"/listChannels",{short_channel_id:r.payload.shortChannelID}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"Lookup",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:r.payload.uiMessage})),{type:w.TC.SET_LOOKUP_CLN,payload:v})),(0,m.W)(v=>(r.payload.showError?this.handleErrorWithAlert("Lookup",r.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+w.rl.NETWORK_API+"/listChannels/"+r.payload.shortChannelID,v):this.store.dispatch((0,y.y0)({payload:r.payload.uiMessage})),this.store.dispatch((0,T.$J)({payload:[]})),(0,C.of)({type:w.aU.VOID})))))))),this.invoiceLookupCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.INVOICE_LOOKUP_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,T.no)({payload:{action:"Lookup",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.INVOICES_API+"/lookup",{label:r.payload}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"Lookup",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:w.MZ.SEARCHING_INVOICE})),v.invoices&&v.invoices.length&&v.invoices.length>0&&this.store.dispatch((0,T.Dq)({payload:v.invoices[0]})),{type:w.TC.SET_LOOKUP_CLN,payload:v.invoices&&v.invoices.length&&v.invoices.length>0?v.invoices[0]:v})),(0,m.W)(v=>(this.handleErrorWithoutAlert("Lookup",w.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",v),this.store.dispatch((0,y.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,C.of)({type:w.aU.VOID})))))))),this.setLookupCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.SET_LOOKUP_CLN),(0,x.T)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.GET_FORWARDING_HISTORY_CLN),(0,S.Z)(r=>{const v=r.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,T.no)({payload:{action:"FetchForwardingHistory"+v,status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.CHANNELS_API+"/listForwards",r.payload).pipe((0,x.T)(z=>(this.logger.info(z),this.store.dispatch((0,T.no)({payload:{action:"FetchForwardingHistory"+v,status:w.wn.COMPLETED}})),r.payload.status===w.xk.FAILED?this.store.dispatch((0,T.kv)({payload:{status:w.xk.FAILED,totalForwards:z.length,listForwards:z}})):r.payload.status===w.xk.LOCAL_FAILED?this.store.dispatch((0,T.kv)({payload:{status:w.xk.LOCAL_FAILED,totalForwards:z.length,listForwards:z}})):r.payload.status===w.xk.SETTLED&&this.store.dispatch((0,T.kv)({payload:{status:w.xk.SETTLED,totalForwards:z.length,listForwards:z}})),{type:w.aU.VOID})),(0,m.W)(z=>(this.handleErrorWithAlert("FetchForwardingHistory"+v,w.MZ.NO_SPINNER,"Get "+r.payload.status+" Forwarding History Failed",this.CHILD_API_URL+w.rl.CHANNELS_API+"/listForwards",z),(0,C.of)({type:w.aU.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.DELETE_EXPIRED_INVOICE_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.DELETE_INVOICE})),this.httpClient.post(this.CHILD_API_URL+w.rl.INVOICES_API+"/delete",{subsystem:"expiredinvoices",age:w.NG}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,y.y0)({payload:w.MZ.DELETE_INVOICE})),this.store.dispatch((0,y.UI)({payload:v.status})),{type:w.TC.FETCH_INVOICES_CLN})),(0,m.W)(v=>(this.handleErrorWithAlert("DeleteInvoices",w.MZ.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+w.rl.INVOICES_API,v),(0,C.of)({type:w.aU.VOID})))))))),this.saveNewInvoiceCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.SAVE_NEW_INVOICE_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.ADD_INVOICE})),this.store.dispatch((0,T.no)({payload:{action:"SaveNewInvoice",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.INVOICES_API,r.payload).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"SaveNewInvoice",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:w.MZ.ADD_INVOICE})),v.amount_msat=r.payload.amount_msat,v.label=r.payload.label,v.expires_at=Math.round((new Date).getTime()/1e3+r.payload.expiry),v.description=r.payload.description,v.status="unpaid",setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{invoice:v,newlyAdded:!0,component:d.y}}}))},200),{type:w.TC.ADD_INVOICE_CLN,payload:v})),(0,m.W)(v=>(this.handleErrorWithoutAlert("SaveNewInvoice",w.MZ.ADD_INVOICE,"Add Invoice Failed.",v),(0,C.of)({type:w.aU.VOID})))))))),this.saveNewOfferCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.SAVE_NEW_OFFER_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.CREATE_OFFER})),this.store.dispatch((0,T.no)({payload:{action:"SaveNewOffer",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.OFFERS_API,r.payload).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"SaveNewOffer",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:w.MZ.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{offer:v,newlyAdded:!0,component:F.f}}}))},100),{type:w.TC.ADD_OFFER_CLN,payload:v})),(0,m.W)(v=>(this.handleErrorWithoutAlert("SaveNewOffer",w.MZ.CREATE_OFFER,"Create Offer Failed.",v),(0,C.of)({type:w.aU.VOID})))))))),this.invoicesFetchCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.FETCH_INVOICES_CLN),(0,S.Z)(()=>(this.store.dispatch((0,T.no)({payload:{action:"FetchInvoices",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.INVOICES_API+"/lookup",null))),(0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,T.no)({payload:{action:"FetchInvoices",status:w.wn.COMPLETED}})),{type:w.TC.SET_INVOICES_CLN,payload:r})),(0,m.W)(r=>(this.handleErrorWithoutAlert("FetchInvoices",w.MZ.NO_SPINNER,"Fetching Invoices Failed.",r),(0,C.of)({type:w.aU.VOID}))))),this.offersFetchCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.FETCH_OFFERS_CLN),(0,S.Z)(r=>(this.store.dispatch((0,T.no)({payload:{action:"FetchOffers",status:w.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.rl.OFFERS_API).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"FetchOffers",status:w.wn.COMPLETED}})),{type:w.TC.SET_OFFERS_CLN,payload:v.offers?v.offers:[]})),(0,m.W)(v=>(this.handleErrorWithoutAlert("FetchOffers",w.MZ.NO_SPINNER,"Fetching Offers Failed.",v),(0,C.of)({type:w.aU.VOID})))))))),this.offersDisableCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.DISABLE_OFFER_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.DISABLE_OFFER})),this.store.dispatch((0,T.no)({payload:{action:"DisableOffer",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.OFFERS_API+"/disableOffer",{offer_id:r.payload.offer_id}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"DisableOffer",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:w.MZ.DISABLE_OFFER})),this.store.dispatch((0,y.UI)({payload:"Offer Disabled Successfully!"})),{type:w.TC.UPDATE_OFFER_CLN,payload:{offer:v}})),(0,m.W)(v=>(this.handleErrorWithoutAlert("DisableOffer",w.MZ.DISABLE_OFFER,"Disabling Offer Failed.",v),(0,C.of)({type:w.aU.VOID})))))))),this.offerBookmarksFetchCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.FETCH_OFFER_BOOKMARKS_CLN),(0,S.Z)(r=>(this.store.dispatch((0,T.no)({payload:{action:"FetchOfferBookmarks",status:w.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.rl.OFFERS_API+"/offerbookmarks").pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"FetchOfferBookmarks",status:w.wn.COMPLETED}})),{type:w.TC.SET_OFFER_BOOKMARKS_CLN,payload:v||[]})),(0,m.W)(v=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",w.MZ.NO_SPINNER,"Fetching Offer Bookmarks Failed.",v),(0,C.of)({type:w.aU.VOID})))))))),this.peidOffersDeleteCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.DELETE_OFFER_BOOKMARK_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,T.no)({payload:{action:"DeleteOfferBookmark",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.OFFERS_API+"/offerbookmark/delete",{offer_str:r.payload.bolt12}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"DeleteOfferBookmark",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:w.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,y.UI)({payload:"Offer Bookmark Deleted Successfully!"})),{type:w.TC.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:r.payload.bolt12}})),(0,m.W)(v=>(this.handleErrorWithAlert("DeleteOfferBookmark",w.MZ.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+w.rl.OFFERS_API+"/offerbookmark/"+r.payload.bolt12,v),(0,C.of)({type:w.aU.VOID})))))))),this.SetChannelTransactionCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.SET_CHANNEL_TRANSACTION_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.SEND_FUNDS})),this.store.dispatch((0,T.no)({payload:{action:"SetChannelTransaction",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.ON_CHAIN_API,r.payload).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"SetChannelTransaction",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:w.MZ.SEND_FUNDS})),this.store.dispatch((0,T.g6)()),{type:w.TC.SET_CHANNEL_TRANSACTION_RES_CLN,payload:v})),(0,m.W)(v=>(this.handleErrorWithoutAlert("SetChannelTransaction",w.MZ.SEND_FUNDS,"Sending Fund Failed.",v),(0,C.of)({type:w.aU.VOID})))))))),this.utxoBalancesFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.FETCH_UTXO_BALANCES_CLN),(0,S.Z)(()=>(this.store.dispatch((0,T.no)({payload:{action:"FetchUTXOBalances",status:w.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.rl.ON_CHAIN_API+"/utxos"))),(0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,T.no)({payload:{action:"FetchUTXOBalances",status:w.wn.COMPLETED}})),{type:w.TC.SET_UTXO_BALANCES_CLN,payload:r})),(0,m.W)(r=>(this.handleErrorWithoutAlert("FetchUTXOBalances",w.MZ.NO_SPINNER,"Fetching UTXO and Balances Failed.",r),(0,C.of)({type:w.aU.VOID}))))),this.pageSettingsFetchCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.FETCH_PAGE_SETTINGS_CLN),(0,S.Z)(()=>(this.store.dispatch((0,T.no)({payload:{action:"FetchPageSettings",status:w.wn.INITIATED}})),this.httpClient.get(w.rl.PAGE_SETTINGS_API).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,T.no)({payload:{action:"FetchPageSettings",status:w.wn.COMPLETED}})),{type:w.TC.SET_PAGE_SETTINGS_CLN,payload:r||[]})),(0,m.W)(r=>(this.handleErrorWithoutAlert("FetchPageSettings",w.MZ.NO_SPINNER,"Fetching Page Settings Failed.",r),(0,C.of)({type:w.aU.VOID})))))))),this.savePageSettingsCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(w.TC.SAVE_PAGE_SETTINGS_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:w.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,T.no)({payload:{action:"SavePageSettings",status:w.wn.INITIATED}})),this.httpClient.post(w.rl.PAGE_SETTINGS_API,r.payload).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.no)({payload:{action:"SavePageSettings",status:w.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:w.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,y.UI)({payload:"Page Layout Updated Successfully!"})),{type:w.TC.SET_PAGE_SETTINGS_CLN,payload:v||[]})),(0,m.W)(v=>(this.handleErrorWithAlert("SavePageSettings",w.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",w.rl.PAGE_SETTINGS_API,v),(0,C.of)({type:w.aU.VOID})))))))),this.store.select(k.ru).pipe((0,l.Q)(this.unSubs[0])).subscribe(r=>{r.FetchInfo.status!==w.wn.COMPLETED&&r.FetchInfo.status!==w.wn.ERROR||r.FetchChannels.status!==w.wn.COMPLETED&&r.FetchChannels.status!==w.wn.ERROR||r.FetchUTXOBalances.status!==w.wn.COMPLETED&&r.FetchUTXOBalances.status!==w.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,y.y0)({payload:w.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,l.Q)(this.unSubs[1])).subscribe(r=>{this.logger.info("Received new message from the service: "+JSON.stringify(r)),r&&r.data&&r.data[w.Jr.INVOICE_PAYMENT]&&r.data[w.Jr.INVOICE_PAYMENT].label&&this.store.dispatch((0,T.Dq)({payload:r.data[w.Jr.INVOICE_PAYMENT]}))})}initializeRemainingData(D,n){this.sessionService.setItem("clnUnlocked","true");const c={identity_pubkey:D.id,alias:D.alias,testnet:"testnet"===D.network.toLowerCase(),chains:D.chains,uris:D.uris,version:D.version,api_version:D.api_version,numberOfPendingChannels:D.num_pending_channels};this.store.dispatch((0,y.mt)({payload:w.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,y.Fl)({payload:c}));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,T.Do)()),this.store.dispatch((0,T.$Q)()),this.store.dispatch((0,T.g6)()),this.store.dispatch((0,T.kX)({payload:"perkw"})),this.store.dispatch((0,T.kX)({payload:"perkb"})),this.store.dispatch((0,T.Gy)()),this.store.dispatch((0,T.CK)())}handleErrorWithoutAlert(D,n,c,f){if(this.logger.error("ERROR IN: "+D+"\n"+JSON.stringify(f)),401===f.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.Jh)()),this.store.dispatch((0,y.ri)({payload:"Authentication Failed: "+JSON.stringify(f.error)}));else{this.store.dispatch((0,y.y0)({payload:n}));const h=this.commonService.extractErrorMessage(f,c);this.store.dispatch((0,T.no)({payload:{action:D,status:w.wn.ERROR,statusCode:f.status.toString(),message:h}}))}}handleErrorWithAlert(D,n,c,f,h){if(this.logger.error(h),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.Jh)()),this.store.dispatch((0,y.ri)({payload:"Authentication Failed: "+JSON.stringify(h.error)})),this.store.dispatch((0,y.UI)({payload:"Authentication Failed: "+h.error}));else{this.store.dispatch((0,y.y0)({payload:n}));const M=this.commonService.extractErrorMessage(h);this.store.dispatch((0,y.xO)({payload:{data:{type:"ERROR",alertTitle:c,message:{code:h.status,message:M,URL:f},component:R.f}}})),this.store.dispatch((0,T.no)({payload:{action:D,status:w.wn.ERROR,statusCode:h.status.toString(),message:M,URL:f}}))}}ngOnDestroy(){this.unSubs.forEach(D=>{D.next(null),D.complete()})}static{this.\u0275fac=function(n){return new(n||ue)(V.KVO(t.En),V.KVO(U.Qq),V.KVO(G.il),V.KVO(Y.Q),V.KVO($.h),V.KVO(Z.gP),V.KVO(ie.Ix),V.KVO(ve.I),V.KVO(ae.aZ))}}static{this.\u0275prov=V.jDH({token:ue,factory:ue.\u0275fac})}}return ue})()},9584:(Ve,ee,p)=>{"use strict";p.d(ee,{Al:()=>T,BM:()=>k,Dv:()=>V,GX:()=>G,Ie:()=>F,KT:()=>m,O5:()=>Z,Pj:()=>y,RB:()=>w,RQ:()=>$,aJ:()=>U,av:()=>C,ip:()=>ie,kQ:()=>Y,kr:()=>d,mH:()=>S,os:()=>R,ru:()=>x});var t=p(9640);const e=(0,t.UX)("cln"),C=(0,t.Mz)(e,ae=>({pageSettings:ae.pageSettings,apiCallStatus:ae.apisCallStatus.FetchPageSettings})),S=(0,t.Mz)(e,ae=>ae.information),x=((0,t.Mz)(e,ae=>ae.apisCallStatus.FetchInfo),(0,t.Mz)(e,ae=>ae.apisCallStatus)),m=(0,t.Mz)(e,ae=>({payments:ae.payments,apiCallStatus:ae.apisCallStatus.FetchPayments})),R=(0,t.Mz)(e,ae=>({peers:ae.peers,apiCallStatus:ae.apisCallStatus.FetchPeers})),d=(0,t.Mz)(e,ae=>({feeRatesPerKB:ae.feeRatesPerKB,apiCallStatus:ae.apisCallStatus.FetchFeeRatesperkb})),w=(0,t.Mz)(e,ae=>({feeRatesPerKW:ae.feeRatesPerKW,apiCallStatus:ae.apisCallStatus.FetchFeeRatesperkw})),y=(0,t.Mz)(e,ae=>({listInvoices:ae.invoices,apiCallStatus:ae.apisCallStatus.FetchInvoices})),T=(0,t.Mz)(e,ae=>({utxos:ae.utxos,balance:ae.balance,localRemoteBalance:ae.localRemoteBalance,apiCallStatus:ae.apisCallStatus.FetchUTXOBalances})),k=(0,t.Mz)(e,ae=>({activeChannels:ae.activeChannels,pendingChannels:ae.pendingChannels,inactiveChannels:ae.inactiveChannels,apiCallStatus:ae.apisCallStatus.FetchChannels})),F=(0,t.Mz)(e,ae=>({forwardingHistory:ae.forwardingHistory,apiCallStatus:ae.apisCallStatus.FetchForwardingHistoryS})),V=(0,t.Mz)(e,ae=>({failedForwardingHistory:ae.failedForwardingHistory,apiCallStatus:ae.apisCallStatus.FetchForwardingHistoryF})),U=(0,t.Mz)(e,ae=>({localFailedForwardingHistory:ae.localFailedForwardingHistory,apiCallStatus:ae.apisCallStatus.FetchForwardingHistoryL})),G=(0,t.Mz)(e,ae=>({information:ae.information,balance:ae.balance,numPeers:ae.peers.length})),Y=(0,t.Mz)(e,ae=>({information:ae.information,balance:ae.balance})),$=(0,t.Mz)(e,ae=>({information:ae.information,fees:ae.fees,apisCallStatus:[ae.apisCallStatus.FetchInfo,ae.apisCallStatus.FetchForwardingHistoryS]})),Z=(0,t.Mz)(e,ae=>({offers:ae.offers,apiCallStatus:ae.apisCallStatus.FetchOffers})),ie=(0,t.Mz)(e,ae=>({offersBookmarks:ae.offersBookmarks,apiCallStatus:ae.apisCallStatus.FetchOfferBookmarks}))},8321:(Ve,ee,p)=>{"use strict";p.d(ee,{y:()=>We});var t=p(5351),e=p(5383),C=p(1413),S=p(6977),l=p(4416),x=p(9584),m=p(4438),R=p(8570),d=p(2571),w=p(5416),y=p(9640),T=p(177),k=p(60),F=p(2920),V=p(6038),U=p(8834),G=p(5596),Y=p(1997),$=p(9183),Z=p(4823),ie=p(8288),ve=p(9157),ae=p(9587);const ye=se=>({"display-none":se}),ue=se=>({"xs-scroll-y":se}),be=(se,fe)=>({"mt-2":se,"mt-1":fe}),D=se=>({"mr-0":se}),n=()=>[];function c(se,fe){if(1&se&&m.nrm(0,"qr-code",33),2&se){const he=m.XpG();m.Y8G("value",(null==he.invoice?null:he.invoice.bolt11)||(null==he.invoice?null:he.invoice.bolt12))("size",he.qrWidth)("errorCorrectionLevel","L")}}function f(se,fe){1&se&&(m.j41(0,"span",34),m.EFF(1,"N/A"),m.k0s())}function h(se,fe){if(1&se&&m.nrm(0,"span",35),2&se){const he=m.XpG();m.Y8G("ngClass",m.eq3(1,D,he.screenSize===he.screenSizeEnum.XS))}}function M(se,fe){if(1&se&&m.nrm(0,"span",36),2&se){const he=m.XpG();m.Y8G("ngClass",m.eq3(1,D,he.screenSize===he.screenSizeEnum.XS))}}function L(se,fe){if(1&se&&m.nrm(0,"span",37),2&se){const he=m.XpG();m.Y8G("ngClass",m.eq3(1,D,he.screenSize===he.screenSizeEnum.XS))}}function O(se,fe){if(1&se&&m.nrm(0,"qr-code",33),2&se){const he=m.XpG();m.Y8G("value",(null==he.invoice?null:he.invoice.bolt11)||(null==he.invoice?null:he.invoice.bolt12))("size",he.qrWidth)("errorCorrectionLevel","L")}}function _(se,fe){1&se&&(m.j41(0,"span",38),m.EFF(1,"QR Code Not Applicable"),m.k0s())}function r(se,fe){1&se&&m.nrm(0,"mat-divider",39)}function v(se,fe){if(1&se&&(m.j41(0,"div",20)(1,"div",40),m.nrm(2,"fa-icon",41),m.j41(3,"span"),m.EFF(4),m.k0s()()()),2&se){const he=m.XpG();m.R7$(2),m.Y8G("icon",he.faExclamationTriangle),m.R7$(2),m.JRh(null==he.invoice?null:he.invoice.warning_capacity)}}function z(se,fe){1&se&&(m.qex(0),m.EFF(1," (zero amount) "),m.bVm())}function N(se,fe){1&se&&m.nrm(0,"span",47)}function ne(se,fe){if(1&se&&(m.j41(0,"div",43)(1,"div",44)(2,"span",45),m.EFF(3),m.nI1(4,"number"),m.k0s(),m.DNE(5,N,1,0,"span",46),m.k0s()()),2&se){const he=m.XpG(2);m.R7$(3),m.SpI("",m.bMT(4,2,(null==he.invoice?null:he.invoice.amount_received_msat)/1e3)," Sats"),m.R7$(2),m.Y8G("ngForOf",m.lJ4(4,n).constructor(35))}}function Ie(se,fe){if(1&se&&(m.j41(0,"div"),m.EFF(1),m.nI1(2,"number"),m.k0s()),2&se){const he=m.XpG(2);m.R7$(),m.SpI("",m.bMT(2,1,(null==he.invoice?null:he.invoice.amount_received_msat)/1e3)," Sats")}}function at(se,fe){if(1&se&&(m.qex(0),m.DNE(1,ne,6,5,"div",42)(2,Ie,3,3,"div",24),m.bVm()),2&se){const he=m.XpG();m.R7$(),m.Y8G("ngIf",he.flgInvoicePaid),m.R7$(),m.Y8G("ngIf",!he.flgInvoicePaid)}}function Ye(se,fe){1&se&&(m.j41(0,"span"),m.EFF(1,"-"),m.k0s())}function rt(se,fe){1&se&&m.nrm(0,"mat-spinner",49),2&se&&m.Y8G("diameter",20)}function re(se,fe){if(1&se&&(m.qex(0),m.DNE(1,Ye,2,0,"span",24)(2,rt,1,1,"mat-spinner",48),m.bVm()),2&se){const he=m.XpG();m.R7$(),m.Y8G("ngIf","unpaid"!==(null==he.invoice?null:he.invoice.status)),m.R7$(),m.Y8G("ngIf","unpaid"===(null==he.invoice?null:he.invoice.status))}}function te(se,fe){if(1&se&&(m.j41(0,"div"),m.nrm(1,"mat-divider",26),m.j41(2,"div",20)(3,"div",27)(4,"h4",22),m.EFF(5,"Payment Hash"),m.k0s(),m.j41(6,"span",25),m.EFF(7),m.k0s()()(),m.nrm(8,"mat-divider",26),m.j41(9,"div",20)(10,"div",27)(11,"h4",22),m.EFF(12,"Label"),m.k0s(),m.j41(13,"span",25),m.EFF(14),m.k0s()()(),m.nrm(15,"mat-divider",26),m.k0s()),2&se){const he=m.XpG();m.R7$(7),m.JRh(null==he.invoice?null:he.invoice.payment_hash),m.R7$(7),m.JRh(null==he.invoice?null:he.invoice.label)}}function oe(se,fe){1&se&&(m.j41(0,"p"),m.EFF(1,"Show Advanced"),m.k0s())}function _e(se,fe){1&se&&(m.j41(0,"p"),m.EFF(1,"Hide Advanced"),m.k0s())}function de(se,fe){if(1&se){const he=m.RV6();m.j41(0,"button",50),m.bIt("copied",function(Ke){m.eBV(he);const Ct=m.XpG();return m.Njj(Ct.onCopyPayment(Ke))}),m.EFF(1,"Copy Invoice"),m.k0s()}if(2&se){const he=m.XpG();m.Y8G("payload",(null==he.invoice?null:he.invoice.bolt11)||(null==he.invoice?null:he.invoice.bolt12))}}function pe(se,fe){if(1&se){const he=m.RV6();m.j41(0,"button",51),m.bIt("click",function(){m.eBV(he);const Ke=m.XpG();return m.Njj(Ke.onClose())}),m.EFF(1,"OK"),m.k0s()}}let We=(()=>{class se{constructor(he,et,Ke,Ct,_t,Nt){this.dialogRef=he,this.data=et,this.logger=Ke,this.commonService=Ct,this.snackBar=_t,this.store=Nt,this.faReceipt=e.Mf0,this.faExclamationTriangle=e.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.invoiceStatus="",this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.f7,this.flgInvoicePaid=!1,this.unSubs=[new C.B,new C.B,new C.B,new C.B,new C.B]}ngOnInit(){this.invoice=this.data.invoice,this.invoiceStatus=this.invoice.status,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.f7.XS&&(this.qrWidth=220),this.store.select(x.Pj).pipe((0,S.Q)(this.unSubs[1])).subscribe(he=>{const Ke=(he.listInvoices.invoices||[])?.find(Ct=>Ct.payment_hash===this.invoice.payment_hash)||null;Ke&&(this.invoice=Ke),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(Ke),this.logger.info(he)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(he){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+he)}ngOnDestroy(){this.unSubs.forEach(he=>{he.next(null),he.complete()})}static{this.\u0275fac=function(et){return new(et||se)(m.rXU(t.CP),m.rXU(t.Vh),m.rXU(R.gP),m.rXU(d.h),m.rXU(w.UG),m.rXU(y.il))}}static{this.\u0275cmp=m.VBU({type:se,selectors:[["rtl-cln-invoice-information"]],decls:72,vars:49,consts:[["hideAdvancedText",""],["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"],["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,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(et,Ke){if(1&et){const Ct=m.RV6();m.j41(0,"div",1)(1,"div",2),m.DNE(2,c,1,3,"qr-code",3)(3,f,2,0,"span",4),m.k0s(),m.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),m.nrm(7,"fa-icon",8),m.j41(8,"span",9),m.EFF(9),m.DNE(10,h,1,3,"span",10)(11,M,1,3,"span",11)(12,L,1,3,"span",12),m.k0s()(),m.j41(13,"button",13),m.bIt("click",function(){return m.eBV(Ct),m.Njj(Ke.onClose())}),m.EFF(14,"X"),m.k0s()(),m.j41(15,"mat-card-content",14)(16,"div",15)(17,"div",16),m.DNE(18,O,1,3,"qr-code",3)(19,_,2,0,"span",17),m.k0s(),m.DNE(20,r,1,0,"mat-divider",18)(21,v,5,2,"div",19),m.j41(22,"div",20)(23,"div",21)(24,"h4",22),m.EFF(25),m.k0s(),m.j41(26,"span",23),m.EFF(27),m.nI1(28,"number"),m.DNE(29,z,2,0,"ng-container",24),m.k0s()(),m.j41(30,"div",21)(31,"h4",22),m.EFF(32,"Amount Received"),m.k0s(),m.j41(33,"span",25),m.DNE(34,at,3,2,"ng-container",24)(35,re,3,2,"ng-container",24),m.k0s()()(),m.nrm(36,"mat-divider",26),m.j41(37,"div",20)(38,"div",21)(39,"h4",22),m.EFF(40,"Date Expiry"),m.k0s(),m.j41(41,"span",23),m.EFF(42),m.nI1(43,"date"),m.k0s()(),m.j41(44,"div",21)(45,"h4",22),m.EFF(46,"Date Settled"),m.k0s(),m.j41(47,"span",23),m.EFF(48),m.nI1(49,"date"),m.k0s()()(),m.nrm(50,"mat-divider",26),m.j41(51,"div",20)(52,"div",27)(53,"h4",22),m.EFF(54,"Description"),m.k0s(),m.j41(55,"span",23),m.EFF(56),m.k0s()()(),m.nrm(57,"mat-divider",26),m.j41(58,"div",20)(59,"div",27)(60,"h4",22),m.EFF(61),m.k0s(),m.j41(62,"span",25),m.EFF(63),m.k0s()()(),m.DNE(64,te,16,2,"div",24),m.j41(65,"div",28)(66,"button",29),m.bIt("click",function(){return m.eBV(Ct),m.Njj(Ke.onShowAdvanced())}),m.DNE(67,oe,2,0,"p",30)(68,_e,2,0,"ng-template",null,0,m.C5r),m.k0s(),m.DNE(70,de,2,1,"button",31)(71,pe,2,0,"button",32),m.k0s()()()()()}if(2&et){const Ct=m.sdS(69);m.R7$(),m.Y8G("fxLayoutAlign",null!=Ke.invoice&&Ke.invoice.bolt11&&""!==(null==Ke.invoice?null:Ke.invoice.bolt11)||null!=Ke.invoice&&Ke.invoice.bolt12&&""!==(null==Ke.invoice?null:Ke.invoice.bolt12)?"center start":"center center")("ngClass",m.eq3(40,ye,Ke.screenSize===Ke.screenSizeEnum.XS||Ke.screenSize===Ke.screenSizeEnum.SM)),m.R7$(),m.Y8G("ngIf",(null==Ke.invoice?null:Ke.invoice.bolt11)&&""!==(null==Ke.invoice?null:Ke.invoice.bolt11)||(null==Ke.invoice?null:Ke.invoice.bolt12)&&""!==(null==Ke.invoice?null:Ke.invoice.bolt12)),m.R7$(),m.Y8G("ngIf",!(null!=Ke.invoice&&Ke.invoice.bolt11||null!=Ke.invoice&&Ke.invoice.bolt12)),m.R7$(4),m.Y8G("icon",Ke.faReceipt),m.R7$(2),m.SpI(" ",Ke.screenSize===Ke.screenSizeEnum.XS?Ke.newlyAdded?"Created":"Invoice":Ke.newlyAdded?"Invoice Created":"Invoice Information"," "),m.R7$(),m.Y8G("ngIf","paid"===(null==Ke.invoice?null:Ke.invoice.status)),m.R7$(),m.Y8G("ngIf","unpaid"===(null==Ke.invoice?null:Ke.invoice.status)),m.R7$(),m.Y8G("ngIf","expired"===(null==Ke.invoice?null:Ke.invoice.status)),m.R7$(3),m.Y8G("ngClass",m.eq3(42,ue,Ke.screenSize===Ke.screenSizeEnum.XS)),m.R7$(2),m.Y8G("fxLayoutAlign",null!=Ke.invoice&&Ke.invoice.bolt11&&""!==(null==Ke.invoice?null:Ke.invoice.bolt11)||null!=Ke.invoice&&Ke.invoice.bolt12&&""!==(null==Ke.invoice?null:Ke.invoice.bolt12)?"center start":"center center")("ngClass",m.eq3(44,ye,Ke.screenSize!==Ke.screenSizeEnum.XS&&Ke.screenSize!==Ke.screenSizeEnum.SM)),m.R7$(),m.Y8G("ngIf",(null==Ke.invoice?null:Ke.invoice.bolt11)&&""!==(null==Ke.invoice?null:Ke.invoice.bolt11)||(null==Ke.invoice?null:Ke.invoice.bolt12)&&""!==(null==Ke.invoice?null:Ke.invoice.bolt12)),m.R7$(),m.Y8G("ngIf",!(null!=Ke.invoice&&Ke.invoice.bolt11||null!=Ke.invoice&&Ke.invoice.bolt12)),m.R7$(),m.Y8G("ngIf",Ke.screenSize===Ke.screenSizeEnum.XS||Ke.screenSize===Ke.screenSizeEnum.SM),m.R7$(),m.Y8G("ngIf",null==Ke.invoice?null:Ke.invoice.warning_capacity),m.R7$(4),m.JRh(Ke.screenSize===Ke.screenSizeEnum.XS?"Amount":"Amount Requested"),m.R7$(2),m.SpI(" ",m.bMT(28,32,(null==Ke.invoice?null:Ke.invoice.amount_msat)/1e3||0)," Sats"),m.R7$(2),m.Y8G("ngIf",!(null!=Ke.invoice&&Ke.invoice.amount_msat)||"0"===(null==Ke.invoice?null:Ke.invoice.amount_msat)||"any"===(null==Ke.invoice?null:Ke.invoice.amount_msat)),m.R7$(5),m.Y8G("ngIf","paid"===(null==Ke.invoice?null:Ke.invoice.status)),m.R7$(),m.Y8G("ngIf","paid"!==(null==Ke.invoice?null:Ke.invoice.status)),m.R7$(7),m.JRh(m.i5U(43,34,1e3*(null==Ke.invoice?null:Ke.invoice.expires_at),"dd/MMM/y HH:mm")),m.R7$(6),m.JRh(m.i5U(49,37,1e3*(null==Ke.invoice?null:Ke.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),m.R7$(8),m.JRh((null==Ke.invoice?null:Ke.invoice.description)||"-"),m.R7$(5),m.SpI("",null!=Ke.invoice&&Ke.invoice.bolt12?"Bolt12":null!=Ke.invoice&&Ke.invoice.bolt11&&!Ke.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),m.R7$(2),m.JRh((null==Ke.invoice?null:Ke.invoice.bolt11)||(null==Ke.invoice?null:Ke.invoice.bolt12)),m.R7$(),m.Y8G("ngIf",Ke.showAdvanced),m.R7$(),m.Y8G("ngClass",m.l_i(46,be,!Ke.showAdvanced,Ke.showAdvanced)),m.R7$(2),m.Y8G("ngIf",!Ke.showAdvanced)("ngIfElse",Ct),m.R7$(3),m.Y8G("ngIf",(null==Ke.invoice?null:Ke.invoice.bolt11)&&""!==(null==Ke.invoice?null:Ke.invoice.bolt11)||(null==Ke.invoice?null:Ke.invoice.bolt12)&&""!==(null==Ke.invoice?null:Ke.invoice.bolt12)),m.R7$(),m.Y8G("ngIf",!(null!=Ke.invoice&&Ke.invoice.bolt11||null!=Ke.invoice&&Ke.invoice.bolt12))}},dependencies:[T.YU,T.Sq,T.bT,k.aY,F.DJ,F.sA,F.UI,V.PW,U.$z,G.m2,G.MM,Y.q,$.LG,Z.oV,ie.Um,ve.U,ae.N,T.QX,T.vh]})}}return se})()},2142:(Ve,ee,p)=>{"use strict";p.d(ee,{f:()=>ne});var t=p(5351),e=p(5383),C=p(1413),S=p(6977),l=p(4416),x=p(4438),m=p(8570),R=p(2571),d=p(5416),w=p(1534),y=p(177),T=p(60),k=p(2920),F=p(6038),V=p(8834),U=p(5596),G=p(1997),Y=p(8288),$=p(9157),Z=p(9587);const ie=Ie=>({"display-none":Ie}),ve=Ie=>({"xs-scroll-y":Ie}),ae=(Ie,at)=>({"mt-2":Ie,"mt-1":at});function ye(Ie,at){if(1&Ie&&x.nrm(0,"qr-code",28),2&Ie){const Ye=x.XpG();x.Y8G("value",null==Ye.offer?null:Ye.offer.bolt12)("size",Ye.qrWidth)("errorCorrectionLevel","L")}}function ue(Ie,at){1&Ie&&(x.j41(0,"span",29),x.EFF(1,"N/A"),x.k0s())}function be(Ie,at){if(1&Ie&&x.nrm(0,"qr-code",28),2&Ie){const Ye=x.XpG();x.Y8G("value",null==Ye.offer?null:Ye.offer.bolt12)("size",Ye.qrWidth)("errorCorrectionLevel","L")}}function D(Ie,at){1&Ie&&(x.j41(0,"span",30),x.EFF(1,"QR Code Not Applicable"),x.k0s())}function n(Ie,at){1&Ie&&x.nrm(0,"mat-divider",31),2&Ie&&x.Y8G("inset",!0)}function c(Ie,at){1&Ie&&x.nrm(0,"mat-divider",20)}function f(Ie,at){if(1&Ie&&(x.j41(0,"div",16)(1,"div",17)(2,"h4",18),x.EFF(3,"Used"),x.k0s(),x.j41(4,"span",19),x.EFF(5),x.k0s()(),x.j41(6,"div",17)(7,"h4",18),x.EFF(8,"Single Use"),x.k0s(),x.j41(9,"span",19),x.EFF(10),x.k0s()()()),2&Ie){const Ye=x.XpG(2);x.R7$(5),x.SpI(" ",null!=Ye.offer&&Ye.offer.used?null!=Ye.offer&&Ye.offer.used?"Yes":"No":"N/K"," "),x.R7$(5),x.SpI(" ",null!=Ye.offer&&Ye.offer.single_use?null!=Ye.offer&&Ye.offer.single_use?"Yes":"No":"N/K"," ")}}function h(Ie,at){1&Ie&&x.nrm(0,"mat-divider",20)}function M(Ie,at){if(1&Ie&&(x.j41(0,"div",16)(1,"div",21)(2,"h4",18),x.EFF(3,"Issuer"),x.k0s(),x.j41(4,"span",34),x.EFF(5),x.k0s()()()),2&Ie){const Ye=x.XpG(2);x.R7$(5),x.JRh(null==Ye.offerDecoded?null:Ye.offerDecoded.offer_issuer)}}function L(Ie,at){1&Ie&&x.nrm(0,"mat-divider",20)}function O(Ie,at){if(1&Ie&&(x.j41(0,"div",16)(1,"div",21)(2,"h4",18),x.EFF(3,"Label"),x.k0s(),x.j41(4,"span",19),x.EFF(5),x.k0s()()()),2&Ie){const Ye=x.XpG(2);x.R7$(5),x.JRh(Ye.offer.label)}}function _(Ie,at){if(1&Ie&&(x.j41(0,"div"),x.DNE(1,c,1,0,"mat-divider",32)(2,f,11,2,"div",33)(3,h,1,0,"mat-divider",32)(4,M,6,1,"div",33)(5,L,1,0,"mat-divider",32)(6,O,6,1,"div",33),x.nrm(7,"mat-divider",20),x.j41(8,"div",16)(9,"div",21)(10,"h4",18),x.EFF(11,"Offer ID"),x.k0s(),x.j41(12,"span",19),x.EFF(13),x.k0s()()(),x.nrm(14,"mat-divider",20),x.j41(15,"div",16)(16,"div",21)(17,"h4",18),x.EFF(18,"Offer Node ID"),x.k0s(),x.j41(19,"span",19),x.EFF(20),x.k0s()()(),x.nrm(21,"mat-divider",20),x.k0s()),2&Ie){const Ye=x.XpG();x.R7$(),x.Y8G("ngIf",(null==Ye.offer?null:Ye.offer.used)||(null==Ye.offer?null:Ye.offer.single_use)),x.R7$(),x.Y8G("ngIf",(null==Ye.offer?null:Ye.offer.used)||(null==Ye.offer?null:Ye.offer.single_use)),x.R7$(),x.Y8G("ngIf",null==Ye.offerDecoded?null:Ye.offerDecoded.issuer),x.R7$(),x.Y8G("ngIf",null==Ye.offerDecoded?null:Ye.offerDecoded.issuer),x.R7$(),x.Y8G("ngIf",Ye.offer.label),x.R7$(),x.Y8G("ngIf",Ye.offer.label),x.R7$(7),x.JRh(Ye.offerDecoded.offer_id),x.R7$(7),x.JRh(null==Ye.offerDecoded?null:Ye.offerDecoded.offer_node_id)}}function r(Ie,at){1&Ie&&(x.j41(0,"p"),x.EFF(1,"Show Advanced"),x.k0s())}function v(Ie,at){1&Ie&&(x.j41(0,"p"),x.EFF(1,"Hide Advanced"),x.k0s())}function z(Ie,at){if(1&Ie){const Ye=x.RV6();x.j41(0,"button",35),x.bIt("copied",function(re){x.eBV(Ye);const te=x.XpG();return x.Njj(te.onCopyOffer(re))}),x.EFF(1,"Copy Offer"),x.k0s()}if(2&Ie){const Ye=x.XpG();x.Y8G("payload",null==Ye.offer?null:Ye.offer.bolt12)}}function N(Ie,at){if(1&Ie){const Ye=x.RV6();x.j41(0,"button",36),x.bIt("click",function(){x.eBV(Ye);const re=x.XpG();return x.Njj(re.onClose())}),x.EFF(1,"OK"),x.k0s()}}let ne=(()=>{class Ie{constructor(Ye,rt,re,te,oe,_e){this.dialogRef=Ye,this.data=rt,this.logger=re,this.commonService=te,this.snackBar=oe,this.dataService=_e,this.faReceipt=e.Mf0,this.faExclamationTriangle=e.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.f7,this.flgOfferPaid=!1,this.unSubs=[new C.B,new C.B,new C.B,new C.B,new C.B]}ngOnInit(){this.offer=this.data.offer,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.f7.XS&&(this.qrWidth=220),this.dataService.decodePayment(this.offer.bolt12,!0).pipe((0,S.Q)(this.unSubs[1])).subscribe(Ye=>{this.offerDecoded=Ye,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(Ye){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+Ye)}ngOnDestroy(){this.unSubs.forEach(Ye=>{Ye.next(null),Ye.complete()})}static{this.\u0275fac=function(rt){return new(rt||Ie)(x.rXU(t.CP),x.rXU(t.Vh),x.rXU(m.gP),x.rXU(R.h),x.rXU(d.UG),x.rXU(w.u))}}static{this.\u0275cmp=x.VBU({type:Ie,selectors:[["rtl-cln-offer-information"]],decls:52,vars:33,consts:[["hideAdvancedText",""],["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"],["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,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(rt,re){if(1&rt){const te=x.RV6();x.j41(0,"div",1)(1,"div",2),x.DNE(2,ye,1,3,"qr-code",3)(3,ue,2,0,"span",4),x.k0s(),x.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),x.nrm(7,"fa-icon",8),x.j41(8,"span",9),x.EFF(9),x.k0s()(),x.j41(10,"button",10),x.bIt("click",function(){return x.eBV(te),x.Njj(re.onClose())}),x.EFF(11,"X"),x.k0s()(),x.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),x.DNE(15,be,1,3,"qr-code",3)(16,D,2,0,"span",14),x.k0s(),x.DNE(17,n,1,1,"mat-divider",15),x.j41(18,"div",16)(19,"div",17)(20,"h4",18),x.EFF(21,"Amount Requested (Sats)"),x.k0s(),x.j41(22,"span",19),x.EFF(23),x.nI1(24,"number"),x.k0s()(),x.j41(25,"div",17)(26,"h4",18),x.EFF(27,"Valid"),x.k0s(),x.j41(28,"span",19),x.EFF(29),x.k0s()()(),x.nrm(30,"mat-divider",20),x.j41(31,"div",16)(32,"div",21)(33,"h4",18),x.EFF(34,"Description"),x.k0s(),x.j41(35,"span",19),x.EFF(36),x.k0s()()(),x.nrm(37,"mat-divider",20),x.j41(38,"div",16)(39,"div",21)(40,"h4",18),x.EFF(41,"Offer"),x.k0s(),x.j41(42,"span",19),x.EFF(43),x.k0s()()(),x.DNE(44,_,22,8,"div",22),x.j41(45,"div",23)(46,"button",24),x.bIt("click",function(){return x.eBV(te),x.Njj(re.onShowAdvanced())}),x.DNE(47,r,2,0,"p",25)(48,v,2,0,"ng-template",null,0,x.C5r),x.k0s(),x.DNE(50,z,2,1,"button",26)(51,N,2,0,"button",27),x.k0s()()()()()}if(2&rt){const te=x.sdS(49);x.R7$(),x.Y8G("fxLayoutAlign",null!=re.offer&&re.offer.bolt12&&""!==(null==re.offer?null:re.offer.bolt12)?"center start":"center center")("ngClass",x.eq3(24,ie,re.screenSize===re.screenSizeEnum.XS||re.screenSize===re.screenSizeEnum.SM)),x.R7$(),x.Y8G("ngIf",(null==re.offer?null:re.offer.bolt12)&&""!==(null==re.offer?null:re.offer.bolt12)),x.R7$(),x.Y8G("ngIf",!(null!=re.offer&&re.offer.bolt12)||""===(null==re.offer?null:re.offer.bolt12)),x.R7$(4),x.Y8G("icon",re.faReceipt),x.R7$(2),x.JRh(re.screenSize===re.screenSizeEnum.XS?re.newlyAdded?"Created":"Offer":re.newlyAdded?"Offer Created":"Offer Information"),x.R7$(3),x.Y8G("ngClass",x.eq3(26,ve,re.screenSize===re.screenSizeEnum.XS)),x.R7$(2),x.Y8G("fxLayoutAlign",null!=re.offer&&re.offer.bolt12&&""!==(null==re.offer?null:re.offer.bolt12)?"center start":"center center")("ngClass",x.eq3(28,ie,re.screenSize!==re.screenSizeEnum.XS&&re.screenSize!==re.screenSizeEnum.SM)),x.R7$(),x.Y8G("ngIf",(null==re.offer?null:re.offer.bolt12)&&""!==(null==re.offer?null:re.offer.bolt12)),x.R7$(),x.Y8G("ngIf",!(null!=re.offer&&re.offer.bolt12)||""===(null==re.offer?null:re.offer.bolt12)),x.R7$(),x.Y8G("ngIf",re.screenSize===re.screenSizeEnum.XS||re.screenSize===re.screenSizeEnum.SM),x.R7$(6),x.SpI(" ",null!=re.offerDecoded&&re.offerDecoded.offer_amount_msat&&0!==(null==re.offerDecoded?null:re.offerDecoded.offer_amount_msat)?x.bMT(24,22,(null==re.offerDecoded?null:re.offerDecoded.offer_amount_msat)/1e3):"Open Offer"," "),x.R7$(6),x.SpI(" ",null!=re.offerDecoded&&re.offerDecoded.valid?null!=re.offerDecoded&&re.offerDecoded.valid?"Yes":"No":"N/K"," "),x.R7$(7),x.SpI(" ",null==re.offerDecoded?null:re.offerDecoded.offer_description," "),x.R7$(7),x.JRh(null==re.offer?null:re.offer.bolt12),x.R7$(),x.Y8G("ngIf",re.showAdvanced),x.R7$(),x.Y8G("ngClass",x.l_i(30,ae,!re.showAdvanced,re.showAdvanced)),x.R7$(2),x.Y8G("ngIf",!re.showAdvanced)("ngIfElse",te),x.R7$(3),x.Y8G("ngIf",(null==re.offer?null:re.offer.bolt12)&&""!==(null==re.offer?null:re.offer.bolt12)),x.R7$(),x.Y8G("ngIf",!(null!=re.offer&&re.offer.bolt12)||""===(null==re.offer?null:re.offer.bolt12))}},dependencies:[y.YU,y.bT,T.aY,k.DJ,k.sA,k.UI,F.PW,V.$z,U.m2,U.MM,G.q,Y.Um,$.U,Z.N,y.QX]})}}return Ie})()},5428:(Ve,ee,p)=>{"use strict";p.d(ee,{$6:()=>rt,$Q:()=>T,As:()=>ne,CK:()=>L,Do:()=>Ye,Dq:()=>oe,Fd:()=>v,Gy:()=>Z,Hh:()=>S,Hm:()=>r,I6:()=>V,Jx:()=>te,Lc:()=>ue,Lz:()=>Ie,N4:()=>z,N8:()=>Y,NS:()=>x,Qj:()=>ie,Sn:()=>m,T4:()=>_,Tp:()=>k,Uj:()=>O,Uo:()=>y,XT:()=>D,Xx:()=>G,Yi:()=>de,ZE:()=>$,Zi:()=>be,cR:()=>M,cU:()=>F,fy:()=>f,gZ:()=>We,iO:()=>re,jJ:()=>U,lg:()=>l,mh:()=>N,sq:()=>ve,uL:()=>C,vL:()=>c,w0:()=>h,x1:()=>d,yn:()=>se,yp:()=>w,zR:()=>R,zU:()=>_e});var t=p(9640),e=p(4416);const C=(0,t.VP)(e.Uu.UPDATE_API_CALL_STATUS_ECL,(0,t.xk)()),S=(0,t.VP)(e.Uu.RESET_ECL_STORE),l=(0,t.VP)(e.Uu.FETCH_PAGE_SETTINGS_ECL),x=(0,t.VP)(e.Uu.SET_PAGE_SETTINGS_ECL,(0,t.xk)()),m=(0,t.VP)(e.Uu.SAVE_PAGE_SETTINGS_ECL,(0,t.xk)()),R=(0,t.VP)(e.Uu.FETCH_INFO_ECL,(0,t.xk)()),d=(0,t.VP)(e.Uu.SET_INFO_ECL,(0,t.xk)()),w=(0,t.VP)(e.Uu.FETCH_FEES_ECL),y=(0,t.VP)(e.Uu.SET_FEES_ECL,(0,t.xk)()),T=(0,t.VP)(e.Uu.FETCH_CHANNELS_ECL),k=(0,t.VP)(e.Uu.SET_ACTIVE_CHANNELS_ECL,(0,t.xk)()),F=(0,t.VP)(e.Uu.SET_PENDING_CHANNELS_ECL,(0,t.xk)()),V=(0,t.VP)(e.Uu.SET_INACTIVE_CHANNELS_ECL,(0,t.xk)()),U=(0,t.VP)(e.Uu.FETCH_ONCHAIN_BALANCE_ECL),G=(0,t.VP)(e.Uu.SET_ONCHAIN_BALANCE_ECL,(0,t.xk)()),Y=(0,t.VP)(e.Uu.SET_LIGHTNING_BALANCE_ECL,(0,t.xk)()),$=(0,t.VP)(e.Uu.SET_CHANNELS_STATUS_ECL,(0,t.xk)()),Z=(0,t.VP)(e.Uu.FETCH_PEERS_ECL),ie=(0,t.VP)(e.Uu.SET_PEERS_ECL,(0,t.xk)()),ve=(0,t.VP)(e.Uu.SAVE_NEW_PEER_ECL,(0,t.xk)()),ue=((0,t.VP)(e.Uu.NEWLY_ADDED_PEER_ECL,(0,t.xk)()),(0,t.VP)(e.Uu.ADD_PEER_ECL,(0,t.xk)()),(0,t.VP)(e.Uu.DETACH_PEER_ECL,(0,t.xk)())),be=(0,t.VP)(e.Uu.REMOVE_PEER_ECL,(0,t.xk)()),D=(0,t.VP)(e.Uu.GET_NEW_ADDRESS_ECL),c=((0,t.VP)(e.Uu.SET_NEW_ADDRESS_ECL,(0,t.xk)()),(0,t.VP)(e.Uu.SAVE_NEW_CHANNEL_ECL,(0,t.xk)())),f=(0,t.VP)(e.Uu.UPDATE_CHANNEL_ECL,(0,t.xk)()),h=(0,t.VP)(e.Uu.CLOSE_CHANNEL_ECL,(0,t.xk)()),M=(0,t.VP)(e.Uu.REMOVE_CHANNEL_ECL,(0,t.xk)()),L=(0,t.VP)(e.Uu.FETCH_PAYMENTS_ECL,(0,t.xk)()),O=(0,t.VP)(e.Uu.SET_PAYMENTS_ECL,(0,t.xk)()),_=(0,t.VP)(e.Uu.GET_QUERY_ROUTES_ECL,(0,t.xk)()),r=(0,t.VP)(e.Uu.SET_QUERY_ROUTES_ECL,(0,t.xk)()),v=(0,t.VP)(e.Uu.SEND_PAYMENT_ECL,(0,t.xk)()),z=(0,t.VP)(e.Uu.SEND_PAYMENT_STATUS_ECL,(0,t.xk)()),N=(0,t.VP)(e.Uu.FETCH_TRANSACTIONS_ECL,(0,t.xk)()),ne=(0,t.VP)(e.Uu.SET_TRANSACTIONS_ECL,(0,t.xk)()),Ie=(0,t.VP)(e.Uu.SEND_ONCHAIN_FUNDS_ECL,(0,t.xk)()),Ye=((0,t.VP)(e.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,(0,t.xk)()),(0,t.VP)(e.Uu.FETCH_INVOICES_ECL,(0,t.xk)())),rt=(0,t.VP)(e.Uu.SET_INVOICES_ECL,(0,t.xk)()),re=(0,t.VP)(e.Uu.CREATE_INVOICE_ECL,(0,t.xk)()),te=(0,t.VP)(e.Uu.ADD_INVOICE_ECL,(0,t.xk)()),oe=(0,t.VP)(e.Uu.UPDATE_INVOICE_ECL,(0,t.xk)()),_e=(0,t.VP)(e.Uu.PEER_LOOKUP_ECL,(0,t.xk)()),de=(0,t.VP)(e.Uu.INVOICE_LOOKUP_ECL,(0,t.xk)()),We=((0,t.VP)(e.Uu.SET_LOOKUP_ECL,(0,t.xk)()),(0,t.VP)(e.Uu.UPDATE_CHANNEL_STATE_ECL,(0,t.xk)())),se=(0,t.VP)(e.Uu.UPDATE_RELAYED_PAYMENT_ECL,(0,t.xk)())},3017:(Ve,ee,p)=>{"use strict";p.d(ee,{B:()=>ae});var t=p(4054),e=p(1413),C=p(7673),S=p(1397),l=p(6977),x=p(6354),m=p(9437),R=p(2462),d=p(4416),w=p(1771),y=p(6439),T=p(5428),k=p(2730),F=p(4438),V=p(1626),U=p(9640),G=p(3202),Y=p(2571),$=p(8570),Z=p(1188),ie=p(7879),ve=p(177);let ae=(()=>{class ye{constructor(be,D,n,c,f,h,M,L,O){this.actions=be,this.httpClient=D,this.store=n,this.sessionService=c,this.commonService=f,this.logger=h,this.router=M,this.wsService=L,this.location=O,this.CHILD_API_URL=d.H$+"/ecl",this.invoicesPageSettings=d.X8.find(_=>"transactions"===_.pageId)?.tables.find(_=>"invoices"===_.tableId),this.paymentsPageSettings=d.X8.find(_=>"transactions"===_.pageId)?.tables.find(_=>"payments"===_.tableId),this.flgInitialized=!1,this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.rawChannelsList=[],this.unSubs=[new e.B,new e.B,new e.B],this.infoFetchECL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.FETCH_INFO_ECL),(0,S.Z)(_=>(this.flgInitialized=!1,this.store.dispatch((0,w.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,w.mt)({payload:d.MZ.GET_NODE_INFO})),this.store.dispatch((0,T.uL)({payload:{action:"FetchInfo",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.GETINFO_API).pipe((0,l.Q)(this.actions.pipe((0,t.gp)(d.aU.SET_SELECTED_NODE))),(0,x.T)(r=>(this.logger.info(r),this.initializeRemainingData(r,_.payload.loadPage),this.store.dispatch((0,T.uL)({payload:{action:"FetchInfo",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.GET_NODE_INFO})),{type:d.Uu.SET_INFO_ECL,payload:r||{}})),(0,m.W)(r=>{const v=this.commonService.extractErrorCode(r),z=503===v?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(r);return this.router.navigate(["/error"],{state:{errorCode:v,errorMessage:z}}),this.handleErrorWithoutAlert("FetchInfo",d.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:v,error:z}),(0,C.of)({type:d.aU.VOID})})))))),this.fetchFees=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.FETCH_FEES_ECL),(0,S.Z)(()=>(this.store.dispatch((0,T.uL)({payload:{action:"FetchFees",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.FEES_API+"/fees").pipe((0,x.T)(_=>(this.logger.info(_),this.store.dispatch((0,T.uL)({payload:{action:"FetchFees",status:d.wn.COMPLETED}})),{type:d.Uu.SET_FEES_ECL,payload:_||{}})),(0,m.W)(_=>(this.handleErrorWithoutAlert("FetchFees",d.MZ.NO_SPINNER,"Fetching Fees Failed.",_),(0,C.of)({type:d.aU.VOID})))))))),this.fetchPayments=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.FETCH_PAYMENTS_ECL),(0,S.Z)(_=>(this.store.dispatch((0,T.uL)({payload:{action:"FetchPayments",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.FEES_API+"/payments?count="+_.payload.count+"&skip="+_.payload.skip).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,T.uL)({payload:{action:"FetchPayments",status:d.wn.COMPLETED}})),{type:d.Uu.SET_PAYMENTS_ECL,payload:r||{}})),(0,m.W)(r=>(this.handleErrorWithoutAlert("FetchPayments",d.MZ.NO_SPINNER,"Fetching Payments Failed.",r),(0,C.of)({type:d.aU.VOID})))))))),this.channelsFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.FETCH_CHANNELS_ECL),(0,S.Z)(_=>(this.store.dispatch((0,T.uL)({payload:{action:"FetchChannels",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.CHANNELS_API).pipe((0,x.T)(r=>(this.logger.info(r),this.rawChannelsList=r,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,T.uL)({payload:{action:"FetchChannels",status:d.wn.COMPLETED}})),{type:d.aU.VOID})),(0,m.W)(r=>(this.handleErrorWithoutAlert("FetchChannels",d.MZ.NO_SPINNER,"Fetching Channels Failed.",r),(0,C.of)({type:d.aU.VOID})))))))),this.fetchOnchainBalance=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.FETCH_ONCHAIN_BALANCE_ECL),(0,S.Z)(()=>(this.store.dispatch((0,T.uL)({payload:{action:"FetchOnchainBalance",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.ON_CHAIN_API+"/balance"))),(0,x.T)(_=>(this.logger.info(_),this.store.dispatch((0,T.uL)({payload:{action:"FetchOnchainBalance",status:d.wn.COMPLETED}})),{type:d.Uu.SET_ONCHAIN_BALANCE_ECL,payload:_||{}})),(0,m.W)(_=>(this.handleErrorWithoutAlert("FetchOnchainBalance",d.MZ.NO_SPINNER,"Fetching Onchain Balances Failed.",_),(0,C.of)({type:d.aU.VOID}))))),this.peersFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.FETCH_PEERS_ECL),(0,S.Z)(()=>(this.store.dispatch((0,T.uL)({payload:{action:"FetchPeers",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.PEERS_API).pipe((0,x.T)(_=>(this.logger.info(_),this.store.dispatch((0,T.uL)({payload:{action:"FetchPeers",status:d.wn.COMPLETED}})),{type:d.Uu.SET_PEERS_ECL,payload:_||[]})),(0,m.W)(_=>(this.handleErrorWithoutAlert("FetchPeers",d.MZ.NO_SPINNER,"Fetching Peers Failed.",_),(0,C.of)({type:d.aU.VOID})))))))),this.getNewAddress=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.GET_NEW_ADDRESS_ECL),(0,S.Z)(()=>(this.store.dispatch((0,w.mt)({payload:d.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+d.rl.ON_CHAIN_API).pipe((0,x.T)(_=>(this.logger.info(_),this.store.dispatch((0,w.y0)({payload:d.MZ.GENERATE_NEW_ADDRESS})),{type:d.Uu.SET_NEW_ADDRESS_ECL,payload:_})),(0,m.W)(_=>(this.handleErrorWithAlert("GetNewAddress",d.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+d.rl.ON_CHAIN_API,_),(0,C.of)({type:d.aU.VOID})))))))),this.setNewAddress=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.SET_NEW_ADDRESS_ECL),(0,x.T)(_=>(this.logger.info(_.payload),_.payload))),{dispatch:!1}),this.saveNewPeer=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.SAVE_NEW_PEER_ECL),(0,S.Z)(_=>(this.store.dispatch((0,w.mt)({payload:d.MZ.CONNECT_PEER})),this.store.dispatch((0,T.uL)({payload:{action:"SaveNewPeer",status:d.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.rl.PEERS_API+(_.payload.id.includes("@")?"?uri=":"?nodeId=")+_.payload.id,{}).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,T.uL)({payload:{action:"SaveNewPeer",status:d.wn.COMPLETED}})),r=r||[],this.store.dispatch((0,w.y0)({payload:d.MZ.CONNECT_PEER})),this.store.dispatch((0,T.Qj)({payload:r})),{type:d.Uu.NEWLY_ADDED_PEER_ECL,payload:{peer:r.find(v=>v.nodeId===(_.payload.id.includes("@")?_.payload.id.substring(0,_.payload.id.indexOf("@")):_.payload.id))}})),(0,m.W)(r=>(this.handleErrorWithoutAlert("SaveNewPeer",d.MZ.CONNECT_PEER,"Peer Connection Failed.",r),(0,C.of)({type:d.aU.VOID})))))))),this.detachPeer=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.DETACH_PEER_ECL),(0,S.Z)(_=>(this.store.dispatch((0,w.mt)({payload:d.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+d.rl.PEERS_API+"/"+_.payload.nodeId).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,w.y0)({payload:d.MZ.DISCONNECT_PEER})),this.store.dispatch((0,w.UI)({payload:"Disconnecting Peer!"})),{type:d.Uu.REMOVE_PEER_ECL,payload:{nodeId:_.payload.nodeId}})),(0,m.W)(r=>(this.handleErrorWithAlert("DisconnectPeer",d.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+d.rl.PEERS_API+"/"+_.payload.nodeId,r),(0,C.of)({type:d.aU.VOID})))))))),this.openNewChannel=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.SAVE_NEW_CHANNEL_ECL),(0,S.Z)(_=>{this.store.dispatch((0,w.mt)({payload:d.MZ.OPEN_CHANNEL})),this.store.dispatch((0,T.uL)({payload:{action:"SaveNewChannel",status:d.wn.INITIATED}}));const r={nodeId:_.payload.nodeId,fundingSatoshis:_.payload.amount,announceChannel:!_.payload.private};return _.payload.feeRate&&_.payload.feeRate>0&&(r.fundingFeerateSatByte=_.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+d.rl.CHANNELS_API,r).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.uL)({payload:{action:"SaveNewChannel",status:d.wn.COMPLETED}})),this.store.dispatch((0,T.Gy)()),this.store.dispatch((0,T.jJ)()),this.store.dispatch((0,w.y0)({payload:d.MZ.OPEN_CHANNEL})),this.store.dispatch((0,w.UI)({payload:"Channel Added Successfully!"})),{type:d.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,m.W)(v=>(this.handleErrorWithoutAlert("SaveNewChannel",d.MZ.OPEN_CHANNEL,"Opening Channel Failed.",v),(0,C.of)({type:d.aU.VOID}))))}))),this.updateChannel=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.UPDATE_CHANNEL_ECL),(0,S.Z)(_=>{this.store.dispatch((0,w.mt)({payload:d.MZ.UPDATE_CHAN_POLICY}));let r="?feeBaseMsat="+_.payload.baseFeeMsat+"&feeProportionalMillionths="+_.payload.feeRate;return r=_.payload.nodeIds?r+"&nodeIds="+_.payload.nodeIds:_.payload.nodeId?r+"&nodeId="+_.payload.nodeId:_.payload.channelIds?r+"&channelIds="+_.payload.channelIds:r+"&channelId="+_.payload.channelId,this.httpClient.post(this.CHILD_API_URL+d.rl.CHANNELS_API+"/updateRelayFee"+r,{}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,w.y0)({payload:d.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,w.UI)(_.payload.nodeIds||_.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:d.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,m.W)(v=>(this.handleErrorWithAlert("UpdateChannels",d.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+d.rl.CHANNELS_API,v),(0,C.of)({type:d.aU.VOID}))))}))),this.closeChannel=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.CLOSE_CHANNEL_ECL),(0,S.Z)(_=>(this.store.dispatch((0,w.mt)({payload:_.payload.force?d.MZ.FORCE_CLOSE_CHANNEL:d.MZ.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+d.rl.CHANNELS_API+"?channelId="+_.payload.channelId+"&force="+_.payload.force).pipe((0,x.T)(r=>(this.logger.info(r),setTimeout(()=>{this.store.dispatch((0,w.y0)({payload:_.payload.force?d.MZ.FORCE_CLOSE_CHANNEL:d.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,w.UI)({payload:_.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:d.aU.VOID})),(0,m.W)(r=>(this.handleErrorWithAlert("CloseChannel",_.payload.force?d.MZ.FORCE_CLOSE_CHANNEL:d.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+d.rl.CHANNELS_API,r),(0,C.of)({type:d.aU.VOID})))))))),this.queryRoutesFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.GET_QUERY_ROUTES_ECL),(0,S.Z)(_=>this.httpClient.get(this.CHILD_API_URL+d.rl.PAYMENTS_API+"/route?nodeId="+_.payload.nodeId+"&amountMsat="+_.payload.amount).pipe((0,x.T)(r=>(this.logger.info(r),{type:d.Uu.SET_QUERY_ROUTES_ECL,payload:r})),(0,m.W)(r=>(this.store.dispatch((0,T.Hm)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",d.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+d.rl.PAYMENTS_API+"/route?nodeId="+_.payload.nodeId+"&amountMsat="+_.payload.amount,r),(0,C.of)({type:d.aU.VOID}))))))),this.setQueryRoutes=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.SET_QUERY_ROUTES_ECL),(0,x.T)(_=>_.payload)),{dispatch:!1}),this.sendPayment=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.SEND_PAYMENT_ECL),(0,S.Z)(_=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,w.mt)({payload:d.MZ.SEND_PAYMENT})),this.store.dispatch((0,T.uL)({payload:{action:"SendPayment",status:d.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.rl.PAYMENTS_API,_.payload).pipe((0,x.T)(r=>(this.logger.info(r),this.latestPaymentRes=r,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:d.aU.VOID})),(0,m.W)(r=>(this.logger.error("Error: "+JSON.stringify(r)),_.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",d.MZ.SEND_PAYMENT,"Send Payment Failed.",r):this.handleErrorWithAlert("SendPayment",d.MZ.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+d.rl.PAYMENTS_API,r),(0,C.of)({type:d.aU.VOID})))))))),this.transactionsFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.FETCH_TRANSACTIONS_ECL),(0,S.Z)(_=>(this.store.dispatch((0,T.uL)({payload:{action:"FetchTransactions",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.ON_CHAIN_API+"/transactions?count="+_.payload.count+"&skip="+_.payload.skip))),(0,x.T)(_=>(this.logger.info(_),this.store.dispatch((0,T.uL)({payload:{action:"FetchTransactions",status:d.wn.COMPLETED}})),{type:d.Uu.SET_TRANSACTIONS_ECL,payload:_||[]})),(0,m.W)(_=>(this.handleErrorWithoutAlert("FetchTransactions",d.MZ.NO_SPINNER,"Fetching Transactions Failed.",_),(0,C.of)({type:d.aU.VOID}))))),this.SendOnchainFunds=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.SEND_ONCHAIN_FUNDS_ECL),(0,S.Z)(_=>(this.store.dispatch((0,w.mt)({payload:d.MZ.SEND_FUNDS})),this.store.dispatch((0,T.uL)({payload:{action:"SendOnchainFunds",status:d.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.rl.ON_CHAIN_API,_.payload).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,T.uL)({payload:{action:"SendOnchainFunds",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.SEND_FUNDS})),this.store.dispatch((0,T.jJ)()),{type:d.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,payload:r})),(0,m.W)(r=>(this.handleErrorWithoutAlert("SendOnchainFunds",d.MZ.SEND_FUNDS,"Sending Fund Failed.",r),(0,C.of)({type:d.aU.VOID})))))))),this.createInvoice=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.CREATE_INVOICE_ECL),(0,S.Z)(_=>(this.store.dispatch((0,w.mt)({payload:d.MZ.CREATE_INVOICE})),this.store.dispatch((0,T.uL)({payload:{action:"CreateInvoice",status:d.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.rl.INVOICES_API,_.payload).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,T.uL)({payload:{action:"CreateInvoice",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.CREATE_INVOICE})),r.timestamp=Math.round((new Date).getTime()/1e3),r.expiresAt=Math.round(r.timestamp+_.payload.expireIn),r.description=_.payload.description,r.status="unpaid",setTimeout(()=>{this.store.dispatch((0,w.xO)({payload:{data:{invoice:r,newlyAdded:!0,component:y.Z}}}))},200),{type:d.Uu.ADD_INVOICE_ECL,payload:r})),(0,m.W)(r=>(this.handleErrorWithoutAlert("CreateInvoice",d.MZ.CREATE_INVOICE,"Create Invoice Failed.",r),(0,C.of)({type:d.aU.VOID})))))))),this.invoicesFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.FETCH_INVOICES_ECL),(0,S.Z)(_=>(this.store.dispatch((0,T.uL)({payload:{action:"FetchInvoices",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.INVOICES_API+"?count="+_.payload.count+"&skip="+_.payload.skip).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,T.uL)({payload:{action:"FetchInvoices",status:d.wn.COMPLETED}})),{type:d.Uu.SET_INVOICES_ECL,payload:r})),(0,m.W)(r=>(this.handleErrorWithoutAlert("FetchInvoices",d.MZ.NO_SPINNER,"Fetching Invoices Failed.",r),(0,C.of)({type:d.aU.VOID})))))))),this.peerLookup=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.PEER_LOOKUP_ECL),(0,S.Z)(_=>(this.store.dispatch((0,w.mt)({payload:d.MZ.SEARCHING_NODE})),this.store.dispatch((0,T.uL)({payload:{action:"Lookup",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.NETWORK_API+"/nodes/"+_.payload).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,T.uL)({payload:{action:"Lookup",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.SEARCHING_NODE})),{type:d.Uu.SET_LOOKUP_ECL,payload:r})),(0,m.W)(r=>(this.handleErrorWithAlert("Lookup",d.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+d.rl.NETWORK_API+"/nodes/"+_.payload,r),(0,C.of)({type:d.aU.VOID})))))))),this.invoiceLookup=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.INVOICE_LOOKUP_ECL),(0,S.Z)(_=>(this.store.dispatch((0,w.mt)({payload:d.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,T.uL)({payload:{action:"Lookup",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.INVOICES_API+"/"+_.payload).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,T.uL)({payload:{action:"Lookup",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,T.Dq)({payload:r})),{type:d.Uu.SET_LOOKUP_ECL,payload:r})),(0,m.W)(r=>(this.handleErrorWithoutAlert("Lookup",d.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",r),this.store.dispatch((0,w.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,C.of)({type:d.aU.VOID})))))))),this.setLookup=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.SET_LOOKUP_ECL),(0,x.T)(_=>(this.logger.info(_.payload),_.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.FETCH_PAGE_SETTINGS_ECL),(0,S.Z)(()=>(this.store.dispatch((0,T.uL)({payload:{action:"FetchPageSettings",status:d.wn.INITIATED}})),this.httpClient.get(d.rl.PAGE_SETTINGS_API).pipe((0,x.T)(_=>(this.logger.info(_),this.store.dispatch((0,T.uL)({payload:{action:"FetchPageSettings",status:d.wn.COMPLETED}})),this.invoicesPageSettings=_&&Object.keys(_).length>0?_.find(r=>"transactions"===r.pageId)?.tables.find(r=>"invoices"===r.tableId):d.X8.find(r=>"transactions"===r.pageId)?.tables.find(r=>"invoices"===r.tableId),this.paymentsPageSettings=_&&Object.keys(_).length>0?_.find(r=>"transactions"===r.pageId)?.tables.find(r=>"payments"===r.tableId):d.X8.find(r=>"transactions"===r.pageId)?.tables.find(r=>"payments"===r.tableId),{type:d.Uu.SET_PAGE_SETTINGS_ECL,payload:_||[]})),(0,m.W)(_=>(this.handleErrorWithoutAlert("FetchPageSettings",d.MZ.NO_SPINNER,"Fetching Page Settings Failed.",_),(0,C.of)({type:d.aU.VOID})))))))),this.savePageSettingsCL=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(d.Uu.SAVE_PAGE_SETTINGS_ECL),(0,S.Z)(_=>(this.store.dispatch((0,w.mt)({payload:d.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,T.uL)({payload:{action:"SavePageSettings",status:d.wn.INITIATED}})),this.httpClient.post(d.rl.PAGE_SETTINGS_API,_.payload).pipe((0,x.T)(r=>{this.logger.info(r),this.store.dispatch((0,T.uL)({payload:{action:"SavePageSettings",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,w.UI)({payload:"Page Layout Updated Successfully!"}));const v=(r.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId)||d.X8.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId))?.recordsPerPage,z=(r.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId)||d.X8.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId))?.recordsPerPage;return this.invoicesPageSettings&&v!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=v),this.paymentsPageSettings&&z!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=z),{type:d.Uu.SET_PAGE_SETTINGS_ECL,payload:r||[]}}),(0,m.W)(r=>(this.handleErrorWithAlert("SavePageSettings",d.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",d.rl.PAGE_SETTINGS_API,r),(0,C.of)({type:d.aU.VOID})))))))),this.handleSendPaymentStatus=_=>{this.store.dispatch((0,T.uL)({payload:{action:"SendPayment",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.SEND_PAYMENT})),this.store.dispatch((0,T.N4)({payload:this.latestPaymentRes})),this.store.dispatch((0,w.UI)({payload:_}))},this.store.select(k.ru).pipe((0,l.Q)(this.unSubs[0])).subscribe(_=>{_.FetchInfo.status!==d.wn.COMPLETED&&_.FetchInfo.status!==d.wn.ERROR||_.FetchFees.status!==d.wn.COMPLETED&&_.FetchFees.status!==d.wn.ERROR||_.FetchOnchainBalance.status!==d.wn.COMPLETED&&_.FetchOnchainBalance.status!==d.wn.ERROR||_.FetchChannels.status!==d.wn.COMPLETED&&_.FetchChannels.status!==d.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,w.y0)({payload:d.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,l.Q)(this.unSubs[1])).subscribe(_=>{this.logger.info("Received new message from the service: "+JSON.stringify(_));let r="";if(_)switch(_.type){case d.ck.PAYMENT_SENT:_&&_.id&&this.latestPaymentRes===_.id&&(this.flgReceivedPaymentUpdateFromWS=!0,r="Payment Sent: "+(_.paymentHash?"with payment hash "+_.paymentHash:JSON.stringify(_)),this.handleSendPaymentStatus(r));break;case d.ck.PAYMENT_FAILED:_&&_.id&&this.latestPaymentRes===_.id&&(this.flgReceivedPaymentUpdateFromWS=!0,r="Payment Failed: "+(_.failures&&_.failures.length&&_.failures.length>0&&_.failures[0].t?_.failures[0].t:_.failures&&_.failures.length&&_.failures.length>0&&_.failures[0].e&&_.failures[0].e.failureMessage?_.failures[0].e.failureMessage:JSON.stringify(_)),this.handleSendPaymentStatus(r));break;case d.ck.PAYMENT_RECEIVED:this.store.dispatch((0,T.Dq)({payload:_}));break;case d.ck.PAYMENT_RELAYED:delete _.source,_.amountIn=Math.round((_.amountIn||0)/1e3),_.amountOut=Math.round((_.amountOut||0)/1e3),_.timestamp.unix&&(_.timestamp=1e3*_.timestamp.unix),this.store.dispatch((0,T.yn)({payload:_}));break;case d.ck.CHANNEL_STATE_CHANGED:"NORMAL"===_.currentState||"CLOSED"===_.currentState?(this.rawChannelsList=this.rawChannelsList?.map(v=>(v.channelId===_.channelId&&v.nodeId===_.remoteNodeId&&(v.state=_.currentState),v)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,T.gZ)({payload:_}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(_))}})}setChannelsAndStatusAndBalances(){let be=0,D=0,n=0,c={localBalance:0,remoteBalance:0},f=[];const h=[],M=[],L={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((O,_)=>{O&&("NORMAL"===O.state?(be=(O.toLocal||0)+(O.toRemote||0),D+=O.toLocal||0,n+=O.toRemote||0,O.balancedness=0===be?1:+(1-Math.abs(((O.toLocal||0)-(O.toRemote||0))/be)).toFixed(3),f.push(O),L.active.channels=L.active.channels+1,L.active.capacity=L.active.capacity+(O.toLocal||0)):O.state?.includes("WAIT")||O.state?.includes("CLOSING")||O.state?.includes("SYNCING")?(O.state=O.state?.replace(/_/g," "),h.push(O),L.pending.channels=L.pending.channels+1,L.pending.capacity=L.pending.capacity+(O.toLocal||0)):(O.state=O.state?.replace(/_/g," "),M.push(O),L.inactive.channels=L.inactive.channels+1,L.inactive.capacity=L.inactive.capacity+(O.toLocal||0)))}),c={localBalance:D,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(M)),this.logger.info("Lightning Balances: "+JSON.stringify(c)),this.logger.info("Channels Status: "+JSON.stringify(L)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:f,pending:h,inactive:M,balances:c,status:L})),this.store.dispatch((0,T.Tp)({payload:f})),this.store.dispatch((0,T.cU)({payload:h})),this.store.dispatch((0,T.I6)({payload:M})),this.store.dispatch((0,T.N8)({payload:c})),this.store.dispatch((0,T.ZE)({payload:L}))}initializeRemainingData(be,D){this.sessionService.setItem("eclUnlocked","true");const n={identity_pubkey:be.nodeId,alias:be.alias,testnet:"testnet"===be.network,chains:be.publicAddresses,uris:be.uris,version:be.version,numberOfPendingChannels:0};this.store.dispatch((0,w.mt)({payload:d.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,w.Fl)({payload:n}));let c=this.location.path();c.includes("/lnd/")?c=c?.replace("/lnd/","/ecl/"):c.includes("/cln/")&&(c=c?.replace("/cln/","/ecl/")),(c.includes("/login")||c.includes("/error")||""===c||"HOME"===D||c.includes("?access-key="))&&(c="/ecl/home"),this.router.navigate([c]),this.store.dispatch((0,T.$Q)()),this.store.dispatch((0,T.yp)()),this.store.dispatch((0,T.jJ)()),this.store.dispatch((0,T.Gy)())}handleErrorWithoutAlert(be,D,n,c){this.logger.error("ERROR IN: "+be+"\n"+JSON.stringify(c)),401===c.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.Jh)()),this.store.dispatch((0,w.ri)({payload:"Authentication Failed: "+JSON.stringify(c.error)}))):(this.store.dispatch((0,w.y0)({payload:D})),this.store.dispatch((0,T.uL)({payload:{action:be,status:d.wn.ERROR,statusCode:c.status.toString(),message:this.commonService.extractErrorMessage(c,n)}})))}handleErrorWithAlert(be,D,n,c,f){if(this.logger.error(f),401===f.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.Jh)()),this.store.dispatch((0,w.ri)({payload:"Authentication Failed: "+JSON.stringify(f.error)}));else{this.store.dispatch((0,w.y0)({payload:D}));const h=this.commonService.extractErrorMessage(f);this.store.dispatch((0,w.xO)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:f.status,message:h,URL:c},component:R.f}}})),this.store.dispatch((0,T.uL)({payload:{action:be,status:d.wn.ERROR,statusCode:f.status.toString(),message:h,URL:c}}))}}ngOnDestroy(){this.unSubs.forEach(be=>{be.next(null),be.complete()})}static{this.\u0275fac=function(D){return new(D||ye)(F.KVO(t.En),F.KVO(V.Qq),F.KVO(U.il),F.KVO(G.Q),F.KVO(Y.h),F.KVO($.gP),F.KVO(Z.Ix),F.KVO(ie.I),F.KVO(ve.aZ))}}static{this.\u0275prov=F.jDH({token:ye,factory:ye.\u0275fac})}}return ye})()},2730:(Ve,ee,p)=>{"use strict";p.d(ee,{DW:()=>G,KT:()=>R,Ou:()=>k,b_:()=>l,gN:()=>F,jZ:()=>C,oR:()=>d,os:()=>U,p3:()=>S,rN:()=>V,ru:()=>m});var t=p(9640);const e=(0,t.UX)("ecl"),C=(0,t.Mz)(e,Y=>({pageSettings:Y.pageSettings,apiCallStatus:Y.apisCallStatus.FetchPageSettings})),S=(0,t.Mz)(e,Y=>Y.information),l=(0,t.Mz)(e,Y=>({information:Y.information,apiCallStatus:Y.apisCallStatus.FetchInfo})),m=((0,t.Mz)(e,Y=>Y.apisCallStatus.FetchInfo),(0,t.Mz)(e,Y=>Y.apisCallStatus)),R=(0,t.Mz)(e,Y=>({payments:Y.payments,apiCallStatus:Y.apisCallStatus.FetchPayments})),d=(0,t.Mz)(e,Y=>({fees:Y.fees,apiCallStatus:Y.apisCallStatus.FetchFees})),k=((0,t.Mz)(e,Y=>({activeChannels:Y.activeChannels,apiCallStatus:Y.apisCallStatus.FetchChannels})),(0,t.Mz)(e,Y=>({pendingChannels:Y.pendingChannels,apiCallStatus:Y.apisCallStatus.FetchChannels})),(0,t.Mz)(e,Y=>({inactiveChannels:Y.inactiveChannels,apiCallStatus:Y.apisCallStatus.FetchChannels})),(0,t.Mz)(e,Y=>({activeChannels:Y.activeChannels,pendingChannels:Y.pendingChannels,inactiveChannels:Y.inactiveChannels,lightningBalance:Y.lightningBalance,channelsStatus:Y.channelsStatus,apiCallStatus:Y.apisCallStatus.FetchChannels}))),F=(0,t.Mz)(e,Y=>({transactions:Y.transactions,apiCallStatus:Y.apisCallStatus.FetchTransactions})),V=(0,t.Mz)(e,Y=>({invoices:Y.invoices,apiCallStatus:Y.apisCallStatus.FetchInvoices})),U=(0,t.Mz)(e,Y=>({peers:Y.peers,apiCallStatus:Y.apisCallStatus.FetchPeers})),G=(0,t.Mz)(e,Y=>({onchainBalance:Y.onchainBalance,apiCallStatus:Y.apisCallStatus.FetchOnchainBalance}))},6439:(Ve,ee,p)=>{"use strict";p.d(ee,{Z:()=>re});var t=p(5351),e=p(5383),C=p(1413),S=p(6977),l=p(4416),x=p(2730),m=p(4438),R=p(8570),d=p(2571),w=p(5416),y=p(9640),T=p(177),k=p(60),F=p(2920),V=p(6038),U=p(8834),G=p(5596),Y=p(1997),$=p(9183),Z=p(8288),ie=p(9157),ve=p(9587);const ae=te=>({"display-none":te}),ye=te=>({"xs-scroll-y":te}),ue=(te,oe)=>({"mt-2":te,"mt-1":oe}),be=()=>[];function D(te,oe){if(1&te&&m.nrm(0,"qr-code",29),2&te){const _e=m.XpG();m.Y8G("value",null==_e.invoice?null:_e.invoice.serialized)("size",_e.qrWidth)("errorCorrectionLevel","L")}}function n(te,oe){1&te&&(m.j41(0,"span",30),m.EFF(1,"N/A"),m.k0s())}function c(te,oe){if(1&te&&m.nrm(0,"qr-code",29),2&te){const _e=m.XpG();m.Y8G("value",null==_e.invoice?null:_e.invoice.serialized)("size",_e.qrWidth)("errorCorrectionLevel","L")}}function f(te,oe){1&te&&(m.j41(0,"span",31),m.EFF(1,"QR Code Not Applicable"),m.k0s())}function h(te,oe){1&te&&m.nrm(0,"mat-divider",32),2&te&&m.Y8G("inset",!0)}function M(te,oe){1&te&&(m.qex(0),m.EFF(1," (zero amount) "),m.bVm())}function L(te,oe){1&te&&m.nrm(0,"span",38)}function O(te,oe){if(1&te&&(m.j41(0,"div",34)(1,"div",35)(2,"span",36),m.EFF(3),m.nI1(4,"number"),m.k0s(),m.DNE(5,L,1,0,"span",37),m.k0s()()),2&te){const _e=m.XpG(2);m.R7$(3),m.SpI("",m.bMT(4,2,null==_e.invoice?null:_e.invoice.amountSettled)," Sats"),m.R7$(2),m.Y8G("ngForOf",m.lJ4(4,be).constructor(35))}}function _(te,oe){if(1&te&&(m.j41(0,"div"),m.EFF(1),m.nI1(2,"number"),m.k0s()),2&te){const _e=m.XpG(2);m.R7$(),m.SpI("",m.bMT(2,1,null==_e.invoice?null:_e.invoice.amountSettled)," Sats")}}function r(te,oe){if(1&te&&(m.qex(0),m.DNE(1,O,6,5,"div",33)(2,_,3,3,"div",20),m.bVm()),2&te){const _e=m.XpG();m.R7$(),m.Y8G("ngIf",_e.flgInvoicePaid),m.R7$(),m.Y8G("ngIf",!_e.flgInvoicePaid)}}function v(te,oe){1&te&&(m.j41(0,"span"),m.EFF(1,"-"),m.k0s())}function z(te,oe){1&te&&m.nrm(0,"mat-spinner",40),2&te&&m.Y8G("diameter",20)}function N(te,oe){if(1&te&&(m.qex(0),m.DNE(1,v,2,0,"span",20)(2,z,1,1,"mat-spinner",39),m.bVm()),2&te){const _e=m.XpG();m.R7$(),m.Y8G("ngIf","unpaid"!==(null==_e.invoice?null:_e.invoice.status)||!_e.flgVersionCompatible),m.R7$(),m.Y8G("ngIf","unpaid"===(null==_e.invoice?null:_e.invoice.status)&&_e.flgVersionCompatible)}}function ne(te,oe){if(1&te&&(m.j41(0,"div"),m.nrm(1,"mat-divider",21),m.j41(2,"div",16)(3,"div",41)(4,"h4",18),m.EFF(5,"Date Expiry"),m.k0s(),m.j41(6,"span",19),m.EFF(7),m.nI1(8,"date"),m.k0s()(),m.j41(9,"div",42)(10,"h4",18),m.EFF(11,"Date Settled"),m.k0s(),m.j41(12,"span",22),m.EFF(13),m.nI1(14,"date"),m.k0s()()(),m.nrm(15,"mat-divider",21),m.j41(16,"div",16)(17,"div",23)(18,"h4",18),m.EFF(19,"Payment Hash"),m.k0s(),m.j41(20,"span",22),m.EFF(21),m.k0s()()(),m.nrm(22,"mat-divider",21),m.j41(23,"div",16)(24,"div",23)(25,"h4",18),m.EFF(26,"Node ID"),m.k0s(),m.j41(27,"span",22),m.EFF(28),m.k0s()()(),m.nrm(29,"mat-divider",21),m.k0s()),2&te){const _e=m.XpG();m.R7$(7),m.JRh(m.i5U(8,4,1e3*(null==_e.invoice?null:_e.invoice.expiresAt),"dd/MMM/y HH:mm")),m.R7$(6),m.JRh(m.i5U(14,7,1e3*(null==_e.invoice?null:_e.invoice.receivedAt),"dd/MMM/y HH:mm")),m.R7$(8),m.JRh(null==_e.invoice?null:_e.invoice.paymentHash),m.R7$(7),m.JRh(null==_e.invoice?null:_e.invoice.nodeId)}}function Ie(te,oe){1&te&&(m.j41(0,"p"),m.EFF(1,"Show Advanced"),m.k0s())}function at(te,oe){1&te&&(m.j41(0,"p"),m.EFF(1,"Hide Advanced"),m.k0s())}function Ye(te,oe){if(1&te){const _e=m.RV6();m.j41(0,"button",43),m.bIt("copied",function(pe){m.eBV(_e);const We=m.XpG();return m.Njj(We.onCopyPayment(pe))}),m.EFF(1,"Copy Invoice"),m.k0s()}if(2&te){const _e=m.XpG();m.Y8G("payload",null==_e.invoice?null:_e.invoice.serialized)}}function rt(te,oe){if(1&te){const _e=m.RV6();m.j41(0,"button",44),m.bIt("click",function(){m.eBV(_e);const pe=m.XpG();return m.Njj(pe.onClose())}),m.EFF(1,"OK"),m.k0s()}}let re=(()=>{class te{constructor(_e,de,pe,We,se,fe){this.dialogRef=_e,this.data=de,this.logger=pe,this.commonService=We,this.snackBar=se,this.store=fe,this.faReceipt=e.Mf0,this.faExclamationTriangle=e.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.f7,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new C.B,new C.B,new C.B,new C.B,new C.B]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.f7.XS&&(this.qrWidth=220),this.store.select(x.p3).pipe((0,S.Q)(this.unSubs[0])).subscribe(_e=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(_e.version,"0.5.0")}),this.store.select(x.rN).pipe((0,S.Q)(this.unSubs[1])).subscribe(_e=>{const de=this.invoice.status,We=(_e.invoices&&_e.invoices.length>0?_e.invoices:[])?.find(se=>se.paymentHash===this.invoice.paymentHash)||null;We&&(this.invoice=We),de!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(_e)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(_e){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+_e)}ngOnDestroy(){this.unSubs.forEach(_e=>{_e.next(null),_e.complete()})}static{this.\u0275fac=function(de){return new(de||te)(m.rXU(t.CP),m.rXU(t.Vh),m.rXU(R.gP),m.rXU(d.h),m.rXU(w.UG),m.rXU(y.il))}}static{this.\u0275cmp=m.VBU({type:te,selectors:[["rtl-ecl-invoice-information"]],decls:68,vars:42,consts:[["hideAdvancedText",""],["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"],["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,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(de,pe){if(1&de){const We=m.RV6();m.j41(0,"div",1)(1,"div",2),m.DNE(2,D,1,3,"qr-code",3)(3,n,2,0,"span",4),m.k0s(),m.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),m.nrm(7,"fa-icon",8),m.j41(8,"span",9),m.EFF(9),m.k0s()(),m.j41(10,"button",10),m.bIt("click",function(){return m.eBV(We),m.Njj(pe.onClose())}),m.EFF(11,"X"),m.k0s()(),m.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),m.DNE(15,c,1,3,"qr-code",3)(16,f,2,0,"span",14),m.k0s(),m.DNE(17,h,1,1,"mat-divider",15),m.j41(18,"div",16)(19,"div",17)(20,"h4",18),m.EFF(21,"Amount Requested"),m.k0s(),m.j41(22,"span",19),m.EFF(23),m.nI1(24,"number"),m.DNE(25,M,2,0,"ng-container",20),m.k0s()(),m.j41(26,"div",17)(27,"h4",18),m.EFF(28,"Amount Settled"),m.k0s(),m.j41(29,"span",19),m.DNE(30,r,3,2,"ng-container",20)(31,N,3,2,"ng-container",20),m.k0s()()(),m.nrm(32,"mat-divider",21),m.j41(33,"div",16)(34,"div",17)(35,"h4",18),m.EFF(36,"Date Created"),m.k0s(),m.j41(37,"span",22),m.EFF(38),m.nI1(39,"date"),m.k0s()(),m.j41(40,"div",17)(41,"h4",18),m.EFF(42,"Status"),m.k0s(),m.j41(43,"span",22),m.EFF(44),m.nI1(45,"titlecase"),m.k0s()()(),m.nrm(46,"mat-divider",21),m.j41(47,"div",16)(48,"div",23)(49,"h4",18),m.EFF(50,"Description"),m.k0s(),m.j41(51,"span",19),m.EFF(52),m.k0s()()(),m.nrm(53,"mat-divider",21),m.j41(54,"div",16)(55,"div",23)(56,"h4",18),m.EFF(57,"Invoice"),m.k0s(),m.j41(58,"span",22),m.EFF(59),m.k0s()()(),m.DNE(60,ne,30,10,"div",20),m.j41(61,"div",24)(62,"button",25),m.bIt("click",function(){return m.eBV(We),m.Njj(pe.onShowAdvanced())}),m.DNE(63,Ie,2,0,"p",26)(64,at,2,0,"ng-template",null,0,m.C5r),m.k0s(),m.DNE(66,Ye,2,1,"button",27)(67,rt,2,0,"button",28),m.k0s()()()()()}if(2&de){const We=m.sdS(65);m.R7$(),m.Y8G("fxLayoutAlign",null!=pe.invoice&&pe.invoice.serialized&&""!==(null==pe.invoice?null:pe.invoice.serialized)?"center start":"center center")("ngClass",m.eq3(33,ae,pe.screenSize===pe.screenSizeEnum.XS||pe.screenSize===pe.screenSizeEnum.SM)),m.R7$(),m.Y8G("ngIf",(null==pe.invoice?null:pe.invoice.serialized)&&""!==(null==pe.invoice?null:pe.invoice.serialized)),m.R7$(),m.Y8G("ngIf",!(null!=pe.invoice&&pe.invoice.serialized)||""===(null==pe.invoice?null:pe.invoice.serialized)),m.R7$(4),m.Y8G("icon",pe.faReceipt),m.R7$(2),m.JRh(pe.screenSize===pe.screenSizeEnum.XS?pe.newlyAdded?"Created":"Invoice":pe.newlyAdded?"Invoice Created":"Invoice Information"),m.R7$(3),m.Y8G("ngClass",m.eq3(35,ye,pe.screenSize===pe.screenSizeEnum.XS)),m.R7$(2),m.Y8G("fxLayoutAlign",null!=pe.invoice&&pe.invoice.serialized&&""!==(null==pe.invoice?null:pe.invoice.serialized)?"center start":"center center")("ngClass",m.eq3(37,ae,pe.screenSize!==pe.screenSizeEnum.XS&&pe.screenSize!==pe.screenSizeEnum.SM)),m.R7$(),m.Y8G("ngIf",(null==pe.invoice?null:pe.invoice.serialized)&&""!==(null==pe.invoice?null:pe.invoice.serialized)),m.R7$(),m.Y8G("ngIf",!(null!=pe.invoice&&pe.invoice.serialized)||""===(null==pe.invoice?null:pe.invoice.serialized)),m.R7$(),m.Y8G("ngIf",pe.screenSize===pe.screenSizeEnum.XS||pe.screenSize===pe.screenSizeEnum.SM),m.R7$(6),m.SpI("",m.bMT(24,26,(null==pe.invoice?null:pe.invoice.amount)||0)," Sats"),m.R7$(2),m.Y8G("ngIf",!(null!=pe.invoice&&pe.invoice.amount)||"0"===(null==pe.invoice?null:pe.invoice.amount)),m.R7$(5),m.Y8G("ngIf",null==pe.invoice?null:pe.invoice.amountSettled),m.R7$(),m.Y8G("ngIf",!(null!=pe.invoice&&pe.invoice.amountSettled)),m.R7$(7),m.JRh(m.i5U(39,28,1e3*(null==pe.invoice?null:pe.invoice.timestamp),"dd/MMM/y HH:mm")),m.R7$(6),m.JRh(m.bMT(45,31,null==pe.invoice?null:pe.invoice.status)),m.R7$(8),m.JRh((null==pe.invoice?null:pe.invoice.description)||"-"),m.R7$(7),m.JRh((null==pe.invoice?null:pe.invoice.serialized)||"N/A"),m.R7$(),m.Y8G("ngIf",pe.showAdvanced),m.R7$(),m.Y8G("ngClass",m.l_i(39,ue,!pe.showAdvanced,pe.showAdvanced)),m.R7$(2),m.Y8G("ngIf",!pe.showAdvanced)("ngIfElse",We),m.R7$(3),m.Y8G("ngIf",(null==pe.invoice?null:pe.invoice.serialized)&&""!==(null==pe.invoice?null:pe.invoice.serialized)),m.R7$(),m.Y8G("ngIf",!(null!=pe.invoice&&pe.invoice.serialized)||""===(null==pe.invoice?null:pe.invoice.serialized))}},dependencies:[T.YU,T.Sq,T.bT,k.aY,F.DJ,F.sA,F.UI,V.PW,U.$z,G.m2,G.MM,Y.q,$.LG,Z.Um,ie.U,ve.N,T.QX,T.PV,T.vh]})}}return te})()},190:(Ve,ee,p)=>{"use strict";p.d(ee,{$6:()=>re,$J:()=>ne,$Q:()=>be,As:()=>de,Br:()=>d,CK:()=>se,DI:()=>ae,DY:()=>ve,Do:()=>rt,Dq:()=>te,Fd:()=>he,GZ:()=>Ue,Gy:()=>y,H2:()=>r,Hm:()=>Vt,J9:()=>ue,Jx:()=>$,L:()=>v,Lf:()=>at,NS:()=>m,O8:()=>We,Qj:()=>T,SM:()=>pe,Sn:()=>R,T4:()=>Le,Uj:()=>fe,Uo:()=>ie,VK:()=>G,WE:()=>tt,X9:()=>x,XT:()=>_t,Yi:()=>vt,Zi:()=>U,_$:()=>oe,aB:()=>ke,ar:()=>n,b1:()=>Et,cR:()=>_,cU:()=>c,dv:()=>D,e8:()=>C,ed:()=>V,fy:()=>M,ij:()=>ut,jk:()=>Ze,kv:()=>dt,lg:()=>l,mh:()=>_e,oX:()=>Qe,p1:()=>S,pL:()=>f,sq:()=>k,t0:()=>Ke,t5:()=>Ie,tG:()=>Zt,tf:()=>ye,uK:()=>qe,vL:()=>L,w0:()=>O,x1:()=>w,yp:()=>Z,z2:()=>h,zU:()=>wt});var t=p(9640),e=p(4416);const C=(0,t.VP)(e.QP.UPDATE_API_CALL_STATUS_LND,(0,t.xk)()),S=(0,t.VP)(e.QP.RESET_LND_STORE),l=(0,t.VP)(e.QP.FETCH_PAGE_SETTINGS_LND),x=(0,t.VP)(e.QP.UPDATE_SELECTED_NODE_OPTIONS),m=(0,t.VP)(e.QP.SET_PAGE_SETTINGS_LND,(0,t.xk)()),R=(0,t.VP)(e.QP.SAVE_PAGE_SETTINGS_LND,(0,t.xk)()),d=(0,t.VP)(e.QP.FETCH_INFO_LND,(0,t.xk)()),w=(0,t.VP)(e.QP.SET_INFO_LND,(0,t.xk)()),y=(0,t.VP)(e.QP.FETCH_PEERS_LND),T=(0,t.VP)(e.QP.SET_PEERS_LND,(0,t.xk)()),k=(0,t.VP)(e.QP.SAVE_NEW_PEER_LND,(0,t.xk)()),V=((0,t.VP)(e.QP.NEWLY_ADDED_PEER_LND,(0,t.xk)()),(0,t.VP)(e.QP.DETACH_PEER_LND,(0,t.xk)())),U=(0,t.VP)(e.QP.REMOVE_PEER_LND,(0,t.xk)()),G=(0,t.VP)(e.QP.SAVE_NEW_INVOICE_LND,(0,t.xk)()),$=((0,t.VP)(e.QP.NEWLY_SAVED_INVOICE_LND,(0,t.xk)()),(0,t.VP)(e.QP.ADD_INVOICE_LND,(0,t.xk)())),Z=(0,t.VP)(e.QP.FETCH_FEES_LND),ie=(0,t.VP)(e.QP.SET_FEES_LND,(0,t.xk)()),ve=(0,t.VP)(e.QP.FETCH_BLOCKCHAIN_BALANCE_LND),ae=(0,t.VP)(e.QP.SET_BLOCKCHAIN_BALANCE_LND,(0,t.xk)()),ye=(0,t.VP)(e.QP.FETCH_NETWORK_LND),ue=(0,t.VP)(e.QP.SET_NETWORK_LND,(0,t.xk)()),be=(0,t.VP)(e.QP.FETCH_CHANNELS_LND),D=(0,t.VP)(e.QP.SET_CHANNELS_LND,(0,t.xk)()),n=(0,t.VP)(e.QP.FETCH_PENDING_CHANNELS_LND),c=(0,t.VP)(e.QP.SET_PENDING_CHANNELS_LND,(0,t.xk)()),f=(0,t.VP)(e.QP.FETCH_CLOSED_CHANNELS_LND),h=(0,t.VP)(e.QP.SET_CLOSED_CHANNELS_LND,(0,t.xk)()),M=(0,t.VP)(e.QP.UPDATE_CHANNEL_LND,(0,t.xk)()),L=(0,t.VP)(e.QP.SAVE_NEW_CHANNEL_LND,(0,t.xk)()),O=(0,t.VP)(e.QP.CLOSE_CHANNEL_LND,(0,t.xk)()),_=(0,t.VP)(e.QP.REMOVE_CHANNEL_LND,(0,t.xk)()),r=(0,t.VP)(e.QP.BACKUP_CHANNELS_LND,(0,t.xk)()),v=(0,t.VP)(e.QP.VERIFY_CHANNEL_LND,(0,t.xk)()),ne=((0,t.VP)(e.QP.BACKUP_CHANNELS_RES_LND,(0,t.xk)()),(0,t.VP)(e.QP.VERIFY_CHANNEL_RES_LND,(0,t.xk)()),(0,t.VP)(e.QP.RESTORE_CHANNELS_LIST_LND)),Ie=(0,t.VP)(e.QP.SET_RESTORE_CHANNELS_LIST_LND,(0,t.xk)()),at=(0,t.VP)(e.QP.RESTORE_CHANNELS_LND,(0,t.xk)()),rt=((0,t.VP)(e.QP.RESTORE_CHANNELS_RES_LND,(0,t.xk)()),(0,t.VP)(e.QP.FETCH_INVOICES_LND,(0,t.xk)())),re=(0,t.VP)(e.QP.SET_INVOICES_LND,(0,t.xk)()),te=(0,t.VP)(e.QP.UPDATE_INVOICE_LND,(0,t.xk)()),oe=(0,t.VP)(e.QP.UPDATE_PAYMENT_LND,(0,t.xk)()),_e=(0,t.VP)(e.QP.FETCH_TRANSACTIONS_LND),de=(0,t.VP)(e.QP.SET_TRANSACTIONS_LND,(0,t.xk)()),pe=(0,t.VP)(e.QP.FETCH_UTXOS_LND),We=(0,t.VP)(e.QP.SET_UTXOS_LND,(0,t.xk)()),se=(0,t.VP)(e.QP.FETCH_PAYMENTS_LND,(0,t.xk)()),fe=(0,t.VP)(e.QP.SET_PAYMENTS_LND,(0,t.xk)()),he=(0,t.VP)(e.QP.SEND_PAYMENT_LND,(0,t.xk)()),Ke=((0,t.VP)(e.QP.SEND_PAYMENT_STATUS_LND,(0,t.xk)()),(0,t.VP)(e.QP.FETCH_GRAPH_NODE_LND,(0,t.xk)())),_t=((0,t.VP)(e.QP.SET_GRAPH_NODE_LND,(0,t.xk)()),(0,t.VP)(e.QP.GET_NEW_ADDRESS_LND,(0,t.xk)())),ke=((0,t.VP)(e.QP.SET_NEW_ADDRESS_LND,(0,t.xk)()),(0,t.VP)(e.QP.SET_CHANNEL_TRANSACTION_LND,(0,t.xk)())),Qe=((0,t.VP)(e.QP.SET_CHANNEL_TRANSACTION_RES_LND,(0,t.xk)()),(0,t.VP)(e.QP.GEN_SEED_LND,(0,t.xk)())),Ue=((0,t.VP)(e.QP.GEN_SEED_RESPONSE_LND,(0,t.xk)()),(0,t.VP)(e.QP.INIT_WALLET_LND,(0,t.xk)())),tt=((0,t.VP)(e.QP.INIT_WALLET_RESPONSE_LND,(0,t.xk)()),(0,t.VP)(e.QP.UNLOCK_WALLET_LND,(0,t.xk)())),wt=(0,t.VP)(e.QP.PEER_LOOKUP_LND,(0,t.xk)()),ut=(0,t.VP)(e.QP.CHANNEL_LOOKUP_LND,(0,t.xk)()),vt=(0,t.VP)(e.QP.INVOICE_LOOKUP_LND,(0,t.xk)()),Ze=(0,t.VP)(e.QP.PAYMENT_LOOKUP_LND,(0,t.xk)()),qe=((0,t.VP)(e.QP.SET_LOOKUP_LND,(0,t.xk)()),(0,t.VP)(e.QP.GET_FORWARDING_HISTORY_LND,(0,t.xk)())),dt=(0,t.VP)(e.QP.SET_FORWARDING_HISTORY_LND,(0,t.xk)()),Le=(0,t.VP)(e.QP.GET_QUERY_ROUTES_LND,(0,t.xk)()),Vt=(0,t.VP)(e.QP.SET_QUERY_ROUTES_LND,(0,t.xk)()),Zt=(0,t.VP)(e.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),Et=(0,t.VP)(e.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,t.xk)())},9579:(Ve,ee,p)=>{"use strict";p.d(ee,{L:()=>ue});var t=p(4054),e=p(1413),C=p(7673),S=p(1397),l=p(6977),x=p(6354),m=p(9437),R=p(3993),d=p(6391),w=p(2462),y=p(4416),T=p(1771),k=p(190),F=p(3536),V=p(4438),U=p(1626),G=p(9640),Y=p(8570),$=p(2571),Z=p(3202),ie=p(5351),ve=p(1188),ae=p(7879),ye=p(177);let ue=(()=>{class be{constructor(n,c,f,h,M,L,O,_,r,v){this.actions=n,this.httpClient=c,this.store=f,this.logger=h,this.commonService=M,this.sessionService=L,this.dialog=O,this.router=_,this.wsService=r,this.location=v,this.CHILD_API_URL=y.H$+"/lnd",this.invoicesPageSettings=y.ZC.find(z=>"transactions"===z.pageId)?.tables.find(z=>"invoices"===z.tableId),this.paymentsPageSettings=y.ZC.find(z=>"transactions"===z.pageId)?.tables.find(z=>"payments"===z.tableId),this.flgInitialized=!1,this.unSubs=[new e.B,new e.B],this.infoFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_INFO_LND),(0,S.Z)(z=>(this.flgInitialized=!1,this.store.dispatch((0,T.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,T.Jh)()),this.store.dispatch((0,T.mt)({payload:y.MZ.GET_NODE_INFO})),this.store.dispatch((0,k.e8)({payload:{action:"FetchInfo",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.GETINFO_API).pipe((0,l.Q)(this.actions.pipe((0,t.gp)(y.aU.SET_SELECTED_NODE))),(0,x.T)(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.e8)({payload:{action:"FetchInfo",status:y.wn.COMPLETED}})),this.store.dispatch((0,T.Jh)()),this.store.dispatch((0,T.xO)({payload:{data:{type:y.A$.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:y.aU.LOGOUT}):N.identity_pubkey?(N.lnImplementation="LND",this.initializeRemainingData(N,z.payload.loadPage),this.store.dispatch((0,k.e8)({payload:{action:"FetchInfo",status:y.wn.COMPLETED}})),this.store.dispatch((0,T.Jh)()),{type:y.QP.SET_INFO_LND,payload:N||{}}):(this.store.dispatch((0,k.e8)({payload:{action:"FetchInfo",status:y.wn.COMPLETED}})),this.store.dispatch((0,T.Jh)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:y.QP.SET_INFO_LND,payload:{}}))),(0,m.W)(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",y.MZ.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.Br)({payload:{loadPage:"HOME"}}))},2e3);else{const ne=this.commonService.extractErrorCode(N),Ie=503===ne?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(N);this.router.navigate(["/error"],{state:{errorCode:ne,errorMessage:Ie}}),this.handleErrorWithoutAlert("FetchInfo",y.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:ne,error:Ie})}return(0,C.of)({type:y.aU.VOID})})))))),this.peersFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_PEERS_LND),(0,S.Z)(()=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchPeers",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PEERS_API).pipe((0,x.T)(z=>(this.logger.info(z),this.store.dispatch((0,k.e8)({payload:{action:"FetchPeers",status:y.wn.COMPLETED}})),{type:y.QP.SET_PEERS_LND,payload:z||[]})),(0,m.W)(z=>(this.handleErrorWithoutAlert("FetchPeers",y.MZ.NO_SPINNER,"Fetching Peers Failed.",z),(0,C.of)({type:y.aU.VOID})))))))),this.saveNewPeer=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.SAVE_NEW_PEER_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.CONNECT_PEER})),this.store.dispatch((0,k.e8)({payload:{action:"SaveNewPeer",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.PEERS_API,{pubkey:z.payload.pubkey,host:z.payload.host,perm:z.payload.perm}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,k.e8)({payload:{action:"SaveNewPeer",status:y.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:y.MZ.CONNECT_PEER})),this.store.dispatch((0,k.Qj)({payload:N||[]})),{type:y.QP.NEWLY_ADDED_PEER_LND,payload:{peer:N[0]}})),(0,m.W)(N=>(this.handleErrorWithoutAlert("SaveNewPeer",y.MZ.CONNECT_PEER,"Peer Connection Failed.",N),(0,C.of)({type:y.aU.VOID})))))))),this.detachPeer=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.DETACH_PEER_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+y.rl.PEERS_API+"/"+z.payload.pubkey).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,T.y0)({payload:y.MZ.DISCONNECT_PEER})),this.store.dispatch((0,T.UI)({payload:"Peer Disconnected Successfully."})),{type:y.QP.REMOVE_PEER_LND,payload:{pubkey:z.payload.pubkey}})),(0,m.W)(N=>(this.handleErrorWithAlert("DetachPeer",y.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+y.rl.PEERS_API+"/"+z.payload.pubkey,N),(0,C.of)({type:y.aU.VOID})))))))),this.saveNewInvoice=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.SAVE_NEW_INVOICE_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:z.payload.uiMessage})),this.store.dispatch((0,k.e8)({payload:{action:"SaveNewInvoice",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.INVOICES_API,{memo:z.payload.memo,value:z.payload.value,private:z.payload.private,expiry:z.payload.expiry,is_amp:z.payload.is_amp}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,k.e8)({payload:{action:"SaveNewInvoice",status:y.wn.COMPLETED}})),this.store.dispatch((0,k.Do)({payload:{num_max_invoices:z.payload.pageSize,reversed:!0}})),z.payload.openModal?(N.memo=z.payload.memo,N.value=z.payload.value,N.expiry=z.payload.expiry,N.private=z.payload.private,N.is_amp=z.payload.is_amp,N.cltv_expiry="144",N.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,T.xO)({payload:{data:{invoice:N,newlyAdded:!0,component:d.H}}}))},200),{type:y.aU.CLOSE_SPINNER,payload:z.payload.uiMessage}):{type:y.QP.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:N.payment_request}})),(0,m.W)(N=>(this.handleErrorWithoutAlert("SaveNewInvoice",z.payload.uiMessage,"Add Invoice Failed.",N),(0,C.of)({type:y.aU.VOID})))))))),this.openNewChannel=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.SAVE_NEW_CHANNEL_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.OPEN_CHANNEL})),this.store.dispatch((0,k.e8)({payload:{action:"SaveNewChannel",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.CHANNELS_API,{node_pubkey:z.payload.selectedPeerPubkey,local_funding_amount:z.payload.fundingAmount,private:z.payload.private,trans_type:z.payload.transType,trans_type_value:z.payload.transTypeValue,spend_unconfirmed:z.payload.spendUnconfirmed,commitment_type:z.payload.commitmentType}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,k.e8)({payload:{action:"SaveNewChannel",status:y.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:y.MZ.OPEN_CHANNEL})),this.store.dispatch((0,k.DY)()),this.store.dispatch((0,k.$Q)()),this.store.dispatch((0,k.H2)({payload:{uiMessage:y.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:y.QP.FETCH_PENDING_CHANNELS_LND})),(0,m.W)(N=>(this.handleErrorWithoutAlert("SaveNewChannel",y.MZ.OPEN_CHANNEL,"Opening Channel Failed.",N),(0,C.of)({type:y.aU.VOID})))))))),this.updateChannel=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.UPDATE_CHANNEL_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+y.rl.CHANNELS_API+"/chanPolicy",{baseFeeMsat:z.payload.baseFeeMsat,feeRate:z.payload.feeRate,timeLockDelta:z.payload.timeLockDelta,max_htlc_msat:z.payload.maxHtlcMsat,min_htlc_msat:z.payload.minHtlcMsat,chanPoint:z.payload.chanPoint}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,T.y0)({payload:y.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,T.UI)("all"===z.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:y.QP.FETCH_CHANNELS_LND})),(0,m.W)(N=>(this.handleErrorWithAlert("UpdateChannels",y.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+y.rl.CHANNELS_API+"/chanPolicy",N),(0,C.of)({type:y.aU.VOID})))))))),this.closeChannel=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.CLOSE_CHANNEL_LND),(0,S.Z)(z=>{this.store.dispatch((0,T.mt)({payload:z.payload.forcibly?y.MZ.FORCE_CLOSE_CHANNEL:y.MZ.CLOSE_CHANNEL}));let N=this.CHILD_API_URL+y.rl.CHANNELS_API+"/"+z.payload.channelPoint+"?force="+z.payload.forcibly;return z.payload.targetConf&&(N=N+"&target_conf="+z.payload.targetConf),z.payload.satPerByte&&(N=N+"&sat_per_byte="+z.payload.satPerByte),this.httpClient.delete(N).pipe((0,x.T)(ne=>(this.logger.info(ne),this.store.dispatch((0,T.y0)({payload:z.payload.forcibly?y.MZ.FORCE_CLOSE_CHANNEL:y.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,k.$Q)()),this.store.dispatch((0,k.ar)()),this.store.dispatch((0,k.H2)({payload:{uiMessage:y.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:ne.message}})),{type:y.aU.VOID})),(0,m.W)(ne=>(this.handleErrorWithAlert("CloseChannel",z.payload.forcibly?y.MZ.FORCE_CLOSE_CHANNEL:y.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+y.rl.CHANNELS_API+"/"+z.payload.channelPoint+"?force="+z.payload.forcibly,ne),(0,C.of)({type:y.aU.VOID}))))}))),this.backupChannels=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.BACKUP_CHANNELS_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:z.payload.uiMessage})),this.store.dispatch((0,k.e8)({payload:{action:"BackupChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/"+z.payload.channelPoint).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,k.e8)({payload:{action:"BackupChannels",status:y.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:z.payload.uiMessage})),this.store.dispatch((0,T.UI)({payload:z.payload.showMessage+" "+N.message})),{type:y.QP.BACKUP_CHANNELS_RES_LND,payload:N.message})),(0,m.W)(N=>(this.handleErrorWithAlert("BackupChannels",z.payload.uiMessage,z.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/"+z.payload.channelPoint,N),(0,C.of)({type:y.aU.VOID})))))))),this.verifyChannel=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.VERIFY_CHANNEL_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,k.e8)({payload:{action:"VerifyChannel",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/verify/"+z.payload.channelPoint,{}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,k.e8)({payload:{action:"VerifyChannel",status:y.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:y.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,T.UI)({payload:N.message})),{type:y.QP.VERIFY_CHANNEL_RES_LND,payload:N.message})),(0,m.W)(N=>(this.handleErrorWithAlert("VerifyChannel",y.MZ.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/verify/"+z.payload.channelPoint,N),(0,C.of)({type:y.aU.VOID})))))))),this.restoreChannels=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.RESTORE_CHANNELS_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,k.e8)({payload:{action:"RestoreChannels",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/restore/"+z.payload.channelPoint,{}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,k.e8)({payload:{action:"RestoreChannels",status:y.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:y.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,T.UI)({payload:N.message})),this.store.dispatch((0,k.t5)({payload:N.list})),{type:y.QP.RESTORE_CHANNELS_RES_LND,payload:N.message})),(0,m.W)(N=>(this.handleErrorWithAlert("RestoreChannels",y.MZ.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/restore/"+z.payload.channelPoint,N),(0,C.of)({type:y.aU.VOID})))))))),this.fetchFees=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_FEES_LND),(0,S.Z)(()=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchFees",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.FEES_API))),(0,x.T)(z=>(this.logger.info(z),this.store.dispatch((0,k.e8)({payload:{action:"FetchFees",status:y.wn.COMPLETED}})),z.forwarding_events_history&&(this.store.dispatch((0,k.kv)({payload:z.forwarding_events_history})),delete z.forwarding_events_history),{type:y.QP.SET_FEES_LND,payload:z||{}})),(0,m.W)(z=>(this.handleErrorWithoutAlert("FetchFees",y.MZ.NO_SPINNER,"Fetching Fees Failed.",z),(0,C.of)({type:y.aU.VOID}))))),this.balanceBlockchainFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_BLOCKCHAIN_BALANCE_LND),(0,S.Z)(()=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchBalance",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.BALANCE_API))),(0,x.T)(z=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchBalance",status:y.wn.COMPLETED}})),this.logger.info(z),{type:y.QP.SET_BLOCKCHAIN_BALANCE_LND,payload:z||{total_balance:""}})),(0,m.W)(z=>(this.handleErrorWithoutAlert("FetchBalance",y.MZ.NO_SPINNER,"Fetching Blockchain Balance Failed.",z),(0,C.of)({type:y.aU.VOID}))))),this.networkInfoFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_NETWORK_LND),(0,S.Z)(()=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchNetwork",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.NETWORK_API+"/info"))),(0,x.T)(z=>(this.logger.info(z),this.store.dispatch((0,k.e8)({payload:{action:"FetchNetwork",status:y.wn.COMPLETED}})),{type:y.QP.SET_NETWORK_LND,payload:z||{}})),(0,m.W)(z=>(this.handleErrorWithoutAlert("FetchNetwork",y.MZ.NO_SPINNER,"Fetching Network Failed.",z),(0,C.of)({type:y.aU.VOID}))))),this.channelsFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_CHANNELS_LND),(0,S.Z)(()=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_API).pipe((0,x.T)(z=>(this.logger.info(z),this.store.dispatch((0,k.e8)({payload:{action:"FetchChannels",status:y.wn.COMPLETED}})),{type:y.QP.SET_CHANNELS_LND,payload:z.channels||[]})),(0,m.W)(z=>(this.handleErrorWithoutAlert("FetchChannels",y.MZ.NO_SPINNER,"Fetching Channels Failed.",z),(0,C.of)({type:y.aU.VOID})))))))),this.channelsPendingFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_PENDING_CHANNELS_LND),(0,S.Z)(()=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchPendingChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_API+"/pending").pipe((0,x.T)(z=>{this.logger.info(z),this.store.dispatch((0,k.e8)({payload:{action:"FetchPendingChannels",status:y.wn.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 z&&(N.total_limbo_balance=z.total_limbo_balance,z.pending_closing_channels&&(N.closing.num_channels=z.pending_closing_channels.length,N.total_channels=N.total_channels+z.pending_closing_channels.length,z.pending_closing_channels.forEach(ne=>{N.closing.limbo_balance=+N.closing.limbo_balance+(ne.channel.local_balance?+ne.channel.local_balance:0)})),z.pending_force_closing_channels&&(N.force_closing.num_channels=z.pending_force_closing_channels.length,N.total_channels=N.total_channels+z.pending_force_closing_channels.length,z.pending_force_closing_channels.forEach(ne=>{N.force_closing.limbo_balance=+N.force_closing.limbo_balance+(ne.channel.local_balance?+ne.channel.local_balance:0)})),z.pending_open_channels&&(N.open.num_channels=z.pending_open_channels.length,N.total_channels=N.total_channels+z.pending_open_channels.length,z.pending_open_channels.forEach(ne=>{N.open.limbo_balance=+N.open.limbo_balance+(ne.channel.local_balance?+ne.channel.local_balance:0)})),z.waiting_close_channels&&(N.waiting_close.num_channels=z.waiting_close_channels.length,N.total_channels=N.total_channels+z.waiting_close_channels.length,z.waiting_close_channels.forEach(ne=>{N.waiting_close.limbo_balance=+N.waiting_close.limbo_balance+(ne.channel.local_balance?+ne.channel.local_balance:0)}))),{type:y.QP.SET_PENDING_CHANNELS_LND,payload:z?{pendingChannels:z,pendingChannelsSummary:N}:{pendingChannels:{},pendingChannelsSummary:N}}}),(0,m.W)(z=>(this.handleErrorWithoutAlert("FetchPendingChannels",y.MZ.NO_SPINNER,"Fetching Pending Channels Failed.",z),(0,C.of)({type:y.aU.VOID})))))))),this.channelsClosedFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_CLOSED_CHANNELS_LND),(0,S.Z)(()=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchClosedChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_API+"/closed").pipe((0,x.T)(z=>(this.logger.info(z),this.store.dispatch((0,k.e8)({payload:{action:"FetchClosedChannels",status:y.wn.COMPLETED}})),{type:y.QP.SET_CLOSED_CHANNELS_LND,payload:z.channels||[]})),(0,m.W)(z=>(this.handleErrorWithoutAlert("FetchClosedChannels",y.MZ.NO_SPINNER,"Fetching Closed Channels Failed.",z),(0,C.of)({type:y.aU.VOID})))))))),this.invoicesFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_INVOICES_LND),(0,S.Z)(z=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchInvoices",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.INVOICES_API+"?num_max_invoices="+(z.payload.num_max_invoices?z.payload.num_max_invoices:100)+"&index_offset="+(z.payload.index_offset?z.payload.index_offset:0)+"&reversed="+(!!z.payload.reversed&&z.payload.reversed)).pipe((0,x.T)(at=>(this.logger.info(at),this.store.dispatch((0,k.e8)({payload:{action:"FetchInvoices",status:y.wn.COMPLETED}})),z.payload.reversed&&!z.payload.index_offset&&(at.total_invoices=+(at.last_index_offset||0)),{type:y.QP.SET_INVOICES_LND,payload:at})),(0,m.W)(at=>(this.handleErrorWithoutAlert("FetchInvoices",y.MZ.NO_SPINNER,"Fetching Invoices Failed.",at),(0,C.of)({type:y.aU.VOID})))))))),this.transactionsFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_TRANSACTIONS_LND),(0,S.Z)(()=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchTransactions",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.TRANSACTIONS_API))),(0,x.T)(z=>(this.logger.info(z),this.store.dispatch((0,k.e8)({payload:{action:"FetchTransactions",status:y.wn.COMPLETED}})),{type:y.QP.SET_TRANSACTIONS_LND,payload:z||[]})),(0,m.W)(z=>(this.handleErrorWithoutAlert("FetchTransactions",y.MZ.NO_SPINNER,"Fetching Transactions Failed.",z),(0,C.of)({type:y.aU.VOID}))))),this.utxosFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_UTXOS_LND),(0,R.E)(this.store.select(F.pI)),(0,S.Z)(([z,N])=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchUTXOs",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.WALLET_API+"/getUTXOs?max_confs="+(N&&N.block_height?N.block_height:1e9)))),(0,x.T)(z=>(this.logger.info(z),this.store.dispatch((0,k.e8)({payload:{action:"FetchUTXOs",status:y.wn.COMPLETED}})),{type:y.QP.SET_UTXOS_LND,payload:z||[]})),(0,m.W)(z=>(this.handleErrorWithoutAlert("FetchUTXOs",y.MZ.NO_SPINNER,"Fetching UTXOs Failed.",z),(0,C.of)({type:y.aU.VOID}))))),this.paymentsFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_PAYMENTS_LND),(0,S.Z)(z=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchPayments",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PAYMENTS_API+"?max_payments="+(z.payload.max_payments?z.payload.max_payments:100)+"&index_offset="+(z.payload.index_offset?z.payload.index_offset:0)+"&reversed="+(!!z.payload.reversed&&z.payload.reversed)).pipe((0,x.T)(at=>(this.logger.info(at),this.store.dispatch((0,k.e8)({payload:{action:"FetchPayments",status:y.wn.COMPLETED}})),this.commonService.sortByKey(at.payments||[],this.paymentsPageSettings?.sortBy||"creation_date","number",this.paymentsPageSettings?.sortOrder),{type:y.QP.SET_PAYMENTS_LND,payload:at})),(0,m.W)(at=>(this.handleErrorWithoutAlert("FetchPayments",y.MZ.NO_SPINNER,"Fetching Payments Failed.",at),(0,C.of)({type:y.QP.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.SEND_PAYMENT_LND),(0,S.Z)(z=>{this.store.dispatch((0,T.mt)({payload:z.payload.uiMessage})),this.store.dispatch((0,k.e8)({payload:{action:"SendPayment",status:y.wn.INITIATED}}));const N=JSON.parse(JSON.stringify(z.payload));return delete N.uiMessage,delete N.fromDialog,this.httpClient.post(this.CHILD_API_URL+y.rl.PAYMENTS_API+"/send",N).pipe((0,x.T)(ne=>{if(this.logger.info(ne),this.store.dispatch((0,T.y0)({payload:z.payload.uiMessage})),this.store.dispatch((0,k.e8)({payload:{action:"SendPayment",status:y.wn.COMPLETED}})),ne.payment_error)return z.payload.allow_self_payment?(this.store.dispatch((0,k.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),{type:y.QP.SEND_PAYMENT_STATUS_LND,payload:ne}):(z.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed.",ne.payment_error):this.handleErrorWithAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+y.rl.CHANNELS_API+"/transactions",ne.payment_error),{type:y.aU.VOID});if(this.store.dispatch((0,T.y0)({payload:z.payload.uiMessage})),this.store.dispatch((0,k.e8)({payload:{action:"SendPayment",status:y.wn.COMPLETED}})),this.store.dispatch((0,k.$Q)()),this.store.dispatch((0,k.CK)({payload:{max_payments:this.paymentsPageSettings?.recordsPerPage,reversed:!0}})),z.payload.allow_self_payment)this.store.dispatch((0,k.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}));else{let Ie="Payment Sent Successfully.";ne.payment_route&&ne.payment_route.total_fees_msat&&(Ie="Payment sent successfully with the total fee "+ne.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,T.UI)({payload:Ie}))}return{type:y.QP.SEND_PAYMENT_STATUS_LND,payload:ne}}),(0,m.W)(ne=>(this.logger.error("Error: "+JSON.stringify(ne)),z.payload.allow_self_payment?(this.handleErrorWithoutAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed.",ne),this.store.dispatch((0,k.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),(0,C.of)({type:y.QP.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(ne)}})):(z.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed.",ne):this.handleErrorWithAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+y.rl.CHANNELS_API+"/transactions",ne),(0,C.of)({type:y.aU.VOID})))))}))),this.graphNodeFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_GRAPH_NODE_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,k.e8)({payload:{action:"FetchGraphNode",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.NETWORK_API+"/node/"+z.payload.pubkey).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,T.y0)({payload:y.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,k.e8)({payload:{action:"FetchGraphNode",status:y.wn.COMPLETED}})),{type:y.QP.SET_GRAPH_NODE_LND,payload:N&&N.node?{node:N.node}:{node:null}})),(0,m.W)(N=>(this.handleErrorWithoutAlert("FetchGraphNode",y.MZ.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",N),(0,C.of)({type:y.aU.VOID})))))))),this.setGraphNode=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.SET_GRAPH_NODE_LND),(0,x.T)(z=>(this.logger.info(z.payload),z.payload))),{dispatch:!1}),this.getNewAddress=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.GET_NEW_ADDRESS_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+y.rl.NEW_ADDRESS_API+"?type="+z.payload.addressId).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,T.y0)({payload:y.MZ.GENERATE_NEW_ADDRESS})),{type:y.QP.SET_NEW_ADDRESS_LND,payload:N&&N.address?N.address:{}})),(0,m.W)(N=>(this.handleErrorWithAlert("GetNewAddress",y.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+y.rl.NEW_ADDRESS_API+"?type="+z.payload.addressId,N),(0,C.of)({type:y.aU.VOID})))))))),this.setNewAddress=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.SET_NEW_ADDRESS_LND),(0,x.T)(z=>(this.logger.info(z.payload),z.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.SET_CHANNEL_TRANSACTION_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.SEND_FUNDS})),this.store.dispatch((0,k.e8)({payload:{action:"SetChannelTransaction",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.TRANSACTIONS_API,{amount:z.payload.amount,address:z.payload.address,sendAll:z.payload.sendAll,fees:z.payload.fees,blocks:z.payload.blocks}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,k.e8)({payload:{action:"SetChannelTransaction",status:y.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:y.MZ.SEND_FUNDS})),this.store.dispatch((0,k.mh)()),this.store.dispatch((0,k.DY)()),this.store.dispatch((0,k.$Q)()),{type:y.QP.SET_CHANNEL_TRANSACTION_RES_LND,payload:N})),(0,m.W)(N=>(this.handleErrorWithoutAlert("SetChannelTransaction",y.MZ.SEND_FUNDS,"Sending Fund Failed.",N),(0,C.of)({type:y.aU.VOID})))))))),this.fetchForwardingHistory=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.GET_FORWARDING_HISTORY_LND),(0,S.Z)(z=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchForwardingHistory",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.SWITCH_API,{num_max_events:z.payload.num_max_events,index_offset:z.payload.index_offset,end_time:z.payload.end_time,start_time:z.payload.start_time}).pipe((0,x.T)(ne=>(this.logger.info(ne),this.store.dispatch((0,k.e8)({payload:{action:"FetchForwardingHistory",status:y.wn.COMPLETED}})),{type:y.QP.SET_FORWARDING_HISTORY_LND,payload:ne})),(0,m.W)(ne=>(this.handleErrorWithAlert("FetchForwardingHistory",y.MZ.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+y.rl.SWITCH_API,ne),(0,C.of)({type:y.aU.VOID})))))))),this.queryRoutesFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.GET_QUERY_ROUTES_LND),(0,S.Z)(z=>{let N=this.CHILD_API_URL+y.rl.NETWORK_API+"/routes/"+z.payload.destPubkey+"/"+z.payload.amount;return z.payload.outgoingChanId&&(N=N+"?outgoing_chan_id="+z.payload.outgoingChanId),this.httpClient.get(N).pipe((0,x.T)(ne=>(this.logger.info(ne),{type:y.QP.SET_QUERY_ROUTES_LND,payload:ne})),(0,m.W)(ne=>(this.store.dispatch((0,k.Hm)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",y.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+y.rl.NETWORK_API,ne),(0,C.of)({type:y.aU.VOID}))))}))),this.setQueryRoutes=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.SET_QUERY_ROUTES_LND),(0,x.T)(z=>z.payload)),{dispatch:!1}),this.genSeed=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.GEN_SEED_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+y.rl.WALLET_API+"/genseed/"+z.payload).pipe((0,x.T)(N=>(this.logger.info("Generated GenSeed!"),this.logger.info(N),this.store.dispatch((0,T.y0)({payload:y.MZ.GEN_SEED})),{type:y.QP.GEN_SEED_RESPONSE_LND,payload:N.cipher_seed_mnemonic})),(0,m.W)(N=>(this.handleErrorWithAlert("GenSeed",y.MZ.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+y.rl.WALLET_API+"/genseed/"+z.payload,N),(0,C.of)({type:y.aU.VOID})))))))),this.updateSelNodeOptions=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.UPDATE_SELECTED_NODE_OPTIONS),(0,S.Z)(()=>this.httpClient.get(this.CHILD_API_URL+y.rl.WALLET_API+"/updateSelNodeOptions").pipe((0,x.T)(z=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(z),{type:y.aU.VOID})),(0,m.W)(z=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",y.MZ.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",z),(0,C.of)({type:y.aU.VOID}))))))),this.genSeedResponse=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.GEN_SEED_RESPONSE_LND),(0,x.T)(z=>z.payload)),{dispatch:!1}),this.initWalletRes=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.INIT_WALLET_RESPONSE_LND),(0,x.T)(z=>z.payload)),{dispatch:!1}),this.initWallet=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.INIT_WALLET_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+y.rl.WALLET_API+"/wallet/initwallet",{wallet_password:z.payload.pwd,cipher_seed_mnemonic:z.payload.cipher?z.payload.cipher:"",aezeed_passphrase:z.payload.passphrase?z.payload.passphrase:""}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,T.y0)({payload:y.MZ.INITIALIZE_WALLET})),{type:y.QP.INIT_WALLET_RESPONSE_LND,payload:N})),(0,m.W)(N=>(this.handleErrorWithAlert("InitWallet",y.MZ.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+y.rl.WALLET_API+"/initwallet",N),(0,C.of)({type:y.aU.VOID})))))))),this.unlockWallet=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.UNLOCK_WALLET_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+y.rl.WALLET_API+"/wallet/unlockwallet",{wallet_password:z.payload.pwd}).pipe((0,x.T)(N=>(this.logger.info(N),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,T.y0)({payload:y.MZ.UNLOCK_WALLET})),this.store.dispatch((0,T.mt)({payload:y.MZ.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,T.y0)({payload:y.MZ.WAIT_SYNC_NODE})),this.store.dispatch((0,k.Br)({payload:{loadPage:"HOME"}}))},5e3),{type:y.aU.VOID})),(0,m.W)(N=>(this.handleErrorWithAlert("UnlockWallet",y.MZ.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+y.rl.WALLET_API+"/unlockwallet",N),(0,C.of)({type:y.aU.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.PEER_LOOKUP_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.SEARCHING_NODE})),this.store.dispatch((0,k.e8)({payload:{action:"Lookup",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.NETWORK_API+"/node/"+z.payload).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,T.y0)({payload:y.MZ.SEARCHING_NODE})),this.store.dispatch((0,k.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),{type:y.QP.SET_LOOKUP_LND,payload:N})),(0,m.W)(N=>(this.handleErrorWithAlert("Lookup",y.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+y.rl.NETWORK_API+"/node/"+z.payload,N),(0,C.of)({type:y.aU.VOID})))))))),this.channelLookup=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.CHANNEL_LOOKUP_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:z.payload.uiMessage})),this.store.dispatch((0,k.e8)({payload:{action:"Lookup",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.NETWORK_API+"/edge/"+z.payload.channelID).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,T.y0)({payload:z.payload.uiMessage})),this.store.dispatch((0,k.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),{type:y.QP.SET_LOOKUP_LND,payload:N})),(0,m.W)(N=>(this.handleErrorWithAlert("Lookup",z.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+y.rl.NETWORK_API+"/edge/"+z.payload.channelID,N),(0,C.of)({type:y.aU.VOID})))))))),this.invoiceLookup=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.INVOICE_LOOKUP_LND),(0,S.Z)(z=>{this.store.dispatch((0,T.mt)({payload:y.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,k.e8)({payload:{action:"Lookup",status:y.wn.INITIATED}}));let N=this.CHILD_API_URL+y.rl.INVOICES_API+"/lookup";return N=z.payload.paymentAddress&&""!==z.payload.paymentAddress?N+"?payment_addr="+z.payload.paymentAddress:N+"?payment_hash="+z.payload.paymentHash,this.httpClient.get(N).pipe((0,x.T)(ne=>(this.logger.info(ne),this.store.dispatch((0,T.y0)({payload:y.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,k.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),this.store.dispatch((0,k.Dq)({payload:ne})),{type:y.QP.SET_LOOKUP_LND,payload:ne})),(0,m.W)(ne=>(this.store.dispatch((0,k.e8)({payload:{action:"Lookup",status:y.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",y.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",ne),z.payload.openSnackBar&&this.store.dispatch((0,T.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,C.of)({type:y.QP.SET_LOOKUP_LND,payload:{error:ne}}))))}))),this.paymentLookup=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.PAYMENT_LOOKUP_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,k.e8)({payload:{action:"Lookup",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PAYMENTS_API+"/lookup/"+z.payload).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,T.y0)({payload:y.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,k.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),this.store.dispatch((0,k._$)({payload:N})),{type:y.QP.SET_LOOKUP_LND,payload:N})),(0,m.W)(N=>(this.store.dispatch((0,k.e8)({payload:{action:"Lookup",status:y.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",y.MZ.SEARCHING_PAYMENT,"Payment Lookup Failed",N),(0,C.of)({type:y.QP.SET_LOOKUP_LND,payload:{error:N}})))))))),this.setLookup=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.SET_LOOKUP_LND),(0,x.T)(z=>(this.logger.info(z.payload),z.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.RESTORE_CHANNELS_LIST_LND),(0,S.Z)(()=>(this.store.dispatch((0,k.e8)({payload:{action:"RestoreChannelsList",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/restore/list").pipe((0,x.T)(z=>(this.logger.info(z),this.store.dispatch((0,k.e8)({payload:{action:"RestoreChannelsList",status:y.wn.COMPLETED}})),{type:y.QP.SET_RESTORE_CHANNELS_LIST_LND,payload:z||{all_restore_exists:!1,files:[]}})),(0,m.W)(z=>(this.handleErrorWithAlert("RestoreChannelsList",y.MZ.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API,z),(0,C.of)({type:y.aU.VOID})))))))),this.setRestoreChannelList=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.SET_RESTORE_CHANNELS_LIST_LND),(0,x.T)(z=>(this.logger.info(z.payload),z.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,S.Z)(()=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchLightningTransactions",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PAYMENTS_API+"/alltransactions").pipe((0,x.T)(z=>(this.logger.info(z),this.store.dispatch((0,k.e8)({payload:{action:"FetchLightningTransactions",status:y.wn.COMPLETED}})),{type:y.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:z})),(0,m.W)(z=>(this.handleErrorWithoutAlert("FetchLightningTransactions",y.MZ.NO_SPINNER,"Fetching All Lightning Transaction Failed.",z),(0,C.of)({type:y.aU.VOID})))))))),this.pageSettingsFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.FETCH_PAGE_SETTINGS_LND),(0,S.Z)(()=>(this.store.dispatch((0,k.e8)({payload:{action:"FetchPageSettings",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.PAGE_SETTINGS_API).pipe((0,x.T)(z=>(this.logger.info(z),this.store.dispatch((0,k.e8)({payload:{action:"FetchPageSettings",status:y.wn.COMPLETED}})),this.invoicesPageSettings=z&&Object.keys(z).length>0?z.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId):y.ZC.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId),this.paymentsPageSettings=z&&Object.keys(z).length>0?z.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId):y.ZC.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId),{type:y.QP.SET_PAGE_SETTINGS_LND,payload:z||[]})),(0,m.W)(z=>(this.handleErrorWithoutAlert("FetchPageSettings",y.MZ.NO_SPINNER,"Fetching Page Settings Failed.",z),(0,C.of)({type:y.aU.VOID})))))))),this.savePageSettings=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.QP.SAVE_PAGE_SETTINGS_LND),(0,S.Z)(z=>(this.store.dispatch((0,T.mt)({payload:y.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,k.e8)({payload:{action:"SavePageSettings",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.PAGE_SETTINGS_API,z.payload).pipe((0,x.T)(N=>{this.logger.info(N),this.store.dispatch((0,k.e8)({payload:{action:"SavePageSettings",status:y.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:y.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,T.UI)({payload:"Page Layout Updated Successfully!"}));const ne=(N.find(at=>"transactions"===at.pageId)?.tables.find(at=>"invoices"===at.tableId)||y.ZC.find(at=>"transactions"===at.pageId)?.tables.find(at=>"invoices"===at.tableId)).recordsPerPage,Ie=(N.find(at=>"transactions"===at.pageId)?.tables.find(at=>"payments"===at.tableId)||y.ZC.find(at=>"transactions"===at.pageId)?.tables.find(at=>"payments"===at.tableId)).recordsPerPage;return this.invoicesPageSettings&&ne!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=ne,this.store.dispatch((0,k.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))),this.paymentsPageSettings&&Ie!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=Ie),{type:y.QP.SET_PAGE_SETTINGS_LND,payload:N||[]}}),(0,m.W)(N=>(this.handleErrorWithAlert("SavePageSettings",y.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",y.rl.PAGE_SETTINGS_API,N),(0,C.of)({type:y.aU.VOID})))))))),this.store.select(F.ru).pipe((0,l.Q)(this.unSubs[0])).subscribe(z=>{z.FetchInfo.status!==y.wn.COMPLETED&&z.FetchInfo.status!==y.wn.ERROR||z.FetchFees.status!==y.wn.COMPLETED&&z.FetchFees.status!==y.wn.ERROR||z.FetchBalanceBlockchain.status!==y.wn.COMPLETED&&z.FetchBalanceBlockchain.status!==y.wn.ERROR||z.FetchAllChannels.status!==y.wn.COMPLETED&&z.FetchAllChannels.status!==y.wn.ERROR||z.FetchPendingChannels.status!==y.wn.COMPLETED&&z.FetchPendingChannels.status!==y.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,T.y0)({payload:y.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,l.Q)(this.unSubs[1])).subscribe(z=>{this.logger.info("Received new message from the service: "+JSON.stringify(z)),z&&(z.type===y.o1.INVOICE?(this.logger.info(z),z&&z.result&&z.result.payment_request&&this.store.dispatch((0,k.Dq)({payload:z.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(z)))})}initializeRemainingData(n,c){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,T.mt)({payload:y.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,T.Fl)({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"===c||h.includes("?access-key="))&&(h="/lnd/home"),this.router.navigate([h]),this.store.dispatch((0,k.DY)()),this.store.dispatch((0,k.$Q)()),this.store.dispatch((0,k.ar)()),this.store.dispatch((0,k.pL)()),this.store.dispatch((0,k.Gy)()),this.store.dispatch((0,k.tf)()),this.store.dispatch((0,k.yp)()),this.store.dispatch((0,k.CK)({payload:{max_payments:1e5,reversed:!0}})),this.store.dispatch((0,k.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))}handleErrorWithoutAlert(n,c,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,T.Jh)()),this.store.dispatch((0,T.ri)({payload:"Authentication Failed: "+JSON.stringify(h.error)}))):(this.store.dispatch((0,T.y0)({payload:c})),this.store.dispatch((0,k.e8)({payload:{action:n,status:y.wn.ERROR,statusCode:h.status.toString(),message:this.commonService.extractErrorMessage(h,f)}})))}handleErrorWithAlert(n,c,f,h,M){if(this.logger.error(M),401===M.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,T.Jh)()),this.store.dispatch((0,T.ri)({payload:"Authentication Failed: "+JSON.stringify(M.error)}));else{this.store.dispatch((0,T.y0)({payload:c}));const L=this.commonService.extractErrorMessage(M);this.store.dispatch((0,T.xO)({payload:{data:{type:"ERROR",alertTitle:f,message:{code:M.status,message:L,URL:h},component:w.f}}})),this.store.dispatch((0,k.e8)({payload:{action:n,status:y.wn.ERROR,statusCode:M.status.toString(),message:L,URL:h}}))}}ngOnDestroy(){this.unSubs.forEach(n=>{n.next(null),n.complete()})}static{this.\u0275fac=function(c){return new(c||be)(V.KVO(t.En),V.KVO(U.Qq),V.KVO(G.il),V.KVO(Y.gP),V.KVO($.h),V.KVO(Z.Q),V.KVO(ie.bZ),V.KVO(ve.Ix),V.KVO(ae.I),V.KVO(ye.aZ))}}static{this.\u0275prov=V.jDH({token:be,factory:be.\u0275fac})}}return be})()},3536:(Ve,ee,p)=>{"use strict";p.d(ee,{$7:()=>G,$G:()=>C,BM:()=>k,Bw:()=>U,Ie:()=>m,KT:()=>R,Uv:()=>V,ah:()=>$,eO:()=>ve,gN:()=>y,gj:()=>ae,n_:()=>ie,oR:()=>d,os:()=>w,pI:()=>S,rN:()=>T,ru:()=>x,tA:()=>Z});var t=p(9640);const e=(0,t.UX)("lnd"),C=(0,t.Mz)(e,ye=>({pageSettings:ye.pageSettings,apiCallStatus:ye.apisCallStatus.FetchPageSettings})),S=(0,t.Mz)(e,ye=>ye.information),x=((0,t.Mz)(e,ye=>({information:ye.information,apiCallStatus:ye.apisCallStatus.FetchInfo})),(0,t.Mz)(e,ye=>ye.apisCallStatus)),m=(0,t.Mz)(e,ye=>({forwardingHistory:ye.forwardingHistory,apiCallStatus:ye.apisCallStatus.FetchForwardingHistory})),R=(0,t.Mz)(e,ye=>({listPayments:ye.listPayments,apiCallStatus:ye.apisCallStatus.FetchPayments})),d=(0,t.Mz)(e,ye=>({fees:ye.fees,apiCallStatus:ye.apisCallStatus.FetchFees})),w=(0,t.Mz)(e,ye=>({peers:ye.peers,apiCallStatus:ye.apisCallStatus.FetchPeers})),y=(0,t.Mz)(e,ye=>({transactions:ye.transactions,apiCallStatus:ye.apisCallStatus.FetchTransactions})),T=(0,t.Mz)(e,ye=>({listInvoices:ye.listInvoices,apiCallStatus:ye.apisCallStatus.FetchInvoices})),k=(0,t.Mz)(e,ye=>({channels:ye.channels,channelsSummary:ye.channelsSummary,lightningBalance:ye.lightningBalance,apiCallStatus:ye.apisCallStatus.FetchAllChannels})),V=((0,t.Mz)(e,ye=>({channelsSummary:ye.channelsSummary,pendingChannels:ye.pendingChannels,closedChannels:ye.closedChannels,apiCallStatus:ye.apisCallStatus.FetchAllChannels})),(0,t.Mz)(e,ye=>({pendingChannels:ye.pendingChannels,pendingChannelsSummary:ye.pendingChannelsSummary,apiCallStatus:ye.apisCallStatus.FetchPendingChannels}))),U=(0,t.Mz)(e,ye=>({closedChannels:ye.closedChannels,apiCallStatus:ye.apisCallStatus.FetchClosedChannels})),G=(0,t.Mz)(e,ye=>({blockchainBalance:ye.blockchainBalance,apiCallStatus:ye.apisCallStatus.FetchBalanceBlockchain})),$=((0,t.Mz)(e,ye=>({lightningBalance:ye.lightningBalance,apiCallStatus:ye.apisCallStatus.FetchAllChannels})),(0,t.Mz)(e,ye=>({utxos:ye.utxos,apiCallStatus:ye.apisCallStatus.FetchUTXOs}))),Z=(0,t.Mz)(e,ye=>({networkInfo:ye.networkInfo,apiCallStatus:ye.apisCallStatus.FetchNetwork})),ie=(0,t.Mz)(e,ye=>({allLightningTransactions:ye.allLightningTransactions,apiCallStatus:ye.apisCallStatus.FetchLightningTransactions})),ve=(0,t.Mz)(e,ye=>({channels:ye.channels,pendingChannels:ye.pendingChannels,closedChannels:ye.closedChannels})),ae=(0,t.Mz)(e,ye=>({information:ye.information,apiCallStatus:ye.apisCallStatus.FetchInfo}))},6391:(Ve,ee,p)=>{"use strict";p.d(ee,{H:()=>Nt});var t=p(5351),e=p(5383),C=p(1413),S=p(6977),l=p(4416),x=p(3536),m=p(4438),R=p(8570),d=p(2571),w=p(5416),y=p(9640),T=p(177),k=p(60),F=p(2920),V=p(6038),U=p(8834),G=p(5596),Y=p(9454),$=p(9213),Z=p(1997),ie=p(9183),ve=p(4823),ae=p(8288),ye=p(9157),ue=p(9587);const be=["scrollContainer"],D=ke=>({"display-none":ke}),n=ke=>({"xs-scroll-y":ke}),c=ke=>({"h-50":ke}),f=()=>[],h=ke=>({"mr-0":ke});function M(ke,Je){if(1&ke&&m.nrm(0,"qr-code",33),2&ke){const Qe=m.XpG();m.Y8G("value",null==Qe.invoice?null:Qe.invoice.payment_request)("size",Qe.qrWidth)("errorCorrectionLevel","L")}}function L(ke,Je){1&ke&&(m.j41(0,"span",34),m.EFF(1,"N/A"),m.k0s())}function O(ke,Je){if(1&ke&&m.nrm(0,"qr-code",33),2&ke){const Qe=m.XpG();m.Y8G("value",null==Qe.invoice?null:Qe.invoice.payment_request)("size",Qe.qrWidth)("errorCorrectionLevel","L")}}function _(ke,Je){1&ke&&(m.j41(0,"span",35),m.EFF(1,"QR Code Not Applicable"),m.k0s())}function r(ke,Je){1&ke&&m.nrm(0,"mat-divider",24),2&ke&&m.Y8G("inset",!0)}function v(ke,Je){1&ke&&(m.qex(0),m.EFF(1," (zero amount) "),m.bVm())}function z(ke,Je){1&ke&&m.nrm(0,"span",41)}function N(ke,Je){if(1&ke&&(m.j41(0,"div",37)(1,"div",38)(2,"span",39),m.EFF(3),m.nI1(4,"number"),m.k0s(),m.DNE(5,z,1,0,"span",40),m.k0s()()),2&ke){const Qe=m.XpG(2);m.R7$(3),m.SpI("",m.bMT(4,2,null==Qe.invoice?null:Qe.invoice.amt_paid_sat)," Sats"),m.R7$(2),m.Y8G("ngForOf",m.lJ4(4,f).constructor(35))}}function ne(ke,Je){if(1&ke&&(m.j41(0,"div"),m.EFF(1),m.nI1(2,"number"),m.k0s()),2&ke){const Qe=m.XpG(2);m.R7$(),m.SpI("",m.bMT(2,1,null==Qe.invoice?null:Qe.invoice.amt_paid_sat)," Sats")}}function Ie(ke,Je){if(1&ke&&(m.qex(0),m.DNE(1,N,6,5,"div",36)(2,ne,3,3,"div",23),m.bVm()),2&ke){const Qe=m.XpG();m.R7$(),m.Y8G("ngIf",Qe.flgInvoicePaid),m.R7$(),m.Y8G("ngIf",!Qe.flgInvoicePaid)}}function at(ke,Je){1&ke&&(m.j41(0,"span"),m.EFF(1,"-"),m.k0s())}function Ye(ke,Je){1&ke&&m.nrm(0,"mat-spinner",43),2&ke&&m.Y8G("diameter",20)}function rt(ke,Je){if(1&ke&&(m.qex(0),m.DNE(1,at,2,0,"span",23)(2,Ye,1,1,"mat-spinner",42),m.bVm()),2&ke){const Qe=m.XpG();m.R7$(),m.Y8G("ngIf","OPEN"!==(null==Qe.invoice?null:Qe.invoice.state)||!Qe.flgVersionCompatible),m.R7$(),m.Y8G("ngIf","OPEN"===(null==Qe.invoice?null:Qe.invoice.state)&&Qe.flgVersionCompatible)}}function re(ke,Je){1&ke&&m.eu8(0)}function te(ke,Je){if(1&ke&&(m.j41(0,"div"),m.DNE(1,re,1,0,"ng-container",44),m.k0s()),2&ke){m.XpG();const Qe=m.sdS(79);m.R7$(),m.Y8G("ngTemplateOutlet",Qe)}}function oe(ke,Je){if(1&ke){const Qe=m.RV6();m.j41(0,"div",45)(1,"button",46),m.bIt("click",function(){m.eBV(Qe);const Ue=m.XpG();return m.Njj(Ue.onScrollDown())}),m.j41(2,"mat-icon",47),m.EFF(3,"arrow_downward"),m.k0s()()()}}function _e(ke,Je){1&ke&&(m.j41(0,"p"),m.EFF(1,"Show Advanced"),m.k0s())}function de(ke,Je){1&ke&&(m.j41(0,"p"),m.EFF(1,"Hide Advanced"),m.k0s())}function pe(ke,Je){if(1&ke){const Qe=m.RV6();m.j41(0,"button",48),m.bIt("copied",function(Ue){m.eBV(Qe);const ht=m.XpG();return m.Njj(ht.onCopyPayment(Ue))}),m.EFF(1),m.k0s()}if(2&ke){const Qe=m.XpG();m.Y8G("payload",null==Qe.invoice?null:Qe.invoice.payment_request),m.R7$(),m.JRh(Qe.screenSize===Qe.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function We(ke,Je){if(1&ke){const Qe=m.RV6();m.j41(0,"button",49),m.bIt("click",function(){m.eBV(Qe);const Ue=m.XpG();return m.Njj(Ue.onClose())}),m.EFF(1,"OK"),m.k0s()}}function se(ke,Je){if(1&ke&&m.nrm(0,"span",64),2&ke){const Qe=m.XpG(4);m.Y8G("ngClass",m.eq3(1,h,Qe.screenSize===Qe.screenSizeEnum.XS))}}function fe(ke,Je){if(1&ke&&m.nrm(0,"span",65),2&ke){const Qe=m.XpG(4);m.Y8G("ngClass",m.eq3(1,h,Qe.screenSize===Qe.screenSizeEnum.XS))}}function he(ke,Je){if(1&ke&&m.nrm(0,"span",66),2&ke){const Qe=m.XpG(4);m.Y8G("ngClass",m.eq3(1,h,Qe.screenSize===Qe.screenSizeEnum.XS))}}function et(ke,Je){if(1&ke&&(m.j41(0,"div",53)(1,"div",58)(2,"span",59),m.DNE(3,se,1,3,"span",60)(4,fe,1,3,"span",61)(5,he,1,3,"span",62),m.EFF(6),m.k0s(),m.j41(7,"span",63),m.EFF(8),m.nI1(9,"number"),m.k0s()(),m.nrm(10,"mat-divider",24),m.k0s()),2&ke){const Qe=Je.$implicit,nt=m.XpG(3);m.R7$(3),m.Y8G("ngIf","SETTLED"===Qe.state),m.R7$(),m.Y8G("ngIf","ACCEPTED"===Qe.state),m.R7$(),m.Y8G("ngIf","CANCELED"===Qe.state),m.R7$(),m.SpI(" ",Qe.chan_id," "),m.R7$(2),m.JRh(m.i5U(9,6,+Qe.amt_msat/1e3||0,nt.getDecimalFormat(Qe))),m.R7$(2),m.Y8G("inset",!0)}}function Ke(ke,Je){if(1&ke){const Qe=m.RV6();m.j41(0,"div",19)(1,"mat-expansion-panel",51),m.bIt("opened",function(){m.eBV(Qe);const Ue=m.XpG(2);return m.Njj(Ue.flgOpened=!0)})("closed",function(){m.eBV(Qe);const Ue=m.XpG(2);return m.Njj(Ue.onExpansionClosed())}),m.j41(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),m.EFF(5,"HTLCs"),m.k0s()()(),m.j41(6,"div",53)(7,"div",54)(8,"span",55),m.EFF(9,"Channel ID"),m.k0s(),m.j41(10,"span",56),m.EFF(11,"Amount (Sats)"),m.k0s()(),m.nrm(12,"mat-divider",24),m.DNE(13,et,11,9,"div",57),m.k0s()()()}if(2&ke){const Qe=m.XpG(2);m.R7$(12),m.Y8G("inset",!0),m.R7$(),m.Y8G("ngForOf",null==Qe.invoice?null:Qe.invoice.htlcs)}}function Ct(ke,Je){1&ke&&m.nrm(0,"mat-divider",24),2&ke&&m.Y8G("inset",!0)}function _t(ke,Je){if(1&ke&&(m.nrm(0,"mat-divider",24),m.j41(1,"div",19)(2,"div",25)(3,"h4",21),m.EFF(4,"Preimage"),m.k0s(),m.j41(5,"span",26),m.EFF(6),m.k0s()()(),m.nrm(7,"mat-divider",24),m.j41(8,"div",19)(9,"div",20)(10,"h4",21),m.EFF(11,"State"),m.k0s(),m.j41(12,"span",26),m.EFF(13),m.k0s()(),m.j41(14,"div",20)(15,"h4",21),m.EFF(16,"Expiry"),m.k0s(),m.j41(17,"span",26),m.EFF(18),m.nI1(19,"date"),m.k0s()()(),m.nrm(20,"mat-divider",24),m.j41(21,"div",19)(22,"div",20)(23,"h4",21),m.EFF(24,"Private Routing Hints"),m.k0s(),m.j41(25,"span",26),m.EFF(26),m.k0s()(),m.j41(27,"div",20)(28,"h4",21),m.EFF(29,"AMP Invoice"),m.k0s(),m.j41(30,"span",26),m.EFF(31),m.k0s()()(),m.nrm(32,"mat-divider",24),m.DNE(33,Ke,14,2,"div",50)(34,Ct,1,1,"mat-divider",17)),2&ke){const Qe=m.XpG();m.Y8G("inset",!0),m.R7$(6),m.JRh((null==Qe.invoice?null:Qe.invoice.r_preimage)||"-"),m.R7$(),m.Y8G("inset",!0),m.R7$(6),m.JRh(null==Qe.invoice?null:Qe.invoice.state),m.R7$(5),m.JRh(m.i5U(19,11,1e3*(+(null==Qe.invoice?null:Qe.invoice.creation_date)+ +(null==Qe.invoice?null:Qe.invoice.expiry)),"dd/MMM/y HH:mm")),m.R7$(2),m.Y8G("inset",!0),m.R7$(6),m.JRh(null!=Qe.invoice&&Qe.invoice.private?"Yes":"No"),m.R7$(5),m.JRh(null!=Qe.invoice&&Qe.invoice.is_amp?"Yes":"No"),m.R7$(),m.Y8G("inset",!0),m.R7$(),m.Y8G("ngIf",(null==Qe.invoice?null:Qe.invoice.htlcs)&&(null==Qe.invoice?null:Qe.invoice.htlcs.length)>0),m.R7$(),m.Y8G("ngIf",(null==Qe.invoice?null:Qe.invoice.htlcs)&&(null==Qe.invoice?null:Qe.invoice.htlcs.length)>0)}}let Nt=(()=>{class ke{set container(Qe){Qe&&(this.scrollContainer=Qe)}constructor(Qe,nt,Ue,ht,tt,wt){this.dialogRef=Qe,this.data=nt,this.logger=Ue,this.commonService=ht,this.snackBar=tt,this.store=wt,this.faReceipt=e.Mf0,this.showAdvanced=!1,this.newlyAdded=!1,this.invoice=null,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.f7,this.flgOpened=!1,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new C.B,new C.B,new C.B,new C.B,new C.B]}ngOnInit(){this.invoice=JSON.parse(JSON.stringify(this.data.invoice)),this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.f7.XS&&(this.qrWidth=220),this.store.select(x.pI).pipe((0,S.Q)(this.unSubs[0])).subscribe(nt=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(nt.version,"0.11.0")});const Qe=JSON.parse(JSON.stringify(this.invoice));this.store.select(x.rN).pipe((0,S.Q)(this.unSubs[1])).subscribe(nt=>{const Ue=this.invoice?.state,tt=(nt.listInvoices.invoices||[]).find(wt=>wt.r_hash===Qe.r_hash)||null;tt&&(this.invoice=tt),Ue!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(nt)})}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(Qe){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+Qe)}getDecimalFormat(Qe){return Qe.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(Qe=>{Qe.next(null),Qe.complete()})}static{this.\u0275fac=function(nt){return new(nt||ke)(m.rXU(t.CP),m.rXU(t.Vh),m.rXU(R.gP),m.rXU(d.h),m.rXU(w.UG),m.rXU(y.il))}}static{this.\u0275cmp=m.VBU({type:ke,selectors:[["rtl-invoice-information"]],viewQuery:function(nt,Ue){if(1&nt&&m.GBs(be,5),2&nt){let ht;m.mGM(ht=m.lsd())&&(Ue.container=ht.first)}},decls:80,vars:49,consts:[["scrollContainer",""],["hideAdvancedText",""],["advancedBlock",""],["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"],["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"],["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"],["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,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"],["fxLayout","row",4,"ngIf"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",1,"flat-expansion-panel",3,"opened","closed"],["fxLayoutAlign","start center","fxFlex","100",1,"font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100",1,"mt-minus-1"],["fxFlex","60",1,"foreground-secondary-text","font-bold-500"],["fxFlex","40",1,"foreground-secondary-text","font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100"],["fxFlex","60",1,"foreground-secondary-text"],["class","dot green","matTooltip","Settled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot yellow","matTooltip","Accepted","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot red","matTooltip","Cancelled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["fxFlex","40",1,"foreground-secondary-text"],["matTooltip","Settled","matTooltipPosition","right",1,"dot","green",3,"ngClass"],["matTooltip","Accepted","matTooltipPosition","right",1,"dot","yellow",3,"ngClass"],["matTooltip","Cancelled","matTooltipPosition","right",1,"dot","red",3,"ngClass"]],template:function(nt,Ue){if(1&nt){const ht=m.RV6();m.j41(0,"div",3)(1,"div",4),m.DNE(2,M,1,3,"qr-code",5)(3,L,2,0,"span",6),m.k0s(),m.j41(4,"div",7)(5,"mat-card-header",8)(6,"div",9),m.nrm(7,"fa-icon",10),m.j41(8,"span",11),m.EFF(9),m.k0s()(),m.j41(10,"button",12),m.bIt("click",function(){return m.eBV(ht),m.Njj(Ue.onClose())}),m.EFF(11,"X"),m.k0s()(),m.j41(12,"mat-card-content",13)(13,"div",14)(14,"div",15),m.DNE(15,O,1,3,"qr-code",5)(16,_,2,0,"span",16),m.k0s(),m.DNE(17,r,1,1,"mat-divider",17),m.j41(18,"div",18,0)(20,"div",19)(21,"div",20)(22,"h4",21),m.EFF(23),m.k0s(),m.j41(24,"span",22),m.EFF(25),m.nI1(26,"number"),m.DNE(27,v,2,0,"ng-container",23),m.k0s()(),m.j41(28,"div",20)(29,"h4",21),m.EFF(30,"Amount Settled"),m.k0s(),m.j41(31,"span",22),m.DNE(32,Ie,3,2,"ng-container",23)(33,rt,3,2,"ng-container",23),m.k0s()()(),m.nrm(34,"mat-divider",24),m.j41(35,"div",19)(36,"div",20)(37,"h4",21),m.EFF(38,"Date Created"),m.k0s(),m.j41(39,"span",22),m.EFF(40),m.nI1(41,"date"),m.k0s()(),m.j41(42,"div",20)(43,"h4",21),m.EFF(44,"Date Settled"),m.k0s(),m.j41(45,"span",22),m.EFF(46),m.nI1(47,"date"),m.k0s()()(),m.nrm(48,"mat-divider",24),m.j41(49,"div",19)(50,"div",25)(51,"h4",21),m.EFF(52,"Memo"),m.k0s(),m.j41(53,"span",22),m.EFF(54),m.k0s()()(),m.nrm(55,"mat-divider",24),m.j41(56,"div",19)(57,"div",25)(58,"h4",21),m.EFF(59,"Payment Request"),m.k0s(),m.j41(60,"span",26),m.EFF(61),m.k0s()()(),m.nrm(62,"mat-divider",24),m.j41(63,"div",19)(64,"div",25)(65,"h4",21),m.EFF(66,"Payment Hash"),m.k0s(),m.j41(67,"span",26),m.EFF(68),m.k0s()()(),m.DNE(69,te,2,1,"div",23),m.k0s()()(),m.DNE(70,oe,4,0,"div",27),m.j41(71,"div",28)(72,"button",29),m.bIt("click",function(){return m.eBV(ht),m.Njj(Ue.onShowAdvanced())}),m.DNE(73,_e,2,0,"p",30)(74,de,2,0,"ng-template",null,1,m.C5r),m.k0s(),m.DNE(76,pe,2,2,"button",31)(77,We,2,0,"button",32),m.k0s()()(),m.DNE(78,_t,35,14,"ng-template",null,2,m.C5r)}if(2&nt){const ht=m.sdS(75);m.R7$(),m.Y8G("fxLayoutAlign",null!=Ue.invoice&&Ue.invoice.payment_request&&""!==(null==Ue.invoice?null:Ue.invoice.payment_request)?"center start":"center center")("ngClass",m.eq3(41,D,Ue.screenSize===Ue.screenSizeEnum.XS||Ue.screenSize===Ue.screenSizeEnum.SM)),m.R7$(),m.Y8G("ngIf",(null==Ue.invoice?null:Ue.invoice.payment_request)&&""!==(null==Ue.invoice?null:Ue.invoice.payment_request)),m.R7$(),m.Y8G("ngIf",!(null!=Ue.invoice&&Ue.invoice.payment_request)||""===(null==Ue.invoice?null:Ue.invoice.payment_request)),m.R7$(4),m.Y8G("icon",Ue.faReceipt),m.R7$(2),m.JRh(Ue.screenSize===Ue.screenSizeEnum.XS?Ue.newlyAdded?"Created":"Invoice":Ue.newlyAdded?"Invoice Created":"Invoice Information"),m.R7$(3),m.Y8G("ngClass",m.eq3(43,n,Ue.screenSize===Ue.screenSizeEnum.XS)),m.R7$(2),m.Y8G("fxLayoutAlign",null!=Ue.invoice&&Ue.invoice.payment_request&&""!==(null==Ue.invoice?null:Ue.invoice.payment_request)?"center start":"center center")("ngClass",m.eq3(45,D,Ue.screenSize!==Ue.screenSizeEnum.XS&&Ue.screenSize!==Ue.screenSizeEnum.SM)),m.R7$(),m.Y8G("ngIf",(null==Ue.invoice?null:Ue.invoice.payment_request)&&""!==(null==Ue.invoice?null:Ue.invoice.payment_request)),m.R7$(),m.Y8G("ngIf",!(null!=Ue.invoice&&Ue.invoice.payment_request)||""===(null==Ue.invoice?null:Ue.invoice.payment_request)),m.R7$(),m.Y8G("ngIf",Ue.screenSize===Ue.screenSizeEnum.XS||Ue.screenSize===Ue.screenSizeEnum.SM),m.R7$(),m.Y8G("ngClass",m.eq3(47,c,(null==Ue.invoice?null:Ue.invoice.htlcs)&&(null==Ue.invoice?null:Ue.invoice.htlcs.length)>0&&Ue.showAdvanced)),m.R7$(5),m.JRh(Ue.screenSize===Ue.screenSizeEnum.XS?"Amount":"Amount Requested"),m.R7$(2),m.SpI("",m.bMT(26,33,(null==Ue.invoice?null:Ue.invoice.value)||0)," Sats"),m.R7$(2),m.Y8G("ngIf",!(null!=Ue.invoice&&Ue.invoice.value)||"0"===(null==Ue.invoice?null:Ue.invoice.value)),m.R7$(5),m.Y8G("ngIf",(null==Ue.invoice?null:Ue.invoice.amt_paid_sat)&&"OPEN"!==(null==Ue.invoice?null:Ue.invoice.state)),m.R7$(),m.Y8G("ngIf",!(null!=Ue.invoice&&Ue.invoice.amt_paid_sat)||"0"===(null==Ue.invoice?null:Ue.invoice.amt_paid_sat)),m.R7$(),m.Y8G("inset",!0),m.R7$(6),m.JRh(m.i5U(41,35,1e3*(null==Ue.invoice?null:Ue.invoice.creation_date),"dd/MMM/y HH:mm")),m.R7$(6),m.JRh(0!=+(null==Ue.invoice?null:Ue.invoice.settle_date)?m.i5U(47,38,1e3*+(null==Ue.invoice?null:Ue.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),m.R7$(2),m.Y8G("inset",!0),m.R7$(6),m.JRh(null==Ue.invoice?null:Ue.invoice.memo),m.R7$(),m.Y8G("inset",!0),m.R7$(6),m.JRh((null==Ue.invoice?null:Ue.invoice.payment_request)||"N/A"),m.R7$(),m.Y8G("inset",!0),m.R7$(6),m.JRh((null==Ue.invoice?null:Ue.invoice.r_hash)||""),m.R7$(),m.Y8G("ngIf",Ue.showAdvanced),m.R7$(),m.Y8G("ngIf",(null==Ue.invoice?null:Ue.invoice.htlcs)&&(null==Ue.invoice?null:Ue.invoice.htlcs.length)>0&&Ue.showAdvanced&&Ue.flgOpened),m.R7$(3),m.Y8G("ngIf",!Ue.showAdvanced)("ngIfElse",ht),m.R7$(3),m.Y8G("ngIf",(null==Ue.invoice?null:Ue.invoice.payment_request)&&""!==(null==Ue.invoice?null:Ue.invoice.payment_request)),m.R7$(),m.Y8G("ngIf",!(null!=Ue.invoice&&Ue.invoice.payment_request)||""===(null==Ue.invoice?null:Ue.invoice.payment_request))}},dependencies:[T.YU,T.Sq,T.bT,T.T3,k.aY,F.DJ,F.sA,F.UI,V.PW,U.$z,U.$0,G.m2,G.MM,Y.GK,Y.Z2,Y.WN,$.An,Z.q,ie.LG,ve.oV,ae.Um,ye.U,ue.N,T.QX,T.vh]})}}return ke})()},1001:(Ve,ee,p)=>{"use strict";p.d(ee,{C:()=>e,q:()=>C});var t=p(9969);const e=[(0,t.hZ)("opacityAnimation",[(0,t.kY)(":enter",[(0,t.iF)({opacity:0}),(0,t.i0)("1000ms ease-in",(0,t.iF)({opacity:1}))]),(0,t.kY)(":leave",[(0,t.i0)("0ms",(0,t.iF)({opacity:0}))])])],C=[(0,t.hZ)("fadeIn",[(0,t.kY)("void => *",[]),(0,t.kY)("* => void",[]),(0,t.kY)("* => *",[(0,t.i0)(800,(0,t.i7)([(0,t.iF)({opacity:0,transform:"translateY(100%)"}),(0,t.iF)({opacity:1,transform:"translateY(0%)"})]))])])]},9881:(Ve,ee,p)=>{"use strict";p.d(ee,{E:()=>e});var t=p(9969);const e=(0,t.hZ)("routeAnimation",[(0,t.kY)("* => *",[(0,t.P)(":enter, :leave",(0,t.iF)({position:"fixed",width:"100%"}),{optional:!0}),(0,t.Os)([(0,t.P)(":enter",[(0,t.iF)({transform:"translateX(100%)"}),(0,t.i0)("1000ms ease-in-out",(0,t.iF)({transform:"translateX(0%)"}))],{optional:!0}),(0,t.P)(":leave",[(0,t.iF)({transform:"translateX(0%)"}),(0,t.i0)("1000ms ease-in-out",(0,t.iF)({transform:"translateX(-100%)"}))],{optional:!0})])])])},6949:(Ve,ee,p)=>{"use strict";p.d(ee,{k:()=>e});var t=p(9969);const e=[(0,t.hZ)("sliderAnimation",[(0,t.wk)("*",(0,t.iF)({transform:"translateX(0)"})),(0,t.kY)("void => backward",[(0,t.iF)({transform:"translateX(-100%"}),(0,t.i0)("800ms")]),(0,t.kY)("backward => void",[(0,t.i0)("0ms",(0,t.iF)({transform:"translateX(100%)"}))]),(0,t.kY)("void => forward",[(0,t.iF)({transform:"translateX(100%"}),(0,t.i0)("800ms")]),(0,t.kY)("forward => void",[(0,t.i0)("0ms",(0,t.iF)({transform:"translateX(-100%)"}))])])]},2462:(Ve,ee,p)=>{"use strict";p.d(ee,{f:()=>y});var t=p(5351),e=p(4438),C=p(8570),S=p(177),l=p(2920),x=p(8834),m=p(5596),R=p(1997),d=p(9587);function w(T,k){if(1&T&&(e.j41(0,"p",14),e.EFF(1),e.k0s()),2&T){const F=e.XpG();e.R7$(),e.JRh(F.data.titleMessage)}}let y=(()=>{class T{constructor(F,V,U){this.dialogRef=F,this.data=V,this.logger=U,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{this.\u0275fac=function(V){return new(V||T)(e.rXU(t.CP),e.rXU(t.Vh),e.rXU(C.gP))}}static{this.\u0275cmp=e.VBU({type:T,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(V,U){1&V&&(e.j41(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e.EFF(5),e.k0s()(),e.j41(6,"button",5),e.bIt("click",function(){return U.onClose()}),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",6)(9,"div",7),e.DNE(10,w,2,1,"p",8),e.j41(11,"h4",9),e.EFF(12,"Error Code"),e.k0s(),e.j41(13,"span"),e.EFF(14),e.k0s(),e.nrm(15,"mat-divider",10),e.j41(16,"h4",9),e.EFF(17,"Error Message"),e.k0s(),e.j41(18,"span",11),e.EFF(19),e.k0s(),e.nrm(20,"mat-divider",10),e.j41(21,"h4",9),e.EFF(22,"API URL"),e.k0s(),e.j41(23,"span",11),e.EFF(24),e.k0s(),e.nrm(25,"mat-divider",10),e.j41(26,"div",12)(27,"button",13),e.EFF(28,"OK"),e.k0s()()()()()()),2&V&&(e.R7$(5),e.JRh(U.data.alertTitle||"ERROR"),e.R7$(5),e.Y8G("ngIf",U.data.titleMessage),e.R7$(4),e.JRh(U.data.message.code),e.R7$(5),e.JRh(U.errorMessage),e.R7$(5),e.JRh(U.data.message.URL),e.R7$(3),e.Y8G("mat-dialog-close",!1))},dependencies:[S.bT,l.DJ,l.sA,l.UI,t.tx,x.$z,m.m2,m.MM,R.q,d.N],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}}return T})()},8711:(Ve,ee,p)=>{"use strict";p.d(ee,{D:()=>nn});var t=p(9417),e=p(1413),C=p(6977),S=p(5351),l=p(5383),x=p(1001),m=p(4416),R=p(3536),d=p(4438),w=p(9640),y=p(4104),T=p(177),k=p(8570),F=p(1188),V=p(2571),U=p(2920),G=p(6038),Y=p(8834),$=p(5596),Z=p(9454),ie=p(9213),ve=p(9631),ae=p(6467),ye=p(7575),ue=p(5951),be=p(450),D=p(4823),n=p(6013),c=p(9587),f=p(1997);const h=st=>({"h-5":st});function M(st,ii){1&st&&d.eu8(0)}function L(st,ii){1&st&&d.eu8(0)}function O(st,ii){if(1&st&&(d.j41(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),d.EFF(4),d.nI1(5,"number"),d.k0s()()(),d.DNE(6,L,1,0,"ng-container",2),d.k0s()),2&st){const Se=d.XpG(),Mt=d.sdS(4);d.Y8G("expanded",Se.panelExpanded)("ngClass",d.eq3(7,h,!Se.flgShowPanel)),d.R7$(4),d.Lme("Quote for ",Se.termCaption," amount (",d.bMT(5,5,Se.quote.amount)," Sats)"),d.R7$(2),d.Y8G("ngTemplateOutlet",Mt)}}function _(st,ii){if(1&st&&(d.j41(0,"div",19)(1,"h4",8),d.EFF(2," Prepay Amount (Sats) "),d.j41(3,"mat-icon",20),d.EFF(4,"info_outline"),d.k0s()(),d.j41(5,"span",10),d.EFF(6),d.nI1(7,"number"),d.k0s()()),2&st){const Se=d.XpG(2);d.R7$(6),d.JRh(d.bMT(7,1,null==Se.quote?null:Se.quote.prepay_amt_sat))}}function r(st,ii){1&st&&d.nrm(0,"mat-divider",13)}function v(st,ii){if(1&st&&(d.j41(0,"div",6)(1,"div",21)(2,"h4",8),d.EFF(3," Swap Server Node Pubkey "),d.j41(4,"mat-icon",22),d.EFF(5,"info_outline"),d.k0s()(),d.j41(6,"span",10),d.EFF(7),d.k0s()()()),2&st){const Se=d.XpG(2);d.R7$(7),d.JRh(null==Se.quote?null:Se.quote.swap_payment_dest)}}function z(st,ii){if(1&st&&(d.j41(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),d.EFF(4," Swap Fee (Sats) "),d.j41(5,"mat-icon",9),d.EFF(6,"info_outline"),d.k0s()(),d.j41(7,"span",10),d.EFF(8),d.nI1(9,"number"),d.k0s()(),d.j41(10,"div",7)(11,"h4",8),d.EFF(12),d.j41(13,"mat-icon",11),d.EFF(14,"info_outline"),d.k0s()(),d.j41(15,"span",10),d.EFF(16),d.nI1(17,"number"),d.k0s()(),d.DNE(18,_,8,3,"div",12),d.k0s(),d.nrm(19,"mat-divider",13),d.j41(20,"div",6)(21,"div",14)(22,"h4",8),d.EFF(23," Max Off-chain Swap Routing Fee (Sats) "),d.j41(24,"mat-icon",15),d.EFF(25,"info_outline"),d.k0s()(),d.j41(26,"span",10),d.EFF(27),d.nI1(28,"number"),d.k0s()(),d.j41(29,"div",14)(30,"h4",8),d.EFF(31," Max Off-chain Prepay Routing Fee (Sats) "),d.j41(32,"mat-icon",16),d.EFF(33,"info_outline"),d.k0s()(),d.j41(34,"span",10),d.EFF(35,"36"),d.k0s()()(),d.DNE(36,r,1,0,"mat-divider",17)(37,v,8,1,"div",18),d.k0s()),2&st){const Se=d.XpG();d.R7$(2),d.Y8G("fxFlex",null!=Se.quote&&Se.quote.prepay_amt_sat?"30":"50"),d.R7$(6),d.JRh(d.bMT(9,9,null==Se.quote?null:Se.quote.swap_fee_sat)),d.R7$(2),d.Y8G("fxFlex",null!=Se.quote&&Se.quote.prepay_amt_sat?"35":"50"),d.R7$(2),d.SpI(" ",null!=Se.quote&&Se.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=Se.quote&&Se.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),d.R7$(4),d.JRh(d.bMT(17,11,null!=Se.quote&&Se.quote.htlc_sweep_fee_sat?Se.quote.htlc_sweep_fee_sat:null!=Se.quote&&Se.quote.htlc_publish_fee_sat?Se.quote.htlc_publish_fee_sat:0)),d.R7$(2),d.Y8G("ngIf",null==Se.quote?null:Se.quote.prepay_amt_sat),d.R7$(9),d.JRh(d.bMT(28,13,(null==Se.quote?null:Se.quote.amount)*((null!=Se.quote&&Se.quote.off_chain_swap_routing_fee_percentage?null==Se.quote?null:Se.quote.off_chain_swap_routing_fee_percentage:2)/100))),d.R7$(9),d.Y8G("ngIf",""!==(null==Se.quote?null:Se.quote.swap_payment_dest)),d.R7$(),d.Y8G("ngIf",""!==(null==Se.quote?null:Se.quote.swap_payment_dest))}}let N=(()=>{class st{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}static{this.\u0275fac=function(Mt){return new(Mt||st)}}static{this.\u0275cmp=d.VBU({type:st,selectors:[["rtl-loop-quote"]],inputs:{quote:"quote",termCaption:"termCaption",showPanel:"showPanel",panelExpanded:"panelExpanded"},decls:5,vars:1,consts:[["informationBlock",""],["quoteDetailsBlock",""],[4,"ngTemplateOutlet"],["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(Mt,Pt){if(1&Mt&&d.DNE(0,M,1,0,"ng-container",2)(1,O,7,9,"ng-template",null,0,d.C5r)(3,z,38,15,"ng-template",null,1,d.C5r),2&Mt){const ai=d.sdS(2),Ei=d.sdS(4);d.Y8G("ngTemplateOutlet",Pt.showPanel?ai:Ei)}},dependencies:[T.YU,T.bT,T.T3,U.DJ,U.sA,U.UI,G.PW,Z.GK,Z.Z2,Z.WN,ie.An,f.q,D.oV,T.QX]})}}return st})();function ne(st,ii){1&st&&d.eu8(0)}function Ie(st,ii){if(1&st&&(d.j41(0,"div",3)(1,"span",4),d.EFF(2),d.k0s()()),2&st){const Se=d.XpG();d.R7$(2),d.JRh(null!=Se.loopStatus&&Se.loopStatus.error?null==Se.loopStatus?null:Se.loopStatus.error:"Unknown Error.")}}function at(st,ii){if(1&st&&(d.j41(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),d.EFF(4,"ID"),d.k0s(),d.j41(5,"span",4),d.EFF(6),d.k0s()()(),d.nrm(7,"mat-divider",8),d.j41(8,"div",5)(9,"div",6)(10,"h4",7),d.EFF(11,"HTLC Address"),d.k0s(),d.j41(12,"span",4),d.EFF(13),d.k0s()()()()),2&st){const Se=d.XpG();d.R7$(6),d.JRh(null==Se.loopStatus?null:Se.loopStatus.id_bytes),d.R7$(7),d.JRh(null==Se.loopStatus?null:Se.loopStatus.htlc_address)}}let Ye=(()=>{class st{constructor(){}static{this.\u0275fac=function(Mt){return new(Mt||st)}}static{this.\u0275cmp=d.VBU({type:st,selectors:[["rtl-loop-status"]],inputs:{loopStatus:"loopStatus"},decls:5,vars:1,consts:[["loopFailedBlock",""],["loopSuccessfulBlock",""],[4,"ngTemplateOutlet"],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"]],template:function(Mt,Pt){if(1&Mt&&d.DNE(0,ne,1,0,"ng-container",2)(1,Ie,3,1,"ng-template",null,0,d.C5r)(3,at,14,2,"ng-template",null,1,d.C5r),2&Mt){const ai=d.sdS(2),Ei=d.sdS(4);d.Y8G("ngTemplateOutlet",null!=Pt.loopStatus&&Pt.loopStatus.error?ai:Ei)}},dependencies:[T.T3,U.DJ,U.sA,U.UI,f.q]})}}return st})();var rt=p(6949);const re=(st,ii)=>({"small-svg":st,"large-svg":ii});function te(st,ii){1&st&&d.eu8(0)}function oe(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(Pt){d.eBV(Se);const ai=d.XpG();return d.Njj(ai.onSwipe(Pt))}),d.qSk(),d.j41(1,"svg",7)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d.nrm(8,"circle",12)(9,"path",13),d.k0s(),d.j41(10,"g",14),d.nrm(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.k0s()()()()(),d.joV(),d.j41(26,"div",30)(27,"mat-card-title"),d.EFF(28,"Loop In explained."),d.k0s()(),d.j41(29,"div",31)(30,"mat-card-subtitle",32),d.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.k0s()()()}if(2&st){const Se=d.XpG();d.Y8G("@sliderAnimation",Se.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,re,Se.screenSize===Se.screenSizeEnum.XS,Se.screenSize!==Se.screenSizeEnum.XS))}}function _e(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(Pt){d.eBV(Se);const ai=d.XpG();return d.Njj(ai.onSwipe(Pt))}),d.qSk(),d.j41(1,"svg",33)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",34),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),d.nrm(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.k0s(),d.j41(28,"g",56)(29,"g",57)(30,"g",58),d.nrm(31,"path",59)(32,"rect",60)(33,"polygon",61),d.j41(34,"g",62),d.nrm(35,"path",63),d.k0s(),d.nrm(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.k0s(),d.j41(45,"g",73),d.nrm(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.k0s(),d.nrm(59,"path",87),d.k0s()()()()()(),d.joV(),d.j41(60,"div",30)(61,"mat-card-title"),d.EFF(62,"Step 1: Deciding to Loop In"),d.k0s()(),d.j41(63,"div",31)(64,"mat-card-subtitle",32),d.EFF(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),d.k0s()()()}if(2&st){const Se=d.XpG();d.Y8G("@sliderAnimation",Se.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,re,Se.screenSize===Se.screenSizeEnum.XS,Se.screenSize!==Se.screenSizeEnum.XS))}}function de(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(Pt){d.eBV(Se);const ai=d.XpG();return d.Njj(ai.onSwipe(Pt))}),d.qSk(),d.j41(1,"svg",88)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",89),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),d.nrm(14,"circle",95)(15,"path",96),d.j41(16,"g",97),d.nrm(17,"polygon",98)(18,"polygon",99)(19,"path",100),d.k0s(),d.j41(20,"g",101),d.nrm(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.j41(31,"g",112)(32,"g",113),d.nrm(33,"g",114),d.k0s(),d.nrm(34,"g",115),d.k0s()()(),d.j41(35,"g",116)(36,"g",40),d.nrm(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.k0s(),d.j41(53,"g",56)(54,"g",57)(55,"g",58),d.nrm(56,"path",59)(57,"rect",60)(58,"polygon",61),d.j41(59,"g",122),d.nrm(60,"path",63),d.k0s(),d.nrm(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.k0s(),d.j41(70,"g",73),d.nrm(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.k0s(),d.nrm(84,"path",139),d.k0s()()()(),d.nrm(85,"path",140)(86,"path",141),d.k0s()()()(),d.joV(),d.j41(87,"div",30)(88,"mat-card-title"),d.EFF(89,"Step 2: Send payment out"),d.k0s()(),d.j41(90,"div",31)(91,"mat-card-subtitle",32),d.EFF(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),d.k0s()()()}if(2&st){const Se=d.XpG();d.Y8G("@sliderAnimation",Se.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,re,Se.screenSize===Se.screenSizeEnum.XS,Se.screenSize!==Se.screenSizeEnum.XS))}}function pe(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(Pt){d.eBV(Se);const ai=d.XpG();return d.Njj(ai.onSwipe(Pt))}),d.qSk(),d.j41(1,"svg",142)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),d.nrm(10,"circle",12)(11,"path",147),d.k0s(),d.j41(12,"g",14),d.nrm(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.k0s()(),d.j41(28,"g",149),d.nrm(29,"polygon",150)(30,"polygon",99)(31,"path",151),d.k0s(),d.j41(32,"g",152),d.nrm(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.j41(43,"g",112)(44,"g",113),d.nrm(45,"g",114),d.k0s(),d.nrm(46,"g",115),d.k0s()()(),d.nrm(47,"path",153),d.k0s()()()(),d.joV(),d.j41(48,"div",30)(49,"mat-card-title"),d.EFF(50,"Step 3: Recieve Funds Off-chain"),d.k0s()(),d.j41(51,"div",31)(52,"mat-card-subtitle",32),d.EFF(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),d.k0s()()()}if(2&st){const Se=d.XpG();d.Y8G("@sliderAnimation",Se.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,re,Se.screenSize===Se.screenSizeEnum.XS,Se.screenSize!==Se.screenSizeEnum.XS))}}function We(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(Pt){d.eBV(Se);const ai=d.XpG();return d.Njj(ai.onSwipe(Pt))}),d.qSk(),d.j41(1,"svg",154)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",34),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),d.nrm(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.k0s(),d.j41(28,"g",172),d.nrm(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.k0s(),d.nrm(43,"path",187),d.k0s()(),d.nrm(44,"circle",188),d.k0s()()()(),d.joV(),d.j41(45,"div",30)(46,"mat-card-title"),d.EFF(47,"Done!"),d.k0s()(),d.j41(48,"div",31)(49,"mat-card-subtitle",32),d.EFF(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.k0s()()()}if(2&st){const Se=d.XpG();d.Y8G("@sliderAnimation",Se.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,re,Se.screenSize===Se.screenSizeEnum.XS,Se.screenSize!==Se.screenSizeEnum.XS))}}let se=(()=>{class st{constructor(Se){this.commonService=Se,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.bkB,this.screenSize="",this.screenSizeEnum=m.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Se){2===Se.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Se.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static{this.\u0275fac=function(Mt){return new(Mt||st)(d.rXU(V.h))}}static{this.\u0275cmp=d.VBU({type:st,selectors:[["rtl-loop-in-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],[4,"ngTemplateOutlet"],["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(Mt,Pt){if(1&Mt&&d.DNE(0,te,1,0,"ng-container",5)(1,oe,32,5,"ng-template",null,0,d.C5r)(3,_e,66,5,"ng-template",null,1,d.C5r)(5,de,93,5,"ng-template",null,2,d.C5r)(7,pe,54,5,"ng-template",null,3,d.C5r)(9,We,51,5,"ng-template",null,4,d.C5r),2&Mt){const ai=d.sdS(2),Ei=d.sdS(4),Hi=d.sdS(6),$i=d.sdS(8),hn=d.sdS(10);d.Y8G("ngTemplateOutlet",1===Pt.stepNumber?ai:2===Pt.stepNumber?Ei:3===Pt.stepNumber?Hi:4===Pt.stepNumber?$i:hn)}},dependencies:[T.YU,T.T3,U.DJ,U.sA,U.UI,G.PW,$.Lc,$.dh],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:[rt.k]}})}}return st})();const fe=(st,ii)=>({"small-svg":st,"large-svg":ii});function he(st,ii){1&st&&d.eu8(0)}function et(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(Pt){d.eBV(Se);const ai=d.XpG();return d.Njj(ai.onSwipe(Pt))}),d.qSk(),d.j41(1,"svg",7)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d.nrm(8,"circle",12)(9,"path",13),d.k0s(),d.j41(10,"g",14),d.nrm(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.k0s()()()()(),d.joV(),d.j41(26,"div",30)(27,"mat-card-title"),d.EFF(28,"Loop Out explained."),d.k0s()(),d.j41(29,"div",31)(30,"mat-card-subtitle",32),d.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.k0s()()()}if(2&st){const Se=d.XpG();d.Y8G("@sliderAnimation",Se.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,fe,Se.screenSize===Se.screenSizeEnum.XS,Se.screenSize!==Se.screenSizeEnum.XS))}}function Ke(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(Pt){d.eBV(Se);const ai=d.XpG();return d.Njj(ai.onSwipe(Pt))}),d.qSk(),d.j41(1,"svg",33)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",34),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),d.nrm(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.k0s(),d.j41(28,"g",56),d.nrm(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.k0s(),d.nrm(43,"path",71),d.k0s()(),d.nrm(44,"circle",72),d.k0s()()()(),d.joV(),d.j41(45,"div",30)(46,"mat-card-title"),d.EFF(47,"Step 1: Deciding to Loop Out"),d.k0s()(),d.j41(48,"div",31)(49,"mat-card-subtitle",32),d.EFF(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),d.k0s()()()}if(2&st){const Se=d.XpG();d.Y8G("@sliderAnimation",Se.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,fe,Se.screenSize===Se.screenSizeEnum.XS,Se.screenSize!==Se.screenSizeEnum.XS))}}function Ct(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(Pt){d.eBV(Se);const ai=d.XpG();return d.Njj(ai.onSwipe(Pt))}),d.qSk(),d.j41(1,"svg",73)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",74),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",8)(10,"g",75)(11,"g",76),d.nrm(12,"circle",77)(13,"path",78),d.j41(14,"g",79),d.nrm(15,"polygon",80)(16,"polygon",81)(17,"path",82),d.k0s(),d.j41(18,"g",83),d.nrm(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.j41(29,"g",94)(30,"g",95),d.nrm(31,"g",96),d.k0s(),d.nrm(32,"g",97),d.k0s(),d.nrm(33,"path",98),d.k0s(),d.j41(34,"g",99)(35,"g",41)(36,"g",42),d.nrm(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.k0s(),d.j41(52,"g",56),d.nrm(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.k0s(),d.nrm(67,"path",111),d.k0s()()()()()(),d.joV(),d.j41(68,"div",30)(69,"mat-card-title"),d.EFF(70,"Step 2: Send lightning payment"),d.k0s()(),d.j41(71,"div",31)(72,"mat-card-subtitle",32),d.EFF(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.k0s()()()}if(2&st){const Se=d.XpG();d.Y8G("@sliderAnimation",Se.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,fe,Se.screenSize===Se.screenSizeEnum.XS,Se.screenSize!==Se.screenSizeEnum.XS))}}function _t(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(Pt){d.eBV(Se);const ai=d.XpG();return d.Njj(ai.onSwipe(Pt))}),d.qSk(),d.j41(1,"svg",112)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),d.nrm(9,"circle",12)(10,"path",117),d.k0s(),d.j41(11,"g",14),d.nrm(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.k0s()(),d.j41(27,"g",119),d.nrm(28,"polygon",80)(29,"polygon",120)(30,"path",82),d.k0s(),d.j41(31,"g",121),d.nrm(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.j41(42,"g",94)(43,"g",95),d.nrm(44,"g",96),d.k0s(),d.nrm(45,"g",97),d.k0s(),d.nrm(46,"path",123),d.k0s()()()()(),d.joV(),d.j41(47,"div",30)(48,"mat-card-title"),d.EFF(49,"Step 3: Receive funds back"),d.k0s()(),d.j41(50,"div",31)(51,"mat-card-subtitle",32),d.EFF(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),d.k0s()()()}if(2&st){const Se=d.XpG();d.Y8G("@sliderAnimation",Se.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,fe,Se.screenSize===Se.screenSizeEnum.XS,Se.screenSize!==Se.screenSizeEnum.XS))}}function Nt(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(Pt){d.eBV(Se);const ai=d.XpG();return d.Njj(ai.onSwipe(Pt))}),d.qSk(),d.j41(1,"svg",124)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",34),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),d.nrm(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.k0s(),d.j41(28,"g",142)(29,"g",143)(30,"g",144),d.nrm(31,"path",145)(32,"rect",146)(33,"polygon",147),d.j41(34,"g",148),d.nrm(35,"path",149),d.k0s(),d.nrm(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.k0s(),d.j41(45,"g",159),d.nrm(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.k0s(),d.nrm(59,"path",173),d.k0s()()()()()(),d.joV(),d.j41(60,"div",30)(61,"mat-card-title"),d.EFF(62,"Done!"),d.k0s()(),d.j41(63,"div",31)(64,"mat-card-subtitle",32),d.EFF(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.k0s()()()}if(2&st){const Se=d.XpG();d.Y8G("@sliderAnimation",Se.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,fe,Se.screenSize===Se.screenSizeEnum.XS,Se.screenSize!==Se.screenSizeEnum.XS))}}let ke=(()=>{class st{constructor(Se){this.commonService=Se,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.bkB,this.screenSize="",this.screenSizeEnum=m.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Se){2===Se.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Se.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static{this.\u0275fac=function(Mt){return new(Mt||st)(d.rXU(V.h))}}static{this.\u0275cmp=d.VBU({type:st,selectors:[["rtl-loop-out-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],[4,"ngTemplateOutlet"],["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(Mt,Pt){if(1&Mt&&d.DNE(0,he,1,0,"ng-container",5)(1,et,32,5,"ng-template",null,0,d.C5r)(3,Ke,51,5,"ng-template",null,1,d.C5r)(5,Ct,74,5,"ng-template",null,2,d.C5r)(7,_t,53,5,"ng-template",null,3,d.C5r)(9,Nt,66,5,"ng-template",null,4,d.C5r),2&Mt){const ai=d.sdS(2),Ei=d.sdS(4),Hi=d.sdS(6),$i=d.sdS(8),hn=d.sdS(10);d.Y8G("ngTemplateOutlet",1===Pt.stepNumber?ai:2===Pt.stepNumber?Ei:3===Pt.stepNumber?Hi:4===Pt.stepNumber?$i:hn)}},dependencies:[T.YU,T.T3,U.DJ,U.sA,U.UI,G.PW,$.Lc,$.dh],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:[rt.k]}})}}return st})();const Je=["stepper"],Qe=()=>[1,2,3,4,5],nt=(st,ii)=>({"dot-primary":st,"dot-primary-lighter":ii});function Ue(st,ii){if(1&st&&(d.j41(0,"div",48)(1,"p",49)(2,"strong"),d.EFF(3,"Channel Peer:\xa0"),d.k0s(),d.EFF(4),d.nI1(5,"titlecase"),d.k0s(),d.j41(6,"p",50)(7,"strong"),d.EFF(8,"Channel ID:\xa0"),d.k0s(),d.EFF(9),d.k0s(),d.nrm(10,"p",50),d.k0s()),2&st){const Se=d.XpG(2);d.R7$(4),d.JRh(d.bMT(5,2,Se.channel.remote_alias)),d.R7$(5),d.JRh(Se.channel.chan_id)}}function ht(st,ii){if(1&st&&d.EFF(0),2&st){const Se=d.XpG(2);d.JRh(Se.inputFormLabel)}}function tt(st,ii){1&st&&(d.j41(0,"mat-error"),d.EFF(1,"Amount is required."),d.k0s())}function wt(st,ii){if(1&st&&(d.j41(0,"mat-error"),d.EFF(1),d.nI1(2,"number"),d.k0s()),2&st){const Se=d.XpG(2);d.R7$(),d.SpI("Amount must be greater than or equal to ",d.bMT(2,1,Se.minQuote.amount),".")}}function ut(st,ii){if(1&st&&(d.j41(0,"mat-error"),d.EFF(1),d.nI1(2,"number"),d.k0s()),2&st){const Se=d.XpG(2);d.R7$(),d.SpI("Amount must be less than or equal to ",d.bMT(2,1,Se.maxQuote.amount),".")}}function vt(st,ii){1&st&&(d.j41(0,"mat-error"),d.EFF(1,"Confirmation target is required."),d.k0s())}function Ze(st,ii){1&st&&(d.j41(0,"mat-error"),d.EFF(1,"Confirmation target must be a positive number."),d.k0s())}function jt(st,ii){1&st&&(d.j41(0,"mat-error"),d.EFF(1,"Percentage is required."),d.k0s())}function qe(st,ii){1&st&&(d.j41(0,"mat-error"),d.EFF(1,"Percentage must be a positive number."),d.k0s())}function dt(st,ii){if(1&st&&(d.j41(0,"mat-form-field",50)(1,"mat-label"),d.EFF(2,"Max Off-chain Routing Fee (%)"),d.k0s(),d.nrm(3,"input",51),d.DNE(4,jt,2,0,"mat-error",25)(5,qe,2,0,"mat-error",25),d.k0s()),2&st){const Se=d.XpG(2);d.R7$(3),d.Y8G("step",1),d.R7$(),d.Y8G("ngIf",null==Se.inputFormGroup.controls.routingFeePercent.errors?null:Se.inputFormGroup.controls.routingFeePercent.errors.required),d.R7$(),d.Y8G("ngIf",null==Se.inputFormGroup.controls.routingFeePercent.errors?null:Se.inputFormGroup.controls.routingFeePercent.errors.min)}}function Le(st,ii){1&st&&(d.j41(0,"div",52)(1,"mat-slide-toggle",53),d.EFF(2,"Fast"),d.k0s(),d.j41(3,"mat-icon",54),d.EFF(4,"info_outline"),d.k0s()())}function Vt(st,ii){if(1&st&&d.EFF(0),2&st){const Se=d.XpG(2);d.JRh(Se.quoteFormLabel)}}function Zt(st,ii){1&st&&(d.j41(0,"p",55)(1,"mat-icon",56),d.EFF(2,"close"),d.k0s(),d.EFF(3,"Local balance amount is insufficient for swap."),d.k0s())}function Et(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"button",57),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG(2);return d.Njj(Pt.onValidateAmount())}),d.EFF(1,"Next"),d.k0s()}}function je(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"button",58),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG(2);return d.Njj(Pt.onLoop())}),d.EFF(1),d.k0s()}if(2&st){const Se=d.XpG(2);d.R7$(),d.SpI("Initiate ",Se.loopDirectionCaption,"")}}function me(st,ii){if(1&st&&d.EFF(0),2&st){const Se=d.XpG(3);d.JRh(Se.addressFormLabel)}}function xe(st,ii){1&st&&(d.j41(0,"mat-error"),d.EFF(1,"Address is required."),d.k0s())}function ce(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"mat-step",16)(1,"form",17),d.DNE(2,me,1,1,"ng-template",18),d.j41(3,"div",59)(4,"mat-radio-group",60),d.bIt("change",function(Pt){d.eBV(Se);const ai=d.XpG(2);return d.Njj(ai.onAddressTypeChange(Pt))}),d.j41(5,"mat-radio-button",61),d.EFF(6,"Node Local Address"),d.k0s(),d.j41(7,"mat-radio-button",62),d.EFF(8,"External Address"),d.k0s()(),d.j41(9,"mat-form-field",63)(10,"mat-label"),d.EFF(11,"Address"),d.k0s(),d.nrm(12,"input",64),d.DNE(13,xe,2,0,"mat-error",25),d.k0s()(),d.j41(14,"div",29)(15,"button",65),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG(2);return d.Njj(Pt.onLoop())}),d.EFF(16),d.k0s()()()()}if(2&st){const Se=d.XpG(2);d.Y8G("stepControl",Se.addressFormGroup)("editable",Se.flgEditable),d.R7$(),d.Y8G("formGroup",Se.addressFormGroup),d.R7$(11),d.Y8G("required","external"===Se.addressFormGroup.controls.addressType.value),d.R7$(),d.Y8G("ngIf",null==Se.addressFormGroup.controls.address.errors?null:Se.addressFormGroup.controls.address.errors.required),d.R7$(3),d.SpI("Initiate ",Se.loopDirectionCaption,"")}}function Me(st,ii){if(1&st&&d.EFF(0),2&st){const Se=d.XpG(2);d.SpI("",Se.loopDirectionCaption," Status")}}function Xe(st,ii){if(1&st&&(d.j41(0,"mat-icon",66),d.EFF(1),d.k0s()),2&st){const Se=d.XpG(2);d.R7$(),d.JRh(Se.loopStatus&&null!=Se.loopStatus&&Se.loopStatus.id_bytes?"check":"close")}}function Pe(st,ii){1&st&&d.nrm(0,"div")}function Oe(st,ii){1&st&&d.nrm(0,"mat-progress-bar",67)}function we(st,ii){if(1&st&&(d.j41(0,"h4",68),d.EFF(1),d.k0s()),2&st){const Se=d.XpG(2);d.R7$(),d.JRh(Se.loopStatus&&Se.loopStatus.error?Se.loopDirectionCaption+" failed.":Se.loopStatus&&Se.loopStatus.id_bytes&&Se.channel?Se.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":Se.loopDirectionCaption+" request placed successfully.")}}function De(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"button",69),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG(2);return d.Njj(Pt.goToLoop())}),d.EFF(1,"Check Status"),d.k0s()}}function $e(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"button",70),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG(2);return d.Njj(Pt.onRestart())}),d.EFF(1,"Start Again"),d.k0s()}}function $t(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),d.EFF(5),d.k0s()(),d.j41(6,"div",9)(7,"button",10),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG();return d.Njj(Pt.showInfo())}),d.EFF(8,"?"),d.k0s(),d.j41(9,"button",11),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG();return d.Njj(Pt.onClose())}),d.EFF(10,"X"),d.k0s()()(),d.j41(11,"mat-card-content",12)(12,"div",13),d.DNE(13,Ue,11,4,"div",14),d.j41(14,"mat-vertical-stepper",15,1),d.bIt("selectionChange",function(Pt){d.eBV(Se);const ai=d.XpG();return d.Njj(ai.stepSelectionChanged(Pt))}),d.j41(16,"mat-step",16)(17,"form",17),d.DNE(18,ht,1,1,"ng-template",18),d.j41(19,"div",19),d.nrm(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",20),d.k0s(),d.j41(22,"div",21)(23,"mat-form-field",22)(24,"mat-label"),d.EFF(25,"Amount"),d.k0s(),d.nrm(26,"input",23),d.j41(27,"mat-hint"),d.EFF(28),d.nI1(29,"number"),d.nI1(30,"number"),d.k0s(),d.j41(31,"span",24),d.EFF(32,"Sats"),d.k0s(),d.DNE(33,tt,2,0,"mat-error",25)(34,wt,3,3,"mat-error",25)(35,ut,3,3,"mat-error",25),d.k0s(),d.j41(36,"mat-form-field",22)(37,"mat-label"),d.EFF(38,"Sweep Confirmation Target"),d.k0s(),d.nrm(39,"input",26),d.DNE(40,vt,2,0,"mat-error",25)(41,Ze,2,0,"mat-error",25),d.k0s(),d.DNE(42,dt,6,3,"mat-form-field",27),d.k0s(),d.DNE(43,Le,5,0,"div",28),d.j41(44,"div",29)(45,"button",30),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG();return d.Njj(Pt.onEstimateQuote())}),d.EFF(46,"Estimate Quote"),d.k0s()()()(),d.j41(47,"mat-step",16)(48,"form",17),d.DNE(49,Vt,1,1,"ng-template",18),d.nrm(50,"rtl-loop-quote",31),d.DNE(51,Zt,4,0,"p",32),d.j41(52,"div",29),d.DNE(53,Et,2,0,"button",33)(54,je,2,1,"button",34),d.k0s()()(),d.DNE(55,ce,17,6,"mat-step",35),d.j41(56,"mat-step",36)(57,"form",17),d.DNE(58,Me,1,1,"ng-template",18),d.j41(59,"div",37)(60,"mat-expansion-panel",38)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",39),d.EFF(64),d.DNE(65,Xe,2,1,"mat-icon",40),d.k0s()()(),d.DNE(66,Pe,1,0,"div",41),d.k0s(),d.DNE(67,Oe,1,0,"mat-progress-bar",42),d.k0s(),d.DNE(68,we,2,1,"h4",43),d.j41(69,"div",29),d.DNE(70,De,2,0,"button",44)(71,$e,2,0,"button",45),d.k0s()()()(),d.j41(72,"div",46)(73,"button",47),d.EFF(74,"Close"),d.k0s()()()()()()}if(2&st){const Se=d.XpG(),Mt=d.sdS(2);d.Y8G("@opacityAnimation",void 0),d.R7$(3),d.Y8G("fxFlex",Se.screenSize===Se.screenSizeEnum.XS||Se.screenSize===Se.screenSizeEnum.SM?"83":"91"),d.R7$(2),d.JRh(Se.channel?"Channel "+Se.loopDirectionCaption:Se.loopDirectionCaption),d.R7$(),d.Y8G("fxFlex",Se.screenSize===Se.screenSizeEnum.XS||Se.screenSize===Se.screenSizeEnum.SM?"17":"9"),d.R7$(7),d.Y8G("ngIf",Se.channel),d.R7$(),d.Y8G("linear",!0),d.R7$(2),d.Y8G("stepControl",Se.inputFormGroup)("editable",Se.flgEditable),d.R7$(),d.Y8G("formGroup",Se.inputFormGroup),d.R7$(3),d.Y8G("quote",Se.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),d.R7$(),d.Y8G("quote",Se.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),d.R7$(2),d.Y8G("fxFlex",Se.direction===Se.LoopTypeEnum.LOOP_OUT?"35":"48"),d.R7$(3),d.Y8G("step",1e3),d.R7$(2),d.Lme("Range: ",d.bMT(29,51,Se.minQuote.amount),"-",d.bMT(30,53,Se.maxQuote.amount),""),d.R7$(5),d.Y8G("ngIf",null==Se.inputFormGroup.controls.amount.errors?null:Se.inputFormGroup.controls.amount.errors.required),d.R7$(),d.Y8G("ngIf",null==Se.inputFormGroup.controls.amount.errors?null:Se.inputFormGroup.controls.amount.errors.min),d.R7$(),d.Y8G("ngIf",null==Se.inputFormGroup.controls.amount.errors?null:Se.inputFormGroup.controls.amount.errors.max),d.R7$(),d.Y8G("fxFlex",Se.direction===Se.LoopTypeEnum.LOOP_OUT?"30":"48"),d.R7$(3),d.Y8G("step",1),d.R7$(),d.Y8G("ngIf",null==Se.inputFormGroup.controls.sweepConfTarget.errors?null:Se.inputFormGroup.controls.sweepConfTarget.errors.required),d.R7$(),d.Y8G("ngIf",null==Se.inputFormGroup.controls.sweepConfTarget.errors?null:Se.inputFormGroup.controls.sweepConfTarget.errors.min),d.R7$(),d.Y8G("ngIf",Se.direction===Se.LoopTypeEnum.LOOP_OUT),d.R7$(),d.Y8G("ngIf",Se.direction===Se.LoopTypeEnum.LOOP_OUT),d.R7$(4),d.Y8G("stepControl",Se.quoteFormGroup)("editable",Se.flgEditable),d.R7$(),d.Y8G("formGroup",Se.quoteFormGroup),d.R7$(2),d.Y8G("quote",Se.quote)("showPanel",!1),d.R7$(),d.Y8G("ngIf",Se.inputFormGroup.controls.amount.value>Se.localBalanceToCompare),d.R7$(2),d.Y8G("ngIf",Se.direction===Se.LoopTypeEnum.LOOP_OUT),d.R7$(),d.Y8G("ngIf",Se.direction===Se.LoopTypeEnum.LOOP_IN),d.R7$(),d.Y8G("ngIf",Se.direction===Se.LoopTypeEnum.LOOP_OUT),d.R7$(),d.Y8G("stepControl",Se.statusFormGroup),d.R7$(),d.Y8G("formGroup",Se.statusFormGroup),d.R7$(3),d.Y8G("expanded",!!Se.loopStatus),d.R7$(4),d.JRh(Se.loopStatus?Se.loopStatus.id_bytes?Se.loopDirectionCaption+" request details":Se.loopDirectionCaption+" error details":"Waiting for "+Se.loopDirectionCaption+" request..."),d.R7$(),d.Y8G("ngIf",Se.loopStatus),d.R7$(),d.Y8G("ngIf",!Se.loopStatus)("ngIfElse",Mt),d.R7$(),d.Y8G("ngIf",!Se.loopStatus),d.R7$(),d.Y8G("ngIf",Se.loopStatus),d.R7$(2),d.Y8G("ngIf",Se.loopStatus&&Se.loopStatus.id_bytes&&Se.channel),d.R7$(),d.Y8G("ngIf",Se.loopStatus&&(Se.loopStatus.error||!Se.loopStatus.id_bytes)),d.R7$(2),d.Y8G("mat-dialog-close",!1)}}function Ft(st,ii){if(1&st&&d.nrm(0,"rtl-loop-status",71),2&st){const Se=d.XpG();d.Y8G("loopStatus",Se.loopStatus)}}function Kt(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"rtl-loop-out-info-graphics",87),d.mxI("stepNumberChange",function(Pt){d.eBV(Se);const ai=d.XpG(2);return d.DH7(ai.stepNumber,Pt)||(ai.stepNumber=Pt),d.Njj(Pt)}),d.k0s()}if(2&st){const Se=d.XpG(2);d.Y8G("animationDirection",Se.animationDirection),d.R50("stepNumber",Se.stepNumber)}}function fi(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"rtl-loop-in-info-graphics",87),d.mxI("stepNumberChange",function(Pt){d.eBV(Se);const ai=d.XpG(2);return d.DH7(ai.stepNumber,Pt)||(ai.stepNumber=Pt),d.Njj(Pt)}),d.k0s()}if(2&st){const Se=d.XpG(2);d.Y8G("animationDirection",Se.animationDirection),d.R50("stepNumber",Se.stepNumber)}}function Qt(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"span",88),d.bIt("click",function(){const Pt=d.eBV(Se).$implicit,ai=d.XpG(2);return d.Njj(ai.onStepChanged(Pt))}),d.nrm(1,"p",89),d.k0s()}if(2&st){const Se=ii.$implicit,Mt=d.XpG(2);d.R7$(),d.Y8G("ngClass",d.l_i(1,nt,Mt.stepNumber===Se,Mt.stepNumber!==Se))}}function zt(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"button",90),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG(2);return d.Njj(Pt.onReadMore())}),d.EFF(1,"Read More"),d.k0s()}}function Xi(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"button",91),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG(2);return d.Njj(Pt.onStepChanged(4))}),d.EFF(1,"Back"),d.k0s()}}function ci(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"button",92),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG(2);return Pt.flgShowInfo=!1,d.Njj(Pt.stepNumber=1)}),d.EFF(1,"Close"),d.k0s()}}function ui(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"button",93),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG(2);return Pt.flgShowInfo=!1,d.Njj(Pt.stepNumber=1)}),d.EFF(1,"Close"),d.k0s()}}function bn(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"button",94),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG(2);return d.Njj(Pt.onStepChanged(Pt.stepNumber-1))}),d.EFF(1,"Back"),d.k0s()}}function Qi(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"button",95),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG(2);return d.Njj(Pt.onStepChanged(Pt.stepNumber+1))}),d.EFF(1,"Next"),d.k0s()}}function Li(st,ii){if(1&st){const Se=d.RV6();d.j41(0,"div",72)(1,"div",19)(2,"mat-card-header",73)(3,"div",74),d.nrm(4,"span",8),d.k0s(),d.j41(5,"div",75)(6,"button",11),d.bIt("click",function(){d.eBV(Se);const Pt=d.XpG();return Pt.flgShowInfo=!1,d.Njj(Pt.stepNumber=1)}),d.EFF(7,"X"),d.k0s()()(),d.j41(8,"mat-card-content",76),d.DNE(9,Kt,1,2,"rtl-loop-out-info-graphics",77)(10,fi,1,2,"rtl-loop-in-info-graphics",77),d.k0s(),d.j41(11,"div",78),d.DNE(12,Qt,2,4,"span",79),d.k0s(),d.j41(13,"div",80),d.DNE(14,zt,2,0,"button",81)(15,Xi,2,0,"button",82)(16,ci,2,0,"button",83)(17,ui,2,0,"button",84)(18,bn,2,0,"button",85)(19,Qi,2,0,"button",86),d.k0s()()()}if(2&st){const Se=d.XpG();d.Y8G("@opacityAnimation",void 0),d.R7$(9),d.Y8G("ngIf",Se.direction===Se.LoopTypeEnum.LOOP_OUT),d.R7$(),d.Y8G("ngIf",Se.direction===Se.LoopTypeEnum.LOOP_IN),d.R7$(2),d.Y8G("ngForOf",d.lJ4(10,Qe)),d.R7$(2),d.Y8G("ngIf",5===Se.stepNumber),d.R7$(),d.Y8G("ngIf",5===Se.stepNumber),d.R7$(),d.Y8G("ngIf",5===Se.stepNumber),d.R7$(),d.Y8G("ngIf",Se.stepNumber<5),d.R7$(),d.Y8G("ngIf",Se.stepNumber>1&&Se.stepNumber<5),d.R7$(),d.Y8G("ngIf",Se.stepNumber<5)}}let nn=(()=>{class st{constructor(Se,Mt,Pt,ai,Ei,Hi,$i,hn,Fi){this.dialogRef=Se,this.data=Mt,this.store=Pt,this.loopService=ai,this.formBuilder=Ei,this.decimalPipe=Hi,this.logger=$i,this.router=hn,this.commonService=Fi,this.faInfoCircle=l.iW_,this.LoopTypeEnum=m.C7,this.direction=m.C7.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.f7,this.animationDirection="forward",this.flgEditable=!0,this.localBalanceToCompare=null,this.unSubs=[new e.B,new e.B,new e.B,new e.B,new e.B,new e.B,new e.B]}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.C7.LOOP_OUT,this.loopDirectionCaption=this.direction===m.C7.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[t.k0.required,t.k0.min(this.minQuote.amount||0),t.k0.max(this.maxQuote.amount||0)]],sweepConfTarget:[6,[t.k0.required,t.k0.min(1)]],routingFeePercent:[2,[t.k0.required,t.k0.min(0)]],fast:[!1,[t.k0.required]]}),this.inputFormGroup.setErrors({Invalid:!0}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[t.k0.required]],address:[{value:"",disabled:!0}]}),this.direction===m.C7.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(R.BM).pipe((0,C.Q)(this.unSubs[6])).subscribe(Se=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:Se.lightningBalance&&Se.lightningBalance.local?+Se.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,C.Q)(this.unSubs[4])).subscribe(Se=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===m.C7.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,C.Q)(this.unSubs[5])).subscribe(Se=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(Se){"external"===Se.value?(this.addressFormGroup.controls.address.setValidators([t.k0.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.C7.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===m.C7.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.C7.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,C.Q)(this.unSubs[0])).subscribe({next:Se=>{this.loopStatus=Se,this.loopService.listSwaps(),this.flgEditable=!0},error:Se=>{this.loopStatus={error:Se},this.flgEditable=!0,this.logger.error(Se)}});else{const Se=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),Mt="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",Pt=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,Se,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),Pt,Mt).pipe((0,C.Q)(this.unSubs[1])).subscribe({next:ai=>{this.loopStatus=ai,this.loopService.listSwaps(),this.flgEditable=!0},error:ai=>{this.loopStatus={error:ai},this.flgEditable=!0,this.logger.error(ai)}})}}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 Se=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===m.C7.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,Se).pipe((0,C.Q)(this.unSubs[2])).subscribe(Mt=>{this.quote=Mt,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,Se).pipe((0,C.Q)(this.unSubs[3])).subscribe(Mt=>{this.quote=Mt,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(Se){switch(Se.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.C7.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.C7.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.C7.LOOP_OUT&&1!==Se.selectedIndex&&Se.selectedIndex<Se.previouslySelectedIndex||this.direction===m.C7.LOOP_IN&&Se.selectedIndex<Se.previouslySelectedIndex)&&Se.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.C7.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(Se){this.animationDirection=Se<this.stepNumber?"backward":"forward",this.stepNumber=Se}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(Se=>{Se.next(null),Se.complete()})}static{this.\u0275fac=function(Mt){return new(Mt||st)(d.rXU(S.CP),d.rXU(S.Vh),d.rXU(w.il),d.rXU(y.Q),d.rXU(t.ze),d.rXU(T.QX),d.rXU(k.gP),d.rXU(F.Ix),d.rXU(V.h))}}static{this.\u0275cmp=d.VBU({type:st,selectors:[["rtl-loop-modal"]],viewQuery:function(Mt,Pt){if(1&Mt&&d.GBs(Je,5),2&Mt){let ai;d.mGM(ai=d.lsd())&&(Pt.stepper=ai.first)}},decls:4,vars:2,consts:[["loopStatusBlock",""],["stepper",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["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,"selectionChange","linear"],[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,"stepNumberChange","animationDirection","stepNumber"],["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(Mt,Pt){1&Mt&&d.DNE(0,$t,75,55,"div",2)(1,Ft,1,1,"ng-template",null,0,d.C5r)(3,Li,20,11,"div",3),2&Mt&&(d.Y8G("ngIf",!Pt.flgShowInfo),d.R7$(3),d.Y8G("ngIf",Pt.flgShowInfo))},dependencies:[T.YU,T.Sq,T.bT,t.qT,t.me,t.Q0,t.BC,t.cb,t.YS,t.j4,t.JD,U.DJ,U.sA,U.UI,G.PW,S.tx,Y.$z,$.m2,$.MM,Z.GK,Z.Z2,Z.WN,ie.An,ve.fg,ae.rl,ae.nJ,ae.MV,ae.TL,ae.yw,ye.HM,ue.VT,ue._g,be.sG,D.oV,n.V5,n.Ti,n.M6,c.N,N,Ye,se,ke,T.QX,T.PV],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[x.C]}})}}return st})()},13:(Ve,ee,p)=>{"use strict";p.d(ee,{X:()=>R});var t=p(5383),e=p(4438),C=p(1188),S=p(60),l=p(2920),x=p(8834),m=p(5596);let R=(()=>{class d{constructor(y){this.router=y,this.faTimes=t.GRI}goToHelp(){this.router.navigate(["/help"])}static{this.\u0275fac=function(T){return new(T||d)(e.rXU(C.Ix))}}static{this.\u0275cmp=e.VBU({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(T,k){1&T&&(e.j41(0,"div",0),e.nrm(1,"fa-icon",1),e.j41(2,"span",2),e.EFF(3,"Page Not Found"),e.k0s()(),e.j41(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"div",5)(8,"div",6),e.EFF(9,"This page does not exist!"),e.k0s(),e.j41(10,"span",7)(11,"button",8),e.bIt("click",function(){return k.goToHelp()}),e.EFF(12,"Go To Help"),e.k0s()()()()()()),2&T&&(e.R7$(),e.Y8G("icon",k.faTimes))},dependencies:[S.aY,l.DJ,l.sA,l.UI,x.$z,m.RN,m.m2],encapsulation:2})}}return d})()},9587:(Ve,ee,p)=>{"use strict";p.d(ee,{N:()=>e});var t=p(4438);let e=(()=>{class C{constructor(l){this.el=l}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}static{this.\u0275fac=function(x){return new(x||C)(t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:C,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}})}}return C})()},9157:(Ve,ee,p)=>{"use strict";p.d(ee,{U:()=>e});var t=p(4438);let e=(()=>{class C{constructor(){this.copied=new t.bkB}onClick(l){l.preventDefault(),this.payload&&(navigator.clipboard?this.copyUsingClipboardAPI():this.copyUsingFallbackMethod())}copyUsingFallbackMethod(){const l=document.createElement("textarea");l.value=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{this.\u0275fac=function(x){return new(x||C)}}static{this.\u0275dir=t.FsC({type:C,selectors:[["","rtlClipboard",""]],hostBindings:function(x,m){1&x&&t.bIt("click",function(d){return m.onClick(d)})},inputs:{payload:"payload"},outputs:{copied:"copied"}})}}return C})()},92:(Ve,ee,p)=>{"use strict";p.d(ee,{z:()=>C});var t=p(9417),e=p(4438);let C=(()=>{class S{validate(x){return this.max?t.k0.max(+this.max)(x):null}static{this.\u0275fac=function(m){return new(m||S)}}static{this.\u0275dir=e.FsC({type:S,selectors:[["input","max",""]],inputs:{max:"max"},features:[e.Jv_([{provide:t.cz,useExisting:S,multi:!0}])]})}}return S})()},6114:(Ve,ee,p)=>{"use strict";p.d(ee,{V:()=>C});var t=p(9417),e=p(4438);let C=(()=>{class S{validate(x){return this.min?t.k0.min(+this.min)(x):null}static{this.\u0275fac=function(m){return new(m||S)}}static{this.\u0275dir=e.FsC({type:S,selectors:[["input","min",""]],inputs:{min:"min"},features:[e.Jv_([{provide:t.cz,useExisting:S,multi:!0}])]})}}return S})()},2929:(Ve,ee,p)=>{"use strict";p.d(ee,{Qu:()=>S,VD:()=>l,ZE:()=>C,gZ:()=>e});var t=p(4438);let e=(()=>{class x{transform(R,d){return R?.replace(/^[0]+/g,"")}static{this.\u0275fac=function(d){return new(d||x)}}static{this.\u0275pipe=t.EJ8({name:"removeleadingzeros",type:x,pure:!0})}}return x})(),C=(()=>{class x{transform(R,d){return R?.replace(/(?:^\w|[A-Z]|\b\w)/g,(w,y)=>w.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}static{this.\u0275fac=function(d){return new(d||x)}}static{this.\u0275pipe=t.EJ8({name:"camelcase",type:x,pure:!0})}}return x})(),S=(()=>{class x{transform(R,d,w){return R.replace(/(?:^\w|[A-Z]|\b\w)/g,(y,T)=>" "+y.toUpperCase())}static{this.\u0275fac=function(d){return new(d||x)}}static{this.\u0275pipe=t.EJ8({name:"camelCaseWithSpaces",type:x,pure:!0})}}return x})(),l=(()=>{class x{transform(R,d,w){return R=R?R.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "):"",d&&(R=R.replace(new RegExp(d,"g")," ")),w&&(R=R.replace(new RegExp(w,"g")," ")),R.replace(/(?:^\w|[A-Z]|\b\w)/g,(y,T)=>y.toUpperCase())}static{this.\u0275fac=function(d){return new(d||x)}}static{this.\u0275pipe=t.EJ8({name:"camelcaseWithReplace",type:x,pure:!0})}}return x})()},7186:(Ve,ee,p)=>{"use strict";p.d(ee,{Wz:()=>m,fe:()=>R,jn:()=>x,q_:()=>l});var t=p(4438),e=p(1188),C=p(3202),S=p(6354);function l(){return()=>{const d=(0,t.WQX)(e.Ix),w=(0,t.WQX)(e.nX),y=(0,t.WQX)(C.Q);return!(!y.getItem("token")||w.snapshot.url&&w.snapshot.url.length&&"settings"!==w.snapshot.url[0].path&&"auth"!==w.snapshot.url[0].path&&"true"===y.getItem("defaultPassword")&&(d.navigate(["/settings/auth"]),1))}}function x(){return()=>!!(0,t.WQX)(C.Q).watchSession().pipe((0,S.T)(w=>w.lndUnlocked))}function m(){return()=>!!(0,t.WQX)(C.Q).watchSession().pipe((0,S.T)(w=>w.clnUnlocked))}function R(){return()=>!!(0,t.WQX)(C.Q).watchSession().pipe((0,S.T)(w=>w.eclUnlocked))}},2571:(Ve,ee,p)=>{"use strict";p.d(ee,{h:()=>F});var t=p(4412),e=p(1413),C=p(7673),S=p(8810),l=p(6977),x=p(5558),m=p(9437),R=p(4416),d=p(4438),w=p(1534),y=p(8570),T=p(177),k=p(345);let F=(()=>{class V{constructor(G,Y,$,Z){this.dataService=G,this.logger=Y,this.datePipe=$,this.sanitizer=Z,this.currencyUnits=[],this.CurrencyUnitEnum=R.BQ,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=R.wn.UN_INITIATED,this.screenSize=R.f7.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new t.t(this.containerSize),this.unSubs=[new e.B,new e.B,new e.B]}getScreenSize(){return this.screenSize}setScreenSize(G){this.screenSize=G}getContainerSize(){return this.containerSize}setContainerSize(G,Y){this.containerSize={width:G,height:Y},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(G,Y,$,Z="asc"){return G.sort("number"===$?"desc"===Z?(ie,ve)=>+ie[Y]>+ve[Y]?-1:1:(ie,ve)=>+ie[Y]>+ve[Y]?1:-1:"desc"===Z?(ie,ve)=>ie[Y]>ve[Y]?-1:1:(ie,ve)=>ie[Y]>ve[Y]?1:-1)}sortDescByKey(G,Y){return G.sort(($,Z)=>{const ie=+$[Y],ve=+Z[Y];return ie>ve?-1:ie<ve?1:0})}sortAscByKey(G,Y){return G.sort(($,Z)=>{const ie=+$[Y],ve=+Z[Y];return ie<ve?-1:ie>ve?1:0})}camelCase(G){return G?.replace(/(?:^\w|[A-Z]|\b\w)/g,(Y,$)=>Y.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(G,Y,$){return Y&&$&&""!==Y&&""!==$&&(G=G?.replace(new RegExp(Y,"g"),$)),G.indexOf("!\n")>0||G.indexOf(".\n")>0?G.split("\n")?.reduce((Z,ie)=>Z+ie.charAt(0).toUpperCase()+ie.substring(1).toLowerCase()+"\n",""):G.indexOf(" ")>0?G.split(" ")?.reduce((Z,ie)=>Z+ie.charAt(0).toUpperCase()+ie.substring(1).toLowerCase()+" ",""):G.charAt(0).toUpperCase()+G.substring(1).toLowerCase()}convertCurrency(G,Y,$,Z,ie){const ve=(new Date).valueOf();try{return ie&&Z&&(Y===R.BQ.OTHER||$===R.BQ.OTHER)?this.ratesAPIStatus!==R.wn.INITIATED?this.conversionData.data&&this.conversionData.last_fetched&&ve<this.conversionData.last_fetched+3e5?(0,C.of)(this.convertWithFiat(G,Y,Z)):(this.ratesAPIStatus=R.wn.INITIATED,this.dataService.getFiatRates().pipe((0,l.Q)(this.unSubs[0]),(0,x.n)(ae=>(this.ratesAPIStatus=R.wn.COMPLETED,this.conversionData.data=ae&&"object"==typeof ae?ae:ae&&"string"==typeof ae?JSON.parse(ae):{},this.conversionData.last_fetched=ve,(0,C.of)(this.convertWithFiat(G,Y,Z)))),(0,m.W)(ae=>(this.ratesAPIStatus=R.wn.ERROR,(0,S.$)(()=>"Currency Conversion Error."))))):(0,C.of)(this.conversionData.data&&this.conversionData.last_fetched&&ve<this.conversionData.last_fetched+3e5?this.convertWithFiat(G,Y,Z):this.convertWithoutFiat(G,Y)):(0,C.of)(this.convertWithoutFiat(G,Y))}catch{return(0,S.$)(()=>"Currency Conversion Error.")}}convertWithoutFiat(G,Y){const $={};switch($[R.BQ.SATS]=0,$[R.BQ.BTC]=0,Y){case R.BQ.SATS:$[R.BQ.SATS]=G,$[R.BQ.BTC]=1e-8*G;break;case R.BQ.BTC:$[R.BQ.SATS]=1e8*G,$[R.BQ.BTC]=G}return $}convertWithFiat(G,Y,$){const Z={unit:$,iconType:"FA",symbol:null};if($){const ie=(0,R.Zo)(this.conversionData.data[$].symbol);Z.iconType=ie.iconType,Z.symbol=ie&&"SVG"===ie.iconType&&ie.symbol&&"string"==typeof ie.symbol?this.sanitizer.bypassSecurityTrustHtml(ie.symbol):ie.symbol}switch(Z[R.BQ.SATS]=0,Z[R.BQ.BTC]=0,Z[R.BQ.OTHER]=0,Y){case R.BQ.SATS:Z[R.BQ.SATS]=G,Z[R.BQ.BTC]=1e-8*G,Z[R.BQ.OTHER]=1e-8*G*this.conversionData.data[$].last;break;case R.BQ.BTC:Z[R.BQ.SATS]=1e8*G,Z[R.BQ.BTC]=G,Z[R.BQ.OTHER]=G*this.conversionData.data[$].last;break;case R.BQ.OTHER:Z[R.BQ.SATS]=G/this.conversionData.data[$].last*1e8,Z[R.BQ.BTC]=G/this.conversionData.data[$].last,Z[R.BQ.OTHER]=G}return Z}convertTime(G,Y,$){switch(Y){case R.F7.SECS:switch($){case R.F7.MINS:G/=60;break;case R.F7.HOURS:G/=R.bz;break;case R.F7.DAYS:G/=24*R.bz}break;case R.F7.MINS:switch($){case R.F7.SECS:G*=60;break;case R.F7.HOURS:G/=60;break;case R.F7.DAYS:G/=1440}break;case R.F7.HOURS:switch($){case R.F7.SECS:G*=R.bz;break;case R.F7.MINS:G*=60;break;case R.F7.DAYS:G/=24}break;case R.F7.DAYS:switch($){case R.F7.SECS:G=G*R.bz*24;break;case R.F7.MINS:G=60*G*24;break;case R.F7.HOURS:G*=24}}return G}downloadFile(G,Y,$=".json",Z=".csv"){let ie=new Blob;ie=".json"===$?new Blob(["\ufeff"+this.convertToCSV(G)],{type:"text/csv;charset=utf-8;"}):new Blob([G.toString()],{type:"text/plain;charset=utf-8"});const ve=document.createElement("a"),ae=URL.createObjectURL(ie);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&ve.setAttribute("target","_blank"),ve.setAttribute("href",ae),ve.setAttribute("download",Y+Z),ve.style.visibility="hidden",document.body.appendChild(ve),ve.click(),document.body.removeChild(ve)}convertToCSV(G){const Y=[];let $="",Z="",ie="";return"object"!=typeof G&&(G=JSON.parse(G)),G.forEach((ae,ye)=>{for(const ue in ae)Y.findIndex(be=>be===ue)<0&&Y.push(ue)}),ie=Y.join(",")+"\r\n",G.forEach(ae=>{$="",Y.forEach(ye=>{if(ae.hasOwnProperty(ye))if(Array.isArray(ae[ye]))Z="",ae[ye].forEach((ue,be)=>{Z+="object"==typeof ue?"("+JSON.stringify(ue)?.replace(/\,/g,";")+")":"("+ue+")"}),$+=Z+",";else if("object"==typeof ae[ye])$+=JSON.stringify(ae[ye])?.replace(/\,/g,";")+",";else if(ye.includes("timestamp")||ye.includes("date"))try{switch(ae[ye].toString().length){case 10:$+=this.datePipe.transform(new Date(1e3*ae[ye]),"dd/MMM/y HH:mm")+",";break;case 13:$+=this.datePipe.transform(new Date(ae[ye]),"dd/MMM/y HH:mm")+",";break;default:$+=ae[ye]+","}}catch{$+=ae[ye]+","}else $+=ae[ye]+",";else $+=","}),ie+=$.slice(0,-1)+"\r\n"}),ie}isVersionCompatible(G,Y){if(G){const $=G.match(/v?(?<version>\d+(?:\.\d+)*)/);if($&&$.groups&&$.groups.version){this.logger.info("Current Version: "+$.groups.version),this.logger.info("Checking Compatiblility with Version: "+Y);const Z=$.groups.version.split(".")||[],ie=Y.split(".");return+Z[0]>+ie[0]||+Z[0]==+ie[0]&&+Z[1]>+ie[1]||+Z[0]==+ie[0]&&+Z[1]==+ie[1]&&+Z[2]>=+ie[2]}return this.logger.error("Invalid Version String: "+G),!1}return!1}extractErrorMessage(G,Y="Unknown Error."){const $=this.titleCase(G.error&&G.error.text&&"string"==typeof G.error.text&&G.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":G.error&&G.error.error&&G.error.error.error&&G.error.error.error.error&&G.error.error.error.error.error&&"string"==typeof G.error.error.error.error.error?G.error.error.error.error.error:G.error&&G.error.error&&G.error.error.error&&G.error.error.error.error&&"string"==typeof G.error.error.error.error?G.error.error.error.error:G.error&&G.error.error&&G.error.error.error&&"string"==typeof G.error.error.error?G.error.error.error:G.error&&G.error.error&&"string"==typeof G.error.error?G.error.error:G.error&&"string"==typeof G.error?G.error:G.error&&G.error.error&&G.error.error.error&&G.error.error.error.error&&G.error.error.error.error.message&&"string"==typeof G.error.error.error.error.message?G.error.error.error.error.message:G.error&&G.error.error&&G.error.error.error&&G.error.error.error.message&&"string"==typeof G.error.error.error.message?G.error.error.error.message:G.error&&G.error.error&&G.error.error.message&&"string"==typeof G.error.error.message?G.error.error.message:G.error&&G.error.message&&"string"==typeof G.error.message?G.error.message:G.message&&"string"==typeof G.message?G.message:Y);return this.logger.info("Error Message: "+$),$}extractErrorCode(G,Y=500){const $=G.error&&G.error.error&&G.error.error.message&&G.error.error.message.code?G.error.error.message.code:G.error&&G.error.error&&G.error.error.code?G.error.error.code:G.error&&G.error.code?G.error.code:G.code?G.code:G.status?G.status:Y;return this.logger.info("Error Code: "+$),$}extractErrorNumber(G,Y=500){const $=G.error&&G.error.error&&G.error.error.errno?G.error.error.errno:G.error&&G.error.errno?G.error.errno:G.errno?G.errno:G.status?G.status:Y;return this.logger.info("Error Number: "+$),$}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}static{this.\u0275fac=function(Y){return new(Y||V)(d.KVO(w.u),d.KVO(y.gP),d.KVO(T.vh),d.KVO(k.up))}}static{this.\u0275prov=d.jDH({token:V,factory:V.\u0275fac})}}return V})()},4416:(Ve,ee,p)=>{"use strict";p.d(ee,{A$:()=>be,A0:()=>y,Ah:()=>rt,BQ:()=>f,Bd:()=>N,Bv:()=>ie,C6:()=>dt,C7:()=>z,F7:()=>n,G:()=>Z,H$:()=>d,HW:()=>ue,Hx:()=>v,It:()=>m,Jd:()=>ht,Jr:()=>ae,KR:()=>Ie,Ld:()=>G,MZ:()=>te,NG:()=>x,QP:()=>pe,SY:()=>k,TC:()=>We,TH:()=>fe,U1:()=>D,UN:()=>h,Uq:()=>he,Uu:()=>se,WW:()=>vt,X8:()=>ut,XG:()=>Y,Y0:()=>oe,ZC:()=>tt,Zb:()=>r,Zi:()=>jt,Zo:()=>qe,_1:()=>wt,_U:()=>et,aG:()=>O,aR:()=>_e,aU:()=>de,bz:()=>l,ck:()=>ve,f7:()=>M,iI:()=>_,jG:()=>nt,k:()=>T,md:()=>V,mu:()=>Ue,nv:()=>$,o1:()=>ye,oi:()=>Qe,on:()=>S,q9:()=>ne,rl:()=>w,rs:()=>at,tj:()=>L,ul:()=>Ke,wn:()=>re,xk:()=>Ct,xp:()=>U,xv:()=>R});var t=p(4438),e=p(6695),C=p(5383);function S(Le){const Vt=new e.xX;return Vt.itemsPerPageLabel=Le+" per page:",Vt}const l=3600,x=31536e3,m=24*l*7,R="0.15.6-beta",d=(0,t.naY)()?"http://localhost:3000/rtl/api":"./api",w={AUTHENTICATE_API:d+"/authenticate",CONF_API:d+"/conf",PAGE_SETTINGS_API:d+"/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"},y=["Sats","BTC"],T={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},k=["SECS","MINS","HOURS","DAYS"],V=10,U=[5,10,25,100],G=[{addressId:"0",addressCode:"bech32",addressTp:"Bech32 (P2WKH)",addressDetails:"Pay to witness key hash"},{addressId:"1",addressCode:"p2sh-segwit",addressTp:"P2SH (NP2WKH)",addressDetails:"Pay to nested witness key hash (default)"},{addressId:"4",addressCode:"p2tr",addressTp:"Taproot (P2TR)",addressDetails:"Pay to taproot pubkey"}],Y=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],$=[{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 Amount",placeholder:"Percentage Limit"}],Z=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom"}],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 ve=function(Le){return Le.PAYMENT_RECEIVED="payment-received",Le.PAYMENT_RELAYED="payment-relayed",Le.PAYMENT_SENT="payment-sent",Le.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",Le.PAYMENT_FAILED="payment-failed",Le.CHANNEL_OPENED="channel-opened",Le.CHANNEL_STATE_CHANGED="channel-state-changed",Le.CHANNEL_CLOSED="channel-closed",Le}(ve||{}),ae=function(Le){return Le.CONNECT="connect",Le.DISCONNECT="disconnect",Le.WARNING="warning",Le.INVOICE_PAYMENT="invoice_payment",Le.INVOICE_CREATION="invoice_creation",Le.CHANNEL_OPENED="channel_opened",Le.CHANNEL_STATE_CHANGED="channel_state_changed",Le.SENDPAY_SUCCESS="sendpay_success",Le.SENDPAY_FAILURE="sendpay_failure",Le.COIN_MOVEMENT="coin_movement",Le.BALANCE_SNAPSHOT="balance_snapshot",Le.BLOCK_ADDED="block_added",Le.OPENCHANNEL_PEER_SIGS="openchannel_peer_sigs",Le.CHANNEL_OPEN_FAILED="channel_open_failed",Le}(ae||{}),ye=function(Le){return Le.INVOICE="invoice",Le}(ye||{}),ue=function(Le){return Le.OPERATOR="OPERATOR",Le.MERCHANT="MERCHANT",Le.ALL="ALL",Le}(ue||{}),be=function(Le){return Le.INFORMATION="Information",Le.WARNING="Warning",Le.ERROR="Error",Le.SUCCESS="Success",Le.CONFIRM="Confirm",Le}(be||{}),D=function(Le){return Le.JWT="JWT",Le.PASSWORD="PASSWORD",Le}(D||{}),n=function(Le){return Le.SECS="SECS",Le.MINS="MINS",Le.HOURS="HOURS",Le.DAYS="DAYS",Le}(n||{}),f=function(Le){return Le.SATS="Sats",Le.BTC="BTC",Le.OTHER="OTHER",Le}(f||{}),h=function(Le){return Le.ARRAY="ARRAY",Le.NUMBER="NUMBER",Le.STRING="STRING",Le.BOOLEAN="BOOLEAN",Le.PASSWORD="PASSWORD",Le.DATE="DATE",Le.DATE_TIME="DATE_TIME",Le}(h||{}),M=function(Le){return Le.XS="XS",Le.SM="SM",Le.MD="MD",Le.LG="LG",Le.XL="XL",Le}(M||{});const L={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"}},O={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 _=function(Le){return Le.WIRE_INVALID_ONION_VERSION="Invalid Onion Version",Le.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",Le.WIRE_INVALID_ONION_KEY="Invalid Onion Key",Le.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",Le.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",Le.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",Le.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",Le.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",Le.WIRE_FEE_INSUFFICIENT="Insufficient Fee",Le.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",Le.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",Le.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",Le.WIRE_CHANNEL_DISABLED="Channel Disabled",Le.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",Le.WIRE_INVALID_REALM="Invalid Realm",Le.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",Le.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",Le.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",Le.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",Le.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",Le.WIRE_MPP_TIMEOUT="MPP Timeout",Le.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",Le.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",Le}(_||{}),r=function(Le){return Le.CHANNELD_NORMAL="Active",Le.OPENINGD="Opening",Le.CHANNELD_AWAITING_LOCKIN="Pending Open",Le.CHANNELD_SHUTTING_DOWN="Shutting Down",Le.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",Le.CLOSINGD_COMPLETE="Closed",Le.AWAITING_UNILATERAL="Awaiting Unilateral Close",Le.FUNDING_SPEND_SEEN="Funding Spend Seen",Le.ONCHAIN="Onchain",Le.DUALOPEND_OPEN_INIT="Dual Open Initialized",Le.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",Le}(r||{}),v=function(Le){return Le.INITIATED="Initiated",Le.PREIMAGE_REVEALED="Preimage Revealed",Le.HTLC_PUBLISHED="HTLC Published",Le.SUCCESS="Successful",Le.FAILED="Failed",Le.INVOICE_SETTLED="Invoice Settled",Le}(v||{}),z=function(Le){return Le.LOOP_OUT="LOOP_OUT",Le.LOOP_IN="LOOP_IN",Le}(z||{}),N=function(Le){return Le.SWAP_OUT="SWAP_OUT",Le.SWAP_IN="SWAP_IN",Le}(N||{}),ne=function(Le){return Le["swap.created"]="Swap Created",Le["swap.expired"]="Swap Expired",Le["invoice.set"]="Invoice Set",Le["invoice.paid"]="Invoice Paid",Le["invoice.pending"]="Invoice Pending",Le["invoice.settled"]="Invoice Settled",Le["invoice.failedToPay"]="Invoice Failed To Pay",Le["channel.created"]="Channel Created",Le["transaction.failed"]="Transaction Failed",Le["transaction.mempool"]="Transaction Mempool",Le["transaction.claimed"]="Transaction Claimed",Le["transaction.refunded"]="Transaction Refunded",Le["transaction.confirmed"]="Transaction Confirmed",Le["transaction.lockupFailed"]="Lockup Transaction Failed",Le["swap.refunded"]="Swap Refunded",Le["swap.abandoned"]="Swap Abandoned",Le}(ne||{});const Ie=[{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}],at=["MONTHLY","YEARLY"],rt=["password","changeme","moneyprintergobrrr"];var re=function(Le){return Le.UN_INITIATED="UN_INITIATED",Le.INITIATED="INITIATED",Le.COMPLETED="COMPLETED",Le.ERROR="ERROR",Le}(re||{});const te={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 oe=function(Le){return Le.INVOICE="INVOICE",Le.OFFER="OFFER",Le.KEYSEND="KEYSEND",Le}(oe||{}),_e=function(Le){return Le.FEES="FEES",Le.EVENTS="EVENTS",Le}(_e||{}),de=function(Le){return Le.VOID="VOID",Le.SET_API_URL_ECL="SET_API_URL_ECL",Le.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",Le.RESET_ROOT_STORE="RESET_ROOT_STORE",Le.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",Le.OPEN_SNACK_BAR="OPEN_SNACKBAR",Le.OPEN_SPINNER="OPEN_SPINNER",Le.CLOSE_SPINNER="CLOSE_SPINNER",Le.OPEN_ALERT="OPEN_ALERT",Le.CLOSE_ALERT="CLOSE_ALERT",Le.OPEN_CONFIRMATION="OPEN_CONFIRMATION",Le.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",Le.SHOW_PUBKEY="SHOW_PUBKEY",Le.FETCH_CONFIG="FETCH_CONFIG",Le.SHOW_CONFIG="SHOW_CONFIG",Le.FETCH_STORE="FETCH_STORE",Le.SET_STORE="SET_STORE",Le.FETCH_APPLICATION_SETTINGS="FETCH_APPLICATION_SETTINGS",Le.SET_APPLICATION_SETTINGS="SET_APPLICATION_SETTINGS",Le.SAVE_SETTINGS="SAVE_SETTINGS",Le.SET_SELECTED_NODE="SET_SELECTED_NODE",Le.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",Le.UPDATE_APPLICATION_SETTINGS="UPDATE_APPLICATION_SETTINGS",Le.UPDATE_NODE_SETTINGS="UPDATE_NODE_SETTINGS",Le.SET_SELECTED_NODE_SETTINGS="SET_SELECTED_NODE_SETTINGS",Le.SET_NODE_DATA="SET_NODE_DATA",Le.IS_AUTHORIZED="IS_AUTHORIZED",Le.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",Le.LOGIN="LOGIN",Le.VERIFY_TWO_FA="VERIFY_TWO_FA",Le.LOGOUT="LOGOUT",Le.RESET_PASSWORD="RESET_PASSWORD",Le.RESET_PASSWORD_RES="RESET_PASSWORD_RES",Le.FETCH_FILE="FETCH_FILE",Le.SHOW_FILE="SHOW_FILE",Le}(de||{}),pe=function(Le){return Le.RESET_LND_STORE="RESET_LND_STORE",Le.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",Le.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",Le.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",Le.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",Le.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",Le.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",Le.FETCH_INFO_LND="FETCH_INFO_LND",Le.SET_INFO_LND="SET_INFO_LND",Le.FETCH_PEERS_LND="FETCH_PEERS_LND",Le.SET_PEERS_LND="SET_PEERS_LND",Le.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",Le.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",Le.DETACH_PEER_LND="DETACH_PEER_LND",Le.REMOVE_PEER_LND="REMOVE_PEER_LND",Le.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",Le.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",Le.ADD_INVOICE_LND="ADD_INVOICE_LND",Le.FETCH_FEES_LND="FETCH_FEES_LND",Le.SET_FEES_LND="SET_FEES_LND",Le.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",Le.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",Le.FETCH_NETWORK_LND="FETCH_NETWORK_LND",Le.SET_NETWORK_LND="SET_NETWORK_LND",Le.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",Le.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",Le.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",Le.SET_CHANNELS_LND="SET_CHANNELS_LND",Le.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",Le.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",Le.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",Le.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",Le.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",Le.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",Le.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",Le.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",Le.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",Le.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",Le.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",Le.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",Le.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",Le.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",Le.FETCH_INVOICES_LND="FETCH_INVOICES_LND",Le.SET_INVOICES_LND="SET_INVOICES_LND",Le.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",Le.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",Le.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",Le.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",Le.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",Le.FETCH_UTXOS_LND="FETCH_UTXOS_LND",Le.SET_UTXOS_LND="SET_UTXOS_LND",Le.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",Le.SET_PAYMENTS_LND="SET_PAYMENTS_LND",Le.SEND_PAYMENT_LND="SEND_PAYMENT_LND",Le.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",Le.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",Le.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",Le.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",Le.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",Le.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",Le.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",Le.GEN_SEED_LND="GEN_SEED_LND",Le.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",Le.INIT_WALLET_LND="INIT_WALLET_LND",Le.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",Le.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",Le.PEER_LOOKUP_LND="PEER_LOOKUP_LND",Le.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",Le.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",Le.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",Le.SET_LOOKUP_LND="SET_LOOKUP_LND",Le.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",Le.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",Le.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",Le.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",Le.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",Le.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",Le}(pe||{}),We=function(Le){return Le.RESET_CLN_STORE="RESET_CLN_STORE",Le.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",Le.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",Le.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",Le.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",Le.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",Le.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",Le.SET_INFO_CLN="SET_INFO_CLN",Le.FETCH_FEES_CLN="FETCH_FEES_CLN",Le.SET_FEES_CLN="SET_FEES_CLN",Le.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",Le.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",Le.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",Le.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",Le.FETCH_UTXO_BALANCES_CLN="FETCH_UTXO_BALANCES_CLN",Le.SET_UTXO_BALANCES_CLN="SET_UTXO_BALANCES_CLN",Le.FETCH_PEERS_CLN="FETCH_PEERS_CLN",Le.SET_PEERS_CLN="SET_PEERS_CLN",Le.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",Le.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",Le.ADD_PEER_CLN="ADD_PEER_CLN",Le.DETACH_PEER_CLN="DETACH_PEER_CLN",Le.REMOVE_PEER_CLN="REMOVE_PEER_CLN",Le.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",Le.SET_CHANNELS_CLN="SET_CHANNELS_CLN",Le.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",Le.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",Le.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",Le.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",Le.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",Le.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",Le.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",Le.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",Le.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",Le.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",Le.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",Le.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",Le.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",Le.SET_LOOKUP_CLN="SET_LOOKUP_CLN",Le.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",Le.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",Le.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",Le.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",Le.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",Le.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",Le.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",Le.SET_INVOICES_CLN="SET_INVOICES_CLN",Le.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",Le.ADD_INVOICE_CLN="ADD_INVOICE_CLN",Le.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",Le.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",Le.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",Le.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",Le.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",Le.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",Le.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",Le.SET_OFFERS_CLN="SET_OFFERS_CLN",Le.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",Le.ADD_OFFER_CLN="ADD_OFFER_CLN",Le.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",Le.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",Le.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",Le.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",Le.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",Le.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",Le.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",Le}(We||{}),se=function(Le){return Le.RESET_ECL_STORE="RESET_ECL_STORE",Le.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",Le.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",Le.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",Le.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",Le.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",Le.FETCH_INFO_ECL="FETCH_INFO_ECL",Le.SET_INFO_ECL="SET_INFO_ECL",Le.FETCH_FEES_ECL="FETCH_FEES_ECL",Le.SET_FEES_ECL="SET_FEES_ECL",Le.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",Le.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",Le.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",Le.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",Le.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",Le.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",Le.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",Le.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",Le.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",Le.FETCH_PEERS_ECL="FETCH_PEERS_ECL",Le.SET_PEERS_ECL="SET_PEERS_ECL",Le.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",Le.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",Le.ADD_PEER_ECL="ADD_PEER_ECL",Le.DETACH_PEER_ECL="DETACH_PEER_ECL",Le.REMOVE_PEER_ECL="REMOVE_PEER_ECL",Le.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",Le.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",Le.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",Le.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",Le.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",Le.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",Le.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",Le.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",Le.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",Le.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",Le.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",Le.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",Le.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",Le.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",Le.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",Le.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",Le.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",Le.SET_INVOICES_ECL="SET_INVOICES_ECL",Le.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",Le.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",Le.ADD_INVOICE_ECL="ADD_INVOICE_ECL",Le.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",Le.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",Le.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",Le.SET_LOOKUP_ECL="SET_LOOKUP_ECL",Le.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",Le.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",Le}(se||{});const fe=[{range:{min:0,max:1},description:"Requires or supports extra channel re-establish fields"},{range:{min:4,max:5},description:"Commits to a shutdown script pubkey when opening channel"},{range:{min:6,max:7},description:"More sophisticated gossip control"},{range:{min:8,max:9},description:"Requires/supports variable-length routing onion payloads"},{range:{min:10,max:11},description:"Gossip queries can include additional information"},{range:{min:12,max:13},description:"Static key for remote output"},{range:{min:14,max:15},description:"Node supports payment secret field"},{range:{min:16,max:17},description:"Node can receive basic multi-part payments"},{range:{min:18,max:19},description:"Node can create large channels"},{range:{min:20,max:21},description:"Anchor outputs"},{range:{min:22,max:23},description:"Anchor commitment type with zero fee HTLC transactions"},{range:{min:26,max:27},description:"Future segwit versions allowed in shutdown"},{range:{min:30,max:31},description:"AMP support"},{range:{min:44,max:45},description:"Explicit commitment type"}];var he=function(Le){return Le.gossip_queries_ex="Gossip queries including additional information",Le.option_anchor_outputs="Anchor outputs",Le.option_data_loss_protect="Extra channel re-establish fields",Le.var_onion_optin="Variable-length routing onion payloads",Le.option_static_remotekey="Static key for remote output",Le.option_support_large_channel="Create large channels",Le.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",Le.payment_secret="Payment secret field",Le.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",Le.basic_mpp="Basic multi-part payments",Le.gossip_queries="More sophisticated gossip control",Le.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",Le.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",Le.amp="AMP",Le}(he||{}),et=function(Le){return Le["data-loss-protect"]="Extra channel re-establish fields",Le["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",Le["gossip-queries"]="More sophisticated gossip control",Le["tlv-onion"]="Variable-length routing onion payloads",Le["ext-gossip-queries"]="Gossip queries can include additional information",Le["static-remote-key"]="Static key for remote output",Le["payment-addr"]="Payment secret field",Le["multi-path-payments"]="Basic multi-part payments",Le["wumbo-channels"]="Wumbo Channels",Le.anchors="Anchor outputs",Le["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",Le.amp="AMP",Le}(et||{});const Ke=[{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 Ct=function(Le){return Le.OFFERED="offered",Le.SETTLED="settled",Le.FAILED="failed",Le.LOCAL_FAILED="local_failed",Le}(Ct||{}),Qe=function(Le){return Le.ASCENDING="asc",Le.DESCENDING="desc",Le}(Qe||{});const nt=["asc","desc"],Ue=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:V,sortBy:"blockheight",sortOrder:Qe.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:V,sortBy:"blockheight",sortOrder:Qe.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:V,sortBy:"msatoshi_to_us",sortOrder:Qe.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:Qe.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:V,sortBy:"alias",sortOrder:Qe.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]},{tableId:"active_HTLCs",recordsPerPage:V,sortBy:"expiry",sortOrder:Qe.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:Qe.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:Qe.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:V,sortBy:"expires_at",sortOrder:Qe.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:V,sortBy:"offer_id",sortOrder:Qe.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:V,sortBy:"lastUpdatedAt",sortOrder:Qe.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:V,sortBy:"received_time",sortOrder:Qe.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:Qe.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:V,sortBy:"received_time",sortOrder:Qe.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:Qe.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:Qe.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:Qe.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:Qe.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]}],ht={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"}]}}},tt=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:V,sortBy:"tx_id",sortOrder:Qe.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:V,sortBy:"time_stamp",sortOrder:Qe.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:Qe.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:V,sortBy:"balancedness",sortOrder:Qe.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:Qe.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:Qe.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:Qe.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:Qe.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:V,sortBy:"close_type",sortOrder:Qe.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:V,sortBy:"incoming",sortOrder:Qe.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:V,sortBy:"alias",sortOrder:Qe.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:Qe.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:V,sortBy:"creation_date",sortOrder:Qe.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:Qe.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:Qe.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:V,sortBy:"remote_alias",sortOrder:Qe.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:Qe.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:Qe.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:Qe.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:Qe.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:Qe.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:V,sortBy:"status",sortOrder:Qe.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],wt={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"}]}}},ut=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:V,sortBy:"timestamp",sortOrder:Qe.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:V,sortBy:"alias",sortOrder:Qe.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:V,sortBy:"alias",sortOrder:Qe.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:V,sortBy:"alias",sortOrder:Qe.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:V,sortBy:"alias",sortOrder:Qe.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:V,sortBy:"firstPartTimestamp",sortOrder:Qe.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:V,sortBy:"receivedAt",sortOrder:Qe.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:V,sortBy:"timestamp",sortOrder:Qe.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:V,sortBy:"totalFee",sortOrder:Qe.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:V,sortBy:"timestamp",sortOrder:Qe.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:V,sortBy:"date",sortOrder:Qe.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],vt={on_chain:{transaction:{maxColumns:6,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"address"},{column:"blockHash"},{column:"txid",label:"Transaction ID"},{column:"amount"},{column:"fees"},{column:"confirmations"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"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"}]}}},Ze_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 ",jt=[{id:"USD",name:"United States Dollar",iconType:"FA",symbol:C.Vpi},{id:"ARS",name:"Argentina Peso",iconType:"FA",symbol:C.Vpi},{id:"AUD",name:"Australia Dollar",iconType:"FA",symbol:C.Vpi},{id:"BRL",name:"Brazil Real",iconType:"FA",symbol:C.Tq9},{id:"CAD",name:"Canada Dollar",iconType:"FA",symbol:C.Vpi},{id:"CHF",name:"Switzerland Franc",iconType:"FA",symbol:C.zjW},{id:"CLP",name:"Chile Peso",iconType:"FA",symbol:C.Vpi},{id:"CNY",name:"China Yuan Renminbi",iconType:"FA",symbol:C.zPk},{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:Ze_DKK,class:"currency-icon-medium"},{id:"EUR",name:"Euro Member Countries",iconType:"FA",symbol:C.s5m},{id:"GBP",name:"United Kingdom Pound",iconType:"FA",symbol:C.vfE},{id:"HKD",name:"Hong Kong Dollar",iconType:"FA",symbol:C.Vpi},{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:C.FYJ},{id:"ISK",name:"Iceland Krona",iconType:"SVG",symbol:Ze_DKK,class:"currency-icon-medium"},{id:"JPY",name:"Japan Yen",iconType:"FA",symbol:C.zPk},{id:"KRW",name:"Korea (South) Won",iconType:"FA",symbol:C.JKM},{id:"NZD",name:"New Zealand Dollar",iconType:"FA",symbol:C.Vpi},{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:C.f6_},{id:"SEK",name:"Sweden Krona",iconType:"SVG",symbol:Ze_DKK,class:"currency-icon-medium"},{id:"SGD",name:"Singapore Dollar",iconType:"FA",symbol:C.Vpi},{id:"THB",name:"Thailand Baht",iconType:"FA",symbol:C.Kcb},{id:"TRY",name:"Turkey Lira",iconType:"FA",symbol:C.hb3},{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 qe(Le){const Vt=jt.find(Zt=>Zt.id===Le);return"SVG"===Vt.iconType&&"string"==typeof Vt.symbol&&(Vt.symbol=Vt.symbol.replace('<svg class="currency-icon"','<svg class= "currency-icon '+Vt.class+'"')),Vt}function dt(Le,Vt,Zt){return"fixed"===Le?Vt:"percent"===Le?Math.ceil((Zt||0)*Vt/100):1e6}},1534:(Ve,ee,p)=>{"use strict";p.d(ee,{u:()=>ae});var t=p(1626),e=p(4412),C=p(1413),S=p(8810),l=p(7673),x=p(1594),m=p(1397),R=p(6977),d=p(6354),w=p(9437),y=p(3993),T=p(4416),k=p(2462),F=p(1771),V=p(190),U=p(3536),G=p(9584),Y=p(4438),$=p(9640),Z=p(8570),ie=p(5416),ve=p(177);let ae=(()=>{class ye{constructor(be,D,n,c,f){this.httpClient=be,this.store=D,this.logger=n,this.snackBar=c,this.titleCasePipe=f,this.APIUrl=T.H$,this.lnImplementation="",this.lnImplementationUpdated=new e.t(null),this.unSubs=[new C.B,new C.B,new C.B,new C.B,new C.B,new C.B,new C.B,new C.B,new C.B,new C.B,new C.B,new C.B,new C.B],this.mapAliases=(h,M)=>(h&&h.length>0?h.forEach((L,O)=>{if(M&&M.length>0)for(let _=0;_<M.length;_++){if(M[_].short_channel_id&&M[_].short_channel_id===L.in_channel&&(L.in_channel_alias=M[_].alias?M[_].alias:L.in_channel,L.out_channel_alias)||M[_].short_channel_id&&M[_].short_channel_id?.toString()===L.out_channel&&(L.out_channel_alias=M[_].alias?M[_].alias:L.out_channel,L.in_channel_alias))return;_===M.length-1&&(L.in_channel_alias||(L.in_channel_alias=L.in_channel?L.in_channel:"-"),L.out_channel_alias||(L.out_channel_alias=L.out_channel?L.out_channel:"-"))}else L.in_channel_alias=L.in_channel?L.in_channel:"-",L.out_channel_alias=L.out_channel?L.out_channel:"-"}):h=[],h)}setLnImplementation(be){this.lnImplementation=be.toLowerCase(),this.lnImplementationUpdated.next(this.lnImplementation)}getRecommendedFeeRates(){return this.httpClient.get(T.rl.CONF_API+"/explorerFeesRecommended")}getBlockExplorerTransaction(be){return this.httpClient.get(T.rl.CONF_API+"/explorerTransaction/"+be)}getFiatRates(){return this.httpClient.get(T.rl.CONF_API+"/rates")}decodePayment(be,D){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,m.Z)(n=>{let c=this.APIUrl+"/"+n+T.rl.PAYMENTS_API+"/decode/"+be,f="GET",h=null;return"cln"===n&&(c=this.APIUrl+"/"+n+T.rl.UTILITY_API+"/decode",h={string:be},f="POST"),this.store.dispatch((0,F.mt)({payload:T.MZ.DECODE_PAYMENT})),this.httpClient.request(f,c,{body:JSON.stringify(h),headers:{"Content-Type":"application/json"}}).pipe((0,R.Q)(this.unSubs[0]),(0,d.T)(M=>(this.store.dispatch((0,F.y0)({payload:T.MZ.DECODE_PAYMENT})),M)),(0,w.W)(M=>(D?this.handleErrorWithoutAlert("Decode Payment",T.MZ.DECODE_PAYMENT,M):this.handleErrorWithAlert("decodePaymentData",T.MZ.DECODE_PAYMENT,"Decode Payment Failed",c,M),(0,S.$)(()=>new Error(this.extractErrorMessage(M))))))}))}decodePayments(be){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,m.Z)(D=>{let n="",c="",f=null;return"ecl"===D?(n=this.APIUrl+"/"+D+T.rl.PAYMENTS_API+"/getsentinfos",f={payments:be},c=T.MZ.GET_SENT_PAYMENTS):"cln"===D?(n=this.APIUrl+"/"+D+T.rl.UTILITY_API+"/decode",f={string:be},c=T.MZ.DECODE_PAYMENTS):(n=this.APIUrl+"/"+D+T.rl.PAYMENTS_API,f={payments:be},c=T.MZ.DECODE_PAYMENTS),this.store.dispatch((0,F.mt)({payload:c})),this.httpClient.post(n,f).pipe((0,R.Q)(this.unSubs[1]),(0,d.T)(h=>(this.store.dispatch((0,F.y0)({payload:c})),h)),(0,w.W)(h=>(this.handleErrorWithAlert("decodePaymentsData",c,c+" Failed",n,h),(0,S.$)(()=>new Error(this.extractErrorMessage(h))))))}))}getAliasesFromPubkeys(be,D){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,m.Z)(n=>{if(D){const c=(new t.Nl).set("pubkeys",be);return this.httpClient.get(this.APIUrl+"/"+n+T.rl.NETWORK_API+"/nodes",{params:c})}return this.httpClient.get(this.APIUrl+"/"+n+T.rl.NETWORK_API+"/node/"+be)}))}signMessage(be){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,m.Z)(D=>{let n=this.APIUrl+"/"+D+T.rl.MESSAGE_API+"/sign";return"cln"===D&&(n=this.APIUrl+"/"+D+T.rl.UTILITY_API+"/sign"),this.store.dispatch((0,F.mt)({payload:T.MZ.SIGN_MESSAGE})),this.httpClient.post(n,{message:be}).pipe((0,R.Q)(this.unSubs[2]),(0,d.T)(c=>(this.store.dispatch((0,F.y0)({payload:T.MZ.SIGN_MESSAGE})),c)),(0,w.W)(c=>(this.handleErrorWithAlert("signMessageData",T.MZ.SIGN_MESSAGE,"Sign Message Failed",n,c),(0,S.$)(()=>new Error(this.extractErrorMessage(c))))))}))}verifyMessage(be,D){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,m.Z)(n=>{let c="",f=null;return"cln"===n?(c=this.APIUrl+"/"+n+T.rl.UTILITY_API+"/verify",f={message:be,zbase:D}):(c=this.APIUrl+"/"+n+T.rl.MESSAGE_API+"/verify",f={message:be,signature:D}),this.store.dispatch((0,F.mt)({payload:T.MZ.VERIFY_MESSAGE})),this.httpClient.post(c,f).pipe((0,R.Q)(this.unSubs[3]),(0,d.T)(h=>(this.store.dispatch((0,F.y0)({payload:T.MZ.VERIFY_MESSAGE})),h)),(0,w.W)(h=>(this.handleErrorWithAlert("verifyMessageData",T.MZ.VERIFY_MESSAGE,"Verify Message Failed",c,h),(0,S.$)(()=>new Error(this.extractErrorMessage(h))))))}))}bumpFee(be,D,n,c){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,m.Z)(f=>{const h={txid:be,outputIndex:D};return n&&(h.targetConf=n),c&&(h.satPerByte=c),this.store.dispatch((0,F.mt)({payload:T.MZ.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+f+T.rl.WALLET_API+"/bumpfee",h).pipe((0,R.Q)(this.unSubs[4]),(0,d.T)(M=>(this.store.dispatch((0,F.y0)({payload:T.MZ.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),M)),(0,w.W)(M=>(this.handleErrorWithoutAlert("Bump Fee",T.MZ.BUMP_FEE,M),(0,S.$)(()=>new Error(this.extractErrorMessage(M))))))}))}labelUTXO(be,D,n=!0){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,m.Z)(c=>{const f={txid:be,label:D,overwrite:n};return this.store.dispatch((0,F.mt)({payload:T.MZ.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+c+T.rl.WALLET_API+"/label",f).pipe((0,R.Q)(this.unSubs[5]),(0,d.T)(h=>(this.store.dispatch((0,F.y0)({payload:T.MZ.LABEL_UTXO})),h)),(0,w.W)(h=>(this.handleErrorWithoutAlert("Label UTXO",T.MZ.LABEL_UTXO,h),(0,S.$)(()=>new Error(this.extractErrorMessage(h))))))}))}leaseUTXO(be,D){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,m.Z)(n=>{const c={txid:be,outputIndex:D};return this.store.dispatch((0,F.mt)({payload:T.MZ.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+n+T.rl.WALLET_API+"/lease",c).pipe((0,R.Q)(this.unSubs[6]),(0,d.T)(f=>{this.store.dispatch((0,F.y0)({payload:T.MZ.LEASE_UTXO})),this.store.dispatch((0,V.mh)()),this.store.dispatch((0,V.SM)());const h=new Date(1e3*f.expiration);return Math.round(h.getTime())-60*h.getTimezoneOffset()}),(0,w.W)(f=>(this.handleErrorWithoutAlert("Lease UTXO",T.MZ.LEASE_UTXO,f),(0,S.$)(()=>new Error(this.extractErrorMessage(f))))))}))}getForwardingHistory(be,D,n,c){if("LND"===be){const f={end_time:n,start_time:D};return this.store.dispatch((0,F.mt)({payload:T.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+T.rl.SWITCH_API,f).pipe((0,R.Q)(this.unSubs[7]),(0,y.E)(this.store.select(U.eO)),(0,m.Z)(([h,M])=>{if(h.forwarding_events){const L=[...M.channels,...M.closedChannels];h.forwarding_events.forEach(O=>{if(L&&L.length>0)for(let _=0;_<L.length;_++){if(L[_].chan_id?.toString()===O.chan_id_in&&(O.alias_in=L[_].remote_alias?L[_].remote_alias:O.chan_id_in,O.alias_out)||L[_].chan_id?.toString()===O.chan_id_out&&(O.alias_out=L[_].remote_alias?L[_].remote_alias:O.chan_id_out,O.alias_in))return;_===L.length-1&&(O.alias_in||(O.alias_in=O.chan_id_in),O.alias_out||(O.alias_out=O.chan_id_out))}else O.alias_in=O.chan_id_in,O.alias_out=O.chan_id_out})}else h={};return this.store.dispatch((0,F.y0)({payload:T.MZ.GET_FORWARDING_HISTORY})),(0,l.of)(h)}),(0,w.W)(h=>(this.handleErrorWithAlert("getForwardingHistoryData",T.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+T.rl.SWITCH_API,h),(0,S.$)(()=>new Error(this.extractErrorMessage(h))))))}return"CLN"===be?(this.store.dispatch((0,F.mt)({payload:T.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/cln"+T.rl.CHANNELS_API+"/listForwards",{status:c||"settled"}).pipe((0,R.Q)(this.unSubs[8]),(0,y.E)(this.store.select(G.BM)),(0,m.Z)(([f,h])=>{const M=this.mapAliases(f,[...h.activeChannels,...h.pendingChannels,...h.inactiveChannels]);return this.store.dispatch((0,F.y0)({payload:T.MZ.GET_FORWARDING_HISTORY})),(0,l.of)(M)}),(0,w.W)(f=>(this.handleErrorWithAlert("getForwardingHistoryData",T.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+T.rl.CHANNELS_API+"/listForwards",f),(0,S.$)(()=>new Error(this.extractErrorMessage(f))))))):(0,l.of)({})}listNetworkNodes(be){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,m.Z)(D=>(this.store.dispatch((0,F.mt)({payload:T.MZ.LIST_NETWORK_NODES})),this.httpClient.post(this.APIUrl+"/"+D+T.rl.NETWORK_API+"/listNodes",be).pipe((0,R.Q)(this.unSubs[9]),(0,m.Z)(n=>(this.store.dispatch((0,F.y0)({payload:T.MZ.LIST_NETWORK_NODES})),(0,l.of)(n))),(0,w.W)(n=>(this.handleErrorWithoutAlert("List Network Nodes",T.MZ.LIST_NETWORK_NODES,n),(0,S.$)(()=>this.extractErrorMessage(n))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,m.Z)(be=>(this.store.dispatch((0,F.mt)({payload:T.MZ.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+be+T.rl.UTILITY_API+"/listConfigs").pipe((0,R.Q)(this.unSubs[10]),(0,m.Z)(D=>(this.store.dispatch((0,F.y0)({payload:T.MZ.GET_LIST_CONFIGS})),(0,l.of)(D))),(0,w.W)(D=>(this.handleErrorWithoutAlert("List Configurations",T.MZ.GET_LIST_CONFIGS,D),(0,S.$)(()=>this.extractErrorMessage(D))))))))}getOrUpdateFunderPolicy(be,D,n,c,f,h){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,m.Z)(M=>{const L=be?{policy:be,policy_mod:D,lease_fee_base_msat:n,lease_fee_basis:c,channel_fee_max_base_msat:f,channel_fee_max_proportional_thousandths:h}:null;return this.store.dispatch((0,F.mt)({payload:T.MZ.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+M+T.rl.CHANNELS_API+"/funderUpdate",L).pipe((0,R.Q)(this.unSubs[11]),(0,d.T)(O=>(this.store.dispatch((0,F.y0)({payload:T.MZ.GET_FUNDER_POLICY})),L&&this.store.dispatch((0,F.UI)({payload:"Funder Policy Updated Successfully with Compact Lease: "+O.compact_lease+"!"})),O)),(0,w.W)(O=>(this.handleErrorWithoutAlert("Funder Policy",T.MZ.GET_FUNDER_POLICY,O),(0,S.$)(()=>new Error(this.extractErrorMessage(O))))))}))}circularRebalance(be,D="",n="",c="",f="",h=[],M="shortChannelId"){return this.httpClient.post(this.APIUrl+"/"+this.lnImplementation+T.rl.CHANNELS_API+"/circularRebalance",{amountMsat:be,sourceShortChannelId:D,sourceNodeId:n,targetShortChannelId:c,targetNodeId:f,ignoreNodeIds:h,format:M}).pipe((0,R.Q)(this.unSubs[12]),(0,d.T)(_=>_),(0,w.W)(_=>(this.handleErrorWithoutAlert("Rebalance Channel",T.MZ.REBALANCE_CHANNEL,_),(0,S.$)(()=>_.error))))}extractErrorMessage(be,D="Unknown Error."){return this.titleCasePipe.transform(be.error.text&&"string"==typeof be.error.text&&be.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":be.error&&be.error.error&&be.error.error.error&&be.error.error.error.error&&be.error.error.error.error.error&&"string"==typeof be.error.error.error.error.error?be.error.error.error.error.error:be.error&&be.error.error&&be.error.error.error&&be.error.error.error.error&&"string"==typeof be.error.error.error.error?be.error.error.error.error:be.error&&be.error.error&&be.error.error.error&&"string"==typeof be.error.error.error?be.error.error.error:be.error&&be.error.error&&"string"==typeof be.error.error?be.error.error:be.error&&"string"==typeof be.error?be.error:be.error&&be.error.error&&be.error.error.error&&be.error.error.error.error&&be.error.error.error.error.message&&"string"==typeof be.error.error.error.error.message?be.error.error.error.error.message:be.error&&be.error.error&&be.error.error.error&&be.error.error.error.message&&"string"==typeof be.error.error.error.message?be.error.error.error.message:be.error&&be.error.error&&be.error.error.message&&"string"==typeof be.error.error.message?be.error.error.message:be.error&&be.error.message&&"string"==typeof be.error.message?be.error.message:be.message&&"string"==typeof be.message?be.message:D)}handleErrorWithoutAlert(be,D,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: "+be+"\n"+JSON.stringify(n)),401===n.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,F.Jh)()),this.store.dispatch((0,F.ri)({payload:"Authentication Failed: "+JSON.stringify(n.error)}))):(this.store.dispatch((0,F.y0)({payload:D})),this.store.dispatch((0,F.Gd)({payload:{action:be,status:T.wn.ERROR,statusCode:n.status.toString(),message:this.extractErrorMessage(n)}})))}handleErrorWithAlert(be,D,n,c,f){if(this.logger.error(f),401===f.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,F.Jh)()),this.store.dispatch((0,F.ri)({payload:"Authentication Failed: "+JSON.stringify(f.error)}));else{this.store.dispatch((0,F.y0)({payload:D}));const h=this.extractErrorMessage(f);this.store.dispatch((0,F.xO)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:f.status?f.status:"Unknown Error",message:h,URL:c},component:k.f}}})),this.store.dispatch((0,F.Gd)({payload:{action:be,status:T.wn.ERROR,statusCode:f.status.toString(),message:h,URL:c}}))}}ngOnDestroy(){this.unSubs.forEach(be=>{be.next(null),be.complete()})}static{this.\u0275fac=function(D){return new(D||ye)(Y.KVO(t.Qq),Y.KVO($.il),Y.KVO(Z.gP),Y.KVO(ie.UG),Y.KVO(ve.PV))}}static{this.\u0275prov=Y.jDH({token:ye,factory:ye.\u0275fac})}}return ye})()},8570:(Ve,ee,p)=>{"use strict";p.d(ee,{gP:()=>l,tU:()=>x});var t=p(4438);const e=(0,t.naY)(),C=()=>null;let l=(()=>{class m{invokeConsoleMethod(d,w){}static{this.\u0275fac=function(w){return new(w||m)}}static{this.\u0275prov=t.jDH({token:m,factory:m.\u0275fac})}}return m})(),x=(()=>{class m{get info(){return e?console.log.bind(console):C}get warn(){return e?console.warn.bind(console):C}get error(){return e?console.error.bind(console):C}invokeConsoleMethod(d,w){(console[d]||console.log||C).apply(console,[w])}static{this.\u0275fac=function(w){return new(w||m)}}static{this.\u0275prov=t.jDH({token:m,factory:m.\u0275fac})}}return m})()},4104:(Ve,ee,p)=>{"use strict";p.d(ee,{Q:()=>U});var t=p(1626),e=p(4412),C=p(1413),S=p(7673),l=p(8810),x=p(6977),m=p(9437),R=p(6354),d=p(4416),w=p(2462),y=p(1771),T=p(4438),k=p(8570),F=p(9640),V=p(2571);let U=(()=>{class G{constructor($,Z,ie,ve){this.httpClient=$,this.logger=Z,this.store=ie,this.commonService=ve,this.loopUrl="",this.swaps=[],this.swapsChanged=new e.t([]),this.unSubs=[new C.B,new C.B,new C.B,new C.B,new C.B,new C.B,new C.B]}getLoopInfo(){return this.loopUrl=d.H$+d.rl.LOOP_API+"/info",this.httpClient.get(this.loopUrl)}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,y.mt)({payload:d.MZ.GET_LOOP_SWAPS})),this.loopUrl=d.H$+d.rl.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,x.Q)(this.unSubs[0])).subscribe({next:$=>{this.store.dispatch((0,y.y0)({payload:d.MZ.GET_LOOP_SWAPS})),this.swaps=$,this.swapsChanged.next(this.swaps)},error:$=>this.swapsChanged.error(this.handleErrorWithAlert(d.MZ.GET_LOOP_SWAPS,this.loopUrl,$))})}loopOut($,Z,ie,ve,ae,ye,ue,be,D,n){const c={amount:$,targetConf:ie,swapRoutingFee:ve,minerFee:ae,prepayRoutingFee:ye,prepayAmt:ue,swapFee:be,swapPublicationDeadline:D,destAddress:n};return""!==Z&&(c.chanId=Z),this.loopUrl=d.H$+d.rl.LOOP_API+"/out",this.httpClient.post(this.loopUrl,c).pipe((0,m.W)(f=>this.handleErrorWithoutAlert("Loop Out for Channel: "+Z,d.MZ.NO_SPINNER,f)))}getLoopOutTerms(){return this.loopUrl=d.H$+d.rl.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,m.W)($=>this.handleErrorWithoutAlert("Loop Out Terms",d.MZ.NO_SPINNER,$)))}getLoopOutQuote($,Z,ie){let ve=new t.Nl;return ve=ve.append("targetConf",Z.toString()),ve=ve.append("swapPublicationDeadline",ie.toString()),this.loopUrl=d.H$+d.rl.LOOP_API+"/out/quote/"+$,this.store.dispatch((0,y.mt)({payload:d.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:ve}).pipe((0,x.Q)(this.unSubs[1]),(0,R.T)(ae=>(this.store.dispatch((0,y.y0)({payload:d.MZ.GET_QUOTE})),ae)),(0,m.W)(ae=>this.handleErrorWithoutAlert("Loop Out Quote",d.MZ.GET_QUOTE,ae)))}getLoopOutTermsAndQuotes($){let Z=new t.Nl;return Z=Z.append("targetConf",$.toString()),Z=Z.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.H$+d.rl.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,y.mt)({payload:d.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:Z}).pipe((0,x.Q)(this.unSubs[2]),(0,R.T)(ie=>(this.store.dispatch((0,y.y0)({payload:d.MZ.GET_TERMS_QUOTES})),ie)),(0,m.W)(ie=>(0,S.of)(this.handleErrorWithAlert(d.MZ.GET_TERMS_QUOTES,this.loopUrl,ie))))}loopIn($,Z,ie,ve,ae){const ye={amount:$,swapFee:Z,minerFee:ie,lastHop:ve,externalHtlc:ae};return this.loopUrl=d.H$+d.rl.LOOP_API+"/in",this.httpClient.post(this.loopUrl,ye).pipe((0,m.W)(ue=>this.handleErrorWithoutAlert("Loop In",d.MZ.NO_SPINNER,ue)))}getLoopInTerms(){return this.loopUrl=d.H$+d.rl.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,m.W)($=>this.handleErrorWithoutAlert("Loop In Terms",d.MZ.NO_SPINNER,$)))}getLoopInQuote($,Z,ie){let ve=new t.Nl;return ve=ve.append("targetConf",Z.toString()),ve=ve.append("swapPublicationDeadline",ie.toString()),this.loopUrl=d.H$+d.rl.LOOP_API+"/in/quote/"+$,this.store.dispatch((0,y.mt)({payload:d.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:ve}).pipe((0,x.Q)(this.unSubs[3]),(0,R.T)(ae=>(this.store.dispatch((0,y.y0)({payload:d.MZ.GET_QUOTE})),ae)),(0,m.W)(ae=>this.handleErrorWithoutAlert("Loop In Qoute",d.MZ.GET_QUOTE,ae)))}getLoopInTermsAndQuotes($){let Z=new t.Nl;return Z=Z.append("targetConf",$.toString()),Z=Z.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.H$+d.rl.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,y.mt)({payload:d.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:Z}).pipe((0,x.Q)(this.unSubs[4]),(0,R.T)(ie=>(this.store.dispatch((0,y.y0)({payload:d.MZ.GET_TERMS_QUOTES})),ie)),(0,m.W)(ie=>(0,S.of)(this.handleErrorWithAlert(d.MZ.GET_TERMS_QUOTES,this.loopUrl,ie))))}getSwap($){return this.loopUrl=d.H$+d.rl.LOOP_API+"/swap/"+$,this.httpClient.get(this.loopUrl).pipe((0,m.W)(Z=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+$,d.MZ.NO_SPINNER,Z)))}handleErrorWithoutAlert($,Z,ie){let ve="";return this.logger.error("ERROR IN: "+$+"\n"+JSON.stringify(ie)),this.store.dispatch((0,y.y0)({payload:Z})),401===ie.status?(ve="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.ri)({payload:ve}))):503===ie.status?(ve="Unable to Connect to Loop Server.",this.store.dispatch((0,y.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ie.status,message:"Unable to Connect to Loop Server",URL:$},component:w.f}}}))):ve=this.commonService.extractErrorMessage(ie),(0,l.$)(()=>new Error(ve))}handleErrorWithAlert($,Z,ie){let ve="";if(this.logger.error(ie),this.store.dispatch((0,y.y0)({payload:$})),401===ie.status)ve="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.ri)({payload:ve}));else if(503===ie.status)ve="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ie.status,message:"Unable to Connect to Loop Server",URL:Z},component:w.f}}}))},100);else{ve=this.commonService.extractErrorMessage(ie);const ae=ie.error&&ie.error.error&&ie.error.error.code?ie.error.error.code:ie.error&&ie.error.code?ie.error.code:ie.code?ie.code:ie.status;setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{type:d.A$.ERROR,alertTitle:"ERROR",message:{code:ae,message:ve,URL:Z},component:w.f}}}))},100)}return{message:ve}}ngOnDestroy(){this.unSubs.forEach($=>{$.next(null),$.complete()})}static{this.\u0275fac=function(Z){return new(Z||G)(T.KVO(t.Qq),T.KVO(k.gP),T.KVO(F.il),T.KVO(V.h))}}static{this.\u0275prov=T.jDH({token:G,factory:G.\u0275fac})}}return G})()},3202:(Ve,ee,p)=>{"use strict";p.d(ee,{Q:()=>C});var t=p(1413),e=p(4438);let C=(()=>{class S{constructor(){this.sessionSub=new t.B}watchSession(){return this.sessionSub.asObservable()}getItem(x){return sessionStorage.getItem(x)}getAllItems(){return sessionStorage}setItem(x,m){sessionStorage.setItem(x,m),this.sessionSub.next(sessionStorage)}removeItem(x){sessionStorage.removeItem(x),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}static{this.\u0275fac=function(m){return new(m||S)}}static{this.\u0275prov=e.jDH({token:S,factory:S.\u0275fac})}}return S})()},7879:(Ve,ee,p)=>{"use strict";p.d(ee,{I:()=>F});var t=p(4412),e=p(1413),C=p(6977),S=p(7707),l=p(1985),x=p(8359),m=p(2771);const R={url:"",deserializer:V=>JSON.parse(V.data),serializer:V=>JSON.stringify(V)};class w extends e.k{constructor(U,G){if(super(),this._socket=null,U instanceof l.c)this.destination=G,this.source=U;else{const Y=this._config=Object.assign({},R);if(this._output=new e.B,"string"==typeof U)Y.url=U;else for(const $ in U)U.hasOwnProperty($)&&(Y[$]=U[$]);if(!Y.WebSocketCtor&&WebSocket)Y.WebSocketCtor=WebSocket;else if(!Y.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new m.m}}lift(U){const G=new w(this._config,this.destination);return G.operator=U,G.source=this,G}_resetState(){this._socket=null,this.source||(this.destination=new m.m),this._output=new e.B}multiplex(U,G,Y){const $=this;return new l.c(Z=>{try{$.next(U())}catch(ve){Z.error(ve)}const ie=$.subscribe({next:ve=>{try{Y(ve)&&Z.next(ve)}catch(ae){Z.error(ae)}},error:ve=>Z.error(ve),complete:()=>Z.complete()});return()=>{try{$.next(G())}catch(ve){Z.error(ve)}ie.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:U,protocol:G,url:Y,binaryType:$}=this._config,Z=this._output;let ie=null;try{ie=G?new U(Y,G):new U(Y),this._socket=ie,$&&(this._socket.binaryType=$)}catch(ae){return void Z.error(ae)}const ve=new x.yU(()=>{this._socket=null,ie&&1===ie.readyState&&ie.close()});ie.onopen=ae=>{const{_socket:ye}=this;if(!ye)return ie.close(),void this._resetState();const{openObserver:ue}=this._config;ue&&ue.next(ae);const be=this.destination;this.destination=S.vU.create(D=>{if(1===ie.readyState)try{const{serializer:n}=this._config;ie.send(n(D))}catch(n){this.destination.error(n)}},D=>{const{closingObserver:n}=this._config;n&&n.next(void 0),D&&D.code?ie.close(D.code,D.reason):Z.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:D}=this._config;D&&D.next(void 0),ie.close(),this._resetState()}),be&&be instanceof m.m&&ve.add(be.subscribe(this.destination))},ie.onerror=ae=>{this._resetState(),Z.error(ae)},ie.onclose=ae=>{ie===this._socket&&this._resetState();const{closeObserver:ye}=this._config;ye&&ye.next(ae),ae.wasClean?Z.complete():Z.error(ae)},ie.onmessage=ae=>{try{const{deserializer:ye}=this._config;Z.next(ye(ae))}catch(ye){Z.error(ye)}}}_subscribe(U){const{source:G}=this;return G?G.subscribe(U):(this._socket||this._connectSocket(),this._output.subscribe(U),U.add(()=>{const{_socket:Y}=this;0===this._output.observers.length&&(Y&&(1===Y.readyState||0===Y.readyState)&&Y.close(),this._resetState())}),U)}unsubscribe(){const{_socket:U}=this;U&&(1===U.readyState||0===U.readyState)&&U.close(),this._resetState(),super.unsubscribe()}}var y=p(4438),T=p(8570),k=p(3202);let F=(()=>{class V{constructor(G,Y){this.logger=G,this.sessionService=Y,this.clWSMessages=new t.t(null),this.eclWSMessages=new t.t(null),this.lndWSMessages=new t.t(null),this.wsUrl="",this.nodeIndex="",this.RETRY_SECONDS=5,this.RECONNECT_TIMEOUT=null,this.unSubs=[new e.B,new e.B,new e.B,new e.B,new e.B,new e.B,new e.B,new e.B,new e.B,new e.B,new e.B,new e.B,new e.B]}connectWebSocket(G,Y){(!this.socket||this.socket.closed)&&(this.wsUrl=G,this.nodeIndex=Y,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new w({url:G,protocol:[this.sessionService.getItem("token")||"",Y]}),this.subscribeToMessages())}reconnectOnError(){this.RECONNECT_TIMEOUT||this.socket&&!this.socket.closed||(this.RETRY_SECONDS=this.RETRY_SECONDS>=160?160:2*this.RETRY_SECONDS,this.RECONNECT_TIMEOUT=setTimeout(()=>{this.logger.info("Reconnecting Web Socket."),this.connectWebSocket(this.wsUrl,this.nodeIndex),this.RECONNECT_TIMEOUT=null},1e3*this.RETRY_SECONDS))}closeConnection(){this.socket&&(this.socket.complete(),this.socket=null)}subscribeToMessages(){this.socket?.pipe((0,C.Q)(this.unSubs[1])).subscribe({next:G=>{if((G="string"==typeof G?JSON.parse(G):G).error)this.handleError(G.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(G)),G.source){case"LND":this.lndWSMessages.next(G);break;case"CLN":this.clWSMessages.next(G);break;case"ECL":this.eclWSMessages.next(G)}},error:G=>this.handleError(G),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(G){this.logger.error(G),this.clWSMessages.error(G),this.eclWSMessages.error(G),this.lndWSMessages.error(G),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{this.\u0275fac=function(Y){return new(Y||V)(y.KVO(T.gP),y.KVO(k.Q))}}static{this.\u0275prov=y.jDH({token:V,factory:V.\u0275fac})}}return V})()},9029:(Ve,ee,p)=>{"use strict";p.d(ee,{G:()=>Kn});var t=p(177),e=p(1188),C=p(9417),S=p(1626),l=p(60),x=p(4438),m=p(9340),R=p(6038),d=p(2920);p(4085);let Mt=(()=>{class Ht{}return Ht.\u0275fac=function(xt){return new(xt||Ht)},Ht.\u0275mod=x.$C({type:Ht}),Ht.\u0275inj=x.G2t({imports:[m.Ui]}),Ht})(),ai=(()=>{class Ht{constructor(xt,ni){(0,t.Vy)(ni)&&!xt&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(xt,ni=[]){return{ngModule:Ht,providers:xt.serverLoaded?[{provide:m.EA,useValue:{...m.PV,...xt}},{provide:m.SL,useValue:ni,multi:!0},{provide:m.Ce,useValue:!0}]:[{provide:m.EA,useValue:{...m.PV,...xt}},{provide:m.SL,useValue:ni,multi:!0}]}}}return Ht.\u0275fac=function(xt){return new(xt||Ht)(x.KVO(m.Ce),x.KVO(x.Agw))},Ht.\u0275mod=x.$C({type:Ht}),Ht.\u0275inj=x.G2t({imports:[d.w2,R.Cc,Mt,d.w2,R.Cc,Mt]}),Ht})();var Ei=p(9327),Hi=p(6600),$i=p(5351),hn=p(850),Fi=p(1975),_n=p(8834);p(8617),p(5024);let Dn=(()=>{class Ht{static{this.\u0275fac=function(ni){return new(ni||Ht)}}static{this.\u0275mod=x.$C({type:Ht})}static{this.\u0275inj=x.G2t({imports:[Hi.yE,Hi.pZ,Hi.yE]})}}return Ht})();var Hn=p(5596),On=p(2765),Xn=p(5084),ir=p(9454),Fn=p(6195),pi=p(9213),Oi=p(9631),Yt=p(3902),yi=p(9115),li=p(6695),vi=p(7575),Ni=p(9183),ji=p(5951),en=p(2798),nr=p(882),ar=p(450),tr=p(6860);p(1413);let Ea=(()=>{class Ht{static{this.\u0275fac=function(ni){return new(ni||Ht)}}static{this.\u0275mod=x.$C({type:Ht})}static{this.\u0275inj=x.G2t({imports:[Hi.yE,Hi.pZ]})}}return Ht})();var No=p(5416),Ra=p(2042),wo=p(6013),Lr=p(9159),ma=p(6850),Nr=p(5911),Ua=p(4823),as=p(7358),Ga=p(8852),Oa=p(6064),ja=p(8288),Vo=p(497),jo=p(6969);let Mo=(()=>{class Ht extends jo.Sf{constructor(xt,ni){super(xt,ni)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(ni){return new(ni||Ht)(x.rXU(t.qQ),x.rXU(tr.OD))}}static{this.\u0275dir=x.FsC({type:Ht,features:[x.Vt3]})}}return Ht})();var pa=p(8570),ro=p(4416),wr=p(2929);const ga={suppressScrollX:!1,suppressScrollY:!1};let Wo=(()=>{class Ht extends Hi.xW{constructor(xt){super(xt)}format(xt,ni){if("input"===ni){let ki=xt.getDate().toString();return ki=+ki<10?"0"+ki:ki,ki+"/"+ro.KR[xt.getMonth()].name.toUpperCase()+"/"+xt.getFullYear()}return ro.KR[xt.getMonth()].name.toUpperCase()+" "+xt.getFullYear()}static{this.\u0275fac=function(ni){return new(ni||Ht)(x.KVO(Hi.Ju,8))}}static{this.\u0275prov=x.jDH({token:Ht,factory:Ht.\u0275fac})}}return Ht})();const ra={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 Kn=(()=>{class Ht{static{this.\u0275fac=function(ni){return new(ni||Ht)}}static{this.\u0275mod=x.$C({type:Ht})}static{this.\u0275inj=x.G2t({providers:[{provide:pa.gP,useClass:pa.tU},{provide:Vo.kU,useValue:ga},{provide:No.x6,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:$i.di,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:Hi.MJ,useClass:Wo},{provide:Hi.de,useValue:ra},{provide:jo.Sf,useClass:Mo},t.QX,t.PV,t.vh,wr.gZ,wr.ZE,wr.VD,wr.Qu],imports:[t.MD,C.YN,C.X1,l.dX,ai,Ei.RH,$i.hM,_n.Hl,Dn,Hn.Hu,On.g7,ir.MY,Fn.Fe,Xn.X6,Hi.WX,pi.m_,Oi.fS,Yt.Fg,yi.Cn,vi.PO,Ni.D6,ji.Wk,as.jH,Ga.YN,en.Ve,nr.vg,ar.mV,Ra.NQ,Lr.tP,Nr.s5,Ua.uc,Fi.Y,li.Ou,wo.aP,Ea,ma.RI,No._T,hn.jL,Oa.dV,ja.XK,e.iI,S.q1,Vo.U$,C.YN,C.X1,l.dX,ai,Ei.RH,$i.hM,_n.Hl,Dn,Hn.Hu,On.g7,ir.MY,Fn.Fe,Xn.X6,Hi.WX,pi.m_,Oi.fS,Yt.Fg,yi.Cn,vi.PO,Ni.D6,ji.Wk,as.jH,Ga.YN,en.Ve,nr.vg,ar.mV,Ra.NQ,Lr.tP,Nr.s5,Ua.uc,Fi.Y,li.Ou,wo.aP,Ea,ma.RI,No._T,hn.jL,Oa.dV,ja.XK,Vo.U$]})}}return Ht})()},1771:(Ve,ee,p)=>{"use strict";p.d(ee,{Dz:()=>V,Fl:()=>ye,Gd:()=>l,I1:()=>T,IK:()=>$,Jh:()=>x,My:()=>S,NU:()=>Y,Np:()=>ve,OP:()=>F,Qi:()=>Z,R$:()=>y,T$:()=>ie,Tn:()=>G,UI:()=>m,iD:()=>f,mt:()=>R,oz:()=>n,rc:()=>ae,ri:()=>ue,t2:()=>M,uP:()=>k,xO:()=>w,xw:()=>be,y0:()=>d});var t=p(9640),e=p(4416);(0,t.VP)(e.aU.VOID);const S=(0,t.VP)(e.aU.SET_API_URL_ECL,(0,t.xk)()),l=(0,t.VP)(e.aU.UPDATE_API_CALL_STATUS_ROOT,(0,t.xk)()),x=(0,t.VP)(e.aU.CLOSE_ALL_DIALOGS),m=(0,t.VP)(e.aU.OPEN_SNACK_BAR,(0,t.xk)()),R=(0,t.VP)(e.aU.OPEN_SPINNER,(0,t.xk)()),d=(0,t.VP)(e.aU.CLOSE_SPINNER,(0,t.xk)()),w=(0,t.VP)(e.aU.OPEN_ALERT,(0,t.xk)()),y=(0,t.VP)(e.aU.CLOSE_ALERT,(0,t.xk)()),T=(0,t.VP)(e.aU.OPEN_CONFIRMATION,(0,t.xk)()),k=(0,t.VP)(e.aU.CLOSE_CONFIRMATION,(0,t.xk)()),F=(0,t.VP)(e.aU.SHOW_PUBKEY),V=(0,t.VP)(e.aU.FETCH_CONFIG,(0,t.xk)()),G=((0,t.VP)(e.aU.SHOW_CONFIG,(0,t.xk)()),(0,t.VP)(e.aU.RESET_ROOT_STORE,(0,t.xk)())),Y=(0,t.VP)(e.aU.FETCH_APPLICATION_SETTINGS),$=(0,t.VP)(e.aU.SET_APPLICATION_SETTINGS,(0,t.xk)()),Z=(0,t.VP)(e.aU.SET_SELECTED_NODE,(0,t.xk)()),ie=(0,t.VP)(e.aU.UPDATE_NODE_SETTINGS,(0,t.xk)()),ve=(0,t.VP)(e.aU.SET_SELECTED_NODE_SETTINGS,(0,t.xk)()),ae=(0,t.VP)(e.aU.UPDATE_APPLICATION_SETTINGS,(0,t.xk)()),ye=(0,t.VP)(e.aU.SET_NODE_DATA,(0,t.xk)()),ue=(0,t.VP)(e.aU.LOGOUT,(0,t.xk)()),be=(0,t.VP)(e.aU.RESET_PASSWORD,(0,t.xk)()),n=((0,t.VP)(e.aU.RESET_PASSWORD_RES,(0,t.xk)()),(0,t.VP)(e.aU.IS_AUTHORIZED,(0,t.xk)())),f=((0,t.VP)(e.aU.IS_AUTHORIZED_RES,(0,t.xk)()),(0,t.VP)(e.aU.LOGIN,(0,t.xk)())),M=((0,t.VP)(e.aU.VERIFY_TWO_FA,(0,t.xk)()),(0,t.VP)(e.aU.FETCH_FILE,(0,t.xk)()));(0,t.VP)(e.aU.SHOW_FILE,(0,t.xk)())},7541:(Ve,ee,p)=>{"use strict";p.d(ee,{H:()=>Bt});var t=p(4438),e=p(4054),C=p(1413),S=p(7673),l=p(6354),x=p(6697),m=p(3993),R=p(1397),d=p(9437),w=p(6977),y=p(4416),T=p(5351),k=p(2920),F=p(9183);let V=(()=>{class q{constructor(Ae,mt){this.dialogRef=Ae,this.data=mt}static{this.\u0275fac=function(mt){return new(mt||q)(t.rXU(T.CP),t.rXU(T.Vh))}}static{this.\u0275cmp=t.VBU({type:q,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(mt,It){1&mt&&(t.j41(0,"div",0),t.nrm(1,"mat-progress-spinner",1),t.j41(2,"h2"),t.EFF(3),t.k0s()()),2&mt&&(t.R7$(3),t.JRh(It.data.titleMessage))},dependencies:[k.DJ,k.sA,F.LG],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]})}}return q})();var U=p(5383),G=p(9647),Y=p(8570),$=p(5416),Z=p(2571),ie=p(1188),ve=p(9640),ae=p(177),ye=p(60),ue=p(6038),be=p(8834),D=p(5596),n=p(9213),c=p(1997),f=p(4823),h=p(8288),M=p(497),L=p(9157),O=p(9587);const _=["scrollContainer"],r=q=>({"display-none":q}),v=q=>({"h-40":q}),z=q=>({"failed-status":q});function N(q,it){if(1&q&&t.nrm(0,"qr-code",19),2&q){const Ae=t.XpG();t.Y8G("value",Ae.showQRField)("size",200)("errorCorrectionLevel","L")}}function ne(q,it){1&q&&t.eu8(0)}function Ie(q,it){if(1&q&&(t.qex(0),t.j41(1,"mat-card-content",20,1),t.DNE(3,ne,1,0,"ng-container",21),t.k0s(),t.bVm()),2&q){const Ae=t.XpG(),mt=t.sdS(20);t.R7$(),t.Y8G("ngClass",t.eq3(2,v,Ae.data.scrollable)),t.R7$(2),t.Y8G("ngTemplateOutlet",mt)}}function at(q,it){1&q&&t.eu8(0)}function Ye(q,it){if(1&q&&(t.qex(0),t.j41(1,"mat-card-content",22),t.DNE(2,at,1,0,"ng-container",21),t.k0s(),t.bVm()),2&q){t.XpG();const Ae=t.sdS(20);t.R7$(2),t.Y8G("ngTemplateOutlet",Ae)}}function rt(q,it){1&q&&(t.j41(0,"mat-icon",27),t.EFF(1,"arrow_downward"),t.k0s())}function re(q,it){1&q&&(t.j41(0,"mat-icon",28),t.EFF(1,"arrow_upward"),t.k0s())}function te(q,it){if(1&q){const Ae=t.RV6();t.j41(0,"div",23)(1,"button",24),t.bIt("click",function(){t.eBV(Ae);const It=t.XpG();return t.Njj(It.onScroll())}),t.DNE(2,rt,2,0,"mat-icon",25)(3,re,2,0,"mat-icon",26),t.k0s()()}if(2&q){const Ae=t.XpG();t.R7$(2),t.Y8G("ngIf","DOWN"===Ae.scrollDirection),t.R7$(),t.Y8G("ngIf","UP"===Ae.scrollDirection)}}function oe(q,it){1&q&&(t.j41(0,"button",29),t.EFF(1,"OK"),t.k0s()),2&q&&t.Y8G("mat-dialog-close",!1)}function _e(q,it){1&q&&(t.j41(0,"button",30),t.EFF(1,"Close"),t.k0s()),2&q&&t.Y8G("mat-dialog-close",!1)}function de(q,it){if(1&q){const Ae=t.RV6();t.j41(0,"button",31),t.bIt("copied",function(It){t.eBV(Ae);const Ci=t.XpG();return t.Njj(Ci.onCopyField(It))}),t.EFF(1),t.k0s()}if(2&q){const Ae=t.XpG();t.Y8G("payload",Ae.showCopyField),t.R7$(),t.SpI("Copy ",Ae.showCopyName,"")}}function pe(q,it){1&q&&(t.j41(0,"button",30),t.EFF(1,"Close"),t.k0s()),2&q&&t.Y8G("mat-dialog-close",!1)}function We(q,it){if(1&q){const Ae=t.RV6();t.j41(0,"button",31),t.bIt("copied",function(It){t.eBV(Ae);const Ci=t.XpG();return t.Njj(Ci.onCopyField(It))}),t.EFF(1),t.k0s()}if(2&q){const Ae=t.XpG();t.Y8G("payload",Ae.showQRField),t.R7$(),t.SpI("Copy ",Ae.showQRName,"")}}function se(q,it){if(1&q&&t.nrm(0,"qr-code",19),2&q){const Ae=t.XpG(2);t.Y8G("value",Ae.showQRField)("size",200)("errorCorrectionLevel","L")}}function fe(q,it){if(1&q&&(t.j41(0,"p",37),t.EFF(1),t.k0s()),2&q){const Ae=t.XpG(2);t.R7$(),t.JRh(Ae.data.titleMessage)}}function he(q,it){1&q&&t.nrm(0,"span",51),2&q&&t.Y8G("innerHTML",it.$implicit,t.npT)}function et(q,it){if(1&q&&(t.qex(0),t.j41(1,"span",34),t.DNE(2,he,1,1,"span",50),t.k0s(),t.bVm()),2&q){const Ae=t.XpG(2).$implicit;t.R7$(2),t.Y8G("ngForOf",Ae.value)}}function Ke(q,it){if(1&q&&(t.qex(0),t.EFF(1),t.nI1(2,"date"),t.bVm()),2&q){const Ae=t.XpG(2).$implicit;t.R7$(),t.JRh(t.i5U(2,1,1e3*Ae.value,"dd/MMM/y HH:mm"))}}function Ct(q,it){if(1&q&&(t.qex(0),t.EFF(1),t.nI1(2,"number"),t.bVm()),2&q){const Ae=t.XpG(2).$implicit;t.R7$(),t.JRh(t.i5U(2,1,Ae.value,Ae.digitsInfo?Ae.digitsInfo:"1.0-3"))}}function _t(q,it){if(1&q&&(t.qex(0),t.EFF(1),t.bVm()),2&q){const Ae=t.XpG(2).$implicit;t.R7$(),t.JRh(Ae.value?"True":"False")}}function Nt(q,it){1&q&&(t.j41(0,"mat-icon",55),t.EFF(1,"info"),t.k0s())}function ke(q,it){if(1&q&&(t.j41(0,"p",53),t.EFF(1),t.DNE(2,Nt,2,0,"mat-icon",54),t.k0s()),2&q){const Ae=t.XpG(3).$implicit,mt=t.XpG(4);t.Y8G("ngClass",t.eq3(3,z,Ae.value===mt.LoopStateEnum.FAILED)),t.R7$(),t.SpI(" ",Ae.value," "),t.R7$(),t.Y8G("ngIf",Ae.value===mt.LoopStateEnum.FAILED)}}function Je(q,it){if(1&q){const Ae=t.RV6();t.j41(0,"p",57),t.bIt("click",function(){t.eBV(Ae);const It=t.XpG(8);return t.Njj(It.onGoToLink())}),t.EFF(1),t.k0s()}if(2&q){const Ae=t.XpG(4).$implicit,mt=t.XpG(4);t.FS9("matTooltip","Go To "+mt.goToName),t.R7$(),t.SpI(" ",Ae.value," ")}}function Qe(q,it){if(1&q&&t.EFF(0),2&q){const Ae=t.XpG(4).$implicit;t.SpI(" ",Ae.value," ")}}function nt(q,it){if(1&q&&t.DNE(0,Je,2,2,"p",56)(1,Qe,1,1,"ng-template",null,4,t.C5r),2&q){const Ae=t.sdS(2),mt=t.XpG(3).$implicit,It=t.XpG(4);t.Y8G("ngIf",mt.value===It.goToFieldValue)("ngIfElse",Ae)}}function Ue(q,it){if(1&q&&(t.qex(0),t.DNE(1,ke,3,5,"p",52)(2,nt,3,2,"ng-template",null,3,t.C5r),t.bVm()),2&q){const Ae=t.sdS(3),mt=t.XpG(2).$implicit,It=t.XpG(4);t.R7$(),t.Y8G("ngIf","SWAP"===It.data.openedBy&&"state"===mt.key)("ngIfElse",Ae)}}function ht(q,it){if(1&q){const Ae=t.RV6();t.j41(0,"fa-icon",58),t.bIt("click",function(){t.eBV(Ae);const It=t.XpG(2).$implicit,Ci=t.XpG(4);return t.Njj(Ci.onExplorerClicked(It))}),t.k0s()}if(2&q){const Ae=t.XpG(6);t.FS9("matTooltip","Link to "+Ae.selNode.settings.blockExplorerUrl),t.Y8G("icon",Ae.faUpRightFromSquare)}}function tt(q,it){if(1&q&&(t.j41(0,"span")(1,"span",46),t.DNE(2,et,3,1,"ng-container",47)(3,Ke,3,4,"ng-container",47)(4,Ct,3,4,"ng-container",47)(5,_t,2,1,"ng-container",47)(6,Ue,4,2,"ng-container",48),t.j41(7,"span"),t.DNE(8,ht,1,2,"fa-icon",49),t.k0s()()()),2&q){const Ae=t.XpG().$implicit,mt=t.XpG(4);t.R7$(),t.Y8G("ngSwitch",Ae.type),t.R7$(),t.Y8G("ngSwitchCase",mt.dataTypeEnum.ARRAY),t.R7$(),t.Y8G("ngSwitchCase",mt.dataTypeEnum.DATE_TIME),t.R7$(),t.Y8G("ngSwitchCase",mt.dataTypeEnum.NUMBER),t.R7$(),t.Y8G("ngSwitchCase",mt.dataTypeEnum.BOOLEAN),t.R7$(3),t.Y8G("ngIf",Ae.explorerLink&&""!==Ae.explorerLink)}}function wt(q,it){1&q&&(t.j41(0,"span",59),t.EFF(1,"\xa0"),t.k0s())}function ut(q,it){if(1&q&&(t.j41(0,"div",42)(1,"h4",43),t.EFF(2),t.k0s(),t.DNE(3,tt,9,6,"span",44)(4,wt,2,0,"ng-template",null,2,t.C5r),t.nrm(6,"mat-divider",45),t.k0s()),2&q){const Ae=it.$implicit,mt=t.sdS(5);t.FS9("fxFlex.gt-md",Ae.width),t.R7$(2),t.JRh(Ae.title),t.R7$(),t.Y8G("ngIf",Ae&&(!!Ae.value||0===Ae.value))("ngIfElse",mt)}}function vt(q,it){if(1&q&&(t.j41(0,"div")(1,"div",40),t.DNE(2,ut,7,4,"div",41),t.k0s()()),2&q){const Ae=it.$implicit;t.R7$(2),t.Y8G("ngForOf",Ae)}}function Ze(q,it){if(1&q&&(t.j41(0,"div",38),t.DNE(1,vt,3,1,"div",39),t.k0s()),2&q){const Ae=t.XpG(2);t.R7$(),t.Y8G("ngForOf",Ae.messageObjs)}}function jt(q,it){if(1&q&&(t.j41(0,"div",32)(1,"div",33),t.DNE(2,se,1,3,"qr-code",7),t.k0s(),t.j41(3,"div",34),t.DNE(4,fe,2,1,"p",35)(5,Ze,2,1,"div",36),t.k0s()()),2&q){const Ae=t.XpG();t.R7$(),t.Y8G("ngClass",t.eq3(4,r,""===Ae.showQRField||Ae.screenSize!==Ae.screenSizeEnum.XS&&Ae.screenSize!==Ae.screenSizeEnum.SM)),t.R7$(),t.Y8G("ngIf",""!==Ae.showQRField),t.R7$(2),t.Y8G("ngIf",Ae.data.titleMessage),t.R7$(),t.Y8G("ngIf",(null==Ae.messageObjs?null:Ae.messageObjs.length)>0)}}let qe=(()=>{class q{set container(Ae){Ae&&(this.scrollContainer=Ae,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",mt=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",mt=>{this.scrollDirection="DOWN"})))}constructor(Ae,mt,It,Ci,un,Dn,Hn,On){this.dialogRef=Ae,this.data=mt,this.logger=It,this.snackBar=Ci,this.commonService=un,this.renderer=Dn,this.router=Hn,this.store=On,this.faUpRightFromSquare=U.k02,this.LoopStateEnum=y.Hx,this.goToFieldValue="",this.goToName="",this.goToLink="",this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=y.A$,this.dataTypeEnum=y.UN,this.screenSize="",this.screenSizeEnum=y.f7,this.scrollDirection="DOWN",this.shouldScroll=!0,this.unSubs=[new C.B,new C.B]}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===y.A$.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.messageObjs),this.store.select(G._c).pipe((0,w.Q)(this.unSubs[0])).subscribe(Ae=>{this.selNode=Ae,this.logger.info(this.selNode)})}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(Ae){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+Ae)}onClose(){this.dialogRef.close(!1)}onGoToLink(){this.router.navigateByUrl(this.goToLink,{state:{lookupType:"0",lookupValue:this.goToFieldValue}}),this.onClose()}onExplorerClicked(Ae){window.open(this.selNode.settings.blockExplorerUrl+"/"+Ae.explorerLink+"/"+Ae.value,"_blank")}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd(),this.unSubs.forEach(Ae=>{Ae.next(null),Ae.complete()})}static{this.\u0275fac=function(mt){return new(mt||q)(t.rXU(T.CP),t.rXU(T.Vh),t.rXU(Y.gP),t.rXU($.UG),t.rXU(Z.h),t.rXU(t.sFG),t.rXU(ie.Ix),t.rXU(ve.il))}}static{this.\u0275cmp=t.VBU({type:q,selectors:[["rtl-alert-message"]],viewQuery:function(mt,It){if(1&mt&&t.GBs(_,5),2&mt){let Ci;t.mGM(Ci=t.lsd())&&(It.container=Ci.first)}},decls:21,vars:14,consts:[["contentBlock",""],["scrollContainer",""],["emptyField",""],["noStyleBlock",""],["noStyleChild",""],["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"],[3,"value","size","errorCorrectionLevel"],[1,"padding-gap-x-large",3,"perfectScrollbar","ngClass"],[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"],["class","arrow-downward","fxLayoutAlign","center center",4,"ngIf"],["class","arrow-upward","fxLayoutAlign","center center",4,"ngIf"],["fxLayoutAlign","center center",1,"arrow-downward"],["fxLayoutAlign","center center",1,"arrow-upward"],["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,"copied","payload"],["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"],[1,"w-100","my-1"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start stretch",1,"foreground-secondary-text",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","ml-1 fa-icon-primary",3,"matTooltip","icon","click",4,"ngIf"],["class","display-block w-100",3,"innerHTML",4,"ngFor","ngForOf"],[1,"display-block","w-100",3,"innerHTML"],["fxLayout","row",3,"ngClass",4,"ngIf","ngIfElse"],["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"],["tabindex","4","fxLayout","row",1,"go-to-link",3,"click","matTooltip"],[1,"ml-1","fa-icon-primary",3,"click","matTooltip","icon"],["fxFlex","100",1,"foreground-secondary-text"]],template:function(mt,It){if(1&mt){const Ci=t.RV6();t.j41(0,"div",5)(1,"div",6),t.DNE(2,N,1,3,"qr-code",7),t.k0s(),t.j41(3,"div",8)(4,"mat-card-header",9)(5,"div",10)(6,"span",11),t.EFF(7),t.k0s()(),t.j41(8,"button",12),t.bIt("click",function(){return t.eBV(Ci),t.Njj(It.onClose())}),t.EFF(9,"X"),t.k0s()(),t.DNE(10,Ie,4,4,"ng-container",13)(11,Ye,3,1,"ng-container",13)(12,te,4,2,"div",14),t.j41(13,"div",15),t.DNE(14,oe,2,1,"button",16)(15,_e,2,1,"button",17)(16,de,2,2,"button",18)(17,pe,2,1,"button",17)(18,We,2,2,"button",18),t.k0s()()(),t.DNE(19,jt,6,6,"ng-template",null,0,t.C5r)}2&mt&&(t.R7$(),t.Y8G("ngClass",t.eq3(12,r,""===It.showQRField||It.screenSize===It.screenSizeEnum.XS||It.screenSize===It.screenSizeEnum.SM)),t.R7$(),t.Y8G("ngIf",""!==It.showQRField),t.R7$(),t.Y8G("fxFlex",""===It.showQRField||It.screenSize===It.screenSizeEnum.XS||It.screenSize===It.screenSizeEnum.SM?"100":"70"),t.R7$(4),t.JRh(It.data.alertTitle||It.alertTypeEnum[It.data.type]),t.R7$(3),t.Y8G("ngIf",It.data.scrollable),t.R7$(),t.Y8G("ngIf",!It.data.scrollable),t.R7$(),t.Y8G("ngIf",It.data.scrollable&&It.shouldScroll),t.R7$(2),t.Y8G("ngIf",(!It.showQRField||""===It.showQRField)&&""===It.showCopyName),t.R7$(),t.Y8G("ngIf",""!==It.showCopyName),t.R7$(),t.Y8G("ngIf",""!==It.showCopyName),t.R7$(),t.Y8G("ngIf",""!==It.showQRField),t.R7$(),t.Y8G("ngIf",""!==It.showQRField))},dependencies:[ae.YU,ae.Sq,ae.bT,ae.T3,ae.ux,ae.e1,ae.fG,ye.aY,k.DJ,k.sA,k.UI,ue.PW,T.tx,be.$z,be.$0,D.m2,D.MM,n.An,c.q,f.oV,h.Um,M.Ld,L.U,O.N,ae.QX,ae.vh],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}}return q})();var dt=p(1771),Le=p(9417),Vt=p(9631),Zt=p(6467),Et=p(6114);function je(q,it){if(1&q&&(t.j41(0,"div",20),t.nrm(1,"fa-icon",21),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&q){const Ae=t.XpG();t.R7$(),t.Y8G("icon",Ae.faExclamationTriangle),t.R7$(2),t.JRh(Ae.warningMessage)}}function me(q,it){if(1&q&&(t.j41(0,"div",22),t.nrm(1,"fa-icon",21),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&q){const Ae=t.XpG();t.R7$(),t.Y8G("icon",Ae.faInfoCircle),t.R7$(2),t.JRh(Ae.informationMessage)}}function xe(q,it){if(1&q&&(t.j41(0,"p",23),t.EFF(1),t.k0s()),2&q){const Ae=t.XpG();t.R7$(),t.JRh(Ae.data.titleMessage)}}function ce(q,it){1&q&&t.nrm(0,"div",37),2&q&&t.Y8G("innerHTML",it.$implicit,t.npT)}function Me(q,it){if(1&q&&(t.qex(0,35),t.DNE(1,ce,1,1,"div",36),t.bVm()),2&q){const Ae=t.XpG(2).$implicit;t.R7$(),t.Y8G("ngForOf",Ae.value)}}function Xe(q,it){if(1&q&&(t.qex(0),t.EFF(1),t.nI1(2,"date"),t.bVm()),2&q){const Ae=t.XpG(2).$implicit;t.R7$(),t.JRh(t.i5U(2,1,1e3*Ae.value,"dd/MMM/y HH:mm"))}}function Pe(q,it){if(1&q&&(t.qex(0),t.EFF(1),t.nI1(2,"number"),t.bVm()),2&q){const Ae=t.XpG(2).$implicit;t.R7$(),t.JRh(t.i5U(2,1,Ae.value,"1.0-3"))}}function Oe(q,it){if(1&q&&(t.qex(0),t.EFF(1),t.bVm()),2&q){const Ae=t.XpG(2).$implicit;t.R7$(),t.JRh(!0===Ae.value?"True":"False")}}function we(q,it){if(1&q&&(t.qex(0),t.EFF(1),t.bVm()),2&q){const Ae=t.XpG(2).$implicit;t.R7$(),t.JRh(Ae.value)}}function De(q,it){if(1&q&&(t.j41(0,"span")(1,"span",31),t.DNE(2,Me,2,1,"ng-container",32)(3,Xe,3,4,"ng-container",33)(4,Pe,3,4,"ng-container",33)(5,Oe,2,1,"ng-container",33)(6,we,2,1,"ng-container",34),t.k0s()()),2&q){const Ae=t.XpG().$implicit,mt=t.XpG(3);t.R7$(),t.Y8G("ngSwitch",Ae.type),t.R7$(),t.Y8G("ngSwitchCase",mt.dataTypeEnum.ARRAY),t.R7$(),t.Y8G("ngSwitchCase",mt.dataTypeEnum.DATE_TIME),t.R7$(),t.Y8G("ngSwitchCase",mt.dataTypeEnum.NUMBER),t.R7$(),t.Y8G("ngSwitchCase",mt.dataTypeEnum.BOOLEAN)}}function $e(q,it){1&q&&(t.j41(0,"span",38),t.EFF(1,"\xa0"),t.k0s())}function $t(q,it){if(1&q&&(t.j41(0,"div",27)(1,"h4",28),t.EFF(2),t.k0s(),t.DNE(3,De,7,5,"span",29)(4,$e,2,0,"ng-template",null,0,t.C5r),t.nrm(6,"mat-divider",30),t.k0s()),2&q){const Ae=it.$implicit,mt=t.sdS(5);t.FS9("fxFlex.gt-md",Ae.width),t.R7$(2),t.JRh(Ae.title),t.R7$(),t.Y8G("ngIf",Ae&&(!!Ae.value||0===Ae.value))("ngIfElse",mt)}}function Ft(q,it){if(1&q&&(t.j41(0,"div")(1,"div",25),t.DNE(2,$t,7,4,"div",26),t.k0s()()),2&q){const Ae=it.$implicit;t.R7$(2),t.Y8G("ngForOf",Ae)}}function Kt(q,it){if(1&q&&(t.j41(0,"div"),t.DNE(1,Ft,3,1,"div",24),t.k0s()),2&q){const Ae=t.XpG();t.R7$(),t.Y8G("ngForOf",Ae.messageObjs)}}function fi(q,it){if(1&q&&(t.j41(0,"p",23),t.EFF(1),t.k0s()),2&q){const Ae=t.XpG(2);t.R7$(),t.JRh(Ae.data.titleMessage)}}function Qt(q,it){if(1&q&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&q){const Ae=t.XpG(2).$implicit;t.R7$(),t.SpI("",Ae.placeholder," is required.")}}function zt(q,it){if(1&q){const Ae=t.RV6();t.j41(0,"mat-form-field",42)(1,"mat-label"),t.EFF(2),t.k0s(),t.j41(3,"input",43),t.nI1(4,"lowercase"),t.mxI("ngModelChange",function(It){t.eBV(Ae);const Ci=t.XpG().$implicit;return t.DH7(Ci.inputValue,It)||(Ci.inputValue=It),t.Njj(It)}),t.k0s(),t.DNE(5,Qt,2,1,"mat-error",13),t.j41(6,"mat-hint"),t.EFF(7),t.k0s()()}if(2&q){const Ae=t.XpG(),mt=Ae.$implicit,It=Ae.index;t.Y8G("fxFlex",mt.width),t.R7$(2),t.JRh(mt.placeholder),t.R7$(),t.Mz_("name","input",It,""),t.Y8G("autoFocus",0===It)("min",mt.min)("step",mt.step)("type",t.bMT(4,12,mt.inputType))("tabindex",It+1),t.R50("ngModel",mt.inputValue),t.R7$(2),t.Y8G("ngIf",!mt.inputValue),t.R7$(2),t.JRh(mt.hintFunction?mt.hintFunction(mt.inputValue):mt.hintText)}}function Xi(q,it){if(1&q&&(t.qex(0),t.DNE(1,zt,8,14,"mat-form-field",41),t.bVm()),2&q){const Ae=it.$implicit,mt=t.XpG(2);t.R7$(),t.Y8G("ngIf",!Ae.advancedField||mt.showAdvanced)}}function ci(q,it){if(1&q&&(t.j41(0,"div",39),t.DNE(1,fi,2,1,"p",12),t.j41(2,"div",40),t.DNE(3,Xi,2,1,"ng-container",24),t.k0s()()),2&q){const Ae=t.XpG();t.R7$(),t.Y8G("ngIf",Ae.data.titleMessage),t.R7$(2),t.Y8G("ngForOf",Ae.getInputs)}}function ui(q,it){1&q&&(t.j41(0,"p"),t.EFF(1,"Show Advanced"),t.k0s())}function bn(q,it){1&q&&(t.j41(0,"p"),t.EFF(1,"Hide Advanced"),t.k0s())}function Qi(q,it){if(1&q){const Ae=t.RV6();t.j41(0,"button",44),t.bIt("click",function(){t.eBV(Ae);const It=t.XpG();return t.Njj(It.onShowAdvanced())}),t.DNE(1,ui,2,0,"p",29)(2,bn,2,0,"ng-template",null,1,t.C5r),t.k0s()}if(2&q){const Ae=t.sdS(3),mt=t.XpG();t.R7$(),t.Y8G("ngIf",!mt.showAdvanced)("ngIfElse",Ae)}}function Li(q,it){if(1&q){const Ae=t.RV6();t.j41(0,"button",45),t.bIt("click",function(){t.eBV(Ae);const It=t.XpG();return t.Njj(It.onClose(It.getInputs))}),t.EFF(1),t.k0s()}if(2&q){const Ae=t.XpG();t.R7$(),t.JRh(Ae.yesBtnText)}}function nn(q,it){if(1&q){const Ae=t.RV6();t.j41(0,"button",46),t.bIt("click",function(){t.eBV(Ae);const It=t.XpG();return t.Njj(It.onClose(!0))}),t.EFF(1),t.k0s()}if(2&q){const Ae=t.XpG();t.R7$(),t.JRh(Ae.yesBtnText)}}let st=(()=>{class q{constructor(Ae,mt,It,Ci){this.dialogRef=Ae,this.data=mt,this.logger=It,this.store=Ci,this.faInfoCircle=U.iW_,this.faExclamationTriangle=U.zpE,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=y.A$,this.dataTypeEnum=y.UN,this.getInputs=[{placeholder:"",inputType:y.UN.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===y.A$.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection")}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onClose(Ae){if(Ae&&this.getInputs&&this.getInputs.some(mt=>typeof mt.inputValue>"u"))return!0;!this.showAdvanced&&Ae.length&&(Ae=Ae?.reduce((mt,It)=>(It.advancedField||mt.push(It),mt),[])),this.store.dispatch((0,dt.uP)({payload:Ae}))}static{this.\u0275fac=function(mt){return new(mt||q)(t.rXU(T.CP),t.rXU(T.Vh),t.rXU(Y.gP),t.rXU(ve.il))}}static{this.\u0275cmp=t.VBU({type:q,selectors:[["rtl-confirmation-message"]],decls:21,vars:10,consts:[["emptyField",""],["hideAdvancedText",""],["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"],[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,"ngModelChange","autoFocus","name","min","step","type","tabindex","ngModel"],["mat-button","","color","primary","type","button","tabindex","2",1,"mr-1",3,"click"],["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(mt,It){1&mt&&(t.j41(0,"div",2)(1,"div",3)(2,"mat-card-header",4)(3,"div",5)(4,"span",6),t.EFF(5),t.k0s()(),t.j41(6,"button",7),t.bIt("click",function(){return It.onClose(!1)}),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",8)(9,"form",9),t.DNE(10,je,4,2,"div",10)(11,me,4,2,"div",11)(12,xe,2,1,"p",12)(13,Kt,2,1,"div",13)(14,ci,4,2,"div",14),t.j41(15,"div",15)(16,"button",16),t.bIt("click",function(){return It.onClose(!1)}),t.EFF(17),t.k0s(),t.DNE(18,Qi,4,2,"button",17)(19,Li,2,1,"button",18)(20,nn,2,1,"button",19),t.k0s()()()()()),2&mt&&(t.R7$(5),t.JRh(It.data.alertTitle||It.alertTypeEnum[It.data.type]),t.R7$(5),t.Y8G("ngIf",It.warningMessage&&""!==It.warningMessage),t.R7$(),t.Y8G("ngIf",It.informationMessage&&""!==It.informationMessage),t.R7$(),t.Y8G("ngIf",It.data.titleMessage&&!It.flgShowInput),t.R7$(),t.Y8G("ngIf",(null==It.messageObjs?null:It.messageObjs.length)>0),t.R7$(),t.Y8G("ngIf",It.flgShowInput),t.R7$(3),t.JRh(It.noBtnText),t.R7$(),t.Y8G("ngIf",It.hasAdvanced),t.R7$(),t.Y8G("ngIf",It.flgShowInput),t.R7$(),t.Y8G("ngIf",!It.flgShowInput))},dependencies:[ae.Sq,ae.bT,ae.ux,ae.e1,ae.fG,Le.qT,Le.me,Le.BC,Le.cb,Le.YS,Le.vS,Le.cV,ye.aY,k.DJ,k.sA,k.UI,be.$z,D.m2,D.MM,Vt.fg,Zt.rl,Zt.nJ,Zt.MV,Zt.TL,c.q,O.N,Et.V,ae.GH,ae.QX,ae.vh]})}}return q})();var ii=p(2462),Se=p(2798),Mt=p(6600);const Pt=q=>({"display-none":q});function ai(q,it){if(1&q&&(t.j41(0,"mat-option",23),t.EFF(1),t.k0s()),2&q){const Ae=it.$implicit;t.Y8G("value",Ae),t.R7$(),t.SpI(" ",Ae.infoName," ")}}function Ei(q,it){if(1&q){const Ae=t.RV6();t.j41(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),t.mxI("valueChange",function(It){t.eBV(Ae);const Ci=t.XpG();return t.DH7(Ci.selInfoType,It)||(Ci.selInfoType=It),t.Njj(It)}),t.DNE(3,ai,2,2,"mat-option",22),t.k0s()()()}if(2&q){const Ae=t.XpG();t.R7$(2),t.R50("value",Ae.selInfoType),t.R7$(),t.Y8G("ngForOf",Ae.infoTypes)}}let Hi=(()=>{class q{constructor(Ae,mt,It,Ci,un){this.dialogRef=Ae,this.data=mt,this.logger=It,this.snackBar=Ci,this.commonService=un,this.faReceipt=U.Mf0,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=y.f7}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((Ae,mt)=>{this.infoTypes.push({infoID:mt+1,infoKey:"node URI "+(mt+1),infoName:"Node URI "+(mt+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(Ae){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+Ae)}static{this.\u0275fac=function(mt){return new(mt||q)(t.rXU(T.CP),t.rXU(T.Vh),t.rXU(Y.gP),t.rXU($.UG),t.rXU(Z.h))}}static{this.\u0275cmp=t.VBU({type:q,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,"copied","payload"],["fxLayout","column","fxFlex","100","fxFlex.gt-sm","40","fxLayoutAlign","start end"],["tabindex","1",3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(mt,It){1&mt&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"qr-code",2),t.k0s(),t.j41(3,"div",3)(4,"mat-card-header",4)(5,"div",5),t.nrm(6,"fa-icon",6),t.j41(7,"span",7),t.EFF(8),t.k0s()(),t.j41(9,"button",8),t.bIt("click",function(){return It.onClose()}),t.EFF(10,"X"),t.k0s()(),t.j41(11,"mat-card-content",9)(12,"div",10)(13,"div",11),t.nrm(14,"qr-code",2),t.k0s(),t.DNE(15,Ei,4,2,"div",12),t.j41(16,"div",13)(17,"div",14)(18,"h4",15),t.EFF(19),t.k0s(),t.j41(20,"span",16),t.EFF(21),t.k0s()()(),t.nrm(22,"mat-divider",17),t.j41(23,"div",18)(24,"button",19),t.bIt("copied",function(un){return It.onCopyPubkey(un)}),t.EFF(25),t.k0s()()()()()()),2&mt&&(t.R7$(),t.Y8G("ngClass",t.eq3(15,Pt,It.screenSize===It.screenSizeEnum.XS||It.screenSize===It.screenSizeEnum.SM)),t.R7$(),t.FS9("value",0===It.selInfoType.infoID?It.information.identity_pubkey:It.information.uris[It.selInfoType.infoID-1]),t.Y8G("size",It.qrWidth)("errorCorrectionLevel","L"),t.R7$(4),t.Y8G("icon",It.faReceipt),t.R7$(2),t.JRh(It.selInfoType.infoName),t.R7$(5),t.Y8G("ngClass",t.eq3(17,Pt,It.screenSize!==It.screenSizeEnum.XS&&It.screenSize!==It.screenSizeEnum.SM)),t.R7$(),t.FS9("value",0===It.selInfoType.infoID?It.information.identity_pubkey:It.information.uris[It.selInfoType.infoID-1]),t.Y8G("size",It.qrWidth)("errorCorrectionLevel","L"),t.R7$(),t.Y8G("ngIf",It.information.uris&&It.information.uris.length>0),t.R7$(4),t.JRh(It.selInfoType.infoName),t.R7$(2),t.JRh(0===It.selInfoType.infoID?It.information.identity_pubkey:It.information.uris[It.selInfoType.infoID-1]),t.R7$(3),t.FS9("payload",0===It.selInfoType.infoID?It.information.identity_pubkey:It.information.uris[It.selInfoType.infoID-1]),t.R7$(),t.SpI("Copy ",It.selInfoType.infoKey,""))},dependencies:[ae.YU,ae.Sq,ae.bT,ye.aY,k.DJ,k.sA,k.UI,ue.PW,be.$z,D.m2,D.MM,Zt.rl,c.q,Se.VO,Mt.wT,h.Um,L.U,O.N]})}}return q})();var $i=p(190),hn=p(8430),Fi=p(5428),_n=p(1626),mn=p(7879),Dt=p(3202),ct=p(1534);let Bt=(()=>{class q{constructor(Ae,mt,It,Ci,un,Dn,Hn,On,Xn,ir,Fn){this.actions=Ae,this.httpClient=mt,this.store=It,this.logger=Ci,this.wsService=un,this.sessionService=Dn,this.commonService=Hn,this.dataService=On,this.dialog=Xn,this.snackBar=ir,this.router=Fn,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new C.B,new C.B],this.closeAllDialogs=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.CLOSE_ALL_DIALOGS),(0,l.T)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.OPEN_SNACK_BAR),(0,l.T)(pi=>{"string"==typeof pi.payload?this.snackBar.open(pi.payload):this.snackBar.open(pi.payload.message,"","ERROR"===pi.payload.type?{duration:pi.payload.duration?pi.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===pi.payload.type?{duration:pi.payload.duration?pi.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:pi.payload.duration?pi.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.OPEN_SPINNER),(0,l.T)(pi=>{pi.payload!==y.MZ.NO_SPINNER&&(this.dialogRef=this.dialog.open(V,{panelClass:"spinner-dialog-panel",data:{titleMessage:pi.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.CLOSE_SPINNER),(0,l.T)(pi=>{if(pi.payload!==y.MZ.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===pi.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(Oi=>{Oi.componentInstance&&Oi.componentInstance.data&&Oi.componentInstance.data.titleMessage&&Oi.componentInstance.data.titleMessage===pi.payload&&Oi.close()})}catch(Oi){this.logger.error(Oi)}})),{dispatch:!1}),this.openAlert=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.OPEN_ALERT),(0,l.T)(pi=>{const Oi=JSON.parse(JSON.stringify(pi.payload));Oi.width||(Oi.width=this.alertWidth),this.dialogRef=this.dialog.open(pi.payload.data.component?pi.payload.data.component:qe,Oi)})),{dispatch:!1}),this.closeAlert=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.CLOSE_ALERT),(0,l.T)(pi=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(pi.payload),pi.payload))),{dispatch:!1}),this.openConfirm=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.OPEN_CONFIRMATION),(0,l.T)(pi=>{const Oi=JSON.parse(JSON.stringify(pi.payload));Oi.width||(Oi.width=this.confirmWidth),this.dialogRef=this.dialog.open(st,Oi)})),{dispatch:!1}),this.closeConfirm=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.CLOSE_CONFIRMATION),(0,x.s)(1),(0,l.T)(pi=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(pi.payload),pi.payload))),{dispatch:!1}),this.showNodePubkey=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.SHOW_PUBKEY),(0,m.E)(this.store.select(G.N)),(0,R.Z)(([pi,Oi])=>(this.sessionService.getItem("token")&&Oi.identity_pubkey?this.store.dispatch((0,dt.xO)({payload:{data:{information:Oi,component:Hi}}})):this.snackBar.open("Node Pubkey does not exist."),(0,S.of)({type:y.aU.VOID}))))),this.appConfigFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.FETCH_APPLICATION_SETTINGS),(0,R.Z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===y.f7.XS||this.screenSize===y.f7.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===y.f7.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="50%",this.confirmWidth="53%"),this.store.dispatch((0,dt.mt)({payload:y.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,dt.Gd)({payload:{action:"FetchRTLConfig",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.CONF_API))),(0,l.T)(pi=>{this.logger.info(pi),this.store.dispatch((0,dt.y0)({payload:y.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,dt.Gd)({payload:{action:"FetchRTLConfig",status:y.wn.COMPLETED}}));let Oi=null;return pi.nodes.forEach(Yt=>{Yt.settings.currencyUnits=[...y.A0,Yt.settings?.currencyUnit?Yt.settings?.currencyUnit:""],+(Yt.index||-1)===pi.selectedNodeIndex&&(Oi=Yt)}),Oi?(this.store.dispatch((0,dt.Qi)({payload:{uiMessage:y.MZ.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:Oi,isInitialSetup:!0}})),{type:y.aU.SET_APPLICATION_SETTINGS,payload:pi}):{type:y.aU.VOID}}),(0,d.W)(pi=>(this.handleErrorWithAlert("FetchRTLConfig",y.MZ.GET_RTL_CONFIG,"Fetch RTL Config Failed!",y.rl.CONF_API,pi),(0,S.of)({type:y.aU.VOID}))))),this.updateNodeSettings=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.UPDATE_NODE_SETTINGS),(0,R.Z)(pi=>(this.store.dispatch((0,dt.mt)({payload:y.MZ.UPDATE_NODE_SETTINGS})),this.store.dispatch((0,dt.Gd)({payload:{action:"updateNodeSettings",status:y.wn.INITIATED}})),pi.payload.settings.fiatConversion||delete pi.payload.settings.currencyUnit,delete pi.payload.settings.currencyUnits,this.httpClient.post(y.rl.CONF_API+"/node",pi.payload).pipe((0,l.T)(Oi=>(this.store.dispatch((0,dt.Gd)({payload:{action:"updateNodeSettings",status:y.wn.COMPLETED}})),this.store.dispatch((0,dt.y0)({payload:y.MZ.UPDATE_NODE_SETTINGS})),Oi.settings.currencyUnits=[...y.A0,Oi.settings?.currencyUnit?Oi.settings?.currencyUnit:""],this.store.dispatch((0,dt.Np)({payload:Oi})),{type:y.aU.OPEN_SNACK_BAR,payload:"Node settings updated successfully!"})),(0,d.W)(Oi=>(this.handleErrorWithAlert("updateNodeSettings",y.MZ.UPDATE_NODE_SETTINGS,"Update Node Settings Failed!",y.rl.CONF_API+"/node",Oi),(0,S.of)({type:y.aU.VOID})))))))),this.updateApplicationSettings=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.UPDATE_APPLICATION_SETTINGS),(0,R.Z)(pi=>(this.store.dispatch((0,dt.mt)({payload:y.MZ.UPDATE_APPLICATION_SETTINGS})),this.store.dispatch((0,dt.Gd)({payload:{action:"updateApplicationSettings",status:y.wn.INITIATED}})),pi.payload.config.nodes.forEach(Oi=>{delete Oi.settings.currencyUnits}),this.httpClient.post(y.rl.CONF_API+"/application",pi.payload.config).pipe((0,l.T)(Oi=>(this.store.dispatch((0,dt.Gd)({payload:{action:"updateApplicationSettings",status:y.wn.COMPLETED}})),this.store.dispatch((0,dt.y0)({payload:y.MZ.UPDATE_APPLICATION_SETTINGS})),pi.payload.showSnackBar&&this.store.dispatch((0,dt.UI)({payload:pi.payload.message})),{type:y.aU.SET_APPLICATION_SETTINGS,payload:Oi})),(0,d.W)(Oi=>(this.handleErrorWithAlert("updateApplicationSettings",y.MZ.UPDATE_APPLICATION_SETTINGS,"Update Application Settings Failed!",y.rl.CONF_API+"/application",Oi),(0,S.of)({type:y.aU.VOID})))))))),this.configFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.FETCH_CONFIG),(0,R.Z)(pi=>(this.store.dispatch((0,dt.mt)({payload:y.MZ.OPEN_CONFIG_FILE})),this.store.dispatch((0,dt.Gd)({payload:{action:"fetchConfig",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.CONF_API+"/config/"+pi.payload).pipe((0,l.T)(Oi=>(this.store.dispatch((0,dt.Gd)({payload:{action:"fetchConfig",status:y.wn.COMPLETED}})),this.store.dispatch((0,dt.y0)({payload:y.MZ.OPEN_CONFIG_FILE})),{type:y.aU.SHOW_CONFIG,payload:Oi})),(0,d.W)(Oi=>(this.handleErrorWithAlert("fetchConfig",y.MZ.OPEN_CONFIG_FILE,"Fetch Config Failed!",y.rl.CONF_API+"/config/"+pi.payload,Oi),(0,S.of)({type:y.aU.VOID})))))))),this.showLnConfig=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.SHOW_CONFIG),(0,l.T)(pi=>pi.payload)),{dispatch:!1}),this.isAuthorized=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.IS_AUTHORIZED),(0,R.Z)(pi=>(this.store.dispatch((0,dt.Gd)({payload:{action:"IsAuthorized",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API,{authenticateWith:pi.payload&&""!==pi.payload.trim()?y.U1.PASSWORD:y.U1.JWT,authenticationValue:pi.payload&&""!==pi.payload.trim()?pi.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,l.T)(Oi=>(this.logger.info(Oi),this.store.dispatch((0,dt.Gd)({payload:{action:"IsAuthorized",status:y.wn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:y.aU.IS_AUTHORIZED_RES,payload:Oi})),(0,d.W)(Oi=>(this.handleErrorWithAlert("IsAuthorized",y.MZ.NO_SPINNER,"Authorization Failed",y.rl.AUTHENTICATE_API,Oi),(0,S.of)({type:y.aU.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.IS_AUTHORIZED_RES),(0,l.T)(pi=>pi.payload)),{dispatch:!1}),this.authLogin=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.LOGIN),(0,m.E)(this.store.select(G.qv)),(0,R.Z)(([pi,Oi])=>(this.store.dispatch((0,$i.p1)()),this.store.dispatch((0,hn.gf)()),this.store.dispatch((0,Fi.Hh)()),this.store.dispatch((0,dt.Gd)({payload:{action:"Login",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API,{authenticateWith:pi.payload.password?y.U1.PASSWORD:y.U1.JWT,authenticationValue:pi.payload.password?pi.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:pi.payload.twoFAToken?pi.payload.twoFAToken:""}).pipe((0,l.T)(Yt=>{this.logger.info(Yt),this.store.dispatch((0,dt.Gd)({payload:{action:"Login",status:y.wn.COMPLETED}})),this.setLoggedInDetails(pi.payload.defaultPassword,Yt)}),(0,d.W)(Yt=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",y.MZ.NO_SPINNER,Yt),+Oi.SSO.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:Yt.error&&Yt.error.error?Yt.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"],{state:{logoutReason:Yt.error&&Yt.error.error?Yt.error.error:"Single Sign On Failed!"}}),(0,S.of)({type:y.aU.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.VERIFY_TWO_FA),(0,R.Z)(pi=>(this.store.dispatch((0,dt.mt)({payload:y.MZ.VERIFY_TOKEN})),this.store.dispatch((0,dt.Gd)({payload:{action:"VerifyToken",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API+"/token",{authentication2FA:pi.payload.token}).pipe((0,l.T)(Oi=>{this.logger.info(Oi),this.store.dispatch((0,dt.y0)({payload:y.MZ.VERIFY_TOKEN})),this.store.dispatch((0,dt.Gd)({payload:{action:"VerifyToken",status:y.wn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,pi.payload.authResponse)}),(0,d.W)(Oi=>(this.handleErrorWithAlert("VerifyToken",y.MZ.VERIFY_TOKEN,"Authorization Failed!",y.rl.AUTHENTICATE_API+"/token",Oi),(0,S.of)({type:y.aU.VOID}))))))),{dispatch:!1}),this.logOut=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.LOGOUT),(0,m.E)(this.store.select(G.qv)),(0,R.Z)(([pi,Oi])=>(this.store.dispatch((0,dt.mt)({payload:y.MZ.LOG_OUT})),Oi.SSO&&+Oi.SSO.rtlSSO?window.location.href=Oi.SSO.logoutRedirectLink:this.router.navigate(["./login"],{state:{logoutReason:pi.payload}}),this.sessionService.clearAll(),this.store.dispatch((0,dt.Fl)({payload:{}})),this.store.dispatch((0,dt.y0)({payload:y.MZ.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(y.rl.AUTHENTICATE_API+"/logout").pipe((0,l.T)(Yt=>{this.logger.info(Yt),this.store.dispatch((0,dt.y0)({payload:y.MZ.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,e.EH)(()=>this.actions.pipe((0,w.Q)(this.unSubs[1]),(0,e.gp)(y.aU.RESET_PASSWORD),(0,R.Z)(pi=>(this.store.dispatch((0,dt.Gd)({payload:{action:"ResetPassword",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API+"/reset",{currPassword:pi.payload.currPassword,newPassword:pi.payload.newPassword}).pipe((0,w.Q)(this.unSubs[0]),(0,l.T)(Oi=>(this.logger.info(Oi),this.store.dispatch((0,dt.Gd)({payload:{action:"ResetPassword",status:y.wn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,dt.UI)({payload:"Password Reset Successful!"})),this.SetToken(Oi.token),{type:y.aU.RESET_PASSWORD_RES,payload:Oi.token})),(0,d.W)(Oi=>(this.handleErrorWithAlert("ResetPassword",y.MZ.NO_SPINNER,"Password Reset Failed!",y.rl.AUTHENTICATE_API+"/reset",Oi),(0,S.of)({type:y.aU.VOID})))))))),this.setSelectedNode=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.SET_SELECTED_NODE),(0,R.Z)(pi=>(this.store.dispatch((0,dt.mt)({payload:pi.payload.uiMessage})),this.store.dispatch((0,dt.Gd)({payload:{action:"UpdateSelNode",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.CONF_API+"/updateSelNode/"+pi.payload.currentLnNode?.index+"/"+pi.payload.prevLnNodeIndex).pipe((0,l.T)(Oi=>(this.logger.info(Oi),this.store.dispatch((0,dt.Gd)({payload:{action:"UpdateSelNode",status:y.wn.COMPLETED}})),this.store.dispatch((0,dt.y0)({payload:pi.payload.uiMessage})),this.initializeNode(Oi,pi.payload.isInitialSetup),{type:y.aU.VOID})),(0,d.W)(Oi=>(this.handleErrorWithAlert("UpdateSelNode",pi.payload.uiMessage,"Update Selected Node Failed!",y.rl.CONF_API+"/updateSelNode",Oi),(0,S.of)({type:y.aU.VOID})))))))),this.fetchFile=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.FETCH_FILE),(0,R.Z)(pi=>{this.store.dispatch((0,dt.mt)({payload:y.MZ.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,dt.Gd)({payload:{action:"FetchFile",status:y.wn.INITIATED}}));const Oi="?channel="+pi.payload.channelPoint+(pi.payload.path?"&path="+pi.payload.path:"");return this.httpClient.get(y.rl.CONF_API+"/file"+Oi).pipe((0,l.T)(Yt=>(this.store.dispatch((0,dt.Gd)({payload:{action:"FetchFile",status:y.wn.COMPLETED}})),this.store.dispatch((0,dt.y0)({payload:y.MZ.DOWNLOAD_BACKUP_FILE})),{type:y.aU.SHOW_FILE,payload:Yt})),(0,d.W)(Yt=>(this.handleErrorWithAlert("fetchFile",y.MZ.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",y.rl.CONF_API+"/file"+Oi,{status:this.commonService.extractErrorNumber(Yt),error:{error:this.commonService.extractErrorCode(Yt)}}),(0,S.of)({type:y.aU.VOID}))))}))),this.showFile=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.aU.SHOW_FILE),(0,l.T)(pi=>pi.payload)),{dispatch:!1})}initializeNode(Ae,mt){this.logger.info("Initializing node from RTL Effects.");const It=mt?"":"HOME";if(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clnUnlocked"),this.sessionService.removeItem("eclUnlocked"),Ae.settings.currencyUnits=[...y.A0,Ae.settings?.currencyUnit?Ae.settings?.currencyUnit:""],this.store.dispatch((0,dt.Tn)({payload:Ae})),this.store.dispatch((0,$i.p1)()),this.store.dispatch((0,hn.gf)()),this.store.dispatch((0,Fi.Hh)()),this.sessionService.getItem("token")){const Ci=Ae.lnImplementation?Ae.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(Ci);const un=!(0,t.naY)()&&window.location.origin?window.location.origin+"/rtl/api":y.H$;switch(this.wsService.connectWebSocket(un?.replace(/^http/,"ws")+y.rl.Web_SOCKET_API,Ae.index?Ae.index.toString():"-1"),Ci){case"CLN":this.store.dispatch((0,hn.lg)()),this.store.dispatch((0,hn.Aw)({payload:{loadPage:It}}));break;case"ECL":this.store.dispatch((0,Fi.lg)()),this.store.dispatch((0,Fi.zR)({payload:{loadPage:It}}));break;default:this.store.dispatch((0,$i.lg)()),this.store.dispatch((0,$i.Br)({payload:{loadPage:It}}))}}}SetToken(Ae){Ae?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",Ae)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(Ae,mt){this.logger.info("Successfully Authorized!"),this.SetToken(mt.token),this.sessionService.setItem("defaultPassword",Ae),Ae?(this.store.dispatch((0,dt.UI)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,dt.NU)())}handleErrorWithoutAlert(Ae,mt,It){this.logger.error("ERROR IN: "+Ae+"\n"+JSON.stringify(It)),401===It.status&&"Login"!==Ae?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,dt.Jh)()),this.store.dispatch((0,dt.ri)({payload:"Authentication Failed: "+JSON.stringify(It.error)}))):(this.store.dispatch((0,dt.y0)({payload:mt})),this.store.dispatch((0,dt.Gd)({payload:{action:Ae,status:y.wn.ERROR,statusCode:It.status?It.status.toString():"",message:this.commonService.extractErrorMessage(It)}})))}handleErrorWithAlert(Ae,mt,It,Ci,un){if(this.logger.error(un),0===un.status&&un.statusText&&"Unknown Error"===un.statusText&&(un={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===un.status&&"Login"!==Ae)this.logger.info("Redirecting to Login"),this.store.dispatch((0,dt.Jh)()),this.store.dispatch((0,dt.ri)({payload:"Authentication Failed: "+JSON.stringify(un.error)}));else{this.store.dispatch((0,dt.y0)({payload:mt}));const Dn=this.commonService.extractErrorMessage(un);this.store.dispatch((0,dt.xO)({payload:{data:{type:"ERROR",alertTitle:It,message:{code:un.status?un.status:"Unknown Error",message:Dn,URL:Ci},component:ii.f}}})),this.store.dispatch((0,dt.Gd)({payload:{action:Ae,status:y.wn.ERROR,statusCode:un.status?un.status.toString():"",message:Dn,URL:Ci}}))}}ngOnDestroy(){this.unSubs.forEach(Ae=>{Ae.next(null),Ae.complete()})}static{this.\u0275fac=function(mt){return new(mt||q)(t.KVO(e.En),t.KVO(_n.Qq),t.KVO(ve.il),t.KVO(Y.gP),t.KVO(mn.I),t.KVO(Dt.Q),t.KVO(Z.h),t.KVO(ct.u),t.KVO(T.bZ),t.KVO($.UG),t.KVO(ie.Ix))}}static{this.\u0275prov=t.jDH({token:q,factory:q.\u0275fac})}}return q})()},9647:(Ve,ee,p)=>{"use strict";p.d(ee,{Az:()=>d,E2:()=>R,Kq:()=>m,N:()=>x,_c:()=>S,qv:()=>l});var t=p(9640);const e=(0,t.UX)("root"),S=((0,t.Mz)(e,w=>w.apiURL),(0,t.Mz)(e,w=>w.selNode)),l=(0,t.Mz)(e,w=>w.appConfig),x=(0,t.Mz)(e,w=>w.nodeData),m=(0,t.Mz)(e,w=>w.apisCallStatus.Login),R=(0,t.Mz)(e,w=>w.apisCallStatus.IsAuthorized),d=(0,t.Mz)(e,w=>({nodeDate:w.nodeData,selNode:w.selNode}))},3471:(Ve,ee,p)=>{"use strict";var t=p(345),e=p(4438),C=p(9969);function l(P){return new e.wOt(3e3,!1)}function at(P){switch(P.length){case 0:return new C.sf;case 1:return P[0];default:return new C.ui(P)}}function Ye(P,B,b=new Map,W=new Map){const X=[],Fe=[];let Lt=-1,kt=null;if(B.forEach(ri=>{const oi=ri.get("offset"),Bi=oi==Lt,Ti=Bi&&kt||new Map;ri.forEach((dn,vn)=>{let Wi=vn,Yi=dn;if("offset"!==vn)switch(Wi=P.normalizePropertyName(Wi,X),Yi){case C.FX:Yi=b.get(vn);break;case C.kp:Yi=W.get(vn);break;default:Yi=P.normalizeStyleValue(vn,Wi,Yi,X)}Ti.set(Wi,Yi)}),Bi||Fe.push(Ti),kt=Ti,Lt=oi}),X.length)throw function c(P){return new e.wOt(3502,!1)}();return Fe}function rt(P,B,b,W){switch(B){case"start":P.onStart(()=>W(b&&re(b,"start",P)));break;case"done":P.onDone(()=>W(b&&re(b,"done",P)));break;case"destroy":P.onDestroy(()=>W(b&&re(b,"destroy",P)))}}function re(P,B,b){const Fe=te(P.element,P.triggerName,P.fromState,P.toState,B||P.phaseName,b.totalTime??P.totalTime,!!b.disabled),Lt=P._data;return null!=Lt&&(Fe._data=Lt),Fe}function te(P,B,b,W,X="",Fe=0,Lt){return{element:P,triggerName:B,fromState:b,toState:W,phaseName:X,totalTime:Fe,disabled:!!Lt}}function oe(P,B,b){let W=P.get(B);return W||P.set(B,W=b),W}function _e(P){const B=P.indexOf(":");return[P.substring(1,B),P.slice(B+1)]}const de=typeof document>"u"?null:document.documentElement;function pe(P){const B=P.parentNode||P.host||null;return B===de?null:B}let se=null,fe=!1;function Ct(P,B){for(;B;){if(B===P)return!0;B=pe(B)}return!1}function _t(P,B,b){if(b)return Array.from(P.querySelectorAll(B));const W=P.querySelector(B);return W?[W]:[]}let ke=(()=>{class P{validateStyleProperty(b){return function he(P){se||(se=function Ke(){return typeof document<"u"?document.body:null}()||{},fe=!!se.style&&"WebkitAppearance"in se.style);let B=!0;return se.style&&!function We(P){return"ebkit"==P.substring(1,6)}(P)&&(B=P in se.style,!B&&fe&&(B="Webkit"+P.charAt(0).toUpperCase()+P.slice(1)in se.style)),B}(b)}containsElement(b,W){return Ct(b,W)}getParentElement(b){return pe(b)}query(b,W,X){return _t(b,W,X)}computeStyle(b,W,X){return X||""}animate(b,W,X,Fe,Lt,kt=[],ri){return new C.sf(X,Fe)}static{this.\u0275fac=function(W){return new(W||P)}}static{this.\u0275prov=e.jDH({token:P,factory:P.\u0275fac})}}return P})();class Je{static{this.NOOP=new ke}}class Qe{}const Ue=1e3,wt="ng-enter",ut="ng-leave",vt="ng-trigger",Ze=".ng-trigger",jt="ng-animating",qe=".ng-animating";function dt(P){if("number"==typeof P)return P;const B=P.match(/^(-?[\.\d]+)(m?s)/);return!B||B.length<2?0:Le(parseFloat(B[1]),B[2])}function Le(P,B){return"s"===B?P*Ue:P}function Vt(P,B,b){return P.hasOwnProperty("duration")?P:function Zt(P,B,b){let X,Fe=0,Lt="";if("string"==typeof P){const kt=P.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===kt)return B.push(l()),{duration:0,delay:0,easing:""};X=Le(parseFloat(kt[1]),kt[2]);const ri=kt[3];null!=ri&&(Fe=Le(parseFloat(ri),kt[4]));const oi=kt[5];oi&&(Lt=oi)}else X=P;if(!b){let kt=!1,ri=B.length;X<0&&(B.push(function x(){return new e.wOt(3100,!1)}()),kt=!0),Fe<0&&(B.push(function m(){return new e.wOt(3101,!1)}()),kt=!0),kt&&B.splice(ri,0,l())}return{duration:X,delay:Fe,easing:Lt}}(P,B,b)}function me(P,B,b){B.forEach((W,X)=>{const Fe=De(X);b&&!b.has(X)&&b.set(X,P.style[Fe]),P.style[Fe]=W})}function xe(P,B){B.forEach((b,W)=>{const X=De(W);P.style[X]=""})}function ce(P){return Array.isArray(P)?1==P.length?P[0]:(0,C.K2)(P):P}const Xe=new RegExp("{{\\s*(.+?)\\s*}}","g");function Pe(P){let B=[];if("string"==typeof P){let b;for(;b=Xe.exec(P);)B.push(b[1]);Xe.lastIndex=0}return B}function Oe(P,B,b){const W=`${P}`,X=W.replace(Xe,(Fe,Lt)=>{let kt=B[Lt];return null==kt&&(b.push(function d(P){return new e.wOt(3003,!1)}()),kt=""),kt.toString()});return X==W?P:X}const we=/-+([a-z0-9])/g;function De(P){return P.replace(we,(...B)=>B[1].toUpperCase())}function Kt(P,B,b){switch(B.type){case C.If.Trigger:return P.visitTrigger(B,b);case C.If.State:return P.visitState(B,b);case C.If.Transition:return P.visitTransition(B,b);case C.If.Sequence:return P.visitSequence(B,b);case C.If.Group:return P.visitGroup(B,b);case C.If.Animate:return P.visitAnimate(B,b);case C.If.Keyframes:return P.visitKeyframes(B,b);case C.If.Style:return P.visitStyle(B,b);case C.If.Reference:return P.visitReference(B,b);case C.If.AnimateChild:return P.visitAnimateChild(B,b);case C.If.AnimateRef:return P.visitAnimateRef(B,b);case C.If.Query:return P.visitQuery(B,b);case C.If.Stagger:return P.visitStagger(B,b);default:throw function w(P){return new e.wOt(3004,!1)}()}}function fi(P,B){return window.getComputedStyle(P)[B]}const Qt=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 zt extends Qe{normalizePropertyName(B,b){return De(B)}normalizeStyleValue(B,b,W,X){let Fe="";const Lt=W.toString().trim();if(Qt.has(b)&&0!==W&&"0"!==W)if("number"==typeof W)Fe="px";else{const kt=W.match(/^[+-]?[\d\.]+([a-z]*)$/);kt&&0==kt[1].length&&X.push(function y(P,B){return new e.wOt(3005,!1)}())}return Lt+Fe}}const nn="*";const Mt=new Set(["true","1"]),Pt=new Set(["false","0"]);function ai(P,B){const b=Mt.has(P)||Pt.has(P),W=Mt.has(B)||Pt.has(B);return(X,Fe)=>{let Lt=P==nn||P==X,kt=B==nn||B==Fe;return!Lt&&b&&"boolean"==typeof X&&(Lt=X?Mt.has(P):Pt.has(P)),!kt&&W&&"boolean"==typeof Fe&&(kt=Fe?Mt.has(B):Pt.has(B)),Lt&&kt}}const Hi=new RegExp("s*:selfs*,?","g");function $i(P,B,b,W){return new Fi(P).build(B,b,W)}class Fi{constructor(B){this._driver=B}build(B,b,W){const X=new Dt(b);return this._resetContextStyleTimingState(X),Kt(this,ce(B),X)}_resetContextStyleTimingState(B){B.currentQuerySelector="",B.collectedStyles=new Map,B.collectedStyles.set("",new Map),B.currentTime=0}visitTrigger(B,b){let W=b.queryCount=0,X=b.depCount=0;const Fe=[],Lt=[];return"@"==B.name.charAt(0)&&b.errors.push(function T(){return new e.wOt(3006,!1)}()),B.definitions.forEach(kt=>{if(this._resetContextStyleTimingState(b),kt.type==C.If.State){const ri=kt,oi=ri.name;oi.toString().split(/\s*,\s*/).forEach(Bi=>{ri.name=Bi,Fe.push(this.visitState(ri,b))}),ri.name=oi}else if(kt.type==C.If.Transition){const ri=this.visitTransition(kt,b);W+=ri.queryCount,X+=ri.depCount,Lt.push(ri)}else b.errors.push(function k(){return new e.wOt(3007,!1)}())}),{type:C.If.Trigger,name:B.name,states:Fe,transitions:Lt,queryCount:W,depCount:X,options:null}}visitState(B,b){const W=this.visitStyle(B.styles,b),X=B.options&&B.options.params||null;if(W.containsDynamicStyles){const Fe=new Set,Lt=X||{};W.styles.forEach(kt=>{kt instanceof Map&&kt.forEach(ri=>{Pe(ri).forEach(oi=>{Lt.hasOwnProperty(oi)||Fe.add(oi)})})}),Fe.size&&b.errors.push(function F(P,B){return new e.wOt(3008,!1)}(0,Fe.values()))}return{type:C.If.State,name:B.name,style:W,options:X?{params:X}:null}}visitTransition(B,b){b.queryCount=0,b.depCount=0;const W=Kt(this,ce(B.animation),b),X=function st(P,B){const b=[];return"string"==typeof P?P.split(/\s*,\s*/).forEach(W=>function ii(P,B,b){if(":"==P[0]){const ri=function Se(P,B){switch(P){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(b,W)=>parseFloat(W)>parseFloat(b);case":decrement":return(b,W)=>parseFloat(W)<parseFloat(b);default:return B.push(function ue(P){return new e.wOt(3016,!1)}()),"* => *"}}(P,b);if("function"==typeof ri)return void B.push(ri);P=ri}const W=P.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==W||W.length<4)return b.push(function ye(P){return new e.wOt(3015,!1)}()),B;const X=W[1],Fe=W[2],Lt=W[3];B.push(ai(X,Lt)),"<"==Fe[0]&&(X!=nn||Lt!=nn)&&B.push(ai(Lt,X))}(W,b,B)):b.push(P),b}(B.expr,b.errors);return{type:C.If.Transition,matchers:X,animation:W,queryCount:b.queryCount,depCount:b.depCount,options:q(B.options)}}visitSequence(B,b){return{type:C.If.Sequence,steps:B.steps.map(W=>Kt(this,W,b)),options:q(B.options)}}visitGroup(B,b){const W=b.currentTime;let X=0;const Fe=B.steps.map(Lt=>{b.currentTime=W;const kt=Kt(this,Lt,b);return X=Math.max(X,b.currentTime),kt});return b.currentTime=X,{type:C.If.Group,steps:Fe,options:q(B.options)}}visitAnimate(B,b){const W=function Bt(P,B){if(P.hasOwnProperty("duration"))return P;if("number"==typeof P)return it(Vt(P,B).duration,0,"");const b=P;if(b.split(/\s+/).some(Fe=>"{"==Fe.charAt(0)&&"{"==Fe.charAt(1))){const Fe=it(0,0,"");return Fe.dynamic=!0,Fe.strValue=b,Fe}const X=Vt(b,B);return it(X.duration,X.delay,X.easing)}(B.timings,b.errors);b.currentAnimateTimings=W;let X,Fe=B.styles?B.styles:(0,C.iF)({});if(Fe.type==C.If.Keyframes)X=this.visitKeyframes(Fe,b);else{let Lt=B.styles,kt=!1;if(!Lt){kt=!0;const oi={};W.easing&&(oi.easing=W.easing),Lt=(0,C.iF)(oi)}b.currentTime+=W.duration+W.delay;const ri=this.visitStyle(Lt,b);ri.isEmptyStep=kt,X=ri}return b.currentAnimateTimings=null,{type:C.If.Animate,timings:W,style:X,options:null}}visitStyle(B,b){const W=this._makeStyleAst(B,b);return this._validateStyleAst(W,b),W}_makeStyleAst(B,b){const W=[],X=Array.isArray(B.styles)?B.styles:[B.styles];for(let kt of X)"string"==typeof kt?kt===C.kp?W.push(kt):b.errors.push(new e.wOt(3002,!1)):W.push(new Map(Object.entries(kt)));let Fe=!1,Lt=null;return W.forEach(kt=>{if(kt instanceof Map&&(kt.has("easing")&&(Lt=kt.get("easing"),kt.delete("easing")),!Fe))for(let ri of kt.values())if(ri.toString().indexOf("{{")>=0){Fe=!0;break}}),{type:C.If.Style,styles:W,easing:Lt,offset:B.offset,containsDynamicStyles:Fe,options:null}}_validateStyleAst(B,b){const W=b.currentAnimateTimings;let X=b.currentTime,Fe=b.currentTime;W&&Fe>0&&(Fe-=W.duration+W.delay),B.styles.forEach(Lt=>{"string"!=typeof Lt&&Lt.forEach((kt,ri)=>{const oi=b.collectedStyles.get(b.currentQuerySelector),Bi=oi.get(ri);let Ti=!0;Bi&&(Fe!=X&&Fe>=Bi.startTime&&X<=Bi.endTime&&(b.errors.push(function G(P,B,b,W,X){return new e.wOt(3010,!1)}()),Ti=!1),Fe=Bi.startTime),Ti&&oi.set(ri,{startTime:Fe,endTime:X}),b.options&&function Me(P,B,b){const W=B.params||{},X=Pe(P);X.length&&X.forEach(Fe=>{W.hasOwnProperty(Fe)||b.push(function R(P){return new e.wOt(3001,!1)}())})}(kt,b.options,b.errors)})})}visitKeyframes(B,b){const W={type:C.If.Keyframes,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push(function Y(){return new e.wOt(3011,!1)}()),W;let Fe=0;const Lt=[];let kt=!1,ri=!1,oi=0;const Bi=B.steps.map(cr=>{const Br=this._makeStyleAst(cr,b);let ca=null!=Br.offset?Br.offset:function ct(P){if("string"==typeof P)return null;let B=null;if(Array.isArray(P))P.forEach(b=>{if(b instanceof Map&&b.has("offset")){const W=b;B=parseFloat(W.get("offset")),W.delete("offset")}});else if(P instanceof Map&&P.has("offset")){const b=P;B=parseFloat(b.get("offset")),b.delete("offset")}return B}(Br.styles),lr=0;return null!=ca&&(Fe++,lr=Br.offset=ca),ri=ri||lr<0||lr>1,kt=kt||lr<oi,oi=lr,Lt.push(lr),Br});ri&&b.errors.push(function $(){return new e.wOt(3012,!1)}()),kt&&b.errors.push(function Z(){return new e.wOt(3200,!1)}());const Ti=B.steps.length;let dn=0;Fe>0&&Fe<Ti?b.errors.push(function ie(){return new e.wOt(3202,!1)}()):0==Fe&&(dn=1/(Ti-1));const vn=Ti-1,Wi=b.currentTime,Yi=b.currentAnimateTimings,In=Yi.duration;return Bi.forEach((cr,Br)=>{const ca=dn>0?Br==vn?1:dn*Br:Lt[Br],lr=ca*In;b.currentTime=Wi+Yi.delay+lr,Yi.duration=lr,this._validateStyleAst(cr,b),cr.offset=ca,W.styles.push(cr)}),W}visitReference(B,b){return{type:C.If.Reference,animation:Kt(this,ce(B.animation),b),options:q(B.options)}}visitAnimateChild(B,b){return b.depCount++,{type:C.If.AnimateChild,options:q(B.options)}}visitAnimateRef(B,b){return{type:C.If.AnimateRef,animation:this.visitReference(B.animation,b),options:q(B.options)}}visitQuery(B,b){const W=b.currentQuerySelector,X=B.options||{};b.queryCount++,b.currentQuery=B;const[Fe,Lt]=function _n(P){const B=!!P.split(/\s*,\s*/).find(b=>":self"==b);return B&&(P=P.replace(Hi,"")),P=P.replace(/@\*/g,Ze).replace(/@\w+/g,b=>Ze+"-"+b.slice(1)).replace(/:animating/g,qe),[P,B]}(B.selector);b.currentQuerySelector=W.length?W+" "+Fe:Fe,oe(b.collectedStyles,b.currentQuerySelector,new Map);const kt=Kt(this,ce(B.animation),b);return b.currentQuery=null,b.currentQuerySelector=W,{type:C.If.Query,selector:Fe,limit:X.limit||0,optional:!!X.optional,includeSelf:Lt,animation:kt,originalSelector:B.selector,options:q(B.options)}}visitStagger(B,b){b.currentQuery||b.errors.push(function ve(){return new e.wOt(3013,!1)}());const W="full"===B.timings?{duration:0,delay:0,easing:"full"}:Vt(B.timings,b.errors,!0);return{type:C.If.Stagger,animation:Kt(this,ce(B.animation),b),timings:W,options:null}}}class Dt{constructor(B){this.errors=B,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 q(P){return P?(P={...P}).params&&(P.params=function mn(P){return P?{...P}:null}(P.params)):P={},P}function it(P,B,b){return{duration:P,delay:B,easing:b}}function Ae(P,B,b,W,X,Fe,Lt=null,kt=!1){return{type:1,element:P,keyframes:B,preStyleProps:b,postStyleProps:W,duration:X,delay:Fe,totalTime:X+Fe,easing:Lt,subTimeline:kt}}class mt{constructor(){this._map=new Map}get(B){return this._map.get(B)||[]}append(B,b){let W=this._map.get(B);W||this._map.set(B,W=[]),W.push(...b)}has(B){return this._map.has(B)}clear(){this._map.clear()}}const un=new RegExp(":enter","g"),Hn=new RegExp(":leave","g");function On(P,B,b,W,X,Fe=new Map,Lt=new Map,kt,ri,oi=[]){return(new Xn).buildKeyframes(P,B,b,W,X,Fe,Lt,kt,ri,oi)}class Xn{buildKeyframes(B,b,W,X,Fe,Lt,kt,ri,oi,Bi=[]){oi=oi||new mt;const Ti=new Fn(B,b,oi,X,Fe,Bi,[]);Ti.options=ri;const dn=ri.delay?dt(ri.delay):0;Ti.currentTimeline.delayNextStep(dn),Ti.currentTimeline.setStyles([Lt],null,Ti.errors,ri),Kt(this,W,Ti);const vn=Ti.timelines.filter(Wi=>Wi.containsAnimation());if(vn.length&&kt.size){let Wi;for(let Yi=vn.length-1;Yi>=0;Yi--){const In=vn[Yi];if(In.element===b){Wi=In;break}}Wi&&!Wi.allowOnlyTimelineStyles()&&Wi.setStyles([kt],null,Ti.errors,ri)}return vn.length?vn.map(Wi=>Wi.buildKeyframes()):[Ae(b,[],[],[],0,dn,"",!1)]}visitTrigger(B,b){}visitState(B,b){}visitTransition(B,b){}visitAnimateChild(B,b){const W=b.subInstructions.get(b.element);if(W){const X=b.createSubContext(B.options),Fe=b.currentTimeline.currentTime,Lt=this._visitSubInstructions(W,X,X.options);Fe!=Lt&&b.transformIntoNewTimeline(Lt)}b.previousNode=B}visitAnimateRef(B,b){const W=b.createSubContext(B.options);W.transformIntoNewTimeline(),this._applyAnimationRefDelays([B.options,B.animation.options],b,W),this.visitReference(B.animation,W),b.transformIntoNewTimeline(W.currentTimeline.currentTime),b.previousNode=B}_applyAnimationRefDelays(B,b,W){for(const X of B){const Fe=X?.delay;if(Fe){const Lt="number"==typeof Fe?Fe:dt(Oe(Fe,X?.params??{},b.errors));W.delayNextStep(Lt)}}}_visitSubInstructions(B,b,W){let Fe=b.currentTimeline.currentTime;const Lt=null!=W.duration?dt(W.duration):null,kt=null!=W.delay?dt(W.delay):null;return 0!==Lt&&B.forEach(ri=>{const oi=b.appendInstructionToTimeline(ri,Lt,kt);Fe=Math.max(Fe,oi.duration+oi.delay)}),Fe}visitReference(B,b){b.updateOptions(B.options,!0),Kt(this,B.animation,b),b.previousNode=B}visitSequence(B,b){const W=b.subContextCount;let X=b;const Fe=B.options;if(Fe&&(Fe.params||Fe.delay)&&(X=b.createSubContext(Fe),X.transformIntoNewTimeline(),null!=Fe.delay)){X.previousNode.type==C.If.Style&&(X.currentTimeline.snapshotCurrentStyles(),X.previousNode=ir);const Lt=dt(Fe.delay);X.delayNextStep(Lt)}B.steps.length&&(B.steps.forEach(Lt=>Kt(this,Lt,X)),X.currentTimeline.applyStylesToKeyframe(),X.subContextCount>W&&X.transformIntoNewTimeline()),b.previousNode=B}visitGroup(B,b){const W=[];let X=b.currentTimeline.currentTime;const Fe=B.options&&B.options.delay?dt(B.options.delay):0;B.steps.forEach(Lt=>{const kt=b.createSubContext(B.options);Fe&&kt.delayNextStep(Fe),Kt(this,Lt,kt),X=Math.max(X,kt.currentTimeline.currentTime),W.push(kt.currentTimeline)}),W.forEach(Lt=>b.currentTimeline.mergeTimelineCollectedStyles(Lt)),b.transformIntoNewTimeline(X),b.previousNode=B}_visitTiming(B,b){if(B.dynamic){const W=B.strValue;return Vt(b.params?Oe(W,b.params,b.errors):W,b.errors)}return{duration:B.duration,delay:B.delay,easing:B.easing}}visitAnimate(B,b){const W=b.currentAnimateTimings=this._visitTiming(B.timings,b),X=b.currentTimeline;W.delay&&(b.incrementTime(W.delay),X.snapshotCurrentStyles());const Fe=B.style;Fe.type==C.If.Keyframes?this.visitKeyframes(Fe,b):(b.incrementTime(W.duration),this.visitStyle(Fe,b),X.applyStylesToKeyframe()),b.currentAnimateTimings=null,b.previousNode=B}visitStyle(B,b){const W=b.currentTimeline,X=b.currentAnimateTimings;!X&&W.hasCurrentStyleProperties()&&W.forwardFrame();const Fe=X&&X.easing||B.easing;B.isEmptyStep?W.applyEmptyStep(Fe):W.setStyles(B.styles,Fe,b.errors,b.options),b.previousNode=B}visitKeyframes(B,b){const W=b.currentAnimateTimings,X=b.currentTimeline.duration,Fe=W.duration,kt=b.createSubContext().currentTimeline;kt.easing=W.easing,B.styles.forEach(ri=>{kt.forwardTime((ri.offset||0)*Fe),kt.setStyles(ri.styles,ri.easing,b.errors,b.options),kt.applyStylesToKeyframe()}),b.currentTimeline.mergeTimelineCollectedStyles(kt),b.transformIntoNewTimeline(X+Fe),b.previousNode=B}visitQuery(B,b){const W=b.currentTimeline.currentTime,X=B.options||{},Fe=X.delay?dt(X.delay):0;Fe&&(b.previousNode.type===C.If.Style||0==W&&b.currentTimeline.hasCurrentStyleProperties())&&(b.currentTimeline.snapshotCurrentStyles(),b.previousNode=ir);let Lt=W;const kt=b.invokeQuery(B.selector,B.originalSelector,B.limit,B.includeSelf,!!X.optional,b.errors);b.currentQueryTotal=kt.length;let ri=null;kt.forEach((oi,Bi)=>{b.currentQueryIndex=Bi;const Ti=b.createSubContext(B.options,oi);Fe&&Ti.delayNextStep(Fe),oi===b.element&&(ri=Ti.currentTimeline),Kt(this,B.animation,Ti),Ti.currentTimeline.applyStylesToKeyframe(),Lt=Math.max(Lt,Ti.currentTimeline.currentTime)}),b.currentQueryIndex=0,b.currentQueryTotal=0,b.transformIntoNewTimeline(Lt),ri&&(b.currentTimeline.mergeTimelineCollectedStyles(ri),b.currentTimeline.snapshotCurrentStyles()),b.previousNode=B}visitStagger(B,b){const W=b.parentContext,X=b.currentTimeline,Fe=B.timings,Lt=Math.abs(Fe.duration),kt=Lt*(b.currentQueryTotal-1);let ri=Lt*b.currentQueryIndex;switch(Fe.duration<0?"reverse":Fe.easing){case"reverse":ri=kt-ri;break;case"full":ri=W.currentStaggerTime}const Bi=b.currentTimeline;ri&&Bi.delayNextStep(ri);const Ti=Bi.currentTime;Kt(this,B.animation,b),b.previousNode=B,W.currentStaggerTime=X.currentTime-Ti+(X.startTime-W.currentTimeline.startTime)}}const ir={};class Fn{constructor(B,b,W,X,Fe,Lt,kt,ri){this._driver=B,this.element=b,this.subInstructions=W,this._enterClassName=X,this._leaveClassName=Fe,this.errors=Lt,this.timelines=kt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ir,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ri||new pi(this._driver,b,0),kt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(B,b){if(!B)return;const W=B;let X=this.options;null!=W.duration&&(X.duration=dt(W.duration)),null!=W.delay&&(X.delay=dt(W.delay));const Fe=W.params;if(Fe){let Lt=X.params;Lt||(Lt=this.options.params={}),Object.keys(Fe).forEach(kt=>{(!b||!Lt.hasOwnProperty(kt))&&(Lt[kt]=Oe(Fe[kt],Lt,this.errors))})}}_copyOptions(){const B={};if(this.options){const b=this.options.params;if(b){const W=B.params={};Object.keys(b).forEach(X=>{W[X]=b[X]})}}return B}createSubContext(B=null,b,W){const X=b||this.element,Fe=new Fn(this._driver,X,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(X,W||0));return Fe.previousNode=this.previousNode,Fe.currentAnimateTimings=this.currentAnimateTimings,Fe.options=this._copyOptions(),Fe.updateOptions(B),Fe.currentQueryIndex=this.currentQueryIndex,Fe.currentQueryTotal=this.currentQueryTotal,Fe.parentContext=this,this.subContextCount++,Fe}transformIntoNewTimeline(B){return this.previousNode=ir,this.currentTimeline=this.currentTimeline.fork(this.element,B),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(B,b,W){const X={duration:b??B.duration,delay:this.currentTimeline.currentTime+(W??0)+B.delay,easing:""},Fe=new Oi(this._driver,B.element,B.keyframes,B.preStyleProps,B.postStyleProps,X,B.stretchStartingKeyframe);return this.timelines.push(Fe),X}incrementTime(B){this.currentTimeline.forwardTime(this.currentTimeline.duration+B)}delayNextStep(B){B>0&&this.currentTimeline.delayNextStep(B)}invokeQuery(B,b,W,X,Fe,Lt){let kt=[];if(X&&kt.push(this.element),B.length>0){B=(B=B.replace(un,"."+this._enterClassName)).replace(Hn,"."+this._leaveClassName);let oi=this._driver.query(this.element,B,1!=W);0!==W&&(oi=W<0?oi.slice(oi.length+W,oi.length):oi.slice(0,W)),kt.push(...oi)}return!Fe&&0==kt.length&&Lt.push(function ae(P){return new e.wOt(3014,!1)}()),kt}}class pi{constructor(B,b,W,X){this._driver=B,this.element=b,this.startTime=W,this._elementTimelineStylesLookup=X,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(B){const b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(this.forwardTime(this.currentTime+B),b&&this.snapshotCurrentStyles()):this.startTime+=B}fork(B,b){return this.applyStylesToKeyframe(),new pi(this._driver,B,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(B){this.applyStylesToKeyframe(),this.duration=B,this._loadKeyframe()}_updateStyle(B,b){this._localTimelineStyles.set(B,b),this._globalTimelineStyles.set(B,b),this._styleSummary.set(B,{time:this.currentTime,value:b})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(B){B&&this._previousKeyframe.set("easing",B);for(let[b,W]of this._globalTimelineStyles)this._backFill.set(b,W||C.kp),this._currentKeyframe.set(b,C.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(B,b,W,X){b&&this._previousKeyframe.set("easing",b);const Fe=X&&X.params||{},Lt=function yi(P,B){const b=new Map;let W;return P.forEach(X=>{if("*"===X){W??=B.keys();for(let Fe of W)b.set(Fe,C.kp)}else for(let[Fe,Lt]of X)b.set(Fe,Lt)}),b}(B,this._globalTimelineStyles);for(let[kt,ri]of Lt){const oi=Oe(ri,Fe,W);this._pendingStyles.set(kt,oi),this._localTimelineStyles.has(kt)||this._backFill.set(kt,this._globalTimelineStyles.get(kt)??C.kp),this._updateStyle(kt,oi)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((B,b)=>{this._currentKeyframe.set(b,B)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((B,b)=>{this._currentKeyframe.has(b)||this._currentKeyframe.set(b,B)}))}snapshotCurrentStyles(){for(let[B,b]of this._localTimelineStyles)this._pendingStyles.set(B,b),this._updateStyle(B,b)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const B=[];for(let b in this._currentKeyframe)B.push(b);return B}mergeTimelineCollectedStyles(B){B._styleSummary.forEach((b,W)=>{const X=this._styleSummary.get(W);(!X||b.time>X.time)&&this._updateStyle(W,b.value)})}buildKeyframes(){this.applyStylesToKeyframe();const B=new Set,b=new Set,W=1===this._keyframes.size&&0===this.duration;let X=[];this._keyframes.forEach((kt,ri)=>{const oi=new Map([...this._backFill,...kt]);oi.forEach((Bi,Ti)=>{Bi===C.FX?B.add(Ti):Bi===C.kp&&b.add(Ti)}),W||oi.set("offset",ri/this.duration),X.push(oi)});const Fe=[...B.values()],Lt=[...b.values()];if(W){const kt=X[0],ri=new Map(kt);kt.set("offset",0),ri.set("offset",1),X=[kt,ri]}return Ae(this.element,X,Fe,Lt,this.duration,this.startTime,this.easing,!1)}}class Oi extends pi{constructor(B,b,W,X,Fe,Lt,kt=!1){super(B,b,Lt.delay),this.keyframes=W,this.preStyleProps=X,this.postStyleProps=Fe,this._stretchStartingKeyframe=kt,this.timings={duration:Lt.duration,delay:Lt.delay,easing:Lt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let B=this.keyframes,{delay:b,duration:W,easing:X}=this.timings;if(this._stretchStartingKeyframe&&b){const Fe=[],Lt=W+b,kt=b/Lt,ri=new Map(B[0]);ri.set("offset",0),Fe.push(ri);const oi=new Map(B[0]);oi.set("offset",Yt(kt)),Fe.push(oi);const Bi=B.length-1;for(let Ti=1;Ti<=Bi;Ti++){let dn=new Map(B[Ti]);const vn=dn.get("offset");dn.set("offset",Yt((b+vn*W)/Lt)),Fe.push(dn)}W=Lt,b=0,X="",B=Fe}return Ae(this.element,B,this.preStyleProps,this.postStyleProps,W,b,X,!0)}}function Yt(P,B=3){const b=Math.pow(10,B-1);return Math.round(P*b)/b}function li(P,B,b,W,X,Fe,Lt,kt,ri,oi,Bi,Ti,dn){return{type:0,element:P,triggerName:B,isRemovalTransition:X,fromState:b,fromStyles:Fe,toState:W,toStyles:Lt,timelines:kt,queriedElements:ri,preStyleProps:oi,postStyleProps:Bi,totalTime:Ti,errors:dn}}const vi={};class Ni{constructor(B,b,W){this._triggerName=B,this.ast=b,this._stateStyles=W}match(B,b,W,X){return function en(P,B,b,W,X){return P.some(Fe=>Fe(B,b,W,X))}(this.ast.matchers,B,b,W,X)}buildStyles(B,b,W){let X=this._stateStyles.get("*");return void 0!==B&&(X=this._stateStyles.get(B?.toString())||X),X?X.buildStyles(b,W):new Map}build(B,b,W,X,Fe,Lt,kt,ri,oi,Bi){const Ti=[],dn=this.ast.options&&this.ast.options.params||vi,Wi=this.buildStyles(W,kt&&kt.params||vi,Ti),Yi=ri&&ri.params||vi,In=this.buildStyles(X,Yi,Ti),cr=new Set,Br=new Map,ca=new Map,lr="void"===X,qr={params:nr(Yi,dn),delay:this.ast.options?.delay},xr=Bi?[]:On(B,b,this.ast.animation,Fe,Lt,Wi,In,qr,oi,Ti);let ha=0;return xr.forEach(ua=>{ha=Math.max(ua.duration+ua.delay,ha)}),Ti.length?li(b,this._triggerName,W,X,lr,Wi,In,[],[],Br,ca,ha,Ti):(xr.forEach(ua=>{const fs=ua.element,$c=oe(Br,fs,new Set);ua.preStyleProps.forEach(bl=>$c.add(bl));const U2=oe(ca,fs,new Set);ua.postStyleProps.forEach(bl=>U2.add(bl)),fs!==b&&cr.add(fs)}),li(b,this._triggerName,W,X,lr,Wi,In,xr,[...cr.values()],Br,ca,ha))}}function nr(P,B){const b={...B};return Object.entries(P).forEach(([W,X])=>{null!=X&&(b[W]=X)}),b}class ar{constructor(B,b,W){this.styles=B,this.defaultParams=b,this.normalizer=W}buildStyles(B,b){const W=new Map,X=nr(B,this.defaultParams);return this.styles.styles.forEach(Fe=>{"string"!=typeof Fe&&Fe.forEach((Lt,kt)=>{Lt&&(Lt=Oe(Lt,X,b));const ri=this.normalizer.normalizePropertyName(kt,b);Lt=this.normalizer.normalizeStyleValue(kt,ri,Lt,b),W.set(kt,Lt)})}),W}}class or{constructor(B,b,W){this.name=B,this.ast=b,this._normalizer=W,this.transitionFactories=[],this.states=new Map,b.states.forEach(X=>{this.states.set(X.name,new ar(X.style,X.options&&X.options.params||{},W))}),Rr(this.states,"true","1"),Rr(this.states,"false","0"),b.transitions.forEach(X=>{this.transitionFactories.push(new Ni(B,X,this.states))}),this.fallbackTransition=function na(P,B,b){return new Ni(P,{type:C.If.Transition,animation:{type:C.If.Sequence,steps:[],options:null},matchers:[(Lt,kt)=>!0],options:null,queryCount:0,depCount:0},B)}(B,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(B,b,W,X){return this.transitionFactories.find(Lt=>Lt.match(B,b,W,X))||null}matchStyles(B,b,W){return this.fallbackTransition.buildStyles(B,b,W)}}function Rr(P,B,b){P.has(B)?P.has(b)||P.set(b,P.get(B)):P.has(b)&&P.set(B,P.get(b))}const Gr=new mt;class Uo{constructor(B,b,W){this.bodyNode=B,this._driver=b,this._normalizer=W,this._animations=new Map,this._playersById=new Map,this.players=[]}register(B,b){const W=[],Fe=$i(this._driver,b,W,[]);if(W.length)throw function f(P){return new e.wOt(3503,!1)}();this._animations.set(B,Fe)}_buildPlayer(B,b,W){const X=B.element,Fe=Ye(this._normalizer,B.keyframes,b,W);return this._driver.animate(X,Fe,B.duration,B.delay,B.easing,[],!0)}create(B,b,W={}){const X=[],Fe=this._animations.get(B);let Lt;const kt=new Map;if(Fe?(Lt=On(this._driver,b,Fe,wt,ut,new Map,new Map,W,Gr,X),Lt.forEach(Bi=>{const Ti=oe(kt,Bi.element,new Map);Bi.postStyleProps.forEach(dn=>Ti.set(dn,null))})):(X.push(function h(){return new e.wOt(3300,!1)}()),Lt=[]),X.length)throw function M(P){return new e.wOt(3504,!1)}();kt.forEach((Bi,Ti)=>{Bi.forEach((dn,vn)=>{Bi.set(vn,this._driver.computeStyle(Ti,vn,C.kp))})});const oi=at(Lt.map(Bi=>{const Ti=kt.get(Bi.element);return this._buildPlayer(Bi,new Map,Ti)}));return this._playersById.set(B,oi),oi.onDestroy(()=>this.destroy(B)),this.players.push(oi),oi}destroy(B){const b=this._getPlayer(B);b.destroy(),this._playersById.delete(B);const W=this.players.indexOf(b);W>=0&&this.players.splice(W,1)}_getPlayer(B){const b=this._playersById.get(B);if(!b)throw function L(P){return new e.wOt(3301,!1)}();return b}listen(B,b,W,X){const Fe=te(b,"","","");return rt(this._getPlayer(B),W,Fe,X),()=>{}}command(B,b,W,X){if("register"==W)return void this.register(B,X[0]);if("create"==W)return void this.create(B,b,X[0]||{});const Fe=this._getPlayer(B);switch(W){case"play":Fe.play();break;case"pause":Fe.pause();break;case"reset":Fe.reset();break;case"restart":Fe.restart();break;case"finish":Fe.finish();break;case"init":Fe.init();break;case"setPosition":Fe.setPosition(parseFloat(X[0]));break;case"destroy":this.destroy(B)}}}const yo="ng-animate-queued",kr="ng-animate-disabled",io=[],vr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gn="__ng_removed";class Co{get params(){return this.options.params}constructor(B,b=""){this.namespaceId=b;const W=B&&B.hasOwnProperty("value");if(this.value=function Qr(P){return P??null}(W?B.value:B),W){const{value:Fe,...Lt}=B;this.options=Lt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(B){const b=B.params;if(b){const W=this.options.params;Object.keys(b).forEach(X=>{null==W[X]&&(W[X]=b[X])})}}}const ln="void",$r=new Co(ln);class Ma{constructor(B,b,W){this.id=B,this.hostElement=b,this._engine=W,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+B,Lr(b,this._hostClassName)}listen(B,b,W,X){if(!this._triggers.has(b))throw function O(P,B){return new e.wOt(3302,!1)}();if(null==W||0==W.length)throw function _(P){return new e.wOt(3303,!1)}();if(!function Ea(P){return"start"==P||"done"==P}(W))throw function r(P,B){return new e.wOt(3400,!1)}();const Fe=oe(this._elementListeners,B,[]),Lt={name:b,phase:W,callback:X};Fe.push(Lt);const kt=oe(this._engine.statesByElement,B,new Map);return kt.has(b)||(Lr(B,vt),Lr(B,vt+"-"+b),kt.set(b,$r)),()=>{this._engine.afterFlush(()=>{const ri=Fe.indexOf(Lt);ri>=0&&Fe.splice(ri,1),this._triggers.has(b)||kt.delete(b)})}}register(B,b){return!this._triggers.has(B)&&(this._triggers.set(B,b),!0)}_getTrigger(B){const b=this._triggers.get(B);if(!b)throw function v(P){return new e.wOt(3401,!1)}();return b}trigger(B,b,W,X=!0){const Fe=this._getTrigger(b),Lt=new ho(this.id,b,B);let kt=this._engine.statesByElement.get(B);kt||(Lr(B,vt),Lr(B,vt+"-"+b),this._engine.statesByElement.set(B,kt=new Map));let ri=kt.get(b);const oi=new Co(W,this.id);if(!(W&&W.hasOwnProperty("value"))&&ri&&oi.absorbOptions(ri.options),kt.set(b,oi),ri||(ri=$r),oi.value!==ln&&ri.value===oi.value){if(!function Ga(P,B){const b=Object.keys(P),W=Object.keys(B);if(b.length!=W.length)return!1;for(let X=0;X<b.length;X++){const Fe=b[X];if(!B.hasOwnProperty(Fe)||P[Fe]!==B[Fe])return!1}return!0}(ri.params,oi.params)){const Yi=[],In=Fe.matchStyles(ri.value,ri.params,Yi),cr=Fe.matchStyles(oi.value,oi.params,Yi);Yi.length?this._engine.reportError(Yi):this._engine.afterFlush(()=>{xe(B,In),me(B,cr)})}return}const dn=oe(this._engine.playersByElement,B,[]);dn.forEach(Yi=>{Yi.namespaceId==this.id&&Yi.triggerName==b&&Yi.queued&&Yi.destroy()});let vn=Fe.matchTransition(ri.value,oi.value,B,oi.params),Wi=!1;if(!vn){if(!X)return;vn=Fe.fallbackTransition,Wi=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:b,transition:vn,fromState:ri,toState:oi,player:Lt,isFallbackTransition:Wi}),Wi||(Lr(B,yo),Lt.onStart(()=>{ma(B,yo)})),Lt.onDone(()=>{let Yi=this.players.indexOf(Lt);Yi>=0&&this.players.splice(Yi,1);const In=this._engine.playersByElement.get(B);if(In){let cr=In.indexOf(Lt);cr>=0&&In.splice(cr,1)}}),this.players.push(Lt),dn.push(Lt),Lt}deregister(B){this._triggers.delete(B),this._engine.statesByElement.forEach(b=>b.delete(B)),this._elementListeners.forEach((b,W)=>{this._elementListeners.set(W,b.filter(X=>X.name!=B))})}clearElementCache(B){this._engine.statesByElement.delete(B),this._elementListeners.delete(B);const b=this._engine.playersByElement.get(B);b&&(b.forEach(W=>W.destroy()),this._engine.playersByElement.delete(B))}_signalRemovalForInnerTriggers(B,b){const W=this._engine.driver.query(B,Ze,!0);W.forEach(X=>{if(X[Gn])return;const Fe=this._engine.fetchNamespacesByElement(X);Fe.size?Fe.forEach(Lt=>Lt.triggerLeaveAnimation(X,b,!1,!0)):this.clearElementCache(X)}),this._engine.afterFlushAnimationsDone(()=>W.forEach(X=>this.clearElementCache(X)))}triggerLeaveAnimation(B,b,W,X){const Fe=this._engine.statesByElement.get(B),Lt=new Map;if(Fe){const kt=[];if(Fe.forEach((ri,oi)=>{if(Lt.set(oi,ri.value),this._triggers.has(oi)){const Bi=this.trigger(B,oi,ln,X);Bi&&kt.push(Bi)}}),kt.length)return this._engine.markElementAsRemoved(this.id,B,!0,b,Lt),W&&at(kt).onDone(()=>this._engine.processLeaveNode(B)),!0}return!1}prepareLeaveAnimationListeners(B){const b=this._elementListeners.get(B),W=this._engine.statesByElement.get(B);if(b&&W){const X=new Set;b.forEach(Fe=>{const Lt=Fe.name;if(X.has(Lt))return;X.add(Lt);const ri=this._triggers.get(Lt).fallbackTransition,oi=W.get(Lt)||$r,Bi=new Co(ln),Ti=new ho(this.id,Lt,B);this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:Lt,transition:ri,fromState:oi,toState:Bi,player:Ti,isFallbackTransition:!0})})}}removeNode(B,b){const W=this._engine;if(B.childElementCount&&this._signalRemovalForInnerTriggers(B,b),this.triggerLeaveAnimation(B,b,!0))return;let X=!1;if(W.totalAnimations){const Fe=W.players.length?W.playersByQueriedElement.get(B):[];if(Fe&&Fe.length)X=!0;else{let Lt=B;for(;Lt=Lt.parentNode;)if(W.statesByElement.get(Lt)){X=!0;break}}}if(this.prepareLeaveAnimationListeners(B),X)W.markElementAsRemoved(this.id,B,!1,b);else{const Fe=B[Gn];(!Fe||Fe===vr)&&(W.afterFlush(()=>this.clearElementCache(B)),W.destroyInnerAnimations(B),W._onRemovalComplete(B,b))}}insertNode(B,b){Lr(B,this._hostClassName)}drainQueuedTransitions(B){const b=[];return this._queue.forEach(W=>{const X=W.player;if(X.destroyed)return;const Fe=W.element,Lt=this._elementListeners.get(Fe);Lt&&Lt.forEach(kt=>{if(kt.name==W.triggerName){const ri=te(Fe,W.triggerName,W.fromState.value,W.toState.value);ri._data=B,rt(W.player,kt.phase,ri,kt.callback)}}),X.markedForDestroy?this._engine.afterFlush(()=>{X.destroy()}):b.push(W)}),this._queue=[],b.sort((W,X)=>{const Fe=W.transition.ast.depCount,Lt=X.transition.ast.depCount;return 0==Fe||0==Lt?Fe-Lt:this._engine.driver.containsElement(W.element,X.element)?1:-1})}destroy(B){this.players.forEach(b=>b.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,B)}}class lo{_onRemovalComplete(B,b){this.onRemovalComplete(B,b)}constructor(B,b,W){this.bodyNode=B,this.driver=b,this._normalizer=W,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=(X,Fe)=>{}}get queuedPlayers(){const B=[];return this._namespaceList.forEach(b=>{b.players.forEach(W=>{W.queued&&B.push(W)})}),B}createNamespace(B,b){const W=new Ma(B,b,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,b)?this._balanceNamespaceList(W,b):(this.newHostElements.set(b,W),this.collectEnterElement(b)),this._namespaceLookup[B]=W}_balanceNamespaceList(B,b){const W=this._namespaceList,X=this.namespacesByHostElement;if(W.length-1>=0){let Lt=!1,kt=this.driver.getParentElement(b);for(;kt;){const ri=X.get(kt);if(ri){const oi=W.indexOf(ri);W.splice(oi+1,0,B),Lt=!0;break}kt=this.driver.getParentElement(kt)}Lt||W.unshift(B)}else W.push(B);return X.set(b,B),B}register(B,b){let W=this._namespaceLookup[B];return W||(W=this.createNamespace(B,b)),W}registerTrigger(B,b,W){let X=this._namespaceLookup[B];X&&X.register(b,W)&&this.totalAnimations++}destroy(B,b){B&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const W=this._fetchNamespace(B);this.namespacesByHostElement.delete(W.hostElement);const X=this._namespaceList.indexOf(W);X>=0&&this._namespaceList.splice(X,1),W.destroy(b),delete this._namespaceLookup[B]}))}_fetchNamespace(B){return this._namespaceLookup[B]}fetchNamespacesByElement(B){const b=new Set,W=this.statesByElement.get(B);if(W)for(let X of W.values())if(X.namespaceId){const Fe=this._fetchNamespace(X.namespaceId);Fe&&b.add(Fe)}return b}trigger(B,b,W,X){if(no(b)){const Fe=this._fetchNamespace(B);if(Fe)return Fe.trigger(b,W,X),!0}return!1}insertNode(B,b,W,X){if(!no(b))return;const Fe=b[Gn];if(Fe&&Fe.setForRemoval){Fe.setForRemoval=!1,Fe.setForMove=!0;const Lt=this.collectedLeaveElements.indexOf(b);Lt>=0&&this.collectedLeaveElements.splice(Lt,1)}if(B){const Lt=this._fetchNamespace(B);Lt&&Lt.insertNode(b,W)}X&&this.collectEnterElement(b)}collectEnterElement(B){this.collectedEnterElements.push(B)}markElementAsDisabled(B,b){b?this.disabledNodes.has(B)||(this.disabledNodes.add(B),Lr(B,kr)):this.disabledNodes.has(B)&&(this.disabledNodes.delete(B),ma(B,kr))}removeNode(B,b,W){if(no(b)){const X=B?this._fetchNamespace(B):null;X?X.removeNode(b,W):this.markElementAsRemoved(B,b,!1,W);const Fe=this.namespacesByHostElement.get(b);Fe&&Fe.id!==B&&Fe.removeNode(b,W)}else this._onRemovalComplete(b,W)}markElementAsRemoved(B,b,W,X,Fe){this.collectedLeaveElements.push(b),b[Gn]={namespaceId:B,setForRemoval:X,hasAnimation:W,removedBeforeQueried:!1,previousTriggersValues:Fe}}listen(B,b,W,X,Fe){return no(b)?this._fetchNamespace(B).listen(b,W,X,Fe):()=>{}}_buildInstruction(B,b,W,X,Fe){return B.transition.build(this.driver,B.element,B.fromState.value,B.toState.value,W,X,B.fromState.options,B.toState.options,b,Fe)}destroyInnerAnimations(B){let b=this.driver.query(B,Ze,!0);b.forEach(W=>this.destroyActiveAnimationsForElement(W)),0!=this.playersByQueriedElement.size&&(b=this.driver.query(B,qe,!0),b.forEach(W=>this.finishActiveQueriedAnimationOnElement(W)))}destroyActiveAnimationsForElement(B){const b=this.playersByElement.get(B);b&&b.forEach(W=>{W.queued?W.markedForDestroy=!0:W.destroy()})}finishActiveQueriedAnimationOnElement(B){const b=this.playersByQueriedElement.get(B);b&&b.forEach(W=>W.finish())}whenRenderingDone(){return new Promise(B=>{if(this.players.length)return at(this.players).onDone(()=>B());B()})}processLeaveNode(B){const b=B[Gn];if(b&&b.setForRemoval){if(B[Gn]=vr,b.namespaceId){this.destroyInnerAnimations(B);const W=this._fetchNamespace(b.namespaceId);W&&W.clearElementCache(B)}this._onRemovalComplete(B,b.setForRemoval)}B.classList?.contains(kr)&&this.markElementAsDisabled(B,!1),this.driver.query(B,".ng-animate-disabled",!0).forEach(W=>{this.markElementAsDisabled(W,!1)})}flush(B=-1){let b=[];if(this.newHostElements.size&&(this.newHostElements.forEach((W,X)=>this._balanceNamespaceList(W,X)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let W=0;W<this.collectedEnterElements.length;W++)Lr(this.collectedEnterElements[W],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const W=[];try{b=this._flushAnimations(W,B)}finally{for(let X=0;X<W.length;X++)W[X]()}}else for(let W=0;W<this.collectedLeaveElements.length;W++)this.processLeaveNode(this.collectedLeaveElements[W]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(W=>W()),this._flushFns=[],this._whenQuietFns.length){const W=this._whenQuietFns;this._whenQuietFns=[],b.length?at(b).onDone(()=>{W.forEach(X=>X())}):W.forEach(X=>X())}}reportError(B){throw function z(P){return new e.wOt(3402,!1)}()}_flushAnimations(B,b){const W=new mt,X=[],Fe=new Map,Lt=[],kt=new Map,ri=new Map,oi=new Map,Bi=new Set;this.disabledNodes.forEach(wn=>{Bi.add(wn);const Pn=this.driver.query(wn,".ng-animate-queued",!0);for(let Yn=0;Yn<Pn.length;Yn++)Bi.add(Pn[Yn])});const Ti=this.bodyNode,dn=Array.from(this.statesByElement.keys()),vn=wo(dn,this.collectedEnterElements),Wi=new Map;let Yi=0;vn.forEach((wn,Pn)=>{const Yn=wt+Yi++;Wi.set(Pn,Yn),wn.forEach(Sr=>Lr(Sr,Yn))});const In=[],cr=new Set,Br=new Set;for(let wn=0;wn<this.collectedLeaveElements.length;wn++){const Pn=this.collectedLeaveElements[wn],Yn=Pn[Gn];Yn&&Yn.setForRemoval&&(In.push(Pn),cr.add(Pn),Yn.hasAnimation?this.driver.query(Pn,".ng-star-inserted",!0).forEach(Sr=>cr.add(Sr)):Br.add(Pn))}const ca=new Map,lr=wo(dn,Array.from(cr));lr.forEach((wn,Pn)=>{const Yn=ut+Yi++;ca.set(Pn,Yn),wn.forEach(Sr=>Lr(Sr,Yn))}),B.push(()=>{vn.forEach((wn,Pn)=>{const Yn=Wi.get(Pn);wn.forEach(Sr=>ma(Sr,Yn))}),lr.forEach((wn,Pn)=>{const Yn=ca.get(Pn);wn.forEach(Sr=>ma(Sr,Yn))}),In.forEach(wn=>{this.processLeaveNode(wn)})});const qr=[],xr=[];for(let wn=this._namespaceList.length-1;wn>=0;wn--)this._namespaceList[wn].drainQueuedTransitions(b).forEach(Yn=>{const Sr=Yn.player,_o=Yn.element;if(qr.push(Sr),this.collectedEnterElements.length){const ko=_o[Gn];if(ko&&ko.setForMove){if(ko.previousTriggersValues&&ko.previousTriggersValues.has(Yn.triggerName)){const c1=ko.previousTriggersValues.get(Yn.triggerName),xs=this.statesByElement.get(Yn.element);if(xs&&xs.has(Yn.triggerName)){const l1=xs.get(Yn.triggerName);l1.value=c1,xs.set(Yn.triggerName,l1)}}return void Sr.destroy()}}const ac=!Ti||!this.driver.containsElement(Ti,_o),Ls=ca.get(_o),Oc=Wi.get(_o),Ca=this._buildInstruction(Yn,W,Oc,Ls,ac);if(Ca.errors&&Ca.errors.length)return void xr.push(Ca);if(ac)return Sr.onStart(()=>xe(_o,Ca.fromStyles)),Sr.onDestroy(()=>me(_o,Ca.toStyles)),void X.push(Sr);if(Yn.isFallbackTransition)return Sr.onStart(()=>xe(_o,Ca.fromStyles)),Sr.onDestroy(()=>me(_o,Ca.toStyles)),void X.push(Sr);const s1=[];Ca.timelines.forEach(ko=>{ko.stretchStartingKeyframe=!0,this.disabledNodes.has(ko.element)||s1.push(ko)}),Ca.timelines=s1,W.append(_o,Ca.timelines),Lt.push({instruction:Ca,player:Sr,element:_o}),Ca.queriedElements.forEach(ko=>oe(kt,ko,[]).push(Sr)),Ca.preStyleProps.forEach((ko,c1)=>{if(ko.size){let xs=ri.get(c1);xs||ri.set(c1,xs=new Set),ko.forEach((l1,I1)=>xs.add(I1))}}),Ca.postStyleProps.forEach((ko,c1)=>{let xs=oi.get(c1);xs||oi.set(c1,xs=new Set),ko.forEach((l1,I1)=>xs.add(I1))})});if(xr.length){const wn=[];xr.forEach(Pn=>{wn.push(function ne(P,B){return new e.wOt(3505,!1)}())}),qr.forEach(Pn=>Pn.destroy()),this.reportError(wn)}const ha=new Map,ua=new Map;Lt.forEach(wn=>{const Pn=wn.element;W.has(Pn)&&(ua.set(Pn,Pn),this._beforeAnimationBuild(wn.player.namespaceId,wn.instruction,ha))}),X.forEach(wn=>{const Pn=wn.element;this._getPreviousPlayers(Pn,!1,wn.namespaceId,wn.triggerName,null).forEach(Sr=>{oe(ha,Pn,[]).push(Sr),Sr.destroy()})});const fs=In.filter(wn=>Oa(wn,ri,oi)),$c=new Map;Ra($c,this.driver,Br,oi,C.kp).forEach(wn=>{Oa(wn,ri,oi)&&fs.push(wn)});const bl=new Map;vn.forEach((wn,Pn)=>{Ra(bl,this.driver,new Set(wn),ri,C.FX)}),fs.forEach(wn=>{const Pn=$c.get(wn),Yn=bl.get(wn);$c.set(wn,new Map([...Pn?.entries()??[],...Yn?.entries()??[]]))});const Qc=[],G2=[],j2={};Lt.forEach(wn=>{const{element:Pn,player:Yn,instruction:Sr}=wn;if(W.has(Pn)){if(Bi.has(Pn))return Yn.onDestroy(()=>me(Pn,Sr.toStyles)),Yn.disabled=!0,Yn.overrideTotalTime(Sr.totalTime),void X.push(Yn);let _o=j2;if(ua.size>1){let Ls=Pn;const Oc=[];for(;Ls=Ls.parentNode;){const Ca=ua.get(Ls);if(Ca){_o=Ca;break}Oc.push(Ls)}Oc.forEach(Ca=>ua.set(Ca,_o))}const ac=this._buildAnimation(Yn.namespaceId,Sr,ha,Fe,bl,$c);if(Yn.setRealPlayer(ac),_o===j2)Qc.push(Yn);else{const Ls=this.playersByElement.get(_o);Ls&&Ls.length&&(Yn.parentPlayer=at(Ls)),X.push(Yn)}}else xe(Pn,Sr.fromStyles),Yn.onDestroy(()=>me(Pn,Sr.toStyles)),G2.push(Yn),Bi.has(Pn)&&X.push(Yn)}),G2.forEach(wn=>{const Pn=Fe.get(wn.element);if(Pn&&Pn.length){const Yn=at(Pn);wn.setRealPlayer(Yn)}}),X.forEach(wn=>{wn.parentPlayer?wn.syncPlayerEvents(wn.parentPlayer):wn.destroy()});for(let wn=0;wn<In.length;wn++){const Pn=In[wn],Yn=Pn[Gn];if(ma(Pn,ut),Yn&&Yn.hasAnimation)continue;let Sr=[];if(kt.size){let ac=kt.get(Pn);ac&&ac.length&&Sr.push(...ac);let Ls=this.driver.query(Pn,qe,!0);for(let Oc=0;Oc<Ls.length;Oc++){let Ca=kt.get(Ls[Oc]);Ca&&Ca.length&&Sr.push(...Ca)}}const _o=Sr.filter(ac=>!ac.destroyed);_o.length?Nr(this,Pn,_o):this.processLeaveNode(Pn)}return In.length=0,Qc.forEach(wn=>{this.players.push(wn),wn.onDone(()=>{wn.destroy();const Pn=this.players.indexOf(wn);this.players.splice(Pn,1)}),wn.play()}),Qc}afterFlush(B){this._flushFns.push(B)}afterFlushAnimationsDone(B){this._whenQuietFns.push(B)}_getPreviousPlayers(B,b,W,X,Fe){let Lt=[];if(b){const kt=this.playersByQueriedElement.get(B);kt&&(Lt=kt)}else{const kt=this.playersByElement.get(B);if(kt){const ri=!Fe||Fe==ln;kt.forEach(oi=>{oi.queued||!ri&&oi.triggerName!=X||Lt.push(oi)})}}return(W||X)&&(Lt=Lt.filter(kt=>!(W&&W!=kt.namespaceId||X&&X!=kt.triggerName))),Lt}_beforeAnimationBuild(B,b,W){const Fe=b.element,Lt=b.isRemovalTransition?void 0:B,kt=b.isRemovalTransition?void 0:b.triggerName;for(const ri of b.timelines){const oi=ri.element,Bi=oi!==Fe,Ti=oe(W,oi,[]);this._getPreviousPlayers(oi,Bi,Lt,kt,b.toState).forEach(vn=>{const Wi=vn.getRealPlayer();Wi.beforeDestroy&&Wi.beforeDestroy(),vn.destroy(),Ti.push(vn)})}xe(Fe,b.fromStyles)}_buildAnimation(B,b,W,X,Fe,Lt){const kt=b.triggerName,ri=b.element,oi=[],Bi=new Set,Ti=new Set,dn=b.timelines.map(Wi=>{const Yi=Wi.element;Bi.add(Yi);const In=Yi[Gn];if(In&&In.removedBeforeQueried)return new C.sf(Wi.duration,Wi.delay);const cr=Yi!==ri,Br=function Ua(P){const B=[];return as(P,B),B}((W.get(Yi)||io).map(ha=>ha.getRealPlayer())).filter(ha=>!!ha.element&&ha.element===Yi),ca=Fe.get(Yi),lr=Lt.get(Yi),qr=Ye(this._normalizer,Wi.keyframes,ca,lr),xr=this._buildPlayer(Wi,qr,Br);if(Wi.subTimeline&&X&&Ti.add(Yi),cr){const ha=new ho(B,kt,Yi);ha.setRealPlayer(xr),oi.push(ha)}return xr});oi.forEach(Wi=>{oe(this.playersByQueriedElement,Wi.element,[]).push(Wi),Wi.onDone(()=>function Po(P,B,b){let W=P.get(B);if(W){if(W.length){const X=W.indexOf(b);W.splice(X,1)}0==W.length&&P.delete(B)}return W}(this.playersByQueriedElement,Wi.element,Wi))}),Bi.forEach(Wi=>Lr(Wi,jt));const vn=at(dn);return vn.onDestroy(()=>{Bi.forEach(Wi=>ma(Wi,jt)),me(ri,b.toStyles)}),Ti.forEach(Wi=>{oe(X,Wi,[]).push(vn)}),vn}_buildPlayer(B,b,W){return b.length>0?this.driver.animate(B.element,b,B.duration,B.delay,B.easing,W):new C.sf(B.duration,B.delay)}}class ho{constructor(B,b,W){this.namespaceId=B,this.triggerName=b,this.element=W,this._player=new C.sf,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(B){this._containsRealPlayer||(this._player=B,this._queuedCallbacks.forEach((b,W)=>{b.forEach(X=>rt(B,W,void 0,X))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(B.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(B){this.totalTime=B}syncPlayerEvents(B){const b=this._player;b.triggerCallback&&B.onStart(()=>b.triggerCallback("start")),B.onDone(()=>this.finish()),B.onDestroy(()=>this.destroy())}_queueEvent(B,b){oe(this._queuedCallbacks,B,[]).push(b)}onDone(B){this.queued&&this._queueEvent("done",B),this._player.onDone(B)}onStart(B){this.queued&&this._queueEvent("start",B),this._player.onStart(B)}onDestroy(B){this.queued&&this._queueEvent("destroy",B),this._player.onDestroy(B)}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(B){this.queued||this._player.setPosition(B)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(B){const b=this._player;b.triggerCallback&&b.triggerCallback(B)}}function no(P){return P&&1===P.nodeType}function No(P,B){const b=P.style.display;return P.style.display=B??"none",b}function Ra(P,B,b,W,X){const Fe=[];b.forEach(ri=>Fe.push(No(ri)));const Lt=[];W.forEach((ri,oi)=>{const Bi=new Map;ri.forEach(Ti=>{const dn=B.computeStyle(oi,Ti,X);Bi.set(Ti,dn),(!dn||0==dn.length)&&(oi[Gn]=xo,Lt.push(oi))}),P.set(oi,Bi)});let kt=0;return b.forEach(ri=>No(ri,Fe[kt++])),Lt}function wo(P,B){const b=new Map;if(P.forEach(kt=>b.set(kt,[])),0==B.length)return b;const X=new Set(B),Fe=new Map;function Lt(kt){if(!kt)return 1;let ri=Fe.get(kt);if(ri)return ri;const oi=kt.parentNode;return ri=b.has(oi)?oi:X.has(oi)?1:Lt(oi),Fe.set(kt,ri),ri}return B.forEach(kt=>{const ri=Lt(kt);1!==ri&&b.get(ri).push(kt)}),b}function Lr(P,B){P.classList?.add(B)}function ma(P,B){P.classList?.remove(B)}function Nr(P,B,b){at(b).onDone(()=>P.processLeaveNode(B))}function as(P,B){for(let b=0;b<P.length;b++){const W=P[b];W instanceof C.ui?as(W.players,B):B.push(W)}}function Oa(P,B,b){const W=b.get(P);if(!W)return!1;let X=B.get(P);return X?W.forEach(Fe=>X.add(Fe)):B.set(P,W),b.delete(P),!0}class ja{constructor(B,b,W){this._driver=b,this._normalizer=W,this._triggerCache={},this.onRemovalComplete=(X,Fe)=>{},this._transitionEngine=new lo(B.body,b,W),this._timelineEngine=new Uo(B.body,b,W),this._transitionEngine.onRemovalComplete=(X,Fe)=>this.onRemovalComplete(X,Fe)}registerTrigger(B,b,W,X,Fe){const Lt=B+"-"+X;let kt=this._triggerCache[Lt];if(!kt){const ri=[],Bi=$i(this._driver,Fe,ri,[]);if(ri.length)throw function n(P,B){return new e.wOt(3404,!1)}();kt=function tr(P,B,b){return new or(P,B,b)}(X,Bi,this._normalizer),this._triggerCache[Lt]=kt}this._transitionEngine.registerTrigger(b,X,kt)}register(B,b){this._transitionEngine.register(B,b)}destroy(B,b){this._transitionEngine.destroy(B,b)}onInsert(B,b,W,X){this._transitionEngine.insertNode(B,b,W,X)}onRemove(B,b,W){this._transitionEngine.removeNode(B,b,W)}disableAnimations(B,b){this._transitionEngine.markElementAsDisabled(B,b)}process(B,b,W,X){if("@"==W.charAt(0)){const[Fe,Lt]=_e(W);this._timelineEngine.command(Fe,b,Lt,X)}else this._transitionEngine.trigger(B,b,W,X)}listen(B,b,W,X,Fe){if("@"==W.charAt(0)){const[Lt,kt]=_e(W);return this._timelineEngine.listen(Lt,b,kt,Fe)}return this._transitionEngine.listen(B,b,W,X,Fe)}flush(B=-1){this._transitionEngine.flush(B)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(B){this._transitionEngine.afterFlushAnimationsDone(B)}}class jo{static{this.initialStylesByElement=new WeakMap}constructor(B,b,W){this._element=B,this._startStyles=b,this._endStyles=W,this._state=0;let X=jo.initialStylesByElement.get(B);X||jo.initialStylesByElement.set(B,X=new Map),this._initialStyles=X}start(){this._state<1&&(this._startStyles&&me(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(me(this._element,this._initialStyles),this._endStyles&&(me(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(jo.initialStylesByElement.delete(this._element),this._startStyles&&(xe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xe(this._element,this._endStyles),this._endStyles=null),me(this._element,this._initialStyles),this._state=3)}}function Mo(P){let B=null;return P.forEach((b,W)=>{(function pa(P){return"display"===P||"position"===P})(W)&&(B=B||new Map,B.set(W,b))}),B}class ro{constructor(B,b,W,X){this.element=B,this.keyframes=b,this.options=W,this._specialStyles=X,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=W.duration,this._delay=W.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(B=>B()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const B=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,B,this.options),this._finalKeyframe=B.length?B[B.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(B){const b=[];return B.forEach(W=>{b.push(Object.fromEntries(W))}),b}_triggerWebAnimation(B,b,W){return B.animate(this._convertKeyframesToObject(b),W)}onStart(B){this._originalOnStartFns.push(B),this._onStartFns.push(B)}onDone(B){this._originalOnDoneFns.push(B),this._onDoneFns.push(B)}onDestroy(B){this._onDestroyFns.push(B)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(B=>B()),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(B=>B()),this._onDestroyFns=[])}setPosition(B){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=B*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const B=new Map;this.hasStarted()&&this._finalKeyframe.forEach((W,X)=>{"offset"!==X&&B.set(X,this._finished?W:fi(this.element,X))}),this.currentSnapshot=B}triggerCallback(B){const b="start"===B?this._onStartFns:this._onDoneFns;b.forEach(W=>W()),b.length=0}}class wr{validateStyleProperty(B){return!0}validateAnimatableStyleProperty(B){return!0}containsElement(B,b){return Ct(B,b)}getParentElement(B){return pe(B)}query(B,b,W){return _t(B,b,W)}computeStyle(B,b,W){return fi(B,b)}animate(B,b,W,X,Fe,Lt=[]){const ri={duration:W,delay:X,fill:0==X?"both":"forwards"};Fe&&(ri.easing=Fe);const oi=new Map,Bi=Lt.filter(vn=>vn instanceof ro);(function $t(P,B){return 0===P||0===B})(W,X)&&Bi.forEach(vn=>{vn.currentSnapshot.forEach((Wi,Yi)=>oi.set(Yi,Wi))});let Ti=function Et(P){return P.length?P[0]instanceof Map?P:P.map(B=>new Map(Object.entries(B))):[]}(b).map(vn=>new Map(vn));Ti=function Ft(P,B,b){if(b.size&&B.length){let W=B[0],X=[];if(b.forEach((Fe,Lt)=>{W.has(Lt)||X.push(Lt),W.set(Lt,Fe)}),X.length)for(let Fe=1;Fe<B.length;Fe++){let Lt=B[Fe];X.forEach(kt=>Lt.set(kt,fi(P,kt)))}}return B}(B,Ti,oi);const dn=function Vo(P,B){let b=null,W=null;return Array.isArray(B)&&B.length?(b=Mo(B[0]),B.length>1&&(W=Mo(B[B.length-1]))):B instanceof Map&&(b=Mo(B)),b||W?new jo(P,b,W):null}(B,Ti);return new ro(B,Ti,ri,dn)}}const Kn="@.disabled";class Ht{constructor(B,b,W,X){this.namespaceId=B,this.delegate=b,this.engine=W,this._onDestroy=X,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(B){this.delegate.destroyNode?.(B)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(B,b){return this.delegate.createElement(B,b)}createComment(B){return this.delegate.createComment(B)}createText(B){return this.delegate.createText(B)}appendChild(B,b){this.delegate.appendChild(B,b),this.engine.onInsert(this.namespaceId,b,B,!1)}insertBefore(B,b,W,X=!0){this.delegate.insertBefore(B,b,W),this.engine.onInsert(this.namespaceId,b,B,X)}removeChild(B,b,W){this.engine.onRemove(this.namespaceId,b,this.delegate)}selectRootElement(B,b){return this.delegate.selectRootElement(B,b)}parentNode(B){return this.delegate.parentNode(B)}nextSibling(B){return this.delegate.nextSibling(B)}setAttribute(B,b,W,X){this.delegate.setAttribute(B,b,W,X)}removeAttribute(B,b,W){this.delegate.removeAttribute(B,b,W)}addClass(B,b){this.delegate.addClass(B,b)}removeClass(B,b){this.delegate.removeClass(B,b)}setStyle(B,b,W,X){this.delegate.setStyle(B,b,W,X)}removeStyle(B,b,W){this.delegate.removeStyle(B,b,W)}setProperty(B,b,W){"@"==b.charAt(0)&&b==Kn?this.disableAnimations(B,!!W):this.delegate.setProperty(B,b,W)}setValue(B,b){this.delegate.setValue(B,b)}listen(B,b,W){return this.delegate.listen(B,b,W)}disableAnimations(B,b){this.engine.disableAnimations(B,b)}}class Mi extends Ht{constructor(B,b,W,X,Fe){super(b,W,X,Fe),this.factory=B,this.namespaceId=b}setProperty(B,b,W){"@"==b.charAt(0)?"."==b.charAt(1)&&b==Kn?this.disableAnimations(B,W=void 0===W||!!W):this.engine.process(this.namespaceId,B,b.slice(1),W):this.delegate.setProperty(B,b,W)}listen(B,b,W){if("@"==b.charAt(0)){const X=function xt(P){switch(P){case"body":return document.body;case"document":return document;case"window":return window;default:return P}}(B);let Fe=b.slice(1),Lt="";return"@"!=Fe.charAt(0)&&([Fe,Lt]=function ni(P){const B=P.indexOf(".");return[P.substring(0,B),P.slice(B+1)]}(Fe)),this.engine.listen(this.namespaceId,X,Fe,Lt,kt=>{this.factory.scheduleListenerCallback(kt._data||-1,W,kt)})}return this.delegate.listen(B,b,W)}}class ki{constructor(B,b,W){this.delegate=B,this.engine=b,this._zone=W,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,b.onRemovalComplete=(X,Fe)=>{const Lt=Fe?.parentNode(X);Lt&&Fe.removeChild(Lt,X)}}createRenderer(B,b){const X=this.delegate.createRenderer(B,b);if(!B||!b?.data?.animation){const oi=this._rendererCache;let Bi=oi.get(X);return Bi||(Bi=new Ht("",X,this.engine,()=>oi.delete(X)),oi.set(X,Bi)),Bi}const Fe=b.id,Lt=b.id+"-"+this._currentId;this._currentId++,this.engine.register(Lt,B);const kt=oi=>{Array.isArray(oi)?oi.forEach(kt):this.engine.registerTrigger(Fe,Lt,B,oi.name,oi)};return b.data.animation.forEach(kt),new Mi(this,Lt,X,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(B,b,W){if(B>=0&&B<this._microtaskId)return void this._zone.run(()=>b(W));const X=this._animationCallbacksBuffer;0==X.length&&queueMicrotask(()=>{this._zone.run(()=>{X.forEach(Fe=>{const[Lt,kt]=Fe;Lt(kt)}),this._animationCallbacksBuffer=[]})}),X.push([b,W])}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 bi=p(177);const Sa=[{provide:Qe,useFactory:function Fa(){return new zt}},{provide:ja,useClass:(()=>{class P extends ja{constructor(b,W,X){super(b,W,X)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(W){return new(W||P)(e.KVO(bi.qQ),e.KVO(Je),e.KVO(Qe))}}static{this.\u0275prov=e.jDH({token:P,factory:P.\u0275fac})}}return P})()},{provide:e._9s,useFactory:function Zr(P,B,b){return new ki(P,B,b)},deps:[t.B7,ja,e.SKi]}],Pa=[{provide:Je,useFactory:()=>new wr},{provide:e.bc$,useValue:"BrowserAnimations"},...Sa],uo=[{provide:Je,useClass:ke},{provide:e.bc$,useValue:"NoopAnimations"},...Sa];let Za=(()=>{class P{static withConfig(b){return{ngModule:P,providers:b.disableAnimations?uo:Pa}}static{this.\u0275fac=function(W){return new(W||P)}}static{this.\u0275mod=e.$C({type:P})}static{this.\u0275inj=e.G2t({providers:Pa,imports:[t.Bb]})}}return P})();var Ms=p(1626),aa=p(9327),Ri=p(9640),ft=p(4054),pt=p(983),Be=p(1985),Tt=p(7673),ti=p(7786),fn=p(7242),Qn=p(2771),Ho=p(7647),br=p(5964),Wa=p(6354),lc=p(274),dc=p(3236),hc=p(8211),Yo=p(9974),Ko=p(8750),fo=p(1853),Rs=p(4360),zn=p(5225);const jr=(0,fo.L)(P=>function(b=null){P(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=b});function ao(P){throw new jr(P)}var Ir=p(152),Ta=p(9437),Qs=p(6697),cn=p(6977),Es=p(5558),uc=p(5245),Ss=p(941),fc=p(3993),_s=p(2816),Dl=p(9079);const vs="PERFORM_ACTION",el="ROLLBACK",Os="TOGGLE_ACTION",pc="JUMP_TO_STATE",qs="JUMP_TO_ACTION",bs="IMPORT_STATE",gc="LOCK_CHANGES",_c="PAUSE_RECORDING";class os{constructor(B,b){if(this.action=B,this.timestamp=b,this.type=vs,typeof B.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class To{constructor(){this.type="REFRESH"}}class Fs{constructor(B){this.timestamp=B,this.type="RESET"}}class tl{constructor(B){this.timestamp=B,this.type=el}}class Pc{constructor(B){this.timestamp=B,this.type="COMMIT"}}class Ll{constructor(){this.type="SWEEP"}}class il{constructor(B){this.id=B,this.type=Os}}class Ps{constructor(B){this.index=B,this.type=pc}}class lt{constructor(B){this.actionId=B,this.type=qs}}class Rt{constructor(B){this.nextLiftedState=B,this.type=bs}}class At{constructor(B){this.status=B,this.type=gc}}class J{constructor(B){this.status=B,this.type=_c}}const Te=new e.nKC("@ngrx/store-devtools Options"),Ge=new e.nKC("@ngrx/store-devtools Initial Config");function St(){return null}const qt="NgRx Store DevTools";function hi(P){const B={maxAge:!1,monitor:St,actionSanitizer:void 0,stateSanitizer:void 0,name:qt,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},b="function"==typeof P?P():P,X=b.features||!!b.logOnly&&{pause:!0,export:!0,test:!0}||B.features;!0===X.import&&(X.import="custom");const Fe=Object.assign({},B,{features:X},b);if(Fe.maxAge&&Fe.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${Fe.maxAge}`);return Fe}function Si(P,B){return P.filter(b=>B.indexOf(b)<0)}function tn(P){const{computedStates:B,currentStateIndex:b}=P;if(b>=B.length){const{state:X}=B[B.length-1];return X}const{state:W}=B[b];return W}function yn(P){return new os(P,+Date.now())}function An(P,B){return Object.keys(B).reduce((b,W)=>{const X=Number(W);return b[X]=hr(P,B[X],X),b},{})}function hr(P,B,b){return{...B,action:P(B.action,b)}}function er(P,B){return B.map((b,W)=>({state:yr(P,b.state,W),error:b.error}))}function yr(P,B,b){return P(B,b)}function gr(P){return P.predicate||P.actionsSafelist||P.actionsBlocklist}function oa(P,B,b,W,X){const Fe=b&&!b(P,B.action),Lt=W&&!B.action.type.match(W.map(ri=>Bn(ri)).join("|")),kt=X&&B.action.type.match(X.map(ri=>Bn(ri)).join("|"));return Fe||Lt||kt}function Bn(P){return P.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function zi(P){return{ngZone:P?(0,e.WQX)(e.SKi):null,connectInZone:P}}let an=(()=>{class P extends Ri.SS{static{this.\u0275fac=(()=>{let b;return function(X){return(b||(b=e.xGo(P)))(X||P)}})()}static{this.\u0275prov=e.jDH({token:P,factory:P.\u0275fac})}}return P})();const Wr=new e.nKC("@ngrx/store-devtools Redux Devtools Extension");let da=(()=>{class P{constructor(b,W,X){this.config=W,this.dispatcher=X,this.zoneConfig=zi(this.config.connectInZone),this.devtoolsExtension=b,this.createActionStreams()}notify(b,W){if(this.devtoolsExtension)if(b.type===vs){if(W.isLocked||W.isPaused)return;const X=tn(W);if(gr(this.config)&&oa(X,b,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const Fe=this.config.stateSanitizer?yr(this.config.stateSanitizer,X,W.currentStateIndex):X,Lt=this.config.actionSanitizer?hr(this.config.actionSanitizer,b,W.nextActionId):b;this.sendToReduxDevtools(()=>this.extensionConnection.send(Lt,Fe))}else{const X={...W,stagedActionIds:W.stagedActionIds,actionsById:this.config.actionSanitizer?An(this.config.actionSanitizer,W.actionsById):W.actionsById,computedStates:this.config.stateSanitizer?er(this.config.stateSanitizer,W.computedStates):W.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,X,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new Be.c(b=>{const W=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=W,W.init(),W.subscribe(X=>b.next(X)),W.unsubscribe}):pt.w}createActionStreams(){const b=this.createChangesObservable().pipe((0,Ho.u)()),W=b.pipe((0,br.p)(oi=>"START"===oi.type)),X=b.pipe((0,br.p)(oi=>"STOP"===oi.type)),Fe=b.pipe((0,br.p)(oi=>"DISPATCH"===oi.type),(0,Wa.T)(oi=>this.unwrapAction(oi.payload)),(0,lc.H)(oi=>oi.type===bs?this.dispatcher.pipe((0,br.p)(Bi=>Bi.type===Ri.q6),function la(P,B){const{first:b,each:W,with:X=ao,scheduler:Fe=B??dc.E,meta:Lt=null}=(0,hc.v)(P)?{first:P}:"number"==typeof P?{each:P}:P;if(null==b&&null==W)throw new TypeError("No timeout provided.");return(0,Yo.N)((kt,ri)=>{let oi,Bi,Ti=null,dn=0;const vn=Wi=>{Bi=(0,zn.N)(ri,Fe,()=>{try{oi.unsubscribe(),(0,Ko.Tg)(X({meta:Lt,lastValue:Ti,seen:dn})).subscribe(ri)}catch(Yi){ri.error(Yi)}},Wi)};oi=kt.subscribe((0,Rs._)(ri,Wi=>{Bi?.unsubscribe(),dn++,ri.next(Ti=Wi),W>0&&vn(W)},void 0,void 0,()=>{Bi?.closed||Bi?.unsubscribe(),Ti=null})),!dn&&vn(null!=b?"number"==typeof b?b:+b-Fe.now():W)})}(1e3),(0,Ir.B)(1e3),(0,Wa.T)(()=>oi),(0,Ta.W)(()=>(0,Tt.of)(oi)),(0,Qs.s)(1)):(0,Tt.of)(oi))),kt=b.pipe((0,br.p)(oi=>"ACTION"===oi.type),(0,Wa.T)(oi=>this.unwrapAction(oi.payload))).pipe((0,cn.Q)(X)),ri=Fe.pipe((0,cn.Q)(X));this.start$=W.pipe((0,cn.Q)(X)),this.actions$=this.start$.pipe((0,Es.n)(()=>kt)),this.liftedActions$=this.start$.pipe((0,Es.n)(()=>ri))}unwrapAction(b){return"string"==typeof b?(0,eval)(`(${b})`):b}getExtensionConfig(b){const W={name:b.name,features:b.features,serialize:b.serialize,autoPause:b.autoPause??!1,trace:b.trace??!1,traceLimit:b.traceLimit??75};return!1!==b.maxAge&&(W.maxAge=b.maxAge),W}sendToReduxDevtools(b){try{b()}catch(W){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",W)}}static{this.\u0275fac=function(W){return new(W||P)(e.KVO(Wr),e.KVO(Te),e.KVO(an))}}static{this.\u0275prov=e.jDH({token:P,factory:P.\u0275fac})}}return P})();const Xa={type:Ri.Zz},Vr={type:"@ngrx/store-devtools/recompute"};function _a(P,B,b,W,X){if(W)return{state:b,error:"Interrupted by an error up the chain"};let Lt,Fe=b;try{Fe=P(b,B)}catch(kt){Lt=kt.toString(),X.handleError(kt)}return{state:Fe,error:Lt}}function cs(P,B,b,W,X,Fe,Lt,kt,ri){if(B>=P.length&&P.length===Fe.length)return P;const oi=P.slice(0,B),Bi=Fe.length-(ri?1:0);for(let Ti=B;Ti<Bi;Ti++){const dn=Fe[Ti],vn=X[dn].action,Wi=oi[Ti-1],Yi=Wi?Wi.state:W,In=Wi?Wi.error:void 0,Br=Lt.indexOf(dn)>-1?Wi:_a(b,vn,Yi,In,kt);oi.push(Br)}return ri&&oi.push(P[P.length-1]),oi}let Il=(()=>{class P{constructor(b,W,X,Fe,Lt,kt,ri,oi){const Bi=function jn(P,B){return{monitorState:B(void 0,{}),nextActionId:1,actionsById:{0:yn(Xa)},stagedActionIds:[0],skippedActionIds:[],committedState:P,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}(ri,oi.monitor),Ti=function bc(P,B,b,W,X={}){return Fe=>(Lt,kt)=>{let{monitorState:ri,actionsById:oi,nextActionId:Bi,stagedActionIds:Ti,skippedActionIds:dn,committedState:vn,currentStateIndex:Wi,computedStates:Yi,isLocked:In,isPaused:cr}=Lt||B;function Br(qr){let xr=qr,ha=Ti.slice(1,xr+1);for(let ua=0;ua<ha.length;ua++){if(Yi[ua+1].error){xr=ua,ha=Ti.slice(1,xr+1);break}delete oi[ha[ua]]}dn=dn.filter(ua=>-1===ha.indexOf(ua)),Ti=[0,...Ti.slice(xr+1)],vn=Yi[xr].state,Yi=Yi.slice(xr),Wi=Wi>xr?Wi-xr:0}function ca(){oi={0:yn(Xa)},Bi=1,Ti=[0],dn=[],vn=Yi[Wi].state,Wi=0,Yi=[]}Lt||(oi=Object.create(oi));let lr=0;switch(kt.type){case gc:In=kt.status,lr=1/0;break;case _c:cr=kt.status,cr?(Ti=[...Ti,Bi],oi[Bi]=new os({type:"@ngrx/devtools/pause"},+Date.now()),Bi++,lr=Ti.length-1,Yi=Yi.concat(Yi[Yi.length-1]),Wi===Ti.length-2&&Wi++,lr=1/0):ca();break;case"RESET":oi={0:yn(Xa)},Bi=1,Ti=[0],dn=[],vn=P,Wi=0,Yi=[];break;case"COMMIT":ca();break;case el:oi={0:yn(Xa)},Bi=1,Ti=[0],dn=[],Wi=0,Yi=[];break;case Os:{const{id:qr}=kt;dn=-1===dn.indexOf(qr)?[qr,...dn]:dn.filter(ha=>ha!==qr),lr=Ti.indexOf(qr);break}case"SET_ACTIONS_ACTIVE":{const{start:qr,end:xr,active:ha}=kt,ua=[];for(let fs=qr;fs<xr;fs++)ua.push(fs);dn=ha?Si(dn,ua):[...dn,...ua],lr=Ti.indexOf(qr);break}case pc:Wi=kt.index,lr=1/0;break;case qs:{const qr=Ti.indexOf(kt.actionId);-1!==qr&&(Wi=qr),lr=1/0;break}case"SWEEP":Ti=Si(Ti,dn),dn=[],Wi=Math.min(Wi,Ti.length-1);break;case vs:{if(In)return Lt||B;if(cr||Lt&&oa(Lt.computedStates[Wi],kt,X.predicate,X.actionsSafelist,X.actionsBlocklist)){const xr=Yi[Yi.length-1];Yi=[...Yi.slice(0,-1),_a(Fe,kt.action,xr.state,xr.error,b)],lr=1/0;break}X.maxAge&&Ti.length===X.maxAge&&Br(1),Wi===Ti.length-1&&Wi++;const qr=Bi++;oi[qr]=kt,Ti=[...Ti,qr],lr=Ti.length-1;break}case bs:({monitorState:ri,actionsById:oi,nextActionId:Bi,stagedActionIds:Ti,skippedActionIds:dn,committedState:vn,currentStateIndex:Wi,computedStates:Yi,isLocked:In,isPaused:cr}=kt.nextLiftedState);break;case Ri.Zz:lr=0,X.maxAge&&Ti.length>X.maxAge&&(Yi=cs(Yi,lr,Fe,vn,oi,Ti,dn,b,cr),Br(Ti.length-X.maxAge),lr=1/0);break;case Ri.q6:if(Yi.filter(xr=>xr.error).length>0)lr=0,X.maxAge&&Ti.length>X.maxAge&&(Yi=cs(Yi,lr,Fe,vn,oi,Ti,dn,b,cr),Br(Ti.length-X.maxAge),lr=1/0);else{if(!cr&&!In){Wi===Ti.length-1&&Wi++;const xr=Bi++;oi[xr]=new os(kt,+Date.now()),Ti=[...Ti,xr],lr=Ti.length-1,Yi=cs(Yi,lr,Fe,vn,oi,Ti,dn,b,cr)}Yi=Yi.map(xr=>({...xr,state:Fe(xr.state,Vr)})),Wi=Ti.length-1,X.maxAge&&Ti.length>X.maxAge&&Br(Ti.length-X.maxAge),lr=1/0}break;default:lr=1/0}return Yi=cs(Yi,lr,Fe,vn,oi,Ti,dn,b,cr),ri=W(ri,kt),{monitorState:ri,actionsById:oi,nextActionId:Bi,stagedActionIds:Ti,skippedActionIds:dn,committedState:vn,currentStateIndex:Wi,computedStates:Yi,isLocked:In,isPaused:cr}}}(ri,Bi,kt,oi.monitor,oi),dn=(0,ti.h)((0,ti.h)(W.asObservable().pipe((0,uc.i)(1)),Fe.actions$).pipe((0,Wa.T)(yn)),b,Fe.liftedActions$).pipe((0,Ss.Q)(fn.T)),vn=X.pipe((0,Wa.T)(Ti)),Wi=zi(oi.connectInZone),Yi=new Qn.m(1);this.liftedStateSubscription=dn.pipe((0,fc.E)(vn),yc(Wi),(0,_s.S)(({state:Br},[ca,lr])=>{let qr=lr(Br,ca);return ca.type!==vs&&gr(oi)&&(qr=function Mr(P,B,b,W){const X=[],Fe={},Lt=[];return P.stagedActionIds.forEach((kt,ri)=>{const oi=P.actionsById[kt];oi&&(ri&&oa(P.computedStates[ri],oi,B,b,W)||(Fe[kt]=oi,X.push(kt),Lt.push(P.computedStates[ri])))}),{...P,stagedActionIds:X,actionsById:Fe,computedStates:Lt}}(qr,oi.predicate,oi.actionsSafelist,oi.actionsBlocklist)),Fe.notify(ca,qr),{state:qr,action:ca}},{state:Bi,action:null})).subscribe(({state:Br,action:ca})=>{Yi.next(Br),ca.type===vs&&Lt.next(ca.action)}),this.extensionStartSubscription=Fe.start$.pipe(yc(Wi)).subscribe(()=>{this.refresh()});const In=Yi.asObservable(),cr=In.pipe((0,Wa.T)(tn));Object.defineProperty(cr,"state",{value:(0,Dl.ot)(cr,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=b,this.liftedState=In,this.state=cr}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(b){this.dispatcher.next(b)}next(b){this.dispatcher.next(b)}error(b){}complete(){}performAction(b){this.dispatch(new os(b,+Date.now()))}refresh(){this.dispatch(new To)}reset(){this.dispatch(new Fs(+Date.now()))}rollback(){this.dispatch(new tl(+Date.now()))}commit(){this.dispatch(new Pc(+Date.now()))}sweep(){this.dispatch(new Ll)}toggleAction(b){this.dispatch(new il(b))}jumpToAction(b){this.dispatch(new lt(b))}jumpToState(b){this.dispatch(new Ps(b))}importState(b){this.dispatch(new Rt(b))}lockChanges(b){this.dispatch(new At(b))}pauseRecording(b){this.dispatch(new J(b))}static{this.\u0275fac=function(W){return new(W||P)(e.KVO(an),e.KVO(Ri.SS),e.KVO(Ri.QU),e.KVO(da),e.KVO(Ri.sA),e.KVO(e.zcH),e.KVO(Ri.N_),e.KVO(Te))}}static{this.\u0275prov=e.jDH({token:P,factory:P.\u0275fac})}}return P})();function yc({ngZone:P,connectInZone:B}){return b=>B?new Be.c(W=>b.subscribe({next:X=>P.run(()=>W.next(X)),error:X=>P.run(()=>W.error(X)),complete:()=>P.run(()=>W.complete())})):b}const Xr=new e.nKC("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function mo(P,B){return!!P||B.monitor!==St}function Ao(){const P="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[P]<"u"?window[P]:null}function ec(P={}){return(0,e.EmA)([da,an,Il,{provide:Ge,useValue:P},{provide:Xr,deps:[Wr,Te],useFactory:mo},{provide:Wr,useFactory:Ao},{provide:Te,deps:[Ge],useFactory:hi},{provide:Ri.h1,deps:[Il],useFactory:Nc},{provide:Ri.Bh,useExisting:an}])}function Nc(P){return P.state}let Ns=(()=>{class P{static instrument(b={}){return{ngModule:P,providers:[ec(b)]}}static{this.\u0275fac=function(W){return new(W||P)}}static{this.\u0275mod=e.$C({type:P})}static{this.\u0275inj=e.G2t({})}}return P})();var Ui=p(1413),Vc=p(3726),Vs=p(2806),kn=p(1807);function nl(P=0,B=dc.E){return P<0&&(P=0),(0,kn.O)(P,P,B)}var rl=p(8359),$o=p(7908),Rl=p(9326),Jr=p(8141),Ol=p(980),Aa=p(3294);class va{}function Ts(P){return(0,e.EmA)([{provide:va,useValue:P}])}let Hs=(()=>{class P{constructor(b,W){this._ngZone=W,this.timerStart$=new Ui.B,this.idleDetected$=new Ui.B,this.timeout$=new Ui.B,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,ti.h)((0,Vc.R)(window,"mousemove"),(0,Vc.R)(window,"resize"),(0,Vc.R)(document,"keydown"))),this.idle$=(0,Vs.H)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function Hc(P,...B){var b,W;const X=null!==(b=(0,Rl.lI)(B))&&void 0!==b?b:dc.E,Fe=null!==(W=B[0])&&void 0!==W?W:null,Lt=B[1]||1/0;return(0,Yo.N)((kt,ri)=>{let oi=[],Bi=!1;const Ti=Wi=>{const{buffer:Yi,subs:In}=Wi;In.unsubscribe(),(0,$o.o)(oi,Wi),ri.next(Yi),Bi&&dn()},dn=()=>{if(oi){const Wi=new rl.yU;ri.add(Wi);const In={buffer:[],subs:Wi};oi.push(In),(0,zn.N)(Wi,X,()=>Ti(In),P)}};null!==Fe&&Fe>=0?(0,zn.N)(ri,X,dn,Fe,!0):Bi=!0,dn();const vn=(0,Rs._)(ri,Wi=>{const Yi=oi.slice();for(const In of Yi){const{buffer:cr}=In;cr.push(Wi),Lt<=cr.length&&Ti(In)}},()=>{for(;oi?.length;)ri.next(oi.shift().buffer);vn?.unsubscribe(),ri.complete(),ri.unsubscribe()},void 0,()=>oi=null);kt.subscribe(vn)})}(this.idleSensitivityMillisec),(0,br.p)(b=>!b.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,Jr.M)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,Es.n)(()=>this._ngZone.runOutsideAngular(()=>nl(1e3).pipe((0,cn.Q)((0,ti.h)(this.activityEvents$,(0,kn.O)(this.idleMillisec).pipe((0,Jr.M)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,Ol.j)(()=>{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,Aa.F)(),(0,Es.n)(b=>b?this.timer$:(0,Tt.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,br.p)(b=>!!b),(0,Jr.M)(()=>this.isTimeout=!0),(0,Wa.T)(()=>!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,Tt.of)(()=>new Date).pipe((0,Wa.T)(W=>W()),(0,Es.n)(W=>nl(1e3).pipe((0,Wa.T)(()=>Math.round(((new Date).valueOf()-W.valueOf())/1e3)),(0,Jr.M)(X=>{X>=b&&this.timeout$.next(!0)}))))})}setupPing(b){this.ping$=nl(b).pipe((0,br.p)(()=>!this.isTimeout))}}return P.\u0275fac=function(b){return new(b||P)(e.KVO(va,8),e.KVO(e.SKi))},P.\u0275prov=e.jDH({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();var En=p(1188),qi=p(5383),Hr=p(9647),ba=p(60),Ki=p(2920),mr=p(5596),sa=p(6850);const Fl=()=>({initial:!1});function g0(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",11),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.activeLink=X.links[1].link)}),e.EFF(1),e.k0s()}if(2&P){const b=e.XpG();e.FS9("routerLink",b.links[1].link),e.Y8G("active",b.activeLink===b.links[1].link)("state",e.lJ4(4,Fl)),e.R7$(),e.JRh(b.links[1].name)}}function Vu(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",12),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.activeLink=X.links[2].link)}),e.EFF(1),e.k0s()}if(2&P){const b=e.XpG();e.FS9("routerLink",b.links[2].link),e.Y8G("active",b.activeLink===b.links[2].link),e.R7$(),e.JRh(b.links[2].name)}}let _0=(()=>{class P{constructor(b,W){this.store=b,this.router=W,this.faUserCog=qi.McB,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new Ui.B,new Ui.B,new Ui.B]}ngOnInit(){const b=this.links.find(W=>this.router.url.includes(W.link));this.activeLink=b?b.link:this.links[0].link,this.router.events.pipe((0,cn.Q)(this.unSubs[0]),(0,br.p)(W=>W instanceof En.gx)).subscribe({next:W=>{const X=this.links.find(Fe=>W.urlAfterRedirects.includes(Fe.link));this.activeLink=X?X.link:this.links[0].link}}),this.store.select(Hr.qv).pipe((0,cn.Q)(this.unSubs[1])).subscribe(W=>{this.appConfig=W}),this.store.select(Hr._c).pipe((0,cn.Q)(this.unSubs[2])).subscribe(W=>{this.showBitcoind=!1,this.selNode=W,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{this.\u0275fac=function(W){return new(W||P)(e.rXU(Ri.il),e.rXU(En.Ix))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-settings"]],decls:16,vars:7,consts:[["tabPanel",""],["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,"click","active","routerLink"],["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"],["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,"click","active","routerLink","state"],["role","tab","tabindex","3","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"]],template:function(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",1),e.nrm(1,"fa-icon",2),e.j41(2,"span",3),e.EFF(3,"Settings"),e.k0s()(),e.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.activeLink=X.links[0].link)}),e.EFF(9),e.k0s(),e.DNE(10,g0,2,5,"div",8)(11,Vu,2,3,"div",9),e.k0s(),e.nrm(12,"mat-tab-nav-panel",null,0),e.j41(14,"div",10),e.nrm(15,"router-outlet"),e.k0s()()()()}if(2&W){const Fe=e.sdS(13);e.R7$(),e.Y8G("icon",X.faUserCog),e.R7$(6),e.Y8G("tabPanel",Fe),e.R7$(),e.FS9("routerLink",X.links[0].link),e.Y8G("active",X.activeLink===X.links[0].link),e.R7$(),e.JRh(X.links[0].name),e.R7$(),e.Y8G("ngIf",!+X.appConfig.SSO.rtlSSO),e.R7$(),e.Y8G("ngIf",X.showBitcoind)}},dependencies:[bi.bT,ba.aY,Ki.DJ,Ki.sA,Ki.UI,mr.RN,mr.m2,sa.Bu,sa.hQ,sa.Ql,En.n3,En.Wk]})}}return P})();var Cn=p(1771),Qo=p(8570),Gi=p(9417),ge=p(8834),Ne=p(6467),Ce=p(2798),ze=p(6600),gt=p(497),Ot=p(9587);function Jt(P,B){if(1&P&&(e.j41(0,"mat-option",15),e.EFF(1),e.k0s()),2&P){const b=B.$implicit;e.Y8G("value",b.index),e.R7$(),e.Lme(" ",b.lnNode," (",b.lnImplementation,") ")}}function wi(P,B){if(1&P){const b=e.RV6();e.j41(0,"form",3,0)(2,"div",4),e.nrm(3,"fa-icon",5),e.j41(4,"span",6),e.EFF(5,"Default Node"),e.k0s()(),e.j41(6,"div",7)(7,"div",8)(8,"mat-form-field",9)(9,"mat-select",10),e.mxI("ngModelChange",function(X){e.eBV(b);const Fe=e.XpG();return e.DH7(Fe.appConfig.defaultNodeIndex,X)||(Fe.appConfig.defaultNodeIndex=X),e.Njj(X)}),e.DNE(10,Jt,2,3,"mat-option",11),e.k0s()()(),e.j41(11,"div",12)(12,"div",8)(13,"button",13),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.onResetSettings())}),e.EFF(14,"Reset"),e.k0s(),e.j41(15,"button",14),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.onUpdateApplicationSettings())}),e.EFF(16,"Update"),e.k0s()()()()()}if(2&P){const b=e.XpG();e.R7$(3),e.Y8G("icon",b.faWindowRestore),e.R7$(6),e.R50("ngModel",b.appConfig.defaultNodeIndex),e.R7$(),e.Y8G("ngForOf",b.appConfig.nodes)}}let gi=(()=>{class P{constructor(b,W){this.logger=b,this.store=W,this.faWindowRestore=qi.aFw,this.faPlus=qi.QLR,this.previousDefaultNode=0,this.unSubs=[new Ui.B,new Ui.B]}ngOnInit(){this.store.select(Hr.qv).pipe((0,cn.Q)(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,Cn.rc)({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{this.\u0275fac=function(W){return new(W||P)(e.rXU(Qo.gP),e.rXU(Ri.il))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-app-settings"]],decls:2,vars:1,consts:[["form","ngForm"],["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"],["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","fxLayoutAlign","start start"],["fxLayout","column","fxLayoutAlign","start start"],["autoFocus","","tabindex","1","name","defaultNode",3,"ngModelChange","ngModel"],[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(W,X){1&W&&(e.j41(0,"div",1),e.DNE(1,wi,17,3,"form",2),e.k0s()),2&W&&(e.R7$(),e.Y8G("ngIf",X.appConfig.nodes&&X.appConfig.nodes.length&&X.appConfig.nodes.length>0))},dependencies:[bi.Sq,bi.bT,Gi.qT,Gi.BC,Gi.cb,Gi.vS,Gi.cV,ba.aY,Ki.DJ,Ki.sA,Ki.UI,ge.$z,Ne.rl,Ce.VO,ze.wT,gt.Ld,Ot.N]})}}return P})();var rn=p(2852),Sn=p(5351),Zn=p(1264),_r=p(7541),ys=p(5416),Or=p(9631),Ya=p(6013),ls=p(8288),xc=p(9157);const Pl=["stepper"];function Zo(P,B){if(1&P&&e.EFF(0),2&P){const b=e.XpG();e.JRh(b.passwordFormLabel)}}function As(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Password is required."),e.k0s())}function zs(P,B){if(1&P&&e.EFF(0),2&P){const b=e.XpG(2);e.JRh(b.secretFormLabel)}}function Cc(P,B){if(1&P&&e.nrm(0,"qr-code",33),2&P){const b=e.XpG(2);e.Y8G("value",b.otpauth)("size",180)("errorCorrectionLevel","L")}}function Ds(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Secret Code is required."),e.k0s())}function Nl(P,B){if(1&P){const b=e.RV6();e.j41(0,"mat-step",10)(1,"form",22),e.DNE(2,zs,1,1,"ng-template",23),e.j41(3,"div",24),e.DNE(4,Cc,1,3,"qr-code",25),e.k0s(),e.j41(5,"div",26),e.nrm(6,"fa-icon",27),e.j41(7,"span"),e.EFF(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),e.k0s()(),e.j41(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),e.EFF(12,"Secret Code"),e.k0s(),e.nrm(13,"input",29),e.j41(14,"fa-icon",30),e.bIt("copied",function(X){e.eBV(b);const Fe=e.XpG();return e.Njj(Fe.onCopySecret(X))}),e.k0s(),e.DNE(15,Ds,2,0,"mat-error",15),e.k0s()(),e.j41(16,"div",31)(17,"button",32),e.EFF(18,"Next"),e.k0s()()()()}if(2&P){const b=e.XpG();e.Y8G("stepControl",b.secretFormGroup)("editable",b.flgEditable),e.R7$(),e.Y8G("formGroup",b.secretFormGroup),e.R7$(3),e.Y8G("ngIf",b.otpauth),e.R7$(2),e.Y8G("icon",b.faInfoCircle),e.R7$(8),e.Y8G("icon",b.faCopy)("payload",null==b.secretFormGroup||null==b.secretFormGroup.controls||null==b.secretFormGroup.controls.secret?null:b.secretFormGroup.controls.secret.value),e.R7$(),e.Y8G("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 H1(P,B){if(1&P&&e.EFF(0),2&P){const b=e.XpG(2);e.JRh(b.tokenFormLabel)}}function Er(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Token is required."),e.k0s())}function m1(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Token is invalid."),e.k0s())}function Da(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",8)(1,"div",28)(2,"mat-form-field",13)(3,"mat-label"),e.EFF(4,"Token"),e.k0s(),e.nrm(5,"input",37),e.DNE(6,Er,2,0,"mat-error",15)(7,m1,2,0,"mat-error",15),e.k0s()(),e.j41(8,"div",31)(9,"button",38),e.bIt("click",function(){e.eBV(b);const X=e.XpG(2);return e.Njj(X.onVerifyToken())}),e.EFF(10),e.k0s()()()}if(2&P){const b=e.XpG(2);e.R7$(6),e.Y8G("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),e.R7$(),e.Y8G("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),e.R7$(3),e.JRh(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 po(P,B){1&P&&(e.j41(0,"div")(1,"strong"),e.EFF(2,"Success! You are all set."),e.k0s()())}function Hu(P,B){if(1&P&&(e.j41(0,"mat-step",34)(1,"form",35),e.DNE(2,H1,1,1,"ng-template",12)(3,Da,11,3,"div",36)(4,po,3,0,"div",15),e.k0s()()),2&P){const b=e.XpG();e.Y8G("stepControl",b.tokenFormGroup),e.R7$(),e.Y8G("formGroup",b.tokenFormGroup),e.R7$(2),e.Y8G("ngIf",!b.flgValidated||!b.isTokenValid),e.R7$(),e.Y8G("ngIf",b.flgValidated&&b.isTokenValid)}}function tc(P,B){if(1&P&&e.EFF(0),2&P){const b=e.XpG(2);e.JRh(b.disableFormLabel)}}function Vl(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",8)(1,"div",39),e.nrm(2,"fa-icon",27),e.j41(3,"span"),e.EFF(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),e.k0s()(),e.j41(5,"div",31)(6,"button",38),e.bIt("click",function(){e.eBV(b);const X=e.XpG(2);return e.Njj(X.onVerifyToken())}),e.EFF(7,"Disable"),e.k0s()()()}if(2&P){const b=e.XpG(2);e.R7$(2),e.Y8G("icon",b.faExclamationTriangle)}}function Jo(P,B){1&P&&(e.j41(0,"div")(1,"strong"),e.EFF(2,"Two factor authentication removed from RTL."),e.k0s()())}function K3(P,B){if(1&P&&(e.j41(0,"mat-step",34)(1,"form",35),e.DNE(2,tc,1,1,"ng-template",12)(3,Vl,8,1,"div",36)(4,Jo,3,0,"div",15),e.k0s()()),2&P){const b=e.XpG();e.Y8G("stepControl",b.disableFormGroup),e.R7$(),e.Y8G("formGroup",b.disableFormGroup),e.R7$(2),e.Y8G("ngIf",!b.flgValidated||!b.isTokenValid),e.R7$(),e.Y8G("ngIf",b.flgValidated&&b.isTokenValid)}}let z1=(()=>{class P{constructor(b,W,X,Fe,Lt,kt){this.dialogRef=b,this.data=W,this.store=X,this.formBuilder=Fe,this.rtlEffects=Lt,this.snackBar=kt,this.faExclamationTriangle=qi.zpE,this.faCopy=qi.jPR,this.faInfoCircle=qi.iW_,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:["",[Gi.k0.required]],password:["",[Gi.k0.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},Gi.k0.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",Gi.k0.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new Ui.B,new Ui.B]}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},Gi.k0.required]})}generateSecret(){const b=Zn.authenticator.generateSecret();return this.otpauth=Zn.authenticator.keyuri("","Ride The Lightning (RTL)",b),b}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,Cn.oz)({payload:rn(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,Qs.s)(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,Cn.rc)({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=Zn.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,Cn.rc)({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{this.\u0275fac=function(W){return new(W||P)(e.rXU(Sn.CP),e.rXU(Sn.Vh),e.rXU(Ri.il),e.rXU(Gi.ze),e.rXU(_r.H),e.rXU(ys.UG))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-two-factor-auth"]],viewQuery:function(W,X){if(1&W&&e.GBs(Pl,5),2&W){let Fe;e.mGM(Fe=e.lsd())&&(X.stepper=Fe.first)}},decls:30,vars:11,consts:[["stepper",""],["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,"selectionChange","linear"],[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,"copied","icon","payload"],["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(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),e.EFF(5,"Setup Two Factor Authentication"),e.k0s()(),e.j41(6,"button",6),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",7)(9,"div",8)(10,"mat-vertical-stepper",9,0),e.bIt("selectionChange",function(kt){return e.eBV(Fe),e.Njj(X.stepSelectionChanged(kt))}),e.j41(12,"mat-step",10)(13,"form",11),e.DNE(14,Zo,1,1,"ng-template",12),e.j41(15,"div",1)(16,"mat-form-field",13)(17,"mat-label"),e.EFF(18,"Password"),e.k0s(),e.nrm(19,"input",14),e.DNE(20,As,2,0,"mat-error",15),e.k0s()(),e.j41(21,"div",16)(22,"button",17),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onAuthenticate())}),e.EFF(23,"Confirm"),e.k0s()()()(),e.DNE(24,Nl,19,8,"mat-step",18)(25,Hu,5,4,"mat-step",19)(26,K3,5,4,"mat-step",19),e.k0s(),e.j41(27,"div",20)(28,"button",21),e.EFF(29),e.k0s()()()()()()}2&W&&(e.R7$(6),e.Y8G("mat-dialog-close",!1),e.R7$(4),e.Y8G("linear",!0),e.R7$(2),e.Y8G("stepControl",X.passwordFormGroup)("editable",X.flgEditable),e.R7$(),e.Y8G("formGroup",X.passwordFormGroup),e.R7$(7),e.Y8G("ngIf",null==X.passwordFormGroup||null==X.passwordFormGroup.controls||null==X.passwordFormGroup.controls.password||null==X.passwordFormGroup.controls.password.errors?null:X.passwordFormGroup.controls.password.errors.required),e.R7$(4),e.Y8G("ngIf",!X.showDisableStepper),e.R7$(),e.Y8G("ngIf",!X.showDisableStepper),e.R7$(),e.Y8G("ngIf",X.showDisableStepper),e.R7$(2),e.Y8G("mat-dialog-close",!1),e.R7$(),e.JRh(X.flgValidated&&X.isTokenValid?"Close":"Cancel"))},dependencies:[bi.bT,Gi.qT,Gi.me,Gi.BC,Gi.cb,Gi.YS,Gi.j4,Gi.JD,ba.aY,Ki.DJ,Ki.sA,Ki.UI,Sn.tx,ge.$z,mr.m2,mr.MM,Or.fg,Ne.rl,Ne.nJ,Ne.TL,Ne.yw,Ya.V5,Ya.Ti,Ya.M6,Ya.F7,ls.Um,xc.U,Ot.N]})}}return P})();var Xt=p(4416),qa=p(3202),zc=p(1997);const v0=["authForm"];function zu(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Current password is required."),e.k0s())}function al(P,B){if(1&P&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&P){const b=e.XpG(2);e.R7$(),e.JRh(b.errorMsg)}}function b0(P,B){if(1&P&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&P){const b=e.XpG(2);e.R7$(),e.JRh(b.errorConfirmMsg)}}function $d(P,B){if(1&P){const b=e.RV6();e.j41(0,"form",12,0)(2,"div",13),e.nrm(3,"fa-icon",6),e.j41(4,"span",7),e.EFF(5,"Password"),e.k0s()(),e.j41(6,"mat-form-field")(7,"mat-label"),e.EFF(8,"Current Password"),e.k0s(),e.j41(9,"input",14),e.mxI("ngModelChange",function(X){e.eBV(b);const Fe=e.XpG();return e.DH7(Fe.currPassword,X)||(Fe.currPassword=X),e.Njj(X)}),e.k0s(),e.DNE(10,zu,2,0,"mat-error",15),e.k0s(),e.j41(11,"mat-form-field")(12,"mat-label"),e.EFF(13,"New Password"),e.k0s(),e.j41(14,"input",16),e.mxI("ngModelChange",function(X){e.eBV(b);const Fe=e.XpG();return e.DH7(Fe.newPassword,X)||(Fe.newPassword=X),e.Njj(X)}),e.k0s(),e.DNE(15,al,2,1,"mat-error",15),e.k0s(),e.j41(16,"mat-form-field")(17,"mat-label"),e.EFF(18,"Confirm New Password"),e.k0s(),e.j41(19,"input",17),e.mxI("ngModelChange",function(X){e.eBV(b);const Fe=e.XpG();return e.DH7(Fe.confirmPassword,X)||(Fe.confirmPassword=X),e.Njj(X)}),e.k0s(),e.DNE(20,b0,2,1,"mat-error",15),e.k0s(),e.j41(21,"div",18)(22,"button",19),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.onResetPassword())}),e.EFF(23,"Reset"),e.k0s(),e.j41(24,"button",20),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.onChangePassword())}),e.EFF(25,"Change Password"),e.k0s()()()}if(2&P){const b=e.XpG();e.R7$(3),e.Y8G("icon",b.faLock),e.R7$(6),e.R50("ngModel",b.currPassword),e.R7$(),e.Y8G("ngIf",!b.currPassword),e.R7$(4),e.R50("ngModel",b.newPassword),e.R7$(),e.Y8G("ngIf",b.matchOldAndNewPasswords()),e.R7$(4),e.R50("ngModel",b.confirmPassword),e.R7$(),e.Y8G("ngIf",b.matchNewPasswords())}}let B1=(()=>{class P{constructor(b,W,X,Fe,Lt){this.logger=b,this.store=W,this.actions=X,this.router=Fe,this.sessionService=Lt,this.faInfoCircle=qi.iW_,this.faUserLock=qi.aAJ,this.faUserClock=qi.ld_,this.faLock=qi.DW4,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new Ui.B,new Ui.B,new Ui.B]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(Hr.qv).pipe((0,cn.Q)(this.unSubs[0])).subscribe(b=>{this.appConfig=b,this.logger.info(this.appConfig)}),this.store.select(Hr._c).pipe((0,cn.Q)(this.unSubs[1])).subscribe(b=>{this.selNode=b}),this.actions.pipe((0,cn.Q)(this.unSubs[2]),(0,br.p)(b=>b.type===Xt.aU.RESET_PASSWORD_RES)).subscribe(b=>{if(Xt.Ah.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||Xt.Ah.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,Cn.xw)({payload:{currPassword:rn(this.currPassword).toString(),newPassword:rn(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):Xt.Ah.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=Xt.Ah?.reduce((W,X,Fe)=>Fe<Xt.Ah.length-1?W+X+'" / "':W+X+'".','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,Cn.xO)({payload:{data:{appConfig:this.appConfig,component:z1}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,Cn.Qi)({payload:{uiMessage:Xt.MZ.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(b=>{b.next(),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(Qo.gP),e.rXU(Ri.il),e.rXU(ft.En),e.rXU(En.Ix),e.rXU(qa.Q))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-auth-settings"]],viewQuery:function(W,X){if(1&W&&e.GBs(v0,5),2&W){let Fe;e.mGM(Fe=e.lsd())&&(X.form=Fe.first)}},decls:15,vars:4,consts:[["authForm","ngForm"],["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"],["fxLayout","row","fxLayoutAlign","start start",1,"mb-2"],["autoFocus","","matInput","","type","password","id","currpassword","name","currpassword","tabindex","1","required","",3,"ngModelChange","ngModel"],[4,"ngIf"],["matInput","","type","password","id","newpassword","name","newpassword","tabindex","2","required","",3,"ngModelChange","ngModel"],["matInput","","type","password","id","confirmpassword","name","confirmpassword","tabindex","3","required","",3,"ngModelChange","ngModel"],["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(W,X){1&W&&(e.j41(0,"div",1),e.DNE(1,$d,26,7,"form",2),e.nrm(2,"mat-divider",3),e.j41(3,"div",4)(4,"div",5),e.nrm(5,"fa-icon",6),e.j41(6,"span",7),e.EFF(7,"Two Factor Authentication"),e.k0s()(),e.j41(8,"div",8),e.nrm(9,"fa-icon",9),e.j41(10,"span"),e.EFF(11,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),e.k0s()(),e.j41(12,"div",10)(13,"button",11),e.bIt("click",function(){return X.on2FAuth()}),e.EFF(14),e.k0s()()()()),2&W&&(e.R7$(),e.Y8G("ngIf",null==X.appConfig?null:X.appConfig.allowPasswordUpdate),e.R7$(4),e.Y8G("icon",X.faUserClock),e.R7$(4),e.Y8G("icon",X.faInfoCircle),e.R7$(5),e.JRh(X.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[bi.bT,Gi.qT,Gi.me,Gi.BC,Gi.cb,Gi.YS,Gi.vS,Gi.cV,ba.aY,Ki.DJ,Ki.sA,Ki.UI,ge.$z,Or.fg,Ne.rl,Ne.nJ,Ne.TL,zc.q,Ot.N]})}}return P})();var wc=p(3902);function ol(P,B){1&P&&e.nrm(0,"mat-divider",7)}function Nn(P,B){if(1&P&&(e.j41(0,"div",4)(1,"pre",5),e.EFF(2),e.nI1(3,"json"),e.k0s(),e.DNE(4,ol,1,0,"mat-divider",6),e.k0s()),2&P){const b=e.XpG();e.R7$(2),e.JRh(e.bMT(3,2,b.configData)),e.R7$(2),e.Y8G("ngIf",""!==b.configData)}}function Hl(P,B){if(1&P&&(e.j41(0,"h2"),e.EFF(1),e.k0s()),2&P){const b=e.XpG().$implicit;e.R7$(),e.JRh(b)}}function Qd(P,B){if(1&P&&(e.j41(0,"h4",14),e.EFF(1),e.k0s()),2&P){const b=e.XpG().$implicit;e.R7$(),e.JRh(b)}}function y0(P,B){1&P&&e.nrm(0,"mat-divider",15),2&P&&e.Y8G("inset",!0)}function $3(P,B){if(1&P&&(e.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),e.DNE(2,Hl,2,1,"h2",10),e.k0s(),e.j41(3,"mat-card-subtitle",11),e.DNE(4,Qd,2,1,"h4",12),e.k0s(),e.DNE(5,y0,1,1,"mat-divider",13),e.k0s()),2&P){const b=B.$implicit;e.R7$(2),e.Y8G("ngIf",b.indexOf("[")>=0),e.R7$(2),e.Y8G("ngIf",b.indexOf("[")<0),e.R7$(),e.Y8G("ngIf",b.indexOf("[")<0)}}function U1(P,B){if(1&P&&(e.j41(0,"div",8)(1,"mat-list"),e.DNE(2,$3,6,3,"mat-list-item",9),e.k0s()()),2&P){const b=e.XpG();e.R7$(2),e.Y8G("ngForOf",b.configData)}}let Bu=(()=>{class P{constructor(b,W,X){this.store=b,this.rtlEffects=W,this.router=X,this.configData="",this.fileFormat="INI",this.faCog=qi.dB,this.unSubs=[new Ui.B,new Ui.B]}ngOnInit(){this.store.dispatch((0,Cn.Dz)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,cn.Q)(this.unSubs[1])).subscribe(b=>{const W=b.data;this.fileFormat=b.format,this.configData=""===W||!W||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==W&&W&&"JSON"===this.fileFormat?W:"":W.split("\n")})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(Ri.il),e.rXU(_r.H),e.rXU(En.Ix))}}static{this.\u0275cmp=e.VBU({type:P,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(W,X){1&W&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,Nn,5,4,"div",2)(3,U1,3,1,"div",3),e.k0s()()),2&W&&(e.R7$(2),e.Y8G("ngIf",""!==X.configData&&"JSON"===X.fileFormat),e.R7$(),e.Y8G("ngIf",""!==X.configData&&("INI"===X.fileFormat||"HOCON"===X.fileFormat)))},dependencies:[bi.Sq,bi.bT,Ki.DJ,Ki.sA,Ki.UI,mr.Lc,wc.jt,wc.YE,zc.q,bi.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return P})();function Uu(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Password is required."),e.k0s())}let Gu=(()=>{class P{constructor(b,W,X){this.dialogRef=b,this.store=W,this.rtlEffects=X,this.password="",this.isAuthenticated=!1,this.unSubs=[new Ui.B,new Ui.B]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,Qs.s)(1)).subscribe(b=>{"ERROR"!==b?(this.isAuthenticated=!0,this.store.dispatch((0,Cn.R$)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,Cn.oz)({payload:rn(this.password)}))}onClose(){this.store.dispatch((0,Cn.R$)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(Sn.CP),e.rXU(Ri.il),e.rXU(_r.H))}}static{this.\u0275cmp=e.VBU({type:P,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,"ngModelChange","ngModel"],[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(W,X){1&W&&(e.j41(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e.EFF(5,"Authenticate with your RTL Password"),e.k0s()(),e.j41(6,"button",5),e.bIt("click",function(){return X.onClose()}),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"mat-label"),e.EFF(12,"Password"),e.k0s(),e.j41(13,"input",8),e.mxI("ngModelChange",function(Lt){return e.DH7(X.password,Lt)||(X.password=Lt),Lt}),e.k0s(),e.DNE(14,Uu,2,0,"mat-error",9),e.k0s(),e.j41(15,"div",10)(16,"button",11),e.bIt("click",function(){return X.onAuthenticate()}),e.EFF(17,"Confirm"),e.k0s()()()()()()),2&W&&(e.R7$(13),e.R50("ngModel",X.password),e.R7$(),e.Y8G("ngIf",!X.password))},dependencies:[bi.bT,Gi.qT,Gi.me,Gi.BC,Gi.cb,Gi.YS,Gi.vS,Gi.cV,Ki.DJ,Ki.sA,Ki.UI,ge.$z,mr.m2,mr.MM,Or.fg,Ne.rl,Ne.nJ,Ne.TL,Ot.N]})}}return P})();const sl=()=>({initial:!1});function Q3(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",13),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.activeLink=X.links[2].link)}),e.EFF(1),e.k0s()}if(2&P){const b=e.XpG();e.FS9("routerLink",b.links[2].link),e.Y8G("active",b.activeLink===b.links[2].link)("state",e.lJ4(4,sl)),e.R7$(),e.JRh(b.links[2].name)}}function Z3(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",14),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.activeLink=X.links[3].link)}),e.EFF(1),e.k0s()}if(2&P){const b=e.XpG();e.FS9("routerLink",b.links[3].link),e.Y8G("active",b.activeLink===b.links[3].link),e.R7$(),e.JRh(b.links[3].name)}}function ju(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",15),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.showLnConfigClicked())}),e.EFF(1),e.k0s()}if(2&P){const b=e.XpG();e.Y8G("active",b.activeLink===b.links[4].link),e.R7$(),e.JRh(b.links[4].name)}}let J3=(()=>{class P{constructor(b,W,X,Fe){this.store=b,this.router=W,this.rtlEffects=X,this.activatedRoute=Fe,this.faTools=qi.nsx,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 Ui.B,new Ui.B,new Ui.B,new Ui.B,new Ui.B]}ngOnInit(){const b=this.links.find(W=>this.router.url.includes(W.link));this.activeLink=b?b.link:this.links[0].link,this.router.events.pipe((0,cn.Q)(this.unSubs[0]),(0,br.p)(W=>W instanceof En.gx)).subscribe({next:W=>{const X=this.links.find(Fe=>W.urlAfterRedirects.includes(Fe.link));this.activeLink=X?X.link:this.links[0].link}}),this.store.select(Hr.qv).pipe((0,cn.Q)(this.unSubs[1])).subscribe(W=>{this.appConfig=W}),this.store.select(Hr._c).pipe((0,cn.Q)(this.unSubs[2])).subscribe(W=>{switch(this.showLnConfig=!1,this.selNode=W,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,Cn.xO)({payload:{maxWidth:"50rem",data:{component:Gu}}})),this.rtlEffects.closeAlert.pipe((0,cn.Q)(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{this.\u0275fac=function(W){return new(W||P)(e.rXU(Ri.il),e.rXU(En.Ix),e.rXU(_r.H),e.rXU(En.nX))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-node-config"]],decls:19,vars:11,consts:[["tabPanel",""],["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,"click","active","routerLink"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"],["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"],["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,"click","active","routerLink","state"],["tabindex","4","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"],["tabindex","5","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active"]],template:function(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",1),e.nrm(1,"fa-icon",2),e.j41(2,"span",3),e.EFF(3,"Node Config"),e.k0s()(),e.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.activeLink=X.links[0].link)}),e.EFF(9),e.k0s(),e.j41(10,"div",8),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.activeLink=X.links[1].link)}),e.EFF(11),e.k0s(),e.DNE(12,Q3,2,5,"div",9)(13,Z3,2,3,"div",10)(14,ju,2,2,"div",11),e.k0s(),e.nrm(15,"mat-tab-nav-panel",null,0),e.j41(17,"div",12),e.nrm(18,"router-outlet"),e.k0s()()()()}if(2&W){const Fe=e.sdS(16);e.R7$(),e.Y8G("icon",X.faTools),e.R7$(6),e.Y8G("tabPanel",Fe),e.R7$(),e.FS9("routerLink",X.links[0].link),e.Y8G("active",X.activeLink===X.links[0].link),e.R7$(),e.JRh(X.links[0].name),e.R7$(),e.FS9("routerLink",X.links[1].link),e.Y8G("active",X.activeLink===X.links[1].link),e.R7$(),e.JRh(X.links[1].name),e.R7$(),e.Y8G("ngIf","ECL"!==(null==X.selNode||null==X.selNode.lnImplementation?null:X.selNode.lnImplementation.toUpperCase())),e.R7$(),e.Y8G("ngIf","CLN"===(null==X.selNode||null==X.selNode.lnImplementation?null:X.selNode.lnImplementation.toUpperCase())),e.R7$(),e.Y8G("ngIf",X.showLnConfig)}},dependencies:[bi.bT,ba.aY,Ki.DJ,Ki.sA,Ki.UI,mr.RN,mr.m2,sa.Bu,sa.hQ,sa.Ql,En.n3,En.Wk]})}}return P})();function q3(P,B){1&P&&e.nrm(0,"mat-divider",7)}function Ii(P,B){if(1&P&&(e.j41(0,"div",4)(1,"pre",5),e.EFF(2),e.nI1(3,"json"),e.k0s(),e.DNE(4,q3,1,0,"mat-divider",6),e.k0s()),2&P){const b=e.XpG();e.R7$(2),e.JRh(e.bMT(3,2,b.configData)),e.R7$(2),e.Y8G("ngIf",""!==b.configData)}}function ur(P,B){if(1&P&&(e.j41(0,"h2"),e.EFF(1),e.k0s()),2&P){const b=e.XpG().$implicit;e.R7$(),e.JRh(b)}}function x0(P,B){if(1&P&&(e.j41(0,"h4",14),e.EFF(1),e.k0s()),2&P){const b=e.XpG().$implicit;e.R7$(),e.JRh(b)}}function Zd(P,B){1&P&&e.nrm(0,"mat-divider",15),2&P&&e.Y8G("inset",!0)}function zr(P,B){if(1&P&&(e.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),e.DNE(2,ur,2,1,"h2",10),e.k0s(),e.j41(3,"mat-card-subtitle",11),e.DNE(4,x0,2,1,"h4",12),e.k0s(),e.DNE(5,Zd,1,1,"mat-divider",13),e.k0s()),2&P){const b=B.$implicit;e.R7$(2),e.Y8G("ngIf",b.indexOf("[")>=0),e.R7$(2),e.Y8G("ngIf",b.indexOf("[")<0),e.R7$(),e.Y8G("ngIf",b.indexOf("[")<0)}}function C0(P,B){if(1&P&&(e.j41(0,"div",8)(1,"mat-list"),e.DNE(2,zr,6,3,"mat-list-item",9),e.k0s()()),2&P){const b=e.XpG();e.R7$(2),e.Y8G("ngForOf",b.configData)}}let zl=(()=>{class P{constructor(b,W,X){this.store=b,this.rtlEffects=W,this.router=X,this.configData="",this.fileFormat="INI",this.faCog=qi.dB,this.unSubs=[new Ui.B,new Ui.B]}ngOnInit(){this.store.dispatch((0,Cn.Dz)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,cn.Q)(this.unSubs[1])).subscribe(b=>{const W=b.data;this.fileFormat=b.format,this.configData=""===W||!W||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==W&&W&&"JSON"===this.fileFormat?W:"":W.split("\n")})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(Ri.il),e.rXU(_r.H),e.rXU(En.Ix))}}static{this.\u0275cmp=e.VBU({type:P,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(W,X){1&W&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,Ii,5,4,"div",2)(3,C0,3,1,"div",3),e.k0s()()),2&W&&(e.R7$(2),e.Y8G("ngIf",""!==X.configData&&"JSON"===X.fileFormat),e.R7$(),e.Y8G("ngIf",""!==X.configData&&("INI"===X.fileFormat||"HOCON"===X.fileFormat)))},dependencies:[bi.Sq,bi.bT,Ki.DJ,Ki.sA,Ki.UI,mr.Lc,wc.jt,wc.YE,zc.q,bi.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return P})();var ka=p(2571),ds=p(6038),La=p(9454),G1=p(5951),Jd=p(450);const Tp=P=>({skin:!0,"selected-color":P});function Wu(P,B){if(1&P&&(e.j41(0,"span",41),e.nrm(1,"fa-icon",42),e.k0s()),2&P){const b=e.XpG().$implicit;e.R7$(),e.Y8G("icon",b.symbol)}}function Xu(P,B){if(1&P&&(e.j41(0,"span",41),e.nrm(1,"span",43),e.k0s()),2&P){const b=e.XpG().$implicit;e.R7$(),e.Y8G("innerHTML",b.symbol,e.npT)}}function j1(P,B){if(1&P&&(e.j41(0,"mat-option",39),e.DNE(1,Wu,2,1,"span",40)(2,Xu,2,1,"span",40),e.EFF(3),e.k0s()),2&P){const b=B.$implicit;e.Y8G("value",b.id),e.R7$(),e.Y8G("ngIf",b&&"FA"===b.iconType),e.R7$(),e.Y8G("ngIf",b&&"SVG"===b.iconType),e.R7$(),e.Lme(" ",b.name," (",b.id,") ")}}function hs(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Currency unit is required."),e.k0s())}function ic(P,B){if(1&P&&(e.j41(0,"mat-radio-button",44),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&P){const b=B.$implicit,W=e.XpG();e.Y8G("value",b)("checked",W.selNode.settings.userPersona===b),e.R7$(),e.SpI(" ",e.bMT(2,3,b)," ")}}function Yu(P,B){if(1&P&&(e.j41(0,"mat-radio-button",45),e.EFF(1),e.k0s()),2&P){const b=B.$implicit;e.Y8G("value",b),e.R7$(),e.SpI("",b.name," ")}}function us(P,B){if(1&P){const b=e.RV6();e.j41(0,"span",46)(1,"div",47),e.nI1(2,"lowercase"),e.bIt("click",function(){const X=e.eBV(b).$implicit,Fe=e.XpG();return e.Njj(Fe.changeThemeColor(X.id))}),e.k0s(),e.EFF(3),e.k0s()}if(2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.HbH(e.bMT(2,4,b.id)),e.Y8G("ngClass",e.eq3(6,Tp,W.selectedThemeColor===b.id)),e.R7$(2),e.SpI(" ",b.name," ")}}let Mc=(()=>{class P{constructor(b,W,X,Fe){this.logger=b,this.commonService=W,this.store=X,this.sanitizer=Fe,this.faBarsStaggered=qi.o97,this.faExclamationTriangle=qi.zpE,this.faMoneyBillAlt=qi.iy8,this.faPaintBrush=qi._eQ,this.faInfoCircle=qi.iW_,this.faEyeSlash=qi.k6j,this.userPersonas=[Xt.HW.OPERATOR,Xt.HW.MERCHANT],this.currencyUnits=Xt.Zi,this.themeModes=Xt.Bv.modes,this.themeColors=Xt.Bv.themes,this.selectedThemeMode=Xt.Bv.modes[0],this.selectedThemeColor=Xt.Bv.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=Xt.f7,this.unSubs=[new Ui.B,new Ui.B],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._c).pipe((0,cn.Q)(this.unSubs[0])).subscribe(b=>{this.selNode=JSON.parse(JSON.stringify(b)),this.selectedThemeMode=this.themeModes.find(W=>this.selNode.settings.themeMode===W.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)})}toggleSettings(b,W){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}onFiatConversionChange(b){this.selNode.settings.fiatConversion||delete this.selNode.settings.currencyUnit}onUpdateNodeSettings(){if(this.selNode.settings.fiatConversion&&!this.selNode.settings.currencyUnit)return!0;this.selNode.settings.blockExplorerUrl=this.selNode.settings.blockExplorerUrl.replace(/\/$/,""),this.logger.info(this.selNode.settings),this.store.dispatch((0,Cn.T$)({payload:this.selNode}))}onResetSettings(){const b=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(W=>W.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,Cn.Qi)({payload:{uiMessage:Xt.MZ.NO_SPINNER,prevLnNodeIndex:+b,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(Qo.gP),e.rXU(ka.h),e.rXU(Ri.il),e.rXU(t.up))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-node-settings"]],decls:100,vars:21,consts:[["form","ngForm"],["currencyUnit","ngModel"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container"],["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"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["href","https://mempool.space/","target","blank"],["fxLayout","row wrap","fxLayoutAlign","start center"],["fxLayout","column","fxFlex","100"],["matInput","","name","blockExplorerUrl",3,"ngModelChange","ngModel"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-1"],["tabindex","1","color","primary","name","unannouncedChannels",3,"ngModelChange","change","ngModel"],["href","https://www.blockchain.com/api/exchange_rates_api","target","blank"],["tabindex","2","color","primary","name","fiatConversion",1,"mr-2",3,"ngModelChange","change","ngModel"],["fxFlex","25"],["autoFocus","","tabindex","3","name","currencyUnit",3,"ngModelChange","disabled","required","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,"ngModelChange","ngModel"],["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,"ngModelChange","change","ngModel"],["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,"click","ngClass"]],template:function(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",2)(1,"form",3,0)(3,"mat-accordion",4)(4,"mat-expansion-panel",5)(5,"mat-expansion-panel-header")(6,"mat-panel-title"),e.nrm(7,"fa-icon",6),e.j41(8,"span",7),e.EFF(9,"Block Explorer"),e.k0s()()(),e.j41(10,"div",8)(11,"div",9),e.nrm(12,"fa-icon",10),e.j41(13,"span"),e.EFF(14,"Configure your own blockchain explorer url or "),e.j41(15,"strong")(16,"a",11),e.EFF(17,"mempool.space"),e.k0s()(),e.EFF(18," will be used."),e.k0s()(),e.j41(19,"div",12)(20,"mat-form-field",13)(21,"mat-label"),e.EFF(22,"Block Explorer URL"),e.k0s(),e.j41(23,"input",14),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.selNode.settings.blockExplorerUrl,kt)||(X.selNode.settings.blockExplorerUrl=kt),e.Njj(kt)}),e.k0s(),e.j41(24,"mat-hint"),e.EFF(25,"Blockchain explorer URL, eg. https://mempool.space or https://blockstream.info"),e.k0s()()()()(),e.j41(26,"mat-expansion-panel",5)(27,"mat-expansion-panel-header")(28,"mat-panel-title"),e.nrm(29,"fa-icon",6),e.j41(30,"span",7),e.EFF(31,"Open Unannounced Channels"),e.k0s()()(),e.j41(32,"div",8)(33,"div",15),e.nrm(34,"fa-icon",10),e.j41(35,"span"),e.EFF(36,"Use this control to toggle setting which defaults to opening unannounced channels only."),e.k0s()(),e.j41(37,"div",12)(38,"mat-slide-toggle",16),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.selNode.settings.unannouncedChannels,kt)||(X.selNode.settings.unannouncedChannels=kt),e.Njj(kt)}),e.bIt("change",function(){return e.eBV(Fe),e.Njj(!X.selNode.settings.unannouncedChannels)}),e.EFF(39,"Open Unannounced Channels"),e.k0s()()()(),e.j41(40,"mat-expansion-panel",5)(41,"mat-expansion-panel-header")(42,"mat-panel-title"),e.nrm(43,"fa-icon",6),e.j41(44,"span",7),e.EFF(45,"Balance Display"),e.k0s()()(),e.j41(46,"div",8)(47,"div",9),e.nrm(48,"fa-icon",10),e.j41(49,"span"),e.EFF(50,"Fiat conversion calls "),e.j41(51,"strong")(52,"a",17),e.EFF(53,"Blockchain.com"),e.k0s()(),e.EFF(54," API to get conversion rates."),e.k0s()(),e.j41(55,"div",12)(56,"mat-slide-toggle",18),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.selNode.settings.fiatConversion,kt)||(X.selNode.settings.fiatConversion=kt),e.Njj(kt)}),e.bIt("change",function(kt){return e.eBV(Fe),e.Njj(X.onFiatConversionChange(kt))}),e.EFF(57,"Enable Fiat Conversion"),e.k0s(),e.j41(58,"mat-form-field",19)(59,"mat-label"),e.EFF(60,"Fiat Currency"),e.k0s(),e.j41(61,"mat-select",20,1),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.selNode.settings.currencyUnit,kt)||(X.selNode.settings.currencyUnit=kt),e.Njj(kt)}),e.DNE(63,j1,4,5,"mat-option",21),e.k0s(),e.DNE(64,hs,2,0,"mat-error",22),e.k0s()()()(),e.j41(65,"mat-expansion-panel",5)(66,"mat-expansion-panel-header")(67,"mat-panel-title"),e.nrm(68,"fa-icon",6),e.j41(69,"span",7),e.EFF(70,"Customization"),e.k0s()()(),e.j41(71,"div",8)(72,"div",23),e.nrm(73,"fa-icon",10),e.j41(74,"span"),e.EFF(75,"Dashboard layout will be tailored based on the role selected to better serve its needs."),e.k0s()(),e.j41(76,"div",24)(77,"h4"),e.EFF(78,"Dashboard Layout"),e.k0s(),e.j41(79,"mat-radio-group",25),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.selNode.settings.userPersona,kt)||(X.selNode.settings.userPersona=kt),e.Njj(kt)}),e.DNE(80,ic,3,5,"mat-radio-button",26),e.k0s()(),e.nrm(81,"mat-divider",27),e.j41(82,"div",28)(83,"h4"),e.EFF(84,"Mode"),e.k0s(),e.j41(85,"mat-radio-group",29),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.selectedThemeMode,kt)||(X.selectedThemeMode=kt),e.Njj(kt)}),e.bIt("change",function(){return e.eBV(Fe),e.Njj(X.chooseThemeMode())}),e.DNE(86,Yu,2,2,"mat-radio-button",30),e.k0s()(),e.nrm(87,"mat-divider",27),e.j41(88,"div",31)(89,"div",32)(90,"h4"),e.EFF(91,"Themes"),e.k0s(),e.j41(92,"div",33),e.DNE(93,us,4,8,"span",34),e.k0s()()()()()()(),e.j41(94,"div",35)(95,"div",36)(96,"button",37),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onResetSettings())}),e.EFF(97,"Reset"),e.k0s(),e.j41(98,"button",38),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onUpdateNodeSettings())}),e.EFF(99,"Update"),e.k0s()()()()}2&W&&(e.R7$(7),e.Y8G("icon",X.faBarsStaggered),e.R7$(5),e.Y8G("icon",X.faExclamationTriangle),e.R7$(11),e.R50("ngModel",X.selNode.settings.blockExplorerUrl),e.R7$(6),e.Y8G("icon",X.faEyeSlash),e.R7$(5),e.Y8G("icon",X.faInfoCircle),e.R7$(4),e.R50("ngModel",X.selNode.settings.unannouncedChannels),e.R7$(5),e.Y8G("icon",X.faMoneyBillAlt),e.R7$(5),e.Y8G("icon",X.faExclamationTriangle),e.R7$(8),e.R50("ngModel",X.selNode.settings.fiatConversion),e.R7$(5),e.Y8G("disabled",!X.selNode.settings.fiatConversion)("required",X.selNode.settings.fiatConversion),e.R50("ngModel",X.selNode.settings.currencyUnit),e.R7$(2),e.Y8G("ngForOf",X.currencyUnits),e.R7$(),e.Y8G("ngIf",X.selNode.settings.fiatConversion&&!X.selNode.settings.currencyUnit),e.R7$(4),e.Y8G("icon",X.faPaintBrush),e.R7$(5),e.Y8G("icon",X.faInfoCircle),e.R7$(6),e.R50("ngModel",X.selNode.settings.userPersona),e.R7$(),e.Y8G("ngForOf",X.userPersonas),e.R7$(5),e.R50("ngModel",X.selectedThemeMode),e.R7$(),e.Y8G("ngForOf",X.themeModes),e.R7$(7),e.Y8G("ngForOf",X.themeColors))},dependencies:[bi.YU,bi.Sq,bi.bT,Gi.qT,Gi.me,Gi.BC,Gi.cb,Gi.YS,Gi.vS,Gi.cV,ba.aY,Ki.DJ,Ki.sA,Ki.UI,ds.PW,ge.$z,La.BS,La.GK,La.Z2,La.WN,Or.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,zc.q,G1.VT,G1._g,Ce.VO,ze.wT,Jd.sG,gt.Ld,Ot.N,bi.GH,bi.PV],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 P})();var p1=p(9584),qd=p(3536),ya=p(8430),Na=p(190),e2=p(2730),xa=p(5428),Bc=p(9213),nc=p(4823),Bl=p(2929);const Bs=P=>({error:P}),w0=P=>({"error-border":P}),W1=P=>({"ml-minus-1":P}),Ku=P=>({"error-border p-2":P});function Ul(P,B){if(1&P&&e.eu8(0,14),2&P){const b=e.XpG(),W=e.sdS(18);e.Y8G("ngTemplateOutlet",W)("ngTemplateOutletContext",e.eq3(2,Bs,b.errorMessage))}}function X1(P,B){if(1&P&&(e.j41(0,"mat-option",31),e.EFF(1),e.k0s()),2&P){const b=B.$implicit;e.Y8G("value",b),e.R7$(),e.SpI(" ",b," ")}}function M0(P,B){if(1&P&&(e.j41(0,"mat-option",31),e.EFF(1),e.nI1(2,"camelCaseWithSpaces"),e.nI1(3,"camelcaseWithReplace"),e.k0s()),2&P){const b=B.$implicit,W=e.XpG(3);e.Y8G("value",b),e.R7$(),e.SpI(" ","ECL"===W.selNode.lnImplementation?e.bMT(2,2,b):e.i5U(3,4,b,"_")," ")}}function $u(P,B){if(1&P&&(e.j41(0,"mat-option",31),e.EFF(1),e.k0s()),2&P){const b=B.$implicit;e.Y8G("value",b),e.R7$(),e.SpI(" ","desc"===b?"Descending":"Ascending"," ")}}function Va(P,B){if(1&P&&(e.j41(0,"mat-option",34),e.EFF(1),e.nI1(2,"camelCaseWithSpaces"),e.nI1(3,"camelcaseWithReplace"),e.k0s()),2&P){const b=B.$implicit,W=e.XpG(2).$implicit,X=e.XpG(2);e.Y8G("value",b.column)("disabled",W.columnSelection.length<=2&&W.columnSelection.includes(b.column)),e.R7$(),e.SpI(" ",b.label?b.label:"ECL"===X.selNode.lnImplementation?e.bMT(2,3,b.column):e.i5U(3,5,b.column,"_")," ")}}function Uc(P,B){if(1&P){const b=e.RV6();e.j41(0,"mat-form-field",32)(1,"mat-label"),e.EFF(2,"Column selection (Desktop Resolution)"),e.k0s(),e.j41(3,"mat-select",33),e.mxI("ngModelChange",function(X){e.eBV(b);const Fe=e.XpG().$implicit;return e.DH7(Fe.columnSelection,X)||(Fe.columnSelection=X),e.Njj(X)}),e.bIt("selectionChange",function(){e.eBV(b);const X=e.XpG().$implicit,Fe=e.XpG(2);return e.Njj(Fe.oncolumnSelectionChange(X))}),e.DNE(4,Va,4,8,"mat-option",28),e.k0s()()}if(2&P){const b=e.XpG().$implicit,W=e.XpG().$implicit,X=e.XpG();e.R7$(3),e.FCK("name","",W.pageId,"",b.tableId,"-columns-selection"),e.R50("ngModel",b.columnSelection),e.R7$(),e.Y8G("ngForOf",X.nodePageDefs[W.pageId][b.tableId].allowedColumns)}}function Fr(P,B){if(1&P&&(e.j41(0,"mat-option",34),e.EFF(1),e.nI1(2,"camelCaseWithSpaces"),e.nI1(3,"camelcaseWithReplace"),e.k0s()),2&P){const b=B.$implicit,W=e.XpG().$implicit,X=e.XpG(2);e.Y8G("value",b.column)("disabled",W.columnSelectionSM.length<=1&&W.columnSelectionSM.includes(b.column)||W.columnSelectionSM.length>=3&&!W.columnSelectionSM.includes(b.column)),e.R7$(),e.SpI(" ",b.label?b.label:"ECL"===X.selNode.lnImplementation?e.bMT(2,3,b.column):e.i5U(3,5,b.column,"_")," ")}}function E0(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",17)(1,"div",18)(2,"span",19),e.EFF(3),e.nI1(4,"camelcaseWithReplace"),e.k0s(),e.j41(5,"mat-form-field",20)(6,"mat-label"),e.EFF(7,"Records/Page"),e.k0s(),e.j41(8,"mat-select",21),e.mxI("ngModelChange",function(X){const Fe=e.eBV(b).$implicit;return e.DH7(Fe.recordsPerPage,X)||(Fe.recordsPerPage=X),e.Njj(X)}),e.DNE(9,X1,2,2,"mat-option",22),e.k0s()(),e.j41(10,"mat-form-field",20)(11,"mat-label"),e.EFF(12,"Sort By"),e.k0s(),e.j41(13,"mat-select",23),e.mxI("ngModelChange",function(X){const Fe=e.eBV(b).$implicit;return e.DH7(Fe.sortBy,X)||(Fe.sortBy=X),e.Njj(X)}),e.DNE(14,M0,4,7,"mat-option",22),e.k0s()(),e.j41(15,"mat-form-field",20)(16,"mat-label"),e.EFF(17,"Sort Order"),e.k0s(),e.j41(18,"mat-select",24),e.mxI("ngModelChange",function(X){const Fe=e.eBV(b).$implicit;return e.DH7(Fe.sortOrder,X)||(Fe.sortOrder=X),e.Njj(X)}),e.DNE(19,$u,2,2,"mat-option",22),e.k0s()(),e.DNE(20,Uc,5,5,"mat-form-field",25),e.j41(21,"mat-form-field",26)(22,"mat-label"),e.EFF(23,"Column Selection (Mobile Resolution)"),e.k0s(),e.j41(24,"mat-select",27),e.mxI("ngModelChange",function(X){const Fe=e.eBV(b).$implicit;return e.DH7(Fe.columnSelectionSM,X)||(Fe.columnSelectionSM=X),e.Njj(X)}),e.DNE(25,Fr,4,8,"mat-option",28),e.k0s()(),e.j41(26,"button",29),e.bIt("click",function(){const X=e.eBV(b).$implicit,Fe=e.XpG().$implicit,Lt=e.XpG();return e.Njj(Lt.onTableReset(Fe.pageId,X))}),e.j41(27,"mat-icon",30),e.EFF(28,"restore"),e.k0s()()()()}if(2&P){const b=B.$implicit,W=e.XpG().$implicit,X=e.XpG();e.R7$(3),e.SpI("",e.i5U(4,24,b.tableId,"_"),":"),e.R7$(5),e.FCK("name","",W.pageId,"",b.tableId,"-page-size-options"),e.Y8G("disabled",X.nodePageDefs[W.pageId][b.tableId].disablePageSize),e.R50("ngModel",b.recordsPerPage),e.R7$(),e.Y8G("ngForOf",X.pageSizeOptions),e.R7$(4),e.FCK("name","",W.pageId,"",b.tableId,"-sort-by"),e.R50("ngModel",b.sortBy),e.R7$(),e.Y8G("ngForOf",b.columnSelection),e.R7$(4),e.FCK("name","",W.pageId,"",b.tableId,"-sort-order"),e.R50("ngModel",b.sortOrder),e.R7$(),e.Y8G("ngForOf",X.sortOrders),e.R7$(),e.Y8G("ngIf",X.screenSize!==X.screenSizeEnum.XS),e.R7$(4),e.FCK("name","",W.pageId,"",b.tableId,"-columns-selection-sm"),e.R50("ngModel",b.columnSelectionSM),e.R7$(),e.Y8G("ngForOf",X.nodePageDefs[W.pageId][b.tableId].allowedColumns),e.R7$(2),e.Y8G("ngClass",e.eq3(27,W1,X.screenSize===X.screenSizeEnum.XS||X.screenSize===X.screenSizeEnum.SM))}}function S0(P,B){if(1&P&&e.eu8(0,14),2&P){const b=e.XpG(2),W=e.sdS(18);e.Y8G("ngTemplateOutlet",W)("ngTemplateOutletContext",e.eq3(2,Bs,b.errorMessage))}}function cl(P,B){if(1&P&&(e.j41(0,"mat-expansion-panel",15)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),e.EFF(3),e.nI1(4,"camelcaseWithReplace"),e.k0s()(),e.DNE(5,E0,29,29,"div",16)(6,S0,1,4,"ng-container",7),e.k0s()),2&P){const b=B.$implicit,W=e.XpG();e.Y8G("ngClass",e.eq3(7,w0,(null==W.errorMessage?null:W.errorMessage.page)===b.pageId)),e.R7$(3),e.JRh(e.i5U(4,4,b.pageId,"_")),e.R7$(2),e.Y8G("ngForOf",b.tables),e.R7$(),e.Y8G("ngIf",W.errorMessage&&(null==W.errorMessage?null:W.errorMessage.page)===b.pageId)}}function T0(P,B){if(1&P&&(e.j41(0,"mat-panel-title"),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&P){const b=e.XpG().error;e.R7$(),e.SpI("Page ",e.bMT(2,1,b.page),"")}}function A0(P,B){if(1&P&&(e.j41(0,"mat-list-item")(1,"mat-icon",39),e.EFF(2,"close"),e.k0s(),e.j41(3,"span"),e.EFF(4),e.k0s()()),2&P){const b=e.XpG().error;e.R7$(4),e.JRh(b.message)}}function Qu(P,B){if(1&P&&(e.j41(0,"mat-list-item")(1,"mat-icon",39),e.EFF(2,"close"),e.k0s(),e.j41(3,"span"),e.EFF(4),e.nI1(5,"titlecase"),e.k0s()()),2&P){const b=B.$implicit;e.R7$(4),e.Lme("Table ",e.bMT(5,2,b.table)," ",b.message,"")}}function Y1(P,B){if(1&P&&(e.j41(0,"div",35),e.DNE(1,T0,3,3,"mat-panel-title",36),e.j41(2,"mat-list",37),e.DNE(3,A0,5,1,"mat-list-item",36)(4,Qu,6,4,"mat-list-item",38),e.k0s()()),2&P){const b=B.error,W=e.XpG();e.Y8G("ngClass",e.eq3(4,Ku,"unknown"===W.errorMessage.page)),e.R7$(),e.Y8G("ngIf","unknown"===W.errorMessage.page),e.R7$(2),e.Y8G("ngIf",b.message),e.R7$(),e.Y8G("ngForOf",b.tables)}}let Ec=(()=>{class P{constructor(b,W,X,Fe){this.logger=b,this.commonService=W,this.store=X,this.actions=Fe,this.faPenRuler=qi.$$g,this.faExclamationTriangle=qi.zpE,this.screenSize="",this.screenSizeEnum=Xt.f7,this.pageSizeOptions=Xt.xp,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=Xt.jG,this.apiCallStatus=null,this.apiCallStatusEnum=Xt.wn,this.errorMessage=null,this.unSubs=[new Ui.B,new Ui.B,new Ui.B,new Ui.B],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Hr._c).pipe((0,cn.Q)(this.unSubs[0])).subscribe(b=>{switch(this.selNode=b,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],Xt.mu),this.defaultSettings=Object.assign([],Xt.mu),this.nodePageDefs=Xt.Jd,this.store.select(p1.av).pipe((0,cn.Q)(this.unSubs[1]),(0,fc.E)(this.store.select(Hr._c))).subscribe(([W,X])=>{const Fe=JSON.parse(JSON.stringify(W.pageSettings));if(this.errorMessage=null,this.apiCallStatus=W.apiCallStatus,this.apiCallStatus.status===Xt.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Fe,this.initialPageSettings=Fe;else{if(!X?.settings.enableOffers){const Lt=Fe.find(oi=>"transactions"===oi.pageId),kt=Lt?.tables.findIndex(oi=>"offers"===oi.tableId),ri=Lt?.tables.findIndex(oi=>"offer_bookmarks"===oi.tableId);kt>-1&&Lt?.tables.splice(kt,1),ri>-1&&Lt?.tables.splice(ri,1)}if(!X?.settings.enablePeerswap){const Lt=Fe.findIndex(kt=>"peerswap"===kt.pageId);Lt>-1&&Fe.splice(Lt,1)}this.pageSettings=Fe,this.initialPageSettings=Fe}this.logger.info(Fe)}),this.actions.pipe((0,cn.Q)(this.unSubs[2]),(0,br.p)(W=>W.type===Xt.TC.UPDATE_API_CALL_STATUS_CLN||W.type===Xt.TC.SAVE_PAGE_SETTINGS_CLN)).subscribe(W=>{W.type===Xt.TC.UPDATE_API_CALL_STATUS_CLN&&W.payload.status===Xt.wn.ERROR&&"SavePageSettings"===W.payload.action&&(this.errorMessage=JSON.parse(W.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],Xt.X8),this.defaultSettings=Object.assign([],Xt.X8),this.nodePageDefs=Xt.WW,this.store.select(e2.jZ).pipe((0,cn.Q)(this.unSubs[1])).subscribe(W=>{const X=JSON.parse(JSON.stringify(W.pageSettings));this.errorMessage=null,this.apiCallStatus=W.apiCallStatus,this.apiCallStatus.status===Xt.wn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=X,this.initialPageSettings=X):(this.pageSettings=X,this.initialPageSettings=X),this.logger.info(X)}),this.actions.pipe((0,cn.Q)(this.unSubs[2]),(0,br.p)(W=>W.type===Xt.Uu.UPDATE_API_CALL_STATUS_ECL||W.type===Xt.Uu.SAVE_PAGE_SETTINGS_ECL)).subscribe(W=>{W.type===Xt.Uu.UPDATE_API_CALL_STATUS_ECL&&W.payload.status===Xt.wn.ERROR&&"SavePageSettings"===W.payload.action&&(this.errorMessage=JSON.parse(W.payload.message))});break;default:this.initialPageSettings=Object.assign([],Xt.ZC),this.defaultSettings=Object.assign([],Xt.ZC),this.nodePageDefs=Xt._1,this.store.select(qd.$G).pipe((0,cn.Q)(this.unSubs[1]),(0,fc.E)(this.store.select(Hr._c))).subscribe(([W,X])=>{const Fe=JSON.parse(JSON.stringify(W.pageSettings));if(this.errorMessage=null,this.apiCallStatus=W.apiCallStatus,this.apiCallStatus.status===Xt.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Fe,this.initialPageSettings=Fe;else{if(!X?.settings.swapServerUrl||""===X.settings.swapServerUrl.trim()){const Lt=Fe.findIndex(kt=>"loop"===kt.pageId);Lt>-1&&Fe.splice(Lt,1)}if(!X?.settings.boltzServerUrl||""===X.settings.boltzServerUrl.trim()){const Lt=Fe.findIndex(kt=>"boltz"===kt.pageId);Lt>-1&&Fe.splice(Lt,1)}if(!X?.settings.enablePeerswap){const Lt=Fe.findIndex(kt=>"peerswap"===kt.pageId);Lt>-1&&Fe.splice(Lt,1)}this.pageSettings=Fe,this.initialPageSettings=Fe}this.logger.info(Fe)}),this.actions.pipe((0,cn.Q)(this.unSubs[2]),(0,br.p)(W=>W.type===Xt.QP.UPDATE_API_CALL_STATUS_LND||W.type===Xt.QP.SAVE_PAGE_SETTINGS_LND)).subscribe(W=>{W.type===Xt.QP.UPDATE_API_CALL_STATUS_LND&&W.payload.status===Xt.wn.ERROR&&"SavePageSettings"===W.payload.action&&(this.errorMessage=JSON.parse(W.payload.message))})}})}oncolumnSelectionChange(b){b.columnSelection&&(!b.sortBy||!b.columnSelection.includes(b.sortBy))&&(b.sortBy=b.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((b,W)=>b||W.tables.reduce((X,Fe)=>!(Fe.recordsPerPage&&Fe.sortBy&&Fe.sortOrder&&Fe.columnSelection&&Fe.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,ya.Sn)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,xa.Sn)({payload:this.pageSettings}));break;default:this.store.dispatch((0,Na.Sn)({payload:this.pageSettings}))}}onTableReset(b,W){const X=this.pageSettings.findIndex(kt=>kt.pageId===b),Fe=this.pageSettings[X].tables.findIndex(kt=>kt.tableId===W.tableId),Lt=this.defaultSettings.find(kt=>kt.pageId===b)?.tables.find(kt=>kt.tableId===W.tableId)||this.pageSettings.find(kt=>kt.pageId===b)?.tables.find(kt=>kt.tableId===W.tableId);this.pageSettings[X].tables.splice(Fe,1,Lt)}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{this.\u0275fac=function(W){return new(W||P)(e.rXU(Qo.gP),e.rXU(ka.h),e.rXU(Ri.il),e.rXU(ft.En))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-page-settings"]],decls:19,vars:3,consts:[["form","ngForm"],["errorObjectBlock",""],["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["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"],[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,"ngModelChange","disabled","name","ngModel"],[3,"value",4,"ngFor","ngForOf"],["tabindex","3","required","",3,"ngModelChange","name","ngModel"],["tabindex","4","required","",3,"ngModelChange","name","ngModel"],["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,"ngModelChange","name","ngModel"],[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,"ngModelChange","selectionChange","name","ngModel"],[3,"value","disabled"],[3,"ngClass"],[4,"ngIf"],["role","list"],[4,"ngFor","ngForOf"],[1,"ml-1","icon-small","red"]],template:function(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",2)(1,"form",3,0)(3,"div",4),e.nrm(4,"fa-icon",5),e.j41(5,"span",6),e.EFF(6,"Grid Settings"),e.k0s()(),e.DNE(7,Ul,1,4,"ng-container",7),e.j41(8,"mat-accordion",8),e.DNE(9,cl,7,9,"mat-expansion-panel",9),e.k0s()(),e.j41(10,"div",10)(11,"button",11),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onResetPageSettings("current"))}),e.EFF(12,"Reset"),e.k0s(),e.j41(13,"button",12),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onResetPageSettings("default"))}),e.EFF(14,"Reset to Default"),e.k0s(),e.j41(15,"button",13),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onUpdatePageSettings())}),e.EFF(16,"Save"),e.k0s()()(),e.DNE(17,Y1,5,6,"ng-template",null,1,e.C5r)}2&W&&(e.R7$(4),e.Y8G("icon",X.faPenRuler),e.R7$(3),e.Y8G("ngIf",X.errorMessage&&"unknown"===X.errorMessage.page),e.R7$(2),e.Y8G("ngForOf",X.pageSettings))},dependencies:[bi.YU,bi.Sq,bi.bT,bi.T3,Gi.qT,Gi.BC,Gi.cb,Gi.YS,Gi.vS,Gi.cV,ba.aY,Ki.DJ,Ki.sA,Ki.UI,ds.PW,ge.$z,ge.iY,La.BS,La.GK,La.Z2,La.WN,Bc.An,Ne.rl,Ne.nJ,wc.jt,wc.YE,Ce.VO,ze.wT,nc.oV,gt.Ld,bi.PV,Bl.VD,Bl.Qu],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]})}}return P})();function e4(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",11),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.setActiveLink(X.links[0].link))}),e.EFF(1),e.k0s()}if(2&P){const b=e.XpG();e.FS9("routerLink",b.links[0].link),e.Y8G("active",b.activeLink===b.links[0].link),e.R7$(),e.JRh(b.links[0].name)}}function t2(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",12),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.setActiveLink(X.links[1].link))}),e.EFF(1),e.k0s()}if(2&P){const b=e.XpG();e.FS9("routerLink",b.links[1].link),e.Y8G("active",b.activeLink===b.links[1].link),e.R7$(),e.JRh(b.links[1].name)}}function n2(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",13),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.setActiveLink(X.links[2].link))}),e.EFF(1),e.k0s()}if(2&P){const b=e.XpG();e.FS9("routerLink",b.links[2].link),e.Y8G("active",b.activeLink===b.links[2].link),e.R7$(),e.JRh(b.links[2].name)}}let r2=(()=>{class P{constructor(b,W,X){this.store=b,this.router=W,this.activatedRoute=X,this.faLayerGroup=qi.qIE,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"noservice",name:"No Service"}],this.activeLink="",this.unSubs=[new Ui.B,new Ui.B,new Ui.B]}ngOnInit(){this.setActiveLink(),this.store.select(Hr._c).pipe((0,cn.Q)(this.unSubs[1])).subscribe(b=>{this.selNode=b,this.setActiveLink(),this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})})}setActiveLink(b){if(b&&""!==b)this.activeLink=b;else{const W=this.links.find(X=>this.router.url.includes(X.link));this.activeLink=W?this.selNode&&"CLN"===this.selNode.lnImplementation?this.links[1].link:W.link:this.links[this.links.length-1].link}}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(Ri.il),e.rXU(En.Ix),e.rXU(En.nX))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-services-settings"]],decls:16,vars:5,consts:[["tabPanel",""],["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","click",4,"ngIf"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["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,"click","active","routerLink"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"]],template:function(W,X){if(1&W&&(e.j41(0,"div",1)(1,"div",2),e.nrm(2,"fa-icon",3),e.j41(3,"span",4),e.EFF(4,"Services"),e.k0s()()(),e.j41(5,"div",5)(6,"mat-card")(7,"mat-card-content",5)(8,"nav",6),e.DNE(9,e4,2,3,"div",7)(10,t2,2,3,"div",8)(11,n2,2,3,"div",9),e.k0s(),e.nrm(12,"mat-tab-nav-panel",null,0),e.j41(14,"div",10),e.nrm(15,"router-outlet"),e.k0s()()()()),2&W){const Fe=e.sdS(13);e.R7$(2),e.Y8G("icon",X.faLayerGroup),e.R7$(6),e.Y8G("tabPanel",Fe),e.R7$(),e.Y8G("ngIf","LND"===X.selNode.lnImplementation),e.R7$(),e.Y8G("ngIf","ECL"!==X.selNode.lnImplementation),e.R7$(),e.Y8G("ngIf","ECL"===X.selNode.lnImplementation)}},dependencies:[bi.bT,ba.aY,Ki.DJ,Ki.sA,Ki.UI,mr.RN,mr.m2,sa.Bu,sa.hQ,sa.Ql,En.n3,En.Wk]})}}return P})();const K1=["form"];function a2(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Loop server URL is required."),e.k0s())}function D0(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Specify the loop server url with 'https://'."),e.k0s())}function ll(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Loop macaroon path is required."),e.k0s())}let Gc=(()=>{class P{constructor(b,W){this.logger=b,this.store=W,this.faInfoCircle=qi.iW_,this.enableLoop=!1,this.unSubs=[new Ui.B,new Ui.B]}ngOnInit(){this.store.select(Hr._c).pipe((0,cn.Q)(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.enableLoop||(delete this.selNode.settings.swapServerUrl,delete this.selNode.authentication.swapMacaroonPath),this.logger.info(this.selNode),this.store.dispatch((0,Cn.T$)({payload: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{this.\u0275fac=function(W){return new(W||P)(e.rXU(Qo.gP),e.rXU(Ri.il))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-loop-service-settings"]],viewQuery:function(W,X){if(1&W&&e.GBs(K1,7),2&W){let Fe;e.mGM(Fe=e.lsd())&&(X.form=Fe.first)}},decls:38,vars:11,consts:[["form","ngForm"],["srvrUrl","ngModel"],["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"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","loop",1,"ml-2",3,"ngModelChange","change","ngModel"],[1,"mb-2"],["matInput","","type","text","id","swapServerUrl","name","srvrUrl","tabindex","2",3,"ngModelChange","required","disabled","ngModel"],[4,"ngIf"],["matInput","","type","text","id","swapMacaroonPath","name","swapMacaroonPath","tabindex","3",3,"ngModelChange","required","disabled","ngModel"],["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(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",2)(1,"div",3),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Please ensure that "),e.j41(5,"strong"),e.EFF(6,"loopd"),e.k0s(),e.EFF(7," is running and accessible to RTL before enabling this service. Click "),e.j41(8,"strong")(9,"a",5),e.EFF(10,"here"),e.k0s()(),e.EFF(11," to learn more about the installation."),e.k0s()(),e.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.enableLoop,kt)||(X.enableLoop=kt),e.Njj(kt)}),e.bIt("change",function(kt){return e.eBV(Fe),e.Njj(X.onEnableServiceChanged(kt))}),e.EFF(16,"Enable Loop Service"),e.k0s(),e.j41(17,"mat-form-field",9)(18,"mat-label"),e.EFF(19,"Loop Server URL"),e.k0s(),e.j41(20,"input",10,1),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.selNode.settings.swapServerUrl,kt)||(X.selNode.settings.swapServerUrl=kt),e.Njj(kt)}),e.k0s(),e.j41(22,"mat-hint"),e.EFF(23,"Service url for loop server REST APIs, eg. https://127.0.0.1:8081"),e.k0s(),e.DNE(24,a2,2,0,"mat-error",11)(25,D0,2,0,"mat-error",11),e.k0s(),e.j41(26,"mat-form-field")(27,"mat-label"),e.EFF(28,"Loop Macaroon Path"),e.k0s(),e.j41(29,"input",12),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.selNode.authentication.swapMacaroonPath,kt)||(X.selNode.authentication.swapMacaroonPath=kt),e.Njj(kt)}),e.k0s(),e.j41(30,"mat-hint"),e.EFF(31,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),e.k0s(),e.DNE(32,ll,2,0,"mat-error",11),e.k0s()()(),e.j41(33,"div",13)(34,"button",14),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onReset())}),e.EFF(35,"Reset"),e.k0s(),e.j41(36,"button",15),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onUpdateService())}),e.EFF(37,"Update"),e.k0s()()()}if(2&W){const Fe=e.sdS(21);e.R7$(2),e.Y8G("icon",X.faInfoCircle),e.R7$(13),e.R50("ngModel",X.enableLoop),e.R7$(5),e.Y8G("required",X.enableLoop)("disabled",!X.enableLoop),e.R50("ngModel",X.selNode.settings.swapServerUrl),e.R7$(4),e.Y8G("ngIf",!X.selNode.settings.swapServerUrl&&X.enableLoop),e.R7$(),e.Y8G("ngIf",(null==Fe||null==Fe.errors?null:Fe.errors.invalid)&&X.enableLoop),e.R7$(4),e.Y8G("required",X.enableLoop)("disabled",!X.enableLoop),e.R50("ngModel",X.selNode.authentication.swapMacaroonPath),e.R7$(3),e.Y8G("ngIf",!X.selNode.authentication.swapMacaroonPath&&X.enableLoop)}},dependencies:[bi.bT,Gi.qT,Gi.me,Gi.BC,Gi.cb,Gi.YS,Gi.vS,Gi.cV,ba.aY,Ki.DJ,Ki.sA,Ki.UI,ge.$z,Or.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,Jd.sG,gt.Ld,Ot.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return P})();const jc=["form"];function k0(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Boltz server URL is required."),e.k0s())}function o2(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Specify the boltz server url with 'https://'."),e.k0s())}function dl(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Boltz macaroon path is required."),e.k0s())}let Zu=(()=>{class P{constructor(b,W){this.logger=b,this.store=W,this.faInfoCircle=qi.iW_,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new Ui.B,new Ui.B]}ngOnInit(){this.store.select(Hr._c).pipe((0,cn.Q)(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.enableBoltz?(this.selNode.settings.boltzServerUrl=this.serverUrl,this.selNode.authentication.boltzMacaroonPath=this.macaroonPath):(delete this.selNode.settings.boltzServerUrl,delete this.selNode.authentication.boltzMacaroonPath),this.store.dispatch((0,Cn.T$)({payload:this.selNode}))}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{this.\u0275fac=function(W){return new(W||P)(e.rXU(Qo.gP),e.rXU(Ri.il))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(W,X){if(1&W&&e.GBs(jc,7),2&W){let Fe;e.mGM(Fe=e.lsd())&&(X.form=Fe.first)}},decls:38,vars:11,consts:[["form","ngForm"],["srvrUrl","ngModel"],["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"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","boltz",1,"ml-2",3,"ngModelChange","change","ngModel"],[1,"mb-2"],["matInput","","type","text","id","boltzServerUrl","name","srvrUrl","tabindex","2",3,"ngModelChange","required","disabled","ngModel"],[4,"ngIf"],["matInput","","type","text","id","boltzMacaroonPath","name","boltzMacaroonPath","tabindex","3",3,"ngModelChange","required","disabled","ngModel"],["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(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",2)(1,"div",3),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Please ensure that "),e.j41(5,"strong"),e.EFF(6,"boltzd"),e.k0s(),e.EFF(7," is running and accessible to RTL before enabling this service. Click "),e.j41(8,"strong")(9,"a",5),e.EFF(10,"here"),e.k0s()(),e.EFF(11," to learn more about the installation."),e.k0s()(),e.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.enableBoltz,kt)||(X.enableBoltz=kt),e.Njj(kt)}),e.bIt("change",function(kt){return e.eBV(Fe),e.Njj(X.onEnableServiceChanged(kt))}),e.EFF(16,"Enable Boltz Service"),e.k0s(),e.j41(17,"mat-form-field",9)(18,"mat-label"),e.EFF(19,"Boltz Server URL"),e.k0s(),e.j41(20,"input",10,1),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.serverUrl,kt)||(X.serverUrl=kt),e.Njj(kt)}),e.k0s(),e.j41(22,"mat-hint"),e.EFF(23,"Service url for boltz server REST APIs, eg. https://127.0.0.1:9003"),e.k0s(),e.DNE(24,k0,2,0,"mat-error",11)(25,o2,2,0,"mat-error",11),e.k0s(),e.j41(26,"mat-form-field")(27,"mat-label"),e.EFF(28,"Boltz Macaroon Path"),e.k0s(),e.j41(29,"input",12),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.macaroonPath,kt)||(X.macaroonPath=kt),e.Njj(kt)}),e.k0s(),e.j41(30,"mat-hint"),e.EFF(31,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),e.k0s(),e.DNE(32,dl,2,0,"mat-error",11),e.k0s()()(),e.j41(33,"div",13)(34,"button",14),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onReset())}),e.EFF(35,"Reset"),e.k0s(),e.j41(36,"button",15),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onUpdateService())}),e.EFF(37,"Update"),e.k0s()()()}if(2&W){const Fe=e.sdS(21);e.R7$(2),e.Y8G("icon",X.faInfoCircle),e.R7$(13),e.R50("ngModel",X.enableBoltz),e.R7$(5),e.Y8G("required",X.enableBoltz)("disabled",!X.enableBoltz),e.R50("ngModel",X.serverUrl),e.R7$(4),e.Y8G("ngIf",(!X.serverUrl||""===X.serverUrl.trim())&&X.enableBoltz),e.R7$(),e.Y8G("ngIf",(null==Fe||null==Fe.errors?null:Fe.errors.invalid)&&X.enableBoltz),e.R7$(4),e.Y8G("required",X.enableBoltz)("disabled",!X.enableBoltz),e.R50("ngModel",X.macaroonPath),e.R7$(3),e.Y8G("ngIf",!X.macaroonPath&&X.enableBoltz)}},dependencies:[bi.bT,Gi.qT,Gi.me,Gi.BC,Gi.cb,Gi.YS,Gi.vS,Gi.cV,ba.aY,Ki.DJ,Ki.sA,Ki.UI,ge.$z,Or.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,Jd.sG,gt.Ld,Ot.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return P})(),Ju=(()=>{class P{constructor(){}static{this.\u0275fac=function(W){return new(W||P)}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(W,X){1&W&&e.nrm(0,"router-outlet")},dependencies:[En.n3]})}}return P})();var qu=p(8711),ef=p(4104),hl=p(6695),Sc=p(2042),Ar=p(9159),ul=p(7575);const L0=()=>["all"],g1=P=>({"overflow-auto error-border":P,"overflow-auto":!0}),tf=()=>["no_swap"],$1=P=>({width:P}),Q1=P=>({"display-none":P});function Gl(P,B){if(1&P&&(e.j41(0,"mat-option",37),e.EFF(1),e.k0s()),2&P){const b=B.$implicit,W=e.XpG();e.Y8G("value",b),e.R7$(),e.JRh(W.getLabel(b))}}function Tc(P,B){1&P&&e.nrm(0,"mat-progress-bar",38)}function s2(P,B){1&P&&(e.j41(0,"th",39),e.EFF(1,"State"),e.k0s())}function Wc(P,B){if(1&P&&(e.j41(0,"td",40),e.EFF(1),e.k0s()),2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.JRh(W.LoopStateEnum[null==b?null:b.state])}}function I0(P,B){1&P&&(e.j41(0,"th",39),e.EFF(1,"Initiation Time"),e.k0s())}function Z1(P,B){if(1&P&&(e.j41(0,"td",40),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&P){const b=B.$implicit;e.R7$(),e.JRh(e.i5U(2,1,(null==b?null:b.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function jl(P,B){1&P&&(e.j41(0,"th",39),e.EFF(1,"Last Update Time"),e.k0s())}function fl(P,B){if(1&P&&(e.j41(0,"td",40),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&P){const b=B.$implicit;e.R7$(),e.JRh(e.i5U(2,1,(null==b?null:b.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function R0(P,B){1&P&&(e.j41(0,"th",41),e.EFF(1,"Amount (Sats)"),e.k0s())}function c2(P,B){if(1&P&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&P){const b=B.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==b?null:b.amt))}}function eo(P,B){1&P&&(e.j41(0,"th",41),e.EFF(1,"Cost Server (Sats)"),e.k0s())}function O0(P,B){if(1&P&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&P){const b=B.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==b?null:b.cost_server))}}function l2(P,B){1&P&&(e.j41(0,"th",41),e.EFF(1,"Cost Offchain (Sats)"),e.k0s())}function Dr(P,B){if(1&P&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&P){const b=B.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==b?null:b.cost_offchain))}}function J1(P,B){1&P&&(e.j41(0,"th",41),e.EFF(1,"Cost Onchain (Sats)"),e.k0s())}function ks(P,B){if(1&P&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&P){const b=B.$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,1,null==b?null:b.cost_onchain)," ")}}function _1(P,B){1&P&&(e.j41(0,"th",39),e.EFF(1,"HTLC Address"),e.k0s())}function F0(P,B){if(1&P&&(e.j41(0,"td",40)(1,"span",43)(2,"span",44),e.EFF(3),e.k0s()()()),2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,$1,W.screenSize===W.screenSizeEnum.XS?"6rem":W.colWidth)),e.R7$(2),e.JRh(null==b?null:b.htlc_address)}}function d2(P,B){1&P&&(e.j41(0,"th",39),e.EFF(1,"ID"),e.k0s())}function Wl(P,B){if(1&P&&(e.j41(0,"td",40)(1,"span",43)(2,"span",44),e.EFF(3),e.k0s()()()),2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,$1,W.screenSize===W.screenSizeEnum.XS?"6rem":W.colWidth)),e.R7$(2),e.JRh(null==b?null:b.id)}}function Xl(P,B){1&P&&(e.j41(0,"th",39),e.EFF(1,"ID (Bytes)"),e.k0s())}function to(P,B){if(1&P&&(e.j41(0,"td",40)(1,"span",43)(2,"span",44),e.EFF(3),e.k0s()()()),2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,$1,W.screenSize===W.screenSizeEnum.XS?"6rem":W.colWidth)),e.R7$(2),e.JRh(null==b?null:b.id_bytes)}}function P0(P,B){if(1&P){const b=e.RV6();e.j41(0,"th",45)(1,"div",46)(2,"mat-select",47),e.nrm(3,"mat-select-trigger"),e.j41(4,"mat-option",48),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.onDownloadCSV())}),e.EFF(5,"Download CSV"),e.k0s()()()()}}function h2(P,B){if(1&P){const b=e.RV6();e.j41(0,"td",49)(1,"button",50),e.bIt("click",function(X){const Fe=e.eBV(b).$implicit,Lt=e.XpG();return e.Njj(Lt.onSwapClick(Fe,X))}),e.EFF(2,"View Info"),e.k0s()()}}function u2(P,B){if(1&P&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&P){const b=e.XpG(2);e.R7$(),e.JRh(b.emptyTableMessage)}}function N0(P,B){if(1&P&&(e.j41(0,"td",51),e.DNE(1,u2,2,1,"p",52),e.k0s()),2&P){const b=e.XpG();e.R7$(),e.Y8G("ngIf",!(null!=b.listSwaps&&b.listSwaps.data)||(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)<1)}}function V0(P,B){if(1&P&&e.nrm(0,"tr",53),2&P){const b=e.XpG();e.Y8G("ngClass",e.eq3(1,Q1,(null==b.listSwaps?null:b.listSwaps.data)&&(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)>0))}}function Yl(P,B){1&P&&e.nrm(0,"tr",54)}function nf(P,B){1&P&&e.nrm(0,"tr",55)}let q1=(()=>{class P{constructor(b,W,X,Fe,Lt,kt){this.logger=b,this.commonService=W,this.store=X,this.loopService=Fe,this.datePipe=Lt,this.camelCaseWithReplace=kt,this.selectedSwapType=Xt.C7.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Xt._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:Xt.md,sortBy:"initiation_time",sortOrder:Xt.oi.DESCENDING},this.LoopStateEnum=Xt.Hx,this.faHistory=qi.Int,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new Ar.I6([]),this.selFilter="",this.pageSize=Xt.md,this.pageSizeOptions=Xt.xp,this.screenSize="",this.screenSizeEnum=Xt.f7,this.unSubs=[new Ui.B,new Ui.B,new Ui.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(b){this.swapCaption=this.selectedSwapType===Xt.C7.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(qd.$G).pipe((0,cn.Q)(this.unSubs[0])).subscribe(b=>{this.tableSetting=b.pageSettings.find(W=>W.pageId===this.PAGE_ID)?.tables.find(W=>W.tableId===this.tableSetting.tableId)||Xt.ZC.find(W=>W.pageId===this.PAGE_ID)?.tables.find(W=>W.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===Xt.f7.XS||this.screenSize===Xt.f7.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:Xt.md,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 W=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(X=>X.column===b);return W?W.label?W.label:this.camelCaseWithReplace.transform(W.column,"_"):this.commonService.titleCase(b)}setFilterPredicate(){this.listSwaps.filterPredicate=(b,W)=>{let X="";switch(this.selFilterBy){case"all":X=JSON.stringify(b).toLowerCase();break;case"state":X=b?.state?this.LoopStateEnum[b?.state]:"";break;case"initiation_time":case"last_update_time":X=this.datePipe.transform(new Date((b[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:X=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===X.indexOf(W):X.includes(W)}}onSwapClick(b,W){this.loopService.getSwap(b.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,cn.Q)(this.unSubs[1])).subscribe(X=>{this.store.dispatch((0,Cn.xO)({payload:{data:{type:Xt.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:Xt.Hx[X.state||""],title:"Status",width:50,type:Xt.UN.STRING},{key:"amt",value:X.amt,title:"Amount (Sats)",width:50,type:Xt.UN.NUMBER}],[{key:"initiation_time",value:(X.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:Xt.UN.DATE_TIME},{key:"last_update_time",value:(X.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:Xt.UN.DATE_TIME}],[{key:"cost_server",value:X.cost_server,title:"Server Cost (Sats)",width:33,type:Xt.UN.NUMBER},{key:"cost_offchain",value:X.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:Xt.UN.NUMBER},{key:"cost_onchain",value:X.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:Xt.UN.NUMBER}],[{key:"id_bytes",value:X.id_bytes,title:"ID",width:100,type:Xt.UN.STRING}],[{key:"htlc_address",value:X.htlc_address,title:"HTLC Address",width:100,type:Xt.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(b){this.listSwaps=new Ar.I6([...b]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(W,X)=>W[X]&&isNaN(W[X])?W[X].toLocaleLowerCase():W[X]?+W[X]: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===Xt.C7.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(Qo.gP),e.rXU(ka.h),e.rXU(Ri.il),e.rXU(ef.Q),e.rXU(bi.vh),e.rXU(Bl.VD))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-swaps"]],viewQuery:function(W,X){if(1&W&&(e.GBs(Sc.B4,5),e.GBs(hl.iy,5)),2&W){let Fe;e.mGM(Fe=e.lsd())&&(X.sort=Fe.first),e.mGM(Fe=e.lsd())&&(X.paginator=Fe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[e.Jv_([{provide:Ce.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:hl.xX,useValue:(0,Xt.on)("Swaps")}]),e.OA$],decls:61,vars:20,consts:[["table",""],["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,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModelChange","input","keyup","ngModel"],["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"],["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(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div",3),e.nrm(3,"fa-icon",4),e.j41(4,"span",5),e.EFF(5),e.k0s()(),e.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),e.EFF(9,"Filter By"),e.k0s(),e.j41(10,"mat-select",8),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.selFilterBy,kt)||(X.selFilterBy=kt),e.Njj(kt)}),e.bIt("selectionChange",function(){return e.eBV(Fe),X.selFilter="",e.Njj(X.applyFilter())}),e.j41(11,"perfect-scrollbar"),e.DNE(12,Gl,2,2,"mat-option",9),e.k0s()()(),e.j41(13,"mat-form-field",7)(14,"mat-label"),e.EFF(15,"Filter"),e.k0s(),e.j41(16,"input",10),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.selFilter,kt)||(X.selFilter=kt),e.Njj(kt)}),e.bIt("input",function(){return e.eBV(Fe),e.Njj(X.applyFilter())})("keyup",function(){return e.eBV(Fe),e.Njj(X.applyFilter())}),e.k0s()()()(),e.j41(17,"div",11)(18,"div",12),e.DNE(19,Tc,1,0,"mat-progress-bar",13),e.j41(20,"table",14,0),e.qex(22,15),e.DNE(23,s2,2,0,"th",16)(24,Wc,2,1,"td",17),e.bVm(),e.qex(25,18),e.DNE(26,I0,2,0,"th",16)(27,Z1,3,4,"td",17),e.bVm(),e.qex(28,19),e.DNE(29,jl,2,0,"th",16)(30,fl,3,4,"td",17),e.bVm(),e.qex(31,20),e.DNE(32,R0,2,0,"th",21)(33,c2,4,3,"td",17),e.bVm(),e.qex(34,22),e.DNE(35,eo,2,0,"th",21)(36,O0,4,3,"td",17),e.bVm(),e.qex(37,23),e.DNE(38,l2,2,0,"th",21)(39,Dr,4,3,"td",17),e.bVm(),e.qex(40,24),e.DNE(41,J1,2,0,"th",21)(42,ks,4,3,"td",17),e.bVm(),e.qex(43,25),e.DNE(44,_1,2,0,"th",16)(45,F0,4,4,"td",17),e.bVm(),e.qex(46,26),e.DNE(47,d2,2,0,"th",16)(48,Wl,4,4,"td",17),e.bVm(),e.qex(49,27),e.DNE(50,Xl,2,0,"th",16)(51,to,4,4,"td",17),e.bVm(),e.qex(52,28),e.DNE(53,P0,6,0,"th",29)(54,h2,3,0,"td",30),e.bVm(),e.qex(55,31),e.DNE(56,N0,2,1,"td",32),e.bVm(),e.DNE(57,V0,1,3,"tr",33)(58,Yl,1,0,"tr",34)(59,nf,1,0,"tr",35),e.k0s(),e.nrm(60,"mat-paginator",36),e.k0s()()()}2&W&&(e.R7$(3),e.Y8G("icon",X.faHistory),e.R7$(2),e.SpI("",X.swapCaption," History"),e.R7$(5),e.R50("ngModel",X.selFilterBy),e.R7$(2),e.Y8G("ngForOf",e.lJ4(16,L0).concat(X.displayedColumns.slice(0,-1))),e.R7$(4),e.R50("ngModel",X.selFilter),e.R7$(3),e.Y8G("ngIf",!0===X.flgLoading[0]),e.R7$(),e.Y8G("matSortActive",X.tableSetting.sortBy)("matSortDirection",X.tableSetting.sortOrder)("dataSource",X.listSwaps)("ngClass",e.eq3(17,g1,"error"===X.flgLoading[0])),e.R7$(37),e.Y8G("matFooterRowDef",e.lJ4(19,tf)),e.R7$(),e.Y8G("matHeaderRowDef",X.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",X.displayedColumns),e.R7$(),e.Y8G("pageSize",X.pageSize)("pageSizeOptions",X.pageSizeOptions)("showFirstLastButtons",X.screenSize!==X.screenSizeEnum.XS))},dependencies:[bi.YU,bi.Sq,bi.bT,bi.B3,Gi.me,Gi.BC,Gi.vS,ba.aY,Ki.DJ,Ki.sA,Ki.UI,ds.PW,ds.eI,ge.$z,Or.fg,Ne.rl,Ne.nJ,ul.HM,Ce.VO,Ce.$2,ze.wT,Sc.B4,Sc.aE,Ar.Zl,Ar.tL,Ar.ji,Ar.cC,Ar.YV,Ar.iL,Ar.Zq,Ar.xW,Ar.KS,Ar.$R,Ar.Qo,Ar.YZ,Ar.NB,Ar.iF,hl.iy,gt.ZF,gt.Ld,bi.QX,bi.vh]})}}return P})();const f2=P=>["../",P];function ed(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",11),e.bIt("click",function(){const X=e.eBV(b).$implicit,Fe=e.XpG();return e.Njj(Fe.onSelectedIndexChange(X))}),e.EFF(1),e.k0s()}if(2&P){const b=B.$implicit,W=e.XpG();e.Y8G("active",W.activeTab.link===b.link)("routerLink",e.eq3(3,f2,b.link)),e.R7$(),e.JRh(b.name)}}let H0=(()=>{class P{constructor(b,W,X){this.router=b,this.loopService=W,this.store=X,this.faInfinity=qi.C8j,this.loopInfo=null,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=Xt.C7,this.selectedSwapType=Xt.C7.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 Ui.B,new Ui.B,new Ui.B,new Ui.B,new Ui.B,new Ui.B]}ngOnInit(){this.store.dispatch((0,Cn.mt)({payload:Xt.MZ.GET_LOOP_INFO})),this.loopService.getLoopInfo().pipe((0,cn.Q)(this.unSubs[4])).subscribe({next:W=>{this.store.dispatch((0,Cn.y0)({payload:Xt.MZ.GET_LOOP_INFO})),this.loopInfo=W,this.loopInfo&&this.loopInfo.version&&(this.loopInfo.version=this.loopInfo.version.split(" ")[0])},error:W=>{this.store.dispatch((0,Cn.y0)({payload:Xt.MZ.GET_LOOP_INFO})),this.loopInfo.version=" Unknown"}}),this.loopService.listSwaps();const b=this.links.find(W=>this.router.url.includes(W.link));this.activeTab=b||this.links[0],this.selectedSwapType=b&&"loopin"===b.link?Xt.C7.LOOP_IN:Xt.C7.LOOP_OUT,this.router.events.pipe((0,cn.Q)(this.unSubs[0]),(0,br.p)(W=>W instanceof En.gx)).subscribe({next:W=>{const X=this.links.find(Fe=>W.urlAfterRedirects.includes(Fe.link));this.activeTab=X||this.links[0],this.selectedSwapType=X&&"loopin"===X.link?Xt.C7.LOOP_IN:Xt.C7.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,cn.Q)(this.unSubs[1])).subscribe({next:W=>{this.flgLoading[0]=!1,this.storedSwaps=W,this.filteredSwaps=this.storedSwaps?.filter(X=>X.type===this.selectedSwapType)},error:W=>{this.flgLoading[0]="error",this.emptyTableMessage=W.message?W.message:"No loop "+(this.selectedSwapType===Xt.C7.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(b){this.selectedSwapType="loopin"===b.link?Xt.C7.LOOP_IN:Xt.C7.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(W=>W.type===this.selectedSwapType)}onLoop(b){b===Xt.C7.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,cn.Q)(this.unSubs[2])).subscribe({next:W=>{this.store.dispatch((0,Cn.xO)({payload:{data:{minQuote:W[0],maxQuote:W[1],direction:b,component:qu.D}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,cn.Q)(this.unSubs[3])).subscribe({next:W=>{this.store.dispatch((0,Cn.xO)({payload:{data:{minQuote:W[0],maxQuote:W[1],direction:b,component:qu.D}}}))}})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(En.Ix),e.rXU(ef.Q),e.rXU(Ri.il))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-loop"]],decls:15,vars:9,consts:[["tabPanel",""],["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"],["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,"click","active","routerLink"]],template:function(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",1),e.nrm(1,"fa-icon",2),e.j41(2,"span",3),e.EFF(3),e.k0s()(),e.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6),e.DNE(8,ed,2,5,"div",7),e.k0s(),e.nrm(9,"mat-tab-nav-panel",null,0),e.j41(11,"div",8)(12,"button",9),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onLoop(X.selectedSwapType))}),e.EFF(13),e.k0s()(),e.nrm(14,"rtl-swaps",10),e.k0s()()()}if(2&W){const Fe=e.sdS(10);e.R7$(),e.Y8G("icon",X.faInfinity),e.R7$(2),e.SpI("Loop (v",(null==X.loopInfo?null:X.loopInfo.version)||" Unknown",")"),e.R7$(4),e.Y8G("tabPanel",Fe),e.R7$(),e.Y8G("ngForOf",X.links),e.R7$(5),e.SpI("Start ",X.activeTab.name,""),e.R7$(),e.Y8G("selectedSwapType",X.selectedSwapType)("swapsData",X.filteredSwaps)("flgLoading",X.flgLoading)("emptyTableMessage",X.emptyTableMessage)}},dependencies:[bi.Sq,ba.aY,Ki.DJ,Ki.sA,Ki.UI,ge.$z,mr.RN,mr.m2,sa.Bu,sa.hQ,sa.Ql,En.Wk,q1]})}}return P})();var rf=p(1001),z0=p(4412),B0=p(8810),td=p(2462);let v1=(()=>{class P{constructor(b,W,X,Fe){this.httpClient=b,this.logger=W,this.store=X,this.commonService=Fe,this.swapUrl="",this.swaps={},this.boltzInfo=null,this.boltzInfoChanged=new z0.t(null),this.swapsChanged=new z0.t({}),this.unSubs=[new Ui.B,new Ui.B,new Ui.B,new Ui.B,new Ui.B]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Cn.mt)({payload:Xt.MZ.GET_BOLTZ_SWAPS})),this.swapUrl=Xt.H$+Xt.rl.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,cn.Q)(this.unSubs[0])).subscribe({next:b=>{this.store.dispatch((0,Cn.y0)({payload:Xt.MZ.GET_BOLTZ_SWAPS})),this.swaps=b,this.swapsChanged.next(this.swaps)},error:b=>this.swapsChanged.error(this.handleErrorWithAlert(Xt.MZ.GET_BOLTZ_SWAPS,this.swapUrl,b))})}swapInfo(b){return this.swapUrl=Xt.H$+Xt.rl.BOLTZ_API+"/swapInfo/"+b,this.httpClient.get(this.swapUrl).pipe((0,Ta.W)(W=>(0,Tt.of)(this.handleErrorWithAlert(Xt.MZ.NO_SPINNER,this.swapUrl,W))))}getBoltzInfo(){this.store.dispatch((0,Cn.mt)({payload:Xt.MZ.GET_BOLTZ_INFO})),this.swapUrl=Xt.H$+Xt.rl.BOLTZ_API+"/info",this.httpClient.get(this.swapUrl).pipe((0,cn.Q)(this.unSubs[1])).subscribe({next:b=>{this.store.dispatch((0,Cn.y0)({payload:Xt.MZ.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,Tt.of)(this.handleErrorWithoutAlert(Xt.MZ.GET_BOLTZ_INFO,this.swapUrl,b)))})}serviceInfo(){return this.store.dispatch((0,Cn.mt)({payload:Xt.MZ.GET_SERVICE_INFO})),this.swapUrl=Xt.H$+Xt.rl.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,cn.Q)(this.unSubs[2]),(0,Wa.T)(b=>(this.store.dispatch((0,Cn.y0)({payload:Xt.MZ.GET_SERVICE_INFO})),b)),(0,Ta.W)(b=>(0,Tt.of)(this.handleErrorWithAlert(Xt.MZ.GET_SERVICE_INFO,this.swapUrl,b))))}swapOut(b,W,X){const Fe={amount:b,address:W,acceptZeroConf:X};return this.swapUrl=Xt.H$+Xt.rl.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Fe).pipe((0,Ta.W)(Lt=>this.handleErrorWithoutAlert("Swap Out for Address: "+W,Xt.MZ.NO_SPINNER,Lt)))}swapIn(b,W,X){const Fe={amount:b,sendFromInternal:W,refundAddress:X};return this.swapUrl=Xt.H$+Xt.rl.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,Fe).pipe((0,Ta.W)(Lt=>this.handleErrorWithoutAlert("Swap In for Amount: "+b,Xt.MZ.NO_SPINNER,Lt)))}handleErrorWithoutAlert(b,W,X){let Fe="";return this.logger.error("ERROR IN: "+b+"\n"+JSON.stringify(X)),this.store.dispatch((0,Cn.y0)({payload:W})),401===X.status?(Fe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Cn.ri)({payload:Fe}))):503===X.status?(Fe="Unable to Connect to Boltz Server.",this.store.dispatch((0,Cn.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:X.status,message:"Unable to Connect to Boltz Server",URL:b},component:td.f}}}))):Fe=this.commonService.extractErrorMessage(X),(0,B0.$)(()=>new Error(Fe))}handleErrorWithAlert(b,W,X){let Fe="";if(401===X.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Cn.ri)({payload:"Authentication Failed: "+JSON.stringify(X.error)}))),this.logger.error(X),this.store.dispatch((0,Cn.y0)({payload:b})),401===X.status)Fe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Cn.ri)({payload:Fe}));else if(503===X.status)Fe="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,Cn.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:X.status,message:"Unable to Connect to Boltz Server",URL:W},component:td.f}}}))},100);else{Fe=this.commonService.extractErrorMessage(X);const Lt=X.error&&X.error.error&&X.error.error.code?X.error.error.code:X.error&&X.error.code?X.error.code:X.code?X.code:X.status;setTimeout(()=>{this.store.dispatch((0,Cn.xO)({payload:{data:{type:Xt.A$.ERROR,alertTitle:"ERROR",message:{code:Lt,message:Fe,URL:W},component:td.f}}}))},100)}return{message:Fe}}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.KVO(Ms.Qq),e.KVO(Qo.gP),e.KVO(Ri.il),e.KVO(ka.h))}}static{this.\u0275prov=e.jDH({token:P,factory:P.\u0275fac})}}return P})();const m2=P=>({"display-none":P});function af(P,B){1&P&&e.eu8(0)}function sf(P,B){if(1&P&&(e.j41(0,"div",4)(1,"span",5),e.EFF(2),e.k0s()()),2&P){const b=e.XpG();e.R7$(2),e.JRh(null!=b.swapStatus&&b.swapStatus.error?null==b.swapStatus?null:b.swapStatus.error:"Unknown Error.")}}function cf(P,B){if(1&P&&(e.j41(0,"div",7)(1,"h4",8),e.EFF(2,"Routing Fee (mSats)"),e.k0s(),e.j41(3,"span",5),e.EFF(4),e.nI1(5,"number"),e.k0s()()),2&P){const b=e.XpG(2);e.R7$(4),e.JRh(e.bMT(5,1,null==b.swapStatus?null:b.swapStatus.routingFeeMilliSat))}}function U0(P,B){if(1&P&&(e.j41(0,"div",7)(1,"h4",8),e.EFF(2,"Claim Transaction ID"),e.k0s(),e.j41(3,"span",5),e.EFF(4),e.k0s()()),2&P){const b=e.XpG(2);e.R7$(4),e.JRh(null==b.swapStatus?null:b.swapStatus.claimTransactionId)}}function G0(P,B){if(1&P&&(e.j41(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),e.EFF(4,"ID"),e.k0s(),e.j41(5,"span",5),e.EFF(6),e.k0s()(),e.DNE(7,cf,6,3,"div",9)(8,U0,5,1,"div",9),e.k0s(),e.nrm(9,"mat-divider",10),e.j41(10,"div",6)(11,"div",11)(12,"h4",8),e.EFF(13,"Lockup Address"),e.k0s(),e.j41(14,"span",5),e.EFF(15),e.k0s()()()()),2&P){const b=e.XpG();e.R7$(6),e.JRh(null==b.swapStatus?null:b.swapStatus.id),e.R7$(),e.Y8G("ngIf",b.acceptZeroConf),e.R7$(),e.Y8G("ngIf",b.acceptZeroConf),e.R7$(7),e.JRh(null==b.swapStatus?null:b.swapStatus.lockupAddress)}}function go(P,B){1&P&&(e.j41(0,"span",22),e.EFF(1,"N/A"),e.k0s())}function t4(P,B){1&P&&(e.j41(0,"span",23),e.EFF(1,"QR Code Not Applicable"),e.k0s())}function j0(P,B){1&P&&e.nrm(0,"mat-divider",24),2&P&&e.Y8G("inset",!0)}function n4(P,B){if(1&P&&(e.j41(0,"div",6)(1,"div",11)(2,"h4",8),e.EFF(3,"Transaction ID"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()()()),2&P){const b=e.XpG(2);e.R7$(5),e.JRh(null==b.swapStatus?null:b.swapStatus.txId)}}function p2(P,B){if(1&P&&(e.j41(0,"div",6)(1,"div",25)(2,"h4",8),e.EFF(3,"ID"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()(),e.j41(6,"div",25)(7,"h4",8),e.EFF(8,"Expected Amount (Sats)"),e.k0s(),e.j41(9,"span",5),e.EFF(10),e.nI1(11,"number"),e.k0s()()()),2&P){const b=e.XpG(2);e.R7$(5),e.JRh(null==b.swapStatus?null:b.swapStatus.id),e.R7$(5),e.JRh(e.bMT(11,2,null==b.swapStatus?null:b.swapStatus.expectedAmount))}}function r4(P,B){1&P&&e.nrm(0,"mat-divider",10)}function id(P,B){if(1&P&&(e.j41(0,"div",6)(1,"div",11)(2,"h4",8),e.EFF(3,"Address"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()()()),2&P){const b=e.XpG(2);e.R7$(5),e.JRh(null==b.swapStatus?null:b.swapStatus.address)}}function Us(P,B){1&P&&e.nrm(0,"mat-divider",10)}function nd(P,B){if(1&P&&(e.j41(0,"div",6)(1,"div",11)(2,"h4",8),e.EFF(3,"BIP 21"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()()()),2&P){const b=e.XpG(2);e.R7$(5),e.JRh(null==b.swapStatus?null:b.swapStatus.bip21)}}function ml(P,B){if(1&P&&(e.j41(0,"div",12)(1,"div",13),e.nrm(2,"qr-code",14),e.DNE(3,go,2,0,"span",15),e.k0s(),e.j41(4,"div",16)(5,"div",4)(6,"div",17),e.nrm(7,"qr-code",14),e.DNE(8,t4,2,0,"span",18),e.k0s(),e.DNE(9,j0,1,1,"mat-divider",19)(10,n4,6,1,"div",20)(11,p2,12,4,"div",20)(12,r4,1,0,"mat-divider",21)(13,id,6,1,"div",20)(14,Us,1,0,"mat-divider",21)(15,nd,6,1,"div",20),e.k0s()()()),2&P){const b=e.XpG();e.R7$(),e.Y8G("fxLayoutAlign",""!==((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))?"center start":"center center")("ngClass",e.eq3(19,m2,b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM)),e.R7$(),e.Y8G("value",(null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))("size",b.qrWidth)("errorCorrectionLevel","L"),e.R7$(),e.Y8G("ngIf",""===((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))),e.R7$(3),e.Y8G("fxLayoutAlign",""!==((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))?"center start":"center center")("ngClass",e.eq3(21,m2,b.screenSize!==b.screenSizeEnum.XS&&b.screenSize!==b.screenSizeEnum.SM)),e.R7$(),e.Y8G("value",(null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))("size",b.qrWidth)("errorCorrectionLevel","L"),e.R7$(),e.Y8G("ngIf",""===((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))),e.R7$(),e.Y8G("ngIf",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM),e.R7$(),e.Y8G("ngIf",b.sendFromInternal),e.R7$(),e.Y8G("ngIf",!b.sendFromInternal),e.R7$(),e.Y8G("ngIf",!b.sendFromInternal),e.R7$(),e.Y8G("ngIf",!b.sendFromInternal),e.R7$(),e.Y8G("ngIf",!b.sendFromInternal),e.R7$(),e.Y8G("ngIf",!b.sendFromInternal)}}let lf=(()=>{class P{constructor(b){this.commonService=b,this.swapStatus=null,this.direction=Xt.Bd.SWAP_OUT,this.acceptZeroConf=!1,this.sendFromInternal=!0,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=Xt.f7,this.swapTypeEnum=Xt.Bd}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.screenSize===Xt.f7.XS&&(this.qrWidth=180)}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(ka.h))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-boltz-swap-status"]],inputs:{swapStatus:"swapStatus",direction:"direction",acceptZeroConf:"acceptZeroConf",sendFromInternal:"sendFromInternal"},decls:7,vars:1,consts:[["swapFailedBlock",""],["swapOutBlock",""],["swapInBlock",""],[4,"ngTemplateOutlet"],["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(W,X){if(1&W&&e.DNE(0,af,1,0,"ng-container",3)(1,sf,3,1,"ng-template",null,0,e.C5r)(3,G0,16,4,"ng-template",null,1,e.C5r)(5,ml,16,23,"ng-template",null,2,e.C5r),2&W){const Fe=e.sdS(2),Lt=e.sdS(4),kt=e.sdS(6);e.Y8G("ngTemplateOutlet",null!=X.swapStatus&&X.swapStatus.error?Fe:X.direction===X.swapTypeEnum.SWAP_OUT?Lt:kt)}},dependencies:[bi.YU,bi.bT,bi.T3,Ki.DJ,Ki.sA,Ki.UI,ds.PW,zc.q,ls.Um,bi.QX]})}}return P})(),W0=(()=>{class P{constructor(){this.serviceInfo={},this.direction=Xt.Bd.SWAP_OUT,this.swapTypeEnum=Xt.Bd}static{this.\u0275fac=function(W){return new(W||P)}}static{this.\u0275cmp=e.VBU({type:P,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(W,X){1&W&&(e.j41(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",1),e.EFF(4,"Service Information"),e.k0s()()(),e.j41(5,"div",2)(6,"div",3)(7,"div",4)(8,"h4",5),e.EFF(9,"Minimum Amount (Sats)"),e.k0s(),e.j41(10,"span",6),e.EFF(11),e.nI1(12,"number"),e.k0s()(),e.j41(13,"div",4)(14,"h4",5),e.EFF(15,"Maximum Amount (Sats)"),e.k0s(),e.j41(16,"span",6),e.EFF(17),e.nI1(18,"number"),e.k0s()()(),e.nrm(19,"mat-divider",7),e.j41(20,"div",3)(21,"div",4)(22,"h4",5),e.EFF(23,"Fee Percentage"),e.k0s(),e.j41(24,"span",6),e.EFF(25),e.nI1(26,"number"),e.k0s()(),e.j41(27,"div",4)(28,"h4",5),e.EFF(29,"Miner Fee (Sats)"),e.k0s(),e.j41(30,"span",6),e.EFF(31),e.nI1(32,"number"),e.k0s()()()()()),2&W&&(e.Y8G("expanded",!0),e.R7$(11),e.JRh(e.bMT(12,5,null==X.serviceInfo||null==X.serviceInfo.limits?null:X.serviceInfo.limits.minimal)),e.R7$(6),e.JRh(e.bMT(18,7,null==X.serviceInfo||null==X.serviceInfo.limits?null:X.serviceInfo.limits.maximal)),e.R7$(8),e.JRh(e.bMT(26,9,null==X.serviceInfo||null==X.serviceInfo.fees?null:X.serviceInfo.fees.percentage)),e.R7$(6),e.JRh(e.bMT(32,11,X.direction===X.swapTypeEnum.SWAP_OUT?null==X.serviceInfo||null==X.serviceInfo.fees||null==X.serviceInfo.fees.miner?null:X.serviceInfo.fees.miner.reverse:null==X.serviceInfo||null==X.serviceInfo.fees||null==X.serviceInfo.fees.miner?null:X.serviceInfo.fees.miner.normal)))},dependencies:[Ki.DJ,Ki.sA,Ki.UI,La.GK,La.Z2,La.WN,zc.q,bi.QX]})}}return P})();var g2=p(6949);const b1=(P,B)=>({"small-svg":P,"large-svg":B});function df(P,B){1&P&&e.eu8(0)}function a4(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(X){e.eBV(b);const Fe=e.XpG();return e.Njj(Fe.onSwipe(X))}),e.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),e.k0s(),e.joV(),e.j41(12,"div",18)(13,"mat-card-title"),e.EFF(14,"Boltz Submarine Swaps explained."),e.k0s()(),e.j41(15,"div",19)(16,"mat-card-subtitle",20),e.EFF(17," Boltz is a privacy-first account free exchange and a Lightning service provider. By doing a Submarine Swap on Boltz, you can swap your on-chain Bitcoin for Lightning Bitcoin. "),e.k0s()()()}if(2&P){const b=e.XpG();e.Y8G("@sliderAnimation",b.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,b1,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function o4(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(X){e.eBV(b);const Fe=e.XpG();return e.Njj(Fe.onSwipe(X))}),e.qSk(),e.j41(1,"svg",21),e.nrm(2,"path",22)(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),e.k0s(),e.joV(),e.j41(9,"div",18)(10,"mat-card-title"),e.EFF(11,"Step 1: Deciding to Submarine Swap"),e.k0s()(),e.j41(12,"div",19)(13,"mat-card-subtitle",20),e.EFF(14," You have one or more Lightning channels that are running low on outbound liquidity and you want to fund it using your on-chain Bitcoin. "),e.k0s()()()}if(2&P){const b=e.XpG();e.Y8G("@sliderAnimation",b.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,b1,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function hf(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(X){e.eBV(b);const Fe=e.XpG();return e.Njj(Fe.onSwipe(X))}),e.qSk(),e.j41(1,"svg",29),e.nrm(2,"path",30)(3,"path",31)(4,"path",32)(5,"path",33)(6,"path",34)(7,"circle",35)(8,"rect",36),e.j41(9,"defs")(10,"pattern",37),e.nrm(11,"use",38),e.k0s(),e.nrm(12,"image",39),e.k0s()(),e.joV(),e.j41(13,"div",18)(14,"mat-card-title"),e.EFF(15,"Step 2: Sending the on-chain funds"),e.k0s()(),e.j41(16,"div",19)(17,"mat-card-subtitle",20),e.EFF(18," You send the on-chain funds to an address which can only be spent by Boltz when it pays a Lightning invoice to your node. "),e.k0s()()()}if(2&P){const b=e.XpG();e.Y8G("@sliderAnimation",b.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,b1,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function uf(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(X){e.eBV(b);const Fe=e.XpG();return e.Njj(Fe.onSwipe(X))}),e.qSk(),e.j41(1,"svg",40)(2,"g",41),e.nrm(3,"path",42)(4,"path",43)(5,"path",44)(6,"path",45)(7,"path",46),e.k0s(),e.j41(8,"defs")(9,"clipPath",47),e.nrm(10,"rect",48),e.k0s()()(),e.joV(),e.j41(11,"div",18)(12,"mat-card-title"),e.EFF(13,"Step 3: Receiving the funds on Lightning"),e.k0s()(),e.j41(14,"div",19)(15,"mat-card-subtitle",20),e.EFF(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),e.k0s()()()}if(2&P){const b=e.XpG();e.Y8G("@sliderAnimation",b.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,b1,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Kl(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(X){e.eBV(b);const Fe=e.XpG();return e.Njj(Fe.onSwipe(X))}),e.qSk(),e.j41(1,"svg",49),e.nrm(2,"path",50)(3,"path",51)(4,"path",52)(5,"path",53)(6,"path",54),e.k0s(),e.joV(),e.j41(7,"div",18)(8,"mat-card-title"),e.EFF(9,"Done!"),e.k0s()(),e.j41(10,"div",19)(11,"mat-card-subtitle",20),e.EFF(12," You swapped your on-chain Bitcoin for Lightning Bitcoin, while also adding outbound capacity for your channels in the process - all in a non-custodial manner. "),e.k0s()()()}if(2&P){const b=e.XpG();e.Y8G("@sliderAnimation",b.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,b1,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}let y1=(()=>{class P{constructor(b){this.commonService=b,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.bkB,this.screenSize="",this.screenSizeEnum=Xt.f7}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{this.\u0275fac=function(W){return new(W||P)(e.rXU(ka.h))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-boltz-swapin-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],[4,"ngTemplateOutlet"],["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(W,X){if(1&W&&e.DNE(0,df,1,0,"ng-container",5)(1,a4,18,5,"ng-template",null,0,e.C5r)(3,o4,15,5,"ng-template",null,1,e.C5r)(5,hf,19,5,"ng-template",null,2,e.C5r)(7,uf,17,5,"ng-template",null,3,e.C5r)(9,Kl,13,5,"ng-template",null,4,e.C5r),2&W){const Fe=e.sdS(2),Lt=e.sdS(4),kt=e.sdS(6),ri=e.sdS(8),oi=e.sdS(10);e.Y8G("ngTemplateOutlet",1===X.stepNumber?Fe:2===X.stepNumber?Lt:3===X.stepNumber?kt:4===X.stepNumber?ri:oi)}},dependencies:[bi.YU,bi.T3,Ki.DJ,Ki.sA,Ki.UI,ds.PW,mr.Lc,mr.dh],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:[g2.k]}})}}return P})();const $l=(P,B)=>({"small-svg":P,"large-svg":B});function ff(P,B){1&P&&e.eu8(0)}function rd(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(X){e.eBV(b);const Fe=e.XpG();return e.Njj(Fe.onSwipe(X))}),e.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),e.k0s(),e.joV(),e.j41(12,"div",18)(13,"mat-card-title"),e.EFF(14,"Boltz Reverse Submarine Swap explained."),e.k0s()(),e.j41(15,"div",19)(16,"mat-card-subtitle",20),e.EFF(17," Boltz is a privacy-first account free exchange and a Lightning Service Provider. By doing a Reverse Submarine Swap on Boltz, you can swap your Lightning Bitcoin for on-chain Bitcoin. "),e.k0s()()()}if(2&P){const b=e.XpG();e.Y8G("@sliderAnimation",b.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,$l,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Gs(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(X){e.eBV(b);const Fe=e.XpG();return e.Njj(Fe.onSwipe(X))}),e.qSk(),e.j41(1,"svg",21)(2,"g",22),e.nrm(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),e.k0s(),e.nrm(9,"path",29),e.j41(10,"defs")(11,"clipPath",30),e.nrm(12,"rect",31),e.k0s()()(),e.joV(),e.j41(13,"div",18)(14,"mat-card-title"),e.EFF(15,"Step 1: Deciding to Reverse Submarine Swap"),e.k0s()(),e.j41(16,"div",19)(17,"mat-card-subtitle",20),e.EFF(18," You have one or more channels that are running low on inbound capacity or you want to move some of your Lightning Bitcoin to your onchain wallet. "),e.k0s()()()}if(2&P){const b=e.XpG();e.Y8G("@sliderAnimation",b.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,$l,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function X0(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(X){e.eBV(b);const Fe=e.XpG();return e.Njj(Fe.onSwipe(X))}),e.qSk(),e.j41(1,"svg",32),e.nrm(2,"path",33)(3,"path",34)(4,"path",35)(5,"path",36)(6,"path",37)(7,"circle",38)(8,"rect",39),e.j41(9,"defs")(10,"pattern",40),e.nrm(11,"use",41),e.k0s(),e.nrm(12,"image",42),e.k0s()(),e.joV(),e.j41(13,"div",18)(14,"mat-card-title"),e.EFF(15,"Step 2: Paying the Lightning Invoice"),e.k0s()(),e.j41(16,"div",19)(17,"mat-card-subtitle",20),e.EFF(18," Your Boltz client generates a secret which is sent to Boltz. In return Boltz sends a Lightning invoice based on that secret. Your Lightning node pays that invoice which moves some of your local balance to the other side of the channel. "),e.k0s()()()}if(2&P){const b=e.XpG();e.Y8G("@sliderAnimation",b.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,$l,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function ad(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(X){e.eBV(b);const Fe=e.XpG();return e.Njj(Fe.onSwipe(X))}),e.qSk(),e.j41(1,"svg",43)(2,"g",22),e.nrm(3,"path",44)(4,"path",45)(5,"path",46)(6,"path",47)(7,"path",48),e.k0s(),e.j41(8,"defs")(9,"clipPath",30),e.nrm(10,"rect",49),e.k0s()()(),e.joV(),e.j41(11,"div",18)(12,"mat-card-title"),e.EFF(13,"Step 3: Receiving the funds on-chain"),e.k0s()(),e.j41(14,"div",19)(15,"mat-card-subtitle",20),e.EFF(16," In return for paying the invoice, Boltz locks on-chain BTC. Your node claims that onchain BTC to your wallet and by doing that, reveals the secret. With that secret Boltz can settle the Lightning invoice paid by your node. "),e.k0s()()()}if(2&P){const b=e.XpG();e.Y8G("@sliderAnimation",b.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,$l,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function x1(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(X){e.eBV(b);const Fe=e.XpG();return e.Njj(Fe.onSwipe(X))}),e.qSk(),e.j41(1,"svg",50),e.nrm(2,"path",51)(3,"path",52)(4,"path",53)(5,"path",54)(6,"path",55),e.k0s(),e.joV(),e.j41(7,"div",18)(8,"mat-card-title"),e.EFF(9,"Done!"),e.k0s()(),e.j41(10,"div",19)(11,"mat-card-subtitle",20),e.EFF(12," You have now successfully received your funds in your on-chain wallet and also spent your local balance to increase the inbound capacity of your node - all in a non-custodial manner. "),e.k0s()()()}if(2&P){const b=e.XpG();e.Y8G("@sliderAnimation",b.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,$l,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}let Y0=(()=>{class P{constructor(b){this.commonService=b,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.bkB,this.screenSize="",this.screenSizeEnum=Xt.f7}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{this.\u0275fac=function(W){return new(W||P)(e.rXU(ka.h))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-boltz-swapout-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],[4,"ngTemplateOutlet"],["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(W,X){if(1&W&&e.DNE(0,ff,1,0,"ng-container",5)(1,rd,18,5,"ng-template",null,0,e.C5r)(3,Gs,19,5,"ng-template",null,1,e.C5r)(5,X0,19,5,"ng-template",null,2,e.C5r)(7,ad,17,5,"ng-template",null,3,e.C5r)(9,x1,13,5,"ng-template",null,4,e.C5r),2&W){const Fe=e.sdS(2),Lt=e.sdS(4),kt=e.sdS(6),ri=e.sdS(8),oi=e.sdS(10);e.Y8G("ngTemplateOutlet",1===X.stepNumber?Fe:2===X.stepNumber?Lt:3===X.stepNumber?kt:4===X.stepNumber?ri:oi)}},dependencies:[bi.YU,bi.T3,Ki.DJ,Ki.sA,Ki.UI,ds.PW,mr.Lc,mr.dh],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:[g2.k]}})}}return P})();const K0=["stepper"],$0=()=>[1,2,3,4,5],C1=(P,B)=>({"dot-primary":P,"dot-primary-lighter":B});function od(P,B){if(1&P&&e.EFF(0),2&P){const b=e.XpG(2);e.JRh(b.inputFormLabel)}}function sd(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Amount is required."),e.k0s())}function Q0(P,B){if(1&P&&(e.j41(0,"mat-error"),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&P){const b=e.XpG(2);e.R7$(),e.SpI("Amount must be greater than or equal to ",e.bMT(2,1,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.minimal),".")}}function Z0(P,B){if(1&P&&(e.j41(0,"mat-error"),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&P){const b=e.XpG(2);e.R7$(),e.SpI("Amount must be less than or equal to ",e.bMT(2,1,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.maximal),".")}}function Ql(P,B){1&P&&(e.j41(0,"div",44)(1,"div",45)(2,"mat-slide-toggle",46),e.EFF(3,"Accept Zero Conf"),e.k0s(),e.j41(4,"mat-icon",47),e.EFF(5,"info_outline"),e.k0s()()())}function _2(P,B){1&P&&(e.j41(0,"div",44)(1,"div",45)(2,"mat-slide-toggle",48),e.EFF(3,"Send from Internal Wallet"),e.k0s(),e.j41(4,"mat-icon",49),e.EFF(5,"info_outline"),e.k0s()()())}function mf(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1," Refund address is required when not using internal wallet. "),e.k0s())}function pf(P,B){1&P&&(e.j41(0,"button",50),e.EFF(1,"Next"),e.k0s())}function qo(P,B){if(1&P){const b=e.RV6();e.j41(0,"button",51),e.bIt("click",function(){e.eBV(b);const X=e.XpG(2);return e.Njj(X.onSwap())}),e.EFF(1),e.k0s()}if(2&P){const b=e.XpG(2);e.R7$(),e.SpI("Initiate ",b.swapDirectionCaption,"")}}function v2(P,B){if(1&P&&e.EFF(0),2&P){const b=e.XpG(3);e.JRh(b.addressFormLabel)}}function cd(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Address is required."),e.k0s())}function b2(P,B){if(1&P){const b=e.RV6();e.j41(0,"mat-step",15)(1,"form",16),e.DNE(2,v2,1,1,"ng-template",17),e.j41(3,"div",52)(4,"mat-radio-group",53),e.bIt("change",function(X){e.eBV(b);const Fe=e.XpG(2);return e.Njj(Fe.onAddressTypeChange(X))}),e.j41(5,"mat-radio-button",54),e.EFF(6,"Node Local Address"),e.k0s(),e.j41(7,"mat-radio-button",55),e.EFF(8,"External Address"),e.k0s()(),e.j41(9,"mat-form-field",56)(10,"mat-label"),e.EFF(11,"Address"),e.k0s(),e.nrm(12,"input",57),e.DNE(13,cd,2,0,"mat-error",24),e.k0s()(),e.j41(14,"div",29)(15,"button",58),e.bIt("click",function(){e.eBV(b);const X=e.XpG(2);return e.Njj(X.onSwap())}),e.EFF(16),e.k0s()()()()}if(2&P){const b=e.XpG(2);e.Y8G("stepControl",b.addressFormGroup)("editable",b.flgEditable),e.R7$(),e.Y8G("formGroup",b.addressFormGroup),e.R7$(11),e.Y8G("required","external"===b.addressFormGroup.controls.addressType.value),e.R7$(),e.Y8G("ngIf",null==b.addressFormGroup.controls.address.errors?null:b.addressFormGroup.controls.address.errors.required),e.R7$(3),e.SpI("Initiate ",b.swapDirectionCaption,"")}}function J0(P,B){if(1&P&&e.EFF(0),2&P){const b=e.XpG(2);e.SpI("",b.swapDirectionCaption," Status")}}function s4(P,B){if(1&P&&(e.j41(0,"mat-icon",59),e.EFF(1),e.k0s()),2&P){const b=e.XpG(2);e.R7$(),e.JRh(b.swapStatus&&null!=b.swapStatus&&b.swapStatus.id?"check":"close")}}function es(P,B){1&P&&e.nrm(0,"div")}function pl(P,B){1&P&&e.nrm(0,"mat-progress-bar",60)}function y2(P,B){if(1&P&&(e.j41(0,"h4",61),e.EFF(1),e.k0s()),2&P){const b=e.XpG(2);e.R7$(),e.JRh(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 x2(P,B){if(1&P){const b=e.RV6();e.j41(0,"button",62),e.bIt("click",function(){e.eBV(b);const X=e.XpG(2);return e.Njj(X.onRestart())}),e.EFF(1,"Start Again"),e.k0s()}}function gf(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),e.EFF(5),e.k0s()(),e.j41(6,"div",9)(7,"button",10),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.showInfo())}),e.EFF(8,"?"),e.k0s(),e.j41(9,"button",11),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.onClose())}),e.EFF(10,"X"),e.k0s()()(),e.j41(11,"mat-card-content",12)(12,"div",13)(13,"mat-vertical-stepper",14,1),e.bIt("selectionChange",function(X){e.eBV(b);const Fe=e.XpG();return e.Njj(Fe.stepSelectionChanged(X))}),e.j41(15,"mat-step",15)(16,"form",16),e.DNE(17,od,1,1,"ng-template",17),e.j41(18,"div",18),e.nrm(19,"rtl-boltz-service-info",19),e.k0s(),e.j41(20,"div",20)(21,"mat-form-field",21)(22,"mat-label"),e.EFF(23,"Amount"),e.k0s(),e.nrm(24,"input",22),e.j41(25,"mat-hint"),e.EFF(26),e.nI1(27,"number"),e.nI1(28,"number"),e.k0s(),e.j41(29,"span",23),e.EFF(30,"Sats"),e.k0s(),e.DNE(31,sd,2,0,"mat-error",24)(32,Q0,3,3,"mat-error",24)(33,Z0,3,3,"mat-error",24),e.k0s(),e.DNE(34,Ql,6,0,"div",25)(35,_2,6,0,"div",25),e.j41(36,"div",26)(37,"mat-form-field",27)(38,"mat-label"),e.EFF(39,"Refund Address"),e.k0s(),e.nrm(40,"input",28),e.j41(41,"mat-hint"),e.EFF(42,"The address where funds will be returned in case of a failed swap"),e.k0s(),e.DNE(43,mf,2,0,"mat-error",24),e.k0s()()(),e.j41(44,"div",29),e.DNE(45,pf,2,0,"button",30)(46,qo,2,1,"button",31),e.k0s()()(),e.DNE(47,b2,17,6,"mat-step",32),e.j41(48,"mat-step",33)(49,"form",16),e.DNE(50,J0,1,1,"ng-template",17),e.j41(51,"div",34)(52,"mat-expansion-panel",35)(53,"mat-expansion-panel-header")(54,"mat-panel-title")(55,"span",36),e.EFF(56),e.DNE(57,s4,2,1,"mat-icon",37),e.k0s()()(),e.DNE(58,es,1,0,"div",38),e.k0s(),e.DNE(59,pl,1,0,"mat-progress-bar",39),e.k0s(),e.DNE(60,y2,2,1,"h4",40),e.j41(61,"div",29),e.DNE(62,x2,2,0,"button",41),e.k0s()()()(),e.j41(63,"div",42)(64,"button",43),e.EFF(65,"Close"),e.k0s()()()()()()}if(2&P){const b=e.XpG(),W=e.sdS(2);e.Y8G("@opacityAnimation",void 0),e.R7$(3),e.Y8G("fxFlex",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM?"83":"91"),e.R7$(2),e.JRh(b.swapDirectionCaption),e.R7$(),e.Y8G("fxFlex",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM?"17":"9"),e.R7$(7),e.Y8G("linear",!0),e.R7$(2),e.Y8G("stepControl",b.inputFormGroup)("editable",b.flgEditable),e.R7$(),e.Y8G("formGroup",b.inputFormGroup),e.R7$(3),e.Y8G("serviceInfo",b.serviceInfo)("direction",b.direction),e.R7$(5),e.Y8G("step",1e3),e.R7$(2),e.Lme("Range: ",e.bMT(27,34,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.minimal),"-",e.bMT(28,36,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.maximal),""),e.R7$(5),e.Y8G("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),e.R7$(),e.Y8G("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),e.R7$(),e.Y8G("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),e.R7$(),e.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_IN&&b.isSendFromInternalCompatible),e.R7$(5),e.Y8G("required",!(null!=b.inputFormGroup&&null!=b.inputFormGroup.controls&&b.inputFormGroup.controls.sendFromInternal.value)),e.R7$(3),e.Y8G("ngIf",null==b.inputFormGroup||null==b.inputFormGroup.controls||null==b.inputFormGroup.controls.refundAddress||null==b.inputFormGroup.controls.refundAddress.errors?null:b.inputFormGroup.controls.refundAddress.errors.required),e.R7$(2),e.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_IN),e.R7$(),e.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("stepControl",b.statusFormGroup),e.R7$(),e.Y8G("formGroup",b.statusFormGroup),e.R7$(3),e.Y8G("expanded",!!b.swapStatus),e.R7$(4),e.JRh(b.swapStatus?b.swapStatus.id?b.swapDirectionCaption+" request details":b.swapDirectionCaption+" error details":"Waiting for "+b.swapDirectionCaption+" request..."),e.R7$(),e.Y8G("ngIf",b.swapStatus),e.R7$(),e.Y8G("ngIf",!b.swapStatus)("ngIfElse",W),e.R7$(),e.Y8G("ngIf",!b.swapStatus),e.R7$(),e.Y8G("ngIf",b.swapStatus),e.R7$(2),e.Y8G("ngIf",b.swapStatus&&(b.swapStatus.error||!b.swapStatus.id)),e.R7$(2),e.Y8G("mat-dialog-close",!1)}}function q0(P,B){if(1&P&&e.nrm(0,"rtl-boltz-swap-status",63),2&P){const b=e.XpG();e.Y8G("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 eh(P,B){if(1&P){const b=e.RV6();e.j41(0,"rtl-boltz-swapout-info-graphics",79),e.mxI("stepNumberChange",function(X){e.eBV(b);const Fe=e.XpG(2);return e.DH7(Fe.stepNumber,X)||(Fe.stepNumber=X),e.Njj(X)}),e.k0s()}if(2&P){const b=e.XpG(2);e.Y8G("animationDirection",b.animationDirection),e.R50("stepNumber",b.stepNumber)}}function Xc(P,B){if(1&P){const b=e.RV6();e.j41(0,"rtl-boltz-swapin-info-graphics",79),e.mxI("stepNumberChange",function(X){e.eBV(b);const Fe=e.XpG(2);return e.DH7(Fe.stepNumber,X)||(Fe.stepNumber=X),e.Njj(X)}),e.k0s()}if(2&P){const b=e.XpG(2);e.Y8G("animationDirection",b.animationDirection),e.R50("stepNumber",b.stepNumber)}}function C2(P,B){if(1&P){const b=e.RV6();e.j41(0,"span",80),e.bIt("click",function(){const X=e.eBV(b).$implicit,Fe=e.XpG(2);return e.Njj(Fe.onStepChanged(X))}),e.nrm(1,"p",81),e.k0s()}if(2&P){const b=B.$implicit,W=e.XpG(2);e.R7$(),e.Y8G("ngClass",e.l_i(1,C1,W.stepNumber===b,W.stepNumber!==b))}}function th(P,B){if(1&P){const b=e.RV6();e.j41(0,"button",82),e.bIt("click",function(){e.eBV(b);const X=e.XpG(2);return e.Njj(X.onReadMore())}),e.EFF(1,"Read More"),e.k0s()}}function _f(P,B){if(1&P){const b=e.RV6();e.j41(0,"button",83),e.bIt("click",function(){e.eBV(b);const X=e.XpG(2);return e.Njj(X.onStepChanged(4))}),e.EFF(1,"Back"),e.k0s()}}function ih(P,B){if(1&P){const b=e.RV6();e.j41(0,"button",84),e.bIt("click",function(){e.eBV(b);const X=e.XpG(2);return X.flgShowInfo=!1,e.Njj(X.stepNumber=1)}),e.EFF(1,"Close"),e.k0s()}}function w2(P,B){if(1&P){const b=e.RV6();e.j41(0,"button",85),e.bIt("click",function(){e.eBV(b);const X=e.XpG(2);return X.flgShowInfo=!1,e.Njj(X.stepNumber=1)}),e.EFF(1,"Close"),e.k0s()}}function vf(P,B){if(1&P){const b=e.RV6();e.j41(0,"button",86),e.bIt("click",function(){e.eBV(b);const X=e.XpG(2);return e.Njj(X.onStepChanged(X.stepNumber-1))}),e.EFF(1,"Back"),e.k0s()}}function M2(P,B){if(1&P){const b=e.RV6();e.j41(0,"button",87),e.bIt("click",function(){e.eBV(b);const X=e.XpG(2);return e.Njj(X.onStepChanged(X.stepNumber+1))}),e.EFF(1,"Next"),e.k0s()}}function Zl(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",64)(1,"div",18)(2,"mat-card-header",65)(3,"div",66),e.nrm(4,"span",8),e.k0s(),e.j41(5,"div",67)(6,"button",11),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return X.flgShowInfo=!1,e.Njj(X.stepNumber=1)}),e.EFF(7,"X"),e.k0s()()(),e.j41(8,"mat-card-content",68),e.DNE(9,eh,1,2,"rtl-boltz-swapout-info-graphics",69)(10,Xc,1,2,"rtl-boltz-swapin-info-graphics",69),e.k0s(),e.j41(11,"div",70),e.DNE(12,C2,2,4,"span",71),e.k0s(),e.j41(13,"div",72),e.DNE(14,th,2,0,"button",73)(15,_f,2,0,"button",74)(16,ih,2,0,"button",75)(17,w2,2,0,"button",76)(18,vf,2,0,"button",77)(19,M2,2,0,"button",78),e.k0s()()()}if(2&P){const b=e.XpG();e.Y8G("@opacityAnimation",void 0),e.R7$(9),e.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_IN),e.R7$(2),e.Y8G("ngForOf",e.lJ4(10,$0)),e.R7$(2),e.Y8G("ngIf",5===b.stepNumber),e.R7$(),e.Y8G("ngIf",5===b.stepNumber),e.R7$(),e.Y8G("ngIf",5===b.stepNumber),e.R7$(),e.Y8G("ngIf",b.stepNumber<5),e.R7$(),e.Y8G("ngIf",b.stepNumber>1&&b.stepNumber<5),e.R7$(),e.Y8G("ngIf",b.stepNumber<5)}}let bf=(()=>{class P{constructor(b,W,X,Fe,Lt,kt,ri){this.dialogRef=b,this.data=W,this.boltzService=X,this.formBuilder=Fe,this.decimalPipe=Lt,this.logger=kt,this.commonService=ri,this.faInfoCircle=qi.iW_,this.boltzInfo=null,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=Xt.Bd,this.direction=Xt.Bd.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=Xt.f7,this.animationDirection="forward",this.flgEditable=!0,this.isSendFromInternalCompatible=!0,this.unSubs=[new Ui.B,new Ui.B,new Ui.B,new Ui.B,new Ui.B,new Ui.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||Xt.Bd.SWAP_OUT,this.swapDirectionCaption=this.direction===Xt.Bd.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[Gi.k0.required,Gi.k0.min(this.serviceInfo.limits?.minimal||0),Gi.k0.max(this.serviceInfo.limits?.maximal||0)]],acceptZeroConf:[!1],sendFromInternal:[!0],refundAddress:[{value:"",disabled:!0}]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[Gi.k0.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.boltzService.boltzInfoChanged.pipe((0,cn.Q)(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===Xt.Bd.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===Xt.Bd.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,cn.Q)(this.unSubs[1])).subscribe(b=>{this.addressFormGroup.setErrors({Invalid:!0})}),this.direction===Xt.Bd.SWAP_IN&&this.inputFormGroup.controls.sendFromInternal.valueChanges.pipe((0,cn.Q)(this.unSubs[4])).subscribe(()=>{this.onSendFromInternalChange()})}onSendFromInternalChange(){this.inputFormGroup.controls.sendFromInternal.value?(this.inputFormGroup.controls.refundAddress.disable(),this.inputFormGroup.controls.refundAddress.clearValidators(),this.inputFormGroup.controls.refundAddress.updateValueAndValidity()):(this.inputFormGroup.controls.refundAddress.enable(),this.inputFormGroup.controls.refundAddress.setValidators([Gi.k0.required]),this.inputFormGroup.controls.refundAddress.updateValueAndValidity())}onAddressTypeChange(b){"external"===b.value?(this.addressFormGroup.controls.address.setValidators([Gi.k0.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===Xt.Bd.SWAP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;if(this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===Xt.Bd.SWAP_IN){const b=this.inputFormGroup.controls.sendFromInternal.value?null:this.inputFormGroup.controls.refundAddress.value,W=this.isSendFromInternalCompatible?this.inputFormGroup.controls.sendFromInternal.value:null;if(!W&&!b)return this.stepper.selected?.stepControl.setErrors({Invalid:!0}),void(this.flgEditable=!0);this.boltzService.swapIn(this.inputFormGroup.controls.amount.value,W,b).pipe((0,cn.Q)(this.unSubs[2])).subscribe({next:X=>{this.swapStatus=X,this.boltzService.listSwaps(),this.flgEditable=!0},error:X=>{this.swapStatus={error:X},this.flgEditable=!0,this.logger.error(X)}})}else 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,cn.Q)(this.unSubs[3])).subscribe({next:W=>{this.swapStatus=W,this.boltzService.listSwaps(),this.flgEditable=!0},error:W=>{this.swapStatus={error:W},this.flgEditable=!0,this.logger.error(W)}})}stepSelectionChanged(b){switch(b.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;case 1:if(this.inputFormGroup.controls.amount.value)if(this.direction===Xt.Bd.SWAP_IN){let W=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.inputFormGroup.controls.sendFromInternal.value&&this.inputFormGroup.controls.refundAddress.value&&(W+=" | Refund Address: "+this.inputFormGroup.controls.refundAddress.value),this.inputFormLabel=W}else this.inputFormLabel=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");else this.inputFormLabel="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===Xt.Bd.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,refundAddress:""}),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{this.\u0275fac=function(W){return new(W||P)(e.rXU(Sn.CP),e.rXU(Sn.Vh),e.rXU(v1),e.rXU(Gi.ze),e.rXU(bi.QX),e.rXU(Qo.gP),e.rXU(ka.h))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(W,X){if(1&W&&e.GBs(K0,5),2&W){let Fe;e.mGM(Fe=e.lsd())&&(X.stepper=Fe.first)}},decls:4,vars:2,consts:[["swapStatusBlock",""],["stepper",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["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,"selectionChange","linear"],[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"],["disabled","direction === swapTypeEnum.SWAP_IN && isSendFromInternalCompatible && !inputFormGroup?.controls?.sendFromInternal.value","fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"mt-1"],["fxLayout","column","fxFlex","100"],["matInput","","type","text","tabindex","3","formControlName","refundAddress",3,"required"],["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,"stepNumberChange","animationDirection","stepNumber"],["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(W,X){1&W&&e.DNE(0,gf,66,38,"div",2)(1,q0,1,4,"ng-template",null,0,e.C5r)(3,Zl,20,11,"div",3),2&W&&(e.Y8G("ngIf",!X.flgShowInfo),e.R7$(3),e.Y8G("ngIf",X.flgShowInfo))},dependencies:[bi.YU,bi.Sq,bi.bT,Gi.qT,Gi.me,Gi.Q0,Gi.BC,Gi.cb,Gi.YS,Gi.j4,Gi.JD,Ki.DJ,Ki.sA,Ki.UI,ds.PW,Sn.tx,ge.$z,mr.m2,mr.MM,La.GK,La.Z2,La.WN,Bc.An,Or.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,Ne.yw,ul.HM,G1.VT,G1._g,Jd.sG,nc.oV,Ya.V5,Ya.Ti,Ya.M6,Ya.F7,Ot.N,lf,W0,y1,Y0,bi.QX],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[rf.C]}})}}return P})();const ld=()=>["all"],nh=P=>({"overflow-auto error-border":P,"overflow-auto":!0}),rh=()=>["no_swap"],Ac=P=>({width:P}),ah=P=>({"display-none":P});function yf(P,B){if(1&P&&(e.j41(0,"mat-option",42),e.EFF(1),e.k0s()),2&P){const b=B.$implicit,W=e.XpG();e.Y8G("value",b),e.R7$(),e.JRh(W.getLabel(b))}}function dd(P,B){1&P&&e.nrm(0,"mat-progress-bar",43)}function E2(P,B){1&P&&(e.j41(0,"th",44),e.EFF(1,"Status"),e.k0s())}function xf(P,B){if(1&P&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.JRh(W.swapStateEnum[null==b?null:b.status])}}function Jl(P,B){1&P&&(e.j41(0,"th",44),e.EFF(1,"Swap ID"),e.k0s())}function w1(P,B){if(1&P&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&P){const b=B.$implicit;e.R7$(),e.JRh(null==b?null:b.id)}}function M1(P,B){1&P&&(e.j41(0,"th",44),e.EFF(1,"Claim Address"),e.k0s())}function Cf(P,B){if(1&P&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ac,W.screenSize===W.screenSizeEnum.XS?"6rem":W.colWidth)),e.R7$(2),e.JRh(null==b?null:b.claimAddress)}}function wf(P,B){1&P&&(e.j41(0,"th",44),e.EFF(1,"Lockup Address"),e.k0s())}function c4(P,B){if(1&P&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ac,W.screenSize===W.screenSizeEnum.XS?"6rem":W.colWidth)),e.R7$(2),e.JRh(null==b?null:b.lockupAddress)}}function S2(P,B){1&P&&(e.j41(0,"th",48),e.EFF(1,"Onchain Amount (Sats)"),e.k0s())}function oh(P,B){if(1&P&&(e.j41(0,"td",45)(1,"span",49),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&P){const b=B.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==b?null:b.onchainAmount))}}function hd(P,B){1&P&&(e.j41(0,"th",48),e.EFF(1,"Expected Amount (Sats)"),e.k0s())}function sh(P,B){if(1&P&&(e.j41(0,"td",45)(1,"span",49),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&P){const b=B.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==b?null:b.expectedAmount))}}function Dc(P,B){1&P&&(e.j41(0,"th",44),e.EFF(1,"Error"),e.k0s())}function ud(P,B){if(1&P&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ac,W.screenSize===W.screenSizeEnum.XS?"6rem":W.colWidth)),e.R7$(2),e.JRh(null==b?null:b.error)}}function T2(P,B){1&P&&(e.j41(0,"th",44),e.EFF(1,"Private Key"),e.k0s())}function ch(P,B){if(1&P&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ac,W.screenSize===W.screenSizeEnum.XS?"6rem":W.colWidth)),e.R7$(2),e.JRh(null==b?null:b.privateKey)}}function ql(P,B){1&P&&(e.j41(0,"th",44),e.EFF(1,"Preimage"),e.k0s())}function lh(P,B){if(1&P&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ac,W.screenSize===W.screenSizeEnum.XS?"6rem":W.colWidth)),e.R7$(2),e.JRh(null==b?null:b.preimage)}}function dh(P,B){1&P&&(e.j41(0,"th",44),e.EFF(1,"Redeem Script"),e.k0s())}function Mf(P,B){if(1&P&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ac,W.screenSize===W.screenSizeEnum.XS?"6rem":W.colWidth)),e.R7$(2),e.JRh(null==b?null:b.redeemScript)}}function Ef(P,B){1&P&&(e.j41(0,"th",44),e.EFF(1,"Invoice"),e.k0s())}function hh(P,B){if(1&P&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ac,W.screenSize===W.screenSizeEnum.XS?"6rem":W.colWidth)),e.R7$(2),e.JRh(null==b?null:b.invoice)}}function l4(P,B){1&P&&(e.j41(0,"th",48),e.EFF(1,"Timeout Block Height"),e.k0s())}function d4(P,B){if(1&P&&(e.j41(0,"td",45)(1,"span",49),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&P){const b=B.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==b?null:b.timeoutBlockHeight))}}function js(P,B){1&P&&(e.j41(0,"th",44),e.EFF(1,"Lockup Tx ID"),e.k0s())}function uh(P,B){if(1&P&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&P){const b=B.$implicit;e.R7$(),e.JRh(null==b?null:b.lockupTransactionId)}}function fd(P,B){1&P&&(e.j41(0,"th",44),e.EFF(1,"Claim Tx ID"),e.k0s())}function fh(P,B){if(1&P&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&P){const b=B.$implicit;e.R7$(),e.JRh(null==b?null:b.claimTransactionId)}}function Ws(P,B){1&P&&(e.j41(0,"th",44),e.EFF(1,"Refund Tx ID"),e.k0s())}function E1(P,B){if(1&P&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&P){const b=B.$implicit;e.R7$(),e.JRh(null==b?null:b.refundTransactionId)}}function md(P,B){if(1&P){const b=e.RV6();e.j41(0,"th",50)(1,"div",51)(2,"mat-select",52),e.nrm(3,"mat-select-trigger"),e.j41(4,"mat-option",53),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.onDownloadCSV())}),e.EFF(5,"Download CSV"),e.k0s()()()()}}function e1(P,B){if(1&P){const b=e.RV6();e.j41(0,"td",54)(1,"button",55),e.bIt("click",function(X){const Fe=e.eBV(b).$implicit,Lt=e.XpG();return e.Njj(Lt.onSwapClick(Fe,X))}),e.EFF(2,"View Info"),e.k0s()()}}function t1(P,B){if(1&P&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&P){const b=e.XpG(2);e.R7$(),e.JRh(b.emptyTableMessage)}}function Yc(P,B){if(1&P&&(e.j41(0,"td",56),e.DNE(1,t1,2,1,"p",57),e.k0s()),2&P){const b=e.XpG();e.R7$(),e.Y8G("ngIf",!(null!=b.listSwaps&&b.listSwaps.data)||(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)<1)}}function kc(P,B){if(1&P&&e.nrm(0,"tr",58),2&P){const b=e.XpG();e.Y8G("ngClass",e.eq3(1,ah,(null==b.listSwaps?null:b.listSwaps.data)&&(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)>0))}}function S1(P,B){1&P&&e.nrm(0,"tr",59)}function n1(P,B){1&P&&e.nrm(0,"tr",60)}let mh=(()=>{class P{constructor(b,W,X,Fe,Lt){this.logger=b,this.commonService=W,this.store=X,this.boltzService=Fe,this.camelCaseWithReplace=Lt,this.selectedSwapType=Xt.Bd.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Xt._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:Xt.md,sortBy:"status",sortOrder:Xt.oi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:Xt.md,sortBy:"status",sortOrder:Xt.oi.DESCENDING},this.swapStateEnum=Xt.q9,this.swapTypeEnum=Xt.Bd,this.faHistory=qi.Int,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new Ar.I6([]),this.selFilter="",this.pageSize=Xt.md,this.pageSizeOptions=Xt.xp,this.screenSize="",this.screenSizeEnum=Xt.f7,this.unSubs=[new Ui.B,new Ui.B,new Ui.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(b){b.selectedSwapType&&!b.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===Xt.Bd.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(qd.$G).pipe((0,cn.Q)(this.unSubs[0])).subscribe(b=>{this.tableSettingSwapOut=b.pageSettings.find(W=>W.pageId===this.PAGE_ID)?.tables.find(W=>W.tableId===this.tableSettingSwapOut.tableId)||Xt.ZC.find(W=>W.pageId===this.PAGE_ID)?.tables.find(W=>W.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=b.pageSettings.find(W=>W.pageId===this.PAGE_ID)?.tables.find(W=>W.tableId===this.tableSettingSwapIn.tableId)||Xt.ZC.find(W=>W.pageId===this.PAGE_ID)?.tables.find(W=>W.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===Xt.Bd.SWAP_IN?(this.displayedColumns=this.screenSize===Xt.f7.XS||this.screenSize===Xt.f7.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:Xt.md):(this.displayedColumns=this.screenSize===Xt.f7.XS||this.screenSize===Xt.f7.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:Xt.md)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(b){const X=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===Xt.Bd.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(Fe=>Fe.column===b);return X?X.label?X.label:this.camelCaseWithReplace.transform(X.column,"_"):this.commonService.titleCase(b)}setFilterPredicate(){this.listSwaps.filterPredicate=(b,W)=>{let X="";switch(this.selFilterBy){case"all":X=JSON.stringify(b).toLowerCase();break;case"status":X=b?.status?this.swapStateEnum[b?.status]:"";break;default:X=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===X.indexOf(W):X.includes(W)}}onSwapClick(b,W){this.boltzService.swapInfo(b.id||"").pipe((0,cn.Q)(this.unSubs[1])).subscribe(X=>{this.store.dispatch((0,Cn.xO)({payload:{data:{type:Xt.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:Xt.q9[(X=this.selectedSwapType===Xt.Bd.SWAP_IN?X.swap:X.reverseSwap).status],title:"Status",width:50,type:Xt.UN.STRING},{key:"id",value:X.id,title:"ID",width:50,type:Xt.UN.STRING}],[{key:"amount",value:X.onchainAmount?X.onchainAmount:X.expectedAmount?X.expectedAmount:0,title:X.onchainAmount?"Onchain Amount (Sats)":X.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:Xt.UN.NUMBER},{key:"timeoutBlockHeight",value:X.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:Xt.UN.NUMBER}],[{key:"address",value:X.claimAddress?X.claimAddress:X.lockupAddress?X.lockupAddress:"",title:X.claimAddress?"Claim Address":X.lockupAddress?"Lockup Address":"Address",width:100,type:Xt.UN.STRING}],[{key:"invoice",value:X.invoice,title:"Invoice",width:100,type:Xt.UN.STRING}],[{key:"privateKey",value:X.privateKey,title:"Private Key",width:100,type:Xt.UN.STRING}],[{key:"preimage",value:X.preimage,title:"Preimage",width:100,type:Xt.UN.STRING}],[{key:"redeemScript",value:X.redeemScript,title:"Redeem Script",width:100,type:Xt.UN.STRING}],[{key:"lockupTransactionId",value:X.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:Xt.UN.STRING},{key:"transactionId",value:X.claimTransactionId?X.claimTransactionId:X.refundTransactionId?X.refundTransactionId:"",title:X.claimTransactionId?"Claim Transaction ID":X.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:Xt.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(b){this.listSwaps=new Ar.I6(b?[...b]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(W,X)=>W[X]&&isNaN(W[X])?W[X].toLocaleLowerCase():W[X]?+W[X]: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===Xt.Bd.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(Qo.gP),e.rXU(ka.h),e.rXU(Ri.il),e.rXU(v1),e.rXU(Bl.VD))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-boltz-swaps"]],viewQuery:function(W,X){if(1&W&&(e.GBs(Sc.B4,5),e.GBs(hl.iy,5)),2&W){let Fe;e.mGM(Fe=e.lsd())&&(X.sort=Fe.first),e.mGM(Fe=e.lsd())&&(X.paginator=Fe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[e.Jv_([{provide:Ce.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:hl.xX,useValue:(0,Xt.on)("Swaps")}]),e.OA$],decls:76,vars:20,consts:[["table",""],["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,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModelChange","input","keyup","ngModel"],["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"],["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(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div",3),e.nrm(3,"fa-icon",4),e.j41(4,"span",5),e.EFF(5),e.k0s()(),e.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),e.EFF(9,"Filter By"),e.k0s(),e.j41(10,"mat-select",8),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.selFilterBy,kt)||(X.selFilterBy=kt),e.Njj(kt)}),e.bIt("selectionChange",function(){return e.eBV(Fe),X.selFilter="",e.Njj(X.applyFilter())}),e.j41(11,"perfect-scrollbar"),e.DNE(12,yf,2,2,"mat-option",9),e.k0s()()(),e.j41(13,"mat-form-field",7)(14,"mat-label"),e.EFF(15,"Filter"),e.k0s(),e.j41(16,"input",10),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.selFilter,kt)||(X.selFilter=kt),e.Njj(kt)}),e.bIt("input",function(){return e.eBV(Fe),e.Njj(X.applyFilter())})("keyup",function(){return e.eBV(Fe),e.Njj(X.applyFilter())}),e.k0s()()()(),e.j41(17,"div",11)(18,"div",12),e.DNE(19,dd,1,0,"mat-progress-bar",13),e.j41(20,"table",14,0),e.qex(22,15),e.DNE(23,E2,2,0,"th",16)(24,xf,2,1,"td",17),e.bVm(),e.qex(25,18),e.DNE(26,Jl,2,0,"th",16)(27,w1,2,1,"td",17),e.bVm(),e.qex(28,19),e.DNE(29,M1,2,0,"th",16)(30,Cf,4,4,"td",17),e.bVm(),e.qex(31,20),e.DNE(32,wf,2,0,"th",16)(33,c4,4,4,"td",17),e.bVm(),e.qex(34,21),e.DNE(35,S2,2,0,"th",22)(36,oh,4,3,"td",17),e.bVm(),e.qex(37,23),e.DNE(38,hd,2,0,"th",22)(39,sh,4,3,"td",17),e.bVm(),e.qex(40,24),e.DNE(41,Dc,2,0,"th",16)(42,ud,4,4,"td",17),e.bVm(),e.qex(43,25),e.DNE(44,T2,2,0,"th",16)(45,ch,4,4,"td",17),e.bVm(),e.qex(46,26),e.DNE(47,ql,2,0,"th",16)(48,lh,4,4,"td",17),e.bVm(),e.qex(49,27),e.DNE(50,dh,2,0,"th",16)(51,Mf,4,4,"td",17),e.bVm(),e.qex(52,28),e.DNE(53,Ef,2,0,"th",16)(54,hh,4,4,"td",17),e.bVm(),e.qex(55,29),e.DNE(56,l4,2,0,"th",22)(57,d4,4,3,"td",17),e.bVm(),e.qex(58,30),e.DNE(59,js,2,0,"th",16)(60,uh,2,1,"td",17),e.bVm(),e.qex(61,31),e.DNE(62,fd,2,0,"th",16)(63,fh,2,1,"td",17),e.bVm(),e.qex(64,32),e.DNE(65,Ws,2,0,"th",16)(66,E1,2,1,"td",17),e.bVm(),e.qex(67,33),e.DNE(68,md,6,0,"th",34)(69,e1,3,0,"td",35),e.bVm(),e.qex(70,36),e.DNE(71,Yc,2,1,"td",37),e.bVm(),e.DNE(72,kc,1,3,"tr",38)(73,S1,1,0,"tr",39)(74,n1,1,0,"tr",40),e.k0s(),e.nrm(75,"mat-paginator",41),e.k0s()()()}2&W&&(e.R7$(3),e.Y8G("icon",X.faHistory),e.R7$(2),e.SpI("",X.swapCaption," History"),e.R7$(5),e.R50("ngModel",X.selFilterBy),e.R7$(2),e.Y8G("ngForOf",e.lJ4(16,ld).concat(X.displayedColumns.slice(0,-1))),e.R7$(4),e.R50("ngModel",X.selFilter),e.R7$(3),e.Y8G("ngIf",!0===X.flgLoading[0]),e.R7$(),e.Y8G("matSortActive",X.selectedSwapType===X.swapTypeEnum.SWAP_IN?X.tableSettingSwapIn.sortBy:X.tableSettingSwapOut.sortBy)("matSortDirection",X.selectedSwapType===X.swapTypeEnum.SWAP_IN?X.tableSettingSwapIn.sortOrder:X.tableSettingSwapOut.sortOrder)("dataSource",X.listSwaps)("ngClass",e.eq3(17,nh,"error"===X.flgLoading[0])),e.R7$(52),e.Y8G("matFooterRowDef",e.lJ4(19,rh)),e.R7$(),e.Y8G("matHeaderRowDef",X.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",X.displayedColumns),e.R7$(),e.Y8G("pageSize",X.pageSize)("pageSizeOptions",X.pageSizeOptions)("showFirstLastButtons",X.screenSize!==X.screenSizeEnum.XS))},dependencies:[bi.YU,bi.Sq,bi.bT,bi.B3,Gi.me,Gi.BC,Gi.vS,ba.aY,Ki.DJ,Ki.sA,Ki.UI,ds.PW,ds.eI,ge.$z,Or.fg,Ne.rl,Ne.nJ,ul.HM,Ce.VO,Ce.$2,ze.wT,Sc.B4,Sc.aE,Ar.Zl,Ar.tL,Ar.ji,Ar.cC,Ar.YV,Ar.iL,Ar.Zq,Ar.xW,Ar.KS,Ar.$R,Ar.Qo,Ar.YZ,Ar.NB,Ar.iF,hl.iy,gt.ZF,gt.Ld,bi.QX]})}}return P})();const h4=P=>["../",P];function ph(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",16),e.bIt("click",function(){const X=e.eBV(b).$implicit,Fe=e.XpG();return e.Njj(Fe.onSelectedIndexChange(X))}),e.EFF(1),e.k0s()}if(2&P){const b=B.$implicit,W=e.XpG();e.Y8G("active",W.activeTab.link===b.link)("routerLink",e.eq3(3,h4,b.link)),e.R7$(),e.JRh(b.name)}}let r1=(()=>{class P{constructor(b,W,X){this.router=b,this.store=W,this.boltzService=X,this.swapTypeEnum=Xt.Bd,this.selectedSwapType=Xt.Bd.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 Ui.B,new Ui.B,new Ui.B,new Ui.B]}ngOnInit(){this.boltzService.getBoltzInfo(),this.boltzService.listSwaps();const b=this.links.find(W=>this.router.url.includes(W.link));this.activeTab=b||this.links[0],this.selectedSwapType=b&&"swapin"===b.link?Xt.Bd.SWAP_IN:Xt.Bd.SWAP_OUT,this.router.events.pipe((0,cn.Q)(this.unSubs[0]),(0,br.p)(W=>W instanceof En.gx)).subscribe({next:W=>{const X=this.links.find(Fe=>W.urlAfterRedirects.includes(Fe.link));this.activeTab=X||this.links[0],this.selectedSwapType=X&&"swapin"===X.link?Xt.Bd.SWAP_IN:Xt.Bd.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,cn.Q)(this.unSubs[1])).subscribe({next:W=>{this.swaps=W,this.swapsData=this.selectedSwapType===Xt.Bd.SWAP_IN&&W.swaps?W.swaps:this.selectedSwapType===Xt.Bd.SWAP_OUT&&W.reverseSwaps?W.reverseSwaps:[],this.flgLoading[0]=!1},error:W=>{this.flgLoading[0]="error",this.emptyTableMessage=W.message?W.message:"No swap "+(this.selectedSwapType===Xt.Bd.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(b){"swapin"===b.link?(this.selectedSwapType=Xt.Bd.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=Xt.Bd.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(b){this.boltzService.serviceInfo().pipe((0,cn.Q)(this.unSubs[2])).subscribe({next:W=>{this.store.dispatch((0,Cn.xO)({payload:{data:{serviceInfo:W,direction:b,component:bf}}}))}})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(En.Ix),e.rXU(Ri.il),e.rXU(v1))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-boltz-root"]],decls:20,vars:7,consts:[["tabPanel",""],["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"],["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,"click","active","routerLink"]],template:function(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",1),e.qSk(),e.j41(1,"svg",2)(2,"g",3)(3,"g",4),e.nrm(4,"circle",5)(5,"path",6)(6,"path",7),e.k0s()()(),e.joV(),e.j41(7,"span",8),e.EFF(8,"Boltz"),e.k0s()(),e.j41(9,"div",9)(10,"mat-card")(11,"mat-card-content",10)(12,"nav",11),e.DNE(13,ph,2,5,"div",12),e.k0s(),e.nrm(14,"mat-tab-nav-panel",null,0),e.j41(16,"div",13)(17,"button",14),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onSwap(X.selectedSwapType))}),e.EFF(18),e.k0s()(),e.nrm(19,"rtl-boltz-swaps",15),e.k0s()()()}if(2&W){const Fe=e.sdS(15);e.R7$(12),e.Y8G("tabPanel",Fe),e.R7$(),e.Y8G("ngForOf",X.links),e.R7$(5),e.SpI("Start ",X.activeTab.name,""),e.R7$(),e.Y8G("selectedSwapType",X.selectedSwapType)("swapsData",X.swapsData)("flgLoading",X.flgLoading)("emptyTableMessage",X.emptyTableMessage)}},dependencies:[bi.Sq,Ki.DJ,Ki.sA,Ki.UI,ge.$z,mr.RN,mr.m2,sa.Bu,sa.hQ,sa.Ql,En.Wk,mh]})}}return P})();class oo{constructor(B){this.help=B}}function Af(P,B){if(1&P&&(e.j41(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),e.EFF(3),e.k0s()(),e.j41(4,"mat-panel-description",9),e.nrm(5,"span",10),e.j41(6,"a",11),e.EFF(7),e.k0s()()()),2&P){const b=e.XpG().$implicit,W=e.XpG();e.R7$(3),e.JRh(b.help.question),e.R7$(2),e.Y8G("innerHTML",b.help.answer,e.npT),e.R7$(),e.Y8G("routerLink",W.flgLoggedIn?b.help.link:"/login"),e.R7$(),e.JRh(W.flgLoggedIn?b.help.linkCaption:"Login to go to the page")}}function _h(P,B){if(1&P&&(e.j41(0,"div",6),e.DNE(1,Af,8,4,"mat-expansion-panel",7),e.k0s()),2&P){const b=B.$implicit,W=e.XpG();e.R7$(),e.Y8G("ngIf","ALL"===b.help.lnImplementation||b.help.lnImplementation===W.selNode.lnImplementation)}}let a1=(()=>{class P{constructor(b,W){this.store=b,this.sessionService=W,this.helpTopics=[],this.faQuestion=qi.EvL,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new Ui.B,new Ui.B,new Ui.B,new Ui.B]}ngOnInit(){this.store.select(Hr._c).pipe((0,cn.Q)(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,cn.Q)(this.unSubs[1])).subscribe(b=>{this.flgLoggedIn=!!b.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new oo({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 oo({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 oo({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 oo({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 oo({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 oo({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 oo({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 oo({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 oo({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 oo({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 oo({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 oo({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 oo({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 oo({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 oo({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 oo({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 oo({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 oo({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{this.\u0275fac=function(W){return new(W||P)(e.rXU(Ri.il),e.rXU(qa.Q))}}static{this.\u0275cmp=e.VBU({type:P,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(W,X){1&W&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"fa-icon",2),e.j41(3,"span",3),e.EFF(4,"Help"),e.k0s()(),e.j41(5,"div",4)(6,"div",0),e.DNE(7,_h,2,1,"div",5),e.k0s()()()),2&W&&(e.R7$(2),e.Y8G("icon",X.faQuestion),e.R7$(5),e.Y8G("ngForOf",X.helpTopics))},dependencies:[bi.Sq,bi.bT,ba.aY,Ki.DJ,Ki.sA,Ki.UI,La.GK,La.Z2,La.WN,La.Q6,En.Wk],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]})}}return P})();var vh=p(4572);function A2(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Token is required."),e.k0s())}let Df=(()=>{class P{constructor(b,W){this.dialogRef=b,this.store=W,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,Cn.R$)({payload:{twoFAToken:this.token}}))}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(Sn.CP),e.rXU(Ri.il))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-login-token"]],decls:19,vars:2,consts:[["tokenForm","ngForm"],["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"],["autoFocus","","matInput","","type","text","id","token","name","token","tabindex","2","required","",3,"ngModelChange","ngModel"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","4","type","submit"]],template:function(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),e.EFF(5,"Two Factor Token"),e.k0s()(),e.j41(6,"button",6),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onClose())}),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",7)(9,"form",8,0),e.bIt("ngSubmit",function(){return e.eBV(Fe),e.Njj(X.onVerifyToken())}),e.j41(11,"mat-form-field")(12,"mat-label"),e.EFF(13,"Token"),e.k0s(),e.j41(14,"input",9),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.token,kt)||(X.token=kt),e.Njj(kt)}),e.k0s(),e.DNE(15,A2,2,0,"mat-error",10),e.k0s(),e.j41(16,"div",11)(17,"button",12),e.EFF(18,"Verify Token"),e.k0s()()()()()()}2&W&&(e.R7$(14),e.R50("ngModel",X.token),e.R7$(),e.Y8G("ngIf",!X.token))},dependencies:[bi.bT,Gi.qT,Gi.me,Gi.BC,Gi.cb,Gi.YS,Gi.vS,Gi.cV,Ki.DJ,Ki.sA,Ki.UI,ge.$z,mr.m2,mr.MM,Or.fg,Ne.rl,Ne.nJ,Ne.TL,Ot.N]})}}return P})();const pd=P=>({"padding-gap-large":P}),m4=(P,B)=>({"font-size-200":P,"font-size-300":B});function T1(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Password is required."),e.k0s())}function kf(P,B){if(1&P&&(e.j41(0,"p",21)(1,"mat-icon",22),e.EFF(2,"close"),e.k0s(),e.EFF(3),e.k0s()),2&P){const b=e.XpG();e.R7$(3),e.SpI(" ",b.loginErrorMessage," ")}}function gd(P,B){if(1&P&&(e.j41(0,"p",23)(1,"mat-icon",22),e.EFF(2,"close"),e.k0s(),e.EFF(3),e.k0s()),2&P){const b=e.XpG();e.R7$(3),e.SpI(" ",b.logoutReason," ")}}let D2=(()=>{class P{constructor(b,W,X,Fe,Lt){this.actions=b,this.logger=W,this.store=X,this.rtlEffects=Fe,this.commonService=Lt,this.faUnlockAlt=qi.HEq,this.logoutReason="",this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=Xt.f7,this.loginErrorMessage="",this.apiCallStatusEnum=Xt.wn,this.unSubs=[new Ui.B,new Ui.B,new Ui.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,vh.z)([this.store.select(Hr.Kq),this.store.select(Hr.E2)]).pipe((0,cn.Q)(this.unSubs[0])).subscribe(([b,W])=>{this.loginErrorMessage="",b.status===Xt.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof b.message?JSON.stringify(b.message):b.message),this.logger.error(b.message)),W.status===Xt.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof W.message?JSON.stringify(W.message):W.message),this.logger.error(W.message))}),this.store.select(Hr.qv).pipe((0,cn.Q)(this.unSubs[1])).subscribe(b=>{this.appConfig=b,this.logger.info(b)}),this.actions.pipe((0,br.p)(b=>b.type===Xt.aU.LOGOUT),(0,Qs.s)(1)).subscribe(b=>{this.logoutReason=b.payload})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.logoutReason="",this.appConfig.enable2FA?(this.store.dispatch((0,Cn.xO)({payload:{maxWidth:"35rem",data:{component:Df}}})),this.rtlEffects.closeAlert.pipe((0,Qs.s)(1)).subscribe(b=>{b&&this.store.dispatch((0,Cn.iD)({payload:{password:rn(this.password),defaultPassword:Xt.Ah.includes(this.password.toLowerCase()),twoFAToken:b.twoFAToken}}))})):this.store.dispatch((0,Cn.iD)({payload:{password:rn(this.password),defaultPassword:Xt.Ah.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.logoutReason="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(ft.En),e.rXU(Qo.gP),e.rXU(Ri.il),e.rXU(_r.H),e.rXU(ka.h))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-login"]],decls:29,vars:14,consts:[["loginForm","ngForm"],["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"],["autoFocus","","matInput","","id","password","name","password","tabindex","1","required","",3,"ngModelChange","type","ngModel"],["mat-icon-button","","matSuffix","","tabindex","2","type","button",3,"click"],[4,"ngIf"],["class","color-warn pre-wrap","fxFlex","100","fxLayoutAlign","start center",4,"ngIf"],["class","color-warn pre-wrap","fxLayout","row","fxFlex","100","fxLayoutAlign","start center",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 center",1,"color-warn","pre-wrap"],["fxLayoutAlign","center center",1,"mr-3px","icon-small"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center",1,"color-warn","pre-wrap"]],template:function(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"mat-card",3)(3,"div",4)(4,"div",5),e.nrm(5,"img",6),e.k0s(),e.j41(6,"div",7)(7,"mat-card-header",8)(8,"mat-card-title",9)(9,"span",10),e.EFF(10,"Welcome"),e.k0s()()(),e.j41(11,"mat-card-content",11)(12,"form",12,0)(14,"mat-form-field")(15,"mat-label"),e.EFF(16,"Password"),e.k0s(),e.j41(17,"input",13),e.mxI("ngModelChange",function(kt){return e.eBV(Fe),e.DH7(X.password,kt)||(X.password=kt),e.Njj(kt)}),e.k0s(),e.j41(18,"button",14),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.flgShow=!X.flgShow)}),e.j41(19,"mat-icon"),e.EFF(20),e.k0s()(),e.DNE(21,T1,2,0,"mat-error",15),e.k0s(),e.DNE(22,kf,4,1,"p",16)(23,gd,4,1,"p",17),e.j41(24,"div",18)(25,"button",19),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.resetData())}),e.EFF(26,"Clear"),e.k0s(),e.j41(27,"button",20),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onLogin())}),e.EFF(28,"Login"),e.k0s()()()()()()()()()}2&W&&(e.R7$(6),e.Y8G("ngClass",e.eq3(9,pd,X.screenSize===X.screenSizeEnum.XS)),e.R7$(2),e.Y8G("ngClass",e.l_i(11,m4,X.screenSize===X.screenSizeEnum.XS,X.screenSize!==X.screenSizeEnum.XS)),e.R7$(9),e.Y8G("type",X.flgShow?"text":"password"),e.R50("ngModel",X.password),e.R7$(),e.BMQ("aria-label","Hide password"),e.R7$(2),e.JRh(X.flgShow?"visibility_off":"visibility"),e.R7$(),e.Y8G("ngIf",!X.password),e.R7$(),e.Y8G("ngIf",""!==X.loginErrorMessage),e.R7$(),e.Y8G("ngIf",""!==X.logoutReason))},dependencies:[bi.YU,bi.bT,Gi.qT,Gi.me,Gi.BC,Gi.cb,Gi.YS,Gi.vS,Gi.cV,Ki.DJ,Ki.sA,Ki.UI,ds.PW,ge.$z,ge.iY,mr.RN,mr.m2,mr.MM,mr.dh,Bc.An,Or.fg,Ne.rl,Ne.nJ,Ne.TL,Ne.yw,Ot.N],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 P})();var k2=p(13);let Lf=(()=>{class P{constructor(b,W){this.activatedRoute=b,this.router=W,this.error={errorCode:"",errorMessage:""},this.faTimes=qi.GRI,this.unsubs=[new Ui.B,new Ui.B]}ngOnInit(){this.activatedRoute.paramMap.pipe((0,cn.Q)(this.unsubs[0])).subscribe(b=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(En.nX),e.rXU(En.Ix))}}static{this.\u0275cmp=e.VBU({type:P,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(W,X){1&W&&(e.j41(0,"div",0)(1,"mat-card",1)(2,"mat-card-header",2)(3,"mat-card-title",3),e.nrm(4,"fa-icon",4),e.j41(5,"span",5),e.EFF(6),e.k0s()()(),e.j41(7,"mat-card-content",6)(8,"div",7),e.EFF(9),e.k0s(),e.j41(10,"span",8)(11,"button",9),e.bIt("click",function(){return X.goToHelp()}),e.EFF(12,"Go To Help"),e.k0s()()()()()),2&W&&(e.R7$(4),e.Y8G("icon",X.faTimes),e.R7$(2),e.SpI("Error ",X.error.errorCode,""),e.R7$(3),e.JRh(X.error.errorMessage))},dependencies:[ba.aY,Ki.DJ,Ki.sA,Ki.UI,ge.$z,mr.RN,mr.m2,mr.MM,mr.dh],encapsulation:2})}}return P})();var Do=p(7186),_d=p(1534),L2=p(92),A1=p(6114);const bh=(P,B)=>({"alert-danger":P,"alert-info":B});function D1(P,B){1&P&&e.nrm(0,"span",17)}function yh(P,B){1&P&&e.nrm(0,"span",18)}function I2(P,B){if(1&P){const b=e.RV6();e.j41(0,"form",19,0)(2,"div",20),e.nrm(3,"fa-icon",4),e.j41(4,"span"),e.EFF(5,"Please ensure that "),e.j41(6,"strong"),e.EFF(7,"experimental-offers"),e.k0s(),e.EFF(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),e.j41(9,"strong")(10,"a",21),e.EFF(11,"here"),e.k0s()(),e.EFF(12," to learn more about Core Lightning offers."),e.k0s()(),e.j41(13,"h4",22),e.EFF(14,"Description"),e.k0s(),e.j41(15,"span"),e.EFF(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),e.k0s(),e.j41(17,"h4",22),e.EFF(18,"Links"),e.k0s(),e.j41(19,"span")(20,"a",23),e.EFF(21,"Core lightning Bolt12"),e.k0s()(),e.nrm(22,"mat-divider",24),e.j41(23,"div",25),e.nrm(24,"fa-icon",4),e.j41(25,"span"),e.EFF(26,"Do not get an Offer tattoo until spec is fully ratified!"),e.k0s()(),e.j41(27,"mat-slide-toggle",26),e.mxI("ngModelChange",function(X){e.eBV(b);const Fe=e.XpG(2);return e.DH7(Fe.enableOffers,X)||(Fe.enableOffers=X),e.Njj(X)}),e.bIt("change",function(){e.eBV(b);const X=e.XpG(2);return e.Njj(X.onUpdateFeature())}),e.EFF(28),e.k0s()()}if(2&P){const b=e.XpG(2);e.R7$(3),e.Y8G("icon",b.faInfoCircle),e.R7$(19),e.Y8G("inset",!0),e.R7$(2),e.Y8G("icon",b.faExclamationTriangle),e.R7$(3),e.R50("ngModel",b.enableOffers),e.R7$(),e.SpI("Enable Offers ",b.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"","")}}function xh(P,B){if(1&P&&(e.j41(0,"div")(1,"div",29),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Please ensure that "),e.j41(5,"strong"),e.EFF(6,"experimental-dual-fund"),e.k0s(),e.EFF(7," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),e.j41(8,"strong")(9,"a",30),e.EFF(10,"here"),e.k0s()(),e.EFF(11," to learn more about Core Lightning Liquidity Ads."),e.k0s()()()),2&P){const b=e.XpG(3);e.R7$(2),e.Y8G("icon",b.faExclamationTriangle)}}function Ch(P,B){if(1&P&&(e.j41(0,"mat-option",47),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&P){const b=B.$implicit;e.Y8G("value",b),e.R7$(),e.SpI(" ",e.bMT(2,2,b.id)," ")}}function k1(P,B){if(1&P&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&P){const b=e.XpG(4);e.R7$(),e.SpI("",b.selPolicyType.placeholder," is required.")}}function R2(P,B){if(1&P&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&P){const b=e.XpG(4);e.R7$(),e.Lme("",b.selPolicyType.placeholder," must be greater than or equal to ",b.selPolicyType.min,".")}}function gl(P,B){if(1&P&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&P){const b=e.XpG(4);e.R7$(),e.Lme("",b.selPolicyType.placeholder," must be less than or equal to ",b.selPolicyType.max,".")}}function If(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Lease base fee is required."),e.k0s())}function wh(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Lease base basis is required."),e.k0s())}function p4(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Max channel routing base fee is required."),e.k0s())}function vd(P,B){1&P&&(e.j41(0,"mat-error"),e.EFF(1,"Max channel routing fee rate is required."),e.k0s())}function O2(P,B){if(1&P&&(e.j41(0,"h4",48)(1,"span",49),e.EFF(2),e.k0s()()),2&P){const b=e.XpG(4);e.R7$(),e.Y8G("ngClass",e.l_i(2,bh,!!b.updateMsg.error,!!b.updateMsg.data)),e.R7$(),e.SpI(" ",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 Mh(P,B){if(1&P){const b=e.RV6();e.j41(0,"div",31)(1,"div",32),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"These config changes should be configured permanently via the config file on your CLN node otherwise the policy would need to be configured again, if your node restarts."),e.k0s()(),e.j41(5,"div",33)(6,"mat-form-field",34)(7,"mat-label"),e.EFF(8,"Policy"),e.k0s(),e.j41(9,"mat-select",35),e.mxI("ngModelChange",function(X){e.eBV(b);const Fe=e.XpG(3);return e.DH7(Fe.selPolicyType,X)||(Fe.selPolicyType=X),e.Njj(X)}),e.bIt("selectionChange",function(){e.eBV(b);const X=e.XpG(3);return e.Njj(X.policyMod=null)}),e.DNE(10,Ch,3,4,"mat-option",36),e.k0s()(),e.j41(11,"mat-form-field",37)(12,"mat-label"),e.EFF(13),e.k0s(),e.j41(14,"input",38,1),e.mxI("ngModelChange",function(X){e.eBV(b);const Fe=e.XpG(3);return e.DH7(Fe.policyMod,X)||(Fe.policyMod=X),e.Njj(X)}),e.k0s(),e.j41(16,"mat-hint"),e.EFF(17),e.k0s(),e.DNE(18,k1,2,1,"mat-error",27)(19,R2,2,2,"mat-error",27)(20,gl,2,2,"mat-error",27),e.k0s()(),e.j41(21,"div",33)(22,"mat-form-field",37)(23,"mat-label"),e.EFF(24,"Lease Base Fee (Sats)"),e.k0s(),e.j41(25,"input",39),e.mxI("ngModelChange",function(X){e.eBV(b);const Fe=e.XpG(3);return e.DH7(Fe.lease_fee_base_sat,X)||(Fe.lease_fee_base_sat=X),e.Njj(X)}),e.k0s(),e.DNE(26,If,2,0,"mat-error",27),e.k0s(),e.j41(27,"mat-form-field",37)(28,"mat-label"),e.EFF(29,"Lease Base Basis (bps)"),e.k0s(),e.j41(30,"input",40),e.mxI("ngModelChange",function(X){e.eBV(b);const Fe=e.XpG(3);return e.DH7(Fe.lease_fee_basis,X)||(Fe.lease_fee_basis=X),e.Njj(X)}),e.k0s(),e.DNE(31,wh,2,0,"mat-error",27),e.k0s()(),e.j41(32,"div",33)(33,"mat-form-field",37)(34,"mat-label"),e.EFF(35,"Max Channel Routing Base Fee (Sats)"),e.k0s(),e.j41(36,"input",41),e.mxI("ngModelChange",function(X){e.eBV(b);const Fe=e.XpG(3);return e.DH7(Fe.channelFeeMaxBaseSat,X)||(Fe.channelFeeMaxBaseSat=X),e.Njj(X)}),e.k0s(),e.DNE(37,p4,2,0,"mat-error",27),e.k0s(),e.j41(38,"mat-form-field",37)(39,"mat-label"),e.EFF(40,"Max Channel Routing Fee Rate (ppm)"),e.k0s(),e.j41(41,"input",42),e.mxI("ngModelChange",function(X){e.eBV(b);const Fe=e.XpG(3);return e.DH7(Fe.channelFeeMaxProportional,X)||(Fe.channelFeeMaxProportional=X),e.Njj(X)}),e.k0s(),e.DNE(42,vd,2,0,"mat-error",27),e.k0s()(),e.DNE(43,O2,3,5,"h4",43),e.j41(44,"div",44)(45,"button",45),e.bIt("click",function(){e.eBV(b);const X=e.XpG(3);return e.Njj(X.onResetPolicy())}),e.EFF(46,"Reset"),e.k0s(),e.j41(47,"button",46),e.bIt("click",function(){e.eBV(b);const X=e.XpG(3);return e.Njj(X.onUpdateFundingPolicy())}),e.EFF(48,"Update"),e.k0s()()()}if(2&P){const b=e.XpG(3);e.R7$(2),e.Y8G("icon",b.faExclamationTriangle),e.R7$(7),e.R50("ngModel",b.selPolicyType),e.R7$(),e.Y8G("ngForOf",b.policyTypes),e.R7$(3),e.JRh(b.selPolicyType.placeholder),e.R7$(),e.Y8G("step","fixed"===b.selPolicyType.id?1e3:10)("min",b.selPolicyType.min)("max",b.selPolicyType.max),e.R50("ngModel",b.policyMod),e.R7$(3),e.E5c("",b.selPolicyType.placeholder," should be between ",b.selPolicyType.min," and ",b.selPolicyType.max,""),e.R7$(),e.Y8G("ngIf",!b.policyMod),e.R7$(),e.Y8G("ngIf",b.policyMod<b.selPolicyType.min),e.R7$(),e.Y8G("ngIf",b.policyMod>b.selPolicyType.max),e.R7$(5),e.R50("ngModel",b.lease_fee_base_sat),e.R7$(),e.Y8G("ngIf",!b.lease_fee_base_sat),e.R7$(4),e.R50("ngModel",b.lease_fee_basis),e.R7$(),e.Y8G("ngIf",!b.lease_fee_basis),e.R7$(5),e.R50("ngModel",b.channelFeeMaxBaseSat),e.R7$(),e.Y8G("ngIf",!b.channelFeeMaxBaseSat),e.R7$(4),e.R50("ngModel",b.channelFeeMaxProportional),e.R7$(),e.Y8G("ngIf",!b.channelFeeMaxProportional),e.R7$(),e.Y8G("ngIf",b.flgUpdateCalled)}}function Eh(P,B){if(1&P&&(e.j41(0,"form",19,0),e.DNE(2,xh,12,1,"div",27)(3,Mh,49,23,"div",28),e.k0s()),2&P){const b=e.XpG(2);e.R7$(2),e.Y8G("ngIf",!b.features[1].enabled),e.R7$(),e.Y8G("ngIf",b.features[1].enabled)}}function Sh(P,B){if(1&P){const b=e.RV6();e.j41(0,"mat-expansion-panel",10),e.bIt("opened",function(){const X=e.eBV(b).index,Fe=e.XpG();return e.Njj(Fe.onPanelExpanded(X))}),e.j41(1,"mat-expansion-panel-header")(2,"mat-panel-title",11)(3,"h4",12),e.EFF(4),e.k0s(),e.j41(5,"h4",12),e.DNE(6,D1,1,0,"span",13)(7,yh,1,0,"span",14),e.EFF(8),e.k0s()()(),e.j41(9,"div",15),e.DNE(10,I2,29,5,"form",16)(11,Eh,4,2,"form",16),e.k0s()()}if(2&P){const b=B.$implicit,W=B.index;e.Y8G("expanded",!1),e.R7$(4),e.JRh(b.name),e.R7$(2),e.Y8G("ngIf",b.enabled),e.R7$(),e.Y8G("ngIf",!b.enabled),e.R7$(),e.SpI(" ",b.enabled?"Enabled":"Disabled"," "),e.R7$(2),e.Y8G("ngIf",0===W),e.R7$(),e.Y8G("ngIf",1===W)}}let _l=(()=>{class P{constructor(b,W,X,Fe){this.logger=b,this.store=W,this.dataService=X,this.commonService=Fe,this.faInfoCircle=qi.iW_,this.faExclamationTriangle=qi.zpE,this.faCode=qi.jTw,this.features=[{name:"Offers",enabled:!1},{name:"Channel Funding Policy",enabled:!1}],this.enableOffers=!1,this.fundingPolicy={},this.policyTypes=Xt.ul,this.selPolicyType=Xt.ul[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new Ui.B,new Ui.B,new Ui.B,new Ui.B,new Ui.B]}ngOnInit(){this.dataService.listConfigs().pipe((0,cn.Q)(this.unSubs[0])).subscribe({next:b=>{this.logger.info("Received List Configs: "+JSON.stringify(b)),this.features[1].enabled=!!b.configs["experimental-dual-fund"].set},error:b=>{this.logger.error("List Configs Error: "+JSON.stringify(b)),this.features[1].enabled=!1}}),this.store.select(Hr._c).pipe((0,cn.Q)(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(p1.Al).pipe((0,cn.Q)(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,cn.Q)(this.unSubs[3])).subscribe(W=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(W)),this.fundingPolicy=W,this.fundingPolicy.policy&&(this.selPolicyType=Xt.ul.find(X=>X.id===this.fundingPolicy.policy)||this.policyTypes[0]),this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null})}onUpdateFeature(){this.logger.info(this.selNode),this.selNode.settings.enableOffers=this.enableOffers,this.features[0].enabled=this.enableOffers,this.store.dispatch((0,Cn.T$)({payload:this.selNode}))}onUpdateFundingPolicy(){this.flgUpdateCalled=!0,this.updateMsg={},this.dataService.getOrUpdateFunderPolicy(this.selPolicyType.id,this.policyMod,1e3*(this.lease_fee_base_sat||0),this.lease_fee_basis,1e3*(this.channelFeeMaxBaseSat||0),this.channelFeeMaxProportional?this.channelFeeMaxProportional/1e3:0).pipe((0,cn.Q)(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?Xt.ul.find(b=>b.id===this.fundingPolicy.policy)||this.policyTypes[0]:Xt.ul[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{this.\u0275fac=function(W){return new(W||P)(e.rXU(Qo.gP),e.rXU(Ri.il),e.rXU(_d.u),e.rXU(ka.h))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-experimental-settings"]],decls:13,vars:3,consts:[["form","ngForm"],["plcMod","ngModel"],["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"],["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,"opened","expanded"],["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,"ngModelChange","change","ngModel"],[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,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","49"],["matInput","","type","number","tabindex","2","required","","name","plcMod",3,"ngModelChange","step","min","max","ngModel"],["matInput","","type","number","step","100","min","0","tabindex","3","required","","name","lease_fee_base_sat",3,"ngModelChange","ngModel"],["matInput","","type","number","step","1","min","0","tabindex","4","required","","name","lease_fee_basis",3,"ngModelChange","ngModel"],["matInput","","type","number","step","100","min","0","tabindex","5","required","","name","channelFeeMaxBaseSat",3,"ngModelChange","ngModel"],["matInput","","type","number","step","1000","min","0","tabindex","6","required","","name","channelFeeMaxProportional",3,"ngModelChange","ngModel"],["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(W,X){1&W&&(e.j41(0,"div",2)(1,"div",3),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Experimental features should be enabled with caution. Many such features may be implementation specific and not ratified for the BOLT spec. Enabling these may still result in a broken experience. Referencing relevant feature documentation is highly advised before enabling."),e.k0s()(),e.j41(5,"form",5,0)(7,"div",6),e.nrm(8,"fa-icon",7),e.j41(9,"span",8),e.EFF(10,"Features"),e.k0s()(),e.j41(11,"mat-accordion"),e.DNE(12,Sh,12,7,"mat-expansion-panel",9),e.k0s()()()),2&W&&(e.R7$(2),e.Y8G("icon",X.faInfoCircle),e.R7$(6),e.Y8G("icon",X.faCode),e.R7$(4),e.Y8G("ngForOf",X.features))},dependencies:[bi.YU,bi.Sq,bi.bT,Gi.qT,Gi.me,Gi.Q0,Gi.BC,Gi.cb,Gi.YS,Gi.VZ,Gi.zX,Gi.vS,Gi.cV,ba.aY,Ki.DJ,Ki.sA,Ki.UI,ds.PW,ge.$z,La.BS,La.GK,La.Z2,La.WN,Or.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,zc.q,Ce.VO,ze.wT,Jd.sG,gt.Ld,Ot.N,L2.z,A1.V,bi.PV],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return P})(),bd=(()=>{class P{constructor(){}static{this.\u0275fac=function(W){return new(W||P)}}static{this.\u0275cmp=e.VBU({type:P,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(W,X){1&W&&(e.j41(0,"div",0)(1,"mat-card")(2,"mat-card-content",1)(3,"div",2)(4,"div",3),e.EFF(5,"No Service Found!"),e.k0s()()()()())},dependencies:[Ki.DJ,Ki.sA,mr.RN,mr.m2],encapsulation:2})}}return P})();const Rf=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([p.e(193),p.e(190)]).then(p.bind(p,9190)).then(P=>P.LNDModule),canActivate:[(0,Do.q_)()]},{path:"cln",loadChildren:()=>Promise.all([p.e(193),p.e(853)]).then(p.bind(p,4853)).then(P=>P.CLNModule),canActivate:[(0,Do.q_)()]},{path:"ecl",loadChildren:()=>Promise.all([p.e(193),p.e(17)]).then(p.bind(p,9017)).then(P=>P.ECLModule),canActivate:[(0,Do.q_)()]},{path:"settings",component:_0,canActivate:[(0,Do.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:gi,canActivate:[(0,Do.q_)()]},{path:"auth",component:B1,canActivate:[(0,Do.q_)()]},{path:"bconfig",component:Bu,canActivate:[(0,Do.q_)()]}]},{path:"config",component:J3,canActivate:[(0,Do.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:Mc,canActivate:[(0,Do.q_)()]},{path:"pglayout",component:Ec,canActivate:[(0,Do.q_)()]},{path:"services",component:r2,canActivate:[(0,Do.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:Gc,canActivate:[(0,Do.q_)()]},{path:"boltz",component:Zu,canActivate:[(0,Do.q_)()]},{path:"noservice",component:bd}]},{path:"experimental",component:_l,canActivate:[(0,Do.q_)()]},{path:"lnconfig",component:zl,canActivate:[(0,Do.q_)()]}]},{path:"services",component:Ju,canActivate:[(0,Do.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:H0},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:r1}]},{path:"help",component:a1},{path:"login",component:D2},{path:"error",component:Lf},{path:"**",component:k2.X}],Of=En.iI.forRoot(Rf,{onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"});var Ff=p(9029),Pf=p(9881),Lc=p(9183),rc=p(882),Nf=p(5911),F2=p(4109),Xs=p(7358);const Ic={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.xiI,link:"/lnd/home",userPersona:Xt.HW.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.CQO,link:"/lnd/onchain",userPersona:Xt.HW.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.zm_,link:"/lnd/connections",userPersona:Xt.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.gdJ,link:"/lnd/connections",userPersona:Xt.HW.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:qi._qq,link:"/lnd/transactions",userPersona:Xt.HW.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:qi.knH,link:"/lnd/routing",userPersona:Xt.HW.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:qi.$Fj,link:"/lnd/reports",userPersona:Xt.HW.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.MjD,link:"/lnd/graph",userPersona:Xt.HW.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:qi.pCJ,link:"/lnd/messages",userPersona:Xt.HW.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:qi.cbP,link:"/lnd/channelbackup",userPersona:Xt.HW.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:qi.qFF,link:"/lnd/network",userPersona:Xt.HW.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:qi.D6w,link:"/lnd/network",userPersona:Xt.HW.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:qi.qIE,link:"/services/loop",userPersona:Xt.HW.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:qi.C8j,link:"/services/loop",userPersona:Xt.HW.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Xt.HW.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:qi.nsx,link:"/config",userPersona:Xt.HW.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:qi.EvL,link:"/help",userPersona:Xt.HW.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.xiI,link:"/cln/home",userPersona:Xt.HW.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.CQO,link:"/cln/onchain",userPersona:Xt.HW.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.zm_,link:"/cln/connections",userPersona:Xt.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.gdJ,link:"/cln/connections",userPersona:Xt.HW.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:qi.e4L,link:"/cln/liquidityads",userPersona:Xt.HW.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:qi._qq,link:"/cln/transactions",userPersona:Xt.HW.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:qi.knH,link:"/cln/routing",userPersona:Xt.HW.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:qi.$Fj,link:"/cln/reports",userPersona:Xt.HW.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.MjD,link:"/cln/graph",userPersona:Xt.HW.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:qi.pCJ,link:"/cln/messages",userPersona:Xt.HW.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:qi.WKo,link:"/cln/rates",userPersona:Xt.HW.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:qi.D6w,link:"/cln/rates",userPersona:Xt.HW.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:qi.qIE,link:"/services/loop",userPersona:Xt.HW.ALL,children:[{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Xt.HW.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:qi.nsx,link:"/config",userPersona:Xt.HW.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:qi.EvL,link:"/help",userPersona:Xt.HW.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.xiI,link:"/ecl/home",userPersona:Xt.HW.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.CQO,link:"/ecl/onchain",userPersona:Xt.HW.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.zm_,link:"/ecl/connections",userPersona:Xt.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.gdJ,link:"/ecl/connections",userPersona:Xt.HW.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:qi._qq,link:"/ecl/transactions",userPersona:Xt.HW.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:qi.knH,link:"/ecl/routing",userPersona:Xt.HW.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:qi.$Fj,link:"/ecl/reports",userPersona:Xt.HW.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.MjD,link:"/ecl/graph",userPersona:Xt.HW.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:qi.nsx,link:"/config",userPersona:Xt.HW.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:qi.EvL,link:"/help",userPersona:Xt.HW.ALL}]};function Th(P,B){if(1&P&&(e.j41(0,"mat-option",12),e.EFF(1),e.k0s()),2&P){const b=B.$implicit;e.Y8G("value",b.index),e.R7$(),e.Lme(" ",b.lnNode," (",b.lnImplementation,") ")}}function Ah(P,B){if(1&P){const b=e.RV6();e.j41(0,"mat-select",10),e.bIt("selectionChange",function(X){e.eBV(b);const Fe=e.XpG();return e.Njj(Fe.onNodeSelectionChange(X.value))}),e.j41(1,"perfect-scrollbar"),e.DNE(2,Th,2,3,"mat-option",11),e.k0s()()}if(2&P){const b=e.XpG();e.Y8G("value",b.selConfigNodeIndex),e.R7$(2),e.Y8G("ngForOf",b.appConfig.nodes)}}function Dh(P,B){if(1&P&&(e.j41(0,"span",21),e.eu8(1,22),e.k0s()),2&P){const b=e.XpG().$implicit;e.XpG(2);const W=e.sdS(11);e.R7$(),e.Y8G("ngTemplateOutlet","boltzIconBlock"===b.icon?W:null)}}function Vf(P,B){if(1&P&&e.nrm(0,"fa-icon",23),2&P){const b=e.XpG().$implicit;e.Y8G("icon",b.icon)}}function kh(P,B){if(1&P&&(e.j41(0,"mat-icon",24),e.EFF(1),e.k0s()),2&P){const b=e.XpG().$implicit;e.R7$(),e.JRh(b.icon)}}function yd(P,B){if(1&P){const b=e.RV6();e.j41(0,"mat-tree-node",15)(1,"div",16),e.bIt("click",function(){const X=e.eBV(b).$implicit,Fe=e.XpG(2);return e.Njj(Fe.onChildNavClicked(X))}),e.j41(2,"div",17),e.DNE(3,Dh,2,1,"span",18)(4,Vf,1,1,"fa-icon",19)(5,kh,2,1,"mat-icon",20),e.j41(6,"span"),e.EFF(7),e.k0s()()()()}if(2&P){const b=B.$implicit;e.FS9("routerLink",b.link),e.R7$(3),e.Y8G("ngIf","SVG"===b.iconType),e.R7$(),e.Y8G("ngIf","FA"===b.iconType),e.R7$(),e.Y8G("ngIf",!b.iconType),e.R7$(2),e.JRh(b.name)}}function Rc(P,B){if(1&P&&(e.j41(0,"span",32),e.eu8(1,22),e.k0s()),2&P){const b=e.XpG().$implicit;e.R7$(),e.Y8G("ngTemplateOutlet",b.icon)}}function L1(P,B){if(1&P&&e.nrm(0,"fa-icon",23),2&P){const b=e.XpG().$implicit;e.Y8G("icon",b.icon)}}function Lh(P,B){if(1&P&&(e.j41(0,"mat-icon",24),e.EFF(1),e.k0s()),2&P){const b=e.XpG().$implicit;e.R7$(),e.JRh(b.icon)}}function xd(P,B){if(1&P&&(e.j41(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),e.DNE(3,Rc,2,1,"span",28)(4,L1,1,1,"fa-icon",19)(5,Lh,2,1,"mat-icon",20),e.j41(6,"span"),e.EFF(7),e.k0s()(),e.j41(8,"button",29)(9,"mat-icon"),e.EFF(10),e.k0s()()(),e.j41(11,"div",30),e.eu8(12,31),e.k0s()()),2&P){const b=B.$implicit,W=e.XpG(2);e.R7$(3),e.Y8G("ngIf","SVG"===b.iconType),e.R7$(),e.Y8G("ngIf","FA"===b.iconType),e.R7$(),e.Y8G("ngIf",!b.iconType),e.R7$(2),e.JRh(b.name),e.R7$(),e.BMQ("aria-label","toggle "+b.name),e.R7$(2),e.JRh(W.treeControlNested.isExpanded(b)?"arrow_drop_up":"arrow_drop_down"),e.R7$(),e.AVh("tree-children-invisible",!W.treeControlNested.isExpanded(b))}}function Ih(P,B){if(1&P&&(e.j41(0,"mat-tree",7,1),e.DNE(2,yd,8,5,"mat-tree-node",13)(3,xd,13,8,"mat-nested-tree-node",14),e.k0s()),2&P){const b=e.XpG();e.Y8G("dataSource",b.navMenus)("treeControl",b.treeControlNested),e.R7$(3),e.Y8G("matTreeNodeDefWhen",b.hasChild)}}function v4(P,B){if(1&P&&(e.j41(0,"span",37),e.eu8(1,22),e.k0s()),2&P){const b=e.XpG().$implicit;e.R7$(),e.Y8G("ngTemplateOutlet",b.icon)}}function Rh(P,B){if(1&P&&e.nrm(0,"fa-icon",38),2&P){const b=e.XpG().$implicit;e.FS9("matTooltip",b.name),e.Y8G("icon",b.icon)}}function b4(P,B){if(1&P&&(e.j41(0,"mat-icon",39),e.EFF(1),e.k0s()),2&P){const b=e.XpG().$implicit;e.FS9("matTooltip",b.name),e.R7$(),e.JRh(b.icon)}}function P2(P,B){if(1&P){const b=e.RV6();e.j41(0,"mat-tree-node",33),e.bIt("click",function(){const X=e.eBV(b).$implicit,Fe=e.XpG();return e.Njj(Fe.onShowData(X))}),e.DNE(1,v4,2,1,"span",34)(2,Rh,1,2,"fa-icon",35)(3,b4,2,2,"mat-icon",36),e.j41(4,"span"),e.EFF(5),e.k0s()()}if(2&P){const b=B.$implicit;e.R7$(),e.Y8G("ngIf","SVG"===b.iconType),e.R7$(),e.Y8G("ngIf","FA"===b.iconType),e.R7$(),e.Y8G("ngIf",!b.iconType),e.R7$(2),e.JRh(b.name)}}function N2(P,B){if(1&P&&(e.j41(0,"span",32),e.eu8(1,22),e.k0s()),2&P){const b=e.XpG().$implicit;e.R7$(),e.Y8G("ngTemplateOutlet",b.icon)}}function Hf(P,B){if(1&P&&e.nrm(0,"fa-icon",38),2&P){const b=e.XpG().$implicit;e.FS9("matTooltip",b.name),e.Y8G("icon",b.icon)}}function y4(P,B){if(1&P){const b=e.RV6();e.j41(0,"mat-tree-node",33),e.bIt("click",function(){const X=e.eBV(b).$implicit,Fe=e.XpG(2);return e.Njj(Fe.onClick(X))}),e.DNE(1,N2,2,1,"span",28)(2,Hf,1,2,"fa-icon",35),e.j41(3,"span"),e.EFF(4),e.k0s()()}if(2&P){const b=B.$implicit;e.R7$(),e.Y8G("ngIf","SVG"===b.iconType),e.R7$(),e.Y8G("ngIf","FA"===b.iconType),e.R7$(2),e.JRh(b.name)}}function Oh(P,B){if(1&P&&(e.j41(0,"mat-tree",7),e.DNE(1,y4,5,3,"mat-tree-node",8),e.k0s()),2&P){const b=e.XpG();e.Y8G("dataSource",b.navMenusLogout)("treeControl",b.treeControlLogout)}}function x4(P,B){1&P&&(e.qSk(),e.j41(0,"svg",40)(1,"g",41)(2,"g",42),e.nrm(3,"circle",43)(4,"path",44)(5,"path",45),e.k0s()()())}let V2=(()=>{class P{constructor(b,W,X,Fe,Lt,kt){this.logger=b,this.commonService=W,this.sessionService=X,this.store=Fe,this.actions=Lt,this.rtlEffects=kt,this.ChildNavClicked=new e.bkB,this.faEject=qi.njF,this.faEye=qi.pS3,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:qi.njF}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:qi.pS3}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=Xt.HW,this.unSubs=[new Ui.B,new Ui.B,new Ui.B,new Ui.B,new Ui.B,new Ui.B],this.treeControlNested=new F2.XO(ri=>ri.children),this.treeControlLogout=new F2.XO(ri=>ri.children),this.treeControlShowData=new F2.XO(ri=>ri.children),this.navMenus=new Xs.Zh,this.navMenusLogout=new Xs.Zh,this.navMenusShowData=new Xs.Zh,this.hasChild=(ri,oi)=>!!oi.children&&oi.children.length>0,this.version=Xt.xv,Ic.LNDChildren&&200===Ic.LNDChildren[Ic.LNDChildren.length-1].id&&Ic.LNDChildren.pop(),this.navMenus.data=Ic.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.qv).pipe((0,cn.Q)(this.unSubs[0])).subscribe(W=>{this.appConfig=W}),this.store.select(Hr.Az).pipe((0,cn.Q)(this.unSubs[1])).subscribe(W=>{if(this.information=W.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 X=this.information.chains[0];this.informationChain.chain=X.chain,this.informationChain.network=X.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=W.selNode,this.selConfigNodeIndex=+(W.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(W)}),this.sessionService.watchSession().pipe((0,cn.Q)(this.unSubs[2])).subscribe(W=>{this.showLogout=!!W.token,this.flgLoading=!!W.token}),this.actions.pipe((0,cn.Q)(this.unSubs[3]),(0,br.p)(W=>W.type===Xt.aU.LOGOUT)).subscribe(W=>{this.showLogout=!1})}onClick(b){"Logout"===b.name&&(this.store.dispatch((0,Cn.I1)({payload:{data:{type:Xt.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,cn.Q)(this.unSubs[4])).subscribe(W=>{W&&(this.showLogout=!1,this.store.dispatch((0,Cn.ri)({payload:""})))})),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(Ic.LNDChildren)),this.navMenus.data=b?.filter(W=>W.children&&W.children.length?(W.children=W.children?.filter(X=>(X.userPersona===Xt.HW.ALL||X.userPersona===this.selNode.settings.userPersona)&&"/services/loop"!==X.link&&"/services/boltz"!==X.link||"/services/loop"===X.link&&this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()||"/services/boltz"===X.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()),W.children.length>0):W.userPersona===Xt.HW.ALL||W.userPersona===this.selNode.settings.userPersona)}loadCLNMenu(){let b=[];b=JSON.parse(JSON.stringify(Ic.CLNChildren)),this.navMenus.data=b?.filter(W=>W.children&&W.children.length?(W.children=W.children?.filter(X=>(X.userPersona===Xt.HW.ALL||X.userPersona===this.selNode.settings.userPersona)&&"/services/peerswap"!==X.link||"/services/peerswap"===X.link&&this.selNode.settings.enablePeerswap||"/services/boltz"===X.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()),W.children.length>0):W.userPersona===Xt.HW.ALL||W.userPersona===this.selNode.settings.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(Ic.ECLChildren))}onShowData(b){this.store.dispatch((0,Cn.OP)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(b){const W=this.selConfigNodeIndex;this.selConfigNodeIndex=b;const X=this.appConfig.nodes.find(Fe=>+Fe.index===b);this.store.dispatch((0,Cn.Qi)({payload:{uiMessage:Xt.MZ.UPDATE_SELECTED_NODE,prevLnNodeIndex:+W,currentLnNode:X||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(Qo.gP),e.rXU(ka.h),e.rXU(qa.Q),e.rXU(Ri.il),e.rXU(ft.En),e.rXU(_r.H))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-side-navigation"]],viewQuery:function(W,X){if(1&W&&e.GBs(Xs.lQ,5),2&W){let Fe;e.mGM(Fe=e.lsd())&&(X.tree=Fe.first)}},outputs:{ChildNavClicked:"ChildNavClicked"},decls:12,vars:5,consts:[["boltzIconBlock",""],["tree",""],["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"],[1,"m-2","multi-node-select",3,"selectionChange","value"],["tabindex","1",3,"value",4,"ngFor","ngForOf"],["tabindex","1",3,"value"],["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(W,X){1&W&&(e.j41(0,"div",2)(1,"div",3),e.DNE(2,Ah,3,2,"mat-select",4),e.nrm(3,"mat-divider",5),e.DNE(4,Ih,4,3,"mat-tree",6),e.nrm(5,"mat-divider",5),e.j41(6,"mat-tree",7),e.DNE(7,P2,6,4,"mat-tree-node",8),e.k0s()(),e.j41(8,"div",9),e.DNE(9,Oh,2,2,"mat-tree",6),e.k0s()(),e.DNE(10,x4,6,0,"ng-template",null,0,e.C5r)),2&W&&(e.R7$(2),e.Y8G("ngIf",X.appConfig.nodes.length>1),e.R7$(2),e.Y8G("ngIf",null==X.selNode.settings?null:X.selNode.settings.lnServerUrl),e.R7$(2),e.Y8G("dataSource",X.navMenusShowData)("treeControl",X.treeControlShowData),e.R7$(3),e.Y8G("ngIf",X.showLogout))},dependencies:[bi.Sq,bi.bT,bi.T3,ba.aY,Ki.DJ,Ki.sA,Ki.UI,ge.iY,Bc.An,zc.q,Xs.q1,Xs.yI,Xs.pO,Xs.lQ,Xs.d6,Xs.wx,Ce.VO,ze.wT,nc.oV,En.Wk,En.wQ,gt.ZF,gt.Ld],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]})}}return P})();var Fh=p(9115);function vl(P,B){if(1&P&&(e.j41(0,"p",14),e.nrm(1,"fa-icon",3),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&P){const b=e.XpG();e.R7$(),e.Y8G("icon",b.faCode),e.R7$(2),e.SpI("API Version: ",null==b.information?null:b.information.api_version,"")}}function C4(P,B){if(1&P&&(e.j41(0,"p",15),e.nrm(1,"fa-icon",3),e.j41(2,"span",16),e.EFF(3,"Settings"),e.k0s()()),2&P){const b=e.XpG();e.R7$(),e.Y8G("icon",b.faUserCog)}}function zf(P,B){if(1&P&&(e.j41(0,"p",17),e.nrm(1,"fa-icon",3),e.j41(2,"span",18),e.EFF(3,"Help"),e.k0s()()),2&P){const b=e.XpG();e.R7$(),e.Y8G("icon",b.faQuestion)}}function Ph(P,B){if(1&P){const b=e.RV6();e.j41(0,"p",19),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.onClick())}),e.nrm(1,"fa-icon",3),e.j41(2,"span"),e.EFF(3,"Logout"),e.k0s()()}if(2&P){const b=e.XpG();e.R7$(),e.Y8G("icon",b.faEject)}}let Bf=(()=>{class P{constructor(b,W,X,Fe,Lt){this.logger=b,this.sessionService=W,this.store=X,this.rtlEffects=Fe,this.actions=Lt,this.faUserCog=qi.McB,this.faCodeBranch=qi.Xbc,this.faCode=qi.jTw,this.faCog=qi.dB,this.faQuestion=qi.EvL,this.faEject=qi.njF,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new Ui.B,new Ui.B,new Ui.B,new Ui.B],this.version=Xt.xv}ngOnInit(){this.store.select(Hr.N).pipe((0,cn.Q)(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 W=this.information.chains[0];this.informationChain.chain=W.chain,this.informationChain.network=W.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(b)}),this.sessionService.watchSession().pipe((0,cn.Q)(this.unSubs[1])).subscribe(b=>{this.showLogout=!!b.token,this.flgLoading=!!b.token}),this.actions.pipe((0,cn.Q)(this.unSubs[2]),(0,br.p)(b=>b.type===Xt.aU.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,Cn.I1)({payload:{data:{type:Xt.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,cn.Q)(this.unSubs[3])).subscribe(b=>{b&&(this.showLogout=!1,this.store.dispatch((0,Cn.ri)({payload:""})))})}onDonate(){window.open("https://www.ridethelightning.info/donate/","_blank")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static{this.\u0275fac=function(W){return new(W||P)(e.rXU(Qo.gP),e.rXU(qa.Q),e.rXU(Ri.il),e.rXU(_r.H),e.rXU(ft.En))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-top-menu"]],decls:20,vars:8,consts:[["topMenu","matMenu"],[1,"top-menu",3,"overlapTrigger"],["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(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"mat-menu",1,0)(2,"p",2),e.nrm(3,"fa-icon",3),e.j41(4,"span"),e.EFF(5),e.k0s()(),e.DNE(6,vl,4,2,"p",4)(7,C4,4,1,"p",5)(8,zf,4,1,"p",6),e.j41(9,"p",7),e.bIt("click",function(){return e.eBV(Fe),e.Njj(X.onDonate())}),e.qSk(),e.j41(10,"svg",8)(11,"g"),e.nrm(12,"path",9),e.k0s()(),e.joV(),e.j41(13,"span"),e.EFF(14,"Donate"),e.k0s()(),e.DNE(15,Ph,4,1,"p",10),e.k0s(),e.j41(16,"button",11),e.nrm(17,"img",12),e.j41(18,"mat-icon",13),e.EFF(19,"arrow_drop_down"),e.k0s()()}if(2&W){const Fe=e.sdS(1);e.Y8G("overlapTrigger",!1),e.R7$(3),e.Y8G("icon",X.faCodeBranch),e.R7$(2),e.SpI("Version: ",X.version,""),e.R7$(),e.Y8G("ngIf",null==X.information?null:X.information.api_version),e.R7$(),e.Y8G("ngIf",X.showLogout),e.R7$(),e.Y8G("ngIf",X.showLogout),e.R7$(7),e.Y8G("ngIf",X.showLogout),e.R7$(),e.Y8G("matMenuTriggerFor",Fe)}},dependencies:[bi.bT,ba.aY,Ki.sA,ge.iY,Bc.An,Fh.kk,Fh.fb,Fh.Cp,En.Wk],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 P})();const w4=["sideNavigation"],Nh=["sideNavContent"],H2=(P,B)=>[P,B];function z2(P,B){if(1&P){const b=e.RV6();e.j41(0,"button",15),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.sideNavToggle())}),e.j41(1,"mat-icon",16),e.EFF(2,"menu"),e.k0s()()}if(2&P){const b=e.XpG();e.Y8G("matTooltip",b.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",b.smallScreen)}}function Vh(P,B){1&P&&(e.qSk(),e.nrm(0,"path",21))}function M4(P,B){1&P&&(e.qSk(),e.nrm(0,"path",22))}function Kc(P,B){if(1&P){const b=e.RV6();e.j41(0,"button",17),e.bIt("click",function(){e.eBV(b);const X=e.XpG();return e.Njj(X.flgSidenavPinned=!X.flgSidenavPinned)}),e.qSk(),e.j41(1,"svg",18),e.DNE(2,Vh,1,0,"path",19)(3,M4,1,0,"path",20),e.k0s()()}if(2&P){const b=e.XpG();e.Y8G("matTooltip",b.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),e.R7$(2),e.Y8G("ngIf",!b.flgSidenavPinned),e.R7$(),e.Y8G("ngIf",b.flgSidenavPinned)}}function Uf(P,B){if(1&P&&(e.j41(0,"span",23),e.EFF(1),e.k0s()),2&P){const b=e.XpG();e.R7$(),e.JRh(b.information.alias?"RTL - "+b.information.alias:"RTL")}}function Hh(P,B){if(1&P&&(e.j41(0,"span",24),e.EFF(1),e.k0s()),2&P){const b=e.XpG();e.R7$(),e.JRh(b.information.alias?"Ride The Lightning - "+b.information.alias:"Ride The Lightning")}}function Gf(P,B){1&P&&(e.j41(0,"div",25),e.nrm(1,"mat-spinner",26),e.j41(2,"h4"),e.EFF(3,"Loading RTL..."),e.k0s()())}let Cd=(()=>{class P{constructor(b,W,X,Fe,Lt,kt,ri,oi,Bi){this.logger=b,this.commonService=W,this.store=X,this.actions=Fe,this.userIdle=Lt,this.router=kt,this.sessionService=ri,this.breakpointObserver=oi,this.renderer=Bi,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 Ui.B,new Ui.B,new Ui.B,new Ui.B,new Ui.B,new Ui.B,new Ui.B,new Ui.B]}ngOnInit(){this.router.events.subscribe(b=>{b instanceof En.wF&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([aa.Rp.XSmall,aa.Rp.TabletPortrait,aa.Rp.Small,aa.Rp.Medium,aa.Rp.Large,aa.Rp.XLarge]).pipe((0,cn.Q)(this.unSubs[0])).subscribe(b=>{b.breakpoints[aa.Rp.XSmall]?(this.commonService.setScreenSize(Xt.f7.XS),this.smallScreen=!0):b.breakpoints[aa.Rp.TabletPortrait]?(this.commonService.setScreenSize(Xt.f7.SM),this.smallScreen=!0):b.breakpoints[aa.Rp.Small]||b.breakpoints[aa.Rp.Medium]?(this.commonService.setScreenSize(Xt.f7.MD),this.smallScreen=!1):b.breakpoints[aa.Rp.Large]?(this.commonService.setScreenSize(Xt.f7.LG),this.smallScreen=!1):(this.commonService.setScreenSize(Xt.f7.XL),this.smallScreen=!1)}),this.store.dispatch((0,Cn.NU)()),this.accessKey=this.readAccessKey()||"",this.store.select(Hr._c).pipe((0,cn.Q)(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.qv).pipe((0,cn.Q)(this.unSubs[2])).subscribe(b=>{this.appConfig=b}),this.store.select(Hr.N).pipe((0,cn.Q)(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,cn.Q)(this.unSubs[4]),(0,br.p)(b=>b.type===Xt.aU.SET_APPLICATION_SETTINGS||b.type===Xt.aU.LOGIN||b.type===Xt.aU.LOGOUT)).subscribe(b=>{b.type===Xt.aU.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,Cn.iD)({payload:{password:rn(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"],{state:{logoutReason:"Access key too short. It should be at least 32 characters long."}}))),b.type===Xt.aU.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===Xt.aU.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,cn.Q)(this.unSubs[5])).subscribe(b=>{this.logger.info("Counting Down: "+(11-b))}),this.userIdle.onTimeout().pipe((0,cn.Q)(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,Cn.Jh)()),this.store.dispatch((0,Cn.xO)({payload:{data:{type:Xt.A$.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,Cn.ri)({payload:"Logging Out. Time limit exceeded for session inactivity."})))}),"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{this.\u0275fac=function(W){return new(W||P)(e.rXU(Qo.gP),e.rXU(ka.h),e.rXU(Ri.il),e.rXU(ft.En),e.rXU(Hs),e.rXU(En.Ix),e.rXU(qa.Q),e.rXU(aa.QP),e.rXU(e.sFG))}}static{this.\u0275cmp=e.VBU({type:P,selectors:[["rtl-app"]],viewQuery:function(W,X){if(1&W&&(e.GBs(w4,5),e.GBs(Nh,5)),2&W){let Fe;e.mGM(Fe=e.lsd())&&(X.sideNavigation=Fe.first),e.mGM(Fe=e.lsd())&&(X.sideNavContent=Fe.first)}},decls:22,vars:15,consts:[["sideNavigation",""],["sideNavContent",""],["outlet","outlet"],["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"],["fxFlex","100",3,"ChildNavClicked"],[3,"perfectScrollbar"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"inner-sidenav-content"],["class","rtl-spinner",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",3,"click","matTooltip","matTooltipDisabled"],[1,"color-white"],["mat-icon-button","","matTooltipPosition","right",3,"click","matTooltip"],["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(W,X){if(1&W){const Fe=e.RV6();e.j41(0,"div",3),e.nI1(1,"lowercase"),e.nI1(2,"lowercase"),e.j41(3,"mat-toolbar",4)(4,"div"),e.DNE(5,z2,3,2,"button",5)(6,Kc,4,3,"button",6),e.k0s(),e.j41(7,"div"),e.DNE(8,Uf,2,1,"span",7)(9,Hh,2,1,"span",8),e.k0s(),e.j41(10,"div"),e.nrm(11,"rtl-top-menu"),e.k0s()(),e.j41(12,"mat-sidenav-container",9),e.bIt("backdropClick",function(){return e.eBV(Fe),e.Njj(X.backdropClicked())}),e.j41(13,"mat-sidenav",10,0)(15,"rtl-side-navigation",11),e.bIt("ChildNavClicked",function(kt){return e.eBV(Fe),e.Njj(X.onNavigationClicked(kt))}),e.k0s()(),e.j41(16,"mat-sidenav-content",12,1)(18,"div",13),e.nrm(19,"router-outlet",null,2),e.k0s()()(),e.DNE(21,Gf,4,0,"div",14),e.k0s()}2&W&&(e.Y8G("ngClass",e.l_i(12,H2,e.bMT(1,8,X.selNode.settings.themeColor),e.bMT(2,10,X.selNode.settings.themeMode))),e.R7$(5),e.Y8G("ngIf",X.flgLoggedIn),e.R7$(),e.Y8G("ngIf",!X.smallScreen&&X.flgLoggedIn),e.R7$(2),e.Y8G("ngIf",X.smallScreen),e.R7$(),e.Y8G("ngIf",!X.smallScreen),e.R7$(4),e.Y8G("opened",X.flgSideNavOpened&&X.flgLoggedIn)("mode",X.flgSidenavPinned&&!X.smallScreen?"side":"over"),e.R7$(8),e.Y8G("ngIf",!X.selNode.settings.themeColor))},dependencies:[bi.YU,bi.bT,Ki.DJ,Ki.sA,Ki.UI,ds.PW,ge.iY,Bc.An,Lc.LG,rc.LG,rc.US,rc.El,Nf.KQ,nc.oV,gt.Ld,V2,Bf,En.n3,bi.GH],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[Pf.E]}})}}return P})(),E4=(()=>{class P{constructor(b){this.sessionService=b}intercept(b,W){if(this.sessionService.getItem("token")){const X=b.clone({headers:b.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return W.handle(X)}return W.handle(b)}static{this.\u0275fac=function(W){return new(W||P)(e.KVO(qa.Q))}}static{this.\u0275prov=e.jDH({token:P,factory:P.\u0275fac})}}return P})();var S4=p(7879),T4=p(9579),zh=p(283),jf=p(3017);const Wf={userPersona:Xt.HW.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",blockExplorerUrl:"https://mempool.space"},Bh={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},o1={apiURL:"",apisCallStatus:{Login:{status:Xt.wn.UN_INITIATED},IsAuthorized:{status:Xt.wn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:Wf,authentication:Bh,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,SSO:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,secret2FA:"",allowPasswordUpdate:!0,nodes:[{settings:Wf,authentication:Bh}]},nodeData:{}},Xf=(0,Ri.vy)(o1,(0,Ri.on)(Cn.Gd,(P,{payload:B})=>{const b=JSON.parse(JSON.stringify(P.apisCallStatus));return B.action&&(b[B.action]={status:B.status,statusCode:B.statusCode,message:B.message,URL:B.URL,filePath:B.filePath}),{...P,apisCallStatus:b}}),(0,Ri.on)(Cn.Tn,(P,{payload:B})=>({...o1,apisCallStatus:P.apisCallStatus,appConfig:P.appConfig,selNode:B})),(0,Ri.on)(Cn.Np,(P,{payload:B})=>({...P,selNode:B})),(0,Ri.on)(Cn.Fl,(P,{payload:B})=>({...P,nodeData:B})),(0,Ri.on)(Cn.IK,(P,{payload:B})=>({...P,appConfig:B}))),Uh={apisCallStatus:{FetchPageSettings:{status:Xt.wn.UN_INITIATED},FetchInfo:{status:Xt.wn.UN_INITIATED},FetchFees:{status:Xt.wn.UN_INITIATED},FetchPeers:{status:Xt.wn.UN_INITIATED},FetchClosedChannels:{status:Xt.wn.UN_INITIATED},FetchPendingChannels:{status:Xt.wn.UN_INITIATED},FetchAllChannels:{status:Xt.wn.UN_INITIATED},FetchBalanceBlockchain:{status:Xt.wn.UN_INITIATED},FetchInvoices:{status:Xt.wn.UN_INITIATED},FetchPayments:{status:Xt.wn.UN_INITIATED},FetchForwardingHistory:{status:Xt.wn.UN_INITIATED},FetchUTXOs:{status:Xt.wn.UN_INITIATED},FetchTransactions:{status:Xt.wn.UN_INITIATED},FetchLightningTransactions:{status:Xt.wn.UN_INITIATED},FetchNetwork:{status:Xt.wn.UN_INITIATED}},pageSettings:Xt.ZC,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 Gh=!1,jh=!1;const Wh=(0,Ri.vy)(Uh,(0,Ri.on)(Na.e8,(P,{payload:B})=>{const b=JSON.parse(JSON.stringify(P.apisCallStatus));return B.action&&(b[B.action]={status:B.status,statusCode:B.statusCode,message:B.message,URL:B.URL,filePath:B.filePath}),{...P,apisCallStatus:b}}),(0,Ri.on)(Na.p1,P=>({...Uh})),(0,Ri.on)(Na.x1,(P,{payload:B})=>({...P,information:B})),(0,Ri.on)(Na.Qj,(P,{payload:B})=>({...P,peers:B})),(0,Ri.on)(Na.Zi,(P,{payload:B})=>{const b=[...P.peers],W=P.peers.findIndex(X=>X.pub_key===B.pubkey);return W>-1&&b.splice(W,1),{...P,peers:b}}),(0,Ri.on)(Na.Jx,(P,{payload:B})=>{const b=P.listInvoices;return b.invoices?.unshift(B),{...P,listInvoices:b}}),(0,Ri.on)(Na.Dq,(P,{payload:B})=>{const b=P.listInvoices;return b.invoices=b.invoices?.map(W=>W.payment_request===B.payment_request?B:W),{...P,listInvoices:b}}),(0,Ri.on)(Na._$,(P,{payload:B})=>{const b=P.listPayments;return b.payments=b.payments?.map(W=>W.payment_hash===B.payment_hash?B:W),{...P,listPayments:b}}),(0,Ri.on)(Na.Uo,(P,{payload:B})=>({...P,fees:B})),(0,Ri.on)(Na.z2,(P,{payload:B})=>({...P,closedChannels:B})),(0,Ri.on)(Na.cU,(P,{payload:B})=>({...P,pendingChannels:B.pendingChannels,pendingChannelsSummary:B.pendingChannelsSummary})),(0,Ri.on)(Na.dv,(P,{payload:B})=>{let b=0,W=0,X=0,Fe=0,Lt=0,kt=0;return B&&B.forEach(ri=>{ri.local_balance||(ri.local_balance=0),!0===ri.active?(Lt+=+ri.local_balance,X+=1,ri.local_balance?b=+b+ +ri.local_balance:ri.local_balance=0,ri.remote_balance?W=+W+ +ri.remote_balance:ri.remote_balance=0):(kt+=+ri.local_balance,Fe+=1)}),{...P,channels:B,channelsSummary:{active:{num_channels:X,capacity:Lt},inactive:{num_channels:Fe,capacity:kt}},lightningBalance:{local:b,remote:W}}}),(0,Ri.on)(Na.cR,(P,{payload:B})=>{const b=[...P.channels],W=P.channels.findIndex(X=>X.channel_point===B.channelPoint);return W>-1&&b.splice(W,1),{...P,channels:b}}),(0,Ri.on)(Na.DI,(P,{payload:B})=>({...P,blockchainBalance:B})),(0,Ri.on)(Na.J9,(P,{payload:B})=>({...P,networkInfo:B})),(0,Ri.on)(Na.$6,(P,{payload:B})=>(B.total_invoices||(B.total_invoices=P.listInvoices.total_invoices),{...P,listInvoices:B})),(0,Ri.on)(Na.As,(P,{payload:B})=>{if(Gh=!0,B.length&&jh){const b=[...P.utxos];return b.forEach(W=>{const X=B.find(Fe=>Fe.tx_hash===W.outpoint?.txid_str);W.label=X&&X.label?X.label:""}),{...P,utxos:b,transactions:B}}return{...P,transactions:B}}),(0,Ri.on)(Na.O8,(P,{payload:B})=>{if(jh=!0,B.length&&Gh){const b=[...P.transactions];B.forEach(W=>{const X=b.find(Fe=>Fe.tx_hash===W.outpoint?.txid_str);W.label=X&&X.label?X.label:""})}return{...P,utxos:B}}),(0,Ri.on)(Na.Uj,(P,{payload:B})=>{const b={listInvoicesAll:P.allLightningTransactions.listInvoicesAll,listPaymentsAll:B};return{...P,listPayments:B,allLightningTransactions:b}}),(0,Ri.on)(Na.b1,(P,{payload:B})=>{const b={listInvoicesAll:B.listInvoicesAll,listPaymentsAll:P.listPayments};return{...P,allLightningTransactions:b}}),(0,Ri.on)(Na.kv,(P,{payload:B})=>{const b=[...P.channels,...P.closedChannels];let W=B.forwarding_events?JSON.parse(JSON.stringify(B)):{};return W.forwarding_events&&(W=A4(W,b)),{...P,forwardingHistory:W}}),(0,Ri.on)(Na.NS,(P,{payload:B})=>{const b=[];return Xt.ZC.forEach(W=>{const X=B&&B.length&&B.length>0?B.find(Fe=>Fe.pageId===W.pageId):null;if(X){const Fe=JSON.parse(JSON.stringify(X.tables));X.tables=[],W.tables.forEach(Lt=>{const kt=Fe.find(ri=>ri.tableId===Lt.tableId)||null;X.tables.push(kt||JSON.parse(JSON.stringify(Lt)))}),b.push(X)}else b.push(JSON.parse(JSON.stringify(W)))}),{...P,pageSettings:b}})),A4=(P,B)=>(P.forwarding_events.forEach(b=>{if(B&&B.length>0)for(let W=0;W<B.length;W++){if(B[W].chan_id?.toString()===b.chan_id_in&&(b.alias_in=B[W].remote_alias?B[W].remote_alias:b.chan_id_in,b.alias_out)||B[W].chan_id?.toString()===b.chan_id_out&&(b.alias_out=B[W].remote_alias?B[W].remote_alias:b.chan_id_out,b.alias_in))return;W===B.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}),P),Yf={apisCallStatus:{FetchPageSettings:{status:Xt.wn.UN_INITIATED},FetchInfo:{status:Xt.wn.UN_INITIATED},FetchInvoices:{status:Xt.wn.UN_INITIATED},FetchChannels:{status:Xt.wn.UN_INITIATED},FetchUTXOBalances:{status:Xt.wn.UN_INITIATED},FetchFeeRatesperkb:{status:Xt.wn.UN_INITIATED},FetchFeeRatesperkw:{status:Xt.wn.UN_INITIATED},FetchPeers:{status:Xt.wn.UN_INITIATED},FetchPayments:{status:Xt.wn.UN_INITIATED},FetchForwardingHistoryS:{status:Xt.wn.UN_INITIATED},FetchForwardingHistoryF:{status:Xt.wn.UN_INITIATED},FetchForwardingHistoryL:{status:Xt.wn.UN_INITIATED},FetchOffers:{status:Xt.wn.UN_INITIATED},FetchOfferBookmarks:{status:Xt.wn.UN_INITIATED}},pageSettings:Xt.mu,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},Kf=(0,Ri.vy)(Yf,(0,Ri.on)(ya.no,(P,{payload:B})=>{const b=JSON.parse(JSON.stringify(P.apisCallStatus));return B.action&&(b[B.action]={status:B.status,statusCode:B.statusCode,message:B.message,URL:B.URL,filePath:B.filePath}),{...P,apisCallStatus:b}}),(0,Ri.on)(ya.gf,P=>({...Yf})),(0,Ri.on)(ya.x1,(P,{payload:B})=>({...P,information:B,fees:{feeCollected:B.fees_collected_msat}})),(0,Ri.on)(ya.C2,(P,{payload:B})=>B.perkb?{...P,feeRatesPerKB:B}:B.perkw?{...P,feeRatesPerKW:B}:{...P}),(0,Ri.on)(ya.EM,(P,{payload:B})=>({...P,utxos:B.utxos||[],balance:B.balance,localRemoteBalance:B.localRemoteBalance})),(0,Ri.on)(ya.Qj,(P,{payload:B})=>({...P,peers:B})),(0,Ri.on)(ya.We,(P,{payload:B})=>({...P,peers:[...P.peers,B]})),(0,Ri.on)(ya.Zi,(P,{payload:B})=>{const b=[...P.peers],W=P.peers.findIndex(X=>X.id===B.id);return W>-1&&b.splice(W,1),{...P,peers:b}}),(0,Ri.on)(ya.dv,(P,{payload:B})=>({...P,activeChannels:B.activeChannels,pendingChannels:B.pendingChannels,inactiveChannels:B.inactiveChannels})),(0,Ri.on)(ya.cR,(P,{payload:B})=>{const b=[...P.peers];return b.forEach(W=>{W.id===B.id&&(W.connected=!1,delete W.netaddr)}),{...P,peers:b}}),(0,Ri.on)(ya.Uj,(P,{payload:B})=>({...P,payments:B})),(0,Ri.on)(ya.kv,(P,{payload:B})=>{const b=[...P.activeChannels,...P.pendingChannels,...P.inactiveChannels],W=D4(B.listForwards,b);switch(B.listForwards=W,B.status){case Xt.xk.SETTLED:const X=P.fees;return X.totalTxCount=B.totalForwards||0,{...P,fees:X,forwardingHistory:B};case Xt.xk.FAILED:return{...P,failedForwardingHistory:B};case Xt.xk.LOCAL_FAILED:return{...P,localFailedForwardingHistory:B};default:return{...P}}}),(0,Ri.on)(ya.Jx,(P,{payload:B})=>{const b=P.invoices;return b.invoices?.unshift(B),{...P,invoices:b}}),(0,Ri.on)(ya.$6,(P,{payload:B})=>({...P,invoices:B})),(0,Ri.on)(ya.Dq,(P,{payload:B})=>{const b=P.invoices;return b.invoices=b.invoices?.map(W=>(W.label===B.label&&(W.amount_received_msat=B.msat,W.payment_preimage=B.preimage,W.status="paid"),W)),{...P,invoices:b}}),(0,Ri.on)(ya.qw,(P,{payload:B})=>({...P,offers:B})),(0,Ri.on)(ya.kQ,(P,{payload:B})=>{const b=P.offers;return b?.unshift(B),{...P,offers:b}}),(0,Ri.on)(ya.Gz,(P,{payload:B})=>{const b=[...P.offers],W=P.offers.findIndex(X=>X.offer_id===B.offer.offer_id);return W>-1&&b.splice(W,1,B.offer),{...P,offers:b}}),(0,Ri.on)(ya.Qv,(P,{payload:B})=>({...P,offersBookmarks:B})),(0,Ri.on)(ya.Db,(P,{payload:B})=>{const b=[...P.offersBookmarks],W=b.findIndex(X=>X.bolt12===B.bolt12);if(W<0)b?.unshift(B);else{const X={...b[W]};X.title=B.title,X.amountMSat=B.amountMSat,X.lastUpdatedAt=B.lastUpdatedAt,X.description=B.description,X.issuer=B.issuer,b.splice(W,1,X)}return{...P,offersBookmarks:b}}),(0,Ri.on)(ya.NU,(P,{payload:B})=>{const b=[...P.offersBookmarks],W=P.offersBookmarks.findIndex(X=>X.bolt12===B.bolt12);return W>-1&&b.splice(W,1),{...P,offersBookmarks:b}}),(0,Ri.on)(ya.NS,(P,{payload:B})=>{const b=[];return Xt.mu.forEach(W=>{const X=B&&B.length&&B.length>0?B.find(Fe=>Fe.pageId===W.pageId):null;if(X){const Fe=JSON.parse(JSON.stringify(X.tables));X.tables=[],W.tables.forEach(Lt=>{const kt=Fe.find(ri=>ri.tableId===Lt.tableId)||null;X.tables.push(kt||JSON.parse(JSON.stringify(Lt)))}),b.push(X)}else b.push(JSON.parse(JSON.stringify(W)))}),{...P,pageSettings:b}})),D4=(P,B)=>(P&&P.length>0?P.forEach((b,W)=>{if(B&&B.length>0)for(let X=0;X<B.length;X++){if(B[X].short_channel_id&&B[X].short_channel_id===b.in_channel&&(b.in_channel_alias=B[X].alias?B[X].alias:b.in_channel,b.out_channel_alias)||B[X].short_channel_id&&B[X].short_channel_id?.toString()===b.out_channel&&(b.out_channel_alias=B[X].alias?B[X].alias:b.out_channel,b.in_channel_alias))return;X===B.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:"-"}):P=[],P),$f={apisCallStatus:{FetchPageSettings:{status:Xt.wn.UN_INITIATED},FetchInfo:{status:Xt.wn.UN_INITIATED},FetchFees:{status:Xt.wn.UN_INITIATED},FetchChannels:{status:Xt.wn.UN_INITIATED},FetchOnchainBalance:{status:Xt.wn.UN_INITIATED},FetchPeers:{status:Xt.wn.UN_INITIATED},FetchPayments:{status:Xt.wn.UN_INITIATED},FetchInvoices:{status:Xt.wn.UN_INITIATED},FetchTransactions:{status:Xt.wn.UN_INITIATED}},pageSettings:Xt.X8,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:[]},B2=(0,Ri.vy)($f,(0,Ri.on)(xa.uL,(P,{payload:B})=>{const b=JSON.parse(JSON.stringify(P.apisCallStatus));return B.action&&(b[B.action]={status:B.status,statusCode:B.statusCode,message:B.message,URL:B.URL,filePath:B.filePath}),{...P,apisCallStatus:b}}),(0,Ri.on)(xa.Hh,P=>({...$f})),(0,Ri.on)(xa.x1,(P,{payload:B})=>({...P,information:B})),(0,Ri.on)(xa.Uo,(P,{payload:B})=>({...P,fees:B})),(0,Ri.on)(xa.Tp,(P,{payload:B})=>({...P,activeChannels:B})),(0,Ri.on)(xa.cU,(P,{payload:B})=>({...P,pendingChannels:B})),(0,Ri.on)(xa.I6,(P,{payload:B})=>({...P,inactiveChannels:B})),(0,Ri.on)(xa.ZE,(P,{payload:B})=>({...P,channelsStatus:B})),(0,Ri.on)(xa.Xx,(P,{payload:B})=>({...P,onchainBalance:B})),(0,Ri.on)(xa.N8,(P,{payload:B})=>({...P,lightningBalance:B})),(0,Ri.on)(xa.Qj,(P,{payload:B})=>({...P,peers:B})),(0,Ri.on)(xa.Zi,(P,{payload:B})=>{const b=[...P.peers],W=P.peers.findIndex(X=>X.nodeId===B.nodeId);return W>-1&&b.splice(W,1),{...P,peers:b}}),(0,Ri.on)(xa.cR,(P,{payload:B})=>{const b=[...P.activeChannels],W=P.activeChannels.findIndex(X=>X.channelId===B.channelId);return W>-1&&b.splice(W,1),{...P,activeChannels:b}}),(0,Ri.on)(xa.Uj,(P,{payload:B})=>{if(B&&B.sent){const b=[...P.activeChannels,...P.pendingChannels,...P.inactiveChannels];B.sent?.map(W=>{const X=P.peers.find(Fe=>Fe.nodeId===W.recipientNodeId);return W.recipientNodeAlias=X?X.alias:W.recipientNodeId,W.parts&&W.parts?.map(Fe=>{const Lt=b.find(kt=>kt.channelId===Fe.toChannelId);return Fe.toChannelAlias=Lt?Lt.alias:Fe.toChannelId,W.parts}),B.sent})}if(B&&B.relayed){const b=[...P.activeChannels,...P.pendingChannels,...P.inactiveChannels];B.relayed.forEach(W=>{W=Xh(W,b)})}return{...P,payments:B}}),(0,Ri.on)(xa.As,(P,{payload:B})=>({...P,transactions:B})),(0,Ri.on)(xa.Jx,(P,{payload:B})=>{const b=P.invoices;return b?.unshift(B),{...P,invoices:b}}),(0,Ri.on)(xa.$6,(P,{payload:B})=>({...P,invoices:B})),(0,Ri.on)(xa.Dq,(P,{payload:B})=>{let b=P.invoices;return b=b?.map(W=>{if(W.paymentHash===B.paymentHash){if(B.hasOwnProperty("type")){const X=JSON.parse(JSON.stringify(W));return X.amountSettled=B.parts&&B.parts.length&&B.parts.length>0&&B.parts[0].amount?(B.parts[0].amount||0)/1e3:0,X.receivedAt=B.parts&&B.parts.length&&B.parts.length>0&&B.parts[0].timestamp?Math.round((B.parts[0].timestamp||0)/1e3):0,X.status="received",X}return B}return W}),{...P,invoices:b}}),(0,Ri.on)(xa.gZ,(P,{payload:B})=>{let b=P.pendingChannels;return b=b?.map(W=>(W.channelId===B.channelId&&W.nodeId===B.remoteNodeId&&(B.currentState=B.currentState?.replace(/_/g," "),W.state=B.currentState),W)),{...P,pendingChannels:b}}),(0,Ri.on)(xa.yn,(P,{payload:B})=>{const b=P.payments,W=Xh(B,[...P.activeChannels,...P.pendingChannels,...P.inactiveChannels]);b.relayed?.unshift(W);const X=(B.amountIn||0)-(B.amountOut||0),Fe={localBalance:P.lightningBalance.localBalance+X,remoteBalance:P.lightningBalance.remoteBalance-X},Lt=P.channelsStatus;Lt.active&&(Lt.active.capacity=(P.channelsStatus?.active?.capacity||0)+X);const kt={daily_fee:(P.fees.daily_fee||0)+X,daily_txs:(P.fees.daily_txs||0)+1,weekly_fee:(P.fees.weekly_fee||0)+X,weekly_txs:(P.fees.weekly_txs||0)+1,monthly_fee:(P.fees.monthly_fee||0)+X,monthly_txs:(P.fees.monthly_txs||0)+1},ri=P.activeChannels;let oi=!1,Bi=!1;for(const Ti of ri){if(Ti.channelId===B.fromChannelId){oi=!0;const dn=(Ti.toLocal||0)+(Ti.toRemote||0);Ti.toLocal=(Ti.toLocal||0)+W.amountIn,Ti.toRemote=(Ti.toRemote||0)-W.amountIn,Ti.balancedness=0===dn?1:+(1-Math.abs((Ti.toLocal-Ti.toRemote)/dn)).toFixed(3)}if(Ti.channelId===B.toChannelId){Bi=!0;const dn=(Ti.toLocal||0)+(Ti.toRemote||0);Ti.toLocal=(Ti.toLocal||0)-W.amountOut,Ti.toRemote=(Ti.toRemote||0)+W.amountOut,Ti.balancedness=0===dn?1:+(1-Math.abs((Ti.toLocal-Ti.toRemote)/dn)).toFixed(3)}if(Bi&&oi)break}return{...P,payments:b,lightningBalance:Fe,channelStatus:Lt,fees:kt,activeChannels:ri}}),(0,Ri.on)(xa.NS,(P,{payload:B})=>{const b=[];return Xt.X8.forEach(W=>{const X=B&&B.length&&B.length>0?B.find(Fe=>Fe.pageId===W.pageId):null;if(X){const Fe=JSON.parse(JSON.stringify(X.tables));X.tables=[],W.tables.forEach(Lt=>{const kt=Fe.find(ri=>ri.tableId===Lt.tableId)||null;X.tables.push(kt||JSON.parse(JSON.stringify(Lt)))}),b.push(X)}else b.push(JSON.parse(JSON.stringify(W)))}),{...P,pageSettings:b}})),Xh=(P,B)=>{if("payment-relayed"===P.type)if(B&&B.length>0)for(let b=0;b<B.length;b++){if(B[b].channelId?.toString()===P.fromChannelId&&(P.fromChannelAlias=B[b].alias?B[b].alias:P.fromChannelId,P.fromShortChannelId=B[b].shortChannelId?B[b].shortChannelId:"",P.toChannelAlias)||B[b].channelId?.toString()===P.toChannelId&&(P.toChannelAlias=B[b].alias?B[b].alias:P.toChannelId,P.toShortChannelId=B[b].shortChannelId?B[b].shortChannelId:"",P.fromChannelAlias))return P;b===B.length-1&&(P.fromChannelAlias||(P.fromChannelAlias=P.fromChannelId?.substring(0,17)+"...",P.fromShortChannelId=""),P.toChannelAlias||(P.toChannelAlias=P.toChannelId?.substring(0,17)+"...",P.toShortChannelId=""))}else P.fromChannelAlias=P.fromChannelId?.substring(0,17)+"...",P.fromShortChannelId="",P.toChannelAlias=P.toChannelId?.substring(0,17)+"...",P.toShortChannelId="";else if(P.type="trampoline-payment-relayed"){if(B&&B.length>0)for(let X=0;X<B.length;X++)P.incoming?.forEach(Fe=>{B[X].channelId?.toString()===Fe.channelId&&(Fe.channelAlias=B[X].alias?B[X].alias:Fe.channelId,Fe.shortChannelId=B[X].shortChannelId?B[X].shortChannelId:"")}),P.outgoing?.forEach(Fe=>{B[X].channelId?.toString()===Fe.channelId&&(Fe.channelAlias=B[X].alias?B[X].alias:Fe.channelId,Fe.shortChannelId=B[X].shortChannelId?B[X].shortChannelId:"")}),X===B.length-1&&(P.incoming&&P.incoming.length&&P.incoming.length>0&&!P.incoming[0].channelAlias&&P.incoming?.forEach(Fe=>{Fe.channelAlias=Fe.channelId?.substring(0,17)+"...",Fe.shortChannelId=""}),P.outgoing&&P.outgoing.length&&P.outgoing.length>0&&!P.outgoing[0].channelAlias&&P.outgoing?.forEach(Fe=>{Fe.channelAlias=Fe.channelId?.substring(0,17)+"...",Fe.shortChannelId=""}));else P.incoming?.forEach(X=>{X.channelAlias=X.channelId?.substring(0,17)+"...",X.shortChannelId=""}),P.outgoing?.forEach(X=>{X.channelAlias=X.channelId?.substring(0,17)+"...",X.shortChannelId=""});const b=P.incoming?.reduce((X,Fe)=>X+Fe.amount,0)||0;P.amountIn=Math.round(b/1e3),P.fromChannelId=P.incoming&&P.incoming.length?P.incoming[0].channelId:"",P.fromChannelAlias=P.incoming&&P.incoming.length?P.incoming[0].channelAlias:"",P.fromShortChannelId=P.incoming&&P.incoming.length?P.incoming[0].shortChannelId:"";const W=P.outgoing?.reduce((X,Fe)=>X+Fe.amount,0)||0;P.amountOut=Math.round(W/1e3),P.toChannelId=P.outgoing&&P.outgoing.length?P.outgoing[0].channelId:"",P.toChannelAlias=P.outgoing&&P.outgoing.length?P.outgoing[0].channelAlias:"",P.toShortChannelId=P.outgoing&&P.outgoing.length?P.outgoing[0].shortChannelId:""}return P};let Qf=!1;(0,e.naY)()&&(Qf=!0);let Yh=(()=>{class P{static{this.\u0275fac=function(W){return new(W||P)}}static{this.\u0275mod=e.$C({type:P,bootstrap:[Cd]})}static{this.\u0275inj=e.G2t({providers:[Ts({idle:Xt.bz-10,timeout:10,ping:12e3}),{provide:Ms.a7,useClass:E4,multi:!0},qa.Q,_d.u,S4.I,ef.Q,ka.h,v1],imports:[Za,Ff.G,Of,aa.RH,t.fM,Ri.md.forRoot({root:Xf,lnd:Wh,cln:Kf,ecl:B2},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),ft.Vm.forRoot([_r.H,T4.L,zh.i,jf.B]),Qf?Ns.instrument({connectInZone:!0}):[]]})}}return P})();t.sG().bootstrapModule(Yh).catch(P=>console.error(P))},426:(Ve,ee)=>{"use strict";function p(te){return Object.keys(te).map(oe=>te[oe])}var te;Object.defineProperty(ee,"__esModule",{value:!0}),(te=ee.HashAlgorithms||(ee.HashAlgorithms={})).SHA1="sha1",te.SHA256="sha256",te.SHA512="sha512";const t=p(ee.HashAlgorithms);!function(te){te.ASCII="ascii",te.BASE64="base64",te.HEX="hex",te.LATIN1="latin1",te.UTF8="utf8"}(ee.KeyEncodings||(ee.KeyEncodings={}));const e=p(ee.KeyEncodings);!function(te){te.HOTP="hotp",te.TOTP="totp"}(ee.Strategy||(ee.Strategy={}));const C=p(ee.Strategy),S=()=>{throw new Error("Please provide an options.createDigest implementation.")};function l(te){return/^(\d+)$/.test(te)}function x(te,oe,_e){return te.length>=oe?te:`${Array(oe+1).join(_e)}${te}`.slice(-1*oe)}function m(te){const oe=`otpauth://${te.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,_e=[];if(C.indexOf(te.type)<0)throw new Error(`Expecting options.type to be one of ${C.join(", ")}. Received ${te.type}.`);if("hotp"===te.type){if(null==te.counter||"number"!=typeof te.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');_e.push(`&counter=${te.counter}`)}return"totp"===te.type&&te.step&&_e.push(`&period=${te.step}`),te.digits&&_e.push(`&digits=${te.digits}`),te.algorithm&&_e.push(`&algorithm=${te.algorithm.toUpperCase()}`),te.issuer&&_e.push(`&issuer=${encodeURIComponent(te.issuer)}`),oe.replace("{labelPrefix}",encodeURIComponent(te.issuer||te.accountName)).replace("{accountName}",encodeURIComponent(te.accountName)).replace("{secret}",te.secret).replace("{query}",_e.join(""))}class R{constructor(oe={}){this._defaultOptions=Object.freeze({...oe}),this._options=Object.freeze({})}create(oe={}){return new R(oe)}clone(oe={}){const _e=this.create({...this._defaultOptions,...oe});return _e.options=this._options,_e}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(oe){this._options=Object.freeze({...this._options,...oe})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function d(te){if("function"!=typeof te.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof te.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof te.digits)throw new Error("Expecting options.digits to be a number.");if(!te.algorithm||t.indexOf(te.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${t.join(", ")}. Received ${te.algorithm}.`);if(!te.encoding||e.indexOf(te.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${e.join(", ")}. Received ${te.encoding}.`)}const w=(te,oe,_e)=>Buffer.from(oe,_e).toString("hex");function y(){return{algorithm:ee.HashAlgorithms.SHA1,createHmacKey:w,createDigest:S,digits:6,encoding:ee.KeyEncodings.ASCII}}function T(te){const oe={...y(),...te};return d(oe),Object.freeze(oe)}function k(te){return x(te.toString(16),16,"0")}function F(te,oe){const _e=Buffer.from(te,"hex"),de=15&_e[_e.length-1],We=((127&_e[de])<<24|(255&_e[de+1])<<16|(255&_e[de+2])<<8|255&_e[de+3])%Math.pow(10,oe);return x(String(We),oe,"0")}function U(te,oe,_e){const de=_e.digest||function V(te,oe,_e){const de=k(oe),pe=_e.createHmacKey(_e.algorithm,te,_e.encoding);return _e.createDigest(_e.algorithm,pe,de)}(te,oe,_e);return F(de,_e.digits)}function G(te,oe,_e,de){return!!l(te)&&te===U(oe,_e,de)}function Y(te,oe,_e,de,pe){return m({algorithm:pe.algorithm,digits:pe.digits,type:ee.Strategy.HOTP,accountName:te,counter:de,issuer:oe,secret:_e})}class $ extends R{create(oe={}){return new $(oe)}allOptions(){return T(this.options)}generate(oe,_e){return U(oe,_e,this.allOptions())}check(oe,_e,de){return G(oe,_e,de,this.allOptions())}verify(oe){if("object"!=typeof oe)throw new Error("Expecting argument 0 of verify to be an object");return this.check(oe.token,oe.secret,oe.counter)}keyuri(oe,_e,de,pe){return Y(oe,_e,de,pe,this.allOptions())}}function Z(te){if("number"==typeof te)return[Math.abs(te),Math.abs(te)];if(Array.isArray(te)){const[oe,_e]=te;if("number"==typeof oe&&"number"==typeof _e)return[Math.abs(oe),Math.abs(_e)]}throw new Error("Expecting options.window to be an number or [number, number].")}function ie(te){if(d(te),Z(te.window),"number"!=typeof te.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof te.step)throw new Error("Expecting options.step to be a number.")}const ve=(te,oe,_e)=>{const de=te.length,pe=Buffer.from(te,oe).toString("hex");if(de<_e){const We=new Array(_e-de+1).join(pe);return Buffer.from(We,"hex").slice(0,_e).toString("hex")}return pe},ae=(te,oe,_e)=>{switch(te){case ee.HashAlgorithms.SHA1:return ve(oe,_e,20);case ee.HashAlgorithms.SHA256:return ve(oe,_e,32);case ee.HashAlgorithms.SHA512:return ve(oe,_e,64);default:throw new Error(`Expecting algorithm to be one of ${t.join(", ")}. Received ${te}.`)}};function ye(){return{algorithm:ee.HashAlgorithms.SHA1,createDigest:S,createHmacKey:ae,digits:6,encoding:ee.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function ue(te){const oe={...ye(),...te};return ie(oe),Object.freeze(oe)}function be(te,oe){return Math.floor(te/oe/1e3)}function D(te,oe){return U(te,be(oe.epoch,oe.step),oe)}function n(te,oe,_e,de){const pe=[];if(0===de)return pe;for(let We=1;We<=de;We++)pe.push(te+oe*We*_e);return pe}function c(te,oe,_e){const de=Z(_e),pe=1e3*oe;return{current:te,past:n(te,-1,pe,de[0]),future:n(te,1,pe,de[1])}}function f(te,oe,_e){return!!l(te)&&te===D(oe,_e)}function h(te,oe,_e,de){let pe=null;return te.some((We,se)=>!!f(oe,_e,{...de,epoch:We})&&(pe=se+1,!0)),pe}function M(te,oe,_e){if(f(te,oe,_e))return 0;const de=c(_e.epoch,_e.step,_e.window),pe=h(de.past,te,oe,_e);return null!==pe?-1*pe:h(de.future,te,oe,_e)}function L(te,oe){return Math.floor(te/1e3)%oe}function O(te,oe){return oe-L(te,oe)}function _(te,oe,_e,de){return m({algorithm:de.algorithm,digits:de.digits,step:de.step,type:ee.Strategy.TOTP,accountName:te,issuer:oe,secret:_e})}class r extends ${create(oe={}){return new r(oe)}allOptions(){return ue(this.options)}generate(oe){return D(oe,this.allOptions())}checkDelta(oe,_e){return M(oe,_e,this.allOptions())}check(oe,_e){return"number"==typeof this.checkDelta(oe,_e)}verify(oe){if("object"!=typeof oe)throw new Error("Expecting argument 0 of verify to be an object");return this.check(oe.token,oe.secret)}timeRemaining(){const oe=this.allOptions();return O(oe.epoch,oe.step)}timeUsed(){const oe=this.allOptions();return L(oe.epoch,oe.step)}keyuri(oe,_e,de){return _(oe,_e,de,this.allOptions())}}function v(te){if(ie(te),"function"!=typeof te.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(te.keyEncoder&&"function"!=typeof te.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function z(){return{algorithm:ee.HashAlgorithms.SHA1,createDigest:S,createHmacKey:ae,digits:6,encoding:ee.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function N(te){const oe={...z(),...te};return v(oe),Object.freeze(oe)}function ne(te,oe){return oe.keyEncoder(te,oe.encoding)}function Ie(te,oe){return oe.keyDecoder(te,oe.encoding)}function at(te,oe){return ne(oe.createRandomBytes(te,oe.encoding),oe)}function Ye(te,oe){return D(Ie(te,oe),oe)}function rt(te,oe,_e){return M(te,Ie(oe,_e),_e)}class re extends r{create(oe={}){return new re(oe)}allOptions(){return N(this.options)}generate(oe){return Ye(oe,this.allOptions())}checkDelta(oe,_e){return rt(oe,_e,this.allOptions())}encode(oe){return ne(oe,this.allOptions())}decode(oe){return Ie(oe,this.allOptions())}generateSecret(oe=10){return at(oe,this.allOptions())}}ee.Authenticator=re,ee.HASH_ALGORITHMS=t,ee.HOTP=$,ee.KEY_ENCODINGS=e,ee.OTP=R,ee.STRATEGY=C,ee.TOTP=r,ee.authenticatorCheckWithWindow=rt,ee.authenticatorDecoder=Ie,ee.authenticatorDefaultOptions=z,ee.authenticatorEncoder=ne,ee.authenticatorGenerateSecret=at,ee.authenticatorOptionValidator=v,ee.authenticatorOptions=N,ee.authenticatorToken=Ye,ee.createDigestPlaceholder=S,ee.hotpCheck=G,ee.hotpCounter=k,ee.hotpCreateHmacKey=w,ee.hotpDefaultOptions=y,ee.hotpDigestToToken=F,ee.hotpKeyuri=Y,ee.hotpOptions=T,ee.hotpOptionsValidator=d,ee.hotpToken=U,ee.isTokenValid=l,ee.keyuri=m,ee.objectValues=p,ee.padStart=x,ee.totpCheck=f,ee.totpCheckByEpoch=h,ee.totpCheckWithWindow=M,ee.totpCounter=be,ee.totpCreateHmacKey=ae,ee.totpDefaultOptions=ye,ee.totpEpochAvailable=c,ee.totpKeyuri=_,ee.totpOptions=ue,ee.totpOptionsValidator=ie,ee.totpPadSecret=ve,ee.totpTimeRemaining=O,ee.totpTimeUsed=L,ee.totpToken=D},7840:(Ve,ee,p)=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});var e=function t(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(p(1426));ee.createDigest=(l,x,m)=>e.createHmac(l,Buffer.from(x,"hex")).update(Buffer.from(m,"hex")).digest().toString("hex"),ee.createRandomBytes=(l,x)=>e.randomBytes(l).toString(x)},5526:(Ve,ee,p)=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});var e=function t(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(p(7851));ee.keyDecoder=(l,x)=>e.decode(l).toString(x),ee.keyEncoder=(l,x)=>e.encode(Buffer.from(l,x).toString("ascii")).toString().replace(/=/g,"")},4478:(Ve,ee,p)=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});var t=p(7840),e=p(5526),C=p(426);const S=new C.HOTP({createDigest:t.createDigest}),l=new C.TOTP({createDigest:t.createDigest}),x=new C.Authenticator({createDigest:t.createDigest,createRandomBytes:t.createRandomBytes,keyDecoder:e.keyDecoder,keyEncoder:e.keyEncoder});ee.authenticator=x,ee.hotp=S,ee.totp=l},1990:(Ve,ee,p)=>{var t=ee;t.bignum=p(6867),t.define=p(6626).define,t.base=p(5066),t.constants=p(7740),t.decoders=p(1558),t.encoders=p(2714)},6626:(Ve,ee,p)=>{var t=p(1990),e=p(1993);function S(l,x){this.name=l,this.body=x,this.decoders={},this.encoders={}}ee.define=function(x,m){return new S(x,m)},S.prototype._createNamed=function(x){var m;try{m=p(8326).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch{m=function(d){this._initNamed(d)}}return e(m,x),m.prototype._initNamed=function(d){x.call(this,d)},new m(this)},S.prototype._getDecoder=function(x){return this.decoders.hasOwnProperty(x=x||"der")||(this.decoders[x]=this._createNamed(t.decoders[x])),this.decoders[x]},S.prototype.decode=function(x,m,R){return this._getDecoder(m).decode(x,R)},S.prototype._getEncoder=function(x){return this.encoders.hasOwnProperty(x=x||"der")||(this.encoders[x]=this._createNamed(t.encoders[x])),this.encoders[x]},S.prototype.encode=function(x,m,R){return this._getEncoder(m).encode(x,R)}},7290:(Ve,ee,p)=>{var t=p(1993),e=p(5066).Reporter,C=p(3838).Buffer;function S(x,m){e.call(this,m),C.isBuffer(x)?(this.base=x,this.offset=0,this.length=x.length):this.error("Input not Buffer")}function l(x,m){if(Array.isArray(x))this.length=0,this.value=x.map(function(R){return R instanceof l||(R=new l(R,m)),this.length+=R.length,R},this);else if("number"==typeof x){if(!(0<=x&&x<=255))return m.error("non-byte EncoderBuffer value");this.value=x,this.length=1}else if("string"==typeof x)this.value=x,this.length=C.byteLength(x);else{if(!C.isBuffer(x))return m.error("Unsupported type: "+typeof x);this.value=x,this.length=x.length}}t(S,e),ee.t=S,S.prototype.save=function(){return{offset:this.offset,reporter:e.prototype.save.call(this)}},S.prototype.restore=function(m){var R=new S(this.base);return R.offset=m.offset,R.length=this.offset,this.offset=m.offset,e.prototype.restore.call(this,m.reporter),R},S.prototype.isEmpty=function(){return this.offset===this.length},S.prototype.readUInt8=function(m){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(m||"DecoderBuffer overrun")},S.prototype.skip=function(m,R){if(!(this.offset+m<=this.length))return this.error(R||"DecoderBuffer overrun");var d=new S(this.base);return d._reporterState=this._reporterState,d.offset=this.offset,d.length=this.offset+m,this.offset+=m,d},S.prototype.raw=function(m){return this.base.slice(m?m.offset:this.offset,this.length)},ee.d=l,l.prototype.join=function(m,R){return m||(m=new C(this.length)),R||(R=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(d){d.join(m,R),R+=d.length}):("number"==typeof this.value?m[R]=this.value:"string"==typeof this.value?m.write(this.value,R):C.isBuffer(this.value)&&this.value.copy(m,R),R+=this.length)),m}},5066:(Ve,ee,p)=>{var t=ee;t.Reporter=p(5697).a,t.DecoderBuffer=p(7290).t,t.EncoderBuffer=p(7290).d,t.Node=p(4320)},4320:(Ve,ee,p)=>{var t=p(5066).Reporter,e=p(5066).EncoderBuffer,C=p(5066).DecoderBuffer,S=p(9210),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"],x=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(l);function R(w,y){var T={};this._baseState=T,T.enc=w,T.parent=y||null,T.children=null,T.tag=null,T.args=null,T.reverseArgs=null,T.choice=null,T.optional=!1,T.any=!1,T.obj=!1,T.use=null,T.useDecoder=null,T.key=null,T.default=null,T.explicit=null,T.implicit=null,T.contains=null,T.parent||(T.children=[],this._wrap())}Ve.exports=R;var d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];R.prototype.clone=function(){var y=this._baseState,T={};d.forEach(function(F){T[F]=y[F]});var k=new this.constructor(T.parent);return k._baseState=T,k},R.prototype._wrap=function(){var y=this._baseState;x.forEach(function(T){this[T]=function(){var F=new this.constructor(this);return y.children.push(F),F[T].apply(F,arguments)}},this)},R.prototype._init=function(y){var T=this._baseState;S(null===T.parent),y.call(this),T.children=T.children.filter(function(k){return k._baseState.parent===this},this),S.equal(T.children.length,1,"Root node can have only one child")},R.prototype._useArgs=function(y){var T=this._baseState,k=y.filter(function(F){return F instanceof this.constructor},this);y=y.filter(function(F){return!(F instanceof this.constructor)},this),0!==k.length&&(S(null===T.children),T.children=k,k.forEach(function(F){F._baseState.parent=this},this)),0!==y.length&&(S(null===T.args),T.args=y,T.reverseArgs=y.map(function(F){if("object"!=typeof F||F.constructor!==Object)return F;var V={};return Object.keys(F).forEach(function(U){U==(0|U)&&(U|=0),V[F[U]]=U}),V}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(w){R.prototype[w]=function(){throw new Error(w+" not implemented for encoding: "+this._baseState.enc)}}),l.forEach(function(w){R.prototype[w]=function(){var T=this._baseState,k=Array.prototype.slice.call(arguments);return S(null===T.tag),T.tag=w,this._useArgs(k),this}}),R.prototype.use=function(y){S(y);var T=this._baseState;return S(null===T.use),T.use=y,this},R.prototype.optional=function(){return this._baseState.optional=!0,this},R.prototype.def=function(y){var T=this._baseState;return S(null===T.default),T.default=y,T.optional=!0,this},R.prototype.explicit=function(y){var T=this._baseState;return S(null===T.explicit&&null===T.implicit),T.explicit=y,this},R.prototype.implicit=function(y){var T=this._baseState;return S(null===T.explicit&&null===T.implicit),T.implicit=y,this},R.prototype.obj=function(){var y=this._baseState,T=Array.prototype.slice.call(arguments);return y.obj=!0,0!==T.length&&this._useArgs(T),this},R.prototype.key=function(y){var T=this._baseState;return S(null===T.key),T.key=y,this},R.prototype.any=function(){return this._baseState.any=!0,this},R.prototype.choice=function(y){var T=this._baseState;return S(null===T.choice),T.choice=y,this._useArgs(Object.keys(y).map(function(k){return y[k]})),this},R.prototype.contains=function(y){var T=this._baseState;return S(null===T.use),T.contains=y,this},R.prototype._decode=function(y,T){var k=this._baseState;if(null===k.parent)return y.wrapResult(k.children[0]._decode(y,T));var $,F=k.default,V=!0,U=null;if(null!==k.key&&(U=y.enterKey(k.key)),k.optional){var G=null;if(null!==k.explicit?G=k.explicit:null!==k.implicit?G=k.implicit:null!==k.tag&&(G=k.tag),null!==G||k.any){if(V=this._peekTag(y,G,k.any),y.isError(V))return V}else{var Y=y.save();try{null===k.choice?this._decodeGeneric(k.tag,y,T):this._decodeChoice(y,T),V=!0}catch{V=!1}y.restore(Y)}}if(k.obj&&V&&($=y.enterObject()),V){if(null!==k.explicit){var Z=this._decodeTag(y,k.explicit);if(y.isError(Z))return Z;y=Z}var ie=y.offset;if(null===k.use&&null===k.choice){k.any&&(Y=y.save());var ve=this._decodeTag(y,null!==k.implicit?k.implicit:k.tag,k.any);if(y.isError(ve))return ve;k.any?F=y.raw(Y):y=ve}if(T&&T.track&&null!==k.tag&&T.track(y.path(),ie,y.length,"tagged"),T&&T.track&&null!==k.tag&&T.track(y.path(),y.offset,y.length,"content"),k.any||(F=null===k.choice?this._decodeGeneric(k.tag,y,T):this._decodeChoice(y,T)),y.isError(F))return F;if(!k.any&&null===k.choice&&null!==k.children&&k.children.forEach(function(ue){ue._decode(y,T)}),k.contains&&("octstr"===k.tag||"bitstr"===k.tag)){var ae=new C(F);F=this._getUse(k.contains,y._reporterState.obj)._decode(ae,T)}}return k.obj&&V&&(F=y.leaveObject($)),null===k.key||null===F&&!0!==V?null!==U&&y.exitKey(U):y.leaveKey(U,k.key,F),F},R.prototype._decodeGeneric=function(y,T,k){var F=this._baseState;return"seq"===y||"set"===y?null:"seqof"===y||"setof"===y?this._decodeList(T,y,F.args[0],k):/str$/.test(y)?this._decodeStr(T,y,k):"objid"===y&&F.args?this._decodeObjid(T,F.args[0],F.args[1],k):"objid"===y?this._decodeObjid(T,null,null,k):"gentime"===y||"utctime"===y?this._decodeTime(T,y,k):"null_"===y?this._decodeNull(T,k):"bool"===y?this._decodeBool(T,k):"objDesc"===y?this._decodeStr(T,y,k):"int"===y||"enum"===y?this._decodeInt(T,F.args&&F.args[0],k):null!==F.use?this._getUse(F.use,T._reporterState.obj)._decode(T,k):T.error("unknown tag: "+y)},R.prototype._getUse=function(y,T){var k=this._baseState;return k.useDecoder=this._use(y,T),S(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},R.prototype._decodeChoice=function(y,T){var k=this._baseState,F=null,V=!1;return Object.keys(k.choice).some(function(U){var G=y.save(),Y=k.choice[U];try{var $=Y._decode(y,T);if(y.isError($))return!1;F={type:U,value:$},V=!0}catch{return y.restore(G),!1}return!0},this),V?F:y.error("Choice not matched")},R.prototype._createEncoderBuffer=function(y){return new e(y,this.reporter)},R.prototype._encode=function(y,T,k){var F=this._baseState;if(null===F.default||F.default!==y){var V=this._encodeValue(y,T,k);if(void 0!==V&&!this._skipDefault(V,T,k))return V}},R.prototype._encodeValue=function(y,T,k){var F=this._baseState;if(null===F.parent)return F.children[0]._encode(y,T||new t);var Y=null;if(this.reporter=T,F.optional&&void 0===y){if(null===F.default)return;y=F.default}var V=null,U=!1;if(F.any)Y=this._createEncoderBuffer(y);else if(F.choice)Y=this._encodeChoice(y,T);else if(F.contains)V=this._getUse(F.contains,k)._encode(y,T),U=!0;else if(F.children)V=F.children.map(function(ie){if("null_"===ie._baseState.tag)return ie._encode(null,T,y);if(null===ie._baseState.key)return T.error("Child should have a key");var ve=T.enterKey(ie._baseState.key);if("object"!=typeof y)return T.error("Child expected, but input is not object");var ae=ie._encode(y[ie._baseState.key],T,y);return T.leaveKey(ve),ae},this).filter(function(ie){return ie}),V=this._createEncoderBuffer(V);else if("seqof"===F.tag||"setof"===F.tag){if(!F.args||1!==F.args.length)return T.error("Too many args for : "+F.tag);if(!Array.isArray(y))return T.error("seqof/setof, but data is not Array");var G=this.clone();G._baseState.implicit=null,V=this._createEncoderBuffer(y.map(function(ie){return this._getUse(this._baseState.args[0],y)._encode(ie,T)},G))}else null!==F.use?Y=this._getUse(F.use,k)._encode(y,T):(V=this._encodePrimitive(F.tag,y),U=!0);if(!F.any&&null===F.choice){var $=null!==F.implicit?F.implicit:F.tag,Z=null===F.implicit?"universal":"context";null===$?null===F.use&&T.error("Tag could be omitted only for .use()"):null===F.use&&(Y=this._encodeComposite($,U,Z,V))}return null!==F.explicit&&(Y=this._encodeComposite(F.explicit,!1,"context",Y)),Y},R.prototype._encodeChoice=function(y,T){var k=this._baseState,F=k.choice[y.type];return F||S(!1,y.type+" not found in "+JSON.stringify(Object.keys(k.choice))),F._encode(y.value,T)},R.prototype._encodePrimitive=function(y,T){var k=this._baseState;if(/str$/.test(y))return this._encodeStr(T,y);if("objid"===y&&k.args)return this._encodeObjid(T,k.reverseArgs[0],k.args[1]);if("objid"===y)return this._encodeObjid(T,null,null);if("gentime"===y||"utctime"===y)return this._encodeTime(T,y);if("null_"===y)return this._encodeNull();if("int"===y||"enum"===y)return this._encodeInt(T,k.args&&k.reverseArgs[0]);if("bool"===y)return this._encodeBool(T);if("objDesc"===y)return this._encodeStr(T,y);throw new Error("Unsupported tag: "+y)},R.prototype._isNumstr=function(y){return/^[0-9 ]*$/.test(y)},R.prototype._isPrintstr=function(y){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(y)}},5697:(Ve,ee,p)=>{var t=p(1993);function e(S){this._reporterState={obj:null,path:[],options:S||{},errors:[]}}function C(S,l){this.path=S,this.rethrow(l)}ee.a=e,e.prototype.isError=function(l){return l instanceof C},e.prototype.save=function(){var l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},e.prototype.restore=function(l){var x=this._reporterState;x.obj=l.obj,x.path=x.path.slice(0,l.pathLen)},e.prototype.enterKey=function(l){return this._reporterState.path.push(l)},e.prototype.exitKey=function(l){var x=this._reporterState;x.path=x.path.slice(0,l-1)},e.prototype.leaveKey=function(l,x,m){var R=this._reporterState;this.exitKey(l),null!==R.obj&&(R.obj[x]=m)},e.prototype.path=function(){return this._reporterState.path.join("/")},e.prototype.enterObject=function(){var l=this._reporterState,x=l.obj;return l.obj={},x},e.prototype.leaveObject=function(l){var x=this._reporterState,m=x.obj;return x.obj=l,m},e.prototype.error=function(l){var x,m=this._reporterState,R=l instanceof C;if(x=R?l:new C(m.path.map(function(d){return"["+JSON.stringify(d)+"]"}).join(""),l.message||l,l.stack),!m.options.partial)throw x;return R||m.errors.push(x),x},e.prototype.wrapResult=function(l){var x=this._reporterState;return x.options.partial?{result:this.isError(l)?null:l,errors:x.errors}:l},t(C,Error),C.prototype.rethrow=function(l){if(this.message=l+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,C),!this.stack)try{throw new Error(this.message)}catch(x){this.stack=x.stack}return this}},6283:(Ve,ee,p)=>{var t=p(7740);ee.tagClass={0:"universal",1:"application",2:"context",3:"private"},ee.tagClassByName=t._reverse(ee.tagClass),ee.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"},ee.tagByName=t._reverse(ee.tag)},7740:(Ve,ee,p)=>{var t=ee;t._reverse=function(C){var S={};return Object.keys(C).forEach(function(l){(0|l)==l&&(l|=0),S[C[l]]=l}),S},t.der=p(6283)},5941:(Ve,ee,p)=>{var t=p(1993),e=p(1990),C=e.base,S=e.bignum,l=e.constants.der;function x(w){this.enc="der",this.name=w.name,this.entity=w,this.tree=new m,this.tree._init(w.body)}function m(w){C.Node.call(this,"der",w)}function R(w,y){var T=w.readUInt8(y);if(w.isError(T))return T;var k=l.tagClass[T>>6],F=!(32&T);if(31&~T)T&=31;else{var V=T;for(T=0;!(128&~V);){if(V=w.readUInt8(y),w.isError(V))return V;T<<=7,T|=127&V}}return{cls:k,primitive:F,tag:T,tagStr:l.tag[T]}}function d(w,y,T){var k=w.readUInt8(T);if(w.isError(k))return k;if(!y&&128===k)return null;if(!(128&k))return k;var F=127&k;if(F>4)return w.error("length octect is too long");k=0;for(var V=0;V<F;V++){k<<=8;var U=w.readUInt8(T);if(w.isError(U))return U;k|=U}return k}Ve.exports=x,x.prototype.decode=function(y,T){return y instanceof C.DecoderBuffer||(y=new C.DecoderBuffer(y,T)),this.tree._decode(y,T)},t(m,C.Node),m.prototype._peekTag=function(y,T,k){if(y.isEmpty())return!1;var F=y.save(),V=R(y,'Failed to peek tag: "'+T+'"');return y.isError(V)?V:(y.restore(F),V.tag===T||V.tagStr===T||V.tagStr+"of"===T||k)},m.prototype._decodeTag=function(y,T,k){var F=R(y,'Failed to decode tag of "'+T+'"');if(y.isError(F))return F;var V=d(y,F.primitive,'Failed to get length of "'+T+'"');if(y.isError(V))return V;if(!k&&F.tag!==T&&F.tagStr!==T&&F.tagStr+"of"!==T)return y.error('Failed to match tag: "'+T+'"');if(F.primitive||null!==V)return y.skip(V,'Failed to match body of: "'+T+'"');var U=y.save(),G=this._skipUntilEnd(y,'Failed to skip indefinite length body: "'+this.tag+'"');return y.isError(G)?G:(V=y.offset-U.offset,y.restore(U),y.skip(V,'Failed to match body of: "'+T+'"'))},m.prototype._skipUntilEnd=function(y,T){for(;;){var k=R(y,T);if(y.isError(k))return k;var V,F=d(y,k.primitive,T);if(y.isError(F))return F;if(V=k.primitive||null!==F?y.skip(F):this._skipUntilEnd(y,T),y.isError(V))return V;if("end"===k.tagStr)break}},m.prototype._decodeList=function(y,T,k,F){for(var V=[];!y.isEmpty();){var U=this._peekTag(y,"end");if(y.isError(U))return U;var G=k.decode(y,"der",F);if(y.isError(G)&&U)break;V.push(G)}return V},m.prototype._decodeStr=function(y,T){if("bitstr"===T){var k=y.readUInt8();return y.isError(k)?k:{unused:k,data:y.raw()}}if("bmpstr"===T){var F=y.raw();if(F.length%2==1)return y.error("Decoding of string type: bmpstr length mismatch");for(var V="",U=0;U<F.length/2;U++)V+=String.fromCharCode(F.readUInt16BE(2*U));return V}if("numstr"===T){var G=y.raw().toString("ascii");return this._isNumstr(G)?G:y.error("Decoding of string type: numstr unsupported characters")}if("octstr"===T)return y.raw();if("objDesc"===T)return y.raw();if("printstr"===T){var Y=y.raw().toString("ascii");return this._isPrintstr(Y)?Y:y.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(T)?y.raw().toString():y.error("Decoding of string type: "+T+" unsupported")},m.prototype._decodeObjid=function(y,T,k){for(var F,V=[],U=0;!y.isEmpty();){var G=y.readUInt8();U<<=7,U|=127&G,128&G||(V.push(U),U=0)}if(128&G&&V.push(U),F=k?V:[V[0]/40|0,V[0]%40].concat(V.slice(1)),T){var Z=T[F.join(" ")];void 0===Z&&(Z=T[F.join(".")]),void 0!==Z&&(F=Z)}return F},m.prototype._decodeTime=function(y,T){var k=y.raw().toString();if("gentime"===T)var F=0|k.slice(0,4),V=0|k.slice(4,6),U=0|k.slice(6,8),G=0|k.slice(8,10),Y=0|k.slice(10,12),$=0|k.slice(12,14);else{if("utctime"!==T)return y.error("Decoding "+T+" time is not supported yet");F=0|k.slice(0,2),V=0|k.slice(2,4),U=0|k.slice(4,6),G=0|k.slice(6,8),Y=0|k.slice(8,10),$=0|k.slice(10,12),F=F<70?2e3+F:1900+F}return Date.UTC(F,V-1,U,G,Y,$,0)},m.prototype._decodeNull=function(y){return null},m.prototype._decodeBool=function(y){var T=y.readUInt8();return y.isError(T)?T:0!==T},m.prototype._decodeInt=function(y,T){var k=y.raw(),F=new S(k);return T&&(F=T[F.toString(10)]||F),F},m.prototype._use=function(y,T){return"function"==typeof y&&(y=y(T)),y._getDecoder("der").tree}},1558:(Ve,ee,p)=>{var t=ee;t.der=p(5941),t.pem=p(9316)},9316:(Ve,ee,p)=>{var t=p(1993),e=p(3838).Buffer,C=p(5941);function S(l){C.call(this,l),this.enc="pem"}t(S,C),Ve.exports=S,S.prototype.decode=function(x,m){for(var R=x.toString().split(/[\r\n]+/g),d=m.label.toUpperCase(),w=/^-----(BEGIN|END) ([^-]+)-----$/,y=-1,T=-1,k=0;k<R.length;k++){var F=R[k].match(w);if(null!==F&&F[2]===d){if(-1!==y){if("END"!==F[1])break;T=k;break}if("BEGIN"!==F[1])break;y=k}}if(-1===y||-1===T)throw new Error("PEM section not found for: "+d);var V=R.slice(y+1,T).join("");V.replace(/[^a-z0-9\+\/=]+/gi,"");var U=new e(V,"base64");return C.prototype.decode.call(this,U,m)}},2193:(Ve,ee,p)=>{var t=p(1993),e=p(3838).Buffer,C=p(1990),S=C.base,l=C.constants.der;function x(w){this.enc="der",this.name=w.name,this.entity=w,this.tree=new m,this.tree._init(w.body)}function m(w){S.Node.call(this,"der",w)}function R(w){return w<10?"0"+w:w}Ve.exports=x,x.prototype.encode=function(y,T){return this.tree._encode(y,T).join()},t(m,S.Node),m.prototype._encodeComposite=function(y,T,k,F){var Y,V=function d(w,y,T,k){var F;if("seqof"===w?w="seq":"setof"===w&&(w="set"),l.tagByName.hasOwnProperty(w))F=l.tagByName[w];else{if("number"!=typeof w||(0|w)!==w)return k.error("Unknown tag: "+w);F=w}return F>=31?k.error("Multi-octet tag encoding unsupported"):(y||(F|=32),F|=l.tagClassByName[T||"universal"]<<6)}(y,T,k,this.reporter);if(F.length<128)return(Y=new e(2))[0]=V,Y[1]=F.length,this._createEncoderBuffer([Y,F]);for(var U=1,G=F.length;G>=256;G>>=8)U++;(Y=new e(2+U))[0]=V,Y[1]=128|U,G=1+U;for(var $=F.length;$>0;G--,$>>=8)Y[G]=255&$;return this._createEncoderBuffer([Y,F])},m.prototype._encodeStr=function(y,T){if("bitstr"===T)return this._createEncoderBuffer([0|y.unused,y.data]);if("bmpstr"===T){for(var k=new e(2*y.length),F=0;F<y.length;F++)k.writeUInt16BE(y.charCodeAt(F),2*F);return this._createEncoderBuffer(k)}return"numstr"===T?this._isNumstr(y)?this._createEncoderBuffer(y):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===T?this._isPrintstr(y)?this._createEncoderBuffer(y):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(T)||"objDesc"===T?this._createEncoderBuffer(y):this.reporter.error("Encoding of string type: "+T+" unsupported")},m.prototype._encodeObjid=function(y,T,k){if("string"==typeof y){if(!T)return this.reporter.error("string objid given, but no values map found");if(!T.hasOwnProperty(y))return this.reporter.error("objid not found in values map");y=T[y].split(/[\s\.]+/g);for(var F=0;F<y.length;F++)y[F]|=0}else if(Array.isArray(y))for(y=y.slice(),F=0;F<y.length;F++)y[F]|=0;if(!Array.isArray(y))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(y));if(!k){if(y[1]>=40)return this.reporter.error("Second objid identifier OOB");y.splice(0,2,40*y[0]+y[1])}var V=0;for(F=0;F<y.length;F++){var U=y[F];for(V++;U>=128;U>>=7)V++}var G=new e(V),Y=G.length-1;for(F=y.length-1;F>=0;F--)for(G[Y--]=127&(U=y[F]);(U>>=7)>0;)G[Y--]=128|127&U;return this._createEncoderBuffer(G)},m.prototype._encodeTime=function(y,T){var k,F=new Date(y);return"gentime"===T?k=[R(F.getFullYear()),R(F.getUTCMonth()+1),R(F.getUTCDate()),R(F.getUTCHours()),R(F.getUTCMinutes()),R(F.getUTCSeconds()),"Z"].join(""):"utctime"===T?k=[R(F.getFullYear()%100),R(F.getUTCMonth()+1),R(F.getUTCDate()),R(F.getUTCHours()),R(F.getUTCMinutes()),R(F.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+T+" time is not supported yet"),this._encodeStr(k,"octstr")},m.prototype._encodeNull=function(){return this._createEncoderBuffer("")},m.prototype._encodeInt=function(y,T){if("string"==typeof y){if(!T)return this.reporter.error("String int or enum given, but no values map");if(!T.hasOwnProperty(y))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(y));y=T[y]}if("number"!=typeof y&&!e.isBuffer(y)){var k=y.toArray();!y.sign&&128&k[0]&&k.unshift(0),y=new e(k)}if(e.isBuffer(y)){var F=y.length;0===y.length&&F++;var U=new e(F);return y.copy(U),0===y.length&&(U[0]=0),this._createEncoderBuffer(U)}if(y<128)return this._createEncoderBuffer(y);if(y<256)return this._createEncoderBuffer([0,y]);F=1;for(var V=y;V>=256;V>>=8)F++;for(V=(U=new Array(F)).length-1;V>=0;V--)U[V]=255&y,y>>=8;return 128&U[0]&&U.unshift(0),this._createEncoderBuffer(new e(U))},m.prototype._encodeBool=function(y){return this._createEncoderBuffer(y?255:0)},m.prototype._use=function(y,T){return"function"==typeof y&&(y=y(T)),y._getEncoder("der").tree},m.prototype._skipDefault=function(y,T,k){var V,F=this._baseState;if(null===F.default)return!1;var U=y.join();if(void 0===F.defaultBuffer&&(F.defaultBuffer=this._encodeValue(F.default,T,k).join()),U.length!==F.defaultBuffer.length)return!1;for(V=0;V<U.length;V++)if(U[V]!==F.defaultBuffer[V])return!1;return!0}},2714:(Ve,ee,p)=>{var t=ee;t.der=p(2193),t.pem=p(4816)},4816:(Ve,ee,p)=>{var t=p(1993),e=p(2193);function C(S){e.call(this,S),this.enc="pem"}t(C,e),Ve.exports=C,C.prototype.encode=function(l,x){for(var R=e.prototype.encode.call(this,l).toString("base64"),d=["-----BEGIN "+x.label+"-----"],w=0;w<R.length;w+=64)d.push(R.slice(w,w+64));return d.push("-----END "+x.label+"-----"),d.join("\n")}},6867:function(Ve,ee,p){!function(t,e){"use strict";function C(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var c=function(){};c.prototype=n.prototype,D.prototype=new c,D.prototype.constructor=D}function l(D,n,c){if(l.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(D||0,n||10,c||"be"))}var x;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(8982).Buffer}catch{}function m(D,n){var c=D.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(D,n,c){var f=m(D,c);return c-1>=n&&(f|=m(D,c-1)<<4),f}function d(D,n,c,f){for(var h=0,M=Math.min(D.length,c),L=n;L<M;L++){var O=D.charCodeAt(L)-48;h*=f,h+=O>=49?O-49+10:O>=17?O-17+10:O}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,c){return n.cmp(c)>0?n:c},l.min=function(n,c){return n.cmp(c)<0?n:c},l.prototype._init=function(n,c,f){if("number"==typeof n)return this._initNumber(n,c,f);if("object"==typeof n)return this._initArray(n,c,f);"hex"===c&&(c=16),C(c===(0|c)&&c>=2&&c<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===c?this._parseHex(n,h,f):(this._parseBase(n,c,h),"le"===f&&this._initArray(this.toArray(),c,f)))},l.prototype._initNumber=function(n,c,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):(C(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),c,f)},l.prototype._initArray=function(n,c,f){if(C("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 M,L,O=0;if("be"===f)for(h=n.length-1,M=0;h>=0;h-=3)this.words[M]|=(L=n[h]|n[h-1]<<8|n[h-2]<<16)<<O&67108863,this.words[M+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,M++);else if("le"===f)for(h=0,M=0;h<n.length;h+=3)this.words[M]|=(L=n[h]|n[h+1]<<8|n[h+2]<<16)<<O&67108863,this.words[M+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,M++);return this.strip()},l.prototype._parseHex=function(n,c,f){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var O,M=0,L=0;if("be"===f)for(h=n.length-1;h>=c;h-=2)O=R(n,c,h)<<M,this.words[L]|=67108863&O,M>=18?(M-=18,this.words[L+=1]|=O>>>26):M+=8;else for(h=(n.length-c)%2==0?c+1:c;h<n.length;h+=2)O=R(n,c,h)<<M,this.words[L]|=67108863&O,M>=18?(M-=18,this.words[L+=1]|=O>>>26):M+=8;this.strip()},l.prototype._parseBase=function(n,c,f){this.words=[0],this.length=1;for(var h=0,M=1;M<=67108863;M*=c)h++;h--,M=M/c|0;for(var L=n.length-f,O=L%h,_=Math.min(L,L-O)+f,r=0,v=f;v<_;v+=h)r=d(n,v,v+h,c),this.imuln(M),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==O){var z=1;for(r=d(n,v,n.length,c),v=0;v<O;v++)z*=c;this.imuln(z),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 c=0;c<this.length;c++)n.words[c]=this.words[c];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 w=["","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"],y=[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],T=[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 F(D,n,c){c.negative=n.negative^D.negative;var f=D.length+n.length|0;c.length=f,f=f-1|0;var h=0|D.words[0],M=0|n.words[0],L=h*M,_=L/67108864|0;c.words[0]=67108863&L;for(var r=1;r<f;r++){for(var v=_>>>26,z=67108863&_,N=Math.min(r,n.length-1),ne=Math.max(0,r-D.length+1);ne<=N;ne++)v+=(L=(h=0|D.words[r-ne|0])*(M=0|n.words[ne])+z)/67108864|0,z=67108863&L;c.words[r]=0|z,_=0|v}return 0!==_?c.words[r]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var f;if(c=0|c||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,M=0,L=0;L<this.length;L++){var O=this.words[L],_=(16777215&(O<<h|M)).toString(16);M=O>>>24-h&16777215,(h+=2)>=26&&(h-=26,L--),f=0!==M||L!==this.length-1?w[6-_.length]+_+f:_+f}for(0!==M&&(f=M.toString(16)+f);f.length%c!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=y[n],v=T[n];f="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(v).toString(n);f=(z=z.idivn(v)).isZero()?N+f:w[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%c!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}C(!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&&C(!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,c){return C(typeof x<"u"),this.toArrayLike(x,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,f){var h=this.byteLength(),M=f||Math.max(1,h);C(h<=M,"byte array longer than desired length"),C(M>0,"Requested array length <= 0"),this.strip();var _,r,L="le"===c,O=new n(M),v=this.clone();if(L){for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),O[r]=_;for(;r<M;r++)O[r]=0}else{for(r=0;r<M-h;r++)O[r]=0;for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),O[M-r-1]=_}return O},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var c=n,f=0;return c>=4096&&(f+=13,c>>>=13),c>=64&&(f+=7,c>>>=7),c>=8&&(f+=4,c>>>=4),c>=2&&(f+=2,c>>>=2),f+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,f=0;return 8191&c||(f+=13,c>>>=13),127&c||(f+=7,c>>>=7),15&c||(f+=4,c>>>=4),3&c||(f+=2,c>>>=2),1&c||f++,f},l.prototype.bitLength=function(){var c=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+c},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;c<this.length;c++){var f=this._zeroBits(this.words[c]);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 c=0;c<n.length;c++)this.words[c]=this.words[c]|n.words[c];return this.strip()},l.prototype.ior=function(n){return C(!(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 c;c=this.length>n.length?n:this;for(var f=0;f<c.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=c.length,this.strip()},l.prototype.iand=function(n){return C(!(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 c,f;this.length>n.length?(c=this,f=n):(c=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=c.words[h]^f.words[h];if(this!==c)for(;h<c.length;h++)this.words[h]=c.words[h];return this.length=c.length,this.strip()},l.prototype.ixor=function(n){return C(!(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){C("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),f=n%26;this._expand(c),f>0&&c--;for(var h=0;h<c;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,c){C("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=c?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var c,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,c=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,c=this.isub(n),n.negative=1,c._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var M=0,L=0;L<h.length;L++)this.words[L]=67108863&(c=(0|f.words[L])+(0|h.words[L])+M),M=c>>>26;for(;0!==M&&L<f.length;L++)this.words[L]=67108863&(c=(0|f.words[L])+M),M=c>>>26;if(this.length=f.length,0!==M)this.words[this.length]=M,this.length++;else if(f!==this)for(;L<f.length;L++)this.words[L]=f.words[L];return this},l.prototype.add=function(n){var c;return 0!==n.negative&&0===this.negative?(n.negative=0,c=this.sub(n),n.negative^=1,c):0===n.negative&&0!==this.negative?(this.negative=0,c=n.sub(this),this.negative=1,c):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 c=this.iadd(n);return n.negative=1,c._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,M,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,M=n):(h=n,M=this);for(var L=0,O=0;O<M.length;O++)L=(c=(0|h.words[O])-(0|M.words[O])+L)>>26,this.words[O]=67108863&c;for(;0!==L&&O<h.length;O++)L=(c=(0|h.words[O])+L)>>26,this.words[O]=67108863&c;if(0===L&&O<h.length&&h!==this)for(;O<h.length;O++)this.words[O]=h.words[O];return this.length=Math.max(this.length,O),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var V=function(n,c,f){var _,r,v,h=n.words,M=c.words,L=f.words,O=0,z=0|h[0],N=8191&z,ne=z>>>13,Ie=0|h[1],at=8191&Ie,Ye=Ie>>>13,rt=0|h[2],re=8191&rt,te=rt>>>13,oe=0|h[3],_e=8191&oe,de=oe>>>13,pe=0|h[4],We=8191&pe,se=pe>>>13,fe=0|h[5],he=8191&fe,et=fe>>>13,Ke=0|h[6],Ct=8191&Ke,_t=Ke>>>13,Nt=0|h[7],ke=8191&Nt,Je=Nt>>>13,Qe=0|h[8],nt=8191&Qe,Ue=Qe>>>13,ht=0|h[9],tt=8191&ht,wt=ht>>>13,ut=0|M[0],vt=8191&ut,Ze=ut>>>13,jt=0|M[1],qe=8191&jt,dt=jt>>>13,Le=0|M[2],Vt=8191&Le,Zt=Le>>>13,Et=0|M[3],je=8191&Et,me=Et>>>13,xe=0|M[4],ce=8191&xe,Me=xe>>>13,Xe=0|M[5],Pe=8191&Xe,Oe=Xe>>>13,we=0|M[6],De=8191&we,$e=we>>>13,$t=0|M[7],Ft=8191&$t,Kt=$t>>>13,fi=0|M[8],Qt=8191&fi,zt=fi>>>13,Xi=0|M[9],ci=8191&Xi,ui=Xi>>>13;f.negative=n.negative^c.negative,f.length=19;var bn=(O+(_=Math.imul(N,vt))|0)+((8191&(r=(r=Math.imul(N,Ze))+Math.imul(ne,vt)|0))<<13)|0;O=((v=Math.imul(ne,Ze))+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,_=Math.imul(at,vt),r=(r=Math.imul(at,Ze))+Math.imul(Ye,vt)|0,v=Math.imul(Ye,Ze);var Qi=(O+(_=_+Math.imul(N,qe)|0)|0)+((8191&(r=(r=r+Math.imul(N,dt)|0)+Math.imul(ne,qe)|0))<<13)|0;O=((v=v+Math.imul(ne,dt)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(re,vt),r=(r=Math.imul(re,Ze))+Math.imul(te,vt)|0,v=Math.imul(te,Ze),_=_+Math.imul(at,qe)|0,r=(r=r+Math.imul(at,dt)|0)+Math.imul(Ye,qe)|0,v=v+Math.imul(Ye,dt)|0;var Li=(O+(_=_+Math.imul(N,Vt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(ne,Vt)|0))<<13)|0;O=((v=v+Math.imul(ne,Zt)|0)+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,_=Math.imul(_e,vt),r=(r=Math.imul(_e,Ze))+Math.imul(de,vt)|0,v=Math.imul(de,Ze),_=_+Math.imul(re,qe)|0,r=(r=r+Math.imul(re,dt)|0)+Math.imul(te,qe)|0,v=v+Math.imul(te,dt)|0,_=_+Math.imul(at,Vt)|0,r=(r=r+Math.imul(at,Zt)|0)+Math.imul(Ye,Vt)|0,v=v+Math.imul(Ye,Zt)|0;var nn=(O+(_=_+Math.imul(N,je)|0)|0)+((8191&(r=(r=r+Math.imul(N,me)|0)+Math.imul(ne,je)|0))<<13)|0;O=((v=v+Math.imul(ne,me)|0)+(r>>>13)|0)+(nn>>>26)|0,nn&=67108863,_=Math.imul(We,vt),r=(r=Math.imul(We,Ze))+Math.imul(se,vt)|0,v=Math.imul(se,Ze),_=_+Math.imul(_e,qe)|0,r=(r=r+Math.imul(_e,dt)|0)+Math.imul(de,qe)|0,v=v+Math.imul(de,dt)|0,_=_+Math.imul(re,Vt)|0,r=(r=r+Math.imul(re,Zt)|0)+Math.imul(te,Vt)|0,v=v+Math.imul(te,Zt)|0,_=_+Math.imul(at,je)|0,r=(r=r+Math.imul(at,me)|0)+Math.imul(Ye,je)|0,v=v+Math.imul(Ye,me)|0;var st=(O+(_=_+Math.imul(N,ce)|0)|0)+((8191&(r=(r=r+Math.imul(N,Me)|0)+Math.imul(ne,ce)|0))<<13)|0;O=((v=v+Math.imul(ne,Me)|0)+(r>>>13)|0)+(st>>>26)|0,st&=67108863,_=Math.imul(he,vt),r=(r=Math.imul(he,Ze))+Math.imul(et,vt)|0,v=Math.imul(et,Ze),_=_+Math.imul(We,qe)|0,r=(r=r+Math.imul(We,dt)|0)+Math.imul(se,qe)|0,v=v+Math.imul(se,dt)|0,_=_+Math.imul(_e,Vt)|0,r=(r=r+Math.imul(_e,Zt)|0)+Math.imul(de,Vt)|0,v=v+Math.imul(de,Zt)|0,_=_+Math.imul(re,je)|0,r=(r=r+Math.imul(re,me)|0)+Math.imul(te,je)|0,v=v+Math.imul(te,me)|0,_=_+Math.imul(at,ce)|0,r=(r=r+Math.imul(at,Me)|0)+Math.imul(Ye,ce)|0,v=v+Math.imul(Ye,Me)|0;var ii=(O+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(r=(r=r+Math.imul(N,Oe)|0)+Math.imul(ne,Pe)|0))<<13)|0;O=((v=v+Math.imul(ne,Oe)|0)+(r>>>13)|0)+(ii>>>26)|0,ii&=67108863,_=Math.imul(Ct,vt),r=(r=Math.imul(Ct,Ze))+Math.imul(_t,vt)|0,v=Math.imul(_t,Ze),_=_+Math.imul(he,qe)|0,r=(r=r+Math.imul(he,dt)|0)+Math.imul(et,qe)|0,v=v+Math.imul(et,dt)|0,_=_+Math.imul(We,Vt)|0,r=(r=r+Math.imul(We,Zt)|0)+Math.imul(se,Vt)|0,v=v+Math.imul(se,Zt)|0,_=_+Math.imul(_e,je)|0,r=(r=r+Math.imul(_e,me)|0)+Math.imul(de,je)|0,v=v+Math.imul(de,me)|0,_=_+Math.imul(re,ce)|0,r=(r=r+Math.imul(re,Me)|0)+Math.imul(te,ce)|0,v=v+Math.imul(te,Me)|0,_=_+Math.imul(at,Pe)|0,r=(r=r+Math.imul(at,Oe)|0)+Math.imul(Ye,Pe)|0,v=v+Math.imul(Ye,Oe)|0;var Se=(O+(_=_+Math.imul(N,De)|0)|0)+((8191&(r=(r=r+Math.imul(N,$e)|0)+Math.imul(ne,De)|0))<<13)|0;O=((v=v+Math.imul(ne,$e)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,_=Math.imul(ke,vt),r=(r=Math.imul(ke,Ze))+Math.imul(Je,vt)|0,v=Math.imul(Je,Ze),_=_+Math.imul(Ct,qe)|0,r=(r=r+Math.imul(Ct,dt)|0)+Math.imul(_t,qe)|0,v=v+Math.imul(_t,dt)|0,_=_+Math.imul(he,Vt)|0,r=(r=r+Math.imul(he,Zt)|0)+Math.imul(et,Vt)|0,v=v+Math.imul(et,Zt)|0,_=_+Math.imul(We,je)|0,r=(r=r+Math.imul(We,me)|0)+Math.imul(se,je)|0,v=v+Math.imul(se,me)|0,_=_+Math.imul(_e,ce)|0,r=(r=r+Math.imul(_e,Me)|0)+Math.imul(de,ce)|0,v=v+Math.imul(de,Me)|0,_=_+Math.imul(re,Pe)|0,r=(r=r+Math.imul(re,Oe)|0)+Math.imul(te,Pe)|0,v=v+Math.imul(te,Oe)|0,_=_+Math.imul(at,De)|0,r=(r=r+Math.imul(at,$e)|0)+Math.imul(Ye,De)|0,v=v+Math.imul(Ye,$e)|0;var Mt=(O+(_=_+Math.imul(N,Ft)|0)|0)+((8191&(r=(r=r+Math.imul(N,Kt)|0)+Math.imul(ne,Ft)|0))<<13)|0;O=((v=v+Math.imul(ne,Kt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul(nt,vt),r=(r=Math.imul(nt,Ze))+Math.imul(Ue,vt)|0,v=Math.imul(Ue,Ze),_=_+Math.imul(ke,qe)|0,r=(r=r+Math.imul(ke,dt)|0)+Math.imul(Je,qe)|0,v=v+Math.imul(Je,dt)|0,_=_+Math.imul(Ct,Vt)|0,r=(r=r+Math.imul(Ct,Zt)|0)+Math.imul(_t,Vt)|0,v=v+Math.imul(_t,Zt)|0,_=_+Math.imul(he,je)|0,r=(r=r+Math.imul(he,me)|0)+Math.imul(et,je)|0,v=v+Math.imul(et,me)|0,_=_+Math.imul(We,ce)|0,r=(r=r+Math.imul(We,Me)|0)+Math.imul(se,ce)|0,v=v+Math.imul(se,Me)|0,_=_+Math.imul(_e,Pe)|0,r=(r=r+Math.imul(_e,Oe)|0)+Math.imul(de,Pe)|0,v=v+Math.imul(de,Oe)|0,_=_+Math.imul(re,De)|0,r=(r=r+Math.imul(re,$e)|0)+Math.imul(te,De)|0,v=v+Math.imul(te,$e)|0,_=_+Math.imul(at,Ft)|0,r=(r=r+Math.imul(at,Kt)|0)+Math.imul(Ye,Ft)|0,v=v+Math.imul(Ye,Kt)|0;var Pt=(O+(_=_+Math.imul(N,Qt)|0)|0)+((8191&(r=(r=r+Math.imul(N,zt)|0)+Math.imul(ne,Qt)|0))<<13)|0;O=((v=v+Math.imul(ne,zt)|0)+(r>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,_=Math.imul(tt,vt),r=(r=Math.imul(tt,Ze))+Math.imul(wt,vt)|0,v=Math.imul(wt,Ze),_=_+Math.imul(nt,qe)|0,r=(r=r+Math.imul(nt,dt)|0)+Math.imul(Ue,qe)|0,v=v+Math.imul(Ue,dt)|0,_=_+Math.imul(ke,Vt)|0,r=(r=r+Math.imul(ke,Zt)|0)+Math.imul(Je,Vt)|0,v=v+Math.imul(Je,Zt)|0,_=_+Math.imul(Ct,je)|0,r=(r=r+Math.imul(Ct,me)|0)+Math.imul(_t,je)|0,v=v+Math.imul(_t,me)|0,_=_+Math.imul(he,ce)|0,r=(r=r+Math.imul(he,Me)|0)+Math.imul(et,ce)|0,v=v+Math.imul(et,Me)|0,_=_+Math.imul(We,Pe)|0,r=(r=r+Math.imul(We,Oe)|0)+Math.imul(se,Pe)|0,v=v+Math.imul(se,Oe)|0,_=_+Math.imul(_e,De)|0,r=(r=r+Math.imul(_e,$e)|0)+Math.imul(de,De)|0,v=v+Math.imul(de,$e)|0,_=_+Math.imul(re,Ft)|0,r=(r=r+Math.imul(re,Kt)|0)+Math.imul(te,Ft)|0,v=v+Math.imul(te,Kt)|0,_=_+Math.imul(at,Qt)|0,r=(r=r+Math.imul(at,zt)|0)+Math.imul(Ye,Qt)|0,v=v+Math.imul(Ye,zt)|0;var ai=(O+(_=_+Math.imul(N,ci)|0)|0)+((8191&(r=(r=r+Math.imul(N,ui)|0)+Math.imul(ne,ci)|0))<<13)|0;O=((v=v+Math.imul(ne,ui)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,_=Math.imul(tt,qe),r=(r=Math.imul(tt,dt))+Math.imul(wt,qe)|0,v=Math.imul(wt,dt),_=_+Math.imul(nt,Vt)|0,r=(r=r+Math.imul(nt,Zt)|0)+Math.imul(Ue,Vt)|0,v=v+Math.imul(Ue,Zt)|0,_=_+Math.imul(ke,je)|0,r=(r=r+Math.imul(ke,me)|0)+Math.imul(Je,je)|0,v=v+Math.imul(Je,me)|0,_=_+Math.imul(Ct,ce)|0,r=(r=r+Math.imul(Ct,Me)|0)+Math.imul(_t,ce)|0,v=v+Math.imul(_t,Me)|0,_=_+Math.imul(he,Pe)|0,r=(r=r+Math.imul(he,Oe)|0)+Math.imul(et,Pe)|0,v=v+Math.imul(et,Oe)|0,_=_+Math.imul(We,De)|0,r=(r=r+Math.imul(We,$e)|0)+Math.imul(se,De)|0,v=v+Math.imul(se,$e)|0,_=_+Math.imul(_e,Ft)|0,r=(r=r+Math.imul(_e,Kt)|0)+Math.imul(de,Ft)|0,v=v+Math.imul(de,Kt)|0,_=_+Math.imul(re,Qt)|0,r=(r=r+Math.imul(re,zt)|0)+Math.imul(te,Qt)|0,v=v+Math.imul(te,zt)|0;var Ei=(O+(_=_+Math.imul(at,ci)|0)|0)+((8191&(r=(r=r+Math.imul(at,ui)|0)+Math.imul(Ye,ci)|0))<<13)|0;O=((v=v+Math.imul(Ye,ui)|0)+(r>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,_=Math.imul(tt,Vt),r=(r=Math.imul(tt,Zt))+Math.imul(wt,Vt)|0,v=Math.imul(wt,Zt),_=_+Math.imul(nt,je)|0,r=(r=r+Math.imul(nt,me)|0)+Math.imul(Ue,je)|0,v=v+Math.imul(Ue,me)|0,_=_+Math.imul(ke,ce)|0,r=(r=r+Math.imul(ke,Me)|0)+Math.imul(Je,ce)|0,v=v+Math.imul(Je,Me)|0,_=_+Math.imul(Ct,Pe)|0,r=(r=r+Math.imul(Ct,Oe)|0)+Math.imul(_t,Pe)|0,v=v+Math.imul(_t,Oe)|0,_=_+Math.imul(he,De)|0,r=(r=r+Math.imul(he,$e)|0)+Math.imul(et,De)|0,v=v+Math.imul(et,$e)|0,_=_+Math.imul(We,Ft)|0,r=(r=r+Math.imul(We,Kt)|0)+Math.imul(se,Ft)|0,v=v+Math.imul(se,Kt)|0,_=_+Math.imul(_e,Qt)|0,r=(r=r+Math.imul(_e,zt)|0)+Math.imul(de,Qt)|0,v=v+Math.imul(de,zt)|0;var Hi=(O+(_=_+Math.imul(re,ci)|0)|0)+((8191&(r=(r=r+Math.imul(re,ui)|0)+Math.imul(te,ci)|0))<<13)|0;O=((v=v+Math.imul(te,ui)|0)+(r>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul(tt,je),r=(r=Math.imul(tt,me))+Math.imul(wt,je)|0,v=Math.imul(wt,me),_=_+Math.imul(nt,ce)|0,r=(r=r+Math.imul(nt,Me)|0)+Math.imul(Ue,ce)|0,v=v+Math.imul(Ue,Me)|0,_=_+Math.imul(ke,Pe)|0,r=(r=r+Math.imul(ke,Oe)|0)+Math.imul(Je,Pe)|0,v=v+Math.imul(Je,Oe)|0,_=_+Math.imul(Ct,De)|0,r=(r=r+Math.imul(Ct,$e)|0)+Math.imul(_t,De)|0,v=v+Math.imul(_t,$e)|0,_=_+Math.imul(he,Ft)|0,r=(r=r+Math.imul(he,Kt)|0)+Math.imul(et,Ft)|0,v=v+Math.imul(et,Kt)|0,_=_+Math.imul(We,Qt)|0,r=(r=r+Math.imul(We,zt)|0)+Math.imul(se,Qt)|0,v=v+Math.imul(se,zt)|0;var $i=(O+(_=_+Math.imul(_e,ci)|0)|0)+((8191&(r=(r=r+Math.imul(_e,ui)|0)+Math.imul(de,ci)|0))<<13)|0;O=((v=v+Math.imul(de,ui)|0)+(r>>>13)|0)+($i>>>26)|0,$i&=67108863,_=Math.imul(tt,ce),r=(r=Math.imul(tt,Me))+Math.imul(wt,ce)|0,v=Math.imul(wt,Me),_=_+Math.imul(nt,Pe)|0,r=(r=r+Math.imul(nt,Oe)|0)+Math.imul(Ue,Pe)|0,v=v+Math.imul(Ue,Oe)|0,_=_+Math.imul(ke,De)|0,r=(r=r+Math.imul(ke,$e)|0)+Math.imul(Je,De)|0,v=v+Math.imul(Je,$e)|0,_=_+Math.imul(Ct,Ft)|0,r=(r=r+Math.imul(Ct,Kt)|0)+Math.imul(_t,Ft)|0,v=v+Math.imul(_t,Kt)|0,_=_+Math.imul(he,Qt)|0,r=(r=r+Math.imul(he,zt)|0)+Math.imul(et,Qt)|0,v=v+Math.imul(et,zt)|0;var hn=(O+(_=_+Math.imul(We,ci)|0)|0)+((8191&(r=(r=r+Math.imul(We,ui)|0)+Math.imul(se,ci)|0))<<13)|0;O=((v=v+Math.imul(se,ui)|0)+(r>>>13)|0)+(hn>>>26)|0,hn&=67108863,_=Math.imul(tt,Pe),r=(r=Math.imul(tt,Oe))+Math.imul(wt,Pe)|0,v=Math.imul(wt,Oe),_=_+Math.imul(nt,De)|0,r=(r=r+Math.imul(nt,$e)|0)+Math.imul(Ue,De)|0,v=v+Math.imul(Ue,$e)|0,_=_+Math.imul(ke,Ft)|0,r=(r=r+Math.imul(ke,Kt)|0)+Math.imul(Je,Ft)|0,v=v+Math.imul(Je,Kt)|0,_=_+Math.imul(Ct,Qt)|0,r=(r=r+Math.imul(Ct,zt)|0)+Math.imul(_t,Qt)|0,v=v+Math.imul(_t,zt)|0;var Fi=(O+(_=_+Math.imul(he,ci)|0)|0)+((8191&(r=(r=r+Math.imul(he,ui)|0)+Math.imul(et,ci)|0))<<13)|0;O=((v=v+Math.imul(et,ui)|0)+(r>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,_=Math.imul(tt,De),r=(r=Math.imul(tt,$e))+Math.imul(wt,De)|0,v=Math.imul(wt,$e),_=_+Math.imul(nt,Ft)|0,r=(r=r+Math.imul(nt,Kt)|0)+Math.imul(Ue,Ft)|0,v=v+Math.imul(Ue,Kt)|0,_=_+Math.imul(ke,Qt)|0,r=(r=r+Math.imul(ke,zt)|0)+Math.imul(Je,Qt)|0,v=v+Math.imul(Je,zt)|0;var _n=(O+(_=_+Math.imul(Ct,ci)|0)|0)+((8191&(r=(r=r+Math.imul(Ct,ui)|0)+Math.imul(_t,ci)|0))<<13)|0;O=((v=v+Math.imul(_t,ui)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,_=Math.imul(tt,Ft),r=(r=Math.imul(tt,Kt))+Math.imul(wt,Ft)|0,v=Math.imul(wt,Kt),_=_+Math.imul(nt,Qt)|0,r=(r=r+Math.imul(nt,zt)|0)+Math.imul(Ue,Qt)|0,v=v+Math.imul(Ue,zt)|0;var mn=(O+(_=_+Math.imul(ke,ci)|0)|0)+((8191&(r=(r=r+Math.imul(ke,ui)|0)+Math.imul(Je,ci)|0))<<13)|0;O=((v=v+Math.imul(Je,ui)|0)+(r>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul(tt,Qt),r=(r=Math.imul(tt,zt))+Math.imul(wt,Qt)|0,v=Math.imul(wt,zt);var Dt=(O+(_=_+Math.imul(nt,ci)|0)|0)+((8191&(r=(r=r+Math.imul(nt,ui)|0)+Math.imul(Ue,ci)|0))<<13)|0;O=((v=v+Math.imul(Ue,ui)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var ct=(O+(_=Math.imul(tt,ci))|0)+((8191&(r=(r=Math.imul(tt,ui))+Math.imul(wt,ci)|0))<<13)|0;return O=((v=Math.imul(wt,ui))+(r>>>13)|0)+(ct>>>26)|0,ct&=67108863,L[0]=bn,L[1]=Qi,L[2]=Li,L[3]=nn,L[4]=st,L[5]=ii,L[6]=Se,L[7]=Mt,L[8]=Pt,L[9]=ai,L[10]=Ei,L[11]=Hi,L[12]=$i,L[13]=hn,L[14]=Fi,L[15]=_n,L[16]=mn,L[17]=Dt,L[18]=ct,0!==O&&(L[19]=O,f.length++),f};function G(D,n,c){return(new Y).mulp(D,n,c)}function Y(D,n){this.x=D,this.y=n}Math.imul||(V=F),l.prototype.mulTo=function(n,c){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?V(this,n,c):h<63?F(this,n,c):h<1024?function U(D,n,c){c.negative=n.negative^D.negative,c.length=D.length+n.length;for(var f=0,h=0,M=0;M<c.length-1;M++){var L=h;h=0;for(var O=67108863&f,_=Math.min(M,n.length-1),r=Math.max(0,M-D.length+1);r<=_;r++){var ne=(0|D.words[M-r])*(0|n.words[r]),Ie=67108863≠O=67108863&(Ie=Ie+O|0),h+=(L=(L=L+(ne/67108864|0)|0)+(Ie>>>26)|0)>>>26,L&=67108863}c.words[M]=O,f=L,L=h}return 0!==f?c.words[M]=f:c.length--,c.strip()}(this,n,c):G(this,n,c),f},Y.prototype.makeRBT=function(n){for(var c=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)c[h]=this.revBin(h,f,n);return c},Y.prototype.revBin=function(n,c,f){if(0===n||n===f-1)return n;for(var h=0,M=0;M<c;M++)h|=(1&n)<<c-M-1,n>>=1;return h},Y.prototype.permute=function(n,c,f,h,M,L){for(var O=0;O<L;O++)h[O]=c[n[O]],M[O]=f[n[O]]},Y.prototype.transform=function(n,c,f,h,M,L){this.permute(L,n,c,f,h,M);for(var O=1;O<M;O<<=1)for(var _=O<<1,r=Math.cos(2*Math.PI/_),v=Math.sin(2*Math.PI/_),z=0;z<M;z+=_)for(var N=r,ne=v,Ie=0;Ie<O;Ie++){var at=f[z+Ie],Ye=h[z+Ie],rt=f[z+Ie+O],re=h[z+Ie+O],te=N*rt-ne*re;re=N*re+ne*rt,f[z+Ie]=at+(rt=te),h[z+Ie]=Ye+re,f[z+Ie+O]=at-rt,h[z+Ie+O]=Ye-re,Ie!==_&&(te=r*N-v*ne,ne=r*ne+v*N,N=te)}},Y.prototype.guessLen13b=function(n,c){var f=1|Math.max(c,n),h=1&f,M=0;for(f=f/2|0;f;f>>>=1)M++;return 1<<M+1+h},Y.prototype.conjugate=function(n,c,f){if(!(f<=1))for(var h=0;h<f/2;h++){var M=n[h];n[h]=n[f-h-1],n[f-h-1]=M,M=c[h],c[h]=-c[f-h-1],c[f-h-1]=-M}},Y.prototype.normalize13b=function(n,c){for(var f=0,h=0;h<c/2;h++){var M=8192*Math.round(n[2*h+1]/c)+Math.round(n[2*h]/c)+f;n[h]=67108863&M,f=M<67108864?0:M/67108864|0}return n},Y.prototype.convert13b=function(n,c,f,h){for(var M=0,L=0;L<c;L++)f[2*L]=8191&(M+=0|n[L]),f[2*L+1]=8191&(M>>>=13),M>>>=13;for(L=2*c;L<h;++L)f[L]=0;C(0===M),C(!(-8192&M))},Y.prototype.stub=function(n){for(var c=new Array(n),f=0;f<n;f++)c[f]=0;return c},Y.prototype.mulp=function(n,c,f){var h=2*this.guessLen13b(n.length,c.length),M=this.makeRBT(h),L=this.stub(h),O=new Array(h),_=new Array(h),r=new Array(h),v=new Array(h),z=new Array(h),N=new Array(h),ne=f.words;ne.length=h,this.convert13b(n.words,n.length,O,h),this.convert13b(c.words,c.length,v,h),this.transform(O,L,_,r,h,M),this.transform(v,L,z,N,h,M);for(var Ie=0;Ie<h;Ie++){var at=_[Ie]*z[Ie]-r[Ie]*N[Ie];r[Ie]=_[Ie]*N[Ie]+r[Ie]*z[Ie],_[Ie]=at}return this.conjugate(_,r,h),this.transform(_,r,ne,L,h,M),this.conjugate(ne,L,h),this.normalize13b(ne,h),f.negative=n.negative^c.negative,f.length=n.length+c.length,f.strip()},l.prototype.mul=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},l.prototype.mulf=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),G(this,n,c)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){C("number"==typeof n),C(n<67108864);for(var c=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,M=(67108863&h)+(67108863&c);c>>=26,c+=h/67108864|0,c+=M>>>26,this.words[f]=67108863&M}return 0!==c&&(this.words[f]=c,this.length++),this.length=0===n?1: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 c=function k(D){for(var n=new Array(D.bitLength()),c=0;c<n.length;c++){var h=c%26;n[c]=(D.words[c/26|0]&1<<h)>>>h}return n}(n);if(0===c.length)return new l(1);for(var f=this,h=0;h<c.length&&0===c[h];h++,f=f.sqr());if(++h<c.length)for(var M=f.sqr();h<c.length;h++,M=M.sqr())0!==c[h]&&(f=f.mul(M));return f},l.prototype.iushln=function(n){C("number"==typeof n&&n>=0);var M,c=n%26,f=(n-c)/26,h=67108863>>>26-c<<26-c;if(0!==c){var L=0;for(M=0;M<this.length;M++){var O=this.words[M]&h;this.words[M]=(0|this.words[M])-O<<c|L,L=O>>>26-c}L&&(this.words[M]=L,this.length++)}if(0!==f){for(M=this.length-1;M>=0;M--)this.words[M+f]=this.words[M];for(M=0;M<f;M++)this.words[M]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return C(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,c,f){var h;C("number"==typeof n&&n>=0),h=c?(c-c%26)/26:0;var M=n%26,L=Math.min((n-M)/26,this.length),O=67108863^67108863>>>M<<M,_=f;if(h-=L,h=Math.max(0,h),_){for(var r=0;r<L;r++)_.words[r]=this.words[r];_.length=L}if(0!==L)if(this.length>L)for(this.length-=L,r=0;r<this.length;r++)this.words[r]=this.words[r+L];else this.words[0]=0,this.length=1;var v=0;for(r=this.length-1;r>=0&&(0!==v||r>=h);r--){var z=0|this.words[r];this.words[r]=v<<26-M|z>>>M,v=z&O}return _&&0!==v&&(_.words[_.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,f){return C(0===this.negative),this.iushrn(n,c,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){C("number"==typeof n&&n>=0);var c=n%26,f=(n-c)/26;return!(this.length<=f||!(this.words[f]&1<<c))},l.prototype.imaskn=function(n){C("number"==typeof n&&n>=0);var c=n%26,f=(n-c)/26;return C(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==c&&f++,this.length=Math.min(f,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>c<<c),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return C("number"==typeof n),C(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 c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},l.prototype.isubn=function(n){if(C("number"==typeof n),C(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 c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+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,c,f){var M;this._expand(n.length+f);var L,O=0;for(M=0;M<n.length;M++){L=(0|this.words[M+f])+O;var _=(0|n.words[M])*c;O=((L-=67108863&_)>>26)-(_/67108864|0),this.words[M+f]=67108863&L}for(;M<this.length-f;M++)O=(L=(0|this.words[M+f])+O)>>26,this.words[M+f]=67108863&L;if(0===O)return this.strip();for(C(-1===O),O=0,M=0;M<this.length;M++)O=(L=-(0|this.words[M])+O)>>26,this.words[M]=67108863&L;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var f,h=this.clone(),M=n,L=0|M.words[M.length-1];0!=(f=26-this._countBits(L))&&(M=M.ushln(f),h.iushln(f),L=0|M.words[M.length-1]);var r,_=h.length-M.length;if("mod"!==c){(r=new l(null)).length=_+1,r.words=new Array(r.length);for(var v=0;v<r.length;v++)r.words[v]=0}var z=h.clone()._ishlnsubmul(M,1,_);0===z.negative&&(h=z,r&&(r.words[_]=1));for(var N=_-1;N>=0;N--){var ne=67108864*(0|h.words[M.length+N])+(0|h.words[M.length+N-1]);for(ne=Math.min(ne/L|0,67108863),h._ishlnsubmul(M,ne,N);0!==h.negative;)ne--,h.negative=0,h._ishlnsubmul(M,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ne)}return r&&r.strip(),h.strip(),"div"!==c&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,c,f){return C(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(L=this.neg().divmod(n,c),"mod"!==c&&(h=L.div.neg()),"div"!==c&&(M=L.mod.neg(),f&&0!==M.negative&&M.iadd(n)),{div:h,mod:M}):0===this.negative&&0!==n.negative?(L=this.divmod(n.neg(),c),"mod"!==c&&(h=L.div.neg()),{div:h,mod:L.mod}):this.negative&n.negative?(L=this.neg().divmod(n.neg(),c),"div"!==c&&(M=L.mod.neg(),f&&0!==M.negative&&M.isub(n)),{div:L.div,mod:M}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===c?{div:this.divn(n.words[0]),mod:null}:"mod"===c?{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,c);var h,M,L},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 c=this.divmod(n);if(c.mod.isZero())return c.div;var f=0!==c.div.negative?c.mod.isub(n):c.mod,h=n.ushrn(1),M=n.andln(1),L=f.cmp(h);return L<0||1===M&&0===L?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){C(n<=67108863);for(var c=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(c*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){C(n<=67108863);for(var c=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*c;this.words[f]=h/n|0,c=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){C(0===n.negative),C(!n.isZero());var c=this,f=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),M=new l(0),L=new l(0),O=new l(1),_=0;c.isEven()&&f.isEven();)c.iushrn(1),f.iushrn(1),++_;for(var r=f.clone(),v=c.clone();!c.isZero();){for(var z=0,N=1;!(c.words[0]&N)&&z<26;++z,N<<=1);if(z>0)for(c.iushrn(z);z-- >0;)(h.isOdd()||M.isOdd())&&(h.iadd(r),M.isub(v)),h.iushrn(1),M.iushrn(1);for(var ne=0,Ie=1;!(f.words[0]&Ie)&&ne<26;++ne,Ie<<=1);if(ne>0)for(f.iushrn(ne);ne-- >0;)(L.isOdd()||O.isOdd())&&(L.iadd(r),O.isub(v)),L.iushrn(1),O.iushrn(1);c.cmp(f)>=0?(c.isub(f),h.isub(L),M.isub(O)):(f.isub(c),L.isub(h),O.isub(M))}return{a:L,b:O,gcd:f.iushln(_)}},l.prototype._invmp=function(n){C(0===n.negative),C(!n.isZero());var z,c=this,f=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),M=new l(0),L=f.clone();c.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,_=1;!(c.words[0]&_)&&O<26;++O,_<<=1);if(O>0)for(c.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(L),h.iushrn(1);for(var r=0,v=1;!(f.words[0]&v)&&r<26;++r,v<<=1);if(r>0)for(f.iushrn(r);r-- >0;)M.isOdd()&&M.iadd(L),M.iushrn(1);c.cmp(f)>=0?(c.isub(f),h.isub(M)):(f.isub(c),M.isub(h))}return(z=0===c.cmpn(1)?h:M).cmpn(0)<0&&z.iadd(n),z},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),f=n.clone();c.negative=0,f.negative=0;for(var h=0;c.isEven()&&f.isEven();h++)c.iushrn(1),f.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;f.isEven();)f.iushrn(1);var M=c.cmp(f);if(M<0){var L=c;c=f,f=L}else if(0===M||0===f.cmpn(1))break;c.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){C("number"==typeof n);var c=n%26,f=(n-c)/26,h=1<<c;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var M=h,L=f;0!==M&&L<this.length;L++){var O=0|this.words[L];M=(O+=M)>>>26,this.words[L]=O&=67108863}return 0!==M&&(this.words[L]=M,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)f=1;else{c&&(n=-n),C(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 c=this.ucmp(n);return 0!==this.negative?0|-c:c},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var c=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],M=0|n.words[f];if(h!==M){h<M?c=-1:h>M&&(c=1);break}}return c},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 ue(n)},l.prototype.toRed=function(n){return C(!this.red,"Already a number in reduction context"),C(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return C(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 C(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return C(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return C(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return C(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return C(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return C(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return C(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return C(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return C(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return C(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return C(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return C(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var $={k256:null,p224:null,p192:null,p25519:null};function Z(D,n){this.name=D,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 ie(){Z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ve(){Z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){Z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ye(){Z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ue(D){if("string"==typeof D){var n=l._prime(D);this.m=n.p,this.prime=n}else C(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function be(D){ue.call(this,D),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)}Z.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},Z.prototype.ireduce=function(n){var f,c=n;do{this.split(c,this.tmp),f=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:c.ucmp(this.p);return 0===h?(c.words[0]=0,c.length=1):h>0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},Z.prototype.split=function(n,c){n.iushrn(this.n,0,c)},Z.prototype.imulK=function(n){return n.imul(this.k)},S(ie,Z),ie.prototype.split=function(n,c){for(var f=4194303,h=Math.min(n.length,9),M=0;M<h;M++)c.words[M]=n.words[M];if(c.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var L=n.words[9];for(c.words[c.length++]=L&f,M=10;M<n.length;M++){var O=0|n.words[M];n.words[M-10]=(O&f)<<4|L>>>22,L=O}n.words[M-10]=L>>>=22,n.length-=0===L&&n.length>10?10:9},ie.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(c+=977*h),c=64*h+(c/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ve,Z),S(ae,Z),S(ye,Z),ye.prototype.imulK=function(n){for(var c=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+c,M=67108863&h;h>>>=26,n.words[f]=M,c=h}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if($[n])return $[n];var c;if("k256"===n)c=new ie;else if("p224"===n)c=new ve;else if("p192"===n)c=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new ye}return $[n]=c,c},ue.prototype._verify1=function(n){C(0===n.negative,"red works only with positives"),C(n.red,"red works only with red numbers")},ue.prototype._verify2=function(n,c){C(!(n.negative|c.negative),"red works only with positives"),C(n.red&&n.red===c.red,"red works only with red numbers")},ue.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},ue.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},ue.prototype.add=function(n,c){this._verify2(n,c);var f=n.add(c);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},ue.prototype.iadd=function(n,c){this._verify2(n,c);var f=n.iadd(c);return f.cmp(this.m)>=0&&f.isub(this.m),f},ue.prototype.sub=function(n,c){this._verify2(n,c);var f=n.sub(c);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},ue.prototype.isub=function(n,c){this._verify2(n,c);var f=n.isub(c);return f.cmpn(0)<0&&f.iadd(this.m),f},ue.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},ue.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},ue.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},ue.prototype.isqr=function(n){return this.imul(n,n.clone())},ue.prototype.sqr=function(n){return this.mul(n,n)},ue.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(C(c%2==1),3===c){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),M=0;!h.isZero()&&0===h.andln(1);)M++,h.iushrn(1);C(!h.isZero());var L=new l(1).toRed(this),O=L.redNeg(),_=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,_).cmp(O);)r.redIAdd(O);for(var v=this.pow(r,h),z=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ne=M;0!==N.cmp(L);){for(var Ie=N,at=0;0!==Ie.cmp(L);at++)Ie=Ie.redSqr();C(at<ne);var Ye=this.pow(v,new l(1).iushln(ne-at-1));z=z.redMul(Ye),v=Ye.redSqr(),N=N.redMul(v),ne=at}return z},ue.prototype.invm=function(n){var c=n._invmp(this.m);return 0!==c.negative?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},ue.prototype.pow=function(n,c){if(c.isZero())return new l(1).toRed(this);if(0===c.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var M=2;M<h.length;M++)h[M]=this.mul(h[M-1],n);var L=h[0],O=0,_=0,r=c.bitLength()%26;for(0===r&&(r=26),M=c.length-1;M>=0;M--){for(var v=c.words[M],z=r-1;z>=0;z--){var N=v>>z&1;L!==h[0]&&(L=this.sqr(L)),0!==N||0!==O?(O<<=1,O|=N,(4==++_||0===M&&0===z)&&(L=this.mul(L,h[O]),_=0,O=0)):_=0}r=26}return L},ue.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},ue.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new be(n)},S(be,ue),be.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},be.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},be.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(c),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=f.isub(h).iushrn(this.shift),L=M;return M.cmp(this.m)>=0?L=M.isub(this.m):M.cmpn(0)<0&&(L=M.iadd(this.m)),L._forceRed(this)},be.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var f=n.mul(c),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=f.isub(h).iushrn(this.shift),L=M;return M.cmp(this.m)>=0?L=M.isub(this.m):M.cmpn(0)<0&&(L=M.iadd(this.m)),L._forceRed(this)},be.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=p.nmd(Ve),this)},3981:(Ve,ee)=>{"use strict";ee.byteLength=function m(k){var F=x(k),U=F[1];return 3*(F[0]+U)/4-U},ee.toByteArray=function d(k){var F,ie,V=x(k),U=V[0],G=V[1],Y=new e(function R(k,F,V){return 3*(F+V)/4-V}(0,U,G)),$=0,Z=G>0?U-4:U;for(ie=0;ie<Z;ie+=4)F=t[k.charCodeAt(ie)]<<18|t[k.charCodeAt(ie+1)]<<12|t[k.charCodeAt(ie+2)]<<6|t[k.charCodeAt(ie+3)],Y[$++]=F>>16&255,Y[$++]=F>>8&255,Y[$++]=255&F;return 2===G&&(F=t[k.charCodeAt(ie)]<<2|t[k.charCodeAt(ie+1)]>>4,Y[$++]=255&F),1===G&&(F=t[k.charCodeAt(ie)]<<10|t[k.charCodeAt(ie+1)]<<4|t[k.charCodeAt(ie+2)]>>2,Y[$++]=F>>8&255,Y[$++]=255&F),Y},ee.fromByteArray=function T(k){for(var F,V=k.length,U=V%3,G=[],Y=16383,$=0,Z=V-U;$<Z;$+=Y)G.push(y(k,$,$+Y>Z?Z:$+Y));return 1===U?G.push(p[(F=k[V-1])>>2]+p[F<<4&63]+"=="):2===U&&G.push(p[(F=(k[V-2]<<8)+k[V-1])>>10]+p[F>>4&63]+p[F<<2&63]+"="),G.join("")};for(var p=[],t=[],e=typeof Uint8Array<"u"?Uint8Array:Array,C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",S=0;S<64;++S)p[S]=C[S],t[C.charCodeAt(S)]=S;function x(k){var F=k.length;if(F%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var V=k.indexOf("=");return-1===V&&(V=F),[V,V===F?0:4-V%4]}function w(k){return p[k>>18&63]+p[k>>12&63]+p[k>>6&63]+p[63&k]}function y(k,F,V){for(var G=[],Y=F;Y<V;Y+=3)G.push(w((k[Y]<<16&16711680)+(k[Y+1]<<8&65280)+(255&k[Y+2])));return G.join("")}t[45]=62,t[95]=63},917:function(Ve,ee,p){!function(t,e){"use strict";function C(f,h){if(!f)throw new Error(h||"Assertion failed")}function S(f,h){f.super_=h;var M=function(){};M.prototype=h.prototype,f.prototype=new M,f.prototype.constructor=f}function l(f,h,M){if(l.isBN(f))return f;this.negative=0,this.words=null,this.length=0,this.red=null,null!==f&&(("le"===h||"be"===h)&&(M=h,h=10),this._init(f||0,h||10,M||"be"))}var x;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(7790).Buffer}catch{}function m(f,h){var M=f.charCodeAt(h);return M>=48&&M<=57?M-48:M>=65&&M<=70?M-55:M>=97&&M<=102?M-87:void C(!1,"Invalid character in "+f)}function R(f,h,M){var L=m(f,M);return M-1>=h&&(L|=m(f,M-1)<<4),L}function d(f,h,M,L){for(var O=0,_=0,r=Math.min(f.length,M),v=h;v<r;v++){var z=f.charCodeAt(v)-48;O*=L,_=z>=49?z-49+10:z>=17?z-17+10:z,C(z>=0&&_<L,"Invalid character"),O+=_}return O}function w(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,M){return h.cmp(M)>0?h:M},l.min=function(h,M){return h.cmp(M)<0?h:M},l.prototype._init=function(h,M,L){if("number"==typeof h)return this._initNumber(h,M,L);if("object"==typeof h)return this._initArray(h,M,L);"hex"===M&&(M=16),C(M===(0|M)&&M>=2&&M<=36);var O=0;"-"===(h=h.toString().replace(/\s+/g,""))[0]&&(O++,this.negative=1),O<h.length&&(16===M?this._parseHex(h,O,L):(this._parseBase(h,M,O),"le"===L&&this._initArray(this.toArray(),M,L)))},l.prototype._initNumber=function(h,M,L){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):(C(h<9007199254740992),this.words=[67108863&h,h/67108864&67108863,1],this.length=3),"le"===L&&this._initArray(this.toArray(),M,L)},l.prototype._initArray=function(h,M,L){if(C("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 O=0;O<this.length;O++)this.words[O]=0;var _,r,v=0;if("be"===L)for(O=h.length-1,_=0;O>=0;O-=3)this.words[_]|=(r=h[O]|h[O-1]<<8|h[O-2]<<16)<<v&67108863,this.words[_+1]=r>>>26-v&67108863,(v+=24)>=26&&(v-=26,_++);else if("le"===L)for(O=0,_=0;O<h.length;O+=3)this.words[_]|=(r=h[O]|h[O+1]<<8|h[O+2]<<16)<<v&67108863,this.words[_+1]=r>>>26-v&67108863,(v+=24)>=26&&(v-=26,_++);return this._strip()},l.prototype._parseHex=function(h,M,L){this.length=Math.ceil((h.length-M)/6),this.words=new Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var v,_=0,r=0;if("be"===L)for(O=h.length-1;O>=M;O-=2)v=R(h,M,O)<<_,this.words[r]|=67108863&v,_>=18?(_-=18,this.words[r+=1]|=v>>>26):_+=8;else for(O=(h.length-M)%2==0?M+1:M;O<h.length;O+=2)v=R(h,M,O)<<_,this.words[r]|=67108863&v,_>=18?(_-=18,this.words[r+=1]|=v>>>26):_+=8;this._strip()},l.prototype._parseBase=function(h,M,L){this.words=[0],this.length=1;for(var O=0,_=1;_<=67108863;_*=M)O++;O--,_=_/M|0;for(var r=h.length-L,v=r%O,z=Math.min(r,r-v)+L,N=0,ne=L;ne<z;ne+=O)N=d(h,ne,ne+O,M),this.imuln(_),this.words[0]+N<67108864?this.words[0]+=N:this._iaddn(N);if(0!==v){var Ie=1;for(N=d(h,ne,h.length,M),ne=0;ne<v;ne++)Ie*=M;this.imuln(Ie),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 M=0;M<this.length;M++)h.words[M]=this.words[M];h.length=this.length,h.negative=this.negative,h.red=this.red},l.prototype._move=function(h){w(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")]=y}catch{l.prototype.inspect=y}else l.prototype.inspect=y;function y(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var T=["","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],F=[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 G(f,h,M){M.negative=h.negative^f.negative;var L=f.length+h.length|0;M.length=L,L=L-1|0;var O=0|f.words[0],_=0|h.words[0],r=O*_,z=r/67108864|0;M.words[0]=67108863&r;for(var N=1;N<L;N++){for(var ne=z>>>26,Ie=67108863&z,at=Math.min(N,h.length-1),Ye=Math.max(0,N-f.length+1);Ye<=at;Ye++)ne+=(r=(O=0|f.words[N-Ye|0])*(_=0|h.words[Ye])+Ie)/67108864|0,Ie=67108863&r;M.words[N]=0|Ie,z=0|ne}return 0!==z?M.words[N]=0|z:M.length--,M._strip()}l.prototype.toString=function(h,M){var L;if(M=0|M||1,16===(h=h||10)||"hex"===h){L="";for(var O=0,_=0,r=0;r<this.length;r++){var v=this.words[r],z=(16777215&(v<<O|_)).toString(16);_=v>>>24-O&16777215,(O+=2)>=26&&(O-=26,r--),L=0!==_||r!==this.length-1?T[6-z.length]+z+L:z+L}for(0!==_&&(L=_.toString(16)+L);L.length%M!=0;)L="0"+L;return 0!==this.negative&&(L="-"+L),L}if(h===(0|h)&&h>=2&&h<=36){var N=k[h],ne=F[h];L="";var Ie=this.clone();for(Ie.negative=0;!Ie.isZero();){var at=Ie.modrn(ne).toString(h);L=(Ie=Ie.idivn(ne)).isZero()?at+L:T[N-at.length]+at+L}for(this.isZero()&&(L="0"+L);L.length%M!=0;)L="0"+L;return 0!==this.negative&&(L="-"+L),L}C(!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&&C(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-h:h},l.prototype.toJSON=function(){return this.toString(16,2)},x&&(l.prototype.toBuffer=function(h,M){return this.toArrayLike(x,h,M)}),l.prototype.toArray=function(h,M){return this.toArrayLike(Array,h,M)},l.prototype.toArrayLike=function(h,M,L){this._strip();var O=this.byteLength(),_=L||Math.max(1,O);C(O<=_,"byte array longer than desired length"),C(_>0,"Requested array length <= 0");var r=function(h,M){return h.allocUnsafe?h.allocUnsafe(M):new h(M)}(h,_);return this["_toArrayLike"+("le"===M?"LE":"BE")](r,O),r},l.prototype._toArrayLikeLE=function(h,M){for(var L=0,O=0,_=0,r=0;_<this.length;_++){var v=this.words[_]<<r|O;h[L++]=255&v,L<h.length&&(h[L++]=v>>8&255),L<h.length&&(h[L++]=v>>16&255),6===r?(L<h.length&&(h[L++]=v>>24&255),O=0,r=0):(O=v>>>24,r+=2)}if(L<h.length)for(h[L++]=O;L<h.length;)h[L++]=0},l.prototype._toArrayLikeBE=function(h,M){for(var L=h.length-1,O=0,_=0,r=0;_<this.length;_++){var v=this.words[_]<<r|O;h[L--]=255&v,L>=0&&(h[L--]=v>>8&255),L>=0&&(h[L--]=v>>16&255),6===r?(L>=0&&(h[L--]=v>>24&255),O=0,r=0):(O=v>>>24,r+=2)}if(L>=0)for(h[L--]=O;L>=0;)h[L--]=0},l.prototype._countBits=Math.clz32?function(h){return 32-Math.clz32(h)}:function(h){var M=h,L=0;return M>=4096&&(L+=13,M>>>=13),M>=64&&(L+=7,M>>>=7),M>=8&&(L+=4,M>>>=4),M>=2&&(L+=2,M>>>=2),L+M},l.prototype._zeroBits=function(h){if(0===h)return 26;var M=h,L=0;return 8191&M||(L+=13,M>>>=13),127&M||(L+=7,M>>>=7),15&M||(L+=4,M>>>=4),3&M||(L+=2,M>>>=2),1&M||L++,L},l.prototype.bitLength=function(){var M=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+M},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var h=0,M=0;M<this.length;M++){var L=this._zeroBits(this.words[M]);if(h+=L,26!==L)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 M=0;M<h.length;M++)this.words[M]=this.words[M]|h.words[M];return this._strip()},l.prototype.ior=function(h){return C(!(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 M;M=this.length>h.length?h:this;for(var L=0;L<M.length;L++)this.words[L]=this.words[L]&h.words[L];return this.length=M.length,this._strip()},l.prototype.iand=function(h){return C(!(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 M,L;this.length>h.length?(M=this,L=h):(M=h,L=this);for(var O=0;O<L.length;O++)this.words[O]=M.words[O]^L.words[O];if(this!==M)for(;O<M.length;O++)this.words[O]=M.words[O];return this.length=M.length,this._strip()},l.prototype.ixor=function(h){return C(!(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){C("number"==typeof h&&h>=0);var M=0|Math.ceil(h/26),L=h%26;this._expand(M),L>0&&M--;for(var O=0;O<M;O++)this.words[O]=67108863&~this.words[O];return L>0&&(this.words[O]=~this.words[O]&67108863>>26-L),this._strip()},l.prototype.notn=function(h){return this.clone().inotn(h)},l.prototype.setn=function(h,M){C("number"==typeof h&&h>=0);var L=h/26|0,O=h%26;return this._expand(L+1),this.words[L]=M?this.words[L]|1<<O:this.words[L]&~(1<<O),this._strip()},l.prototype.iadd=function(h){var M,L,O;if(0!==this.negative&&0===h.negative)return this.negative=0,M=this.isub(h),this.negative^=1,this._normSign();if(0===this.negative&&0!==h.negative)return h.negative=0,M=this.isub(h),h.negative=1,M._normSign();this.length>h.length?(L=this,O=h):(L=h,O=this);for(var _=0,r=0;r<O.length;r++)this.words[r]=67108863&(M=(0|L.words[r])+(0|O.words[r])+_),_=M>>>26;for(;0!==_&&r<L.length;r++)this.words[r]=67108863&(M=(0|L.words[r])+_),_=M>>>26;if(this.length=L.length,0!==_)this.words[this.length]=_,this.length++;else if(L!==this)for(;r<L.length;r++)this.words[r]=L.words[r];return this},l.prototype.add=function(h){var M;return 0!==h.negative&&0===this.negative?(h.negative=0,M=this.sub(h),h.negative^=1,M):0===h.negative&&0!==this.negative?(this.negative=0,M=h.sub(this),this.negative=1,M):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 M=this.iadd(h);return h.negative=1,M._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(h),this.negative=1,this._normSign();var O,_,L=this.cmp(h);if(0===L)return this.negative=0,this.length=1,this.words[0]=0,this;L>0?(O=this,_=h):(O=h,_=this);for(var r=0,v=0;v<_.length;v++)r=(M=(0|O.words[v])-(0|_.words[v])+r)>>26,this.words[v]=67108863&M;for(;0!==r&&v<O.length;v++)r=(M=(0|O.words[v])+r)>>26,this.words[v]=67108863&M;if(0===r&&v<O.length&&O!==this)for(;v<O.length;v++)this.words[v]=O.words[v];return this.length=Math.max(this.length,v),O!==this&&(this.negative=1),this._strip()},l.prototype.sub=function(h){return this.clone().isub(h)};var Y=function(h,M,L){var z,N,ne,O=h.words,_=M.words,r=L.words,v=0,Ie=0|O[0],at=8191&Ie,Ye=Ie>>>13,rt=0|O[1],re=8191&rt,te=rt>>>13,oe=0|O[2],_e=8191&oe,de=oe>>>13,pe=0|O[3],We=8191&pe,se=pe>>>13,fe=0|O[4],he=8191&fe,et=fe>>>13,Ke=0|O[5],Ct=8191&Ke,_t=Ke>>>13,Nt=0|O[6],ke=8191&Nt,Je=Nt>>>13,Qe=0|O[7],nt=8191&Qe,Ue=Qe>>>13,ht=0|O[8],tt=8191&ht,wt=ht>>>13,ut=0|O[9],vt=8191&ut,Ze=ut>>>13,jt=0|_[0],qe=8191&jt,dt=jt>>>13,Le=0|_[1],Vt=8191&Le,Zt=Le>>>13,Et=0|_[2],je=8191&Et,me=Et>>>13,xe=0|_[3],ce=8191&xe,Me=xe>>>13,Xe=0|_[4],Pe=8191&Xe,Oe=Xe>>>13,we=0|_[5],De=8191&we,$e=we>>>13,$t=0|_[6],Ft=8191&$t,Kt=$t>>>13,fi=0|_[7],Qt=8191&fi,zt=fi>>>13,Xi=0|_[8],ci=8191&Xi,ui=Xi>>>13,bn=0|_[9],Qi=8191&bn,Li=bn>>>13;L.negative=h.negative^M.negative,L.length=19;var nn=(v+(z=Math.imul(at,qe))|0)+((8191&(N=(N=Math.imul(at,dt))+Math.imul(Ye,qe)|0))<<13)|0;v=((ne=Math.imul(Ye,dt))+(N>>>13)|0)+(nn>>>26)|0,nn&=67108863,z=Math.imul(re,qe),N=(N=Math.imul(re,dt))+Math.imul(te,qe)|0,ne=Math.imul(te,dt);var st=(v+(z=z+Math.imul(at,Vt)|0)|0)+((8191&(N=(N=N+Math.imul(at,Zt)|0)+Math.imul(Ye,Vt)|0))<<13)|0;v=((ne=ne+Math.imul(Ye,Zt)|0)+(N>>>13)|0)+(st>>>26)|0,st&=67108863,z=Math.imul(_e,qe),N=(N=Math.imul(_e,dt))+Math.imul(de,qe)|0,ne=Math.imul(de,dt),z=z+Math.imul(re,Vt)|0,N=(N=N+Math.imul(re,Zt)|0)+Math.imul(te,Vt)|0,ne=ne+Math.imul(te,Zt)|0;var ii=(v+(z=z+Math.imul(at,je)|0)|0)+((8191&(N=(N=N+Math.imul(at,me)|0)+Math.imul(Ye,je)|0))<<13)|0;v=((ne=ne+Math.imul(Ye,me)|0)+(N>>>13)|0)+(ii>>>26)|0,ii&=67108863,z=Math.imul(We,qe),N=(N=Math.imul(We,dt))+Math.imul(se,qe)|0,ne=Math.imul(se,dt),z=z+Math.imul(_e,Vt)|0,N=(N=N+Math.imul(_e,Zt)|0)+Math.imul(de,Vt)|0,ne=ne+Math.imul(de,Zt)|0,z=z+Math.imul(re,je)|0,N=(N=N+Math.imul(re,me)|0)+Math.imul(te,je)|0,ne=ne+Math.imul(te,me)|0;var Se=(v+(z=z+Math.imul(at,ce)|0)|0)+((8191&(N=(N=N+Math.imul(at,Me)|0)+Math.imul(Ye,ce)|0))<<13)|0;v=((ne=ne+Math.imul(Ye,Me)|0)+(N>>>13)|0)+(Se>>>26)|0,Se&=67108863,z=Math.imul(he,qe),N=(N=Math.imul(he,dt))+Math.imul(et,qe)|0,ne=Math.imul(et,dt),z=z+Math.imul(We,Vt)|0,N=(N=N+Math.imul(We,Zt)|0)+Math.imul(se,Vt)|0,ne=ne+Math.imul(se,Zt)|0,z=z+Math.imul(_e,je)|0,N=(N=N+Math.imul(_e,me)|0)+Math.imul(de,je)|0,ne=ne+Math.imul(de,me)|0,z=z+Math.imul(re,ce)|0,N=(N=N+Math.imul(re,Me)|0)+Math.imul(te,ce)|0,ne=ne+Math.imul(te,Me)|0;var Mt=(v+(z=z+Math.imul(at,Pe)|0)|0)+((8191&(N=(N=N+Math.imul(at,Oe)|0)+Math.imul(Ye,Pe)|0))<<13)|0;v=((ne=ne+Math.imul(Ye,Oe)|0)+(N>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,z=Math.imul(Ct,qe),N=(N=Math.imul(Ct,dt))+Math.imul(_t,qe)|0,ne=Math.imul(_t,dt),z=z+Math.imul(he,Vt)|0,N=(N=N+Math.imul(he,Zt)|0)+Math.imul(et,Vt)|0,ne=ne+Math.imul(et,Zt)|0,z=z+Math.imul(We,je)|0,N=(N=N+Math.imul(We,me)|0)+Math.imul(se,je)|0,ne=ne+Math.imul(se,me)|0,z=z+Math.imul(_e,ce)|0,N=(N=N+Math.imul(_e,Me)|0)+Math.imul(de,ce)|0,ne=ne+Math.imul(de,Me)|0,z=z+Math.imul(re,Pe)|0,N=(N=N+Math.imul(re,Oe)|0)+Math.imul(te,Pe)|0,ne=ne+Math.imul(te,Oe)|0;var Pt=(v+(z=z+Math.imul(at,De)|0)|0)+((8191&(N=(N=N+Math.imul(at,$e)|0)+Math.imul(Ye,De)|0))<<13)|0;v=((ne=ne+Math.imul(Ye,$e)|0)+(N>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,z=Math.imul(ke,qe),N=(N=Math.imul(ke,dt))+Math.imul(Je,qe)|0,ne=Math.imul(Je,dt),z=z+Math.imul(Ct,Vt)|0,N=(N=N+Math.imul(Ct,Zt)|0)+Math.imul(_t,Vt)|0,ne=ne+Math.imul(_t,Zt)|0,z=z+Math.imul(he,je)|0,N=(N=N+Math.imul(he,me)|0)+Math.imul(et,je)|0,ne=ne+Math.imul(et,me)|0,z=z+Math.imul(We,ce)|0,N=(N=N+Math.imul(We,Me)|0)+Math.imul(se,ce)|0,ne=ne+Math.imul(se,Me)|0,z=z+Math.imul(_e,Pe)|0,N=(N=N+Math.imul(_e,Oe)|0)+Math.imul(de,Pe)|0,ne=ne+Math.imul(de,Oe)|0,z=z+Math.imul(re,De)|0,N=(N=N+Math.imul(re,$e)|0)+Math.imul(te,De)|0,ne=ne+Math.imul(te,$e)|0;var ai=(v+(z=z+Math.imul(at,Ft)|0)|0)+((8191&(N=(N=N+Math.imul(at,Kt)|0)+Math.imul(Ye,Ft)|0))<<13)|0;v=((ne=ne+Math.imul(Ye,Kt)|0)+(N>>>13)|0)+(ai>>>26)|0,ai&=67108863,z=Math.imul(nt,qe),N=(N=Math.imul(nt,dt))+Math.imul(Ue,qe)|0,ne=Math.imul(Ue,dt),z=z+Math.imul(ke,Vt)|0,N=(N=N+Math.imul(ke,Zt)|0)+Math.imul(Je,Vt)|0,ne=ne+Math.imul(Je,Zt)|0,z=z+Math.imul(Ct,je)|0,N=(N=N+Math.imul(Ct,me)|0)+Math.imul(_t,je)|0,ne=ne+Math.imul(_t,me)|0,z=z+Math.imul(he,ce)|0,N=(N=N+Math.imul(he,Me)|0)+Math.imul(et,ce)|0,ne=ne+Math.imul(et,Me)|0,z=z+Math.imul(We,Pe)|0,N=(N=N+Math.imul(We,Oe)|0)+Math.imul(se,Pe)|0,ne=ne+Math.imul(se,Oe)|0,z=z+Math.imul(_e,De)|0,N=(N=N+Math.imul(_e,$e)|0)+Math.imul(de,De)|0,ne=ne+Math.imul(de,$e)|0,z=z+Math.imul(re,Ft)|0,N=(N=N+Math.imul(re,Kt)|0)+Math.imul(te,Ft)|0,ne=ne+Math.imul(te,Kt)|0;var Ei=(v+(z=z+Math.imul(at,Qt)|0)|0)+((8191&(N=(N=N+Math.imul(at,zt)|0)+Math.imul(Ye,Qt)|0))<<13)|0;v=((ne=ne+Math.imul(Ye,zt)|0)+(N>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,z=Math.imul(tt,qe),N=(N=Math.imul(tt,dt))+Math.imul(wt,qe)|0,ne=Math.imul(wt,dt),z=z+Math.imul(nt,Vt)|0,N=(N=N+Math.imul(nt,Zt)|0)+Math.imul(Ue,Vt)|0,ne=ne+Math.imul(Ue,Zt)|0,z=z+Math.imul(ke,je)|0,N=(N=N+Math.imul(ke,me)|0)+Math.imul(Je,je)|0,ne=ne+Math.imul(Je,me)|0,z=z+Math.imul(Ct,ce)|0,N=(N=N+Math.imul(Ct,Me)|0)+Math.imul(_t,ce)|0,ne=ne+Math.imul(_t,Me)|0,z=z+Math.imul(he,Pe)|0,N=(N=N+Math.imul(he,Oe)|0)+Math.imul(et,Pe)|0,ne=ne+Math.imul(et,Oe)|0,z=z+Math.imul(We,De)|0,N=(N=N+Math.imul(We,$e)|0)+Math.imul(se,De)|0,ne=ne+Math.imul(se,$e)|0,z=z+Math.imul(_e,Ft)|0,N=(N=N+Math.imul(_e,Kt)|0)+Math.imul(de,Ft)|0,ne=ne+Math.imul(de,Kt)|0,z=z+Math.imul(re,Qt)|0,N=(N=N+Math.imul(re,zt)|0)+Math.imul(te,Qt)|0,ne=ne+Math.imul(te,zt)|0;var Hi=(v+(z=z+Math.imul(at,ci)|0)|0)+((8191&(N=(N=N+Math.imul(at,ui)|0)+Math.imul(Ye,ci)|0))<<13)|0;v=((ne=ne+Math.imul(Ye,ui)|0)+(N>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,z=Math.imul(vt,qe),N=(N=Math.imul(vt,dt))+Math.imul(Ze,qe)|0,ne=Math.imul(Ze,dt),z=z+Math.imul(tt,Vt)|0,N=(N=N+Math.imul(tt,Zt)|0)+Math.imul(wt,Vt)|0,ne=ne+Math.imul(wt,Zt)|0,z=z+Math.imul(nt,je)|0,N=(N=N+Math.imul(nt,me)|0)+Math.imul(Ue,je)|0,ne=ne+Math.imul(Ue,me)|0,z=z+Math.imul(ke,ce)|0,N=(N=N+Math.imul(ke,Me)|0)+Math.imul(Je,ce)|0,ne=ne+Math.imul(Je,Me)|0,z=z+Math.imul(Ct,Pe)|0,N=(N=N+Math.imul(Ct,Oe)|0)+Math.imul(_t,Pe)|0,ne=ne+Math.imul(_t,Oe)|0,z=z+Math.imul(he,De)|0,N=(N=N+Math.imul(he,$e)|0)+Math.imul(et,De)|0,ne=ne+Math.imul(et,$e)|0,z=z+Math.imul(We,Ft)|0,N=(N=N+Math.imul(We,Kt)|0)+Math.imul(se,Ft)|0,ne=ne+Math.imul(se,Kt)|0,z=z+Math.imul(_e,Qt)|0,N=(N=N+Math.imul(_e,zt)|0)+Math.imul(de,Qt)|0,ne=ne+Math.imul(de,zt)|0,z=z+Math.imul(re,ci)|0,N=(N=N+Math.imul(re,ui)|0)+Math.imul(te,ci)|0,ne=ne+Math.imul(te,ui)|0;var $i=(v+(z=z+Math.imul(at,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(at,Li)|0)+Math.imul(Ye,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(Ye,Li)|0)+(N>>>13)|0)+($i>>>26)|0,$i&=67108863,z=Math.imul(vt,Vt),N=(N=Math.imul(vt,Zt))+Math.imul(Ze,Vt)|0,ne=Math.imul(Ze,Zt),z=z+Math.imul(tt,je)|0,N=(N=N+Math.imul(tt,me)|0)+Math.imul(wt,je)|0,ne=ne+Math.imul(wt,me)|0,z=z+Math.imul(nt,ce)|0,N=(N=N+Math.imul(nt,Me)|0)+Math.imul(Ue,ce)|0,ne=ne+Math.imul(Ue,Me)|0,z=z+Math.imul(ke,Pe)|0,N=(N=N+Math.imul(ke,Oe)|0)+Math.imul(Je,Pe)|0,ne=ne+Math.imul(Je,Oe)|0,z=z+Math.imul(Ct,De)|0,N=(N=N+Math.imul(Ct,$e)|0)+Math.imul(_t,De)|0,ne=ne+Math.imul(_t,$e)|0,z=z+Math.imul(he,Ft)|0,N=(N=N+Math.imul(he,Kt)|0)+Math.imul(et,Ft)|0,ne=ne+Math.imul(et,Kt)|0,z=z+Math.imul(We,Qt)|0,N=(N=N+Math.imul(We,zt)|0)+Math.imul(se,Qt)|0,ne=ne+Math.imul(se,zt)|0,z=z+Math.imul(_e,ci)|0,N=(N=N+Math.imul(_e,ui)|0)+Math.imul(de,ci)|0,ne=ne+Math.imul(de,ui)|0;var hn=(v+(z=z+Math.imul(re,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(re,Li)|0)+Math.imul(te,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(te,Li)|0)+(N>>>13)|0)+(hn>>>26)|0,hn&=67108863,z=Math.imul(vt,je),N=(N=Math.imul(vt,me))+Math.imul(Ze,je)|0,ne=Math.imul(Ze,me),z=z+Math.imul(tt,ce)|0,N=(N=N+Math.imul(tt,Me)|0)+Math.imul(wt,ce)|0,ne=ne+Math.imul(wt,Me)|0,z=z+Math.imul(nt,Pe)|0,N=(N=N+Math.imul(nt,Oe)|0)+Math.imul(Ue,Pe)|0,ne=ne+Math.imul(Ue,Oe)|0,z=z+Math.imul(ke,De)|0,N=(N=N+Math.imul(ke,$e)|0)+Math.imul(Je,De)|0,ne=ne+Math.imul(Je,$e)|0,z=z+Math.imul(Ct,Ft)|0,N=(N=N+Math.imul(Ct,Kt)|0)+Math.imul(_t,Ft)|0,ne=ne+Math.imul(_t,Kt)|0,z=z+Math.imul(he,Qt)|0,N=(N=N+Math.imul(he,zt)|0)+Math.imul(et,Qt)|0,ne=ne+Math.imul(et,zt)|0,z=z+Math.imul(We,ci)|0,N=(N=N+Math.imul(We,ui)|0)+Math.imul(se,ci)|0,ne=ne+Math.imul(se,ui)|0;var Fi=(v+(z=z+Math.imul(_e,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(_e,Li)|0)+Math.imul(de,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(de,Li)|0)+(N>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,z=Math.imul(vt,ce),N=(N=Math.imul(vt,Me))+Math.imul(Ze,ce)|0,ne=Math.imul(Ze,Me),z=z+Math.imul(tt,Pe)|0,N=(N=N+Math.imul(tt,Oe)|0)+Math.imul(wt,Pe)|0,ne=ne+Math.imul(wt,Oe)|0,z=z+Math.imul(nt,De)|0,N=(N=N+Math.imul(nt,$e)|0)+Math.imul(Ue,De)|0,ne=ne+Math.imul(Ue,$e)|0,z=z+Math.imul(ke,Ft)|0,N=(N=N+Math.imul(ke,Kt)|0)+Math.imul(Je,Ft)|0,ne=ne+Math.imul(Je,Kt)|0,z=z+Math.imul(Ct,Qt)|0,N=(N=N+Math.imul(Ct,zt)|0)+Math.imul(_t,Qt)|0,ne=ne+Math.imul(_t,zt)|0,z=z+Math.imul(he,ci)|0,N=(N=N+Math.imul(he,ui)|0)+Math.imul(et,ci)|0,ne=ne+Math.imul(et,ui)|0;var _n=(v+(z=z+Math.imul(We,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(We,Li)|0)+Math.imul(se,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(se,Li)|0)+(N>>>13)|0)+(_n>>>26)|0,_n&=67108863,z=Math.imul(vt,Pe),N=(N=Math.imul(vt,Oe))+Math.imul(Ze,Pe)|0,ne=Math.imul(Ze,Oe),z=z+Math.imul(tt,De)|0,N=(N=N+Math.imul(tt,$e)|0)+Math.imul(wt,De)|0,ne=ne+Math.imul(wt,$e)|0,z=z+Math.imul(nt,Ft)|0,N=(N=N+Math.imul(nt,Kt)|0)+Math.imul(Ue,Ft)|0,ne=ne+Math.imul(Ue,Kt)|0,z=z+Math.imul(ke,Qt)|0,N=(N=N+Math.imul(ke,zt)|0)+Math.imul(Je,Qt)|0,ne=ne+Math.imul(Je,zt)|0,z=z+Math.imul(Ct,ci)|0,N=(N=N+Math.imul(Ct,ui)|0)+Math.imul(_t,ci)|0,ne=ne+Math.imul(_t,ui)|0;var mn=(v+(z=z+Math.imul(he,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(he,Li)|0)+Math.imul(et,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(et,Li)|0)+(N>>>13)|0)+(mn>>>26)|0,mn&=67108863,z=Math.imul(vt,De),N=(N=Math.imul(vt,$e))+Math.imul(Ze,De)|0,ne=Math.imul(Ze,$e),z=z+Math.imul(tt,Ft)|0,N=(N=N+Math.imul(tt,Kt)|0)+Math.imul(wt,Ft)|0,ne=ne+Math.imul(wt,Kt)|0,z=z+Math.imul(nt,Qt)|0,N=(N=N+Math.imul(nt,zt)|0)+Math.imul(Ue,Qt)|0,ne=ne+Math.imul(Ue,zt)|0,z=z+Math.imul(ke,ci)|0,N=(N=N+Math.imul(ke,ui)|0)+Math.imul(Je,ci)|0,ne=ne+Math.imul(Je,ui)|0;var Dt=(v+(z=z+Math.imul(Ct,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(Ct,Li)|0)+Math.imul(_t,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(_t,Li)|0)+(N>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,z=Math.imul(vt,Ft),N=(N=Math.imul(vt,Kt))+Math.imul(Ze,Ft)|0,ne=Math.imul(Ze,Kt),z=z+Math.imul(tt,Qt)|0,N=(N=N+Math.imul(tt,zt)|0)+Math.imul(wt,Qt)|0,ne=ne+Math.imul(wt,zt)|0,z=z+Math.imul(nt,ci)|0,N=(N=N+Math.imul(nt,ui)|0)+Math.imul(Ue,ci)|0,ne=ne+Math.imul(Ue,ui)|0;var ct=(v+(z=z+Math.imul(ke,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(ke,Li)|0)+Math.imul(Je,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(Je,Li)|0)+(N>>>13)|0)+(ct>>>26)|0,ct&=67108863,z=Math.imul(vt,Qt),N=(N=Math.imul(vt,zt))+Math.imul(Ze,Qt)|0,ne=Math.imul(Ze,zt),z=z+Math.imul(tt,ci)|0,N=(N=N+Math.imul(tt,ui)|0)+Math.imul(wt,ci)|0,ne=ne+Math.imul(wt,ui)|0;var Bt=(v+(z=z+Math.imul(nt,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(nt,Li)|0)+Math.imul(Ue,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(Ue,Li)|0)+(N>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,z=Math.imul(vt,ci),N=(N=Math.imul(vt,ui))+Math.imul(Ze,ci)|0,ne=Math.imul(Ze,ui);var q=(v+(z=z+Math.imul(tt,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(tt,Li)|0)+Math.imul(wt,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(wt,Li)|0)+(N>>>13)|0)+(q>>>26)|0,q&=67108863;var it=(v+(z=Math.imul(vt,Qi))|0)+((8191&(N=(N=Math.imul(vt,Li))+Math.imul(Ze,Qi)|0))<<13)|0;return v=((ne=Math.imul(Ze,Li))+(N>>>13)|0)+(it>>>26)|0,it&=67108863,r[0]=nn,r[1]=st,r[2]=ii,r[3]=Se,r[4]=Mt,r[5]=Pt,r[6]=ai,r[7]=Ei,r[8]=Hi,r[9]=$i,r[10]=hn,r[11]=Fi,r[12]=_n,r[13]=mn,r[14]=Dt,r[15]=ct,r[16]=Bt,r[17]=q,r[18]=it,0!==v&&(r[19]=v,L.length++),L};function $(f,h,M){M.negative=h.negative^f.negative,M.length=f.length+h.length;for(var L=0,O=0,_=0;_<M.length-1;_++){var r=O;O=0;for(var v=67108863&L,z=Math.min(_,h.length-1),N=Math.max(0,_-f.length+1);N<=z;N++){var Ye=(0|f.words[_-N])*(0|h.words[N]),rt=67108863&Ye;v=67108863&(rt=rt+v|0),O+=(r=(r=r+(Ye/67108864|0)|0)+(rt>>>26)|0)>>>26,r&=67108863}M.words[_]=v,L=r,r=O}return 0!==L?M.words[_]=L:M.length--,M._strip()}function Z(f,h,M){return $(f,h,M)}function ie(f,h){this.x=f,this.y=h}Math.imul||(Y=G),l.prototype.mulTo=function(h,M){var O=this.length+h.length;return 10===this.length&&10===h.length?Y(this,h,M):O<63?G(this,h,M):O<1024?$(this,h,M):Z(this,h,M)},ie.prototype.makeRBT=function(h){for(var M=new Array(h),L=l.prototype._countBits(h)-1,O=0;O<h;O++)M[O]=this.revBin(O,L,h);return M},ie.prototype.revBin=function(h,M,L){if(0===h||h===L-1)return h;for(var O=0,_=0;_<M;_++)O|=(1&h)<<M-_-1,h>>=1;return O},ie.prototype.permute=function(h,M,L,O,_,r){for(var v=0;v<r;v++)O[v]=M[h[v]],_[v]=L[h[v]]},ie.prototype.transform=function(h,M,L,O,_,r){this.permute(r,h,M,L,O,_);for(var v=1;v<_;v<<=1)for(var z=v<<1,N=Math.cos(2*Math.PI/z),ne=Math.sin(2*Math.PI/z),Ie=0;Ie<_;Ie+=z)for(var at=N,Ye=ne,rt=0;rt<v;rt++){var re=L[Ie+rt],te=O[Ie+rt],oe=L[Ie+rt+v],_e=O[Ie+rt+v],de=at*oe-Ye*_e;_e=at*_e+Ye*oe,L[Ie+rt]=re+(oe=de),O[Ie+rt]=te+_e,L[Ie+rt+v]=re-oe,O[Ie+rt+v]=te-_e,rt!==z&&(de=N*at-ne*Ye,Ye=N*Ye+ne*at,at=de)}},ie.prototype.guessLen13b=function(h,M){var L=1|Math.max(M,h),O=1&L,_=0;for(L=L/2|0;L;L>>>=1)_++;return 1<<_+1+O},ie.prototype.conjugate=function(h,M,L){if(!(L<=1))for(var O=0;O<L/2;O++){var _=h[O];h[O]=h[L-O-1],h[L-O-1]=_,_=M[O],M[O]=-M[L-O-1],M[L-O-1]=-_}},ie.prototype.normalize13b=function(h,M){for(var L=0,O=0;O<M/2;O++){var _=8192*Math.round(h[2*O+1]/M)+Math.round(h[2*O]/M)+L;h[O]=67108863&_,L=_<67108864?0:_/67108864|0}return h},ie.prototype.convert13b=function(h,M,L,O){for(var _=0,r=0;r<M;r++)L[2*r]=8191&(_+=0|h[r]),L[2*r+1]=8191&(_>>>=13),_>>>=13;for(r=2*M;r<O;++r)L[r]=0;C(0===_),C(!(-8192&_))},ie.prototype.stub=function(h){for(var M=new Array(h),L=0;L<h;L++)M[L]=0;return M},ie.prototype.mulp=function(h,M,L){var O=2*this.guessLen13b(h.length,M.length),_=this.makeRBT(O),r=this.stub(O),v=new Array(O),z=new Array(O),N=new Array(O),ne=new Array(O),Ie=new Array(O),at=new Array(O),Ye=L.words;Ye.length=O,this.convert13b(h.words,h.length,v,O),this.convert13b(M.words,M.length,ne,O),this.transform(v,r,z,N,O,_),this.transform(ne,r,Ie,at,O,_);for(var rt=0;rt<O;rt++){var re=z[rt]*Ie[rt]-N[rt]*at[rt];N[rt]=z[rt]*at[rt]+N[rt]*Ie[rt],z[rt]=re}return this.conjugate(z,N,O),this.transform(z,N,Ye,r,O,_),this.conjugate(Ye,r,O),this.normalize13b(Ye,O),L.negative=h.negative^M.negative,L.length=h.length+M.length,L._strip()},l.prototype.mul=function(h){var M=new l(null);return M.words=new Array(this.length+h.length),this.mulTo(h,M)},l.prototype.mulf=function(h){var M=new l(null);return M.words=new Array(this.length+h.length),Z(this,h,M)},l.prototype.imul=function(h){return this.clone().mulTo(h,this)},l.prototype.imuln=function(h){var M=h<0;M&&(h=-h),C("number"==typeof h),C(h<67108864);for(var L=0,O=0;O<this.length;O++){var _=(0|this.words[O])*h,r=(67108863&_)+(67108863&L);L>>=26,L+=_/67108864|0,L+=r>>>26,this.words[O]=67108863&r}return 0!==L&&(this.words[O]=L,this.length++),this.length=0===h?1:this.length,M?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 M=function U(f){for(var h=new Array(f.bitLength()),M=0;M<h.length;M++)h[M]=f.words[M/26|0]>>>M%26&1;return h}(h);if(0===M.length)return new l(1);for(var L=this,O=0;O<M.length&&0===M[O];O++,L=L.sqr());if(++O<M.length)for(var _=L.sqr();O<M.length;O++,_=_.sqr())0!==M[O]&&(L=L.mul(_));return L},l.prototype.iushln=function(h){C("number"==typeof h&&h>=0);var _,M=h%26,L=(h-M)/26,O=67108863>>>26-M<<26-M;if(0!==M){var r=0;for(_=0;_<this.length;_++){var v=this.words[_]&O;this.words[_]=(0|this.words[_])-v<<M|r,r=v>>>26-M}r&&(this.words[_]=r,this.length++)}if(0!==L){for(_=this.length-1;_>=0;_--)this.words[_+L]=this.words[_];for(_=0;_<L;_++)this.words[_]=0;this.length+=L}return this._strip()},l.prototype.ishln=function(h){return C(0===this.negative),this.iushln(h)},l.prototype.iushrn=function(h,M,L){var O;C("number"==typeof h&&h>=0),O=M?(M-M%26)/26:0;var _=h%26,r=Math.min((h-_)/26,this.length),v=67108863^67108863>>>_<<_,z=L;if(O-=r,O=Math.max(0,O),z){for(var N=0;N<r;N++)z.words[N]=this.words[N];z.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 ne=0;for(N=this.length-1;N>=0&&(0!==ne||N>=O);N--){var Ie=0|this.words[N];this.words[N]=ne<<26-_|Ie>>>_,ne=Ie&v}return z&&0!==ne&&(z.words[z.length++]=ne),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},l.prototype.ishrn=function(h,M,L){return C(0===this.negative),this.iushrn(h,M,L)},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){C("number"==typeof h&&h>=0);var M=h%26,L=(h-M)/26;return!(this.length<=L||!(this.words[L]&1<<M))},l.prototype.imaskn=function(h){C("number"==typeof h&&h>=0);var M=h%26,L=(h-M)/26;return C(0===this.negative,"imaskn works only with positive numbers"),this.length<=L?this:(0!==M&&L++,this.length=Math.min(L,this.length),0!==M&&(this.words[this.length-1]&=67108863^67108863>>>M<<M),this._strip())},l.prototype.maskn=function(h){return this.clone().imaskn(h)},l.prototype.iaddn=function(h){return C("number"==typeof h),C(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 M=0;M<this.length&&this.words[M]>=67108864;M++)this.words[M]-=67108864,M===this.length-1?this.words[M+1]=1:this.words[M+1]++;return this.length=Math.max(this.length,M+1),this},l.prototype.isubn=function(h){if(C("number"==typeof h),C(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 M=0;M<this.length&&this.words[M]<0;M++)this.words[M]+=67108864,this.words[M+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,M,L){var _;this._expand(h.length+L);var r,v=0;for(_=0;_<h.length;_++){r=(0|this.words[_+L])+v;var z=(0|h.words[_])*M;v=((r-=67108863&z)>>26)-(z/67108864|0),this.words[_+L]=67108863&r}for(;_<this.length-L;_++)v=(r=(0|this.words[_+L])+v)>>26,this.words[_+L]=67108863&r;if(0===v)return this._strip();for(C(-1===v),v=0,_=0;_<this.length;_++)v=(r=-(0|this.words[_])+v)>>26,this.words[_]=67108863&r;return this.negative=1,this._strip()},l.prototype._wordDiv=function(h,M){var L,O=this.clone(),_=h,r=0|_.words[_.length-1];0!=(L=26-this._countBits(r))&&(_=_.ushln(L),O.iushln(L),r=0|_.words[_.length-1]);var N,z=O.length-_.length;if("mod"!==M){(N=new l(null)).length=z+1,N.words=new Array(N.length);for(var ne=0;ne<N.length;ne++)N.words[ne]=0}var Ie=O.clone()._ishlnsubmul(_,1,z);0===Ie.negative&&(O=Ie,N&&(N.words[z]=1));for(var at=z-1;at>=0;at--){var Ye=67108864*(0|O.words[_.length+at])+(0|O.words[_.length+at-1]);for(Ye=Math.min(Ye/r|0,67108863),O._ishlnsubmul(_,Ye,at);0!==O.negative;)Ye--,O.negative=0,O._ishlnsubmul(_,1,at),O.isZero()||(O.negative^=1);N&&(N.words[at]=Ye)}return N&&N._strip(),O._strip(),"div"!==M&&0!==L&&O.iushrn(L),{div:N||null,mod:O}},l.prototype.divmod=function(h,M,L){return C(!h.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===h.negative?(r=this.neg().divmod(h,M),"mod"!==M&&(O=r.div.neg()),"div"!==M&&(_=r.mod.neg(),L&&0!==_.negative&&_.iadd(h)),{div:O,mod:_}):0===this.negative&&0!==h.negative?(r=this.divmod(h.neg(),M),"mod"!==M&&(O=r.div.neg()),{div:O,mod:r.mod}):this.negative&h.negative?(r=this.neg().divmod(h.neg(),M),"div"!==M&&(_=r.mod.neg(),L&&0!==_.negative&&_.isub(h)),{div:r.div,mod:_}):h.length>this.length||this.cmp(h)<0?{div:new l(0),mod:this}:1===h.length?"div"===M?{div:this.divn(h.words[0]),mod:null}:"mod"===M?{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,M);var O,_,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 M=this.divmod(h);if(M.mod.isZero())return M.div;var L=0!==M.div.negative?M.mod.isub(h):M.mod,O=h.ushrn(1),_=h.andln(1),r=L.cmp(O);return r<0||1===_&&0===r?M.div:0!==M.div.negative?M.div.isubn(1):M.div.iaddn(1)},l.prototype.modrn=function(h){var M=h<0;M&&(h=-h),C(h<=67108863);for(var L=(1<<26)%h,O=0,_=this.length-1;_>=0;_--)O=(L*O+(0|this.words[_]))%h;return M?-O:O},l.prototype.modn=function(h){return this.modrn(h)},l.prototype.idivn=function(h){var M=h<0;M&&(h=-h),C(h<=67108863);for(var L=0,O=this.length-1;O>=0;O--){var _=(0|this.words[O])+67108864*L;this.words[O]=_/h|0,L=_%h}return this._strip(),M?this.ineg():this},l.prototype.divn=function(h){return this.clone().idivn(h)},l.prototype.egcd=function(h){C(0===h.negative),C(!h.isZero());var M=this,L=h.clone();M=0!==M.negative?M.umod(h):M.clone();for(var O=new l(1),_=new l(0),r=new l(0),v=new l(1),z=0;M.isEven()&&L.isEven();)M.iushrn(1),L.iushrn(1),++z;for(var N=L.clone(),ne=M.clone();!M.isZero();){for(var Ie=0,at=1;!(M.words[0]&at)&&Ie<26;++Ie,at<<=1);if(Ie>0)for(M.iushrn(Ie);Ie-- >0;)(O.isOdd()||_.isOdd())&&(O.iadd(N),_.isub(ne)),O.iushrn(1),_.iushrn(1);for(var Ye=0,rt=1;!(L.words[0]&rt)&&Ye<26;++Ye,rt<<=1);if(Ye>0)for(L.iushrn(Ye);Ye-- >0;)(r.isOdd()||v.isOdd())&&(r.iadd(N),v.isub(ne)),r.iushrn(1),v.iushrn(1);M.cmp(L)>=0?(M.isub(L),O.isub(r),_.isub(v)):(L.isub(M),r.isub(O),v.isub(_))}return{a:r,b:v,gcd:L.iushln(z)}},l.prototype._invmp=function(h){C(0===h.negative),C(!h.isZero());var Ie,M=this,L=h.clone();M=0!==M.negative?M.umod(h):M.clone();for(var O=new l(1),_=new l(0),r=L.clone();M.cmpn(1)>0&&L.cmpn(1)>0;){for(var v=0,z=1;!(M.words[0]&z)&&v<26;++v,z<<=1);if(v>0)for(M.iushrn(v);v-- >0;)O.isOdd()&&O.iadd(r),O.iushrn(1);for(var N=0,ne=1;!(L.words[0]&ne)&&N<26;++N,ne<<=1);if(N>0)for(L.iushrn(N);N-- >0;)_.isOdd()&&_.iadd(r),_.iushrn(1);M.cmp(L)>=0?(M.isub(L),O.isub(_)):(L.isub(M),_.isub(O))}return(Ie=0===M.cmpn(1)?O:_).cmpn(0)<0&&Ie.iadd(h),Ie},l.prototype.gcd=function(h){if(this.isZero())return h.abs();if(h.isZero())return this.abs();var M=this.clone(),L=h.clone();M.negative=0,L.negative=0;for(var O=0;M.isEven()&&L.isEven();O++)M.iushrn(1),L.iushrn(1);for(;;){for(;M.isEven();)M.iushrn(1);for(;L.isEven();)L.iushrn(1);var _=M.cmp(L);if(_<0){var r=M;M=L,L=r}else if(0===_||0===L.cmpn(1))break;M.isub(L)}return L.iushln(O)},l.prototype.invm=function(h){return this.egcd(h).a.umod(h)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(h){return this.words[0]&h},l.prototype.bincn=function(h){C("number"==typeof h);var M=h%26,L=(h-M)/26,O=1<<M;if(this.length<=L)return this._expand(L+1),this.words[L]|=O,this;for(var _=O,r=L;0!==_&&r<this.length;r++){var v=0|this.words[r];_=(v+=_)>>>26,this.words[r]=v&=67108863}return 0!==_&&(this.words[r]=_,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(h){var L,M=h<0;if(0!==this.negative&&!M)return-1;if(0===this.negative&&M)return 1;if(this._strip(),this.length>1)L=1;else{M&&(h=-h),C(h<=67108863,"Number is too big");var O=0|this.words[0];L=O===h?0:O<h?-1:1}return 0!==this.negative?0|-L:L},l.prototype.cmp=function(h){if(0!==this.negative&&0===h.negative)return-1;if(0===this.negative&&0!==h.negative)return 1;var M=this.ucmp(h);return 0!==this.negative?0|-M:M},l.prototype.ucmp=function(h){if(this.length>h.length)return 1;if(this.length<h.length)return-1;for(var M=0,L=this.length-1;L>=0;L--){var O=0|this.words[L],_=0|h.words[L];if(O!==_){O<_?M=-1:O>_&&(M=1);break}}return M},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 C(!this.red,"Already a number in reduction context"),C(0===this.negative,"red works only with positives"),h.convertTo(this)._forceRed(h)},l.prototype.fromRed=function(){return C(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 C(!this.red,"Already a number in reduction context"),this._forceRed(h)},l.prototype.redAdd=function(h){return C(this.red,"redAdd works only with red numbers"),this.red.add(this,h)},l.prototype.redIAdd=function(h){return C(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,h)},l.prototype.redSub=function(h){return C(this.red,"redSub works only with red numbers"),this.red.sub(this,h)},l.prototype.redISub=function(h){return C(this.red,"redISub works only with red numbers"),this.red.isub(this,h)},l.prototype.redShl=function(h){return C(this.red,"redShl works only with red numbers"),this.red.shl(this,h)},l.prototype.redMul=function(h){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.mul(this,h)},l.prototype.redIMul=function(h){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.imul(this,h)},l.prototype.redSqr=function(){return C(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return C(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return C(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return C(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return C(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(h){return C(this.red&&!h.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,h)};var ve={k256:null,p224:null,p192:null,p25519:null};function ae(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 ye(){ae.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){ae.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function be(){ae.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function D(){ae.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 C(f.gtn(1),"modulus must be greater than 1"),this.m=f,this.prime=null}function c(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)}ae.prototype._tmp=function(){var h=new l(null);return h.words=new Array(Math.ceil(this.n/13)),h},ae.prototype.ireduce=function(h){var L,M=h;do{this.split(M,this.tmp),L=(M=(M=this.imulK(M)).iadd(this.tmp)).bitLength()}while(L>this.n);var O=L<this.n?-1:M.ucmp(this.p);return 0===O?(M.words[0]=0,M.length=1):O>0?M.isub(this.p):void 0!==M.strip?M.strip():M._strip(),M},ae.prototype.split=function(h,M){h.iushrn(this.n,0,M)},ae.prototype.imulK=function(h){return h.imul(this.k)},S(ye,ae),ye.prototype.split=function(h,M){for(var L=4194303,O=Math.min(h.length,9),_=0;_<O;_++)M.words[_]=h.words[_];if(M.length=O,h.length<=9)return h.words[0]=0,void(h.length=1);var r=h.words[9];for(M.words[M.length++]=r&L,_=10;_<h.length;_++){var v=0|h.words[_];h.words[_-10]=(v&L)<<4|r>>>22,r=v}h.words[_-10]=r>>>=22,h.length-=0===r&&h.length>10?10:9},ye.prototype.imulK=function(h){h.words[h.length]=0,h.words[h.length+1]=0,h.length+=2;for(var M=0,L=0;L<h.length;L++){var O=0|h.words[L];h.words[L]=67108863&(M+=977*O),M=64*O+(M/67108864|0)}return 0===h.words[h.length-1]&&(h.length--,0===h.words[h.length-1]&&h.length--),h},S(ue,ae),S(be,ae),S(D,ae),D.prototype.imulK=function(h){for(var M=0,L=0;L<h.length;L++){var O=19*(0|h.words[L])+M,_=67108863&O;O>>>=26,h.words[L]=_,M=O}return 0!==M&&(h.words[h.length++]=M),h},l._prime=function(h){if(ve[h])return ve[h];var M;if("k256"===h)M=new ye;else if("p224"===h)M=new ue;else if("p192"===h)M=new be;else{if("p25519"!==h)throw new Error("Unknown prime "+h);M=new D}return ve[h]=M,M},n.prototype._verify1=function(h){C(0===h.negative,"red works only with positives"),C(h.red,"red works only with red numbers")},n.prototype._verify2=function(h,M){C(!(h.negative|M.negative),"red works only with positives"),C(h.red&&h.red===M.red,"red works only with red numbers")},n.prototype.imod=function(h){return this.prime?this.prime.ireduce(h)._forceRed(this):(w(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,M){this._verify2(h,M);var L=h.add(M);return L.cmp(this.m)>=0&&L.isub(this.m),L._forceRed(this)},n.prototype.iadd=function(h,M){this._verify2(h,M);var L=h.iadd(M);return L.cmp(this.m)>=0&&L.isub(this.m),L},n.prototype.sub=function(h,M){this._verify2(h,M);var L=h.sub(M);return L.cmpn(0)<0&&L.iadd(this.m),L._forceRed(this)},n.prototype.isub=function(h,M){this._verify2(h,M);var L=h.isub(M);return L.cmpn(0)<0&&L.iadd(this.m),L},n.prototype.shl=function(h,M){return this._verify1(h),this.imod(h.ushln(M))},n.prototype.imul=function(h,M){return this._verify2(h,M),this.imod(h.imul(M))},n.prototype.mul=function(h,M){return this._verify2(h,M),this.imod(h.mul(M))},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 M=this.m.andln(3);if(C(M%2==1),3===M){var L=this.m.add(new l(1)).iushrn(2);return this.pow(h,L)}for(var O=this.m.subn(1),_=0;!O.isZero()&&0===O.andln(1);)_++,O.iushrn(1);C(!O.isZero());var r=new l(1).toRed(this),v=r.redNeg(),z=this.m.subn(1).iushrn(1),N=this.m.bitLength();for(N=new l(2*N*N).toRed(this);0!==this.pow(N,z).cmp(v);)N.redIAdd(v);for(var ne=this.pow(N,O),Ie=this.pow(h,O.addn(1).iushrn(1)),at=this.pow(h,O),Ye=_;0!==at.cmp(r);){for(var rt=at,re=0;0!==rt.cmp(r);re++)rt=rt.redSqr();C(re<Ye);var te=this.pow(ne,new l(1).iushln(Ye-re-1));Ie=Ie.redMul(te),ne=te.redSqr(),at=at.redMul(ne),Ye=re}return Ie},n.prototype.invm=function(h){var M=h._invmp(this.m);return 0!==M.negative?(M.negative=0,this.imod(M).redNeg()):this.imod(M)},n.prototype.pow=function(h,M){if(M.isZero())return new l(1).toRed(this);if(0===M.cmpn(1))return h.clone();var O=new Array(16);O[0]=new l(1).toRed(this),O[1]=h;for(var _=2;_<O.length;_++)O[_]=this.mul(O[_-1],h);var r=O[0],v=0,z=0,N=M.bitLength()%26;for(0===N&&(N=26),_=M.length-1;_>=0;_--){for(var ne=M.words[_],Ie=N-1;Ie>=0;Ie--){var at=ne>>Ie&1;r!==O[0]&&(r=this.sqr(r)),0!==at||0!==v?(v<<=1,v|=at,(4==++z||0===_&&0===Ie)&&(r=this.mul(r,O[v]),z=0,v=0)):z=0}N=26}return r},n.prototype.convertTo=function(h){var M=h.umod(this.m);return M===h?M.clone():M},n.prototype.convertFrom=function(h){var M=h.clone();return M.red=null,M},l.mont=function(h){return new c(h)},S(c,n),c.prototype.convertTo=function(h){return this.imod(h.ushln(this.shift))},c.prototype.convertFrom=function(h){var M=this.imod(h.mul(this.rinv));return M.red=null,M},c.prototype.imul=function(h,M){if(h.isZero()||M.isZero())return h.words[0]=0,h.length=1,h;var L=h.imul(M),O=L.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),_=L.isub(O).iushrn(this.shift),r=_;return _.cmp(this.m)>=0?r=_.isub(this.m):_.cmpn(0)<0&&(r=_.iadd(this.m)),r._forceRed(this)},c.prototype.mul=function(h,M){if(h.isZero()||M.isZero())return new l(0)._forceRed(this);var L=h.mul(M),O=L.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),_=L.isub(O).iushrn(this.shift),r=_;return _.cmp(this.m)>=0?r=_.isub(this.m):_.cmpn(0)<0&&(r=_.iadd(this.m)),r._forceRed(this)},c.prototype.invm=function(h){return this.imod(h._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=p.nmd(Ve),this)},5294:(Ve,ee,p)=>{var t;function e(S){this.rand=S}if(Ve.exports=function(l){return t||(t=new e(null)),t.generate(l)},Ve.exports.Rand=e,e.prototype.generate=function(l){return this._rand(l)},e.prototype._rand=function(l){if(this.rand.getBytes)return this.rand.getBytes(l);for(var x=new Uint8Array(l),m=0;m<x.length;m++)x[m]=this.rand.getByte();return x},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?e.prototype._rand=function(l){var x=new Uint8Array(l);return self.crypto.getRandomValues(x),x}:self.msCrypto&&self.msCrypto.getRandomValues?e.prototype._rand=function(l){var x=new Uint8Array(l);return self.msCrypto.getRandomValues(x),x}:"object"==typeof window&&(e.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var C=p(1426);if("function"!=typeof C.randomBytes)throw new Error("Not supported");e.prototype._rand=function(l){return C.randomBytes(l)}}catch{}},2375:(Ve,ee,p)=>{var t=p(7054).Buffer;function e(R){t.isBuffer(R)||(R=t.from(R));for(var d=R.length/4|0,w=new Array(d),y=0;y<d;y++)w[y]=R.readUInt32BE(4*y);return w}function C(R){for(;0<R.length;R++)R[0]=0}function S(R,d,w,y,T){for(var ie,ve,ae,ye,k=w[0],F=w[1],V=w[2],U=w[3],G=R[0]^d[0],Y=R[1]^d[1],$=R[2]^d[2],Z=R[3]^d[3],ue=4,be=1;be<T;be++)ie=k[G>>>24]^F[Y>>>16&255]^V[$>>>8&255]^U[255&Z]^d[ue++],ve=k[Y>>>24]^F[$>>>16&255]^V[Z>>>8&255]^U[255&G]^d[ue++],ae=k[$>>>24]^F[Z>>>16&255]^V[G>>>8&255]^U[255&Y]^d[ue++],ye=k[Z>>>24]^F[G>>>16&255]^V[Y>>>8&255]^U[255&$]^d[ue++],G=ie,Y=ve,$=ae,Z=ye;return ie=(y[G>>>24]<<24|y[Y>>>16&255]<<16|y[$>>>8&255]<<8|y[255&Z])^d[ue++],ve=(y[Y>>>24]<<24|y[$>>>16&255]<<16|y[Z>>>8&255]<<8|y[255&G])^d[ue++],ae=(y[$>>>24]<<24|y[Z>>>16&255]<<16|y[G>>>8&255]<<8|y[255&Y])^d[ue++],ye=(y[Z>>>24]<<24|y[G>>>16&255]<<16|y[Y>>>8&255]<<8|y[255&$])^d[ue++],[ie>>>=0,ve>>>=0,ae>>>=0,ye>>>=0]}var l=[0,1,2,4,8,16,32,64,128,27,54],x=function(){for(var R=new Array(256),d=0;d<256;d++)R[d]=d<128?d<<1:d<<1^283;for(var w=[],y=[],T=[[],[],[],[]],k=[[],[],[],[]],F=0,V=0,U=0;U<256;++U){var G=V^V<<1^V<<2^V<<3^V<<4;w[F]=G=G>>>8^255&G^99,y[G]=F;var Y=R[F],$=R[Y],Z=R[$],ie=257*R[G]^16843008*G;T[0][F]=ie<<24|ie>>>8,T[1][F]=ie<<16|ie>>>16,T[2][F]=ie<<8|ie>>>24,T[3][F]=ie,k[0][G]=(ie=16843009*Z^65537*$^257*Y^16843008*F)<<24|ie>>>8,k[1][G]=ie<<16|ie>>>16,k[2][G]=ie<<8|ie>>>24,k[3][G]=ie,0===F?F=V=1:(F=Y^R[R[R[Z^Y]]],V^=R[R[V]])}return{SBOX:w,INV_SBOX:y,SUB_MIX:T,INV_SUB_MIX:k}}();function m(R){this._key=e(R),this._reset()}m.blockSize=16,m.keySize=32,m.prototype.blockSize=m.blockSize,m.prototype.keySize=m.keySize,m.prototype._reset=function(){for(var R=this._key,d=R.length,w=d+6,y=4*(w+1),T=[],k=0;k<d;k++)T[k]=R[k];for(k=d;k<y;k++){var F=T[k-1];k%d==0?(F=x.SBOX[(F=F<<8|F>>>24)>>>24]<<24|x.SBOX[F>>>16&255]<<16|x.SBOX[F>>>8&255]<<8|x.SBOX[255&F],F^=l[k/d|0]<<24):d>6&&k%d==4&&(F=x.SBOX[F>>>24]<<24|x.SBOX[F>>>16&255]<<16|x.SBOX[F>>>8&255]<<8|x.SBOX[255&F]),T[k]=T[k-d]^F}for(var V=[],U=0;U<y;U++){var G=y-U,Y=T[G-(U%4?0:4)];V[U]=U<4||G<=4?Y:x.INV_SUB_MIX[0][x.SBOX[Y>>>24]]^x.INV_SUB_MIX[1][x.SBOX[Y>>>16&255]]^x.INV_SUB_MIX[2][x.SBOX[Y>>>8&255]]^x.INV_SUB_MIX[3][x.SBOX[255&Y]]}this._nRounds=w,this._keySchedule=T,this._invKeySchedule=V},m.prototype.encryptBlockRaw=function(R){return S(R=e(R),this._keySchedule,x.SUB_MIX,x.SBOX,this._nRounds)},m.prototype.encryptBlock=function(R){var d=this.encryptBlockRaw(R),w=t.allocUnsafe(16);return w.writeUInt32BE(d[0],0),w.writeUInt32BE(d[1],4),w.writeUInt32BE(d[2],8),w.writeUInt32BE(d[3],12),w},m.prototype.decryptBlock=function(R){var d=(R=e(R))[1];R[1]=R[3],R[3]=d;var w=S(R,this._invKeySchedule,x.INV_SUB_MIX,x.INV_SBOX,this._nRounds),y=t.allocUnsafe(16);return y.writeUInt32BE(w[0],0),y.writeUInt32BE(w[3],4),y.writeUInt32BE(w[2],8),y.writeUInt32BE(w[1],12),y},m.prototype.scrub=function(){C(this._keySchedule),C(this._invKeySchedule),C(this._key)},Ve.exports.AES=m},9307:(Ve,ee,p)=>{var t=p(2375),e=p(7054).Buffer,C=p(3247),S=p(1993),l=p(5917),x=p(3546),m=p(5725);function w(y,T,k,F){C.call(this);var V=e.alloc(4,0);this._cipher=new t.AES(T);var U=this._cipher.encryptBlock(V);this._ghash=new l(U),k=function d(y,T,k){if(12===T.length)return y._finID=e.concat([T,e.from([0,0,0,1])]),e.concat([T,e.from([0,0,0,2])]);var F=new l(k),V=T.length,U=V%16;F.update(T),U&&F.update(e.alloc(U=16-U,0)),F.update(e.alloc(8,0));var G=8*V,Y=e.alloc(8);Y.writeUIntBE(G,0,8),F.update(Y),y._finID=F.state;var $=e.from(y._finID);return m($),$}(this,k,U),this._prev=e.from(k),this._cache=e.allocUnsafe(0),this._secCache=e.allocUnsafe(0),this._decrypt=F,this._alen=0,this._len=0,this._mode=y,this._authTag=null,this._called=!1}S(w,C),w.prototype._update=function(y){if(!this._called&&this._alen){var T=16-this._alen%16;T<16&&(T=e.alloc(T,0),this._ghash.update(T))}this._called=!0;var k=this._mode.encrypt(this,y);return this._ghash.update(this._decrypt?y:k),this._len+=y.length,k},w.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var y=x(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function R(y,T){var k=0;y.length!==T.length&&k++;for(var F=Math.min(y.length,T.length),V=0;V<F;++V)k+=y[V]^T[V];return k}(y,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=y,this._cipher.scrub()},w.prototype.getAuthTag=function(){if(this._decrypt||!e.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},w.prototype.setAuthTag=function(T){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=T},w.prototype.setAAD=function(T){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(T),this._alen+=T.length},Ve.exports=w},3388:(Ve,ee,p)=>{var t=p(350),e=p(102),C=p(3219);ee.createCipher=ee.Cipher=t.createCipher,ee.createCipheriv=ee.Cipheriv=t.createCipheriv,ee.createDecipher=ee.Decipher=e.createDecipher,ee.createDecipheriv=ee.Decipheriv=e.createDecipheriv,ee.listCiphers=ee.getCiphers=function S(){return Object.keys(C)}},102:(Ve,ee,p)=>{var t=p(9307),e=p(7054).Buffer,C=p(503),S=p(1821),l=p(3247),x=p(2375),m=p(592);function d(F,V,U){l.call(this),this._cache=new w,this._last=void 0,this._cipher=new x.AES(V),this._prev=e.from(U),this._mode=F,this._autopadding=!0}function w(){this.cache=e.allocUnsafe(0)}function T(F,V,U){var G=C[F.toLowerCase()];if(!G)throw new TypeError("invalid suite type");if("string"==typeof U&&(U=e.from(U)),"GCM"!==G.mode&&U.length!==G.iv)throw new TypeError("invalid iv length "+U.length);if("string"==typeof V&&(V=e.from(V)),V.length!==G.key/8)throw new TypeError("invalid key length "+V.length);return"stream"===G.type?new S(G.module,V,U,!0):"auth"===G.type?new t(G.module,V,U,!0):new d(G.module,V,U)}p(1993)(d,l),d.prototype._update=function(F){this._cache.add(F);for(var V,U,G=[];V=this._cache.get(this._autopadding);)U=this._mode.decrypt(this,V),G.push(U);return e.concat(G)},d.prototype._final=function(){var F=this._cache.flush();if(this._autopadding)return function y(F){var V=F[15];if(V<1||V>16)throw new Error("unable to decrypt data");for(var U=-1;++U<V;)if(F[U+(16-V)]!==V)throw new Error("unable to decrypt data");if(16!==V)return F.slice(0,16-V)}(this._mode.decrypt(this,F));if(F)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(F){return this._autopadding=!!F,this},w.prototype.add=function(F){this.cache=e.concat([this.cache,F])},w.prototype.get=function(F){var V;if(F){if(this.cache.length>16)return V=this.cache.slice(0,16),this.cache=this.cache.slice(16),V}else if(this.cache.length>=16)return V=this.cache.slice(0,16),this.cache=this.cache.slice(16),V;return null},w.prototype.flush=function(){if(this.cache.length)return this.cache},ee.createDecipher=function k(F,V){var U=C[F.toLowerCase()];if(!U)throw new TypeError("invalid suite type");var G=m(V,!1,U.key,U.iv);return T(F,G.key,G.iv)},ee.createDecipheriv=T},350:(Ve,ee,p)=>{var t=p(503),e=p(9307),C=p(7054).Buffer,S=p(1821),l=p(3247),x=p(2375),m=p(592);function d(F,V,U){l.call(this),this._cache=new y,this._cipher=new x.AES(V),this._prev=C.from(U),this._mode=F,this._autopadding=!0}p(1993)(d,l),d.prototype._update=function(F){this._cache.add(F);for(var V,U,G=[];V=this._cache.get();)U=this._mode.encrypt(this,V),G.push(U);return C.concat(G)};var w=C.alloc(16,16);function y(){this.cache=C.allocUnsafe(0)}function T(F,V,U){var G=t[F.toLowerCase()];if(!G)throw new TypeError("invalid suite type");if("string"==typeof V&&(V=C.from(V)),V.length!==G.key/8)throw new TypeError("invalid key length "+V.length);if("string"==typeof U&&(U=C.from(U)),"GCM"!==G.mode&&U.length!==G.iv)throw new TypeError("invalid iv length "+U.length);return"stream"===G.type?new S(G.module,V,U):"auth"===G.type?new e(G.module,V,U):new d(G.module,V,U)}d.prototype._final=function(){var F=this._cache.flush();if(this._autopadding)return F=this._mode.encrypt(this,F),this._cipher.scrub(),F;if(!F.equals(w))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(F){return this._autopadding=!!F,this},y.prototype.add=function(F){this.cache=C.concat([this.cache,F])},y.prototype.get=function(){if(this.cache.length>15){var F=this.cache.slice(0,16);return this.cache=this.cache.slice(16),F}return null},y.prototype.flush=function(){for(var F=16-this.cache.length,V=C.allocUnsafe(F),U=-1;++U<F;)V.writeUInt8(F,U);return C.concat([this.cache,V])},ee.createCipheriv=T,ee.createCipher=function k(F,V){var U=t[F.toLowerCase()];if(!U)throw new TypeError("invalid suite type");var G=m(V,!1,U.key,U.iv);return T(F,G.key,G.iv)}},5917:(Ve,ee,p)=>{var t=p(7054).Buffer,e=t.alloc(16,0);function S(x){var m=t.allocUnsafe(16);return m.writeUInt32BE(x[0]>>>0,0),m.writeUInt32BE(x[1]>>>0,4),m.writeUInt32BE(x[2]>>>0,8),m.writeUInt32BE(x[3]>>>0,12),m}function l(x){this.h=x,this.state=t.alloc(16,0),this.cache=t.allocUnsafe(0)}l.prototype.ghash=function(x){for(var m=-1;++m<x.length;)this.state[m]^=x[m];this._multiply()},l.prototype._multiply=function(){for(var R,w,x=function C(x){return[x.readUInt32BE(0),x.readUInt32BE(4),x.readUInt32BE(8),x.readUInt32BE(12)]}(this.h),m=[0,0,0,0],y=-1;++y<128;){for(!!(this.state[~~(y/8)]&1<<7-y%8)&&(m[0]^=x[0],m[1]^=x[1],m[2]^=x[2],m[3]^=x[3]),w=!!(1&x[3]),R=3;R>0;R--)x[R]=x[R]>>>1|(1&x[R-1])<<31;x[0]=x[0]>>>1,w&&(x[0]=x[0]^225<<24)}this.state=S(m)},l.prototype.update=function(x){this.cache=t.concat([this.cache,x]);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(x,m){return this.cache.length&&this.ghash(t.concat([this.cache,e],16)),this.ghash(S([0,x,0,m])),this.state},Ve.exports=l},5725:Ve=>{Ve.exports=function ee(p){for(var e,t=p.length;t--;){if(255!==(e=p.readUInt8(t))){e++,p.writeUInt8(e,t);break}p.writeUInt8(0,t)}}},4133:(Ve,ee,p)=>{var t=p(3546);ee.encrypt=function(e,C){var S=t(C,e._prev);return e._prev=e._cipher.encryptBlock(S),e._prev},ee.decrypt=function(e,C){var S=e._prev;e._prev=C;var l=e._cipher.decryptBlock(C);return t(l,S)}},7090:(Ve,ee,p)=>{var t=p(7054).Buffer,e=p(3546);function C(S,l,x){var m=l.length,R=e(l,S._cache);return S._cache=S._cache.slice(m),S._prev=t.concat([S._prev,x?l:R]),R}ee.encrypt=function(S,l,x){for(var R,m=t.allocUnsafe(0);l.length;){if(0===S._cache.length&&(S._cache=S._cipher.encryptBlock(S._prev),S._prev=t.allocUnsafe(0)),!(S._cache.length<=l.length)){m=t.concat([m,C(S,l,x)]);break}m=t.concat([m,C(S,l.slice(0,R=S._cache.length),x)]),l=l.slice(R)}return m}},1039:(Ve,ee,p)=>{var t=p(7054).Buffer;function e(S,l,x){for(var y,T,R=-1,w=0;++R<8;)w+=(128&(T=S._cipher.encryptBlock(S._prev)[0]^(y=l&1<<7-R?128:0)))>>R%8,S._prev=C(S._prev,x?y:T);return w}function C(S,l){var x=S.length,m=-1,R=t.allocUnsafe(S.length);for(S=t.concat([S,t.from([l])]);++m<x;)R[m]=S[m]<<1|S[m+1]>>7;return R}ee.encrypt=function(S,l,x){for(var m=l.length,R=t.allocUnsafe(m),d=-1;++d<m;)R[d]=e(S,l[d],x);return R}},2576:(Ve,ee,p)=>{var t=p(7054).Buffer;function e(C,S,l){var m=C._cipher.encryptBlock(C._prev)[0]^S;return C._prev=t.concat([C._prev.slice(1),t.from([l?S:m])]),m}ee.encrypt=function(C,S,l){for(var x=S.length,m=t.allocUnsafe(x),R=-1;++R<x;)m[R]=e(C,S[R],l);return m}},336:(Ve,ee,p)=>{var t=p(3546),e=p(7054).Buffer,C=p(5725);function S(x){var m=x._cipher.encryptBlockRaw(x._prev);return C(x._prev),m}ee.encrypt=function(x,m){var R=Math.ceil(m.length/16),d=x._cache.length;x._cache=e.concat([x._cache,e.allocUnsafe(16*R)]);for(var w=0;w<R;w++){var y=S(x),T=d+16*w;x._cache.writeUInt32BE(y[0],T+0),x._cache.writeUInt32BE(y[1],T+4),x._cache.writeUInt32BE(y[2],T+8),x._cache.writeUInt32BE(y[3],T+12)}var k=x._cache.slice(0,m.length);return x._cache=x._cache.slice(m.length),t(m,k)}},7513:(Ve,ee)=>{ee.encrypt=function(p,t){return p._cipher.encryptBlock(t)},ee.decrypt=function(p,t){return p._cipher.decryptBlock(t)}},503:(Ve,ee,p)=>{var t={ECB:p(7513),CBC:p(4133),CFB:p(7090),CFB8:p(2576),CFB1:p(1039),OFB:p(6854),CTR:p(336),GCM:p(336)},e=p(3219);for(var C in e)e[C].module=t[e[C].mode];Ve.exports=e},6854:(Ve,ee,p)=>{var t=p(3546);function e(C){return C._prev=C._cipher.encryptBlock(C._prev),C._prev}ee.encrypt=function(C,S){for(;C._cache.length<S.length;)C._cache=Buffer.concat([C._cache,e(C)]);var l=C._cache.slice(0,S.length);return C._cache=C._cache.slice(S.length),t(S,l)}},1821:(Ve,ee,p)=>{var t=p(2375),e=p(7054).Buffer,C=p(3247);function l(x,m,R,d){C.call(this),this._cipher=new t.AES(m),this._prev=e.from(R),this._cache=e.allocUnsafe(0),this._secCache=e.allocUnsafe(0),this._decrypt=d,this._mode=x}p(1993)(l,C),l.prototype._update=function(x){return this._mode.encrypt(this,x,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},Ve.exports=l},8862:(Ve,ee,p)=>{var t=p(9799),e=p(3388),C=p(503),S=p(9571),l=p(592);function R(y,T,k){if(y=y.toLowerCase(),C[y])return e.createCipheriv(y,T,k);if(S[y])return new t({key:T,iv:k,mode:y});throw new TypeError("invalid suite type")}function d(y,T,k){if(y=y.toLowerCase(),C[y])return e.createDecipheriv(y,T,k);if(S[y])return new t({key:T,iv:k,mode:y,decrypt:!0});throw new TypeError("invalid suite type")}ee.createCipher=ee.Cipher=function x(y,T){var k,F;if(y=y.toLowerCase(),C[y])k=C[y].key,F=C[y].iv;else{if(!S[y])throw new TypeError("invalid suite type");k=8*S[y].key,F=S[y].iv}var V=l(T,!1,k,F);return R(y,V.key,V.iv)},ee.createCipheriv=ee.Cipheriv=R,ee.createDecipher=ee.Decipher=function m(y,T){var k,F;if(y=y.toLowerCase(),C[y])k=C[y].key,F=C[y].iv;else{if(!S[y])throw new TypeError("invalid suite type");k=8*S[y].key,F=S[y].iv}var V=l(T,!1,k,F);return d(y,V.key,V.iv)},ee.createDecipheriv=ee.Decipheriv=d,ee.listCiphers=ee.getCiphers=function w(){return Object.keys(S).concat(e.getCiphers())}},9799:(Ve,ee,p)=>{var t=p(3247),e=p(1549),C=p(1993),S=p(7054).Buffer,l={"des-ede3-cbc":e.CBC.instantiate(e.EDE),"des-ede3":e.EDE,"des-ede-cbc":e.CBC.instantiate(e.EDE),"des-ede":e.EDE,"des-cbc":e.CBC.instantiate(e.DES),"des-ecb":e.DES};function x(m){t.call(this);var w,R=m.mode.toLowerCase(),d=l[R];w=m.decrypt?"decrypt":"encrypt";var y=m.key;S.isBuffer(y)||(y=S.from(y)),("des-ede"===R||"des-ede-cbc"===R)&&(y=S.concat([y,y.slice(0,8)]));var T=m.iv;S.isBuffer(T)||(T=S.from(T)),this._des=d.create({key:y,iv:T,type:w})}l.des=l["des-cbc"],l.des3=l["des-ede3-cbc"],Ve.exports=x,C(x,t),x.prototype._update=function(m){return S.from(this._des.update(m))},x.prototype._final=function(){return S.from(this._des.final())}},9571:(Ve,ee)=>{ee["des-ecb"]={key:8,iv:0},ee["des-cbc"]=ee.des={key:8,iv:8},ee["des-ede3-cbc"]=ee.des3={key:24,iv:8},ee["des-ede3"]={key:24,iv:0},ee["des-ede-cbc"]={key:16,iv:8},ee["des-ede"]={key:16,iv:0}},4105:(Ve,ee,p)=>{"use strict";var t=p(917),e=p(3342),C=p(7054).Buffer;function S(m){var d,R=m.modulus.byteLength();do{d=new t(e(R))}while(d.cmp(m.modulus)>=0||!d.umod(m.prime1)||!d.umod(m.prime2));return d}function x(m,R){var d=function l(m){var R=S(m);return{blinder:R.toRed(t.mont(m.modulus)).redPow(new t(m.publicExponent)).fromRed(),unblinder:R.invm(m.modulus)}}(R),w=R.modulus.byteLength(),y=new t(m).mul(d.blinder).umod(R.modulus),T=y.toRed(t.mont(R.prime1)),k=y.toRed(t.mont(R.prime2)),F=R.coefficient,V=R.prime1,U=R.prime2,G=T.redPow(R.exponent1).fromRed(),Y=k.redPow(R.exponent2).fromRed(),$=G.isub(Y).imul(F).umod(V).imul(U);return Y.iadd($).imul(d.unblinder).umod(R.modulus).toArrayLike(C,"be",w)}x.getr=S,Ve.exports=x},9560:(Ve,ee,p)=>{"use strict";Ve.exports=p(2951)},9143:(Ve,ee,p)=>{"use strict";var t=p(7054).Buffer,e=p(7211),C=p(5942),S=p(1993),l=p(3150),x=p(4754),m=p(2951);function R(T){C.Writable.call(this);var k=m[T];if(!k)throw new Error("Unknown message digest");this._hashType=k.hash,this._hash=e(k.hash),this._tag=k.id,this._signType=k.sign}function d(T){C.Writable.call(this);var k=m[T];if(!k)throw new Error("Unknown message digest");this._hash=e(k.hash),this._tag=k.id,this._signType=k.sign}function w(T){return new R(T)}function y(T){return new d(T)}Object.keys(m).forEach(function(T){m[T].id=t.from(m[T].id,"hex"),m[T.toLowerCase()]=m[T]}),S(R,C.Writable),R.prototype._write=function(k,F,V){this._hash.update(k),V()},R.prototype.update=function(k,F){return this._hash.update("string"==typeof k?t.from(k,F):k),this},R.prototype.sign=function(k,F){this.end();var V=this._hash.digest(),U=l(V,k,this._hashType,this._signType,this._tag);return F?U.toString(F):U},S(d,C.Writable),d.prototype._write=function(k,F,V){this._hash.update(k),V()},d.prototype.update=function(k,F){return this._hash.update("string"==typeof k?t.from(k,F):k),this},d.prototype.verify=function(k,F,V){var U="string"==typeof F?t.from(F,V):F;this.end();var G=this._hash.digest();return x(U,G,k,this._signType,this._tag)},Ve.exports={Sign:w,Verify:y,createSign:w,createVerify:y}},3150:(Ve,ee,p)=>{"use strict";var t=p(7054).Buffer,e=p(6432),C=p(4105),S=p(518).ec,l=p(917),x=p(5667),m=p(4589);function k(Y,$,Z,ie){if((Y=t.from(Y.toArray())).length<$.byteLength()){var ve=t.alloc($.byteLength()-Y.length);Y=t.concat([ve,Y])}var ae=Z.length,ye=function V(Y,$){Y=(Y=F(Y,$)).mod($);var Z=t.from(Y.toArray());if(Z.length<$.byteLength()){var ie=t.alloc($.byteLength()-Z.length);Z=t.concat([ie,Z])}return Z}(Z,$),ue=t.alloc(ae);ue.fill(1);var be=t.alloc(ae);return be=e(ie,be).update(ue).update(t.from([0])).update(Y).update(ye).digest(),ue=e(ie,be).update(ue).digest(),{k:be=e(ie,be).update(ue).update(t.from([1])).update(Y).update(ye).digest(),v:ue=e(ie,be).update(ue).digest()}}function F(Y,$){var Z=new l(Y),ie=(Y.length<<3)-$.bitLength();return ie>0&&Z.ishrn(ie),Z}function U(Y,$,Z){var ie,ve;do{for(ie=t.alloc(0);8*ie.length<Y.bitLength();)$.v=e(Z,$.k).update($.v).digest(),ie=t.concat([ie,$.v]);ve=F(ie,Y),$.k=e(Z,$.k).update($.v).update(t.from([0])).digest(),$.v=e(Z,$.k).update($.v).digest()}while(-1!==ve.cmp(Y));return ve}function G(Y,$,Z,ie){return Y.toRed(l.mont(Z)).redPow($).fromRed().mod(ie)}Ve.exports=function d(Y,$,Z,ie,ve){var ae=x($);if(ae.curve){if("ecdsa"!==ie&&"ecdsa/rsa"!==ie)throw new Error("wrong private key type");return function w(Y,$){var Z=m[$.curve.join(".")];if(!Z)throw new Error("unknown curve "+$.curve.join("."));var ae=new S(Z).keyFromPrivate($.privateKey).sign(Y);return t.from(ae.toDER())}(Y,ae)}if("dsa"===ae.type){if("dsa"!==ie)throw new Error("wrong private key type");return function y(Y,$,Z){for(var be,ie=$.params.priv_key,ve=$.params.p,ae=$.params.q,ye=$.params.g,ue=new l(0),D=F(Y,ae).mod(ae),n=!1,c=k(ie,ae,Y,Z);!1===n;)ue=G(ye,be=U(ae,c,Z),ve,ae),0===(n=be.invm(ae).imul(D.add(ie.mul(ue))).mod(ae)).cmpn(0)&&(n=!1,ue=new l(0));return function T(Y,$){Y=Y.toArray(),$=$.toArray(),128&Y[0]&&(Y=[0].concat(Y)),128&$[0]&&($=[0].concat($));var ie=[48,Y.length+$.length+4,2,Y.length];return ie=ie.concat(Y,[2,$.length],$),t.from(ie)}(ue,n)}(Y,ae,Z)}if("rsa"!==ie&&"ecdsa/rsa"!==ie)throw new Error("wrong private key type");if(void 0!==$.padding&&1!==$.padding)throw new Error("illegal or unsupported padding mode");Y=t.concat([ve,Y]);for(var ye=ae.modulus.byteLength(),ue=[0,1];Y.length+ue.length+1<ye;)ue.push(255);ue.push(0);for(var be=-1;++be<Y.length;)ue.push(Y[be]);return C(ue,ae)},Ve.exports.getKey=k,Ve.exports.makeKey=U},4754:(Ve,ee,p)=>{"use strict";var t=p(7054).Buffer,e=p(917),C=p(518).ec,S=p(5667),l=p(4589);function d(w,y){if(w.cmpn(0)<=0)throw new Error("invalid sig");if(w.cmp(y)>=0)throw new Error("invalid sig")}Ve.exports=function x(w,y,T,k,F){var V=S(T);if("ec"===V.type){if("ecdsa"!==k&&"ecdsa/rsa"!==k)throw new Error("wrong public key type");return function m(w,y,T){var k=l[T.data.algorithm.curve.join(".")];if(!k)throw new Error("unknown curve "+T.data.algorithm.curve.join("."));return new C(k).verify(y,w,T.data.subjectPrivateKey.data)}(w,y,V)}if("dsa"===V.type){if("dsa"!==k)throw new Error("wrong public key type");return function R(w,y,T){var k=T.data.p,F=T.data.q,V=T.data.g,U=T.data.pub_key,G=S.signature.decode(w,"der"),Y=G.s,$=G.r;d(Y,F),d($,F);var Z=e.mont(k),ie=Y.invm(F);return 0===V.toRed(Z).redPow(new e(y).mul(ie).mod(F)).fromRed().mul(U.toRed(Z).redPow($.mul(ie).mod(F)).fromRed()).mod(k).mod(F).cmp($)}(w,y,V)}if("rsa"!==k&&"ecdsa/rsa"!==k)throw new Error("wrong public key type");y=t.concat([F,y]);for(var U=V.modulus.byteLength(),G=[1],Y=0;y.length+G.length+2<U;)G.push(255),Y+=1;G.push(0);for(var $=-1;++$<y.length;)G.push(y[$]);G=t.from(G);var Z=e.mont(V.modulus);w=(w=new e(w).toRed(Z)).redPow(new e(V.publicExponent)),w=t.from(w.fromRed().toArray());var ie=Y<8?1:0;for(U=Math.min(w.length,G.length),w.length!==G.length&&(ie=1),$=-1;++$<U;)ie|=w[$]^G[$];return 0===ie}},3546:Ve=>{Ve.exports=function(p,t){for(var e=Math.min(p.length,t.length),C=new Buffer(e),S=0;S<e;++S)C[S]=p[S]^t[S];return C}},3838:(Ve,ee,p)=>{"use strict";var t=p(3981),e=p(2020),C="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;ee.Buffer=m,ee.SlowBuffer=function Y(se){return+se!=se&&(se=0),m.alloc(+se)},ee.INSPECT_MAX_BYTES=50;var S=2147483647;function x(se){if(se>S)throw new RangeError('The value "'+se+'" is invalid for option "size"');var fe=new Uint8Array(se);return Object.setPrototypeOf(fe,m.prototype),fe}function m(se,fe,he){if("number"==typeof se){if("string"==typeof fe)throw new TypeError('The "string" argument must be of type string. Received type number');return y(se)}return R(se,fe,he)}function R(se,fe,he){if("string"==typeof se)return function T(se,fe){if(("string"!=typeof fe||""===fe)&&(fe="utf8"),!m.isEncoding(fe))throw new TypeError("Unknown encoding: "+fe);var he=0|$(se,fe),et=x(he),Ke=et.write(se,fe);return Ke!==he&&(et=et.slice(0,Ke)),et}(se,fe);if(ArrayBuffer.isView(se))return function F(se){if(de(se,Uint8Array)){var fe=new Uint8Array(se);return V(fe.buffer,fe.byteOffset,fe.byteLength)}return k(se)}(se);if(null==se)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof se);if(de(se,ArrayBuffer)||se&&de(se.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(de(se,SharedArrayBuffer)||se&&de(se.buffer,SharedArrayBuffer)))return V(se,fe,he);if("number"==typeof se)throw new TypeError('The "value" argument must not be of type number. Received type number');var et=se.valueOf&&se.valueOf();if(null!=et&&et!==se)return m.from(et,fe,he);var Ke=function U(se){if(m.isBuffer(se)){var fe=0|G(se.length),he=x(fe);return 0===he.length||se.copy(he,0,0,fe),he}return void 0!==se.length?"number"!=typeof se.length||pe(se.length)?x(0):k(se):"Buffer"===se.type&&Array.isArray(se.data)?k(se.data):void 0}(se);if(Ke)return Ke;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof se[Symbol.toPrimitive])return m.from(se[Symbol.toPrimitive]("string"),fe,he);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof se)}function d(se){if("number"!=typeof se)throw new TypeError('"size" argument must be of type number');if(se<0)throw new RangeError('The value "'+se+'" is invalid for option "size"')}function y(se){return d(se),x(se<0?0:0|G(se))}function k(se){for(var fe=se.length<0?0:0|G(se.length),he=x(fe),et=0;et<fe;et+=1)he[et]=255&se[et];return he}function V(se,fe,he){if(fe<0||se.byteLength<fe)throw new RangeError('"offset" is outside of buffer bounds');if(se.byteLength<fe+(he||0))throw new RangeError('"length" is outside of buffer bounds');var et;return et=void 0===fe&&void 0===he?new Uint8Array(se):void 0===he?new Uint8Array(se,fe):new Uint8Array(se,fe,he),Object.setPrototypeOf(et,m.prototype),et}function G(se){if(se>=S)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+S.toString(16)+" bytes");return 0|se}function $(se,fe){if(m.isBuffer(se))return se.length;if(ArrayBuffer.isView(se)||de(se,ArrayBuffer))return se.byteLength;if("string"!=typeof se)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof se);var he=se.length,et=arguments.length>2&&!0===arguments[2];if(!et&&0===he)return 0;for(var Ke=!1;;)switch(fe){case"ascii":case"latin1":case"binary":return he;case"utf8":case"utf-8":return rt(se).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*he;case"hex":return he>>>1;case"base64":return oe(se).length;default:if(Ke)return et?-1:rt(se).length;fe=(""+fe).toLowerCase(),Ke=!0}}function Z(se,fe,he){var et=!1;if((void 0===fe||fe<0)&&(fe=0),fe>this.length||((void 0===he||he>this.length)&&(he=this.length),he<=0)||(he>>>=0)<=(fe>>>=0))return"";for(se||(se="utf8");;)switch(se){case"hex":return _(this,fe,he);case"utf8":case"utf-8":return f(this,fe,he);case"ascii":return L(this,fe,he);case"latin1":case"binary":return O(this,fe,he);case"base64":return c(this,fe,he);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r(this,fe,he);default:if(et)throw new TypeError("Unknown encoding: "+se);se=(se+"").toLowerCase(),et=!0}}function ie(se,fe,he){var et=se[fe];se[fe]=se[he],se[he]=et}function ve(se,fe,he,et,Ke){if(0===se.length)return-1;if("string"==typeof he?(et=he,he=0):he>2147483647?he=2147483647:he<-2147483648&&(he=-2147483648),pe(he=+he)&&(he=Ke?0:se.length-1),he<0&&(he=se.length+he),he>=se.length){if(Ke)return-1;he=se.length-1}else if(he<0){if(!Ke)return-1;he=0}if("string"==typeof fe&&(fe=m.from(fe,et)),m.isBuffer(fe))return 0===fe.length?-1:ae(se,fe,he,et,Ke);if("number"==typeof fe)return fe&=255,"function"==typeof Uint8Array.prototype.indexOf?Ke?Uint8Array.prototype.indexOf.call(se,fe,he):Uint8Array.prototype.lastIndexOf.call(se,fe,he):ae(se,[fe],he,et,Ke);throw new TypeError("val must be string, number or Buffer")}function ae(se,fe,he,et,Ke){var Je,Ct=1,_t=se.length,Nt=fe.length;if(void 0!==et&&("ucs2"===(et=String(et).toLowerCase())||"ucs-2"===et||"utf16le"===et||"utf-16le"===et)){if(se.length<2||fe.length<2)return-1;Ct=2,_t/=2,Nt/=2,he/=2}function ke(ht,tt){return 1===Ct?ht[tt]:ht.readUInt16BE(tt*Ct)}if(Ke){var Qe=-1;for(Je=he;Je<_t;Je++)if(ke(se,Je)===ke(fe,-1===Qe?0:Je-Qe)){if(-1===Qe&&(Qe=Je),Je-Qe+1===Nt)return Qe*Ct}else-1!==Qe&&(Je-=Je-Qe),Qe=-1}else for(he+Nt>_t&&(he=_t-Nt),Je=he;Je>=0;Je--){for(var nt=!0,Ue=0;Ue<Nt;Ue++)if(ke(se,Je+Ue)!==ke(fe,Ue)){nt=!1;break}if(nt)return Je}return-1}function ye(se,fe,he,et){he=Number(he)||0;var Ke=se.length-he;et?(et=Number(et))>Ke&&(et=Ke):et=Ke;var Ct=fe.length;et>Ct/2&&(et=Ct/2);for(var _t=0;_t<et;++_t){var Nt=parseInt(fe.substr(2*_t,2),16);if(pe(Nt))return _t;se[he+_t]=Nt}return _t}function ue(se,fe,he,et){return _e(rt(fe,se.length-he),se,he,et)}function be(se,fe,he,et){return _e(function re(se){for(var fe=[],he=0;he<se.length;++he)fe.push(255&se.charCodeAt(he));return fe}(fe),se,he,et)}function D(se,fe,he,et){return _e(oe(fe),se,he,et)}function n(se,fe,he,et){return _e(function te(se,fe){for(var he,et,Ct=[],_t=0;_t<se.length&&!((fe-=2)<0);++_t)et=(he=se.charCodeAt(_t))>>8,Ct.push(he%256),Ct.push(et);return Ct}(fe,se.length-he),se,he,et)}function c(se,fe,he){return t.fromByteArray(0===fe&&he===se.length?se:se.slice(fe,he))}function f(se,fe,he){he=Math.min(se.length,he);for(var et=[],Ke=fe;Ke<he;){var ke,Je,Qe,nt,Ct=se[Ke],_t=null,Nt=Ct>239?4:Ct>223?3:Ct>191?2:1;if(Ke+Nt<=he)switch(Nt){case 1:Ct<128&&(_t=Ct);break;case 2:128==(192&(ke=se[Ke+1]))&&(nt=(31&Ct)<<6|63&ke)>127&&(_t=nt);break;case 3:Je=se[Ke+2],128==(192&(ke=se[Ke+1]))&&128==(192&Je)&&(nt=(15&Ct)<<12|(63&ke)<<6|63&Je)>2047&&(nt<55296||nt>57343)&&(_t=nt);break;case 4:Je=se[Ke+2],Qe=se[Ke+3],128==(192&(ke=se[Ke+1]))&&128==(192&Je)&&128==(192&Qe)&&(nt=(15&Ct)<<18|(63&ke)<<12|(63&Je)<<6|63&Qe)>65535&&nt<1114112&&(_t=nt)}null===_t?(_t=65533,Nt=1):_t>65535&&(et.push((_t-=65536)>>>10&1023|55296),_t=56320|1023&_t),et.push(_t),Ke+=Nt}return function M(se){var fe=se.length;if(fe<=h)return String.fromCharCode.apply(String,se);for(var he="",et=0;et<fe;)he+=String.fromCharCode.apply(String,se.slice(et,et+=h));return he}(et)}ee.kMaxLength=S,!(m.TYPED_ARRAY_SUPPORT=function l(){try{var se=new Uint8Array(1),fe={foo:function(){return 42}};return Object.setPrototypeOf(fe,Uint8Array.prototype),Object.setPrototypeOf(se,fe),42===se.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(se,fe,he){return R(se,fe,he)},Object.setPrototypeOf(m.prototype,Uint8Array.prototype),Object.setPrototypeOf(m,Uint8Array),m.alloc=function(se,fe,he){return function w(se,fe,he){return d(se),se<=0?x(se):void 0!==fe?"string"==typeof he?x(se).fill(fe,he):x(se).fill(fe):x(se)}(se,fe,he)},m.allocUnsafe=function(se){return y(se)},m.allocUnsafeSlow=function(se){return y(se)},m.isBuffer=function(fe){return null!=fe&&!0===fe._isBuffer&&fe!==m.prototype},m.compare=function(fe,he){if(de(fe,Uint8Array)&&(fe=m.from(fe,fe.offset,fe.byteLength)),de(he,Uint8Array)&&(he=m.from(he,he.offset,he.byteLength)),!m.isBuffer(fe)||!m.isBuffer(he))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(fe===he)return 0;for(var et=fe.length,Ke=he.length,Ct=0,_t=Math.min(et,Ke);Ct<_t;++Ct)if(fe[Ct]!==he[Ct]){et=fe[Ct],Ke=he[Ct];break}return et<Ke?-1:Ke<et?1:0},m.isEncoding=function(fe){switch(String(fe).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(fe,he){if(!Array.isArray(fe))throw new TypeError('"list" argument must be an Array of Buffers');if(0===fe.length)return m.alloc(0);var et;if(void 0===he)for(he=0,et=0;et<fe.length;++et)he+=fe[et].length;var Ke=m.allocUnsafe(he),Ct=0;for(et=0;et<fe.length;++et){var _t=fe[et];if(de(_t,Uint8Array))Ct+_t.length>Ke.length?m.from(_t).copy(Ke,Ct):Uint8Array.prototype.set.call(Ke,_t,Ct);else{if(!m.isBuffer(_t))throw new TypeError('"list" argument must be an Array of Buffers');_t.copy(Ke,Ct)}Ct+=_t.length}return Ke},m.byteLength=$,m.prototype._isBuffer=!0,m.prototype.swap16=function(){var fe=this.length;if(fe%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var he=0;he<fe;he+=2)ie(this,he,he+1);return this},m.prototype.swap32=function(){var fe=this.length;if(fe%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var he=0;he<fe;he+=4)ie(this,he,he+3),ie(this,he+1,he+2);return this},m.prototype.swap64=function(){var fe=this.length;if(fe%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var he=0;he<fe;he+=8)ie(this,he,he+7),ie(this,he+1,he+6),ie(this,he+2,he+5),ie(this,he+3,he+4);return this},m.prototype.toLocaleString=m.prototype.toString=function(){var fe=this.length;return 0===fe?"":0===arguments.length?f(this,0,fe):Z.apply(this,arguments)},m.prototype.equals=function(fe){if(!m.isBuffer(fe))throw new TypeError("Argument must be a Buffer");return this===fe||0===m.compare(this,fe)},m.prototype.inspect=function(){var fe="",he=ee.INSPECT_MAX_BYTES;return fe=this.toString("hex",0,he).replace(/(.{2})/g,"$1 ").trim(),this.length>he&&(fe+=" ... "),"<Buffer "+fe+">"},C&&(m.prototype[C]=m.prototype.inspect),m.prototype.compare=function(fe,he,et,Ke,Ct){if(de(fe,Uint8Array)&&(fe=m.from(fe,fe.offset,fe.byteLength)),!m.isBuffer(fe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof fe);if(void 0===he&&(he=0),void 0===et&&(et=fe?fe.length:0),void 0===Ke&&(Ke=0),void 0===Ct&&(Ct=this.length),he<0||et>fe.length||Ke<0||Ct>this.length)throw new RangeError("out of range index");if(Ke>=Ct&&he>=et)return 0;if(Ke>=Ct)return-1;if(he>=et)return 1;if(this===fe)return 0;for(var _t=(Ct>>>=0)-(Ke>>>=0),Nt=(et>>>=0)-(he>>>=0),ke=Math.min(_t,Nt),Je=this.slice(Ke,Ct),Qe=fe.slice(he,et),nt=0;nt<ke;++nt)if(Je[nt]!==Qe[nt]){_t=Je[nt],Nt=Qe[nt];break}return _t<Nt?-1:Nt<_t?1:0},m.prototype.includes=function(fe,he,et){return-1!==this.indexOf(fe,he,et)},m.prototype.indexOf=function(fe,he,et){return ve(this,fe,he,et,!0)},m.prototype.lastIndexOf=function(fe,he,et){return ve(this,fe,he,et,!1)},m.prototype.write=function(fe,he,et,Ke){if(void 0===he)Ke="utf8",et=this.length,he=0;else if(void 0===et&&"string"==typeof he)Ke=he,et=this.length,he=0;else{if(!isFinite(he))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");he>>>=0,isFinite(et)?(et>>>=0,void 0===Ke&&(Ke="utf8")):(Ke=et,et=void 0)}var Ct=this.length-he;if((void 0===et||et>Ct)&&(et=Ct),fe.length>0&&(et<0||he<0)||he>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ke||(Ke="utf8");for(var _t=!1;;)switch(Ke){case"hex":return ye(this,fe,he,et);case"utf8":case"utf-8":return ue(this,fe,he,et);case"ascii":case"latin1":case"binary":return be(this,fe,he,et);case"base64":return D(this,fe,he,et);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,fe,he,et);default:if(_t)throw new TypeError("Unknown encoding: "+Ke);Ke=(""+Ke).toLowerCase(),_t=!0}},m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var h=4096;function L(se,fe,he){var et="";he=Math.min(se.length,he);for(var Ke=fe;Ke<he;++Ke)et+=String.fromCharCode(127&se[Ke]);return et}function O(se,fe,he){var et="";he=Math.min(se.length,he);for(var Ke=fe;Ke<he;++Ke)et+=String.fromCharCode(se[Ke]);return et}function _(se,fe,he){var et=se.length;(!fe||fe<0)&&(fe=0),(!he||he<0||he>et)&&(he=et);for(var Ke="",Ct=fe;Ct<he;++Ct)Ke+=We[se[Ct]];return Ke}function r(se,fe,he){for(var et=se.slice(fe,he),Ke="",Ct=0;Ct<et.length-1;Ct+=2)Ke+=String.fromCharCode(et[Ct]+256*et[Ct+1]);return Ke}function v(se,fe,he){if(se%1!=0||se<0)throw new RangeError("offset is not uint");if(se+fe>he)throw new RangeError("Trying to access beyond buffer length")}function z(se,fe,he,et,Ke,Ct){if(!m.isBuffer(se))throw new TypeError('"buffer" argument must be a Buffer instance');if(fe>Ke||fe<Ct)throw new RangeError('"value" argument is out of bounds');if(he+et>se.length)throw new RangeError("Index out of range")}function N(se,fe,he,et,Ke,Ct){if(he+et>se.length)throw new RangeError("Index out of range");if(he<0)throw new RangeError("Index out of range")}function ne(se,fe,he,et,Ke){return fe=+fe,he>>>=0,Ke||N(se,0,he,4),e.write(se,fe,he,et,23,4),he+4}function Ie(se,fe,he,et,Ke){return fe=+fe,he>>>=0,Ke||N(se,0,he,8),e.write(se,fe,he,et,52,8),he+8}m.prototype.slice=function(fe,he){var et=this.length;(fe=~~fe)<0?(fe+=et)<0&&(fe=0):fe>et&&(fe=et),(he=void 0===he?et:~~he)<0?(he+=et)<0&&(he=0):he>et&&(he=et),he<fe&&(he=fe);var Ke=this.subarray(fe,he);return Object.setPrototypeOf(Ke,m.prototype),Ke},m.prototype.readUintLE=m.prototype.readUIntLE=function(fe,he,et){fe>>>=0,he>>>=0,et||v(fe,he,this.length);for(var Ke=this[fe],Ct=1,_t=0;++_t<he&&(Ct*=256);)Ke+=this[fe+_t]*Ct;return Ke},m.prototype.readUintBE=m.prototype.readUIntBE=function(fe,he,et){fe>>>=0,he>>>=0,et||v(fe,he,this.length);for(var Ke=this[fe+--he],Ct=1;he>0&&(Ct*=256);)Ke+=this[fe+--he]*Ct;return Ke},m.prototype.readUint8=m.prototype.readUInt8=function(fe,he){return fe>>>=0,he||v(fe,1,this.length),this[fe]},m.prototype.readUint16LE=m.prototype.readUInt16LE=function(fe,he){return fe>>>=0,he||v(fe,2,this.length),this[fe]|this[fe+1]<<8},m.prototype.readUint16BE=m.prototype.readUInt16BE=function(fe,he){return fe>>>=0,he||v(fe,2,this.length),this[fe]<<8|this[fe+1]},m.prototype.readUint32LE=m.prototype.readUInt32LE=function(fe,he){return fe>>>=0,he||v(fe,4,this.length),(this[fe]|this[fe+1]<<8|this[fe+2]<<16)+16777216*this[fe+3]},m.prototype.readUint32BE=m.prototype.readUInt32BE=function(fe,he){return fe>>>=0,he||v(fe,4,this.length),16777216*this[fe]+(this[fe+1]<<16|this[fe+2]<<8|this[fe+3])},m.prototype.readIntLE=function(fe,he,et){fe>>>=0,he>>>=0,et||v(fe,he,this.length);for(var Ke=this[fe],Ct=1,_t=0;++_t<he&&(Ct*=256);)Ke+=this[fe+_t]*Ct;return Ke>=(Ct*=128)&&(Ke-=Math.pow(2,8*he)),Ke},m.prototype.readIntBE=function(fe,he,et){fe>>>=0,he>>>=0,et||v(fe,he,this.length);for(var Ke=he,Ct=1,_t=this[fe+--Ke];Ke>0&&(Ct*=256);)_t+=this[fe+--Ke]*Ct;return _t>=(Ct*=128)&&(_t-=Math.pow(2,8*he)),_t},m.prototype.readInt8=function(fe,he){return fe>>>=0,he||v(fe,1,this.length),128&this[fe]?-1*(255-this[fe]+1):this[fe]},m.prototype.readInt16LE=function(fe,he){fe>>>=0,he||v(fe,2,this.length);var et=this[fe]|this[fe+1]<<8;return 32768&et?4294901760|et:et},m.prototype.readInt16BE=function(fe,he){fe>>>=0,he||v(fe,2,this.length);var et=this[fe+1]|this[fe]<<8;return 32768&et?4294901760|et:et},m.prototype.readInt32LE=function(fe,he){return fe>>>=0,he||v(fe,4,this.length),this[fe]|this[fe+1]<<8|this[fe+2]<<16|this[fe+3]<<24},m.prototype.readInt32BE=function(fe,he){return fe>>>=0,he||v(fe,4,this.length),this[fe]<<24|this[fe+1]<<16|this[fe+2]<<8|this[fe+3]},m.prototype.readFloatLE=function(fe,he){return fe>>>=0,he||v(fe,4,this.length),e.read(this,fe,!0,23,4)},m.prototype.readFloatBE=function(fe,he){return fe>>>=0,he||v(fe,4,this.length),e.read(this,fe,!1,23,4)},m.prototype.readDoubleLE=function(fe,he){return fe>>>=0,he||v(fe,8,this.length),e.read(this,fe,!0,52,8)},m.prototype.readDoubleBE=function(fe,he){return fe>>>=0,he||v(fe,8,this.length),e.read(this,fe,!1,52,8)},m.prototype.writeUintLE=m.prototype.writeUIntLE=function(fe,he,et,Ke){fe=+fe,he>>>=0,et>>>=0,Ke||z(this,fe,he,et,Math.pow(2,8*et)-1,0);var _t=1,Nt=0;for(this[he]=255&fe;++Nt<et&&(_t*=256);)this[he+Nt]=fe/_t&255;return he+et},m.prototype.writeUintBE=m.prototype.writeUIntBE=function(fe,he,et,Ke){fe=+fe,he>>>=0,et>>>=0,Ke||z(this,fe,he,et,Math.pow(2,8*et)-1,0);var _t=et-1,Nt=1;for(this[he+_t]=255&fe;--_t>=0&&(Nt*=256);)this[he+_t]=fe/Nt&255;return he+et},m.prototype.writeUint8=m.prototype.writeUInt8=function(fe,he,et){return fe=+fe,he>>>=0,et||z(this,fe,he,1,255,0),this[he]=255&fe,he+1},m.prototype.writeUint16LE=m.prototype.writeUInt16LE=function(fe,he,et){return fe=+fe,he>>>=0,et||z(this,fe,he,2,65535,0),this[he]=255&fe,this[he+1]=fe>>>8,he+2},m.prototype.writeUint16BE=m.prototype.writeUInt16BE=function(fe,he,et){return fe=+fe,he>>>=0,et||z(this,fe,he,2,65535,0),this[he]=fe>>>8,this[he+1]=255&fe,he+2},m.prototype.writeUint32LE=m.prototype.writeUInt32LE=function(fe,he,et){return fe=+fe,he>>>=0,et||z(this,fe,he,4,4294967295,0),this[he+3]=fe>>>24,this[he+2]=fe>>>16,this[he+1]=fe>>>8,this[he]=255&fe,he+4},m.prototype.writeUint32BE=m.prototype.writeUInt32BE=function(fe,he,et){return fe=+fe,he>>>=0,et||z(this,fe,he,4,4294967295,0),this[he]=fe>>>24,this[he+1]=fe>>>16,this[he+2]=fe>>>8,this[he+3]=255&fe,he+4},m.prototype.writeIntLE=function(fe,he,et,Ke){if(fe=+fe,he>>>=0,!Ke){var Ct=Math.pow(2,8*et-1);z(this,fe,he,et,Ct-1,-Ct)}var _t=0,Nt=1,ke=0;for(this[he]=255&fe;++_t<et&&(Nt*=256);)fe<0&&0===ke&&0!==this[he+_t-1]&&(ke=1),this[he+_t]=(fe/Nt|0)-ke&255;return he+et},m.prototype.writeIntBE=function(fe,he,et,Ke){if(fe=+fe,he>>>=0,!Ke){var Ct=Math.pow(2,8*et-1);z(this,fe,he,et,Ct-1,-Ct)}var _t=et-1,Nt=1,ke=0;for(this[he+_t]=255&fe;--_t>=0&&(Nt*=256);)fe<0&&0===ke&&0!==this[he+_t+1]&&(ke=1),this[he+_t]=(fe/Nt|0)-ke&255;return he+et},m.prototype.writeInt8=function(fe,he,et){return fe=+fe,he>>>=0,et||z(this,fe,he,1,127,-128),fe<0&&(fe=255+fe+1),this[he]=255&fe,he+1},m.prototype.writeInt16LE=function(fe,he,et){return fe=+fe,he>>>=0,et||z(this,fe,he,2,32767,-32768),this[he]=255&fe,this[he+1]=fe>>>8,he+2},m.prototype.writeInt16BE=function(fe,he,et){return fe=+fe,he>>>=0,et||z(this,fe,he,2,32767,-32768),this[he]=fe>>>8,this[he+1]=255&fe,he+2},m.prototype.writeInt32LE=function(fe,he,et){return fe=+fe,he>>>=0,et||z(this,fe,he,4,2147483647,-2147483648),this[he]=255&fe,this[he+1]=fe>>>8,this[he+2]=fe>>>16,this[he+3]=fe>>>24,he+4},m.prototype.writeInt32BE=function(fe,he,et){return fe=+fe,he>>>=0,et||z(this,fe,he,4,2147483647,-2147483648),fe<0&&(fe=4294967295+fe+1),this[he]=fe>>>24,this[he+1]=fe>>>16,this[he+2]=fe>>>8,this[he+3]=255&fe,he+4},m.prototype.writeFloatLE=function(fe,he,et){return ne(this,fe,he,!0,et)},m.prototype.writeFloatBE=function(fe,he,et){return ne(this,fe,he,!1,et)},m.prototype.writeDoubleLE=function(fe,he,et){return Ie(this,fe,he,!0,et)},m.prototype.writeDoubleBE=function(fe,he,et){return Ie(this,fe,he,!1,et)},m.prototype.copy=function(fe,he,et,Ke){if(!m.isBuffer(fe))throw new TypeError("argument should be a Buffer");if(et||(et=0),!Ke&&0!==Ke&&(Ke=this.length),he>=fe.length&&(he=fe.length),he||(he=0),Ke>0&&Ke<et&&(Ke=et),Ke===et||0===fe.length||0===this.length)return 0;if(he<0)throw new RangeError("targetStart out of bounds");if(et<0||et>=this.length)throw new RangeError("Index out of range");if(Ke<0)throw new RangeError("sourceEnd out of bounds");Ke>this.length&&(Ke=this.length),fe.length-he<Ke-et&&(Ke=fe.length-he+et);var Ct=Ke-et;return this===fe&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(he,et,Ke):Uint8Array.prototype.set.call(fe,this.subarray(et,Ke),he),Ct},m.prototype.fill=function(fe,he,et,Ke){if("string"==typeof fe){if("string"==typeof he?(Ke=he,he=0,et=this.length):"string"==typeof et&&(Ke=et,et=this.length),void 0!==Ke&&"string"!=typeof Ke)throw new TypeError("encoding must be a string");if("string"==typeof Ke&&!m.isEncoding(Ke))throw new TypeError("Unknown encoding: "+Ke);if(1===fe.length){var Ct=fe.charCodeAt(0);("utf8"===Ke&&Ct<128||"latin1"===Ke)&&(fe=Ct)}}else"number"==typeof fe?fe&=255:"boolean"==typeof fe&&(fe=Number(fe));if(he<0||this.length<he||this.length<et)throw new RangeError("Out of range index");if(et<=he)return this;var _t;if(he>>>=0,et=void 0===et?this.length:et>>>0,fe||(fe=0),"number"==typeof fe)for(_t=he;_t<et;++_t)this[_t]=fe;else{var Nt=m.isBuffer(fe)?fe:m.from(fe,Ke),ke=Nt.length;if(0===ke)throw new TypeError('The value "'+fe+'" is invalid for argument "value"');for(_t=0;_t<et-he;++_t)this[_t+he]=Nt[_t%ke]}return this};var at=/[^+/0-9A-Za-z-_]/g;function rt(se,fe){fe=fe||1/0;for(var he,et=se.length,Ke=null,Ct=[],_t=0;_t<et;++_t){if((he=se.charCodeAt(_t))>55295&&he<57344){if(!Ke){if(he>56319){(fe-=3)>-1&&Ct.push(239,191,189);continue}if(_t+1===et){(fe-=3)>-1&&Ct.push(239,191,189);continue}Ke=he;continue}if(he<56320){(fe-=3)>-1&&Ct.push(239,191,189),Ke=he;continue}he=65536+(Ke-55296<<10|he-56320)}else Ke&&(fe-=3)>-1&&Ct.push(239,191,189);if(Ke=null,he<128){if((fe-=1)<0)break;Ct.push(he)}else if(he<2048){if((fe-=2)<0)break;Ct.push(he>>6|192,63&he|128)}else if(he<65536){if((fe-=3)<0)break;Ct.push(he>>12|224,he>>6&63|128,63&he|128)}else{if(!(he<1114112))throw new Error("Invalid code point");if((fe-=4)<0)break;Ct.push(he>>18|240,he>>12&63|128,he>>6&63|128,63&he|128)}}return Ct}function oe(se){return t.toByteArray(function Ye(se){if((se=(se=se.split("=")[0]).trim().replace(at,"")).length<2)return"";for(;se.length%4!=0;)se+="=";return se}(se))}function _e(se,fe,he,et){for(var Ke=0;Ke<et&&!(Ke+he>=fe.length||Ke>=se.length);++Ke)fe[Ke+he]=se[Ke];return Ke}function de(se,fe){return se instanceof fe||null!=se&&null!=se.constructor&&null!=se.constructor.name&&se.constructor.name===fe.name}function pe(se){return se!=se}var We=function(){for(var se="0123456789abcdef",fe=new Array(256),he=0;he<16;++he)for(var et=16*he,Ke=0;Ke<16;++Ke)fe[et+Ke]=se[he]+se[Ke];return fe}()},5731:(Ve,ee,p)=>{"use strict";var t=p(5992),e=p(9477),C=p(9705),S=p(2910);Ve.exports=S||t.call(C,e)},8910:(Ve,ee,p)=>{"use strict";var t=p(5992),e=p(9477),C=p(5731);Ve.exports=function(){return C(t,e,arguments)}},9477:Ve=>{"use strict";Ve.exports=Function.prototype.apply},9705:Ve=>{"use strict";Ve.exports=Function.prototype.call},1885:(Ve,ee,p)=>{"use strict";var t=p(5992),e=p(6758),C=p(9705),S=p(5731);Ve.exports=function(x){if(x.length<1||"function"!=typeof x[0])throw new e("a function is required");return S(t,C,x)}},2910:Ve=>{"use strict";Ve.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply},8128:(Ve,ee,p)=>{"use strict";var t=p(1358),e=p(4570),C=p(1885),S=p(8910);Ve.exports=function(x){var m=C(arguments),R=x.length-(arguments.length-1);return t(m,1+(R>0?R:0),!0)},e?e(Ve.exports,"apply",{value:S}):Ve.exports.apply=S},2773:(Ve,ee,p)=>{"use strict";var t=p(258),e=p(1885),C=e([t("%String.prototype.indexOf%")]);Ve.exports=function(l,x){var m=t(l,!!x);return"function"==typeof m&&C(l,".prototype.")>-1?e([m]):m}},3247:(Ve,ee,p)=>{"use strict";var t=p(7054).Buffer,e=p(7045).Transform,C=p(8454).I;function l(d){e.call(this),this.hashMode="string"==typeof d,this.hashMode?this[d]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}p(1993)(l,e);var x=typeof Uint8Array<"u",m=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(t.prototype instanceof Uint8Array||t.TYPED_ARRAY_SUPPORT);l.prototype.update=function(d,w,y){var T=function R(d,w){if(d instanceof t)return d;if("string"==typeof d)return t.from(d,w);if(m&&ArrayBuffer.isView(d)){if(0===d.byteLength)return t.alloc(0);var y=t.from(d.buffer,d.byteOffset,d.byteLength);if(y.byteLength===d.byteLength)return y}if(x&&d instanceof Uint8Array||t.isBuffer(d)&&d.constructor&&"function"==typeof d.constructor.isBuffer&&d.constructor.isBuffer(d))return t.from(d);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}(d,w),k=this._update(T);return this.hashMode?this:(y&&(k=this._toString(k,y)),k)},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(d,w,y){var T;try{this.hashMode?this._update(d):this.push(this._update(d))}catch(k){T=k}finally{y(T)}},l.prototype._flush=function(d){var w;try{this.push(this.__final())}catch(y){w=y}d(w)},l.prototype._finalOrDigest=function(d){var w=this.__final()||t.alloc(0);return d&&(w=this._toString(w,d,!0)),w},l.prototype._toString=function(d,w,y){if(this._decoder||(this._decoder=new C(w),this._encoding=w),this._encoding!==w)throw new Error("can\u2019t switch encodings");var T=this._decoder.write(d);return y&&(T+=this._decoder.end()),T},Ve.exports=l},4740:function(Ve){!function(ee){"use strict";var p={bytesToHex:function(C){return function t(C){return C.map(function(S){return function e(C,S){return C.length>S?C:Array(S-C.length+1).join("0")+C}(S.toString(16),2)}).join("")}(C)},hexToBytes:function(C){if(C.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===C.indexOf("0x")&&(C=C.slice(2)),C.match(/../g).map(function(S){return parseInt(S,16)})}};Ve.exports?Ve.exports=p:ee.convertHex=p}(this)},820:function(Ve){!function(ee){"use strict";var p={bytesToString:function(t){return t.map(function(e){return String.fromCharCode(e)}).join("")},stringToBytes:function(t){return t.split("").map(function(e){return e.charCodeAt(0)})}};p.UTF8={bytesToString:function(t){return decodeURIComponent(escape(p.bytesToString(t)))},stringToBytes:function(t){return p.stringToBytes(unescape(encodeURIComponent(t)))}},Ve.exports?Ve.exports=p:ee.convertString=p}(this)},7637:(Ve,ee,p)=>{function V(U){return Object.prototype.toString.call(U)}ee.isArray=function t(U){return Array.isArray?Array.isArray(U):"[object Array]"===V(U)},ee.isBoolean=function e(U){return"boolean"==typeof U},ee.isNull=function C(U){return null===U},ee.isNullOrUndefined=function S(U){return null==U},ee.isNumber=function l(U){return"number"==typeof U},ee.isString=function x(U){return"string"==typeof U},ee.isSymbol=function m(U){return"symbol"==typeof U},ee.isUndefined=function R(U){return void 0===U},ee.isRegExp=function d(U){return"[object RegExp]"===V(U)},ee.isObject=function w(U){return"object"==typeof U&&null!==U},ee.isDate=function y(U){return"[object Date]"===V(U)},ee.isError=function T(U){return"[object Error]"===V(U)||U instanceof Error},ee.isFunction=function k(U){return"function"==typeof U},ee.isPrimitive=function F(U){return null===U||"boolean"==typeof U||"number"==typeof U||"string"==typeof U||"symbol"==typeof U||typeof U>"u"},ee.isBuffer=p(3838).Buffer.isBuffer},7303:(Ve,ee,p)=>{var t=p(518),e=p(9606);Ve.exports=function(m){return new S(m)};var C={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 S(x){this.curveType=C[x],this.curveType||(this.curveType={name:x}),this.curve=new t.ec(this.curveType.name),this.keys=void 0}function l(x,m,R){Array.isArray(x)||(x=x.toArray());var d=new Buffer(x);if(R&&d.length<R){var w=new Buffer(R-d.length);w.fill(0),d=Buffer.concat([w,d])}return m?d.toString(m):d}C.p224=C.secp224r1,C.p256=C.secp256r1=C.prime256v1,C.p192=C.secp192r1=C.prime192v1,C.p384=C.secp384r1,C.p521=C.secp521r1,S.prototype.generateKeys=function(x,m){return this.keys=this.curve.genKeyPair(),this.getPublicKey(x,m)},S.prototype.computeSecret=function(x,m,R){return m=m||"utf8",Buffer.isBuffer(x)||(x=new Buffer(x,m)),l(this.curve.keyFromPublic(x).getPublic().mul(this.keys.getPrivate()).getX(),R,this.curveType.byteLength)},S.prototype.getPublicKey=function(x,m){var R=this.keys.getPublic("compressed"===m,!0);return"hybrid"===m&&(R[0]=R[R.length-1]%2?7:6),l(R,x)},S.prototype.getPrivateKey=function(x){return l(this.keys.getPrivate(),x)},S.prototype.setPublicKey=function(x,m){return m=m||"utf8",Buffer.isBuffer(x)||(x=new Buffer(x,m)),this.keys._importPublic(x),this},S.prototype.setPrivateKey=function(x,m){m=m||"utf8",Buffer.isBuffer(x)||(x=new Buffer(x,m));var R=new e(x);return R=R.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(R),this}},9606:function(Ve,ee,p){!function(t,e){"use strict";function C(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var c=function(){};c.prototype=n.prototype,D.prototype=new c,D.prototype.constructor=D}function l(D,n,c){if(l.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(D||0,n||10,c||"be"))}var x;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(7965).Buffer}catch{}function m(D,n){var c=D.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(D,n,c){var f=m(D,c);return c-1>=n&&(f|=m(D,c-1)<<4),f}function d(D,n,c,f){for(var h=0,M=Math.min(D.length,c),L=n;L<M;L++){var O=D.charCodeAt(L)-48;h*=f,h+=O>=49?O-49+10:O>=17?O-17+10:O}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,c){return n.cmp(c)>0?n:c},l.min=function(n,c){return n.cmp(c)<0?n:c},l.prototype._init=function(n,c,f){if("number"==typeof n)return this._initNumber(n,c,f);if("object"==typeof n)return this._initArray(n,c,f);"hex"===c&&(c=16),C(c===(0|c)&&c>=2&&c<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===c?this._parseHex(n,h,f):(this._parseBase(n,c,h),"le"===f&&this._initArray(this.toArray(),c,f)))},l.prototype._initNumber=function(n,c,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):(C(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),c,f)},l.prototype._initArray=function(n,c,f){if(C("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 M,L,O=0;if("be"===f)for(h=n.length-1,M=0;h>=0;h-=3)this.words[M]|=(L=n[h]|n[h-1]<<8|n[h-2]<<16)<<O&67108863,this.words[M+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,M++);else if("le"===f)for(h=0,M=0;h<n.length;h+=3)this.words[M]|=(L=n[h]|n[h+1]<<8|n[h+2]<<16)<<O&67108863,this.words[M+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,M++);return this.strip()},l.prototype._parseHex=function(n,c,f){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var O,M=0,L=0;if("be"===f)for(h=n.length-1;h>=c;h-=2)O=R(n,c,h)<<M,this.words[L]|=67108863&O,M>=18?(M-=18,this.words[L+=1]|=O>>>26):M+=8;else for(h=(n.length-c)%2==0?c+1:c;h<n.length;h+=2)O=R(n,c,h)<<M,this.words[L]|=67108863&O,M>=18?(M-=18,this.words[L+=1]|=O>>>26):M+=8;this.strip()},l.prototype._parseBase=function(n,c,f){this.words=[0],this.length=1;for(var h=0,M=1;M<=67108863;M*=c)h++;h--,M=M/c|0;for(var L=n.length-f,O=L%h,_=Math.min(L,L-O)+f,r=0,v=f;v<_;v+=h)r=d(n,v,v+h,c),this.imuln(M),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==O){var z=1;for(r=d(n,v,n.length,c),v=0;v<O;v++)z*=c;this.imuln(z),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 c=0;c<this.length;c++)n.words[c]=this.words[c];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 w=["","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"],y=[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],T=[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 F(D,n,c){c.negative=n.negative^D.negative;var f=D.length+n.length|0;c.length=f,f=f-1|0;var h=0|D.words[0],M=0|n.words[0],L=h*M,_=L/67108864|0;c.words[0]=67108863&L;for(var r=1;r<f;r++){for(var v=_>>>26,z=67108863&_,N=Math.min(r,n.length-1),ne=Math.max(0,r-D.length+1);ne<=N;ne++)v+=(L=(h=0|D.words[r-ne|0])*(M=0|n.words[ne])+z)/67108864|0,z=67108863&L;c.words[r]=0|z,_=0|v}return 0!==_?c.words[r]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var f;if(c=0|c||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,M=0,L=0;L<this.length;L++){var O=this.words[L],_=(16777215&(O<<h|M)).toString(16);M=O>>>24-h&16777215,(h+=2)>=26&&(h-=26,L--),f=0!==M||L!==this.length-1?w[6-_.length]+_+f:_+f}for(0!==M&&(f=M.toString(16)+f);f.length%c!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=y[n],v=T[n];f="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(v).toString(n);f=(z=z.idivn(v)).isZero()?N+f:w[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%c!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}C(!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&&C(!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,c){return C(typeof x<"u"),this.toArrayLike(x,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,f){var h=this.byteLength(),M=f||Math.max(1,h);C(h<=M,"byte array longer than desired length"),C(M>0,"Requested array length <= 0"),this.strip();var _,r,L="le"===c,O=new n(M),v=this.clone();if(L){for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),O[r]=_;for(;r<M;r++)O[r]=0}else{for(r=0;r<M-h;r++)O[r]=0;for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),O[M-r-1]=_}return O},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var c=n,f=0;return c>=4096&&(f+=13,c>>>=13),c>=64&&(f+=7,c>>>=7),c>=8&&(f+=4,c>>>=4),c>=2&&(f+=2,c>>>=2),f+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,f=0;return 8191&c||(f+=13,c>>>=13),127&c||(f+=7,c>>>=7),15&c||(f+=4,c>>>=4),3&c||(f+=2,c>>>=2),1&c||f++,f},l.prototype.bitLength=function(){var c=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+c},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;c<this.length;c++){var f=this._zeroBits(this.words[c]);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 c=0;c<n.length;c++)this.words[c]=this.words[c]|n.words[c];return this.strip()},l.prototype.ior=function(n){return C(!(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 c;c=this.length>n.length?n:this;for(var f=0;f<c.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=c.length,this.strip()},l.prototype.iand=function(n){return C(!(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 c,f;this.length>n.length?(c=this,f=n):(c=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=c.words[h]^f.words[h];if(this!==c)for(;h<c.length;h++)this.words[h]=c.words[h];return this.length=c.length,this.strip()},l.prototype.ixor=function(n){return C(!(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){C("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),f=n%26;this._expand(c),f>0&&c--;for(var h=0;h<c;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,c){C("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=c?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var c,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,c=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,c=this.isub(n),n.negative=1,c._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var M=0,L=0;L<h.length;L++)this.words[L]=67108863&(c=(0|f.words[L])+(0|h.words[L])+M),M=c>>>26;for(;0!==M&&L<f.length;L++)this.words[L]=67108863&(c=(0|f.words[L])+M),M=c>>>26;if(this.length=f.length,0!==M)this.words[this.length]=M,this.length++;else if(f!==this)for(;L<f.length;L++)this.words[L]=f.words[L];return this},l.prototype.add=function(n){var c;return 0!==n.negative&&0===this.negative?(n.negative=0,c=this.sub(n),n.negative^=1,c):0===n.negative&&0!==this.negative?(this.negative=0,c=n.sub(this),this.negative=1,c):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 c=this.iadd(n);return n.negative=1,c._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,M,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,M=n):(h=n,M=this);for(var L=0,O=0;O<M.length;O++)L=(c=(0|h.words[O])-(0|M.words[O])+L)>>26,this.words[O]=67108863&c;for(;0!==L&&O<h.length;O++)L=(c=(0|h.words[O])+L)>>26,this.words[O]=67108863&c;if(0===L&&O<h.length&&h!==this)for(;O<h.length;O++)this.words[O]=h.words[O];return this.length=Math.max(this.length,O),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var V=function(n,c,f){var _,r,v,h=n.words,M=c.words,L=f.words,O=0,z=0|h[0],N=8191&z,ne=z>>>13,Ie=0|h[1],at=8191&Ie,Ye=Ie>>>13,rt=0|h[2],re=8191&rt,te=rt>>>13,oe=0|h[3],_e=8191&oe,de=oe>>>13,pe=0|h[4],We=8191&pe,se=pe>>>13,fe=0|h[5],he=8191&fe,et=fe>>>13,Ke=0|h[6],Ct=8191&Ke,_t=Ke>>>13,Nt=0|h[7],ke=8191&Nt,Je=Nt>>>13,Qe=0|h[8],nt=8191&Qe,Ue=Qe>>>13,ht=0|h[9],tt=8191&ht,wt=ht>>>13,ut=0|M[0],vt=8191&ut,Ze=ut>>>13,jt=0|M[1],qe=8191&jt,dt=jt>>>13,Le=0|M[2],Vt=8191&Le,Zt=Le>>>13,Et=0|M[3],je=8191&Et,me=Et>>>13,xe=0|M[4],ce=8191&xe,Me=xe>>>13,Xe=0|M[5],Pe=8191&Xe,Oe=Xe>>>13,we=0|M[6],De=8191&we,$e=we>>>13,$t=0|M[7],Ft=8191&$t,Kt=$t>>>13,fi=0|M[8],Qt=8191&fi,zt=fi>>>13,Xi=0|M[9],ci=8191&Xi,ui=Xi>>>13;f.negative=n.negative^c.negative,f.length=19;var bn=(O+(_=Math.imul(N,vt))|0)+((8191&(r=(r=Math.imul(N,Ze))+Math.imul(ne,vt)|0))<<13)|0;O=((v=Math.imul(ne,Ze))+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,_=Math.imul(at,vt),r=(r=Math.imul(at,Ze))+Math.imul(Ye,vt)|0,v=Math.imul(Ye,Ze);var Qi=(O+(_=_+Math.imul(N,qe)|0)|0)+((8191&(r=(r=r+Math.imul(N,dt)|0)+Math.imul(ne,qe)|0))<<13)|0;O=((v=v+Math.imul(ne,dt)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(re,vt),r=(r=Math.imul(re,Ze))+Math.imul(te,vt)|0,v=Math.imul(te,Ze),_=_+Math.imul(at,qe)|0,r=(r=r+Math.imul(at,dt)|0)+Math.imul(Ye,qe)|0,v=v+Math.imul(Ye,dt)|0;var Li=(O+(_=_+Math.imul(N,Vt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(ne,Vt)|0))<<13)|0;O=((v=v+Math.imul(ne,Zt)|0)+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,_=Math.imul(_e,vt),r=(r=Math.imul(_e,Ze))+Math.imul(de,vt)|0,v=Math.imul(de,Ze),_=_+Math.imul(re,qe)|0,r=(r=r+Math.imul(re,dt)|0)+Math.imul(te,qe)|0,v=v+Math.imul(te,dt)|0,_=_+Math.imul(at,Vt)|0,r=(r=r+Math.imul(at,Zt)|0)+Math.imul(Ye,Vt)|0,v=v+Math.imul(Ye,Zt)|0;var nn=(O+(_=_+Math.imul(N,je)|0)|0)+((8191&(r=(r=r+Math.imul(N,me)|0)+Math.imul(ne,je)|0))<<13)|0;O=((v=v+Math.imul(ne,me)|0)+(r>>>13)|0)+(nn>>>26)|0,nn&=67108863,_=Math.imul(We,vt),r=(r=Math.imul(We,Ze))+Math.imul(se,vt)|0,v=Math.imul(se,Ze),_=_+Math.imul(_e,qe)|0,r=(r=r+Math.imul(_e,dt)|0)+Math.imul(de,qe)|0,v=v+Math.imul(de,dt)|0,_=_+Math.imul(re,Vt)|0,r=(r=r+Math.imul(re,Zt)|0)+Math.imul(te,Vt)|0,v=v+Math.imul(te,Zt)|0,_=_+Math.imul(at,je)|0,r=(r=r+Math.imul(at,me)|0)+Math.imul(Ye,je)|0,v=v+Math.imul(Ye,me)|0;var st=(O+(_=_+Math.imul(N,ce)|0)|0)+((8191&(r=(r=r+Math.imul(N,Me)|0)+Math.imul(ne,ce)|0))<<13)|0;O=((v=v+Math.imul(ne,Me)|0)+(r>>>13)|0)+(st>>>26)|0,st&=67108863,_=Math.imul(he,vt),r=(r=Math.imul(he,Ze))+Math.imul(et,vt)|0,v=Math.imul(et,Ze),_=_+Math.imul(We,qe)|0,r=(r=r+Math.imul(We,dt)|0)+Math.imul(se,qe)|0,v=v+Math.imul(se,dt)|0,_=_+Math.imul(_e,Vt)|0,r=(r=r+Math.imul(_e,Zt)|0)+Math.imul(de,Vt)|0,v=v+Math.imul(de,Zt)|0,_=_+Math.imul(re,je)|0,r=(r=r+Math.imul(re,me)|0)+Math.imul(te,je)|0,v=v+Math.imul(te,me)|0,_=_+Math.imul(at,ce)|0,r=(r=r+Math.imul(at,Me)|0)+Math.imul(Ye,ce)|0,v=v+Math.imul(Ye,Me)|0;var ii=(O+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(r=(r=r+Math.imul(N,Oe)|0)+Math.imul(ne,Pe)|0))<<13)|0;O=((v=v+Math.imul(ne,Oe)|0)+(r>>>13)|0)+(ii>>>26)|0,ii&=67108863,_=Math.imul(Ct,vt),r=(r=Math.imul(Ct,Ze))+Math.imul(_t,vt)|0,v=Math.imul(_t,Ze),_=_+Math.imul(he,qe)|0,r=(r=r+Math.imul(he,dt)|0)+Math.imul(et,qe)|0,v=v+Math.imul(et,dt)|0,_=_+Math.imul(We,Vt)|0,r=(r=r+Math.imul(We,Zt)|0)+Math.imul(se,Vt)|0,v=v+Math.imul(se,Zt)|0,_=_+Math.imul(_e,je)|0,r=(r=r+Math.imul(_e,me)|0)+Math.imul(de,je)|0,v=v+Math.imul(de,me)|0,_=_+Math.imul(re,ce)|0,r=(r=r+Math.imul(re,Me)|0)+Math.imul(te,ce)|0,v=v+Math.imul(te,Me)|0,_=_+Math.imul(at,Pe)|0,r=(r=r+Math.imul(at,Oe)|0)+Math.imul(Ye,Pe)|0,v=v+Math.imul(Ye,Oe)|0;var Se=(O+(_=_+Math.imul(N,De)|0)|0)+((8191&(r=(r=r+Math.imul(N,$e)|0)+Math.imul(ne,De)|0))<<13)|0;O=((v=v+Math.imul(ne,$e)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,_=Math.imul(ke,vt),r=(r=Math.imul(ke,Ze))+Math.imul(Je,vt)|0,v=Math.imul(Je,Ze),_=_+Math.imul(Ct,qe)|0,r=(r=r+Math.imul(Ct,dt)|0)+Math.imul(_t,qe)|0,v=v+Math.imul(_t,dt)|0,_=_+Math.imul(he,Vt)|0,r=(r=r+Math.imul(he,Zt)|0)+Math.imul(et,Vt)|0,v=v+Math.imul(et,Zt)|0,_=_+Math.imul(We,je)|0,r=(r=r+Math.imul(We,me)|0)+Math.imul(se,je)|0,v=v+Math.imul(se,me)|0,_=_+Math.imul(_e,ce)|0,r=(r=r+Math.imul(_e,Me)|0)+Math.imul(de,ce)|0,v=v+Math.imul(de,Me)|0,_=_+Math.imul(re,Pe)|0,r=(r=r+Math.imul(re,Oe)|0)+Math.imul(te,Pe)|0,v=v+Math.imul(te,Oe)|0,_=_+Math.imul(at,De)|0,r=(r=r+Math.imul(at,$e)|0)+Math.imul(Ye,De)|0,v=v+Math.imul(Ye,$e)|0;var Mt=(O+(_=_+Math.imul(N,Ft)|0)|0)+((8191&(r=(r=r+Math.imul(N,Kt)|0)+Math.imul(ne,Ft)|0))<<13)|0;O=((v=v+Math.imul(ne,Kt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul(nt,vt),r=(r=Math.imul(nt,Ze))+Math.imul(Ue,vt)|0,v=Math.imul(Ue,Ze),_=_+Math.imul(ke,qe)|0,r=(r=r+Math.imul(ke,dt)|0)+Math.imul(Je,qe)|0,v=v+Math.imul(Je,dt)|0,_=_+Math.imul(Ct,Vt)|0,r=(r=r+Math.imul(Ct,Zt)|0)+Math.imul(_t,Vt)|0,v=v+Math.imul(_t,Zt)|0,_=_+Math.imul(he,je)|0,r=(r=r+Math.imul(he,me)|0)+Math.imul(et,je)|0,v=v+Math.imul(et,me)|0,_=_+Math.imul(We,ce)|0,r=(r=r+Math.imul(We,Me)|0)+Math.imul(se,ce)|0,v=v+Math.imul(se,Me)|0,_=_+Math.imul(_e,Pe)|0,r=(r=r+Math.imul(_e,Oe)|0)+Math.imul(de,Pe)|0,v=v+Math.imul(de,Oe)|0,_=_+Math.imul(re,De)|0,r=(r=r+Math.imul(re,$e)|0)+Math.imul(te,De)|0,v=v+Math.imul(te,$e)|0,_=_+Math.imul(at,Ft)|0,r=(r=r+Math.imul(at,Kt)|0)+Math.imul(Ye,Ft)|0,v=v+Math.imul(Ye,Kt)|0;var Pt=(O+(_=_+Math.imul(N,Qt)|0)|0)+((8191&(r=(r=r+Math.imul(N,zt)|0)+Math.imul(ne,Qt)|0))<<13)|0;O=((v=v+Math.imul(ne,zt)|0)+(r>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,_=Math.imul(tt,vt),r=(r=Math.imul(tt,Ze))+Math.imul(wt,vt)|0,v=Math.imul(wt,Ze),_=_+Math.imul(nt,qe)|0,r=(r=r+Math.imul(nt,dt)|0)+Math.imul(Ue,qe)|0,v=v+Math.imul(Ue,dt)|0,_=_+Math.imul(ke,Vt)|0,r=(r=r+Math.imul(ke,Zt)|0)+Math.imul(Je,Vt)|0,v=v+Math.imul(Je,Zt)|0,_=_+Math.imul(Ct,je)|0,r=(r=r+Math.imul(Ct,me)|0)+Math.imul(_t,je)|0,v=v+Math.imul(_t,me)|0,_=_+Math.imul(he,ce)|0,r=(r=r+Math.imul(he,Me)|0)+Math.imul(et,ce)|0,v=v+Math.imul(et,Me)|0,_=_+Math.imul(We,Pe)|0,r=(r=r+Math.imul(We,Oe)|0)+Math.imul(se,Pe)|0,v=v+Math.imul(se,Oe)|0,_=_+Math.imul(_e,De)|0,r=(r=r+Math.imul(_e,$e)|0)+Math.imul(de,De)|0,v=v+Math.imul(de,$e)|0,_=_+Math.imul(re,Ft)|0,r=(r=r+Math.imul(re,Kt)|0)+Math.imul(te,Ft)|0,v=v+Math.imul(te,Kt)|0,_=_+Math.imul(at,Qt)|0,r=(r=r+Math.imul(at,zt)|0)+Math.imul(Ye,Qt)|0,v=v+Math.imul(Ye,zt)|0;var ai=(O+(_=_+Math.imul(N,ci)|0)|0)+((8191&(r=(r=r+Math.imul(N,ui)|0)+Math.imul(ne,ci)|0))<<13)|0;O=((v=v+Math.imul(ne,ui)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,_=Math.imul(tt,qe),r=(r=Math.imul(tt,dt))+Math.imul(wt,qe)|0,v=Math.imul(wt,dt),_=_+Math.imul(nt,Vt)|0,r=(r=r+Math.imul(nt,Zt)|0)+Math.imul(Ue,Vt)|0,v=v+Math.imul(Ue,Zt)|0,_=_+Math.imul(ke,je)|0,r=(r=r+Math.imul(ke,me)|0)+Math.imul(Je,je)|0,v=v+Math.imul(Je,me)|0,_=_+Math.imul(Ct,ce)|0,r=(r=r+Math.imul(Ct,Me)|0)+Math.imul(_t,ce)|0,v=v+Math.imul(_t,Me)|0,_=_+Math.imul(he,Pe)|0,r=(r=r+Math.imul(he,Oe)|0)+Math.imul(et,Pe)|0,v=v+Math.imul(et,Oe)|0,_=_+Math.imul(We,De)|0,r=(r=r+Math.imul(We,$e)|0)+Math.imul(se,De)|0,v=v+Math.imul(se,$e)|0,_=_+Math.imul(_e,Ft)|0,r=(r=r+Math.imul(_e,Kt)|0)+Math.imul(de,Ft)|0,v=v+Math.imul(de,Kt)|0,_=_+Math.imul(re,Qt)|0,r=(r=r+Math.imul(re,zt)|0)+Math.imul(te,Qt)|0,v=v+Math.imul(te,zt)|0;var Ei=(O+(_=_+Math.imul(at,ci)|0)|0)+((8191&(r=(r=r+Math.imul(at,ui)|0)+Math.imul(Ye,ci)|0))<<13)|0;O=((v=v+Math.imul(Ye,ui)|0)+(r>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,_=Math.imul(tt,Vt),r=(r=Math.imul(tt,Zt))+Math.imul(wt,Vt)|0,v=Math.imul(wt,Zt),_=_+Math.imul(nt,je)|0,r=(r=r+Math.imul(nt,me)|0)+Math.imul(Ue,je)|0,v=v+Math.imul(Ue,me)|0,_=_+Math.imul(ke,ce)|0,r=(r=r+Math.imul(ke,Me)|0)+Math.imul(Je,ce)|0,v=v+Math.imul(Je,Me)|0,_=_+Math.imul(Ct,Pe)|0,r=(r=r+Math.imul(Ct,Oe)|0)+Math.imul(_t,Pe)|0,v=v+Math.imul(_t,Oe)|0,_=_+Math.imul(he,De)|0,r=(r=r+Math.imul(he,$e)|0)+Math.imul(et,De)|0,v=v+Math.imul(et,$e)|0,_=_+Math.imul(We,Ft)|0,r=(r=r+Math.imul(We,Kt)|0)+Math.imul(se,Ft)|0,v=v+Math.imul(se,Kt)|0,_=_+Math.imul(_e,Qt)|0,r=(r=r+Math.imul(_e,zt)|0)+Math.imul(de,Qt)|0,v=v+Math.imul(de,zt)|0;var Hi=(O+(_=_+Math.imul(re,ci)|0)|0)+((8191&(r=(r=r+Math.imul(re,ui)|0)+Math.imul(te,ci)|0))<<13)|0;O=((v=v+Math.imul(te,ui)|0)+(r>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul(tt,je),r=(r=Math.imul(tt,me))+Math.imul(wt,je)|0,v=Math.imul(wt,me),_=_+Math.imul(nt,ce)|0,r=(r=r+Math.imul(nt,Me)|0)+Math.imul(Ue,ce)|0,v=v+Math.imul(Ue,Me)|0,_=_+Math.imul(ke,Pe)|0,r=(r=r+Math.imul(ke,Oe)|0)+Math.imul(Je,Pe)|0,v=v+Math.imul(Je,Oe)|0,_=_+Math.imul(Ct,De)|0,r=(r=r+Math.imul(Ct,$e)|0)+Math.imul(_t,De)|0,v=v+Math.imul(_t,$e)|0,_=_+Math.imul(he,Ft)|0,r=(r=r+Math.imul(he,Kt)|0)+Math.imul(et,Ft)|0,v=v+Math.imul(et,Kt)|0,_=_+Math.imul(We,Qt)|0,r=(r=r+Math.imul(We,zt)|0)+Math.imul(se,Qt)|0,v=v+Math.imul(se,zt)|0;var $i=(O+(_=_+Math.imul(_e,ci)|0)|0)+((8191&(r=(r=r+Math.imul(_e,ui)|0)+Math.imul(de,ci)|0))<<13)|0;O=((v=v+Math.imul(de,ui)|0)+(r>>>13)|0)+($i>>>26)|0,$i&=67108863,_=Math.imul(tt,ce),r=(r=Math.imul(tt,Me))+Math.imul(wt,ce)|0,v=Math.imul(wt,Me),_=_+Math.imul(nt,Pe)|0,r=(r=r+Math.imul(nt,Oe)|0)+Math.imul(Ue,Pe)|0,v=v+Math.imul(Ue,Oe)|0,_=_+Math.imul(ke,De)|0,r=(r=r+Math.imul(ke,$e)|0)+Math.imul(Je,De)|0,v=v+Math.imul(Je,$e)|0,_=_+Math.imul(Ct,Ft)|0,r=(r=r+Math.imul(Ct,Kt)|0)+Math.imul(_t,Ft)|0,v=v+Math.imul(_t,Kt)|0,_=_+Math.imul(he,Qt)|0,r=(r=r+Math.imul(he,zt)|0)+Math.imul(et,Qt)|0,v=v+Math.imul(et,zt)|0;var hn=(O+(_=_+Math.imul(We,ci)|0)|0)+((8191&(r=(r=r+Math.imul(We,ui)|0)+Math.imul(se,ci)|0))<<13)|0;O=((v=v+Math.imul(se,ui)|0)+(r>>>13)|0)+(hn>>>26)|0,hn&=67108863,_=Math.imul(tt,Pe),r=(r=Math.imul(tt,Oe))+Math.imul(wt,Pe)|0,v=Math.imul(wt,Oe),_=_+Math.imul(nt,De)|0,r=(r=r+Math.imul(nt,$e)|0)+Math.imul(Ue,De)|0,v=v+Math.imul(Ue,$e)|0,_=_+Math.imul(ke,Ft)|0,r=(r=r+Math.imul(ke,Kt)|0)+Math.imul(Je,Ft)|0,v=v+Math.imul(Je,Kt)|0,_=_+Math.imul(Ct,Qt)|0,r=(r=r+Math.imul(Ct,zt)|0)+Math.imul(_t,Qt)|0,v=v+Math.imul(_t,zt)|0;var Fi=(O+(_=_+Math.imul(he,ci)|0)|0)+((8191&(r=(r=r+Math.imul(he,ui)|0)+Math.imul(et,ci)|0))<<13)|0;O=((v=v+Math.imul(et,ui)|0)+(r>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,_=Math.imul(tt,De),r=(r=Math.imul(tt,$e))+Math.imul(wt,De)|0,v=Math.imul(wt,$e),_=_+Math.imul(nt,Ft)|0,r=(r=r+Math.imul(nt,Kt)|0)+Math.imul(Ue,Ft)|0,v=v+Math.imul(Ue,Kt)|0,_=_+Math.imul(ke,Qt)|0,r=(r=r+Math.imul(ke,zt)|0)+Math.imul(Je,Qt)|0,v=v+Math.imul(Je,zt)|0;var _n=(O+(_=_+Math.imul(Ct,ci)|0)|0)+((8191&(r=(r=r+Math.imul(Ct,ui)|0)+Math.imul(_t,ci)|0))<<13)|0;O=((v=v+Math.imul(_t,ui)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,_=Math.imul(tt,Ft),r=(r=Math.imul(tt,Kt))+Math.imul(wt,Ft)|0,v=Math.imul(wt,Kt),_=_+Math.imul(nt,Qt)|0,r=(r=r+Math.imul(nt,zt)|0)+Math.imul(Ue,Qt)|0,v=v+Math.imul(Ue,zt)|0;var mn=(O+(_=_+Math.imul(ke,ci)|0)|0)+((8191&(r=(r=r+Math.imul(ke,ui)|0)+Math.imul(Je,ci)|0))<<13)|0;O=((v=v+Math.imul(Je,ui)|0)+(r>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul(tt,Qt),r=(r=Math.imul(tt,zt))+Math.imul(wt,Qt)|0,v=Math.imul(wt,zt);var Dt=(O+(_=_+Math.imul(nt,ci)|0)|0)+((8191&(r=(r=r+Math.imul(nt,ui)|0)+Math.imul(Ue,ci)|0))<<13)|0;O=((v=v+Math.imul(Ue,ui)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var ct=(O+(_=Math.imul(tt,ci))|0)+((8191&(r=(r=Math.imul(tt,ui))+Math.imul(wt,ci)|0))<<13)|0;return O=((v=Math.imul(wt,ui))+(r>>>13)|0)+(ct>>>26)|0,ct&=67108863,L[0]=bn,L[1]=Qi,L[2]=Li,L[3]=nn,L[4]=st,L[5]=ii,L[6]=Se,L[7]=Mt,L[8]=Pt,L[9]=ai,L[10]=Ei,L[11]=Hi,L[12]=$i,L[13]=hn,L[14]=Fi,L[15]=_n,L[16]=mn,L[17]=Dt,L[18]=ct,0!==O&&(L[19]=O,f.length++),f};function G(D,n,c){return(new Y).mulp(D,n,c)}function Y(D,n){this.x=D,this.y=n}Math.imul||(V=F),l.prototype.mulTo=function(n,c){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?V(this,n,c):h<63?F(this,n,c):h<1024?function U(D,n,c){c.negative=n.negative^D.negative,c.length=D.length+n.length;for(var f=0,h=0,M=0;M<c.length-1;M++){var L=h;h=0;for(var O=67108863&f,_=Math.min(M,n.length-1),r=Math.max(0,M-D.length+1);r<=_;r++){var ne=(0|D.words[M-r])*(0|n.words[r]),Ie=67108863≠O=67108863&(Ie=Ie+O|0),h+=(L=(L=L+(ne/67108864|0)|0)+(Ie>>>26)|0)>>>26,L&=67108863}c.words[M]=O,f=L,L=h}return 0!==f?c.words[M]=f:c.length--,c.strip()}(this,n,c):G(this,n,c),f},Y.prototype.makeRBT=function(n){for(var c=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)c[h]=this.revBin(h,f,n);return c},Y.prototype.revBin=function(n,c,f){if(0===n||n===f-1)return n;for(var h=0,M=0;M<c;M++)h|=(1&n)<<c-M-1,n>>=1;return h},Y.prototype.permute=function(n,c,f,h,M,L){for(var O=0;O<L;O++)h[O]=c[n[O]],M[O]=f[n[O]]},Y.prototype.transform=function(n,c,f,h,M,L){this.permute(L,n,c,f,h,M);for(var O=1;O<M;O<<=1)for(var _=O<<1,r=Math.cos(2*Math.PI/_),v=Math.sin(2*Math.PI/_),z=0;z<M;z+=_)for(var N=r,ne=v,Ie=0;Ie<O;Ie++){var at=f[z+Ie],Ye=h[z+Ie],rt=f[z+Ie+O],re=h[z+Ie+O],te=N*rt-ne*re;re=N*re+ne*rt,f[z+Ie]=at+(rt=te),h[z+Ie]=Ye+re,f[z+Ie+O]=at-rt,h[z+Ie+O]=Ye-re,Ie!==_&&(te=r*N-v*ne,ne=r*ne+v*N,N=te)}},Y.prototype.guessLen13b=function(n,c){var f=1|Math.max(c,n),h=1&f,M=0;for(f=f/2|0;f;f>>>=1)M++;return 1<<M+1+h},Y.prototype.conjugate=function(n,c,f){if(!(f<=1))for(var h=0;h<f/2;h++){var M=n[h];n[h]=n[f-h-1],n[f-h-1]=M,M=c[h],c[h]=-c[f-h-1],c[f-h-1]=-M}},Y.prototype.normalize13b=function(n,c){for(var f=0,h=0;h<c/2;h++){var M=8192*Math.round(n[2*h+1]/c)+Math.round(n[2*h]/c)+f;n[h]=67108863&M,f=M<67108864?0:M/67108864|0}return n},Y.prototype.convert13b=function(n,c,f,h){for(var M=0,L=0;L<c;L++)f[2*L]=8191&(M+=0|n[L]),f[2*L+1]=8191&(M>>>=13),M>>>=13;for(L=2*c;L<h;++L)f[L]=0;C(0===M),C(!(-8192&M))},Y.prototype.stub=function(n){for(var c=new Array(n),f=0;f<n;f++)c[f]=0;return c},Y.prototype.mulp=function(n,c,f){var h=2*this.guessLen13b(n.length,c.length),M=this.makeRBT(h),L=this.stub(h),O=new Array(h),_=new Array(h),r=new Array(h),v=new Array(h),z=new Array(h),N=new Array(h),ne=f.words;ne.length=h,this.convert13b(n.words,n.length,O,h),this.convert13b(c.words,c.length,v,h),this.transform(O,L,_,r,h,M),this.transform(v,L,z,N,h,M);for(var Ie=0;Ie<h;Ie++){var at=_[Ie]*z[Ie]-r[Ie]*N[Ie];r[Ie]=_[Ie]*N[Ie]+r[Ie]*z[Ie],_[Ie]=at}return this.conjugate(_,r,h),this.transform(_,r,ne,L,h,M),this.conjugate(ne,L,h),this.normalize13b(ne,h),f.negative=n.negative^c.negative,f.length=n.length+c.length,f.strip()},l.prototype.mul=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},l.prototype.mulf=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),G(this,n,c)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){C("number"==typeof n),C(n<67108864);for(var c=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,M=(67108863&h)+(67108863&c);c>>=26,c+=h/67108864|0,c+=M>>>26,this.words[f]=67108863&M}return 0!==c&&(this.words[f]=c,this.length++),this.length=0===n?1: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 c=function k(D){for(var n=new Array(D.bitLength()),c=0;c<n.length;c++){var h=c%26;n[c]=(D.words[c/26|0]&1<<h)>>>h}return n}(n);if(0===c.length)return new l(1);for(var f=this,h=0;h<c.length&&0===c[h];h++,f=f.sqr());if(++h<c.length)for(var M=f.sqr();h<c.length;h++,M=M.sqr())0!==c[h]&&(f=f.mul(M));return f},l.prototype.iushln=function(n){C("number"==typeof n&&n>=0);var M,c=n%26,f=(n-c)/26,h=67108863>>>26-c<<26-c;if(0!==c){var L=0;for(M=0;M<this.length;M++){var O=this.words[M]&h;this.words[M]=(0|this.words[M])-O<<c|L,L=O>>>26-c}L&&(this.words[M]=L,this.length++)}if(0!==f){for(M=this.length-1;M>=0;M--)this.words[M+f]=this.words[M];for(M=0;M<f;M++)this.words[M]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return C(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,c,f){var h;C("number"==typeof n&&n>=0),h=c?(c-c%26)/26:0;var M=n%26,L=Math.min((n-M)/26,this.length),O=67108863^67108863>>>M<<M,_=f;if(h-=L,h=Math.max(0,h),_){for(var r=0;r<L;r++)_.words[r]=this.words[r];_.length=L}if(0!==L)if(this.length>L)for(this.length-=L,r=0;r<this.length;r++)this.words[r]=this.words[r+L];else this.words[0]=0,this.length=1;var v=0;for(r=this.length-1;r>=0&&(0!==v||r>=h);r--){var z=0|this.words[r];this.words[r]=v<<26-M|z>>>M,v=z&O}return _&&0!==v&&(_.words[_.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,f){return C(0===this.negative),this.iushrn(n,c,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){C("number"==typeof n&&n>=0);var c=n%26,f=(n-c)/26;return!(this.length<=f||!(this.words[f]&1<<c))},l.prototype.imaskn=function(n){C("number"==typeof n&&n>=0);var c=n%26,f=(n-c)/26;return C(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==c&&f++,this.length=Math.min(f,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>c<<c),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return C("number"==typeof n),C(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 c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},l.prototype.isubn=function(n){if(C("number"==typeof n),C(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 c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+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,c,f){var M;this._expand(n.length+f);var L,O=0;for(M=0;M<n.length;M++){L=(0|this.words[M+f])+O;var _=(0|n.words[M])*c;O=((L-=67108863&_)>>26)-(_/67108864|0),this.words[M+f]=67108863&L}for(;M<this.length-f;M++)O=(L=(0|this.words[M+f])+O)>>26,this.words[M+f]=67108863&L;if(0===O)return this.strip();for(C(-1===O),O=0,M=0;M<this.length;M++)O=(L=-(0|this.words[M])+O)>>26,this.words[M]=67108863&L;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var f,h=this.clone(),M=n,L=0|M.words[M.length-1];0!=(f=26-this._countBits(L))&&(M=M.ushln(f),h.iushln(f),L=0|M.words[M.length-1]);var r,_=h.length-M.length;if("mod"!==c){(r=new l(null)).length=_+1,r.words=new Array(r.length);for(var v=0;v<r.length;v++)r.words[v]=0}var z=h.clone()._ishlnsubmul(M,1,_);0===z.negative&&(h=z,r&&(r.words[_]=1));for(var N=_-1;N>=0;N--){var ne=67108864*(0|h.words[M.length+N])+(0|h.words[M.length+N-1]);for(ne=Math.min(ne/L|0,67108863),h._ishlnsubmul(M,ne,N);0!==h.negative;)ne--,h.negative=0,h._ishlnsubmul(M,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ne)}return r&&r.strip(),h.strip(),"div"!==c&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,c,f){return C(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(L=this.neg().divmod(n,c),"mod"!==c&&(h=L.div.neg()),"div"!==c&&(M=L.mod.neg(),f&&0!==M.negative&&M.iadd(n)),{div:h,mod:M}):0===this.negative&&0!==n.negative?(L=this.divmod(n.neg(),c),"mod"!==c&&(h=L.div.neg()),{div:h,mod:L.mod}):this.negative&n.negative?(L=this.neg().divmod(n.neg(),c),"div"!==c&&(M=L.mod.neg(),f&&0!==M.negative&&M.isub(n)),{div:L.div,mod:M}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===c?{div:this.divn(n.words[0]),mod:null}:"mod"===c?{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,c);var h,M,L},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 c=this.divmod(n);if(c.mod.isZero())return c.div;var f=0!==c.div.negative?c.mod.isub(n):c.mod,h=n.ushrn(1),M=n.andln(1),L=f.cmp(h);return L<0||1===M&&0===L?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){C(n<=67108863);for(var c=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(c*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){C(n<=67108863);for(var c=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*c;this.words[f]=h/n|0,c=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){C(0===n.negative),C(!n.isZero());var c=this,f=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),M=new l(0),L=new l(0),O=new l(1),_=0;c.isEven()&&f.isEven();)c.iushrn(1),f.iushrn(1),++_;for(var r=f.clone(),v=c.clone();!c.isZero();){for(var z=0,N=1;!(c.words[0]&N)&&z<26;++z,N<<=1);if(z>0)for(c.iushrn(z);z-- >0;)(h.isOdd()||M.isOdd())&&(h.iadd(r),M.isub(v)),h.iushrn(1),M.iushrn(1);for(var ne=0,Ie=1;!(f.words[0]&Ie)&&ne<26;++ne,Ie<<=1);if(ne>0)for(f.iushrn(ne);ne-- >0;)(L.isOdd()||O.isOdd())&&(L.iadd(r),O.isub(v)),L.iushrn(1),O.iushrn(1);c.cmp(f)>=0?(c.isub(f),h.isub(L),M.isub(O)):(f.isub(c),L.isub(h),O.isub(M))}return{a:L,b:O,gcd:f.iushln(_)}},l.prototype._invmp=function(n){C(0===n.negative),C(!n.isZero());var z,c=this,f=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),M=new l(0),L=f.clone();c.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,_=1;!(c.words[0]&_)&&O<26;++O,_<<=1);if(O>0)for(c.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(L),h.iushrn(1);for(var r=0,v=1;!(f.words[0]&v)&&r<26;++r,v<<=1);if(r>0)for(f.iushrn(r);r-- >0;)M.isOdd()&&M.iadd(L),M.iushrn(1);c.cmp(f)>=0?(c.isub(f),h.isub(M)):(f.isub(c),M.isub(h))}return(z=0===c.cmpn(1)?h:M).cmpn(0)<0&&z.iadd(n),z},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),f=n.clone();c.negative=0,f.negative=0;for(var h=0;c.isEven()&&f.isEven();h++)c.iushrn(1),f.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;f.isEven();)f.iushrn(1);var M=c.cmp(f);if(M<0){var L=c;c=f,f=L}else if(0===M||0===f.cmpn(1))break;c.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){C("number"==typeof n);var c=n%26,f=(n-c)/26,h=1<<c;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var M=h,L=f;0!==M&&L<this.length;L++){var O=0|this.words[L];M=(O+=M)>>>26,this.words[L]=O&=67108863}return 0!==M&&(this.words[L]=M,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)f=1;else{c&&(n=-n),C(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 c=this.ucmp(n);return 0!==this.negative?0|-c:c},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var c=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],M=0|n.words[f];if(h!==M){h<M?c=-1:h>M&&(c=1);break}}return c},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 ue(n)},l.prototype.toRed=function(n){return C(!this.red,"Already a number in reduction context"),C(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return C(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 C(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return C(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return C(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return C(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return C(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return C(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return C(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return C(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return C(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return C(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return C(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return C(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var $={k256:null,p224:null,p192:null,p25519:null};function Z(D,n){this.name=D,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 ie(){Z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ve(){Z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){Z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ye(){Z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ue(D){if("string"==typeof D){var n=l._prime(D);this.m=n.p,this.prime=n}else C(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function be(D){ue.call(this,D),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)}Z.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},Z.prototype.ireduce=function(n){var f,c=n;do{this.split(c,this.tmp),f=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:c.ucmp(this.p);return 0===h?(c.words[0]=0,c.length=1):h>0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},Z.prototype.split=function(n,c){n.iushrn(this.n,0,c)},Z.prototype.imulK=function(n){return n.imul(this.k)},S(ie,Z),ie.prototype.split=function(n,c){for(var f=4194303,h=Math.min(n.length,9),M=0;M<h;M++)c.words[M]=n.words[M];if(c.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var L=n.words[9];for(c.words[c.length++]=L&f,M=10;M<n.length;M++){var O=0|n.words[M];n.words[M-10]=(O&f)<<4|L>>>22,L=O}n.words[M-10]=L>>>=22,n.length-=0===L&&n.length>10?10:9},ie.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(c+=977*h),c=64*h+(c/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ve,Z),S(ae,Z),S(ye,Z),ye.prototype.imulK=function(n){for(var c=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+c,M=67108863&h;h>>>=26,n.words[f]=M,c=h}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if($[n])return $[n];var c;if("k256"===n)c=new ie;else if("p224"===n)c=new ve;else if("p192"===n)c=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new ye}return $[n]=c,c},ue.prototype._verify1=function(n){C(0===n.negative,"red works only with positives"),C(n.red,"red works only with red numbers")},ue.prototype._verify2=function(n,c){C(!(n.negative|c.negative),"red works only with positives"),C(n.red&&n.red===c.red,"red works only with red numbers")},ue.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},ue.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},ue.prototype.add=function(n,c){this._verify2(n,c);var f=n.add(c);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},ue.prototype.iadd=function(n,c){this._verify2(n,c);var f=n.iadd(c);return f.cmp(this.m)>=0&&f.isub(this.m),f},ue.prototype.sub=function(n,c){this._verify2(n,c);var f=n.sub(c);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},ue.prototype.isub=function(n,c){this._verify2(n,c);var f=n.isub(c);return f.cmpn(0)<0&&f.iadd(this.m),f},ue.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},ue.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},ue.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},ue.prototype.isqr=function(n){return this.imul(n,n.clone())},ue.prototype.sqr=function(n){return this.mul(n,n)},ue.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(C(c%2==1),3===c){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),M=0;!h.isZero()&&0===h.andln(1);)M++,h.iushrn(1);C(!h.isZero());var L=new l(1).toRed(this),O=L.redNeg(),_=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,_).cmp(O);)r.redIAdd(O);for(var v=this.pow(r,h),z=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ne=M;0!==N.cmp(L);){for(var Ie=N,at=0;0!==Ie.cmp(L);at++)Ie=Ie.redSqr();C(at<ne);var Ye=this.pow(v,new l(1).iushln(ne-at-1));z=z.redMul(Ye),v=Ye.redSqr(),N=N.redMul(v),ne=at}return z},ue.prototype.invm=function(n){var c=n._invmp(this.m);return 0!==c.negative?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},ue.prototype.pow=function(n,c){if(c.isZero())return new l(1).toRed(this);if(0===c.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var M=2;M<h.length;M++)h[M]=this.mul(h[M-1],n);var L=h[0],O=0,_=0,r=c.bitLength()%26;for(0===r&&(r=26),M=c.length-1;M>=0;M--){for(var v=c.words[M],z=r-1;z>=0;z--){var N=v>>z&1;L!==h[0]&&(L=this.sqr(L)),0!==N||0!==O?(O<<=1,O|=N,(4==++_||0===M&&0===z)&&(L=this.mul(L,h[O]),_=0,O=0)):_=0}r=26}return L},ue.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},ue.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new be(n)},S(be,ue),be.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},be.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},be.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(c),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=f.isub(h).iushrn(this.shift),L=M;return M.cmp(this.m)>=0?L=M.isub(this.m):M.cmpn(0)<0&&(L=M.iadd(this.m)),L._forceRed(this)},be.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var f=n.mul(c),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=f.isub(h).iushrn(this.shift),L=M;return M.cmp(this.m)>=0?L=M.isub(this.m):M.cmpn(0)<0&&(L=M.iadd(this.m)),L._forceRed(this)},be.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=p.nmd(Ve),this)},7211:(Ve,ee,p)=>{"use strict";var t=p(1993),e=p(4725),C=p(6636),S=p(5443),l=p(3247);function x(m){l.call(this,"digest"),this._hash=m}t(x,l),x.prototype._update=function(m){this._hash.update(m)},x.prototype._final=function(){return this._hash.digest()},Ve.exports=function(R){return"md5"===(R=R.toLowerCase())?new e:"rmd160"===R||"ripemd160"===R?new C:new x(S(R))}},3407:(Ve,ee,p)=>{var t=p(4725);Ve.exports=function(e){return(new t).update(e).digest()}},6432:(Ve,ee,p)=>{"use strict";var t=p(1993),e=p(509),C=p(3247),S=p(7054).Buffer,l=p(3407),x=p(6636),m=p(5443),R=S.alloc(128);function d(w,y){C.call(this,"digest"),"string"==typeof y&&(y=S.from(y));var T="sha512"===w||"sha384"===w?128:64;this._alg=w,this._key=y,y.length>T?y=("rmd160"===w?new x:m(w)).update(y).digest():y.length<T&&(y=S.concat([y,R],T));for(var F=this._ipad=S.allocUnsafe(T),V=this._opad=S.allocUnsafe(T),U=0;U<T;U++)F[U]=54^y[U],V[U]=92^y[U];this._hash="rmd160"===w?new x:m(w),this._hash.update(F)}t(d,C),d.prototype._update=function(w){this._hash.update(w)},d.prototype._final=function(){var w=this._hash.digest();return("rmd160"===this._alg?new x:m(this._alg)).update(this._opad).update(w).digest()},Ve.exports=function(y,T){return"rmd160"===(y=y.toLowerCase())||"ripemd160"===y?new d("rmd160",T):"md5"===y?new e(l,T):new d(y,T)}},509:(Ve,ee,p)=>{"use strict";var t=p(1993),e=p(7054).Buffer,C=p(3247),S=e.alloc(128),l=64;function x(m,R){C.call(this,"digest"),"string"==typeof R&&(R=e.from(R)),this._alg=m,this._key=R,R.length>l?R=m(R):R.length<l&&(R=e.concat([R,S],l));for(var d=this._ipad=e.allocUnsafe(l),w=this._opad=e.allocUnsafe(l),y=0;y<l;y++)d[y]=54^R[y],w[y]=92^R[y];this._hash=[d]}t(x,C),x.prototype._update=function(m){this._hash.push(m)},x.prototype._final=function(){var m=this._alg(e.concat(this._hash));return this._alg(e.concat([this._opad,m]))},Ve.exports=x},1426:(Ve,ee,p)=>{"use strict";ee.randomBytes=ee.rng=ee.pseudoRandomBytes=ee.prng=p(3342),ee.createHash=ee.Hash=p(7211),ee.createHmac=ee.Hmac=p(6432);var t=p(9560),e=Object.keys(t),C=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(e);ee.getHashes=function(){return C};var S=p(3397);ee.pbkdf2=S.pbkdf2,ee.pbkdf2Sync=S.pbkdf2Sync;var l=p(8862);ee.Cipher=l.Cipher,ee.createCipher=l.createCipher,ee.Cipheriv=l.Cipheriv,ee.createCipheriv=l.createCipheriv,ee.Decipher=l.Decipher,ee.createDecipher=l.createDecipher,ee.Decipheriv=l.Decipheriv,ee.createDecipheriv=l.createDecipheriv,ee.getCiphers=l.getCiphers,ee.listCiphers=l.listCiphers;var x=p(4377);ee.DiffieHellmanGroup=x.DiffieHellmanGroup,ee.createDiffieHellmanGroup=x.createDiffieHellmanGroup,ee.getDiffieHellman=x.getDiffieHellman,ee.createDiffieHellman=x.createDiffieHellman,ee.DiffieHellman=x.DiffieHellman;var m=p(9143);ee.createSign=m.createSign,ee.Sign=m.Sign,ee.createVerify=m.createVerify,ee.Verify=m.Verify,ee.createECDH=p(7303);var R=p(2965);ee.publicEncrypt=R.publicEncrypt,ee.privateEncrypt=R.privateEncrypt,ee.publicDecrypt=R.publicDecrypt,ee.privateDecrypt=R.privateDecrypt;var d=p(9682);ee.randomFill=d.randomFill,ee.randomFillSync=d.randomFillSync,ee.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},ee.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}},2736:(Ve,ee,p)=>{"use strict";var t=p(4570),e=p(8413),C=p(6758),S=p(1417);Ve.exports=function(x,m,R){if(!x||"object"!=typeof x&&"function"!=typeof x)throw new C("`obj` must be an object or a function`");if("string"!=typeof m&&"symbol"!=typeof m)throw new C("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new C("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new C("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new C("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new C("`loose`, if provided, must be a boolean");var d=arguments.length>3?arguments[3]:null,w=arguments.length>4?arguments[4]:null,y=arguments.length>5?arguments[5]:null,T=arguments.length>6&&arguments[6],k=!!S&&S(x,m);if(t)t(x,m,{configurable:null===y&&k?k.configurable:!y,enumerable:null===d&&k?k.enumerable:!d,value:R,writable:null===w&&k?k.writable:!w});else{if(!T&&(d||w||y))throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");x[m]=R}}},1549:(Ve,ee,p)=>{"use strict";ee.utils=p(5671),ee.Cipher=p(219),ee.DES=p(4166),ee.CBC=p(8800),ee.EDE=p(2122)},8800:(Ve,ee,p)=>{"use strict";var t=p(9210),e=p(1993),C={};function S(x){t.equal(x.length,8,"Invalid IV length"),this.iv=new Array(8);for(var m=0;m<this.iv.length;m++)this.iv[m]=x[m]}ee.instantiate=function l(x){function m(y){x.call(this,y),this._cbcInit()}e(m,x);for(var R=Object.keys(C),d=0;d<R.length;d++){var w=R[d];m.prototype[w]=C[w]}return m.create=function(T){return new m(T)},m},C._cbcInit=function(){var m=new S(this.options.iv);this._cbcState=m},C._update=function(m,R,d,w){var T=this.constructor.super_.prototype,k=this._cbcState.iv;if("encrypt"===this.type){for(var F=0;F<this.blockSize;F++)k[F]^=m[R+F];for(T._update.call(this,k,0,d,w),F=0;F<this.blockSize;F++)k[F]=d[w+F]}else{for(T._update.call(this,m,R,d,w),F=0;F<this.blockSize;F++)d[w+F]^=k[F];for(F=0;F<this.blockSize;F++)k[F]=m[R+F]}}},219:(Ve,ee,p)=>{"use strict";var t=p(9210);function e(C){this.options=C,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==C.padding}Ve.exports=e,e.prototype._init=function(){},e.prototype.update=function(S){return 0===S.length?[]:"decrypt"===this.type?this._updateDecrypt(S):this._updateEncrypt(S)},e.prototype._buffer=function(S,l){for(var x=Math.min(this.buffer.length-this.bufferOff,S.length-l),m=0;m<x;m++)this.buffer[this.bufferOff+m]=S[l+m];return this.bufferOff+=x,x},e.prototype._flushBuffer=function(S,l){return this._update(this.buffer,0,S,l),this.bufferOff=0,this.blockSize},e.prototype._updateEncrypt=function(S){var l=0,x=0,R=new Array(((this.bufferOff+S.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(l+=this._buffer(S,l),this.bufferOff===this.buffer.length&&(x+=this._flushBuffer(R,x)));for(var d=S.length-(S.length-l)%this.blockSize;l<d;l+=this.blockSize)this._update(S,l,R,x),x+=this.blockSize;for(;l<S.length;l++,this.bufferOff++)this.buffer[this.bufferOff]=S[l];return R},e.prototype._updateDecrypt=function(S){for(var l=0,x=0,m=Math.ceil((this.bufferOff+S.length)/this.blockSize)-1,R=new Array(m*this.blockSize);m>0;m--)l+=this._buffer(S,l),x+=this._flushBuffer(R,x);return l+=this._buffer(S,l),R},e.prototype.final=function(S){var l,x;return S&&(l=this.update(S)),x="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),l?l.concat(x):x},e.prototype._pad=function(S,l){if(0===l)return!1;for(;l<S.length;)S[l++]=0;return!0},e.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var S=new Array(this.blockSize);return this._update(this.buffer,0,S,0),S},e.prototype._unpad=function(S){return S},e.prototype._finalDecrypt=function(){t.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var S=new Array(this.blockSize);return this._flushBuffer(S,0),this._unpad(S)}},4166:(Ve,ee,p)=>{"use strict";var t=p(9210),e=p(1993),C=p(5671),S=p(219);function l(){this.tmp=new Array(2),this.keys=null}function x(R){S.call(this,R);var d=new l;this._desState=d,this.deriveKeys(d,R.key)}e(x,S),Ve.exports=x,x.create=function(d){return new x(d)};var m=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];x.prototype.deriveKeys=function(d,w){d.keys=new Array(32),t.equal(w.length,this.blockSize,"Invalid key length");var y=C.readUInt32BE(w,0),T=C.readUInt32BE(w,4);C.pc1(y,T,d.tmp,0),y=d.tmp[0],T=d.tmp[1];for(var k=0;k<d.keys.length;k+=2){var F=m[k>>>1];y=C.r28shl(y,F),T=C.r28shl(T,F),C.pc2(y,T,d.keys,k)}},x.prototype._update=function(d,w,y,T){var k=this._desState,F=C.readUInt32BE(d,w),V=C.readUInt32BE(d,w+4);C.ip(F,V,k.tmp,0),F=k.tmp[0],V=k.tmp[1],"encrypt"===this.type?this._encrypt(k,F,V,k.tmp,0):this._decrypt(k,F,V,k.tmp,0),V=k.tmp[1],C.writeUInt32BE(y,F=k.tmp[0],T),C.writeUInt32BE(y,V,T+4)},x.prototype._pad=function(d,w){if(!1===this.padding)return!1;for(var y=d.length-w,T=w;T<d.length;T++)d[T]=y;return!0},x.prototype._unpad=function(d){if(!1===this.padding)return d;for(var w=d[d.length-1],y=d.length-w;y<d.length;y++)t.equal(d[y],w);return d.slice(0,d.length-w)},x.prototype._encrypt=function(d,w,y,T,k){for(var F=w,V=y,U=0;U<d.keys.length;U+=2){var G=d.keys[U],Y=d.keys[U+1];C.expand(V,d.tmp,0);var $=C.substitute(G^=d.tmp[0],Y^=d.tmp[1]),ie=V;V=(F^C.permute($))>>>0,F=ie}C.rip(V,F,T,k)},x.prototype._decrypt=function(d,w,y,T,k){for(var F=y,V=w,U=d.keys.length-2;U>=0;U-=2){var G=d.keys[U],Y=d.keys[U+1];C.expand(F,d.tmp,0);var $=C.substitute(G^=d.tmp[0],Y^=d.tmp[1]),ie=F;F=(V^C.permute($))>>>0,V=ie}C.rip(F,V,T,k)}},2122:(Ve,ee,p)=>{"use strict";var t=p(9210),e=p(1993),C=p(219),S=p(4166);function l(m,R){t.equal(R.length,24,"Invalid key length");var d=R.slice(0,8),w=R.slice(8,16),y=R.slice(16,24);this.ciphers="encrypt"===m?[S.create({type:"encrypt",key:d}),S.create({type:"decrypt",key:w}),S.create({type:"encrypt",key:y})]:[S.create({type:"decrypt",key:y}),S.create({type:"encrypt",key:w}),S.create({type:"decrypt",key:d})]}function x(m){C.call(this,m);var R=new l(this.type,this.options.key);this._edeState=R}e(x,C),Ve.exports=x,x.create=function(R){return new x(R)},x.prototype._update=function(R,d,w,y){var T=this._edeState;T.ciphers[0]._update(R,d,w,y),T.ciphers[1]._update(w,y,w,y),T.ciphers[2]._update(w,y,w,y)},x.prototype._pad=S.prototype._pad,x.prototype._unpad=S.prototype._unpad},5671:(Ve,ee)=>{"use strict";ee.readUInt32BE=function(S,l){return(S[0+l]<<24|S[1+l]<<16|S[2+l]<<8|S[3+l])>>>0},ee.writeUInt32BE=function(S,l,x){S[0+x]=l>>>24,S[1+x]=l>>>16&255,S[2+x]=l>>>8&255,S[3+x]=255&l},ee.ip=function(S,l,x,m){for(var R=0,d=0,w=6;w>=0;w-=2){for(var y=0;y<=24;y+=8)R<<=1,R|=l>>>y+w&1;for(y=0;y<=24;y+=8)R<<=1,R|=S>>>y+w&1}for(w=6;w>=0;w-=2){for(y=1;y<=25;y+=8)d<<=1,d|=l>>>y+w&1;for(y=1;y<=25;y+=8)d<<=1,d|=S>>>y+w&1}x[m+0]=R>>>0,x[m+1]=d>>>0},ee.rip=function(S,l,x,m){for(var R=0,d=0,w=0;w<4;w++)for(var y=24;y>=0;y-=8)R<<=1,R|=l>>>y+w&1,R<<=1,R|=S>>>y+w&1;for(w=4;w<8;w++)for(y=24;y>=0;y-=8)d<<=1,d|=l>>>y+w&1,d<<=1,d|=S>>>y+w&1;x[m+0]=R>>>0,x[m+1]=d>>>0},ee.pc1=function(S,l,x,m){for(var R=0,d=0,w=7;w>=5;w--){for(var y=0;y<=24;y+=8)R<<=1,R|=l>>y+w&1;for(y=0;y<=24;y+=8)R<<=1,R|=S>>y+w&1}for(y=0;y<=24;y+=8)R<<=1,R|=l>>y+w&1;for(w=1;w<=3;w++){for(y=0;y<=24;y+=8)d<<=1,d|=l>>y+w&1;for(y=0;y<=24;y+=8)d<<=1,d|=S>>y+w&1}for(y=0;y<=24;y+=8)d<<=1,d|=S>>y+w&1;x[m+0]=R>>>0,x[m+1]=d>>>0},ee.r28shl=function(S,l){return S<<l&268435455|S>>>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];ee.pc2=function(S,l,x,m){for(var R=0,d=0,w=p.length>>>1,y=0;y<w;y++)R<<=1,R|=S>>>p[y]&1;for(y=w;y<p.length;y++)d<<=1,d|=l>>>p[y]&1;x[m+0]=R>>>0,x[m+1]=d>>>0},ee.expand=function(S,l,x){var m=0,R=0;m=(1&S)<<5|S>>>27;for(var d=23;d>=15;d-=4)m<<=6,m|=S>>>d&63;for(d=11;d>=3;d-=4)R|=S>>>d&63,R<<=6;R|=(31&S)<<1|S>>>31,l[x+0]=m>>>0,l[x+1]=R>>>0};var t=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];ee.substitute=function(S,l){for(var x=0,m=0;m<4;m++)x<<=4,x|=t[64*m+(S>>>18-6*m&63)];for(m=0;m<4;m++)x<<=4,x|=t[256+64*m+(l>>>18-6*m&63)];return x>>>0};var e=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];ee.permute=function(S){for(var l=0,x=0;x<e.length;x++)l<<=1,l|=S>>>e[x]&1;return l>>>0},ee.padSplit=function(S,l,x){for(var m=S.toString(2);m.length<l;)m="0"+m;for(var R=[],d=0;d<l;d+=x)R.push(m.slice(d,d+x));return R.join(" ")}},4377:(Ve,ee,p)=>{var t=p(2727),e=p(3241),C=p(4593),l={binary:!0,hex:!0,base64:!0};ee.DiffieHellmanGroup=ee.createDiffieHellmanGroup=ee.getDiffieHellman=function S(m){var R=new Buffer(e[m].prime,"hex"),d=new Buffer(e[m].gen,"hex");return new C(R,d)},ee.createDiffieHellman=ee.DiffieHellman=function x(m,R,d,w){return Buffer.isBuffer(R)||void 0===l[R]?x(m,"binary",R,d):(R=R||"binary",w=w||"binary",d=d||new Buffer([2]),Buffer.isBuffer(d)||(d=new Buffer(d,w)),"number"==typeof m?new C(t(m,d),d,!0):(Buffer.isBuffer(m)||(m=new Buffer(m,R)),new C(m,d,!0)))}},4593:(Ve,ee,p)=>{var t=p(8280),C=new(p(3459)),S=new t(24),l=new t(11),x=new t(10),m=new t(3),R=new t(7),d=p(2727),w=p(3342);function y(G,Y){return Y=Y||"utf8",Buffer.isBuffer(G)||(G=new Buffer(G,Y)),this._pub=new t(G),this}function T(G,Y){return Y=Y||"utf8",Buffer.isBuffer(G)||(G=new Buffer(G,Y)),this._priv=new t(G),this}Ve.exports=V;var k={};function V(G,Y,$){this.setGenerator(Y),this.__prime=new t(G),this._prime=t.mont(this.__prime),this._primeLen=G.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,$?(this.setPublicKey=y,this.setPrivateKey=T):this._primeCode=8}function U(G,Y){var $=new Buffer(G.toArray());return Y?$.toString(Y):$}Object.defineProperty(V.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function F(G,Y){var $=Y.toString("hex"),Z=[$,G.toString(16)].join("_");if(Z in k)return k[Z];var ve,ie=0;if(G.isEven()||!d.simpleSieve||!d.fermatTest(G)||!C.test(G))return ie+=1,k[Z]=ie+="02"===$||"05"===$?8:4,ie;switch(C.test(G.shrn(1))||(ie+=2),$){case"02":G.mod(S).cmp(l)&&(ie+=8);break;case"05":(ve=G.mod(x)).cmp(m)&&ve.cmp(R)&&(ie+=8);break;default:ie+=4}return k[Z]=ie,ie}(this.__prime,this.__gen)),this._primeCode}}),V.prototype.generateKeys=function(){return this._priv||(this._priv=new t(w(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},V.prototype.computeSecret=function(G){var Y=(G=(G=new t(G)).toRed(this._prime)).redPow(this._priv).fromRed(),$=new Buffer(Y.toArray()),Z=this.getPrime();if($.length<Z.length){var ie=new Buffer(Z.length-$.length);ie.fill(0),$=Buffer.concat([ie,$])}return $},V.prototype.getPublicKey=function(Y){return U(this._pub,Y)},V.prototype.getPrivateKey=function(Y){return U(this._priv,Y)},V.prototype.getPrime=function(G){return U(this.__prime,G)},V.prototype.getGenerator=function(G){return U(this._gen,G)},V.prototype.setGenerator=function(G,Y){return Y=Y||"utf8",Buffer.isBuffer(G)||(G=new Buffer(G,Y)),this.__gen=G,this._gen=new t(G),this}},2727:(Ve,ee,p)=>{var t=p(3342);Ve.exports=ie,ie.simpleSieve=$,ie.fermatTest=Z;var e=p(8280),C=new e(24),l=new(p(3459)),x=new e(1),m=new e(2),R=new e(5),y=(new e(16),new e(8),new e(10)),T=new e(3),F=(new e(7),new e(11)),V=new e(4),G=(new e(12),null);function $(ve){for(var ae=function Y(){if(null!==G)return G;var ae=[];ae[0]=2;for(var ye=1,ue=3;ue<1048576;ue+=2){for(var be=Math.ceil(Math.sqrt(ue)),D=0;D<ye&&ae[D]<=be&&ue%ae[D]!=0;D++);ye!==D&&ae[D]<=be||(ae[ye++]=ue)}return G=ae,ae}(),ye=0;ye<ae.length;ye++)if(0===ve.modn(ae[ye]))return 0===ve.cmpn(ae[ye]);return!0}function Z(ve){var ae=e.mont(ve);return 0===m.toRed(ae).redPow(ve.subn(1)).fromRed().cmpn(1)}function ie(ve,ae){if(ve<16)return new e(2===ae||5===ae?[140,123]:[140,39]);ae=new e(ae);for(var ye,ue;;){for(ye=new e(t(Math.ceil(ve/8)));ye.bitLength()>ve;)ye.ishrn(1);if(ye.isEven()&&ye.iadd(x),ye.testn(1)||ye.iadd(m),ae.cmp(m)){if(!ae.cmp(R))for(;ye.mod(y).cmp(T);)ye.iadd(V)}else for(;ye.mod(C).cmp(F);)ye.iadd(V);if($(ue=ye.shrn(1))&&$(ye)&&Z(ue)&&Z(ye)&&l.test(ue)&&l.test(ye))return ye}}},8280:function(Ve,ee,p){!function(t,e){"use strict";function C(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var c=function(){};c.prototype=n.prototype,D.prototype=new c,D.prototype.constructor=D}function l(D,n,c){if(l.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(D||0,n||10,c||"be"))}var x;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(6089).Buffer}catch{}function m(D,n){var c=D.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(D,n,c){var f=m(D,c);return c-1>=n&&(f|=m(D,c-1)<<4),f}function d(D,n,c,f){for(var h=0,M=Math.min(D.length,c),L=n;L<M;L++){var O=D.charCodeAt(L)-48;h*=f,h+=O>=49?O-49+10:O>=17?O-17+10:O}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,c){return n.cmp(c)>0?n:c},l.min=function(n,c){return n.cmp(c)<0?n:c},l.prototype._init=function(n,c,f){if("number"==typeof n)return this._initNumber(n,c,f);if("object"==typeof n)return this._initArray(n,c,f);"hex"===c&&(c=16),C(c===(0|c)&&c>=2&&c<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===c?this._parseHex(n,h,f):(this._parseBase(n,c,h),"le"===f&&this._initArray(this.toArray(),c,f)))},l.prototype._initNumber=function(n,c,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):(C(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),c,f)},l.prototype._initArray=function(n,c,f){if(C("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 M,L,O=0;if("be"===f)for(h=n.length-1,M=0;h>=0;h-=3)this.words[M]|=(L=n[h]|n[h-1]<<8|n[h-2]<<16)<<O&67108863,this.words[M+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,M++);else if("le"===f)for(h=0,M=0;h<n.length;h+=3)this.words[M]|=(L=n[h]|n[h+1]<<8|n[h+2]<<16)<<O&67108863,this.words[M+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,M++);return this.strip()},l.prototype._parseHex=function(n,c,f){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var O,M=0,L=0;if("be"===f)for(h=n.length-1;h>=c;h-=2)O=R(n,c,h)<<M,this.words[L]|=67108863&O,M>=18?(M-=18,this.words[L+=1]|=O>>>26):M+=8;else for(h=(n.length-c)%2==0?c+1:c;h<n.length;h+=2)O=R(n,c,h)<<M,this.words[L]|=67108863&O,M>=18?(M-=18,this.words[L+=1]|=O>>>26):M+=8;this.strip()},l.prototype._parseBase=function(n,c,f){this.words=[0],this.length=1;for(var h=0,M=1;M<=67108863;M*=c)h++;h--,M=M/c|0;for(var L=n.length-f,O=L%h,_=Math.min(L,L-O)+f,r=0,v=f;v<_;v+=h)r=d(n,v,v+h,c),this.imuln(M),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==O){var z=1;for(r=d(n,v,n.length,c),v=0;v<O;v++)z*=c;this.imuln(z),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 c=0;c<this.length;c++)n.words[c]=this.words[c];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 w=["","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"],y=[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],T=[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 F(D,n,c){c.negative=n.negative^D.negative;var f=D.length+n.length|0;c.length=f,f=f-1|0;var h=0|D.words[0],M=0|n.words[0],L=h*M,_=L/67108864|0;c.words[0]=67108863&L;for(var r=1;r<f;r++){for(var v=_>>>26,z=67108863&_,N=Math.min(r,n.length-1),ne=Math.max(0,r-D.length+1);ne<=N;ne++)v+=(L=(h=0|D.words[r-ne|0])*(M=0|n.words[ne])+z)/67108864|0,z=67108863&L;c.words[r]=0|z,_=0|v}return 0!==_?c.words[r]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var f;if(c=0|c||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,M=0,L=0;L<this.length;L++){var O=this.words[L],_=(16777215&(O<<h|M)).toString(16);M=O>>>24-h&16777215,(h+=2)>=26&&(h-=26,L--),f=0!==M||L!==this.length-1?w[6-_.length]+_+f:_+f}for(0!==M&&(f=M.toString(16)+f);f.length%c!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=y[n],v=T[n];f="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(v).toString(n);f=(z=z.idivn(v)).isZero()?N+f:w[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%c!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}C(!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&&C(!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,c){return C(typeof x<"u"),this.toArrayLike(x,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,f){var h=this.byteLength(),M=f||Math.max(1,h);C(h<=M,"byte array longer than desired length"),C(M>0,"Requested array length <= 0"),this.strip();var _,r,L="le"===c,O=new n(M),v=this.clone();if(L){for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),O[r]=_;for(;r<M;r++)O[r]=0}else{for(r=0;r<M-h;r++)O[r]=0;for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),O[M-r-1]=_}return O},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var c=n,f=0;return c>=4096&&(f+=13,c>>>=13),c>=64&&(f+=7,c>>>=7),c>=8&&(f+=4,c>>>=4),c>=2&&(f+=2,c>>>=2),f+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,f=0;return 8191&c||(f+=13,c>>>=13),127&c||(f+=7,c>>>=7),15&c||(f+=4,c>>>=4),3&c||(f+=2,c>>>=2),1&c||f++,f},l.prototype.bitLength=function(){var c=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+c},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;c<this.length;c++){var f=this._zeroBits(this.words[c]);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 c=0;c<n.length;c++)this.words[c]=this.words[c]|n.words[c];return this.strip()},l.prototype.ior=function(n){return C(!(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 c;c=this.length>n.length?n:this;for(var f=0;f<c.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=c.length,this.strip()},l.prototype.iand=function(n){return C(!(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 c,f;this.length>n.length?(c=this,f=n):(c=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=c.words[h]^f.words[h];if(this!==c)for(;h<c.length;h++)this.words[h]=c.words[h];return this.length=c.length,this.strip()},l.prototype.ixor=function(n){return C(!(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){C("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),f=n%26;this._expand(c),f>0&&c--;for(var h=0;h<c;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,c){C("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=c?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var c,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,c=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,c=this.isub(n),n.negative=1,c._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var M=0,L=0;L<h.length;L++)this.words[L]=67108863&(c=(0|f.words[L])+(0|h.words[L])+M),M=c>>>26;for(;0!==M&&L<f.length;L++)this.words[L]=67108863&(c=(0|f.words[L])+M),M=c>>>26;if(this.length=f.length,0!==M)this.words[this.length]=M,this.length++;else if(f!==this)for(;L<f.length;L++)this.words[L]=f.words[L];return this},l.prototype.add=function(n){var c;return 0!==n.negative&&0===this.negative?(n.negative=0,c=this.sub(n),n.negative^=1,c):0===n.negative&&0!==this.negative?(this.negative=0,c=n.sub(this),this.negative=1,c):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 c=this.iadd(n);return n.negative=1,c._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,M,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,M=n):(h=n,M=this);for(var L=0,O=0;O<M.length;O++)L=(c=(0|h.words[O])-(0|M.words[O])+L)>>26,this.words[O]=67108863&c;for(;0!==L&&O<h.length;O++)L=(c=(0|h.words[O])+L)>>26,this.words[O]=67108863&c;if(0===L&&O<h.length&&h!==this)for(;O<h.length;O++)this.words[O]=h.words[O];return this.length=Math.max(this.length,O),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var V=function(n,c,f){var _,r,v,h=n.words,M=c.words,L=f.words,O=0,z=0|h[0],N=8191&z,ne=z>>>13,Ie=0|h[1],at=8191&Ie,Ye=Ie>>>13,rt=0|h[2],re=8191&rt,te=rt>>>13,oe=0|h[3],_e=8191&oe,de=oe>>>13,pe=0|h[4],We=8191&pe,se=pe>>>13,fe=0|h[5],he=8191&fe,et=fe>>>13,Ke=0|h[6],Ct=8191&Ke,_t=Ke>>>13,Nt=0|h[7],ke=8191&Nt,Je=Nt>>>13,Qe=0|h[8],nt=8191&Qe,Ue=Qe>>>13,ht=0|h[9],tt=8191&ht,wt=ht>>>13,ut=0|M[0],vt=8191&ut,Ze=ut>>>13,jt=0|M[1],qe=8191&jt,dt=jt>>>13,Le=0|M[2],Vt=8191&Le,Zt=Le>>>13,Et=0|M[3],je=8191&Et,me=Et>>>13,xe=0|M[4],ce=8191&xe,Me=xe>>>13,Xe=0|M[5],Pe=8191&Xe,Oe=Xe>>>13,we=0|M[6],De=8191&we,$e=we>>>13,$t=0|M[7],Ft=8191&$t,Kt=$t>>>13,fi=0|M[8],Qt=8191&fi,zt=fi>>>13,Xi=0|M[9],ci=8191&Xi,ui=Xi>>>13;f.negative=n.negative^c.negative,f.length=19;var bn=(O+(_=Math.imul(N,vt))|0)+((8191&(r=(r=Math.imul(N,Ze))+Math.imul(ne,vt)|0))<<13)|0;O=((v=Math.imul(ne,Ze))+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,_=Math.imul(at,vt),r=(r=Math.imul(at,Ze))+Math.imul(Ye,vt)|0,v=Math.imul(Ye,Ze);var Qi=(O+(_=_+Math.imul(N,qe)|0)|0)+((8191&(r=(r=r+Math.imul(N,dt)|0)+Math.imul(ne,qe)|0))<<13)|0;O=((v=v+Math.imul(ne,dt)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(re,vt),r=(r=Math.imul(re,Ze))+Math.imul(te,vt)|0,v=Math.imul(te,Ze),_=_+Math.imul(at,qe)|0,r=(r=r+Math.imul(at,dt)|0)+Math.imul(Ye,qe)|0,v=v+Math.imul(Ye,dt)|0;var Li=(O+(_=_+Math.imul(N,Vt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(ne,Vt)|0))<<13)|0;O=((v=v+Math.imul(ne,Zt)|0)+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,_=Math.imul(_e,vt),r=(r=Math.imul(_e,Ze))+Math.imul(de,vt)|0,v=Math.imul(de,Ze),_=_+Math.imul(re,qe)|0,r=(r=r+Math.imul(re,dt)|0)+Math.imul(te,qe)|0,v=v+Math.imul(te,dt)|0,_=_+Math.imul(at,Vt)|0,r=(r=r+Math.imul(at,Zt)|0)+Math.imul(Ye,Vt)|0,v=v+Math.imul(Ye,Zt)|0;var nn=(O+(_=_+Math.imul(N,je)|0)|0)+((8191&(r=(r=r+Math.imul(N,me)|0)+Math.imul(ne,je)|0))<<13)|0;O=((v=v+Math.imul(ne,me)|0)+(r>>>13)|0)+(nn>>>26)|0,nn&=67108863,_=Math.imul(We,vt),r=(r=Math.imul(We,Ze))+Math.imul(se,vt)|0,v=Math.imul(se,Ze),_=_+Math.imul(_e,qe)|0,r=(r=r+Math.imul(_e,dt)|0)+Math.imul(de,qe)|0,v=v+Math.imul(de,dt)|0,_=_+Math.imul(re,Vt)|0,r=(r=r+Math.imul(re,Zt)|0)+Math.imul(te,Vt)|0,v=v+Math.imul(te,Zt)|0,_=_+Math.imul(at,je)|0,r=(r=r+Math.imul(at,me)|0)+Math.imul(Ye,je)|0,v=v+Math.imul(Ye,me)|0;var st=(O+(_=_+Math.imul(N,ce)|0)|0)+((8191&(r=(r=r+Math.imul(N,Me)|0)+Math.imul(ne,ce)|0))<<13)|0;O=((v=v+Math.imul(ne,Me)|0)+(r>>>13)|0)+(st>>>26)|0,st&=67108863,_=Math.imul(he,vt),r=(r=Math.imul(he,Ze))+Math.imul(et,vt)|0,v=Math.imul(et,Ze),_=_+Math.imul(We,qe)|0,r=(r=r+Math.imul(We,dt)|0)+Math.imul(se,qe)|0,v=v+Math.imul(se,dt)|0,_=_+Math.imul(_e,Vt)|0,r=(r=r+Math.imul(_e,Zt)|0)+Math.imul(de,Vt)|0,v=v+Math.imul(de,Zt)|0,_=_+Math.imul(re,je)|0,r=(r=r+Math.imul(re,me)|0)+Math.imul(te,je)|0,v=v+Math.imul(te,me)|0,_=_+Math.imul(at,ce)|0,r=(r=r+Math.imul(at,Me)|0)+Math.imul(Ye,ce)|0,v=v+Math.imul(Ye,Me)|0;var ii=(O+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(r=(r=r+Math.imul(N,Oe)|0)+Math.imul(ne,Pe)|0))<<13)|0;O=((v=v+Math.imul(ne,Oe)|0)+(r>>>13)|0)+(ii>>>26)|0,ii&=67108863,_=Math.imul(Ct,vt),r=(r=Math.imul(Ct,Ze))+Math.imul(_t,vt)|0,v=Math.imul(_t,Ze),_=_+Math.imul(he,qe)|0,r=(r=r+Math.imul(he,dt)|0)+Math.imul(et,qe)|0,v=v+Math.imul(et,dt)|0,_=_+Math.imul(We,Vt)|0,r=(r=r+Math.imul(We,Zt)|0)+Math.imul(se,Vt)|0,v=v+Math.imul(se,Zt)|0,_=_+Math.imul(_e,je)|0,r=(r=r+Math.imul(_e,me)|0)+Math.imul(de,je)|0,v=v+Math.imul(de,me)|0,_=_+Math.imul(re,ce)|0,r=(r=r+Math.imul(re,Me)|0)+Math.imul(te,ce)|0,v=v+Math.imul(te,Me)|0,_=_+Math.imul(at,Pe)|0,r=(r=r+Math.imul(at,Oe)|0)+Math.imul(Ye,Pe)|0,v=v+Math.imul(Ye,Oe)|0;var Se=(O+(_=_+Math.imul(N,De)|0)|0)+((8191&(r=(r=r+Math.imul(N,$e)|0)+Math.imul(ne,De)|0))<<13)|0;O=((v=v+Math.imul(ne,$e)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,_=Math.imul(ke,vt),r=(r=Math.imul(ke,Ze))+Math.imul(Je,vt)|0,v=Math.imul(Je,Ze),_=_+Math.imul(Ct,qe)|0,r=(r=r+Math.imul(Ct,dt)|0)+Math.imul(_t,qe)|0,v=v+Math.imul(_t,dt)|0,_=_+Math.imul(he,Vt)|0,r=(r=r+Math.imul(he,Zt)|0)+Math.imul(et,Vt)|0,v=v+Math.imul(et,Zt)|0,_=_+Math.imul(We,je)|0,r=(r=r+Math.imul(We,me)|0)+Math.imul(se,je)|0,v=v+Math.imul(se,me)|0,_=_+Math.imul(_e,ce)|0,r=(r=r+Math.imul(_e,Me)|0)+Math.imul(de,ce)|0,v=v+Math.imul(de,Me)|0,_=_+Math.imul(re,Pe)|0,r=(r=r+Math.imul(re,Oe)|0)+Math.imul(te,Pe)|0,v=v+Math.imul(te,Oe)|0,_=_+Math.imul(at,De)|0,r=(r=r+Math.imul(at,$e)|0)+Math.imul(Ye,De)|0,v=v+Math.imul(Ye,$e)|0;var Mt=(O+(_=_+Math.imul(N,Ft)|0)|0)+((8191&(r=(r=r+Math.imul(N,Kt)|0)+Math.imul(ne,Ft)|0))<<13)|0;O=((v=v+Math.imul(ne,Kt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul(nt,vt),r=(r=Math.imul(nt,Ze))+Math.imul(Ue,vt)|0,v=Math.imul(Ue,Ze),_=_+Math.imul(ke,qe)|0,r=(r=r+Math.imul(ke,dt)|0)+Math.imul(Je,qe)|0,v=v+Math.imul(Je,dt)|0,_=_+Math.imul(Ct,Vt)|0,r=(r=r+Math.imul(Ct,Zt)|0)+Math.imul(_t,Vt)|0,v=v+Math.imul(_t,Zt)|0,_=_+Math.imul(he,je)|0,r=(r=r+Math.imul(he,me)|0)+Math.imul(et,je)|0,v=v+Math.imul(et,me)|0,_=_+Math.imul(We,ce)|0,r=(r=r+Math.imul(We,Me)|0)+Math.imul(se,ce)|0,v=v+Math.imul(se,Me)|0,_=_+Math.imul(_e,Pe)|0,r=(r=r+Math.imul(_e,Oe)|0)+Math.imul(de,Pe)|0,v=v+Math.imul(de,Oe)|0,_=_+Math.imul(re,De)|0,r=(r=r+Math.imul(re,$e)|0)+Math.imul(te,De)|0,v=v+Math.imul(te,$e)|0,_=_+Math.imul(at,Ft)|0,r=(r=r+Math.imul(at,Kt)|0)+Math.imul(Ye,Ft)|0,v=v+Math.imul(Ye,Kt)|0;var Pt=(O+(_=_+Math.imul(N,Qt)|0)|0)+((8191&(r=(r=r+Math.imul(N,zt)|0)+Math.imul(ne,Qt)|0))<<13)|0;O=((v=v+Math.imul(ne,zt)|0)+(r>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,_=Math.imul(tt,vt),r=(r=Math.imul(tt,Ze))+Math.imul(wt,vt)|0,v=Math.imul(wt,Ze),_=_+Math.imul(nt,qe)|0,r=(r=r+Math.imul(nt,dt)|0)+Math.imul(Ue,qe)|0,v=v+Math.imul(Ue,dt)|0,_=_+Math.imul(ke,Vt)|0,r=(r=r+Math.imul(ke,Zt)|0)+Math.imul(Je,Vt)|0,v=v+Math.imul(Je,Zt)|0,_=_+Math.imul(Ct,je)|0,r=(r=r+Math.imul(Ct,me)|0)+Math.imul(_t,je)|0,v=v+Math.imul(_t,me)|0,_=_+Math.imul(he,ce)|0,r=(r=r+Math.imul(he,Me)|0)+Math.imul(et,ce)|0,v=v+Math.imul(et,Me)|0,_=_+Math.imul(We,Pe)|0,r=(r=r+Math.imul(We,Oe)|0)+Math.imul(se,Pe)|0,v=v+Math.imul(se,Oe)|0,_=_+Math.imul(_e,De)|0,r=(r=r+Math.imul(_e,$e)|0)+Math.imul(de,De)|0,v=v+Math.imul(de,$e)|0,_=_+Math.imul(re,Ft)|0,r=(r=r+Math.imul(re,Kt)|0)+Math.imul(te,Ft)|0,v=v+Math.imul(te,Kt)|0,_=_+Math.imul(at,Qt)|0,r=(r=r+Math.imul(at,zt)|0)+Math.imul(Ye,Qt)|0,v=v+Math.imul(Ye,zt)|0;var ai=(O+(_=_+Math.imul(N,ci)|0)|0)+((8191&(r=(r=r+Math.imul(N,ui)|0)+Math.imul(ne,ci)|0))<<13)|0;O=((v=v+Math.imul(ne,ui)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,_=Math.imul(tt,qe),r=(r=Math.imul(tt,dt))+Math.imul(wt,qe)|0,v=Math.imul(wt,dt),_=_+Math.imul(nt,Vt)|0,r=(r=r+Math.imul(nt,Zt)|0)+Math.imul(Ue,Vt)|0,v=v+Math.imul(Ue,Zt)|0,_=_+Math.imul(ke,je)|0,r=(r=r+Math.imul(ke,me)|0)+Math.imul(Je,je)|0,v=v+Math.imul(Je,me)|0,_=_+Math.imul(Ct,ce)|0,r=(r=r+Math.imul(Ct,Me)|0)+Math.imul(_t,ce)|0,v=v+Math.imul(_t,Me)|0,_=_+Math.imul(he,Pe)|0,r=(r=r+Math.imul(he,Oe)|0)+Math.imul(et,Pe)|0,v=v+Math.imul(et,Oe)|0,_=_+Math.imul(We,De)|0,r=(r=r+Math.imul(We,$e)|0)+Math.imul(se,De)|0,v=v+Math.imul(se,$e)|0,_=_+Math.imul(_e,Ft)|0,r=(r=r+Math.imul(_e,Kt)|0)+Math.imul(de,Ft)|0,v=v+Math.imul(de,Kt)|0,_=_+Math.imul(re,Qt)|0,r=(r=r+Math.imul(re,zt)|0)+Math.imul(te,Qt)|0,v=v+Math.imul(te,zt)|0;var Ei=(O+(_=_+Math.imul(at,ci)|0)|0)+((8191&(r=(r=r+Math.imul(at,ui)|0)+Math.imul(Ye,ci)|0))<<13)|0;O=((v=v+Math.imul(Ye,ui)|0)+(r>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,_=Math.imul(tt,Vt),r=(r=Math.imul(tt,Zt))+Math.imul(wt,Vt)|0,v=Math.imul(wt,Zt),_=_+Math.imul(nt,je)|0,r=(r=r+Math.imul(nt,me)|0)+Math.imul(Ue,je)|0,v=v+Math.imul(Ue,me)|0,_=_+Math.imul(ke,ce)|0,r=(r=r+Math.imul(ke,Me)|0)+Math.imul(Je,ce)|0,v=v+Math.imul(Je,Me)|0,_=_+Math.imul(Ct,Pe)|0,r=(r=r+Math.imul(Ct,Oe)|0)+Math.imul(_t,Pe)|0,v=v+Math.imul(_t,Oe)|0,_=_+Math.imul(he,De)|0,r=(r=r+Math.imul(he,$e)|0)+Math.imul(et,De)|0,v=v+Math.imul(et,$e)|0,_=_+Math.imul(We,Ft)|0,r=(r=r+Math.imul(We,Kt)|0)+Math.imul(se,Ft)|0,v=v+Math.imul(se,Kt)|0,_=_+Math.imul(_e,Qt)|0,r=(r=r+Math.imul(_e,zt)|0)+Math.imul(de,Qt)|0,v=v+Math.imul(de,zt)|0;var Hi=(O+(_=_+Math.imul(re,ci)|0)|0)+((8191&(r=(r=r+Math.imul(re,ui)|0)+Math.imul(te,ci)|0))<<13)|0;O=((v=v+Math.imul(te,ui)|0)+(r>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul(tt,je),r=(r=Math.imul(tt,me))+Math.imul(wt,je)|0,v=Math.imul(wt,me),_=_+Math.imul(nt,ce)|0,r=(r=r+Math.imul(nt,Me)|0)+Math.imul(Ue,ce)|0,v=v+Math.imul(Ue,Me)|0,_=_+Math.imul(ke,Pe)|0,r=(r=r+Math.imul(ke,Oe)|0)+Math.imul(Je,Pe)|0,v=v+Math.imul(Je,Oe)|0,_=_+Math.imul(Ct,De)|0,r=(r=r+Math.imul(Ct,$e)|0)+Math.imul(_t,De)|0,v=v+Math.imul(_t,$e)|0,_=_+Math.imul(he,Ft)|0,r=(r=r+Math.imul(he,Kt)|0)+Math.imul(et,Ft)|0,v=v+Math.imul(et,Kt)|0,_=_+Math.imul(We,Qt)|0,r=(r=r+Math.imul(We,zt)|0)+Math.imul(se,Qt)|0,v=v+Math.imul(se,zt)|0;var $i=(O+(_=_+Math.imul(_e,ci)|0)|0)+((8191&(r=(r=r+Math.imul(_e,ui)|0)+Math.imul(de,ci)|0))<<13)|0;O=((v=v+Math.imul(de,ui)|0)+(r>>>13)|0)+($i>>>26)|0,$i&=67108863,_=Math.imul(tt,ce),r=(r=Math.imul(tt,Me))+Math.imul(wt,ce)|0,v=Math.imul(wt,Me),_=_+Math.imul(nt,Pe)|0,r=(r=r+Math.imul(nt,Oe)|0)+Math.imul(Ue,Pe)|0,v=v+Math.imul(Ue,Oe)|0,_=_+Math.imul(ke,De)|0,r=(r=r+Math.imul(ke,$e)|0)+Math.imul(Je,De)|0,v=v+Math.imul(Je,$e)|0,_=_+Math.imul(Ct,Ft)|0,r=(r=r+Math.imul(Ct,Kt)|0)+Math.imul(_t,Ft)|0,v=v+Math.imul(_t,Kt)|0,_=_+Math.imul(he,Qt)|0,r=(r=r+Math.imul(he,zt)|0)+Math.imul(et,Qt)|0,v=v+Math.imul(et,zt)|0;var hn=(O+(_=_+Math.imul(We,ci)|0)|0)+((8191&(r=(r=r+Math.imul(We,ui)|0)+Math.imul(se,ci)|0))<<13)|0;O=((v=v+Math.imul(se,ui)|0)+(r>>>13)|0)+(hn>>>26)|0,hn&=67108863,_=Math.imul(tt,Pe),r=(r=Math.imul(tt,Oe))+Math.imul(wt,Pe)|0,v=Math.imul(wt,Oe),_=_+Math.imul(nt,De)|0,r=(r=r+Math.imul(nt,$e)|0)+Math.imul(Ue,De)|0,v=v+Math.imul(Ue,$e)|0,_=_+Math.imul(ke,Ft)|0,r=(r=r+Math.imul(ke,Kt)|0)+Math.imul(Je,Ft)|0,v=v+Math.imul(Je,Kt)|0,_=_+Math.imul(Ct,Qt)|0,r=(r=r+Math.imul(Ct,zt)|0)+Math.imul(_t,Qt)|0,v=v+Math.imul(_t,zt)|0;var Fi=(O+(_=_+Math.imul(he,ci)|0)|0)+((8191&(r=(r=r+Math.imul(he,ui)|0)+Math.imul(et,ci)|0))<<13)|0;O=((v=v+Math.imul(et,ui)|0)+(r>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,_=Math.imul(tt,De),r=(r=Math.imul(tt,$e))+Math.imul(wt,De)|0,v=Math.imul(wt,$e),_=_+Math.imul(nt,Ft)|0,r=(r=r+Math.imul(nt,Kt)|0)+Math.imul(Ue,Ft)|0,v=v+Math.imul(Ue,Kt)|0,_=_+Math.imul(ke,Qt)|0,r=(r=r+Math.imul(ke,zt)|0)+Math.imul(Je,Qt)|0,v=v+Math.imul(Je,zt)|0;var _n=(O+(_=_+Math.imul(Ct,ci)|0)|0)+((8191&(r=(r=r+Math.imul(Ct,ui)|0)+Math.imul(_t,ci)|0))<<13)|0;O=((v=v+Math.imul(_t,ui)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,_=Math.imul(tt,Ft),r=(r=Math.imul(tt,Kt))+Math.imul(wt,Ft)|0,v=Math.imul(wt,Kt),_=_+Math.imul(nt,Qt)|0,r=(r=r+Math.imul(nt,zt)|0)+Math.imul(Ue,Qt)|0,v=v+Math.imul(Ue,zt)|0;var mn=(O+(_=_+Math.imul(ke,ci)|0)|0)+((8191&(r=(r=r+Math.imul(ke,ui)|0)+Math.imul(Je,ci)|0))<<13)|0;O=((v=v+Math.imul(Je,ui)|0)+(r>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul(tt,Qt),r=(r=Math.imul(tt,zt))+Math.imul(wt,Qt)|0,v=Math.imul(wt,zt);var Dt=(O+(_=_+Math.imul(nt,ci)|0)|0)+((8191&(r=(r=r+Math.imul(nt,ui)|0)+Math.imul(Ue,ci)|0))<<13)|0;O=((v=v+Math.imul(Ue,ui)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var ct=(O+(_=Math.imul(tt,ci))|0)+((8191&(r=(r=Math.imul(tt,ui))+Math.imul(wt,ci)|0))<<13)|0;return O=((v=Math.imul(wt,ui))+(r>>>13)|0)+(ct>>>26)|0,ct&=67108863,L[0]=bn,L[1]=Qi,L[2]=Li,L[3]=nn,L[4]=st,L[5]=ii,L[6]=Se,L[7]=Mt,L[8]=Pt,L[9]=ai,L[10]=Ei,L[11]=Hi,L[12]=$i,L[13]=hn,L[14]=Fi,L[15]=_n,L[16]=mn,L[17]=Dt,L[18]=ct,0!==O&&(L[19]=O,f.length++),f};function G(D,n,c){return(new Y).mulp(D,n,c)}function Y(D,n){this.x=D,this.y=n}Math.imul||(V=F),l.prototype.mulTo=function(n,c){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?V(this,n,c):h<63?F(this,n,c):h<1024?function U(D,n,c){c.negative=n.negative^D.negative,c.length=D.length+n.length;for(var f=0,h=0,M=0;M<c.length-1;M++){var L=h;h=0;for(var O=67108863&f,_=Math.min(M,n.length-1),r=Math.max(0,M-D.length+1);r<=_;r++){var ne=(0|D.words[M-r])*(0|n.words[r]),Ie=67108863≠O=67108863&(Ie=Ie+O|0),h+=(L=(L=L+(ne/67108864|0)|0)+(Ie>>>26)|0)>>>26,L&=67108863}c.words[M]=O,f=L,L=h}return 0!==f?c.words[M]=f:c.length--,c.strip()}(this,n,c):G(this,n,c),f},Y.prototype.makeRBT=function(n){for(var c=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)c[h]=this.revBin(h,f,n);return c},Y.prototype.revBin=function(n,c,f){if(0===n||n===f-1)return n;for(var h=0,M=0;M<c;M++)h|=(1&n)<<c-M-1,n>>=1;return h},Y.prototype.permute=function(n,c,f,h,M,L){for(var O=0;O<L;O++)h[O]=c[n[O]],M[O]=f[n[O]]},Y.prototype.transform=function(n,c,f,h,M,L){this.permute(L,n,c,f,h,M);for(var O=1;O<M;O<<=1)for(var _=O<<1,r=Math.cos(2*Math.PI/_),v=Math.sin(2*Math.PI/_),z=0;z<M;z+=_)for(var N=r,ne=v,Ie=0;Ie<O;Ie++){var at=f[z+Ie],Ye=h[z+Ie],rt=f[z+Ie+O],re=h[z+Ie+O],te=N*rt-ne*re;re=N*re+ne*rt,f[z+Ie]=at+(rt=te),h[z+Ie]=Ye+re,f[z+Ie+O]=at-rt,h[z+Ie+O]=Ye-re,Ie!==_&&(te=r*N-v*ne,ne=r*ne+v*N,N=te)}},Y.prototype.guessLen13b=function(n,c){var f=1|Math.max(c,n),h=1&f,M=0;for(f=f/2|0;f;f>>>=1)M++;return 1<<M+1+h},Y.prototype.conjugate=function(n,c,f){if(!(f<=1))for(var h=0;h<f/2;h++){var M=n[h];n[h]=n[f-h-1],n[f-h-1]=M,M=c[h],c[h]=-c[f-h-1],c[f-h-1]=-M}},Y.prototype.normalize13b=function(n,c){for(var f=0,h=0;h<c/2;h++){var M=8192*Math.round(n[2*h+1]/c)+Math.round(n[2*h]/c)+f;n[h]=67108863&M,f=M<67108864?0:M/67108864|0}return n},Y.prototype.convert13b=function(n,c,f,h){for(var M=0,L=0;L<c;L++)f[2*L]=8191&(M+=0|n[L]),f[2*L+1]=8191&(M>>>=13),M>>>=13;for(L=2*c;L<h;++L)f[L]=0;C(0===M),C(!(-8192&M))},Y.prototype.stub=function(n){for(var c=new Array(n),f=0;f<n;f++)c[f]=0;return c},Y.prototype.mulp=function(n,c,f){var h=2*this.guessLen13b(n.length,c.length),M=this.makeRBT(h),L=this.stub(h),O=new Array(h),_=new Array(h),r=new Array(h),v=new Array(h),z=new Array(h),N=new Array(h),ne=f.words;ne.length=h,this.convert13b(n.words,n.length,O,h),this.convert13b(c.words,c.length,v,h),this.transform(O,L,_,r,h,M),this.transform(v,L,z,N,h,M);for(var Ie=0;Ie<h;Ie++){var at=_[Ie]*z[Ie]-r[Ie]*N[Ie];r[Ie]=_[Ie]*N[Ie]+r[Ie]*z[Ie],_[Ie]=at}return this.conjugate(_,r,h),this.transform(_,r,ne,L,h,M),this.conjugate(ne,L,h),this.normalize13b(ne,h),f.negative=n.negative^c.negative,f.length=n.length+c.length,f.strip()},l.prototype.mul=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},l.prototype.mulf=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),G(this,n,c)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){C("number"==typeof n),C(n<67108864);for(var c=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,M=(67108863&h)+(67108863&c);c>>=26,c+=h/67108864|0,c+=M>>>26,this.words[f]=67108863&M}return 0!==c&&(this.words[f]=c,this.length++),this.length=0===n?1: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 c=function k(D){for(var n=new Array(D.bitLength()),c=0;c<n.length;c++){var h=c%26;n[c]=(D.words[c/26|0]&1<<h)>>>h}return n}(n);if(0===c.length)return new l(1);for(var f=this,h=0;h<c.length&&0===c[h];h++,f=f.sqr());if(++h<c.length)for(var M=f.sqr();h<c.length;h++,M=M.sqr())0!==c[h]&&(f=f.mul(M));return f},l.prototype.iushln=function(n){C("number"==typeof n&&n>=0);var M,c=n%26,f=(n-c)/26,h=67108863>>>26-c<<26-c;if(0!==c){var L=0;for(M=0;M<this.length;M++){var O=this.words[M]&h;this.words[M]=(0|this.words[M])-O<<c|L,L=O>>>26-c}L&&(this.words[M]=L,this.length++)}if(0!==f){for(M=this.length-1;M>=0;M--)this.words[M+f]=this.words[M];for(M=0;M<f;M++)this.words[M]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return C(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,c,f){var h;C("number"==typeof n&&n>=0),h=c?(c-c%26)/26:0;var M=n%26,L=Math.min((n-M)/26,this.length),O=67108863^67108863>>>M<<M,_=f;if(h-=L,h=Math.max(0,h),_){for(var r=0;r<L;r++)_.words[r]=this.words[r];_.length=L}if(0!==L)if(this.length>L)for(this.length-=L,r=0;r<this.length;r++)this.words[r]=this.words[r+L];else this.words[0]=0,this.length=1;var v=0;for(r=this.length-1;r>=0&&(0!==v||r>=h);r--){var z=0|this.words[r];this.words[r]=v<<26-M|z>>>M,v=z&O}return _&&0!==v&&(_.words[_.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,f){return C(0===this.negative),this.iushrn(n,c,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){C("number"==typeof n&&n>=0);var c=n%26,f=(n-c)/26;return!(this.length<=f||!(this.words[f]&1<<c))},l.prototype.imaskn=function(n){C("number"==typeof n&&n>=0);var c=n%26,f=(n-c)/26;return C(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==c&&f++,this.length=Math.min(f,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>c<<c),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return C("number"==typeof n),C(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 c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},l.prototype.isubn=function(n){if(C("number"==typeof n),C(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 c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+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,c,f){var M;this._expand(n.length+f);var L,O=0;for(M=0;M<n.length;M++){L=(0|this.words[M+f])+O;var _=(0|n.words[M])*c;O=((L-=67108863&_)>>26)-(_/67108864|0),this.words[M+f]=67108863&L}for(;M<this.length-f;M++)O=(L=(0|this.words[M+f])+O)>>26,this.words[M+f]=67108863&L;if(0===O)return this.strip();for(C(-1===O),O=0,M=0;M<this.length;M++)O=(L=-(0|this.words[M])+O)>>26,this.words[M]=67108863&L;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var f,h=this.clone(),M=n,L=0|M.words[M.length-1];0!=(f=26-this._countBits(L))&&(M=M.ushln(f),h.iushln(f),L=0|M.words[M.length-1]);var r,_=h.length-M.length;if("mod"!==c){(r=new l(null)).length=_+1,r.words=new Array(r.length);for(var v=0;v<r.length;v++)r.words[v]=0}var z=h.clone()._ishlnsubmul(M,1,_);0===z.negative&&(h=z,r&&(r.words[_]=1));for(var N=_-1;N>=0;N--){var ne=67108864*(0|h.words[M.length+N])+(0|h.words[M.length+N-1]);for(ne=Math.min(ne/L|0,67108863),h._ishlnsubmul(M,ne,N);0!==h.negative;)ne--,h.negative=0,h._ishlnsubmul(M,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ne)}return r&&r.strip(),h.strip(),"div"!==c&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,c,f){return C(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(L=this.neg().divmod(n,c),"mod"!==c&&(h=L.div.neg()),"div"!==c&&(M=L.mod.neg(),f&&0!==M.negative&&M.iadd(n)),{div:h,mod:M}):0===this.negative&&0!==n.negative?(L=this.divmod(n.neg(),c),"mod"!==c&&(h=L.div.neg()),{div:h,mod:L.mod}):this.negative&n.negative?(L=this.neg().divmod(n.neg(),c),"div"!==c&&(M=L.mod.neg(),f&&0!==M.negative&&M.isub(n)),{div:L.div,mod:M}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===c?{div:this.divn(n.words[0]),mod:null}:"mod"===c?{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,c);var h,M,L},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 c=this.divmod(n);if(c.mod.isZero())return c.div;var f=0!==c.div.negative?c.mod.isub(n):c.mod,h=n.ushrn(1),M=n.andln(1),L=f.cmp(h);return L<0||1===M&&0===L?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){C(n<=67108863);for(var c=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(c*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){C(n<=67108863);for(var c=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*c;this.words[f]=h/n|0,c=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){C(0===n.negative),C(!n.isZero());var c=this,f=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),M=new l(0),L=new l(0),O=new l(1),_=0;c.isEven()&&f.isEven();)c.iushrn(1),f.iushrn(1),++_;for(var r=f.clone(),v=c.clone();!c.isZero();){for(var z=0,N=1;!(c.words[0]&N)&&z<26;++z,N<<=1);if(z>0)for(c.iushrn(z);z-- >0;)(h.isOdd()||M.isOdd())&&(h.iadd(r),M.isub(v)),h.iushrn(1),M.iushrn(1);for(var ne=0,Ie=1;!(f.words[0]&Ie)&&ne<26;++ne,Ie<<=1);if(ne>0)for(f.iushrn(ne);ne-- >0;)(L.isOdd()||O.isOdd())&&(L.iadd(r),O.isub(v)),L.iushrn(1),O.iushrn(1);c.cmp(f)>=0?(c.isub(f),h.isub(L),M.isub(O)):(f.isub(c),L.isub(h),O.isub(M))}return{a:L,b:O,gcd:f.iushln(_)}},l.prototype._invmp=function(n){C(0===n.negative),C(!n.isZero());var z,c=this,f=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),M=new l(0),L=f.clone();c.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,_=1;!(c.words[0]&_)&&O<26;++O,_<<=1);if(O>0)for(c.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(L),h.iushrn(1);for(var r=0,v=1;!(f.words[0]&v)&&r<26;++r,v<<=1);if(r>0)for(f.iushrn(r);r-- >0;)M.isOdd()&&M.iadd(L),M.iushrn(1);c.cmp(f)>=0?(c.isub(f),h.isub(M)):(f.isub(c),M.isub(h))}return(z=0===c.cmpn(1)?h:M).cmpn(0)<0&&z.iadd(n),z},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),f=n.clone();c.negative=0,f.negative=0;for(var h=0;c.isEven()&&f.isEven();h++)c.iushrn(1),f.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;f.isEven();)f.iushrn(1);var M=c.cmp(f);if(M<0){var L=c;c=f,f=L}else if(0===M||0===f.cmpn(1))break;c.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){C("number"==typeof n);var c=n%26,f=(n-c)/26,h=1<<c;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var M=h,L=f;0!==M&&L<this.length;L++){var O=0|this.words[L];M=(O+=M)>>>26,this.words[L]=O&=67108863}return 0!==M&&(this.words[L]=M,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)f=1;else{c&&(n=-n),C(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 c=this.ucmp(n);return 0!==this.negative?0|-c:c},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var c=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],M=0|n.words[f];if(h!==M){h<M?c=-1:h>M&&(c=1);break}}return c},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 ue(n)},l.prototype.toRed=function(n){return C(!this.red,"Already a number in reduction context"),C(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return C(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 C(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return C(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return C(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return C(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return C(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return C(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return C(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return C(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return C(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return C(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return C(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return C(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var $={k256:null,p224:null,p192:null,p25519:null};function Z(D,n){this.name=D,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 ie(){Z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ve(){Z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){Z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ye(){Z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ue(D){if("string"==typeof D){var n=l._prime(D);this.m=n.p,this.prime=n}else C(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function be(D){ue.call(this,D),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)}Z.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},Z.prototype.ireduce=function(n){var f,c=n;do{this.split(c,this.tmp),f=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:c.ucmp(this.p);return 0===h?(c.words[0]=0,c.length=1):h>0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},Z.prototype.split=function(n,c){n.iushrn(this.n,0,c)},Z.prototype.imulK=function(n){return n.imul(this.k)},S(ie,Z),ie.prototype.split=function(n,c){for(var f=4194303,h=Math.min(n.length,9),M=0;M<h;M++)c.words[M]=n.words[M];if(c.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var L=n.words[9];for(c.words[c.length++]=L&f,M=10;M<n.length;M++){var O=0|n.words[M];n.words[M-10]=(O&f)<<4|L>>>22,L=O}n.words[M-10]=L>>>=22,n.length-=0===L&&n.length>10?10:9},ie.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(c+=977*h),c=64*h+(c/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ve,Z),S(ae,Z),S(ye,Z),ye.prototype.imulK=function(n){for(var c=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+c,M=67108863&h;h>>>=26,n.words[f]=M,c=h}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if($[n])return $[n];var c;if("k256"===n)c=new ie;else if("p224"===n)c=new ve;else if("p192"===n)c=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new ye}return $[n]=c,c},ue.prototype._verify1=function(n){C(0===n.negative,"red works only with positives"),C(n.red,"red works only with red numbers")},ue.prototype._verify2=function(n,c){C(!(n.negative|c.negative),"red works only with positives"),C(n.red&&n.red===c.red,"red works only with red numbers")},ue.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},ue.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},ue.prototype.add=function(n,c){this._verify2(n,c);var f=n.add(c);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},ue.prototype.iadd=function(n,c){this._verify2(n,c);var f=n.iadd(c);return f.cmp(this.m)>=0&&f.isub(this.m),f},ue.prototype.sub=function(n,c){this._verify2(n,c);var f=n.sub(c);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},ue.prototype.isub=function(n,c){this._verify2(n,c);var f=n.isub(c);return f.cmpn(0)<0&&f.iadd(this.m),f},ue.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},ue.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},ue.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},ue.prototype.isqr=function(n){return this.imul(n,n.clone())},ue.prototype.sqr=function(n){return this.mul(n,n)},ue.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(C(c%2==1),3===c){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),M=0;!h.isZero()&&0===h.andln(1);)M++,h.iushrn(1);C(!h.isZero());var L=new l(1).toRed(this),O=L.redNeg(),_=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,_).cmp(O);)r.redIAdd(O);for(var v=this.pow(r,h),z=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ne=M;0!==N.cmp(L);){for(var Ie=N,at=0;0!==Ie.cmp(L);at++)Ie=Ie.redSqr();C(at<ne);var Ye=this.pow(v,new l(1).iushln(ne-at-1));z=z.redMul(Ye),v=Ye.redSqr(),N=N.redMul(v),ne=at}return z},ue.prototype.invm=function(n){var c=n._invmp(this.m);return 0!==c.negative?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},ue.prototype.pow=function(n,c){if(c.isZero())return new l(1).toRed(this);if(0===c.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var M=2;M<h.length;M++)h[M]=this.mul(h[M-1],n);var L=h[0],O=0,_=0,r=c.bitLength()%26;for(0===r&&(r=26),M=c.length-1;M>=0;M--){for(var v=c.words[M],z=r-1;z>=0;z--){var N=v>>z&1;L!==h[0]&&(L=this.sqr(L)),0!==N||0!==O?(O<<=1,O|=N,(4==++_||0===M&&0===z)&&(L=this.mul(L,h[O]),_=0,O=0)):_=0}r=26}return L},ue.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},ue.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new be(n)},S(be,ue),be.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},be.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},be.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(c),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=f.isub(h).iushrn(this.shift),L=M;return M.cmp(this.m)>=0?L=M.isub(this.m):M.cmpn(0)<0&&(L=M.iadd(this.m)),L._forceRed(this)},be.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var f=n.mul(c),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=f.isub(h).iushrn(this.shift),L=M;return M.cmp(this.m)>=0?L=M.isub(this.m):M.cmpn(0)<0&&(L=M.iadd(this.m)),L._forceRed(this)},be.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=p.nmd(Ve),this)},243:Ve=>{"use strict";var ee={single_source_shortest_paths:function(p,t,e){var C={},S={};S[t]=0;var x,m,R,d,w,T,l=ee.PriorityQueue.make();for(l.push(t,0);!l.empty();)for(R in d=(x=l.pop()).cost,w=p[m=x.value]||{})w.hasOwnProperty(R)&&(T=d+w[R],(typeof S[R]>"u"||S[R]>T)&&(S[R]=T,l.push(R,T),C[R]=m));if(typeof e<"u"&&typeof S[e]>"u"){var V=["Could not find a path from ",t," to ",e,"."].join("");throw new Error(V)}return C},extract_shortest_path_from_predecessor_list:function(p,t){for(var e=[],C=t;C;)e.push(C),C=p[C];return e.reverse(),e},find_path:function(p,t,e){var C=ee.single_source_shortest_paths(p,t,e);return ee.extract_shortest_path_from_predecessor_list(C,e)},PriorityQueue:{make:function(p){var C,t=ee.PriorityQueue,e={};for(C in p=p||{},t)t.hasOwnProperty(C)&&(e[C]=t[C]);return e.queue=[],e.sorter=p.sorter||t.default_sorter,e},default_sorter:function(p,t){return p.cost-t.cost},push:function(p,t){this.queue.push({value:p,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Ve.exports=ee},3361:(Ve,ee,p)=>{"use strict";var C,t=p(1885),e=p(1417);try{C=[].__proto__===Array.prototype}catch(m){if(!m||"object"!=typeof m||!("code"in m)||"ERR_PROTO_ACCESS"!==m.code)throw m}var S=!!C&&e&&e(Object.prototype,"__proto__"),l=Object,x=l.getPrototypeOf;Ve.exports=S&&"function"==typeof S.get?t([S.get]):"function"==typeof x&&function(R){return x(null==R?R:l(R))}},518:(Ve,ee,p)=>{"use strict";var t=ee;t.version=p(1636).rE,t.utils=p(3136),t.rand=p(5294),t.curve=p(8729),t.curves=p(3401),t.ec=p(9042),t.eddsa=p(3045)},8828:(Ve,ee,p)=>{"use strict";var t=p(8723),e=p(3136),C=e.getNAF,S=e.getJSF,l=e.assert;function x(R,d){this.type=R,this.p=new t(d.p,16),this.red=d.prime?t.red(d.prime):t.mont(this.p),this.zero=new t(0).toRed(this.red),this.one=new t(1).toRed(this.red),this.two=new t(2).toRed(this.red),this.n=d.n&&new t(d.n,16),this.g=d.g&&this.pointFromJSON(d.g,d.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var w=this.n&&this.p.div(this.n);!w||w.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function m(R,d){this.curve=R,this.type=d,this.precomputed=null}Ve.exports=x,x.prototype.point=function(){throw new Error("Not implemented")},x.prototype.validate=function(){throw new Error("Not implemented")},x.prototype._fixedNafMul=function(d,w){l(d.precomputed);var y=d._getDoubles(),T=C(w,1,this._bitLength),k=(1<<y.step+1)-(y.step%2==0?2:1);k/=3;var V,U,F=[];for(V=0;V<T.length;V+=y.step){U=0;for(var G=V+y.step-1;G>=V;G--)U=(U<<1)+T[G];F.push(U)}for(var Y=this.jpoint(null,null,null),$=this.jpoint(null,null,null),Z=k;Z>0;Z--){for(V=0;V<F.length;V++)(U=F[V])===Z?$=$.mixedAdd(y.points[V]):U===-Z&&($=$.mixedAdd(y.points[V].neg()));Y=Y.add($)}return Y.toP()},x.prototype._wnafMul=function(d,w){for(var y=4,T=d._getNAFPoints(y),k=T.points,F=C(w,y=T.wnd,this._bitLength),V=this.jpoint(null,null,null),U=F.length-1;U>=0;U--){for(var G=0;U>=0&&0===F[U];U--)G++;if(U>=0&&G++,V=V.dblp(G),U<0)break;var Y=F[U];l(0!==Y),V="affine"===d.type?V.mixedAdd(Y>0?k[Y-1>>1]:k[-Y-1>>1].neg()):V.add(Y>0?k[Y-1>>1]:k[-Y-1>>1].neg())}return"affine"===d.type?V.toP():V},x.prototype._wnafMulAdd=function(d,w,y,T,k){var Y,$,Z,F=this._wnafT1,V=this._wnafT2,U=this._wnafT3,G=0;for(Y=0;Y<T;Y++){var ie=(Z=w[Y])._getNAFPoints(d);F[Y]=ie.wnd,V[Y]=ie.points}for(Y=T-1;Y>=1;Y-=2){var ve=Y-1,ae=Y;if(1===F[ve]&&1===F[ae]){var ye=[w[ve],null,null,w[ae]];0===w[ve].y.cmp(w[ae].y)?(ye[1]=w[ve].add(w[ae]),ye[2]=w[ve].toJ().mixedAdd(w[ae].neg())):0===w[ve].y.cmp(w[ae].y.redNeg())?(ye[1]=w[ve].toJ().mixedAdd(w[ae]),ye[2]=w[ve].add(w[ae].neg())):(ye[1]=w[ve].toJ().mixedAdd(w[ae]),ye[2]=w[ve].toJ().mixedAdd(w[ae].neg()));var ue=[-3,-1,-5,-7,0,7,5,1,3],be=S(y[ve],y[ae]);for(G=Math.max(be[0].length,G),U[ve]=new Array(G),U[ae]=new Array(G),$=0;$<G;$++)U[ve][$]=ue[3*(1+(0|be[0][$]))+(1+(0|be[1][$]))],U[ae][$]=0,V[ve]=ye}else U[ve]=C(y[ve],F[ve],this._bitLength),U[ae]=C(y[ae],F[ae],this._bitLength),G=Math.max(U[ve].length,G),G=Math.max(U[ae].length,G)}var c=this.jpoint(null,null,null),f=this._wnafT4;for(Y=G;Y>=0;Y--){for(var h=0;Y>=0;){var M=!0;for($=0;$<T;$++)f[$]=0|U[$][Y],0!==f[$]&&(M=!1);if(!M)break;h++,Y--}if(Y>=0&&h++,c=c.dblp(h),Y<0)break;for($=0;$<T;$++){var L=f[$];0!==L&&(L>0?Z=V[$][L-1>>1]:L<0&&(Z=V[$][-L-1>>1].neg()),c="affine"===Z.type?c.mixedAdd(Z):c.add(Z))}}for(Y=0;Y<T;Y++)V[Y]=null;return k?c:c.toP()},x.BasePoint=m,m.prototype.eq=function(){throw new Error("Not implemented")},m.prototype.validate=function(){return this.curve.validate(this)},x.prototype.decodePoint=function(d,w){d=e.toArray(d,w);var y=this.p.byteLength();if((4===d[0]||6===d[0]||7===d[0])&&d.length-1==2*y)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+y),d.slice(1+y,1+2*y));if((2===d[0]||3===d[0])&&d.length-1===y)return this.pointFromX(d.slice(1,1+y),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 w=this.curve.p.byteLength(),y=this.getX().toArray("be",w);return d?[this.getY().isEven()?2:3].concat(y):[4].concat(y,this.getY().toArray("be",w))},m.prototype.encode=function(d,w){return e.encode(this._encode(w),d)},m.prototype.precompute=function(d){if(this.precomputed)return this;var w={doubles:null,naf:null,beta:null};return w.naf=this._getNAFPoints(8),w.doubles=this._getDoubles(4,d),w.beta=this._getBeta(),this.precomputed=w,this},m.prototype._hasDoubles=function(d){if(!this.precomputed)return!1;var w=this.precomputed.doubles;return!!w&&w.points.length>=Math.ceil((d.bitLength()+1)/w.step)},m.prototype._getDoubles=function(d,w){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var y=[this],T=this,k=0;k<w;k+=d){for(var F=0;F<d;F++)T=T.dbl();y.push(T)}return{step:d,points:y}},m.prototype._getNAFPoints=function(d){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var w=[this],y=(1<<d)-1,T=1===y?null:this.dbl(),k=1;k<y;k++)w[k]=w[k-1].add(T);return{wnd:d,points:w}},m.prototype._getBeta=function(){return null},m.prototype.dblp=function(d){for(var w=this,y=0;y<d;y++)w=w.dbl();return w}},5537:(Ve,ee,p)=>{"use strict";var t=p(3136),e=p(8723),C=p(1993),S=p(8828),l=t.assert;function x(R){this.twisted=1!=(0|R.a),this.mOneA=this.twisted&&-1==(0|R.a),this.extended=this.mOneA,S.call(this,"edwards",R),this.a=new e(R.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new e(R.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new e(R.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|R.c)}function m(R,d,w,y,T){S.BasePoint.call(this,R,"projective"),null===d&&null===w&&null===y?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new e(d,16),this.y=new e(w,16),this.z=y?new e(y,16):this.curve.one,this.t=T&&new e(T,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}C(x,S),Ve.exports=x,x.prototype._mulA=function(d){return this.mOneA?d.redNeg():this.a.redMul(d)},x.prototype._mulC=function(d){return this.oneC?d:this.c.redMul(d)},x.prototype.jpoint=function(d,w,y,T){return this.point(d,w,y,T)},x.prototype.pointFromX=function(d,w){(d=new e(d,16)).red||(d=d.toRed(this.red));var y=d.redSqr(),T=this.c2.redSub(this.a.redMul(y)),k=this.one.redSub(this.c2.redMul(this.d).redMul(y)),F=T.redMul(k.redInvm()),V=F.redSqrt();if(0!==V.redSqr().redSub(F).cmp(this.zero))throw new Error("invalid point");var U=V.fromRed().isOdd();return(w&&!U||!w&&U)&&(V=V.redNeg()),this.point(d,V)},x.prototype.pointFromY=function(d,w){(d=new e(d,16)).red||(d=d.toRed(this.red));var y=d.redSqr(),T=y.redSub(this.c2),k=y.redMul(this.d).redMul(this.c2).redSub(this.a),F=T.redMul(k.redInvm());if(0===F.cmp(this.zero)){if(w)throw new Error("invalid point");return this.point(this.zero,d)}var V=F.redSqrt();if(0!==V.redSqr().redSub(F).cmp(this.zero))throw new Error("invalid point");return V.fromRed().isOdd()!==w&&(V=V.redNeg()),this.point(V,d)},x.prototype.validate=function(d){if(d.isInfinity())return!0;d.normalize();var w=d.x.redSqr(),y=d.y.redSqr(),T=w.redMul(this.a).redAdd(y),k=this.c2.redMul(this.one.redAdd(this.d.redMul(w).redMul(y)));return 0===T.cmp(k)},C(m,S.BasePoint),x.prototype.pointFromJSON=function(d){return m.fromJSON(this,d)},x.prototype.point=function(d,w,y,T){return new m(this,d,w,y,T)},m.fromJSON=function(d,w){return new m(d,w[0],w[1],w[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(),w=this.y.redSqr(),y=this.z.redSqr();y=y.redIAdd(y);var T=this.curve._mulA(d),k=this.x.redAdd(this.y).redSqr().redISub(d).redISub(w),F=T.redAdd(w),V=F.redSub(y),U=T.redSub(w),G=k.redMul(V),Y=F.redMul(U),$=k.redMul(U),Z=V.redMul(F);return this.curve.point(G,Y,Z,$)},m.prototype._projDbl=function(){var T,k,F,V,U,G,d=this.x.redAdd(this.y).redSqr(),w=this.x.redSqr(),y=this.y.redSqr();if(this.curve.twisted){var Y=(V=this.curve._mulA(w)).redAdd(y);this.zOne?(T=d.redSub(w).redSub(y).redMul(Y.redSub(this.curve.two)),k=Y.redMul(V.redSub(y)),F=Y.redSqr().redSub(Y).redSub(Y)):(U=this.z.redSqr(),G=Y.redSub(U).redISub(U),T=d.redSub(w).redISub(y).redMul(G),k=Y.redMul(V.redSub(y)),F=Y.redMul(G))}else V=w.redAdd(y),U=this.curve._mulC(this.z).redSqr(),G=V.redSub(U).redSub(U),T=this.curve._mulC(d.redISub(V)).redMul(G),k=this.curve._mulC(V).redMul(w.redISub(y)),F=V.redMul(G);return this.curve.point(T,k,F)},m.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},m.prototype._extAdd=function(d){var w=this.y.redSub(this.x).redMul(d.y.redSub(d.x)),y=this.y.redAdd(this.x).redMul(d.y.redAdd(d.x)),T=this.t.redMul(this.curve.dd).redMul(d.t),k=this.z.redMul(d.z.redAdd(d.z)),F=y.redSub(w),V=k.redSub(T),U=k.redAdd(T),G=y.redAdd(w),Y=F.redMul(V),$=U.redMul(G),Z=F.redMul(G),ie=V.redMul(U);return this.curve.point(Y,$,ie,Z)},m.prototype._projAdd=function(d){var $,Z,w=this.z.redMul(d.z),y=w.redSqr(),T=this.x.redMul(d.x),k=this.y.redMul(d.y),F=this.curve.d.redMul(T).redMul(k),V=y.redSub(F),U=y.redAdd(F),G=this.x.redAdd(this.y).redMul(d.x.redAdd(d.y)).redISub(T).redISub(k),Y=w.redMul(V).redMul(G);return this.curve.twisted?($=w.redMul(U).redMul(k.redSub(this.curve._mulA(T))),Z=V.redMul(U)):($=w.redMul(U).redMul(k.redSub(T)),Z=this.curve._mulC(V).redMul(U)),this.curve.point(Y,$,Z)},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,w,y){return this.curve._wnafMulAdd(1,[this,w],[d,y],2,!1)},m.prototype.jmulAdd=function(d,w,y){return this.curve._wnafMulAdd(1,[this,w],[d,y],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 w=d.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(w))return!0;for(var y=d.clone(),T=this.curve.redN.redMul(this.z);;){if(y.iadd(this.curve.n),y.cmp(this.curve.p)>=0)return!1;if(w.redIAdd(T),0===this.x.cmp(w))return!0}},m.prototype.toP=m.prototype.normalize,m.prototype.mixedAdd=m.prototype.add},8729:(Ve,ee,p)=>{"use strict";var t=ee;t.base=p(8828),t.short=p(8075),t.mont=p(4947),t.edwards=p(5537)},4947:(Ve,ee,p)=>{"use strict";var t=p(8723),e=p(1993),C=p(8828),S=p(3136);function l(m){C.call(this,"mont",m),this.a=new t(m.a,16).toRed(this.red),this.b=new t(m.b,16).toRed(this.red),this.i4=new t(4).toRed(this.red).redInvm(),this.two=new t(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function x(m,R,d){C.BasePoint.call(this,m,"projective"),null===R&&null===d?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new t(R,16),this.z=new t(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}e(l,C),Ve.exports=l,l.prototype.validate=function(R){var d=R.normalize().x,w=d.redSqr(),y=w.redMul(d).redAdd(w.redMul(this.a)).redAdd(d);return 0===y.redSqrt().redSqr().cmp(y)},e(x,C.BasePoint),l.prototype.decodePoint=function(R,d){return this.point(S.toArray(R,d),1)},l.prototype.point=function(R,d){return new x(this,R,d)},l.prototype.pointFromJSON=function(R){return x.fromJSON(this,R)},x.prototype.precompute=function(){},x.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},x.fromJSON=function(R,d){return new x(R,d[0],d[1]||R.one)},x.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)+">"},x.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},x.prototype.dbl=function(){var d=this.x.redAdd(this.z).redSqr(),y=this.x.redSub(this.z).redSqr(),T=d.redSub(y),k=d.redMul(y),F=T.redMul(y.redAdd(this.curve.a24.redMul(T)));return this.curve.point(k,F)},x.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},x.prototype.diffAdd=function(R,d){var w=this.x.redAdd(this.z),y=this.x.redSub(this.z),T=R.x.redAdd(R.z),F=R.x.redSub(R.z).redMul(w),V=T.redMul(y),U=d.z.redMul(F.redAdd(V).redSqr()),G=d.x.redMul(F.redISub(V).redSqr());return this.curve.point(U,G)},x.prototype.mul=function(R){for(var d=R.clone(),w=this,y=this.curve.point(null,null),k=[];0!==d.cmpn(0);d.iushrn(1))k.push(d.andln(1));for(var F=k.length-1;F>=0;F--)0===k[F]?(w=w.diffAdd(y,this),y=y.dbl()):(y=w.diffAdd(y,this),w=w.dbl());return y},x.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},x.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},x.prototype.eq=function(R){return 0===this.getX().cmp(R.getX())},x.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},x.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},8075:(Ve,ee,p)=>{"use strict";var t=p(3136),e=p(8723),C=p(1993),S=p(8828),l=t.assert;function x(d){S.call(this,"short",d),this.a=new e(d.a,16).toRed(this.red),this.b=new e(d.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(d),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function m(d,w,y,T){S.BasePoint.call(this,d,"affine"),null===w&&null===y?(this.x=null,this.y=null,this.inf=!0):(this.x=new e(w,16),this.y=new e(y,16),T&&(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 R(d,w,y,T){S.BasePoint.call(this,d,"jacobian"),null===w&&null===y&&null===T?(this.x=this.curve.one,this.y=this.curve.one,this.z=new e(0)):(this.x=new e(w,16),this.y=new e(y,16),this.z=new e(T,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}C(x,S),Ve.exports=x,x.prototype._getEndomorphism=function(w){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var y,T;if(w.beta)y=new e(w.beta,16).toRed(this.red);else{var k=this._getEndoRoots(this.p);y=(y=k[0].cmp(k[1])<0?k[0]:k[1]).toRed(this.red)}if(w.lambda)T=new e(w.lambda,16);else{var F=this._getEndoRoots(this.n);0===this.g.mul(F[0]).x.cmp(this.g.x.redMul(y))?T=F[0]:l(0===this.g.mul(T=F[1]).x.cmp(this.g.x.redMul(y)))}return{beta:y,lambda:T,basis:w.basis?w.basis.map(function(U){return{a:new e(U.a,16),b:new e(U.b,16)}}):this._getEndoBasis(T)}}},x.prototype._getEndoRoots=function(w){var y=w===this.p?this.red:e.mont(w),T=new e(2).toRed(y).redInvm(),k=T.redNeg(),F=new e(3).toRed(y).redNeg().redSqrt().redMul(T);return[k.redAdd(F).fromRed(),k.redSub(F).fromRed()]},x.prototype._getEndoBasis=function(w){for(var Y,$,Z,ie,ve,ae,ye,be,D,y=this.n.ushrn(Math.floor(this.n.bitLength()/2)),T=w,k=this.n.clone(),F=new e(1),V=new e(0),U=new e(0),G=new e(1),ue=0;0!==T.cmpn(0);){var n=k.div(T);be=k.sub(n.mul(T)),D=U.sub(n.mul(F));var c=G.sub(n.mul(V));if(!Z&&be.cmp(y)<0)Y=ye.neg(),$=F,Z=be.neg(),ie=D;else if(Z&&2==++ue)break;ye=be,k=T,T=be,U=F,F=D,G=V,V=c}ve=be.neg(),ae=D;var f=Z.sqr().add(ie.sqr());return ve.sqr().add(ae.sqr()).cmp(f)>=0&&(ve=Y,ae=$),Z.negative&&(Z=Z.neg(),ie=ie.neg()),ve.negative&&(ve=ve.neg(),ae=ae.neg()),[{a:Z,b:ie},{a:ve,b:ae}]},x.prototype._endoSplit=function(w){var y=this.endo.basis,T=y[0],k=y[1],F=k.b.mul(w).divRound(this.n),V=T.b.neg().mul(w).divRound(this.n),U=F.mul(T.a),G=V.mul(k.a),Y=F.mul(T.b),$=V.mul(k.b);return{k1:w.sub(U).sub(G),k2:Y.add($).neg()}},x.prototype.pointFromX=function(w,y){(w=new e(w,16)).red||(w=w.toRed(this.red));var T=w.redSqr().redMul(w).redIAdd(w.redMul(this.a)).redIAdd(this.b),k=T.redSqrt();if(0!==k.redSqr().redSub(T).cmp(this.zero))throw new Error("invalid point");var F=k.fromRed().isOdd();return(y&&!F||!y&&F)&&(k=k.redNeg()),this.point(w,k)},x.prototype.validate=function(w){if(w.inf)return!0;var y=w.x,T=w.y,k=this.a.redMul(y),F=y.redSqr().redMul(y).redIAdd(k).redIAdd(this.b);return 0===T.redSqr().redISub(F).cmpn(0)},x.prototype._endoWnafMulAdd=function(w,y,T){for(var k=this._endoWnafT1,F=this._endoWnafT2,V=0;V<w.length;V++){var U=this._endoSplit(y[V]),G=w[V],Y=G._getBeta();U.k1.negative&&(U.k1.ineg(),G=G.neg(!0)),U.k2.negative&&(U.k2.ineg(),Y=Y.neg(!0)),k[2*V]=G,k[2*V+1]=Y,F[2*V]=U.k1,F[2*V+1]=U.k2}for(var $=this._wnafMulAdd(1,k,F,2*V,T),Z=0;Z<2*V;Z++)k[Z]=null,F[Z]=null;return $},C(m,S.BasePoint),x.prototype.point=function(w,y,T){return new m(this,w,y,T)},x.prototype.pointFromJSON=function(w,y){return m.fromJSON(this,w,y)},m.prototype._getBeta=function(){if(this.curve.endo){var w=this.precomputed;if(w&&w.beta)return w.beta;var y=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(w){var T=this.curve,k=function(F){return T.point(F.x.redMul(T.endo.beta),F.y)};w.beta=y,y.precomputed={beta:null,naf:w.naf&&{wnd:w.naf.wnd,points:w.naf.points.map(k)},doubles:w.doubles&&{step:w.doubles.step,points:w.doubles.points.map(k)}}}return y}},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(w,y,T){"string"==typeof y&&(y=JSON.parse(y));var k=w.point(y[0],y[1],T);if(!y[2])return k;function F(U){return w.point(U[0],U[1],T)}var V=y[2];return k.precomputed={beta:null,doubles:V.doubles&&{step:V.doubles.step,points:[k].concat(V.doubles.points.map(F))},naf:V.naf&&{wnd:V.naf.wnd,points:[k].concat(V.naf.points.map(F))}},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(w){if(this.inf)return w;if(w.inf)return this;if(this.eq(w))return this.dbl();if(this.neg().eq(w))return this.curve.point(null,null);if(0===this.x.cmp(w.x))return this.curve.point(null,null);var y=this.y.redSub(w.y);0!==y.cmpn(0)&&(y=y.redMul(this.x.redSub(w.x).redInvm()));var T=y.redSqr().redISub(this.x).redISub(w.x),k=y.redMul(this.x.redSub(T)).redISub(this.y);return this.curve.point(T,k)},m.prototype.dbl=function(){if(this.inf)return this;var w=this.y.redAdd(this.y);if(0===w.cmpn(0))return this.curve.point(null,null);var y=this.curve.a,T=this.x.redSqr(),k=w.redInvm(),F=T.redAdd(T).redIAdd(T).redIAdd(y).redMul(k),V=F.redSqr().redISub(this.x.redAdd(this.x)),U=F.redMul(this.x.redSub(V)).redISub(this.y);return this.curve.point(V,U)},m.prototype.getX=function(){return this.x.fromRed()},m.prototype.getY=function(){return this.y.fromRed()},m.prototype.mul=function(w){return w=new e(w,16),this.isInfinity()?this:this._hasDoubles(w)?this.curve._fixedNafMul(this,w):this.curve.endo?this.curve._endoWnafMulAdd([this],[w]):this.curve._wnafMul(this,w)},m.prototype.mulAdd=function(w,y,T){var k=[this,y],F=[w,T];return this.curve.endo?this.curve._endoWnafMulAdd(k,F):this.curve._wnafMulAdd(1,k,F,2)},m.prototype.jmulAdd=function(w,y,T){var k=[this,y],F=[w,T];return this.curve.endo?this.curve._endoWnafMulAdd(k,F,!0):this.curve._wnafMulAdd(1,k,F,2,!0)},m.prototype.eq=function(w){return this===w||this.inf===w.inf&&(this.inf||0===this.x.cmp(w.x)&&0===this.y.cmp(w.y))},m.prototype.neg=function(w){if(this.inf)return this;var y=this.curve.point(this.x,this.y.redNeg());if(w&&this.precomputed){var T=this.precomputed,k=function(F){return F.neg()};y.precomputed={naf:T.naf&&{wnd:T.naf.wnd,points:T.naf.points.map(k)},doubles:T.doubles&&{step:T.doubles.step,points:T.doubles.points.map(k)}}}return y},m.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},C(R,S.BasePoint),x.prototype.jpoint=function(w,y,T){return new R(this,w,y,T)},R.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var w=this.z.redInvm(),y=w.redSqr(),T=this.x.redMul(y),k=this.y.redMul(y).redMul(w);return this.curve.point(T,k)},R.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},R.prototype.add=function(w){if(this.isInfinity())return w;if(w.isInfinity())return this;var y=w.z.redSqr(),T=this.z.redSqr(),k=this.x.redMul(y),F=w.x.redMul(T),V=this.y.redMul(y.redMul(w.z)),U=w.y.redMul(T.redMul(this.z)),G=k.redSub(F),Y=V.redSub(U);if(0===G.cmpn(0))return 0!==Y.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var $=G.redSqr(),Z=$.redMul(G),ie=k.redMul($),ve=Y.redSqr().redIAdd(Z).redISub(ie).redISub(ie),ae=Y.redMul(ie.redISub(ve)).redISub(V.redMul(Z)),ye=this.z.redMul(w.z).redMul(G);return this.curve.jpoint(ve,ae,ye)},R.prototype.mixedAdd=function(w){if(this.isInfinity())return w.toJ();if(w.isInfinity())return this;var y=this.z.redSqr(),T=this.x,k=w.x.redMul(y),F=this.y,V=w.y.redMul(y).redMul(this.z),U=T.redSub(k),G=F.redSub(V);if(0===U.cmpn(0))return 0!==G.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var Y=U.redSqr(),$=Y.redMul(U),Z=T.redMul(Y),ie=G.redSqr().redIAdd($).redISub(Z).redISub(Z),ve=G.redMul(Z.redISub(ie)).redISub(F.redMul($)),ae=this.z.redMul(U);return this.curve.jpoint(ie,ve,ae)},R.prototype.dblp=function(w){if(0===w)return this;if(this.isInfinity())return this;if(!w)return this.dbl();var y;if(this.curve.zeroA||this.curve.threeA){var T=this;for(y=0;y<w;y++)T=T.dbl();return T}var k=this.curve.a,F=this.curve.tinv,V=this.x,U=this.y,G=this.z,Y=G.redSqr().redSqr(),$=U.redAdd(U);for(y=0;y<w;y++){var Z=V.redSqr(),ie=$.redSqr(),ve=ie.redSqr(),ae=Z.redAdd(Z).redIAdd(Z).redIAdd(k.redMul(Y)),ye=V.redMul(ie),ue=ae.redSqr().redISub(ye.redAdd(ye)),be=ye.redISub(ue),D=ae.redMul(be);D=D.redIAdd(D).redISub(ve);var n=$.redMul(G);y+1<w&&(Y=Y.redMul(ve)),V=ue,G=n,$=D}return this.curve.jpoint(V,$.redMul(F),G)},R.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},R.prototype._zeroDbl=function(){var w,y,T;if(this.zOne){var k=this.x.redSqr(),F=this.y.redSqr(),V=F.redSqr(),U=this.x.redAdd(F).redSqr().redISub(k).redISub(V);U=U.redIAdd(U);var G=k.redAdd(k).redIAdd(k),Y=G.redSqr().redISub(U).redISub(U),$=V.redIAdd(V);$=($=$.redIAdd($)).redIAdd($),w=Y,y=G.redMul(U.redISub(Y)).redISub($),T=this.y.redAdd(this.y)}else{var Z=this.x.redSqr(),ie=this.y.redSqr(),ve=ie.redSqr(),ae=this.x.redAdd(ie).redSqr().redISub(Z).redISub(ve);ae=ae.redIAdd(ae);var ye=Z.redAdd(Z).redIAdd(Z),ue=ye.redSqr(),be=ve.redIAdd(ve);be=(be=be.redIAdd(be)).redIAdd(be),w=ue.redISub(ae).redISub(ae),y=ye.redMul(ae.redISub(w)).redISub(be),T=(T=this.y.redMul(this.z)).redIAdd(T)}return this.curve.jpoint(w,y,T)},R.prototype._threeDbl=function(){var w,y,T;if(this.zOne){var k=this.x.redSqr(),F=this.y.redSqr(),V=F.redSqr(),U=this.x.redAdd(F).redSqr().redISub(k).redISub(V);U=U.redIAdd(U);var G=k.redAdd(k).redIAdd(k).redIAdd(this.curve.a),Y=G.redSqr().redISub(U).redISub(U);w=Y;var $=V.redIAdd(V);$=($=$.redIAdd($)).redIAdd($),y=G.redMul(U.redISub(Y)).redISub($),T=this.y.redAdd(this.y)}else{var Z=this.z.redSqr(),ie=this.y.redSqr(),ve=this.x.redMul(ie),ae=this.x.redSub(Z).redMul(this.x.redAdd(Z));ae=ae.redAdd(ae).redIAdd(ae);var ye=ve.redIAdd(ve),ue=(ye=ye.redIAdd(ye)).redAdd(ye);w=ae.redSqr().redISub(ue),T=this.y.redAdd(this.z).redSqr().redISub(ie).redISub(Z);var be=ie.redSqr();be=(be=(be=be.redIAdd(be)).redIAdd(be)).redIAdd(be),y=ae.redMul(ye.redISub(w)).redISub(be)}return this.curve.jpoint(w,y,T)},R.prototype._dbl=function(){var w=this.curve.a,y=this.x,T=this.y,k=this.z,F=k.redSqr().redSqr(),V=y.redSqr(),U=T.redSqr(),G=V.redAdd(V).redIAdd(V).redIAdd(w.redMul(F)),Y=y.redAdd(y),$=(Y=Y.redIAdd(Y)).redMul(U),Z=G.redSqr().redISub($.redAdd($)),ie=$.redISub(Z),ve=U.redSqr();ve=(ve=(ve=ve.redIAdd(ve)).redIAdd(ve)).redIAdd(ve);var ae=G.redMul(ie).redISub(ve),ye=T.redAdd(T).redMul(k);return this.curve.jpoint(Z,ae,ye)},R.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var w=this.x.redSqr(),y=this.y.redSqr(),T=this.z.redSqr(),k=y.redSqr(),F=w.redAdd(w).redIAdd(w),V=F.redSqr(),U=this.x.redAdd(y).redSqr().redISub(w).redISub(k),G=(U=(U=(U=U.redIAdd(U)).redAdd(U).redIAdd(U)).redISub(V)).redSqr(),Y=k.redIAdd(k);Y=(Y=(Y=Y.redIAdd(Y)).redIAdd(Y)).redIAdd(Y);var $=F.redIAdd(U).redSqr().redISub(V).redISub(G).redISub(Y),Z=y.redMul($);Z=(Z=Z.redIAdd(Z)).redIAdd(Z);var ie=this.x.redMul(G).redISub(Z);ie=(ie=ie.redIAdd(ie)).redIAdd(ie);var ve=this.y.redMul($.redMul(Y.redISub($)).redISub(U.redMul(G)));ve=(ve=(ve=ve.redIAdd(ve)).redIAdd(ve)).redIAdd(ve);var ae=this.z.redAdd(U).redSqr().redISub(T).redISub(G);return this.curve.jpoint(ie,ve,ae)},R.prototype.mul=function(w,y){return w=new e(w,y),this.curve._wnafMul(this,w)},R.prototype.eq=function(w){if("affine"===w.type)return this.eq(w.toJ());if(this===w)return!0;var y=this.z.redSqr(),T=w.z.redSqr();if(0!==this.x.redMul(T).redISub(w.x.redMul(y)).cmpn(0))return!1;var k=y.redMul(this.z),F=T.redMul(w.z);return 0===this.y.redMul(F).redISub(w.y.redMul(k)).cmpn(0)},R.prototype.eqXToP=function(w){var y=this.z.redSqr(),T=w.toRed(this.curve.red).redMul(y);if(0===this.x.cmp(T))return!0;for(var k=w.clone(),F=this.curve.redN.redMul(y);;){if(k.iadd(this.curve.n),k.cmp(this.curve.p)>=0)return!1;if(T.redIAdd(F),0===this.x.cmp(T))return!0}},R.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)+">"},R.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3401:(Ve,ee,p)=>{"use strict";var R,t=ee,e=p(2529),C=p(8729),l=p(3136).assert;function x(d){this.curve="short"===d.type?new C.short(d):"edwards"===d.type?new C.edwards(d):new C.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,w){Object.defineProperty(t,d,{configurable:!0,enumerable:!0,get:function(){var y=new x(w);return Object.defineProperty(t,d,{configurable:!0,enumerable:!0,value:y}),y}})}t.PresetCurve=x,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:e.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:e.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:e.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:e.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),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:e.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),m("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:e.sha256,gRed:!1,g:["9"]}),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:e.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{R=p(1416)}catch{R=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:e.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",R]})},9042:(Ve,ee,p)=>{"use strict";var t=p(8723),e=p(3556),C=p(3136),S=p(3401),l=p(5294),x=C.assert,m=p(541),R=p(484);function d(w){if(!(this instanceof d))return new d(w);"string"==typeof w&&(x(Object.prototype.hasOwnProperty.call(S,w),"Unknown curve "+w),w=S[w]),w instanceof S.PresetCurve&&(w={curve:w}),this.curve=w.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=w.curve.g,this.g.precompute(w.curve.n.bitLength()+1),this.hash=w.hash||w.curve.hash}Ve.exports=d,d.prototype.keyPair=function(y){return new m(this,y)},d.prototype.keyFromPrivate=function(y,T){return m.fromPrivate(this,y,T)},d.prototype.keyFromPublic=function(y,T){return m.fromPublic(this,y,T)},d.prototype.genKeyPair=function(y){y||(y={});for(var T=new e({hash:this.hash,pers:y.pers,persEnc:y.persEnc||"utf8",entropy:y.entropy||l(this.hash.hmacStrength),entropyEnc:y.entropy&&y.entropyEnc||"utf8",nonce:this.n.toArray()}),k=this.n.byteLength(),F=this.n.sub(new t(2));;){var V=new t(T.generate(k));if(!(V.cmp(F)>0))return V.iaddn(1),this.keyFromPrivate(V)}},d.prototype._truncateToN=function(y,T,k){var F;if(t.isBN(y)||"number"==typeof y)F=(y=new t(y,16)).byteLength();else if("object"==typeof y)F=y.length,y=new t(y,16);else{var V=y.toString();F=V.length+1>>>1,y=new t(V,16)}"number"!=typeof k&&(k=8*F);var U=k-this.n.bitLength();return U>0&&(y=y.ushrn(U)),!T&&y.cmp(this.n)>=0?y.sub(this.n):y},d.prototype.sign=function(y,T,k,F){if("object"==typeof k&&(F=k,k=null),F||(F={}),"string"!=typeof y&&"number"!=typeof y&&!t.isBN(y)){x("object"==typeof y&&y&&"number"==typeof y.length,"Expected message to be an array-like, a hex string, or a BN instance"),x(y.length>>>0===y.length);for(var V=0;V<y.length;V++)x((255&y[V])===y[V])}T=this.keyFromPrivate(T,k),y=this._truncateToN(y,!1,F.msgBitLength),x(!y.isNeg(),"Can not sign a negative message");var U=this.n.byteLength(),G=T.getPrivate().toArray("be",U),Y=y.toArray("be",U);x(new t(Y).eq(y),"Can not sign message");for(var $=new e({hash:this.hash,entropy:G,nonce:Y,pers:F.pers,persEnc:F.persEnc||"utf8"}),Z=this.n.sub(new t(1)),ie=0;;ie++){var ve=F.k?F.k(ie):new t($.generate(this.n.byteLength()));if(!((ve=this._truncateToN(ve,!0)).cmpn(1)<=0||ve.cmp(Z)>=0)){var ae=this.g.mul(ve);if(!ae.isInfinity()){var ye=ae.getX(),ue=ye.umod(this.n);if(0!==ue.cmpn(0)){var be=ve.invm(this.n).mul(ue.mul(T.getPrivate()).iadd(y));if(0!==(be=be.umod(this.n)).cmpn(0)){var D=(ae.getY().isOdd()?1:0)|(0!==ye.cmp(ue)?2:0);return F.canonical&&be.cmp(this.nh)>0&&(be=this.n.sub(be),D^=1),new R({r:ue,s:be,recoveryParam:D})}}}}}},d.prototype.verify=function(y,T,k,F,V){V||(V={}),y=this._truncateToN(y,!1,V.msgBitLength),k=this.keyFromPublic(k,F);var U=(T=new R(T,"hex")).r,G=T.s;if(U.cmpn(1)<0||U.cmp(this.n)>=0||G.cmpn(1)<0||G.cmp(this.n)>=0)return!1;var ie,Y=G.invm(this.n),$=Y.mul(y).umod(this.n),Z=Y.mul(U).umod(this.n);return this.curve._maxwellTrick?!(ie=this.g.jmulAdd($,k.getPublic(),Z)).isInfinity()&&ie.eqXToP(U):!(ie=this.g.mulAdd($,k.getPublic(),Z)).isInfinity()&&0===ie.getX().umod(this.n).cmp(U)},d.prototype.recoverPubKey=function(w,y,T,k){x((3&T)===T,"The recovery param is more than two bits"),y=new R(y,k);var F=this.n,V=new t(w),U=y.r,G=y.s,Y=1&T,$=T>>1;if(U.cmp(this.curve.p.umod(this.curve.n))>=0&&$)throw new Error("Unable to find sencond key candinate");U=this.curve.pointFromX($?U.add(this.curve.n):U,Y);var Z=y.r.invm(F),ie=F.sub(V).mul(Z).umod(F),ve=G.mul(Z).umod(F);return this.g.mulAdd(ie,U,ve)},d.prototype.getKeyRecoveryParam=function(w,y,T,k){if(null!==(y=new R(y,k)).recoveryParam)return y.recoveryParam;for(var F=0;F<4;F++){var V;try{V=this.recoverPubKey(w,y,F)}catch{continue}if(V.eq(T))return F}throw new Error("Unable to find valid recovery factor")}},541:(Ve,ee,p)=>{"use strict";var t=p(8723),C=p(3136).assert;function S(l,x){this.ec=l,this.priv=null,this.pub=null,x.priv&&this._importPrivate(x.priv,x.privEnc),x.pub&&this._importPublic(x.pub,x.pubEnc)}Ve.exports=S,S.fromPublic=function(x,m,R){return m instanceof S?m:new S(x,{pub:m,pubEnc:R})},S.fromPrivate=function(x,m,R){return m instanceof S?m:new S(x,{priv:m,privEnc:R})},S.prototype.validate=function(){var x=this.getPublic();return x.isInfinity()?{result:!1,reason:"Invalid public key"}:x.validate()?x.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"}},S.prototype.getPublic=function(x,m){return"string"==typeof x&&(m=x,x=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),m?this.pub.encode(m,x):this.pub},S.prototype.getPrivate=function(x){return"hex"===x?this.priv.toString(16,2):this.priv},S.prototype._importPrivate=function(x,m){this.priv=new t(x,m||16),this.priv=this.priv.umod(this.ec.curve.n)},S.prototype._importPublic=function(x,m){if(x.x||x.y)return"mont"===this.ec.curve.type?C(x.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&C(x.x&&x.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(x.x,x.y));this.pub=this.ec.curve.decodePoint(x,m)},S.prototype.derive=function(x){return x.validate()||C(x.validate(),"public point not validated"),x.mul(this.priv).getX()},S.prototype.sign=function(x,m,R){return this.ec.sign(x,this,m,R)},S.prototype.verify=function(x,m,R){return this.ec.verify(x,m,this,void 0,R)},S.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},484:(Ve,ee,p)=>{"use strict";var t=p(8723),e=p(3136),C=e.assert;function S(d,w){if(d instanceof S)return d;this._importDER(d,w)||(C(d.r&&d.s,"Signature without r or s"),this.r=new t(d.r,16),this.s=new t(d.s,16),this.recoveryParam=void 0===d.recoveryParam?null:d.recoveryParam)}function l(){this.place=0}function x(d,w){var y=d[w.place++];if(!(128&y))return y;var T=15&y;if(0===T||T>4||0===d[w.place])return!1;for(var k=0,F=0,V=w.place;F<T;F++,V++)k<<=8,k|=d[V],k>>>=0;return!(k<=127)&&(w.place=V,k)}function m(d){for(var w=0,y=d.length-1;!d[w]&&!(128&d[w+1])&&w<y;)w++;return 0===w?d:d.slice(w)}function R(d,w){if(w<128)d.push(w);else{var y=1+(Math.log(w)/Math.LN2>>>3);for(d.push(128|y);--y;)d.push(w>>>(y<<3)&255);d.push(w)}}Ve.exports=S,S.prototype._importDER=function(w,y){w=e.toArray(w,y);var T=new l;if(48!==w[T.place++])return!1;var k=x(w,T);if(!1===k||k+T.place!==w.length||2!==w[T.place++])return!1;var F=x(w,T);if(!1===F||128&w[T.place])return!1;var V=w.slice(T.place,F+T.place);if(T.place+=F,2!==w[T.place++])return!1;var U=x(w,T);if(!1===U||w.length!==U+T.place||128&w[T.place])return!1;var G=w.slice(T.place,U+T.place);if(0===V[0]){if(!(128&V[1]))return!1;V=V.slice(1)}if(0===G[0]){if(!(128&G[1]))return!1;G=G.slice(1)}return this.r=new t(V),this.s=new t(G),this.recoveryParam=null,!0},S.prototype.toDER=function(w){var y=this.r.toArray(),T=this.s.toArray();for(128&y[0]&&(y=[0].concat(y)),128&T[0]&&(T=[0].concat(T)),y=m(y),T=m(T);!(T[0]||128&T[1]);)T=T.slice(1);var k=[2];R(k,y.length),(k=k.concat(y)).push(2),R(k,T.length);var F=k.concat(T),V=[48];return R(V,F.length),V=V.concat(F),e.encode(V,w)}},3045:(Ve,ee,p)=>{"use strict";var t=p(2529),e=p(3401),C=p(3136),S=C.assert,l=C.parseBytes,x=p(7222),m=p(5451);function R(d){if(S("ed25519"===d,"only tested with ed25519 so far"),!(this instanceof R))return new R(d);this.curve=d=e[d].curve,this.g=d.g,this.g.precompute(d.n.bitLength()+1),this.pointClass=d.point().constructor,this.encodingLength=Math.ceil(d.n.bitLength()/8),this.hash=t.sha512}Ve.exports=R,R.prototype.sign=function(w,y){w=l(w);var T=this.keyFromSecret(y),k=this.hashInt(T.messagePrefix(),w),F=this.g.mul(k),V=this.encodePoint(F),U=this.hashInt(V,T.pubBytes(),w).mul(T.priv()),G=k.add(U).umod(this.curve.n);return this.makeSignature({R:F,S:G,Rencoded:V})},R.prototype.verify=function(w,y,T){if(w=l(w),(y=this.makeSignature(y)).S().gte(y.eddsa.curve.n)||y.S().isNeg())return!1;var k=this.keyFromPublic(T),F=this.hashInt(y.Rencoded(),k.pubBytes(),w),V=this.g.mul(y.S());return y.R().add(k.pub().mul(F)).eq(V)},R.prototype.hashInt=function(){for(var w=this.hash(),y=0;y<arguments.length;y++)w.update(arguments[y]);return C.intFromLE(w.digest()).umod(this.curve.n)},R.prototype.keyFromPublic=function(w){return x.fromPublic(this,w)},R.prototype.keyFromSecret=function(w){return x.fromSecret(this,w)},R.prototype.makeSignature=function(w){return w instanceof m?w:new m(this,w)},R.prototype.encodePoint=function(w){var y=w.getY().toArray("le",this.encodingLength);return y[this.encodingLength-1]|=w.getX().isOdd()?128:0,y},R.prototype.decodePoint=function(w){var y=(w=C.parseBytes(w)).length-1,T=w.slice(0,y).concat(-129&w[y]),k=!!(128&w[y]),F=C.intFromLE(T);return this.curve.pointFromY(F,k)},R.prototype.encodeInt=function(w){return w.toArray("le",this.encodingLength)},R.prototype.decodeInt=function(w){return C.intFromLE(w)},R.prototype.isPoint=function(w){return w instanceof this.pointClass}},7222:(Ve,ee,p)=>{"use strict";var t=p(3136),e=t.assert,C=t.parseBytes,S=t.cachedProperty;function l(x,m){this.eddsa=x,this._secret=C(m.secret),x.isPoint(m.pub)?this._pub=m.pub:this._pubBytes=C(m.pub)}l.fromPublic=function(m,R){return R instanceof l?R:new l(m,{pub:R})},l.fromSecret=function(m,R){return R instanceof l?R:new l(m,{secret:R})},l.prototype.secret=function(){return this._secret},S(l,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),S(l,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),S(l,"privBytes",function(){var m=this.eddsa,R=this.hash(),d=m.encodingLength-1,w=R.slice(0,m.encodingLength);return w[0]&=248,w[d]&=127,w[d]|=64,w}),S(l,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),S(l,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),S(l,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),l.prototype.sign=function(m){return e(this._secret,"KeyPair can only verify"),this.eddsa.sign(m,this)},l.prototype.verify=function(m,R){return this.eddsa.verify(m,R,this)},l.prototype.getSecret=function(m){return e(this._secret,"KeyPair is public only"),t.encode(this.secret(),m)},l.prototype.getPublic=function(m){return t.encode(this.pubBytes(),m)},Ve.exports=l},5451:(Ve,ee,p)=>{"use strict";var t=p(8723),e=p(3136),C=e.assert,S=e.cachedProperty,l=e.parseBytes;function x(m,R){this.eddsa=m,"object"!=typeof R&&(R=l(R)),Array.isArray(R)&&(C(R.length===2*m.encodingLength,"Signature has invalid size"),R={R:R.slice(0,m.encodingLength),S:R.slice(m.encodingLength)}),C(R.R&&R.S,"Signature without R or S"),m.isPoint(R.R)&&(this._R=R.R),R.S instanceof t&&(this._S=R.S),this._Rencoded=Array.isArray(R.R)?R.R:R.Rencoded,this._Sencoded=Array.isArray(R.S)?R.S:R.Sencoded}S(x,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),S(x,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),S(x,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),S(x,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),x.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},x.prototype.toHex=function(){return e.encode(this.toBytes(),"hex").toUpperCase()},Ve.exports=x},1416:Ve=>{Ve.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"]]}}},3136:(Ve,ee,p)=>{"use strict";var t=ee,e=p(8723),C=p(9210),S=p(1832);t.assert=C,t.toArray=S.toArray,t.zero2=S.zero2,t.toHex=S.toHex,t.encode=S.encode,t.getNAF=function l(w,y,T){var F,k=new Array(Math.max(w.bitLength(),T)+1);for(F=0;F<k.length;F+=1)k[F]=0;var V=1<<y+1,U=w.clone();for(F=0;F<k.length;F++){var G,Y=U.andln(V-1);U.isOdd()?U.isubn(G=Y>(V>>1)-1?(V>>1)-Y:Y):G=0,k[F]=G,U.iushrn(1)}return k},t.getJSF=function x(w,y){var T=[[],[]];w=w.clone(),y=y.clone();for(var V,k=0,F=0;w.cmpn(-k)>0||y.cmpn(-F)>0;){var Y,$,U=w.andln(3)+k&3,G=y.andln(3)+F&3;3===U&&(U=-1),3===G&&(G=-1),Y=1&U?3!=(V=w.andln(7)+k&7)&&5!==V||2!==G?U:-U:0,T[0].push(Y),$=1&G?3!=(V=y.andln(7)+F&7)&&5!==V||2!==U?G:-G:0,T[1].push($),2*k===Y+1&&(k=1-k),2*F===$+1&&(F=1-F),w.iushrn(1),y.iushrn(1)}return T},t.cachedProperty=function m(w,y,T){var k="_"+y;w.prototype[y]=function(){return void 0!==this[k]?this[k]:this[k]=T.call(this)}},t.parseBytes=function R(w){return"string"==typeof w?t.toArray(w,"hex"):w},t.intFromLE=function d(w){return new e(w,"hex","le")}},8723:function(Ve,ee,p){!function(t,e){"use strict";function C(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var c=function(){};c.prototype=n.prototype,D.prototype=new c,D.prototype.constructor=D}function l(D,n,c){if(l.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(D||0,n||10,c||"be"))}var x;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(9368).Buffer}catch{}function m(D,n){var c=D.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(D,n,c){var f=m(D,c);return c-1>=n&&(f|=m(D,c-1)<<4),f}function d(D,n,c,f){for(var h=0,M=Math.min(D.length,c),L=n;L<M;L++){var O=D.charCodeAt(L)-48;h*=f,h+=O>=49?O-49+10:O>=17?O-17+10:O}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,c){return n.cmp(c)>0?n:c},l.min=function(n,c){return n.cmp(c)<0?n:c},l.prototype._init=function(n,c,f){if("number"==typeof n)return this._initNumber(n,c,f);if("object"==typeof n)return this._initArray(n,c,f);"hex"===c&&(c=16),C(c===(0|c)&&c>=2&&c<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===c?this._parseHex(n,h,f):(this._parseBase(n,c,h),"le"===f&&this._initArray(this.toArray(),c,f)))},l.prototype._initNumber=function(n,c,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):(C(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),c,f)},l.prototype._initArray=function(n,c,f){if(C("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 M,L,O=0;if("be"===f)for(h=n.length-1,M=0;h>=0;h-=3)this.words[M]|=(L=n[h]|n[h-1]<<8|n[h-2]<<16)<<O&67108863,this.words[M+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,M++);else if("le"===f)for(h=0,M=0;h<n.length;h+=3)this.words[M]|=(L=n[h]|n[h+1]<<8|n[h+2]<<16)<<O&67108863,this.words[M+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,M++);return this.strip()},l.prototype._parseHex=function(n,c,f){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var O,M=0,L=0;if("be"===f)for(h=n.length-1;h>=c;h-=2)O=R(n,c,h)<<M,this.words[L]|=67108863&O,M>=18?(M-=18,this.words[L+=1]|=O>>>26):M+=8;else for(h=(n.length-c)%2==0?c+1:c;h<n.length;h+=2)O=R(n,c,h)<<M,this.words[L]|=67108863&O,M>=18?(M-=18,this.words[L+=1]|=O>>>26):M+=8;this.strip()},l.prototype._parseBase=function(n,c,f){this.words=[0],this.length=1;for(var h=0,M=1;M<=67108863;M*=c)h++;h--,M=M/c|0;for(var L=n.length-f,O=L%h,_=Math.min(L,L-O)+f,r=0,v=f;v<_;v+=h)r=d(n,v,v+h,c),this.imuln(M),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==O){var z=1;for(r=d(n,v,n.length,c),v=0;v<O;v++)z*=c;this.imuln(z),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 c=0;c<this.length;c++)n.words[c]=this.words[c];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 w=["","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"],y=[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],T=[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 F(D,n,c){c.negative=n.negative^D.negative;var f=D.length+n.length|0;c.length=f,f=f-1|0;var h=0|D.words[0],M=0|n.words[0],L=h*M,_=L/67108864|0;c.words[0]=67108863&L;for(var r=1;r<f;r++){for(var v=_>>>26,z=67108863&_,N=Math.min(r,n.length-1),ne=Math.max(0,r-D.length+1);ne<=N;ne++)v+=(L=(h=0|D.words[r-ne|0])*(M=0|n.words[ne])+z)/67108864|0,z=67108863&L;c.words[r]=0|z,_=0|v}return 0!==_?c.words[r]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var f;if(c=0|c||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,M=0,L=0;L<this.length;L++){var O=this.words[L],_=(16777215&(O<<h|M)).toString(16);M=O>>>24-h&16777215,(h+=2)>=26&&(h-=26,L--),f=0!==M||L!==this.length-1?w[6-_.length]+_+f:_+f}for(0!==M&&(f=M.toString(16)+f);f.length%c!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=y[n],v=T[n];f="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(v).toString(n);f=(z=z.idivn(v)).isZero()?N+f:w[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%c!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}C(!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&&C(!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,c){return C(typeof x<"u"),this.toArrayLike(x,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,f){var h=this.byteLength(),M=f||Math.max(1,h);C(h<=M,"byte array longer than desired length"),C(M>0,"Requested array length <= 0"),this.strip();var _,r,L="le"===c,O=new n(M),v=this.clone();if(L){for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),O[r]=_;for(;r<M;r++)O[r]=0}else{for(r=0;r<M-h;r++)O[r]=0;for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),O[M-r-1]=_}return O},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var c=n,f=0;return c>=4096&&(f+=13,c>>>=13),c>=64&&(f+=7,c>>>=7),c>=8&&(f+=4,c>>>=4),c>=2&&(f+=2,c>>>=2),f+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,f=0;return 8191&c||(f+=13,c>>>=13),127&c||(f+=7,c>>>=7),15&c||(f+=4,c>>>=4),3&c||(f+=2,c>>>=2),1&c||f++,f},l.prototype.bitLength=function(){var c=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+c},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;c<this.length;c++){var f=this._zeroBits(this.words[c]);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 c=0;c<n.length;c++)this.words[c]=this.words[c]|n.words[c];return this.strip()},l.prototype.ior=function(n){return C(!(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 c;c=this.length>n.length?n:this;for(var f=0;f<c.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=c.length,this.strip()},l.prototype.iand=function(n){return C(!(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 c,f;this.length>n.length?(c=this,f=n):(c=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=c.words[h]^f.words[h];if(this!==c)for(;h<c.length;h++)this.words[h]=c.words[h];return this.length=c.length,this.strip()},l.prototype.ixor=function(n){return C(!(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){C("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),f=n%26;this._expand(c),f>0&&c--;for(var h=0;h<c;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,c){C("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=c?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var c,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,c=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,c=this.isub(n),n.negative=1,c._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var M=0,L=0;L<h.length;L++)this.words[L]=67108863&(c=(0|f.words[L])+(0|h.words[L])+M),M=c>>>26;for(;0!==M&&L<f.length;L++)this.words[L]=67108863&(c=(0|f.words[L])+M),M=c>>>26;if(this.length=f.length,0!==M)this.words[this.length]=M,this.length++;else if(f!==this)for(;L<f.length;L++)this.words[L]=f.words[L];return this},l.prototype.add=function(n){var c;return 0!==n.negative&&0===this.negative?(n.negative=0,c=this.sub(n),n.negative^=1,c):0===n.negative&&0!==this.negative?(this.negative=0,c=n.sub(this),this.negative=1,c):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 c=this.iadd(n);return n.negative=1,c._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,M,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,M=n):(h=n,M=this);for(var L=0,O=0;O<M.length;O++)L=(c=(0|h.words[O])-(0|M.words[O])+L)>>26,this.words[O]=67108863&c;for(;0!==L&&O<h.length;O++)L=(c=(0|h.words[O])+L)>>26,this.words[O]=67108863&c;if(0===L&&O<h.length&&h!==this)for(;O<h.length;O++)this.words[O]=h.words[O];return this.length=Math.max(this.length,O),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var V=function(n,c,f){var _,r,v,h=n.words,M=c.words,L=f.words,O=0,z=0|h[0],N=8191&z,ne=z>>>13,Ie=0|h[1],at=8191&Ie,Ye=Ie>>>13,rt=0|h[2],re=8191&rt,te=rt>>>13,oe=0|h[3],_e=8191&oe,de=oe>>>13,pe=0|h[4],We=8191&pe,se=pe>>>13,fe=0|h[5],he=8191&fe,et=fe>>>13,Ke=0|h[6],Ct=8191&Ke,_t=Ke>>>13,Nt=0|h[7],ke=8191&Nt,Je=Nt>>>13,Qe=0|h[8],nt=8191&Qe,Ue=Qe>>>13,ht=0|h[9],tt=8191&ht,wt=ht>>>13,ut=0|M[0],vt=8191&ut,Ze=ut>>>13,jt=0|M[1],qe=8191&jt,dt=jt>>>13,Le=0|M[2],Vt=8191&Le,Zt=Le>>>13,Et=0|M[3],je=8191&Et,me=Et>>>13,xe=0|M[4],ce=8191&xe,Me=xe>>>13,Xe=0|M[5],Pe=8191&Xe,Oe=Xe>>>13,we=0|M[6],De=8191&we,$e=we>>>13,$t=0|M[7],Ft=8191&$t,Kt=$t>>>13,fi=0|M[8],Qt=8191&fi,zt=fi>>>13,Xi=0|M[9],ci=8191&Xi,ui=Xi>>>13;f.negative=n.negative^c.negative,f.length=19;var bn=(O+(_=Math.imul(N,vt))|0)+((8191&(r=(r=Math.imul(N,Ze))+Math.imul(ne,vt)|0))<<13)|0;O=((v=Math.imul(ne,Ze))+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,_=Math.imul(at,vt),r=(r=Math.imul(at,Ze))+Math.imul(Ye,vt)|0,v=Math.imul(Ye,Ze);var Qi=(O+(_=_+Math.imul(N,qe)|0)|0)+((8191&(r=(r=r+Math.imul(N,dt)|0)+Math.imul(ne,qe)|0))<<13)|0;O=((v=v+Math.imul(ne,dt)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(re,vt),r=(r=Math.imul(re,Ze))+Math.imul(te,vt)|0,v=Math.imul(te,Ze),_=_+Math.imul(at,qe)|0,r=(r=r+Math.imul(at,dt)|0)+Math.imul(Ye,qe)|0,v=v+Math.imul(Ye,dt)|0;var Li=(O+(_=_+Math.imul(N,Vt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(ne,Vt)|0))<<13)|0;O=((v=v+Math.imul(ne,Zt)|0)+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,_=Math.imul(_e,vt),r=(r=Math.imul(_e,Ze))+Math.imul(de,vt)|0,v=Math.imul(de,Ze),_=_+Math.imul(re,qe)|0,r=(r=r+Math.imul(re,dt)|0)+Math.imul(te,qe)|0,v=v+Math.imul(te,dt)|0,_=_+Math.imul(at,Vt)|0,r=(r=r+Math.imul(at,Zt)|0)+Math.imul(Ye,Vt)|0,v=v+Math.imul(Ye,Zt)|0;var nn=(O+(_=_+Math.imul(N,je)|0)|0)+((8191&(r=(r=r+Math.imul(N,me)|0)+Math.imul(ne,je)|0))<<13)|0;O=((v=v+Math.imul(ne,me)|0)+(r>>>13)|0)+(nn>>>26)|0,nn&=67108863,_=Math.imul(We,vt),r=(r=Math.imul(We,Ze))+Math.imul(se,vt)|0,v=Math.imul(se,Ze),_=_+Math.imul(_e,qe)|0,r=(r=r+Math.imul(_e,dt)|0)+Math.imul(de,qe)|0,v=v+Math.imul(de,dt)|0,_=_+Math.imul(re,Vt)|0,r=(r=r+Math.imul(re,Zt)|0)+Math.imul(te,Vt)|0,v=v+Math.imul(te,Zt)|0,_=_+Math.imul(at,je)|0,r=(r=r+Math.imul(at,me)|0)+Math.imul(Ye,je)|0,v=v+Math.imul(Ye,me)|0;var st=(O+(_=_+Math.imul(N,ce)|0)|0)+((8191&(r=(r=r+Math.imul(N,Me)|0)+Math.imul(ne,ce)|0))<<13)|0;O=((v=v+Math.imul(ne,Me)|0)+(r>>>13)|0)+(st>>>26)|0,st&=67108863,_=Math.imul(he,vt),r=(r=Math.imul(he,Ze))+Math.imul(et,vt)|0,v=Math.imul(et,Ze),_=_+Math.imul(We,qe)|0,r=(r=r+Math.imul(We,dt)|0)+Math.imul(se,qe)|0,v=v+Math.imul(se,dt)|0,_=_+Math.imul(_e,Vt)|0,r=(r=r+Math.imul(_e,Zt)|0)+Math.imul(de,Vt)|0,v=v+Math.imul(de,Zt)|0,_=_+Math.imul(re,je)|0,r=(r=r+Math.imul(re,me)|0)+Math.imul(te,je)|0,v=v+Math.imul(te,me)|0,_=_+Math.imul(at,ce)|0,r=(r=r+Math.imul(at,Me)|0)+Math.imul(Ye,ce)|0,v=v+Math.imul(Ye,Me)|0;var ii=(O+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(r=(r=r+Math.imul(N,Oe)|0)+Math.imul(ne,Pe)|0))<<13)|0;O=((v=v+Math.imul(ne,Oe)|0)+(r>>>13)|0)+(ii>>>26)|0,ii&=67108863,_=Math.imul(Ct,vt),r=(r=Math.imul(Ct,Ze))+Math.imul(_t,vt)|0,v=Math.imul(_t,Ze),_=_+Math.imul(he,qe)|0,r=(r=r+Math.imul(he,dt)|0)+Math.imul(et,qe)|0,v=v+Math.imul(et,dt)|0,_=_+Math.imul(We,Vt)|0,r=(r=r+Math.imul(We,Zt)|0)+Math.imul(se,Vt)|0,v=v+Math.imul(se,Zt)|0,_=_+Math.imul(_e,je)|0,r=(r=r+Math.imul(_e,me)|0)+Math.imul(de,je)|0,v=v+Math.imul(de,me)|0,_=_+Math.imul(re,ce)|0,r=(r=r+Math.imul(re,Me)|0)+Math.imul(te,ce)|0,v=v+Math.imul(te,Me)|0,_=_+Math.imul(at,Pe)|0,r=(r=r+Math.imul(at,Oe)|0)+Math.imul(Ye,Pe)|0,v=v+Math.imul(Ye,Oe)|0;var Se=(O+(_=_+Math.imul(N,De)|0)|0)+((8191&(r=(r=r+Math.imul(N,$e)|0)+Math.imul(ne,De)|0))<<13)|0;O=((v=v+Math.imul(ne,$e)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,_=Math.imul(ke,vt),r=(r=Math.imul(ke,Ze))+Math.imul(Je,vt)|0,v=Math.imul(Je,Ze),_=_+Math.imul(Ct,qe)|0,r=(r=r+Math.imul(Ct,dt)|0)+Math.imul(_t,qe)|0,v=v+Math.imul(_t,dt)|0,_=_+Math.imul(he,Vt)|0,r=(r=r+Math.imul(he,Zt)|0)+Math.imul(et,Vt)|0,v=v+Math.imul(et,Zt)|0,_=_+Math.imul(We,je)|0,r=(r=r+Math.imul(We,me)|0)+Math.imul(se,je)|0,v=v+Math.imul(se,me)|0,_=_+Math.imul(_e,ce)|0,r=(r=r+Math.imul(_e,Me)|0)+Math.imul(de,ce)|0,v=v+Math.imul(de,Me)|0,_=_+Math.imul(re,Pe)|0,r=(r=r+Math.imul(re,Oe)|0)+Math.imul(te,Pe)|0,v=v+Math.imul(te,Oe)|0,_=_+Math.imul(at,De)|0,r=(r=r+Math.imul(at,$e)|0)+Math.imul(Ye,De)|0,v=v+Math.imul(Ye,$e)|0;var Mt=(O+(_=_+Math.imul(N,Ft)|0)|0)+((8191&(r=(r=r+Math.imul(N,Kt)|0)+Math.imul(ne,Ft)|0))<<13)|0;O=((v=v+Math.imul(ne,Kt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul(nt,vt),r=(r=Math.imul(nt,Ze))+Math.imul(Ue,vt)|0,v=Math.imul(Ue,Ze),_=_+Math.imul(ke,qe)|0,r=(r=r+Math.imul(ke,dt)|0)+Math.imul(Je,qe)|0,v=v+Math.imul(Je,dt)|0,_=_+Math.imul(Ct,Vt)|0,r=(r=r+Math.imul(Ct,Zt)|0)+Math.imul(_t,Vt)|0,v=v+Math.imul(_t,Zt)|0,_=_+Math.imul(he,je)|0,r=(r=r+Math.imul(he,me)|0)+Math.imul(et,je)|0,v=v+Math.imul(et,me)|0,_=_+Math.imul(We,ce)|0,r=(r=r+Math.imul(We,Me)|0)+Math.imul(se,ce)|0,v=v+Math.imul(se,Me)|0,_=_+Math.imul(_e,Pe)|0,r=(r=r+Math.imul(_e,Oe)|0)+Math.imul(de,Pe)|0,v=v+Math.imul(de,Oe)|0,_=_+Math.imul(re,De)|0,r=(r=r+Math.imul(re,$e)|0)+Math.imul(te,De)|0,v=v+Math.imul(te,$e)|0,_=_+Math.imul(at,Ft)|0,r=(r=r+Math.imul(at,Kt)|0)+Math.imul(Ye,Ft)|0,v=v+Math.imul(Ye,Kt)|0;var Pt=(O+(_=_+Math.imul(N,Qt)|0)|0)+((8191&(r=(r=r+Math.imul(N,zt)|0)+Math.imul(ne,Qt)|0))<<13)|0;O=((v=v+Math.imul(ne,zt)|0)+(r>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,_=Math.imul(tt,vt),r=(r=Math.imul(tt,Ze))+Math.imul(wt,vt)|0,v=Math.imul(wt,Ze),_=_+Math.imul(nt,qe)|0,r=(r=r+Math.imul(nt,dt)|0)+Math.imul(Ue,qe)|0,v=v+Math.imul(Ue,dt)|0,_=_+Math.imul(ke,Vt)|0,r=(r=r+Math.imul(ke,Zt)|0)+Math.imul(Je,Vt)|0,v=v+Math.imul(Je,Zt)|0,_=_+Math.imul(Ct,je)|0,r=(r=r+Math.imul(Ct,me)|0)+Math.imul(_t,je)|0,v=v+Math.imul(_t,me)|0,_=_+Math.imul(he,ce)|0,r=(r=r+Math.imul(he,Me)|0)+Math.imul(et,ce)|0,v=v+Math.imul(et,Me)|0,_=_+Math.imul(We,Pe)|0,r=(r=r+Math.imul(We,Oe)|0)+Math.imul(se,Pe)|0,v=v+Math.imul(se,Oe)|0,_=_+Math.imul(_e,De)|0,r=(r=r+Math.imul(_e,$e)|0)+Math.imul(de,De)|0,v=v+Math.imul(de,$e)|0,_=_+Math.imul(re,Ft)|0,r=(r=r+Math.imul(re,Kt)|0)+Math.imul(te,Ft)|0,v=v+Math.imul(te,Kt)|0,_=_+Math.imul(at,Qt)|0,r=(r=r+Math.imul(at,zt)|0)+Math.imul(Ye,Qt)|0,v=v+Math.imul(Ye,zt)|0;var ai=(O+(_=_+Math.imul(N,ci)|0)|0)+((8191&(r=(r=r+Math.imul(N,ui)|0)+Math.imul(ne,ci)|0))<<13)|0;O=((v=v+Math.imul(ne,ui)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,_=Math.imul(tt,qe),r=(r=Math.imul(tt,dt))+Math.imul(wt,qe)|0,v=Math.imul(wt,dt),_=_+Math.imul(nt,Vt)|0,r=(r=r+Math.imul(nt,Zt)|0)+Math.imul(Ue,Vt)|0,v=v+Math.imul(Ue,Zt)|0,_=_+Math.imul(ke,je)|0,r=(r=r+Math.imul(ke,me)|0)+Math.imul(Je,je)|0,v=v+Math.imul(Je,me)|0,_=_+Math.imul(Ct,ce)|0,r=(r=r+Math.imul(Ct,Me)|0)+Math.imul(_t,ce)|0,v=v+Math.imul(_t,Me)|0,_=_+Math.imul(he,Pe)|0,r=(r=r+Math.imul(he,Oe)|0)+Math.imul(et,Pe)|0,v=v+Math.imul(et,Oe)|0,_=_+Math.imul(We,De)|0,r=(r=r+Math.imul(We,$e)|0)+Math.imul(se,De)|0,v=v+Math.imul(se,$e)|0,_=_+Math.imul(_e,Ft)|0,r=(r=r+Math.imul(_e,Kt)|0)+Math.imul(de,Ft)|0,v=v+Math.imul(de,Kt)|0,_=_+Math.imul(re,Qt)|0,r=(r=r+Math.imul(re,zt)|0)+Math.imul(te,Qt)|0,v=v+Math.imul(te,zt)|0;var Ei=(O+(_=_+Math.imul(at,ci)|0)|0)+((8191&(r=(r=r+Math.imul(at,ui)|0)+Math.imul(Ye,ci)|0))<<13)|0;O=((v=v+Math.imul(Ye,ui)|0)+(r>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,_=Math.imul(tt,Vt),r=(r=Math.imul(tt,Zt))+Math.imul(wt,Vt)|0,v=Math.imul(wt,Zt),_=_+Math.imul(nt,je)|0,r=(r=r+Math.imul(nt,me)|0)+Math.imul(Ue,je)|0,v=v+Math.imul(Ue,me)|0,_=_+Math.imul(ke,ce)|0,r=(r=r+Math.imul(ke,Me)|0)+Math.imul(Je,ce)|0,v=v+Math.imul(Je,Me)|0,_=_+Math.imul(Ct,Pe)|0,r=(r=r+Math.imul(Ct,Oe)|0)+Math.imul(_t,Pe)|0,v=v+Math.imul(_t,Oe)|0,_=_+Math.imul(he,De)|0,r=(r=r+Math.imul(he,$e)|0)+Math.imul(et,De)|0,v=v+Math.imul(et,$e)|0,_=_+Math.imul(We,Ft)|0,r=(r=r+Math.imul(We,Kt)|0)+Math.imul(se,Ft)|0,v=v+Math.imul(se,Kt)|0,_=_+Math.imul(_e,Qt)|0,r=(r=r+Math.imul(_e,zt)|0)+Math.imul(de,Qt)|0,v=v+Math.imul(de,zt)|0;var Hi=(O+(_=_+Math.imul(re,ci)|0)|0)+((8191&(r=(r=r+Math.imul(re,ui)|0)+Math.imul(te,ci)|0))<<13)|0;O=((v=v+Math.imul(te,ui)|0)+(r>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul(tt,je),r=(r=Math.imul(tt,me))+Math.imul(wt,je)|0,v=Math.imul(wt,me),_=_+Math.imul(nt,ce)|0,r=(r=r+Math.imul(nt,Me)|0)+Math.imul(Ue,ce)|0,v=v+Math.imul(Ue,Me)|0,_=_+Math.imul(ke,Pe)|0,r=(r=r+Math.imul(ke,Oe)|0)+Math.imul(Je,Pe)|0,v=v+Math.imul(Je,Oe)|0,_=_+Math.imul(Ct,De)|0,r=(r=r+Math.imul(Ct,$e)|0)+Math.imul(_t,De)|0,v=v+Math.imul(_t,$e)|0,_=_+Math.imul(he,Ft)|0,r=(r=r+Math.imul(he,Kt)|0)+Math.imul(et,Ft)|0,v=v+Math.imul(et,Kt)|0,_=_+Math.imul(We,Qt)|0,r=(r=r+Math.imul(We,zt)|0)+Math.imul(se,Qt)|0,v=v+Math.imul(se,zt)|0;var $i=(O+(_=_+Math.imul(_e,ci)|0)|0)+((8191&(r=(r=r+Math.imul(_e,ui)|0)+Math.imul(de,ci)|0))<<13)|0;O=((v=v+Math.imul(de,ui)|0)+(r>>>13)|0)+($i>>>26)|0,$i&=67108863,_=Math.imul(tt,ce),r=(r=Math.imul(tt,Me))+Math.imul(wt,ce)|0,v=Math.imul(wt,Me),_=_+Math.imul(nt,Pe)|0,r=(r=r+Math.imul(nt,Oe)|0)+Math.imul(Ue,Pe)|0,v=v+Math.imul(Ue,Oe)|0,_=_+Math.imul(ke,De)|0,r=(r=r+Math.imul(ke,$e)|0)+Math.imul(Je,De)|0,v=v+Math.imul(Je,$e)|0,_=_+Math.imul(Ct,Ft)|0,r=(r=r+Math.imul(Ct,Kt)|0)+Math.imul(_t,Ft)|0,v=v+Math.imul(_t,Kt)|0,_=_+Math.imul(he,Qt)|0,r=(r=r+Math.imul(he,zt)|0)+Math.imul(et,Qt)|0,v=v+Math.imul(et,zt)|0;var hn=(O+(_=_+Math.imul(We,ci)|0)|0)+((8191&(r=(r=r+Math.imul(We,ui)|0)+Math.imul(se,ci)|0))<<13)|0;O=((v=v+Math.imul(se,ui)|0)+(r>>>13)|0)+(hn>>>26)|0,hn&=67108863,_=Math.imul(tt,Pe),r=(r=Math.imul(tt,Oe))+Math.imul(wt,Pe)|0,v=Math.imul(wt,Oe),_=_+Math.imul(nt,De)|0,r=(r=r+Math.imul(nt,$e)|0)+Math.imul(Ue,De)|0,v=v+Math.imul(Ue,$e)|0,_=_+Math.imul(ke,Ft)|0,r=(r=r+Math.imul(ke,Kt)|0)+Math.imul(Je,Ft)|0,v=v+Math.imul(Je,Kt)|0,_=_+Math.imul(Ct,Qt)|0,r=(r=r+Math.imul(Ct,zt)|0)+Math.imul(_t,Qt)|0,v=v+Math.imul(_t,zt)|0;var Fi=(O+(_=_+Math.imul(he,ci)|0)|0)+((8191&(r=(r=r+Math.imul(he,ui)|0)+Math.imul(et,ci)|0))<<13)|0;O=((v=v+Math.imul(et,ui)|0)+(r>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,_=Math.imul(tt,De),r=(r=Math.imul(tt,$e))+Math.imul(wt,De)|0,v=Math.imul(wt,$e),_=_+Math.imul(nt,Ft)|0,r=(r=r+Math.imul(nt,Kt)|0)+Math.imul(Ue,Ft)|0,v=v+Math.imul(Ue,Kt)|0,_=_+Math.imul(ke,Qt)|0,r=(r=r+Math.imul(ke,zt)|0)+Math.imul(Je,Qt)|0,v=v+Math.imul(Je,zt)|0;var _n=(O+(_=_+Math.imul(Ct,ci)|0)|0)+((8191&(r=(r=r+Math.imul(Ct,ui)|0)+Math.imul(_t,ci)|0))<<13)|0;O=((v=v+Math.imul(_t,ui)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,_=Math.imul(tt,Ft),r=(r=Math.imul(tt,Kt))+Math.imul(wt,Ft)|0,v=Math.imul(wt,Kt),_=_+Math.imul(nt,Qt)|0,r=(r=r+Math.imul(nt,zt)|0)+Math.imul(Ue,Qt)|0,v=v+Math.imul(Ue,zt)|0;var mn=(O+(_=_+Math.imul(ke,ci)|0)|0)+((8191&(r=(r=r+Math.imul(ke,ui)|0)+Math.imul(Je,ci)|0))<<13)|0;O=((v=v+Math.imul(Je,ui)|0)+(r>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul(tt,Qt),r=(r=Math.imul(tt,zt))+Math.imul(wt,Qt)|0,v=Math.imul(wt,zt);var Dt=(O+(_=_+Math.imul(nt,ci)|0)|0)+((8191&(r=(r=r+Math.imul(nt,ui)|0)+Math.imul(Ue,ci)|0))<<13)|0;O=((v=v+Math.imul(Ue,ui)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var ct=(O+(_=Math.imul(tt,ci))|0)+((8191&(r=(r=Math.imul(tt,ui))+Math.imul(wt,ci)|0))<<13)|0;return O=((v=Math.imul(wt,ui))+(r>>>13)|0)+(ct>>>26)|0,ct&=67108863,L[0]=bn,L[1]=Qi,L[2]=Li,L[3]=nn,L[4]=st,L[5]=ii,L[6]=Se,L[7]=Mt,L[8]=Pt,L[9]=ai,L[10]=Ei,L[11]=Hi,L[12]=$i,L[13]=hn,L[14]=Fi,L[15]=_n,L[16]=mn,L[17]=Dt,L[18]=ct,0!==O&&(L[19]=O,f.length++),f};function G(D,n,c){return(new Y).mulp(D,n,c)}function Y(D,n){this.x=D,this.y=n}Math.imul||(V=F),l.prototype.mulTo=function(n,c){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?V(this,n,c):h<63?F(this,n,c):h<1024?function U(D,n,c){c.negative=n.negative^D.negative,c.length=D.length+n.length;for(var f=0,h=0,M=0;M<c.length-1;M++){var L=h;h=0;for(var O=67108863&f,_=Math.min(M,n.length-1),r=Math.max(0,M-D.length+1);r<=_;r++){var ne=(0|D.words[M-r])*(0|n.words[r]),Ie=67108863≠O=67108863&(Ie=Ie+O|0),h+=(L=(L=L+(ne/67108864|0)|0)+(Ie>>>26)|0)>>>26,L&=67108863}c.words[M]=O,f=L,L=h}return 0!==f?c.words[M]=f:c.length--,c.strip()}(this,n,c):G(this,n,c),f},Y.prototype.makeRBT=function(n){for(var c=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)c[h]=this.revBin(h,f,n);return c},Y.prototype.revBin=function(n,c,f){if(0===n||n===f-1)return n;for(var h=0,M=0;M<c;M++)h|=(1&n)<<c-M-1,n>>=1;return h},Y.prototype.permute=function(n,c,f,h,M,L){for(var O=0;O<L;O++)h[O]=c[n[O]],M[O]=f[n[O]]},Y.prototype.transform=function(n,c,f,h,M,L){this.permute(L,n,c,f,h,M);for(var O=1;O<M;O<<=1)for(var _=O<<1,r=Math.cos(2*Math.PI/_),v=Math.sin(2*Math.PI/_),z=0;z<M;z+=_)for(var N=r,ne=v,Ie=0;Ie<O;Ie++){var at=f[z+Ie],Ye=h[z+Ie],rt=f[z+Ie+O],re=h[z+Ie+O],te=N*rt-ne*re;re=N*re+ne*rt,f[z+Ie]=at+(rt=te),h[z+Ie]=Ye+re,f[z+Ie+O]=at-rt,h[z+Ie+O]=Ye-re,Ie!==_&&(te=r*N-v*ne,ne=r*ne+v*N,N=te)}},Y.prototype.guessLen13b=function(n,c){var f=1|Math.max(c,n),h=1&f,M=0;for(f=f/2|0;f;f>>>=1)M++;return 1<<M+1+h},Y.prototype.conjugate=function(n,c,f){if(!(f<=1))for(var h=0;h<f/2;h++){var M=n[h];n[h]=n[f-h-1],n[f-h-1]=M,M=c[h],c[h]=-c[f-h-1],c[f-h-1]=-M}},Y.prototype.normalize13b=function(n,c){for(var f=0,h=0;h<c/2;h++){var M=8192*Math.round(n[2*h+1]/c)+Math.round(n[2*h]/c)+f;n[h]=67108863&M,f=M<67108864?0:M/67108864|0}return n},Y.prototype.convert13b=function(n,c,f,h){for(var M=0,L=0;L<c;L++)f[2*L]=8191&(M+=0|n[L]),f[2*L+1]=8191&(M>>>=13),M>>>=13;for(L=2*c;L<h;++L)f[L]=0;C(0===M),C(!(-8192&M))},Y.prototype.stub=function(n){for(var c=new Array(n),f=0;f<n;f++)c[f]=0;return c},Y.prototype.mulp=function(n,c,f){var h=2*this.guessLen13b(n.length,c.length),M=this.makeRBT(h),L=this.stub(h),O=new Array(h),_=new Array(h),r=new Array(h),v=new Array(h),z=new Array(h),N=new Array(h),ne=f.words;ne.length=h,this.convert13b(n.words,n.length,O,h),this.convert13b(c.words,c.length,v,h),this.transform(O,L,_,r,h,M),this.transform(v,L,z,N,h,M);for(var Ie=0;Ie<h;Ie++){var at=_[Ie]*z[Ie]-r[Ie]*N[Ie];r[Ie]=_[Ie]*N[Ie]+r[Ie]*z[Ie],_[Ie]=at}return this.conjugate(_,r,h),this.transform(_,r,ne,L,h,M),this.conjugate(ne,L,h),this.normalize13b(ne,h),f.negative=n.negative^c.negative,f.length=n.length+c.length,f.strip()},l.prototype.mul=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},l.prototype.mulf=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),G(this,n,c)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){C("number"==typeof n),C(n<67108864);for(var c=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,M=(67108863&h)+(67108863&c);c>>=26,c+=h/67108864|0,c+=M>>>26,this.words[f]=67108863&M}return 0!==c&&(this.words[f]=c,this.length++),this.length=0===n?1: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 c=function k(D){for(var n=new Array(D.bitLength()),c=0;c<n.length;c++){var h=c%26;n[c]=(D.words[c/26|0]&1<<h)>>>h}return n}(n);if(0===c.length)return new l(1);for(var f=this,h=0;h<c.length&&0===c[h];h++,f=f.sqr());if(++h<c.length)for(var M=f.sqr();h<c.length;h++,M=M.sqr())0!==c[h]&&(f=f.mul(M));return f},l.prototype.iushln=function(n){C("number"==typeof n&&n>=0);var M,c=n%26,f=(n-c)/26,h=67108863>>>26-c<<26-c;if(0!==c){var L=0;for(M=0;M<this.length;M++){var O=this.words[M]&h;this.words[M]=(0|this.words[M])-O<<c|L,L=O>>>26-c}L&&(this.words[M]=L,this.length++)}if(0!==f){for(M=this.length-1;M>=0;M--)this.words[M+f]=this.words[M];for(M=0;M<f;M++)this.words[M]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return C(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,c,f){var h;C("number"==typeof n&&n>=0),h=c?(c-c%26)/26:0;var M=n%26,L=Math.min((n-M)/26,this.length),O=67108863^67108863>>>M<<M,_=f;if(h-=L,h=Math.max(0,h),_){for(var r=0;r<L;r++)_.words[r]=this.words[r];_.length=L}if(0!==L)if(this.length>L)for(this.length-=L,r=0;r<this.length;r++)this.words[r]=this.words[r+L];else this.words[0]=0,this.length=1;var v=0;for(r=this.length-1;r>=0&&(0!==v||r>=h);r--){var z=0|this.words[r];this.words[r]=v<<26-M|z>>>M,v=z&O}return _&&0!==v&&(_.words[_.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,f){return C(0===this.negative),this.iushrn(n,c,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){C("number"==typeof n&&n>=0);var c=n%26,f=(n-c)/26;return!(this.length<=f||!(this.words[f]&1<<c))},l.prototype.imaskn=function(n){C("number"==typeof n&&n>=0);var c=n%26,f=(n-c)/26;return C(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==c&&f++,this.length=Math.min(f,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>c<<c),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return C("number"==typeof n),C(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 c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},l.prototype.isubn=function(n){if(C("number"==typeof n),C(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 c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+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,c,f){var M;this._expand(n.length+f);var L,O=0;for(M=0;M<n.length;M++){L=(0|this.words[M+f])+O;var _=(0|n.words[M])*c;O=((L-=67108863&_)>>26)-(_/67108864|0),this.words[M+f]=67108863&L}for(;M<this.length-f;M++)O=(L=(0|this.words[M+f])+O)>>26,this.words[M+f]=67108863&L;if(0===O)return this.strip();for(C(-1===O),O=0,M=0;M<this.length;M++)O=(L=-(0|this.words[M])+O)>>26,this.words[M]=67108863&L;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var f,h=this.clone(),M=n,L=0|M.words[M.length-1];0!=(f=26-this._countBits(L))&&(M=M.ushln(f),h.iushln(f),L=0|M.words[M.length-1]);var r,_=h.length-M.length;if("mod"!==c){(r=new l(null)).length=_+1,r.words=new Array(r.length);for(var v=0;v<r.length;v++)r.words[v]=0}var z=h.clone()._ishlnsubmul(M,1,_);0===z.negative&&(h=z,r&&(r.words[_]=1));for(var N=_-1;N>=0;N--){var ne=67108864*(0|h.words[M.length+N])+(0|h.words[M.length+N-1]);for(ne=Math.min(ne/L|0,67108863),h._ishlnsubmul(M,ne,N);0!==h.negative;)ne--,h.negative=0,h._ishlnsubmul(M,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ne)}return r&&r.strip(),h.strip(),"div"!==c&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,c,f){return C(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(L=this.neg().divmod(n,c),"mod"!==c&&(h=L.div.neg()),"div"!==c&&(M=L.mod.neg(),f&&0!==M.negative&&M.iadd(n)),{div:h,mod:M}):0===this.negative&&0!==n.negative?(L=this.divmod(n.neg(),c),"mod"!==c&&(h=L.div.neg()),{div:h,mod:L.mod}):this.negative&n.negative?(L=this.neg().divmod(n.neg(),c),"div"!==c&&(M=L.mod.neg(),f&&0!==M.negative&&M.isub(n)),{div:L.div,mod:M}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===c?{div:this.divn(n.words[0]),mod:null}:"mod"===c?{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,c);var h,M,L},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 c=this.divmod(n);if(c.mod.isZero())return c.div;var f=0!==c.div.negative?c.mod.isub(n):c.mod,h=n.ushrn(1),M=n.andln(1),L=f.cmp(h);return L<0||1===M&&0===L?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){C(n<=67108863);for(var c=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(c*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){C(n<=67108863);for(var c=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*c;this.words[f]=h/n|0,c=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){C(0===n.negative),C(!n.isZero());var c=this,f=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),M=new l(0),L=new l(0),O=new l(1),_=0;c.isEven()&&f.isEven();)c.iushrn(1),f.iushrn(1),++_;for(var r=f.clone(),v=c.clone();!c.isZero();){for(var z=0,N=1;!(c.words[0]&N)&&z<26;++z,N<<=1);if(z>0)for(c.iushrn(z);z-- >0;)(h.isOdd()||M.isOdd())&&(h.iadd(r),M.isub(v)),h.iushrn(1),M.iushrn(1);for(var ne=0,Ie=1;!(f.words[0]&Ie)&&ne<26;++ne,Ie<<=1);if(ne>0)for(f.iushrn(ne);ne-- >0;)(L.isOdd()||O.isOdd())&&(L.iadd(r),O.isub(v)),L.iushrn(1),O.iushrn(1);c.cmp(f)>=0?(c.isub(f),h.isub(L),M.isub(O)):(f.isub(c),L.isub(h),O.isub(M))}return{a:L,b:O,gcd:f.iushln(_)}},l.prototype._invmp=function(n){C(0===n.negative),C(!n.isZero());var z,c=this,f=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),M=new l(0),L=f.clone();c.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,_=1;!(c.words[0]&_)&&O<26;++O,_<<=1);if(O>0)for(c.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(L),h.iushrn(1);for(var r=0,v=1;!(f.words[0]&v)&&r<26;++r,v<<=1);if(r>0)for(f.iushrn(r);r-- >0;)M.isOdd()&&M.iadd(L),M.iushrn(1);c.cmp(f)>=0?(c.isub(f),h.isub(M)):(f.isub(c),M.isub(h))}return(z=0===c.cmpn(1)?h:M).cmpn(0)<0&&z.iadd(n),z},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),f=n.clone();c.negative=0,f.negative=0;for(var h=0;c.isEven()&&f.isEven();h++)c.iushrn(1),f.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;f.isEven();)f.iushrn(1);var M=c.cmp(f);if(M<0){var L=c;c=f,f=L}else if(0===M||0===f.cmpn(1))break;c.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){C("number"==typeof n);var c=n%26,f=(n-c)/26,h=1<<c;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var M=h,L=f;0!==M&&L<this.length;L++){var O=0|this.words[L];M=(O+=M)>>>26,this.words[L]=O&=67108863}return 0!==M&&(this.words[L]=M,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)f=1;else{c&&(n=-n),C(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 c=this.ucmp(n);return 0!==this.negative?0|-c:c},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var c=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],M=0|n.words[f];if(h!==M){h<M?c=-1:h>M&&(c=1);break}}return c},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 ue(n)},l.prototype.toRed=function(n){return C(!this.red,"Already a number in reduction context"),C(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return C(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 C(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return C(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return C(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return C(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return C(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return C(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return C(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return C(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return C(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return C(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return C(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return C(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var $={k256:null,p224:null,p192:null,p25519:null};function Z(D,n){this.name=D,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 ie(){Z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ve(){Z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){Z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ye(){Z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ue(D){if("string"==typeof D){var n=l._prime(D);this.m=n.p,this.prime=n}else C(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function be(D){ue.call(this,D),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)}Z.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},Z.prototype.ireduce=function(n){var f,c=n;do{this.split(c,this.tmp),f=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:c.ucmp(this.p);return 0===h?(c.words[0]=0,c.length=1):h>0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},Z.prototype.split=function(n,c){n.iushrn(this.n,0,c)},Z.prototype.imulK=function(n){return n.imul(this.k)},S(ie,Z),ie.prototype.split=function(n,c){for(var f=4194303,h=Math.min(n.length,9),M=0;M<h;M++)c.words[M]=n.words[M];if(c.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var L=n.words[9];for(c.words[c.length++]=L&f,M=10;M<n.length;M++){var O=0|n.words[M];n.words[M-10]=(O&f)<<4|L>>>22,L=O}n.words[M-10]=L>>>=22,n.length-=0===L&&n.length>10?10:9},ie.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(c+=977*h),c=64*h+(c/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ve,Z),S(ae,Z),S(ye,Z),ye.prototype.imulK=function(n){for(var c=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+c,M=67108863&h;h>>>=26,n.words[f]=M,c=h}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if($[n])return $[n];var c;if("k256"===n)c=new ie;else if("p224"===n)c=new ve;else if("p192"===n)c=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new ye}return $[n]=c,c},ue.prototype._verify1=function(n){C(0===n.negative,"red works only with positives"),C(n.red,"red works only with red numbers")},ue.prototype._verify2=function(n,c){C(!(n.negative|c.negative),"red works only with positives"),C(n.red&&n.red===c.red,"red works only with red numbers")},ue.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},ue.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},ue.prototype.add=function(n,c){this._verify2(n,c);var f=n.add(c);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},ue.prototype.iadd=function(n,c){this._verify2(n,c);var f=n.iadd(c);return f.cmp(this.m)>=0&&f.isub(this.m),f},ue.prototype.sub=function(n,c){this._verify2(n,c);var f=n.sub(c);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},ue.prototype.isub=function(n,c){this._verify2(n,c);var f=n.isub(c);return f.cmpn(0)<0&&f.iadd(this.m),f},ue.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},ue.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},ue.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},ue.prototype.isqr=function(n){return this.imul(n,n.clone())},ue.prototype.sqr=function(n){return this.mul(n,n)},ue.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(C(c%2==1),3===c){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),M=0;!h.isZero()&&0===h.andln(1);)M++,h.iushrn(1);C(!h.isZero());var L=new l(1).toRed(this),O=L.redNeg(),_=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,_).cmp(O);)r.redIAdd(O);for(var v=this.pow(r,h),z=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ne=M;0!==N.cmp(L);){for(var Ie=N,at=0;0!==Ie.cmp(L);at++)Ie=Ie.redSqr();C(at<ne);var Ye=this.pow(v,new l(1).iushln(ne-at-1));z=z.redMul(Ye),v=Ye.redSqr(),N=N.redMul(v),ne=at}return z},ue.prototype.invm=function(n){var c=n._invmp(this.m);return 0!==c.negative?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},ue.prototype.pow=function(n,c){if(c.isZero())return new l(1).toRed(this);if(0===c.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var M=2;M<h.length;M++)h[M]=this.mul(h[M-1],n);var L=h[0],O=0,_=0,r=c.bitLength()%26;for(0===r&&(r=26),M=c.length-1;M>=0;M--){for(var v=c.words[M],z=r-1;z>=0;z--){var N=v>>z&1;L!==h[0]&&(L=this.sqr(L)),0!==N||0!==O?(O<<=1,O|=N,(4==++_||0===M&&0===z)&&(L=this.mul(L,h[O]),_=0,O=0)):_=0}r=26}return L},ue.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},ue.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new be(n)},S(be,ue),be.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},be.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},be.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(c),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=f.isub(h).iushrn(this.shift),L=M;return M.cmp(this.m)>=0?L=M.isub(this.m):M.cmpn(0)<0&&(L=M.iadd(this.m)),L._forceRed(this)},be.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var f=n.mul(c),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=f.isub(h).iushrn(this.shift),L=M;return M.cmp(this.m)>=0?L=M.isub(this.m):M.cmpn(0)<0&&(L=M.iadd(this.m)),L._forceRed(this)},be.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=p.nmd(Ve),this)},4570:Ve=>{"use strict";var ee=Object.defineProperty||!1;if(ee)try{ee({},"a",{value:1})}catch{ee=!1}Ve.exports=ee},1756:Ve=>{"use strict";Ve.exports=EvalError},7640:Ve=>{"use strict";Ve.exports=Error},7933:Ve=>{"use strict";Ve.exports=RangeError},6613:Ve=>{"use strict";Ve.exports=ReferenceError},8413:Ve=>{"use strict";Ve.exports=SyntaxError},6758:Ve=>{"use strict";Ve.exports=TypeError},5286:Ve=>{"use strict";Ve.exports=URIError},5891:Ve=>{"use strict";Ve.exports=Object},4356:Ve=>{"use strict";var t,ee="object"==typeof Reflect?Reflect:null,p=ee&&"function"==typeof ee.apply?ee.apply:function(Z,ie,ve){return Function.prototype.apply.call(Z,ie,ve)};t=ee&&"function"==typeof ee.ownKeys?ee.ownKeys:Object.getOwnPropertySymbols?function(Z){return Object.getOwnPropertyNames(Z).concat(Object.getOwnPropertySymbols(Z))}:function(Z){return Object.getOwnPropertyNames(Z)};var C=Number.isNaN||function(Z){return Z!=Z};function S(){S.init.call(this)}Ve.exports=S,Ve.exports.once=function U($,Z){return new Promise(function(ie,ve){function ae(ue){$.removeListener(Z,ye),ve(ue)}function ye(){"function"==typeof $.removeListener&&$.removeListener("error",ae),ie([].slice.call(arguments))}Y($,Z,ye,{once:!0}),"error"!==Z&&function G($,Z,ie){"function"==typeof $.on&&Y($,"error",Z,ie)}($,ae,{once:!0})})},S.EventEmitter=S,S.prototype._events=void 0,S.prototype._eventsCount=0,S.prototype._maxListeners=void 0;var l=10;function x($){if("function"!=typeof $)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof $)}function m($){return void 0===$._maxListeners?S.defaultMaxListeners:$._maxListeners}function R($,Z,ie,ve){var ae,ye,ue;if(x(ie),void 0===(ye=$._events)?(ye=$._events=Object.create(null),$._eventsCount=0):(void 0!==ye.newListener&&($.emit("newListener",Z,ie.listener?ie.listener:ie),ye=$._events),ue=ye[Z]),void 0===ue)ue=ye[Z]=ie,++$._eventsCount;else if("function"==typeof ue?ue=ye[Z]=ve?[ie,ue]:[ue,ie]:ve?ue.unshift(ie):ue.push(ie),(ae=m($))>0&&ue.length>ae&&!ue.warned){ue.warned=!0;var be=new Error("Possible EventEmitter memory leak detected. "+ue.length+" "+String(Z)+" listeners added. Use emitter.setMaxListeners() to increase limit");be.name="MaxListenersExceededWarning",be.emitter=$,be.type=Z,be.count=ue.length,function e($){console&&console.warn&&console.warn($)}(be)}return $}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function w($,Z,ie){var ve={fired:!1,wrapFn:void 0,target:$,type:Z,listener:ie},ae=d.bind(ve);return ae.listener=ie,ve.wrapFn=ae,ae}function y($,Z,ie){var ve=$._events;if(void 0===ve)return[];var ae=ve[Z];return void 0===ae?[]:"function"==typeof ae?ie?[ae.listener||ae]:[ae]:ie?function V($){for(var Z=new Array($.length),ie=0;ie<Z.length;++ie)Z[ie]=$[ie].listener||$[ie];return Z}(ae):k(ae,ae.length)}function T($){var Z=this._events;if(void 0!==Z){var ie=Z[$];if("function"==typeof ie)return 1;if(void 0!==ie)return ie.length}return 0}function k($,Z){for(var ie=new Array(Z),ve=0;ve<Z;++ve)ie[ve]=$[ve];return ie}function Y($,Z,ie,ve){if("function"==typeof $.on)ve.once?$.once(Z,ie):$.on(Z,ie);else{if("function"!=typeof $.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof $);$.addEventListener(Z,function ae(ye){ve.once&&$.removeEventListener(Z,ae),ie(ye)})}}Object.defineProperty(S,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function($){if("number"!=typeof $||$<0||C($))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+$+".");l=$}}),S.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},S.prototype.setMaxListeners=function(Z){if("number"!=typeof Z||Z<0||C(Z))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Z+".");return this._maxListeners=Z,this},S.prototype.getMaxListeners=function(){return m(this)},S.prototype.emit=function(Z){for(var ie=[],ve=1;ve<arguments.length;ve++)ie.push(arguments[ve]);var ae="error"===Z,ye=this._events;if(void 0!==ye)ae=ae&&void 0===ye.error;else if(!ae)return!1;if(ae){var ue;if(ie.length>0&&(ue=ie[0]),ue instanceof Error)throw ue;var be=new Error("Unhandled error."+(ue?" ("+ue.message+")":""));throw be.context=ue,be}var D=ye[Z];if(void 0===D)return!1;if("function"==typeof D)p(D,this,ie);else{var n=D.length,c=k(D,n);for(ve=0;ve<n;++ve)p(c[ve],this,ie)}return!0},S.prototype.on=S.prototype.addListener=function(Z,ie){return R(this,Z,ie,!1)},S.prototype.prependListener=function(Z,ie){return R(this,Z,ie,!0)},S.prototype.once=function(Z,ie){return x(ie),this.on(Z,w(this,Z,ie)),this},S.prototype.prependOnceListener=function(Z,ie){return x(ie),this.prependListener(Z,w(this,Z,ie)),this},S.prototype.off=S.prototype.removeListener=function(Z,ie){var ve,ae,ye,ue,be;if(x(ie),void 0===(ae=this._events))return this;if(void 0===(ve=ae[Z]))return this;if(ve===ie||ve.listener===ie)0==--this._eventsCount?this._events=Object.create(null):(delete ae[Z],ae.removeListener&&this.emit("removeListener",Z,ve.listener||ie));else if("function"!=typeof ve){for(ye=-1,ue=ve.length-1;ue>=0;ue--)if(ve[ue]===ie||ve[ue].listener===ie){be=ve[ue].listener,ye=ue;break}if(ye<0)return this;0===ye?ve.shift():function F($,Z){for(;Z+1<$.length;Z++)$[Z]=$[Z+1];$.pop()}(ve,ye),1===ve.length&&(ae[Z]=ve[0]),void 0!==ae.removeListener&&this.emit("removeListener",Z,be||ie)}return this},S.prototype.removeAllListeners=function(Z){var ie,ve,ae;if(void 0===(ve=this._events))return this;if(void 0===ve.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==ve[Z]&&(0==--this._eventsCount?this._events=Object.create(null):delete ve[Z]),this;if(0===arguments.length){var ue,ye=Object.keys(ve);for(ae=0;ae<ye.length;++ae)"removeListener"!==(ue=ye[ae])&&this.removeAllListeners(ue);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(ie=ve[Z]))this.removeListener(Z,ie);else if(void 0!==ie)for(ae=ie.length-1;ae>=0;ae--)this.removeListener(Z,ie[ae]);return this},S.prototype.listeners=function(Z){return y(this,Z,!0)},S.prototype.rawListeners=function(Z){return y(this,Z,!1)},S.listenerCount=function($,Z){return"function"==typeof $.listenerCount?$.listenerCount(Z):T.call($,Z)},S.prototype.listenerCount=T,S.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},592:(Ve,ee,p)=>{var t=p(7054).Buffer,e=p(4725);Ve.exports=function C(S,l,x,m){if(t.isBuffer(S)||(S=t.from(S,"binary")),l&&(t.isBuffer(l)||(l=t.from(l,"binary")),8!==l.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var R=x/8,d=t.alloc(R),w=t.alloc(m||0),y=t.alloc(0);R>0||m>0;){var T=new e;T.update(y),T.update(S),l&&T.update(l),y=T.digest();var k=0;if(R>0){var F=d.length-R;k=Math.min(R,y.length),y.copy(d,F,0,k),R-=k}if(k<y.length&&m>0){var V=w.length-m,U=Math.min(m,y.length-k);y.copy(w,V,k,k+U),m-=U}}return y.fill(0),{key:d,iv:w}}},9999:(Ve,ee,p)=>{"use strict";var t=p(8239),e=Object.prototype.toString,C=Object.prototype.hasOwnProperty;Ve.exports=function(d,w,y){if(!t(w))throw new TypeError("iterator must be a function");var T;arguments.length>=3&&(T=y),function m(R){return"[object Array]"===e.call(R)}(d)?function(d,w,y){for(var T=0,k=d.length;T<k;T++)C.call(d,T)&&(null==y?w(d[T],T,d):w.call(y,d[T],T,d))}(d,w,T):"string"==typeof d?function(d,w,y){for(var T=0,k=d.length;T<k;T++)null==y?w(d.charAt(T),T,d):w.call(y,d.charAt(T),T,d)}(d,w,T):function(d,w,y){for(var T in d)C.call(d,T)&&(null==y?w(d[T],T,d):w.call(y,d[T],T,d))}(d,w,T)}},9132:Ve=>{"use strict";var p=Object.prototype.toString,t=Math.max,C=function(m,R){for(var d=[],w=0;w<m.length;w+=1)d[w]=m[w];for(var y=0;y<R.length;y+=1)d[y+m.length]=R[y];return d};Ve.exports=function(m){var R=this;if("function"!=typeof R||"[object Function]"!==p.apply(R))throw new TypeError("Function.prototype.bind called on incompatible "+R);for(var w,d=function(m,R){for(var d=[],w=1,y=0;w<m.length;w+=1,y+=1)d[y]=m[w];return d}(arguments),T=t(0,R.length-d.length),k=[],F=0;F<T;F++)k[F]="$"+F;if(w=Function("binder","return function ("+function(x,m){for(var R="",d=0;d<x.length;d+=1)R+=x[d],d+1<x.length&&(R+=",");return R}(k)+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof w){var U=R.apply(this,C(d,arguments));return Object(U)===U?U:this}return R.apply(m,C(d,arguments))}),R.prototype){var V=function(){};V.prototype=R.prototype,w.prototype=new V,V.prototype=null}return w}},5992:(Ve,ee,p)=>{"use strict";var t=p(9132);Ve.exports=Function.prototype.bind||t},258:(Ve,ee,p)=>{"use strict";var t,e=p(5891),C=p(7640),S=p(1756),l=p(7933),x=p(6613),m=p(8413),R=p(6758),d=p(5286),w=p(837),y=p(3383),T=p(9039),k=p(4981),F=p(975),V=p(5337),U=p(4912),G=Function,Y=function(te){try{return G('"use strict"; return ('+te+").constructor;")()}catch{}},$=p(1417),Z=p(4570),ie=function(){throw new R},ve=$?function(){try{return ie}catch{try{return $(arguments,"callee").get}catch{return ie}}}():ie,ae=p(9900)(),ye=p(1627),ue=p(7203),be=p(7669),D=p(9477),n=p(9705),c={},f=typeof Uint8Array>"u"||!ye?t:ye(Uint8Array),h={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?t:ArrayBuffer,"%ArrayIteratorPrototype%":ae&&ye?ye([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":c,"%AsyncGenerator%":c,"%AsyncGeneratorFunction%":c,"%AsyncIteratorPrototype%":c,"%Atomics%":typeof Atomics>"u"?t:Atomics,"%BigInt%":typeof BigInt>"u"?t:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?t:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":C,"%eval%":eval,"%EvalError%":S,"%Float16Array%":typeof Float16Array>"u"?t:Float16Array,"%Float32Array%":typeof Float32Array>"u"?t:Float32Array,"%Float64Array%":typeof Float64Array>"u"?t:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?t:FinalizationRegistry,"%Function%":G,"%GeneratorFunction%":c,"%Int8Array%":typeof Int8Array>"u"?t:Int8Array,"%Int16Array%":typeof Int16Array>"u"?t:Int16Array,"%Int32Array%":typeof Int32Array>"u"?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ae&&ye?ye(ye([][Symbol.iterator]())):t,"%JSON%":"object"==typeof JSON?JSON:t,"%Map%":typeof Map>"u"?t:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ae||!ye?t:ye((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":$,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?t:Promise,"%Proxy%":typeof Proxy>"u"?t:Proxy,"%RangeError%":l,"%ReferenceError%":x,"%Reflect%":typeof Reflect>"u"?t:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?t:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ae||!ye?t:ye((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ae&&ye?ye(""[Symbol.iterator]()):t,"%Symbol%":ae?Symbol:t,"%SyntaxError%":m,"%ThrowTypeError%":ve,"%TypedArray%":f,"%TypeError%":R,"%Uint8Array%":typeof Uint8Array>"u"?t:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?t:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?t:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?t:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?t:WeakMap,"%WeakRef%":typeof WeakRef>"u"?t:WeakRef,"%WeakSet%":typeof WeakSet>"u"?t:WeakSet,"%Function.prototype.call%":n,"%Function.prototype.apply%":D,"%Object.defineProperty%":Z,"%Object.getPrototypeOf%":ue,"%Math.abs%":w,"%Math.floor%":y,"%Math.max%":T,"%Math.min%":k,"%Math.pow%":F,"%Math.round%":V,"%Math.sign%":U,"%Reflect.getPrototypeOf%":be};if(ye)try{null.error}catch(te){var M=ye(ye(te));h["%Error.prototype%"]=M}var L=function te(oe){var _e;if("%AsyncFunction%"===oe)_e=Y("async function () {}");else if("%GeneratorFunction%"===oe)_e=Y("function* () {}");else if("%AsyncGeneratorFunction%"===oe)_e=Y("async function* () {}");else if("%AsyncGenerator%"===oe){var de=te("%AsyncGeneratorFunction%");de&&(_e=de.prototype)}else if("%AsyncIteratorPrototype%"===oe){var pe=te("%AsyncGenerator%");pe&&ye&&(_e=ye(pe.prototype))}return h[oe]=_e,_e},O={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},_=p(5992),r=p(8368),v=_.call(n,Array.prototype.concat),z=_.call(D,Array.prototype.splice),N=_.call(n,String.prototype.replace),ne=_.call(n,String.prototype.slice),Ie=_.call(n,RegExp.prototype.exec),at=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ye=/\\(\\)?/g,re=function(oe,_e){var pe,de=oe;if(r(O,de)&&(de="%"+(pe=O[de])[0]+"%"),r(h,de)){var We=h[de];if(We===c&&(We=L(de)),typeof We>"u"&&!_e)throw new R("intrinsic "+oe+" exists, but is not available. Please file an issue!");return{alias:pe,name:de,value:We}}throw new m("intrinsic "+oe+" does not exist!")};Ve.exports=function(oe,_e){if("string"!=typeof oe||0===oe.length)throw new R("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof _e)throw new R('"allowMissing" argument must be a boolean');if(null===Ie(/^%?[^%]*%?$/,oe))throw new m("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var de=function(oe){var _e=ne(oe,0,1),de=ne(oe,-1);if("%"===_e&&"%"!==de)throw new m("invalid intrinsic syntax, expected closing `%`");if("%"===de&&"%"!==_e)throw new m("invalid intrinsic syntax, expected opening `%`");var pe=[];return N(oe,at,function(We,se,fe,he){pe[pe.length]=fe?N(he,Ye,"$1"):se||We}),pe}(oe),pe=de.length>0?de[0]:"",We=re("%"+pe+"%",_e),se=We.name,fe=We.value,he=!1,et=We.alias;et&&(pe=et[0],z(de,v([0,1],et)));for(var Ke=1,Ct=!0;Ke<de.length;Ke+=1){var _t=de[Ke],Nt=ne(_t,0,1),ke=ne(_t,-1);if(('"'===Nt||"'"===Nt||"`"===Nt||'"'===ke||"'"===ke||"`"===ke)&&Nt!==ke)throw new m("property names with quotes must have matching quotes");if(("constructor"===_t||!Ct)&&(he=!0),r(h,se="%"+(pe+="."+_t)+"%"))fe=h[se];else if(null!=fe){if(!(_t in fe)){if(!_e)throw new R("base intrinsic for "+oe+" exists, but the property is not available.");return}if($&&Ke+1>=de.length){var Je=$(fe,_t);fe=(Ct=!!Je)&&"get"in Je&&!("originalValue"in Je.get)?Je.get:fe[_t]}else Ct=r(fe,_t),fe=fe[_t];Ct&&!he&&(h[se]=fe)}}return fe}},7203:(Ve,ee,p)=>{"use strict";var t=p(5891);Ve.exports=t.getPrototypeOf||null},7669:Ve=>{"use strict";Ve.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null},1627:(Ve,ee,p)=>{"use strict";var t=p(7669),e=p(7203),C=p(3361);Ve.exports=t?function(l){return t(l)}:e?function(l){if(!l||"object"!=typeof l&&"function"!=typeof l)throw new TypeError("getProto: not an object");return e(l)}:C?function(l){return C(l)}:null},2786:Ve=>{"use strict";Ve.exports=Object.getOwnPropertyDescriptor},1417:(Ve,ee,p)=>{"use strict";var t=p(2786);if(t)try{t([],"length")}catch{t=null}Ve.exports=t},5861:(Ve,ee,p)=>{"use strict";var t=p(4570),e=function(){return!!t};e.hasArrayLengthDefineBug=function(){if(!t)return null;try{return 1!==t([],"length",{value:1}).length}catch{return!0}},Ve.exports=e},9900:(Ve,ee,p)=>{"use strict";var t=typeof Symbol<"u"&&Symbol,e=p(5310);Ve.exports=function(){return"function"==typeof t&&"function"==typeof Symbol&&"symbol"==typeof t("foo")&&"symbol"==typeof Symbol("bar")&&e()}},5310:Ve=>{"use strict";Ve.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var p={},t=Symbol("test"),e=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(e))return!1;for(var S in p[t]=42,p)return!1;if("function"==typeof Object.keys&&0!==Object.keys(p).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(p).length)return!1;var l=Object.getOwnPropertySymbols(p);if(1!==l.length||l[0]!==t||!Object.prototype.propertyIsEnumerable.call(p,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var x=Object.getOwnPropertyDescriptor(p,t);if(42!==x.value||!0!==x.enumerable)return!1}return!0}},8779:(Ve,ee,p)=>{"use strict";var t=p(5310);Ve.exports=function(){return t()&&!!Symbol.toStringTag}},3686:(Ve,ee,p)=>{"use strict";var t=p(7054).Buffer,e=p(7045).Transform;function S(R){e.call(this),this._block=t.allocUnsafe(R),this._blockSize=R,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}p(1993)(S,e),S.prototype._transform=function(R,d,w){var y=null;try{this.update(R,d)}catch(T){y=T}w(y)},S.prototype._flush=function(R){var d=null;try{this.push(this.digest())}catch(w){d=w}R(d)};var l=typeof Uint8Array<"u",x=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(t.prototype instanceof Uint8Array||t.TYPED_ARRAY_SUPPORT);S.prototype.update=function(R,d){if(this._finalized)throw new Error("Digest already called");R=function m(R,d){if(R instanceof t)return R;if("string"==typeof R)return t.from(R,d);if(x&&ArrayBuffer.isView(R)){if(0===R.byteLength)return t.alloc(0);var w=t.from(R.buffer,R.byteOffset,R.byteLength);if(w.byteLength===R.byteLength)return w}if(l&&R instanceof Uint8Array||t.isBuffer(R)&&R.constructor&&"function"==typeof R.constructor.isBuffer&&R.constructor.isBuffer(R))return t.from(R);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}(R,d);for(var w=this._block,y=0;this._blockOffset+R.length-y>=this._blockSize;){for(var T=this._blockOffset;T<this._blockSize;)w[T++]=R[y++];this._update(),this._blockOffset=0}for(;y<R.length;)w[this._blockOffset++]=R[y++];for(var k=0,F=8*R.length;F>0;++k)this._length[k]+=F,(F=this._length[k]/4294967296|0)>0&&(this._length[k]-=4294967296*F);return this},S.prototype._update=function(){throw new Error("_update is not implemented")},S.prototype.digest=function(R){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var d=this._digest();void 0!==R&&(d=d.toString(R)),this._block.fill(0),this._blockOffset=0;for(var w=0;w<4;++w)this._length[w]=0;return d},S.prototype._digest=function(){throw new Error("_digest is not implemented")},Ve.exports=S},2529:(Ve,ee,p)=>{var t=ee;t.utils=p(8283),t.common=p(2901),t.sha=p(8528),t.ripemd=p(5283),t.hmac=p(7163),t.sha1=t.sha.sha1,t.sha256=t.sha.sha256,t.sha224=t.sha.sha224,t.sha384=t.sha.sha384,t.sha512=t.sha.sha512,t.ripemd160=t.ripemd.ripemd160},2901:(Ve,ee,p)=>{"use strict";var t=p(8283),e=p(9210);function C(){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}ee.BlockHash=C,C.prototype.update=function(l,x){if(l=t.toArray(l,x),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=t.join32(l,0,l.length-m,this.endian);for(var R=0;R<l.length;R+=this._delta32)this._update(l,R,R+this._delta32)}return this},C.prototype.digest=function(l){return this.update(this._pad()),e(null===this.pending),this._digest(l)},C.prototype._pad=function(){var l=this.pendingTotal,x=this._delta8,m=x-(l+this.padLength)%x,R=new Array(m+this.padLength);R[0]=128;for(var d=1;d<m;d++)R[d]=0;if(l<<=3,"big"===this.endian){for(var w=8;w<this.padLength;w++)R[d++]=0;R[d++]=0,R[d++]=0,R[d++]=0,R[d++]=0,R[d++]=l>>>24&255,R[d++]=l>>>16&255,R[d++]=l>>>8&255,R[d++]=255&l}else for(R[d++]=255&l,R[d++]=l>>>8&255,R[d++]=l>>>16&255,R[d++]=l>>>24&255,R[d++]=0,R[d++]=0,R[d++]=0,R[d++]=0,w=8;w<this.padLength;w++)R[d++]=0;return R}},7163:(Ve,ee,p)=>{"use strict";var t=p(8283),e=p(9210);function C(S,l,x){if(!(this instanceof C))return new C(S,l,x);this.Hash=S,this.blockSize=S.blockSize/8,this.outSize=S.outSize/8,this.inner=null,this.outer=null,this._init(t.toArray(l,x))}Ve.exports=C,C.prototype._init=function(l){l.length>this.blockSize&&(l=(new this.Hash).update(l).digest()),e(l.length<=this.blockSize);for(var x=l.length;x<this.blockSize;x++)l.push(0);for(x=0;x<l.length;x++)l[x]^=54;for(this.inner=(new this.Hash).update(l),x=0;x<l.length;x++)l[x]^=106;this.outer=(new this.Hash).update(l)},C.prototype.update=function(l,x){return this.inner.update(l,x),this},C.prototype.digest=function(l){return this.outer.update(this.inner.digest()),this.outer.digest(l)}},5283:(Ve,ee,p)=>{"use strict";var t=p(8283),e=p(2901),C=t.rotl32,S=t.sum32,l=t.sum32_3,x=t.sum32_4,m=e.BlockHash;function R(){if(!(this instanceof R))return new R;m.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(U,G,Y,$){return U<=15?G^Y^$:U<=31?G&Y|~G&$:U<=47?(G|~Y)^$:U<=63?G&$|Y&~$:G^(Y|~$)}function y(U){return U<=15?1352829926:U<=31?1548603684:U<=47?1836072691:U<=63?2053994217:0}t.inherits(R,m),ee.ripemd160=R,R.blockSize=512,R.outSize=160,R.hmacStrength=192,R.padLength=64,R.prototype._update=function(G,Y){for(var $=this.h[0],Z=this.h[1],ie=this.h[2],ve=this.h[3],ae=this.h[4],ye=$,ue=Z,be=ie,D=ve,n=ae,c=0;c<80;c++){var f=S(C(x($,d(c,Z,ie,ve),G[T[c]+Y],(U=c)<=15?0:U<=31?1518500249:U<=47?1859775393:U<=63?2400959708:2840853838),F[c]),ae);$=ae,ae=ve,ve=C(ie,10),ie=Z,Z=f,f=S(C(x(ye,d(79-c,ue,be,D),G[k[c]+Y],y(c)),V[c]),n),ye=n,n=D,D=C(be,10),be=ue,ue=f}var U;f=l(this.h[1],ie,D),this.h[1]=l(this.h[2],ve,n),this.h[2]=l(this.h[3],ae,ye),this.h[3]=l(this.h[4],$,ue),this.h[4]=l(this.h[0],Z,be),this.h[0]=f},R.prototype._digest=function(G){return"hex"===G?t.toHex32(this.h,"little"):t.split32(this.h,"little")};var T=[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],F=[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],V=[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]},8528:(Ve,ee,p)=>{"use strict";ee.sha1=p(3468),ee.sha224=p(5563),ee.sha256=p(7138),ee.sha384=p(3898),ee.sha512=p(827)},3468:(Ve,ee,p)=>{"use strict";var t=p(8283),e=p(2901),C=p(3161),S=t.rotl32,l=t.sum32,x=t.sum32_5,m=C.ft_1,R=e.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function w(){if(!(this instanceof w))return new w;R.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}t.inherits(w,R),Ve.exports=w,w.blockSize=512,w.outSize=160,w.hmacStrength=80,w.padLength=64,w.prototype._update=function(T,k){for(var F=this.W,V=0;V<16;V++)F[V]=T[k+V];for(;V<F.length;V++)F[V]=S(F[V-3]^F[V-8]^F[V-14]^F[V-16],1);var U=this.h[0],G=this.h[1],Y=this.h[2],$=this.h[3],Z=this.h[4];for(V=0;V<F.length;V++){var ie=~~(V/20),ve=x(S(U,5),m(ie,G,Y,$),Z,F[V],d[ie]);Z=$,$=Y,Y=S(G,30),G=U,U=ve}this.h[0]=l(this.h[0],U),this.h[1]=l(this.h[1],G),this.h[2]=l(this.h[2],Y),this.h[3]=l(this.h[3],$),this.h[4]=l(this.h[4],Z)},w.prototype._digest=function(T){return"hex"===T?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},5563:(Ve,ee,p)=>{"use strict";var t=p(8283),e=p(7138);function C(){if(!(this instanceof C))return new C;e.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}t.inherits(C,e),Ve.exports=C,C.blockSize=512,C.outSize=224,C.hmacStrength=192,C.padLength=64,C.prototype._digest=function(l){return"hex"===l?t.toHex32(this.h.slice(0,7),"big"):t.split32(this.h.slice(0,7),"big")}},7138:(Ve,ee,p)=>{"use strict";var t=p(8283),e=p(2901),C=p(3161),S=p(9210),l=t.sum32,x=t.sum32_4,m=t.sum32_5,R=C.ch32,d=C.maj32,w=C.s0_256,y=C.s1_256,T=C.g0_256,k=C.g1_256,F=e.BlockHash,V=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function U(){if(!(this instanceof U))return new U;F.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=V,this.W=new Array(64)}t.inherits(U,F),Ve.exports=U,U.blockSize=512,U.outSize=256,U.hmacStrength=192,U.padLength=64,U.prototype._update=function(Y,$){for(var Z=this.W,ie=0;ie<16;ie++)Z[ie]=Y[$+ie];for(;ie<Z.length;ie++)Z[ie]=x(k(Z[ie-2]),Z[ie-7],T(Z[ie-15]),Z[ie-16]);var ve=this.h[0],ae=this.h[1],ye=this.h[2],ue=this.h[3],be=this.h[4],D=this.h[5],n=this.h[6],c=this.h[7];for(S(this.k.length===Z.length),ie=0;ie<Z.length;ie++){var f=m(c,y(be),R(be,D,n),this.k[ie],Z[ie]),h=l(w(ve),d(ve,ae,ye));c=n,n=D,D=be,be=l(ue,f),ue=ye,ye=ae,ae=ve,ve=l(f,h)}this.h[0]=l(this.h[0],ve),this.h[1]=l(this.h[1],ae),this.h[2]=l(this.h[2],ye),this.h[3]=l(this.h[3],ue),this.h[4]=l(this.h[4],be),this.h[5]=l(this.h[5],D),this.h[6]=l(this.h[6],n),this.h[7]=l(this.h[7],c)},U.prototype._digest=function(Y){return"hex"===Y?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},3898:(Ve,ee,p)=>{"use strict";var t=p(8283),e=p(827);function C(){if(!(this instanceof C))return new C;e.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}t.inherits(C,e),Ve.exports=C,C.blockSize=1024,C.outSize=384,C.hmacStrength=192,C.padLength=128,C.prototype._digest=function(l){return"hex"===l?t.toHex32(this.h.slice(0,12),"big"):t.split32(this.h.slice(0,12),"big")}},827:(Ve,ee,p)=>{"use strict";var t=p(8283),e=p(2901),C=p(9210),S=t.rotr64_hi,l=t.rotr64_lo,x=t.shr64_hi,m=t.shr64_lo,R=t.sum64,d=t.sum64_hi,w=t.sum64_lo,y=t.sum64_4_hi,T=t.sum64_4_lo,k=t.sum64_5_hi,F=t.sum64_5_lo,V=e.BlockHash,U=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function G(){if(!(this instanceof G))return new G;V.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=U,this.W=new Array(160)}function Y(f,h,M,L,O){var _=f&M^~f&O;return _<0&&(_+=4294967296),_}function $(f,h,M,L,O,_){var r=h&L^~h&_;return r<0&&(r+=4294967296),r}function Z(f,h,M,L,O){var _=f&M^f&O^M&O;return _<0&&(_+=4294967296),_}function ie(f,h,M,L,O,_){var r=h&L^h&_^L&_;return r<0&&(r+=4294967296),r}function ve(f,h){var _=S(f,h,28)^S(h,f,2)^S(h,f,7);return _<0&&(_+=4294967296),_}function ae(f,h){var _=l(f,h,28)^l(h,f,2)^l(h,f,7);return _<0&&(_+=4294967296),_}function ye(f,h){var _=S(f,h,14)^S(f,h,18)^S(h,f,9);return _<0&&(_+=4294967296),_}function ue(f,h){var _=l(f,h,14)^l(f,h,18)^l(h,f,9);return _<0&&(_+=4294967296),_}function be(f,h){var _=S(f,h,1)^S(f,h,8)^x(f,h,7);return _<0&&(_+=4294967296),_}function D(f,h){var _=l(f,h,1)^l(f,h,8)^m(f,h,7);return _<0&&(_+=4294967296),_}function n(f,h){var _=S(f,h,19)^S(h,f,29)^x(f,h,6);return _<0&&(_+=4294967296),_}function c(f,h){var _=l(f,h,19)^l(h,f,29)^m(f,h,6);return _<0&&(_+=4294967296),_}t.inherits(G,V),Ve.exports=G,G.blockSize=1024,G.outSize=512,G.hmacStrength=192,G.padLength=128,G.prototype._prepareBlock=function(h,M){for(var L=this.W,O=0;O<32;O++)L[O]=h[M+O];for(;O<L.length;O+=2){var _=n(L[O-4],L[O-3]),r=c(L[O-4],L[O-3]),v=L[O-14],z=L[O-13],N=be(L[O-30],L[O-29]),ne=D(L[O-30],L[O-29]),Ie=L[O-32],at=L[O-31];L[O]=y(_,r,v,z,N,ne,Ie,at),L[O+1]=T(_,r,v,z,N,ne,Ie,at)}},G.prototype._update=function(h,M){this._prepareBlock(h,M);var L=this.W,O=this.h[0],_=this.h[1],r=this.h[2],v=this.h[3],z=this.h[4],N=this.h[5],ne=this.h[6],Ie=this.h[7],at=this.h[8],Ye=this.h[9],rt=this.h[10],re=this.h[11],te=this.h[12],oe=this.h[13],_e=this.h[14],de=this.h[15];C(this.k.length===L.length);for(var pe=0;pe<L.length;pe+=2){var We=_e,se=de,fe=ye(at,Ye),he=ue(at,Ye),et=Y(at,0,rt,0,te),Ke=$(0,Ye,0,re,0,oe),Ct=this.k[pe],_t=this.k[pe+1],Nt=L[pe],ke=L[pe+1],Je=k(We,se,fe,he,et,Ke,Ct,_t,Nt,ke),Qe=F(We,se,fe,he,et,Ke,Ct,_t,Nt,ke);We=ve(O,_),se=ae(O,_),fe=Z(O,0,r,0,z),he=ie(0,_,0,v,0,N);var nt=d(We,se,fe,he),Ue=w(We,se,fe,he);_e=te,de=oe,te=rt,oe=re,rt=at,re=Ye,at=d(ne,Ie,Je,Qe),Ye=w(Ie,Ie,Je,Qe),ne=z,Ie=N,z=r,N=v,r=O,v=_,O=d(Je,Qe,nt,Ue),_=w(Je,Qe,nt,Ue)}R(this.h,0,O,_),R(this.h,2,r,v),R(this.h,4,z,N),R(this.h,6,ne,Ie),R(this.h,8,at,Ye),R(this.h,10,rt,re),R(this.h,12,te,oe),R(this.h,14,_e,de)},G.prototype._digest=function(h){return"hex"===h?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},3161:(Ve,ee,p)=>{"use strict";var e=p(8283).rotr32;function S(y,T,k){return y&T^~y&k}function l(y,T,k){return y&T^y&k^T&k}function x(y,T,k){return y^T^k}ee.ft_1=function C(y,T,k,F){return 0===y?S(T,k,F):1===y||3===y?x(T,k,F):2===y?l(T,k,F):void 0},ee.ch32=S,ee.maj32=l,ee.p32=x,ee.s0_256=function m(y){return e(y,2)^e(y,13)^e(y,22)},ee.s1_256=function R(y){return e(y,6)^e(y,11)^e(y,25)},ee.g0_256=function d(y){return e(y,7)^e(y,18)^y>>>3},ee.g1_256=function w(y){return e(y,17)^e(y,19)^y>>>10}},8283:(Ve,ee,p)=>{"use strict";var t=p(9210),e=p(1993);function C(c,f){return!(55296!=(64512&c.charCodeAt(f))||f<0||f+1>=c.length)&&56320==(64512&c.charCodeAt(f+1))}function x(c){return(c>>>24|c>>>8&65280|c<<8&16711680|(255&c)<<24)>>>0}function R(c){return 1===c.length?"0"+c:c}function d(c){return 7===c.length?"0"+c:6===c.length?"00"+c:5===c.length?"000"+c:4===c.length?"0000"+c:3===c.length?"00000"+c:2===c.length?"000000"+c:1===c.length?"0000000"+c:c}ee.inherits=e,ee.toArray=function S(c,f){if(Array.isArray(c))return c.slice();if(!c)return[];var h=[];if("string"==typeof c)if(f){if("hex"===f)for((c=c.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(c="0"+c),L=0;L<c.length;L+=2)h.push(parseInt(c[L]+c[L+1],16))}else for(var M=0,L=0;L<c.length;L++){var O=c.charCodeAt(L);O<128?h[M++]=O:O<2048?(h[M++]=O>>6|192,h[M++]=63&O|128):C(c,L)?(O=65536+((1023&O)<<10)+(1023&c.charCodeAt(++L)),h[M++]=O>>18|240,h[M++]=O>>12&63|128,h[M++]=O>>6&63|128,h[M++]=63&O|128):(h[M++]=O>>12|224,h[M++]=O>>6&63|128,h[M++]=63&O|128)}else for(L=0;L<c.length;L++)h[L]=0|c[L];return h},ee.toHex=function l(c){for(var f="",h=0;h<c.length;h++)f+=R(c[h].toString(16));return f},ee.htonl=x,ee.toHex32=function m(c,f){for(var h="",M=0;M<c.length;M++){var L=c[M];"little"===f&&(L=x(L)),h+=d(L.toString(16))}return h},ee.zero2=R,ee.zero8=d,ee.join32=function w(c,f,h,M){var L=h-f;t(L%4==0);for(var O=new Array(L/4),_=0,r=f;_<O.length;_++,r+=4)O[_]=("big"===M?c[r]<<24|c[r+1]<<16|c[r+2]<<8|c[r+3]:c[r+3]<<24|c[r+2]<<16|c[r+1]<<8|c[r])>>>0;return O},ee.split32=function y(c,f){for(var h=new Array(4*c.length),M=0,L=0;M<c.length;M++,L+=4){var O=c[M];"big"===f?(h[L]=O>>>24,h[L+1]=O>>>16&255,h[L+2]=O>>>8&255,h[L+3]=255&O):(h[L+3]=O>>>24,h[L+2]=O>>>16&255,h[L+1]=O>>>8&255,h[L]=255&O)}return h},ee.rotr32=function T(c,f){return c>>>f|c<<32-f},ee.rotl32=function k(c,f){return c<<f|c>>>32-f},ee.sum32=function F(c,f){return c+f>>>0},ee.sum32_3=function V(c,f,h){return c+f+h>>>0},ee.sum32_4=function U(c,f,h,M){return c+f+h+M>>>0},ee.sum32_5=function G(c,f,h,M,L){return c+f+h+M+L>>>0},ee.sum64=function Y(c,f,h,M){var _=M+c[f+1]>>>0;c[f]=(_<M?1:0)+h+c[f]>>>0,c[f+1]=_},ee.sum64_hi=function $(c,f,h,M){return(f+M>>>0<f?1:0)+c+h>>>0},ee.sum64_lo=function Z(c,f,h,M){return f+M>>>0},ee.sum64_4_hi=function ie(c,f,h,M,L,O,_,r){var v=0,z=f;return v+=(z=z+M>>>0)<f?1:0,v+=(z=z+O>>>0)<O?1:0,c+h+L+_+(v+=(z=z+r>>>0)<r?1:0)>>>0},ee.sum64_4_lo=function ve(c,f,h,M,L,O,_,r){return f+M+O+r>>>0},ee.sum64_5_hi=function ae(c,f,h,M,L,O,_,r,v,z){var N=0,ne=f;return N+=(ne=ne+M>>>0)<f?1:0,N+=(ne=ne+O>>>0)<O?1:0,N+=(ne=ne+r>>>0)<r?1:0,c+h+L+_+v+(N+=(ne=ne+z>>>0)<z?1:0)>>>0},ee.sum64_5_lo=function ye(c,f,h,M,L,O,_,r,v,z){return f+M+O+r+z>>>0},ee.rotr64_hi=function ue(c,f,h){return(f<<32-h|c>>>h)>>>0},ee.rotr64_lo=function be(c,f,h){return(c<<32-h|f>>>h)>>>0},ee.shr64_hi=function D(c,f,h){return c>>>h},ee.shr64_lo=function n(c,f,h){return(c<<32-h|f>>>h)>>>0}},8368:(Ve,ee,p)=>{"use strict";var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,C=p(5992);Ve.exports=C.call(t,e)},3556:(Ve,ee,p)=>{"use strict";var t=p(2529),e=p(1832),C=p(9210);function S(l){if(!(this instanceof S))return new S(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 x=e.toArray(l.entropy,l.entropyEnc||"hex"),m=e.toArray(l.nonce,l.nonceEnc||"hex"),R=e.toArray(l.pers,l.persEnc||"hex");C(x.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(x,m,R)}Ve.exports=S,S.prototype._init=function(x,m,R){var d=x.concat(m).concat(R);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var w=0;w<this.V.length;w++)this.K[w]=0,this.V[w]=1;this._update(d),this._reseed=1,this.reseedInterval=281474976710656},S.prototype._hmac=function(){return new t.hmac(this.hash,this.K)},S.prototype._update=function(x){var m=this._hmac().update(this.V).update([0]);x&&(m=m.update(x)),this.K=m.digest(),this.V=this._hmac().update(this.V).digest(),x&&(this.K=this._hmac().update(this.V).update([1]).update(x).digest(),this.V=this._hmac().update(this.V).digest())},S.prototype.reseed=function(x,m,R,d){"string"!=typeof m&&(d=R,R=m,m=null),x=e.toArray(x,m),R=e.toArray(R,d),C(x.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(x.concat(R||[])),this._reseed=1},S.prototype.generate=function(x,m,R,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof m&&(d=R,R=m,m=null),R&&(R=e.toArray(R,d||"hex"),this._update(R));for(var w=[];w.length<x;)this.V=this._hmac().update(this.V).digest(),w=w.concat(this.V);var y=w.slice(0,x);return this._update(R),this._reseed++,e.encode(y,m)}},2020:(Ve,ee)=>{ee.read=function(p,t,e,C,S){var l,x,m=8*S-C-1,R=(1<<m)-1,d=R>>1,w=-7,y=e?S-1:0,T=e?-1:1,k=p[t+y];for(y+=T,l=k&(1<<-w)-1,k>>=-w,w+=m;w>0;l=256*l+p[t+y],y+=T,w-=8);for(x=l&(1<<-w)-1,l>>=-w,w+=C;w>0;x=256*x+p[t+y],y+=T,w-=8);if(0===l)l=1-d;else{if(l===R)return x?NaN:1/0*(k?-1:1);x+=Math.pow(2,C),l-=d}return(k?-1:1)*x*Math.pow(2,l-C)},ee.write=function(p,t,e,C,S,l){var x,m,R,d=8*l-S-1,w=(1<<d)-1,y=w>>1,T=23===S?Math.pow(2,-24)-Math.pow(2,-77):0,k=C?0:l-1,F=C?1:-1,V=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,x=w):(x=Math.floor(Math.log(t)/Math.LN2),t*(R=Math.pow(2,-x))<1&&(x--,R*=2),(t+=x+y>=1?T/R:T*Math.pow(2,1-y))*R>=2&&(x++,R/=2),x+y>=w?(m=0,x=w):x+y>=1?(m=(t*R-1)*Math.pow(2,S),x+=y):(m=t*Math.pow(2,y-1)*Math.pow(2,S),x=0));S>=8;p[e+k]=255&m,k+=F,m/=256,S-=8);for(x=x<<S|m,d+=S;d>0;p[e+k]=255&x,k+=F,x/=256,d-=8);p[e+k-F]|=128*V}},1993:Ve=>{Ve.exports="function"==typeof Object.create?function(p,t){t&&(p.super_=t,p.prototype=Object.create(t.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:function(p,t){if(t){p.super_=t;var e=function(){};e.prototype=t.prototype,p.prototype=new e,p.prototype.constructor=p}}},8239:Ve=>{"use strict";var t,e,ee=Function.prototype.toString,p="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof p&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw e}}),e={},p(function(){throw 42},null,t)}catch(G){G!==e&&(p=null)}else p=null;var C=/^\s*class\b/,S=function(Y){try{var $=ee.call(Y);return C.test($)}catch{return!1}},l=function(Y){try{return!S(Y)&&(ee.call(Y),!0)}catch{return!1}},x=Object.prototype.toString,k="function"==typeof Symbol&&!!Symbol.toStringTag,F=!(0 in[,]),V=function(){return!1};if("object"==typeof document){var U=document.all;x.call(U)===x.call(document.all)&&(V=function(Y){if((F||!Y)&&(typeof Y>"u"||"object"==typeof Y))try{var $=x.call(Y);return("[object HTMLAllCollection]"===$||"[object HTML document.all class]"===$||"[object HTMLCollection]"===$||"[object Object]"===$)&&null==Y("")}catch{}return!1})}Ve.exports=p?function(Y){if(V(Y))return!0;if(!Y||"function"!=typeof Y&&"object"!=typeof Y)return!1;try{p(Y,null,t)}catch($){if($!==e)return!1}return!S(Y)&&l(Y)}:function(Y){if(V(Y))return!0;if(!Y||"function"!=typeof Y&&"object"!=typeof Y)return!1;if(k)return l(Y);if(S(Y))return!1;var $=x.call(Y);return!("[object Function]"!==$&&"[object GeneratorFunction]"!==$&&!/^\[object HTML/.test($))&&l(Y)}},4729:(Ve,ee,p)=>{"use strict";var t=p(4068);Ve.exports=function(C){return!!t(C)}},53:Ve=>{var ee={}.toString;Ve.exports=Array.isArray||function(p){return"[object Array]"==ee.call(p)}},837:Ve=>{"use strict";Ve.exports=Math.abs},3383:Ve=>{"use strict";Ve.exports=Math.floor},5488:Ve=>{"use strict";Ve.exports=Number.isNaN||function(p){return p!=p}},9039:Ve=>{"use strict";Ve.exports=Math.max},4981:Ve=>{"use strict";Ve.exports=Math.min},975:Ve=>{"use strict";Ve.exports=Math.pow},5337:Ve=>{"use strict";Ve.exports=Math.round},4912:(Ve,ee,p)=>{"use strict";var t=p(5488);Ve.exports=function(C){return t(C)||0===C?C:C<0?-1:1}},4725:(Ve,ee,p)=>{"use strict";var t=p(1993),e=p(3686),C=p(7054).Buffer,S=new Array(16);function l(){e.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function x(y,T){return y<<T|y>>>32-T}function m(y,T,k,F,V,U,G){return x(y+(T&k|~T&F)+V+U|0,G)+T|0}function R(y,T,k,F,V,U,G){return x(y+(T&F|k&~F)+V+U|0,G)+T|0}function d(y,T,k,F,V,U,G){return x(y+(T^k^F)+V+U|0,G)+T|0}function w(y,T,k,F,V,U,G){return x(y+(k^(T|~F))+V+U|0,G)+T|0}t(l,e),l.prototype._update=function(){for(var y=S,T=0;T<16;++T)y[T]=this._block.readInt32LE(4*T);var k=this._a,F=this._b,V=this._c,U=this._d;k=m(k,F,V,U,y[0],3614090360,7),U=m(U,k,F,V,y[1],3905402710,12),V=m(V,U,k,F,y[2],606105819,17),F=m(F,V,U,k,y[3],3250441966,22),k=m(k,F,V,U,y[4],4118548399,7),U=m(U,k,F,V,y[5],1200080426,12),V=m(V,U,k,F,y[6],2821735955,17),F=m(F,V,U,k,y[7],4249261313,22),k=m(k,F,V,U,y[8],1770035416,7),U=m(U,k,F,V,y[9],2336552879,12),V=m(V,U,k,F,y[10],4294925233,17),F=m(F,V,U,k,y[11],2304563134,22),k=m(k,F,V,U,y[12],1804603682,7),U=m(U,k,F,V,y[13],4254626195,12),V=m(V,U,k,F,y[14],2792965006,17),k=R(k,F=m(F,V,U,k,y[15],1236535329,22),V,U,y[1],4129170786,5),U=R(U,k,F,V,y[6],3225465664,9),V=R(V,U,k,F,y[11],643717713,14),F=R(F,V,U,k,y[0],3921069994,20),k=R(k,F,V,U,y[5],3593408605,5),U=R(U,k,F,V,y[10],38016083,9),V=R(V,U,k,F,y[15],3634488961,14),F=R(F,V,U,k,y[4],3889429448,20),k=R(k,F,V,U,y[9],568446438,5),U=R(U,k,F,V,y[14],3275163606,9),V=R(V,U,k,F,y[3],4107603335,14),F=R(F,V,U,k,y[8],1163531501,20),k=R(k,F,V,U,y[13],2850285829,5),U=R(U,k,F,V,y[2],4243563512,9),V=R(V,U,k,F,y[7],1735328473,14),k=d(k,F=R(F,V,U,k,y[12],2368359562,20),V,U,y[5],4294588738,4),U=d(U,k,F,V,y[8],2272392833,11),V=d(V,U,k,F,y[11],1839030562,16),F=d(F,V,U,k,y[14],4259657740,23),k=d(k,F,V,U,y[1],2763975236,4),U=d(U,k,F,V,y[4],1272893353,11),V=d(V,U,k,F,y[7],4139469664,16),F=d(F,V,U,k,y[10],3200236656,23),k=d(k,F,V,U,y[13],681279174,4),U=d(U,k,F,V,y[0],3936430074,11),V=d(V,U,k,F,y[3],3572445317,16),F=d(F,V,U,k,y[6],76029189,23),k=d(k,F,V,U,y[9],3654602809,4),U=d(U,k,F,V,y[12],3873151461,11),V=d(V,U,k,F,y[15],530742520,16),k=w(k,F=d(F,V,U,k,y[2],3299628645,23),V,U,y[0],4096336452,6),U=w(U,k,F,V,y[7],1126891415,10),V=w(V,U,k,F,y[14],2878612391,15),F=w(F,V,U,k,y[5],4237533241,21),k=w(k,F,V,U,y[12],1700485571,6),U=w(U,k,F,V,y[3],2399980690,10),V=w(V,U,k,F,y[10],4293915773,15),F=w(F,V,U,k,y[1],2240044497,21),k=w(k,F,V,U,y[8],1873313359,6),U=w(U,k,F,V,y[15],4264355552,10),V=w(V,U,k,F,y[6],2734768916,15),F=w(F,V,U,k,y[13],1309151649,21),k=w(k,F,V,U,y[4],4149444226,6),U=w(U,k,F,V,y[11],3174756917,10),V=w(V,U,k,F,y[2],718787259,15),F=w(F,V,U,k,y[9],3951481745,21),this._a=this._a+k|0,this._b=this._b+F|0,this._c=this._c+V|0,this._d=this._d+U|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 y=C.allocUnsafe(16);return y.writeInt32LE(this._a,0),y.writeInt32LE(this._b,4),y.writeInt32LE(this._c,8),y.writeInt32LE(this._d,12),y},Ve.exports=l},3459:(Ve,ee,p)=>{var t=p(7223),e=p(5294);function C(S){this.rand=S||new e.Rand}Ve.exports=C,C.create=function(l){return new C(l)},C.prototype._randbelow=function(l){var x=l.bitLength(),m=Math.ceil(x/8);do{var R=new t(this.rand.generate(m))}while(R.cmp(l)>=0);return R},C.prototype._randrange=function(l,x){var m=x.sub(l);return l.add(this._randbelow(m))},C.prototype.test=function(l,x,m){var R=l.bitLength(),d=t.mont(l),w=new t(1).toRed(d);x||(x=Math.max(1,R/48|0));for(var y=l.subn(1),T=0;!y.testn(T);T++);for(var k=l.shrn(T),F=y.toRed(d);x>0;x--){var U=this._randrange(new t(2),y);m&&m(U);var G=U.toRed(d).redPow(k);if(0!==G.cmp(w)&&0!==G.cmp(F)){for(var Y=1;Y<T;Y++){if(0===(G=G.redSqr()).cmp(w))return!1;if(0===G.cmp(F))break}if(Y===T)return!1}}return!0},C.prototype.getDivisor=function(l,x){var m=l.bitLength(),R=t.mont(l),d=new t(1).toRed(R);x||(x=Math.max(1,m/48|0));for(var w=l.subn(1),y=0;!w.testn(y);y++);for(var T=l.shrn(y),k=w.toRed(R);x>0;x--){var F=this._randrange(new t(2),w),V=l.gcd(F);if(0!==V.cmpn(1))return V;var U=F.toRed(R).redPow(T);if(0!==U.cmp(d)&&0!==U.cmp(k)){for(var G=1;G<y;G++){if(0===(U=U.redSqr()).cmp(d))return U.fromRed().subn(1).gcd(l);if(0===U.cmp(k))break}if(G===y)return(U=U.redSqr()).fromRed().subn(1).gcd(l)}}return!1}},7223:function(Ve,ee,p){!function(t,e){"use strict";function C(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var c=function(){};c.prototype=n.prototype,D.prototype=new c,D.prototype.constructor=D}function l(D,n,c){if(l.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(D||0,n||10,c||"be"))}var x;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(4688).Buffer}catch{}function m(D,n){var c=D.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(D,n,c){var f=m(D,c);return c-1>=n&&(f|=m(D,c-1)<<4),f}function d(D,n,c,f){for(var h=0,M=Math.min(D.length,c),L=n;L<M;L++){var O=D.charCodeAt(L)-48;h*=f,h+=O>=49?O-49+10:O>=17?O-17+10:O}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,c){return n.cmp(c)>0?n:c},l.min=function(n,c){return n.cmp(c)<0?n:c},l.prototype._init=function(n,c,f){if("number"==typeof n)return this._initNumber(n,c,f);if("object"==typeof n)return this._initArray(n,c,f);"hex"===c&&(c=16),C(c===(0|c)&&c>=2&&c<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===c?this._parseHex(n,h,f):(this._parseBase(n,c,h),"le"===f&&this._initArray(this.toArray(),c,f)))},l.prototype._initNumber=function(n,c,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):(C(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),c,f)},l.prototype._initArray=function(n,c,f){if(C("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 M,L,O=0;if("be"===f)for(h=n.length-1,M=0;h>=0;h-=3)this.words[M]|=(L=n[h]|n[h-1]<<8|n[h-2]<<16)<<O&67108863,this.words[M+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,M++);else if("le"===f)for(h=0,M=0;h<n.length;h+=3)this.words[M]|=(L=n[h]|n[h+1]<<8|n[h+2]<<16)<<O&67108863,this.words[M+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,M++);return this.strip()},l.prototype._parseHex=function(n,c,f){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var O,M=0,L=0;if("be"===f)for(h=n.length-1;h>=c;h-=2)O=R(n,c,h)<<M,this.words[L]|=67108863&O,M>=18?(M-=18,this.words[L+=1]|=O>>>26):M+=8;else for(h=(n.length-c)%2==0?c+1:c;h<n.length;h+=2)O=R(n,c,h)<<M,this.words[L]|=67108863&O,M>=18?(M-=18,this.words[L+=1]|=O>>>26):M+=8;this.strip()},l.prototype._parseBase=function(n,c,f){this.words=[0],this.length=1;for(var h=0,M=1;M<=67108863;M*=c)h++;h--,M=M/c|0;for(var L=n.length-f,O=L%h,_=Math.min(L,L-O)+f,r=0,v=f;v<_;v+=h)r=d(n,v,v+h,c),this.imuln(M),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==O){var z=1;for(r=d(n,v,n.length,c),v=0;v<O;v++)z*=c;this.imuln(z),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 c=0;c<this.length;c++)n.words[c]=this.words[c];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 w=["","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"],y=[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],T=[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 F(D,n,c){c.negative=n.negative^D.negative;var f=D.length+n.length|0;c.length=f,f=f-1|0;var h=0|D.words[0],M=0|n.words[0],L=h*M,_=L/67108864|0;c.words[0]=67108863&L;for(var r=1;r<f;r++){for(var v=_>>>26,z=67108863&_,N=Math.min(r,n.length-1),ne=Math.max(0,r-D.length+1);ne<=N;ne++)v+=(L=(h=0|D.words[r-ne|0])*(M=0|n.words[ne])+z)/67108864|0,z=67108863&L;c.words[r]=0|z,_=0|v}return 0!==_?c.words[r]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var f;if(c=0|c||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,M=0,L=0;L<this.length;L++){var O=this.words[L],_=(16777215&(O<<h|M)).toString(16);M=O>>>24-h&16777215,(h+=2)>=26&&(h-=26,L--),f=0!==M||L!==this.length-1?w[6-_.length]+_+f:_+f}for(0!==M&&(f=M.toString(16)+f);f.length%c!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=y[n],v=T[n];f="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(v).toString(n);f=(z=z.idivn(v)).isZero()?N+f:w[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%c!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}C(!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&&C(!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,c){return C(typeof x<"u"),this.toArrayLike(x,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,f){var h=this.byteLength(),M=f||Math.max(1,h);C(h<=M,"byte array longer than desired length"),C(M>0,"Requested array length <= 0"),this.strip();var _,r,L="le"===c,O=new n(M),v=this.clone();if(L){for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),O[r]=_;for(;r<M;r++)O[r]=0}else{for(r=0;r<M-h;r++)O[r]=0;for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),O[M-r-1]=_}return O},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var c=n,f=0;return c>=4096&&(f+=13,c>>>=13),c>=64&&(f+=7,c>>>=7),c>=8&&(f+=4,c>>>=4),c>=2&&(f+=2,c>>>=2),f+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,f=0;return 8191&c||(f+=13,c>>>=13),127&c||(f+=7,c>>>=7),15&c||(f+=4,c>>>=4),3&c||(f+=2,c>>>=2),1&c||f++,f},l.prototype.bitLength=function(){var c=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+c},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;c<this.length;c++){var f=this._zeroBits(this.words[c]);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 c=0;c<n.length;c++)this.words[c]=this.words[c]|n.words[c];return this.strip()},l.prototype.ior=function(n){return C(!(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 c;c=this.length>n.length?n:this;for(var f=0;f<c.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=c.length,this.strip()},l.prototype.iand=function(n){return C(!(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 c,f;this.length>n.length?(c=this,f=n):(c=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=c.words[h]^f.words[h];if(this!==c)for(;h<c.length;h++)this.words[h]=c.words[h];return this.length=c.length,this.strip()},l.prototype.ixor=function(n){return C(!(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){C("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),f=n%26;this._expand(c),f>0&&c--;for(var h=0;h<c;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,c){C("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=c?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var c,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,c=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,c=this.isub(n),n.negative=1,c._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var M=0,L=0;L<h.length;L++)this.words[L]=67108863&(c=(0|f.words[L])+(0|h.words[L])+M),M=c>>>26;for(;0!==M&&L<f.length;L++)this.words[L]=67108863&(c=(0|f.words[L])+M),M=c>>>26;if(this.length=f.length,0!==M)this.words[this.length]=M,this.length++;else if(f!==this)for(;L<f.length;L++)this.words[L]=f.words[L];return this},l.prototype.add=function(n){var c;return 0!==n.negative&&0===this.negative?(n.negative=0,c=this.sub(n),n.negative^=1,c):0===n.negative&&0!==this.negative?(this.negative=0,c=n.sub(this),this.negative=1,c):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 c=this.iadd(n);return n.negative=1,c._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,M,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,M=n):(h=n,M=this);for(var L=0,O=0;O<M.length;O++)L=(c=(0|h.words[O])-(0|M.words[O])+L)>>26,this.words[O]=67108863&c;for(;0!==L&&O<h.length;O++)L=(c=(0|h.words[O])+L)>>26,this.words[O]=67108863&c;if(0===L&&O<h.length&&h!==this)for(;O<h.length;O++)this.words[O]=h.words[O];return this.length=Math.max(this.length,O),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var V=function(n,c,f){var _,r,v,h=n.words,M=c.words,L=f.words,O=0,z=0|h[0],N=8191&z,ne=z>>>13,Ie=0|h[1],at=8191&Ie,Ye=Ie>>>13,rt=0|h[2],re=8191&rt,te=rt>>>13,oe=0|h[3],_e=8191&oe,de=oe>>>13,pe=0|h[4],We=8191&pe,se=pe>>>13,fe=0|h[5],he=8191&fe,et=fe>>>13,Ke=0|h[6],Ct=8191&Ke,_t=Ke>>>13,Nt=0|h[7],ke=8191&Nt,Je=Nt>>>13,Qe=0|h[8],nt=8191&Qe,Ue=Qe>>>13,ht=0|h[9],tt=8191&ht,wt=ht>>>13,ut=0|M[0],vt=8191&ut,Ze=ut>>>13,jt=0|M[1],qe=8191&jt,dt=jt>>>13,Le=0|M[2],Vt=8191&Le,Zt=Le>>>13,Et=0|M[3],je=8191&Et,me=Et>>>13,xe=0|M[4],ce=8191&xe,Me=xe>>>13,Xe=0|M[5],Pe=8191&Xe,Oe=Xe>>>13,we=0|M[6],De=8191&we,$e=we>>>13,$t=0|M[7],Ft=8191&$t,Kt=$t>>>13,fi=0|M[8],Qt=8191&fi,zt=fi>>>13,Xi=0|M[9],ci=8191&Xi,ui=Xi>>>13;f.negative=n.negative^c.negative,f.length=19;var bn=(O+(_=Math.imul(N,vt))|0)+((8191&(r=(r=Math.imul(N,Ze))+Math.imul(ne,vt)|0))<<13)|0;O=((v=Math.imul(ne,Ze))+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,_=Math.imul(at,vt),r=(r=Math.imul(at,Ze))+Math.imul(Ye,vt)|0,v=Math.imul(Ye,Ze);var Qi=(O+(_=_+Math.imul(N,qe)|0)|0)+((8191&(r=(r=r+Math.imul(N,dt)|0)+Math.imul(ne,qe)|0))<<13)|0;O=((v=v+Math.imul(ne,dt)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(re,vt),r=(r=Math.imul(re,Ze))+Math.imul(te,vt)|0,v=Math.imul(te,Ze),_=_+Math.imul(at,qe)|0,r=(r=r+Math.imul(at,dt)|0)+Math.imul(Ye,qe)|0,v=v+Math.imul(Ye,dt)|0;var Li=(O+(_=_+Math.imul(N,Vt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(ne,Vt)|0))<<13)|0;O=((v=v+Math.imul(ne,Zt)|0)+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,_=Math.imul(_e,vt),r=(r=Math.imul(_e,Ze))+Math.imul(de,vt)|0,v=Math.imul(de,Ze),_=_+Math.imul(re,qe)|0,r=(r=r+Math.imul(re,dt)|0)+Math.imul(te,qe)|0,v=v+Math.imul(te,dt)|0,_=_+Math.imul(at,Vt)|0,r=(r=r+Math.imul(at,Zt)|0)+Math.imul(Ye,Vt)|0,v=v+Math.imul(Ye,Zt)|0;var nn=(O+(_=_+Math.imul(N,je)|0)|0)+((8191&(r=(r=r+Math.imul(N,me)|0)+Math.imul(ne,je)|0))<<13)|0;O=((v=v+Math.imul(ne,me)|0)+(r>>>13)|0)+(nn>>>26)|0,nn&=67108863,_=Math.imul(We,vt),r=(r=Math.imul(We,Ze))+Math.imul(se,vt)|0,v=Math.imul(se,Ze),_=_+Math.imul(_e,qe)|0,r=(r=r+Math.imul(_e,dt)|0)+Math.imul(de,qe)|0,v=v+Math.imul(de,dt)|0,_=_+Math.imul(re,Vt)|0,r=(r=r+Math.imul(re,Zt)|0)+Math.imul(te,Vt)|0,v=v+Math.imul(te,Zt)|0,_=_+Math.imul(at,je)|0,r=(r=r+Math.imul(at,me)|0)+Math.imul(Ye,je)|0,v=v+Math.imul(Ye,me)|0;var st=(O+(_=_+Math.imul(N,ce)|0)|0)+((8191&(r=(r=r+Math.imul(N,Me)|0)+Math.imul(ne,ce)|0))<<13)|0;O=((v=v+Math.imul(ne,Me)|0)+(r>>>13)|0)+(st>>>26)|0,st&=67108863,_=Math.imul(he,vt),r=(r=Math.imul(he,Ze))+Math.imul(et,vt)|0,v=Math.imul(et,Ze),_=_+Math.imul(We,qe)|0,r=(r=r+Math.imul(We,dt)|0)+Math.imul(se,qe)|0,v=v+Math.imul(se,dt)|0,_=_+Math.imul(_e,Vt)|0,r=(r=r+Math.imul(_e,Zt)|0)+Math.imul(de,Vt)|0,v=v+Math.imul(de,Zt)|0,_=_+Math.imul(re,je)|0,r=(r=r+Math.imul(re,me)|0)+Math.imul(te,je)|0,v=v+Math.imul(te,me)|0,_=_+Math.imul(at,ce)|0,r=(r=r+Math.imul(at,Me)|0)+Math.imul(Ye,ce)|0,v=v+Math.imul(Ye,Me)|0;var ii=(O+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(r=(r=r+Math.imul(N,Oe)|0)+Math.imul(ne,Pe)|0))<<13)|0;O=((v=v+Math.imul(ne,Oe)|0)+(r>>>13)|0)+(ii>>>26)|0,ii&=67108863,_=Math.imul(Ct,vt),r=(r=Math.imul(Ct,Ze))+Math.imul(_t,vt)|0,v=Math.imul(_t,Ze),_=_+Math.imul(he,qe)|0,r=(r=r+Math.imul(he,dt)|0)+Math.imul(et,qe)|0,v=v+Math.imul(et,dt)|0,_=_+Math.imul(We,Vt)|0,r=(r=r+Math.imul(We,Zt)|0)+Math.imul(se,Vt)|0,v=v+Math.imul(se,Zt)|0,_=_+Math.imul(_e,je)|0,r=(r=r+Math.imul(_e,me)|0)+Math.imul(de,je)|0,v=v+Math.imul(de,me)|0,_=_+Math.imul(re,ce)|0,r=(r=r+Math.imul(re,Me)|0)+Math.imul(te,ce)|0,v=v+Math.imul(te,Me)|0,_=_+Math.imul(at,Pe)|0,r=(r=r+Math.imul(at,Oe)|0)+Math.imul(Ye,Pe)|0,v=v+Math.imul(Ye,Oe)|0;var Se=(O+(_=_+Math.imul(N,De)|0)|0)+((8191&(r=(r=r+Math.imul(N,$e)|0)+Math.imul(ne,De)|0))<<13)|0;O=((v=v+Math.imul(ne,$e)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,_=Math.imul(ke,vt),r=(r=Math.imul(ke,Ze))+Math.imul(Je,vt)|0,v=Math.imul(Je,Ze),_=_+Math.imul(Ct,qe)|0,r=(r=r+Math.imul(Ct,dt)|0)+Math.imul(_t,qe)|0,v=v+Math.imul(_t,dt)|0,_=_+Math.imul(he,Vt)|0,r=(r=r+Math.imul(he,Zt)|0)+Math.imul(et,Vt)|0,v=v+Math.imul(et,Zt)|0,_=_+Math.imul(We,je)|0,r=(r=r+Math.imul(We,me)|0)+Math.imul(se,je)|0,v=v+Math.imul(se,me)|0,_=_+Math.imul(_e,ce)|0,r=(r=r+Math.imul(_e,Me)|0)+Math.imul(de,ce)|0,v=v+Math.imul(de,Me)|0,_=_+Math.imul(re,Pe)|0,r=(r=r+Math.imul(re,Oe)|0)+Math.imul(te,Pe)|0,v=v+Math.imul(te,Oe)|0,_=_+Math.imul(at,De)|0,r=(r=r+Math.imul(at,$e)|0)+Math.imul(Ye,De)|0,v=v+Math.imul(Ye,$e)|0;var Mt=(O+(_=_+Math.imul(N,Ft)|0)|0)+((8191&(r=(r=r+Math.imul(N,Kt)|0)+Math.imul(ne,Ft)|0))<<13)|0;O=((v=v+Math.imul(ne,Kt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul(nt,vt),r=(r=Math.imul(nt,Ze))+Math.imul(Ue,vt)|0,v=Math.imul(Ue,Ze),_=_+Math.imul(ke,qe)|0,r=(r=r+Math.imul(ke,dt)|0)+Math.imul(Je,qe)|0,v=v+Math.imul(Je,dt)|0,_=_+Math.imul(Ct,Vt)|0,r=(r=r+Math.imul(Ct,Zt)|0)+Math.imul(_t,Vt)|0,v=v+Math.imul(_t,Zt)|0,_=_+Math.imul(he,je)|0,r=(r=r+Math.imul(he,me)|0)+Math.imul(et,je)|0,v=v+Math.imul(et,me)|0,_=_+Math.imul(We,ce)|0,r=(r=r+Math.imul(We,Me)|0)+Math.imul(se,ce)|0,v=v+Math.imul(se,Me)|0,_=_+Math.imul(_e,Pe)|0,r=(r=r+Math.imul(_e,Oe)|0)+Math.imul(de,Pe)|0,v=v+Math.imul(de,Oe)|0,_=_+Math.imul(re,De)|0,r=(r=r+Math.imul(re,$e)|0)+Math.imul(te,De)|0,v=v+Math.imul(te,$e)|0,_=_+Math.imul(at,Ft)|0,r=(r=r+Math.imul(at,Kt)|0)+Math.imul(Ye,Ft)|0,v=v+Math.imul(Ye,Kt)|0;var Pt=(O+(_=_+Math.imul(N,Qt)|0)|0)+((8191&(r=(r=r+Math.imul(N,zt)|0)+Math.imul(ne,Qt)|0))<<13)|0;O=((v=v+Math.imul(ne,zt)|0)+(r>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,_=Math.imul(tt,vt),r=(r=Math.imul(tt,Ze))+Math.imul(wt,vt)|0,v=Math.imul(wt,Ze),_=_+Math.imul(nt,qe)|0,r=(r=r+Math.imul(nt,dt)|0)+Math.imul(Ue,qe)|0,v=v+Math.imul(Ue,dt)|0,_=_+Math.imul(ke,Vt)|0,r=(r=r+Math.imul(ke,Zt)|0)+Math.imul(Je,Vt)|0,v=v+Math.imul(Je,Zt)|0,_=_+Math.imul(Ct,je)|0,r=(r=r+Math.imul(Ct,me)|0)+Math.imul(_t,je)|0,v=v+Math.imul(_t,me)|0,_=_+Math.imul(he,ce)|0,r=(r=r+Math.imul(he,Me)|0)+Math.imul(et,ce)|0,v=v+Math.imul(et,Me)|0,_=_+Math.imul(We,Pe)|0,r=(r=r+Math.imul(We,Oe)|0)+Math.imul(se,Pe)|0,v=v+Math.imul(se,Oe)|0,_=_+Math.imul(_e,De)|0,r=(r=r+Math.imul(_e,$e)|0)+Math.imul(de,De)|0,v=v+Math.imul(de,$e)|0,_=_+Math.imul(re,Ft)|0,r=(r=r+Math.imul(re,Kt)|0)+Math.imul(te,Ft)|0,v=v+Math.imul(te,Kt)|0,_=_+Math.imul(at,Qt)|0,r=(r=r+Math.imul(at,zt)|0)+Math.imul(Ye,Qt)|0,v=v+Math.imul(Ye,zt)|0;var ai=(O+(_=_+Math.imul(N,ci)|0)|0)+((8191&(r=(r=r+Math.imul(N,ui)|0)+Math.imul(ne,ci)|0))<<13)|0;O=((v=v+Math.imul(ne,ui)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,_=Math.imul(tt,qe),r=(r=Math.imul(tt,dt))+Math.imul(wt,qe)|0,v=Math.imul(wt,dt),_=_+Math.imul(nt,Vt)|0,r=(r=r+Math.imul(nt,Zt)|0)+Math.imul(Ue,Vt)|0,v=v+Math.imul(Ue,Zt)|0,_=_+Math.imul(ke,je)|0,r=(r=r+Math.imul(ke,me)|0)+Math.imul(Je,je)|0,v=v+Math.imul(Je,me)|0,_=_+Math.imul(Ct,ce)|0,r=(r=r+Math.imul(Ct,Me)|0)+Math.imul(_t,ce)|0,v=v+Math.imul(_t,Me)|0,_=_+Math.imul(he,Pe)|0,r=(r=r+Math.imul(he,Oe)|0)+Math.imul(et,Pe)|0,v=v+Math.imul(et,Oe)|0,_=_+Math.imul(We,De)|0,r=(r=r+Math.imul(We,$e)|0)+Math.imul(se,De)|0,v=v+Math.imul(se,$e)|0,_=_+Math.imul(_e,Ft)|0,r=(r=r+Math.imul(_e,Kt)|0)+Math.imul(de,Ft)|0,v=v+Math.imul(de,Kt)|0,_=_+Math.imul(re,Qt)|0,r=(r=r+Math.imul(re,zt)|0)+Math.imul(te,Qt)|0,v=v+Math.imul(te,zt)|0;var Ei=(O+(_=_+Math.imul(at,ci)|0)|0)+((8191&(r=(r=r+Math.imul(at,ui)|0)+Math.imul(Ye,ci)|0))<<13)|0;O=((v=v+Math.imul(Ye,ui)|0)+(r>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,_=Math.imul(tt,Vt),r=(r=Math.imul(tt,Zt))+Math.imul(wt,Vt)|0,v=Math.imul(wt,Zt),_=_+Math.imul(nt,je)|0,r=(r=r+Math.imul(nt,me)|0)+Math.imul(Ue,je)|0,v=v+Math.imul(Ue,me)|0,_=_+Math.imul(ke,ce)|0,r=(r=r+Math.imul(ke,Me)|0)+Math.imul(Je,ce)|0,v=v+Math.imul(Je,Me)|0,_=_+Math.imul(Ct,Pe)|0,r=(r=r+Math.imul(Ct,Oe)|0)+Math.imul(_t,Pe)|0,v=v+Math.imul(_t,Oe)|0,_=_+Math.imul(he,De)|0,r=(r=r+Math.imul(he,$e)|0)+Math.imul(et,De)|0,v=v+Math.imul(et,$e)|0,_=_+Math.imul(We,Ft)|0,r=(r=r+Math.imul(We,Kt)|0)+Math.imul(se,Ft)|0,v=v+Math.imul(se,Kt)|0,_=_+Math.imul(_e,Qt)|0,r=(r=r+Math.imul(_e,zt)|0)+Math.imul(de,Qt)|0,v=v+Math.imul(de,zt)|0;var Hi=(O+(_=_+Math.imul(re,ci)|0)|0)+((8191&(r=(r=r+Math.imul(re,ui)|0)+Math.imul(te,ci)|0))<<13)|0;O=((v=v+Math.imul(te,ui)|0)+(r>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul(tt,je),r=(r=Math.imul(tt,me))+Math.imul(wt,je)|0,v=Math.imul(wt,me),_=_+Math.imul(nt,ce)|0,r=(r=r+Math.imul(nt,Me)|0)+Math.imul(Ue,ce)|0,v=v+Math.imul(Ue,Me)|0,_=_+Math.imul(ke,Pe)|0,r=(r=r+Math.imul(ke,Oe)|0)+Math.imul(Je,Pe)|0,v=v+Math.imul(Je,Oe)|0,_=_+Math.imul(Ct,De)|0,r=(r=r+Math.imul(Ct,$e)|0)+Math.imul(_t,De)|0,v=v+Math.imul(_t,$e)|0,_=_+Math.imul(he,Ft)|0,r=(r=r+Math.imul(he,Kt)|0)+Math.imul(et,Ft)|0,v=v+Math.imul(et,Kt)|0,_=_+Math.imul(We,Qt)|0,r=(r=r+Math.imul(We,zt)|0)+Math.imul(se,Qt)|0,v=v+Math.imul(se,zt)|0;var $i=(O+(_=_+Math.imul(_e,ci)|0)|0)+((8191&(r=(r=r+Math.imul(_e,ui)|0)+Math.imul(de,ci)|0))<<13)|0;O=((v=v+Math.imul(de,ui)|0)+(r>>>13)|0)+($i>>>26)|0,$i&=67108863,_=Math.imul(tt,ce),r=(r=Math.imul(tt,Me))+Math.imul(wt,ce)|0,v=Math.imul(wt,Me),_=_+Math.imul(nt,Pe)|0,r=(r=r+Math.imul(nt,Oe)|0)+Math.imul(Ue,Pe)|0,v=v+Math.imul(Ue,Oe)|0,_=_+Math.imul(ke,De)|0,r=(r=r+Math.imul(ke,$e)|0)+Math.imul(Je,De)|0,v=v+Math.imul(Je,$e)|0,_=_+Math.imul(Ct,Ft)|0,r=(r=r+Math.imul(Ct,Kt)|0)+Math.imul(_t,Ft)|0,v=v+Math.imul(_t,Kt)|0,_=_+Math.imul(he,Qt)|0,r=(r=r+Math.imul(he,zt)|0)+Math.imul(et,Qt)|0,v=v+Math.imul(et,zt)|0;var hn=(O+(_=_+Math.imul(We,ci)|0)|0)+((8191&(r=(r=r+Math.imul(We,ui)|0)+Math.imul(se,ci)|0))<<13)|0;O=((v=v+Math.imul(se,ui)|0)+(r>>>13)|0)+(hn>>>26)|0,hn&=67108863,_=Math.imul(tt,Pe),r=(r=Math.imul(tt,Oe))+Math.imul(wt,Pe)|0,v=Math.imul(wt,Oe),_=_+Math.imul(nt,De)|0,r=(r=r+Math.imul(nt,$e)|0)+Math.imul(Ue,De)|0,v=v+Math.imul(Ue,$e)|0,_=_+Math.imul(ke,Ft)|0,r=(r=r+Math.imul(ke,Kt)|0)+Math.imul(Je,Ft)|0,v=v+Math.imul(Je,Kt)|0,_=_+Math.imul(Ct,Qt)|0,r=(r=r+Math.imul(Ct,zt)|0)+Math.imul(_t,Qt)|0,v=v+Math.imul(_t,zt)|0;var Fi=(O+(_=_+Math.imul(he,ci)|0)|0)+((8191&(r=(r=r+Math.imul(he,ui)|0)+Math.imul(et,ci)|0))<<13)|0;O=((v=v+Math.imul(et,ui)|0)+(r>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,_=Math.imul(tt,De),r=(r=Math.imul(tt,$e))+Math.imul(wt,De)|0,v=Math.imul(wt,$e),_=_+Math.imul(nt,Ft)|0,r=(r=r+Math.imul(nt,Kt)|0)+Math.imul(Ue,Ft)|0,v=v+Math.imul(Ue,Kt)|0,_=_+Math.imul(ke,Qt)|0,r=(r=r+Math.imul(ke,zt)|0)+Math.imul(Je,Qt)|0,v=v+Math.imul(Je,zt)|0;var _n=(O+(_=_+Math.imul(Ct,ci)|0)|0)+((8191&(r=(r=r+Math.imul(Ct,ui)|0)+Math.imul(_t,ci)|0))<<13)|0;O=((v=v+Math.imul(_t,ui)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,_=Math.imul(tt,Ft),r=(r=Math.imul(tt,Kt))+Math.imul(wt,Ft)|0,v=Math.imul(wt,Kt),_=_+Math.imul(nt,Qt)|0,r=(r=r+Math.imul(nt,zt)|0)+Math.imul(Ue,Qt)|0,v=v+Math.imul(Ue,zt)|0;var mn=(O+(_=_+Math.imul(ke,ci)|0)|0)+((8191&(r=(r=r+Math.imul(ke,ui)|0)+Math.imul(Je,ci)|0))<<13)|0;O=((v=v+Math.imul(Je,ui)|0)+(r>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul(tt,Qt),r=(r=Math.imul(tt,zt))+Math.imul(wt,Qt)|0,v=Math.imul(wt,zt);var Dt=(O+(_=_+Math.imul(nt,ci)|0)|0)+((8191&(r=(r=r+Math.imul(nt,ui)|0)+Math.imul(Ue,ci)|0))<<13)|0;O=((v=v+Math.imul(Ue,ui)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var ct=(O+(_=Math.imul(tt,ci))|0)+((8191&(r=(r=Math.imul(tt,ui))+Math.imul(wt,ci)|0))<<13)|0;return O=((v=Math.imul(wt,ui))+(r>>>13)|0)+(ct>>>26)|0,ct&=67108863,L[0]=bn,L[1]=Qi,L[2]=Li,L[3]=nn,L[4]=st,L[5]=ii,L[6]=Se,L[7]=Mt,L[8]=Pt,L[9]=ai,L[10]=Ei,L[11]=Hi,L[12]=$i,L[13]=hn,L[14]=Fi,L[15]=_n,L[16]=mn,L[17]=Dt,L[18]=ct,0!==O&&(L[19]=O,f.length++),f};function G(D,n,c){return(new Y).mulp(D,n,c)}function Y(D,n){this.x=D,this.y=n}Math.imul||(V=F),l.prototype.mulTo=function(n,c){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?V(this,n,c):h<63?F(this,n,c):h<1024?function U(D,n,c){c.negative=n.negative^D.negative,c.length=D.length+n.length;for(var f=0,h=0,M=0;M<c.length-1;M++){var L=h;h=0;for(var O=67108863&f,_=Math.min(M,n.length-1),r=Math.max(0,M-D.length+1);r<=_;r++){var ne=(0|D.words[M-r])*(0|n.words[r]),Ie=67108863≠O=67108863&(Ie=Ie+O|0),h+=(L=(L=L+(ne/67108864|0)|0)+(Ie>>>26)|0)>>>26,L&=67108863}c.words[M]=O,f=L,L=h}return 0!==f?c.words[M]=f:c.length--,c.strip()}(this,n,c):G(this,n,c),f},Y.prototype.makeRBT=function(n){for(var c=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)c[h]=this.revBin(h,f,n);return c},Y.prototype.revBin=function(n,c,f){if(0===n||n===f-1)return n;for(var h=0,M=0;M<c;M++)h|=(1&n)<<c-M-1,n>>=1;return h},Y.prototype.permute=function(n,c,f,h,M,L){for(var O=0;O<L;O++)h[O]=c[n[O]],M[O]=f[n[O]]},Y.prototype.transform=function(n,c,f,h,M,L){this.permute(L,n,c,f,h,M);for(var O=1;O<M;O<<=1)for(var _=O<<1,r=Math.cos(2*Math.PI/_),v=Math.sin(2*Math.PI/_),z=0;z<M;z+=_)for(var N=r,ne=v,Ie=0;Ie<O;Ie++){var at=f[z+Ie],Ye=h[z+Ie],rt=f[z+Ie+O],re=h[z+Ie+O],te=N*rt-ne*re;re=N*re+ne*rt,f[z+Ie]=at+(rt=te),h[z+Ie]=Ye+re,f[z+Ie+O]=at-rt,h[z+Ie+O]=Ye-re,Ie!==_&&(te=r*N-v*ne,ne=r*ne+v*N,N=te)}},Y.prototype.guessLen13b=function(n,c){var f=1|Math.max(c,n),h=1&f,M=0;for(f=f/2|0;f;f>>>=1)M++;return 1<<M+1+h},Y.prototype.conjugate=function(n,c,f){if(!(f<=1))for(var h=0;h<f/2;h++){var M=n[h];n[h]=n[f-h-1],n[f-h-1]=M,M=c[h],c[h]=-c[f-h-1],c[f-h-1]=-M}},Y.prototype.normalize13b=function(n,c){for(var f=0,h=0;h<c/2;h++){var M=8192*Math.round(n[2*h+1]/c)+Math.round(n[2*h]/c)+f;n[h]=67108863&M,f=M<67108864?0:M/67108864|0}return n},Y.prototype.convert13b=function(n,c,f,h){for(var M=0,L=0;L<c;L++)f[2*L]=8191&(M+=0|n[L]),f[2*L+1]=8191&(M>>>=13),M>>>=13;for(L=2*c;L<h;++L)f[L]=0;C(0===M),C(!(-8192&M))},Y.prototype.stub=function(n){for(var c=new Array(n),f=0;f<n;f++)c[f]=0;return c},Y.prototype.mulp=function(n,c,f){var h=2*this.guessLen13b(n.length,c.length),M=this.makeRBT(h),L=this.stub(h),O=new Array(h),_=new Array(h),r=new Array(h),v=new Array(h),z=new Array(h),N=new Array(h),ne=f.words;ne.length=h,this.convert13b(n.words,n.length,O,h),this.convert13b(c.words,c.length,v,h),this.transform(O,L,_,r,h,M),this.transform(v,L,z,N,h,M);for(var Ie=0;Ie<h;Ie++){var at=_[Ie]*z[Ie]-r[Ie]*N[Ie];r[Ie]=_[Ie]*N[Ie]+r[Ie]*z[Ie],_[Ie]=at}return this.conjugate(_,r,h),this.transform(_,r,ne,L,h,M),this.conjugate(ne,L,h),this.normalize13b(ne,h),f.negative=n.negative^c.negative,f.length=n.length+c.length,f.strip()},l.prototype.mul=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},l.prototype.mulf=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),G(this,n,c)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){C("number"==typeof n),C(n<67108864);for(var c=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,M=(67108863&h)+(67108863&c);c>>=26,c+=h/67108864|0,c+=M>>>26,this.words[f]=67108863&M}return 0!==c&&(this.words[f]=c,this.length++),this.length=0===n?1: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 c=function k(D){for(var n=new Array(D.bitLength()),c=0;c<n.length;c++){var h=c%26;n[c]=(D.words[c/26|0]&1<<h)>>>h}return n}(n);if(0===c.length)return new l(1);for(var f=this,h=0;h<c.length&&0===c[h];h++,f=f.sqr());if(++h<c.length)for(var M=f.sqr();h<c.length;h++,M=M.sqr())0!==c[h]&&(f=f.mul(M));return f},l.prototype.iushln=function(n){C("number"==typeof n&&n>=0);var M,c=n%26,f=(n-c)/26,h=67108863>>>26-c<<26-c;if(0!==c){var L=0;for(M=0;M<this.length;M++){var O=this.words[M]&h;this.words[M]=(0|this.words[M])-O<<c|L,L=O>>>26-c}L&&(this.words[M]=L,this.length++)}if(0!==f){for(M=this.length-1;M>=0;M--)this.words[M+f]=this.words[M];for(M=0;M<f;M++)this.words[M]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return C(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,c,f){var h;C("number"==typeof n&&n>=0),h=c?(c-c%26)/26:0;var M=n%26,L=Math.min((n-M)/26,this.length),O=67108863^67108863>>>M<<M,_=f;if(h-=L,h=Math.max(0,h),_){for(var r=0;r<L;r++)_.words[r]=this.words[r];_.length=L}if(0!==L)if(this.length>L)for(this.length-=L,r=0;r<this.length;r++)this.words[r]=this.words[r+L];else this.words[0]=0,this.length=1;var v=0;for(r=this.length-1;r>=0&&(0!==v||r>=h);r--){var z=0|this.words[r];this.words[r]=v<<26-M|z>>>M,v=z&O}return _&&0!==v&&(_.words[_.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,f){return C(0===this.negative),this.iushrn(n,c,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){C("number"==typeof n&&n>=0);var c=n%26,f=(n-c)/26;return!(this.length<=f||!(this.words[f]&1<<c))},l.prototype.imaskn=function(n){C("number"==typeof n&&n>=0);var c=n%26,f=(n-c)/26;return C(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==c&&f++,this.length=Math.min(f,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>c<<c),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return C("number"==typeof n),C(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 c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},l.prototype.isubn=function(n){if(C("number"==typeof n),C(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 c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+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,c,f){var M;this._expand(n.length+f);var L,O=0;for(M=0;M<n.length;M++){L=(0|this.words[M+f])+O;var _=(0|n.words[M])*c;O=((L-=67108863&_)>>26)-(_/67108864|0),this.words[M+f]=67108863&L}for(;M<this.length-f;M++)O=(L=(0|this.words[M+f])+O)>>26,this.words[M+f]=67108863&L;if(0===O)return this.strip();for(C(-1===O),O=0,M=0;M<this.length;M++)O=(L=-(0|this.words[M])+O)>>26,this.words[M]=67108863&L;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var f,h=this.clone(),M=n,L=0|M.words[M.length-1];0!=(f=26-this._countBits(L))&&(M=M.ushln(f),h.iushln(f),L=0|M.words[M.length-1]);var r,_=h.length-M.length;if("mod"!==c){(r=new l(null)).length=_+1,r.words=new Array(r.length);for(var v=0;v<r.length;v++)r.words[v]=0}var z=h.clone()._ishlnsubmul(M,1,_);0===z.negative&&(h=z,r&&(r.words[_]=1));for(var N=_-1;N>=0;N--){var ne=67108864*(0|h.words[M.length+N])+(0|h.words[M.length+N-1]);for(ne=Math.min(ne/L|0,67108863),h._ishlnsubmul(M,ne,N);0!==h.negative;)ne--,h.negative=0,h._ishlnsubmul(M,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ne)}return r&&r.strip(),h.strip(),"div"!==c&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,c,f){return C(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(L=this.neg().divmod(n,c),"mod"!==c&&(h=L.div.neg()),"div"!==c&&(M=L.mod.neg(),f&&0!==M.negative&&M.iadd(n)),{div:h,mod:M}):0===this.negative&&0!==n.negative?(L=this.divmod(n.neg(),c),"mod"!==c&&(h=L.div.neg()),{div:h,mod:L.mod}):this.negative&n.negative?(L=this.neg().divmod(n.neg(),c),"div"!==c&&(M=L.mod.neg(),f&&0!==M.negative&&M.isub(n)),{div:L.div,mod:M}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===c?{div:this.divn(n.words[0]),mod:null}:"mod"===c?{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,c);var h,M,L},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 c=this.divmod(n);if(c.mod.isZero())return c.div;var f=0!==c.div.negative?c.mod.isub(n):c.mod,h=n.ushrn(1),M=n.andln(1),L=f.cmp(h);return L<0||1===M&&0===L?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){C(n<=67108863);for(var c=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(c*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){C(n<=67108863);for(var c=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*c;this.words[f]=h/n|0,c=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){C(0===n.negative),C(!n.isZero());var c=this,f=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),M=new l(0),L=new l(0),O=new l(1),_=0;c.isEven()&&f.isEven();)c.iushrn(1),f.iushrn(1),++_;for(var r=f.clone(),v=c.clone();!c.isZero();){for(var z=0,N=1;!(c.words[0]&N)&&z<26;++z,N<<=1);if(z>0)for(c.iushrn(z);z-- >0;)(h.isOdd()||M.isOdd())&&(h.iadd(r),M.isub(v)),h.iushrn(1),M.iushrn(1);for(var ne=0,Ie=1;!(f.words[0]&Ie)&&ne<26;++ne,Ie<<=1);if(ne>0)for(f.iushrn(ne);ne-- >0;)(L.isOdd()||O.isOdd())&&(L.iadd(r),O.isub(v)),L.iushrn(1),O.iushrn(1);c.cmp(f)>=0?(c.isub(f),h.isub(L),M.isub(O)):(f.isub(c),L.isub(h),O.isub(M))}return{a:L,b:O,gcd:f.iushln(_)}},l.prototype._invmp=function(n){C(0===n.negative),C(!n.isZero());var z,c=this,f=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),M=new l(0),L=f.clone();c.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,_=1;!(c.words[0]&_)&&O<26;++O,_<<=1);if(O>0)for(c.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(L),h.iushrn(1);for(var r=0,v=1;!(f.words[0]&v)&&r<26;++r,v<<=1);if(r>0)for(f.iushrn(r);r-- >0;)M.isOdd()&&M.iadd(L),M.iushrn(1);c.cmp(f)>=0?(c.isub(f),h.isub(M)):(f.isub(c),M.isub(h))}return(z=0===c.cmpn(1)?h:M).cmpn(0)<0&&z.iadd(n),z},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),f=n.clone();c.negative=0,f.negative=0;for(var h=0;c.isEven()&&f.isEven();h++)c.iushrn(1),f.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;f.isEven();)f.iushrn(1);var M=c.cmp(f);if(M<0){var L=c;c=f,f=L}else if(0===M||0===f.cmpn(1))break;c.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){C("number"==typeof n);var c=n%26,f=(n-c)/26,h=1<<c;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var M=h,L=f;0!==M&&L<this.length;L++){var O=0|this.words[L];M=(O+=M)>>>26,this.words[L]=O&=67108863}return 0!==M&&(this.words[L]=M,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)f=1;else{c&&(n=-n),C(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 c=this.ucmp(n);return 0!==this.negative?0|-c:c},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var c=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],M=0|n.words[f];if(h!==M){h<M?c=-1:h>M&&(c=1);break}}return c},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 ue(n)},l.prototype.toRed=function(n){return C(!this.red,"Already a number in reduction context"),C(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return C(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 C(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return C(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return C(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return C(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return C(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return C(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return C(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return C(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return C(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return C(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return C(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return C(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var $={k256:null,p224:null,p192:null,p25519:null};function Z(D,n){this.name=D,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 ie(){Z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ve(){Z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){Z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ye(){Z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ue(D){if("string"==typeof D){var n=l._prime(D);this.m=n.p,this.prime=n}else C(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function be(D){ue.call(this,D),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)}Z.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},Z.prototype.ireduce=function(n){var f,c=n;do{this.split(c,this.tmp),f=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:c.ucmp(this.p);return 0===h?(c.words[0]=0,c.length=1):h>0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},Z.prototype.split=function(n,c){n.iushrn(this.n,0,c)},Z.prototype.imulK=function(n){return n.imul(this.k)},S(ie,Z),ie.prototype.split=function(n,c){for(var f=4194303,h=Math.min(n.length,9),M=0;M<h;M++)c.words[M]=n.words[M];if(c.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var L=n.words[9];for(c.words[c.length++]=L&f,M=10;M<n.length;M++){var O=0|n.words[M];n.words[M-10]=(O&f)<<4|L>>>22,L=O}n.words[M-10]=L>>>=22,n.length-=0===L&&n.length>10?10:9},ie.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(c+=977*h),c=64*h+(c/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ve,Z),S(ae,Z),S(ye,Z),ye.prototype.imulK=function(n){for(var c=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+c,M=67108863&h;h>>>=26,n.words[f]=M,c=h}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if($[n])return $[n];var c;if("k256"===n)c=new ie;else if("p224"===n)c=new ve;else if("p192"===n)c=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new ye}return $[n]=c,c},ue.prototype._verify1=function(n){C(0===n.negative,"red works only with positives"),C(n.red,"red works only with red numbers")},ue.prototype._verify2=function(n,c){C(!(n.negative|c.negative),"red works only with positives"),C(n.red&&n.red===c.red,"red works only with red numbers")},ue.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},ue.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},ue.prototype.add=function(n,c){this._verify2(n,c);var f=n.add(c);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},ue.prototype.iadd=function(n,c){this._verify2(n,c);var f=n.iadd(c);return f.cmp(this.m)>=0&&f.isub(this.m),f},ue.prototype.sub=function(n,c){this._verify2(n,c);var f=n.sub(c);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},ue.prototype.isub=function(n,c){this._verify2(n,c);var f=n.isub(c);return f.cmpn(0)<0&&f.iadd(this.m),f},ue.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},ue.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},ue.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},ue.prototype.isqr=function(n){return this.imul(n,n.clone())},ue.prototype.sqr=function(n){return this.mul(n,n)},ue.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(C(c%2==1),3===c){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),M=0;!h.isZero()&&0===h.andln(1);)M++,h.iushrn(1);C(!h.isZero());var L=new l(1).toRed(this),O=L.redNeg(),_=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,_).cmp(O);)r.redIAdd(O);for(var v=this.pow(r,h),z=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ne=M;0!==N.cmp(L);){for(var Ie=N,at=0;0!==Ie.cmp(L);at++)Ie=Ie.redSqr();C(at<ne);var Ye=this.pow(v,new l(1).iushln(ne-at-1));z=z.redMul(Ye),v=Ye.redSqr(),N=N.redMul(v),ne=at}return z},ue.prototype.invm=function(n){var c=n._invmp(this.m);return 0!==c.negative?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},ue.prototype.pow=function(n,c){if(c.isZero())return new l(1).toRed(this);if(0===c.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var M=2;M<h.length;M++)h[M]=this.mul(h[M-1],n);var L=h[0],O=0,_=0,r=c.bitLength()%26;for(0===r&&(r=26),M=c.length-1;M>=0;M--){for(var v=c.words[M],z=r-1;z>=0;z--){var N=v>>z&1;L!==h[0]&&(L=this.sqr(L)),0!==N||0!==O?(O<<=1,O|=N,(4==++_||0===M&&0===z)&&(L=this.mul(L,h[O]),_=0,O=0)):_=0}r=26}return L},ue.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},ue.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new be(n)},S(be,ue),be.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},be.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},be.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(c),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=f.isub(h).iushrn(this.shift),L=M;return M.cmp(this.m)>=0?L=M.isub(this.m):M.cmpn(0)<0&&(L=M.iadd(this.m)),L._forceRed(this)},be.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var f=n.mul(c),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=f.isub(h).iushrn(this.shift),L=M;return M.cmp(this.m)>=0?L=M.isub(this.m):M.cmpn(0)<0&&(L=M.iadd(this.m)),L._forceRed(this)},be.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=p.nmd(Ve),this)},9210:Ve=>{function ee(p,t){if(!p)throw new Error(t||"Assertion failed")}Ve.exports=ee,ee.equal=function(t,e,C){if(t!=e)throw new Error(C||"Assertion failed: "+t+" != "+e)}},1832:(Ve,ee)=>{"use strict";var p=ee;function e(S){return 1===S.length?"0"+S:S}function C(S){for(var l="",x=0;x<S.length;x++)l+=e(S[x].toString(16));return l}p.toArray=function t(S,l){if(Array.isArray(S))return S.slice();if(!S)return[];var x=[];if("string"!=typeof S){for(var m=0;m<S.length;m++)x[m]=0|S[m];return x}if("hex"===l)for((S=S.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(S="0"+S),m=0;m<S.length;m+=2)x.push(parseInt(S[m]+S[m+1],16));else for(m=0;m<S.length;m++){var R=S.charCodeAt(m),d=R>>8,w=255&R;d?x.push(d,w):x.push(w)}return x},p.zero2=e,p.toHex=C,p.encode=function(l,x){return"hex"===x?C(l):l}},1264:(Ve,ee,p)=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});var t=p(4478);Object.keys(t).forEach(function(e){"default"!==e&&Object.defineProperty(ee,e,{enumerable:!0,get:function(){return t[e]}})})},3138:(Ve,ee,p)=>{"use strict";var t=p(1990);ee.certificate=p(4772);var e=t.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});ee.RSAPrivateKey=e;var C=t.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});ee.RSAPublicKey=C;var S=t.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),l=t.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(S),this.key("subjectPublicKey").bitstr())});ee.PublicKey=l;var x=t.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(S),this.key("subjectPrivateKey").octstr())});ee.PrivateKey=x;var m=t.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});ee.EncryptedPrivateKey=m;var R=t.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});ee.DSAPrivateKey=R,ee.DSAparam=t.define("DSAparam",function(){this.int()});var d=t.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),w=t.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())});ee.ECPrivateKey=w,ee.signature=t.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},4772:(Ve,ee,p)=>{"use strict";var t=p(1990),e=t.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),C=t.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),S=t.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),l=t.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(S),this.key("subjectPublicKey").bitstr())}),x=t.define("RelativeDistinguishedName",function(){this.setof(C)}),m=t.define("RDNSequence",function(){this.seqof(x)}),R=t.define("Name",function(){this.choice({rdnSequence:this.use(m)})}),d=t.define("Validity",function(){this.seq().obj(this.key("notBefore").use(e),this.key("notAfter").use(e))}),w=t.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),y=t.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(S),this.key("issuer").use(R),this.key("validity").use(d),this.key("subject").use(R),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(w).optional())}),T=t.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(y),this.key("signatureAlgorithm").use(S),this.key("signatureValue").bitstr())});Ve.exports=T},9472:(Ve,ee,p)=>{"use strict";var t=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,e=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,C=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,S=p(592),l=p(3388),x=p(7054).Buffer;Ve.exports=function(m,R){var y,d=m.toString(),w=d.match(t);if(w){var k="aes"+w[1],F=x.from(w[2],"hex"),V=x.from(w[3].replace(/[\r\n]/g,""),"base64"),U=S(R,F.slice(0,8),parseInt(w[1],10)).key,G=[],Y=l.createDecipheriv(k,U,F);G.push(Y.update(V)),G.push(Y.final()),y=x.concat(G)}else{var T=d.match(C);y=x.from(T[2].replace(/[\r\n]/g,""),"base64")}return{tag:d.match(e)[1],data:y}}},5667:(Ve,ee,p)=>{"use strict";var t=p(3138),e=p(5579),C=p(9472),S=p(3388),l=p(3397),x=p(7054).Buffer;function R(d){var w;"object"==typeof d&&!x.isBuffer(d)&&(w=d.passphrase,d=d.key),"string"==typeof d&&(d=x.from(d));var F,V,y=C(d,w),T=y.tag,k=y.data;switch(T){case"CERTIFICATE":V=t.certificate.decode(k,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(V||(V=t.PublicKey.decode(k,"der")),F=V.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return t.RSAPublicKey.decode(V.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return V.subjectPrivateKey=V.subjectPublicKey,{type:"ec",data:V};case"1.2.840.10040.4.1":return V.algorithm.params.pub_key=t.DSAparam.decode(V.subjectPublicKey.data,"der"),{type:"dsa",data:V.algorithm.params};default:throw new Error("unknown key id "+F)}case"ENCRYPTED PRIVATE KEY":k=function m(d,w){var y=d.algorithm.decrypt.kde.kdeparams.salt,T=parseInt(d.algorithm.decrypt.kde.kdeparams.iters.toString(),10),k=e[d.algorithm.decrypt.cipher.algo.join(".")],F=d.algorithm.decrypt.cipher.iv,V=d.subjectPrivateKey,U=parseInt(k.split("-")[1],10)/8,G=l.pbkdf2Sync(w,y,T,U,"sha1"),Y=S.createDecipheriv(k,G,F),$=[];return $.push(Y.update(V)),$.push(Y.final()),x.concat($)}(k=t.EncryptedPrivateKey.decode(k,"der"),w);case"PRIVATE KEY":switch(F=(V=t.PrivateKey.decode(k,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return t.RSAPrivateKey.decode(V.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:V.algorithm.curve,privateKey:t.ECPrivateKey.decode(V.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return V.algorithm.params.priv_key=t.DSAparam.decode(V.subjectPrivateKey,"der"),{type:"dsa",params:V.algorithm.params};default:throw new Error("unknown key id "+F)}case"RSA PUBLIC KEY":return t.RSAPublicKey.decode(k,"der");case"RSA PRIVATE KEY":return t.RSAPrivateKey.decode(k,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:t.DSAPrivateKey.decode(k,"der")};case"EC PRIVATE KEY":return{curve:(k=t.ECPrivateKey.decode(k,"der")).parameters.value,privateKey:k.privateKey};default:throw new Error("unknown key type "+T)}}R.signature=t.signature,Ve.exports=R},3397:(Ve,ee,p)=>{"use strict";ee.pbkdf2=p(2685),ee.pbkdf2Sync=p(9111)},2685:(Ve,ee,p)=>{"use strict";var x,w,t=p(7054).Buffer,e=p(6111),C=p(5392),S=p(9111),l=p(6643),m=global.crypto&&global.crypto.subtle,R={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 y(){return w||(w=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function T(V,U,G,Y,$){return m.importKey("raw",V,{name:"PBKDF2"},!1,["deriveBits"]).then(function(Z){return m.deriveBits({name:"PBKDF2",salt:U,iterations:G,hash:{name:$}},Z,Y<<3)}).then(function(Z){return t.from(Z)})}Ve.exports=function(V,U,G,Y,$,Z){"function"==typeof $&&(Z=$,$=void 0);var ie=R[($=$||"sha1").toLowerCase()];if(ie&&"function"==typeof global.Promise){if(e(G,Y),V=l(V,C,"Password"),U=l(U,C,"Salt"),"function"!=typeof Z)throw new Error("No callback provided to pbkdf2");!function F(V,U){V.then(function(G){y()(function(){U(null,G)})},function(G){y()(function(){U(G)})})}(function k(V){if(global.process&&!global.process.browser||!m||!m.importKey||!m.deriveBits)return Promise.resolve(!1);if(void 0!==d[V])return d[V];var U=T(x=x||t.alloc(8),x,10,128,V).then(function(){return!0},function(){return!1});return d[V]=U,U}(ie).then(function(ve){return ve?T(V,U,G,Y,ie):S(V,U,G,Y,$)}),Z)}else y()(function(){var ve;try{ve=S(V,U,G,Y,$)}catch(ae){return void Z(ae)}Z(null,ve)})}},5392:Ve=>{"use strict";var ee;ee=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",Ve.exports=ee},6111:Ve=>{"use strict";var ee=Math.pow(2,30)-1;Ve.exports=function(p,t){if("number"!=typeof p)throw new TypeError("Iterations not a number");if(p<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>ee||t!=t)throw new TypeError("Bad key length")}},9111:(Ve,ee,p)=>{"use strict";var t=p(5056),e=p(603),C=p(5443),S=p(7054).Buffer,l=p(6111),x=p(5392),m=p(6643),R=S.alloc(128),d={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},w={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function y(V){return(new e).update(V).digest()}function k(V,U,G){var Y=function T(V){return"rmd160"===V||"ripemd160"===V?y:"md5"===V?t:function U(G){return C(V).update(G).digest()}}(V),$="sha512"===V||"sha384"===V?128:64;U.length>$?U=Y(U):U.length<$&&(U=S.concat([U,R],$));for(var Z=S.allocUnsafe($+d[V]),ie=S.allocUnsafe($+d[V]),ve=0;ve<$;ve++)Z[ve]=54^U[ve],ie[ve]=92^U[ve];var ae=S.allocUnsafe($+G+4);Z.copy(ae,0,0,$),this.ipad1=ae,this.ipad2=Z,this.opad=ie,this.alg=V,this.blocksize=$,this.hash=Y,this.size=d[V]}k.prototype.run=function(V,U){return V.copy(U,this.blocksize),this.hash(U).copy(this.opad,this.blocksize),this.hash(this.opad)},Ve.exports=function F(V,U,G,Y,$){l(G,Y),V=m(V,x,"Password"),U=m(U,x,"Salt");var Z=($||"sha1").toLowerCase(),ie=w[Z]||Z,ve=d[ie];if("number"!=typeof ve||!ve)throw new TypeError("Digest algorithm not supported: "+$);var ae=new k(ie,V,U.length),ye=S.allocUnsafe(Y),ue=S.allocUnsafe(U.length+4);U.copy(ue,0,0,U.length);for(var be=0,D=ve,n=Math.ceil(Y/D),c=1;c<=n;c++){ue.writeUInt32BE(c,U.length);for(var f=ae.run(ue,ae.ipad1),h=f,M=1;M<G;M++){h=ae.run(h,ae.ipad2);for(var L=0;L<D;L++)f[L]^=h[L]}f.copy(ye,be),be+=D}return ye}},6643:(Ve,ee,p)=>{"use strict";var t=p(7054).Buffer,e=p(1090),C=typeof Uint8Array<"u",l=C&&typeof ArrayBuffer<"u"&&ArrayBuffer.isView;Ve.exports=function(x,m,R){if("string"==typeof x||t.isBuffer(x)||C&&x instanceof Uint8Array||l&&l(x))return e(x,m);throw new TypeError(R+" must be a string, a Buffer, a Uint8Array, or a DataView")}},6069:Ve=>{"use strict";var p=new Buffer(4);p.fill(0),Ve.exports=function(l,x){var m=x(function C(S){S.length%4!=0&&(S=Buffer.concat([S,p],S.length+(4-S.length%4)));for(var x=new Array(S.length>>>2),m=0,R=0;m<S.length;m+=4,R++)x[R]=S.readInt32LE(m);return x}(l),8*l.length);l=new Buffer(16);for(var R=0;R<m.length;R++)l.writeInt32LE(m[R],R<<2,!0);return l}},5056:(Ve,ee,p)=>{"use strict";var t=p(6069);function e(w,y){w[y>>5]|=128<<y%32,w[14+(y+64>>>9<<4)]=y;for(var T=1732584193,k=-271733879,F=-1732584194,V=271733878,U=0;U<w.length;U+=16){var G=T,Y=k,$=F,Z=V;T=S(T,k,F,V,w[U+0],7,-680876936),V=S(V,T,k,F,w[U+1],12,-389564586),F=S(F,V,T,k,w[U+2],17,606105819),k=S(k,F,V,T,w[U+3],22,-1044525330),T=S(T,k,F,V,w[U+4],7,-176418897),V=S(V,T,k,F,w[U+5],12,1200080426),F=S(F,V,T,k,w[U+6],17,-1473231341),k=S(k,F,V,T,w[U+7],22,-45705983),T=S(T,k,F,V,w[U+8],7,1770035416),V=S(V,T,k,F,w[U+9],12,-1958414417),F=S(F,V,T,k,w[U+10],17,-42063),k=S(k,F,V,T,w[U+11],22,-1990404162),T=S(T,k,F,V,w[U+12],7,1804603682),V=S(V,T,k,F,w[U+13],12,-40341101),F=S(F,V,T,k,w[U+14],17,-1502002290),T=l(T,k=S(k,F,V,T,w[U+15],22,1236535329),F,V,w[U+1],5,-165796510),V=l(V,T,k,F,w[U+6],9,-1069501632),F=l(F,V,T,k,w[U+11],14,643717713),k=l(k,F,V,T,w[U+0],20,-373897302),T=l(T,k,F,V,w[U+5],5,-701558691),V=l(V,T,k,F,w[U+10],9,38016083),F=l(F,V,T,k,w[U+15],14,-660478335),k=l(k,F,V,T,w[U+4],20,-405537848),T=l(T,k,F,V,w[U+9],5,568446438),V=l(V,T,k,F,w[U+14],9,-1019803690),F=l(F,V,T,k,w[U+3],14,-187363961),k=l(k,F,V,T,w[U+8],20,1163531501),T=l(T,k,F,V,w[U+13],5,-1444681467),V=l(V,T,k,F,w[U+2],9,-51403784),F=l(F,V,T,k,w[U+7],14,1735328473),T=x(T,k=l(k,F,V,T,w[U+12],20,-1926607734),F,V,w[U+5],4,-378558),V=x(V,T,k,F,w[U+8],11,-2022574463),F=x(F,V,T,k,w[U+11],16,1839030562),k=x(k,F,V,T,w[U+14],23,-35309556),T=x(T,k,F,V,w[U+1],4,-1530992060),V=x(V,T,k,F,w[U+4],11,1272893353),F=x(F,V,T,k,w[U+7],16,-155497632),k=x(k,F,V,T,w[U+10],23,-1094730640),T=x(T,k,F,V,w[U+13],4,681279174),V=x(V,T,k,F,w[U+0],11,-358537222),F=x(F,V,T,k,w[U+3],16,-722521979),k=x(k,F,V,T,w[U+6],23,76029189),T=x(T,k,F,V,w[U+9],4,-640364487),V=x(V,T,k,F,w[U+12],11,-421815835),F=x(F,V,T,k,w[U+15],16,530742520),T=m(T,k=x(k,F,V,T,w[U+2],23,-995338651),F,V,w[U+0],6,-198630844),V=m(V,T,k,F,w[U+7],10,1126891415),F=m(F,V,T,k,w[U+14],15,-1416354905),k=m(k,F,V,T,w[U+5],21,-57434055),T=m(T,k,F,V,w[U+12],6,1700485571),V=m(V,T,k,F,w[U+3],10,-1894986606),F=m(F,V,T,k,w[U+10],15,-1051523),k=m(k,F,V,T,w[U+1],21,-2054922799),T=m(T,k,F,V,w[U+8],6,1873313359),V=m(V,T,k,F,w[U+15],10,-30611744),F=m(F,V,T,k,w[U+6],15,-1560198380),k=m(k,F,V,T,w[U+13],21,1309151649),T=m(T,k,F,V,w[U+4],6,-145523070),V=m(V,T,k,F,w[U+11],10,-1120210379),F=m(F,V,T,k,w[U+2],15,718787259),k=m(k,F,V,T,w[U+9],21,-343485551),T=R(T,G),k=R(k,Y),F=R(F,$),V=R(V,Z)}return[T,k,F,V]}function C(w,y,T,k,F,V){return R(function d(w,y){return w<<y|w>>>32-y}(R(R(y,w),R(k,V)),F),T)}function S(w,y,T,k,F,V,U){return C(y&T|~y&k,w,y,F,V,U)}function l(w,y,T,k,F,V,U){return C(y&k|T&~k,w,y,F,V,U)}function x(w,y,T,k,F,V,U){return C(y^T^k,w,y,F,V,U)}function m(w,y,T,k,F,V,U){return C(T^(y|~k),w,y,F,V,U)}function R(w,y){var T=(65535&w)+(65535&y);return(w>>16)+(y>>16)+(T>>16)<<16|65535&T}Ve.exports=function(y){return t(y,e)}},3833:(Ve,ee,p)=>{"use strict";var t=p(7045).Transform;function C(S){t.call(this),this._block=new Buffer(S),this._blockSize=S,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}p(1993)(C,t),C.prototype._transform=function(S,l,x){var m=null;try{"buffer"!==l&&(S=new Buffer(S,l)),this.update(S)}catch(R){m=R}x(m)},C.prototype._flush=function(S){var l=null;try{this.push(this._digest())}catch(x){l=x}S(l)},C.prototype.update=function(S,l){if(!Buffer.isBuffer(S)&&"string"!=typeof S)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");Buffer.isBuffer(S)||(S=new Buffer(S,l||"binary"));for(var x=this._block,m=0;this._blockOffset+S.length-m>=this._blockSize;){for(var R=this._blockOffset;R<this._blockSize;)x[R++]=S[m++];this._update(),this._blockOffset=0}for(;m<S.length;)x[this._blockOffset++]=S[m++];for(var d=0,w=8*S.length;w>0;++d)this._length[d]+=w,(w=this._length[d]/4294967296|0)>0&&(this._length[d]-=4294967296*w);return this},C.prototype._update=function(S){throw new Error("_update is not implemented")},C.prototype.digest=function(S){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var l=this._digest();return void 0!==S&&(l=l.toString(S)),l},C.prototype._digest=function(){throw new Error("_digest is not implemented")},Ve.exports=C},603:(Ve,ee,p)=>{"use strict";var t=p(1993),e=p(3833);function C(){e.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function S(w,y){return w<<y|w>>>32-y}function l(w,y,T,k,F,V,U,G){return S(w+(y^T^k)+V+U|0,G)+F|0}function x(w,y,T,k,F,V,U,G){return S(w+(y&T|~y&k)+V+U|0,G)+F|0}function m(w,y,T,k,F,V,U,G){return S(w+((y|~T)^k)+V+U|0,G)+F|0}function R(w,y,T,k,F,V,U,G){return S(w+(y&k|T&~k)+V+U|0,G)+F|0}function d(w,y,T,k,F,V,U,G){return S(w+(y^(T|~k))+V+U|0,G)+F|0}t(C,e),C.prototype._update=function(){for(var w=new Array(16),y=0;y<16;++y)w[y]=this._block.readInt32LE(4*y);var T=this._a,k=this._b,F=this._c,V=this._d,U=this._e;T=l(T,k,F,V,U,w[0],0,11),U=l(U,T,k,F=S(F,10),V,w[1],0,14),V=l(V,U,T,k=S(k,10),F,w[2],0,15),F=l(F,V,U,T=S(T,10),k,w[3],0,12),k=l(k,F,V,U=S(U,10),T,w[4],0,5),T=l(T,k,F,V=S(V,10),U,w[5],0,8),U=l(U,T,k,F=S(F,10),V,w[6],0,7),V=l(V,U,T,k=S(k,10),F,w[7],0,9),F=l(F,V,U,T=S(T,10),k,w[8],0,11),k=l(k,F,V,U=S(U,10),T,w[9],0,13),T=l(T,k,F,V=S(V,10),U,w[10],0,14),U=l(U,T,k,F=S(F,10),V,w[11],0,15),V=l(V,U,T,k=S(k,10),F,w[12],0,6),F=l(F,V,U,T=S(T,10),k,w[13],0,7),k=l(k,F,V,U=S(U,10),T,w[14],0,9),U=x(U,T=l(T,k,F,V=S(V,10),U,w[15],0,8),k,F=S(F,10),V,w[7],1518500249,7),V=x(V,U,T,k=S(k,10),F,w[4],1518500249,6),F=x(F,V,U,T=S(T,10),k,w[13],1518500249,8),k=x(k,F,V,U=S(U,10),T,w[1],1518500249,13),T=x(T,k,F,V=S(V,10),U,w[10],1518500249,11),U=x(U,T,k,F=S(F,10),V,w[6],1518500249,9),V=x(V,U,T,k=S(k,10),F,w[15],1518500249,7),F=x(F,V,U,T=S(T,10),k,w[3],1518500249,15),k=x(k,F,V,U=S(U,10),T,w[12],1518500249,7),T=x(T,k,F,V=S(V,10),U,w[0],1518500249,12),U=x(U,T,k,F=S(F,10),V,w[9],1518500249,15),V=x(V,U,T,k=S(k,10),F,w[5],1518500249,9),F=x(F,V,U,T=S(T,10),k,w[2],1518500249,11),k=x(k,F,V,U=S(U,10),T,w[14],1518500249,7),T=x(T,k,F,V=S(V,10),U,w[11],1518500249,13),V=m(V,U=x(U,T,k,F=S(F,10),V,w[8],1518500249,12),T,k=S(k,10),F,w[3],1859775393,11),F=m(F,V,U,T=S(T,10),k,w[10],1859775393,13),k=m(k,F,V,U=S(U,10),T,w[14],1859775393,6),T=m(T,k,F,V=S(V,10),U,w[4],1859775393,7),U=m(U,T,k,F=S(F,10),V,w[9],1859775393,14),V=m(V,U,T,k=S(k,10),F,w[15],1859775393,9),F=m(F,V,U,T=S(T,10),k,w[8],1859775393,13),k=m(k,F,V,U=S(U,10),T,w[1],1859775393,15),T=m(T,k,F,V=S(V,10),U,w[2],1859775393,14),U=m(U,T,k,F=S(F,10),V,w[7],1859775393,8),V=m(V,U,T,k=S(k,10),F,w[0],1859775393,13),F=m(F,V,U,T=S(T,10),k,w[6],1859775393,6),k=m(k,F,V,U=S(U,10),T,w[13],1859775393,5),T=m(T,k,F,V=S(V,10),U,w[11],1859775393,12),U=m(U,T,k,F=S(F,10),V,w[5],1859775393,7),F=R(F,V=m(V,U,T,k=S(k,10),F,w[12],1859775393,5),U,T=S(T,10),k,w[1],2400959708,11),k=R(k,F,V,U=S(U,10),T,w[9],2400959708,12),T=R(T,k,F,V=S(V,10),U,w[11],2400959708,14),U=R(U,T,k,F=S(F,10),V,w[10],2400959708,15),V=R(V,U,T,k=S(k,10),F,w[0],2400959708,14),F=R(F,V,U,T=S(T,10),k,w[8],2400959708,15),k=R(k,F,V,U=S(U,10),T,w[12],2400959708,9),T=R(T,k,F,V=S(V,10),U,w[4],2400959708,8),U=R(U,T,k,F=S(F,10),V,w[13],2400959708,9),V=R(V,U,T,k=S(k,10),F,w[3],2400959708,14),F=R(F,V,U,T=S(T,10),k,w[7],2400959708,5),k=R(k,F,V,U=S(U,10),T,w[15],2400959708,6),T=R(T,k,F,V=S(V,10),U,w[14],2400959708,8),U=R(U,T,k,F=S(F,10),V,w[5],2400959708,6),V=R(V,U,T,k=S(k,10),F,w[6],2400959708,5),k=d(k,F=R(F,V,U,T=S(T,10),k,w[2],2400959708,12),V,U=S(U,10),T,w[4],2840853838,9),T=d(T,k,F,V=S(V,10),U,w[0],2840853838,15),U=d(U,T,k,F=S(F,10),V,w[5],2840853838,5),V=d(V,U,T,k=S(k,10),F,w[9],2840853838,11),F=d(F,V,U,T=S(T,10),k,w[7],2840853838,6),k=d(k,F,V,U=S(U,10),T,w[12],2840853838,8),T=d(T,k,F,V=S(V,10),U,w[2],2840853838,13),U=d(U,T,k,F=S(F,10),V,w[10],2840853838,12),V=d(V,U,T,k=S(k,10),F,w[14],2840853838,5),F=d(F,V,U,T=S(T,10),k,w[1],2840853838,12),k=d(k,F,V,U=S(U,10),T,w[3],2840853838,13),T=d(T,k,F,V=S(V,10),U,w[8],2840853838,14),U=d(U,T,k,F=S(F,10),V,w[11],2840853838,11),V=d(V,U,T,k=S(k,10),F,w[6],2840853838,8),F=d(F,V,U,T=S(T,10),k,w[15],2840853838,5),k=d(k,F,V,U=S(U,10),T,w[13],2840853838,6),V=S(V,10);var G=this._a,Y=this._b,$=this._c,Z=this._d,ie=this._e;G=d(G,Y,$,Z,ie,w[5],1352829926,8),ie=d(ie,G,Y,$=S($,10),Z,w[14],1352829926,9),Z=d(Z,ie,G,Y=S(Y,10),$,w[7],1352829926,9),$=d($,Z,ie,G=S(G,10),Y,w[0],1352829926,11),Y=d(Y,$,Z,ie=S(ie,10),G,w[9],1352829926,13),G=d(G,Y,$,Z=S(Z,10),ie,w[2],1352829926,15),ie=d(ie,G,Y,$=S($,10),Z,w[11],1352829926,15),Z=d(Z,ie,G,Y=S(Y,10),$,w[4],1352829926,5),$=d($,Z,ie,G=S(G,10),Y,w[13],1352829926,7),Y=d(Y,$,Z,ie=S(ie,10),G,w[6],1352829926,7),G=d(G,Y,$,Z=S(Z,10),ie,w[15],1352829926,8),ie=d(ie,G,Y,$=S($,10),Z,w[8],1352829926,11),Z=d(Z,ie,G,Y=S(Y,10),$,w[1],1352829926,14),$=d($,Z,ie,G=S(G,10),Y,w[10],1352829926,14),Y=d(Y,$,Z,ie=S(ie,10),G,w[3],1352829926,12),ie=R(ie,G=d(G,Y,$,Z=S(Z,10),ie,w[12],1352829926,6),Y,$=S($,10),Z,w[6],1548603684,9),Z=R(Z,ie,G,Y=S(Y,10),$,w[11],1548603684,13),$=R($,Z,ie,G=S(G,10),Y,w[3],1548603684,15),Y=R(Y,$,Z,ie=S(ie,10),G,w[7],1548603684,7),G=R(G,Y,$,Z=S(Z,10),ie,w[0],1548603684,12),ie=R(ie,G,Y,$=S($,10),Z,w[13],1548603684,8),Z=R(Z,ie,G,Y=S(Y,10),$,w[5],1548603684,9),$=R($,Z,ie,G=S(G,10),Y,w[10],1548603684,11),Y=R(Y,$,Z,ie=S(ie,10),G,w[14],1548603684,7),G=R(G,Y,$,Z=S(Z,10),ie,w[15],1548603684,7),ie=R(ie,G,Y,$=S($,10),Z,w[8],1548603684,12),Z=R(Z,ie,G,Y=S(Y,10),$,w[12],1548603684,7),$=R($,Z,ie,G=S(G,10),Y,w[4],1548603684,6),Y=R(Y,$,Z,ie=S(ie,10),G,w[9],1548603684,15),G=R(G,Y,$,Z=S(Z,10),ie,w[1],1548603684,13),Z=m(Z,ie=R(ie,G,Y,$=S($,10),Z,w[2],1548603684,11),G,Y=S(Y,10),$,w[15],1836072691,9),$=m($,Z,ie,G=S(G,10),Y,w[5],1836072691,7),Y=m(Y,$,Z,ie=S(ie,10),G,w[1],1836072691,15),G=m(G,Y,$,Z=S(Z,10),ie,w[3],1836072691,11),ie=m(ie,G,Y,$=S($,10),Z,w[7],1836072691,8),Z=m(Z,ie,G,Y=S(Y,10),$,w[14],1836072691,6),$=m($,Z,ie,G=S(G,10),Y,w[6],1836072691,6),Y=m(Y,$,Z,ie=S(ie,10),G,w[9],1836072691,14),G=m(G,Y,$,Z=S(Z,10),ie,w[11],1836072691,12),ie=m(ie,G,Y,$=S($,10),Z,w[8],1836072691,13),Z=m(Z,ie,G,Y=S(Y,10),$,w[12],1836072691,5),$=m($,Z,ie,G=S(G,10),Y,w[2],1836072691,14),Y=m(Y,$,Z,ie=S(ie,10),G,w[10],1836072691,13),G=m(G,Y,$,Z=S(Z,10),ie,w[0],1836072691,13),ie=m(ie,G,Y,$=S($,10),Z,w[4],1836072691,7),$=x($,Z=m(Z,ie,G,Y=S(Y,10),$,w[13],1836072691,5),ie,G=S(G,10),Y,w[8],2053994217,15),Y=x(Y,$,Z,ie=S(ie,10),G,w[6],2053994217,5),G=x(G,Y,$,Z=S(Z,10),ie,w[4],2053994217,8),ie=x(ie,G,Y,$=S($,10),Z,w[1],2053994217,11),Z=x(Z,ie,G,Y=S(Y,10),$,w[3],2053994217,14),$=x($,Z,ie,G=S(G,10),Y,w[11],2053994217,14),Y=x(Y,$,Z,ie=S(ie,10),G,w[15],2053994217,6),G=x(G,Y,$,Z=S(Z,10),ie,w[0],2053994217,14),ie=x(ie,G,Y,$=S($,10),Z,w[5],2053994217,6),Z=x(Z,ie,G,Y=S(Y,10),$,w[12],2053994217,9),$=x($,Z,ie,G=S(G,10),Y,w[2],2053994217,12),Y=x(Y,$,Z,ie=S(ie,10),G,w[13],2053994217,9),G=x(G,Y,$,Z=S(Z,10),ie,w[9],2053994217,12),ie=x(ie,G,Y,$=S($,10),Z,w[7],2053994217,5),Z=x(Z,ie,G,Y=S(Y,10),$,w[10],2053994217,15),Y=l(Y,$=x($,Z,ie,G=S(G,10),Y,w[14],2053994217,8),Z,ie=S(ie,10),G,w[12],0,8),G=l(G,Y,$,Z=S(Z,10),ie,w[15],0,5),ie=l(ie,G,Y,$=S($,10),Z,w[10],0,12),Z=l(Z,ie,G,Y=S(Y,10),$,w[4],0,9),$=l($,Z,ie,G=S(G,10),Y,w[1],0,12),Y=l(Y,$,Z,ie=S(ie,10),G,w[5],0,5),G=l(G,Y,$,Z=S(Z,10),ie,w[8],0,14),ie=l(ie,G,Y,$=S($,10),Z,w[7],0,6),Z=l(Z,ie,G,Y=S(Y,10),$,w[6],0,8),$=l($,Z,ie,G=S(G,10),Y,w[2],0,13),Y=l(Y,$,Z,ie=S(ie,10),G,w[13],0,6),G=l(G,Y,$,Z=S(Z,10),ie,w[14],0,5),ie=l(ie,G,Y,$=S($,10),Z,w[0],0,15),Z=l(Z,ie,G,Y=S(Y,10),$,w[3],0,13),$=l($,Z,ie,G=S(G,10),Y,w[9],0,11),Y=l(Y,$,Z,ie=S(ie,10),G,w[11],0,11),Z=S(Z,10);var ve=this._b+F+Z|0;this._b=this._c+V+ie|0,this._c=this._d+U+G|0,this._d=this._e+T+Y|0,this._e=this._a+k+$|0,this._a=ve},C.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var w=new Buffer(20);return w.writeInt32LE(this._a,0),w.writeInt32LE(this._b,4),w.writeInt32LE(this._c,8),w.writeInt32LE(this._d,12),w.writeInt32LE(this._e,16),w},Ve.exports=C},5019:Ve=>{"use strict";Ve.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},9656:Ve=>{"use strict";Ve.exports=typeof process>"u"||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?{nextTick:function ee(p,t,e,C){if("function"!=typeof p)throw new TypeError('"callback" argument must be a function');var l,x,S=arguments.length;switch(S){case 0:case 1:return process.nextTick(p);case 2:return process.nextTick(function(){p.call(null,t)});case 3:return process.nextTick(function(){p.call(null,t,e)});case 4:return process.nextTick(function(){p.call(null,t,e,C)});default:for(l=new Array(S-1),x=0;x<l.length;)l[x++]=arguments[x];return process.nextTick(function(){p.apply(null,l)})}}}:process},2965:(Ve,ee,p)=>{ee.publicEncrypt=p(7267),ee.privateDecrypt=p(8613),ee.privateEncrypt=function(e,C){return ee.publicEncrypt(e,C,!0)},ee.publicDecrypt=function(e,C){return ee.privateDecrypt(e,C,!0)}},715:(Ve,ee,p)=>{var t=p(7211),e=p(7054).Buffer;function C(S){var l=e.allocUnsafe(4);return l.writeUInt32BE(S,0),l}Ve.exports=function(S,l){for(var R,x=e.alloc(0),m=0;x.length<l;)R=C(m++),x=e.concat([x,t("sha1").update(S).update(R).digest()]);return x.slice(0,l)}},6508:function(Ve,ee,p){!function(t,e){"use strict";function C(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var c=function(){};c.prototype=n.prototype,D.prototype=new c,D.prototype.constructor=D}function l(D,n,c){if(l.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(D||0,n||10,c||"be"))}var x;"object"==typeof t?t.exports=l:e.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(1069).Buffer}catch{}function m(D,n){var c=D.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(D,n,c){var f=m(D,c);return c-1>=n&&(f|=m(D,c-1)<<4),f}function d(D,n,c,f){for(var h=0,M=Math.min(D.length,c),L=n;L<M;L++){var O=D.charCodeAt(L)-48;h*=f,h+=O>=49?O-49+10:O>=17?O-17+10:O}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,c){return n.cmp(c)>0?n:c},l.min=function(n,c){return n.cmp(c)<0?n:c},l.prototype._init=function(n,c,f){if("number"==typeof n)return this._initNumber(n,c,f);if("object"==typeof n)return this._initArray(n,c,f);"hex"===c&&(c=16),C(c===(0|c)&&c>=2&&c<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===c?this._parseHex(n,h,f):(this._parseBase(n,c,h),"le"===f&&this._initArray(this.toArray(),c,f)))},l.prototype._initNumber=function(n,c,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):(C(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),c,f)},l.prototype._initArray=function(n,c,f){if(C("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 M,L,O=0;if("be"===f)for(h=n.length-1,M=0;h>=0;h-=3)this.words[M]|=(L=n[h]|n[h-1]<<8|n[h-2]<<16)<<O&67108863,this.words[M+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,M++);else if("le"===f)for(h=0,M=0;h<n.length;h+=3)this.words[M]|=(L=n[h]|n[h+1]<<8|n[h+2]<<16)<<O&67108863,this.words[M+1]=L>>>26-O&67108863,(O+=24)>=26&&(O-=26,M++);return this.strip()},l.prototype._parseHex=function(n,c,f){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var O,M=0,L=0;if("be"===f)for(h=n.length-1;h>=c;h-=2)O=R(n,c,h)<<M,this.words[L]|=67108863&O,M>=18?(M-=18,this.words[L+=1]|=O>>>26):M+=8;else for(h=(n.length-c)%2==0?c+1:c;h<n.length;h+=2)O=R(n,c,h)<<M,this.words[L]|=67108863&O,M>=18?(M-=18,this.words[L+=1]|=O>>>26):M+=8;this.strip()},l.prototype._parseBase=function(n,c,f){this.words=[0],this.length=1;for(var h=0,M=1;M<=67108863;M*=c)h++;h--,M=M/c|0;for(var L=n.length-f,O=L%h,_=Math.min(L,L-O)+f,r=0,v=f;v<_;v+=h)r=d(n,v,v+h,c),this.imuln(M),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==O){var z=1;for(r=d(n,v,n.length,c),v=0;v<O;v++)z*=c;this.imuln(z),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 c=0;c<this.length;c++)n.words[c]=this.words[c];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 w=["","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"],y=[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],T=[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 F(D,n,c){c.negative=n.negative^D.negative;var f=D.length+n.length|0;c.length=f,f=f-1|0;var h=0|D.words[0],M=0|n.words[0],L=h*M,_=L/67108864|0;c.words[0]=67108863&L;for(var r=1;r<f;r++){for(var v=_>>>26,z=67108863&_,N=Math.min(r,n.length-1),ne=Math.max(0,r-D.length+1);ne<=N;ne++)v+=(L=(h=0|D.words[r-ne|0])*(M=0|n.words[ne])+z)/67108864|0,z=67108863&L;c.words[r]=0|z,_=0|v}return 0!==_?c.words[r]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var f;if(c=0|c||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,M=0,L=0;L<this.length;L++){var O=this.words[L],_=(16777215&(O<<h|M)).toString(16);M=O>>>24-h&16777215,(h+=2)>=26&&(h-=26,L--),f=0!==M||L!==this.length-1?w[6-_.length]+_+f:_+f}for(0!==M&&(f=M.toString(16)+f);f.length%c!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=y[n],v=T[n];f="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(v).toString(n);f=(z=z.idivn(v)).isZero()?N+f:w[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%c!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}C(!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&&C(!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,c){return C(typeof x<"u"),this.toArrayLike(x,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,f){var h=this.byteLength(),M=f||Math.max(1,h);C(h<=M,"byte array longer than desired length"),C(M>0,"Requested array length <= 0"),this.strip();var _,r,L="le"===c,O=new n(M),v=this.clone();if(L){for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),O[r]=_;for(;r<M;r++)O[r]=0}else{for(r=0;r<M-h;r++)O[r]=0;for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),O[M-r-1]=_}return O},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var c=n,f=0;return c>=4096&&(f+=13,c>>>=13),c>=64&&(f+=7,c>>>=7),c>=8&&(f+=4,c>>>=4),c>=2&&(f+=2,c>>>=2),f+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,f=0;return 8191&c||(f+=13,c>>>=13),127&c||(f+=7,c>>>=7),15&c||(f+=4,c>>>=4),3&c||(f+=2,c>>>=2),1&c||f++,f},l.prototype.bitLength=function(){var c=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+c},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;c<this.length;c++){var f=this._zeroBits(this.words[c]);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 c=0;c<n.length;c++)this.words[c]=this.words[c]|n.words[c];return this.strip()},l.prototype.ior=function(n){return C(!(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 c;c=this.length>n.length?n:this;for(var f=0;f<c.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=c.length,this.strip()},l.prototype.iand=function(n){return C(!(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 c,f;this.length>n.length?(c=this,f=n):(c=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=c.words[h]^f.words[h];if(this!==c)for(;h<c.length;h++)this.words[h]=c.words[h];return this.length=c.length,this.strip()},l.prototype.ixor=function(n){return C(!(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){C("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),f=n%26;this._expand(c),f>0&&c--;for(var h=0;h<c;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,c){C("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=c?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var c,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,c=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,c=this.isub(n),n.negative=1,c._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var M=0,L=0;L<h.length;L++)this.words[L]=67108863&(c=(0|f.words[L])+(0|h.words[L])+M),M=c>>>26;for(;0!==M&&L<f.length;L++)this.words[L]=67108863&(c=(0|f.words[L])+M),M=c>>>26;if(this.length=f.length,0!==M)this.words[this.length]=M,this.length++;else if(f!==this)for(;L<f.length;L++)this.words[L]=f.words[L];return this},l.prototype.add=function(n){var c;return 0!==n.negative&&0===this.negative?(n.negative=0,c=this.sub(n),n.negative^=1,c):0===n.negative&&0!==this.negative?(this.negative=0,c=n.sub(this),this.negative=1,c):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 c=this.iadd(n);return n.negative=1,c._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,M,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,M=n):(h=n,M=this);for(var L=0,O=0;O<M.length;O++)L=(c=(0|h.words[O])-(0|M.words[O])+L)>>26,this.words[O]=67108863&c;for(;0!==L&&O<h.length;O++)L=(c=(0|h.words[O])+L)>>26,this.words[O]=67108863&c;if(0===L&&O<h.length&&h!==this)for(;O<h.length;O++)this.words[O]=h.words[O];return this.length=Math.max(this.length,O),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var V=function(n,c,f){var _,r,v,h=n.words,M=c.words,L=f.words,O=0,z=0|h[0],N=8191&z,ne=z>>>13,Ie=0|h[1],at=8191&Ie,Ye=Ie>>>13,rt=0|h[2],re=8191&rt,te=rt>>>13,oe=0|h[3],_e=8191&oe,de=oe>>>13,pe=0|h[4],We=8191&pe,se=pe>>>13,fe=0|h[5],he=8191&fe,et=fe>>>13,Ke=0|h[6],Ct=8191&Ke,_t=Ke>>>13,Nt=0|h[7],ke=8191&Nt,Je=Nt>>>13,Qe=0|h[8],nt=8191&Qe,Ue=Qe>>>13,ht=0|h[9],tt=8191&ht,wt=ht>>>13,ut=0|M[0],vt=8191&ut,Ze=ut>>>13,jt=0|M[1],qe=8191&jt,dt=jt>>>13,Le=0|M[2],Vt=8191&Le,Zt=Le>>>13,Et=0|M[3],je=8191&Et,me=Et>>>13,xe=0|M[4],ce=8191&xe,Me=xe>>>13,Xe=0|M[5],Pe=8191&Xe,Oe=Xe>>>13,we=0|M[6],De=8191&we,$e=we>>>13,$t=0|M[7],Ft=8191&$t,Kt=$t>>>13,fi=0|M[8],Qt=8191&fi,zt=fi>>>13,Xi=0|M[9],ci=8191&Xi,ui=Xi>>>13;f.negative=n.negative^c.negative,f.length=19;var bn=(O+(_=Math.imul(N,vt))|0)+((8191&(r=(r=Math.imul(N,Ze))+Math.imul(ne,vt)|0))<<13)|0;O=((v=Math.imul(ne,Ze))+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,_=Math.imul(at,vt),r=(r=Math.imul(at,Ze))+Math.imul(Ye,vt)|0,v=Math.imul(Ye,Ze);var Qi=(O+(_=_+Math.imul(N,qe)|0)|0)+((8191&(r=(r=r+Math.imul(N,dt)|0)+Math.imul(ne,qe)|0))<<13)|0;O=((v=v+Math.imul(ne,dt)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(re,vt),r=(r=Math.imul(re,Ze))+Math.imul(te,vt)|0,v=Math.imul(te,Ze),_=_+Math.imul(at,qe)|0,r=(r=r+Math.imul(at,dt)|0)+Math.imul(Ye,qe)|0,v=v+Math.imul(Ye,dt)|0;var Li=(O+(_=_+Math.imul(N,Vt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(ne,Vt)|0))<<13)|0;O=((v=v+Math.imul(ne,Zt)|0)+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,_=Math.imul(_e,vt),r=(r=Math.imul(_e,Ze))+Math.imul(de,vt)|0,v=Math.imul(de,Ze),_=_+Math.imul(re,qe)|0,r=(r=r+Math.imul(re,dt)|0)+Math.imul(te,qe)|0,v=v+Math.imul(te,dt)|0,_=_+Math.imul(at,Vt)|0,r=(r=r+Math.imul(at,Zt)|0)+Math.imul(Ye,Vt)|0,v=v+Math.imul(Ye,Zt)|0;var nn=(O+(_=_+Math.imul(N,je)|0)|0)+((8191&(r=(r=r+Math.imul(N,me)|0)+Math.imul(ne,je)|0))<<13)|0;O=((v=v+Math.imul(ne,me)|0)+(r>>>13)|0)+(nn>>>26)|0,nn&=67108863,_=Math.imul(We,vt),r=(r=Math.imul(We,Ze))+Math.imul(se,vt)|0,v=Math.imul(se,Ze),_=_+Math.imul(_e,qe)|0,r=(r=r+Math.imul(_e,dt)|0)+Math.imul(de,qe)|0,v=v+Math.imul(de,dt)|0,_=_+Math.imul(re,Vt)|0,r=(r=r+Math.imul(re,Zt)|0)+Math.imul(te,Vt)|0,v=v+Math.imul(te,Zt)|0,_=_+Math.imul(at,je)|0,r=(r=r+Math.imul(at,me)|0)+Math.imul(Ye,je)|0,v=v+Math.imul(Ye,me)|0;var st=(O+(_=_+Math.imul(N,ce)|0)|0)+((8191&(r=(r=r+Math.imul(N,Me)|0)+Math.imul(ne,ce)|0))<<13)|0;O=((v=v+Math.imul(ne,Me)|0)+(r>>>13)|0)+(st>>>26)|0,st&=67108863,_=Math.imul(he,vt),r=(r=Math.imul(he,Ze))+Math.imul(et,vt)|0,v=Math.imul(et,Ze),_=_+Math.imul(We,qe)|0,r=(r=r+Math.imul(We,dt)|0)+Math.imul(se,qe)|0,v=v+Math.imul(se,dt)|0,_=_+Math.imul(_e,Vt)|0,r=(r=r+Math.imul(_e,Zt)|0)+Math.imul(de,Vt)|0,v=v+Math.imul(de,Zt)|0,_=_+Math.imul(re,je)|0,r=(r=r+Math.imul(re,me)|0)+Math.imul(te,je)|0,v=v+Math.imul(te,me)|0,_=_+Math.imul(at,ce)|0,r=(r=r+Math.imul(at,Me)|0)+Math.imul(Ye,ce)|0,v=v+Math.imul(Ye,Me)|0;var ii=(O+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(r=(r=r+Math.imul(N,Oe)|0)+Math.imul(ne,Pe)|0))<<13)|0;O=((v=v+Math.imul(ne,Oe)|0)+(r>>>13)|0)+(ii>>>26)|0,ii&=67108863,_=Math.imul(Ct,vt),r=(r=Math.imul(Ct,Ze))+Math.imul(_t,vt)|0,v=Math.imul(_t,Ze),_=_+Math.imul(he,qe)|0,r=(r=r+Math.imul(he,dt)|0)+Math.imul(et,qe)|0,v=v+Math.imul(et,dt)|0,_=_+Math.imul(We,Vt)|0,r=(r=r+Math.imul(We,Zt)|0)+Math.imul(se,Vt)|0,v=v+Math.imul(se,Zt)|0,_=_+Math.imul(_e,je)|0,r=(r=r+Math.imul(_e,me)|0)+Math.imul(de,je)|0,v=v+Math.imul(de,me)|0,_=_+Math.imul(re,ce)|0,r=(r=r+Math.imul(re,Me)|0)+Math.imul(te,ce)|0,v=v+Math.imul(te,Me)|0,_=_+Math.imul(at,Pe)|0,r=(r=r+Math.imul(at,Oe)|0)+Math.imul(Ye,Pe)|0,v=v+Math.imul(Ye,Oe)|0;var Se=(O+(_=_+Math.imul(N,De)|0)|0)+((8191&(r=(r=r+Math.imul(N,$e)|0)+Math.imul(ne,De)|0))<<13)|0;O=((v=v+Math.imul(ne,$e)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,_=Math.imul(ke,vt),r=(r=Math.imul(ke,Ze))+Math.imul(Je,vt)|0,v=Math.imul(Je,Ze),_=_+Math.imul(Ct,qe)|0,r=(r=r+Math.imul(Ct,dt)|0)+Math.imul(_t,qe)|0,v=v+Math.imul(_t,dt)|0,_=_+Math.imul(he,Vt)|0,r=(r=r+Math.imul(he,Zt)|0)+Math.imul(et,Vt)|0,v=v+Math.imul(et,Zt)|0,_=_+Math.imul(We,je)|0,r=(r=r+Math.imul(We,me)|0)+Math.imul(se,je)|0,v=v+Math.imul(se,me)|0,_=_+Math.imul(_e,ce)|0,r=(r=r+Math.imul(_e,Me)|0)+Math.imul(de,ce)|0,v=v+Math.imul(de,Me)|0,_=_+Math.imul(re,Pe)|0,r=(r=r+Math.imul(re,Oe)|0)+Math.imul(te,Pe)|0,v=v+Math.imul(te,Oe)|0,_=_+Math.imul(at,De)|0,r=(r=r+Math.imul(at,$e)|0)+Math.imul(Ye,De)|0,v=v+Math.imul(Ye,$e)|0;var Mt=(O+(_=_+Math.imul(N,Ft)|0)|0)+((8191&(r=(r=r+Math.imul(N,Kt)|0)+Math.imul(ne,Ft)|0))<<13)|0;O=((v=v+Math.imul(ne,Kt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul(nt,vt),r=(r=Math.imul(nt,Ze))+Math.imul(Ue,vt)|0,v=Math.imul(Ue,Ze),_=_+Math.imul(ke,qe)|0,r=(r=r+Math.imul(ke,dt)|0)+Math.imul(Je,qe)|0,v=v+Math.imul(Je,dt)|0,_=_+Math.imul(Ct,Vt)|0,r=(r=r+Math.imul(Ct,Zt)|0)+Math.imul(_t,Vt)|0,v=v+Math.imul(_t,Zt)|0,_=_+Math.imul(he,je)|0,r=(r=r+Math.imul(he,me)|0)+Math.imul(et,je)|0,v=v+Math.imul(et,me)|0,_=_+Math.imul(We,ce)|0,r=(r=r+Math.imul(We,Me)|0)+Math.imul(se,ce)|0,v=v+Math.imul(se,Me)|0,_=_+Math.imul(_e,Pe)|0,r=(r=r+Math.imul(_e,Oe)|0)+Math.imul(de,Pe)|0,v=v+Math.imul(de,Oe)|0,_=_+Math.imul(re,De)|0,r=(r=r+Math.imul(re,$e)|0)+Math.imul(te,De)|0,v=v+Math.imul(te,$e)|0,_=_+Math.imul(at,Ft)|0,r=(r=r+Math.imul(at,Kt)|0)+Math.imul(Ye,Ft)|0,v=v+Math.imul(Ye,Kt)|0;var Pt=(O+(_=_+Math.imul(N,Qt)|0)|0)+((8191&(r=(r=r+Math.imul(N,zt)|0)+Math.imul(ne,Qt)|0))<<13)|0;O=((v=v+Math.imul(ne,zt)|0)+(r>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,_=Math.imul(tt,vt),r=(r=Math.imul(tt,Ze))+Math.imul(wt,vt)|0,v=Math.imul(wt,Ze),_=_+Math.imul(nt,qe)|0,r=(r=r+Math.imul(nt,dt)|0)+Math.imul(Ue,qe)|0,v=v+Math.imul(Ue,dt)|0,_=_+Math.imul(ke,Vt)|0,r=(r=r+Math.imul(ke,Zt)|0)+Math.imul(Je,Vt)|0,v=v+Math.imul(Je,Zt)|0,_=_+Math.imul(Ct,je)|0,r=(r=r+Math.imul(Ct,me)|0)+Math.imul(_t,je)|0,v=v+Math.imul(_t,me)|0,_=_+Math.imul(he,ce)|0,r=(r=r+Math.imul(he,Me)|0)+Math.imul(et,ce)|0,v=v+Math.imul(et,Me)|0,_=_+Math.imul(We,Pe)|0,r=(r=r+Math.imul(We,Oe)|0)+Math.imul(se,Pe)|0,v=v+Math.imul(se,Oe)|0,_=_+Math.imul(_e,De)|0,r=(r=r+Math.imul(_e,$e)|0)+Math.imul(de,De)|0,v=v+Math.imul(de,$e)|0,_=_+Math.imul(re,Ft)|0,r=(r=r+Math.imul(re,Kt)|0)+Math.imul(te,Ft)|0,v=v+Math.imul(te,Kt)|0,_=_+Math.imul(at,Qt)|0,r=(r=r+Math.imul(at,zt)|0)+Math.imul(Ye,Qt)|0,v=v+Math.imul(Ye,zt)|0;var ai=(O+(_=_+Math.imul(N,ci)|0)|0)+((8191&(r=(r=r+Math.imul(N,ui)|0)+Math.imul(ne,ci)|0))<<13)|0;O=((v=v+Math.imul(ne,ui)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,_=Math.imul(tt,qe),r=(r=Math.imul(tt,dt))+Math.imul(wt,qe)|0,v=Math.imul(wt,dt),_=_+Math.imul(nt,Vt)|0,r=(r=r+Math.imul(nt,Zt)|0)+Math.imul(Ue,Vt)|0,v=v+Math.imul(Ue,Zt)|0,_=_+Math.imul(ke,je)|0,r=(r=r+Math.imul(ke,me)|0)+Math.imul(Je,je)|0,v=v+Math.imul(Je,me)|0,_=_+Math.imul(Ct,ce)|0,r=(r=r+Math.imul(Ct,Me)|0)+Math.imul(_t,ce)|0,v=v+Math.imul(_t,Me)|0,_=_+Math.imul(he,Pe)|0,r=(r=r+Math.imul(he,Oe)|0)+Math.imul(et,Pe)|0,v=v+Math.imul(et,Oe)|0,_=_+Math.imul(We,De)|0,r=(r=r+Math.imul(We,$e)|0)+Math.imul(se,De)|0,v=v+Math.imul(se,$e)|0,_=_+Math.imul(_e,Ft)|0,r=(r=r+Math.imul(_e,Kt)|0)+Math.imul(de,Ft)|0,v=v+Math.imul(de,Kt)|0,_=_+Math.imul(re,Qt)|0,r=(r=r+Math.imul(re,zt)|0)+Math.imul(te,Qt)|0,v=v+Math.imul(te,zt)|0;var Ei=(O+(_=_+Math.imul(at,ci)|0)|0)+((8191&(r=(r=r+Math.imul(at,ui)|0)+Math.imul(Ye,ci)|0))<<13)|0;O=((v=v+Math.imul(Ye,ui)|0)+(r>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,_=Math.imul(tt,Vt),r=(r=Math.imul(tt,Zt))+Math.imul(wt,Vt)|0,v=Math.imul(wt,Zt),_=_+Math.imul(nt,je)|0,r=(r=r+Math.imul(nt,me)|0)+Math.imul(Ue,je)|0,v=v+Math.imul(Ue,me)|0,_=_+Math.imul(ke,ce)|0,r=(r=r+Math.imul(ke,Me)|0)+Math.imul(Je,ce)|0,v=v+Math.imul(Je,Me)|0,_=_+Math.imul(Ct,Pe)|0,r=(r=r+Math.imul(Ct,Oe)|0)+Math.imul(_t,Pe)|0,v=v+Math.imul(_t,Oe)|0,_=_+Math.imul(he,De)|0,r=(r=r+Math.imul(he,$e)|0)+Math.imul(et,De)|0,v=v+Math.imul(et,$e)|0,_=_+Math.imul(We,Ft)|0,r=(r=r+Math.imul(We,Kt)|0)+Math.imul(se,Ft)|0,v=v+Math.imul(se,Kt)|0,_=_+Math.imul(_e,Qt)|0,r=(r=r+Math.imul(_e,zt)|0)+Math.imul(de,Qt)|0,v=v+Math.imul(de,zt)|0;var Hi=(O+(_=_+Math.imul(re,ci)|0)|0)+((8191&(r=(r=r+Math.imul(re,ui)|0)+Math.imul(te,ci)|0))<<13)|0;O=((v=v+Math.imul(te,ui)|0)+(r>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul(tt,je),r=(r=Math.imul(tt,me))+Math.imul(wt,je)|0,v=Math.imul(wt,me),_=_+Math.imul(nt,ce)|0,r=(r=r+Math.imul(nt,Me)|0)+Math.imul(Ue,ce)|0,v=v+Math.imul(Ue,Me)|0,_=_+Math.imul(ke,Pe)|0,r=(r=r+Math.imul(ke,Oe)|0)+Math.imul(Je,Pe)|0,v=v+Math.imul(Je,Oe)|0,_=_+Math.imul(Ct,De)|0,r=(r=r+Math.imul(Ct,$e)|0)+Math.imul(_t,De)|0,v=v+Math.imul(_t,$e)|0,_=_+Math.imul(he,Ft)|0,r=(r=r+Math.imul(he,Kt)|0)+Math.imul(et,Ft)|0,v=v+Math.imul(et,Kt)|0,_=_+Math.imul(We,Qt)|0,r=(r=r+Math.imul(We,zt)|0)+Math.imul(se,Qt)|0,v=v+Math.imul(se,zt)|0;var $i=(O+(_=_+Math.imul(_e,ci)|0)|0)+((8191&(r=(r=r+Math.imul(_e,ui)|0)+Math.imul(de,ci)|0))<<13)|0;O=((v=v+Math.imul(de,ui)|0)+(r>>>13)|0)+($i>>>26)|0,$i&=67108863,_=Math.imul(tt,ce),r=(r=Math.imul(tt,Me))+Math.imul(wt,ce)|0,v=Math.imul(wt,Me),_=_+Math.imul(nt,Pe)|0,r=(r=r+Math.imul(nt,Oe)|0)+Math.imul(Ue,Pe)|0,v=v+Math.imul(Ue,Oe)|0,_=_+Math.imul(ke,De)|0,r=(r=r+Math.imul(ke,$e)|0)+Math.imul(Je,De)|0,v=v+Math.imul(Je,$e)|0,_=_+Math.imul(Ct,Ft)|0,r=(r=r+Math.imul(Ct,Kt)|0)+Math.imul(_t,Ft)|0,v=v+Math.imul(_t,Kt)|0,_=_+Math.imul(he,Qt)|0,r=(r=r+Math.imul(he,zt)|0)+Math.imul(et,Qt)|0,v=v+Math.imul(et,zt)|0;var hn=(O+(_=_+Math.imul(We,ci)|0)|0)+((8191&(r=(r=r+Math.imul(We,ui)|0)+Math.imul(se,ci)|0))<<13)|0;O=((v=v+Math.imul(se,ui)|0)+(r>>>13)|0)+(hn>>>26)|0,hn&=67108863,_=Math.imul(tt,Pe),r=(r=Math.imul(tt,Oe))+Math.imul(wt,Pe)|0,v=Math.imul(wt,Oe),_=_+Math.imul(nt,De)|0,r=(r=r+Math.imul(nt,$e)|0)+Math.imul(Ue,De)|0,v=v+Math.imul(Ue,$e)|0,_=_+Math.imul(ke,Ft)|0,r=(r=r+Math.imul(ke,Kt)|0)+Math.imul(Je,Ft)|0,v=v+Math.imul(Je,Kt)|0,_=_+Math.imul(Ct,Qt)|0,r=(r=r+Math.imul(Ct,zt)|0)+Math.imul(_t,Qt)|0,v=v+Math.imul(_t,zt)|0;var Fi=(O+(_=_+Math.imul(he,ci)|0)|0)+((8191&(r=(r=r+Math.imul(he,ui)|0)+Math.imul(et,ci)|0))<<13)|0;O=((v=v+Math.imul(et,ui)|0)+(r>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,_=Math.imul(tt,De),r=(r=Math.imul(tt,$e))+Math.imul(wt,De)|0,v=Math.imul(wt,$e),_=_+Math.imul(nt,Ft)|0,r=(r=r+Math.imul(nt,Kt)|0)+Math.imul(Ue,Ft)|0,v=v+Math.imul(Ue,Kt)|0,_=_+Math.imul(ke,Qt)|0,r=(r=r+Math.imul(ke,zt)|0)+Math.imul(Je,Qt)|0,v=v+Math.imul(Je,zt)|0;var _n=(O+(_=_+Math.imul(Ct,ci)|0)|0)+((8191&(r=(r=r+Math.imul(Ct,ui)|0)+Math.imul(_t,ci)|0))<<13)|0;O=((v=v+Math.imul(_t,ui)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,_=Math.imul(tt,Ft),r=(r=Math.imul(tt,Kt))+Math.imul(wt,Ft)|0,v=Math.imul(wt,Kt),_=_+Math.imul(nt,Qt)|0,r=(r=r+Math.imul(nt,zt)|0)+Math.imul(Ue,Qt)|0,v=v+Math.imul(Ue,zt)|0;var mn=(O+(_=_+Math.imul(ke,ci)|0)|0)+((8191&(r=(r=r+Math.imul(ke,ui)|0)+Math.imul(Je,ci)|0))<<13)|0;O=((v=v+Math.imul(Je,ui)|0)+(r>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul(tt,Qt),r=(r=Math.imul(tt,zt))+Math.imul(wt,Qt)|0,v=Math.imul(wt,zt);var Dt=(O+(_=_+Math.imul(nt,ci)|0)|0)+((8191&(r=(r=r+Math.imul(nt,ui)|0)+Math.imul(Ue,ci)|0))<<13)|0;O=((v=v+Math.imul(Ue,ui)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var ct=(O+(_=Math.imul(tt,ci))|0)+((8191&(r=(r=Math.imul(tt,ui))+Math.imul(wt,ci)|0))<<13)|0;return O=((v=Math.imul(wt,ui))+(r>>>13)|0)+(ct>>>26)|0,ct&=67108863,L[0]=bn,L[1]=Qi,L[2]=Li,L[3]=nn,L[4]=st,L[5]=ii,L[6]=Se,L[7]=Mt,L[8]=Pt,L[9]=ai,L[10]=Ei,L[11]=Hi,L[12]=$i,L[13]=hn,L[14]=Fi,L[15]=_n,L[16]=mn,L[17]=Dt,L[18]=ct,0!==O&&(L[19]=O,f.length++),f};function G(D,n,c){return(new Y).mulp(D,n,c)}function Y(D,n){this.x=D,this.y=n}Math.imul||(V=F),l.prototype.mulTo=function(n,c){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?V(this,n,c):h<63?F(this,n,c):h<1024?function U(D,n,c){c.negative=n.negative^D.negative,c.length=D.length+n.length;for(var f=0,h=0,M=0;M<c.length-1;M++){var L=h;h=0;for(var O=67108863&f,_=Math.min(M,n.length-1),r=Math.max(0,M-D.length+1);r<=_;r++){var ne=(0|D.words[M-r])*(0|n.words[r]),Ie=67108863≠O=67108863&(Ie=Ie+O|0),h+=(L=(L=L+(ne/67108864|0)|0)+(Ie>>>26)|0)>>>26,L&=67108863}c.words[M]=O,f=L,L=h}return 0!==f?c.words[M]=f:c.length--,c.strip()}(this,n,c):G(this,n,c),f},Y.prototype.makeRBT=function(n){for(var c=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)c[h]=this.revBin(h,f,n);return c},Y.prototype.revBin=function(n,c,f){if(0===n||n===f-1)return n;for(var h=0,M=0;M<c;M++)h|=(1&n)<<c-M-1,n>>=1;return h},Y.prototype.permute=function(n,c,f,h,M,L){for(var O=0;O<L;O++)h[O]=c[n[O]],M[O]=f[n[O]]},Y.prototype.transform=function(n,c,f,h,M,L){this.permute(L,n,c,f,h,M);for(var O=1;O<M;O<<=1)for(var _=O<<1,r=Math.cos(2*Math.PI/_),v=Math.sin(2*Math.PI/_),z=0;z<M;z+=_)for(var N=r,ne=v,Ie=0;Ie<O;Ie++){var at=f[z+Ie],Ye=h[z+Ie],rt=f[z+Ie+O],re=h[z+Ie+O],te=N*rt-ne*re;re=N*re+ne*rt,f[z+Ie]=at+(rt=te),h[z+Ie]=Ye+re,f[z+Ie+O]=at-rt,h[z+Ie+O]=Ye-re,Ie!==_&&(te=r*N-v*ne,ne=r*ne+v*N,N=te)}},Y.prototype.guessLen13b=function(n,c){var f=1|Math.max(c,n),h=1&f,M=0;for(f=f/2|0;f;f>>>=1)M++;return 1<<M+1+h},Y.prototype.conjugate=function(n,c,f){if(!(f<=1))for(var h=0;h<f/2;h++){var M=n[h];n[h]=n[f-h-1],n[f-h-1]=M,M=c[h],c[h]=-c[f-h-1],c[f-h-1]=-M}},Y.prototype.normalize13b=function(n,c){for(var f=0,h=0;h<c/2;h++){var M=8192*Math.round(n[2*h+1]/c)+Math.round(n[2*h]/c)+f;n[h]=67108863&M,f=M<67108864?0:M/67108864|0}return n},Y.prototype.convert13b=function(n,c,f,h){for(var M=0,L=0;L<c;L++)f[2*L]=8191&(M+=0|n[L]),f[2*L+1]=8191&(M>>>=13),M>>>=13;for(L=2*c;L<h;++L)f[L]=0;C(0===M),C(!(-8192&M))},Y.prototype.stub=function(n){for(var c=new Array(n),f=0;f<n;f++)c[f]=0;return c},Y.prototype.mulp=function(n,c,f){var h=2*this.guessLen13b(n.length,c.length),M=this.makeRBT(h),L=this.stub(h),O=new Array(h),_=new Array(h),r=new Array(h),v=new Array(h),z=new Array(h),N=new Array(h),ne=f.words;ne.length=h,this.convert13b(n.words,n.length,O,h),this.convert13b(c.words,c.length,v,h),this.transform(O,L,_,r,h,M),this.transform(v,L,z,N,h,M);for(var Ie=0;Ie<h;Ie++){var at=_[Ie]*z[Ie]-r[Ie]*N[Ie];r[Ie]=_[Ie]*N[Ie]+r[Ie]*z[Ie],_[Ie]=at}return this.conjugate(_,r,h),this.transform(_,r,ne,L,h,M),this.conjugate(ne,L,h),this.normalize13b(ne,h),f.negative=n.negative^c.negative,f.length=n.length+c.length,f.strip()},l.prototype.mul=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},l.prototype.mulf=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),G(this,n,c)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){C("number"==typeof n),C(n<67108864);for(var c=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,M=(67108863&h)+(67108863&c);c>>=26,c+=h/67108864|0,c+=M>>>26,this.words[f]=67108863&M}return 0!==c&&(this.words[f]=c,this.length++),this.length=0===n?1: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 c=function k(D){for(var n=new Array(D.bitLength()),c=0;c<n.length;c++){var h=c%26;n[c]=(D.words[c/26|0]&1<<h)>>>h}return n}(n);if(0===c.length)return new l(1);for(var f=this,h=0;h<c.length&&0===c[h];h++,f=f.sqr());if(++h<c.length)for(var M=f.sqr();h<c.length;h++,M=M.sqr())0!==c[h]&&(f=f.mul(M));return f},l.prototype.iushln=function(n){C("number"==typeof n&&n>=0);var M,c=n%26,f=(n-c)/26,h=67108863>>>26-c<<26-c;if(0!==c){var L=0;for(M=0;M<this.length;M++){var O=this.words[M]&h;this.words[M]=(0|this.words[M])-O<<c|L,L=O>>>26-c}L&&(this.words[M]=L,this.length++)}if(0!==f){for(M=this.length-1;M>=0;M--)this.words[M+f]=this.words[M];for(M=0;M<f;M++)this.words[M]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return C(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,c,f){var h;C("number"==typeof n&&n>=0),h=c?(c-c%26)/26:0;var M=n%26,L=Math.min((n-M)/26,this.length),O=67108863^67108863>>>M<<M,_=f;if(h-=L,h=Math.max(0,h),_){for(var r=0;r<L;r++)_.words[r]=this.words[r];_.length=L}if(0!==L)if(this.length>L)for(this.length-=L,r=0;r<this.length;r++)this.words[r]=this.words[r+L];else this.words[0]=0,this.length=1;var v=0;for(r=this.length-1;r>=0&&(0!==v||r>=h);r--){var z=0|this.words[r];this.words[r]=v<<26-M|z>>>M,v=z&O}return _&&0!==v&&(_.words[_.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,f){return C(0===this.negative),this.iushrn(n,c,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){C("number"==typeof n&&n>=0);var c=n%26,f=(n-c)/26;return!(this.length<=f||!(this.words[f]&1<<c))},l.prototype.imaskn=function(n){C("number"==typeof n&&n>=0);var c=n%26,f=(n-c)/26;return C(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==c&&f++,this.length=Math.min(f,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>c<<c),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return C("number"==typeof n),C(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 c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},l.prototype.isubn=function(n){if(C("number"==typeof n),C(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 c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+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,c,f){var M;this._expand(n.length+f);var L,O=0;for(M=0;M<n.length;M++){L=(0|this.words[M+f])+O;var _=(0|n.words[M])*c;O=((L-=67108863&_)>>26)-(_/67108864|0),this.words[M+f]=67108863&L}for(;M<this.length-f;M++)O=(L=(0|this.words[M+f])+O)>>26,this.words[M+f]=67108863&L;if(0===O)return this.strip();for(C(-1===O),O=0,M=0;M<this.length;M++)O=(L=-(0|this.words[M])+O)>>26,this.words[M]=67108863&L;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var f,h=this.clone(),M=n,L=0|M.words[M.length-1];0!=(f=26-this._countBits(L))&&(M=M.ushln(f),h.iushln(f),L=0|M.words[M.length-1]);var r,_=h.length-M.length;if("mod"!==c){(r=new l(null)).length=_+1,r.words=new Array(r.length);for(var v=0;v<r.length;v++)r.words[v]=0}var z=h.clone()._ishlnsubmul(M,1,_);0===z.negative&&(h=z,r&&(r.words[_]=1));for(var N=_-1;N>=0;N--){var ne=67108864*(0|h.words[M.length+N])+(0|h.words[M.length+N-1]);for(ne=Math.min(ne/L|0,67108863),h._ishlnsubmul(M,ne,N);0!==h.negative;)ne--,h.negative=0,h._ishlnsubmul(M,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ne)}return r&&r.strip(),h.strip(),"div"!==c&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,c,f){return C(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(L=this.neg().divmod(n,c),"mod"!==c&&(h=L.div.neg()),"div"!==c&&(M=L.mod.neg(),f&&0!==M.negative&&M.iadd(n)),{div:h,mod:M}):0===this.negative&&0!==n.negative?(L=this.divmod(n.neg(),c),"mod"!==c&&(h=L.div.neg()),{div:h,mod:L.mod}):this.negative&n.negative?(L=this.neg().divmod(n.neg(),c),"div"!==c&&(M=L.mod.neg(),f&&0!==M.negative&&M.isub(n)),{div:L.div,mod:M}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===c?{div:this.divn(n.words[0]),mod:null}:"mod"===c?{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,c);var h,M,L},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 c=this.divmod(n);if(c.mod.isZero())return c.div;var f=0!==c.div.negative?c.mod.isub(n):c.mod,h=n.ushrn(1),M=n.andln(1),L=f.cmp(h);return L<0||1===M&&0===L?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){C(n<=67108863);for(var c=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(c*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){C(n<=67108863);for(var c=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*c;this.words[f]=h/n|0,c=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){C(0===n.negative),C(!n.isZero());var c=this,f=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),M=new l(0),L=new l(0),O=new l(1),_=0;c.isEven()&&f.isEven();)c.iushrn(1),f.iushrn(1),++_;for(var r=f.clone(),v=c.clone();!c.isZero();){for(var z=0,N=1;!(c.words[0]&N)&&z<26;++z,N<<=1);if(z>0)for(c.iushrn(z);z-- >0;)(h.isOdd()||M.isOdd())&&(h.iadd(r),M.isub(v)),h.iushrn(1),M.iushrn(1);for(var ne=0,Ie=1;!(f.words[0]&Ie)&&ne<26;++ne,Ie<<=1);if(ne>0)for(f.iushrn(ne);ne-- >0;)(L.isOdd()||O.isOdd())&&(L.iadd(r),O.isub(v)),L.iushrn(1),O.iushrn(1);c.cmp(f)>=0?(c.isub(f),h.isub(L),M.isub(O)):(f.isub(c),L.isub(h),O.isub(M))}return{a:L,b:O,gcd:f.iushln(_)}},l.prototype._invmp=function(n){C(0===n.negative),C(!n.isZero());var z,c=this,f=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),M=new l(0),L=f.clone();c.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,_=1;!(c.words[0]&_)&&O<26;++O,_<<=1);if(O>0)for(c.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(L),h.iushrn(1);for(var r=0,v=1;!(f.words[0]&v)&&r<26;++r,v<<=1);if(r>0)for(f.iushrn(r);r-- >0;)M.isOdd()&&M.iadd(L),M.iushrn(1);c.cmp(f)>=0?(c.isub(f),h.isub(M)):(f.isub(c),M.isub(h))}return(z=0===c.cmpn(1)?h:M).cmpn(0)<0&&z.iadd(n),z},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),f=n.clone();c.negative=0,f.negative=0;for(var h=0;c.isEven()&&f.isEven();h++)c.iushrn(1),f.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;f.isEven();)f.iushrn(1);var M=c.cmp(f);if(M<0){var L=c;c=f,f=L}else if(0===M||0===f.cmpn(1))break;c.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){C("number"==typeof n);var c=n%26,f=(n-c)/26,h=1<<c;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var M=h,L=f;0!==M&&L<this.length;L++){var O=0|this.words[L];M=(O+=M)>>>26,this.words[L]=O&=67108863}return 0!==M&&(this.words[L]=M,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)f=1;else{c&&(n=-n),C(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 c=this.ucmp(n);return 0!==this.negative?0|-c:c},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var c=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],M=0|n.words[f];if(h!==M){h<M?c=-1:h>M&&(c=1);break}}return c},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 ue(n)},l.prototype.toRed=function(n){return C(!this.red,"Already a number in reduction context"),C(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return C(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 C(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return C(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return C(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return C(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return C(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return C(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return C(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return C(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return C(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return C(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return C(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return C(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return C(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var $={k256:null,p224:null,p192:null,p25519:null};function Z(D,n){this.name=D,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 ie(){Z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ve(){Z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){Z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ye(){Z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ue(D){if("string"==typeof D){var n=l._prime(D);this.m=n.p,this.prime=n}else C(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function be(D){ue.call(this,D),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)}Z.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},Z.prototype.ireduce=function(n){var f,c=n;do{this.split(c,this.tmp),f=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:c.ucmp(this.p);return 0===h?(c.words[0]=0,c.length=1):h>0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},Z.prototype.split=function(n,c){n.iushrn(this.n,0,c)},Z.prototype.imulK=function(n){return n.imul(this.k)},S(ie,Z),ie.prototype.split=function(n,c){for(var f=4194303,h=Math.min(n.length,9),M=0;M<h;M++)c.words[M]=n.words[M];if(c.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var L=n.words[9];for(c.words[c.length++]=L&f,M=10;M<n.length;M++){var O=0|n.words[M];n.words[M-10]=(O&f)<<4|L>>>22,L=O}n.words[M-10]=L>>>=22,n.length-=0===L&&n.length>10?10:9},ie.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(c+=977*h),c=64*h+(c/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ve,Z),S(ae,Z),S(ye,Z),ye.prototype.imulK=function(n){for(var c=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+c,M=67108863&h;h>>>=26,n.words[f]=M,c=h}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if($[n])return $[n];var c;if("k256"===n)c=new ie;else if("p224"===n)c=new ve;else if("p192"===n)c=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new ye}return $[n]=c,c},ue.prototype._verify1=function(n){C(0===n.negative,"red works only with positives"),C(n.red,"red works only with red numbers")},ue.prototype._verify2=function(n,c){C(!(n.negative|c.negative),"red works only with positives"),C(n.red&&n.red===c.red,"red works only with red numbers")},ue.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},ue.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},ue.prototype.add=function(n,c){this._verify2(n,c);var f=n.add(c);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},ue.prototype.iadd=function(n,c){this._verify2(n,c);var f=n.iadd(c);return f.cmp(this.m)>=0&&f.isub(this.m),f},ue.prototype.sub=function(n,c){this._verify2(n,c);var f=n.sub(c);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},ue.prototype.isub=function(n,c){this._verify2(n,c);var f=n.isub(c);return f.cmpn(0)<0&&f.iadd(this.m),f},ue.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},ue.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},ue.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},ue.prototype.isqr=function(n){return this.imul(n,n.clone())},ue.prototype.sqr=function(n){return this.mul(n,n)},ue.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(C(c%2==1),3===c){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),M=0;!h.isZero()&&0===h.andln(1);)M++,h.iushrn(1);C(!h.isZero());var L=new l(1).toRed(this),O=L.redNeg(),_=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,_).cmp(O);)r.redIAdd(O);for(var v=this.pow(r,h),z=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ne=M;0!==N.cmp(L);){for(var Ie=N,at=0;0!==Ie.cmp(L);at++)Ie=Ie.redSqr();C(at<ne);var Ye=this.pow(v,new l(1).iushln(ne-at-1));z=z.redMul(Ye),v=Ye.redSqr(),N=N.redMul(v),ne=at}return z},ue.prototype.invm=function(n){var c=n._invmp(this.m);return 0!==c.negative?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},ue.prototype.pow=function(n,c){if(c.isZero())return new l(1).toRed(this);if(0===c.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var M=2;M<h.length;M++)h[M]=this.mul(h[M-1],n);var L=h[0],O=0,_=0,r=c.bitLength()%26;for(0===r&&(r=26),M=c.length-1;M>=0;M--){for(var v=c.words[M],z=r-1;z>=0;z--){var N=v>>z&1;L!==h[0]&&(L=this.sqr(L)),0!==N||0!==O?(O<<=1,O|=N,(4==++_||0===M&&0===z)&&(L=this.mul(L,h[O]),_=0,O=0)):_=0}r=26}return L},ue.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},ue.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new be(n)},S(be,ue),be.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},be.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},be.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(c),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=f.isub(h).iushrn(this.shift),L=M;return M.cmp(this.m)>=0?L=M.isub(this.m):M.cmpn(0)<0&&(L=M.iadd(this.m)),L._forceRed(this)},be.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var f=n.mul(c),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=f.isub(h).iushrn(this.shift),L=M;return M.cmp(this.m)>=0?L=M.isub(this.m):M.cmpn(0)<0&&(L=M.iadd(this.m)),L._forceRed(this)},be.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ve=p.nmd(Ve),this)},8613:(Ve,ee,p)=>{var t=p(5667),e=p(715),C=p(7196),S=p(6508),l=p(4105),x=p(7211),m=p(568),R=p(7054).Buffer;Ve.exports=function(k,F,V){var U;U=k.padding?k.padding:V?1:4;var $,G=t(k),Y=G.modulus.byteLength();if(F.length>Y||new S(F).cmp(G.modulus)>=0)throw new Error("decryption error");$=V?m(new S(F),G):l(F,G);var Z=R.alloc(Y-$.length);if($=R.concat([Z,$],Y),4===U)return function d(T,k){var F=T.modulus.byteLength(),V=x("sha1").update(R.alloc(0)).digest(),U=V.length;if(0!==k[0])throw new Error("decryption error");var G=k.slice(1,U+1),Y=k.slice(U+1),$=C(G,e(Y,U)),Z=C(Y,e($,F-U-1));if(function y(T,k){T=R.from(T),k=R.from(k);var F=0,V=T.length;T.length!==k.length&&(F++,V=Math.min(T.length,k.length));for(var U=-1;++U<V;)F+=T[U]^k[U];return F}(V,Z.slice(0,U)))throw new Error("decryption error");for(var ie=U;0===Z[ie];)ie++;if(1!==Z[ie++])throw new Error("decryption error");return Z.slice(ie)}(G,$);if(1===U)return function w(T,k,F){for(var V=k.slice(0,2),U=2,G=0;0!==k[U++];)if(U>=k.length){G++;break}var Y=k.slice(2,U-1);if(("0002"!==V.toString("hex")&&!F||"0001"!==V.toString("hex")&&F)&&G++,Y.length<8&&G++,G)throw new Error("decryption error");return k.slice(U)}(0,$,V);if(3===U)return $;throw new Error("unknown padding")}},7267:(Ve,ee,p)=>{var t=p(5667),e=p(3342),C=p(7211),S=p(715),l=p(7196),x=p(6508),m=p(568),R=p(4105),d=p(7054).Buffer;Ve.exports=function(F,V,U){var G;G=F.padding?F.padding:U?1:4;var $,Y=t(F);if(4===G)$=function w(k,F){var V=k.modulus.byteLength(),U=F.length,G=C("sha1").update(d.alloc(0)).digest(),Y=G.length,$=2*Y;if(U>V-$-2)throw new Error("message too long");var Z=d.alloc(V-U-$-2),ie=V-Y-1,ve=e(Y),ae=l(d.concat([G,Z,d.alloc(1,1),F],ie),S(ve,ie)),ye=l(ve,S(ae,Y));return new x(d.concat([d.alloc(1),ye,ae],V))}(Y,V);else if(1===G)$=function y(k,F,V){var Y,U=F.length,G=k.modulus.byteLength();if(U>G-11)throw new Error("message too long");return Y=V?d.alloc(G-U-3,255):function T(k){for(var Y,F=d.allocUnsafe(k),V=0,U=e(2*k),G=0;V<k;)G===U.length&&(U=e(2*k),G=0),(Y=U[G++])&&(F[V++]=Y);return F}(G-U-3),new x(d.concat([d.from([0,V?1:2]),Y,d.alloc(1),F],G))}(Y,V,U);else{if(3!==G)throw new Error("unknown padding");if(($=new x(V)).cmp(Y.modulus)>=0)throw new Error("data too long for modulus")}return U?R($,Y):m($,Y)}},568:(Ve,ee,p)=>{var t=p(6508),e=p(7054).Buffer;Ve.exports=function C(S,l){return e.from(S.toRed(t.mont(l.modulus)).redPow(new t(l.publicExponent)).fromRed().toArray())}},7196:Ve=>{Ve.exports=function(p,t){for(var e=p.length,C=-1;++C<e;)p[C]^=t[C];return p}},8314:(Ve,ee,p)=>{const t=p(2836),e=p(9460),C=p(7030),S=p(6511);function l(x,m,R,d,w){const y=[].slice.call(arguments,1),T=y.length,k="function"==typeof y[T-1];if(!k&&!t())throw new Error("Callback required as last argument");if(!k){if(T<1)throw new Error("Too few arguments provided");return 1===T?(R=m,m=d=void 0):2===T&&!m.getContext&&(d=R,R=m,m=void 0),new Promise(function(F,V){try{const U=e.create(R,d);F(x(U,m,d))}catch(U){V(U)}})}if(T<2)throw new Error("Too few arguments provided");2===T?(w=R,R=m,m=d=void 0):3===T&&(m.getContext&&typeof w>"u"?(w=d,d=void 0):(w=d,d=R,R=m,m=void 0));try{const F=e.create(R,d);w(null,x(F,m,d))}catch(F){w(F)}}ee.create=e.create,ee.toCanvas=l.bind(null,C.render),ee.toDataURL=l.bind(null,C.renderToDataURL),ee.toString=l.bind(null,function(x,m,R){return S.render(x,R)})},2836:Ve=>{Ve.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6214:(Ve,ee,p)=>{const t=p(9089).getSymbolSize;ee.getRowColCoords=function(C){if(1===C)return[];const S=Math.floor(C/7)+2,l=t(C),x=145===l?26:2*Math.ceil((l-13)/(2*S-2)),m=[l-7];for(let R=1;R<S-1;R++)m[R]=m[R-1]-x;return m.push(6),m.reverse()},ee.getPositions=function(C){const S=[],l=ee.getRowColCoords(C),x=l.length;for(let m=0;m<x;m++)for(let R=0;R<x;R++)0===m&&0===R||0===m&&R===x-1||m===x-1&&0===R||S.push([l[m],l[R]]);return S}},1018:(Ve,ee,p)=>{const t=p(1677),e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function C(S){this.mode=t.ALPHANUMERIC,this.data=S}C.getBitsLength=function(l){return 11*Math.floor(l/2)+l%2*6},C.prototype.getLength=function(){return this.data.length},C.prototype.getBitsLength=function(){return C.getBitsLength(this.data.length)},C.prototype.write=function(l){let x;for(x=0;x+2<=this.data.length;x+=2){let m=45*e.indexOf(this.data[x]);m+=e.indexOf(this.data[x+1]),l.put(m,11)}this.data.length%2&&l.put(e.indexOf(this.data[x]),6)},Ve.exports=C},4662:Ve=>{function ee(){this.buffer=[],this.length=0}ee.prototype={get:function(p){const t=Math.floor(p/8);return 1==(this.buffer[t]>>>7-p%8&1)},put:function(p,t){for(let e=0;e<t;e++)this.putBit(1==(p>>>t-e-1&1))},getLengthInBits:function(){return this.length},putBit:function(p){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),p&&(this.buffer[t]|=128>>>this.length%8),this.length++}},Ve.exports=ee},8322:Ve=>{function ee(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)}ee.prototype.set=function(p,t,e,C){const S=p*this.size+t;this.data[S]=e,C&&(this.reservedBit[S]=!0)},ee.prototype.get=function(p,t){return this.data[p*this.size+t]},ee.prototype.xor=function(p,t,e){this.data[p*this.size+t]^=e},ee.prototype.isReserved=function(p,t){return this.reservedBit[p*this.size+t]},Ve.exports=ee},4969:(Ve,ee,p)=>{const t=p(1677);function e(C){this.mode=t.BYTE,this.data="string"==typeof C?(new TextEncoder).encode(C):new Uint8Array(C)}e.getBitsLength=function(S){return 8*S},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(C){for(let S=0,l=this.data.length;S<l;S++)C.put(this.data[S],8)},Ve.exports=e},3677:(Ve,ee,p)=>{const t=p(7424),e=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],C=[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];ee.getBlocksCount=function(l,x){switch(x){case t.L:return e[4*(l-1)+0];case t.M:return e[4*(l-1)+1];case t.Q:return e[4*(l-1)+2];case t.H:return e[4*(l-1)+3];default:return}},ee.getTotalCodewordsCount=function(l,x){switch(x){case t.L:return C[4*(l-1)+0];case t.M:return C[4*(l-1)+1];case t.Q:return C[4*(l-1)+2];case t.H:return C[4*(l-1)+3];default:return}}},7424:(Ve,ee)=>{ee.L={bit:1},ee.M={bit:0},ee.Q={bit:3},ee.H={bit:2},ee.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4},ee.from=function(e,C){if(ee.isValid(e))return e;try{return function p(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return ee.L;case"m":case"medium":return ee.M;case"q":case"quartile":return ee.Q;case"h":case"high":return ee.H;default:throw new Error("Unknown EC Level: "+t)}}(e)}catch{return C}}},6269:(Ve,ee,p)=>{const t=p(9089).getSymbolSize;ee.getPositions=function(S){const l=t(S);return[[0,0],[l-7,0],[0,l-7]]}},6254:(Ve,ee,p)=>{const t=p(9089),S=t.getBCHDigit(1335);ee.getEncodedBits=function(x,m){const R=x.bit<<3|m;let d=R<<10;for(;t.getBCHDigit(d)-S>=0;)d^=1335<<t.getBCHDigit(d)-S;return 21522^(R<<10|d)}},6686:(Ve,ee)=>{const p=new Uint8Array(512),t=new Uint8Array(256);(function(){let C=1;for(let S=0;S<255;S++)p[S]=C,t[C]=S,C<<=1,256&C&&(C^=285);for(let S=255;S<512;S++)p[S]=p[S-255]})(),ee.log=function(C){if(C<1)throw new Error("log("+C+")");return t[C]},ee.exp=function(C){return p[C]},ee.mul=function(C,S){return 0===C||0===S?0:p[t[C]+t[S]]}},3264:(Ve,ee,p)=>{const t=p(1677),e=p(9089);function C(S){this.mode=t.KANJI,this.data=S}C.getBitsLength=function(l){return 13*l},C.prototype.getLength=function(){return this.data.length},C.prototype.getBitsLength=function(){return C.getBitsLength(this.data.length)},C.prototype.write=function(S){let l;for(l=0;l<this.data.length;l++){let x=e.toSJIS(this.data[l]);if(x>=33088&&x<=40956)x-=33088;else{if(!(x>=57408&&x<=60351))throw new Error("Invalid SJIS character: "+this.data[l]+"\nMake sure your charset is UTF-8");x-=49472}x=192*(x>>>8&255)+(255&x),S.put(x,13)}},Ve.exports=C},5742:(Ve,ee)=>{ee.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function t(e,C,S){switch(e){case ee.Patterns.PATTERN000:return(C+S)%2==0;case ee.Patterns.PATTERN001:return C%2==0;case ee.Patterns.PATTERN010:return S%3==0;case ee.Patterns.PATTERN011:return(C+S)%3==0;case ee.Patterns.PATTERN100:return(Math.floor(C/2)+Math.floor(S/3))%2==0;case ee.Patterns.PATTERN101:return C*S%2+C*S%3==0;case ee.Patterns.PATTERN110:return(C*S%2+C*S%3)%2==0;case ee.Patterns.PATTERN111:return(C*S%3+(C+S)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}ee.isValid=function(C){return null!=C&&""!==C&&!isNaN(C)&&C>=0&&C<=7},ee.from=function(C){return ee.isValid(C)?parseInt(C,10):void 0},ee.getPenaltyN1=function(C){const S=C.size;let l=0,x=0,m=0,R=null,d=null;for(let w=0;w<S;w++){x=m=0,R=d=null;for(let y=0;y<S;y++){let T=C.get(w,y);T===R?x++:(x>=5&&(l+=x-5+3),R=T,x=1),T=C.get(y,w),T===d?m++:(m>=5&&(l+=m-5+3),d=T,m=1)}x>=5&&(l+=x-5+3),m>=5&&(l+=m-5+3)}return l},ee.getPenaltyN2=function(C){const S=C.size;let l=0;for(let x=0;x<S-1;x++)for(let m=0;m<S-1;m++){const R=C.get(x,m)+C.get(x,m+1)+C.get(x+1,m)+C.get(x+1,m+1);(4===R||0===R)&&l++}return 3*l},ee.getPenaltyN3=function(C){const S=C.size;let l=0,x=0,m=0;for(let R=0;R<S;R++){x=m=0;for(let d=0;d<S;d++)x=x<<1&2047|C.get(R,d),d>=10&&(1488===x||93===x)&&l++,m=m<<1&2047|C.get(d,R),d>=10&&(1488===m||93===m)&&l++}return 40*l},ee.getPenaltyN4=function(C){let S=0;const l=C.data.length;for(let m=0;m<l;m++)S+=C.data[m];return 10*Math.abs(Math.ceil(100*S/l/5)-10)},ee.applyMask=function(C,S){const l=S.size;for(let x=0;x<l;x++)for(let m=0;m<l;m++)S.isReserved(m,x)||S.xor(m,x,t(C,m,x))},ee.getBestMask=function(C,S){const l=Object.keys(ee.Patterns).length;let x=0,m=1/0;for(let R=0;R<l;R++){S(R),ee.applyMask(R,C);const d=ee.getPenaltyN1(C)+ee.getPenaltyN2(C)+ee.getPenaltyN3(C)+ee.getPenaltyN4(C);ee.applyMask(R,C),d<m&&(m=d,x=R)}return x}},1677:(Ve,ee,p)=>{const t=p(377),e=p(9359);ee.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},ee.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},ee.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},ee.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},ee.MIXED={bit:-1},ee.getCharCountIndicator=function(l,x){if(!l.ccBits)throw new Error("Invalid mode: "+l);if(!t.isValid(x))throw new Error("Invalid version: "+x);return x>=1&&x<10?l.ccBits[0]:x<27?l.ccBits[1]:l.ccBits[2]},ee.getBestModeForData=function(l){return e.testNumeric(l)?ee.NUMERIC:e.testAlphanumeric(l)?ee.ALPHANUMERIC:e.testKanji(l)?ee.KANJI:ee.BYTE},ee.toString=function(l){if(l&&l.id)return l.id;throw new Error("Invalid mode")},ee.isValid=function(l){return l&&l.bit&&l.ccBits},ee.from=function(l,x){if(ee.isValid(l))return l;try{return function C(S){if("string"!=typeof S)throw new Error("Param is not a string");switch(S.toLowerCase()){case"numeric":return ee.NUMERIC;case"alphanumeric":return ee.ALPHANUMERIC;case"kanji":return ee.KANJI;case"byte":return ee.BYTE;default:throw new Error("Unknown mode: "+S)}}(l)}catch{return x}}},6628:(Ve,ee,p)=>{const t=p(1677);function e(C){this.mode=t.NUMERIC,this.data=C.toString()}e.getBitsLength=function(S){return 10*Math.floor(S/3)+(S%3?S%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(S){let l,x,m;for(l=0;l+3<=this.data.length;l+=3)x=this.data.substr(l,3),m=parseInt(x,10),S.put(m,10);const R=this.data.length-l;R>0&&(x=this.data.substr(l),m=parseInt(x,10),S.put(m,3*R+1))},Ve.exports=e},1744:(Ve,ee,p)=>{const t=p(6686);ee.mul=function(C,S){const l=new Uint8Array(C.length+S.length-1);for(let x=0;x<C.length;x++)for(let m=0;m<S.length;m++)l[x+m]^=t.mul(C[x],S[m]);return l},ee.mod=function(C,S){let l=new Uint8Array(C);for(;l.length-S.length>=0;){const x=l[0];for(let R=0;R<S.length;R++)l[R]^=t.mul(S[R],x);let m=0;for(;m<l.length&&0===l[m];)m++;l=l.slice(m)}return l},ee.generateECPolynomial=function(C){let S=new Uint8Array([1]);for(let l=0;l<C;l++)S=ee.mul(S,new Uint8Array([1,t.exp(l)]));return S}},9460:(Ve,ee,p)=>{const t=p(9089),e=p(7424),C=p(4662),S=p(8322),l=p(6214),x=p(6269),m=p(5742),R=p(3677),d=p(6289),w=p(1252),y=p(6254),T=p(1677),k=p(2868);function Y(ae,ye,ue){const be=ae.size,D=y.getEncodedBits(ye,ue);let n,c;for(n=0;n<15;n++)c=1==(D>>n&1),ae.set(n<6?n:n<8?n+1:be-15+n,8,c,!0),ae.set(8,n<8?be-n-1:n<9?15-n-1+1:15-n-1,c,!0);ae.set(be-8,8,1,!0)}function ve(ae,ye,ue,be){let D;if(Array.isArray(ae))D=k.fromArray(ae);else{if("string"!=typeof ae)throw new Error("Invalid data");{let M=ye;if(!M){const L=k.rawSplit(ae);M=w.getBestVersionForData(L,ue)}D=k.fromString(ae,M||40)}}const n=w.getBestVersionForData(D,ue);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(ye){if(ye<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 ye=n;const c=function Z(ae,ye,ue){const be=new C;ue.forEach(function(h){be.put(h.mode.bit,4),be.put(h.getLength(),T.getCharCountIndicator(h.mode,ae)),h.write(be)});const c=8*(t.getSymbolTotalCodewords(ae)-R.getTotalCodewordsCount(ae,ye));for(be.getLengthInBits()+4<=c&&be.put(0,4);be.getLengthInBits()%8!=0;)be.putBit(0);const f=(c-be.getLengthInBits())/8;for(let h=0;h<f;h++)be.put(h%2?17:236,8);return function ie(ae,ye,ue){const be=t.getSymbolTotalCodewords(ye),n=be-R.getTotalCodewordsCount(ye,ue),c=R.getBlocksCount(ye,ue),h=c-be%c,M=Math.floor(be/c),L=Math.floor(n/c),O=L+1,_=M-L,r=new d(_);let v=0;const z=new Array(c),N=new Array(c);let ne=0;const Ie=new Uint8Array(ae.buffer);for(let te=0;te<c;te++){const oe=te<h?L:O;z[te]=Ie.slice(v,v+oe),N[te]=r.encode(z[te]),v+=oe,ne=Math.max(ne,oe)}const at=new Uint8Array(be);let rt,re,Ye=0;for(rt=0;rt<ne;rt++)for(re=0;re<c;re++)rt<z[re].length&&(at[Ye++]=z[re][rt]);for(rt=0;rt<_;rt++)for(re=0;re<c;re++)at[Ye++]=N[re][rt];return at}(be,ae,ye)}(ye,ue,D),f=t.getSymbolSize(ye),h=new S(f);return function F(ae,ye){const ue=ae.size,be=x.getPositions(ye);for(let D=0;D<be.length;D++){const n=be[D][0],c=be[D][1];for(let f=-1;f<=7;f++)if(!(n+f<=-1||ue<=n+f))for(let h=-1;h<=7;h++)c+h<=-1||ue<=c+h||ae.set(n+f,c+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,ye),function V(ae){const ye=ae.size;for(let ue=8;ue<ye-8;ue++){const be=ue%2==0;ae.set(ue,6,be,!0),ae.set(6,ue,be,!0)}}(h),function U(ae,ye){const ue=l.getPositions(ye);for(let be=0;be<ue.length;be++){const D=ue[be][0],n=ue[be][1];for(let c=-2;c<=2;c++)for(let f=-2;f<=2;f++)ae.set(D+c,n+f,-2===c||2===c||-2===f||2===f||0===c&&0===f,!0)}}(h,ye),Y(h,ue,0),ye>=7&&function G(ae,ye){const ue=ae.size,be=w.getEncodedBits(ye);let D,n,c;for(let f=0;f<18;f++)D=Math.floor(f/3),n=f%3+ue-8-3,c=1==(be>>f&1),ae.set(D,n,c,!0),ae.set(n,D,c,!0)}(h,ye),function $(ae,ye){const ue=ae.size;let be=-1,D=ue-1,n=7,c=0;for(let f=ue-1;f>0;f-=2)for(6===f&&f--;;){for(let h=0;h<2;h++)if(!ae.isReserved(D,f-h)){let M=!1;c<ye.length&&(M=1==(ye[c]>>>n&1)),ae.set(D,f-h,M),n--,-1===n&&(c++,n=7)}if(D+=be,D<0||ue<=D){D-=be,be=-be;break}}}(h,c),isNaN(be)&&(be=m.getBestMask(h,Y.bind(null,h,ue))),m.applyMask(be,h),Y(h,ue,be),{modules:h,version:ye,errorCorrectionLevel:ue,maskPattern:be,segments:D}}ee.create=function(ye,ue){if(typeof ye>"u"||""===ye)throw new Error("No input text");let D,n,be=e.M;return typeof ue<"u"&&(be=e.from(ue.errorCorrectionLevel,e.M),D=w.from(ue.version),n=m.from(ue.maskPattern),ue.toSJISFunc&&t.setToSJISFunction(ue.toSJISFunc)),ve(ye,D,be,n)}},6289:(Ve,ee,p)=>{const t=p(1744);function e(C){this.genPoly=void 0,this.degree=C,this.degree&&this.initialize(this.degree)}e.prototype.initialize=function(S){this.degree=S,this.genPoly=t.generateECPolynomial(this.degree)},e.prototype.encode=function(S){if(!this.genPoly)throw new Error("Encoder not initialized");const l=new Uint8Array(S.length+this.degree);l.set(S);const x=t.mod(l,this.genPoly),m=this.degree-x.length;if(m>0){const R=new Uint8Array(this.degree);return R.set(x,m),R}return x},Ve.exports=e},9359:(Ve,ee)=>{const p="[0-9]+";let e="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";e=e.replace(/u/g,"\\u");const C="(?:(?![A-Z0-9 $%*+\\-./:]|"+e+")(?:.|[\r\n]))+";ee.KANJI=new RegExp(e,"g"),ee.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),ee.BYTE=new RegExp(C,"g"),ee.NUMERIC=new RegExp(p,"g"),ee.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const S=new RegExp("^"+e+"$"),l=new RegExp("^"+p+"$"),x=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");ee.testKanji=function(R){return S.test(R)},ee.testNumeric=function(R){return l.test(R)},ee.testAlphanumeric=function(R){return x.test(R)}},2868:(Ve,ee,p)=>{const t=p(1677),e=p(6628),C=p(1018),S=p(4969),l=p(3264),x=p(9359),m=p(9089),R=p(243);function d(G){return unescape(encodeURIComponent(G)).length}function w(G,Y,$){const Z=[];let ie;for(;null!==(ie=G.exec($));)Z.push({data:ie[0],index:ie.index,mode:Y,length:ie[0].length});return Z}function y(G){const Y=w(x.NUMERIC,t.NUMERIC,G),$=w(x.ALPHANUMERIC,t.ALPHANUMERIC,G);let Z,ie;return m.isKanjiModeEnabled()?(Z=w(x.BYTE,t.BYTE,G),ie=w(x.KANJI,t.KANJI,G)):(Z=w(x.BYTE_KANJI,t.BYTE,G),ie=[]),Y.concat($,Z,ie).sort(function(ae,ye){return ae.index-ye.index}).map(function(ae){return{data:ae.data,mode:ae.mode,length:ae.length}})}function T(G,Y){switch(Y){case t.NUMERIC:return e.getBitsLength(G);case t.ALPHANUMERIC:return C.getBitsLength(G);case t.KANJI:return l.getBitsLength(G);case t.BYTE:return S.getBitsLength(G)}}function U(G,Y){let $;const Z=t.getBestModeForData(G);if($=t.from(Y,Z),$!==t.BYTE&&$.bit<Z.bit)throw new Error('"'+G+'" cannot be encoded with mode '+t.toString($)+".\n Suggested mode is: "+t.toString(Z));switch($===t.KANJI&&!m.isKanjiModeEnabled()&&($=t.BYTE),$){case t.NUMERIC:return new e(G);case t.ALPHANUMERIC:return new C(G);case t.KANJI:return new l(G);case t.BYTE:return new S(G)}}ee.fromArray=function(Y){return Y.reduce(function($,Z){return"string"==typeof Z?$.push(U(Z,null)):Z.data&&$.push(U(Z.data,Z.mode)),$},[])},ee.fromString=function(Y,$){const ie=function F(G){const Y=[];for(let $=0;$<G.length;$++){const Z=G[$];switch(Z.mode){case t.NUMERIC:Y.push([Z,{data:Z.data,mode:t.ALPHANUMERIC,length:Z.length},{data:Z.data,mode:t.BYTE,length:Z.length}]);break;case t.ALPHANUMERIC:Y.push([Z,{data:Z.data,mode:t.BYTE,length:Z.length}]);break;case t.KANJI:Y.push([Z,{data:Z.data,mode:t.BYTE,length:d(Z.data)}]);break;case t.BYTE:Y.push([{data:Z.data,mode:t.BYTE,length:d(Z.data)}])}}return Y}(y(Y,m.isKanjiModeEnabled())),ve=function V(G,Y){const $={},Z={start:{}};let ie=["start"];for(let ve=0;ve<G.length;ve++){const ae=G[ve],ye=[];for(let ue=0;ue<ae.length;ue++){const be=ae[ue],D=""+ve+ue;ye.push(D),$[D]={node:be,lastCount:0},Z[D]={};for(let n=0;n<ie.length;n++){const c=ie[n];$[c]&&$[c].node.mode===be.mode?(Z[c][D]=T($[c].lastCount+be.length,be.mode)-T($[c].lastCount,be.mode),$[c].lastCount+=be.length):($[c]&&($[c].lastCount=be.length),Z[c][D]=T(be.length,be.mode)+4+t.getCharCountIndicator(be.mode,Y))}}ie=ye}for(let ve=0;ve<ie.length;ve++)Z[ie[ve]].end=0;return{map:Z,table:$}}(ie,$),ae=R.find_path(ve.map,"start","end"),ye=[];for(let ue=1;ue<ae.length-1;ue++)ye.push(ve.table[ae[ue]].node);return ee.fromArray(function k(G){return G.reduce(function(Y,$){const Z=Y.length-1>=0?Y[Y.length-1]:null;return Z&&Z.mode===$.mode?(Y[Y.length-1].data+=$.data,Y):(Y.push($),Y)},[])}(ye))},ee.rawSplit=function(Y){return ee.fromArray(y(Y,m.isKanjiModeEnabled()))}},9089:(Ve,ee)=>{let p;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];ee.getSymbolSize=function(C){if(!C)throw new Error('"version" cannot be null or undefined');if(C<1||C>40)throw new Error('"version" should be in range from 1 to 40');return 4*C+17},ee.getSymbolTotalCodewords=function(C){return t[C]},ee.getBCHDigit=function(e){let C=0;for(;0!==e;)C++,e>>>=1;return C},ee.setToSJISFunction=function(C){if("function"!=typeof C)throw new Error('"toSJISFunc" is not a valid function.');p=C},ee.isKanjiModeEnabled=function(){return typeof p<"u"},ee.toSJIS=function(C){return p(C)}},377:(Ve,ee)=>{ee.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},1252:(Ve,ee,p)=>{const t=p(9089),e=p(3677),C=p(7424),S=p(1677),l=p(377),m=t.getBCHDigit(7973);function d(T,k){return S.getCharCountIndicator(T,k)+4}function w(T,k){let F=0;return T.forEach(function(V){const U=d(V.mode,k);F+=U+V.getBitsLength()}),F}ee.from=function(k,F){return l.isValid(k)?parseInt(k,10):F},ee.getCapacity=function(k,F,V){if(!l.isValid(k))throw new Error("Invalid QR Code version");typeof V>"u"&&(V=S.BYTE);const Y=8*(t.getSymbolTotalCodewords(k)-e.getTotalCodewordsCount(k,F));if(V===S.MIXED)return Y;const $=Y-d(V,k);switch(V){case S.NUMERIC:return Math.floor($/10*3);case S.ALPHANUMERIC:return Math.floor($/11*2);case S.KANJI:return Math.floor($/13);default:return Math.floor($/8)}},ee.getBestVersionForData=function(k,F){let V;const U=C.from(F,C.M);if(Array.isArray(k)){if(k.length>1)return function y(T,k){for(let F=1;F<=40;F++)if(w(T,F)<=ee.getCapacity(F,k,S.MIXED))return F}(k,U);if(0===k.length)return 1;V=k[0]}else V=k;return function R(T,k,F){for(let V=1;V<=40;V++)if(k<=ee.getCapacity(V,F,T))return V}(V.mode,V.getLength(),U)},ee.getEncodedBits=function(k){if(!l.isValid(k)||k<7)throw new Error("Invalid QR Code version");let F=k<<12;for(;t.getBCHDigit(F)-m>=0;)F^=7973<<t.getBCHDigit(F)-m;return k<<12|F}},7030:(Ve,ee,p)=>{const t=p(7077);ee.render=function(l,x,m){let R=m,d=x;typeof R>"u"&&(!x||!x.getContext)&&(R=x,x=void 0),x||(d=function C(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),R=t.getOptions(R);const w=t.getImageWidth(l.modules.size,R),y=d.getContext("2d"),T=y.createImageData(w,w);return t.qrToImageData(T.data,l,R),function e(S,l,x){S.clearRect(0,0,l.width,l.height),l.style||(l.style={}),l.height=x,l.width=x,l.style.height=x+"px",l.style.width=x+"px"}(y,d,w),y.putImageData(T,0,0),d},ee.renderToDataURL=function(l,x,m){let R=m;return typeof R>"u"&&(!x||!x.getContext)&&(R=x,x=void 0),R||(R={}),ee.render(l,x,R).toDataURL(R.type||"image/png",(R.rendererOpts||{}).quality)}},6511:(Ve,ee,p)=>{const t=p(7077);function e(l,x){const m=l.a/255,R=x+'="'+l.hex+'"';return m<1?R+" "+x+'-opacity="'+m.toFixed(2).slice(1)+'"':R}function C(l,x,m){let R=l+x;return typeof m<"u"&&(R+=" "+m),R}ee.render=function(x,m,R){const d=t.getOptions(m),w=x.modules.size,y=x.modules.data,T=w+2*d.margin,k=d.color.light.a?"<path "+e(d.color.light,"fill")+' d="M0 0h'+T+"v"+T+'H0z"/>':"",F="<path "+e(d.color.dark,"stroke")+' d="'+function S(l,x,m){let R="",d=0,w=!1,y=0;for(let T=0;T<l.length;T++){const k=Math.floor(T%x),F=Math.floor(T/x);!k&&!w&&(w=!0),l[T]?(y++,T>0&&k>0&&l[T-1]||(R+=w?C("M",k+m,.5+F+m):C("m",d,0),d=0,w=!1),k+1<x&&l[T+1]||(R+=C("h",y),y=0)):d++}return R}(y,w,d.margin)+'"/>',G='<svg xmlns="http://www.w3.org/2000/svg" '+(d.width?'width="'+d.width+'" height="'+d.width+'" ':"")+'viewBox="0 0 '+T+" "+T+'" shape-rendering="crispEdges">'+k+F+"</svg>\n";return"function"==typeof R&&R(null,G),G}},7077:(Ve,ee)=>{function p(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);(3===e.length||4===e.length)&&(e=Array.prototype.concat.apply([],e.map(function(S){return[S,S]}))),6===e.length&&e.push("F","F");const C=parseInt(e.join(""),16);return{r:C>>24&255,g:C>>16&255,b:C>>8&255,a:255&C,hex:"#"+e.slice(0,6).join("")}}ee.getOptions=function(e){e||(e={}),e.color||(e.color={});const S=e.width&&e.width>=21?e.width:void 0;return{width:S,scale:S?4:e.scale||4,margin:typeof e.margin>"u"||null===e.margin||e.margin<0?4:e.margin,color:{dark:p(e.color.dark||"#000000ff"),light:p(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},ee.getScale=function(e,C){return C.width&&C.width>=e+2*C.margin?C.width/(e+2*C.margin):C.scale},ee.getImageWidth=function(e,C){const S=ee.getScale(e,C);return Math.floor((e+2*C.margin)*S)},ee.qrToImageData=function(e,C,S){const l=C.modules.size,x=C.modules.data,m=ee.getScale(l,S),R=Math.floor((l+2*S.margin)*m),d=S.margin*m,w=[S.color.light,S.color.dark];for(let y=0;y<R;y++)for(let T=0;T<R;T++){let k=4*(y*R+T),F=S.color.light;y>=d&&T>=d&&y<R-d&&T<R-d&&(F=w[x[Math.floor((y-d)/m)*l+Math.floor((T-d)/m)]?1:0]),e[k++]=F.r,e[k++]=F.g,e[k++]=F.b,e[k]=F.a}}},3342:(Ve,ee,p)=>{"use strict";var t=65536,S=p(7054).Buffer,l=global.crypto||global.msCrypto;Ve.exports=l&&l.getRandomValues?function x(m,R){if(m>4294967295)throw new RangeError("requested too many random bytes");var d=S.allocUnsafe(m);if(m>0)if(m>t)for(var w=0;w<m;w+=t)l.getRandomValues(d.slice(w,w+t));else l.getRandomValues(d);return"function"==typeof R?process.nextTick(function(){R(null,d)}):d}:function C(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},9682:(Ve,ee,p)=>{"use strict";function t(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var e=p(7054),C=p(3342),S=e.Buffer,l=e.kMaxLength,x=global.crypto||global.msCrypto,m=Math.pow(2,32)-1;function R(k,F){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>F)throw new RangeError("offset out of range")}function d(k,F,V){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+F>V||k>l)throw new RangeError("buffer too small")}function y(k,F,V,U){if(process.browser){var Y=new Uint8Array(k.buffer,F,V);return x.getRandomValues(Y),U?void process.nextTick(function(){U(null,k)}):k}if(!U)return C(V).copy(k,F),k;C(V,function(Z,ie){if(Z)return U(Z);ie.copy(k,F),U(null,k)})}x&&x.getRandomValues||!process.browser?(ee.randomFill=function w(k,F,V,U){if(!(S.isBuffer(k)||k instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof F)U=F,F=0,V=k.length;else if("function"==typeof V)U=V,V=k.length-F;else if("function"!=typeof U)throw new TypeError('"cb" argument must be a function');return R(F,k.length),d(V,F,k.length),y(k,F,V,U)},ee.randomFillSync=function T(k,F,V){if(typeof F>"u"&&(F=0),!(S.isBuffer(k)||k instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return R(F,k.length),void 0===V&&(V=k.length-F),d(V,F,k.length),y(k,F,V)}):(ee.randomFill=t,ee.randomFillSync=t)},4075:(Ve,ee,p)=>{"use strict";var t=p(9656),e=Object.keys||function(T){var k=[];for(var F in T)k.push(F);return k};Ve.exports=d;var C=Object.create(p(7637));C.inherits=p(1993);var S=p(9609),l=p(7849);C.inherits(d,S);for(var x=e(l.prototype),m=0;m<x.length;m++){var R=x[m];d.prototype[R]||(d.prototype[R]=l.prototype[R])}function d(T){if(!(this instanceof d))return new d(T);S.call(this,T),l.call(this,T),T&&!1===T.readable&&(this.readable=!1),T&&!1===T.writable&&(this.writable=!1),this.allowHalfOpen=!0,T&&!1===T.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",w)}function w(){this.allowHalfOpen||this._writableState.ended||t.nextTick(y,this)}function y(T){T.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(T){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=T,this._writableState.destroyed=T)}}),d.prototype._destroy=function(T,k){this.push(null),this.end(),t.nextTick(k,T)}},8823:(Ve,ee,p)=>{"use strict";Ve.exports=C;var t=p(2909),e=Object.create(p(7637));function C(S){if(!(this instanceof C))return new C(S);t.call(this,S)}e.inherits=p(1993),e.inherits(C,t),C.prototype._transform=function(S,l,x){x(null,S)}},9609:(Ve,ee,p)=>{"use strict";var t=p(9656);Ve.exports=Z;var C,e=p(53);Z.ReadableState=$,p(4356);var l=function(re,te){return re.listeners(te).length},x=p(8342),m=p(2655).Buffer,R=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},y=Object.create(p(7637));y.inherits=p(1993);var T=p(9838),k=void 0;k=T&&T.debuglog?T.debuglog("stream"):function(){};var U,F=p(7809),V=p(1509);y.inherits(Z,x);var G=["error","close","destroy","pause","resume"];function $(re,te){var oe=te instanceof(C=C||p(4075));this.objectMode=!!(re=re||{}).objectMode,oe&&(this.objectMode=this.objectMode||!!re.readableObjectMode);var _e=re.highWaterMark,de=re.readableHighWaterMark;this.highWaterMark=_e||0===_e?_e:oe&&(de||0===de)?de:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new F,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.destroyed=!1,this.defaultEncoding=re.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,re.encoding&&(U||(U=p(8454).I),this.decoder=new U(re.encoding),this.encoding=re.encoding)}function Z(re){if(C=C||p(4075),!(this instanceof Z))return new Z(re);this._readableState=new $(re,this),this.readable=!0,re&&("function"==typeof re.read&&(this._read=re.read),"function"==typeof re.destroy&&(this._destroy=re.destroy)),x.call(this)}function ie(re,te,oe,_e,de){var We,pe=re._readableState;return null===te?(pe.reading=!1,function n(re,te){if(!te.ended){if(te.decoder){var oe=te.decoder.end();oe&&oe.length&&(te.buffer.push(oe),te.length+=te.objectMode?1:oe.length)}te.ended=!0,c(re)}}(re,pe)):(de||(We=function ae(re,te){var oe;return!function w(re){return m.isBuffer(re)||re instanceof R}(te)&&"string"!=typeof te&&void 0!==te&&!re.objectMode&&(oe=new TypeError("Invalid non-string/buffer chunk")),oe}(pe,te)),We?re.emit("error",We):pe.objectMode||te&&te.length>0?("string"!=typeof te&&!pe.objectMode&&Object.getPrototypeOf(te)!==m.prototype&&(te=function d(re){return m.from(re)}(te)),_e?pe.endEmitted?re.emit("error",new Error("stream.unshift() after end event")):ve(re,pe,te,!0):pe.ended?re.emit("error",new Error("stream.push() after EOF")):(pe.reading=!1,pe.decoder&&!oe?(te=pe.decoder.write(te),pe.objectMode||0!==te.length?ve(re,pe,te,!1):h(re,pe)):ve(re,pe,te,!1))):_e||(pe.reading=!1)),function ye(re){return!re.ended&&(re.needReadable||re.length<re.highWaterMark||0===re.length)}(pe)}function ve(re,te,oe,_e){te.flowing&&0===te.length&&!te.sync?(re.emit("data",oe),re.read(0)):(te.length+=te.objectMode?1:oe.length,_e?te.buffer.unshift(oe):te.buffer.push(oe),te.needReadable&&c(re)),h(re,te)}Object.defineProperty(Z.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(re){this._readableState&&(this._readableState.destroyed=re)}}),Z.prototype.destroy=V.destroy,Z.prototype._undestroy=V.undestroy,Z.prototype._destroy=function(re,te){this.push(null),te(re)},Z.prototype.push=function(re,te){var _e,oe=this._readableState;return oe.objectMode?_e=!0:"string"==typeof re&&((te=te||oe.defaultEncoding)!==oe.encoding&&(re=m.from(re,te),te=""),_e=!0),ie(this,re,te,!1,_e)},Z.prototype.unshift=function(re){return ie(this,re,null,!0,!1)},Z.prototype.isPaused=function(){return!1===this._readableState.flowing},Z.prototype.setEncoding=function(re){return U||(U=p(8454).I),this._readableState.decoder=new U(re),this._readableState.encoding=re,this};function D(re,te){return re<=0||0===te.length&&te.ended?0:te.objectMode?1:re!=re?te.flowing&&te.length?te.buffer.head.data.length:te.length:(re>te.highWaterMark&&(te.highWaterMark=function be(re){return re>=8388608?re=8388608:(re--,re|=re>>>1,re|=re>>>2,re|=re>>>4,re|=re>>>8,re|=re>>>16,re++),re}(re)),re<=te.length?re:te.ended?te.length:(te.needReadable=!0,0))}function c(re){var te=re._readableState;te.needReadable=!1,te.emittedReadable||(k("emitReadable",te.flowing),te.emittedReadable=!0,te.sync?t.nextTick(f,re):f(re))}function f(re){k("emit readable"),re.emit("readable"),v(re)}function h(re,te){te.readingMore||(te.readingMore=!0,t.nextTick(M,re,te))}function M(re,te){for(var oe=te.length;!te.reading&&!te.flowing&&!te.ended&&te.length<te.highWaterMark&&(k("maybeReadMore read 0"),re.read(0),oe!==te.length);)oe=te.length;te.readingMore=!1}function O(re){k("readable nexttick read 0"),re.read(0)}function r(re,te){te.reading||(k("resume read 0"),re.read(0)),te.resumeScheduled=!1,te.awaitDrain=0,re.emit("resume"),v(re),te.flowing&&!te.reading&&re.read(0)}function v(re){var te=re._readableState;for(k("flow",te.flowing);te.flowing&&null!==re.read(););}function z(re,te){return 0===te.length?null:(te.objectMode?oe=te.buffer.shift():!re||re>=te.length?(oe=te.decoder?te.buffer.join(""):1===te.buffer.length?te.buffer.head.data:te.buffer.concat(te.length),te.buffer.clear()):oe=function N(re,te,oe){var _e;return re<te.head.data.length?(_e=te.head.data.slice(0,re),te.head.data=te.head.data.slice(re)):_e=re===te.head.data.length?te.shift():oe?function ne(re,te){var oe=te.head,_e=1,de=oe.data;for(re-=de.length;oe=oe.next;){var pe=oe.data,We=re>pe.length?pe.length:re;if(de+=We===pe.length?pe:pe.slice(0,re),0==(re-=We)){We===pe.length?(++_e,te.head=oe.next?oe.next:te.tail=null):(te.head=oe,oe.data=pe.slice(We));break}++_e}return te.length-=_e,de}(re,te):function Ie(re,te){var oe=m.allocUnsafe(re),_e=te.head,de=1;for(_e.data.copy(oe),re-=_e.data.length;_e=_e.next;){var pe=_e.data,We=re>pe.length?pe.length:re;if(pe.copy(oe,oe.length-re,0,We),0==(re-=We)){We===pe.length?(++de,te.head=_e.next?_e.next:te.tail=null):(te.head=_e,_e.data=pe.slice(We));break}++de}return te.length-=de,oe}(re,te),_e}(re,te.buffer,te.decoder),oe);var oe}function at(re){var te=re._readableState;if(te.length>0)throw new Error('"endReadable()" called on non-empty stream');te.endEmitted||(te.ended=!0,t.nextTick(Ye,te,re))}function Ye(re,te){!re.endEmitted&&0===re.length&&(re.endEmitted=!0,te.readable=!1,te.emit("end"))}function rt(re,te){for(var oe=0,_e=re.length;oe<_e;oe++)if(re[oe]===te)return oe;return-1}Z.prototype.read=function(re){k("read",re),re=parseInt(re,10);var te=this._readableState,oe=re;if(0!==re&&(te.emittedReadable=!1),0===re&&te.needReadable&&(te.length>=te.highWaterMark||te.ended))return k("read: emitReadable",te.length,te.ended),0===te.length&&te.ended?at(this):c(this),null;if(0===(re=D(re,te))&&te.ended)return 0===te.length&&at(this),null;var de,_e=te.needReadable;return k("need readable",_e),(0===te.length||te.length-re<te.highWaterMark)&&k("length less than watermark",_e=!0),te.ended||te.reading?k("reading or ended",_e=!1):_e&&(k("do read"),te.reading=!0,te.sync=!0,0===te.length&&(te.needReadable=!0),this._read(te.highWaterMark),te.sync=!1,te.reading||(re=D(oe,te))),null===(de=re>0?z(re,te):null)?(te.needReadable=!0,re=0):te.length-=re,0===te.length&&(te.ended||(te.needReadable=!0),oe!==re&&te.ended&&at(this)),null!==de&&this.emit("data",de),de},Z.prototype._read=function(re){this.emit("error",new Error("_read() is not implemented"))},Z.prototype.pipe=function(re,te){var oe=this,_e=this._readableState;switch(_e.pipesCount){case 0:_e.pipes=re;break;case 1:_e.pipes=[_e.pipes,re];break;default:_e.pipes.push(re)}_e.pipesCount+=1,k("pipe count=%d opts=%j",_e.pipesCount,te);var pe=te&&!1===te.end||re===process.stdout||re===process.stderr?Je:se;function se(){k("onend"),re.end()}_e.endEmitted?t.nextTick(pe):oe.once("end",pe),re.on("unpipe",function We(Qe,nt){k("onunpipe"),Qe===oe&&nt&&!1===nt.hasUnpiped&&(nt.hasUnpiped=!0,function et(){k("cleanup"),re.removeListener("close",Nt),re.removeListener("finish",ke),re.removeListener("drain",fe),re.removeListener("error",_t),re.removeListener("unpipe",We),oe.removeListener("end",se),oe.removeListener("end",Je),oe.removeListener("data",Ct),he=!0,_e.awaitDrain&&(!re._writableState||re._writableState.needDrain)&&fe()}())});var fe=function L(re){return function(){var te=re._readableState;k("pipeOnDrain",te.awaitDrain),te.awaitDrain&&te.awaitDrain--,0===te.awaitDrain&&l(re,"data")&&(te.flowing=!0,v(re))}}(oe);re.on("drain",fe);var he=!1,Ke=!1;function Ct(Qe){k("ondata"),Ke=!1,!1===re.write(Qe)&&!Ke&&((1===_e.pipesCount&&_e.pipes===re||_e.pipesCount>1&&-1!==rt(_e.pipes,re))&&!he&&(k("false write response, pause",_e.awaitDrain),_e.awaitDrain++,Ke=!0),oe.pause())}function _t(Qe){k("onerror",Qe),Je(),re.removeListener("error",_t),0===l(re,"error")&&re.emit("error",Qe)}function Nt(){re.removeListener("finish",ke),Je()}function ke(){k("onfinish"),re.removeListener("close",Nt),Je()}function Je(){k("unpipe"),oe.unpipe(re)}return oe.on("data",Ct),function Y(re,te,oe){if("function"==typeof re.prependListener)return re.prependListener(te,oe);re._events&&re._events[te]?e(re._events[te])?re._events[te].unshift(oe):re._events[te]=[oe,re._events[te]]:re.on(te,oe)}(re,"error",_t),re.once("close",Nt),re.once("finish",ke),re.emit("pipe",oe),_e.flowing||(k("pipe resume"),oe.resume()),re},Z.prototype.unpipe=function(re){var te=this._readableState,oe={hasUnpiped:!1};if(0===te.pipesCount)return this;if(1===te.pipesCount)return re&&re!==te.pipes||(re||(re=te.pipes),te.pipes=null,te.pipesCount=0,te.flowing=!1,re&&re.emit("unpipe",this,oe)),this;if(!re){var _e=te.pipes,de=te.pipesCount;te.pipes=null,te.pipesCount=0,te.flowing=!1;for(var pe=0;pe<de;pe++)_e[pe].emit("unpipe",this,{hasUnpiped:!1});return this}var We=rt(te.pipes,re);return-1===We||(te.pipes.splice(We,1),te.pipesCount-=1,1===te.pipesCount&&(te.pipes=te.pipes[0]),re.emit("unpipe",this,oe)),this},Z.prototype.addListener=Z.prototype.on=function(re,te){var oe=x.prototype.on.call(this,re,te);if("data"===re)!1!==this._readableState.flowing&&this.resume();else if("readable"===re){var _e=this._readableState;!_e.endEmitted&&!_e.readableListening&&(_e.readableListening=_e.needReadable=!0,_e.emittedReadable=!1,_e.reading?_e.length&&c(this):t.nextTick(O,this))}return oe},Z.prototype.resume=function(){var re=this._readableState;return re.flowing||(k("resume"),re.flowing=!0,function _(re,te){te.resumeScheduled||(te.resumeScheduled=!0,t.nextTick(r,re,te))}(this,re)),this},Z.prototype.pause=function(){return k("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(k("pause"),this._readableState.flowing=!1,this.emit("pause")),this},Z.prototype.wrap=function(re){var te=this,oe=this._readableState,_e=!1;for(var de in re.on("end",function(){if(k("wrapped end"),oe.decoder&&!oe.ended){var We=oe.decoder.end();We&&We.length&&te.push(We)}te.push(null)}),re.on("data",function(We){k("wrapped data"),oe.decoder&&(We=oe.decoder.write(We)),oe.objectMode&&null==We||!(oe.objectMode||We&&We.length)||te.push(We)||(_e=!0,re.pause())}),re)void 0===this[de]&&"function"==typeof re[de]&&(this[de]=function(We){return function(){return re[We].apply(re,arguments)}}(de));for(var pe=0;pe<G.length;pe++)re.on(G[pe],this.emit.bind(this,G[pe]));return this._read=function(We){k("wrapped _read",We),_e&&(_e=!1,re.resume())},this},Object.defineProperty(Z.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Z._fromList=z},2909:(Ve,ee,p)=>{"use strict";Ve.exports=S;var t=p(4075),e=Object.create(p(7637));function C(m,R){var d=this._transformState;d.transforming=!1;var w=d.writecb;if(!w)return this.emit("error",new Error("write callback called multiple times"));d.writechunk=null,d.writecb=null,null!=R&&this.push(R),w(m);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function S(m){if(!(this instanceof S))return new S(m);t.call(this,m),this._transformState={afterTransform:C.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,m&&("function"==typeof m.transform&&(this._transform=m.transform),"function"==typeof m.flush&&(this._flush=m.flush)),this.on("prefinish",l)}function l(){var m=this;"function"==typeof this._flush?this._flush(function(R,d){x(m,R,d)}):x(this,null,null)}function x(m,R,d){if(R)return m.emit("error",R);if(null!=d&&m.push(d),m._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(m._transformState.transforming)throw new Error("Calling transform done when still transforming");return m.push(null)}e.inherits=p(1993),e.inherits(S,t),S.prototype.push=function(m,R){return this._transformState.needTransform=!1,t.prototype.push.call(this,m,R)},S.prototype._transform=function(m,R,d){throw new Error("_transform() is not implemented")},S.prototype._write=function(m,R,d){var w=this._transformState;if(w.writecb=d,w.writechunk=m,w.writeencoding=R,!w.transforming){var y=this._readableState;(w.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},S.prototype._read=function(m){var R=this._transformState;null!==R.writechunk&&R.writecb&&!R.transforming?(R.transforming=!0,this._transform(R.writechunk,R.writeencoding,R.afterTransform)):R.needTransform=!0},S.prototype._destroy=function(m,R){var d=this;t.prototype._destroy.call(this,m,function(w){R(w),d.emit("close")})}},7849:(Ve,ee,p)=>{"use strict";var t=p(9656);function C(_){var r=this;this.next=null,this.entry=null,this.finish=function(){!function O(_,r,v){var z=_.entry;for(_.entry=null;z;){var N=z.callback;r.pendingcb--,N(v),z=z.next}r.corkedRequestsFree.next=_}(r,_)}}Ve.exports=G;var l,S=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:t.nextTick;G.WritableState=V;var x=Object.create(p(7637));x.inherits=p(1993);var U,m={deprecate:p(3398)},R=p(8342),d=p(2655).Buffer,w=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},k=p(1509);function F(){}function V(_,r){l=l||p(4075);var v=r instanceof l;this.objectMode=!!(_=_||{}).objectMode,v&&(this.objectMode=this.objectMode||!!_.writableObjectMode);var z=_.highWaterMark,N=_.writableHighWaterMark;this.highWaterMark=z||0===z?z:v&&(N||0===N)?N:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===_.decodeStrings),this.defaultEncoding=_.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(at){!function ue(_,r){var v=_._writableState,z=v.sync,N=v.writecb;if(function ye(_){_.writing=!1,_.writecb=null,_.length-=_.writelen,_.writelen=0}(v),r)!function ae(_,r,v,z,N){--r.pendingcb,v?(t.nextTick(N,z),t.nextTick(M,_,r),_._writableState.errorEmitted=!0,_.emit("error",z)):(N(z),_._writableState.errorEmitted=!0,_.emit("error",z),M(_,r))}(_,v,z,r,N);else{var ne=c(v);!ne&&!v.corked&&!v.bufferProcessing&&v.bufferedRequest&&n(_,v),z?S(be,_,v,ne,N):be(_,v,ne,N)}}(r,at)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new C(this)}function G(_){if(l=l||p(4075),!(U.call(G,this)||this instanceof l))return new G(_);this._writableState=new V(_,this),this.writable=!0,_&&("function"==typeof _.write&&(this._write=_.write),"function"==typeof _.writev&&(this._writev=_.writev),"function"==typeof _.destroy&&(this._destroy=_.destroy),"function"==typeof _.final&&(this._final=_.final)),R.call(this)}function ve(_,r,v,z,N,ne,Ie){r.writelen=z,r.writecb=Ie,r.writing=!0,r.sync=!0,v?_._writev(N,r.onwrite):_._write(N,ne,r.onwrite),r.sync=!1}function be(_,r,v,z){v||function D(_,r){0===r.length&&r.needDrain&&(r.needDrain=!1,_.emit("drain"))}(_,r),r.pendingcb--,z(),M(_,r)}function n(_,r){r.bufferProcessing=!0;var v=r.bufferedRequest;if(_._writev&&v&&v.next){var N=new Array(r.bufferedRequestCount),ne=r.corkedRequestsFree;ne.entry=v;for(var Ie=0,at=!0;v;)N[Ie]=v,v.isBuf||(at=!1),v=v.next,Ie+=1;N.allBuffers=at,ve(_,r,!0,r.length,N,"",ne.finish),r.pendingcb++,r.lastBufferedRequest=null,ne.next?(r.corkedRequestsFree=ne.next,ne.next=null):r.corkedRequestsFree=new C(r),r.bufferedRequestCount=0}else{for(;v;){var Ye=v.chunk;if(ve(_,r,!1,r.objectMode?1:Ye.length,Ye,v.encoding,v.callback),v=v.next,r.bufferedRequestCount--,r.writing)break}null===v&&(r.lastBufferedRequest=null)}r.bufferedRequest=v,r.bufferProcessing=!1}function c(_){return _.ending&&0===_.length&&null===_.bufferedRequest&&!_.finished&&!_.writing}function f(_,r){_._final(function(v){r.pendingcb--,v&&_.emit("error",v),r.prefinished=!0,_.emit("prefinish"),M(_,r)})}function M(_,r){var v=c(r);return v&&(function h(_,r){!r.prefinished&&!r.finalCalled&&("function"==typeof _._final?(r.pendingcb++,r.finalCalled=!0,t.nextTick(f,_,r)):(r.prefinished=!0,_.emit("prefinish")))}(_,r),0===r.pendingcb&&(r.finished=!0,_.emit("finish"))),v}x.inherits(G,R),V.prototype.getBuffer=function(){for(var r=this.bufferedRequest,v=[];r;)v.push(r),r=r.next;return v},function(){try{Object.defineProperty(V.prototype,"buffer",{get:m.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]?(U=Function.prototype[Symbol.hasInstance],Object.defineProperty(G,Symbol.hasInstance,{value:function(_){return!!U.call(this,_)||this===G&&_&&_._writableState instanceof V}})):U=function(_){return _ instanceof this},G.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},G.prototype.write=function(_,r,v){var z=this._writableState,N=!1,ne=!z.objectMode&&function T(_){return d.isBuffer(_)||_ instanceof w}(_);return ne&&!d.isBuffer(_)&&(_=function y(_){return d.from(_)}(_)),"function"==typeof r&&(v=r,r=null),ne?r="buffer":r||(r=z.defaultEncoding),"function"!=typeof v&&(v=F),z.ended?function Y(_,r){var v=new Error("write after end");_.emit("error",v),t.nextTick(r,v)}(this,v):(ne||function $(_,r,v,z){var N=!0,ne=!1;return null===v?ne=new TypeError("May not write null values to stream"):"string"!=typeof v&&void 0!==v&&!r.objectMode&&(ne=new TypeError("Invalid non-string/buffer chunk")),ne&&(_.emit("error",ne),t.nextTick(z,ne),N=!1),N}(this,z,_,v))&&(z.pendingcb++,N=function ie(_,r,v,z,N,ne){if(!v){var Ie=function Z(_,r,v){return!_.objectMode&&!1!==_.decodeStrings&&"string"==typeof r&&(r=d.from(r,v)),r}(r,z,N);z!==Ie&&(v=!0,N="buffer",z=Ie)}var at=r.objectMode?1:z.length;r.length+=at;var Ye=r.length<r.highWaterMark;if(Ye||(r.needDrain=!0),r.writing||r.corked){var rt=r.lastBufferedRequest;r.lastBufferedRequest={chunk:z,encoding:N,isBuf:v,callback:ne,next:null},rt?rt.next=r.lastBufferedRequest:r.bufferedRequest=r.lastBufferedRequest,r.bufferedRequestCount+=1}else ve(_,r,!1,at,z,N,ne);return Ye}(this,z,ne,_,r,v)),N},G.prototype.cork=function(){this._writableState.corked++},G.prototype.uncork=function(){var _=this._writableState;_.corked&&(_.corked--,!_.writing&&!_.corked&&!_.bufferProcessing&&_.bufferedRequest&&n(this,_))},G.prototype.setDefaultEncoding=function(r){if("string"==typeof r&&(r=r.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((r+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+r);return this._writableState.defaultEncoding=r,this},Object.defineProperty(G.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),G.prototype._write=function(_,r,v){v(new Error("_write() is not implemented"))},G.prototype._writev=null,G.prototype.end=function(_,r,v){var z=this._writableState;"function"==typeof _?(v=_,_=null,r=null):"function"==typeof r&&(v=r,r=null),null!=_&&this.write(_,r),z.corked&&(z.corked=1,this.uncork()),z.ending||function L(_,r,v){r.ending=!0,M(_,r),v&&(r.finished?t.nextTick(v):_.once("finish",v)),r.ended=!0,_.writable=!1}(this,z,v)},Object.defineProperty(G.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(_){this._writableState&&(this._writableState.destroyed=_)}}),G.prototype.destroy=k.destroy,G.prototype._undestroy=k.undestroy,G.prototype._destroy=function(_,r){this.end(),r(_)}},7809:(Ve,ee,p)=>{"use strict";var e=p(2655).Buffer,C=p(5340);function S(l,x,m){l.copy(x,m)}Ve.exports=function(){function l(){(function t(l,x){if(!(l instanceof x))throw new TypeError("Cannot call a class as a function")})(this,l),this.head=null,this.tail=null,this.length=0}return l.prototype.push=function(m){var R={data:m,next:null};this.length>0?this.tail.next=R:this.head=R,this.tail=R,++this.length},l.prototype.unshift=function(m){var R={data:m,next:this.head};0===this.length&&(this.tail=R),this.head=R,++this.length},l.prototype.shift=function(){if(0!==this.length){var m=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,m}},l.prototype.clear=function(){this.head=this.tail=null,this.length=0},l.prototype.join=function(m){if(0===this.length)return"";for(var R=this.head,d=""+R.data;R=R.next;)d+=m+R.data;return d},l.prototype.concat=function(m){if(0===this.length)return e.alloc(0);for(var R=e.allocUnsafe(m>>>0),d=this.head,w=0;d;)S(d.data,R,w),w+=d.data.length,d=d.next;return R},l}(),C&&C.inspect&&C.inspect.custom&&(Ve.exports.prototype[C.inspect.custom]=function(){var l=C.inspect({length:this.length});return this.constructor.name+" "+l})},1509:(Ve,ee,p)=>{"use strict";var t=p(9656);function S(l,x){l.emit("error",x)}Ve.exports={destroy:function e(l,x){var m=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(x?x(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(S,this,l)):t.nextTick(S,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(w){!x&&w?m._writableState?m._writableState.errorEmitted||(m._writableState.errorEmitted=!0,t.nextTick(S,m,w)):t.nextTick(S,m,w):x&&x(w)}),this)},undestroy:function C(){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)}}},8342:(Ve,ee,p)=>{Ve.exports=p(4356).EventEmitter},2655:(Ve,ee,p)=>{var t=p(3838),e=t.Buffer;function C(l,x){for(var m in l)x[m]=l[m]}function S(l,x,m){return e(l,x,m)}e.from&&e.alloc&&e.allocUnsafe&&e.allocUnsafeSlow?Ve.exports=t:(C(t,ee),ee.Buffer=S),C(e,S),S.from=function(l,x,m){if("number"==typeof l)throw new TypeError("Argument must not be a number");return e(l,x,m)},S.alloc=function(l,x,m){if("number"!=typeof l)throw new TypeError("Argument must be a number");var R=e(l);return void 0!==x?"string"==typeof m?R.fill(x,m):R.fill(x):R.fill(0),R},S.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e(l)},S.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t.SlowBuffer(l)}},5942:(Ve,ee,p)=>{(ee=Ve.exports=p(9609)).Stream=ee,ee.Readable=ee,ee.Writable=p(7849),ee.Duplex=p(4075),ee.Transform=p(2909),ee.PassThrough=p(8823)},6021:Ve=>{"use strict";function ee(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}Ve.exports=function p(e){if((e=e||{}).circles)return function t(e){const C=[],S=[],l=new Map;if(l.set(Date,w=>new Date(w)),l.set(Map,(w,y)=>new Map(m(Array.from(w),y))),l.set(Set,(w,y)=>new Set(m(Array.from(w),y))),e.constructorHandlers)for(const w of e.constructorHandlers)l.set(w[0],w[1]);let x=null;return e.proto?function d(w){if("object"!=typeof w||null===w)return w;if(Array.isArray(w))return m(w,d);if(w.constructor!==Object&&(x=l.get(w.constructor)))return x(w,d);const y={};C.push(w),S.push(y);for(const T in w){const k=w[T];if("object"!=typeof k||null===k)y[T]=k;else if(k.constructor!==Object&&(x=l.get(k.constructor)))y[T]=x(k,d);else if(ArrayBuffer.isView(k))y[T]=ee(k);else{const F=C.indexOf(k);y[T]=-1!==F?S[F]:d(k)}}return C.pop(),S.pop(),y}:function R(w){if("object"!=typeof w||null===w)return w;if(Array.isArray(w))return m(w,R);if(w.constructor!==Object&&(x=l.get(w.constructor)))return x(w,R);const y={};C.push(w),S.push(y);for(const T in w){if(!1===Object.hasOwnProperty.call(w,T))continue;const k=w[T];if("object"!=typeof k||null===k)y[T]=k;else if(k.constructor!==Object&&(x=l.get(k.constructor)))y[T]=x(k,R);else if(ArrayBuffer.isView(k))y[T]=ee(k);else{const F=C.indexOf(k);y[T]=-1!==F?S[F]:R(k)}}return C.pop(),S.pop(),y};function m(w,y){const T=Object.keys(w),k=new Array(T.length);for(let F=0;F<T.length;F++){const V=T[F],U=w[V];if("object"!=typeof U||null===U)k[V]=U;else if(U.constructor!==Object&&(x=l.get(U.constructor)))k[V]=x(U,y);else if(ArrayBuffer.isView(U))k[V]=ee(U);else{const G=C.indexOf(U);k[V]=-1!==G?S[G]:y(U)}}return k}}(e);const C=new Map;if(C.set(Date,R=>new Date(R)),C.set(Map,(R,d)=>new Map(l(Array.from(R),d))),C.set(Set,(R,d)=>new Set(l(Array.from(R),d))),e.constructorHandlers)for(const R of e.constructorHandlers)C.set(R[0],R[1]);let S=null;return e.proto?function m(R){if("object"!=typeof R||null===R)return R;if(Array.isArray(R))return l(R,m);if(R.constructor!==Object&&(S=C.get(R.constructor)))return S(R,m);const d={};for(const w in R){const y=R[w];d[w]="object"!=typeof y||null===y?y:y.constructor!==Object&&(S=C.get(y.constructor))?S(y,m):ArrayBuffer.isView(y)?ee(y):m(y)}return d}:function x(R){if("object"!=typeof R||null===R)return R;if(Array.isArray(R))return l(R,x);if(R.constructor!==Object&&(S=C.get(R.constructor)))return S(R,x);const d={};for(const w in R){if(!1===Object.hasOwnProperty.call(R,w))continue;const y=R[w];d[w]="object"!=typeof y||null===y?y:y.constructor!==Object&&(S=C.get(y.constructor))?S(y,x):ArrayBuffer.isView(y)?ee(y):x(y)}return d};function l(R,d){const w=Object.keys(R),y=new Array(w.length);for(let T=0;T<w.length;T++){const k=w[T],F=R[k];y[k]="object"!=typeof F||null===F?F:F.constructor!==Object&&(S=C.get(F.constructor))?S(F,d):ArrayBuffer.isView(F)?ee(F):d(F)}return y}}},6636:(Ve,ee,p)=>{"use strict";var t=p(3838).Buffer,e=p(1993),C=p(3686),S=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],x=[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],R=[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],w=[1352829926,1548603684,1836072691,2053994217,0];function y(){C.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function T(Y,$){return Y<<$|Y>>>32-$}function k(Y,$,Z,ie,ve,ae,ye,ue){return T(Y+($^Z^ie)+ae+ye|0,ue)+ve|0}function F(Y,$,Z,ie,ve,ae,ye,ue){return T(Y+($&Z|~$&ie)+ae+ye|0,ue)+ve|0}function V(Y,$,Z,ie,ve,ae,ye,ue){return T(Y+(($|~Z)^ie)+ae+ye|0,ue)+ve|0}function U(Y,$,Z,ie,ve,ae,ye,ue){return T(Y+($&ie|Z&~ie)+ae+ye|0,ue)+ve|0}function G(Y,$,Z,ie,ve,ae,ye,ue){return T(Y+($^(Z|~ie))+ae+ye|0,ue)+ve|0}e(y,C),y.prototype._update=function(){for(var Y=S,$=0;$<16;++$)Y[$]=this._block.readInt32LE(4*$);for(var Z=0|this._a,ie=0|this._b,ve=0|this._c,ae=0|this._d,ye=0|this._e,ue=0|this._a,be=0|this._b,D=0|this._c,n=0|this._d,c=0|this._e,f=0;f<80;f+=1){var h,M;f<16?(h=k(Z,ie,ve,ae,ye,Y[l[f]],d[0],m[f]),M=G(ue,be,D,n,c,Y[x[f]],w[0],R[f])):f<32?(h=F(Z,ie,ve,ae,ye,Y[l[f]],d[1],m[f]),M=U(ue,be,D,n,c,Y[x[f]],w[1],R[f])):f<48?(h=V(Z,ie,ve,ae,ye,Y[l[f]],d[2],m[f]),M=V(ue,be,D,n,c,Y[x[f]],w[2],R[f])):f<64?(h=U(Z,ie,ve,ae,ye,Y[l[f]],d[3],m[f]),M=F(ue,be,D,n,c,Y[x[f]],w[3],R[f])):(h=G(Z,ie,ve,ae,ye,Y[l[f]],d[4],m[f]),M=k(ue,be,D,n,c,Y[x[f]],w[4],R[f])),Z=ye,ye=ae,ae=T(ve,10),ve=ie,ie=h,ue=c,c=n,n=T(D,10),D=be,be=M}var L=this._b+ve+n|0;this._b=this._c+ae+c|0,this._c=this._d+ye+ue|0,this._d=this._e+Z+be|0,this._e=this._a+ie+D|0,this._a=L},y.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 Y=t.alloc?t.alloc(20):new t(20);return Y.writeInt32LE(this._a,0),Y.writeInt32LE(this._b,4),Y.writeInt32LE(this._c,8),Y.writeInt32LE(this._d,12),Y.writeInt32LE(this._e,16),Y},Ve.exports=y},4412:(Ve,ee,p)=>{"use strict";p.d(ee,{t:()=>e});var t=p(1413);class e extends t.B{constructor(S){super(),this._value=S}get value(){return this.getValue()}_subscribe(S){const l=super._subscribe(S);return!l.closed&&S.next(this._value),l}getValue(){const{hasError:S,thrownError:l,_value:x}=this;if(S)throw l;return this._throwIfClosed(),x}next(S){super.next(this._value=S)}}},1985:(Ve,ee,p)=>{"use strict";p.d(ee,{c:()=>R});var t=p(7707),e=p(8359),C=p(3494),S=p(1203),l=p(1026),x=p(8071),m=p(9786);let R=(()=>{class T{constructor(F){F&&(this._subscribe=F)}lift(F){const V=new T;return V.source=this,V.operator=F,V}subscribe(F,V,U){const G=function y(T){return T&&T instanceof t.vU||function w(T){return T&&(0,x.T)(T.next)&&(0,x.T)(T.error)&&(0,x.T)(T.complete)}(T)&&(0,e.Uv)(T)}(F)?F:new t.Ms(F,V,U);return(0,m.Y)(()=>{const{operator:Y,source:$}=this;G.add(Y?Y.call(G,$):$?this._subscribe(G):this._trySubscribe(G))}),G}_trySubscribe(F){try{return this._subscribe(F)}catch(V){F.error(V)}}forEach(F,V){return new(V=d(V))((U,G)=>{const Y=new t.Ms({next:$=>{try{F($)}catch(Z){G(Z),Y.unsubscribe()}},error:G,complete:U});this.subscribe(Y)})}_subscribe(F){var V;return null===(V=this.source)||void 0===V?void 0:V.subscribe(F)}[C.s](){return this}pipe(...F){return(0,S.m)(F)(this)}toPromise(F){return new(F=d(F))((V,U)=>{let G;this.subscribe(Y=>G=Y,Y=>U(Y),()=>V(G))})}}return T.create=k=>new T(k),T})();function d(T){var k;return null!==(k=T??l.$.Promise)&&void 0!==k?k:Promise}},2771:(Ve,ee,p)=>{"use strict";p.d(ee,{m:()=>C});var t=p(1413),e=p(6129);class C extends t.B{constructor(l=1/0,x=1/0,m=e.U){super(),this._bufferSize=l,this._windowTime=x,this._timestampProvider=m,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=x===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,x)}next(l){const{isStopped:x,_buffer:m,_infiniteTimeWindow:R,_timestampProvider:d,_windowTime:w}=this;x||(m.push(l),!R&&m.push(d.now()+w)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const x=this._innerSubscribe(l),{_infiniteTimeWindow:m,_buffer:R}=this,d=R.slice();for(let w=0;w<d.length&&!l.closed;w+=m?1:2)l.next(d[w]);return this._checkFinalizedStatuses(l),x}_trimBuffer(){const{_bufferSize:l,_timestampProvider:x,_buffer:m,_infiniteTimeWindow:R}=this,d=(R?1:2)*l;if(l<1/0&&d<m.length&&m.splice(0,m.length-d),!R){const w=x.now();let y=0;for(let T=1;T<m.length&&m[T]<=w;T+=2)y=T;y&&m.splice(0,y+1)}}}},1413:(Ve,ee,p)=>{"use strict";p.d(ee,{k:()=>R,B:()=>m});var t=p(1985),e=p(8359);const S=(0,p(1853).L)(d=>function(){d(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=p(7908),x=p(9786);let m=(()=>{class d extends t.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(y){const T=new R(this,this);return T.operator=y,T}_throwIfClosed(){if(this.closed)throw new S}next(y){(0,x.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const T of this.currentObservers)T.next(y)}})}error(y){(0,x.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=y;const{observers:T}=this;for(;T.length;)T.shift().error(y)}})}complete(){(0,x.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:y}=this;for(;y.length;)y.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var y;return(null===(y=this.observers)||void 0===y?void 0:y.length)>0}_trySubscribe(y){return this._throwIfClosed(),super._trySubscribe(y)}_subscribe(y){return this._throwIfClosed(),this._checkFinalizedStatuses(y),this._innerSubscribe(y)}_innerSubscribe(y){const{hasError:T,isStopped:k,observers:F}=this;return T||k?e.Kn:(this.currentObservers=null,F.push(y),new e.yU(()=>{this.currentObservers=null,(0,l.o)(F,y)}))}_checkFinalizedStatuses(y){const{hasError:T,thrownError:k,isStopped:F}=this;T?y.error(k):F&&y.complete()}asObservable(){const y=new t.c;return y.source=this,y}}return d.create=(w,y)=>new R(w,y),d})();class R extends m{constructor(w,y){super(),this.destination=w,this.source=y}next(w){var y,T;null===(T=null===(y=this.destination)||void 0===y?void 0:y.next)||void 0===T||T.call(y,w)}error(w){var y,T;null===(T=null===(y=this.destination)||void 0===y?void 0:y.error)||void 0===T||T.call(y,w)}complete(){var w,y;null===(y=null===(w=this.destination)||void 0===w?void 0:w.complete)||void 0===y||y.call(w)}_subscribe(w){var y,T;return null!==(T=null===(y=this.source)||void 0===y?void 0:y.subscribe(w))&&void 0!==T?T:e.Kn}}},7707:(Ve,ee,p)=>{"use strict";p.d(ee,{Ms:()=>U,vU:()=>T});var t=p(8071),e=p(8359),C=p(1026),S=p(5334),l=p(5343);const x=d("C",void 0,void 0);function d(ie,ve,ae){return{kind:ie,value:ve,error:ae}}var w=p(9270),y=p(9786);class T extends e.yU{constructor(ve){super(),this.isStopped=!1,ve?(this.destination=ve,(0,e.Uv)(ve)&&ve.add(this)):this.destination=Z}static create(ve,ae,ye){return new U(ve,ae,ye)}next(ve){this.isStopped?$(function R(ie){return d("N",ie,void 0)}(ve),this):this._next(ve)}error(ve){this.isStopped?$(function m(ie){return d("E",void 0,ie)}(ve),this):(this.isStopped=!0,this._error(ve))}complete(){this.isStopped?$(x,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ve){this.destination.next(ve)}_error(ve){try{this.destination.error(ve)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const k=Function.prototype.bind;function F(ie,ve){return k.call(ie,ve)}class V{constructor(ve){this.partialObserver=ve}next(ve){const{partialObserver:ae}=this;if(ae.next)try{ae.next(ve)}catch(ye){G(ye)}}error(ve){const{partialObserver:ae}=this;if(ae.error)try{ae.error(ve)}catch(ye){G(ye)}else G(ve)}complete(){const{partialObserver:ve}=this;if(ve.complete)try{ve.complete()}catch(ae){G(ae)}}}class U extends T{constructor(ve,ae,ye){let ue;if(super(),(0,t.T)(ve)||!ve)ue={next:ve??void 0,error:ae??void 0,complete:ye??void 0};else{let be;this&&C.$.useDeprecatedNextContext?(be=Object.create(ve),be.unsubscribe=()=>this.unsubscribe(),ue={next:ve.next&&F(ve.next,be),error:ve.error&&F(ve.error,be),complete:ve.complete&&F(ve.complete,be)}):ue=ve}this.destination=new V(ue)}}function G(ie){C.$.useDeprecatedSynchronousErrorHandling?(0,y.l)(ie):(0,S.m)(ie)}function $(ie,ve){const{onStoppedNotification:ae}=C.$;ae&&w.f.setTimeout(()=>ae(ie,ve))}const Z={closed:!0,next:l.l,error:function Y(ie){throw ie},complete:l.l}},8359:(Ve,ee,p)=>{"use strict";p.d(ee,{Kn:()=>x,yU:()=>l,Uv:()=>m});var t=p(8071);const C=(0,p(1853).L)(d=>function(y){d(this),this.message=y?`${y.length} errors occurred during unsubscription:\n${y.map((T,k)=>`${k+1}) ${T.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=y});var S=p(7908);class l{constructor(w){this.initialTeardown=w,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let w;if(!this.closed){this.closed=!0;const{_parentage:y}=this;if(y)if(this._parentage=null,Array.isArray(y))for(const F of y)F.remove(this);else y.remove(this);const{initialTeardown:T}=this;if((0,t.T)(T))try{T()}catch(F){w=F instanceof C?F.errors:[F]}const{_finalizers:k}=this;if(k){this._finalizers=null;for(const F of k)try{R(F)}catch(V){w=w??[],V instanceof C?w=[...w,...V.errors]:w.push(V)}}if(w)throw new C(w)}}add(w){var y;if(w&&w!==this)if(this.closed)R(w);else{if(w instanceof l){if(w.closed||w._hasParent(this))return;w._addParent(this)}(this._finalizers=null!==(y=this._finalizers)&&void 0!==y?y:[]).push(w)}}_hasParent(w){const{_parentage:y}=this;return y===w||Array.isArray(y)&&y.includes(w)}_addParent(w){const{_parentage:y}=this;this._parentage=Array.isArray(y)?(y.push(w),y):y?[y,w]:w}_removeParent(w){const{_parentage:y}=this;y===w?this._parentage=null:Array.isArray(y)&&(0,S.o)(y,w)}remove(w){const{_finalizers:y}=this;y&&(0,S.o)(y,w),w instanceof l&&w._removeParent(this)}}l.EMPTY=(()=>{const d=new l;return d.closed=!0,d})();const x=l.EMPTY;function m(d){return d instanceof l||d&&"closed"in d&&(0,t.T)(d.remove)&&(0,t.T)(d.add)&&(0,t.T)(d.unsubscribe)}function R(d){(0,t.T)(d)?d():d.unsubscribe()}},1026:(Ve,ee,p)=>{"use strict";p.d(ee,{$:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},17:(Ve,ee,p)=>{"use strict";p.d(ee,{G:()=>x});var t=p(1985),e=p(8359),C=p(9898),S=p(4360),l=p(9974);class x extends t.c{constructor(R,d){super(),this.source=R,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,l.S)(R)&&(this.lift=R.lift)}_subscribe(R){return this.getSubject().subscribe(R)}getSubject(){const R=this._subject;return(!R||R.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:R}=this;this._subject=this._connection=null,R?.unsubscribe()}connect(){let R=this._connection;if(!R){R=this._connection=new e.yU;const d=this.getSubject();R.add(this.source.subscribe((0,S._)(d,void 0,()=>{this._teardown(),d.complete()},w=>{this._teardown(),d.error(w)},()=>this._teardown()))),R.closed&&(this._connection=null,R=e.yU.EMPTY)}return R}refCount(){return(0,C.B)()(this)}}},4572:(Ve,ee,p)=>{"use strict";p.d(ee,{z:()=>w});var t=p(1985),e=p(3073),C=p(2806),S=p(3669),l=p(6450),x=p(9326),m=p(8496),R=p(4360),d=p(5225);function w(...k){const F=(0,x.lI)(k),V=(0,x.ms)(k),{args:U,keys:G}=(0,e.D)(k);if(0===U.length)return(0,C.H)([],F);const Y=new t.c(function y(k,F,V=S.D){return U=>{T(F,()=>{const{length:G}=k,Y=new Array(G);let $=G,Z=G;for(let ie=0;ie<G;ie++)T(F,()=>{const ve=(0,C.H)(k[ie],F);let ae=!1;ve.subscribe((0,R._)(U,ye=>{Y[ie]=ye,ae||(ae=!0,Z--),Z||U.next(V(Y.slice()))},()=>{--$||U.complete()}))},U)},U)}}(U,F,G?$=>(0,m.e)(G,$):S.D));return V?Y.pipe((0,l.I)(V)):Y}function T(k,F,V){k?(0,d.N)(V,k,F):F()}},8793:(Ve,ee,p)=>{"use strict";p.d(ee,{x:()=>l});var t=p(6365),C=p(9326),S=p(2806);function l(...x){return function e(){return(0,t.U)(1)}()((0,S.H)(x,(0,C.lI)(x)))}},9030:(Ve,ee,p)=>{"use strict";p.d(ee,{v:()=>C});var t=p(1985),e=p(8750);function C(S){return new t.c(l=>{(0,e.Tg)(S()).subscribe(l)})}},983:(Ve,ee,p)=>{"use strict";p.d(ee,{w:()=>e});const e=new(p(1985).c)(l=>l.complete())},7468:(Ve,ee,p)=>{"use strict";p.d(ee,{p:()=>R});var t=p(1985),e=p(3073),C=p(8750),S=p(9326),l=p(4360),x=p(6450),m=p(8496);function R(...d){const w=(0,S.ms)(d),{args:y,keys:T}=(0,e.D)(d),k=new t.c(F=>{const{length:V}=y;if(!V)return void F.complete();const U=new Array(V);let G=V,Y=V;for(let $=0;$<V;$++){let Z=!1;(0,C.Tg)(y[$]).subscribe((0,l._)(F,ie=>{Z||(Z=!0,Y--),U[$]=ie},()=>G--,void 0,()=>{(!G||!Z)&&(Y||F.next(T?(0,m.e)(T,U):U),F.complete())}))}});return w?k.pipe((0,x.I)(w)):k}},2806:(Ve,ee,p)=>{"use strict";p.d(ee,{H:()=>ae});var t=p(8750),e=p(941),C=p(9974);function S(ye,ue=0){return(0,C.N)((be,D)=>{D.add(ye.schedule(()=>be.subscribe(D),ue))})}var m=p(1985),d=p(4761),w=p(8071),y=p(5225);function k(ye,ue){if(!ye)throw new Error("Iterable cannot be null");return new m.c(be=>{(0,y.N)(be,ue,()=>{const D=ye[Symbol.asyncIterator]();(0,y.N)(be,ue,()=>{D.next().then(n=>{n.done?be.complete():be.next(n.value)})},0,!0)})})}var F=p(5055),V=p(9858),U=p(7441),G=p(5397),Y=p(7953),$=p(591),Z=p(5196);function ae(ye,ue){return ue?function ve(ye,ue){if(null!=ye){if((0,F.l)(ye))return function l(ye,ue){return(0,t.Tg)(ye).pipe(S(ue),(0,e.Q)(ue))}(ye,ue);if((0,U.X)(ye))return function R(ye,ue){return new m.c(be=>{let D=0;return ue.schedule(function(){D===ye.length?be.complete():(be.next(ye[D++]),be.closed||this.schedule())})})}(ye,ue);if((0,V.y)(ye))return function x(ye,ue){return(0,t.Tg)(ye).pipe(S(ue),(0,e.Q)(ue))}(ye,ue);if((0,Y.T)(ye))return k(ye,ue);if((0,G.x)(ye))return function T(ye,ue){return new m.c(be=>{let D;return(0,y.N)(be,ue,()=>{D=ye[d.l](),(0,y.N)(be,ue,()=>{let n,c;try{({value:n,done:c}=D.next())}catch(f){return void be.error(f)}c?be.complete():be.next(n)},0,!0)}),()=>(0,w.T)(D?.return)&&D.return()})}(ye,ue);if((0,Z.U)(ye))return function ie(ye,ue){return k((0,Z.C)(ye),ue)}(ye,ue)}throw(0,$.L)(ye)}(ye,ue):(0,t.Tg)(ye)}},3726:(Ve,ee,p)=>{"use strict";p.d(ee,{R:()=>w});var t=p(8750),e=p(1985),C=p(1397),S=p(7441),l=p(8071),x=p(6450);const m=["addListener","removeListener"],R=["addEventListener","removeEventListener"],d=["on","off"];function w(V,U,G,Y){if((0,l.T)(G)&&(Y=G,G=void 0),Y)return w(V,U,G).pipe((0,x.I)(Y));const[$,Z]=function F(V){return(0,l.T)(V.addEventListener)&&(0,l.T)(V.removeEventListener)}(V)?R.map(ie=>ve=>V[ie](U,ve,G)):function T(V){return(0,l.T)(V.addListener)&&(0,l.T)(V.removeListener)}(V)?m.map(y(V,U)):function k(V){return(0,l.T)(V.on)&&(0,l.T)(V.off)}(V)?d.map(y(V,U)):[];if(!$&&(0,S.X)(V))return(0,C.Z)(ie=>w(ie,U,G))((0,t.Tg)(V));if(!$)throw new TypeError("Invalid event target");return new e.c(ie=>{const ve=(...ae)=>ie.next(1<ae.length?ae:ae[0]);return $(ve),()=>Z(ve)})}function y(V,U){return G=>Y=>V[G](U,Y)}},8750:(Ve,ee,p)=>{"use strict";p.d(ee,{Tg:()=>k});var t=p(1635),e=p(7441),C=p(9858),S=p(1985),l=p(5055),x=p(7953),m=p(591),R=p(5397),d=p(5196),w=p(8071),y=p(5334),T=p(3494);function k(ie){if(ie instanceof S.c)return ie;if(null!=ie){if((0,l.l)(ie))return function F(ie){return new S.c(ve=>{const ae=ie[T.s]();if((0,w.T)(ae.subscribe))return ae.subscribe(ve);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ie);if((0,e.X)(ie))return function V(ie){return new S.c(ve=>{for(let ae=0;ae<ie.length&&!ve.closed;ae++)ve.next(ie[ae]);ve.complete()})}(ie);if((0,C.y)(ie))return function U(ie){return new S.c(ve=>{ie.then(ae=>{ve.closed||(ve.next(ae),ve.complete())},ae=>ve.error(ae)).then(null,y.m)})}(ie);if((0,x.T)(ie))return Y(ie);if((0,R.x)(ie))return function G(ie){return new S.c(ve=>{for(const ae of ie)if(ve.next(ae),ve.closed)return;ve.complete()})}(ie);if((0,d.U)(ie))return function $(ie){return Y((0,d.C)(ie))}(ie)}throw(0,m.L)(ie)}function Y(ie){return new S.c(ve=>{(function Z(ie,ve){var ae,ye,ue,be;return(0,t.sH)(this,void 0,void 0,function*(){try{for(ae=(0,t.xN)(ie);!(ye=yield ae.next()).done;)if(ve.next(ye.value),ve.closed)return}catch(D){ue={error:D}}finally{try{ye&&!ye.done&&(be=ae.return)&&(yield be.call(ae))}finally{if(ue)throw ue.error}}ve.complete()})})(ie,ve).catch(ae=>ve.error(ae))})}},7786:(Ve,ee,p)=>{"use strict";p.d(ee,{h:()=>x});var t=p(6365),e=p(8750),C=p(983),S=p(9326),l=p(2806);function x(...m){const R=(0,S.lI)(m),d=(0,S.R0)(m,1/0),w=m;return w.length?1===w.length?(0,e.Tg)(w[0]):(0,t.U)(d)((0,l.H)(w,R)):C.w}},7673:(Ve,ee,p)=>{"use strict";p.d(ee,{of:()=>C});var t=p(9326),e=p(2806);function C(...S){const l=(0,t.lI)(S);return(0,e.H)(S,l)}},8810:(Ve,ee,p)=>{"use strict";p.d(ee,{$:()=>C});var t=p(1985),e=p(8071);function C(S,l){const x=(0,e.T)(S)?S:()=>S,m=R=>R.error(x());return new t.c(l?R=>l.schedule(m,0,R):m)}},1807:(Ve,ee,p)=>{"use strict";p.d(ee,{O:()=>l});var t=p(1985),e=p(3236),C=p(9470),S=p(8211);function l(x=0,m,R=e.b){let d=-1;return null!=m&&((0,C.m)(m)?R=m:d=m),new t.c(w=>{let y=(0,S.v)(x)?+x-R.now():x;y<0&&(y=0);let T=0;return R.schedule(function(){w.closed||(w.next(T++),0<=d?this.schedule(void 0,d):w.complete())},y)})}},4360:(Ve,ee,p)=>{"use strict";p.d(ee,{H:()=>C,_:()=>e});var t=p(7707);function e(S,l,x,m,R){return new C(S,l,x,m,R)}class C extends t.vU{constructor(l,x,m,R,d,w){super(l),this.onFinalize=d,this.shouldUnsubscribe=w,this._next=x?function(y){try{x(y)}catch(T){l.error(T)}}:super._next,this._error=R?function(y){try{R(y)}catch(T){l.error(T)}finally{this.unsubscribe()}}:super._error,this._complete=m?function(){try{m()}catch(y){l.error(y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:x}=this;super.unsubscribe(),!x&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},3798:(Ve,ee,p)=>{"use strict";p.d(ee,{Z:()=>m});var t=p(3236),e=p(9974),C=p(8750),S=p(4360),x=p(1807);function m(R,d=t.E){return function l(R){return(0,e.N)((d,w)=>{let y=!1,T=null,k=null,F=!1;const V=()=>{if(k?.unsubscribe(),k=null,y){y=!1;const G=T;T=null,w.next(G)}F&&w.complete()},U=()=>{k=null,F&&w.complete()};d.subscribe((0,S._)(w,G=>{y=!0,T=G,k||(0,C.Tg)(R(G)).subscribe(k=(0,S._)(w,V,U))},()=>{F=!0,(!y||!k||k.closed)&&w.complete()}))})}(()=>(0,x.O)(R,d))}},9437:(Ve,ee,p)=>{"use strict";p.d(ee,{W:()=>S});var t=p(8750),e=p(4360),C=p(9974);function S(l){return(0,C.N)((x,m)=>{let w,R=null,d=!1;R=x.subscribe((0,e._)(m,void 0,void 0,y=>{w=(0,t.Tg)(l(y,S(l)(x))),R?(R.unsubscribe(),R=null,w.subscribe(m)):d=!0})),d&&(R.unsubscribe(),R=null,w.subscribe(m))})}},274:(Ve,ee,p)=>{"use strict";p.d(ee,{H:()=>C});var t=p(1397),e=p(8071);function C(S,l){return(0,e.T)(l)?(0,t.Z)(S,l,1):(0,t.Z)(S,1)}},152:(Ve,ee,p)=>{"use strict";p.d(ee,{B:()=>S});var t=p(3236),e=p(9974),C=p(4360);function S(l,x=t.E){return(0,e.N)((m,R)=>{let d=null,w=null,y=null;const T=()=>{if(d){d.unsubscribe(),d=null;const F=w;w=null,R.next(F)}};function k(){const F=y+l,V=x.now();if(V<F)return d=this.schedule(void 0,F-V),void R.add(d);T()}m.subscribe((0,C._)(R,F=>{w=F,y=x.now(),d||(d=x.schedule(k,l),R.add(d))},()=>{T(),R.complete()},void 0,()=>{w=d=null}))})}},9901:(Ve,ee,p)=>{"use strict";p.d(ee,{U:()=>C});var t=p(9974),e=p(4360);function C(S){return(0,t.N)((l,x)=>{let m=!1;l.subscribe((0,e._)(x,R=>{m=!0,x.next(R)},()=>{m||x.next(S),x.complete()}))})}},5335:(Ve,ee,p)=>{"use strict";p.d(ee,{c:()=>w});var t=p(3236),e=p(8793),C=p(6697),S=p(3557),l=p(3703),x=p(1397),m=p(8750);function R(y,T){return T?k=>(0,e.x)(T.pipe((0,C.s)(1),(0,S.w)()),k.pipe(R(y))):(0,x.Z)((k,F)=>(0,m.Tg)(y(k,F)).pipe((0,C.s)(1),(0,l.u)(k)))}var d=p(1807);function w(y,T=t.E){const k=(0,d.O)(y,T);return R(()=>k)}},3294:(Ve,ee,p)=>{"use strict";p.d(ee,{F:()=>S});var t=p(3669),e=p(9974),C=p(4360);function S(x,m=t.D){return x=x??l,(0,e.N)((R,d)=>{let w,y=!0;R.subscribe((0,C._)(d,T=>{const k=m(T);(y||!x(w,k))&&(y=!1,w=k,d.next(T))}))})}function l(x,m){return x===m}},5964:(Ve,ee,p)=>{"use strict";p.d(ee,{p:()=>C});var t=p(9974),e=p(4360);function C(S,l){return(0,t.N)((x,m)=>{let R=0;x.subscribe((0,e._)(m,d=>S.call(l,d,R++)&&m.next(d)))})}},980:(Ve,ee,p)=>{"use strict";p.d(ee,{j:()=>e});var t=p(9974);function e(C){return(0,t.N)((S,l)=>{try{S.subscribe(l)}finally{l.add(C)}})}},1594:(Ve,ee,p)=>{"use strict";p.d(ee,{$:()=>m});var t=p(9350),e=p(5964),C=p(6697),S=p(9901),l=p(3774),x=p(3669);function m(R,d){const w=arguments.length>=2;return y=>y.pipe(R?(0,e.p)((T,k)=>R(T,k,y)):x.D,(0,C.s)(1),w?(0,S.U)(d):(0,l.v)(()=>new t.G))}},3557:(Ve,ee,p)=>{"use strict";p.d(ee,{w:()=>S});var t=p(9974),e=p(4360),C=p(5343);function S(){return(0,t.N)((l,x)=>{l.subscribe((0,e._)(x,C.l))})}},6354:(Ve,ee,p)=>{"use strict";p.d(ee,{T:()=>C});var t=p(9974),e=p(4360);function C(S,l){return(0,t.N)((x,m)=>{let R=0;x.subscribe((0,e._)(m,d=>{m.next(S.call(l,d,R++))}))})}},3703:(Ve,ee,p)=>{"use strict";p.d(ee,{u:()=>e});var t=p(6354);function e(C){return(0,t.T)(()=>C)}},6365:(Ve,ee,p)=>{"use strict";p.d(ee,{U:()=>C});var t=p(1397),e=p(3669);function C(S=1/0){return(0,t.Z)(e.D,S)}},1397:(Ve,ee,p)=>{"use strict";p.d(ee,{Z:()=>R});var t=p(6354),e=p(8750),C=p(9974),S=p(5225),l=p(4360),m=p(8071);function R(d,w,y=1/0){return(0,m.T)(w)?R((T,k)=>(0,t.T)((F,V)=>w(T,F,k,V))((0,e.Tg)(d(T,k))),y):("number"==typeof w&&(y=w),(0,C.N)((T,k)=>function x(d,w,y,T,k,F,V,U){const G=[];let Y=0,$=0,Z=!1;const ie=()=>{Z&&!G.length&&!Y&&w.complete()},ve=ye=>Y<T?ae(ye):G.push(ye),ae=ye=>{F&&w.next(ye),Y++;let ue=!1;(0,e.Tg)(y(ye,$++)).subscribe((0,l._)(w,be=>{k?.(be),F?ve(be):w.next(be)},()=>{ue=!0},void 0,()=>{if(ue)try{for(Y--;G.length&&Y<T;){const be=G.shift();V?(0,S.N)(w,V,()=>ae(be)):ae(be)}ie()}catch(be){w.error(be)}}))};return d.subscribe((0,l._)(w,ve,()=>{Z=!0,ie()})),()=>{U?.()}}(T,k,d,y)))}},941:(Ve,ee,p)=>{"use strict";p.d(ee,{Q:()=>S});var t=p(5225),e=p(9974),C=p(4360);function S(l,x=0){return(0,e.N)((m,R)=>{m.subscribe((0,C._)(R,d=>(0,t.N)(R,l,()=>R.next(d),x),()=>(0,t.N)(R,l,()=>R.complete(),x),d=>(0,t.N)(R,l,()=>R.error(d),x)))})}},9898:(Ve,ee,p)=>{"use strict";p.d(ee,{B:()=>C});var t=p(9974),e=p(4360);function C(){return(0,t.N)((S,l)=>{let x=null;S._refCount++;const m=(0,e._)(l,void 0,void 0,void 0,()=>{if(!S||S._refCount<=0||0<--S._refCount)return void(x=null);const R=S._connection,d=x;x=null,R&&(!d||R===d)&&R.unsubscribe(),l.unsubscribe()});S.subscribe(m),m.closed||(x=S.connect())})}},2816:(Ve,ee,p)=>{"use strict";p.d(ee,{S:()=>S});var t=p(9974),e=p(4360);function S(l,x){return(0,t.N)(function C(l,x,m,R,d){return(w,y)=>{let T=m,k=x,F=0;w.subscribe((0,e._)(y,V=>{const U=F++;k=T?l(k,V,U):(T=!0,V),R&&y.next(k)},d&&(()=>{T&&y.next(k),y.complete()})))}}(l,x,arguments.length>=2,!0))}},7647:(Ve,ee,p)=>{"use strict";p.d(ee,{u:()=>l});var t=p(8750),e=p(1413),C=p(7707),S=p(9974);function l(m={}){const{connector:R=(()=>new e.B),resetOnError:d=!0,resetOnComplete:w=!0,resetOnRefCountZero:y=!0}=m;return T=>{let k,F,V,U=0,G=!1,Y=!1;const $=()=>{F?.unsubscribe(),F=void 0},Z=()=>{$(),k=V=void 0,G=Y=!1},ie=()=>{const ve=k;Z(),ve?.unsubscribe()};return(0,S.N)((ve,ae)=>{U++,!Y&&!G&&$();const ye=V=V??R();ae.add(()=>{U--,0===U&&!Y&&!G&&(F=x(ie,y))}),ye.subscribe(ae),!k&&U>0&&(k=new C.Ms({next:ue=>ye.next(ue),error:ue=>{Y=!0,$(),F=x(Z,d,ue),ye.error(ue)},complete:()=>{G=!0,$(),F=x(Z,w),ye.complete()}}),(0,t.Tg)(ve).subscribe(k))})(T)}}function x(m,R,...d){if(!0===R)return void m();if(!1===R)return;const w=new C.Ms({next:()=>{w.unsubscribe(),m()}});return(0,t.Tg)(R(...d)).subscribe(w)}},5245:(Ve,ee,p)=>{"use strict";p.d(ee,{i:()=>e});var t=p(5964);function e(C){return(0,t.p)((S,l)=>C<=l)}},9172:(Ve,ee,p)=>{"use strict";p.d(ee,{Z:()=>S});var t=p(8793),e=p(9326),C=p(9974);function S(...l){const x=(0,e.lI)(l);return(0,C.N)((m,R)=>{(x?(0,t.x)(l,m,x):(0,t.x)(l,m)).subscribe(R)})}},5558:(Ve,ee,p)=>{"use strict";p.d(ee,{n:()=>S});var t=p(8750),e=p(9974),C=p(4360);function S(l,x){return(0,e.N)((m,R)=>{let d=null,w=0,y=!1;const T=()=>y&&!d&&R.complete();m.subscribe((0,C._)(R,k=>{d?.unsubscribe();let F=0;const V=w++;(0,t.Tg)(l(k,V)).subscribe(d=(0,C._)(R,U=>R.next(x?x(k,U,V,F++):U),()=>{d=null,T()}))},()=>{y=!0,T()}))})}},6697:(Ve,ee,p)=>{"use strict";p.d(ee,{s:()=>S});var t=p(983),e=p(9974),C=p(4360);function S(l){return l<=0?()=>t.w:(0,e.N)((x,m)=>{let R=0;x.subscribe((0,C._)(m,d=>{++R<=l&&(m.next(d),l<=R&&m.complete())}))})}},6977:(Ve,ee,p)=>{"use strict";p.d(ee,{Q:()=>l});var t=p(9974),e=p(4360),C=p(8750),S=p(5343);function l(x){return(0,t.N)((m,R)=>{(0,C.Tg)(x).subscribe((0,e._)(R,()=>R.complete(),S.l)),!R.closed&&m.subscribe(R)})}},8141:(Ve,ee,p)=>{"use strict";p.d(ee,{M:()=>l});var t=p(8071),e=p(9974),C=p(4360),S=p(3669);function l(x,m,R){const d=(0,t.T)(x)||m||R?{next:x,error:m,complete:R}:x;return d?(0,e.N)((w,y)=>{var T;null===(T=d.subscribe)||void 0===T||T.call(d);let k=!0;w.subscribe((0,C._)(y,F=>{var V;null===(V=d.next)||void 0===V||V.call(d,F),y.next(F)},()=>{var F;k=!1,null===(F=d.complete)||void 0===F||F.call(d),y.complete()},F=>{var V;k=!1,null===(V=d.error)||void 0===V||V.call(d,F),y.error(F)},()=>{var F,V;k&&(null===(F=d.unsubscribe)||void 0===F||F.call(d)),null===(V=d.finalize)||void 0===V||V.call(d)}))}):S.D}},3774:(Ve,ee,p)=>{"use strict";p.d(ee,{v:()=>S});var t=p(9350),e=p(9974),C=p(4360);function S(x=l){return(0,e.N)((m,R)=>{let d=!1;m.subscribe((0,C._)(R,w=>{d=!0,R.next(w)},()=>d?R.complete():R.error(x())))})}function l(){return new t.G}},3993:(Ve,ee,p)=>{"use strict";p.d(ee,{E:()=>m});var t=p(9974),e=p(4360),C=p(8750),S=p(3669),l=p(5343),x=p(9326);function m(...R){const d=(0,x.ms)(R);return(0,t.N)((w,y)=>{const T=R.length,k=new Array(T);let F=R.map(()=>!1),V=!1;for(let U=0;U<T;U++)(0,C.Tg)(R[U]).subscribe((0,e._)(y,G=>{k[U]=G,!V&&!F[U]&&(F[U]=!0,(V=F.every(S.D))&&(F=null))},l.l));w.subscribe((0,e._)(y,U=>{if(V){const G=[U,...k];y.next(d?d(...G):G)}}))})}},6780:(Ve,ee,p)=>{"use strict";p.d(ee,{R:()=>l});var t=p(8359);class e extends t.yU{constructor(m,R){super()}schedule(m,R=0){return this}}const C={setInterval(x,m,...R){const{delegate:d}=C;return d?.setInterval?d.setInterval(x,m,...R):setInterval(x,m,...R)},clearInterval(x){const{delegate:m}=C;return(m?.clearInterval||clearInterval)(x)},delegate:void 0};var S=p(7908);class l extends e{constructor(m,R){super(m,R),this.scheduler=m,this.work=R,this.pending=!1}schedule(m,R=0){var d;if(this.closed)return this;this.state=m;const w=this.id,y=this.scheduler;return null!=w&&(this.id=this.recycleAsyncId(y,w,R)),this.pending=!0,this.delay=R,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(y,this.id,R),this}requestAsyncId(m,R,d=0){return C.setInterval(m.flush.bind(m,this),d)}recycleAsyncId(m,R,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return R;null!=R&&C.clearInterval(R)}execute(m,R){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(m,R);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(m,R){let w,d=!1;try{this.work(m)}catch(y){d=!0,w=y||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),w}unsubscribe(){if(!this.closed){const{id:m,scheduler:R}=this,{actions:d}=R;this.work=this.state=this.scheduler=null,this.pending=!1,(0,S.o)(d,this),null!=m&&(this.id=this.recycleAsyncId(R,m,null)),this.delay=null,super.unsubscribe()}}}},9687:(Ve,ee,p)=>{"use strict";p.d(ee,{q:()=>C});var t=p(6129);class e{constructor(l,x=e.now){this.schedulerActionCtor=l,this.now=x}schedule(l,x=0,m){return new this.schedulerActionCtor(this,l).schedule(m,x)}}e.now=t.U.now;class C extends e{constructor(l,x=e.now){super(l,x),this.actions=[],this._active=!1}flush(l){const{actions:x}=this;if(this._active)return void x.push(l);let m;this._active=!0;do{if(m=l.execute(l.state,l.delay))break}while(l=x.shift());if(this._active=!1,m){for(;l=x.shift();)l.unsubscribe();throw m}}}},5007:(Ve,ee,p)=>{"use strict";p.d(ee,{$:()=>F});var t=p(6780);let C,e=1;const S={};function l(U){return U in S&&(delete S[U],!0)}const x={setImmediate(U){const G=e++;return S[G]=!0,C||(C=Promise.resolve()),C.then(()=>l(G)&&U()),G},clearImmediate(U){l(U)}},{setImmediate:R,clearImmediate:d}=x,w={setImmediate(...U){const{delegate:G}=w;return(G?.setImmediate||R)(...U)},clearImmediate(U){const{delegate:G}=w;return(G?.clearImmediate||d)(U)},delegate:void 0};var T=p(9687);const F=new class k extends T.q{flush(G){this._active=!0;const Y=this._scheduled;this._scheduled=void 0;const{actions:$}=this;let Z;G=G||$.shift();do{if(Z=G.execute(G.state,G.delay))break}while((G=$[0])&&G.id===Y&&$.shift());if(this._active=!1,Z){for(;(G=$[0])&&G.id===Y&&$.shift();)G.unsubscribe();throw Z}}}(class y extends t.R{constructor(G,Y){super(G,Y),this.scheduler=G,this.work=Y}requestAsyncId(G,Y,$=0){return null!==$&&$>0?super.requestAsyncId(G,Y,$):(G.actions.push(this),G._scheduled||(G._scheduled=w.setImmediate(G.flush.bind(G,void 0))))}recycleAsyncId(G,Y,$=0){var Z;if(null!=$?$>0:this.delay>0)return super.recycleAsyncId(G,Y,$);const{actions:ie}=G;null!=Y&&(null===(Z=ie[ie.length-1])||void 0===Z?void 0:Z.id)!==Y&&(w.clearImmediate(Y),G._scheduled===Y&&(G._scheduled=void 0))}})},3236:(Ve,ee,p)=>{"use strict";p.d(ee,{E:()=>C,b:()=>S});var t=p(6780);const C=new(p(9687).q)(t.R),S=C},6129:(Ve,ee,p)=>{"use strict";p.d(ee,{U:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},7242:(Ve,ee,p)=>{"use strict";p.d(ee,{T:()=>l});var t=p(6780),C=p(9687);const l=new class S extends C.q{}(class e extends t.R{constructor(R,d){super(R,d),this.scheduler=R,this.work=d}schedule(R,d=0){return d>0?super.schedule(R,d):(this.delay=d,this.state=R,this.scheduler.flush(this),this)}execute(R,d){return d>0||this.closed?super.execute(R,d):this._execute(R,d)}requestAsyncId(R,d,w=0){return null!=w&&w>0||null==w&&this.delay>0?super.requestAsyncId(R,d,w):(R.flush(this),0)}})},9270:(Ve,ee,p)=>{"use strict";p.d(ee,{f:()=>t});const t={setTimeout(e,C,...S){const{delegate:l}=t;return l?.setTimeout?l.setTimeout(e,C,...S):setTimeout(e,C,...S)},clearTimeout(e){const{delegate:C}=t;return(C?.clearTimeout||clearTimeout)(e)},delegate:void 0}},4761:(Ve,ee,p)=>{"use strict";p.d(ee,{l:()=>e});const e=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Ve,ee,p)=>{"use strict";p.d(ee,{s:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(Ve,ee,p)=>{"use strict";p.d(ee,{G:()=>e});const e=(0,p(1853).L)(C=>function(){C(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(Ve,ee,p)=>{"use strict";p.d(ee,{R0:()=>x,lI:()=>l,ms:()=>S});var t=p(8071),e=p(9470);function C(m){return m[m.length-1]}function S(m){return(0,t.T)(C(m))?m.pop():void 0}function l(m){return(0,e.m)(C(m))?m.pop():void 0}function x(m,R){return"number"==typeof C(m)?m.pop():R}},3073:(Ve,ee,p)=>{"use strict";p.d(ee,{D:()=>l});const{isArray:t}=Array,{getPrototypeOf:e,prototype:C,keys:S}=Object;function l(m){if(1===m.length){const R=m[0];if(t(R))return{args:R,keys:null};if(function x(m){return m&&"object"==typeof m&&e(m)===C}(R)){const d=S(R);return{args:d.map(w=>R[w]),keys:d}}}return{args:m,keys:null}}},7908:(Ve,ee,p)=>{"use strict";function t(e,C){if(e){const S=e.indexOf(C);0<=S&&e.splice(S,1)}}p.d(ee,{o:()=>t})},1853:(Ve,ee,p)=>{"use strict";function t(e){const S=e(l=>{Error.call(l),l.stack=(new Error).stack});return S.prototype=Object.create(Error.prototype),S.prototype.constructor=S,S}p.d(ee,{L:()=>t})},8496:(Ve,ee,p)=>{"use strict";function t(e,C){return e.reduce((S,l,x)=>(S[l]=C[x],S),{})}p.d(ee,{e:()=>t})},9786:(Ve,ee,p)=>{"use strict";p.d(ee,{Y:()=>C,l:()=>S});var t=p(1026);let e=null;function C(l){if(t.$.useDeprecatedSynchronousErrorHandling){const x=!e;if(x&&(e={errorThrown:!1,error:null}),l(),x){const{errorThrown:m,error:R}=e;if(e=null,m)throw R}}else l()}function S(l){t.$.useDeprecatedSynchronousErrorHandling&&e&&(e.errorThrown=!0,e.error=l)}},5225:(Ve,ee,p)=>{"use strict";function t(e,C,S,l=0,x=!1){const m=C.schedule(function(){S(),x?e.add(this.schedule(null,l)):this.unsubscribe()},l);if(e.add(m),!x)return m}p.d(ee,{N:()=>t})},3669:(Ve,ee,p)=>{"use strict";function t(e){return e}p.d(ee,{D:()=>t})},7441:(Ve,ee,p)=>{"use strict";p.d(ee,{X:()=>t});const t=e=>e&&"number"==typeof e.length&&"function"!=typeof e},7953:(Ve,ee,p)=>{"use strict";p.d(ee,{T:()=>e});var t=p(8071);function e(C){return Symbol.asyncIterator&&(0,t.T)(C?.[Symbol.asyncIterator])}},8211:(Ve,ee,p)=>{"use strict";function t(e){return e instanceof Date&&!isNaN(e)}p.d(ee,{v:()=>t})},8071:(Ve,ee,p)=>{"use strict";function t(e){return"function"==typeof e}p.d(ee,{T:()=>t})},5055:(Ve,ee,p)=>{"use strict";p.d(ee,{l:()=>C});var t=p(3494),e=p(8071);function C(S){return(0,e.T)(S[t.s])}},5397:(Ve,ee,p)=>{"use strict";p.d(ee,{x:()=>C});var t=p(4761),e=p(8071);function C(S){return(0,e.T)(S?.[t.l])}},4402:(Ve,ee,p)=>{"use strict";p.d(ee,{A:()=>C});var t=p(1985),e=p(8071);function C(S){return!!S&&(S instanceof t.c||(0,e.T)(S.lift)&&(0,e.T)(S.subscribe))}},9858:(Ve,ee,p)=>{"use strict";p.d(ee,{y:()=>e});var t=p(8071);function e(C){return(0,t.T)(C?.then)}},5196:(Ve,ee,p)=>{"use strict";p.d(ee,{C:()=>C,U:()=>S});var t=p(1635),e=p(8071);function C(l){return(0,t.AQ)(this,arguments,function*(){const m=l.getReader();try{for(;;){const{value:R,done:d}=yield(0,t.N3)(m.read());if(d)return yield(0,t.N3)(void 0);yield yield(0,t.N3)(R)}}finally{m.releaseLock()}})}function S(l){return(0,e.T)(l?.getReader)}},9470:(Ve,ee,p)=>{"use strict";p.d(ee,{m:()=>e});var t=p(8071);function e(C){return C&&(0,t.T)(C.schedule)}},9974:(Ve,ee,p)=>{"use strict";p.d(ee,{N:()=>C,S:()=>e});var t=p(8071);function e(S){return(0,t.T)(S?.lift)}function C(S){return l=>{if(e(l))return l.lift(function(x){try{return S(x,this)}catch(m){this.error(m)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Ve,ee,p)=>{"use strict";p.d(ee,{I:()=>S});var t=p(6354);const{isArray:e}=Array;function S(l){return(0,t.T)(x=>function C(l,x){return e(x)?l(...x):l(x)}(l,x))}},5343:(Ve,ee,p)=>{"use strict";function t(){}p.d(ee,{l:()=>t})},1203:(Ve,ee,p)=>{"use strict";p.d(ee,{F:()=>e,m:()=>C});var t=p(3669);function e(...S){return C(S)}function C(S){return 0===S.length?t.D:1===S.length?S[0]:function(x){return S.reduce((m,R)=>R(m),x)}}},5334:(Ve,ee,p)=>{"use strict";p.d(ee,{m:()=>C});var t=p(1026),e=p(9270);function C(S){e.f.setTimeout(()=>{const{onUnhandledError:l}=t.$;if(!l)throw S;l(S)})}},591:(Ve,ee,p)=>{"use strict";function t(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}p.d(ee,{L:()=>t})},7054:(Ve,ee,p)=>{var t=p(3838),e=t.Buffer;function C(l,x){for(var m in l)x[m]=l[m]}function S(l,x,m){return e(l,x,m)}e.from&&e.alloc&&e.allocUnsafe&&e.allocUnsafeSlow?Ve.exports=t:(C(t,ee),ee.Buffer=S),S.prototype=Object.create(e.prototype),C(e,S),S.from=function(l,x,m){if("number"==typeof l)throw new TypeError("Argument must not be a number");return e(l,x,m)},S.alloc=function(l,x,m){if("number"!=typeof l)throw new TypeError("Argument must be a number");var R=e(l);return void 0!==x?"string"==typeof m?R.fill(x,m):R.fill(x):R.fill(0),R},S.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e(l)},S.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t.SlowBuffer(l)}},1358:(Ve,ee,p)=>{"use strict";var t=p(258),e=p(2736),C=p(5861)(),S=p(1417),l=p(6758),x=t("%Math.floor%");Ve.exports=function(R,d){if("function"!=typeof R)throw new l("`fn` is not a function");if("number"!=typeof d||d<0||d>4294967295||x(d)!==d)throw new l("`length` must be a positive 32-bit integer");var w=arguments.length>2&&!!arguments[2],y=!0,T=!0;if("length"in R&&S){var k=S(R,"length");k&&!k.configurable&&(y=!1),k&&!k.writable&&(T=!1)}return(y||T||!w)&&(C?e(R,"length",d,!0,!0):e(R,"length",d)),R}},463:(Ve,ee,p)=>{"use strict";var t=p(7054).Buffer,e=p(1090);function C(S,l){this._block=t.alloc(S),this._finalSize=l,this._blockSize=S,this._len=0}C.prototype.update=function(S,l){S=e(S,l||"utf8");for(var x=this._block,m=this._blockSize,R=S.length,d=this._len,w=0;w<R;){for(var y=d%m,T=Math.min(R-w,m-y),k=0;k<T;k++)x[y+k]=S[w+k];w+=T,(d+=T)%m==0&&this._update(x)}return this._len+=R,this},C.prototype.digest=function(S){var l=this._len%this._blockSize;this._block[l]=128,this._block.fill(0,l+1),l>=this._finalSize&&(this._update(this._block),this._block.fill(0));var x=8*this._len;if(x<=4294967295)this._block.writeUInt32BE(x,this._blockSize-4);else{var m=(4294967295&x)>>>0;this._block.writeUInt32BE((x-m)/4294967296,this._blockSize-8),this._block.writeUInt32BE(m,this._blockSize-4)}this._update(this._block);var d=this._hash();return S?d.toString(S):d},C.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Ve.exports=C},5443:(Ve,ee,p)=>{"use strict";Ve.exports=function(e){var C=e.toLowerCase(),S=Ve.exports[C];if(!S)throw new Error(C+" is not supported (we accept pull requests)");return new S},Ve.exports.sha=p(8585),Ve.exports.sha1=p(1270),Ve.exports.sha224=p(2709),Ve.exports.sha256=p(2148),Ve.exports.sha384=p(1856),Ve.exports.sha512=p(3121)},8585:(Ve,ee,p)=>{"use strict";var t=p(1993),e=p(463),C=p(7054).Buffer,S=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function x(){this.init(),this._w=l,e.call(this,64,56)}function m(w){return w<<5|w>>>27}function R(w){return w<<30|w>>>2}function d(w,y,T,k){return 0===w?y&T|~y&k:2===w?y&T|y&k|T&k:y^T^k}t(x,e),x.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},x.prototype._update=function(w){for(var y=this._w,T=0|this._a,k=0|this._b,F=0|this._c,V=0|this._d,U=0|this._e,G=0;G<16;++G)y[G]=w.readInt32BE(4*G);for(;G<80;++G)y[G]=y[G-3]^y[G-8]^y[G-14]^y[G-16];for(var Y=0;Y<80;++Y){var $=~~(Y/20),Z=m(T)+d($,k,F,V)+U+y[Y]+S[$]|0;U=V,V=F,F=R(k),k=T,T=Z}this._a=T+this._a|0,this._b=k+this._b|0,this._c=F+this._c|0,this._d=V+this._d|0,this._e=U+this._e|0},x.prototype._hash=function(){var w=C.allocUnsafe(20);return w.writeInt32BE(0|this._a,0),w.writeInt32BE(0|this._b,4),w.writeInt32BE(0|this._c,8),w.writeInt32BE(0|this._d,12),w.writeInt32BE(0|this._e,16),w},Ve.exports=x},1270:(Ve,ee,p)=>{"use strict";var t=p(1993),e=p(463),C=p(7054).Buffer,S=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function x(){this.init(),this._w=l,e.call(this,64,56)}function m(y){return y<<1|y>>>31}function R(y){return y<<5|y>>>27}function d(y){return y<<30|y>>>2}function w(y,T,k,F){return 0===y?T&k|~T&F:2===y?T&k|T&F|k&F:T^k^F}t(x,e),x.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},x.prototype._update=function(y){for(var T=this._w,k=0|this._a,F=0|this._b,V=0|this._c,U=0|this._d,G=0|this._e,Y=0;Y<16;++Y)T[Y]=y.readInt32BE(4*Y);for(;Y<80;++Y)T[Y]=m(T[Y-3]^T[Y-8]^T[Y-14]^T[Y-16]);for(var $=0;$<80;++$){var Z=~~($/20),ie=R(k)+w(Z,F,V,U)+G+T[$]+S[Z]|0;G=U,U=V,V=d(F),F=k,k=ie}this._a=k+this._a|0,this._b=F+this._b|0,this._c=V+this._c|0,this._d=U+this._d|0,this._e=G+this._e|0},x.prototype._hash=function(){var y=C.allocUnsafe(20);return y.writeInt32BE(0|this._a,0),y.writeInt32BE(0|this._b,4),y.writeInt32BE(0|this._c,8),y.writeInt32BE(0|this._d,12),y.writeInt32BE(0|this._e,16),y},Ve.exports=x},2709:(Ve,ee,p)=>{"use strict";var t=p(1993),e=p(2148),C=p(463),S=p(7054).Buffer,l=new Array(64);function x(){this.init(),this._w=l,C.call(this,64,56)}t(x,e),x.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},x.prototype._hash=function(){var m=S.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},Ve.exports=x},2148:(Ve,ee,p)=>{"use strict";var t=p(1993),e=p(463),C=p(7054).Buffer,S=[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 x(){this.init(),this._w=l,e.call(this,64,56)}function m(k,F,V){return V^k&(F^V)}function R(k,F,V){return k&F|V&(k|F)}function d(k){return(k>>>2|k<<30)^(k>>>13|k<<19)^(k>>>22|k<<10)}function w(k){return(k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7)}function y(k){return(k>>>7|k<<25)^(k>>>18|k<<14)^k>>>3}function T(k){return(k>>>17|k<<15)^(k>>>19|k<<13)^k>>>10}t(x,e),x.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},x.prototype._update=function(k){for(var F=this._w,V=0|this._a,U=0|this._b,G=0|this._c,Y=0|this._d,$=0|this._e,Z=0|this._f,ie=0|this._g,ve=0|this._h,ae=0;ae<16;++ae)F[ae]=k.readInt32BE(4*ae);for(;ae<64;++ae)F[ae]=T(F[ae-2])+F[ae-7]+y(F[ae-15])+F[ae-16]|0;for(var ye=0;ye<64;++ye){var ue=ve+w($)+m($,Z,ie)+S[ye]+F[ye]|0,be=d(V)+R(V,U,G)|0;ve=ie,ie=Z,Z=$,$=Y+ue|0,Y=G,G=U,U=V,V=ue+be|0}this._a=V+this._a|0,this._b=U+this._b|0,this._c=G+this._c|0,this._d=Y+this._d|0,this._e=$+this._e|0,this._f=Z+this._f|0,this._g=ie+this._g|0,this._h=ve+this._h|0},x.prototype._hash=function(){var k=C.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},Ve.exports=x},1856:(Ve,ee,p)=>{"use strict";var t=p(1993),e=p(3121),C=p(463),S=p(7054).Buffer,l=new Array(160);function x(){this.init(),this._w=l,C.call(this,128,112)}t(x,e),x.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},x.prototype._hash=function(){var m=S.allocUnsafe(48);function R(d,w,y){m.writeInt32BE(d,y),m.writeInt32BE(w,y+4)}return R(this._ah,this._al,0),R(this._bh,this._bl,8),R(this._ch,this._cl,16),R(this._dh,this._dl,24),R(this._eh,this._el,32),R(this._fh,this._fl,40),m},Ve.exports=x},3121:(Ve,ee,p)=>{"use strict";var t=p(1993),e=p(463),C=p(7054).Buffer,S=[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 x(){this.init(),this._w=l,e.call(this,128,112)}function m(U,G,Y){return Y^U&(G^Y)}function R(U,G,Y){return U&G|Y&(U|G)}function d(U,G){return(U>>>28|G<<4)^(G>>>2|U<<30)^(G>>>7|U<<25)}function w(U,G){return(U>>>14|G<<18)^(U>>>18|G<<14)^(G>>>9|U<<23)}function y(U,G){return(U>>>1|G<<31)^(U>>>8|G<<24)^U>>>7}function T(U,G){return(U>>>1|G<<31)^(U>>>8|G<<24)^(U>>>7|G<<25)}function k(U,G){return(U>>>19|G<<13)^(G>>>29|U<<3)^U>>>6}function F(U,G){return(U>>>19|G<<13)^(G>>>29|U<<3)^(U>>>6|G<<26)}function V(U,G){return U>>>0<G>>>0?1:0}t(x,e),x.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},x.prototype._update=function(U){for(var G=this._w,Y=0|this._ah,$=0|this._bh,Z=0|this._ch,ie=0|this._dh,ve=0|this._eh,ae=0|this._fh,ye=0|this._gh,ue=0|this._hh,be=0|this._al,D=0|this._bl,n=0|this._cl,c=0|this._dl,f=0|this._el,h=0|this._fl,M=0|this._gl,L=0|this._hl,O=0;O<32;O+=2)G[O]=U.readInt32BE(4*O),G[O+1]=U.readInt32BE(4*O+4);for(;O<160;O+=2){var _=G[O-30],r=G[O-30+1],v=y(_,r),z=T(r,_),N=k(_=G[O-4],r=G[O-4+1]),ne=F(r,_),Ye=G[O-32],rt=G[O-32+1],re=z+G[O-14+1]|0,te=v+G[O-14]+V(re,z)|0;te=(te=te+N+V(re=re+ne|0,ne)|0)+Ye+V(re=re+rt|0,rt)|0,G[O]=te,G[O+1]=re}for(var oe=0;oe<160;oe+=2){te=G[oe],re=G[oe+1];var _e=R(Y,$,Z),de=R(be,D,n),pe=d(Y,be),We=d(be,Y),se=w(ve,f),fe=w(f,ve),he=S[oe],et=S[oe+1],Ke=m(ve,ae,ye),Ct=m(f,h,M),_t=L+fe|0,Nt=ue+se+V(_t,L)|0;Nt=(Nt=(Nt=Nt+Ke+V(_t=_t+Ct|0,Ct)|0)+he+V(_t=_t+et|0,et)|0)+te+V(_t=_t+re|0,re)|0;var ke=We+de|0,Je=pe+_e+V(ke,We)|0;ue=ye,L=M,ye=ae,M=h,ae=ve,h=f,ve=ie+Nt+V(f=c+_t|0,c)|0,ie=Z,c=n,Z=$,n=D,$=Y,D=be,Y=Nt+Je+V(be=_t+ke|0,_t)|0}this._al=this._al+be|0,this._bl=this._bl+D|0,this._cl=this._cl+n|0,this._dl=this._dl+c|0,this._el=this._el+f|0,this._fl=this._fl+h|0,this._gl=this._gl+M|0,this._hl=this._hl+L|0,this._ah=this._ah+Y+V(this._al,be)|0,this._bh=this._bh+$+V(this._bl,D)|0,this._ch=this._ch+Z+V(this._cl,n)|0,this._dh=this._dh+ie+V(this._dl,c)|0,this._eh=this._eh+ve+V(this._el,f)|0,this._fh=this._fh+ae+V(this._fl,h)|0,this._gh=this._gh+ye+V(this._gl,M)|0,this._hh=this._hh+ue+V(this._hl,L)|0},x.prototype._hash=function(){var U=C.allocUnsafe(64);function G(Y,$,Z){U.writeInt32BE(Y,Z),U.writeInt32BE($,Z+4)}return G(this._ah,this._al,0),G(this._bh,this._bl,8),G(this._ch,this._cl,16),G(this._dh,this._dl,24),G(this._eh,this._el,32),G(this._fh,this._fl,40),G(this._gh,this._gl,48),G(this._hh,this._hl,56),U},Ve.exports=x},2852:function(Ve,ee,p){!function(t){"use strict";var e={};Ve.exports?(e.bytesToHex=p(4740).bytesToHex,e.convertString=p(820),Ve.exports=R):(e.bytesToHex=t.convertHex.bytesToHex,e.convertString=t.convertString,t.sha256=R);var C=[];!function(){function d(k){for(var F=Math.sqrt(k),V=2;V<=F;V++)if(!(k%V))return!1;return!0}for(var y=2,T=0;T<64;)d(y)&&(C[T]=4294967296*((k=Math.pow(y,1/3))-(0|k))|0,T++),y++;var k}();var S=function(d){for(var w=[],y=0,T=0;y<d.length;y++,T+=8)w[T>>>5]|=d[y]<<24-T%32;return w},l=function(d){for(var w=[],y=0;y<32*d.length;y+=8)w.push(d[y>>>5]>>>24-y%32&255);return w},x=[],m=function(d,w,y){for(var T=d[0],k=d[1],F=d[2],V=d[3],U=d[4],G=d[5],Y=d[6],$=d[7],Z=0;Z<64;Z++){if(Z<16)x[Z]=0|w[y+Z];else{var ie=x[Z-15],ae=x[Z-2];x[Z]=((ie<<25|ie>>>7)^(ie<<14|ie>>>18)^ie>>>3)+x[Z-7]+((ae<<15|ae>>>17)^(ae<<13|ae>>>19)^ae>>>10)+x[Z-16]}var be=T&k^T&F^k&F,c=$+((U<<26|U>>>6)^(U<<21|U>>>11)^(U<<7|U>>>25))+(U&G^~U&Y)+C[Z]+x[Z];$=Y,Y=G,G=U,U=V+c|0,V=F,F=k,k=T,T=c+(((T<<30|T>>>2)^(T<<19|T>>>13)^(T<<10|T>>>22))+be)|0}d[0]=d[0]+T|0,d[1]=d[1]+k|0,d[2]=d[2]+F|0,d[3]=d[3]+V|0,d[4]=d[4]+U|0,d[5]=d[5]+G|0,d[6]=d[6]+Y|0,d[7]=d[7]+$|0};function R(d,w){d.constructor===String&&(d=e.convertString.UTF8.stringToBytes(d));var y=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],T=S(d),k=8*d.length;T[k>>5]|=128<<24-k%32,T[15+(k+64>>9<<4)]=k;for(var F=0;F<T.length;F+=16)m(y,T,F);var V=l(y);return w&&w.asBytes?V:w&&w.asString?e.convertString.bytesToString(V):e.bytesToHex(V)}R.x2=function(d,w){return R(R(d,{asBytes:!0}),w)}}(this)},7045:(Ve,ee,p)=>{Ve.exports=C;var t=p(4356).EventEmitter;function C(){t.call(this)}p(1993)(C,t),C.Readable=p(1092),C.Writable=p(5492),C.Duplex=p(1030),C.Transform=p(3410),C.PassThrough=p(3824),C.finished=p(7854),C.pipeline=p(6846),C.Stream=C,C.prototype.pipe=function(S,l){var x=this;function m(F){S.writable&&!1===S.write(F)&&x.pause&&x.pause()}function R(){x.readable&&x.resume&&x.resume()}x.on("data",m),S.on("drain",R),!S._isStdio&&(!l||!1!==l.end)&&(x.on("end",w),x.on("close",y));var d=!1;function w(){d||(d=!0,S.end())}function y(){d||(d=!0,"function"==typeof S.destroy&&S.destroy())}function T(F){if(k(),0===t.listenerCount(this,"error"))throw F}function k(){x.removeListener("data",m),S.removeListener("drain",R),x.removeListener("end",w),x.removeListener("close",y),x.removeListener("error",T),S.removeListener("error",T),x.removeListener("end",k),x.removeListener("close",k),S.removeListener("close",k)}return x.on("error",T),S.on("error",T),x.on("end",k),x.on("close",k),S.on("close",k),S.emit("pipe",x),S}},464:Ve=>{"use strict";var p={};function t(x,m,R){R||(R=Error);var w=function(y){function T(k,F,V){return y.call(this,function d(y,T,k){return"string"==typeof m?m:m(y,T,k)}(k,F,V))||this}return function ee(x,m){x.prototype=Object.create(m.prototype),x.prototype.constructor=x,x.__proto__=m}(T,y),T}(R);w.prototype.name=R.name,w.prototype.code=x,p[x]=w}function e(x,m){if(Array.isArray(x)){var R=x.length;return x=x.map(function(d){return String(d)}),R>2?"one of ".concat(m," ").concat(x.slice(0,R-1).join(", "),", or ")+x[R-1]:2===R?"one of ".concat(m," ").concat(x[0]," or ").concat(x[1]):"of ".concat(m," ").concat(x[0])}return"of ".concat(m," ").concat(String(x))}t("ERR_INVALID_OPT_VALUE",function(x,m){return'The value "'+m+'" is invalid for option "'+x+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(x,m,R){var d,w;if("string"==typeof m&&function C(x,m,R){return x.substr(!R||R<0?0:+R,m.length)===m}(m,"not ")?(d="must not be",m=m.replace(/^not /,"")):d="must be",function S(x,m,R){return(void 0===R||R>x.length)&&(R=x.length),x.substring(R-m.length,R)===m}(x," argument"))w="The ".concat(x," ").concat(d," ").concat(e(m,"type"));else{var y=function l(x,m,R){return"number"!=typeof R&&(R=0),!(R+m.length>x.length)&&-1!==x.indexOf(m,R)}(x,".")?"property":"argument";w='The "'.concat(x,'" ').concat(y," ").concat(d," ").concat(e(m,"type"))}return w+". Received type ".concat(typeof R)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(x){return"The "+x+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(x){return"Cannot call "+x+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(x){return"Unknown encoding: "+x},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Ve.exports.F=p},1030:(Ve,ee,p)=>{"use strict";var t=Object.keys||function(w){var y=[];for(var T in w)y.push(T);return y};Ve.exports=m;var e=p(1092),C=p(5492);p(1993)(m,e);for(var S=t(C.prototype),l=0;l<S.length;l++){var x=S[l];m.prototype[x]||(m.prototype[x]=C.prototype[x])}function m(w){if(!(this instanceof m))return new m(w);e.call(this,w),C.call(this,w),this.allowHalfOpen=!0,w&&(!1===w.readable&&(this.readable=!1),!1===w.writable&&(this.writable=!1),!1===w.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",R)))}function R(){this._writableState.ended||process.nextTick(d,this)}function d(w){w.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(y){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=y,this._writableState.destroyed=y)}})},3824:(Ve,ee,p)=>{"use strict";Ve.exports=e;var t=p(3410);function e(C){if(!(this instanceof e))return new e(C);t.call(this,C)}p(1993)(e,t),e.prototype._transform=function(C,S,l){l(null,C)}},1092:(Ve,ee,p)=>{"use strict";var t;Ve.exports=D,D.ReadableState=be,p(4356);var w,C=function(pe,We){return pe.listeners(We).length},S=p(2601),l=p(3838).Buffer,x=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},d=p(7199);w=d&&d.debuglog?d.debuglog("stream"):function(){};var Z,ie,ve,y=p(7606),T=p(8152),F=p(2827).getHighWaterMark,V=p(464).F,U=V.ERR_INVALID_ARG_TYPE,G=V.ERR_STREAM_PUSH_AFTER_EOF,Y=V.ERR_METHOD_NOT_IMPLEMENTED,$=V.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;p(1993)(D,S);var ae=T.errorOrDestroy,ye=["error","close","destroy","pause","resume"];function be(de,pe,We){t=t||p(1030),"boolean"!=typeof We&&(We=pe instanceof t),this.objectMode=!!(de=de||{}).objectMode,We&&(this.objectMode=this.objectMode||!!de.readableObjectMode),this.highWaterMark=F(this,de,"readableHighWaterMark",We),this.buffer=new y,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!==de.emitClose,this.autoDestroy=!!de.autoDestroy,this.destroyed=!1,this.defaultEncoding=de.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,de.encoding&&(Z||(Z=p(8454).I),this.decoder=new Z(de.encoding),this.encoding=de.encoding)}function D(de){if(t=t||p(1030),!(this instanceof D))return new D(de);this._readableState=new be(de,this,this instanceof t),this.readable=!0,de&&("function"==typeof de.read&&(this._read=de.read),"function"==typeof de.destroy&&(this._destroy=de.destroy)),S.call(this)}function n(de,pe,We,se,fe){w("readableAddChunk",pe);var et,he=de._readableState;if(null===pe)he.reading=!1,function O(de,pe){if(w("onEofChunk"),!pe.ended){if(pe.decoder){var We=pe.decoder.end();We&&We.length&&(pe.buffer.push(We),pe.length+=pe.objectMode?1:We.length)}pe.ended=!0,pe.sync?_(de):(pe.needReadable=!1,pe.emittedReadable||(pe.emittedReadable=!0,r(de)))}}(de,he);else if(fe||(et=function f(de,pe){var We;return!function R(de){return l.isBuffer(de)||de instanceof x}(pe)&&"string"!=typeof pe&&void 0!==pe&&!de.objectMode&&(We=new U("chunk",["string","Buffer","Uint8Array"],pe)),We}(he,pe)),et)ae(de,et);else if(he.objectMode||pe&&pe.length>0)if("string"!=typeof pe&&!he.objectMode&&Object.getPrototypeOf(pe)!==l.prototype&&(pe=function m(de){return l.from(de)}(pe)),se)he.endEmitted?ae(de,new $):c(de,he,pe,!0);else if(he.ended)ae(de,new G);else{if(he.destroyed)return!1;he.reading=!1,he.decoder&&!We?(pe=he.decoder.write(pe),he.objectMode||0!==pe.length?c(de,he,pe,!1):v(de,he)):c(de,he,pe,!1)}else se||(he.reading=!1,v(de,he));return!he.ended&&(he.length<he.highWaterMark||0===he.length)}function c(de,pe,We,se){pe.flowing&&0===pe.length&&!pe.sync?(pe.awaitDrain=0,de.emit("data",We)):(pe.length+=pe.objectMode?1:We.length,se?pe.buffer.unshift(We):pe.buffer.push(We),pe.needReadable&&_(de)),v(de,pe)}Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(pe){this._readableState&&(this._readableState.destroyed=pe)}}),D.prototype.destroy=T.destroy,D.prototype._undestroy=T.undestroy,D.prototype._destroy=function(de,pe){pe(de)},D.prototype.push=function(de,pe){var se,We=this._readableState;return We.objectMode?se=!0:"string"==typeof de&&((pe=pe||We.defaultEncoding)!==We.encoding&&(de=l.from(de,pe),pe=""),se=!0),n(this,de,pe,!1,se)},D.prototype.unshift=function(de){return n(this,de,null,!0,!1)},D.prototype.isPaused=function(){return!1===this._readableState.flowing},D.prototype.setEncoding=function(de){Z||(Z=p(8454).I);var pe=new Z(de);this._readableState.decoder=pe,this._readableState.encoding=this._readableState.decoder.encoding;for(var We=this._readableState.buffer.head,se="";null!==We;)se+=pe.write(We.data),We=We.next;return this._readableState.buffer.clear(),""!==se&&this._readableState.buffer.push(se),this._readableState.length=se.length,this};var h=1073741824;function L(de,pe){return de<=0||0===pe.length&&pe.ended?0:pe.objectMode?1:de!=de?pe.flowing&&pe.length?pe.buffer.head.data.length:pe.length:(de>pe.highWaterMark&&(pe.highWaterMark=function M(de){return de>=h?de=h:(de--,de|=de>>>1,de|=de>>>2,de|=de>>>4,de|=de>>>8,de|=de>>>16,de++),de}(de)),de<=pe.length?de:pe.ended?pe.length:(pe.needReadable=!0,0))}function _(de){var pe=de._readableState;w("emitReadable",pe.needReadable,pe.emittedReadable),pe.needReadable=!1,pe.emittedReadable||(w("emitReadable",pe.flowing),pe.emittedReadable=!0,process.nextTick(r,de))}function r(de){var pe=de._readableState;w("emitReadable_",pe.destroyed,pe.length,pe.ended),!pe.destroyed&&(pe.length||pe.ended)&&(de.emit("readable"),pe.emittedReadable=!1),pe.needReadable=!pe.flowing&&!pe.ended&&pe.length<=pe.highWaterMark,rt(de)}function v(de,pe){pe.readingMore||(pe.readingMore=!0,process.nextTick(z,de,pe))}function z(de,pe){for(;!pe.reading&&!pe.ended&&(pe.length<pe.highWaterMark||pe.flowing&&0===pe.length);){var We=pe.length;if(w("maybeReadMore read 0"),de.read(0),We===pe.length)break}pe.readingMore=!1}function ne(de){var pe=de._readableState;pe.readableListening=de.listenerCount("readable")>0,pe.resumeScheduled&&!pe.paused?pe.flowing=!0:de.listenerCount("data")>0&&de.resume()}function Ie(de){w("readable nexttick read 0"),de.read(0)}function Ye(de,pe){w("resume",pe.reading),pe.reading||de.read(0),pe.resumeScheduled=!1,de.emit("resume"),rt(de),pe.flowing&&!pe.reading&&de.read(0)}function rt(de){var pe=de._readableState;for(w("flow",pe.flowing);pe.flowing&&null!==de.read(););}function re(de,pe){return 0===pe.length?null:(pe.objectMode?We=pe.buffer.shift():!de||de>=pe.length?(We=pe.decoder?pe.buffer.join(""):1===pe.buffer.length?pe.buffer.first():pe.buffer.concat(pe.length),pe.buffer.clear()):We=pe.buffer.consume(de,pe.decoder),We);var We}function te(de){var pe=de._readableState;w("endReadable",pe.endEmitted),pe.endEmitted||(pe.ended=!0,process.nextTick(oe,pe,de))}function oe(de,pe){if(w("endReadableNT",de.endEmitted,de.length),!de.endEmitted&&0===de.length&&(de.endEmitted=!0,pe.readable=!1,pe.emit("end"),de.autoDestroy)){var We=pe._writableState;(!We||We.autoDestroy&&We.finished)&&pe.destroy()}}function _e(de,pe){for(var We=0,se=de.length;We<se;We++)if(de[We]===pe)return We;return-1}D.prototype.read=function(de){w("read",de),de=parseInt(de,10);var pe=this._readableState,We=de;if(0!==de&&(pe.emittedReadable=!1),0===de&&pe.needReadable&&((0!==pe.highWaterMark?pe.length>=pe.highWaterMark:pe.length>0)||pe.ended))return w("read: emitReadable",pe.length,pe.ended),0===pe.length&&pe.ended?te(this):_(this),null;if(0===(de=L(de,pe))&&pe.ended)return 0===pe.length&&te(this),null;var fe,se=pe.needReadable;return w("need readable",se),(0===pe.length||pe.length-de<pe.highWaterMark)&&w("length less than watermark",se=!0),pe.ended||pe.reading?w("reading or ended",se=!1):se&&(w("do read"),pe.reading=!0,pe.sync=!0,0===pe.length&&(pe.needReadable=!0),this._read(pe.highWaterMark),pe.sync=!1,pe.reading||(de=L(We,pe))),null===(fe=de>0?re(de,pe):null)?(pe.needReadable=pe.length<=pe.highWaterMark,de=0):(pe.length-=de,pe.awaitDrain=0),0===pe.length&&(pe.ended||(pe.needReadable=!0),We!==de&&pe.ended&&te(this)),null!==fe&&this.emit("data",fe),fe},D.prototype._read=function(de){ae(this,new Y("_read()"))},D.prototype.pipe=function(de,pe){var We=this,se=this._readableState;switch(se.pipesCount){case 0:se.pipes=de;break;case 1:se.pipes=[se.pipes,de];break;default:se.pipes.push(de)}se.pipesCount+=1,w("pipe count=%d opts=%j",se.pipesCount,pe);var he=pe&&!1===pe.end||de===process.stdout||de===process.stderr?Ue:Ke;function Ke(){w("onend"),de.end()}se.endEmitted?process.nextTick(he):We.once("end",he),de.on("unpipe",function et(ht,tt){w("onunpipe"),ht===We&&tt&&!1===tt.hasUnpiped&&(tt.hasUnpiped=!0,function Nt(){w("cleanup"),de.removeListener("close",Qe),de.removeListener("finish",nt),de.removeListener("drain",Ct),de.removeListener("error",Je),de.removeListener("unpipe",et),We.removeListener("end",Ke),We.removeListener("end",Ue),We.removeListener("data",ke),_t=!0,se.awaitDrain&&(!de._writableState||de._writableState.needDrain)&&Ct()}())});var Ct=function N(de){return function(){var We=de._readableState;w("pipeOnDrain",We.awaitDrain),We.awaitDrain&&We.awaitDrain--,0===We.awaitDrain&&C(de,"data")&&(We.flowing=!0,rt(de))}}(We);de.on("drain",Ct);var _t=!1;function ke(ht){w("ondata");var tt=de.write(ht);w("dest.write",tt),!1===tt&&((1===se.pipesCount&&se.pipes===de||se.pipesCount>1&&-1!==_e(se.pipes,de))&&!_t&&(w("false write response, pause",se.awaitDrain),se.awaitDrain++),We.pause())}function Je(ht){w("onerror",ht),Ue(),de.removeListener("error",Je),0===C(de,"error")&&ae(de,ht)}function Qe(){de.removeListener("finish",nt),Ue()}function nt(){w("onfinish"),de.removeListener("close",Qe),Ue()}function Ue(){w("unpipe"),We.unpipe(de)}return We.on("data",ke),function ue(de,pe,We){if("function"==typeof de.prependListener)return de.prependListener(pe,We);de._events&&de._events[pe]?Array.isArray(de._events[pe])?de._events[pe].unshift(We):de._events[pe]=[We,de._events[pe]]:de.on(pe,We)}(de,"error",Je),de.once("close",Qe),de.once("finish",nt),de.emit("pipe",We),se.flowing||(w("pipe resume"),We.resume()),de},D.prototype.unpipe=function(de){var pe=this._readableState,We={hasUnpiped:!1};if(0===pe.pipesCount)return this;if(1===pe.pipesCount)return de&&de!==pe.pipes||(de||(de=pe.pipes),pe.pipes=null,pe.pipesCount=0,pe.flowing=!1,de&&de.emit("unpipe",this,We)),this;if(!de){var se=pe.pipes,fe=pe.pipesCount;pe.pipes=null,pe.pipesCount=0,pe.flowing=!1;for(var he=0;he<fe;he++)se[he].emit("unpipe",this,{hasUnpiped:!1});return this}var et=_e(pe.pipes,de);return-1===et||(pe.pipes.splice(et,1),pe.pipesCount-=1,1===pe.pipesCount&&(pe.pipes=pe.pipes[0]),de.emit("unpipe",this,We)),this},D.prototype.addListener=D.prototype.on=function(de,pe){var We=S.prototype.on.call(this,de,pe),se=this._readableState;return"data"===de?(se.readableListening=this.listenerCount("readable")>0,!1!==se.flowing&&this.resume()):"readable"===de&&!se.endEmitted&&!se.readableListening&&(se.readableListening=se.needReadable=!0,se.flowing=!1,se.emittedReadable=!1,w("on readable",se.length,se.reading),se.length?_(this):se.reading||process.nextTick(Ie,this)),We},D.prototype.removeListener=function(de,pe){var We=S.prototype.removeListener.call(this,de,pe);return"readable"===de&&process.nextTick(ne,this),We},D.prototype.removeAllListeners=function(de){var pe=S.prototype.removeAllListeners.apply(this,arguments);return("readable"===de||void 0===de)&&process.nextTick(ne,this),pe},D.prototype.resume=function(){var de=this._readableState;return de.flowing||(w("resume"),de.flowing=!de.readableListening,function at(de,pe){pe.resumeScheduled||(pe.resumeScheduled=!0,process.nextTick(Ye,de,pe))}(this,de)),de.paused=!1,this},D.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},D.prototype.wrap=function(de){var pe=this,We=this._readableState,se=!1;for(var fe in de.on("end",function(){if(w("wrapped end"),We.decoder&&!We.ended){var et=We.decoder.end();et&&et.length&&pe.push(et)}pe.push(null)}),de.on("data",function(et){w("wrapped data"),We.decoder&&(et=We.decoder.write(et)),We.objectMode&&null==et||!(We.objectMode||et&&et.length)||pe.push(et)||(se=!0,de.pause())}),de)void 0===this[fe]&&"function"==typeof de[fe]&&(this[fe]=function(Ke){return function(){return de[Ke].apply(de,arguments)}}(fe));for(var he=0;he<ye.length;he++)de.on(ye[he],this.emit.bind(this,ye[he]));return this._read=function(et){w("wrapped _read",et),se&&(se=!1,de.resume())},this},"function"==typeof Symbol&&(D.prototype[Symbol.asyncIterator]=function(){return void 0===ie&&(ie=p(2683)),ie(this)}),Object.defineProperty(D.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(D.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(D.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(pe){this._readableState&&(this._readableState.flowing=pe)}}),D._fromList=re,Object.defineProperty(D.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(D.from=function(de,pe){return void 0===ve&&(ve=p(7765)),ve(D,de,pe)})},3410:(Ve,ee,p)=>{"use strict";Ve.exports=R;var t=p(464).F,e=t.ERR_METHOD_NOT_IMPLEMENTED,C=t.ERR_MULTIPLE_CALLBACK,S=t.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=t.ERR_TRANSFORM_WITH_LENGTH_0,x=p(1030);function m(y,T){var k=this._transformState;k.transforming=!1;var F=k.writecb;if(null===F)return this.emit("error",new C);k.writechunk=null,k.writecb=null,null!=T&&this.push(T),F(y);var V=this._readableState;V.reading=!1,(V.needReadable||V.length<V.highWaterMark)&&this._read(V.highWaterMark)}function R(y){if(!(this instanceof R))return new R(y);x.call(this,y),this._transformState={afterTransform:m.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,y&&("function"==typeof y.transform&&(this._transform=y.transform),"function"==typeof y.flush&&(this._flush=y.flush)),this.on("prefinish",d)}function d(){var y=this;"function"!=typeof this._flush||this._readableState.destroyed?w(this,null,null):this._flush(function(T,k){w(y,T,k)})}function w(y,T,k){if(T)return y.emit("error",T);if(null!=k&&y.push(k),y._writableState.length)throw new l;if(y._transformState.transforming)throw new S;return y.push(null)}p(1993)(R,x),R.prototype.push=function(y,T){return this._transformState.needTransform=!1,x.prototype.push.call(this,y,T)},R.prototype._transform=function(y,T,k){k(new e("_transform()"))},R.prototype._write=function(y,T,k){var F=this._transformState;if(F.writecb=k,F.writechunk=y,F.writeencoding=T,!F.transforming){var V=this._readableState;(F.needTransform||V.needReadable||V.length<V.highWaterMark)&&this._read(V.highWaterMark)}},R.prototype._read=function(y){var T=this._transformState;null===T.writechunk||T.transforming?T.needTransform=!0:(T.transforming=!0,this._transform(T.writechunk,T.writeencoding,T.afterTransform))},R.prototype._destroy=function(y,T){x.prototype._destroy.call(this,y,function(k){T(k)})}},5492:(Ve,ee,p)=>{"use strict";function e(rt){var re=this;this.next=null,this.entry=null,this.finish=function(){!function Ye(rt,re,te){var oe=rt.entry;for(rt.entry=null;oe;){var _e=oe.callback;re.pendingcb--,_e(te),oe=oe.next}re.corkedRequestsFree.next=rt}(re,rt)}}var C;Ve.exports=be,be.WritableState=ye;var ue,S={deprecate:p(3398)},l=p(2601),x=p(3838).Buffer,m=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},w=p(8152),T=p(2827).getHighWaterMark,k=p(464).F,F=k.ERR_INVALID_ARG_TYPE,V=k.ERR_METHOD_NOT_IMPLEMENTED,U=k.ERR_MULTIPLE_CALLBACK,G=k.ERR_STREAM_CANNOT_PIPE,Y=k.ERR_STREAM_DESTROYED,$=k.ERR_STREAM_NULL_VALUES,Z=k.ERR_STREAM_WRITE_AFTER_END,ie=k.ERR_UNKNOWN_ENCODING,ve=w.errorOrDestroy;function ae(){}function ye(rt,re,te){C=C||p(1030),"boolean"!=typeof te&&(te=re instanceof C),this.objectMode=!!(rt=rt||{}).objectMode,te&&(this.objectMode=this.objectMode||!!rt.writableObjectMode),this.highWaterMark=T(this,rt,"writableHighWaterMark",te),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===rt.decodeStrings),this.defaultEncoding=rt.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(_e){!function O(rt,re){var te=rt._writableState,oe=te.sync,_e=te.writecb;if("function"!=typeof _e)throw new U;if(function L(rt){rt.writing=!1,rt.writecb=null,rt.length-=rt.writelen,rt.writelen=0}(te),re)!function M(rt,re,te,oe,_e){--re.pendingcb,te?(process.nextTick(_e,oe),process.nextTick(Ie,rt,re),rt._writableState.errorEmitted=!0,ve(rt,oe)):(_e(oe),rt._writableState.errorEmitted=!0,ve(rt,oe),Ie(rt,re))}(rt,te,oe,re,_e);else{var de=z(te)||rt.destroyed;!de&&!te.corked&&!te.bufferProcessing&&te.bufferedRequest&&v(rt,te),oe?process.nextTick(_,rt,te,de,_e):_(rt,te,de,_e)}}(re,_e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==rt.emitClose,this.autoDestroy=!!rt.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function be(rt){var re=this instanceof(C=C||p(1030));if(!re&&!ue.call(be,this))return new be(rt);this._writableState=new ye(rt,this,re),this.writable=!0,rt&&("function"==typeof rt.write&&(this._write=rt.write),"function"==typeof rt.writev&&(this._writev=rt.writev),"function"==typeof rt.destroy&&(this._destroy=rt.destroy),"function"==typeof rt.final&&(this._final=rt.final)),l.call(this)}function h(rt,re,te,oe,_e,de,pe){re.writelen=oe,re.writecb=pe,re.writing=!0,re.sync=!0,re.destroyed?re.onwrite(new Y("write")):te?rt._writev(_e,re.onwrite):rt._write(_e,de,re.onwrite),re.sync=!1}function _(rt,re,te,oe){te||function r(rt,re){0===re.length&&re.needDrain&&(re.needDrain=!1,rt.emit("drain"))}(rt,re),re.pendingcb--,oe(),Ie(rt,re)}function v(rt,re){re.bufferProcessing=!0;var te=re.bufferedRequest;if(rt._writev&&te&&te.next){var _e=new Array(re.bufferedRequestCount),de=re.corkedRequestsFree;de.entry=te;for(var pe=0,We=!0;te;)_e[pe]=te,te.isBuf||(We=!1),te=te.next,pe+=1;_e.allBuffers=We,h(rt,re,!0,re.length,_e,"",de.finish),re.pendingcb++,re.lastBufferedRequest=null,de.next?(re.corkedRequestsFree=de.next,de.next=null):re.corkedRequestsFree=new e(re),re.bufferedRequestCount=0}else{for(;te;){var se=te.chunk;if(h(rt,re,!1,re.objectMode?1:se.length,se,te.encoding,te.callback),te=te.next,re.bufferedRequestCount--,re.writing)break}null===te&&(re.lastBufferedRequest=null)}re.bufferedRequest=te,re.bufferProcessing=!1}function z(rt){return rt.ending&&0===rt.length&&null===rt.bufferedRequest&&!rt.finished&&!rt.writing}function N(rt,re){rt._final(function(te){re.pendingcb--,te&&ve(rt,te),re.prefinished=!0,rt.emit("prefinish"),Ie(rt,re)})}function Ie(rt,re){var te=z(re);if(te&&(function ne(rt,re){!re.prefinished&&!re.finalCalled&&("function"!=typeof rt._final||re.destroyed?(re.prefinished=!0,rt.emit("prefinish")):(re.pendingcb++,re.finalCalled=!0,process.nextTick(N,rt,re)))}(rt,re),0===re.pendingcb&&(re.finished=!0,rt.emit("finish"),re.autoDestroy))){var oe=rt._readableState;(!oe||oe.autoDestroy&&oe.endEmitted)&&rt.destroy()}return te}p(1993)(be,l),ye.prototype.getBuffer=function(){for(var re=this.bufferedRequest,te=[];re;)te.push(re),re=re.next;return te},function(){try{Object.defineProperty(ye.prototype,"buffer",{get:S.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]?(ue=Function.prototype[Symbol.hasInstance],Object.defineProperty(be,Symbol.hasInstance,{value:function(re){return!!ue.call(this,re)||this===be&&re&&re._writableState instanceof ye}})):ue=function(re){return re instanceof this},be.prototype.pipe=function(){ve(this,new G)},be.prototype.write=function(rt,re,te){var oe=this._writableState,_e=!1,de=!oe.objectMode&&function d(rt){return x.isBuffer(rt)||rt instanceof m}(rt);return de&&!x.isBuffer(rt)&&(rt=function R(rt){return x.from(rt)}(rt)),"function"==typeof re&&(te=re,re=null),de?re="buffer":re||(re=oe.defaultEncoding),"function"!=typeof te&&(te=ae),oe.ending?function D(rt,re){var te=new Z;ve(rt,te),process.nextTick(re,te)}(this,te):(de||function n(rt,re,te,oe){var _e;return null===te?_e=new $:"string"!=typeof te&&!re.objectMode&&(_e=new F("chunk",["string","Buffer"],te)),!_e||(ve(rt,_e),process.nextTick(oe,_e),!1)}(this,oe,rt,te))&&(oe.pendingcb++,_e=function f(rt,re,te,oe,_e,de){if(!te){var pe=function c(rt,re,te){return!rt.objectMode&&!1!==rt.decodeStrings&&"string"==typeof re&&(re=x.from(re,te)),re}(re,oe,_e);oe!==pe&&(te=!0,_e="buffer",oe=pe)}var We=re.objectMode?1:oe.length;re.length+=We;var se=re.length<re.highWaterMark;if(se||(re.needDrain=!0),re.writing||re.corked){var fe=re.lastBufferedRequest;re.lastBufferedRequest={chunk:oe,encoding:_e,isBuf:te,callback:de,next:null},fe?fe.next=re.lastBufferedRequest:re.bufferedRequest=re.lastBufferedRequest,re.bufferedRequestCount+=1}else h(rt,re,!1,We,oe,_e,de);return se}(this,oe,de,rt,re,te)),_e},be.prototype.cork=function(){this._writableState.corked++},be.prototype.uncork=function(){var rt=this._writableState;rt.corked&&(rt.corked--,!rt.writing&&!rt.corked&&!rt.bufferProcessing&&rt.bufferedRequest&&v(this,rt))},be.prototype.setDefaultEncoding=function(re){if("string"==typeof re&&(re=re.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((re+"").toLowerCase())>-1))throw new ie(re);return this._writableState.defaultEncoding=re,this},Object.defineProperty(be.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(be.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),be.prototype._write=function(rt,re,te){te(new V("_write()"))},be.prototype._writev=null,be.prototype.end=function(rt,re,te){var oe=this._writableState;return"function"==typeof rt?(te=rt,rt=null,re=null):"function"==typeof re&&(te=re,re=null),null!=rt&&this.write(rt,re),oe.corked&&(oe.corked=1,this.uncork()),oe.ending||function at(rt,re,te){re.ending=!0,Ie(rt,re),te&&(re.finished?process.nextTick(te):rt.once("finish",te)),re.ended=!0,rt.writable=!1}(this,oe,te),this},Object.defineProperty(be.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(be.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(re){this._writableState&&(this._writableState.destroyed=re)}}),be.prototype.destroy=w.destroy,be.prototype._undestroy=w.undestroy,be.prototype._destroy=function(rt,re){re(rt)}},2683:(Ve,ee,p)=>{"use strict";var t;function e(Z,ie,ve){return ie=function C(Z){var ie=function S(Z,ie){if("object"!=typeof Z||null===Z)return Z;var ve=Z[Symbol.toPrimitive];if(void 0!==ve){var ae=ve.call(Z,ie||"default");if("object"!=typeof ae)return ae;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===ie?String:Number)(Z)}(Z,"string");return"symbol"==typeof ie?ie:String(ie)}(ie),ie in Z?Object.defineProperty(Z,ie,{value:ve,enumerable:!0,configurable:!0,writable:!0}):Z[ie]=ve,Z}var l=p(7854),x=Symbol("lastResolve"),m=Symbol("lastReject"),R=Symbol("error"),d=Symbol("ended"),w=Symbol("lastPromise"),y=Symbol("handlePromise"),T=Symbol("stream");function k(Z,ie){return{value:Z,done:ie}}function F(Z){var ie=Z[x];if(null!==ie){var ve=Z[T].read();null!==ve&&(Z[w]=null,Z[x]=null,Z[m]=null,ie(k(ve,!1)))}}function V(Z){process.nextTick(F,Z)}var G=Object.getPrototypeOf(function(){}),Y=Object.setPrototypeOf((e(t={get stream(){return this[T]},next:function(){var ie=this,ve=this[R];if(null!==ve)return Promise.reject(ve);if(this[d])return Promise.resolve(k(void 0,!0));if(this[T].destroyed)return new Promise(function(be,D){process.nextTick(function(){ie[R]?D(ie[R]):be(k(void 0,!0))})});var ye,ae=this[w];if(ae)ye=new Promise(function U(Z,ie){return function(ve,ae){Z.then(function(){ie[d]?ve(k(void 0,!0)):ie[y](ve,ae)},ae)}}(ae,this));else{var ue=this[T].read();if(null!==ue)return Promise.resolve(k(ue,!1));ye=new Promise(this[y])}return this[w]=ye,ye}},Symbol.asyncIterator,function(){return this}),e(t,"return",function(){var ie=this;return new Promise(function(ve,ae){ie[T].destroy(null,function(ye){ye?ae(ye):ve(k(void 0,!0))})})}),t),G);Ve.exports=function(ie){var ve,ae=Object.create(Y,(e(ve={},T,{value:ie,writable:!0}),e(ve,x,{value:null,writable:!0}),e(ve,m,{value:null,writable:!0}),e(ve,R,{value:null,writable:!0}),e(ve,d,{value:ie._readableState.endEmitted,writable:!0}),e(ve,y,{value:function(ue,be){var D=ae[T].read();D?(ae[w]=null,ae[x]=null,ae[m]=null,ue(k(D,!1))):(ae[x]=ue,ae[m]=be)},writable:!0}),ve));return ae[w]=null,l(ie,function(ye){if(ye&&"ERR_STREAM_PREMATURE_CLOSE"!==ye.code){var ue=ae[m];return null!==ue&&(ae[w]=null,ae[x]=null,ae[m]=null,ue(ye)),void(ae[R]=ye)}var be=ae[x];null!==be&&(ae[w]=null,ae[x]=null,ae[m]=null,be(k(void 0,!0))),ae[d]=!0}),ie.on("readable",V.bind(null,ae)),ae}},7606:(Ve,ee,p)=>{"use strict";function t(V,U){var G=Object.keys(V);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(V);U&&(Y=Y.filter(function($){return Object.getOwnPropertyDescriptor(V,$).enumerable})),G.push.apply(G,Y)}return G}function e(V){for(var U=1;U<arguments.length;U++){var G=null!=arguments[U]?arguments[U]:{};U%2?t(Object(G),!0).forEach(function(Y){C(V,Y,G[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(V,Object.getOwnPropertyDescriptors(G)):t(Object(G)).forEach(function(Y){Object.defineProperty(V,Y,Object.getOwnPropertyDescriptor(G,Y))})}return V}function C(V,U,G){return(U=m(U))in V?Object.defineProperty(V,U,{value:G,enumerable:!0,configurable:!0,writable:!0}):V[U]=G,V}function l(V,U){for(var G=0;G<U.length;G++){var Y=U[G];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(V,m(Y.key),Y)}}function m(V){var U=function R(V,U){if("object"!=typeof V||null===V)return V;var G=V[Symbol.toPrimitive];if(void 0!==G){var Y=G.call(V,U||"default");if("object"!=typeof Y)return Y;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===U?String:Number)(V)}(V,"string");return"symbol"==typeof U?U:String(U)}var w=p(3838).Buffer,T=p(3779).inspect,k=T&&T.custom||"inspect";function F(V,U,G){w.prototype.copy.call(V,U,G)}Ve.exports=function(){function V(){(function S(V,U){if(!(V instanceof U))throw new TypeError("Cannot call a class as a function")})(this,V),this.head=null,this.tail=null,this.length=0}return function x(V,U,G){U&&l(V.prototype,U),G&&l(V,G),Object.defineProperty(V,"prototype",{writable:!1})}(V,[{key:"push",value:function(G){var Y={data:G,next:null};this.length>0?this.tail.next=Y:this.head=Y,this.tail=Y,++this.length}},{key:"unshift",value:function(G){var Y={data:G,next:this.head};0===this.length&&(this.tail=Y),this.head=Y,++this.length}},{key:"shift",value:function(){if(0!==this.length){var G=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,G}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(G){if(0===this.length)return"";for(var Y=this.head,$=""+Y.data;Y=Y.next;)$+=G+Y.data;return $}},{key:"concat",value:function(G){if(0===this.length)return w.alloc(0);for(var Y=w.allocUnsafe(G>>>0),$=this.head,Z=0;$;)F($.data,Y,Z),Z+=$.data.length,$=$.next;return Y}},{key:"consume",value:function(G,Y){var $;return G<this.head.data.length?($=this.head.data.slice(0,G),this.head.data=this.head.data.slice(G)):$=G===this.head.data.length?this.shift():Y?this._getString(G):this._getBuffer(G),$}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(G){var Y=this.head,$=1,Z=Y.data;for(G-=Z.length;Y=Y.next;){var ie=Y.data,ve=G>ie.length?ie.length:G;if(Z+=ve===ie.length?ie:ie.slice(0,G),0==(G-=ve)){ve===ie.length?(++$,this.head=Y.next?Y.next:this.tail=null):(this.head=Y,Y.data=ie.slice(ve));break}++$}return this.length-=$,Z}},{key:"_getBuffer",value:function(G){var Y=w.allocUnsafe(G),$=this.head,Z=1;for($.data.copy(Y),G-=$.data.length;$=$.next;){var ie=$.data,ve=G>ie.length?ie.length:G;if(ie.copy(Y,Y.length-G,0,ve),0==(G-=ve)){ve===ie.length?(++Z,this.head=$.next?$.next:this.tail=null):(this.head=$,$.data=ie.slice(ve));break}++Z}return this.length-=Z,Y}},{key:k,value:function(G,Y){return T(this,e(e({},Y),{},{depth:0,customInspect:!1}))}}]),V}()},8152:Ve=>{"use strict";function p(l,x){C(l,x),t(l)}function t(l){l._writableState&&!l._writableState.emitClose||l._readableState&&!l._readableState.emitClose||l.emit("close")}function C(l,x){l.emit("error",x)}Ve.exports={destroy:function ee(l,x){var m=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(x?x(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(C,this,l)):process.nextTick(C,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(w){!x&&w?m._writableState?m._writableState.errorEmitted?process.nextTick(t,m):(m._writableState.errorEmitted=!0,process.nextTick(p,m,w)):process.nextTick(p,m,w):x?(process.nextTick(t,m),x(w)):process.nextTick(t,m)}),this)},undestroy:function e(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function S(l,x){var m=l._readableState,R=l._writableState;m&&m.autoDestroy||R&&R.autoDestroy?l.destroy(x):l.emit("error",x)}}},7854:(Ve,ee,p)=>{"use strict";var t=p(464).F.ERR_STREAM_PREMATURE_CLOSE;function C(){}Ve.exports=function l(x,m,R){if("function"==typeof m)return l(x,null,m);m||(m={}),R=function e(x){var m=!1;return function(){if(!m){m=!0;for(var R=arguments.length,d=new Array(R),w=0;w<R;w++)d[w]=arguments[w];x.apply(this,d)}}}(R||C);var d=m.readable||!1!==m.readable&&x.readable,w=m.writable||!1!==m.writable&&x.writable,y=function(){x.writable||k()},T=x._writableState&&x._writableState.finished,k=function(){w=!1,T=!0,d||R.call(x)},F=x._readableState&&x._readableState.endEmitted,V=function(){d=!1,F=!0,w||R.call(x)},U=function(Z){R.call(x,Z)},G=function(){var Z;return d&&!F?((!x._readableState||!x._readableState.ended)&&(Z=new t),R.call(x,Z)):w&&!T?((!x._writableState||!x._writableState.ended)&&(Z=new t),R.call(x,Z)):void 0},Y=function(){x.req.on("finish",k)};return function S(x){return x.setHeader&&"function"==typeof x.abort}(x)?(x.on("complete",k),x.on("abort",G),x.req?Y():x.on("request",Y)):w&&!x._writableState&&(x.on("end",y),x.on("close",y)),x.on("end",V),x.on("finish",k),!1!==m.error&&x.on("error",U),x.on("close",G),function(){x.removeListener("complete",k),x.removeListener("abort",G),x.removeListener("request",Y),x.req&&x.req.removeListener("finish",k),x.removeListener("end",y),x.removeListener("close",y),x.removeListener("finish",k),x.removeListener("end",V),x.removeListener("error",U),x.removeListener("close",G)}}},7765:Ve=>{Ve.exports=function(){throw new Error("Readable.from is not available in the browser")}},6846:(Ve,ee,p)=>{"use strict";var t,C=p(464).F,S=C.ERR_MISSING_ARGS,l=C.ERR_STREAM_DESTROYED;function x(k){if(k)throw k}function d(k){k()}function w(k,F){return k.pipe(F)}Ve.exports=function T(){for(var k=arguments.length,F=new Array(k),V=0;V<k;V++)F[V]=arguments[V];var U=function y(k){return k.length&&"function"==typeof k[k.length-1]?k.pop():x}(F);if(Array.isArray(F[0])&&(F=F[0]),F.length<2)throw new S("streams");var G,Y=F.map(function($,Z){var ie=Z<F.length-1;return function R(k,F,V,U){U=function e(k){var F=!1;return function(){F||(F=!0,k.apply(void 0,arguments))}}(U);var G=!1;k.on("close",function(){G=!0}),void 0===t&&(t=p(7854)),t(k,{readable:F,writable:V},function($){if($)return U($);G=!0,U()});var Y=!1;return function($){if(!G&&!Y){if(Y=!0,function m(k){return k.setHeader&&"function"==typeof k.abort}(k))return k.abort();if("function"==typeof k.destroy)return k.destroy();U($||new l("pipe"))}}}($,ie,Z>0,function(ae){G||(G=ae),ae&&Y.forEach(d),!ie&&(Y.forEach(d),U(G))})});return F.reduce(w)}},2827:(Ve,ee,p)=>{"use strict";var t=p(464).F.ERR_INVALID_OPT_VALUE;Ve.exports={getHighWaterMark:function C(S,l,x,m){var R=function e(S,l,x){return null!=S.highWaterMark?S.highWaterMark:l?S[x]:null}(l,m,x);if(null!=R){if(!isFinite(R)||Math.floor(R)!==R||R<0)throw new t(m?x:"highWaterMark",R);return Math.floor(R)}return S.objectMode?16:16384}}},2601:(Ve,ee,p)=>{Ve.exports=p(4356).EventEmitter},8454:(Ve,ee,p)=>{"use strict";var t=p(4272).Buffer,e=t.isEncoding||function(Y){switch((Y=""+Y)&&Y.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(Y){var $;switch(this.encoding=function S(Y){var $=function C(Y){if(!Y)return"utf8";for(var $;;)switch(Y){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 Y;default:if($)return;Y=(""+Y).toLowerCase(),$=!0}}(Y);if("string"!=typeof $&&(t.isEncoding===e||!e(Y)))throw new Error("Unknown encoding: "+Y);return $||Y}(Y),this.encoding){case"utf16le":this.text=T,this.end=k,$=4;break;case"utf8":this.fillLast=d,$=4;break;case"base64":this.text=F,this.end=V,$=3;break;default:return this.write=U,void(this.end=G)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe($)}function x(Y){return Y<=127?0:Y>>5==6?2:Y>>4==14?3:Y>>3==30?4:Y>>6==2?-1:-2}function d(Y){var $=this.lastTotal-this.lastNeed,Z=function R(Y,$,Z){if(128!=(192&$[0]))return Y.lastNeed=0,"\ufffd";if(Y.lastNeed>1&&$.length>1){if(128!=(192&$[1]))return Y.lastNeed=1,"\ufffd";if(Y.lastNeed>2&&$.length>2&&128!=(192&$[2]))return Y.lastNeed=2,"\ufffd"}}(this,Y);return void 0!==Z?Z:this.lastNeed<=Y.length?(Y.copy(this.lastChar,$,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(Y.copy(this.lastChar,$,0,Y.length),void(this.lastNeed-=Y.length))}function T(Y,$){if((Y.length-$)%2==0){var Z=Y.toString("utf16le",$);if(Z){var ie=Z.charCodeAt(Z.length-1);if(ie>=55296&&ie<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Y[Y.length-2],this.lastChar[1]=Y[Y.length-1],Z.slice(0,-1)}return Z}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Y[Y.length-1],Y.toString("utf16le",$,Y.length-1)}function k(Y){var $=Y&&Y.length?this.write(Y):"";return this.lastNeed?$+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):$}function F(Y,$){var Z=(Y.length-$)%3;return 0===Z?Y.toString("base64",$):(this.lastNeed=3-Z,this.lastTotal=3,1===Z?this.lastChar[0]=Y[Y.length-1]:(this.lastChar[0]=Y[Y.length-2],this.lastChar[1]=Y[Y.length-1]),Y.toString("base64",$,Y.length-Z))}function V(Y){var $=Y&&Y.length?this.write(Y):"";return this.lastNeed?$+this.lastChar.toString("base64",0,3-this.lastNeed):$}function U(Y){return Y.toString(this.encoding)}function G(Y){return Y&&Y.length?this.write(Y):""}ee.I=l,l.prototype.write=function(Y){if(0===Y.length)return"";var $,Z;if(this.lastNeed){if(void 0===($=this.fillLast(Y)))return"";Z=this.lastNeed,this.lastNeed=0}else Z=0;return Z<Y.length?$?$+this.text(Y,Z):this.text(Y,Z):$||""},l.prototype.end=function y(Y){var $=Y&&Y.length?this.write(Y):"";return this.lastNeed?$+"\ufffd":$},l.prototype.text=function w(Y,$){var Z=function m(Y,$,Z){var ie=$.length-1;if(ie<Z)return 0;var ve=x($[ie]);return ve>=0?(ve>0&&(Y.lastNeed=ve-1),ve):--ie<Z||-2===ve?0:(ve=x($[ie]))>=0?(ve>0&&(Y.lastNeed=ve-2),ve):--ie<Z||-2===ve?0:(ve=x($[ie]))>=0?(ve>0&&(2===ve?ve=0:Y.lastNeed=ve-3),ve):0}(this,Y,$);if(!this.lastNeed)return Y.toString("utf8",$);this.lastTotal=Z;var ie=Y.length-(Z-this.lastNeed);return Y.copy(this.lastChar,0,ie),Y.toString("utf8",$,ie)},l.prototype.fillLast=function(Y){if(this.lastNeed<=Y.length)return Y.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Y.copy(this.lastChar,this.lastTotal-this.lastNeed,0,Y.length),this.lastNeed-=Y.length}},4272:(Ve,ee,p)=>{var t=p(3838),e=t.Buffer;function C(l,x){for(var m in l)x[m]=l[m]}function S(l,x,m){return e(l,x,m)}e.from&&e.alloc&&e.allocUnsafe&&e.allocUnsafeSlow?Ve.exports=t:(C(t,ee),ee.Buffer=S),C(e,S),S.from=function(l,x,m){if("number"==typeof l)throw new TypeError("Argument must not be a number");return e(l,x,m)},S.alloc=function(l,x,m){if("number"!=typeof l)throw new TypeError("Argument must be a number");var R=e(l);return void 0!==x?"string"==typeof m?R.fill(x,m):R.fill(x):R.fill(0),R},S.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e(l)},S.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t.SlowBuffer(l)}},7851:(Ve,ee,p)=>{var t=p(1876);ee.encode=t.encode,ee.decode=t.decode},1876:(Ve,ee)=>{"use strict";var t=[255,255,26,27,28,29,30,31,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255];ee.encode=function(C){Buffer.isBuffer(C)||(C=new Buffer(C));for(var S=0,l=0,x=0,m=0,R=new Buffer(8*function e(C){var S=Math.floor(C.length/5);return C.length%5==0?S:S+1}(C));S<C.length;){var d=C[S];x>3?(m=(m=d&255>>x)<<(x=(x+5)%8)|(S+1<C.length?C[S+1]:0)>>8-x,S++):(m=d>>8-(x+5)&31,0==(x=(x+5)%8)&&S++),R[l]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(m),l++}for(S=l;S<R.length;S++)R[S]=61;return R},ee.decode=function(C){var x,S=0,l=0,m=0;Buffer.isBuffer(C)||(C=new Buffer(C));for(var R=new Buffer(Math.ceil(5*C.length/8)),d=0;d<C.length&&61!==C[d];d++){var w=C[d]-48;if(!(w<t.length))throw new Error("Invalid input - it is not base32 encoded string");l=t[w],S<=3?0==(S=(S+5)%8)?(R[m]=x|=l,m++,x=0):x|=255&l<<8-S:(R[m]=x|=255&l>>>(S=(S+5)%8),m++,x=255&l<<8-S)}return R.slice(0,m)}},1090:(Ve,ee,p)=>{"use strict";var t=p(7054).Buffer,e=p(6471),C=p(573),S=ArrayBuffer.isView||function(d){try{return C(d),!0}catch{return!1}},l=typeof Uint8Array<"u",x=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",m=x&&(t.prototype instanceof Uint8Array||t.TYPED_ARRAY_SUPPORT);Ve.exports=function(d,w){if(d instanceof t)return d;if("string"==typeof d)return t.from(d,w);if(x&&S(d)){if(0===d.byteLength)return t.alloc(0);if(m){var y=t.from(d.buffer,d.byteOffset,d.byteLength);if(y.byteLength===d.byteLength)return y}var T=d instanceof Uint8Array?d:new Uint8Array(d.buffer,d.byteOffset,d.byteLength),k=t.from(T);if(k.length===d.byteLength)return k}if(l&&d instanceof Uint8Array)return t.from(d);var F=e(d);if(F)for(var V=0;V<d.length;V+=1){var U=d[V];if("number"!=typeof U||U<0||U>255||~~U!==U)throw new RangeError("Array items must be numbers in the range 0-255.")}if(F||t.isBuffer(d)&&d.constructor&&"function"==typeof d.constructor.isBuffer&&d.constructor.isBuffer(d))return t.from(d);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}},6471:Ve=>{var ee={}.toString;Ve.exports=Array.isArray||function(p){return"[object Array]"==ee.call(p)}},573:(Ve,ee,p)=>{"use strict";var t=p(6758),C=p(2773)("TypedArray.prototype.buffer",!0),S=p(4729);Ve.exports=C||function(x){if(!S(x))throw new t("Not a Typed Array");return x.buffer}},3398:Ve=>{function p(t){try{if(!global.localStorage)return!1}catch{return!1}var e=global.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}Ve.exports=function ee(t,e){if(p("noDeprecation"))return t;var C=!1;return function S(){if(!C){if(p("throwDeprecation"))throw new Error(e);p("traceDeprecation")?console.trace(e):console.warn(e),C=!0}return t.apply(this,arguments)}}},8326:(__unused_webpack_module,exports)=>{var indexOf=function(Ve,ee){if(Ve.indexOf)return Ve.indexOf(ee);for(var p=0;p<Ve.length;p++)if(Ve[p]===ee)return p;return-1},Object_keys=function(Ve){if(Object.keys)return Object.keys(Ve);var ee=[];for(var p in Ve)ee.push(p);return ee},forEach=function(Ve,ee){if(Ve.forEach)return Ve.forEach(ee);for(var p=0;p<Ve.length;p++)ee(Ve[p],p,Ve)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(Ve,ee,p){Object.defineProperty(Ve,ee,{writable:!0,enumerable:!1,configurable:!0,value:p})}}catch{return function(ee,p,t){ee[p]=t}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(ee){if(!(this instanceof Script))return new Script(ee);this.code=ee};Script.prototype.runInContext=function(Ve){if(!(Ve instanceof Context))throw new TypeError("needs a 'context' argument.");var ee=document.createElement("iframe");ee.style||(ee.style={}),ee.style.display="none",document.body.appendChild(ee);var p=ee.contentWindow,t=p.eval,e=p.execScript;!t&&e&&(e.call(p,"null"),t=p.eval),forEach(Object_keys(Ve),function(l){p[l]=Ve[l]}),forEach(globals,function(l){Ve[l]&&(p[l]=Ve[l])});var C=Object_keys(p),S=t.call(p,this.code);return forEach(Object_keys(p),function(l){(l in Ve||-1===indexOf(C,l))&&(Ve[l]=p[l])}),forEach(globals,function(l){l in Ve||defineProp(Ve,l,p[l])}),document.body.removeChild(ee),S},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(Ve){var ee=Script.createContext(Ve),p=this.runInContext(ee);return Ve&&forEach(Object_keys(ee),function(t){Ve[t]=ee[t]}),p},forEach(Object_keys(Script.prototype),function(Ve){exports[Ve]=Script[Ve]=function(ee){var p=Script(ee);return p[Ve].apply(p,[].slice.call(arguments,1))}}),exports.isContext=function(Ve){return Ve instanceof Context},exports.createScript=function(Ve){return exports.Script(Ve)},exports.createContext=Script.createContext=function(Ve){var ee=new Context;return"object"==typeof Ve&&forEach(Object_keys(Ve),function(p){ee[p]=Ve[p]}),ee}},4068:(Ve,ee,p)=>{"use strict";var t=p(9999),e=p(7594),C=p(8128),S=p(2773),l=p(1417),x=p(1627),m=S("Object.prototype.toString"),R=p(8779)(),d=typeof globalThis>"u"?global:globalThis,w=e(),y=S("String.prototype.slice"),T=S("Array.prototype.indexOf",!0)||function(G,Y){for(var $=0;$<G.length;$+=1)if(G[$]===Y)return $;return-1},k={__proto__:null};t(w,R&&l&&x?function(U){var G=new d[U];if(Symbol.toStringTag in G&&x){var Y=x(G),$=l(Y,Symbol.toStringTag);if(!$&&Y){var Z=x(Y);$=l(Z,Symbol.toStringTag)}k["$"+U]=C($.get)}}:function(U){var G=new d[U],Y=G.slice||G.set;Y&&(k["$"+U]=C(Y))}),Ve.exports=function(G){if(!G||"object"!=typeof G)return!1;if(!R){var Y=y(m(G),8,-1);return T(w,Y)>-1?Y:"Object"===Y&&function(G){var Y=!1;return t(k,function($,Z){if(!Y)try{$(G),Y=y(Z,1)}catch{}}),Y}(G)}return l?function(G){var Y=!1;return t(k,function($,Z){if(!Y)try{"$"+$(G)===Z&&(Y=y(Z,1))}catch{}}),Y}(G):null}},8982:()=>{},7790:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},4688:()=>{},1069:()=>{},5340:()=>{},9838:()=>{},3779:()=>{},7199:()=>{},7594:(Ve,ee,p)=>{"use strict";var t=p(5019),e=typeof globalThis>"u"?global:globalThis;Ve.exports=function(){for(var S=[],l=0;l<t.length;l++)"function"==typeof e[t[l]]&&(S[S.length]=t[l]);return S}},9969:(Ve,ee,p)=>{"use strict";p.d(ee,{FX:()=>be,If:()=>t,K2:()=>x,MA:()=>T,Os:()=>l,P:()=>F,hZ:()=>C,i0:()=>S,i7:()=>d,iF:()=>m,kY:()=>w,kp:()=>e,sf:()=>ye,ui:()=>ue,wk:()=>R});var t=function(D){return D[D.State=0]="State",D[D.Transition=1]="Transition",D[D.Sequence=2]="Sequence",D[D.Group=3]="Group",D[D.Animate=4]="Animate",D[D.Keyframes=5]="Keyframes",D[D.Style=6]="Style",D[D.Trigger=7]="Trigger",D[D.Reference=8]="Reference",D[D.AnimateChild=9]="AnimateChild",D[D.AnimateRef=10]="AnimateRef",D[D.Query=11]="Query",D[D.Stagger=12]="Stagger",D}(t||{});const e="*";function C(D,n){return{type:t.Trigger,name:D,definitions:n,options:{}}}function S(D,n=null){return{type:t.Animate,styles:n,timings:D}}function l(D,n=null){return{type:t.Group,steps:D,options:n}}function x(D,n=null){return{type:t.Sequence,steps:D,options:n}}function m(D){return{type:t.Style,styles:D,offset:null}}function R(D,n,c){return{type:t.State,name:D,styles:n,options:c}}function d(D){return{type:t.Keyframes,steps:D}}function w(D,n,c=null){return{type:t.Transition,expr:D,animation:n,options:c}}function T(D=null){return{type:t.AnimateChild,options:D}}function F(D,n,c=null){return{type:t.Query,selector:D,animation:n,options:c}}class ye{constructor(n=0,c=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=n+c}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const c="start"==n?this._onStartFns:this._onDoneFns;c.forEach(f=>f()),c.length=0}}class ue{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let c=0,f=0,h=0;const M=this.players.length;0==M?queueMicrotask(()=>this._onFinish()):this.players.forEach(L=>{L.onDone(()=>{++c==M&&this._onFinish()}),L.onDestroy(()=>{++f==M&&this._onDestroy()}),L.onStart(()=>{++h==M&&this._onStart()})}),this.totalTime=this.players.reduce((L,O)=>Math.max(L,O.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const c=n*this.totalTime;this.players.forEach(f=>{const h=f.totalTime?Math.min(1,c/f.totalTime):1;f.setPosition(h)})}getPosition(){const n=this.players.reduce((c,f)=>null===c||f.totalTime>c.totalTime?f:c,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const c="start"==n?this._onStartFns:this._onDoneFns;c.forEach(f=>f()),c.length=0}}const be="!"},8617:(Ve,ee,p)=>{"use strict";p.d(ee,{Ae:()=>ve,Ai:()=>wt,Au:()=>M,Bu:()=>L,FN:()=>jt,GX:()=>de,Pd:()=>Et,Q_:()=>Zt,Z7:()=>_,_G:()=>Ke,kB:()=>pe,px:()=>ie,vR:()=>qe,vr:()=>n,w6:()=>Ct});var t=p(177),e=p(4438),C=p(6860),S=p(1413),l=p(8359),x=p(4412),m=p(7673),R=p(7336),d=p(8141),w=p(152),y=p(5964),T=p(6354),k=p(6697),F=p(5245),V=p(3294),U=p(6977),G=p(2318),Y=p(4085),$=p(9327);const Z=" ";function ie(je,me,xe){const ce=ae(je,me);ce.some(Me=>Me.trim()==xe.trim())||(ce.push(xe.trim()),je.setAttribute(me,ce.join(Z)))}function ve(je,me,xe){const Me=ae(je,me).filter(Xe=>Xe!=xe.trim());Me.length?je.setAttribute(me,Me.join(Z)):je.removeAttribute(me)}function ae(je,me){return(je.getAttribute(me)||"").match(/\S+/g)||[]}const ue="cdk-describedby-message",be="cdk-describedby-host";let D=0,n=(()=>{class je{constructor(xe,ce){this._platform=ce,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+D++,this._document=xe,this._id=(0,e.WQX)(e.sZ2)+"-"+D++}describe(xe,ce,Me){if(!this._canBeDescribed(xe,ce))return;const Xe=c(ce,Me);"string"!=typeof ce?(f(ce,this._id),this._messageRegistry.set(Xe,{messageElement:ce,referenceCount:0})):this._messageRegistry.has(Xe)||this._createMessageElement(ce,Me),this._isElementDescribedByMessage(xe,Xe)||this._addMessageReference(xe,Xe)}removeDescription(xe,ce,Me){if(!ce||!this._isElementNode(xe))return;const Xe=c(ce,Me);if(this._isElementDescribedByMessage(xe,Xe)&&this._removeMessageReference(xe,Xe),"string"==typeof ce){const Pe=this._messageRegistry.get(Xe);Pe&&0===Pe.referenceCount&&this._deleteMessageElement(Xe)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const xe=this._document.querySelectorAll(`[${be}="${this._id}"]`);for(let ce=0;ce<xe.length;ce++)this._removeCdkDescribedByReferenceIds(xe[ce]),xe[ce].removeAttribute(be);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(xe,ce){const Me=this._document.createElement("div");f(Me,this._id),Me.textContent=xe,ce&&Me.setAttribute("role",ce),this._createMessagesContainer(),this._messagesContainer.appendChild(Me),this._messageRegistry.set(c(xe,ce),{messageElement:Me,referenceCount:0})}_deleteMessageElement(xe){this._messageRegistry.get(xe)?.messageElement?.remove(),this._messageRegistry.delete(xe)}_createMessagesContainer(){if(this._messagesContainer)return;const xe="cdk-describedby-message-container",ce=this._document.querySelectorAll(`.${xe}[platform="server"]`);for(let Xe=0;Xe<ce.length;Xe++)ce[Xe].remove();const Me=this._document.createElement("div");Me.style.visibility="hidden",Me.classList.add(xe),Me.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Me.setAttribute("platform","server"),this._document.body.appendChild(Me),this._messagesContainer=Me}_removeCdkDescribedByReferenceIds(xe){const ce=ae(xe,"aria-describedby").filter(Me=>0!=Me.indexOf(ue));xe.setAttribute("aria-describedby",ce.join(" "))}_addMessageReference(xe,ce){const Me=this._messageRegistry.get(ce);ie(xe,"aria-describedby",Me.messageElement.id),xe.setAttribute(be,this._id),Me.referenceCount++}_removeMessageReference(xe,ce){const Me=this._messageRegistry.get(ce);Me.referenceCount--,ve(xe,"aria-describedby",Me.messageElement.id),xe.removeAttribute(be)}_isElementDescribedByMessage(xe,ce){const Me=ae(xe,"aria-describedby"),Xe=this._messageRegistry.get(ce),Pe=Xe&&Xe.messageElement.id;return!!Pe&&-1!=Me.indexOf(Pe)}_canBeDescribed(xe,ce){if(!this._isElementNode(xe))return!1;if(ce&&"object"==typeof ce)return!0;const Me=null==ce?"":`${ce}`.trim(),Xe=xe.getAttribute("aria-label");return!(!Me||Xe&&Xe.trim()===Me)}_isElementNode(xe){return xe.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(ce){return new(ce||je)(e.KVO(t.qQ),e.KVO(C.OD))}}static{this.\u0275prov=e.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})();function c(je,me){return"string"==typeof je?`${me||""}/${je}`:je}function f(je,me){je.id||(je.id=`${ue}-${me}-${D++}`)}class h{constructor(me){this._items=me,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new S.B,this._typeaheadSubscription=l.yU.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=xe=>xe.disabled,this._pressedLetters=[],this.tabOut=new S.B,this.change=new S.B,me instanceof e.rOR&&(this._itemChangesSubscription=me.changes.subscribe(xe=>{if(this._activeItem){const Me=xe.toArray().indexOf(this._activeItem);Me>-1&&Me!==this._activeItemIndex&&(this._activeItemIndex=Me)}}))}skipPredicate(me){return this._skipPredicateFn=me,this}withWrap(me=!0){return this._wrap=me,this}withVerticalOrientation(me=!0){return this._vertical=me,this}withHorizontalOrientation(me){return this._horizontal=me,this}withAllowedModifierKeys(me){return this._allowedModifierKeys=me,this}withTypeAhead(me=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,d.M)(xe=>this._pressedLetters.push(xe)),(0,w.B)(me),(0,y.p)(()=>this._pressedLetters.length>0),(0,T.T)(()=>this._pressedLetters.join(""))).subscribe(xe=>{const ce=this._getItemsArray();for(let Me=1;Me<ce.length+1;Me++){const Xe=(this._activeItemIndex+Me)%ce.length,Pe=ce[Xe];if(!this._skipPredicateFn(Pe)&&0===Pe.getLabel().toUpperCase().trim().indexOf(xe)){this.setActiveItem(Xe);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(me=!0){return this._homeAndEnd=me,this}withPageUpDown(me=!0,xe=10){return this._pageUpAndDown={enabled:me,delta:xe},this}setActiveItem(me){const xe=this._activeItem;this.updateActiveItem(me),this._activeItem!==xe&&this.change.next(this._activeItemIndex)}onKeydown(me){const xe=me.keyCode,Me=["altKey","ctrlKey","metaKey","shiftKey"].every(Xe=>!me[Xe]||this._allowedModifierKeys.indexOf(Xe)>-1);switch(xe){case R.wn:return void this.tabOut.next();case R.n6:if(this._vertical&&Me){this.setNextItemActive();break}return;case R.i7:if(this._vertical&&Me){this.setPreviousItemActive();break}return;case R.LE:if(this._horizontal&&Me){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case R.UQ:if(this._horizontal&&Me){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case R.yZ:if(this._homeAndEnd&&Me){this.setFirstItemActive();break}return;case R.Kp:if(this._homeAndEnd&&Me){this.setLastItemActive();break}return;case R.w_:if(this._pageUpAndDown.enabled&&Me){const Xe=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Xe>0?Xe:0,1);break}return;case R.dB:if(this._pageUpAndDown.enabled&&Me){const Xe=this._activeItemIndex+this._pageUpAndDown.delta,Pe=this._getItemsArray().length;this._setActiveItemByIndex(Xe<Pe?Xe:Pe-1,-1);break}return;default:return void((Me||(0,R.rp)(me,"shiftKey"))&&(me.key&&1===me.key.length?this._letterKeyStream.next(me.key.toLocaleUpperCase()):(xe>=R.A&&xe<=R.Z||xe>=R.f2&&xe<=R.bn)&&this._letterKeyStream.next(String.fromCharCode(xe))))}this._pressedLetters=[],me.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(me){const xe=this._getItemsArray(),ce="number"==typeof me?me:xe.indexOf(me);this._activeItem=xe[ce]??null,this._activeItemIndex=ce}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(me){this._wrap?this._setActiveInWrapMode(me):this._setActiveInDefaultMode(me)}_setActiveInWrapMode(me){const xe=this._getItemsArray();for(let ce=1;ce<=xe.length;ce++){const Me=(this._activeItemIndex+me*ce+xe.length)%xe.length;if(!this._skipPredicateFn(xe[Me]))return void this.setActiveItem(Me)}}_setActiveInDefaultMode(me){this._setActiveItemByIndex(this._activeItemIndex+me,me)}_setActiveItemByIndex(me,xe){const ce=this._getItemsArray();if(ce[me]){for(;this._skipPredicateFn(ce[me]);)if(!ce[me+=xe])return;this.setActiveItem(me)}}_getItemsArray(){return this._items instanceof e.rOR?this._items.toArray():this._items}}class M extends h{setActiveItem(me){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(me),this.activeItem&&this.activeItem.setActiveStyles()}}class L extends h{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(me){return this._origin=me,this}setActiveItem(me){super.setActiveItem(me),this.activeItem&&this.activeItem.focus(this._origin)}}let _=(()=>{class je{constructor(xe){this._platform=xe}isDisabled(xe){return xe.hasAttribute("disabled")}isVisible(xe){return function v(je){return!!(je.offsetWidth||je.offsetHeight||"function"==typeof je.getClientRects&&je.getClientRects().length)}(xe)&&"visible"===getComputedStyle(xe).visibility}isTabbable(xe){if(!this._platform.isBrowser)return!1;const ce=function r(je){try{return je.frameElement}catch{return null}}(function oe(je){return je.ownerDocument&&je.ownerDocument.defaultView||window}(xe));if(ce&&(-1===rt(ce)||!this.isVisible(ce)))return!1;let Me=xe.nodeName.toLowerCase(),Xe=rt(xe);return xe.hasAttribute("contenteditable")?-1!==Xe:!("iframe"===Me||"object"===Me||this._platform.WEBKIT&&this._platform.IOS&&!function re(je){let me=je.nodeName.toLowerCase(),xe="input"===me&&je.type;return"text"===xe||"password"===xe||"select"===me||"textarea"===me}(xe))&&("audio"===Me?!!xe.hasAttribute("controls")&&-1!==Xe:"video"===Me?-1!==Xe&&(null!==Xe||this._platform.FIREFOX||xe.hasAttribute("controls")):xe.tabIndex>=0)}isFocusable(xe,ce){return function te(je){return!function N(je){return function Ie(je){return"input"==je.nodeName.toLowerCase()}(je)&&"hidden"==je.type}(je)&&(function z(je){let me=je.nodeName.toLowerCase();return"input"===me||"select"===me||"button"===me||"textarea"===me}(je)||function ne(je){return function at(je){return"a"==je.nodeName.toLowerCase()}(je)&&je.hasAttribute("href")}(je)||je.hasAttribute("contenteditable")||Ye(je))}(xe)&&!this.isDisabled(xe)&&(ce?.ignoreVisibility||this.isVisible(xe))}static{this.\u0275fac=function(ce){return new(ce||je)(e.KVO(C.OD))}}static{this.\u0275prov=e.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})();function Ye(je){if(!je.hasAttribute("tabindex")||void 0===je.tabIndex)return!1;let me=je.getAttribute("tabindex");return!(!me||isNaN(parseInt(me,10)))}function rt(je){if(!Ye(je))return null;const me=parseInt(je.getAttribute("tabindex")||"",10);return isNaN(me)?-1:me}class _e{get enabled(){return this._enabled}set enabled(me){this._enabled=me,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(me,this._startAnchor),this._toggleAnchorTabIndex(me,this._endAnchor))}constructor(me,xe,ce,Me,Xe=!1){this._element=me,this._checker=xe,this._ngZone=ce,this._document=Me,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Xe||this.attachAnchors()}destroy(){const me=this._startAnchor,xe=this._endAnchor;me&&(me.removeEventListener("focus",this.startAnchorListener),me.remove()),xe&&(xe.removeEventListener("focus",this.endAnchorListener),xe.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(me){return new Promise(xe=>{this._executeOnStable(()=>xe(this.focusInitialElement(me)))})}focusFirstTabbableElementWhenReady(me){return new Promise(xe=>{this._executeOnStable(()=>xe(this.focusFirstTabbableElement(me)))})}focusLastTabbableElementWhenReady(me){return new Promise(xe=>{this._executeOnStable(()=>xe(this.focusLastTabbableElement(me)))})}_getRegionBoundary(me){const xe=this._element.querySelectorAll(`[cdk-focus-region-${me}], [cdkFocusRegion${me}], [cdk-focus-${me}]`);return"start"==me?xe.length?xe[0]:this._getFirstTabbableElement(this._element):xe.length?xe[xe.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(me){const xe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(xe){if(!this._checker.isFocusable(xe)){const ce=this._getFirstTabbableElement(xe);return ce?.focus(me),!!ce}return xe.focus(me),!0}return this.focusFirstTabbableElement(me)}focusFirstTabbableElement(me){const xe=this._getRegionBoundary("start");return xe&&xe.focus(me),!!xe}focusLastTabbableElement(me){const xe=this._getRegionBoundary("end");return xe&&xe.focus(me),!!xe}hasAttached(){return this._hasAttached}_getFirstTabbableElement(me){if(this._checker.isFocusable(me)&&this._checker.isTabbable(me))return me;const xe=me.children;for(let ce=0;ce<xe.length;ce++){const Me=xe[ce].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(xe[ce]):null;if(Me)return Me}return null}_getLastTabbableElement(me){if(this._checker.isFocusable(me)&&this._checker.isTabbable(me))return me;const xe=me.children;for(let ce=xe.length-1;ce>=0;ce--){const Me=xe[ce].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(xe[ce]):null;if(Me)return Me}return null}_createAnchor(){const me=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,me),me.classList.add("cdk-visually-hidden"),me.classList.add("cdk-focus-trap-anchor"),me.setAttribute("aria-hidden","true"),me}_toggleAnchorTabIndex(me,xe){me?xe.setAttribute("tabindex","0"):xe.removeAttribute("tabindex")}toggleAnchors(me){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(me,this._startAnchor),this._toggleAnchorTabIndex(me,this._endAnchor))}_executeOnStable(me){this._ngZone.isStable?me():this._ngZone.onStable.pipe((0,k.s)(1)).subscribe(me)}}let de=(()=>{class je{constructor(xe,ce,Me){this._checker=xe,this._ngZone=ce,this._document=Me}create(xe,ce=!1){return new _e(xe,this._checker,this._ngZone,this._document,ce)}static{this.\u0275fac=function(ce){return new(ce||je)(e.KVO(_),e.KVO(e.SKi),e.KVO(t.qQ))}}static{this.\u0275prov=e.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})(),pe=(()=>{class je{get enabled(){return this.focusTrap.enabled}set enabled(xe){this.focusTrap.enabled=xe}constructor(xe,ce,Me){this._elementRef=xe,this._focusTrapFactory=ce,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(xe){const ce=xe.autoCapture;ce&&!ce.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,C.vc)(),this.focusTrap.focusInitialElementWhenReady()}static{this.\u0275fac=function(ce){return new(ce||je)(e.rXU(e.aKT),e.rXU(de),e.rXU(t.qQ))}}static{this.\u0275dir=e.FsC({type:je,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",e.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",e.L39]},exportAs:["cdkTrapFocus"],features:[e.GFd,e.OA$]})}}return je})();function Ke(je){return 0===je.buttons||0===je.detail}function Ct(je){const me=je.touches&&je.touches[0]||je.changedTouches&&je.changedTouches[0];return!(!me||-1!==me.identifier||null!=me.radiusX&&1!==me.radiusX||null!=me.radiusY&&1!==me.radiusY)}const _t=new e.nKC("cdk-input-modality-detector-options"),Nt={ignoreKeys:[R.A$,R.W3,R.eg,R.Ge,R.FX]},Je=(0,C.BQ)({passive:!0,capture:!0});let Qe=(()=>{class je{get mostRecentModality(){return this._modality.value}constructor(xe,ce,Me,Xe){this._platform=xe,this._mostRecentTarget=null,this._modality=new x.t(null),this._lastTouchMs=0,this._onKeydown=Pe=>{this._options?.ignoreKeys?.some(Oe=>Oe===Pe.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,C.Fb)(Pe))},this._onMousedown=Pe=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ke(Pe)?"keyboard":"mouse"),this._mostRecentTarget=(0,C.Fb)(Pe))},this._onTouchstart=Pe=>{Ct(Pe)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,C.Fb)(Pe))},this._options={...Nt,...Xe},this.modalityDetected=this._modality.pipe((0,F.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,V.F)()),xe.isBrowser&&ce.runOutsideAngular(()=>{Me.addEventListener("keydown",this._onKeydown,Je),Me.addEventListener("mousedown",this._onMousedown,Je),Me.addEventListener("touchstart",this._onTouchstart,Je)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Je),document.removeEventListener("mousedown",this._onMousedown,Je),document.removeEventListener("touchstart",this._onTouchstart,Je))}static{this.\u0275fac=function(ce){return new(ce||je)(e.KVO(C.OD),e.KVO(e.SKi),e.KVO(t.qQ),e.KVO(_t,8))}}static{this.\u0275prov=e.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})();const nt=new e.nKC("liveAnnouncerElement",{providedIn:"root",factory:function Ue(){return null}}),ht=new e.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let tt=0,wt=(()=>{class je{constructor(xe,ce,Me,Xe){this._ngZone=ce,this._defaultOptions=Xe,this._document=Me,this._liveElement=xe||this._createLiveElement()}announce(xe,...ce){const Me=this._defaultOptions;let Xe,Pe;return 1===ce.length&&"number"==typeof ce[0]?Pe=ce[0]:[Xe,Pe]=ce,this.clear(),clearTimeout(this._previousTimeout),Xe||(Xe=Me&&Me.politeness?Me.politeness:"polite"),null==Pe&&Me&&(Pe=Me.duration),this._liveElement.setAttribute("aria-live",Xe),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Oe=>this._currentResolve=Oe)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=xe,"number"==typeof Pe&&(this._previousTimeout=setTimeout(()=>this.clear(),Pe)),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 xe="cdk-live-announcer-element",ce=this._document.getElementsByClassName(xe),Me=this._document.createElement("div");for(let Xe=0;Xe<ce.length;Xe++)ce[Xe].remove();return Me.classList.add(xe),Me.classList.add("cdk-visually-hidden"),Me.setAttribute("aria-atomic","true"),Me.setAttribute("aria-live","polite"),Me.id="cdk-live-announcer-"+tt++,this._document.body.appendChild(Me),Me}_exposeAnnouncerToModals(xe){const ce=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Me=0;Me<ce.length;Me++){const Xe=ce[Me],Pe=Xe.getAttribute("aria-owns");Pe?-1===Pe.indexOf(xe)&&Xe.setAttribute("aria-owns",Pe+" "+xe):Xe.setAttribute("aria-owns",xe)}}static{this.\u0275fac=function(ce){return new(ce||je)(e.KVO(nt,8),e.KVO(e.SKi),e.KVO(t.qQ),e.KVO(ht,8))}}static{this.\u0275prov=e.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})();const vt=new e.nKC("cdk-focus-monitor-default-options"),Ze=(0,C.BQ)({passive:!0,capture:!0});let jt=(()=>{class je{constructor(xe,ce,Me,Xe,Pe){this._ngZone=xe,this._platform=ce,this._inputModalityDetector=Me,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 S.B,this._rootNodeFocusAndBlurListener=Oe=>{for(let De=(0,C.Fb)(Oe);De;De=De.parentElement)"focus"===Oe.type?this._onFocus(Oe,De):this._onBlur(Oe,De)},this._document=Xe,this._detectionMode=Pe?.detectionMode||0}monitor(xe,ce=!1){const Me=(0,Y.i8)(xe);if(!this._platform.isBrowser||1!==Me.nodeType)return(0,m.of)();const Xe=(0,C.KT)(Me)||this._getDocument(),Pe=this._elementInfo.get(Me);if(Pe)return ce&&(Pe.checkChildren=!0),Pe.subject;const Oe={checkChildren:ce,subject:new S.B,rootNode:Xe};return this._elementInfo.set(Me,Oe),this._registerGlobalListeners(Oe),Oe.subject}stopMonitoring(xe){const ce=(0,Y.i8)(xe),Me=this._elementInfo.get(ce);Me&&(Me.subject.complete(),this._setClasses(ce),this._elementInfo.delete(ce),this._removeGlobalListeners(Me))}focusVia(xe,ce,Me){const Xe=(0,Y.i8)(xe);Xe===this._getDocument().activeElement?this._getClosestElementsInfo(Xe).forEach(([Oe,we])=>this._originChanged(Oe,ce,we)):(this._setOrigin(ce),"function"==typeof Xe.focus&&Xe.focus(Me))}ngOnDestroy(){this._elementInfo.forEach((xe,ce)=>this.stopMonitoring(ce))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(xe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(xe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:xe&&this._isLastInteractionFromInputLabel(xe)?"mouse":"program"}_shouldBeAttributedToTouch(xe){return 1===this._detectionMode||!!xe?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(xe,ce){xe.classList.toggle("cdk-focused",!!ce),xe.classList.toggle("cdk-touch-focused","touch"===ce),xe.classList.toggle("cdk-keyboard-focused","keyboard"===ce),xe.classList.toggle("cdk-mouse-focused","mouse"===ce),xe.classList.toggle("cdk-program-focused","program"===ce)}_setOrigin(xe,ce=!1){this._ngZone.runOutsideAngular(()=>{this._origin=xe,this._originFromTouchInteraction="touch"===xe&&ce,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(xe,ce){const Me=this._elementInfo.get(ce),Xe=(0,C.Fb)(xe);!Me||!Me.checkChildren&&ce!==Xe||this._originChanged(ce,this._getFocusOrigin(Xe),Me)}_onBlur(xe,ce){const Me=this._elementInfo.get(ce);!Me||Me.checkChildren&&xe.relatedTarget instanceof Node&&ce.contains(xe.relatedTarget)||(this._setClasses(ce),this._emitOrigin(Me,null))}_emitOrigin(xe,ce){xe.subject.observers.length&&this._ngZone.run(()=>xe.subject.next(ce))}_registerGlobalListeners(xe){if(!this._platform.isBrowser)return;const ce=xe.rootNode,Me=this._rootNodeFocusListenerCount.get(ce)||0;Me||this._ngZone.runOutsideAngular(()=>{ce.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ze),ce.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ze)}),this._rootNodeFocusListenerCount.set(ce,Me+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,U.Q)(this._stopInputModalityDetector)).subscribe(Xe=>{this._setOrigin(Xe,!0)}))}_removeGlobalListeners(xe){const ce=xe.rootNode;if(this._rootNodeFocusListenerCount.has(ce)){const Me=this._rootNodeFocusListenerCount.get(ce);Me>1?this._rootNodeFocusListenerCount.set(ce,Me-1):(ce.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ze),ce.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ze),this._rootNodeFocusListenerCount.delete(ce))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(xe,ce,Me){this._setClasses(xe,ce),this._emitOrigin(Me,ce),this._lastFocusOrigin=ce}_getClosestElementsInfo(xe){const ce=[];return this._elementInfo.forEach((Me,Xe)=>{(Xe===xe||Me.checkChildren&&Xe.contains(xe))&&ce.push([Xe,Me])}),ce}_isLastInteractionFromInputLabel(xe){const{_mostRecentTarget:ce,mostRecentModality:Me}=this._inputModalityDetector;if("mouse"!==Me||!ce||ce===xe||"INPUT"!==xe.nodeName&&"TEXTAREA"!==xe.nodeName||xe.disabled)return!1;const Xe=xe.labels;if(Xe)for(let Pe=0;Pe<Xe.length;Pe++)if(Xe[Pe].contains(ce))return!0;return!1}static{this.\u0275fac=function(ce){return new(ce||je)(e.KVO(e.SKi),e.KVO(C.OD),e.KVO(Qe),e.KVO(t.qQ,8),e.KVO(vt,8))}}static{this.\u0275prov=e.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})(),qe=(()=>{class je{constructor(xe,ce){this._elementRef=xe,this._focusMonitor=ce,this._focusOrigin=null,this.cdkFocusChange=new e.bkB}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const xe=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(xe,1===xe.nodeType&&xe.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(ce=>{this._focusOrigin=ce,this.cdkFocusChange.emit(ce)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(ce){return new(ce||je)(e.rXU(e.aKT),e.rXU(jt))}}static{this.\u0275dir=e.FsC({type:je,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}}return je})();const dt="cdk-high-contrast-black-on-white",Le="cdk-high-contrast-white-on-black",Vt="cdk-high-contrast-active";let Zt=(()=>{class je{constructor(xe,ce){this._platform=xe,this._document=ce,this._breakpointSubscription=(0,e.WQX)($.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const xe=this._document.createElement("div");xe.style.backgroundColor="rgb(1,2,3)",xe.style.position="absolute",this._document.body.appendChild(xe);const ce=this._document.defaultView||window,Me=ce&&ce.getComputedStyle?ce.getComputedStyle(xe):null,Xe=(Me&&Me.backgroundColor||"").replace(/ /g,"");switch(xe.remove(),Xe){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 xe=this._document.body.classList;xe.remove(Vt,dt,Le),this._hasCheckedHighContrastMode=!0;const ce=this.getHighContrastMode();1===ce?xe.add(Vt,dt):2===ce&&xe.add(Vt,Le)}}static{this.\u0275fac=function(ce){return new(ce||je)(e.KVO(C.OD),e.KVO(t.qQ))}}static{this.\u0275prov=e.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})(),Et=(()=>{class je{constructor(xe){xe._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(ce){return new(ce||je)(e.KVO(Zt))}}static{this.\u0275mod=e.$C({type:je})}static{this.\u0275inj=e.G2t({imports:[G.w5]})}}return je})()},8203:(Ve,ee,p)=>{"use strict";p.d(ee,{dS:()=>m,jI:()=>d});var t=p(4438),e=p(177);const C=new t.nKC("cdk-dir-doc",{providedIn:"root",factory:function S(){return(0,t.WQX)(e.qQ)}}),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 w{constructor(T){this.value="ltr",this.change=new t.bkB,T&&(this.value=function x(w){const y=w?.toLowerCase()||"";return"auto"===y&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===y?"rtl":"ltr"}((T.body?T.body.dir:null)||(T.documentElement?T.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(k){return new(k||w)(t.KVO(C,8))}}static{this.\u0275prov=t.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})(),d=(()=>{class w{static{this.\u0275fac=function(k){return new(k||w)}}static{this.\u0275mod=t.$C({type:w})}static{this.\u0275inj=t.G2t({})}}return w})()},4085:(Ve,ee,p)=>{"use strict";p.d(ee,{FG:()=>l,OE:()=>C,a1:()=>x,cc:()=>R,he:()=>e,i8:()=>m,o1:()=>S});var t=p(4438);function e(d){return null!=d&&"false"!=`${d}`}function C(d,w=0){return S(d)?Number(d):w}function S(d){return!isNaN(parseFloat(d))&&!isNaN(Number(d))}function l(d){return Array.isArray(d)?d:[d]}function x(d){return null==d?"":"string"==typeof d?d:`${d}px`}function m(d){return d instanceof t.aKT?d.nativeElement:d}function R(d,w=/\s+/){const y=[];if(null!=d){const T=Array.isArray(d)?d:`${d}`.split(w);for(const k of T){const F=`${k}`.trim();F&&y.push(F)}}return y}},5024:(Ve,ee,p)=>{"use strict";p.d(ee,{CB:()=>y,DQ:()=>w,qS:()=>x,sL:()=>F,xn:()=>d,y4:()=>m,zP:()=>k});var t=p(17),S=(p(4402),p(7673),p(1413)),l=p(4438);class x{}function m(V){return V&&"function"==typeof V.connect&&!(V instanceof t.G)}class d{applyChanges(U,G,Y,$,Z){U.forEachOperation((ie,ve,ae)=>{let ye,ue;if(null==ie.previousIndex){const be=Y(ie,ve,ae);ye=G.createEmbeddedView(be.templateRef,be.context,be.index),ue=1}else null==ae?(G.remove(ve),ue=3):(ye=G.get(ve),G.move(ye,ae),ue=2);Z&&Z({context:ye?.context,operation:ue,record:ie})})}detach(){}}class w{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(U,G,Y,$,Z){U.forEachOperation((ie,ve,ae)=>{let ye,ue;null==ie.previousIndex?(ye=this._insertView(()=>Y(ie,ve,ae),ae,G,$(ie)),ue=ye?1:0):null==ae?(this._detachAndCacheView(ve,G),ue=3):(ye=this._moveView(ve,ae,G,$(ie)),ue=2),Z&&Z({context:ye?.context,operation:ue,record:ie})})}detach(){for(const U of this._viewCache)U.destroy();this._viewCache=[]}_insertView(U,G,Y,$){const Z=this._insertViewFromCache(G,Y);if(Z)return void(Z.context.$implicit=$);const ie=U();return Y.createEmbeddedView(ie.templateRef,ie.context,ie.index)}_detachAndCacheView(U,G){const Y=G.detach(U);this._maybeCacheView(Y,G)}_moveView(U,G,Y,$){const Z=Y.get(U);return Y.move(Z,G),Z.context.$implicit=$,Z}_maybeCacheView(U,G){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(U);else{const Y=G.indexOf(U);-1===Y?U.destroy():G.remove(Y)}}_insertViewFromCache(U,G){const Y=this._viewCache.pop();return Y&&G.insert(Y,U),Y||null}}class y{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(U=!1,G,Y=!0,$){this._multiple=U,this._emitChanges=Y,this.compareWith=$,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new S.B,G&&G.length&&(U?G.forEach(Z=>this._markSelected(Z)):this._markSelected(G[0]),this._selectedToEmit.length=0)}select(...U){this._verifyValueAssignment(U),U.forEach(Y=>this._markSelected(Y));const G=this._hasQueuedChanges();return this._emitChangeEvent(),G}deselect(...U){this._verifyValueAssignment(U),U.forEach(Y=>this._unmarkSelected(Y));const G=this._hasQueuedChanges();return this._emitChangeEvent(),G}setSelection(...U){this._verifyValueAssignment(U);const G=this.selected,Y=new Set(U);U.forEach(Z=>this._markSelected(Z)),G.filter(Z=>!Y.has(Z)).forEach(Z=>this._unmarkSelected(Z));const $=this._hasQueuedChanges();return this._emitChangeEvent(),$}toggle(U){return this.isSelected(U)?this.deselect(U):this.select(U)}clear(U=!0){this._unmarkAll();const G=this._hasQueuedChanges();return U&&this._emitChangeEvent(),G}isSelected(U){return this._selection.has(this._getConcreteValue(U))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(U){this._multiple&&this.selected&&this._selected.sort(U)}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(U){U=this._getConcreteValue(U),this.isSelected(U)||(this._multiple||this._unmarkAll(),this.isSelected(U)||this._selection.add(U),this._emitChanges&&this._selectedToEmit.push(U))}_unmarkSelected(U){U=this._getConcreteValue(U),this.isSelected(U)&&(this._selection.delete(U),this._emitChanges&&this._deselectedToEmit.push(U))}_unmarkAll(){this.isEmpty()||this._selection.forEach(U=>this._unmarkSelected(U))}_verifyValueAssignment(U){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(U){if(this.compareWith){for(let G of this._selection)if(this.compareWith(U,G))return G;return U}return U}}let k=(()=>{class V{constructor(){this._listeners=[]}notify(G,Y){for(let $ of this._listeners)$(G,Y)}listen(G){return this._listeners.push(G),()=>{this._listeners=this._listeners.filter(Y=>G!==Y)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(Y){return new(Y||V)}}static{this.\u0275prov=l.jDH({token:V,factory:V.\u0275fac,providedIn:"root"})}}return V})();const F=new l.nKC("_ViewRepeater")},7336:(Ve,ee,p)=>{"use strict";p.d(ee,{A:()=>N,A$:()=>R,FX:()=>x,Fm:()=>l,G_:()=>e,Ge:()=>ht,Kp:()=>V,LE:()=>$,SJ:()=>ye,UQ:()=>G,W3:()=>m,Z:()=>Ue,_f:()=>y,bn:()=>O,dB:()=>F,eg:()=>it,f2:()=>ue,i7:()=>Y,n6:()=>Z,rp:()=>Ae,t6:()=>T,w_:()=>k,wn:()=>C,yZ:()=>U});const e=8,C=9,l=13,x=16,m=17,R=18,y=27,T=32,k=33,F=34,V=35,U=36,G=37,Y=38,$=39,Z=40,ye=46,ue=48,O=57,N=65,Ue=90,ht=91,it=224;function Ae(mt,...It){return It.length?It.some(Ci=>mt[Ci]):mt.altKey||mt.shiftKey||mt.ctrlKey||mt.metaKey}},9327:(Ve,ee,p)=>{"use strict";p.d(ee,{QP:()=>Z,RH:()=>F,Rp:()=>ve});var t=p(4438),e=p(4085),C=p(1413),S=p(4572),l=p(8793),x=p(1985),m=p(6697),R=p(5245),d=p(152),w=p(6354),y=p(9172),T=p(6977),k=p(6860);let F=(()=>{class ae{static{this.\u0275fac=function(be){return new(be||ae)}}static{this.\u0275mod=t.$C({type:ae})}static{this.\u0275inj=t.G2t({})}}return ae})();const V=new Set;let U,G=(()=>{class ae{constructor(ue,be){this._platform=ue,this._nonce=be,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):$}matchMedia(ue){return(this._platform.WEBKIT||this._platform.BLINK)&&function Y(ae,ye){if(!V.has(ae))try{U||(U=document.createElement("style"),ye&&(U.nonce=ye),U.setAttribute("type","text/css"),document.head.appendChild(U)),U.sheet&&(U.sheet.insertRule(`@media ${ae} {body{ }}`,0),V.add(ae))}catch(ue){console.error(ue)}}(ue,this._nonce),this._matchMedia(ue)}static{this.\u0275fac=function(be){return new(be||ae)(t.KVO(k.OD),t.KVO(t.BIS,8))}}static{this.\u0275prov=t.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})();function $(ae){return{matches:"all"===ae||""===ae,media:ae,addListener:()=>{},removeListener:()=>{}}}let Z=(()=>{class ae{constructor(ue,be){this._mediaMatcher=ue,this._zone=be,this._queries=new Map,this._destroySubject=new C.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ue){return ie((0,e.FG)(ue)).some(D=>this._registerQuery(D).mql.matches)}observe(ue){const D=ie((0,e.FG)(ue)).map(c=>this._registerQuery(c).observable);let n=(0,S.z)(D);return n=(0,l.x)(n.pipe((0,m.s)(1)),n.pipe((0,R.i)(1),(0,d.B)(0))),n.pipe((0,w.T)(c=>{const f={matches:!1,breakpoints:{}};return c.forEach(({matches:h,query:M})=>{f.matches=f.matches||h,f.breakpoints[M]=h}),f}))}_registerQuery(ue){if(this._queries.has(ue))return this._queries.get(ue);const be=this._mediaMatcher.matchMedia(ue),n={observable:new x.c(c=>{const f=h=>this._zone.run(()=>c.next(h));return be.addListener(f),()=>{be.removeListener(f)}}).pipe((0,y.Z)(be),(0,w.T)(({matches:c})=>({query:ue,matches:c})),(0,T.Q)(this._destroySubject)),mql:be};return this._queries.set(ue,n),n}static{this.\u0275fac=function(be){return new(be||ae)(t.KVO(G),t.KVO(t.SKi))}}static{this.\u0275prov=t.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})();function ie(ae){return ae.map(ye=>ye.split(",")).reduce((ye,ue)=>ye.concat(ue)).map(ye=>ye.trim())}const ve={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)"}},2318:(Ve,ee,p)=>{"use strict";p.d(ee,{Wv:()=>R,w5:()=>d});var t=p(4085),e=p(4438),C=p(1985),S=p(1413),l=p(152);let x=(()=>{class w{create(T){return typeof MutationObserver>"u"?null:new MutationObserver(T)}static{this.\u0275fac=function(k){return new(k||w)}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})(),m=(()=>{class w{constructor(T){this._mutationObserverFactory=T,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((T,k)=>this._cleanupObserver(k))}observe(T){const k=(0,t.i8)(T);return new C.c(F=>{const U=this._observeElement(k).subscribe(F);return()=>{U.unsubscribe(),this._unobserveElement(k)}})}_observeElement(T){if(this._observedElements.has(T))this._observedElements.get(T).count++;else{const k=new S.B,F=this._mutationObserverFactory.create(V=>k.next(V));F&&F.observe(T,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(T,{observer:F,stream:k,count:1})}return this._observedElements.get(T).stream}_unobserveElement(T){this._observedElements.has(T)&&(this._observedElements.get(T).count--,this._observedElements.get(T).count||this._cleanupObserver(T))}_cleanupObserver(T){if(this._observedElements.has(T)){const{observer:k,stream:F}=this._observedElements.get(T);k&&k.disconnect(),F.complete(),this._observedElements.delete(T)}}static{this.\u0275fac=function(k){return new(k||w)(e.KVO(x))}}static{this.\u0275prov=e.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})(),R=(()=>{class w{get disabled(){return this._disabled}set disabled(T){this._disabled=T,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(T){this._debounce=(0,t.OE)(T),this._subscribe()}constructor(T,k,F){this._contentObserver=T,this._elementRef=k,this._ngZone=F,this.event=new e.bkB,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const T=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?T.pipe((0,l.B)(this.debounce)):T).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(k){return new(k||w)(e.rXU(m),e.rXU(e.aKT),e.rXU(e.SKi))}}static{this.\u0275dir=e.FsC({type:w,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",e.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[e.GFd]})}}return w})(),d=(()=>{class w{static{this.\u0275fac=function(k){return new(k||w)}}static{this.\u0275mod=e.$C({type:w})}static{this.\u0275inj=e.G2t({providers:[x]})}}return w})()},6969:(Ve,ee,p)=>{"use strict";p.d(ee,{WB:()=>he,$Q:()=>fe,rW:()=>ne,hJ:()=>pe,rR:()=>D,Sf:()=>r,z_:()=>Ct,yY:()=>v});var t=p(5542),e=p(177),C=p(4438),S=p(4085),l=p(6860),x=p(5964),m=p(6697),R=p(6977),d=p(9974),w=p(4360),T=p(8203),k=p(6939),F=p(1413),V=p(8359),U=p(7786),G=p(7336);const Y=(0,l.CZ)();class ${constructor(ke,Je){this._viewportRuler=ke,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Je}attach(){}enable(){if(this._canBeEnabled()){const ke=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ke.style.left||"",this._previousHTMLStyles.top=ke.style.top||"",ke.style.left=(0,S.a1)(-this._previousScrollPosition.left),ke.style.top=(0,S.a1)(-this._previousScrollPosition.top),ke.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ke=this._document.documentElement,Qe=ke.style,nt=this._document.body.style,Ue=Qe.scrollBehavior||"",ht=nt.scrollBehavior||"";this._isEnabled=!1,Qe.left=this._previousHTMLStyles.left,Qe.top=this._previousHTMLStyles.top,ke.classList.remove("cdk-global-scrollblock"),Y&&(Qe.scrollBehavior=nt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Y&&(Qe.scrollBehavior=Ue,nt.scrollBehavior=ht)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Je=this._document.body,Qe=this._viewportRuler.getViewportSize();return Je.scrollHeight>Qe.height||Je.scrollWidth>Qe.width}}class ie{constructor(ke,Je,Qe,nt){this._scrollDispatcher=ke,this._ngZone=Je,this._viewportRuler=Qe,this._config=nt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ke){this._overlayRef=ke}enable(){if(this._scrollSubscription)return;const ke=this._scrollDispatcher.scrolled(0).pipe((0,x.p)(Je=>!Je||!this._overlayRef.overlayElement.contains(Je.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ke.subscribe(()=>{const Je=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Je-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ke.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ve{enable(){}disable(){}attach(){}}function ae(Nt,ke){return ke.some(Je=>Nt.bottom<Je.top||Nt.top>Je.bottom||Nt.right<Je.left||Nt.left>Je.right)}function ye(Nt,ke){return ke.some(Je=>Nt.top<Je.top||Nt.bottom>Je.bottom||Nt.left<Je.left||Nt.right>Je.right)}class ue{constructor(ke,Je,Qe,nt){this._scrollDispatcher=ke,this._viewportRuler=Je,this._ngZone=Qe,this._config=nt,this._scrollSubscription=null}attach(ke){this._overlayRef=ke}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 Je=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Qe,height:nt}=this._viewportRuler.getViewportSize();ae(Je,[{width:Qe,height:nt,bottom:nt,right:Qe,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 be=(()=>{class Nt{constructor(Je,Qe,nt,Ue){this._scrollDispatcher=Je,this._viewportRuler=Qe,this._ngZone=nt,this.noop=()=>new ve,this.close=ht=>new ie(this._scrollDispatcher,this._ngZone,this._viewportRuler,ht),this.block=()=>new $(this._viewportRuler,this._document),this.reposition=ht=>new ue(this._scrollDispatcher,this._viewportRuler,this._ngZone,ht),this._document=Ue}static{this.\u0275fac=function(Qe){return new(Qe||Nt)(C.KVO(t.R),C.KVO(t.Xj),C.KVO(C.SKi),C.KVO(e.qQ))}}static{this.\u0275prov=C.jDH({token:Nt,factory:Nt.\u0275fac,providedIn:"root"})}}return Nt})();class D{constructor(ke){if(this.scrollStrategy=new ve,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ke){const Je=Object.keys(ke);for(const Qe of Je)void 0!==ke[Qe]&&(this[Qe]=ke[Qe])}}}class f{constructor(ke,Je){this.connectionPair=ke,this.scrollableViewProperties=Je}}let L=(()=>{class Nt{constructor(Je){this._attachedOverlays=[],this._document=Je}ngOnDestroy(){this.detach()}add(Je){this.remove(Je),this._attachedOverlays.push(Je)}remove(Je){const Qe=this._attachedOverlays.indexOf(Je);Qe>-1&&this._attachedOverlays.splice(Qe,1),0===this._attachedOverlays.length&&this.detach()}static{this.\u0275fac=function(Qe){return new(Qe||Nt)(C.KVO(e.qQ))}}static{this.\u0275prov=C.jDH({token:Nt,factory:Nt.\u0275fac,providedIn:"root"})}}return Nt})(),O=(()=>{class Nt extends L{constructor(Je,Qe){super(Je),this._ngZone=Qe,this._keydownListener=nt=>{const Ue=this._attachedOverlays;for(let ht=Ue.length-1;ht>-1;ht--)if(Ue[ht]._keydownEvents.observers.length>0){const tt=Ue[ht]._keydownEvents;this._ngZone?this._ngZone.run(()=>tt.next(nt)):tt.next(nt);break}}}add(Je){super.add(Je),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{this.\u0275fac=function(Qe){return new(Qe||Nt)(C.KVO(e.qQ),C.KVO(C.SKi,8))}}static{this.\u0275prov=C.jDH({token:Nt,factory:Nt.\u0275fac,providedIn:"root"})}}return Nt})(),_=(()=>{class Nt extends L{constructor(Je,Qe,nt){super(Je),this._platform=Qe,this._ngZone=nt,this._cursorStyleIsSet=!1,this._pointerDownListener=Ue=>{this._pointerDownEventTarget=(0,l.Fb)(Ue)},this._clickListener=Ue=>{const ht=(0,l.Fb)(Ue),tt="click"===Ue.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ht;this._pointerDownEventTarget=null;const wt=this._attachedOverlays.slice();for(let ut=wt.length-1;ut>-1;ut--){const vt=wt[ut];if(vt._outsidePointerEvents.observers.length<1||!vt.hasAttached())continue;if(vt.overlayElement.contains(ht)||vt.overlayElement.contains(tt))break;const Ze=vt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Ze.next(Ue)):Ze.next(Ue)}}}add(Je){if(super.add(Je),!this._isAttached){const Qe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Qe)):this._addEventListeners(Qe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Qe.style.cursor,Qe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Je=this._document.body;Je.removeEventListener("pointerdown",this._pointerDownListener,!0),Je.removeEventListener("click",this._clickListener,!0),Je.removeEventListener("auxclick",this._clickListener,!0),Je.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Je.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Je){Je.addEventListener("pointerdown",this._pointerDownListener,!0),Je.addEventListener("click",this._clickListener,!0),Je.addEventListener("auxclick",this._clickListener,!0),Je.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(Qe){return new(Qe||Nt)(C.KVO(e.qQ),C.KVO(l.OD),C.KVO(C.SKi,8))}}static{this.\u0275prov=C.jDH({token:Nt,factory:Nt.\u0275fac,providedIn:"root"})}}return Nt})(),r=(()=>{class Nt{constructor(Je,Qe){this._platform=Qe,this._document=Je}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Je="cdk-overlay-container";if(this._platform.isBrowser||(0,l.v8)()){const nt=this._document.querySelectorAll(`.${Je}[platform="server"], .${Je}[platform="test"]`);for(let Ue=0;Ue<nt.length;Ue++)nt[Ue].remove()}const Qe=this._document.createElement("div");Qe.classList.add(Je),(0,l.v8)()?Qe.setAttribute("platform","test"):this._platform.isBrowser||Qe.setAttribute("platform","server"),this._document.body.appendChild(Qe),this._containerElement=Qe}static{this.\u0275fac=function(Qe){return new(Qe||Nt)(C.KVO(e.qQ),C.KVO(l.OD))}}static{this.\u0275prov=C.jDH({token:Nt,factory:Nt.\u0275fac,providedIn:"root"})}}return Nt})();class v{constructor(ke,Je,Qe,nt,Ue,ht,tt,wt,ut,vt=!1){this._portalOutlet=ke,this._host=Je,this._pane=Qe,this._config=nt,this._ngZone=Ue,this._keyboardDispatcher=ht,this._document=tt,this._location=wt,this._outsideClickDispatcher=ut,this._animationsDisabled=vt,this._backdropElement=null,this._backdropClick=new F.B,this._attachments=new F.B,this._detachments=new F.B,this._locationChanges=V.yU.EMPTY,this._backdropClickHandler=Ze=>this._backdropClick.next(Ze),this._backdropTransitionendHandler=Ze=>{this._disposeBackdrop(Ze.target)},this._keydownEvents=new F.B,this._outsidePointerEvents=new F.B,nt.scrollStrategy&&(this._scrollStrategy=nt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=nt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ke){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Je=this._portalOutlet.attach(ke);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,m.s)(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 Je?.onDestroy&&Je.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Je}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ke=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ke}dispose(){const ke=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,ke&&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(ke){ke!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ke,this.hasAttached()&&(ke.attach(this),this.updatePosition()))}updateSize(ke){this._config={...this._config,...ke},this._updateElementSize()}setDirection(ke){this._config={...this._config,direction:ke},this._updateElementDirection()}addPanelClass(ke){this._pane&&this._toggleClasses(this._pane,ke,!0)}removePanelClass(ke){this._pane&&this._toggleClasses(this._pane,ke,!1)}getDirection(){const ke=this._config.direction;return ke?"string"==typeof ke?ke:ke.value:"ltr"}updateScrollStrategy(ke){ke!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ke,this.hasAttached()&&(ke.attach(this),ke.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ke=this._pane.style;ke.width=(0,S.a1)(this._config.width),ke.height=(0,S.a1)(this._config.height),ke.minWidth=(0,S.a1)(this._config.minWidth),ke.minHeight=(0,S.a1)(this._config.minHeight),ke.maxWidth=(0,S.a1)(this._config.maxWidth),ke.maxHeight=(0,S.a1)(this._config.maxHeight)}_togglePointerEvents(ke){this._pane.style.pointerEvents=ke?"":"none"}_attachBackdrop(){const ke="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(ke)})}):this._backdropElement.classList.add(ke)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ke=this._backdropElement;if(ke){if(this._animationsDisabled)return void this._disposeBackdrop(ke);ke.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ke.addEventListener("transitionend",this._backdropTransitionendHandler)}),ke.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ke)},500))}}_toggleClasses(ke,Je,Qe){const nt=(0,S.FG)(Je||[]).filter(Ue=>!!Ue);nt.length&&(Qe?ke.classList.add(...nt):ke.classList.remove(...nt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ke=this._ngZone.onStable.pipe((0,R.Q)((0,U.h)(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()),ke.unsubscribe())})})}_disposeScrollStrategy(){const ke=this._scrollStrategy;ke&&(ke.disable(),ke.detach&&ke.detach())}_disposeBackdrop(ke){ke&&(ke.removeEventListener("click",this._backdropClickHandler),ke.removeEventListener("transitionend",this._backdropTransitionendHandler),ke.remove(),this._backdropElement===ke&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const z="cdk-overlay-connected-position-bounding-box",N=/([A-Za-z%]+)$/;class ne{get positions(){return this._preferredPositions}constructor(ke,Je,Qe,nt,Ue){this._viewportRuler=Je,this._document=Qe,this._platform=nt,this._overlayContainer=Ue,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 F.B,this._resizeSubscription=V.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(ke)}attach(ke){this._validatePositions(),ke.hostElement.classList.add(z),this._overlayRef=ke,this._boundingBox=ke.hostElement,this._pane=ke.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 ke=this._originRect,Je=this._overlayRect,Qe=this._viewportRect,nt=this._containerRect,Ue=[];let ht;for(let tt of this._preferredPositions){let wt=this._getOriginPoint(ke,nt,tt),ut=this._getOverlayPoint(wt,Je,tt),vt=this._getOverlayFit(ut,Je,Qe,tt);if(vt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(tt,wt);this._canFitWithFlexibleDimensions(vt,ut,Qe)?Ue.push({position:tt,origin:wt,overlayRect:Je,boundingBoxRect:this._calculateBoundingBoxRect(wt,tt)}):(!ht||ht.overlayFit.visibleArea<vt.visibleArea)&&(ht={overlayFit:vt,overlayPoint:ut,originPoint:wt,position:tt,overlayRect:Je})}if(Ue.length){let tt=null,wt=-1;for(const ut of Ue){const vt=ut.boundingBoxRect.width*ut.boundingBoxRect.height*(ut.position.weight||1);vt>wt&&(wt=vt,tt=ut)}return this._isPushed=!1,void this._applyPosition(tt.position,tt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(ht.position,ht.originPoint);this._applyPosition(ht.position,ht.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ie(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(z),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ke=this._lastPosition;if(ke){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Je=this._getOriginPoint(this._originRect,this._containerRect,ke);this._applyPosition(ke,Je)}else this.apply()}withScrollableContainers(ke){return this._scrollables=ke,this}withPositions(ke){return this._preferredPositions=ke,-1===ke.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ke){return this._viewportMargin=ke,this}withFlexibleDimensions(ke=!0){return this._hasFlexibleDimensions=ke,this}withGrowAfterOpen(ke=!0){return this._growAfterOpen=ke,this}withPush(ke=!0){return this._canPush=ke,this}withLockedPosition(ke=!0){return this._positionLocked=ke,this}setOrigin(ke){return this._origin=ke,this}withDefaultOffsetX(ke){return this._offsetX=ke,this}withDefaultOffsetY(ke){return this._offsetY=ke,this}withTransformOriginOn(ke){return this._transformOriginSelector=ke,this}_getOriginPoint(ke,Je,Qe){let nt,Ue;if("center"==Qe.originX)nt=ke.left+ke.width/2;else{const ht=this._isRtl()?ke.right:ke.left,tt=this._isRtl()?ke.left:ke.right;nt="start"==Qe.originX?ht:tt}return Je.left<0&&(nt-=Je.left),Ue="center"==Qe.originY?ke.top+ke.height/2:"top"==Qe.originY?ke.top:ke.bottom,Je.top<0&&(Ue-=Je.top),{x:nt,y:Ue}}_getOverlayPoint(ke,Je,Qe){let nt,Ue;return nt="center"==Qe.overlayX?-Je.width/2:"start"===Qe.overlayX?this._isRtl()?-Je.width:0:this._isRtl()?0:-Je.width,Ue="center"==Qe.overlayY?-Je.height/2:"top"==Qe.overlayY?0:-Je.height,{x:ke.x+nt,y:ke.y+Ue}}_getOverlayFit(ke,Je,Qe,nt){const Ue=Ye(Je);let{x:ht,y:tt}=ke,wt=this._getOffset(nt,"x"),ut=this._getOffset(nt,"y");wt&&(ht+=wt),ut&&(tt+=ut);let jt=0-tt,qe=tt+Ue.height-Qe.height,dt=this._subtractOverflows(Ue.width,0-ht,ht+Ue.width-Qe.width),Le=this._subtractOverflows(Ue.height,jt,qe),Vt=dt*Le;return{visibleArea:Vt,isCompletelyWithinViewport:Ue.width*Ue.height===Vt,fitsInViewportVertically:Le===Ue.height,fitsInViewportHorizontally:dt==Ue.width}}_canFitWithFlexibleDimensions(ke,Je,Qe){if(this._hasFlexibleDimensions){const nt=Qe.bottom-Je.y,Ue=Qe.right-Je.x,ht=at(this._overlayRef.getConfig().minHeight),tt=at(this._overlayRef.getConfig().minWidth);return(ke.fitsInViewportVertically||null!=ht&&ht<=nt)&&(ke.fitsInViewportHorizontally||null!=tt&&tt<=Ue)}return!1}_pushOverlayOnScreen(ke,Je,Qe){if(this._previousPushAmount&&this._positionLocked)return{x:ke.x+this._previousPushAmount.x,y:ke.y+this._previousPushAmount.y};const nt=Ye(Je),Ue=this._viewportRect,ht=Math.max(ke.x+nt.width-Ue.width,0),tt=Math.max(ke.y+nt.height-Ue.height,0),wt=Math.max(Ue.top-Qe.top-ke.y,0),ut=Math.max(Ue.left-Qe.left-ke.x,0);let vt=0,Ze=0;return vt=nt.width<=Ue.width?ut||-ht:ke.x<this._viewportMargin?Ue.left-Qe.left-ke.x:0,Ze=nt.height<=Ue.height?wt||-tt:ke.y<this._viewportMargin?Ue.top-Qe.top-ke.y:0,this._previousPushAmount={x:vt,y:Ze},{x:ke.x+vt,y:ke.y+Ze}}_applyPosition(ke,Je){if(this._setTransformOrigin(ke),this._setOverlayElementStyles(Je,ke),this._setBoundingBoxStyles(Je,ke),ke.panelClass&&this._addPanelClasses(ke.panelClass),this._lastPosition=ke,this._positionChanges.observers.length){const Qe=this._getScrollVisibility(),nt=new f(ke,Qe);this._positionChanges.next(nt)}this._isInitialRender=!1}_setTransformOrigin(ke){if(!this._transformOriginSelector)return;const Je=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Qe,nt=ke.overlayY;Qe="center"===ke.overlayX?"center":this._isRtl()?"start"===ke.overlayX?"right":"left":"start"===ke.overlayX?"left":"right";for(let Ue=0;Ue<Je.length;Ue++)Je[Ue].style.transformOrigin=`${Qe} ${nt}`}_calculateBoundingBoxRect(ke,Je){const Qe=this._viewportRect,nt=this._isRtl();let Ue,ht,tt,vt,Ze,jt;if("top"===Je.overlayY)ht=ke.y,Ue=Qe.height-ht+this._viewportMargin;else if("bottom"===Je.overlayY)tt=Qe.height-ke.y+2*this._viewportMargin,Ue=Qe.height-tt+this._viewportMargin;else{const qe=Math.min(Qe.bottom-ke.y+Qe.top,ke.y),dt=this._lastBoundingBoxSize.height;Ue=2*qe,ht=ke.y-qe,Ue>dt&&!this._isInitialRender&&!this._growAfterOpen&&(ht=ke.y-dt/2)}if("end"===Je.overlayX&&!nt||"start"===Je.overlayX&&nt)jt=Qe.width-ke.x+this._viewportMargin,vt=ke.x-this._viewportMargin;else if("start"===Je.overlayX&&!nt||"end"===Je.overlayX&&nt)Ze=ke.x,vt=Qe.right-ke.x;else{const qe=Math.min(Qe.right-ke.x+Qe.left,ke.x),dt=this._lastBoundingBoxSize.width;vt=2*qe,Ze=ke.x-qe,vt>dt&&!this._isInitialRender&&!this._growAfterOpen&&(Ze=ke.x-dt/2)}return{top:ht,left:Ze,bottom:tt,right:jt,width:vt,height:Ue}}_setBoundingBoxStyles(ke,Je){const Qe=this._calculateBoundingBoxRect(ke,Je);!this._isInitialRender&&!this._growAfterOpen&&(Qe.height=Math.min(Qe.height,this._lastBoundingBoxSize.height),Qe.width=Math.min(Qe.width,this._lastBoundingBoxSize.width));const nt={};if(this._hasExactPosition())nt.top=nt.left="0",nt.bottom=nt.right=nt.maxHeight=nt.maxWidth="",nt.width=nt.height="100%";else{const Ue=this._overlayRef.getConfig().maxHeight,ht=this._overlayRef.getConfig().maxWidth;nt.height=(0,S.a1)(Qe.height),nt.top=(0,S.a1)(Qe.top),nt.bottom=(0,S.a1)(Qe.bottom),nt.width=(0,S.a1)(Qe.width),nt.left=(0,S.a1)(Qe.left),nt.right=(0,S.a1)(Qe.right),nt.alignItems="center"===Je.overlayX?"center":"end"===Je.overlayX?"flex-end":"flex-start",nt.justifyContent="center"===Je.overlayY?"center":"bottom"===Je.overlayY?"flex-end":"flex-start",Ue&&(nt.maxHeight=(0,S.a1)(Ue)),ht&&(nt.maxWidth=(0,S.a1)(ht))}this._lastBoundingBoxSize=Qe,Ie(this._boundingBox.style,nt)}_resetBoundingBoxStyles(){Ie(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ie(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ke,Je){const Qe={},nt=this._hasExactPosition(),Ue=this._hasFlexibleDimensions,ht=this._overlayRef.getConfig();if(nt){const vt=this._viewportRuler.getViewportScrollPosition();Ie(Qe,this._getExactOverlayY(Je,ke,vt)),Ie(Qe,this._getExactOverlayX(Je,ke,vt))}else Qe.position="static";let tt="",wt=this._getOffset(Je,"x"),ut=this._getOffset(Je,"y");wt&&(tt+=`translateX(${wt}px) `),ut&&(tt+=`translateY(${ut}px)`),Qe.transform=tt.trim(),ht.maxHeight&&(nt?Qe.maxHeight=(0,S.a1)(ht.maxHeight):Ue&&(Qe.maxHeight="")),ht.maxWidth&&(nt?Qe.maxWidth=(0,S.a1)(ht.maxWidth):Ue&&(Qe.maxWidth="")),Ie(this._pane.style,Qe)}_getExactOverlayY(ke,Je,Qe){let nt={top:"",bottom:""},Ue=this._getOverlayPoint(Je,this._overlayRect,ke);return this._isPushed&&(Ue=this._pushOverlayOnScreen(Ue,this._overlayRect,Qe)),"bottom"===ke.overlayY?nt.bottom=this._document.documentElement.clientHeight-(Ue.y+this._overlayRect.height)+"px":nt.top=(0,S.a1)(Ue.y),nt}_getExactOverlayX(ke,Je,Qe){let ht,nt={left:"",right:""},Ue=this._getOverlayPoint(Je,this._overlayRect,ke);return this._isPushed&&(Ue=this._pushOverlayOnScreen(Ue,this._overlayRect,Qe)),ht=this._isRtl()?"end"===ke.overlayX?"left":"right":"end"===ke.overlayX?"right":"left","right"===ht?nt.right=this._document.documentElement.clientWidth-(Ue.x+this._overlayRect.width)+"px":nt.left=(0,S.a1)(Ue.x),nt}_getScrollVisibility(){const ke=this._getOriginRect(),Je=this._pane.getBoundingClientRect(),Qe=this._scrollables.map(nt=>nt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ye(ke,Qe),isOriginOutsideView:ae(ke,Qe),isOverlayClipped:ye(Je,Qe),isOverlayOutsideView:ae(Je,Qe)}}_subtractOverflows(ke,...Je){return Je.reduce((Qe,nt)=>Qe-Math.max(nt,0),ke)}_getNarrowedViewportRect(){const ke=this._document.documentElement.clientWidth,Je=this._document.documentElement.clientHeight,Qe=this._viewportRuler.getViewportScrollPosition();return{top:Qe.top+this._viewportMargin,left:Qe.left+this._viewportMargin,right:Qe.left+ke-this._viewportMargin,bottom:Qe.top+Je-this._viewportMargin,width:ke-2*this._viewportMargin,height:Je-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ke,Je){return"x"===Je?null==ke.offsetX?this._offsetX:ke.offsetX:null==ke.offsetY?this._offsetY:ke.offsetY}_validatePositions(){}_addPanelClasses(ke){this._pane&&(0,S.FG)(ke).forEach(Je=>{""!==Je&&-1===this._appliedPanelClasses.indexOf(Je)&&(this._appliedPanelClasses.push(Je),this._pane.classList.add(Je))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ke=>{this._pane.classList.remove(ke)}),this._appliedPanelClasses=[])}_getOriginRect(){const ke=this._origin;if(ke instanceof C.aKT)return ke.nativeElement.getBoundingClientRect();if(ke instanceof Element)return ke.getBoundingClientRect();const Je=ke.width||0,Qe=ke.height||0;return{top:ke.y,bottom:ke.y+Qe,left:ke.x,right:ke.x+Je,height:Qe,width:Je}}}function Ie(Nt,ke){for(let Je in ke)ke.hasOwnProperty(Je)&&(Nt[Je]=ke[Je]);return Nt}function at(Nt){if("number"!=typeof Nt&&null!=Nt){const[ke,Je]=Nt.split(N);return Je&&"px"!==Je?null:parseFloat(ke)}return Nt||null}function Ye(Nt){return{top:Math.floor(Nt.top),right:Math.floor(Nt.right),bottom:Math.floor(Nt.bottom),left:Math.floor(Nt.left),width:Math.floor(Nt.width),height:Math.floor(Nt.height)}}const te="cdk-global-overlay-wrapper";class oe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ke){const Je=ke.getConfig();this._overlayRef=ke,this._width&&!Je.width&&ke.updateSize({width:this._width}),this._height&&!Je.height&&ke.updateSize({height:this._height}),ke.hostElement.classList.add(te),this._isDisposed=!1}top(ke=""){return this._bottomOffset="",this._topOffset=ke,this._alignItems="flex-start",this}left(ke=""){return this._xOffset=ke,this._xPosition="left",this}bottom(ke=""){return this._topOffset="",this._bottomOffset=ke,this._alignItems="flex-end",this}right(ke=""){return this._xOffset=ke,this._xPosition="right",this}start(ke=""){return this._xOffset=ke,this._xPosition="start",this}end(ke=""){return this._xOffset=ke,this._xPosition="end",this}width(ke=""){return this._overlayRef?this._overlayRef.updateSize({width:ke}):this._width=ke,this}height(ke=""){return this._overlayRef?this._overlayRef.updateSize({height:ke}):this._height=ke,this}centerHorizontally(ke=""){return this.left(ke),this._xPosition="center",this}centerVertically(ke=""){return this.top(ke),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ke=this._overlayRef.overlayElement.style,Je=this._overlayRef.hostElement.style,Qe=this._overlayRef.getConfig(),{width:nt,height:Ue,maxWidth:ht,maxHeight:tt}=Qe,wt=!("100%"!==nt&&"100vw"!==nt||ht&&"100%"!==ht&&"100vw"!==ht),ut=!("100%"!==Ue&&"100vh"!==Ue||tt&&"100%"!==tt&&"100vh"!==tt),vt=this._xPosition,Ze=this._xOffset,jt="rtl"===this._overlayRef.getConfig().direction;let qe="",dt="",Le="";wt?Le="flex-start":"center"===vt?(Le="center",jt?dt=Ze:qe=Ze):jt?"left"===vt||"end"===vt?(Le="flex-end",qe=Ze):("right"===vt||"start"===vt)&&(Le="flex-start",dt=Ze):"left"===vt||"start"===vt?(Le="flex-start",qe=Ze):("right"===vt||"end"===vt)&&(Le="flex-end",dt=Ze),ke.position=this._cssPosition,ke.marginLeft=wt?"0":qe,ke.marginTop=ut?"0":this._topOffset,ke.marginBottom=this._bottomOffset,ke.marginRight=wt?"0":dt,Je.justifyContent=Le,Je.alignItems=ut?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ke=this._overlayRef.overlayElement.style,Je=this._overlayRef.hostElement,Qe=Je.style;Je.classList.remove(te),Qe.justifyContent=Qe.alignItems=ke.marginTop=ke.marginBottom=ke.marginLeft=ke.marginRight=ke.position="",this._overlayRef=null,this._isDisposed=!0}}let _e=(()=>{class Nt{constructor(Je,Qe,nt,Ue){this._viewportRuler=Je,this._document=Qe,this._platform=nt,this._overlayContainer=Ue}global(){return new oe}flexibleConnectedTo(Je){return new ne(Je,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(Qe){return new(Qe||Nt)(C.KVO(t.Xj),C.KVO(e.qQ),C.KVO(l.OD),C.KVO(r))}}static{this.\u0275prov=C.jDH({token:Nt,factory:Nt.\u0275fac,providedIn:"root"})}}return Nt})(),de=0,pe=(()=>{class Nt{constructor(Je,Qe,nt,Ue,ht,tt,wt,ut,vt,Ze,jt,qe){this.scrollStrategies=Je,this._overlayContainer=Qe,this._componentFactoryResolver=nt,this._positionBuilder=Ue,this._keyboardDispatcher=ht,this._injector=tt,this._ngZone=wt,this._document=ut,this._directionality=vt,this._location=Ze,this._outsideClickDispatcher=jt,this._animationsModuleType=qe}create(Je){const Qe=this._createHostElement(),nt=this._createPaneElement(Qe),Ue=this._createPortalOutlet(nt),ht=new D(Je);return ht.direction=ht.direction||this._directionality.value,new v(Ue,Qe,nt,ht,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Je){const Qe=this._document.createElement("div");return Qe.id="cdk-overlay-"+de++,Qe.classList.add("cdk-overlay-pane"),Je.appendChild(Qe),Qe}_createHostElement(){const Je=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Je),Je}_createPortalOutlet(Je){return this._appRef||(this._appRef=this._injector.get(C.o8S)),new k.aI(Je,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(Qe){return new(Qe||Nt)(C.KVO(be),C.KVO(r),C.KVO(C.OM3),C.KVO(_e),C.KVO(O),C.KVO(C.zZn),C.KVO(C.SKi),C.KVO(e.qQ),C.KVO(T.dS),C.KVO(e.aZ),C.KVO(_),C.KVO(C.bc$,8))}}static{this.\u0275prov=C.jDH({token:Nt,factory:Nt.\u0275fac,providedIn:"root"})}}return Nt})();const We=[{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"}],se=new C.nKC("cdk-connected-overlay-scroll-strategy");let fe=(()=>{class Nt{constructor(Je){this.elementRef=Je}static{this.\u0275fac=function(Qe){return new(Qe||Nt)(C.rXU(C.aKT))}}static{this.\u0275dir=C.FsC({type:Nt,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return Nt})(),he=(()=>{class Nt{get offsetX(){return this._offsetX}set offsetX(Je){this._offsetX=Je,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Je){this._offsetY=Je,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(Je){this._disposeOnNavigation=Je}constructor(Je,Qe,nt,Ue,ht){this._overlay=Je,this._dir=ht,this._backdropSubscription=V.yU.EMPTY,this._attachSubscription=V.yU.EMPTY,this._detachSubscription=V.yU.EMPTY,this._positionSubscription=V.yU.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 C.bkB,this.positionChange=new C.bkB,this.attach=new C.bkB,this.detach=new C.bkB,this.overlayKeydown=new C.bkB,this.overlayOutsideClick=new C.bkB,this._templatePortal=new k.VA(Qe,nt),this._scrollStrategyFactory=Ue,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(Je){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Je.origin&&this.open&&this._position.apply()),Je.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=We);const Je=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Je.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Je.detachments().subscribe(()=>this.detach.emit()),Je.keydownEvents().subscribe(Qe=>{this.overlayKeydown.next(Qe),Qe.keyCode===G._f&&!this.disableClose&&!(0,G.rp)(Qe)&&(Qe.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Qe=>{this.overlayOutsideClick.next(Qe)})}_buildConfig(){const Je=this._position=this.positionStrategy||this._createPositionStrategy(),Qe=new D({direction:this._dir,positionStrategy:Je,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(Qe.width=this.width),(this.height||0===this.height)&&(Qe.height=this.height),(this.minWidth||0===this.minWidth)&&(Qe.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Qe.minHeight=this.minHeight),this.backdropClass&&(Qe.backdropClass=this.backdropClass),this.panelClass&&(Qe.panelClass=this.panelClass),Qe}_updatePositionStrategy(Je){const Qe=this.positions.map(nt=>({originX:nt.originX,originY:nt.originY,overlayX:nt.overlayX,overlayY:nt.overlayY,offsetX:nt.offsetX||this.offsetX,offsetY:nt.offsetY||this.offsetY,panelClass:nt.panelClass||void 0}));return Je.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Qe).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Je=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Je),Je}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof fe?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(Je=>{this.backdropClick.emit(Je)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function y(Nt,ke=!1){return(0,d.N)((Je,Qe)=>{let nt=0;Je.subscribe((0,w._)(Qe,Ue=>{const ht=Nt(Ue,nt++);(ht||ke)&&Qe.next(Ue),!ht&&Qe.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(Je=>{this.positionChange.emit(Je),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(Qe){return new(Qe||Nt)(C.rXU(pe),C.rXU(C.C4Q),C.rXU(C.c1b),C.rXU(se),C.rXU(T.dS,8))}}static{this.\u0275dir=C.FsC({type:Nt,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",C.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",C.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",C.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",C.L39],push:[2,"cdkConnectedOverlayPush","push",C.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",C.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[C.GFd,C.OA$]})}}return Nt})();const Ke={provide:se,deps:[pe],useFactory:function et(Nt){return()=>Nt.scrollStrategies.reposition()}};let Ct=(()=>{class Nt{static{this.\u0275fac=function(Qe){return new(Qe||Nt)}}static{this.\u0275mod=C.$C({type:Nt})}static{this.\u0275inj=C.G2t({providers:[pe,Ke],imports:[T.jI,k.jc,t.E9,t.E9]})}}return Nt})()},6860:(Ve,ee,p)=>{"use strict";p.d(ee,{BD:()=>V,BQ:()=>y,CZ:()=>F,Fb:()=>Z,KT:()=>Y,MU:()=>R,OD:()=>S,v8:()=>ie,vc:()=>$});var t=p(4438),e=p(177);let C;try{C=typeof Intl<"u"&&Intl.v8BreakIterator}catch{C=!1}let x,S=(()=>{class ve{constructor(ye){this._platformId=ye,this.isBrowser=this._platformId?(0,e.UE)(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&&!C)&&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{this.\u0275fac=function(ue){return new(ue||ve)(t.KVO(t.Agw))}}static{this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})();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 R(){if(x)return x;if("object"!=typeof document||!document)return x=new Set(m),x;let ve=document.createElement("input");return x=new Set(m.filter(ae=>(ve.setAttribute("type",ae),ve.type===ae))),x}let d,T,k,U;function y(ve){return function w(){if(null==d&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?ve:!!ve.capture}function F(){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 ve=Element.prototype.scrollTo;k=!!ve&&!/\{\s*\[native code\]\s*\}/.test(ve.toString())}}return k}function V(){if("object"!=typeof document||!document)return 0;if(null==T){const ve=document.createElement("div"),ae=ve.style;ve.dir="rtl",ae.width="1px",ae.overflow="auto",ae.visibility="hidden",ae.pointerEvents="none",ae.position="absolute";const ye=document.createElement("div"),ue=ye.style;ue.width="2px",ue.height="1px",ve.appendChild(ye),document.body.appendChild(ve),T=0,0===ve.scrollLeft&&(ve.scrollLeft=1,T=0===ve.scrollLeft?1:2),ve.remove()}return T}function Y(ve){if(function G(){if(null==U){const ve=typeof document<"u"?document.head:null;U=!(!ve||!ve.createShadowRoot&&!ve.attachShadow)}return U}()){const ae=ve.getRootNode?ve.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ae instanceof ShadowRoot)return ae}return null}function $(){let ve=typeof document<"u"&&document?document.activeElement:null;for(;ve&&ve.shadowRoot;){const ae=ve.shadowRoot.activeElement;if(ae===ve)break;ve=ae}return ve}function Z(ve){return ve.composedPath?ve.composedPath()[0]:ve.target}function ie(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6939:(Ve,ee,p)=>{"use strict";p.d(ee,{A8:()=>w,I3:()=>$,VA:()=>y,aI:()=>V,bV:()=>G,jc:()=>ie,lb:()=>k});var t=p(4438),e=p(177);class d{attach(ye){return this._attachedHost=ye,ye.attach(this)}detach(){let ye=this._attachedHost;null!=ye&&(this._attachedHost=null,ye.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ye){this._attachedHost=ye}}class w extends d{constructor(ye,ue,be,D,n){super(),this.component=ye,this.viewContainerRef=ue,this.injector=be,this.componentFactoryResolver=D,this.projectableNodes=n}}class y extends d{constructor(ye,ue,be,D){super(),this.templateRef=ye,this.viewContainerRef=ue,this.context=be,this.injector=D}get origin(){return this.templateRef.elementRef}attach(ye,ue=this.context){return this.context=ue,super.attach(ye)}detach(){return this.context=void 0,super.detach()}}class T extends d{constructor(ye){super(),this.element=ye instanceof t.aKT?ye.nativeElement:ye}}class k{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ye){return ye instanceof w?(this._attachedPortal=ye,this.attachComponentPortal(ye)):ye instanceof y?(this._attachedPortal=ye,this.attachTemplatePortal(ye)):this.attachDomPortal&&ye instanceof T?(this._attachedPortal=ye,this.attachDomPortal(ye)):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(ye){this._disposeFn=ye}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class V extends k{constructor(ye,ue,be,D,n){super(),this.outletElement=ye,this._componentFactoryResolver=ue,this._appRef=be,this._defaultInjector=D,this.attachDomPortal=c=>{const f=c.element,h=this._document.createComment("dom-portal");f.parentNode.insertBefore(h,f),this.outletElement.appendChild(f),this._attachedPortal=c,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(f,h)})},this._document=n}attachComponentPortal(ye){const be=(ye.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ye.component);let D;return ye.viewContainerRef?(D=ye.viewContainerRef.createComponent(be,ye.viewContainerRef.length,ye.injector||ye.viewContainerRef.injector,ye.projectableNodes||void 0),this.setDisposeFn(()=>D.destroy())):(D=be.create(ye.injector||this._defaultInjector||t.zZn.NULL),this._appRef.attachView(D.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(D.hostView),D.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(D)),this._attachedPortal=ye,D}attachTemplatePortal(ye){let ue=ye.viewContainerRef,be=ue.createEmbeddedView(ye.templateRef,ye.context,{injector:ye.injector});return be.rootNodes.forEach(D=>this.outletElement.appendChild(D)),be.detectChanges(),this.setDisposeFn(()=>{let D=ue.indexOf(be);-1!==D&&ue.remove(D)}),this._attachedPortal=ye,be}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ye){return ye.hostView.rootNodes[0]}}let G=(()=>{class ae extends y{constructor(ue,be){super(ue,be)}static{this.\u0275fac=function(be){return new(be||ae)(t.rXU(t.C4Q),t.rXU(t.c1b))}}static{this.\u0275dir=t.FsC({type:ae,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[t.Vt3]})}}return ae})(),$=(()=>{class ae extends k{constructor(ue,be,D){super(),this._componentFactoryResolver=ue,this._viewContainerRef=be,this._isInitialized=!1,this.attached=new t.bkB,this.attachDomPortal=n=>{const c=n.element,f=this._document.createComment("dom-portal");n.setAttachedHost(this),c.parentNode.insertBefore(f,c),this._getRootNode().appendChild(c),this._attachedPortal=n,super.setDisposeFn(()=>{f.parentNode&&f.parentNode.replaceChild(c,f)})},this._document=D}get portal(){return this._attachedPortal}set portal(ue){this.hasAttached()&&!ue&&!this._isInitialized||(this.hasAttached()&&super.detach(),ue&&super.attach(ue),this._attachedPortal=ue||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(ue){ue.setAttachedHost(this);const be=null!=ue.viewContainerRef?ue.viewContainerRef:this._viewContainerRef,n=(ue.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ue.component),c=be.createComponent(n,be.length,ue.injector||be.injector,ue.projectableNodes||void 0);return be!==this._viewContainerRef&&this._getRootNode().appendChild(c.hostView.rootNodes[0]),super.setDisposeFn(()=>c.destroy()),this._attachedPortal=ue,this._attachedRef=c,this.attached.emit(c),c}attachTemplatePortal(ue){ue.setAttachedHost(this);const be=this._viewContainerRef.createEmbeddedView(ue.templateRef,ue.context,{injector:ue.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ue,this._attachedRef=be,this.attached.emit(be),be}_getRootNode(){const ue=this._viewContainerRef.element.nativeElement;return ue.nodeType===ue.ELEMENT_NODE?ue:ue.parentNode}static{this.\u0275fac=function(be){return new(be||ae)(t.rXU(t.OM3),t.rXU(t.c1b),t.rXU(e.qQ))}}static{this.\u0275dir=t.FsC({type:ae,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[t.Vt3]})}}return ae})(),ie=(()=>{class ae{static{this.\u0275fac=function(be){return new(be||ae)}}static{this.\u0275mod=t.$C({type:ae})}static{this.\u0275inj=t.G2t({})}}return ae})()},5542:(Ve,ee,p)=>{"use strict";p.d(ee,{uv:()=>f,Gj:()=>at,R:()=>c,E9:()=>Ye,Xj:()=>M});var t=p(4085),e=p(4438),C=p(1413),S=p(7673),l=p(1985),x=p(3726),m=p(6780),R=p(8359);const d={schedule(rt){let re=requestAnimationFrame,te=cancelAnimationFrame;const{delegate:oe}=d;oe&&(re=oe.requestAnimationFrame,te=oe.cancelAnimationFrame);const _e=re(de=>{te=void 0,rt(de)});return new R.yU(()=>te?.(_e))},requestAnimationFrame(...rt){const{delegate:re}=d;return(re?.requestAnimationFrame||requestAnimationFrame)(...rt)},cancelAnimationFrame(...rt){const{delegate:re}=d;return(re?.cancelAnimationFrame||cancelAnimationFrame)(...rt)},delegate:void 0};var y=p(9687);new class T extends y.q{flush(re){this._active=!0;const te=this._scheduled;this._scheduled=void 0;const{actions:oe}=this;let _e;re=re||oe.shift();do{if(_e=re.execute(re.state,re.delay))break}while((re=oe[0])&&re.id===te&&oe.shift());if(this._active=!1,_e){for(;(re=oe[0])&&re.id===te&&oe.shift();)re.unsubscribe();throw _e}}}(class w extends m.R{constructor(re,te){super(re,te),this.scheduler=re,this.work=te}requestAsyncId(re,te,oe=0){return null!==oe&&oe>0?super.requestAsyncId(re,te,oe):(re.actions.push(this),re._scheduled||(re._scheduled=d.requestAnimationFrame(()=>re.flush(void 0))))}recycleAsyncId(re,te,oe=0){var _e;if(null!=oe?oe>0:this.delay>0)return super.recycleAsyncId(re,te,oe);const{actions:de}=re;null!=te&&(null===(_e=de[de.length-1])||void 0===_e?void 0:_e.id)!==te&&(d.cancelAnimationFrame(te),re._scheduled=void 0)}});p(5007);var U=p(3798),G=p(5964),Y=p(6977),$=p(6860),Z=p(177),ie=p(8203);let c=(()=>{class rt{constructor(te,oe,_e){this._ngZone=te,this._platform=oe,this._scrolled=new C.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=_e}register(te){this.scrollContainers.has(te)||this.scrollContainers.set(te,te.elementScrolled().subscribe(()=>this._scrolled.next(te)))}deregister(te){const oe=this.scrollContainers.get(te);oe&&(oe.unsubscribe(),this.scrollContainers.delete(te))}scrolled(te=20){return this._platform.isBrowser?new l.c(oe=>{this._globalSubscription||this._addGlobalListener();const _e=te>0?this._scrolled.pipe((0,U.Z)(te)).subscribe(oe):this._scrolled.subscribe(oe);return this._scrolledCount++,()=>{_e.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,S.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((te,oe)=>this.deregister(oe)),this._scrolled.complete()}ancestorScrolled(te,oe){const _e=this.getAncestorScrollContainers(te);return this.scrolled(oe).pipe((0,G.p)(de=>!de||_e.indexOf(de)>-1))}getAncestorScrollContainers(te){const oe=[];return this.scrollContainers.forEach((_e,de)=>{this._scrollableContainsElement(de,te)&&oe.push(de)}),oe}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(te,oe){let _e=(0,t.i8)(oe),de=te.getElementRef().nativeElement;do{if(_e==de)return!0}while(_e=_e.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const te=this._getWindow();return(0,x.R)(te.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(oe){return new(oe||rt)(e.KVO(e.SKi),e.KVO($.OD),e.KVO(Z.qQ,8))}}static{this.\u0275prov=e.jDH({token:rt,factory:rt.\u0275fac,providedIn:"root"})}}return rt})(),f=(()=>{class rt{constructor(te,oe,_e,de){this.elementRef=te,this.scrollDispatcher=oe,this.ngZone=_e,this.dir=de,this._destroyed=new C.B,this._elementScrolled=new l.c(pe=>this.ngZone.runOutsideAngular(()=>(0,x.R)(this.elementRef.nativeElement,"scroll").pipe((0,Y.Q)(this._destroyed)).subscribe(pe)))}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(te){const oe=this.elementRef.nativeElement,_e=this.dir&&"rtl"==this.dir.value;null==te.left&&(te.left=_e?te.end:te.start),null==te.right&&(te.right=_e?te.start:te.end),null!=te.bottom&&(te.top=oe.scrollHeight-oe.clientHeight-te.bottom),_e&&0!=(0,$.BD)()?(null!=te.left&&(te.right=oe.scrollWidth-oe.clientWidth-te.left),2==(0,$.BD)()?te.left=te.right:1==(0,$.BD)()&&(te.left=te.right?-te.right:te.right)):null!=te.right&&(te.left=oe.scrollWidth-oe.clientWidth-te.right),this._applyScrollToOptions(te)}_applyScrollToOptions(te){const oe=this.elementRef.nativeElement;(0,$.CZ)()?oe.scrollTo(te):(null!=te.top&&(oe.scrollTop=te.top),null!=te.left&&(oe.scrollLeft=te.left))}measureScrollOffset(te){const oe="left",de=this.elementRef.nativeElement;if("top"==te)return de.scrollTop;if("bottom"==te)return de.scrollHeight-de.clientHeight-de.scrollTop;const pe=this.dir&&"rtl"==this.dir.value;return"start"==te?te=pe?"right":oe:"end"==te&&(te=pe?oe:"right"),pe&&2==(0,$.BD)()?te==oe?de.scrollWidth-de.clientWidth-de.scrollLeft:de.scrollLeft:pe&&1==(0,$.BD)()?te==oe?de.scrollLeft+de.scrollWidth-de.clientWidth:-de.scrollLeft:te==oe?de.scrollLeft:de.scrollWidth-de.clientWidth-de.scrollLeft}static{this.\u0275fac=function(oe){return new(oe||rt)(e.rXU(e.aKT),e.rXU(c),e.rXU(e.SKi),e.rXU(ie.dS,8))}}static{this.\u0275dir=e.FsC({type:rt,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return rt})(),M=(()=>{class rt{constructor(te,oe,_e){this._platform=te,this._change=new C.B,this._changeListener=de=>{this._change.next(de)},this._document=_e,oe.runOutsideAngular(()=>{if(te.isBrowser){const de=this._getWindow();de.addEventListener("resize",this._changeListener),de.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const te=this._getWindow();te.removeEventListener("resize",this._changeListener),te.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const te={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),te}getViewportRect(){const te=this.getViewportScrollPosition(),{width:oe,height:_e}=this.getViewportSize();return{top:te.top,left:te.left,bottom:te.top+_e,right:te.left+oe,height:_e,width:oe}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const te=this._document,oe=this._getWindow(),_e=te.documentElement,de=_e.getBoundingClientRect();return{top:-de.top||te.body.scrollTop||oe.scrollY||_e.scrollTop||0,left:-de.left||te.body.scrollLeft||oe.scrollX||_e.scrollLeft||0}}change(te=20){return te>0?this._change.pipe((0,U.Z)(te)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const te=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:te.innerWidth,height:te.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(oe){return new(oe||rt)(e.KVO($.OD),e.KVO(e.SKi),e.KVO(Z.qQ,8))}}static{this.\u0275prov=e.jDH({token:rt,factory:rt.\u0275fac,providedIn:"root"})}}return rt})(),at=(()=>{class rt{static{this.\u0275fac=function(oe){return new(oe||rt)}}static{this.\u0275mod=e.$C({type:rt})}static{this.\u0275inj=e.G2t({})}}return rt})(),Ye=(()=>{class rt{static{this.\u0275fac=function(oe){return new(oe||rt)}}static{this.\u0275mod=e.$C({type:rt})}static{this.\u0275inj=e.G2t({imports:[ie.jI,at,ie.jI,at]})}}return rt})()},7768:(Ve,ee,p)=>{"use strict";p.d(ee,{FK:()=>ie,Up:()=>$,VI:()=>Y,nb:()=>k,oX:()=>T,uY:()=>ve,v5:()=>Z,x8:()=>G});var t=p(8617),e=p(8203),C=p(7336),S=p(4438),l=p(6860),x=p(1413),m=p(7673),R=p(9172),d=p(6977);const w=["*"];function y(ae,ye){1&ae&&S.SdG(0)}let T=(()=>{class ae{constructor(ue){this._elementRef=ue}focus(){this._elementRef.nativeElement.focus()}static{this.\u0275fac=function(be){return new(be||ae)(S.rXU(S.aKT))}}static{this.\u0275dir=S.FsC({type:ae,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}}return ae})(),k=(()=>{class ae{constructor(ue){this.template=ue}static{this.\u0275fac=function(be){return new(be||ae)(S.rXU(S.C4Q))}}static{this.\u0275dir=S.FsC({type:ae,selectors:[["","cdkStepLabel",""]]})}}return ae})(),F=0;const G=new S.nKC("STEPPER_GLOBAL_OPTIONS");let Y=(()=>{class ae{get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(ue){this._completedOverride=ue}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(ue){this._customError=ue}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(ue,be){this._stepper=ue,this.interacted=!1,this.interactedStream=new S.bkB,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=be||{},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{this.\u0275fac=function(be){return new(be||ae)(S.rXU((0,S.Rfq)(()=>$)),S.rXU(G,8))}}static{this.\u0275cmp=S.VBU({type:ae,selectors:[["cdk-step"]],contentQueries:function(be,D,n){if(1&be&&S.wni(n,k,5),2&be){let c;S.mGM(c=S.lsd())&&(D.stepLabel=c.first)}},viewQuery:function(be,D){if(1&be&&S.GBs(S.C4Q,7),2&be){let n;S.mGM(n=S.lsd())&&(D.content=n.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",S.L39],optional:[2,"optional","optional",S.L39],completed:[2,"completed","completed",S.L39],hasError:[2,"hasError","hasError",S.L39]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[S.GFd,S.OA$],ngContentSelectors:w,decls:1,vars:0,template:function(be,D){1&be&&(S.NAR(),S.DNE(0,y,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}}return ae})(),$=(()=>{class ae{get selectedIndex(){return this._selectedIndex}set selectedIndex(ue){this.steps&&this._steps?(this._isValidIndex(ue),this.selected?._markAsInteracted(),this._selectedIndex!==ue&&!this._anyControlsInvalidOrPending(ue)&&(ue>=this._selectedIndex||this.steps.toArray()[ue].editable)&&this._updateSelectedItemIndex(ue)):this._selectedIndex=ue}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(ue){this.selectedIndex=ue&&this.steps?this.steps.toArray().indexOf(ue):-1}get orientation(){return this._orientation}set orientation(ue){this._orientation=ue,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===ue)}constructor(ue,be,D){this._dir=ue,this._changeDetectorRef=be,this._elementRef=D,this._destroyed=new x.B,this.steps=new S.rOR,this._sortedHeaders=new S.rOR,this.linear=!1,this._selectedIndex=0,this.selectionChange=new S.bkB,this.selectedIndexChange=new S.bkB,this._orientation="horizontal",this._groupId=F++}ngAfterContentInit(){this._steps.changes.pipe((0,R.Z)(this._steps),(0,d.Q)(this._destroyed)).subscribe(ue=>{this.steps.reset(ue.filter(be=>be._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,R.Z)(this._stepHeader),(0,d.Q)(this._destroyed)).subscribe(ue=>{this._sortedHeaders.reset(ue.toArray().sort((be,D)=>be._elementRef.nativeElement.compareDocumentPosition(D._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new t.Bu(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,m.of)()).pipe((0,R.Z)(this._layoutDirection()),(0,d.Q)(this._destroyed)).subscribe(ue=>this._keyManager.withHorizontalOrientation(ue)),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(ue=>ue.reset()),this._stateChanged()}_getStepLabelId(ue){return`cdk-step-label-${this._groupId}-${ue}`}_getStepContentId(ue){return`cdk-step-content-${this._groupId}-${ue}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(ue){const be=ue-this._selectedIndex;return be<0?"rtl"===this._layoutDirection()?"next":"previous":be>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(ue,be="number"){const D=this.steps.toArray()[ue],n=this._isCurrentStep(ue);return D._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(D,n):this._getGuidelineLogic(D,n,be)}_getDefaultIndicatorLogic(ue,be){return ue._showError()&&ue.hasError&&!be?"error":!ue.completed||be?"number":ue.editable?"edit":"done"}_getGuidelineLogic(ue,be,D="number"){return ue._showError()&&ue.hasError&&!be?"error":ue.completed&&!be?"done":ue.completed&&be?D:ue.editable&&be?"edit":D}_isCurrentStep(ue){return this._selectedIndex===ue}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(ue){const be=this.steps.toArray();this.selectionChange.emit({selectedIndex:ue,previouslySelectedIndex:this._selectedIndex,selectedStep:be[ue],previouslySelectedStep:be[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(ue):this._keyManager.updateActiveItem(ue),this._selectedIndex=ue,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(ue){const be=(0,C.rp)(ue),D=ue.keyCode,n=this._keyManager;null==n.activeItemIndex||be||D!==C.t6&&D!==C.Fm?n.setFocusOrigin("keyboard").onKeydown(ue):(this.selectedIndex=n.activeItemIndex,ue.preventDefault())}_anyControlsInvalidOrPending(ue){return!!(this.linear&&ue>=0)&&this.steps.toArray().slice(0,ue).some(be=>{const D=be.stepControl;return(D?D.invalid||D.pending||!be.interacted:!be.completed)&&!be.optional&&!be._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const ue=this._elementRef.nativeElement,be=(0,l.vc)();return ue===be||ue.contains(be)}_isValidIndex(ue){return ue>-1&&(!this.steps||ue<this.steps.length)}static{this.\u0275fac=function(be){return new(be||ae)(S.rXU(e.dS,8),S.rXU(S.gRc),S.rXU(S.aKT))}}static{this.\u0275dir=S.FsC({type:ae,selectors:[["","cdkStepper",""]],contentQueries:function(be,D,n){if(1&be&&(S.wni(n,Y,5),S.wni(n,T,5)),2&be){let c;S.mGM(c=S.lsd())&&(D._steps=c),S.mGM(c=S.lsd())&&(D._stepHeader=c)}},inputs:{linear:[2,"linear","linear",S.L39],selectedIndex:[2,"selectedIndex","selectedIndex",S.Udg],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],features:[S.GFd]})}}return ae})(),Z=(()=>{class ae{constructor(ue){this._stepper=ue,this.type="submit"}static{this.\u0275fac=function(be){return new(be||ae)(S.rXU($))}}static{this.\u0275dir=S.FsC({type:ae,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(be,D){1&be&&S.bIt("click",function(){return D._stepper.next()}),2&be&&S.Mr5("type",D.type)},inputs:{type:"type"}})}}return ae})(),ie=(()=>{class ae{constructor(ue){this._stepper=ue,this.type="button"}static{this.\u0275fac=function(be){return new(be||ae)(S.rXU($))}}static{this.\u0275dir=S.FsC({type:ae,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(be,D){1&be&&S.bIt("click",function(){return D._stepper.previous()}),2&be&&S.Mr5("type",D.type)},inputs:{type:"type"}})}}return ae})(),ve=(()=>{class ae{static{this.\u0275fac=function(be){return new(be||ae)}}static{this.\u0275mod=S.$C({type:ae})}static{this.\u0275inj=S.G2t({imports:[e.jI]})}}return ae})()},4109:(Ve,ee,p)=>{"use strict";p.d(ee,{Dc:()=>L,Hy:()=>h,NL:()=>ye,Sz:()=>Y,XO:()=>F,a$:()=>U,aI:()=>f,kZ:()=>V,s3:()=>n,xn:()=>ue});var t=p(5024),e=p(4402),C=p(1413),S=p(4412),l=p(7673),x=p(6697),m=p(5964),R=p(6977),d=p(4438),w=p(4085),y=p(8203);class T{constructor(){this.expansionModel=new t.CB(!0)}toggle(_){this.expansionModel.toggle(this._trackByValue(_))}expand(_){this.expansionModel.select(this._trackByValue(_))}collapse(_){this.expansionModel.deselect(this._trackByValue(_))}isExpanded(_){return this.expansionModel.isSelected(this._trackByValue(_))}toggleDescendants(_){this.expansionModel.isSelected(this._trackByValue(_))?this.collapseDescendants(_):this.expandDescendants(_)}collapseAll(){this.expansionModel.clear()}expandDescendants(_){let r=[_];r.push(...this.getDescendants(_)),this.expansionModel.select(...r.map(v=>this._trackByValue(v)))}collapseDescendants(_){let r=[_];r.push(...this.getDescendants(_)),this.expansionModel.deselect(...r.map(v=>this._trackByValue(v)))}_trackByValue(_){return this.trackBy?this.trackBy(_):_}}class F extends T{constructor(_,r){super(),this.getChildren=_,this.options=r,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const _=this.dataNodes.reduce((r,v)=>[...r,...this.getDescendants(v),v],[]);this.expansionModel.select(..._.map(r=>this._trackByValue(r)))}getDescendants(_){const r=[];return this._getDescendants(r,_),r.splice(1)}_getDescendants(_,r){_.push(r);const v=this.getChildren(r);Array.isArray(v)?v.forEach(z=>this._getDescendants(_,z)):(0,e.A)(v)&&v.pipe((0,x.s)(1),(0,m.p)(Boolean)).subscribe(z=>{for(const N of z)this._getDescendants(_,N)})}}const V=new d.nKC("CDK_TREE_NODE_OUTLET_NODE");let U=(()=>{class O{constructor(r,v){this.viewContainer=r,this._node=v}static{this.\u0275fac=function(v){return new(v||O)(d.rXU(d.c1b),d.rXU(V,8))}}static{this.\u0275dir=d.FsC({type:O,selectors:[["","cdkTreeNodeOutlet",""]]})}}return O})();class G{constructor(_){this.$implicit=_}}let Y=(()=>{class O{constructor(r){this.template=r}static{this.\u0275fac=function(v){return new(v||O)(d.rXU(d.C4Q))}}static{this.\u0275dir=d.FsC({type:O,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]}})}}return O})(),ye=(()=>{class O{get dataSource(){return this._dataSource}set dataSource(r){this._dataSource!==r&&this._switchDataSource(r)}constructor(r,v){this._differs=r,this._changeDetectorRef=v,this._onDestroy=new C.B,this._levels=new Map,this.viewChange=new S.t({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(v=>!v.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,t.y4)(this._dataSource)?r=this._dataSource.connect(this):(0,e.A)(this._dataSource)?r=this._dataSource:Array.isArray(this._dataSource)&&(r=(0,l.of)(this._dataSource)),r&&(this._dataSubscription=r.pipe((0,R.Q)(this._onDestroy)).subscribe(v=>this.renderNodeChanges(v)))}renderNodeChanges(r,v=this._dataDiffer,z=this._nodeOutlet.viewContainer,N){const ne=v.diff(r);ne&&(ne.forEachOperation((Ie,at,Ye)=>{if(null==Ie.previousIndex)this.insertNode(r[Ye],Ye,z,N);else if(null==Ye)z.remove(at),this._levels.delete(Ie.item);else{const rt=z.get(at);z.move(rt,Ye)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(r,v){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(N=>N.when&&N.when(v,r))||this._defaultNodeDef}insertNode(r,v,z,N){const ne=this._getNodeDef(r,v),Ie=new G(r);Ie.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,Ie.level),(z||this._nodeOutlet.viewContainer).createEmbeddedView(ne.template,Ie,v),ue.mostRecentTreeNode&&(ue.mostRecentTreeNode.data=r)}static{this.\u0275fac=function(v){return new(v||O)(d.rXU(d._q3),d.rXU(d.gRc))}}static{this.\u0275cmp=d.VBU({type:O,selectors:[["cdk-tree"]],contentQueries:function(v,z,N){if(1&v&&d.wni(N,Y,5),2&v){let ne;d.mGM(ne=d.lsd())&&(z._nodeDefs=ne)}},viewQuery:function(v,z){if(1&v&&d.GBs(U,7),2&v){let N;d.mGM(N=d.lsd())&&(z._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(v,z){1&v&&d.eu8(0,0)},dependencies:[U],encapsulation:2})}}return O})(),ue=(()=>{class O{get role(){return"treeitem"}set role(r){this._elementRef.nativeElement.setAttribute("role",r)}static{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,v){this._elementRef=r,this._tree=v,this._destroyed=new C.B,this._dataChanges=new C.B,O.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function be(O){let _=O.parentElement;for(;_&&!D(_);)_=_.parentElement;return _?_.classList.contains("cdk-nested-tree-node")?(0,w.OE)(_.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){O.mostRecentTreeNode===this&&(O.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}static{this.\u0275fac=function(v){return new(v||O)(d.rXU(d.aKT),d.rXU(ye))}}static{this.\u0275dir=d.FsC({type:O,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(v,z){2&v&&d.BMQ("aria-expanded",z.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]})}}return O})();function D(O){const _=O.classList;return!(!_?.contains("cdk-nested-tree-node")&&!_?.contains("cdk-tree"))}let n=(()=>{class O extends ue{constructor(r,v,z){super(r,v),this._differs=z}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,e.A)(r)&&r.pipe((0,R.Q)(this._destroyed)).subscribe(v=>this.updateChildrenNodes(v)),this.nodeOutlet.changes.pipe((0,R.Q)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(r){const v=this._getNodeOutlet();r&&(this._children=r),v&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,v.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(v=>!v._node||v._node===this)}static{this.\u0275fac=function(v){return new(v||O)(d.rXU(d.aKT),d.rXU(ye),d.rXU(d._q3))}}static{this.\u0275dir=d.FsC({type:O,selectors:[["cdk-nested-tree-node"]],contentQueries:function(v,z,N){if(1&v&&d.wni(N,U,5),2&v){let ne;d.mGM(ne=d.lsd())&&(z.nodeOutlet=ne)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[d.Jv_([{provide:ue,useExisting:O},{provide:V,useExisting:O}]),d.Vt3]})}}return O})();const c=/([A-Za-z%]+)$/;let f=(()=>{class O{get level(){return this._level}set level(r){this._setLevelInput(r)}get indent(){return this._indent}set indent(r){this._setIndentInput(r)}constructor(r,v,z,N){this._treeNode=r,this._tree=v,this._element=z,this._dir=N,this._destroyed=new C.B,this.indentUnits="px",this._indent=40,this._setPadding(),N&&N.change.pipe((0,R.Q)(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,v=null==this._level?r:this._level;return"number"==typeof v?`${v*this._indent}${this.indentUnits}`:null}_setPadding(r=!1){const v=this._paddingIndent();if(v!==this._currentPadding||r){const z=this._element.nativeElement,N=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",ne="paddingLeft"===N?"paddingRight":"paddingLeft";z.style[N]=v||"",z.style[ne]="",this._currentPadding=v}}_setLevelInput(r){this._level=(0,w.OE)(r,null),this._setPadding()}_setIndentInput(r){let v=r,z="px";if("string"==typeof r){const N=r.split(c);v=N[0],z=N[1]||z}this.indentUnits=z,this._indent=(0,w.OE)(v),this._setPadding()}static{this.\u0275fac=function(v){return new(v||O)(d.rXU(ue),d.rXU(ye),d.rXU(d.aKT),d.rXU(y.dS,8))}}static{this.\u0275dir=d.FsC({type:O,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[0,"cdkTreeNodePadding","level"],indent:[0,"cdkTreeNodePaddingIndent","indent"]}})}}return O})(),h=(()=>{class O{get recursive(){return this._recursive}set recursive(r){this._recursive=(0,w.he)(r)}constructor(r,v){this._tree=r,this._treeNode=v,this._recursive=!1}_toggle(r){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),r.stopPropagation()}static{this.\u0275fac=function(v){return new(v||O)(d.rXU(ye),d.rXU(ue))}}static{this.\u0275dir=d.FsC({type:O,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(v,z){1&v&&d.bIt("click",function(ne){return z._toggle(ne)})},inputs:{recursive:[0,"cdkTreeNodeToggleRecursive","recursive"]}})}}return O})(),L=(()=>{class O{static{this.\u0275fac=function(v){return new(v||O)}}static{this.\u0275mod=d.$C({type:O})}static{this.\u0275inj=d.G2t({})}}return O})()},177:(Ve,ee,p)=>{"use strict";p.d(ee,{AJ:()=>Po,B3:()=>Oi,GH:()=>ar,Jj:()=>nr,MD:()=>ho,N0:()=>Nr,P9:()=>Ma,PV:()=>or,Pc:()=>na,QT:()=>C,QX:()=>xo,Sm:()=>U,Sq:()=>Bt,T3:()=>Yt,TG:()=>Ia,UE:()=>no,VF:()=>l,Vy:()=>Ea,Xr:()=>Ra,YU:()=>_n,ZD:()=>S,_b:()=>$i,aZ:()=>Y,bT:()=>Ae,e1:()=>Hn,fG:()=>On,fw:()=>G,hb:()=>F,hj:()=>d,lG:()=>io,qQ:()=>m,ux:()=>Dn,vh:()=>yo});var t=p(4438);let e=null;function C(){return e}function S(J){e??=J}class l{}const m=new t.nKC("");let R=(()=>{class J{historyGo(Te){throw new Error("")}static{this.\u0275fac=function(Ge){return new(Ge||J)}}static{this.\u0275prov=t.jDH({token:J,factory:()=>(0,t.WQX)(w),providedIn:"platform"})}}return J})();const d=new t.nKC("");let w=(()=>{class J extends R{constructor(){super(),this._doc=(0,t.WQX)(m),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return C().getBaseHref(this._doc)}onPopState(Te){const Ge=C().getGlobalEventTarget(this._doc,"window");return Ge.addEventListener("popstate",Te,!1),()=>Ge.removeEventListener("popstate",Te)}onHashChange(Te){const Ge=C().getGlobalEventTarget(this._doc,"window");return Ge.addEventListener("hashchange",Te,!1),()=>Ge.removeEventListener("hashchange",Te)}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(Te){this._location.pathname=Te}pushState(Te,Ge,St){this._history.pushState(Te,Ge,St)}replaceState(Te,Ge,St){this._history.replaceState(Te,Ge,St)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Te=0){this._history.go(Te)}getState(){return this._history.state}static{this.\u0275fac=function(Ge){return new(Ge||J)}}static{this.\u0275prov=t.jDH({token:J,factory:()=>new J,providedIn:"platform"})}}return J})();function y(J,He){if(0==J.length)return He;if(0==He.length)return J;let Te=0;return J.endsWith("/")&&Te++,He.startsWith("/")&&Te++,2==Te?J+He.substring(1):1==Te?J+He:J+"/"+He}function T(J){const He=J.match(/#|\?|$/),Te=He&&He.index||J.length;return J.slice(0,Te-("/"===J[Te-1]?1:0))+J.slice(Te)}function k(J){return J&&"?"!==J[0]?"?"+J:J}let F=(()=>{class J{historyGo(Te){throw new Error("")}static{this.\u0275fac=function(Ge){return new(Ge||J)}}static{this.\u0275prov=t.jDH({token:J,factory:()=>(0,t.WQX)(U),providedIn:"root"})}}return J})();const V=new t.nKC("");let U=(()=>{class J extends F{constructor(Te,Ge){super(),this._platformLocation=Te,this._removeListenerFns=[],this._baseHref=Ge??this._platformLocation.getBaseHrefFromDOM()??(0,t.WQX)(m).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Te){this._removeListenerFns.push(this._platformLocation.onPopState(Te),this._platformLocation.onHashChange(Te))}getBaseHref(){return this._baseHref}prepareExternalUrl(Te){return y(this._baseHref,Te)}path(Te=!1){const Ge=this._platformLocation.pathname+k(this._platformLocation.search),St=this._platformLocation.hash;return St&&Te?`${Ge}${St}`:Ge}pushState(Te,Ge,St,qt){const hi=this.prepareExternalUrl(St+k(qt));this._platformLocation.pushState(Te,Ge,hi)}replaceState(Te,Ge,St,qt){const hi=this.prepareExternalUrl(St+k(qt));this._platformLocation.replaceState(Te,Ge,hi)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Te=0){this._platformLocation.historyGo?.(Te)}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.KVO(R),t.KVO(V,8))}}static{this.\u0275prov=t.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}}return J})(),G=(()=>{class J extends F{constructor(Te,Ge){super(),this._platformLocation=Te,this._baseHref="",this._removeListenerFns=[],null!=Ge&&(this._baseHref=Ge)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Te){this._removeListenerFns.push(this._platformLocation.onPopState(Te),this._platformLocation.onHashChange(Te))}getBaseHref(){return this._baseHref}path(Te=!1){const Ge=this._platformLocation.hash??"#";return Ge.length>0?Ge.substring(1):Ge}prepareExternalUrl(Te){const Ge=y(this._baseHref,Te);return Ge.length>0?"#"+Ge:Ge}pushState(Te,Ge,St,qt){let hi=this.prepareExternalUrl(St+k(qt));0==hi.length&&(hi=this._platformLocation.pathname),this._platformLocation.pushState(Te,Ge,hi)}replaceState(Te,Ge,St,qt){let hi=this.prepareExternalUrl(St+k(qt));0==hi.length&&(hi=this._platformLocation.pathname),this._platformLocation.replaceState(Te,Ge,hi)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Te=0){this._platformLocation.historyGo?.(Te)}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.KVO(R),t.KVO(V,8))}}static{this.\u0275prov=t.jDH({token:J,factory:J.\u0275fac})}}return J})(),Y=(()=>{class J{constructor(Te){this._subject=new t.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Te;const Ge=this._locationStrategy.getBaseHref();this._basePath=function ve(J){if(new RegExp("^(https?:)?//").test(J)){const[,Te]=J.split(/\/\/[^\/]+/);return Te}return J}(T(ie(Ge))),this._locationStrategy.onPopState(St=>{this._subject.emit({url:this.path(!0),pop:!0,state:St.state,type:St.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Te=!1){return this.normalize(this._locationStrategy.path(Te))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Te,Ge=""){return this.path()==this.normalize(Te+k(Ge))}normalize(Te){return J.stripTrailingSlash(function Z(J,He){if(!J||!He.startsWith(J))return He;const Te=He.substring(J.length);return""===Te||["/",";","?","#"].includes(Te[0])?Te:He}(this._basePath,ie(Te)))}prepareExternalUrl(Te){return Te&&"/"!==Te[0]&&(Te="/"+Te),this._locationStrategy.prepareExternalUrl(Te)}go(Te,Ge="",St=null){this._locationStrategy.pushState(St,"",Te,Ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(Te+k(Ge)),St)}replaceState(Te,Ge="",St=null){this._locationStrategy.replaceState(St,"",Te,Ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(Te+k(Ge)),St)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Te=0){this._locationStrategy.historyGo?.(Te)}onUrlChange(Te){return this._urlChangeListeners.push(Te),this._urlChangeSubscription??=this.subscribe(Ge=>{this._notifyUrlChangeListeners(Ge.url,Ge.state)}),()=>{const Ge=this._urlChangeListeners.indexOf(Te);this._urlChangeListeners.splice(Ge,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Te="",Ge){this._urlChangeListeners.forEach(St=>St(Te,Ge))}subscribe(Te,Ge,St){return this._subject.subscribe({next:Te,error:Ge,complete:St})}static{this.normalizeQueryParams=k}static{this.joinWithSlash=y}static{this.stripTrailingSlash=T}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.KVO(F))}}static{this.\u0275prov=t.jDH({token:J,factory:()=>function $(){return new Y((0,t.KVO)(F))}(),providedIn:"root"})}}return J})();function ie(J){return J.replace(/\/index.html$/,"")}var ye=function(J){return J[J.Decimal=0]="Decimal",J[J.Percent=1]="Percent",J[J.Currency=2]="Currency",J[J.Scientific=3]="Scientific",J}(ye||{}),be=function(J){return J[J.Format=0]="Format",J[J.Standalone=1]="Standalone",J}(be||{}),D=function(J){return J[J.Narrow=0]="Narrow",J[J.Abbreviated=1]="Abbreviated",J[J.Wide=2]="Wide",J[J.Short=3]="Short",J}(D||{}),n=function(J){return J[J.Short=0]="Short",J[J.Medium=1]="Medium",J[J.Long=2]="Long",J[J.Full=3]="Full",J}(n||{});const c={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function z(J,He){return se((0,t.H5H)(J)[t.KH2.DateFormat],He)}function N(J,He){return se((0,t.H5H)(J)[t.KH2.TimeFormat],He)}function ne(J,He){return se((0,t.H5H)(J)[t.KH2.DateTimeFormat],He)}function Ie(J,He){const Te=(0,t.H5H)(J),Ge=Te[t.KH2.NumberSymbols][He];if(typeof Ge>"u"){if(He===c.CurrencyDecimal)return Te[t.KH2.NumberSymbols][c.Decimal];if(He===c.CurrencyGroup)return Te[t.KH2.NumberSymbols][c.Group]}return Ge}function _e(J){if(!J[t.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${J[t.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function se(J,He){for(let Te=He;Te>-1;Te--)if(typeof J[Te]<"u")return J[Te];throw new Error("Locale data API: locale data undefined")}function fe(J){const[He,Te]=J.split(":");return{hours:+He,minutes:+Te}}const Ct=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,_t={},Nt=/((?:[^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 ke=function(J){return J[J.Short=0]="Short",J[J.ShortGMT=1]="ShortGMT",J[J.Long=2]="Long",J[J.Extended=3]="Extended",J}(ke||{}),Je=function(J){return J[J.FullYear=0]="FullYear",J[J.Month=1]="Month",J[J.Date=2]="Date",J[J.Hours=3]="Hours",J[J.Minutes=4]="Minutes",J[J.Seconds=5]="Seconds",J[J.FractionalSeconds=6]="FractionalSeconds",J[J.Day=7]="Day",J}(Je||{}),Qe=function(J){return J[J.DayPeriods=0]="DayPeriods",J[J.Days=1]="Days",J[J.Months=2]="Months",J[J.Eras=3]="Eras",J}(Qe||{});function nt(J,He,Te,Ge){let St=function Oe(J){if(De(J))return J;if("number"==typeof J&&!isNaN(J))return new Date(J);if("string"==typeof J){if(J=J.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(J)){const[St,qt=1,hi=1]=J.split("-").map(Si=>+Si);return Ue(St,qt-1,hi)}const Te=parseFloat(J);if(!isNaN(J-Te))return new Date(Te);let Ge;if(Ge=J.match(Ct))return function we(J){const He=new Date(0);let Te=0,Ge=0;const St=J[8]?He.setUTCFullYear:He.setFullYear,qt=J[8]?He.setUTCHours:He.setHours;J[9]&&(Te=Number(J[9]+J[10]),Ge=Number(J[9]+J[11])),St.call(He,Number(J[1]),Number(J[2])-1,Number(J[3]));const hi=Number(J[4]||0)-Te,Si=Number(J[5]||0)-Ge,tn=Number(J[6]||0),pn=Math.floor(1e3*parseFloat("0."+(J[7]||0)));return qt.call(He,hi,Si,tn,pn),He}(Ge)}const He=new Date(J);if(!De(He))throw new Error(`Unable to convert "${J}" into a date`);return He}(J);He=ht(Te,He)||He;let Si,hi=[];for(;He;){if(Si=Nt.exec(He),!Si){hi.push(He);break}{hi=hi.concat(Si.slice(1));const yn=hi.pop();if(!yn)break;He=yn}}let tn=St.getTimezoneOffset();Ge&&(tn=Me(Ge,tn),St=function Pe(J,He,Te){const Ge=Te?-1:1,St=J.getTimezoneOffset();return function Xe(J,He){return(J=new Date(J.getTime())).setMinutes(J.getMinutes()+He),J}(J,Ge*(Me(He,St)-St))}(St,Ge,!0));let pn="";return hi.forEach(yn=>{const An=function ce(J){if(xe[J])return xe[J];let He;switch(J){case"G":case"GG":case"GGG":He=jt(Qe.Eras,D.Abbreviated);break;case"GGGG":He=jt(Qe.Eras,D.Wide);break;case"GGGGG":He=jt(Qe.Eras,D.Narrow);break;case"y":He=vt(Je.FullYear,1,0,!1,!0);break;case"yy":He=vt(Je.FullYear,2,0,!0,!0);break;case"yyy":He=vt(Je.FullYear,3,0,!1,!0);break;case"yyyy":He=vt(Je.FullYear,4,0,!1,!0);break;case"Y":He=me(1);break;case"YY":He=me(2,!0);break;case"YYY":He=me(3);break;case"YYYY":He=me(4);break;case"M":case"L":He=vt(Je.Month,1,1);break;case"MM":case"LL":He=vt(Je.Month,2,1);break;case"MMM":He=jt(Qe.Months,D.Abbreviated);break;case"MMMM":He=jt(Qe.Months,D.Wide);break;case"MMMMM":He=jt(Qe.Months,D.Narrow);break;case"LLL":He=jt(Qe.Months,D.Abbreviated,be.Standalone);break;case"LLLL":He=jt(Qe.Months,D.Wide,be.Standalone);break;case"LLLLL":He=jt(Qe.Months,D.Narrow,be.Standalone);break;case"w":He=je(1);break;case"ww":He=je(2);break;case"W":He=je(1,!0);break;case"d":He=vt(Je.Date,1);break;case"dd":He=vt(Je.Date,2);break;case"c":case"cc":He=vt(Je.Day,1);break;case"ccc":He=jt(Qe.Days,D.Abbreviated,be.Standalone);break;case"cccc":He=jt(Qe.Days,D.Wide,be.Standalone);break;case"ccccc":He=jt(Qe.Days,D.Narrow,be.Standalone);break;case"cccccc":He=jt(Qe.Days,D.Short,be.Standalone);break;case"E":case"EE":case"EEE":He=jt(Qe.Days,D.Abbreviated);break;case"EEEE":He=jt(Qe.Days,D.Wide);break;case"EEEEE":He=jt(Qe.Days,D.Narrow);break;case"EEEEEE":He=jt(Qe.Days,D.Short);break;case"a":case"aa":case"aaa":He=jt(Qe.DayPeriods,D.Abbreviated);break;case"aaaa":He=jt(Qe.DayPeriods,D.Wide);break;case"aaaaa":He=jt(Qe.DayPeriods,D.Narrow);break;case"b":case"bb":case"bbb":He=jt(Qe.DayPeriods,D.Abbreviated,be.Standalone,!0);break;case"bbbb":He=jt(Qe.DayPeriods,D.Wide,be.Standalone,!0);break;case"bbbbb":He=jt(Qe.DayPeriods,D.Narrow,be.Standalone,!0);break;case"B":case"BB":case"BBB":He=jt(Qe.DayPeriods,D.Abbreviated,be.Format,!0);break;case"BBBB":He=jt(Qe.DayPeriods,D.Wide,be.Format,!0);break;case"BBBBB":He=jt(Qe.DayPeriods,D.Narrow,be.Format,!0);break;case"h":He=vt(Je.Hours,1,-12);break;case"hh":He=vt(Je.Hours,2,-12);break;case"H":He=vt(Je.Hours,1);break;case"HH":He=vt(Je.Hours,2);break;case"m":He=vt(Je.Minutes,1);break;case"mm":He=vt(Je.Minutes,2);break;case"s":He=vt(Je.Seconds,1);break;case"ss":He=vt(Je.Seconds,2);break;case"S":He=vt(Je.FractionalSeconds,1);break;case"SS":He=vt(Je.FractionalSeconds,2);break;case"SSS":He=vt(Je.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":He=dt(ke.Short);break;case"ZZZZZ":He=dt(ke.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":He=dt(ke.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":He=dt(ke.Long);break;default:return null}return xe[J]=He,He}(yn);pn+=An?An(St,Te,tn):"''"===yn?"'":yn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),pn}function Ue(J,He,Te){const Ge=new Date(0);return Ge.setFullYear(J,He,Te),Ge.setHours(0,0,0),Ge}function ht(J,He){const Te=function h(J){return(0,t.H5H)(J)[t.KH2.LocaleId]}(J);if(_t[Te]??={},_t[Te][He])return _t[Te][He];let Ge="";switch(He){case"shortDate":Ge=z(J,n.Short);break;case"mediumDate":Ge=z(J,n.Medium);break;case"longDate":Ge=z(J,n.Long);break;case"fullDate":Ge=z(J,n.Full);break;case"shortTime":Ge=N(J,n.Short);break;case"mediumTime":Ge=N(J,n.Medium);break;case"longTime":Ge=N(J,n.Long);break;case"fullTime":Ge=N(J,n.Full);break;case"short":const St=ht(J,"shortTime"),qt=ht(J,"shortDate");Ge=tt(ne(J,n.Short),[St,qt]);break;case"medium":const hi=ht(J,"mediumTime"),Si=ht(J,"mediumDate");Ge=tt(ne(J,n.Medium),[hi,Si]);break;case"long":const tn=ht(J,"longTime"),pn=ht(J,"longDate");Ge=tt(ne(J,n.Long),[tn,pn]);break;case"full":const yn=ht(J,"fullTime"),An=ht(J,"fullDate");Ge=tt(ne(J,n.Full),[yn,An])}return Ge&&(_t[Te][He]=Ge),Ge}function tt(J,He){return He&&(J=J.replace(/\{([^}]+)}/g,function(Te,Ge){return null!=He&&Ge in He?He[Ge]:Te})),J}function wt(J,He,Te="-",Ge,St){let qt="";(J<0||St&&J<=0)&&(St?J=1-J:(J=-J,qt=Te));let hi=String(J);for(;hi.length<He;)hi="0"+hi;return Ge&&(hi=hi.slice(hi.length-He)),qt+hi}function vt(J,He,Te=0,Ge=!1,St=!1){return function(qt,hi){let Si=function Ze(J,He){switch(J){case Je.FullYear:return He.getFullYear();case Je.Month:return He.getMonth();case Je.Date:return He.getDate();case Je.Hours:return He.getHours();case Je.Minutes:return He.getMinutes();case Je.Seconds:return He.getSeconds();case Je.FractionalSeconds:return He.getMilliseconds();case Je.Day:return He.getDay();default:throw new Error(`Unknown DateType value "${J}".`)}}(J,qt);if((Te>0||Si>-Te)&&(Si+=Te),J===Je.Hours)0===Si&&-12===Te&&(Si=12);else if(J===Je.FractionalSeconds)return function ut(J,He){return wt(J,3).substring(0,He)}(Si,He);const tn=Ie(hi,c.MinusSign);return wt(Si,He,tn,Ge,St)}}function jt(J,He,Te=be.Format,Ge=!1){return function(St,qt){return function qe(J,He,Te,Ge,St,qt){switch(Te){case Qe.Months:return function O(J,He,Te){const Ge=(0,t.H5H)(J),qt=se([Ge[t.KH2.MonthsFormat],Ge[t.KH2.MonthsStandalone]],He);return se(qt,Te)}(He,St,Ge)[J.getMonth()];case Qe.Days:return function L(J,He,Te){const Ge=(0,t.H5H)(J),qt=se([Ge[t.KH2.DaysFormat],Ge[t.KH2.DaysStandalone]],He);return se(qt,Te)}(He,St,Ge)[J.getDay()];case Qe.DayPeriods:const hi=J.getHours(),Si=J.getMinutes();if(qt){const pn=function de(J){const He=(0,t.H5H)(J);return _e(He),(He[t.KH2.ExtraData][2]||[]).map(Ge=>"string"==typeof Ge?fe(Ge):[fe(Ge[0]),fe(Ge[1])])}(He),yn=function pe(J,He,Te){const Ge=(0,t.H5H)(J);_e(Ge);const qt=se([Ge[t.KH2.ExtraData][0],Ge[t.KH2.ExtraData][1]],He)||[];return se(qt,Te)||[]}(He,St,Ge),An=pn.findIndex(hr=>{if(Array.isArray(hr)){const[er,yr]=hr,gr=hi>=er.hours&&Si>=er.minutes,Mr=hi<yr.hours||hi===yr.hours&&Si<yr.minutes;if(er.hours<yr.hours){if(gr&&Mr)return!0}else if(gr||Mr)return!0}else if(hr.hours===hi&&hr.minutes===Si)return!0;return!1});if(-1!==An)return yn[An]}return function M(J,He,Te){const Ge=(0,t.H5H)(J),qt=se([Ge[t.KH2.DayPeriodsFormat],Ge[t.KH2.DayPeriodsStandalone]],He);return se(qt,Te)}(He,St,Ge)[hi<12?0:1];case Qe.Eras:return function _(J,He){return se((0,t.H5H)(J)[t.KH2.Eras],He)}(He,Ge)[J.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Te}`)}}(St,qt,J,He,Te,Ge)}}function dt(J){return function(He,Te,Ge){const St=-1*Ge,qt=Ie(Te,c.MinusSign),hi=St>0?Math.floor(St/60):Math.ceil(St/60);switch(J){case ke.Short:return(St>=0?"+":"")+wt(hi,2,qt)+wt(Math.abs(St%60),2,qt);case ke.ShortGMT:return"GMT"+(St>=0?"+":"")+wt(hi,1,qt);case ke.Long:return"GMT"+(St>=0?"+":"")+wt(hi,2,qt)+":"+wt(Math.abs(St%60),2,qt);case ke.Extended:return 0===Ge?"Z":(St>=0?"+":"")+wt(hi,2,qt)+":"+wt(Math.abs(St%60),2,qt);default:throw new Error(`Unknown zone width "${J}"`)}}}const Le=0,Vt=4;function Et(J){const He=J.getDay(),Te=0===He?-3:Vt-He;return Ue(J.getFullYear(),J.getMonth(),J.getDate()+Te)}function je(J,He=!1){return function(Te,Ge){let St;if(He){const qt=new Date(Te.getFullYear(),Te.getMonth(),1).getDay()-1,hi=Te.getDate();St=1+Math.floor((hi+qt)/7)}else{const qt=Et(Te),hi=function Zt(J){const He=Ue(J,Le,1).getDay();return Ue(J,0,1+(He<=Vt?Vt:Vt+7)-He)}(qt.getFullYear()),Si=qt.getTime()-hi.getTime();St=1+Math.round(Si/6048e5)}return wt(St,J,Ie(Ge,c.MinusSign))}}function me(J,He=!1){return function(Te,Ge){return wt(Et(Te).getFullYear(),J,Ie(Ge,c.MinusSign),He)}}const xe={};function Me(J,He){J=J.replace(/:/g,"");const Te=Date.parse("Jan 01, 1970 00:00:00 "+J)/6e4;return isNaN(Te)?He:Te}function De(J){return J instanceof Date&&!isNaN(J.valueOf())}const $e=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Mt(J){const He=parseInt(J);if(isNaN(He))throw new Error("Invalid integer literal when parsing "+J);return He}function $i(J,He){He=encodeURIComponent(He);for(const Te of J.split(";")){const Ge=Te.indexOf("="),[St,qt]=-1==Ge?[Te,""]:[Te.slice(0,Ge),Te.slice(Ge+1)];if(St.trim()===He)return decodeURIComponent(qt)}return null}const hn=/\s+/,Fi=[];let _n=(()=>{class J{constructor(Te,Ge){this._ngEl=Te,this._renderer=Ge,this.initialClasses=Fi,this.stateMap=new Map}set klass(Te){this.initialClasses=null!=Te?Te.trim().split(hn):Fi}set ngClass(Te){this.rawClass="string"==typeof Te?Te.trim().split(hn):Te}ngDoCheck(){for(const Ge of this.initialClasses)this._updateState(Ge,!0);const Te=this.rawClass;if(Array.isArray(Te)||Te instanceof Set)for(const Ge of Te)this._updateState(Ge,!0);else if(null!=Te)for(const Ge of Object.keys(Te))this._updateState(Ge,!!Te[Ge]);this._applyStateDiff()}_updateState(Te,Ge){const St=this.stateMap.get(Te);void 0!==St?(St.enabled!==Ge&&(St.changed=!0,St.enabled=Ge),St.touched=!0):this.stateMap.set(Te,{enabled:Ge,changed:!0,touched:!0})}_applyStateDiff(){for(const Te of this.stateMap){const Ge=Te[0],St=Te[1];St.changed?(this._toggleClass(Ge,St.enabled),St.changed=!1):St.touched||(St.enabled&&this._toggleClass(Ge,!1),this.stateMap.delete(Ge)),St.touched=!1}}_toggleClass(Te,Ge){(Te=Te.trim()).length>0&&Te.split(hn).forEach(St=>{Ge?this._renderer.addClass(this._ngEl.nativeElement,St):this._renderer.removeClass(this._ngEl.nativeElement,St)})}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.rXU(t.aKT),t.rXU(t.sFG))}}static{this.\u0275dir=t.FsC({type:J,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return J})();class ct{constructor(He,Te,Ge,St){this.$implicit=He,this.ngForOf=Te,this.index=Ge,this.count=St}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 Bt=(()=>{class J{set ngForOf(Te){this._ngForOf=Te,this._ngForOfDirty=!0}set ngForTrackBy(Te){this._trackByFn=Te}get ngForTrackBy(){return this._trackByFn}constructor(Te,Ge,St){this._viewContainer=Te,this._template=Ge,this._differs=St,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Te){Te&&(this._template=Te)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Te=this._ngForOf;!this._differ&&Te&&(this._differ=this._differs.find(Te).create(this.ngForTrackBy))}if(this._differ){const Te=this._differ.diff(this._ngForOf);Te&&this._applyChanges(Te)}}_applyChanges(Te){const Ge=this._viewContainer;Te.forEachOperation((St,qt,hi)=>{if(null==St.previousIndex)Ge.createEmbeddedView(this._template,new ct(St.item,this._ngForOf,-1,-1),null===hi?void 0:hi);else if(null==hi)Ge.remove(null===qt?void 0:qt);else if(null!==qt){const Si=Ge.get(qt);Ge.move(Si,hi),q(Si,St)}});for(let St=0,qt=Ge.length;St<qt;St++){const Si=Ge.get(St).context;Si.index=St,Si.count=qt,Si.ngForOf=this._ngForOf}Te.forEachIdentityChange(St=>{q(Ge.get(St.currentIndex),St)})}static ngTemplateContextGuard(Te,Ge){return!0}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.rXU(t.c1b),t.rXU(t.C4Q),t.rXU(t._q3))}}static{this.\u0275dir=t.FsC({type:J,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return J})();function q(J,He){J.context.$implicit=He.item}let Ae=(()=>{class J{constructor(Te,Ge){this._viewContainer=Te,this._context=new mt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ge}set ngIf(Te){this._context.$implicit=this._context.ngIf=Te,this._updateView()}set ngIfThen(Te){It("ngIfThen",Te),this._thenTemplateRef=Te,this._thenViewRef=null,this._updateView()}set ngIfElse(Te){It("ngIfElse",Te),this._elseTemplateRef=Te,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(Te,Ge){return!0}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.rXU(t.c1b),t.rXU(t.C4Q))}}static{this.\u0275dir=t.FsC({type:J,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return J})();class mt{constructor(){this.$implicit=null,this.ngIf=null}}function It(J,He){if(He&&!He.createEmbeddedView)throw new Error(`${J} must be a TemplateRef, but received '${(0,t.Tbb)(He)}'.`)}class un{constructor(He,Te){this._viewContainerRef=He,this._templateRef=Te,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(He){He&&!this._created?this.create():!He&&this._created&&this.destroy()}}let Dn=(()=>{class J{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Te){this._ngSwitch=Te,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Te){this._defaultViews.push(Te)}_matchCase(Te){const Ge=Te===this._ngSwitch;return this._lastCasesMatched||=Ge,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ge}_updateDefaultCases(Te){if(this._defaultViews.length>0&&Te!==this._defaultUsed){this._defaultUsed=Te;for(const Ge of this._defaultViews)Ge.enforceState(Te)}}static{this.\u0275fac=function(Ge){return new(Ge||J)}}static{this.\u0275dir=t.FsC({type:J,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return J})(),Hn=(()=>{class J{constructor(Te,Ge,St){this.ngSwitch=St,St._addCase(),this._view=new un(Te,Ge)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.rXU(t.c1b),t.rXU(t.C4Q),t.rXU(Dn,9))}}static{this.\u0275dir=t.FsC({type:J,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return J})(),On=(()=>{class J{constructor(Te,Ge,St){St._addDefault(new un(Te,Ge))}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.rXU(t.c1b),t.rXU(t.C4Q),t.rXU(Dn,9))}}static{this.\u0275dir=t.FsC({type:J,selectors:[["","ngSwitchDefault",""]],standalone:!0})}}return J})(),Oi=(()=>{class J{constructor(Te,Ge,St){this._ngEl=Te,this._differs=Ge,this._renderer=St,this._ngStyle=null,this._differ=null}set ngStyle(Te){this._ngStyle=Te,!this._differ&&Te&&(this._differ=this._differs.find(Te).create())}ngDoCheck(){if(this._differ){const Te=this._differ.diff(this._ngStyle);Te&&this._applyChanges(Te)}}_setStyle(Te,Ge){const[St,qt]=Te.split("."),hi=-1===St.indexOf("-")?void 0:t.czy.DashCase;null!=Ge?this._renderer.setStyle(this._ngEl.nativeElement,St,qt?`${Ge}${qt}`:Ge,hi):this._renderer.removeStyle(this._ngEl.nativeElement,St,hi)}_applyChanges(Te){Te.forEachRemovedItem(Ge=>this._setStyle(Ge.key,null)),Te.forEachAddedItem(Ge=>this._setStyle(Ge.key,Ge.currentValue)),Te.forEachChangedItem(Ge=>this._setStyle(Ge.key,Ge.currentValue))}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.rXU(t.aKT),t.rXU(t.MKu),t.rXU(t.sFG))}}static{this.\u0275dir=t.FsC({type:J,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return J})(),Yt=(()=>{class J{constructor(Te){this._viewContainerRef=Te,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Te){if(this._shouldRecreateView(Te)){const Ge=this._viewContainerRef;if(this._viewRef&&Ge.remove(Ge.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const St=this._createContextForwardProxy();this._viewRef=Ge.createEmbeddedView(this.ngTemplateOutlet,St,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Te){return!!Te.ngTemplateOutlet||!!Te.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Te,Ge,St)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Ge,St),get:(Te,Ge,St)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Ge,St)}})}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.rXU(t.c1b))}}static{this.\u0275dir=t.FsC({type:J,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.OA$]})}}return J})();function li(J,He){return new t.wOt(2100,!1)}class vi{createSubscription(He,Te){return(0,t.O8t)(()=>He.subscribe({next:Te,error:Ge=>{throw Ge}}))}dispose(He){(0,t.O8t)(()=>He.unsubscribe())}}class Ni{createSubscription(He,Te){return He.then(Te,Ge=>{throw Ge})}dispose(He){}}const ji=new Ni,en=new vi;let nr=(()=>{class J{constructor(Te){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Te}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Te){if(!this._obj){if(Te)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Te)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Te!==this._obj?(this._dispose(),this.transform(Te)):this._latestValue}_subscribe(Te){this._obj=Te,this._strategy=this._selectStrategy(Te),this._subscription=this._strategy.createSubscription(Te,Ge=>this._updateLatestValue(Te,Ge))}_selectStrategy(Te){if((0,t.jNT)(Te))return ji;if((0,t.zjR)(Te))return en;throw li()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Te,Ge){Te===this._obj&&(this._latestValue=Ge,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.rXU(t.gRc,16))}}static{this.\u0275pipe=t.EJ8({name:"async",type:J,pure:!1,standalone:!0})}}return J})(),ar=(()=>{class J{transform(Te){if(null==Te)return null;if("string"!=typeof Te)throw li();return Te.toLowerCase()}static{this.\u0275fac=function(Ge){return new(Ge||J)}}static{this.\u0275pipe=t.EJ8({name:"lowercase",type:J,pure:!0,standalone:!0})}}return J})();const tr=/(?:[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 or=(()=>{class J{transform(Te){if(null==Te)return null;if("string"!=typeof Te)throw li();return Te.replace(tr,Ge=>Ge[0].toUpperCase()+Ge.slice(1).toLowerCase())}static{this.\u0275fac=function(Ge){return new(Ge||J)}}static{this.\u0275pipe=t.EJ8({name:"titlecase",type:J,pure:!0,standalone:!0})}}return J})(),na=(()=>{class J{transform(Te){if(null==Te)return null;if("string"!=typeof Te)throw li();return Te.toUpperCase()}static{this.\u0275fac=function(Ge){return new(Ge||J)}}static{this.\u0275pipe=t.EJ8({name:"uppercase",type:J,pure:!0,standalone:!0})}}return J})();const Gr=new t.nKC(""),Uo=new t.nKC("");let yo=(()=>{class J{constructor(Te,Ge,St){this.locale=Te,this.defaultTimezone=Ge,this.defaultOptions=St}transform(Te,Ge,St,qt){if(null==Te||""===Te||Te!=Te)return null;try{return nt(Te,Ge??this.defaultOptions?.dateFormat??"mediumDate",qt||this.locale,St??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(hi){throw li()}}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.rXU(t.xe9,16),t.rXU(Gr,24),t.rXU(Uo,24))}}static{this.\u0275pipe=t.EJ8({name:"date",type:J,pure:!0,standalone:!0})}}return J})(),Ia=(()=>{class J{transform(Te){return JSON.stringify(Te,null,2)}static{this.\u0275fac=function(Ge){return new(Ge||J)}}static{this.\u0275pipe=t.EJ8({name:"json",type:J,pure:!1,standalone:!0})}}return J})(),io=(()=>{class J{constructor(Te){this.differs=Te,this.keyValues=[],this.compareFn=vr}transform(Te,Ge=vr){if(!Te||!(Te instanceof Map)&&"object"!=typeof Te)return null;this.differ??=this.differs.find(Te).create();const St=this.differ.diff(Te),qt=Ge!==this.compareFn;return St&&(this.keyValues=[],St.forEachItem(hi=>{this.keyValues.push(function Qa(J,He){return{key:J,value:He}}(hi.key,hi.currentValue))})),(St||qt)&&(this.keyValues.sort(Ge),this.compareFn=Ge),this.keyValues}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.rXU(t.MKu,16))}}static{this.\u0275pipe=t.EJ8({name:"keyvalue",type:J,pure:!1,standalone:!0})}}return J})();function vr(J,He){const Te=J.key,Ge=He.key;if(Te===Ge)return 0;if(void 0===Te)return 1;if(void 0===Ge)return-1;if(null===Te)return 1;if(null===Ge)return-1;if("string"==typeof Te&&"string"==typeof Ge)return Te<Ge?-1:1;if("number"==typeof Te&&"number"==typeof Ge)return Te-Ge;if("boolean"==typeof Te&&"boolean"==typeof Ge)return Te<Ge?-1:1;const St=String(Te),qt=String(Ge);return St==qt?0:St<qt?-1:1}let xo=(()=>{class J{constructor(Te){this._locale=Te}transform(Te,Ge,St){if(!function ln(J){return!(null==J||""===J||J!=J)}(Te))return null;St||=this._locale;try{return function Li(J,He,Te){return function ui(J,He,Te,Ge,St,qt,hi=!1){let Si="",tn=!1;if(isFinite(J)){let pn=function ii(J){let Ge,St,qt,hi,Si,He=Math.abs(J)+"",Te=0;for((St=He.indexOf("."))>-1&&(He=He.replace(".","")),(qt=He.search(/e/i))>0?(St<0&&(St=qt),St+=+He.slice(qt+1),He=He.substring(0,qt)):St<0&&(St=He.length),qt=0;"0"===He.charAt(qt);qt++);if(qt===(Si=He.length))Ge=[0],St=1;else{for(Si--;"0"===He.charAt(Si);)Si--;for(St-=qt,Ge=[],hi=0;qt<=Si;qt++,hi++)Ge[hi]=Number(He.charAt(qt))}return St>22&&(Ge=Ge.splice(0,21),Te=St-1,St=1),{digits:Ge,exponent:Te,integerLen:St}}(J);hi&&(pn=function st(J){if(0===J.digits[0])return J;const He=J.digits.length-J.integerLen;return J.exponent?J.exponent+=2:(0===He?J.digits.push(0,0):1===He&&J.digits.push(0),J.integerLen+=2),J}(pn));let yn=He.minInt,An=He.minFrac,hr=He.maxFrac;if(qt){const Bn=qt.match($e);if(null===Bn)throw new Error(`${qt} is not a valid digit info`);const zi=Bn[1],an=Bn[3],fr=Bn[5];null!=zi&&(yn=Mt(zi)),null!=an&&(An=Mt(an)),null!=fr?hr=Mt(fr):null!=an&&An>hr&&(hr=An)}!function Se(J,He,Te){if(He>Te)throw new Error(`The minimum number of digits after fraction (${He}) is higher than the maximum (${Te}).`);let Ge=J.digits,St=Ge.length-J.integerLen;const qt=Math.min(Math.max(He,St),Te);let hi=qt+J.integerLen,Si=Ge[hi];if(hi>0){Ge.splice(Math.max(J.integerLen,hi));for(let An=hi;An<Ge.length;An++)Ge[An]=0}else{St=Math.max(0,St),J.integerLen=1,Ge.length=Math.max(1,hi=qt+1),Ge[0]=0;for(let An=1;An<hi;An++)Ge[An]=0}if(Si>=5)if(hi-1<0){for(let An=0;An>hi;An--)Ge.unshift(0),J.integerLen++;Ge.unshift(1),J.integerLen++}else Ge[hi-1]++;for(;St<Math.max(0,qt);St++)Ge.push(0);let tn=0!==qt;const pn=He+J.integerLen,yn=Ge.reduceRight(function(An,hr,er,yr){return yr[er]=(hr+=An)<10?hr:hr-10,tn&&(0===yr[er]&&er>=pn?yr.pop():tn=!1),hr>=10?1:0},0);yn&&(Ge.unshift(yn),J.integerLen++)}(pn,An,hr);let er=pn.digits,yr=pn.integerLen;const gr=pn.exponent;let Mr=[];for(tn=er.every(Bn=>!Bn);yr<yn;yr++)er.unshift(0);for(;yr<0;yr++)er.unshift(0);yr>0?Mr=er.splice(yr,er.length):(Mr=er,er=[0]);const oa=[];for(er.length>=He.lgSize&&oa.unshift(er.splice(-He.lgSize,er.length).join(""));er.length>He.gSize;)oa.unshift(er.splice(-He.gSize,er.length).join(""));er.length&&oa.unshift(er.join("")),Si=oa.join(Ie(Te,Ge)),Mr.length&&(Si+=Ie(Te,St)+Mr.join("")),gr&&(Si+=Ie(Te,c.Exponential)+"+"+gr)}else Si=Ie(Te,c.Infinity);return Si=J<0&&!tn?He.negPre+Si+He.negSuf:He.posPre+Si+He.posSuf,Si}(J,function nn(J,He="-"){const Te={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Ge=J.split(";"),St=Ge[0],qt=Ge[1],hi=-1!==St.indexOf(".")?St.split("."):[St.substring(0,St.lastIndexOf("0")+1),St.substring(St.lastIndexOf("0")+1)],Si=hi[0],tn=hi[1]||"";Te.posPre=Si.substring(0,Si.indexOf("#"));for(let yn=0;yn<tn.length;yn++){const An=tn.charAt(yn);"0"===An?Te.minFrac=Te.maxFrac=yn+1:"#"===An?Te.maxFrac=yn+1:Te.posSuf+=An}const pn=Si.split(",");if(Te.gSize=pn[1]?pn[1].length:0,Te.lgSize=pn[2]||pn[1]?(pn[2]||pn[1]).length:0,qt){const yn=St.length-Te.posPre.length-Te.posSuf.length,An=qt.indexOf("#");Te.negPre=qt.substring(0,An).replace(/'/g,""),Te.negSuf=qt.slice(An+yn).replace(/'/g,"")}else Te.negPre=He+Te.posPre,Te.negSuf=Te.posSuf;return Te}(function at(J,He){return(0,t.H5H)(J)[t.KH2.NumberFormats][He]}(He,ye.Decimal),Ie(He,c.MinusSign)),He,c.Group,c.Decimal,Te)}(function $r(J){if("string"==typeof J&&!isNaN(Number(J)-parseFloat(J)))return Number(J);if("number"!=typeof J)throw new Error(`${J} is not a number`);return J}(Te),St,Ge)}catch(qt){throw li()}}static{this.\u0275fac=function(Ge){return new(Ge||J)(t.rXU(t.xe9,16))}}static{this.\u0275pipe=t.EJ8({name:"number",type:J,pure:!0,standalone:!0})}}return J})();let Ma=(()=>{class J{transform(Te,Ge,St){if(null==Te)return null;if(!this.supports(Te))throw li();return Te.slice(Ge,St)}supports(Te){return"string"==typeof Te||Array.isArray(Te)}static{this.\u0275fac=function(Ge){return new(Ge||J)}}static{this.\u0275pipe=t.EJ8({name:"slice",type:J,pure:!1,standalone:!0})}}return J})(),ho=(()=>{class J{static{this.\u0275fac=function(Ge){return new(Ge||J)}}static{this.\u0275mod=t.$C({type:J})}static{this.\u0275inj=t.G2t({})}}return J})();const Po="browser",Qr="server";function no(J){return J===Po}function Ea(J){return J===Qr}let Ra=(()=>{class J{static{this.\u0275prov=(0,t.jDH)({token:J,providedIn:"root",factory:()=>no((0,t.WQX)(t.Agw))?new wo((0,t.WQX)(m),window):new ma})}}return J})();class wo{constructor(He,Te){this.document=He,this.window=Te,this.offset=()=>[0,0]}setOffset(He){this.offset=Array.isArray(He)?()=>He:He}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(He){this.window.scrollTo(He[0],He[1])}scrollToAnchor(He){const Te=function Lr(J,He){const Te=J.getElementById(He)||J.getElementsByName(He)[0];if(Te)return Te;if("function"==typeof J.createTreeWalker&&J.body&&"function"==typeof J.body.attachShadow){const Ge=J.createTreeWalker(J.body,NodeFilter.SHOW_ELEMENT);let St=Ge.currentNode;for(;St;){const qt=St.shadowRoot;if(qt){const hi=qt.getElementById(He)||qt.querySelector(`[name="${He}"]`);if(hi)return hi}St=Ge.nextNode()}}return null}(this.document,He);Te&&(this.scrollToElement(Te),Te.focus())}setHistoryScrollRestoration(He){this.window.history.scrollRestoration=He}scrollToElement(He){const Te=He.getBoundingClientRect(),Ge=Te.left+this.window.pageXOffset,St=Te.top+this.window.pageYOffset,qt=this.offset();this.window.scrollTo(Ge-qt[0],St-qt[1])}}class ma{setOffset(He){}getScrollPosition(){return[0,0]}scrollToPosition(He){}scrollToAnchor(He){}setHistoryScrollRestoration(He){}}class Nr{}},1626:(Ve,ee,p)=>{"use strict";p.d(ee,{Nl:()=>ve,Qq:()=>ne,a7:()=>We,q1:()=>zt});var t=p(467),e=p(4438),C=p(7673),S=p(1985),l=p(2806),x=p(274),m=p(5964),R=p(6354),d=p(980),w=p(5558),y=p(177);class T{}class k{}class F{constructor(ct){this.normalizedNames=new Map,this.lazyUpdate=null,ct?"string"==typeof ct?this.lazyInit=()=>{this.headers=new Map,ct.split("\n").forEach(Bt=>{const q=Bt.indexOf(":");if(q>0){const it=Bt.slice(0,q),Ae=it.toLowerCase(),mt=Bt.slice(q+1).trim();this.maybeSetNormalizedName(it,Ae),this.headers.has(Ae)?this.headers.get(Ae).push(mt):this.headers.set(Ae,[mt])}})}:typeof Headers<"u"&&ct instanceof Headers?(this.headers=new Map,ct.forEach((Bt,q)=>{this.setHeaderEntries(q,Bt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ct).forEach(([Bt,q])=>{this.setHeaderEntries(Bt,q)})}:this.headers=new Map}has(ct){return this.init(),this.headers.has(ct.toLowerCase())}get(ct){this.init();const Bt=this.headers.get(ct.toLowerCase());return Bt&&Bt.length>0?Bt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ct){return this.init(),this.headers.get(ct.toLowerCase())||null}append(ct,Bt){return this.clone({name:ct,value:Bt,op:"a"})}set(ct,Bt){return this.clone({name:ct,value:Bt,op:"s"})}delete(ct,Bt){return this.clone({name:ct,value:Bt,op:"d"})}maybeSetNormalizedName(ct,Bt){this.normalizedNames.has(Bt)||this.normalizedNames.set(Bt,ct)}init(){this.lazyInit&&(this.lazyInit instanceof F?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ct=>this.applyUpdate(ct)),this.lazyUpdate=null))}copyFrom(ct){ct.init(),Array.from(ct.headers.keys()).forEach(Bt=>{this.headers.set(Bt,ct.headers.get(Bt)),this.normalizedNames.set(Bt,ct.normalizedNames.get(Bt))})}clone(ct){const Bt=new F;return Bt.lazyInit=this.lazyInit&&this.lazyInit instanceof F?this.lazyInit:this,Bt.lazyUpdate=(this.lazyUpdate||[]).concat([ct]),Bt}applyUpdate(ct){const Bt=ct.name.toLowerCase();switch(ct.op){case"a":case"s":let q=ct.value;if("string"==typeof q&&(q=[q]),0===q.length)return;this.maybeSetNormalizedName(ct.name,Bt);const it=("a"===ct.op?this.headers.get(Bt):void 0)||[];it.push(...q),this.headers.set(Bt,it);break;case"d":const Ae=ct.value;if(Ae){let mt=this.headers.get(Bt);if(!mt)return;mt=mt.filter(It=>-1===Ae.indexOf(It)),0===mt.length?(this.headers.delete(Bt),this.normalizedNames.delete(Bt)):this.headers.set(Bt,mt)}else this.headers.delete(Bt),this.normalizedNames.delete(Bt)}}setHeaderEntries(ct,Bt){const q=(Array.isArray(Bt)?Bt:[Bt]).map(Ae=>Ae.toString()),it=ct.toLowerCase();this.headers.set(it,q),this.maybeSetNormalizedName(ct,it)}forEach(ct){this.init(),Array.from(this.normalizedNames.keys()).forEach(Bt=>ct(this.normalizedNames.get(Bt),this.headers.get(Bt)))}}class U{encodeKey(ct){return Z(ct)}encodeValue(ct){return Z(ct)}decodeKey(ct){return decodeURIComponent(ct)}decodeValue(ct){return decodeURIComponent(ct)}}const Y=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Z(Dt){return encodeURIComponent(Dt).replace(Y,(ct,Bt)=>$[Bt]??ct)}function ie(Dt){return`${Dt}`}class ve{constructor(ct={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ct.encoder||new U,ct.fromString){if(ct.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function G(Dt,ct){const Bt=new Map;return Dt.length>0&&Dt.replace(/^\?/,"").split("&").forEach(it=>{const Ae=it.indexOf("="),[mt,It]=-1==Ae?[ct.decodeKey(it),""]:[ct.decodeKey(it.slice(0,Ae)),ct.decodeValue(it.slice(Ae+1))],Ci=Bt.get(mt)||[];Ci.push(It),Bt.set(mt,Ci)}),Bt}(ct.fromString,this.encoder)}else ct.fromObject?(this.map=new Map,Object.keys(ct.fromObject).forEach(Bt=>{const q=ct.fromObject[Bt],it=Array.isArray(q)?q.map(ie):[ie(q)];this.map.set(Bt,it)})):this.map=null}has(ct){return this.init(),this.map.has(ct)}get(ct){this.init();const Bt=this.map.get(ct);return Bt?Bt[0]:null}getAll(ct){return this.init(),this.map.get(ct)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ct,Bt){return this.clone({param:ct,value:Bt,op:"a"})}appendAll(ct){const Bt=[];return Object.keys(ct).forEach(q=>{const it=ct[q];Array.isArray(it)?it.forEach(Ae=>{Bt.push({param:q,value:Ae,op:"a"})}):Bt.push({param:q,value:it,op:"a"})}),this.clone(Bt)}set(ct,Bt){return this.clone({param:ct,value:Bt,op:"s"})}delete(ct,Bt){return this.clone({param:ct,value:Bt,op:"d"})}toString(){return this.init(),this.keys().map(ct=>{const Bt=this.encoder.encodeKey(ct);return this.map.get(ct).map(q=>Bt+"="+this.encoder.encodeValue(q)).join("&")}).filter(ct=>""!==ct).join("&")}clone(ct){const Bt=new ve({encoder:this.encoder});return Bt.cloneFrom=this.cloneFrom||this,Bt.updates=(this.updates||[]).concat(ct),Bt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ct=>this.map.set(ct,this.cloneFrom.map.get(ct))),this.updates.forEach(ct=>{switch(ct.op){case"a":case"s":const Bt=("a"===ct.op?this.map.get(ct.param):void 0)||[];Bt.push(ie(ct.value)),this.map.set(ct.param,Bt);break;case"d":if(void 0===ct.value){this.map.delete(ct.param);break}{let q=this.map.get(ct.param)||[];const it=q.indexOf(ie(ct.value));-1!==it&&q.splice(it,1),q.length>0?this.map.set(ct.param,q):this.map.delete(ct.param)}}}),this.cloneFrom=this.updates=null)}}class ye{constructor(){this.map=new Map}set(ct,Bt){return this.map.set(ct,Bt),this}get(ct){return this.map.has(ct)||this.map.set(ct,ct.defaultValue()),this.map.get(ct)}delete(ct){return this.map.delete(ct),this}has(ct){return this.map.has(ct)}keys(){return this.map.keys()}}function be(Dt){return typeof ArrayBuffer<"u"&&Dt instanceof ArrayBuffer}function D(Dt){return typeof Blob<"u"&&Dt instanceof Blob}function n(Dt){return typeof FormData<"u"&&Dt instanceof FormData}class f{constructor(ct,Bt,q,it){let Ae;if(this.url=Bt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ct.toUpperCase(),function ue(Dt){switch(Dt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||it?(this.body=void 0!==q?q:null,Ae=it):Ae=q,Ae&&(this.reportProgress=!!Ae.reportProgress,this.withCredentials=!!Ae.withCredentials,Ae.responseType&&(this.responseType=Ae.responseType),Ae.headers&&(this.headers=Ae.headers),Ae.context&&(this.context=Ae.context),Ae.params&&(this.params=Ae.params),this.transferCache=Ae.transferCache),this.headers??=new F,this.context??=new ye,this.params){const mt=this.params.toString();if(0===mt.length)this.urlWithParams=Bt;else{const It=Bt.indexOf("?");this.urlWithParams=Bt+(-1===It?"?":It<Bt.length-1?"&":"")+mt}}else this.params=new ve,this.urlWithParams=Bt}serializeBody(){return null===this.body?null:"string"==typeof this.body||be(this.body)||D(this.body)||n(this.body)||function c(Dt){return typeof URLSearchParams<"u"&&Dt instanceof URLSearchParams}(this.body)?this.body:this.body instanceof ve?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:D(this.body)?this.body.type||null:be(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ve?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ct={}){const Bt=ct.method||this.method,q=ct.url||this.url,it=ct.responseType||this.responseType,Ae=ct.transferCache??this.transferCache,mt=void 0!==ct.body?ct.body:this.body,It=ct.withCredentials??this.withCredentials,Ci=ct.reportProgress??this.reportProgress;let un=ct.headers||this.headers,Dn=ct.params||this.params;const Hn=ct.context??this.context;return void 0!==ct.setHeaders&&(un=Object.keys(ct.setHeaders).reduce((On,Xn)=>On.set(Xn,ct.setHeaders[Xn]),un)),ct.setParams&&(Dn=Object.keys(ct.setParams).reduce((On,Xn)=>On.set(Xn,ct.setParams[Xn]),Dn)),new f(Bt,q,mt,{params:Dn,headers:un,context:Hn,reportProgress:Ci,responseType:it,withCredentials:It,transferCache:Ae})}}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 M{constructor(ct,Bt=200,q="OK"){this.headers=ct.headers||new F,this.status=void 0!==ct.status?ct.status:Bt,this.statusText=ct.statusText||q,this.url=ct.url||null,this.ok=this.status>=200&&this.status<300}}class L extends M{constructor(ct={}){super(ct),this.type=h.ResponseHeader}clone(ct={}){return new L({headers:ct.headers||this.headers,status:void 0!==ct.status?ct.status:this.status,statusText:ct.statusText||this.statusText,url:ct.url||this.url||void 0})}}class O extends M{constructor(ct={}){super(ct),this.type=h.Response,this.body=void 0!==ct.body?ct.body:null}clone(ct={}){return new O({body:void 0!==ct.body?ct.body:this.body,headers:ct.headers||this.headers,status:void 0!==ct.status?ct.status:this.status,statusText:ct.statusText||this.statusText,url:ct.url||this.url||void 0})}}class _ extends M{constructor(ct){super(ct,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ct.url||"(unknown url)"}`:`Http failure response for ${ct.url||"(unknown url)"}: ${ct.status} ${ct.statusText}`,this.error=ct.error||null}}function N(Dt,ct){return{body:ct,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 ne=(()=>{class Dt{constructor(Bt){this.handler=Bt}request(Bt,q,it={}){let Ae;if(Bt instanceof f)Ae=Bt;else{let Ci,un;Ci=it.headers instanceof F?it.headers:new F(it.headers),it.params&&(un=it.params instanceof ve?it.params:new ve({fromObject:it.params})),Ae=new f(Bt,q,void 0!==it.body?it.body:null,{headers:Ci,context:it.context,params:un,reportProgress:it.reportProgress,responseType:it.responseType||"json",withCredentials:it.withCredentials,transferCache:it.transferCache})}const mt=(0,C.of)(Ae).pipe((0,x.H)(Ci=>this.handler.handle(Ci)));if(Bt instanceof f||"events"===it.observe)return mt;const It=mt.pipe((0,m.p)(Ci=>Ci instanceof O));switch(it.observe||"body"){case"body":switch(Ae.responseType){case"arraybuffer":return It.pipe((0,R.T)(Ci=>{if(null!==Ci.body&&!(Ci.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ci.body}));case"blob":return It.pipe((0,R.T)(Ci=>{if(null!==Ci.body&&!(Ci.body instanceof Blob))throw new Error("Response is not a Blob.");return Ci.body}));case"text":return It.pipe((0,R.T)(Ci=>{if(null!==Ci.body&&"string"!=typeof Ci.body)throw new Error("Response is not a string.");return Ci.body}));default:return It.pipe((0,R.T)(Ci=>Ci.body))}case"response":return It;default:throw new Error(`Unreachable: unhandled observe type ${it.observe}}`)}}delete(Bt,q={}){return this.request("DELETE",Bt,q)}get(Bt,q={}){return this.request("GET",Bt,q)}head(Bt,q={}){return this.request("HEAD",Bt,q)}jsonp(Bt,q){return this.request("JSONP",Bt,{params:(new ve).append(q,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Bt,q={}){return this.request("OPTIONS",Bt,q)}patch(Bt,q,it={}){return this.request("PATCH",Bt,N(it,q))}post(Bt,q,it={}){return this.request("POST",Bt,N(it,q))}put(Bt,q,it={}){return this.request("PUT",Bt,N(it,q))}static{this.\u0275fac=function(q){return new(q||Dt)(e.KVO(T))}}static{this.\u0275prov=e.jDH({token:Dt,factory:Dt.\u0275fac})}}return Dt})();const Ie=/^\)\]\}',?\n/;function Ye(Dt){if(Dt.url)return Dt.url;const ct="X-Request-URL".toLocaleLowerCase();return Dt.headers.get(ct)}let rt=(()=>{class Dt{constructor(){this.fetchImpl=(0,e.WQX)(re,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,e.WQX)(e.SKi)}handle(Bt){return new S.c(q=>{const it=new AbortController;return this.doRequest(Bt,it.signal,q).then(te,Ae=>q.error(new _({error:Ae}))),()=>it.abort()})}doRequest(Bt,q,it){var Ae=this;return(0,t.A)(function*(){const mt=Ae.createRequestInit(Bt);let It;try{const ir=Ae.fetchImpl(Bt.urlWithParams,{signal:q,...mt});(function oe(Dt){Dt.then(te,te)})(ir),it.next({type:h.Sent}),It=yield ir}catch(ir){return void it.error(new _({error:ir,status:ir.status??0,statusText:ir.statusText,url:Bt.urlWithParams,headers:ir.headers}))}const Ci=new F(It.headers),un=It.statusText,Dn=Ye(It)??Bt.urlWithParams;let Hn=It.status,On=null;if(Bt.reportProgress&&it.next(new L({headers:Ci,status:Hn,statusText:un,url:Dn})),It.body){const ir=It.headers.get("content-length"),Fn=[],pi=It.body.getReader();let Yt,yi,Oi=0;const li=typeof Zone<"u"&&Zone.current;yield Ae.ngZone.runOutsideAngular((0,t.A)(function*(){for(;;){const{done:Ni,value:ji}=yield pi.read();if(Ni)break;if(Fn.push(ji),Oi+=ji.length,Bt.reportProgress){yi="text"===Bt.responseType?(yi??"")+(Yt??=new TextDecoder).decode(ji,{stream:!0}):void 0;const en=()=>it.next({type:h.DownloadProgress,total:ir?+ir:void 0,loaded:Oi,partialText:yi});li?li.run(en):en()}}}));const vi=Ae.concatChunks(Fn,Oi);try{const Ni=It.headers.get("Content-Type")??"";On=Ae.parseBody(Bt,vi,Ni)}catch(Ni){return void it.error(new _({error:Ni,headers:new F(It.headers),status:It.status,statusText:It.statusText,url:Ye(It)??Bt.urlWithParams}))}}0===Hn&&(Hn=On?200:0),Hn>=200&&Hn<300?(it.next(new O({body:On,headers:Ci,status:Hn,statusText:un,url:Dn})),it.complete()):it.error(new _({error:On,headers:Ci,status:Hn,statusText:un,url:Dn}))})()}parseBody(Bt,q,it){switch(Bt.responseType){case"json":const Ae=(new TextDecoder).decode(q).replace(Ie,"");return""===Ae?null:JSON.parse(Ae);case"text":return(new TextDecoder).decode(q);case"blob":return new Blob([q],{type:it});case"arraybuffer":return q.buffer}}createRequestInit(Bt){const q={},it=Bt.withCredentials?"include":void 0;if(Bt.headers.forEach((Ae,mt)=>q[Ae]=mt.join(",")),q.Accept??="application/json, text/plain, */*",!q["Content-Type"]){const Ae=Bt.detectContentTypeHeader();null!==Ae&&(q["Content-Type"]=Ae)}return{body:Bt.serializeBody(),method:Bt.method,headers:q,credentials:it}}concatChunks(Bt,q){const it=new Uint8Array(q);let Ae=0;for(const mt of Bt)it.set(mt,Ae),Ae+=mt.length;return it}static{this.\u0275fac=function(q){return new(q||Dt)}}static{this.\u0275prov=e.jDH({token:Dt,factory:Dt.\u0275fac})}}return Dt})();class re{}function te(){}function _e(Dt,ct){return ct(Dt)}function de(Dt,ct){return(Bt,q)=>ct.intercept(Bt,{handle:it=>Dt(it,q)})}const We=new e.nKC(""),se=new e.nKC(""),fe=new e.nKC(""),he=new e.nKC("",{providedIn:"root",factory:()=>!0});function et(){let Dt=null;return(ct,Bt)=>{null===Dt&&(Dt=((0,e.WQX)(We,{optional:!0})??[]).reduceRight(de,_e));const q=(0,e.WQX)(e.TgB);if((0,e.WQX)(he)){const Ae=q.add();return Dt(ct,Bt).pipe((0,d.j)(()=>q.remove(Ae)))}return Dt(ct,Bt)}}let _t=(()=>{class Dt extends T{constructor(Bt,q){super(),this.backend=Bt,this.injector=q,this.chain=null,this.pendingTasks=(0,e.WQX)(e.TgB),this.contributeToStability=(0,e.WQX)(he)}handle(Bt){if(null===this.chain){const q=Array.from(new Set([...this.injector.get(se),...this.injector.get(fe,[])]));this.chain=q.reduceRight((it,Ae)=>function pe(Dt,ct,Bt){return(q,it)=>(0,e.N4e)(Bt,()=>ct(q,Ae=>Dt(Ae,it)))}(it,Ae,this.injector),_e)}if(this.contributeToStability){const q=this.pendingTasks.add();return this.chain(Bt,it=>this.backend.handle(it)).pipe((0,d.j)(()=>this.pendingTasks.remove(q)))}return this.chain(Bt,q=>this.backend.handle(q))}static{this.\u0275fac=function(q){return new(q||Dt)(e.KVO(k),e.KVO(e.uvJ))}}static{this.\u0275prov=e.jDH({token:Dt,factory:Dt.\u0275fac})}}return Dt})();const Ze=/^\)\]\}',?\n/;let qe=(()=>{class Dt{constructor(Bt){this.xhrFactory=Bt}handle(Bt){if("JSONP"===Bt.method)throw new e.wOt(-2800,!1);const q=this.xhrFactory;return(q.\u0275loadImpl?(0,l.H)(q.\u0275loadImpl()):(0,C.of)(null)).pipe((0,w.n)(()=>new S.c(Ae=>{const mt=q.build();if(mt.open(Bt.method,Bt.urlWithParams),Bt.withCredentials&&(mt.withCredentials=!0),Bt.headers.forEach((Fn,pi)=>mt.setRequestHeader(Fn,pi.join(","))),Bt.headers.has("Accept")||mt.setRequestHeader("Accept","application/json, text/plain, */*"),!Bt.headers.has("Content-Type")){const Fn=Bt.detectContentTypeHeader();null!==Fn&&mt.setRequestHeader("Content-Type",Fn)}if(Bt.responseType){const Fn=Bt.responseType.toLowerCase();mt.responseType="json"!==Fn?Fn:"text"}const It=Bt.serializeBody();let Ci=null;const un=()=>{if(null!==Ci)return Ci;const Fn=mt.statusText||"OK",pi=new F(mt.getAllResponseHeaders()),Oi=function jt(Dt){return"responseURL"in Dt&&Dt.responseURL?Dt.responseURL:/^X-Request-URL:/m.test(Dt.getAllResponseHeaders())?Dt.getResponseHeader("X-Request-URL"):null}(mt)||Bt.url;return Ci=new L({headers:pi,status:mt.status,statusText:Fn,url:Oi}),Ci},Dn=()=>{let{headers:Fn,status:pi,statusText:Oi,url:Yt}=un(),yi=null;204!==pi&&(yi=typeof mt.response>"u"?mt.responseText:mt.response),0===pi&&(pi=yi?200:0);let li=pi>=200&&pi<300;if("json"===Bt.responseType&&"string"==typeof yi){const vi=yi;yi=yi.replace(Ze,"");try{yi=""!==yi?JSON.parse(yi):null}catch(Ni){yi=vi,li&&(li=!1,yi={error:Ni,text:yi})}}li?(Ae.next(new O({body:yi,headers:Fn,status:pi,statusText:Oi,url:Yt||void 0})),Ae.complete()):Ae.error(new _({error:yi,headers:Fn,status:pi,statusText:Oi,url:Yt||void 0}))},Hn=Fn=>{const{url:pi}=un(),Oi=new _({error:Fn,status:mt.status||0,statusText:mt.statusText||"Unknown Error",url:pi||void 0});Ae.error(Oi)};let On=!1;const Xn=Fn=>{On||(Ae.next(un()),On=!0);let pi={type:h.DownloadProgress,loaded:Fn.loaded};Fn.lengthComputable&&(pi.total=Fn.total),"text"===Bt.responseType&&mt.responseText&&(pi.partialText=mt.responseText),Ae.next(pi)},ir=Fn=>{let pi={type:h.UploadProgress,loaded:Fn.loaded};Fn.lengthComputable&&(pi.total=Fn.total),Ae.next(pi)};return mt.addEventListener("load",Dn),mt.addEventListener("error",Hn),mt.addEventListener("timeout",Hn),mt.addEventListener("abort",Hn),Bt.reportProgress&&(mt.addEventListener("progress",Xn),null!==It&&mt.upload&&mt.upload.addEventListener("progress",ir)),mt.send(It),Ae.next({type:h.Sent}),()=>{mt.removeEventListener("error",Hn),mt.removeEventListener("abort",Hn),mt.removeEventListener("load",Dn),mt.removeEventListener("timeout",Hn),Bt.reportProgress&&(mt.removeEventListener("progress",Xn),null!==It&&mt.upload&&mt.upload.removeEventListener("progress",ir)),mt.readyState!==mt.DONE&&mt.abort()}})))}static{this.\u0275fac=function(q){return new(q||Dt)(e.KVO(y.N0))}}static{this.\u0275prov=e.jDH({token:Dt,factory:Dt.\u0275fac})}}return Dt})();const dt=new e.nKC(""),Vt=new e.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Et=new e.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class je{}let me=(()=>{class Dt{constructor(Bt,q,it){this.doc=Bt,this.platform=q,this.cookieName=it,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,y._b)(Bt,this.cookieName),this.lastCookieString=Bt),this.lastToken}static{this.\u0275fac=function(q){return new(q||Dt)(e.KVO(y.qQ),e.KVO(e.Agw),e.KVO(Vt))}}static{this.\u0275prov=e.jDH({token:Dt,factory:Dt.\u0275fac})}}return Dt})();function xe(Dt,ct){const Bt=Dt.url.toLowerCase();if(!(0,e.WQX)(dt)||"GET"===Dt.method||"HEAD"===Dt.method||Bt.startsWith("http://")||Bt.startsWith("https://"))return ct(Dt);const q=(0,e.WQX)(je).getToken(),it=(0,e.WQX)(Et);return null!=q&&!Dt.headers.has(it)&&(Dt=Dt.clone({headers:Dt.headers.set(it,q)})),ct(Dt)}var Me=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}(Me||{});function Xe(Dt,ct){return{\u0275kind:Dt,\u0275providers:ct}}function Pe(...Dt){const ct=[ne,qe,_t,{provide:T,useExisting:_t},{provide:k,useFactory:()=>(0,e.WQX)(rt,{optional:!0})??(0,e.WQX)(qe)},{provide:se,useValue:xe,multi:!0},{provide:dt,useValue:!0},{provide:je,useClass:me}];for(const Bt of Dt)ct.push(...Bt.\u0275providers);return(0,e.EmA)(ct)}const we=new e.nKC("");let zt=(()=>{class Dt{static{this.\u0275fac=function(q){return new(q||Dt)}}static{this.\u0275mod=e.$C({type:Dt})}static{this.\u0275inj=e.G2t({providers:[Pe(Xe(Me.LegacyInterceptors,[{provide:we,useFactory:et},{provide:se,useExisting:we,multi:!0}]))]})}}return Dt})()},4438:(Ve,ee,p)=>{"use strict";function t(i,a){return Object.is(i,a)}p.d(ee,{bc$:()=>dh,iLQ:()=>dp,sZ2:()=>ud,hnV:()=>A8,Hbi:()=>H9,o8S:()=>Al,BIS:()=>Mf,gRc:()=>A9,Ql9:()=>kC,OM3:()=>lu,Ocv:()=>NC,abz:()=>ml,Z63:()=>Ht,aKT:()=>y1,uvJ:()=>To,zcH:()=>Us,bkB:()=>Gs,y_5:()=>no,$GK:()=>en,nKC:()=>Fi,zZn:()=>go,_q3:()=>W8,MKu:()=>Pu,xe9:()=>j3,Co$:()=>l7,Vns:()=>d0,SKi:()=>Ha,Xx1:()=>Ea,Agw:()=>ql,PLl:()=>ch,rOR:()=>ad,sFG:()=>z5,_9s:()=>y3,czy:()=>fs,WPN:()=>Kc,kdw:()=>Ra,C4Q:()=>Sd,NYb:()=>SC,giA:()=>f9,RxE:()=>C8,c1b:()=>Ro,gXe:()=>bi,mal:()=>Ai,Af3:()=>Te,tdH:()=>du,L39:()=>Ep,EWP:()=>Y3,Ol2:()=>Y6,w6W:()=>Vb,oH4:()=>F8,Rfq:()=>Et,WQX:()=>ln,naY:()=>T9,QuC:()=>ao,EmA:()=>Ss,Udg:()=>kw,fpN:()=>qC,HJs:()=>Vw,N4e:()=>J,vPA:()=>Em,O8t:()=>Iw,H3F:()=>Zv,H8p:()=>qs,KH2:()=>Du,TgB:()=>Hd,wOt:()=>fe,WHO:()=>u9,e01:()=>E8,lNU:()=>se,h9k:()=>z2,$MX:()=>yd,ZF7:()=>rc,Kcf:()=>F2,e5t:()=>Ic,UyX:()=>g4,cWb:()=>Xs,osQ:()=>_4,H5H:()=>Tg,Zy3:()=>he,mq5:()=>w_,JZv:()=>ut,LfX:()=>Se,plB:()=>Ln,jNT:()=>T8,zjR:()=>m9,TL$:()=>sh,Tbb:()=>dt,rcV:()=>Lc,Vt3:()=>H6,GFd:()=>G6,OA$:()=>Or,Jv_:()=>l8,aNF:()=>Mv,R7$:()=>H4,BMQ:()=>rg,HbH:()=>vg,ZvI:()=>c_,AVh:()=>_g,vxM:()=>p_,wni:()=>ov,VBU:()=>lc,FsC:()=>fo,jDH:()=>Li,G2t:()=>st,$C:()=>Yo,EJ8:()=>Rs,rXU:()=>Y2,nrm:()=>Wm,eu8:()=>Mg,bVm:()=>Ym,qex:()=>Xm,k0s:()=>jm,j41:()=>O3,RV6:()=>C_,xGo:()=>h2,Mr5:()=>Eg,KVO:()=>Gn,kS0:()=>Yl,QTQ:()=>Fp,bIt:()=>Vg,lsd:()=>cv,joV:()=>cl,qSk:()=>E0,XpG:()=>Ug,nI1:()=>Iv,bMT:()=>Rv,i5U:()=>Ov,brH:()=>Fv,SdG:()=>ev,NAR:()=>q_,Y8G:()=>mg,FS9:()=>Gg,Mz_:()=>ep,FCK:()=>jg,lJ4:()=>Ev,eq3:()=>Sv,l_i:()=>h8,sMw:()=>Tv,mGM:()=>Yg,sdS:()=>dv,Dyx:()=>Cg,Z7z:()=>__,fX1:()=>xg,Njj:()=>Zd,tSv:()=>Ti,eBV:()=>x0,npT:()=>Uf,n$t:()=>jf,xc7:()=>gg,Kam:()=>Hg,zvX:()=>Sg,DNE:()=>fu,C5r:()=>Nv,EFF:()=>Jg,JRh:()=>t8,SpI:()=>ip,Lme:()=>np,E5c:()=>i8,LHq:()=>rp,DH7:()=>ap,mxI:()=>o8,R50:()=>a8,GBs:()=>sv});let e=null,C=!1,S=1;const l=Symbol("SIGNAL");function x(i){const a=e;return e=i,a}const w={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 y(i){if(C)throw new Error("");if(null===e)return;e.consumerOnSignalRead(i);const a=e.nextProducerIndex++;ye(e),a<e.producerNode.length&&e.producerNode[a]!==i&&ae(e)&&ve(e.producerNode[a],e.producerIndexOfThis[a]),e.producerNode[a]!==i&&(e.producerNode[a]=i,e.producerIndexOfThis[a]=ae(e)?ie(i,e,a):0),e.producerLastReadVersion[a]=i.version}function k(i){if((!ae(i)||i.dirty)&&(i.dirty||i.lastCleanEpoch!==S)){if(!i.producerMustRecompute(i)&&!$(i))return i.dirty=!1,void(i.lastCleanEpoch=S);i.producerRecomputeValue(i),i.dirty=!1,i.lastCleanEpoch=S}}function F(i){if(void 0===i.liveConsumerNode)return;const a=C;C=!0;try{for(const s of i.liveConsumerNode)s.dirty||U(s)}finally{C=a}}function V(){return!1!==e?.consumerAllowSignalWrites}function U(i){i.dirty=!0,F(i),i.consumerMarkedDirty?.(i)}function G(i){return i&&(i.nextProducerIndex=0),x(i)}function Y(i,a){if(x(a),i&&void 0!==i.producerNode&&void 0!==i.producerIndexOfThis&&void 0!==i.producerLastReadVersion){if(ae(i))for(let s=i.nextProducerIndex;s<i.producerNode.length;s++)ve(i.producerNode[s],i.producerIndexOfThis[s]);for(;i.producerNode.length>i.nextProducerIndex;)i.producerNode.pop(),i.producerLastReadVersion.pop(),i.producerIndexOfThis.pop()}}function $(i){ye(i);for(let a=0;a<i.producerNode.length;a++){const s=i.producerNode[a],g=i.producerLastReadVersion[a];if(g!==s.version||(k(s),g!==s.version))return!0}return!1}function ie(i,a,s){if(ue(i),ye(i),0===i.liveConsumerNode.length)for(let g=0;g<i.producerNode.length;g++)i.producerIndexOfThis[g]=ie(i.producerNode[g],i,g);return i.liveConsumerIndexOfThis.push(s),i.liveConsumerNode.push(a)-1}function ve(i,a){if(ue(i),ye(i),1===i.liveConsumerNode.length)for(let g=0;g<i.producerNode.length;g++)ve(i.producerNode[g],i.producerIndexOfThis[g]);const s=i.liveConsumerNode.length-1;if(i.liveConsumerNode[a]=i.liveConsumerNode[s],i.liveConsumerIndexOfThis[a]=i.liveConsumerIndexOfThis[s],i.liveConsumerNode.length--,i.liveConsumerIndexOfThis.length--,a<i.liveConsumerNode.length){const g=i.liveConsumerIndexOfThis[a],A=i.liveConsumerNode[a];ye(A),A.producerIndexOfThis[g]=a}}function ae(i){return i.consumerIsAlwaysLive||(i?.liveConsumerNode?.length??0)>0}function ye(i){i.producerNode??=[],i.producerIndexOfThis??=[],i.producerLastReadVersion??=[]}function ue(i){i.liveConsumerNode??=[],i.liveConsumerIndexOfThis??=[]}const D=Symbol("UNSET"),n=Symbol("COMPUTING"),c=Symbol("ERRORED"),f={...w,value:D,dirty:!0,error:null,equal:t,producerMustRecompute:i=>i.value===D||i.value===n,producerRecomputeValue(i){if(i.value===n)throw new Error("Detected cycle in computations.");const a=i.value;i.value=n;const s=G(i);let g;try{g=i.computation()}catch(A){g=c,i.error=A}finally{Y(i,s)}a!==D&&a!==c&&g!==c&&i.equal(a,g)?i.value=a:(i.value=g,i.version++)}};let M=function h(){throw new Error};function L(){M()}let _=null;function N(i,a){V()||L(),i.equal(i.value,a)||(i.value=a,function at(i){i.version++,function T(){S++}(),F(i),_?.()}(i))}const Ie={...w,equal:t,value:void 0};var oe=p(1413),_e=p(8359),de=p(4412),pe=p(6354);const se="https://g.co/ng/security#xss";class fe extends Error{constructor(a,s){super(he(a,s)),this.code=a}}function he(i,a){return`NG0${Math.abs(i)}${a?": "+a:""}`}function ke(i){return{toString:i}.toString()}const Qe="__parameters__";function tt(i,a,s){return ke(()=>{const g=function ht(i){return function(...s){if(i){const g=i(...s);for(const A in g)this[A]=g[A]}}}(a);function A(...H){if(this instanceof A)return g.apply(this,H),this;const Q=new A(...H);return le.annotation=Q,le;function le(Ee,ot,bt){const Gt=Ee.hasOwnProperty(Qe)?Ee[Qe]:Object.defineProperty(Ee,Qe,{value:[]})[Qe];for(;Gt.length<=bt;)Gt.push(null);return(Gt[bt]=Gt[bt]||[]).push(Q),Ee}}return s&&(A.prototype=Object.create(s.prototype)),A.prototype.ngMetadataName=i,A.annotationCls=A,A})}const ut=globalThis;function jt(i){for(let a in i)if(i[a]===jt)return a;throw Error("Could not find renamed property on target object.")}function qe(i,a){for(const s in a)a.hasOwnProperty(s)&&!i.hasOwnProperty(s)&&(i[s]=a[s])}function dt(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(dt).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 s=a.indexOf("\n");return-1===s?a:a.substring(0,s)}function Le(i,a){return null==i||""===i?null===a?"":a:null==a||""===a?i:i+" "+a}const Zt=jt({__forward_ref__:jt});function Et(i){return i.__forward_ref__=Et,i.toString=function(){return dt(this())},i}function je(i){return me(i)?i():i}function me(i){return"function"==typeof i&&i.hasOwnProperty(Zt)&&i.__forward_ref__===Et}function Li(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function st(i){return{providers:i.providers||[],imports:i.imports||[]}}function ii(i){return Mt(i,Ei)||Mt(i,$i)}function Se(i){return null!==ii(i)}function Mt(i,a){return i.hasOwnProperty(a)?i[a]:null}function ai(i){return i&&(i.hasOwnProperty(Hi)||i.hasOwnProperty(hn))?i[Hi]:null}const Ei=jt({\u0275prov:jt}),Hi=jt({\u0275inj:jt}),$i=jt({ngInjectableDef:jt}),hn=jt({ngInjectorDef:jt});class Fi{constructor(a,s){this._desc=a,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof s?this.__NG_ELEMENT_ID__=s:void 0!==s&&(this.\u0275prov=Li({token:this,providedIn:s.providedIn||"root",factory:s.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ci(i){return i&&!!i.\u0275providers}const un=jt({\u0275cmp:jt}),Dn=jt({\u0275dir:jt}),Hn=jt({\u0275pipe:jt}),On=jt({\u0275mod:jt}),Xn=jt({\u0275fac:jt}),ir=jt({__NG_ELEMENT_ID__:jt}),Fn=jt({__NG_ENV_ID__:jt});function pi(i){return"string"==typeof i?i:null==i?"":String(i)}function ji(i,a){throw new fe(-201,!1)}var en=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}(en||{});let nr;function ar(){return nr}function tr(i){const a=nr;return nr=i,a}function or(i,a,s){const g=ii(i);return g&&"root"==g.providedIn?void 0===g.value?g.value=g.factory():g.value:s&en.Optional?null:void 0!==a?a:void ji()}const Gr={},Uo="__NG_DI_FLAG__",yo="ngTempTokenPath",kr=/\n/gm,Ia="__source";let Qa;function vr(i){const a=Qa;return Qa=i,a}function xo(i,a=en.Default){if(void 0===Qa)throw new fe(-203,!1);return null===Qa?or(i,void 0,a):Qa.get(i,a&en.Optional?null:void 0,a)}function Gn(i,a=en.Default){return(ar()||xo)(je(i),a)}function ln(i,a=en.Default){return Gn(i,$r(a))}function $r(i){return typeof i>"u"||"number"==typeof i?i:(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function Ma(i){const a=[];for(let s=0;s<i.length;s++){const g=je(i[s]);if(Array.isArray(g)){if(0===g.length)throw new fe(900,!1);let A,H=en.Default;for(let Q=0;Q<g.length;Q++){const le=g[Q],Ee=ho(le);"number"==typeof Ee?-1===Ee?A=le.token:H|=Ee:A=le}a.push(Gn(A,H))}else a.push(Gn(g))}return a}function lo(i,a){return i[Uo]=a,i.prototype[Uo]=a,i}function ho(i){return i[Uo]}const no=lo(tt("Inject",i=>({token:i})),-1),Ea=lo(tt("Optional"),8),Ra=lo(tt("SkipSelf"),4);function Lr(i,a){return i.hasOwnProperty(Xn)?i[Xn]:null}function Ua(i,a){i.forEach(s=>Array.isArray(s)?Ua(s,a):a(s))}function as(i,a,s){a>=i.length?i.push(s):i.splice(a,0,s)}function Ga(i,a){return a>=i.length-1?i.pop():i.splice(a,1)[0]}function pa(i,a,s){let g=wr(i,a);return g>=0?i[1|g]=s:(g=~g,function jo(i,a,s,g){let A=i.length;if(A==a)i.push(s,g);else if(1===A)i.push(g,i[0]),i[0]=s;else{for(A--,i.push(i[A-1],i[A]);A>a;)i[A]=i[A-2],A--;i[a]=s,i[a+1]=g}}(i,g,a,s)),g}function ro(i,a){const s=wr(i,a);if(s>=0)return i[1|s]}function wr(i,a){return function Wo(i,a,s){let g=0,A=i.length>>s;for(;A!==g;){const H=g+(A-g>>1),Q=i[H<<s];if(a===Q)return H<<s;Q>a?A=H:g=H+1}return~(A<<s)}(i,a,1)}const ra={},Kn=[],Ht=new Fi(""),Mi=new Fi("",-1),xt=new Fi("");class ni{get(a,s=Gr){if(s===Gr){const g=new Error(`NullInjectorError: No provider for ${dt(a)}!`);throw g.name="NullInjectorError",g}return s}}var ki=function(i){return i[i.OnPush=0]="OnPush",i[i.Default=1]="Default",i}(ki||{}),bi=function(i){return i[i.Emulated=0]="Emulated",i[i.None=2]="None",i[i.ShadowDom=3]="ShadowDom",i}(bi||{}),rr=function(i){return i[i.None=0]="None",i[i.SignalBased=1]="SignalBased",i[i.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",i}(rr||{});function Fa(i,a,s){let g=i.length;for(;;){const A=i.indexOf(a,s);if(-1===A)return A;if(0===A||i.charCodeAt(A-1)<=32){const H=a.length;if(A+H===g||i.charCodeAt(A+H)<=32)return A}s=A+1}}function Zr(i,a,s){let g=0;for(;g<s.length;){const A=s[g];if("number"==typeof A){if(0!==A)break;g++;const H=s[g++],Q=s[g++],le=s[g++];i.setAttribute(a,Q,le,H)}else{const H=A,Q=s[++g];Pa(H)?i.setProperty(a,H,Q):i.setAttribute(a,H,Q),g++}}return g}function Sa(i){return 3===i||4===i||6===i}function Pa(i){return 64===i.charCodeAt(0)}function uo(i,a){if(null!==a&&0!==a.length)if(null===i||0===i.length)i=a.slice();else{let s=-1;for(let g=0;g<a.length;g++){const A=a[g];"number"==typeof A?s=A:0===s||Za(i,s,A,null,-1===s||2===s?a[++g]:null)}}return i}function Za(i,a,s,g,A){let H=0,Q=i.length;if(-1===a)Q=-1;else for(;H<i.length;){const le=i[H++];if("number"==typeof le){if(le===a){Q=-1;break}if(le>a){Q=H-1;break}}}for(;H<i.length;){const le=i[H];if("number"==typeof le)break;if(le===s){if(null===g)return void(null!==A&&(i[H+1]=A));if(g===i[H+1])return void(i[H+2]=A)}H++,null!==g&&H++,null!==A&&H++}-1!==Q&&(i.splice(Q,0,a),H=Q+1),i.splice(H++,0,s),null!==g&&i.splice(H++,0,g),null!==A&&i.splice(H++,0,A)}const Xo="ng-template";function $s(i,a,s,g){let A=0;if(g){for(;A<a.length&&"string"==typeof a[A];A+=2)if("class"===a[A]&&-1!==Fa(a[A+1].toLowerCase(),s,0))return!0}else if(Eo(i))return!1;if(A=a.indexOf(1,A),A>-1){let H;for(;++A<a.length&&"string"==typeof(H=a[A]);)if(H.toLowerCase()===s)return!0}return!1}function Eo(i){return 4===i.type&&i.value!==Xo}function Ms(i,a,s){return a===(4!==i.type||s?i.value:Xo)}function aa(i,a,s){let g=4;const A=i.attrs,H=null!==A?function Tt(i){for(let a=0;a<i.length;a++)if(Sa(i[a]))return a;return i.length}(A):0;let Q=!1;for(let le=0;le<a.length;le++){const Ee=a[le];if("number"!=typeof Ee){if(!Q)if(4&g){if(g=2|1&g,""!==Ee&&!Ms(i,Ee,s)||""===Ee&&1===a.length){if(Ri(g))return!1;Q=!0}}else if(8&g){if(null===A||!$s(i,A,Ee,s)){if(Ri(g))return!1;Q=!0}}else{const ot=a[++le],bt=ft(Ee,A,Eo(i),s);if(-1===bt){if(Ri(g))return!1;Q=!0;continue}if(""!==ot){let Gt;if(Gt=bt>H?"":A[bt+1].toLowerCase(),2&g&&ot!==Gt){if(Ri(g))return!1;Q=!0}}}}else{if(!Q&&!Ri(g)&&!Ri(Ee))return!1;if(Q&&Ri(Ee))continue;Q=!1,g=Ee|1&g}}return Ri(g)||Q}function Ri(i){return!(1&i)}function ft(i,a,s,g){if(null===a)return-1;let A=0;if(g||!s){let H=!1;for(;A<a.length;){const Q=a[A];if(Q===i)return A;if(3===Q||6===Q)H=!0;else{if(1===Q||2===Q){let le=a[++A];for(;"string"==typeof le;)le=a[++A];continue}if(4===Q)break;if(0===Q){A+=4;continue}}A+=H?1:2}return-1}return function ti(i,a){let s=i.indexOf(4);if(s>-1)for(s++;s<i.length;){const g=i[s];if("number"==typeof g)return-1;if(g===a)return s;s++}return-1}(a,i)}function pt(i,a,s=!1){for(let g=0;g<a.length;g++)if(aa(i,a[g],s))return!0;return!1}function fn(i,a){e:for(let s=0;s<a.length;s++){const g=a[s];if(i.length===g.length){for(let A=0;A<i.length;A++)if(i[A]!==g[A])continue e;return!0}}return!1}function Qn(i,a){return i?":not("+a.trim()+")":a}function Ho(i){let a=i[0],s=1,g=2,A="",H=!1;for(;s<i.length;){let Q=i[s];if("string"==typeof Q)if(2&g){const le=i[++s];A+="["+Q+(le.length>0?'="'+le+'"':"")+"]"}else 8&g?A+="."+Q:4&g&&(A+=" "+Q);else""!==A&&!Ri(Q)&&(a+=Qn(H,A),A=""),g=Q,H=H||!Ri(g);s++}return""!==A&&(a+=Qn(H,A)),a}function lc(i){return ke(()=>{const a=Ta(i),s={...a,decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection===ki.OnPush,directiveDefs:null,pipeDefs:null,dependencies:a.standalone&&i.dependencies||null,getStandaloneInjector:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||bi.Emulated,styles:i.styles||Kn,_:null,schemas:i.schemas||null,tView:null,id:""};Qs(s);const g=i.dependencies;return s.directiveDefs=cn(g,!1),s.pipeDefs=cn(g,!0),s.id=function uc(i){let a=0;const s=[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 A of s)a=Math.imul(31,a)+A.charCodeAt(0)|0;return a+=2147483648,"c"+a}(s),s})}function dc(i){return zn(i)||jr(i)}function hc(i){return null!==i}function Yo(i){return ke(()=>({type:i.type,bootstrap:i.bootstrap||Kn,declarations:i.declarations||Kn,imports:i.imports||Kn,exports:i.exports||Kn,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function Ko(i,a){if(null==i)return ra;const s={};for(const g in i)if(i.hasOwnProperty(g)){const A=i[g];let H,Q,le=rr.None;Array.isArray(A)?(le=A[0],H=A[1],Q=A[2]??H):(H=A,Q=A),a?(s[H]=le!==rr.None?[g,le]:g,a[H]=Q):s[H]=g}return s}function fo(i){return ke(()=>{const a=Ta(i);return Qs(a),a})}function Rs(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 zn(i){return i[un]||null}function jr(i){return i[Dn]||null}function la(i){return i[Hn]||null}function ao(i){const a=zn(i)||jr(i)||la(i);return null!==a&&a.standalone}function Ir(i,a){const s=i[On]||null;if(!s&&!0===a)throw new Error(`Type ${dt(i)} does not have '\u0275mod' property.`);return s}function Ta(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||ra,exportAs:i.exportAs||null,standalone:!0===i.standalone,signals:!0===i.signals,selectors:i.selectors||Kn,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ko(i.inputs,a),outputs:Ko(i.outputs),debugInfo:null}}function Qs(i){i.features?.forEach(a=>a(i))}function cn(i,a){if(!i)return null;const s=a?la:dc;return()=>("function"==typeof i?i():i).map(g=>s(g)).filter(hc)}function Ss(i){return{\u0275providers:i}}function fc(...i){return{\u0275providers:_s(0,i),\u0275fromNgModule:!0}}function _s(i,...a){const s=[],g=new Set;let A;const H=Q=>{s.push(Q)};return Ua(a,Q=>{const le=Q;vs(le,H,[],g)&&(A||=[],A.push(le))}),void 0!==A&&Dl(A,H),s}function Dl(i,a){for(let s=0;s<i.length;s++){const{ngModule:g,providers:A}=i[s];mc(A,H=>{a(H,g)})}}function vs(i,a,s,g){if(!(i=je(i)))return!1;let A=null,H=ai(i);const Q=!H&&zn(i);if(H||Q){if(Q&&!Q.standalone)return!1;A=i}else{const Ee=i.ngModule;if(H=ai(Ee),!H)return!1;A=Ee}const le=g.has(A);if(Q){if(le)return!1;if(g.add(A),Q.dependencies){const Ee="function"==typeof Q.dependencies?Q.dependencies():Q.dependencies;for(const ot of Ee)vs(ot,a,s,g)}}else{if(!H)return!1;{if(null!=H.imports&&!le){let ot;g.add(A);try{Ua(H.imports,bt=>{vs(bt,a,s,g)&&(ot||=[],ot.push(bt))})}finally{}void 0!==ot&&Dl(ot,a)}if(!le){const ot=Lr(A)||(()=>new A);a({provide:A,useFactory:ot,deps:Kn},A),a({provide:xt,useValue:A,multi:!0},A),a({provide:Ht,useValue:()=>Gn(A),multi:!0},A)}const Ee=H.providers;if(null!=Ee&&!le){const ot=i;mc(Ee,bt=>{a(bt,ot)})}}}return A!==i&&void 0!==i.providers}function mc(i,a){for(let s of i)Ci(s)&&(s=s.\u0275providers),Array.isArray(s)?mc(s,a):a(s)}const el=jt({provide:String,useValue:jt});function Zs(i){return null!==i&&"object"==typeof i&&el in i}function So(i){return"function"==typeof i}const qs=new Fi(""),bs={},gc={};let _c;function os(){return void 0===_c&&(_c=new ni),_c}class To{}class Fs extends To{get destroyed(){return this._destroyed}constructor(a,s,g,A){super(),this.parent=s,this.source=g,this.scopes=A,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,At(a,Q=>this.processProvider(Q)),this.records.set(Mi,ss(void 0,this)),A.has("environment")&&this.records.set(To,ss(void 0,this));const H=this.records.get(qs);null!=H&&"string"==typeof H.value&&this.scopes.add(H.value),this.injectorDefTypes=new Set(this.get(xt,Kn,en.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const a=x(null);try{for(const g of this._ngOnDestroyHooks)g.ngOnDestroy();const s=this._onDestroyHooks;this._onDestroyHooks=[];for(const g of s)g()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),x(a)}}onDestroy(a){return this.assertNotDestroyed(),this._onDestroyHooks.push(a),()=>this.removeOnDestroy(a)}runInContext(a){this.assertNotDestroyed();const s=vr(this),g=tr(void 0);try{return a()}finally{vr(s),tr(g)}}get(a,s=Gr,g=en.Default){if(this.assertNotDestroyed(),a.hasOwnProperty(Fn))return a[Fn](this);g=$r(g);const H=vr(this),Q=tr(void 0);try{if(!(g&en.SkipSelf)){let Ee=this.records.get(a);if(void 0===Ee){const ot=function Rt(i){return"function"==typeof i||"object"==typeof i&&i instanceof Fi}(a)&&ii(a);Ee=ot&&this.injectableDefInScope(ot)?ss(tl(a),bs):null,this.records.set(a,Ee)}if(null!=Ee)return this.hydrate(a,Ee)}return(g&en.Self?os():this.parent).get(a,s=g&en.Optional&&s===Gr?null:s)}catch(le){if("NullInjectorError"===le.name){if((le[yo]=le[yo]||[]).unshift(dt(a)),H)throw le;return function Po(i,a,s,g){const A=i[yo];throw a[Ia]&&A.unshift(a[Ia]),i.message=function Qr(i,a,s,g=null){i=i&&"\n"===i.charAt(0)&&"\u0275"==i.charAt(1)?i.slice(2):i;let A=dt(a);if(Array.isArray(a))A=a.map(dt).join(" -> ");else if("object"==typeof a){let H=[];for(let Q in a)if(a.hasOwnProperty(Q)){let le=a[Q];H.push(Q+":"+("string"==typeof le?JSON.stringify(le):dt(le)))}A=`{${H.join(", ")}}`}return`${s}${g?"("+g+")":""}[${A}]: ${i.replace(kr,"\n ")}`}("\n"+i.message,A,s,g),i.ngTokenPath=A,i[yo]=null,i}(le,a,"R3InjectorError",this.source)}throw le}finally{tr(Q),vr(H)}}resolveInjectorInitializers(){const a=x(null),s=vr(this),g=tr(void 0);try{const H=this.get(Ht,Kn,en.Self);for(const Q of H)Q()}finally{vr(s),tr(g),x(a)}}toString(){const a=[],s=this.records;for(const g of s.keys())a.push(dt(g));return`R3Injector[${a.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new fe(205,!1)}processProvider(a){let s=So(a=je(a))?a:je(a&&a.provide);const g=function Ll(i){return Zs(i)?ss(void 0,i.useValue):ss(il(i),bs)}(a);if(!So(a)&&!0===a.multi){let A=this.records.get(s);A||(A=ss(void 0,bs,!0),A.factory=()=>Ma(A.multi),this.records.set(s,A)),s=a,A.multi.push(a)}this.records.set(s,g)}hydrate(a,s){const g=x(null);try{return s.value===bs&&(s.value=gc,s.value=s.factory()),"object"==typeof s.value&&s.value&&function lt(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(s.value)&&this._ngOnDestroyHooks.add(s.value),s.value}finally{x(g)}}injectableDefInScope(a){if(!a.providedIn)return!1;const s=je(a.providedIn);return"string"==typeof s?"any"===s||this.scopes.has(s):this.injectorDefTypes.has(s)}removeOnDestroy(a){const s=this._onDestroyHooks.indexOf(a);-1!==s&&this._onDestroyHooks.splice(s,1)}}function tl(i){const a=ii(i),s=null!==a?a.factory:Lr(i);if(null!==s)return s;if(i instanceof Fi)throw new fe(204,!1);if(i instanceof Function)return function Pc(i){if(i.length>0)throw new fe(204,!1);const s=function Pt(i){return i&&(i[Ei]||i[$i])||null}(i);return null!==s?()=>s.factory(i):()=>new i}(i);throw new fe(204,!1)}function il(i,a,s){let g;if(So(i)){const A=je(i);return Lr(A)||tl(A)}if(Zs(i))g=()=>je(i.useValue);else if(function Os(i){return!(!i||!i.useFactory)}(i))g=()=>i.useFactory(...Ma(i.deps||[]));else if(function Js(i){return!(!i||!i.useExisting)}(i))g=()=>Gn(je(i.useExisting));else{const A=je(i&&(i.useClass||i.provide));if(!function Ps(i){return!!i.deps}(i))return Lr(A)||tl(A);g=()=>new A(...Ma(i.deps))}return g}function ss(i,a,s=!1){return{factory:i,value:a,multi:s?[]:void 0}}function At(i,a){for(const s of i)Array.isArray(s)?At(s,a):s&&Ci(s)?At(s.\u0275providers,a):a(s)}function J(i,a){i instanceof Fs&&i.assertNotDestroyed();const g=vr(i),A=tr(void 0);try{return a()}finally{vr(g),tr(A)}}function He(){return void 0!==ar()||null!=function io(){return Qa}()}function Te(i){if(!He())throw new fe(-203,!1)}const Bn=0,zi=1,an=2,fr=3,Wr=4,da=5,Xa=6,vc=7,Vr=8,_a=9,cs=10,jn=11,bc=12,Il=13,yc=14,Xr=15,mo=16,Ao=17,ec=18,Nc=19,Ns=20,Ui=21,Vc=22,Vs=23,kn=25,nl=1,$o=7,Hc=9,Jr=10;var Ol=function(i){return i[i.None=0]="None",i[i.HasTransplantedViews=2]="HasTransplantedViews",i}(Ol||{});function Aa(i){return Array.isArray(i)&&"object"==typeof i[nl]}function va(i){return Array.isArray(i)&&!0===i[nl]}function Ts(i){return!!(4&i.flags)}function Hs(i){return i.componentOffset>-1}function Ja(i){return!(1&~i.flags)}function En(i){return!!i.template}function qi(i){return!!(512&i[an])}class _r{constructor(a,s,g){this.previousValue=a,this.currentValue=s,this.firstChange=g}isFirstChange(){return this.firstChange}}function ys(i,a,s,g){null!==a?a.applyValueToInputSignal(a,g):i[s]=g}function Or(){return Ya}function Ya(i){return i.type.prototype.ngOnChanges&&(i.setInput=xc),ls}function ls(){const i=Zo(this),a=i?.current;if(a){const s=i.previous;if(s===ra)i.previous=a;else for(let g in a)s[g]=a[g];i.current=null,this.ngOnChanges(a)}}function xc(i,a,s,g,A){const H=this.declaredInputs[g],Q=Zo(i)||function As(i,a){return i[Pl]=a}(i,{previous:ra,current:null}),le=Q.current||(Q.current={}),Ee=Q.previous,ot=Ee[H];le[H]=new _r(ot&&ot.currentValue,s,Ee===ra),ys(i,a,A,s)}Or.ngInherit=!0;const Pl="__ngSimpleChanges__";function Zo(i){return i[Pl]||null}const Ds=function(i,a,s){},Nl="svg";function Er(i){for(;Array.isArray(i);)i=i[Bn];return i}function Da(i,a){return Er(a[i])}function po(i,a){return Er(a[i.index])}function tc(i,a){return i.data[a]}function Vl(i,a){return i[a]}function Jo(i,a){const s=a[i];return Aa(s)?s:s[Bn]}function z1(i){return!(128&~i[an])}function qa(i,a){return null==a?null:i[a]}function zc(i){i[Ao]=0}function v0(i){1024&i[an]||(i[an]|=1024,z1(i)&&$d(i))}function al(i){return!!(9216&i[an]||i[Vs]?.dirty)}function b0(i){i[cs].changeDetectionScheduler?.notify(7),64&i[an]&&(i[an]|=1024),al(i)&&$d(i)}function $d(i){i[cs].changeDetectionScheduler?.notify(0);let a=ol(i);for(;null!==a&&!(8192&a[an])&&(a[an]|=8192,z1(a));)a=ol(a)}function B1(i,a){if(!(256&~i[an]))throw new fe(911,!1);null===i[Ui]&&(i[Ui]=[]),i[Ui].push(a)}function ol(i){const a=i[fr];return va(a)?a[fr]:a}const Nn={lFrame:Ku(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let y0=!1;function Gu(){return Nn.bindingsEnabled}function sl(){return null!==Nn.skipHydrationRootTNode}function Ii(){return Nn.lFrame.lView}function ur(){return Nn.lFrame.tView}function x0(i){return Nn.lFrame.contextLView=i,i[Vr]}function Zd(i){return Nn.lFrame.contextLView=null,i}function zr(){let i=C0();for(;null!==i&&64===i.type;)i=i.parent;return i}function C0(){return Nn.lFrame.currentTNode}function ka(i,a){const s=Nn.lFrame;s.currentTNode=i,s.isParent=a}function ds(){return Nn.lFrame.isParent}function La(){Nn.lFrame.isParent=!1}function Xu(){return y0}function j1(i){y0=i}function hs(){const i=Nn.lFrame;let a=i.bindingRootIndex;return-1===a&&(a=i.bindingRootIndex=i.tView.bindingStartIndex),a}function ic(){return Nn.lFrame.bindingIndex}function us(){return Nn.lFrame.bindingIndex++}function Mc(i){const a=Nn.lFrame,s=a.bindingIndex;return a.bindingIndex=a.bindingIndex+i,s}function ya(i,a){const s=Nn.lFrame;s.bindingIndex=s.bindingRootIndex=i,e2(a)}function e2(i){Nn.lFrame.currentDirectiveIndex=i}function xa(i){const a=Nn.lFrame.currentDirectiveIndex;return-1===a?null:i[a]}function Bc(){return Nn.lFrame.currentQueryIndex}function nc(i){Nn.lFrame.currentQueryIndex=i}function Bl(i){const a=i[zi];return 2===a.type?a.declTNode:1===a.type?i[da]:null}function Bs(i,a,s){if(s&en.SkipSelf){let A=a,H=i;for(;!(A=A.parent,null!==A||s&en.Host||(A=Bl(H),null===A||(H=H[yc],10&A.type))););if(null===A)return!1;a=A,i=H}const g=Nn.lFrame=W1();return g.currentTNode=a,g.lView=i,!0}function w0(i){const a=W1(),s=i[zi];Nn.lFrame=a,a.currentTNode=s.firstChild,a.lView=i,a.tView=s,a.contextLView=i,a.bindingIndex=s.bindingStartIndex,a.inI18n=!1}function W1(){const i=Nn.lFrame,a=null===i?null:i.child;return null===a?Ku(i):a}function Ku(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 Ul(){const i=Nn.lFrame;return Nn.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const X1=Ul;function M0(){const i=Ul();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 Va(){return Nn.lFrame.selectedIndex}function Uc(i){Nn.lFrame.selectedIndex=i}function Fr(){const i=Nn.lFrame;return tc(i.tView,i.selectedIndex)}function E0(){Nn.lFrame.currentNamespace=Nl}function cl(){!function T0(){Nn.lFrame.currentNamespace=null}()}let Qu=!0;function Y1(){return Qu}function Ec(i){Qu=i}function t2(i,a){for(let s=a.directiveStart,g=a.directiveEnd;s<g;s++){const H=i.data[s].type.prototype,{ngAfterContentInit:Q,ngAfterContentChecked:le,ngAfterViewInit:Ee,ngAfterViewChecked:ot,ngOnDestroy:bt}=H;Q&&(i.contentHooks??=[]).push(-s,Q),le&&((i.contentHooks??=[]).push(s,le),(i.contentCheckHooks??=[]).push(s,le)),Ee&&(i.viewHooks??=[]).push(-s,Ee),ot&&((i.viewHooks??=[]).push(s,ot),(i.viewCheckHooks??=[]).push(s,ot)),null!=bt&&(i.destroyHooks??=[]).push(s,bt)}}function n2(i,a,s){a2(i,a,3,s)}function r2(i,a,s,g){(3&i[an])===s&&a2(i,a,s,g)}function K1(i,a){let s=i[an];(3&s)===a&&(s&=16383,s+=1,i[an]=s)}function a2(i,a,s,g){const H=g??-1,Q=a.length-1;let le=0;for(let Ee=void 0!==g?65535&i[Ao]:0;Ee<Q;Ee++)if("number"==typeof a[Ee+1]){if(le=a[Ee],null!=g&&le>=g)break}else a[Ee]<0&&(i[Ao]+=65536),(le<H||-1==H)&&(ll(i,s,a,Ee),i[Ao]=(4294901760&i[Ao])+Ee+2),Ee++}function D0(i,a){Ds(4,i,a);const s=x(null);try{a.call(i)}finally{x(s),Ds(5,i,a)}}function ll(i,a,s,g){const A=s[g]<0,H=s[g+1],le=i[A?-s[g]:s[g]];A?i[an]>>14<i[Ao]>>16&&(3&i[an])===a&&(i[an]+=16384,D0(le,H)):D0(le,H)}const Gc=-1;class jc{constructor(a,s,g){this.factory=a,this.resolving=!1,this.canSeeViewProviders=s,this.injectImpl=g}}function hl(i){return i!==Gc}function Sc(i){return 32767&i}function ul(i,a){let s=function Ar(i){return i>>16}(i),g=a;for(;s>0;)g=g[yc],s--;return g}let L0=!0;function g1(i){const a=L0;return L0=i,a}const $1=255,Q1=5;let Gl=0;const Tc={};function Wc(i,a){const s=Z1(i,a);if(-1!==s)return s;const g=a[zi];g.firstCreatePass&&(i.injectorIndex=a.length,I0(g.data,i),I0(a,null),I0(g.blueprint,null));const A=jl(i,a),H=i.injectorIndex;if(hl(A)){const Q=Sc(A),le=ul(A,a),Ee=le[zi].data;for(let ot=0;ot<8;ot++)a[H+ot]=le[Q+ot]|Ee[Q+ot]}return a[H+8]=A,H}function I0(i,a){i.push(0,0,0,0,0,0,0,0,a)}function Z1(i,a){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===a[i.injectorIndex+8]?-1:i.injectorIndex}function jl(i,a){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let s=0,g=null,A=a;for(;null!==A;){if(g=V0(A),null===g)return Gc;if(s++,A=A[yc],-1!==g.injectorIndex)return g.injectorIndex|s<<16}return Gc}function fl(i,a,s){!function s2(i,a,s){let g;"string"==typeof s?g=s.charCodeAt(0)||0:s.hasOwnProperty(ir)&&(g=s[ir]),null==g&&(g=s[ir]=Gl++);const A=g&$1;a.data[i+(A>>Q1)]|=1<<A}(i,a,s)}function c2(i,a,s){if(s&en.Optional||void 0!==i)return i;ji()}function eo(i,a,s,g){if(s&en.Optional&&void 0===g&&(g=null),!(s&(en.Self|en.Host))){const A=i[_a],H=tr(void 0);try{return A?A.get(a,g,s&en.Optional):or(a,g,s&en.Optional)}finally{tr(H)}}return c2(g,0,s)}function O0(i,a,s,g=en.Default,A){if(null!==i){if(2048&a[an]&&!(g&en.Self)){const Q=function N0(i,a,s,g,A){let H=i,Q=a;for(;null!==H&&null!==Q&&2048&Q[an]&&!(512&Q[an]);){const le=l2(H,Q,s,g|en.Self,Tc);if(le!==Tc)return le;let Ee=H.parent;if(!Ee){const ot=Q[Ns];if(ot){const bt=ot.get(s,Tc,g);if(bt!==Tc)return bt}Ee=V0(Q),Q=Q[yc]}H=Ee}return A}(i,a,s,g,Tc);if(Q!==Tc)return Q}const H=l2(i,a,s,g,Tc);if(H!==Tc)return H}return eo(a,s,g,A)}function l2(i,a,s,g,A){const H=function _1(i){if("string"==typeof i)return i.charCodeAt(0)||0;const a=i.hasOwnProperty(ir)?i[ir]:void 0;return"number"==typeof a?a>=0?a&$1:P0:a}(s);if("function"==typeof H){if(!Bs(a,i,g))return g&en.Host?c2(A,0,g):eo(a,s,g,A);try{let Q;if(Q=H(g),null!=Q||g&en.Optional)return Q;ji()}finally{X1()}}else if("number"==typeof H){let Q=null,le=Z1(i,a),Ee=Gc,ot=g&en.Host?a[Xr][da]:null;for((-1===le||g&en.SkipSelf)&&(Ee=-1===le?jl(i,a):a[le+8],Ee!==Gc&&d2(g,!1)?(Q=a[zi],le=Sc(Ee),a=ul(Ee,a)):le=-1);-1!==le;){const bt=a[zi];if(F0(H,le,bt.data)){const Gt=Dr(le,a,s,Q,g,ot);if(Gt!==Tc)return Gt}Ee=a[le+8],Ee!==Gc&&d2(g,a[zi].data[le+8]===ot)&&F0(H,le,a)?(Q=bt,le=Sc(Ee),a=ul(Ee,a)):le=-1}}return A}function Dr(i,a,s,g,A,H){const Q=a[zi],le=Q.data[i+8],bt=J1(le,Q,s,null==g?Hs(le)&&L0:g!=Q&&!!(3&le.type),A&en.Host&&H===le);return null!==bt?ks(a,Q,bt,le):Tc}function J1(i,a,s,g,A){const H=i.providerIndexes,Q=a.data,le=1048575&H,Ee=i.directiveStart,bt=H>>20,ei=A?le+bt:i.directiveEnd;for(let di=g?le:le+bt;di<ei;di++){const _i=Q[di];if(di<Ee&&s===_i||di>=Ee&&_i.type===s)return di}if(A){const di=Q[Ee];if(di&&En(di)&&di.type===s)return Ee}return null}function ks(i,a,s,g){let A=i[s];const H=a.data;if(function k0(i){return i instanceof jc}(A)){const Q=A;Q.resolving&&function li(i,a){throw a&&a.join(" > "),new fe(-200,i)}(function Oi(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():pi(i)}(H[s]));const le=g1(Q.canSeeViewProviders);Q.resolving=!0;const ot=Q.injectImpl?tr(Q.injectImpl):null;Bs(i,g,en.Default);try{A=i[s]=Q.factory(void 0,H,i,g),a.firstCreatePass&&s>=g.directiveStart&&function e4(i,a,s){const{ngOnChanges:g,ngOnInit:A,ngDoCheck:H}=a.type.prototype;if(g){const Q=Ya(a);(s.preOrderHooks??=[]).push(i,Q),(s.preOrderCheckHooks??=[]).push(i,Q)}A&&(s.preOrderHooks??=[]).push(0-i,A),H&&((s.preOrderHooks??=[]).push(i,H),(s.preOrderCheckHooks??=[]).push(i,H))}(s,H[s],a)}finally{null!==ot&&tr(ot),g1(le),Q.resolving=!1,X1()}}return A}function F0(i,a,s){return!!(s[a+(i>>Q1)]&1<<i)}function d2(i,a){return!(i&en.Self||i&en.Host&&a)}class to{constructor(a,s){this._tNode=a,this._lView=s}get(a,s,g){return O0(this._tNode,this._lView,a,$r(g),s)}}function P0(){return new to(zr(),Ii())}function h2(i){return ke(()=>{const a=i.prototype.constructor,s=a[Xn]||u2(a),g=Object.prototype;let A=Object.getPrototypeOf(i.prototype).constructor;for(;A&&A!==g;){const H=A[Xn]||u2(A);if(H&&H!==s)return H;A=Object.getPrototypeOf(A)}return H=>new H})}function u2(i){return me(i)?()=>{const a=u2(je(i));return a&&a()}:Lr(i)}function V0(i){const a=i[zi],s=a.type;return 2===s?a.declTNode:1===s?i[da]:null}function Yl(i){return function R0(i,a){if("class"===a)return i.classes;if("style"===a)return i.styles;const s=i.attrs;if(s){const g=s.length;let A=0;for(;A<g;){const H=s[A];if(Sa(H))break;if(0===H)A+=2;else if("number"==typeof H)for(A++;A<g&&"string"==typeof s[A];)A++;else{if(H===a)return s[A+1];A+=2}}}return null}(zr(),i)}function U0(i,a=null,s=null,g){const A=G0(i,a,s,g);return A.resolveInjectorInitializers(),A}function G0(i,a=null,s=null,g,A=new Set){const H=[s||Kn,fc(i)];return g=g||("object"==typeof i?void 0:dt(i)),new Fs(H,a||os(),g||null,A)}class go{static{this.THROW_IF_NOT_FOUND=Gr}static{this.NULL=new ni}static create(a,s){if(Array.isArray(a))return U0({name:""},s,a,"");{const g=a.name??"";return U0({name:g},a.parent,a.providers,g)}}static{this.\u0275prov=Li({token:go,providedIn:"any",factory:()=>Gn(Mi)})}static{this.__NG_ELEMENT_ID__=-1}}new Fi("").__NG_ELEMENT_ID__=i=>{const a=zr();if(null===a)throw new fe(204,!1);if(2&a.type)return a.value;if(i&en.Optional)return null;throw new fe(204,!1)};function id(i){return i.ngOriginalError}class Us{constructor(){this._console=console}handleError(a){const s=this._findOriginalError(a);this._console.error("ERROR",a),s&&this._console.error("ORIGINAL ERROR",s)}_findOriginalError(a){let s=a&&id(a);for(;s&&id(s);)s=id(s);return s||null}}const nd=new Fi("",{providedIn:"root",factory:()=>ln(Us).handleError.bind(void 0)});let ml=(()=>{class i{static{this.__NG_ELEMENT_ID__=W0}static{this.__NG_ENV_ID__=s=>s}}return i})();class lf extends ml{constructor(a){super(),this._lView=a}onDestroy(a){return B1(this._lView,a),()=>function wc(i,a){if(null===i[Ui])return;const s=i[Ui].indexOf(a);-1!==s&&i[Ui].splice(s,1)}(this._lView,a)}}function W0(){return new lf(Ii())}function uf(){return Kl(zr(),Ii())}function Kl(i,a){return new y1(po(i,a))}let y1=(()=>{class i{constructor(s){this.nativeElement=s}static{this.__NG_ELEMENT_ID__=uf}}return i})();function $l(i){return i instanceof y1?i.nativeElement:i}function rd(i){return a=>{setTimeout(i,void 0,a)}}const Gs=class ff extends oe.B{constructor(a=!1){super(),this.destroyRef=void 0,this.__isAsync=a,He()&&(this.destroyRef=ln(ml,{optional:!0})??void 0)}emit(a){const s=x(null);try{super.next(a)}finally{x(s)}}subscribe(a,s,g){let A=a,H=s||(()=>null),Q=g;if(a&&"object"==typeof a){const Ee=a;A=Ee.next?.bind(Ee),H=Ee.error?.bind(Ee),Q=Ee.complete?.bind(Ee)}this.__isAsync&&(H=rd(H),A&&(A=rd(A)),Q&&(Q=rd(Q)));const le=super.subscribe({next:A,error:H,complete:Q});return a instanceof _e.yU&&a.add(le),le}};function X0(){return this._results[Symbol.iterator]()}class ad{get changes(){return this._changes??=new Gs}constructor(a=!1){this._emitDistinctChangesOnly=a,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const s=ad.prototype;s[Symbol.iterator]||(s[Symbol.iterator]=X0)}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,s){return this._results.reduce(a,s)}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,s){this.dirty=!1;const g=function Nr(i){return i.flat(Number.POSITIVE_INFINITY)}(a);(this._changesDetected=!function ma(i,a,s){if(i.length!==a.length)return!1;for(let g=0;g<i.length;g++){let A=i[g],H=a[g];if(s&&(A=s(A),H=s(H)),H!==A)return!1}return!0}(this._results,g,s))&&(this._results=g,this.length=g.length,this.last=g[this.length-1],this.first=g[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(a){this._onDirty=a}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function C1(i){return!(128&~i.flags)}const sd=new Map;let Q0=0;const b2="__ngContext__";function es(i,a){Aa(a)?(i[b2]=a[Nc],function Ql(i){sd.set(i[Nc],i)}(a)):i[b2]=a}function M2(i){return bf(i[bc])}function Zl(i){return bf(i[Wr])}function bf(i){for(;null!==i&&!va(i);)i=i[Wr];return i}let hd;function sh(i){hd=i}function Dc(){if(void 0!==hd)return hd;if(typeof document<"u")return document;throw new fe(210,!1)}const ud=new Fi("",{providedIn:"root",factory:()=>T2}),T2="ng",ch=new Fi(""),ql=new Fi("",{providedIn:"platform",factory:()=>"unknown"}),dh=new Fi(""),Mf=new Fi("",{providedIn:"root",factory:()=>Dc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Sf=()=>null;function gh(i,a,s=!1){return Sf(i,a,s)}const I2=new Fi("",{providedIn:"root",factory:()=>!1});let k1,vd;function gl(i){return function R2(){if(void 0===k1&&(k1=null,ut.trustedTypes))try{k1=ut.trustedTypes.createPolicy("angular",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return k1}()?.createHTML(i)||i}function O2(){if(void 0===vd&&(vd=null,ut.trustedTypes))try{vd=ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return vd}function Mh(i){return O2()?.createHTML(i)||i}function Sh(i){return O2()?.createScriptURL(i)||i}class _l{constructor(a){this.changingThisBreaksApplicationSecurity=a}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${se})`}}class bd extends _l{getTypeName(){return"HTML"}}class Rf extends _l{getTypeName(){return"Style"}}class Of extends _l{getTypeName(){return"Script"}}class Ff extends _l{getTypeName(){return"URL"}}class Pf extends _l{getTypeName(){return"ResourceURL"}}function Lc(i){return i instanceof _l?i.changingThisBreaksApplicationSecurity:i}function rc(i,a){const s=function Nf(i){return i instanceof _l&&i.getTypeName()||null}(i);if(null!=s&&s!==a){if("ResourceURL"===s&&"URL"===a)return!0;throw new Error(`Required a safe ${a}, got a ${s} (see ${se})`)}return s===a}function F2(i){return new bd(i)}function Xs(i){return new Rf(i)}function g4(i){return new Of(i)}function _4(i){return new Ff(i)}function Ic(i){return new Pf(i)}class Ah{constructor(a){this.inertDocumentHelper=a}getInertBodyElement(a){a="<body><remove></remove>"+a;try{const s=(new window.DOMParser).parseFromString(gl(a),"text/html").body;return null===s?this.inertDocumentHelper.getInertBodyElement(a):(s.removeChild(s.firstChild),s)}catch{return null}}}class Dh{constructor(a){this.defaultDoc=a,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(a){const s=this.inertDocument.createElement("template");return s.innerHTML=gl(a),s}}const kh=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yd(i){return(i=String(i)).match(kh)?i:"unsafe:"+i}function Rc(i){const a={};for(const s of i.split(","))a[s]=!0;return a}function L1(...i){const a={};for(const s of i)for(const g in s)s.hasOwnProperty(g)&&(a[g]=!0);return a}const Lh=Rc("area,br,col,hr,img,wbr"),xd=Rc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ih=Rc("rp,rt"),P2=L1(Lh,L1(xd,Rc("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")),L1(Ih,Rc("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")),L1(Ih,xd)),N2=Rc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Oh=L1(N2,Rc("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"),Rc("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")),x4=Rc("script,style,template");class V2{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(a){let s=a.firstChild,g=!0,A=[];for(;s;)if(s.nodeType===Node.ELEMENT_NODE?g=this.startElement(s):s.nodeType===Node.TEXT_NODE?this.chars(s.nodeValue):this.sanitizedSomething=!0,g&&s.firstChild)A.push(s),s=C4(s);else for(;s;){s.nodeType===Node.ELEMENT_NODE&&this.endElement(s);let H=vl(s);if(H){s=H;break}s=A.pop()}return this.buf.join("")}startElement(a){const s=zf(a).toLowerCase();if(!P2.hasOwnProperty(s))return this.sanitizedSomething=!0,!x4.hasOwnProperty(s);this.buf.push("<"),this.buf.push(s);const g=a.attributes;for(let A=0;A<g.length;A++){const H=g.item(A),Q=H.name,le=Q.toLowerCase();if(!Oh.hasOwnProperty(le)){this.sanitizedSomething=!0;continue}let Ee=H.value;N2[le]&&(Ee=yd(Ee)),this.buf.push(" ",Q,'="',Nh(Ee),'"')}return this.buf.push(">"),!0}endElement(a){const s=zf(a).toLowerCase();P2.hasOwnProperty(s)&&!Lh.hasOwnProperty(s)&&(this.buf.push("</"),this.buf.push(s),this.buf.push(">"))}chars(a){this.buf.push(Nh(a))}}function vl(i){const a=i.nextSibling;if(a&&i!==a.previousSibling)throw Ph(a);return a}function C4(i){const a=i.firstChild;if(a&&function Fh(i,a){return(i.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(i,a))throw Ph(a);return a}function zf(i){const a=i.nodeName;return"string"==typeof a?a:"FORM"}function Ph(i){return new Error(`Failed to sanitize html because the element is clobbered: ${i.outerHTML}`)}const Bf=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,w4=/([^\#-~ |!])/g;function Nh(i){return i.replace(/&/g,"&").replace(Bf,function(a){return"&#"+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";"}).replace(w4,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let H2;function z2(i,a){let s=null;try{H2=H2||function Th(i){const a=new Dh(i);return function Vf(){try{return!!(new window.DOMParser).parseFromString(gl(""),"text/html")}catch{return!1}}()?new Ah(a):a}(i);let g=a?String(a):"";s=H2.getInertBodyElement(g);let A=5,H=g;do{if(0===A)throw new Error("Failed to sanitize html because the input is unstable");A--,g=H,H=s.innerHTML,s=H2.getInertBodyElement(g)}while(g!==H);return gl((new V2).sanitizeChildren(Vh(s)||s))}finally{if(s){const g=Vh(s)||s;for(;g.firstChild;)g.removeChild(g.firstChild)}}}function Vh(i){return"content"in i&&function M4(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var Kc=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}(Kc||{});function Uf(i){const a=o1();return a?Mh(a.sanitize(Kc.HTML,i)||""):rc(i,"HTML")?Mh(Lc(i)):z2(Dc(),pi(i))}function Gf(i){const a=o1();return a?a.sanitize(Kc.URL,i)||"":rc(i,"URL")?Lc(i):yd(pi(i))}function Cd(i){const a=o1();if(a)return Sh(a.sanitize(Kc.RESOURCE_URL,i)||"");if(rc(i,"ResourceURL"))return Sh(Lc(i));throw new fe(904,!1)}function jf(i,a,s){return function zh(i,a){return"src"===a&&("embed"===i||"frame"===i||"iframe"===i||"media"===i||"script"===i)||"href"===a&&("base"===i||"link"===i)?Cd:Gf}(a,s)(i)}function o1(){const i=Ii();return i&&i[cs].sanitizer}const Xf=/^>|^->|<!--|-->|--!>|<!-$/g,Uh=/(<|>)/g,Gh="\u200b$1\u200b";function Ti(i){return i.ownerDocument.defaultView}function Yi(i){return i instanceof Function?i():i}var fs=function(i){return i[i.Important=1]="Important",i[i.DashCase=2]="DashCase",i}(fs||{});let $c;function U2(i,a){return $c(i,a)}function Qc(i,a,s,g,A){if(null!=g){let H,Q=!1;va(g)?H=g:Aa(g)&&(Q=!0,g=g[Bn]);const le=Er(g);0===i&&null!==s?null==A?Ap(a,s,le):wd(a,s,le,A||null,!0):1===i&&null!==s?wd(a,s,le,A||null,!0):2===i?function Kh(i,a,s){const g=Zf(i,a);g&&function Dp(i,a,s,g){i.removeChild(a,s,g)}(i,g,a,s)}(a,le,Q):3===i&&a.destroyNode(le),null!=H&&function V4(i,a,s,g,A){const H=s[$o];H!==Er(s)&&Qc(a,i,g,H,A);for(let le=Jr;le<s.length;le++){const Ee=s[le];$h(Ee[zi],Ee,i,a,g,H)}}(a,i,H,s,A)}}function wn(i,a){return i.createComment(function jh(i){return i.replace(Xf,a=>a.replace(Uh,Gh))}(a))}function Pn(i,a,s){return i.createElement(a,s)}function _o(i,a){a[cs].changeDetectionScheduler?.notify(8),$h(i,a,a[jn],2,null,null)}function Oc(i,a){const s=i[Hc],g=a[fr];(Aa(g)||a[Xr]!==g[fr][Xr])&&(i[an]|=Ol.HasTransplantedViews),null===s?i[Hc]=[a]:s.push(a)}function Ca(i,a){const s=i[Hc],g=s.indexOf(a);s.splice(g,1)}function s1(i,a){if(i.length<=Jr)return;const s=Jr+a,g=i[s];if(g){const A=g[mo];null!==A&&A!==i&&Ca(A,g),a>0&&(i[s-1][Wr]=g[Wr]);const H=Ga(i,Jr+a);!function Yn(i,a){_o(i,a),a[Bn]=null,a[da]=null}(g[zi],g);const Q=H[ec];null!==Q&&Q.detachView(H[zi]),g[fr]=null,g[Wr]=null,g[an]&=-129}return g}function W2(i,a){if(!(256&a[an])){const s=a[jn];s.destroyNode&&$h(i,a,s,3,null,null),function ac(i){let a=i[bc];if(!a)return ko(i[zi],i);for(;a;){let s=null;if(Aa(a))s=a[bc];else{const g=a[Jr];g&&(s=g)}if(!s){for(;a&&!a[Wr]&&a!==i;)Aa(a)&&ko(a[zi],a),a=a[fr];null===a&&(a=i),Aa(a)&&ko(a[zi],a),s=a&&a[Wr]}a=s}}(a)}}function ko(i,a){if(256&a[an])return;const s=x(null);try{a[an]&=-129,a[an]|=256,a[Vs]&&function Z(i){if(ye(i),ae(i))for(let a=0;a<i.producerNode.length;a++)ve(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[Vs]),function xs(i,a){let s;if(null!=i&&null!=(s=i.destroyHooks))for(let g=0;g<s.length;g+=2){const A=a[s[g]];if(!(A instanceof jc)){const H=s[g+1];if(Array.isArray(H))for(let Q=0;Q<H.length;Q+=2){const le=A[H[Q]],Ee=H[Q+1];Ds(4,le,Ee);try{Ee.call(le)}finally{Ds(5,le,Ee)}}else{Ds(4,A,H);try{H.call(A)}finally{Ds(5,A,H)}}}}}(i,a),function c1(i,a){const s=i.cleanup,g=a[vc];if(null!==s)for(let H=0;H<s.length-1;H+=2)if("string"==typeof s[H]){const Q=s[H+3];Q>=0?g[Q]():g[-Q].unsubscribe(),H+=2}else s[H].call(g[s[H+1]]);null!==g&&(a[vc]=null);const A=a[Ui];if(null!==A){a[Ui]=null;for(let H=0;H<A.length;H++)(0,A[H])()}}(i,a),1===a[zi].type&&a[jn].destroy();const g=a[mo];if(null!==g&&va(a[fr])){g!==a[fr]&&Ca(g,a);const A=a[ec];null!==A&&A.detachView(i)}!function mf(i){sd.delete(i[Nc])}(a)}finally{x(s)}}function l1(i,a,s){return function I1(i,a,s){let g=a;for(;null!==g&&40&g.type;)g=(a=g).parent;if(null===g)return s[Bn];{const{componentOffset:A}=g;if(A>-1){const{encapsulation:H}=i.data[g.directiveStart+A];if(H===bi.None||H===bi.Emulated)return null}return po(g,s)}}(i,a.parent,s)}function wd(i,a,s,g,A){i.insertBefore(a,s,g,A)}function Ap(i,a,s){i.appendChild(a,s)}function k4(i,a,s,g,A){null!==g?wd(i,a,s,g,A):Ap(i,a,s)}function Zf(i,a){return i.parentNode(a)}function kp(i,a,s){return I4(i,a,s)}let R4,I4=function L4(i,a,s){return 40&i.type?po(i,s):null};function Jf(i,a,s,g){const A=l1(i,g,a),H=a[jn],le=kp(g.parent||a[da],g,a);if(null!=A)if(Array.isArray(s))for(let Ee=0;Ee<s.length;Ee++)k4(H,A,s[Ee],le,!1);else k4(H,A,s,le,!1);void 0!==R4&&R4(H,g,a,s,A)}function X2(i,a){if(null!==a){const s=a.type;if(3&s)return po(a,i);if(4&s)return F4(-1,i[a.index]);if(8&s){const g=a.child;if(null!==g)return X2(i,g);{const A=i[a.index];return va(A)?F4(-1,A):Er(A)}}if(32&s)return U2(a,i)()||Er(i[a.index]);{const g=Lp(i,a);return null!==g?Array.isArray(g)?g[0]:X2(ol(i[Xr]),g):X2(i,a.next)}}return null}function Lp(i,a){return null!==a?i[Xr][da].projection[a.projection]:null}function F4(i,a){const s=Jr+i+1;if(s<a.length){const g=a[s],A=g[zi].firstChild;if(null!==A)return X2(g,A)}return a[$o]}function P4(i,a,s,g,A,H,Q){for(;null!=s;){const le=g[s.index],Ee=s.type;if(Q&&0===a&&(le&&es(Er(le),g),s.flags|=2),32&~s.flags)if(8&Ee)P4(i,a,s.child,g,A,H,!1),Qc(a,i,A,le,H);else if(32&Ee){const ot=U2(s,g);let bt;for(;bt=ot();)Qc(a,i,A,bt,H);Qc(a,i,A,le,H)}else 16&Ee?N4(i,a,g,s,A,H):Qc(a,i,A,le,H);s=Q?s.projectionNext:s.next}}function $h(i,a,s,g,A,H){P4(s,g,i.firstChild,a,A,H,!1)}function N4(i,a,s,g,A,H){const Q=s[Xr],Ee=Q[da].projection[g.projection];if(Array.isArray(Ee))for(let ot=0;ot<Ee.length;ot++)Qc(a,i,A,Ee[ot],H);else{let ot=Ee;const bt=Q[fr];C1(g)&&(ot.flags|=128),P4(i,a,ot,bt,A,H,!0)}}function Op(i,a,s){""===s?i.removeAttribute(a,"class"):i.setAttribute(a,"class",s)}function qf(i,a,s){const{mergedAttrs:g,classes:A,styles:H}=s;null!==g&&Zr(i,a,g),null!==A&&Op(i,a,A),null!==H&&function Rp(i,a,s){i.setAttribute(a,"style",s)}(i,a,H)}const sr={};function H4(i=1){Qh(ur(),Ii(),Va()+i,!1)}function Qh(i,a,s,g){if(!g)if(3&~a[an]){const H=i.preOrderHooks;null!==H&&r2(a,H,0,s)}else{const H=i.preOrderCheckHooks;null!==H&&n2(a,H,s)}Uc(s)}function Y2(i,a=en.Default){const s=Ii();return null===s?Gn(i,a):O0(zr(),s,je(i),a)}function Fp(){throw new Error("invalid")}function Pp(i,a,s,g,A,H){const Q=x(null);try{let le=null;A&rr.SignalBased&&(le=a[g][l]),null!==le&&void 0!==le.transformFn&&(H=le.transformFn(H)),A&rr.HasDecoratorInputTransform&&(H=i.inputTransforms[g].call(a,H)),null!==i.setInput?i.setInput(a,le,H,s,g):ys(a,le,g,H)}finally{x(Q)}}function Zh(i,a,s,g,A,H,Q,le,Ee,ot,bt){const Gt=a.blueprint.slice();return Gt[Bn]=A,Gt[an]=204|g,(null!==ot||i&&2048&i[an])&&(Gt[an]|=2048),zc(Gt),Gt[fr]=Gt[yc]=i,Gt[Vr]=s,Gt[cs]=Q||i&&i[cs],Gt[jn]=le||i&&i[jn],Gt[_a]=Ee||i&&i[_a]||null,Gt[da]=H,Gt[Nc]=function Z0(){return Q0++}(),Gt[Xa]=bt,Gt[Ns]=ot,Gt[Xr]=2==a.type?i[Xr]:Gt,Gt}function K2(i,a,s,g,A){let H=i.data[a];if(null===H)H=function e3(i,a,s,g,A){const H=C0(),Q=ds(),Ee=i.data[a]=function d5(i,a,s,g,A,H){let Q=a?a.injectorIndex:-1,le=0;return sl()&&(le|=128),{type:s,index:g,insertBeforeIndex:null,injectorIndex:Q,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:le,providerIndexes:0,value:A,attrs:H,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?H:H&&H.parent,s,a,g,A);return null===i.firstChild&&(i.firstChild=Ee),null!==H&&(Q?null==H.child&&null!==Ee.parent&&(H.child=Ee):null===H.next&&(H.next=Ee,Ee.prev=H)),Ee}(i,a,s,g,A),function p1(){return Nn.lFrame.inI18n}()&&(H.flags|=32);else if(64&H.type){H.type=s,H.value=g,H.attrs=A;const Q=function zl(){const i=Nn.lFrame,a=i.currentTNode;return i.isParent?a:a.parent}();H.injectorIndex=null===Q?-1:Q.injectorIndex}return ka(H,!0),H}function $2(i,a,s,g){if(0===s)return-1;const A=a.length;for(let H=0;H<s;H++)a.push(g),i.blueprint.push(g),i.data.push(null);return A}function Np(i,a,s,g,A){const H=Va(),Q=2&g;try{Uc(-1),Q&&a.length>kn&&Qh(i,a,kn,!1),Ds(Q?2:0,A),s(g,A)}finally{Uc(H),Ds(Q?3:1,A)}}function z4(i,a,s){if(Ts(a)){const g=x(null);try{const H=a.directiveEnd;for(let Q=a.directiveStart;Q<H;Q++){const le=i.data[Q];le.contentQueries&&le.contentQueries(1,s[Q],Q)}}finally{x(g)}}}function Q2(i,a,s){Gu()&&(function p5(i,a,s,g){const A=s.directiveStart,H=s.directiveEnd;Hs(s)&&function v5(i,a,s){const g=po(a,i),A=U4(s);let Q=16;s.signals?Q=4096:s.onPush&&(Q=64);const le=n3(i,Zh(i,A,null,Q,g,a,null,i[cs].rendererFactory.createRenderer(g,s),null,null,null));i[a.index]=le}(a,s,i.data[A+s.componentOffset]),i.firstCreatePass||Wc(s,a),es(g,a);const Q=s.initialInputs;for(let le=A;le<H;le++){const Ee=i.data[le],ot=ks(a,i,le,s);es(ot,a),null!==Q&&Yp(0,le-A,ot,Ee,0,Q),En(Ee)&&(Jo(s.index,a)[Vr]=ks(a,i,le,s))}}(i,a,s,po(s,a)),!(64&~s.flags)&&Gp(i,a,s))}function B4(i,a,s=po){const g=a.localNames;if(null!==g){let A=a.index+1;for(let H=0;H<g.length;H+=2){const Q=g[H+1],le=-1===Q?s(a,i):i[Q];i[A++]=le}}}function U4(i){const a=i.tView;return null===a||a.incompleteFirstPass?i.tView=G4(1,null,i.template,i.decls,i.vars,i.directiveDefs,i.pipeDefs,i.viewQuery,i.schemas,i.consts,i.id):a}function G4(i,a,s,g,A,H,Q,le,Ee,ot,bt){const Gt=kn+g,ei=Gt+A,di=function a5(i,a){const s=[];for(let g=0;g<a;g++)s.push(g<i?null:sr);return s}(Gt,ei),_i="function"==typeof ot?ot():ot;return di[zi]={type:i,blueprint:di,template:s,queries:null,viewQuery:le,declTNode:a,data:di.slice().fill(null,Gt),bindingStartIndex:Gt,expandoStartIndex:ei,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 H?H():H,pipeRegistry:"function"==typeof Q?Q():Q,firstChild:null,schemas:Ee,consts:_i,incompleteFirstPass:!1,ssrId:bt}}let j4=()=>null;function t3(i,a,s,g,A){for(let H in a){if(!a.hasOwnProperty(H))continue;const Q=a[H];if(void 0===Q)continue;g??={};let le,Ee=rr.None;Array.isArray(Q)?(le=Q[0],Ee=Q[1]):le=Q;let ot=H;if(null!==A){if(!A.hasOwnProperty(H))continue;ot=A[H]}0===i?W4(g,s,ot,le,Ee):W4(g,s,ot,le)}return g}function W4(i,a,s,g,A){let H;i.hasOwnProperty(s)?(H=i[s]).push(a,g):H=i[s]=[a,g],void 0!==A&&H.push(A)}function ms(i,a,s,g,A,H,Q,le){const Ee=po(a,s);let bt,ot=a.inputs;!le&&null!=ot&&(bt=ot[g])?(Q4(i,s,bt,g,A),Hs(a)&&function h5(i,a){const s=Jo(a,i);16&s[an]||(s[an]|=64)}(s,a.index)):3&a.type&&(g=function zp(i){return"class"===i?"className":"for"===i?"htmlFor":"formaction"===i?"formAction":"innerHtml"===i?"innerHTML":"readonly"===i?"readOnly":"tabindex"===i?"tabIndex":i}(g),A=null!=Q?Q(A,a.value||"",g):A,H.setProperty(Ee,g,A))}function i3(i,a,s,g){if(Gu()){const A=null===g?null:{"":-1},H=function jp(i,a){const s=i.directiveRegistry;let g=null,A=null;if(s)for(let H=0;H<s.length;H++){const Q=s[H];if(pt(a,Q.selectors,!1))if(g||(g=[]),En(Q))if(null!==Q.findHostDirectiveDefs){const le=[];A=A||new Map,Q.findHostDirectiveDefs(Q,le,A),g.unshift(...le,Q),Y4(i,a,le.length)}else g.unshift(Q),Y4(i,a,0);else A=A||new Map,Q.findHostDirectiveDefs?.(Q,g,A),g.push(Q)}return null===g?null:[g,A]}(i,s);let Q,le;null===H?Q=le=null:[Q,le]=H,null!==Q&&Bp(i,a,s,Q,A,le),A&&function g5(i,a,s){if(a){const g=i.localNames=[];for(let A=0;A<a.length;A+=2){const H=s[a[A+1]];if(null==H)throw new fe(-301,!1);g.push(a[A],H)}}}(s,g,A)}s.mergedAttrs=uo(s.mergedAttrs,s.attrs)}function Bp(i,a,s,g,A,H){for(let ot=0;ot<g.length;ot++)fl(Wc(s,a),i,g[ot].type);!function Xp(i,a,s){i.flags|=1,i.directiveStart=a,i.directiveEnd=a+s,i.providerIndexes=a}(s,i.data.length,g.length);for(let ot=0;ot<g.length;ot++){const bt=g[ot];bt.providersResolver&&bt.providersResolver(bt)}let Q=!1,le=!1,Ee=$2(i,a,g.length,null);for(let ot=0;ot<g.length;ot++){const bt=g[ot];s.mergedAttrs=uo(s.mergedAttrs,bt.hostAttrs),_5(i,s,a,Ee,bt),Wp(Ee,bt,A),null!==bt.contentQueries&&(s.flags|=4),(null!==bt.hostBindings||null!==bt.hostAttrs||0!==bt.hostVars)&&(s.flags|=64);const Gt=bt.type.prototype;!Q&&(Gt.ngOnChanges||Gt.ngOnInit||Gt.ngDoCheck)&&((i.preOrderHooks??=[]).push(s.index),Q=!0),!le&&(Gt.ngOnChanges||Gt.ngDoCheck)&&((i.preOrderCheckHooks??=[]).push(s.index),le=!0),Ee++}!function Hp(i,a,s){const A=a.directiveEnd,H=i.data,Q=a.attrs,le=[];let Ee=null,ot=null;for(let bt=a.directiveStart;bt<A;bt++){const Gt=H[bt],ei=s?s.get(Gt):null,_i=ei?ei.outputs:null;Ee=t3(0,Gt.inputs,bt,Ee,ei?ei.inputs:null),ot=t3(1,Gt.outputs,bt,ot,_i);const Pi=null===Ee||null===Q||Eo(a)?null:Kp(Ee,bt,Q);le.push(Pi)}null!==Ee&&(Ee.hasOwnProperty("class")&&(a.flags|=8),Ee.hasOwnProperty("style")&&(a.flags|=16)),a.initialInputs=le,a.inputs=Ee,a.outputs=ot}(i,s,H)}function Gp(i,a,s){const g=s.directiveStart,A=s.directiveEnd,H=s.index,Q=function Na(){return Nn.lFrame.currentDirectiveIndex}();try{Uc(H);for(let le=g;le<A;le++){const Ee=i.data[le],ot=a[le];e2(le),(null!==Ee.hostBindings||0!==Ee.hostVars||null!==Ee.hostAttrs)&&X4(Ee,ot)}}finally{Uc(-1),e2(Q)}}function X4(i,a){null!==i.hostBindings&&i.hostBindings(1,a)}function Y4(i,a,s){a.componentOffset=s,(i.components??=[]).push(a.index)}function Wp(i,a,s){if(s){if(a.exportAs)for(let g=0;g<a.exportAs.length;g++)s[a.exportAs[g]]=i;En(a)&&(s[""]=i)}}function _5(i,a,s,g,A){i.data[g]=A;const H=A.factory||(A.factory=Lr(A.type)),Q=new jc(H,En(A),Y2);i.blueprint[g]=Q,s[g]=Q,function m5(i,a,s,g,A){const H=A.hostBindings;if(H){let Q=i.hostBindingOpCodes;null===Q&&(Q=i.hostBindingOpCodes=[]);const le=~a.index;(function Up(i){let a=i.length;for(;a>0;){const s=i[--a];if("number"==typeof s&&s<0)return s}return 0})(Q)!=le&&Q.push(le),Q.push(s,g,H)}}(i,a,g,$2(i,s,A.hostVars,sr),A)}function yl(i,a,s,g,A,H){const Q=po(i,a);!function K4(i,a,s,g,A,H,Q){if(null==H)i.removeAttribute(a,A,s);else{const le=null==Q?pi(H):Q(H,g||"",A);i.setAttribute(a,A,le,s)}}(a[jn],Q,H,i.value,s,g,A)}function Yp(i,a,s,g,A,H){const Q=H[a];if(null!==Q)for(let le=0;le<Q.length;)Pp(g,s,Q[le++],Q[le++],Q[le++],Q[le++])}function Kp(i,a,s){let g=null,A=0;for(;A<s.length;){const H=s[A];if(0!==H)if(5!==H){if("number"==typeof H)break;if(i.hasOwnProperty(H)){null===g&&(g=[]);const Q=i[H];for(let le=0;le<Q.length;le+=3)if(Q[le]===a){g.push(H,Q[le+1],Q[le+2],s[A+1]);break}}A+=2}else A+=2;else A+=4}return g}function $p(i,a,s,g){return[i,!0,0,a,null,g,null,s,null,null]}function Qp(i,a){const s=i.contentQueries;if(null!==s){const g=x(null);try{for(let A=0;A<s.length;A+=2){const Q=s[A+1];if(-1!==Q){const le=i.data[Q];nc(s[A]),le.contentQueries(2,a[Q],Q)}}}finally{x(g)}}}function n3(i,a){return i[bc]?i[Il][Wr]=a:i[bc]=a,i[Il]=a,a}function $4(i,a,s){nc(0);const g=x(null);try{a(i,s)}finally{x(g)}}function Zp(i){return i[vc]||(i[vc]=[])}function Jp(i){return i.cleanup||(i.cleanup=[])}function qp(i,a,s){return(null===i||En(i))&&(s=function m1(i){for(;Array.isArray(i);){if("object"==typeof i[nl])return i;i=i[Bn]}return null}(s[a.index])),s[jn]}function Z2(i,a){const s=i[_a],g=s?s.get(Us,null):null;g&&g.handleError(a)}function Q4(i,a,s,g,A){for(let H=0;H<s.length;){const Q=s[H++],le=s[H++],Ee=s[H++];Pp(i.data[Q],a[Q],g,le,Ee,A)}}function Zc(i,a,s){const g=Da(a,i);!function j2(i,a,s){i.setValue(a,s)}(i[jn],g,s)}function e6(i,a){const s=Jo(a,i),g=s[zi];!function pr(i,a){for(let s=a.length;s<i.blueprint.length;s++)a.push(i.blueprint[s])}(g,s);const A=s[Bn];null!==A&&null===s[Xa]&&(s[Xa]=gh(A,s[_a])),Fc(g,s,s[Vr])}function Fc(i,a,s){w0(a);try{const g=i.viewQuery;null!==g&&$4(1,g,s);const A=i.template;null!==A&&Np(i,a,A,1,s),i.firstCreatePass&&(i.firstCreatePass=!1),a[ec]?.finishViewCreation(i),i.staticContentQueries&&Qp(i,a),i.staticViewQueries&&$4(2,i.viewQuery,s);const H=i.components;null!==H&&function Z4(i,a){for(let s=0;s<a.length;s++)e6(i,a[s])}(a,H)}catch(g){throw i.firstCreatePass&&(i.incompleteFirstPass=!0,i.firstCreatePass=!1),g}finally{a[an]&=-5,M0()}}function R1(i,a,s,g){const A=x(null);try{const H=a.tView,Ee=Zh(i,H,s,4096&i[an]?4096:16,null,a,null,null,g?.injector??null,g?.embeddedViewInjector??null,g?.dehydratedView??null);Ee[mo]=i[a.index];const bt=i[ec];return null!==bt&&(Ee[ec]=bt.createEmbeddedView(H)),Fc(H,Ee,s),Ee}finally{x(A)}}function Cs(i,a){const s=Jr+a;if(s<i.length)return i[s]}function O1(i,a){return!a||null===a.firstChild||C1(i)}function Md(i,a,s,g=!0){const A=a[zi];if(function Ls(i,a,s,g){const A=Jr+g,H=s.length;g>0&&(s[A-1][Wr]=a),g<H-Jr?(a[Wr]=s[A],as(s,Jr+g,a)):(s.push(a),a[Wr]=null),a[fr]=s;const Q=a[mo];null!==Q&&s!==Q&&Oc(Q,a);const le=a[ec];null!==le&&le.insertView(i),b0(a),a[an]|=128}(A,a,i,s),g){const Q=F4(s,i),le=a[jn],Ee=Zf(le,i[$o]);null!==Ee&&function Sr(i,a,s,g,A,H){g[Bn]=A,g[da]=a,$h(i,g,s,1,A,H)}(A,i[da],le,a,Ee,Q)}const H=a[Xa];null!==H&&null!==H.firstChild&&(H.firstChild=null)}function r3(i,a){const s=s1(i,a);return void 0!==s&&W2(s[zi],s),s}function xl(i,a,s,g,A=!1){for(;null!==s;){const H=a[s.index];null!==H&&g.push(Er(H)),va(H)&&Jh(H,g);const Q=s.type;if(8&Q)xl(i,a,s.child,g);else if(32&Q){const le=U2(s,a);let Ee;for(;Ee=le();)g.push(Ee)}else if(16&Q){const le=Lp(a,s);if(Array.isArray(le))g.push(...le);else{const Ee=ol(a[Xr]);xl(Ee[zi],Ee,le,g,!0)}}s=A?s.projectionNext:s.next}return g}function Jh(i,a){for(let s=Jr;s<i.length;s++){const g=i[s],A=g[zi].firstChild;null!==A&&xl(g[zi],g,A,a)}i[$o]!==i[Bn]&&a.push(i[$o])}let Cl=[];const q2={...w,consumerIsAlwaysLive:!0,consumerMarkedDirty:i=>{$d(i.lView)},consumerOnSignalRead(){this.lView[Vs]=this}},a3=100;function e0(i,a=!0,s=0){const g=i[cs],A=g.rendererFactory;A.begin?.();try{!function q4(i,a){const s=Xu();try{j1(!0),t0(i,a);let g=0;for(;al(i);){if(g===a3)throw new fe(103,!1);g++,t0(i,1)}}finally{j1(s)}}(i,s)}catch(Q){throw a&&Z2(i,Q),Q}finally{A.end?.(),g.inlineEffectRunner?.flush()}}function t6(i,a,s,g){const A=a[an];if(!(256&~A))return;a[cs].inlineEffectRunner?.flush(),w0(a);let le=null,Ee=null;(function em(i){return 2!==i.type})(i)&&(Ee=function J2(i){return i[Vs]??function Un(i){const a=Cl.pop()??Object.create(q2);return a.lView=i,a}(i)}(a),le=G(Ee));try{zc(a),function Yu(i){return Nn.lFrame.bindingIndex=i}(i.bindingStartIndex),null!==s&&Np(i,a,s,2,g);const ot=!(3&~A);if(ot){const ei=i.preOrderCheckHooks;null!==ei&&n2(a,ei,null)}else{const ei=i.preOrderHooks;null!==ei&&r2(a,ei,0,null),K1(a,0)}if(function o3(i){for(let a=M2(i);null!==a;a=Zl(a)){if(!(a[an]&Ol.HasTransplantedViews))continue;const s=a[Hc];for(let g=0;g<s.length;g++)v0(s[g])}}(a),tm(a,0),null!==i.contentQueries&&Qp(i,a),ot){const ei=i.contentCheckHooks;null!==ei&&n2(a,ei)}else{const ei=i.contentHooks;null!==ei&&r2(a,ei,1),K1(a,1)}!function r5(i,a){const s=i.hostBindingOpCodes;if(null!==s)try{for(let g=0;g<s.length;g++){const A=s[g];if(A<0)Uc(~A);else{const H=A,Q=s[++g],le=s[++g];ya(Q,H),le(2,a[H])}}}finally{Uc(-1)}}(i,a);const bt=i.components;null!==bt&&s3(a,bt,0);const Gt=i.viewQuery;if(null!==Gt&&$4(2,Gt,g),ot){const ei=i.viewCheckHooks;null!==ei&&n2(a,ei)}else{const ei=i.viewHooks;null!==ei&&r2(a,ei,2),K1(a,2)}if(!0===i.firstUpdatePass&&(i.firstUpdatePass=!1),a[Vc]){for(const ei of a[Vc])ei();a[Vc]=null}a[an]&=-73}catch(ot){throw $d(a),ot}finally{null!==Ee&&(Y(Ee,le),function J4(i){i.lView[Vs]!==i&&(i.lView=null,Cl.push(i))}(Ee)),M0()}}function tm(i,a){for(let s=M2(i);null!==s;s=Zl(s))for(let g=Jr;g<s.length;g++)eu(s[g],a)}function ts(i,a,s){eu(Jo(a,i),s)}function eu(i,a){z1(i)&&t0(i,a)}function t0(i,a){const g=i[zi],A=i[an],H=i[Vs];let Q=!!(0===a&&16&A);if(Q||=!!(64&A&&0===a),Q||=!!(1024&A),Q||=!(!H?.dirty||!$(H)),Q||=!1,H&&(H.dirty=!1),i[an]&=-9217,Q)t6(g,i,g.template,i[Vr]);else if(8192&A){tm(i,1);const le=g.components;null!==le&&s3(i,le,1)}}function s3(i,a,s){for(let g=0;g<a.length;g++)ts(i,a[g],s)}function Ed(i,a){const s=Xu()?64:1088;for(i[cs].changeDetectionScheduler?.notify(a);i;){i[an]|=s;const g=ol(i);if(qi(i)&&!g)return i;i=g}return null}class Ys{get rootNodes(){const a=this._lView,s=a[zi];return xl(s,a,s.firstChild,[])}constructor(a,s,g=!0){this._lView=a,this._cdRefInjectingView=s,this.notifyErrorHandler=g,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Vr]}set context(a){this._lView[Vr]=a}get destroyed(){return!(256&~this._lView[an])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const a=this._lView[fr];if(va(a)){const s=a[8],g=s?s.indexOf(this):-1;g>-1&&(s1(a,g),Ga(s,g))}this._attachedToViewContainer=!1}W2(this._lView[zi],this._lView)}onDestroy(a){B1(this._lView,a)}markForCheck(){Ed(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[an]&=-129}reattach(){b0(this._lView),this._lView[an]|=128}detectChanges(){this._lView[an]|=1024,e0(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new fe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const a=qi(this._lView),s=this._lView[mo];null!==s&&!a&&Ca(s,this._lView),_o(this._lView[zi],this._lView)}attachToAppRef(a){if(this._attachedToViewContainer)throw new fe(902,!1);this._appRef=a;const s=qi(this._lView),g=this._lView[mo];null!==g&&!s&&Oc(g,this._lView),b0(this._lView)}}let Sd=(()=>{class i{static{this.__NG_ELEMENT_ID__=im}}return i})();const c3=Sd,d1=class extends c3{constructor(a,s,g){super(),this._declarationLView=a,this._declarationTContainer=s,this.elementRef=g}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(a,s){return this.createEmbeddedViewImpl(a,s)}createEmbeddedViewImpl(a,s,g){const A=R1(this._declarationLView,this._declarationTContainer,a,{embeddedViewInjector:s,dehydratedView:g});return new Ys(A)}};function im(){return Td(zr(),Ii())}function Td(i,a){return 4&i.type?new d1(a,i,Kl(i,a)):null}let ym=()=>null;function Rd(i,a){return ym(i,a)}class Od{}const P1=new Fi("",{providedIn:"root",factory:()=>!1}),v6=new Fi("");class V5{}class b6{}class H5{resolveComponentFactory(a){throw function y6(i){const a=Error(`No component factory found for ${dt(i)}.`);return a.ngComponent=i,a}(a)}}class lu{static{this.NULL=new H5}}class y3{}let z5=(()=>{class i{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function B5(){const i=Ii(),s=Jo(zr().index,i);return(Aa(s)?s:i)[jn]}()}}return i})(),w6=(()=>{class i{static{this.\u0275prov=Li({token:i,providedIn:"root",factory:()=>null})}}return i})();const x3={};function du(i,a){if(null!==function m(){return e}())throw new fe(-602,!1)}const M6=new Set;function oc(i){M6.has(i)||(M6.add(i),performance?.mark?.("mark_feature_usage",{detail:{feature:i}}))}function E6(i){let a=!0;return setTimeout(()=>{a&&(a=!1,i())}),"function"==typeof ut.requestAnimationFrame&&ut.requestAnimationFrame(()=>{a&&(a=!1,i())}),()=>{a=!1}}function S6(i){let a=!0;return queueMicrotask(()=>{a&&i()}),()=>{a=!1}}function C3(...i){}class Ha{constructor({enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:g=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Gs(!1),this.onMicrotaskEmpty=new Gs(!1),this.onStable=new Gs(!1),this.onError=new Gs(!1),typeof Zone>"u")throw new fe(908,!1);Zone.assertZonePatched();const A=this;A._nesting=0,A._outer=A._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(A._inner=A._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(A._inner=A._inner.fork(Zone.longStackTraceZoneSpec)),A.shouldCoalesceEventChangeDetection=!g&&s,A.shouldCoalesceRunChangeDetection=g,A.callbackScheduled=!1,function u(i){const a=()=>{!function G5(i){i.isCheckStableRunning||i.callbackScheduled||(i.callbackScheduled=!0,Zone.root.run(()=>{E6(()=>{i.callbackScheduled=!1,I(i),i.isCheckStableRunning=!0,w3(i),i.isCheckStableRunning=!1})}),I(i))}(i)};i._inner=i._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(s,g,A,H,Q,le)=>{if(function K(i){return yt(i,"__ignore_ng_zone__")}(le))return s.invokeTask(A,H,Q,le);try{return o(i),s.invokeTask(A,H,Q,le)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===H.type||i.shouldCoalesceRunChangeDetection)&&a(),E(i)}},onInvoke:(s,g,A,H,Q,le,Ee)=>{try{return o(i),s.invoke(A,H,Q,le,Ee)}finally{i.shouldCoalesceRunChangeDetection&&!i.callbackScheduled&&!function Re(i){return yt(i,"__scheduler_tick__")}(le)&&a(),E(i)}},onHasTask:(s,g,A,H)=>{s.hasTask(A,H),g===A&&("microTask"==H.change?(i._hasPendingMicrotasks=H.microTask,I(i),w3(i)):"macroTask"==H.change&&(i.hasPendingMacrotasks=H.macroTask))},onHandleError:(s,g,A,H)=>(s.handleError(A,H),i.runOutsideAngular(()=>i.onError.emit(H)),!1)})}(A)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ha.isInAngularZone())throw new fe(909,!1)}static assertNotInAngularZone(){if(Ha.isInAngularZone())throw new fe(909,!1)}run(a,s,g){return this._inner.run(a,s,g)}runTask(a,s,g,A){const H=this._inner,Q=H.scheduleEventTask("NgZoneEvent: "+A,a,T6,C3,C3);try{return H.runTask(Q,s,g)}finally{H.cancelTask(Q)}}runGuarded(a,s,g){return this._inner.runGuarded(a,s,g)}runOutsideAngular(a){return this._outer.run(a)}}const T6={};function w3(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 I(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&!0===i.callbackScheduled)}function o(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function E(i){i._nesting--,w3(i)}class j{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Gs,this.onMicrotaskEmpty=new Gs,this.onStable=new Gs,this.onError=new Gs}run(a,s,g){return a.apply(s,g)}runGuarded(a,s,g){return a.apply(s,g)}runOutsideAngular(a){return a()}runTask(a,s,g,A){return a.apply(s,g)}}function yt(i,a){return!(!Array.isArray(i)||1!==i.length)&&!0===i[0]?.data?.[a]}var Ut=function(i){return i[i.EarlyRead=0]="EarlyRead",i[i.Write=1]="Write",i[i.MixedReadWrite=2]="MixedReadWrite",i[i.Read=3]="Read",i}(Ut||{});const si={destroy(){}};function Ai(i,a){!a&&Te();const s=a?.injector??ln(go);if(!function In(i){return"browser"===(i??ln(go)).get(ql)}(s))return si;oc("NgAfterNextRender");const g=s.get(Di),A=g.handler??=new Tn,H=a?.phase??Ut.MixedReadWrite,Q=()=>{A.unregister(Ee),le()},le=s.get(ml).onDestroy(Q),Ee=J(s,()=>new on(H,()=>{Q(),i()}));return A.register(Ee),{destroy:Q}}class on{constructor(a,s){this.phase=a,this.callbackFn=s,this.zone=ln(Ha),this.errorHandler=ln(Us,{optional:!0}),ln(Od,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(a){this.errorHandler?.handleError(a)}}}class Tn{constructor(){this.executingCallbacks=!1,this.buckets={[Ut.EarlyRead]:new Set,[Ut.Write]:new Set,[Ut.MixedReadWrite]:new Set,[Ut.Read]:new Set},this.deferredCallbacks=new Set}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 s of a)s.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 Di=(()=>{class i{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const s=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const g of s)g()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static{this.\u0275prov=Li({token:i,providedIn:"root",factory:()=>new i})}}return i})();function Ln(i){return!!Ir(i)}function Tr(i,a,s){let g=s?i.styles:null,A=s?i.classes:null,H=0;if(null!==a)for(let Q=0;Q<a.length;Q++){const le=a[Q];"number"==typeof le?H=le:1==H?A=Le(A,le):2==H&&(g=Le(g,le+": "+a[++Q]+";"))}s?i.styles=g:i.stylesWithoutHost=g,s?i.classes=A:i.classesWithoutHost=A}class ia extends lu{constructor(a){super(),this.ngModule=a}resolveComponentFactory(a){const s=zn(a);return new Lo(s,this.ngModule)}}function Is(i){const a=[];for(const s in i){if(!i.hasOwnProperty(s))continue;const g=i[s];void 0!==g&&a.push({propName:Array.isArray(g)?g[0]:g,templateName:s})}return a}class fa{constructor(a,s){this.injector=a,this.parentInjector=s}get(a,s,g){g=$r(g);const A=this.injector.get(a,x3,g);return A!==x3||s===x3?A:this.parentInjector.get(a,s,g)}}class Lo extends b6{get inputs(){const a=this.componentDef,s=a.inputTransforms,g=Is(a.inputs);if(null!==s)for(const A of g)s.hasOwnProperty(A.propName)&&(A.transform=s[A.propName]);return g}get outputs(){return Is(this.componentDef.outputs)}constructor(a,s){super(),this.componentDef=a,this.ngModule=s,this.componentType=a.type,this.selector=function br(i){return i.map(Ho).join(",")}(a.selectors),this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[],this.isBoundToModule=!!s}create(a,s,g,A){const H=x(null);try{let Q=(A=A||this.ngModule)instanceof To?A:A?.injector;Q&&null!==this.componentDef.getStandaloneInjector&&(Q=this.componentDef.getStandaloneInjector(Q)||Q);const le=Q?new fa(a,Q):a,Ee=le.get(y3,null);if(null===Ee)throw new fe(407,!1);const ot=le.get(w6,null),ei={rendererFactory:Ee,sanitizer:ot,inlineEffectRunner:null,afterRenderEventManager:le.get(Di,null),changeDetectionScheduler:le.get(Od,null)},di=Ee.createRenderer(null,this.componentDef),_i=this.componentDef.selectors[0][0]||"div",Pi=g?function o5(i,a,s,g){const H=g.get(I2,!1)||s===bi.ShadowDom,Q=i.selectRootElement(a,H);return function s5(i){j4(i)}(Q),Q}(di,g,this.componentDef.encapsulation,le):Pn(di,_i,function za(i){const a=i.toLowerCase();return"svg"===a?Nl:"math"===a?"math":null}(_i));let Zi=512;this.componentDef.signals?Zi|=4096:this.componentDef.onPush||(Zi|=16);let sn=null;null!==Pi&&(sn=gh(Pi,le,!0));const Vi=G4(0,null,null,1,0,null,null,null,null,null,null),qn=Zh(null,Vi,null,Zi,null,null,ei,di,le,null,sn);let Kr,Ba;w0(qn);try{const ws=this.componentDef;let qc,Sp=null;ws.findHostDirectiveDefs?(qc=[],Sp=new Map,ws.findHostDirectiveDefs(ws,qc,Sp),qc.push(ws)):qc=[ws];const DE=function Io(i,a){const s=i[zi],g=kn;return i[g]=a,K2(s,g,2,"#host",null)}(qn,Pi),kE=function so(i,a,s,g,A,H,Q){const le=A[zi];!function co(i,a,s,g){for(const A of i)a.mergedAttrs=uo(a.mergedAttrs,A.hostAttrs);null!==a.mergedAttrs&&(Tr(a,a.mergedAttrs,!0),null!==s&&qf(g,s,a))}(g,i,a,Q);let Ee=null;null!==a&&(Ee=gh(a,A[_a]));const ot=H.rendererFactory.createRenderer(a,s);let bt=16;s.signals?bt=4096:s.onPush&&(bt=64);const Gt=Zh(A,U4(s),null,bt,A[i.index],i,H,ot,null,null,Ee);return le.firstCreatePass&&Y4(le,i,g.length-1),n3(A,Gt),A[i.index]=Gt}(DE,Pi,ws,qc,qn,ei,di);Ba=tc(Vi,kn),Pi&&function Fd(i,a,s,g){if(g)Zr(i,s,["ng-version","18.0.1"]);else{const{attrs:A,classes:H}=function Wa(i){const a=[],s=[];let g=1,A=2;for(;g<i.length;){let H=i[g];if("string"==typeof H)2===A?""!==H&&a.push(H,i[++g]):8===A&&s.push(H);else{if(!Ri(A))break;A=H}g++}return{attrs:a,classes:s}}(a.selectors[0]);A&&Zr(i,s,A),H&&H.length>0&&Op(i,s,H.join(" "))}}(di,ws,Pi,g),void 0!==s&&function Pd(i,a,s){const g=i.projection=[];for(let A=0;A<a.length;A++){const H=s[A];g.push(null!=H?Array.from(H):null)}}(Ba,this.ngContentSelectors,s),Kr=function l0(i,a,s,g,A,H){const Q=zr(),le=A[zi],Ee=po(Q,A);Bp(le,A,Q,s,null,g);for(let bt=0;bt<s.length;bt++)es(ks(A,le,Q.directiveStart+bt,Q),A);Gp(le,A,Q),Ee&&es(Ee,A);const ot=ks(A,le,Q.directiveStart+Q.componentOffset,Q);if(i[Vr]=A[Vr]=ot,null!==H)for(const bt of H)bt(ot,a);return z4(le,Q,A),ot}(kE,ws,qc,Sp,qn,[Nd]),Fc(Vi,qn,null)}finally{M0()}return new Yr(this.componentType,Kr,Kl(Ba,qn),qn,Ba)}finally{x(H)}}}class Yr extends V5{constructor(a,s,g,A,H){super(),this.location=g,this._rootLView=A,this._tNode=H,this.previousInputValues=null,this.instance=s,this.hostView=this.changeDetectorRef=new Ys(A,void 0,!1),this.componentType=a}setInput(a,s){const g=this._tNode.inputs;let A;if(null!==g&&(A=g[a])){if(this.previousInputValues??=new Map,this.previousInputValues.has(a)&&Object.is(this.previousInputValues.get(a),s))return;const H=this._rootLView;Q4(H[zi],H,A,a,s),this.previousInputValues.set(a,s),Ed(Jo(this._tNode.index,H),1)}}get injector(){return new to(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(a){this.hostView.onDestroy(a)}}function Nd(){const i=zr();t2(Ii()[zi],i)}let Ro=(()=>{class i{static{this.__NG_ELEMENT_ID__=N1}}return i})();function N1(){return Ka(zr(),Ii())}const Mn=Ro,dr=class extends Mn{constructor(a,s,g){super(),this._lContainer=a,this._hostTNode=s,this._hostLView=g}get element(){return Kl(this._hostTNode,this._hostLView)}get injector(){return new to(this._hostTNode,this._hostLView)}get parentInjector(){const a=jl(this._hostTNode,this._hostLView);if(hl(a)){const s=ul(a,this._hostLView),g=Sc(a);return new to(s[zi].data[g+8],s)}return new to(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(a){const s=Cr(this._lContainer);return null!==s&&s[a]||null}get length(){return this._lContainer.length-Jr}createEmbeddedView(a,s,g){let A,H;"number"==typeof g?A=g:null!=g&&(A=g.index,H=g.injector);const Q=Rd(this._lContainer,a.ssrId),le=a.createEmbeddedViewImpl(s||{},H,Q);return this.insertImpl(le,A,O1(this._hostTNode,Q)),le}createComponent(a,s,g,A,H){const Q=a&&!function pn(i){return"function"==typeof i}(a);let le;if(Q)le=s;else{const _i=s||{};le=_i.index,g=_i.injector,A=_i.projectableNodes,H=_i.environmentInjector||_i.ngModuleRef}const Ee=Q?a:new Lo(zn(a)),ot=g||this.parentInjector;if(!H&&null==Ee.ngModule){const Pi=(Q?ot:this.parentInjector).get(To,null);Pi&&(H=Pi)}const bt=zn(Ee.componentType??{}),Gt=Rd(this._lContainer,bt?.id??null),di=Ee.create(ot,A,Gt?.firstChild??null,H);return this.insertImpl(di.hostView,le,O1(this._hostTNode,Gt)),di}insert(a,s){return this.insertImpl(a,s,!0)}insertImpl(a,s,g){const A=a._lView;if(function Xt(i){return va(i[fr])}(A)){const le=this.indexOf(a);if(-1!==le)this.detach(le);else{const Ee=A[fr],ot=new dr(Ee,Ee[da],Ee[fr]);ot.detach(ot.indexOf(a))}}const H=this._adjustIndex(s),Q=this._lContainer;return Md(Q,A,H,g),a.attachToViewContainerRef(),as(Ji(Q),H,a),a}move(a,s){return this.insert(a,s)}indexOf(a){const s=Cr(this._lContainer);return null!==s?s.indexOf(a):-1}remove(a){const s=this._adjustIndex(a,-1),g=s1(this._lContainer,s);g&&(Ga(Ji(this._lContainer),s),W2(g[zi],g))}detach(a){const s=this._adjustIndex(a,-1),g=s1(this._lContainer,s);return g&&null!=Ga(Ji(this._lContainer),s)?new Ys(g):null}_adjustIndex(a,s=0){return a??this.length+s}};function Cr(i){return i[8]}function Ji(i){return i[8]||(i[8]=[])}function Ka(i,a){let s;const g=a[i.index];return va(g)?s=g:(s=$p(g,a,null,i),a[i.index]=s,n3(a,s)),gs(s,a,i,g),new dr(s,i,a)}let gs=function $a(i,a,s,g){if(i[$o])return;let A;A=8&s.type?Er(g):function Ur(i,a){const s=i[jn],g=s.createComment(""),A=po(a,i);return wd(s,Zf(s,A),g,function t5(i,a){return i.nextSibling(a)}(s,A),!1),g}(a,s),i[$o]=A},Bo=()=>!1;class Cm{constructor(a){this.queryList=a,this.matches=null}clone(){return new Cm(this.queryList)}setDirty(){this.queryList.setDirty()}}class A6{constructor(a=[]){this.queries=a}createEmbeddedView(a){const s=a.queries;if(null!==s){const g=null!==a.contentQueries?a.contentQueries[0]:s.length,A=[];for(let H=0;H<g;H++){const Q=s.getByIndex(H);A.push(this.queries[Q.indexInDeclarationView].clone())}return new A6(A)}return null}insertView(a){this.dirtyQueriesWithMatches(a)}detachView(a){this.dirtyQueriesWithMatches(a)}finishViewCreation(a){this.dirtyQueriesWithMatches(a)}dirtyQueriesWithMatches(a){for(let s=0;s<this.queries.length;s++)null!==R6(a,s).matches&&this.queries[s].setDirty()}}class j5{constructor(a,s,g=null){this.flags=s,this.read=g,this.predicate="string"==typeof a?function mb(i){return i.split(",").map(a=>a.trim())}(a):a}}class D6{constructor(a=[]){this.queries=a}elementStart(a,s){for(let g=0;g<this.queries.length;g++)this.queries[g].elementStart(a,s)}elementEnd(a){for(let s=0;s<this.queries.length;s++)this.queries[s].elementEnd(a)}embeddedTView(a){let s=null;for(let g=0;g<this.length;g++){const A=null!==s?s.length:0,H=this.getByIndex(g).embeddedTView(a,A);H&&(H.indexInDeclarationView=g,null!==s?s.push(H):s=[H])}return null!==s?new D6(s):null}template(a,s){for(let g=0;g<this.queries.length;g++)this.queries[g].template(a,s)}getByIndex(a){return this.queries[a]}get length(){return this.queries.length}track(a){this.queries.push(a)}}class wm{constructor(a,s=-1){this.metadata=a,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=s}elementStart(a,s){this.isApplyingToNode(s)&&this.matchTNode(a,s)}elementEnd(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)}template(a,s){this.elementStart(a,s)}embeddedTView(a,s){return this.isApplyingToNode(a)?(this.crossesNgTemplate=!0,this.addMatch(-a.index,s),new wm(this.metadata)):null}isApplyingToNode(a){if(this._appliesToNextNode&&1&~this.metadata.flags){const s=this._declarationNodeIndex;let g=a.parent;for(;null!==g&&8&g.type&&g.index!==s;)g=g.parent;return s===(null!==g?g.index:-1)}return this._appliesToNextNode}matchTNode(a,s){const g=this.metadata.predicate;if(Array.isArray(g))for(let A=0;A<g.length;A++){const H=g[A];this.matchTNodeWithReadOption(a,s,hb(s,H)),this.matchTNodeWithReadOption(a,s,J1(s,a,H,!1,!1))}else g===Sd?4&s.type&&this.matchTNodeWithReadOption(a,s,-1):this.matchTNodeWithReadOption(a,s,J1(s,a,g,!1,!1))}matchTNodeWithReadOption(a,s,g){if(null!==g){const A=this.metadata.read;if(null!==A)if(A===y1||A===Ro||A===Sd&&4&s.type)this.addMatch(s.index,-2);else{const H=J1(s,a,A,!1,!1);null!==H&&this.addMatch(s.index,H)}else this.addMatch(s.index,g)}}addMatch(a,s){null===this.matches?this.matches=[a,s]:this.matches.push(a,s)}}function hb(i,a){const s=i.localNames;if(null!==s)for(let g=0;g<s.length;g+=2)if(s[g]===a)return s[g+1];return null}function W5(i,a,s,g){return-1===s?function ub(i,a){return 11&i.type?Kl(i,a):4&i.type?Td(i,a):null}(a,i):-2===s?function fb(i,a,s){return s===y1?Kl(a,i):s===Sd?Td(a,i):s===Ro?Ka(a,i):void 0}(i,a,g):ks(i,i[zi],s,a)}function k6(i,a,s,g){const A=a[ec].queries[g];if(null===A.matches){const H=i.data,Q=s.matches,le=[];for(let Ee=0;null!==Q&&Ee<Q.length;Ee+=2){const ot=Q[Ee];le.push(ot<0?null:W5(a,H[ot],Q[Ee+1],s.metadata.read))}A.matches=le}return A.matches}function L6(i,a,s,g){const A=i.queries.getByIndex(s),H=A.matches;if(null!==H){const Q=k6(i,a,A,s);for(let le=0;le<H.length;le+=2){const Ee=H[le];if(Ee>0)g.push(Q[le/2]);else{const ot=H[le+1],bt=a[-Ee];for(let Gt=Jr;Gt<bt.length;Gt++){const ei=bt[Gt];ei[mo]===ei[fr]&&L6(ei[zi],ei,ot,g)}if(null!==bt[Hc]){const Gt=bt[Hc];for(let ei=0;ei<Gt.length;ei++){const di=Gt[ei];L6(di[zi],di,ot,g)}}}}}return g}function X5(i,a,s){const g=new ad(!(4&~s));return function l5(i,a,s,g){const A=Zp(a);A.push(s),i.firstCreatePass&&Jp(i).push(g,A.length-1)}(i,a,g,g.destroy),(a[ec]??=new A6).queries.push(new Cm(g))-1}function K5(i,a,s){null===i.queries&&(i.queries=new D6),i.queries.track(new wm(a,s))}function R6(i,a){return i.queries.getByIndex(a)}function $5(i,a){const s=i[zi],g=R6(s,a);return g.crossesNgTemplate?L6(s,i,a,[]):k6(s,i,g,a)}function Em(i,a){oc("NgSignals");const s=function r(i){const a=Object.create(Ie);a.value=i;const s=()=>(y(a),a.value);return s[l]=a,s}(i),g=s[l];return a?.equal&&(g.equal=a.equal),s.set=A=>N(g,A),s.update=A=>function ne(i,a){V()||L(),N(i,a(i.value))}(g,A),s.asReadonly=Z5.bind(s),s}function Z5(){const i=this[l];if(void 0===i.readonlyFn){const a=()=>this();a[l]=i,i.readonlyFn=a}return i.readonlyFn}function J5(i){return function Q5(i){return"function"==typeof i&&void 0!==i[l]}(i)&&"function"==typeof i.set}function H6(i){let a=function o7(i){return Object.getPrototypeOf(i.prototype).constructor}(i.type),s=!0;const g=[i];for(;a;){let A;if(En(i))A=a.\u0275cmp||a.\u0275dir;else{if(a.\u0275cmp)throw new fe(903,!1);A=a.\u0275dir}if(A){if(s){g.push(A);const Q=i;Q.inputs=Tm(i.inputs),Q.inputTransforms=Tm(i.inputTransforms),Q.declaredInputs=Tm(i.declaredInputs),Q.outputs=Tm(i.outputs);const le=A.hostBindings;le&&E3(i,le);const Ee=A.viewQuery,ot=A.contentQueries;if(Ee&&Ib(i,Ee),ot&&Rb(i,ot),z6(i,A),qe(i.outputs,A.outputs),En(A)&&A.data.animation){const bt=i.data;bt.animation=(bt.animation||[]).concat(A.data.animation)}}const H=A.features;if(H)for(let Q=0;Q<H.length;Q++){const le=H[Q];le&&le.ngInherit&&le(i),le===H6&&(s=!1)}}a=Object.getPrototypeOf(a)}!function Lb(i){let a=0,s=null;for(let g=i.length-1;g>=0;g--){const A=i[g];A.hostVars=a+=A.hostVars,A.hostAttrs=uo(A.hostAttrs,s=uo(s,A.hostAttrs))}}(g)}function z6(i,a){for(const s in a.inputs){if(!a.inputs.hasOwnProperty(s)||i.inputs.hasOwnProperty(s))continue;const g=a.inputs[s];if(void 0!==g&&(i.inputs[s]=g,i.declaredInputs[s]=a.declaredInputs[s],null!==a.inputTransforms)){const A=Array.isArray(g)?g[0]:g;if(!a.inputTransforms.hasOwnProperty(A))continue;i.inputTransforms??={},i.inputTransforms[A]=a.inputTransforms[A]}}}function Tm(i){return i===ra?{}:i===Kn?[]:i}function Ib(i,a){const s=i.viewQuery;i.viewQuery=s?(g,A)=>{a(g,A),s(g,A)}:a}function Rb(i,a){const s=i.contentQueries;i.contentQueries=s?(g,A,H)=>{a(g,A,H),s(g,A,H)}:a}function E3(i,a){const s=i.hostBindings;i.hostBindings=s?(g,A)=>{a(g,A),s(g,A)}:a}function G6(i){const a=i.inputConfig,s={};for(const g in a)if(a.hasOwnProperty(g)){const A=a[g];Array.isArray(A)&&A[3]&&(s[g]=A[3])}i.inputTransforms=s}class d0{}class l7{}function Vb(i,a){return new j6(i,a??null,[])}class j6 extends d0{constructor(a,s,g){super(),this._parent=s,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ia(this);const A=Ir(a);this._bootstrapComponents=Yi(A.bootstrap),this._r3Injector=G0(a,s,[{provide:d0,useValue:this},{provide:lu,useValue:this.componentFactoryResolver},...g],dt(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(s=>s()),this.destroyCbs=null}onDestroy(a){this.destroyCbs.push(a)}}class W6 extends l7{constructor(a){super(),this.moduleType=a}create(a){return new j6(this.moduleType,a,[])}}class X6 extends d0{constructor(a){super(),this.componentFactoryResolver=new ia(this),this.instance=null;const s=new Fs([...a.providers,{provide:d0,useValue:this},{provide:lu,useValue:this.componentFactoryResolver}],a.parent||os(),a.debugName,new Set(["environment"]));this.injector=s,a.runEnvironmentInitializers&&s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(a){this.injector.onDestroy(a)}}function Y6(i,a,s=null){return new X6({providers:i,parent:a,debugName:s,runEnvironmentInitializers:!0}).injector}let Hd=(()=>{class i{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new de.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const s=this.taskId++;return this.pendingTasks.add(s),s}remove(s){this.pendingTasks.delete(s),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(g){return new(g||i)}}static{this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function S3(i){return!!K6(i)&&(Array.isArray(i)||!(i instanceof Map)&&Symbol.iterator in i)}function K6(i){return null!==i&&("function"==typeof i||"object"==typeof i)}function El(i,a,s){return i[a]=s}function Oo(i,a,s){return!Object.is(i[a],s)&&(i[a]=s,!0)}function zd(i,a,s,g){const A=Oo(i,a,s);return Oo(i,a+1,g)||A}function km(i,a,s,g,A){const H=zd(i,a,s,g);return Oo(i,a+2,A)||H}function A3(i,a,s,g,A,H,Q,le,Ee,ot){const bt=s+kn,Gt=a.firstCreatePass?function m7(i,a,s,g,A,H,Q,le,Ee){const ot=a.consts,bt=K2(a,i,4,Q||null,le||null);i3(a,s,bt,qa(ot,Ee)),t2(a,bt);const Gt=bt.tView=G4(2,bt,g,A,H,a.directiveRegistry,a.pipeRegistry,null,a.schemas,ot,null);return null!==a.queries&&(a.queries.template(a,bt),Gt.queries=a.queries.embeddedTView(bt)),bt}(bt,a,i,g,A,H,Q,le,Ee):a.data[bt];ka(Gt,!1);const ei=p7(a,i,Gt,s);Y1()&&Jf(a,i,ei,Gt),es(ei,i);const di=$p(ei,i,ei,Gt);return i[bt]=di,n3(i,di),function $n(i,a,s){return Bo(i,a,s)}(di,Gt,i),Ja(Gt)&&Q2(a,i,Gt),null!=Ee&&B4(i,Gt,ot),Gt}function fu(i,a,s,g,A,H,Q,le){const Ee=Ii(),ot=ur();return A3(Ee,ot,i,a,s,g,A,qa(ot.consts,H),Q,le),fu}let p7=function g7(i,a,s,g){return Ec(!0),a[jn].createComment("")};function rg(i,a,s,g){const A=Ii();return Oo(A,us(),a)&&(ur(),yl(Fr(),A,i,a,s,g)),rg}function yu(i,a,s,g){return Oo(i,us(),s)?a+pi(s)+g:sr}function Gd(i,a,s,g,A,H){const le=zd(i,ic(),s,A);return Mc(2),le?a+pi(s)+g+pi(A)+H:sr}function Cu(i,a,s,g,A,H,Q,le,Ee,ot){const Gt=function Jc(i,a,s,g,A,H){const Q=zd(i,a,s,g);return zd(i,a+2,A,H)||Q}(i,ic(),s,A,Q,Ee);return Mc(4),Gt?a+pi(s)+g+pi(A)+H+pi(Q)+le+pi(Ee)+ot:sr}function Hm(i,a){return i<<17|a<<2}function Wd(i){return i>>17&32767}function lg(i){return 2|i}function f0(i){return(131068&i)>>2}function dg(i,a){return-131069&i|a<<2}function hg(i){return 1|i}function $7(i,a,s,g){const A=i[s+1],H=null===a;let Q=g?Wd(A):f0(A),le=!1;for(;0!==Q&&(!1===le||H);){const ot=i[Q+1];ug(i[Q],a)&&(le=!0,i[Q+1]=g?hg(ot):lg(ot)),Q=g?Wd(ot):f0(ot)}le&&(i[s+1]=g?lg(A):hg(A))}function ug(i,a){return null===i||null==a||(Array.isArray(i)?i[1]:i)===a||!(!Array.isArray(i)||"string"!=typeof a)&&wr(i,a)>=0}const ns={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Q7(i){return i.substring(ns.key,ns.keyEnd)}function fg(i,a){const s=ns.textEnd;return s===a?-1:(a=ns.keyEnd=function e_(i,a,s){for(;a<s&&i.charCodeAt(a)>32;)a++;return a}(i,ns.key=a,s),Su(i,a,s))}function Su(i,a,s){for(;a<s&&i.charCodeAt(a)<=32;)a++;return a}function mg(i,a,s){const g=Ii();return Oo(g,us(),a)&&ms(ur(),Fr(),g,i,a,g[jn],s,!1),mg}function pg(i,a,s,g,A){const Q=A?"class":"style";Q4(i,s,a.inputs[Q],Q,g)}function gg(i,a,s){return Sl(i,a,s,!1),gg}function _g(i,a){return Sl(i,a,null,!0),_g}function vg(i){Tl(Ey,f1,i,!0)}function f1(i,a){for(let s=function _y(i){return function q7(i){ns.key=0,ns.keyEnd=0,ns.value=0,ns.valueEnd=0,ns.textEnd=i.length}(i),fg(i,Su(i,0,ns.textEnd))}(a);s>=0;s=fg(a,s))pa(i,Q7(a),!0)}function Sl(i,a,s,g){const A=Ii(),H=ur(),Q=Mc(2);H.firstUpdatePass&&r_(H,i,Q,g),a!==sr&&Oo(A,Q,a)&&o_(H,H.data[Va()],A,A[jn],i,A[Q+1]=function Ty(i,a){return null==i||""===i||("string"==typeof a?i+=a:"object"==typeof i&&(i=dt(Lc(i)))),i}(a,s),g,Q)}function Tl(i,a,s,g){const A=ur(),H=Mc(2);A.firstUpdatePass&&r_(A,null,H,g);const Q=Ii();if(s!==sr&&Oo(Q,H,s)){const le=A.data[Va()];if(s_(le,g)&&!Bm(A,H)){let Ee=g?le.classesWithoutHost:le.stylesWithoutHost;null!==Ee&&(s=Le(Ee,s||"")),pg(A,le,Q,s,g)}else!function Sy(i,a,s,g,A,H,Q,le){A===sr&&(A=Kn);let Ee=0,ot=0,bt=0<A.length?A[0]:null,Gt=0<H.length?H[0]:null;for(;null!==bt||null!==Gt;){const ei=Ee<A.length?A[Ee+1]:void 0,di=ot<H.length?H[ot+1]:void 0;let Pi,_i=null;bt===Gt?(Ee+=2,ot+=2,ei!==di&&(_i=Gt,Pi=di)):null===Gt||null!==bt&&bt<Gt?(Ee+=2,_i=bt):(ot+=2,_i=Gt,Pi=di),null!==_i&&o_(i,a,s,g,_i,Pi,Q,le),bt=Ee<A.length?A[Ee]:null,Gt=ot<H.length?H[ot]:null}}(A,le,Q,Q[jn],Q[H+1],Q[H+1]=function Tu(i,a,s){if(null==s||""===s)return Kn;const g=[],A=Lc(s);if(Array.isArray(A))for(let H=0;H<A.length;H++)i(g,A[H],!0);else if("object"==typeof A)for(const H in A)A.hasOwnProperty(H)&&i(g,H,A[H]);else"string"==typeof A&&a(g,A);return g}(i,a,s),g,H)}}function Bm(i,a){return a>=i.expandoStartIndex}function r_(i,a,s,g){const A=i.data;if(null===A[s+1]){const H=A[Va()],Q=Bm(i,s);s_(H,g)&&null===a&&!Q&&(a=!1),a=function xy(i,a,s,g){const A=xa(i);let H=g?a.residualClasses:a.residualStyles;if(null===A)0===(g?a.classBindings:a.styleBindings)&&(s=I3(s=bg(null,i,a,s,g),a.attrs,g),H=null);else{const Q=a.directiveStylingLast;if(-1===Q||i[Q]!==A)if(s=bg(A,i,a,s,g),null===H){let Ee=function Cy(i,a,s){const g=s?a.classBindings:a.styleBindings;if(0!==f0(g))return i[Wd(g)]}(i,a,g);void 0!==Ee&&Array.isArray(Ee)&&(Ee=bg(null,i,a,Ee[1],g),Ee=I3(Ee,a.attrs,g),function wy(i,a,s,g){i[Wd(s?a.classBindings:a.styleBindings)]=g}(i,a,g,Ee))}else H=function My(i,a,s){let g;const A=a.directiveEnd;for(let H=1+a.directiveStylingLast;H<A;H++)g=I3(g,i[H].hostAttrs,s);return I3(g,a.attrs,s)}(i,a,g)}return void 0!==H&&(g?a.residualClasses=H:a.residualStyles=H),s}(A,H,a,g),function gy(i,a,s,g,A,H){let Q=H?a.classBindings:a.styleBindings,le=Wd(Q),Ee=f0(Q);i[g]=s;let bt,ot=!1;if(Array.isArray(s)?(bt=s[1],(null===bt||wr(s,bt)>0)&&(ot=!0)):bt=s,A)if(0!==Ee){const ei=Wd(i[le+1]);i[g+1]=Hm(ei,le),0!==ei&&(i[ei+1]=dg(i[ei+1],g)),i[le+1]=function my(i,a){return 131071&i|a<<17}(i[le+1],g)}else i[g+1]=Hm(le,0),0!==le&&(i[le+1]=dg(i[le+1],g)),le=g;else i[g+1]=Hm(Ee,0),0===le?le=g:i[Ee+1]=dg(i[Ee+1],g),Ee=g;ot&&(i[g+1]=lg(i[g+1])),$7(i,bt,g,!0),$7(i,bt,g,!1),function K7(i,a,s,g,A){const H=A?i.residualClasses:i.residualStyles;null!=H&&"string"==typeof a&&wr(H,a)>=0&&(s[g+1]=hg(s[g+1]))}(a,bt,i,g,H),Q=Hm(le,Ee),H?a.classBindings=Q:a.styleBindings=Q}(A,H,a,s,Q,g)}}function bg(i,a,s,g,A){let H=null;const Q=s.directiveEnd;let le=s.directiveStylingLast;for(-1===le?le=s.directiveStart:le++;le<Q&&(H=a[le],g=I3(g,H.hostAttrs,A),H!==i);)le++;return null!==i&&(s.directiveStylingLast=le),g}function I3(i,a,s){const g=s?1:2;let A=-1;if(null!==a)for(let H=0;H<a.length;H++){const Q=a[H];"number"==typeof Q?A=Q:A===g&&(Array.isArray(i)||(i=void 0===i?[]:["",i]),pa(i,Q,!!s||a[++H]))}return void 0===i?null:i}function Ey(i,a,s){const g=String(a);""!==g&&!g.includes(" ")&&pa(i,g,s)}function o_(i,a,s,g,A,H,Q,le){if(!(3&a.type))return;const Ee=i.data,ot=Ee[le+1],bt=function py(i){return!(1&~i)}(ot)?Au(Ee,a,s,A,f0(ot),Q):void 0;Um(bt)||(Um(H)||function zm(i){return!(2&~i)}(ot)&&(H=Au(Ee,null,s,A,le,Q)),function n5(i,a,s,g,A){if(a)A?i.addClass(s,g):i.removeClass(s,g);else{let H=-1===g.indexOf("-")?void 0:fs.DashCase;null==A?i.removeStyle(s,g,H):("string"==typeof A&&A.endsWith("!important")&&(A=A.slice(0,-10),H|=fs.Important),i.setStyle(s,g,A,H))}}(g,Q,Da(Va(),s),A,H))}function Au(i,a,s,g,A,H){const Q=null===a;let le;for(;A>0;){const Ee=i[A],ot=Array.isArray(Ee),bt=ot?Ee[1]:Ee,Gt=null===bt;let ei=s[A+1];ei===sr&&(ei=Gt?Kn:void 0);let di=Gt?ro(ei,g):bt===g?ei:void 0;if(ot&&!Um(di)&&(di=ro(Ee,g)),Um(di)&&(le=di,Q))return le;const _i=i[A+1];A=Q?Wd(_i):f0(_i)}if(null!==a){let Ee=H?a.residualClasses:a.residualStyles;null!=Ee&&(le=ro(Ee,g))}return le}function Um(i){return void 0!==i}function s_(i,a){return!!(i.flags&(a?8:16))}function c_(i,a,s){Tl(pa,f1,yu(Ii(),i,a,s),!0)}class Oy{destroy(a){}updateValue(a,s){}swap(a,s){const g=Math.min(a,s),A=Math.max(a,s),H=this.detach(A);if(A-g>1){const Q=this.detach(g);this.attach(g,H),this.attach(A,Q)}else this.attach(g,H)}move(a,s){this.attach(s,this.detach(a))}}function R3(i,a,s,g,A){return i===s&&Object.is(a,g)?1:Object.is(A(i,a),A(s,g))?-1:0}function yg(i,a,s,g){return!(void 0===a||!a.has(g)||(i.attach(s,a.get(g)),a.delete(g),0))}function u_(i,a,s,g,A){if(yg(i,a,g,s(g,A)))i.updateValue(g,A);else{const H=i.create(g,A);i.attach(g,H)}}function f_(i,a,s,g){const A=new Set;for(let H=a;H<=s;H++)A.add(g(H,i.at(H)));return A}class m_{constructor(){this.kvMap=new Map,this._vMap=void 0}has(a){return this.kvMap.has(a)}delete(a){if(!this.has(a))return!1;const s=this.kvMap.get(a);return void 0!==this._vMap&&this._vMap.has(s)?(this.kvMap.set(a,this._vMap.get(s)),this._vMap.delete(s)):this.kvMap.delete(a),!0}get(a){return this.kvMap.get(a)}set(a,s){if(this.kvMap.has(a)){let g=this.kvMap.get(a);void 0===this._vMap&&(this._vMap=new Map);const A=this._vMap;for(;A.has(g);)g=A.get(g);A.set(g,s)}else this.kvMap.set(a,s)}forEach(a){for(let[s,g]of this.kvMap)if(a(g,s),void 0!==this._vMap){const A=this._vMap;for(;A.has(g);)g=A.get(g),a(g,s)}}}function p_(i,a){oc("NgControlFlow");const s=Ii(),g=us(),A=s[g]!==sr?s[g]:-1,H=-1!==A?Gm(s,kn+A):void 0;if(Oo(s,g,i)){const le=x(null);try{if(void 0!==H&&r3(H,0),-1!==i){const Ee=kn+i,ot=Gm(s,Ee),bt=wg(s[zi],Ee),Gt=Rd(ot,bt.tView.ssrId);Md(ot,R1(s,bt,a,{dehydratedView:Gt}),0,O1(bt,Gt))}}finally{x(le)}}else if(void 0!==H){const le=Cs(H,0);void 0!==le&&(le[Vr]=a)}}class Py{constructor(a,s,g){this.lContainer=a,this.$implicit=s,this.$index=g}get $count(){return this.lContainer.length-Jr}}function xg(i,a){return a}class Ny{constructor(a,s,g){this.hasEmptyBlock=a,this.trackByFn=s,this.liveCollection=g}}function __(i,a,s,g,A,H,Q,le,Ee,ot,bt,Gt,ei){oc("NgControlFlow");const di=Ii(),_i=ur(),Pi=void 0!==Ee,Zi=Ii(),sn=le?Q.bind(Zi[Xr][Vr]):Q,Vi=new Ny(Pi,sn);Zi[kn+i]=Vi,A3(di,_i,i+1,a,s,g,A,qa(_i.consts,H)),Pi&&A3(di,_i,i+2,Ee,ot,bt,Gt,qa(_i.consts,ei))}class Hy extends Oy{constructor(a,s,g){super(),this.lContainer=a,this.hostLView=s,this.templateTNode=g,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Jr}at(a){return this.getLView(a)[Vr].$implicit}attach(a,s){const g=s[Xa];this.needsIndexUpdate||=a!==this.length,Md(this.lContainer,s,a,O1(this.templateTNode,g))}detach(a){return this.needsIndexUpdate||=a!==this.length-1,function zy(i,a){return s1(i,a)}(this.lContainer,a)}create(a,s){const g=Rd(this.lContainer,this.templateTNode.tView.ssrId),A=R1(this.hostLView,this.templateTNode,new Py(this.lContainer,s,a),{dehydratedView:g});return this.operationsCounter?.recordCreate(),A}destroy(a){W2(a[zi],a),this.operationsCounter?.recordDestroy()}updateValue(a,s){this.getLView(a)[Vr].$implicit=s}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let a=0;a<this.length;a++)this.getLView(a)[Vr].$index=a}getLView(a){return function By(i,a){return Cs(i,a)}(this.lContainer,a)}}function Cg(i){const a=x(null),s=Va();try{const g=Ii(),A=g[zi],H=g[s],Q=s+1,le=Gm(g,Q);if(void 0===H.liveCollection){const ot=wg(A,Q);H.liveCollection=new Hy(le,g,ot)}else H.liveCollection.reset();const Ee=H.liveCollection;if(function Fy(i,a,s){let g,A,H=0,Q=i.length-1;if(Array.isArray(a)){let Ee=a.length-1;for(;H<=Q&&H<=Ee;){const ot=i.at(H),bt=a[H],Gt=R3(H,ot,H,bt,s);if(0!==Gt){Gt<0&&i.updateValue(H,bt),H++;continue}const ei=i.at(Q),di=a[Ee],_i=R3(Q,ei,Ee,di,s);if(0!==_i){_i<0&&i.updateValue(Q,di),Q--,Ee--;continue}const Pi=s(H,ot),Zi=s(Q,ei),sn=s(H,bt);if(Object.is(sn,Zi)){const Vi=s(Ee,di);Object.is(Vi,Pi)?(i.swap(H,Q),i.updateValue(Q,di),Ee--,Q--):i.move(Q,H),i.updateValue(H,bt),H++}else if(g??=new m_,A??=f_(i,H,Q,s),yg(i,g,H,sn))i.updateValue(H,bt),H++,Q++;else if(A.has(sn))g.set(Pi,i.detach(H)),Q--;else{const Vi=i.create(H,a[H]);i.attach(H,Vi),H++,Q++}}for(;H<=Ee;)u_(i,g,s,H,a[H]),H++}else if(null!=a){const Ee=a[Symbol.iterator]();let ot=Ee.next();for(;!ot.done&&H<=Q;){const bt=i.at(H),Gt=ot.value,ei=R3(H,bt,H,Gt,s);if(0!==ei)ei<0&&i.updateValue(H,Gt),H++,ot=Ee.next();else{g??=new m_,A??=f_(i,H,Q,s);const di=s(H,Gt);if(yg(i,g,H,di))i.updateValue(H,Gt),H++,Q++,ot=Ee.next();else if(A.has(di)){const _i=s(H,bt);g.set(_i,i.detach(H)),Q--}else i.attach(H,i.create(H,Gt)),H++,Q++,ot=Ee.next()}}for(;!ot.done;)u_(i,g,s,i.length,ot.value),ot=Ee.next()}for(;H<=Q;)i.destroy(i.detach(Q--));g?.forEach(Ee=>{i.destroy(Ee)})}(Ee,i,H.trackByFn),Ee.updateIndexes(),H.hasEmptyBlock){const ot=us(),bt=0===Ee.length;if(Oo(g,ot,bt)){const Gt=s+2,ei=Gm(g,Gt);if(bt){const di=wg(A,Gt),_i=Rd(ei,di.tView.ssrId);Md(ei,R1(g,di,void 0,{dehydratedView:_i}),0,O1(di,_i))}else r3(ei,0)}}}finally{x(a)}}function Gm(i,a){return i[a]}function wg(i,a){return tc(i,a)}function O3(i,a,s,g){const A=Ii(),H=ur(),Q=kn+i,le=A[jn],Ee=H.firstCreatePass?function Uy(i,a,s,g,A,H){const Q=a.consts,Ee=K2(a,i,2,g,qa(Q,A));return i3(a,s,Ee,qa(Q,H)),null!==Ee.attrs&&Tr(Ee,Ee.attrs,!1),null!==Ee.mergedAttrs&&Tr(Ee,Ee.mergedAttrs,!0),null!==a.queries&&a.queries.elementStart(a,Ee),Ee}(Q,H,A,a,s,g):H.data[Q],ot=v_(H,A,Ee,le,a,i);A[Q]=ot;const bt=Ja(Ee);return ka(Ee,!0),qf(le,ot,Ee),!function uu(i){return!(32&~i.flags)}(Ee)&&Y1()&&Jf(H,A,ot,Ee),0===function U1(){return Nn.lFrame.elementDepthCount}()&&es(ot,A),function Bu(){Nn.lFrame.elementDepthCount++}(),bt&&(Q2(H,A,Ee),z4(H,Ee,A)),null!==g&&B4(A,Ee),O3}function jm(){let i=zr();ds()?La():(i=i.parent,ka(i,!1));const a=i;(function Q3(i){return Nn.skipHydrationRootTNode===i})(a)&&function q3(){Nn.skipHydrationRootTNode=null}(),function Uu(){Nn.lFrame.elementDepthCount--}();const s=ur();return s.firstCreatePass&&(t2(s,i),Ts(i)&&s.queries.elementEnd(i)),null!=a.classesWithoutHost&&function Zu(i){return!!(8&i.flags)}(a)&&pg(s,a,Ii(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function Ju(i){return!!(16&i.flags)}(a)&&pg(s,a,Ii(),a.stylesWithoutHost,!1),jm}function Wm(i,a,s,g){return O3(i,a,s,g),jm(),Wm}let v_=(i,a,s,g,A,H)=>(Ec(!0),Pn(g,A,function A0(){return Nn.lFrame.currentNamespace}()));function Xm(i,a,s){const g=Ii(),A=ur(),H=i+kn,Q=A.firstCreatePass?function jy(i,a,s,g,A){const H=a.consts,Q=qa(H,g),le=K2(a,i,8,"ng-container",Q);return null!==Q&&Tr(le,Q,!0),i3(a,s,le,qa(H,A)),null!==a.queries&&a.queries.elementStart(a,le),le}(H,A,g,a,s):A.data[H];ka(Q,!0);const le=y_(A,g,Q,i);return g[H]=le,Y1()&&Jf(A,g,le,Q),es(le,g),Ja(Q)&&(Q2(A,g,Q),z4(A,Q,g)),null!=s&&B4(g,Q),Xm}function Ym(){let i=zr();const a=ur();return ds()?La():(i=i.parent,ka(i,!1)),a.firstCreatePass&&(t2(a,i),Ts(i)&&a.queries.elementEnd(i)),Ym}function Mg(i,a,s){return Xm(i,a,s),Ym(),Mg}let y_=(i,a,s,g)=>(Ec(!0),wn(a[jn],""));function C_(){return Ii()}function Eg(i,a,s){const g=Ii();return Oo(g,us(),a)&&ms(ur(),Fr(),g,i,a,g[jn],s,!0),Eg}function Sg(i,a,s){const g=Ii();if(Oo(g,us(),a)){const H=ur(),Q=Fr();ms(H,Q,g,i,a,qp(xa(H.data),Q,g),s,!0)}return Sg}const Xd=void 0;var Yy=["en",[["a","p"],["AM","PM"],Xd],[["AM","PM"],Xd,Xd],[["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"]],Xd,[["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"]],Xd,[["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}",Xd,"{1} 'at' {0}",Xd],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Xy(i){const s=Math.floor(Math.abs(i)),g=i.toString().replace(/^[^.]*\.?/,"").length;return 1===s&&0===g?1:5}];let V1={};function Tg(i){const a=function Ky(i){return i.toLowerCase().replace(/_/g,"-")}(i);let s=M_(a);if(s)return s;const g=a.split("-")[0];if(s=M_(g),s)return s;if("en"===g)return Yy;throw new fe(701,!1)}function w_(i){return Tg(i)[Du.PluralCase]}function M_(i){return i in V1||(V1[i]=ut.ng&&ut.ng.common&&ut.ng.common.locales&&ut.ng.common.locales[i]),V1[i]}var Du=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}(Du||{});const ku="en-US";let Ag=ku;let $_=(i,a,s)=>{};function Vg(i,a,s,g){const A=Ii(),H=ur(),Q=zr();return Bg(H,A,A[jn],Q,i,a,g),Vg}function Hg(i,a){const s=zr(),g=Ii(),A=ur();return Bg(A,g,qp(xa(A.data),s,g),s,i,a),Hg}function Bg(i,a,s,g,A,H,Q){const le=Ja(g),ot=i.firstCreatePass&&Jp(i),bt=a[Vr],Gt=Zp(a);let ei=!0;if(3&g.type||Q){const Pi=po(g,a),Zi=Q?Q(Pi):Pi,sn=Gt.length,Vi=Q?Kr=>Q(Er(Kr[g.index])):g.index;$_(Pi,A,H);let qn=null;if(!Q&&le&&(qn=function zg(i,a,s,g){const A=i.cleanup;if(null!=A)for(let H=0;H<A.length-1;H+=2){const Q=A[H];if(Q===s&&A[H+1]===g){const le=a[vc],Ee=A[H+2];return le.length>Ee?le[Ee]:null}"string"==typeof Q&&(H+=2)}return null}(i,a,A,g.index)),null!==qn)(qn.__ngLastListenerFn__||qn).__ngNextListenerFn__=H,qn.__ngLastListenerFn__=H,ei=!1;else{H=J_(g,a,bt,H);const Kr=s.listen(Zi,A,H);Gt.push(H,Kr),ot&&ot.push(A,Vi,sn,sn+1)}}else H=J_(g,a,bt,H);const di=g.outputs;let _i;if(ei&&null!==di&&(_i=di[A])){const Pi=_i.length;if(Pi)for(let Zi=0;Zi<Pi;Zi+=2){const Ba=a[_i[Zi]][_i[Zi+1]].subscribe(H),ws=Gt.length;Gt.push(H,Ba),ot&&ot.push(A,g.index,ws,-(ws+1))}}}function Z_(i,a,s,g){const A=x(null);try{return Ds(6,a,s),!1!==s(g)}catch(H){return Z2(i,H),!1}finally{Ds(7,a,s),x(A)}}function J_(i,a,s,g){return function A(H){if(H===Function)return g;Ed(i.componentOffset>-1?Jo(i.index,a):a,5);let le=Z_(a,s,g,H),Ee=A.__ngNextListenerFn__;for(;Ee;)le=Z_(a,s,Ee,H)&&le,Ee=Ee.__ngNextListenerFn__;return le}}function Ug(i=1){return function $u(i){return(Nn.lFrame.contextLView=function zu(i,a){for(;i>0;)a=a[yc],i--;return a}(i,Nn.lFrame.contextLView))[Vr]}(i)}function xx(i,a){let s=null;const g=function Be(i){const a=i.attrs;if(null!=a){const s=a.indexOf(5);if(!(1&s))return a[s+1]}return null}(i);for(let A=0;A<a.length;A++){const H=a[A];if("*"!==H){if(null===g?pt(i,H,!0):fn(g,H))return A}else s=A}return s}function q_(i){const a=Ii()[Xr][da];if(!a.projection){const g=a.projection=function Oa(i,a){const s=[];for(let g=0;g<i;g++)s.push(a);return s}(i?i.length:1,null),A=g.slice();let H=a.child;for(;null!==H;){const Q=i?xx(H,i):0;null!==Q&&(A[Q]?A[Q].projectionNext=H:g[Q]=H,A[Q]=H),H=H.next}}}function ev(i,a=0,s,g,A,H){const Q=Ii(),le=ur(),Ee=g?i+1:null;null!==Ee&&A3(Q,le,Ee,g,A,H,null,s);const ot=K2(le,kn+i,16,null,s||null);null===ot.projection&&(ot.projection=a),La();const Gt=!Q[Xa]||sl();null===Q[Xr][da].projection[ot.projection]&&null!==Ee?function tv(i,a,s){const g=kn+s,A=a.data[g],H=i[g],Q=Rd(H,A.tView.ssrId);Md(H,R1(i,A,void 0,{dehydratedView:Q}),0,O1(A,Q))}(Q,le,Ee):Gt&&32&~ot.flags&&function i5(i,a,s){N4(a[jn],0,a,s,l1(i,s,a),kp(s.parent||a[da],s,a))}(le,Q,ot)}function Gg(i,a,s){return ep(i,"",a,"",s),Gg}function ep(i,a,s,g,A){const H=Ii(),Q=yu(H,a,s,g);return Q!==sr&&ms(ur(),Fr(),H,i,Q,H[jn],A,!1),ep}function jg(i,a,s,g,A,H,Q){const le=Ii(),Ee=Gd(le,a,s,g,A,H);return Ee!==sr&&ms(ur(),Fr(),le,i,Ee,le[jn],Q,!1),jg}function ov(i,a,s,g){!function Y5(i,a,s,g){const A=ur();if(A.firstCreatePass){const H=zr();K5(A,new j5(a,s,g),H.index),function pb(i,a){const s=i.contentQueries||(i.contentQueries=[]);a!==(s.length?s[s.length-1]:-1)&&s.push(i.queries.length-1,a)}(A,i),!(2&~s)&&(A.staticContentQueries=!0)}return X5(A,Ii(),s)}(i,a,s,g)}function sv(i,a,s){!function I6(i,a,s){const g=ur();return g.firstCreatePass&&(K5(g,new j5(i,a,s),-1),!(2&~a)&&(g.staticViewQueries=!0)),X5(g,Ii(),a)}(i,a,s)}function Yg(i){const a=Ii(),s=ur(),g=Bc();nc(g+1);const A=R6(s,g);if(i.dirty&&function K3(i){return!(4&~i[an])}(a)===!(2&~A.metadata.flags)){if(null===A.matches)i.reset([]);else{const H=$5(a,g);i.reset(H,$l),i.notifyOnChanges()}return!0}return!1}function cv(){return function Mm(i,a){return i[ec].queries[a].queryList}(Ii(),Bc())}function dv(i){return Vl(function G1(){return Nn.lFrame.contextLView}(),kn+i)}function Jg(i,a=""){const s=Ii(),g=ur(),A=i+kn,H=g.firstCreatePass?K2(g,A,1,a,null):g.data[A],Q=qg(g,s,H,a,i);s[A]=Q,Y1()&&Jf(g,s,Q,H),ka(H,!1)}let qg=(i,a,s,g,A)=>(Ec(!0),function G2(i,a){return i.createText(a)}(a[jn],g));function t8(i){return ip("",i,""),t8}function ip(i,a,s){const g=Ii(),A=yu(g,i,a,s);return A!==sr&&Zc(g,Va(),A),ip}function np(i,a,s,g,A){const H=Ii(),Q=Gd(H,i,a,s,g,A);return Q!==sr&&Zc(H,Va(),Q),np}function i8(i,a,s,g,A,H,Q){const le=Ii(),Ee=function xu(i,a,s,g,A,H,Q,le){const ot=km(i,ic(),s,A,Q);return Mc(3),ot?a+pi(s)+g+pi(A)+H+pi(Q)+le:sr}(le,i,a,s,g,A,H,Q);return Ee!==sr&&Zc(le,Va(),Ee),i8}function rp(i,a,s,g,A,H,Q,le,Ee){const ot=Ii(),bt=Cu(ot,i,a,s,g,A,H,Q,le,Ee);return bt!==sr&&Zc(ot,Va(),bt),rp}function a8(i,a,s){J5(a)&&(a=a());const g=Ii();return Oo(g,us(),a)&&ms(ur(),Fr(),g,i,a,g[jn],s,!1),a8}function ap(i,a){const s=J5(i);return s&&i.set(a),s}function o8(i,a){const s=Ii(),g=ur(),A=zr();return Bg(g,s,s[jn],A,i,a),o8}function s8(i,a,s,g,A){if(i=je(i),Array.isArray(i))for(let H=0;H<i.length;H++)s8(i[H],a,s,g,A);else{const H=ur(),Q=Ii(),le=zr();let Ee=So(i)?i:je(i.provide);const ot=il(i),bt=1048575&le.providerIndexes,Gt=le.directiveStart,ei=le.providerIndexes>>20;if(So(i)||!i.multi){const di=new jc(ot,A,Y2),_i=c8(Ee,a,A?bt:bt+ei,Gt);-1===_i?(fl(Wc(le,Q),H,Ee),m0(H,i,a.length),a.push(Ee),le.directiveStart++,le.directiveEnd++,A&&(le.providerIndexes+=1048576),s.push(di),Q.push(di)):(s[_i]=di,Q[_i]=di)}else{const di=c8(Ee,a,bt+ei,Gt),_i=c8(Ee,a,bt,bt+ei),Zi=_i>=0&&s[_i];if(A&&!Zi||!A&&!(di>=0&&s[di])){fl(Wc(le,Q),H,Ee);const sn=function Ox(i,a,s,g,A){const H=new jc(i,s,Y2);return H.multi=[],H.index=a,H.componentProviders=0,Cv(H,A,g&&!s),H}(A?wv:Rx,s.length,A,g,ot);!A&&Zi&&(s[_i].providerFactory=sn),m0(H,i,a.length,0),a.push(Ee),le.directiveStart++,le.directiveEnd++,A&&(le.providerIndexes+=1048576),s.push(sn),Q.push(sn)}else m0(H,i,di>-1?di:_i,Cv(s[A?_i:di],ot,!A&&g));!A&&g&&Zi&&s[_i].componentProviders++}}}function m0(i,a,s,g){const A=So(a),H=function pc(i){return!!i.useClass}(a);if(A||H){const Ee=(H?je(a.useClass):a).prototype.ngOnDestroy;if(Ee){const ot=i.destroyHooks||(i.destroyHooks=[]);if(!A&&a.multi){const bt=ot.indexOf(s);-1===bt?ot.push(s,[g,Ee]):ot[bt+1].push(g,Ee)}else ot.push(s,Ee)}}}function Cv(i,a,s){return s&&i.componentProviders++,i.multi.push(a)-1}function c8(i,a,s,g){for(let A=s;A<g;A++)if(a[A]===i)return A;return-1}function Rx(i,a,s,g){return op(this.multi,[])}function wv(i,a,s,g){const A=this.multi;let H;if(this.providerFactory){const Q=this.providerFactory.componentProviders,le=ks(s,s[zi],this.providerFactory.index,g);H=le.slice(0,Q),op(A,H);for(let Ee=Q;Ee<le.length;Ee++)H.push(le[Ee])}else H=[],op(A,H);return H}function op(i,a){for(let s=0;s<i.length;s++)a.push((0,i[s])());return a}function l8(i,a=[]){return s=>{s.providersResolver=(g,A)=>function Ix(i,a,s){const g=ur();if(g.firstCreatePass){const A=En(i);s8(s,g.data,g.blueprint,A,!0),s8(a,g.data,g.blueprint,A,!1)}}(g,A?A(i):i,a)}}let Fx=(()=>{class i{constructor(s){this._injector=s,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(s){if(!s.standalone)return null;if(!this.cachedInjectors.has(s)){const g=_s(0,s.type),A=g.length>0?Y6([g],this._injector,`Standalone[${s.type.name}]`):null;this.cachedInjectors.set(s,A)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=Li({token:i,providedIn:"environment",factory:()=>new i(Gn(To))})}}return i})();function Mv(i){oc("NgStandalone"),i.getStandaloneInjector=a=>a.get(Fx).getOrCreateStandaloneInjector(i)}function Ev(i,a,s){const g=hs()+i,A=Ii();return A[g]===sr?El(A,g,s?a.call(s):a()):function T3(i,a){return i[a]}(A,g)}function Sv(i,a,s,g){return Ru(Ii(),hs(),i,a,s,g)}function h8(i,a,s,g,A){return Av(Ii(),hs(),i,a,s,g,A)}function Tv(i,a,s,g,A,H){return Dv(Ii(),hs(),i,a,s,g,A,H)}function V3(i,a){const s=i[a];return s===sr?void 0:s}function Ru(i,a,s,g,A,H){const Q=a+s;return Oo(i,Q,A)?El(i,Q+1,H?g.call(H,A):g(A)):V3(i,Q+1)}function Av(i,a,s,g,A,H,Q){const le=a+s;return zd(i,le,A,H)?El(i,le+2,Q?g.call(Q,A,H):g(A,H)):V3(i,le+2)}function Dv(i,a,s,g,A,H,Q,le){const Ee=a+s;return km(i,Ee,A,H,Q)?El(i,Ee+3,le?g.call(le,A,H,Q):g(A,H,Q)):V3(i,Ee+3)}function Iv(i,a){const s=ur();let g;const A=i+kn;s.firstCreatePass?(g=function jx(i,a){if(a)for(let s=a.length-1;s>=0;s--){const g=a[s];if(i===g.name)return g}}(a,s.pipeRegistry),s.data[A]=g,g.onDestroy&&(s.destroyHooks??=[]).push(A,g.onDestroy)):g=s.data[A];const H=g.factory||(g.factory=Lr(g.type)),le=tr(Y2);try{const Ee=g1(!1),ot=H();return g1(Ee),function Mx(i,a,s,g){s>=i.data.length&&(i.data[s]=null,i.blueprint[s]=null),a[s]=g}(s,Ii(),A,ot),ot}finally{tr(le)}}function Rv(i,a,s){const g=i+kn,A=Ii(),H=Vl(A,g);return H3(A,g)?Ru(A,hs(),a,H.transform,s,H):H.transform(s)}function Ov(i,a,s,g){const A=i+kn,H=Ii(),Q=Vl(H,A);return H3(H,A)?Av(H,hs(),a,Q.transform,s,g,Q):Q.transform(s,g)}function Fv(i,a,s,g,A){const H=i+kn,Q=Ii(),le=Vl(Q,H);return H3(Q,H)?Dv(Q,hs(),a,le.transform,s,g,A,le):le.transform(s,g,A)}function H3(i,a){return i[zi].data[a].pure}function Nv(i,a){return Td(i,a)}class C8{constructor(a){this.full=a;const s=a.split(".");this.major=s[0],this.minor=s[1],this.patch=s.slice(2).join(".")}}let Zv=(()=>{class i{log(s){console.log(s)}warn(s){console.warn(s)}static{this.\u0275fac=function(g){return new(g||i)}}static{this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"platform"})}}return i})();const u9=new Fi(""),E8=new Fi("");let S8,SC=(()=>{class i{constructor(s,g,A){this._ngZone=s,this.registry=g,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,S8||(function TC(i){S8=i}(A),A.addToWindow(g)),this._watchAngularEvents(),s.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ha.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let s=this._callbacks.pop();clearTimeout(s.timeoutId),s.doneCb()}});else{let s=this.getPendingTasks();this._callbacks=this._callbacks.filter(g=>!g.updateCb||!g.updateCb(s)||(clearTimeout(g.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(s=>({source:s.source,creationLocation:s.creationLocation,data:s.data})):[]}addCallback(s,g,A){let H=-1;g&&g>0&&(H=setTimeout(()=>{this._callbacks=this._callbacks.filter(Q=>Q.timeoutId!==H),s()},g)),this._callbacks.push({doneCb:s,timeoutId:H,updateCb:A})}whenStable(s,g,A){if(A&&!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(s,g,A),this._runCallbacksIfReady()}registerApplication(s){this.registry.registerApplication(s,this)}unregisterApplication(s){this.registry.unregisterApplication(s)}findProviders(s,g,A){return[]}static{this.\u0275fac=function(g){return new(g||i)(Gn(Ha),Gn(f9),Gn(E8))}}static{this.\u0275prov=Li({token:i,factory:i.\u0275fac})}}return i})(),f9=(()=>{class i{constructor(){this._applications=new Map}registerApplication(s,g){this._applications.set(s,g)}unregisterApplication(s){this._applications.delete(s)}unregisterAllApplications(){this._applications.clear()}getTestability(s){return this._applications.get(s)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(s,g=!0){return S8?.findTestabilityInTree(this,s,g)??null}static{this.\u0275fac=function(g){return new(g||i)}}static{this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"platform"})}}return i})();function T8(i){return!!i&&"function"==typeof i.then}function m9(i){return!!i&&"function"==typeof i.subscribe}const A8=new Fi("");let D8=(()=>{class i{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,g)=>{this.resolve=s,this.reject=g}),this.appInits=ln(A8,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const s=[];for(const A of this.appInits){const H=A();if(T8(H))s.push(H);else if(m9(H)){const Q=new Promise((le,Ee)=>{H.subscribe({complete:le,error:Ee})});s.push(Q)}}const g=()=>{this.done=!0,this.resolve()};Promise.all(s).then(()=>{g()}).catch(A=>{this.reject(A)}),0===s.length&&g(),this.initialized=!0}static{this.\u0275fac=function(g){return new(g||i)}}static{this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();const dp=new Fi("");function v9(i,a){return Array.isArray(a)?a.reduce(v9,i):{...i,...a}}let Al=(()=>{class i{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ln(nd),this.afterRenderEffectManager=ln(Di),this.zonelessEnabled=ln(P1),this.externalTestViews=new Set,this.beforeRender=new oe.B,this.afterTick=new oe.B,this.componentTypes=[],this.components=[],this.isStable=ln(Hd).hasPendingTasks.pipe((0,pe.T)(s=>!s)),this._injector=ln(To)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(s,g){const A=s instanceof b6;if(!this._injector.get(D8).done)throw!A&&ao(s),new fe(405,!1);let Q;Q=A?s:this._injector.get(lu).resolveComponentFactory(s),this.componentTypes.push(Q.componentType);const le=function g9(i){return i.isBoundToModule}(Q)?void 0:this._injector.get(d0),ot=Q.create(go.NULL,[],g||Q.selector,le),bt=ot.location.nativeElement,Gt=ot.injector.get(u9,null);return Gt?.registerApplication(bt),ot.onDestroy(()=>{this.detachView(ot.hostView),U3(this.components,ot),Gt?.unregisterApplication(bt)}),this._loadComponent(ot),ot}tick(){this._tick(!0)}_tick(s){if(this._runningTick)throw new fe(101,!1);const g=x(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(s)}catch(A){this.internalErrorHandler(A)}finally{this._runningTick=!1,x(g),this.afterTick.next()}}detectChangesInAttachedViews(s){let g=null;this._injector.destroyed||(g=this._injector.get(y3,null,{optional:!0}));let A=0;const H=this.afterRenderEffectManager;for(;A<10;){const Q=0===A;if(s||!Q){this.beforeRender.next(Q);for(let{_lView:le,notifyErrorHandler:Ee}of this._views)AC(le,Ee,Q,this.zonelessEnabled)}else g?.begin?.(),g?.end?.();if(A++,H.executeInternalCallbacks(),!this.allViews.some(({_lView:le})=>al(le))&&(H.execute(),!this.allViews.some(({_lView:le})=>al(le))))break}}attachView(s){const g=s;this._views.push(g),g.attachToAppRef(this)}detachView(s){const g=s;U3(this._views,g),g.detachFromAppRef()}_loadComponent(s){this.attachView(s.hostView),this.tick(),this.components.push(s);const g=this._injector.get(dp,[]);[...this._bootstrapListeners,...g].forEach(A=>A(s))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(s=>s()),this._views.slice().forEach(s=>s.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(s){return this._destroyListeners.push(s),()=>U3(this._destroyListeners,s)}destroy(){if(this._destroyed)throw new fe(406,!1);const s=this._injector;s.destroy&&!s.destroyed&&s.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(g){return new(g||i)}}static{this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function U3(i,a){const s=i.indexOf(a);s>-1&&i.splice(s,1)}function AC(i,a,s,g){(s||al(i))&&e0(i,a,s&&!g?0:1)}class DC{constructor(a,s){this.ngModuleFactory=a,this.componentFactories=s}}let kC=(()=>{class i{compileModuleSync(s){return new W6(s)}compileModuleAsync(s){return Promise.resolve(this.compileModuleSync(s))}compileModuleAndAllComponentsSync(s){const g=this.compileModuleSync(s),H=Yi(Ir(s).declarations).reduce((Q,le)=>{const Ee=zn(le);return Ee&&Q.push(new Lo(Ee)),Q},[]);return new DC(g,H)}compileModuleAndAllComponentsAsync(s){return Promise.resolve(this.compileModuleAndAllComponentsSync(s))}clearCache(){}clearCacheFor(s){}getModuleId(s){}static{this.\u0275fac=function(g){return new(g||i)}}static{this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),IC=(()=>{class i{constructor(){this.zone=ln(Ha),this.changeDetectionScheduler=ln(Od),this.applicationRef=ln(Al)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(g){return new(g||i)}}static{this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function up({ngZoneFactory:i,ignoreChangesOutsideZone:a}){return i??=()=>new Ha(L8()),[{provide:Ha,useFactory:i},{provide:Ht,multi:!0,useFactory:()=>{const s=ln(IC,{optional:!0});return()=>s.initialize()}},{provide:Ht,multi:!0,useFactory:()=>{const s=ln(OC);return()=>{s.initialize()}}},{provide:nd,useFactory:RC},!0===a?{provide:v6,useValue:!0}:[]]}function RC(){const i=ln(Ha),a=ln(Us);return s=>i.runOutsideAngular(()=>a.handleError(s))}function L8(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:i?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:i?.runCoalescing??!1}}let OC=(()=>{class i{constructor(){this.subscription=new _e.yU,this.initialized=!1,this.zone=ln(Ha),this.pendingTasks=ln(Hd)}initialize(){if(this.initialized)return;this.initialized=!0;let s=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(s=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ha.assertNotInAngularZone(),queueMicrotask(()=>{null!==s&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(s),s=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ha.assertInAngularZone(),s??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(g){return new(g||i)}}static{this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),G3=(()=>{class i{constructor(){this.appRef=ln(Al),this.taskService=ln(Hd),this.ngZone=ln(Ha),this.zonelessEnabled=ln(P1),this.disableScheduling=ln(v6,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new _e.yU,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof j||!this.zoneIsDefined)}notify(s){if(!this.zonelessEnabled&&5===s)return;switch(s){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const g=this.useMicrotaskScheduler?S6:E6;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=g(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=g(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Ha.isInAngularZone())}tick(s){if(this.runningTick||this.appRef.destroyed)return;const g=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(s)},void 0,this.schedulerTickApplyArgs)}catch(A){throw this.taskService.remove(g),A}finally{this.cleanup()}this.useMicrotaskScheduler=!0,S6(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(g)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const s=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(s)}}static{this.\u0275fac=function(g){return new(g||i)}}static{this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();const j3=new Fi("",{providedIn:"root",factory:()=>ln(j3,en.Optional|en.SkipSelf)||function PC(){return typeof $localize<"u"&&$localize.locale||ku}()}),NC=new Fi("",{providedIn:"root",factory:()=>"USD"}),O8=new Fi("");let w9=(()=>{class i{constructor(s){this._injector=s,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(s,g){const A=function Wt(i="zone.js",a){return"noop"===i?new j:"zone.js"===i?new Ha(a):i}(g?.ngZone,L8({eventCoalescing:g?.ngZoneEventCoalescing,runCoalescing:g?.ngZoneRunCoalescing}));return A.run(()=>{const H=g?.ignoreChangesOutsideZone,Q=function zb(i,a,s){return new j6(i,a,s)}(s.moduleType,this.injector,[...up({ngZoneFactory:()=>A,ignoreChangesOutsideZone:H}),{provide:Od,useExisting:G3}]),le=Q.injector.get(Us,null);return A.runOutsideAngular(()=>{const Ee=A.onError.subscribe({next:ot=>{le.handleError(ot)}});Q.onDestroy(()=>{U3(this._modules,Q),Ee.unsubscribe()})}),function _9(i,a,s){try{const g=s();return T8(g)?g.catch(A=>{throw a.runOutsideAngular(()=>i.handleError(A)),A}):g}catch(g){throw a.runOutsideAngular(()=>i.handleError(g)),g}}(le,A,()=>{const Ee=Q.injector.get(D8);return Ee.runInitializers(),Ee.donePromise.then(()=>(function T_(i){"string"==typeof i&&(Ag=i.toLowerCase().replace(/_/g,"-"))}(Q.injector.get(j3,ku)||ku),this._moduleDoBootstrap(Q),Q))})})}bootstrapModule(s,g=[]){const A=v9({},g);return function LC(i,a,s){const g=new W6(s);return Promise.resolve(g)}(0,0,s).then(H=>this.bootstrapModuleFactory(H,A))}_moduleDoBootstrap(s){const g=s.injector.get(Al);if(s._bootstrapComponents.length>0)s._bootstrapComponents.forEach(A=>g.bootstrap(A));else{if(!s.instance.ngDoBootstrap)throw new fe(-403,!1);s.instance.ngDoBootstrap(g)}this._modules.push(s)}onDestroy(s){this._destroyListeners.push(s)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new fe(404,!1);this._modules.slice().forEach(g=>g.destroy()),this._destroyListeners.forEach(g=>g());const s=this._injector.get(O8,null);s&&(s.forEach(g=>g()),s.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(g){return new(g||i)(Gn(go))}}static{this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"platform"})}}return i})(),Yd=null;const M9=new Fi("");function F8(i,a,s=[]){const g=`Platform: ${a}`,A=new Fi(g);return(H=[])=>{let Q=P8();if(!Q||Q.injector.get(M9,!1)){const le=[...s,...H,{provide:A,useValue:!0}];i?i(le):function VC(i){if(Yd&&!Yd.get(M9,!1))throw new fe(400,!1);(function p9(){!function O(i){M=i}(()=>{throw new fe(600,!1)})})(),Yd=i;const a=i.get(w9);(function N8(i){i.get(ch,null)?.forEach(s=>s())})(i)}(function E9(i=[],a){return go.create({name:a,providers:[{provide:qs,useValue:"platform"},{provide:O8,useValue:new Set([()=>Yd=null])},...i]})}(le,g))}return function S9(i){const a=P8();if(!a)throw new fe(401,!1);return a}()}}function P8(){return Yd?.get(w9)??null}function T9(){return!1}let A9=(()=>{class i{static{this.__NG_ELEMENT_ID__=zC}}return i})();function zC(i){return function D9(i,a,s){if(Hs(i)&&!s){const g=Jo(i.index,a);return new Ys(g,g)}return 47&i.type?new Ys(a[Xr],a):null}(zr(),Ii(),!(16&~i))}class O9{constructor(){}supports(a){return S3(a)}create(a){return new jC(a)}}const F9=(i,a)=>a;class jC{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||F9}forEachItem(a){let s;for(s=this._itHead;null!==s;s=s._next)a(s)}forEachOperation(a){let s=this._itHead,g=this._removalsHead,A=0,H=null;for(;s||g;){const Q=!g||s&&s.currentIndex<G8(g,A,H)?s:g,le=G8(Q,A,H),Ee=Q.currentIndex;if(Q===g)A--,g=g._nextRemoved;else if(s=s._next,null==Q.previousIndex)A++;else{H||(H=[]);const ot=le-A,bt=Ee-A;if(ot!=bt){for(let ei=0;ei<ot;ei++){const di=ei<H.length?H[ei]:H[ei]=0,_i=di+ei;bt<=_i&&_i<ot&&(H[ei]=di+1)}H[Q.previousIndex]=bt-ot}}le!==Ee&&a(Q,le,Ee)}}forEachPreviousItem(a){let s;for(s=this._previousItHead;null!==s;s=s._nextPrevious)a(s)}forEachAddedItem(a){let s;for(s=this._additionsHead;null!==s;s=s._nextAdded)a(s)}forEachMovedItem(a){let s;for(s=this._movesHead;null!==s;s=s._nextMoved)a(s)}forEachRemovedItem(a){let s;for(s=this._removalsHead;null!==s;s=s._nextRemoved)a(s)}forEachIdentityChange(a){let s;for(s=this._identityChangesHead;null!==s;s=s._nextIdentityChange)a(s)}diff(a){if(null==a&&(a=[]),!S3(a))throw new fe(900,!1);return this.check(a)?this:null}onDestroy(){}check(a){this._reset();let A,H,Q,s=this._itHead,g=!1;if(Array.isArray(a)){this.length=a.length;for(let le=0;le<this.length;le++)H=a[le],Q=this._trackByFn(le,H),null!==s&&Object.is(s.trackById,Q)?(g&&(s=this._verifyReinsertion(s,H,Q,le)),Object.is(s.item,H)||this._addIdentityChange(s,H)):(s=this._mismatch(s,H,Q,le),g=!0),s=s._next}else A=0,function Bb(i,a){if(Array.isArray(i))for(let s=0;s<i.length;s++)a(i[s]);else{const s=i[Symbol.iterator]();let g;for(;!(g=s.next()).done;)a(g.value)}}(a,le=>{Q=this._trackByFn(A,le),null!==s&&Object.is(s.trackById,Q)?(g&&(s=this._verifyReinsertion(s,le,Q,A)),Object.is(s.item,le)||this._addIdentityChange(s,le)):(s=this._mismatch(s,le,Q,A),g=!0),s=s._next,A++}),this.length=A;return this._truncate(s),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,s,g,A){let H;return null===a?H=this._itTail:(H=a._prev,this._remove(a)),null!==(a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(g,null))?(Object.is(a.item,s)||this._addIdentityChange(a,s),this._reinsertAfter(a,H,A)):null!==(a=null===this._linkedRecords?null:this._linkedRecords.get(g,A))?(Object.is(a.item,s)||this._addIdentityChange(a,s),this._moveAfter(a,H,A)):a=this._addAfter(new WC(s,g),H,A),a}_verifyReinsertion(a,s,g,A){let H=null===this._unlinkedRecords?null:this._unlinkedRecords.get(g,null);return null!==H?a=this._reinsertAfter(H,a._prev,A):a.currentIndex!=A&&(a.currentIndex=A,this._addToMoves(a,A)),a}_truncate(a){for(;null!==a;){const s=a._next;this._addToRemovals(this._unlink(a)),a=s}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,s,g){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);const A=a._prevRemoved,H=a._nextRemoved;return null===A?this._removalsHead=H:A._nextRemoved=H,null===H?this._removalsTail=A:H._prevRemoved=A,this._insertAfter(a,s,g),this._addToMoves(a,g),a}_moveAfter(a,s,g){return this._unlink(a),this._insertAfter(a,s,g),this._addToMoves(a,g),a}_addAfter(a,s,g){return this._insertAfter(a,s,g),this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a,a}_insertAfter(a,s,g){const A=null===s?this._itHead:s._next;return a._next=A,a._prev=s,null===A?this._itTail=a:A._prev=a,null===s?this._itHead=a:s._next=a,null===this._linkedRecords&&(this._linkedRecords=new P9),this._linkedRecords.put(a),a.currentIndex=g,a}_remove(a){return this._addToRemovals(this._unlink(a))}_unlink(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);const s=a._prev,g=a._next;return null===s?this._itHead=g:s._next=g,null===g?this._itTail=s:g._prev=s,a}_addToMoves(a,s){return a.previousIndex===s||(this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a),a}_addToRemovals(a){return null===this._unlinkedRecords&&(this._unlinkedRecords=new P9),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,s){return a.item=s,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a,a}}class WC{constructor(a,s){this.item=a,this.trackById=s,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 XC{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,s){let g;for(g=this._head;null!==g;g=g._nextDup)if((null===s||s<=g.currentIndex)&&Object.is(g.trackById,a))return g;return null}remove(a){const s=a._prevDup,g=a._nextDup;return null===s?this._head=g:s._nextDup=g,null===g?this._tail=s:g._prevDup=s,null===this._head}}class P9{constructor(){this.map=new Map}put(a){const s=a.trackById;let g=this.map.get(s);g||(g=new XC,this.map.set(s,g)),g.add(a)}get(a,s){const A=this.map.get(a);return A?A.get(a,s):null}remove(a){const s=a.trackById;return this.map.get(s).remove(a)&&this.map.delete(s),a}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function G8(i,a,s){const g=i.previousIndex;if(null===g)return g;let A=0;return s&&g<s.length&&(A=s[g]),g+a+A}class N9{constructor(){}supports(a){return a instanceof Map||K6(a)}create(){return new YC}}class YC{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 s;for(s=this._mapHead;null!==s;s=s._next)a(s)}forEachPreviousItem(a){let s;for(s=this._previousMapHead;null!==s;s=s._nextPrevious)a(s)}forEachChangedItem(a){let s;for(s=this._changesHead;null!==s;s=s._nextChanged)a(s)}forEachAddedItem(a){let s;for(s=this._additionsHead;null!==s;s=s._nextAdded)a(s)}forEachRemovedItem(a){let s;for(s=this._removalsHead;null!==s;s=s._nextRemoved)a(s)}diff(a){if(a){if(!(a instanceof Map||K6(a)))throw new fe(900,!1)}else a=new Map;return this.check(a)?this:null}onDestroy(){}check(a){this._reset();let s=this._mapHead;if(this._appendAfter=null,this._forEach(a,(g,A)=>{if(s&&s.key===A)this._maybeAddToChanges(s,g),this._appendAfter=s,s=s._next;else{const H=this._getOrCreateRecordForKey(A,g);s=this._insertBeforeOrAppend(s,H)}}),s){s._prev&&(s._prev._next=null),this._removalsHead=s;for(let g=s;null!==g;g=g._nextRemoved)g===this._mapHead&&(this._mapHead=null),this._records.delete(g.key),g._nextRemoved=g._next,g.previousValue=g.currentValue,g.currentValue=null,g._prev=null,g._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(a,s){if(a){const g=a._prev;return s._next=a,s._prev=g,a._prev=s,g&&(g._next=s),a===this._mapHead&&(this._mapHead=s),this._appendAfter=a,a}return this._appendAfter?(this._appendAfter._next=s,s._prev=this._appendAfter):this._mapHead=s,this._appendAfter=s,null}_getOrCreateRecordForKey(a,s){if(this._records.has(a)){const A=this._records.get(a);this._maybeAddToChanges(A,s);const H=A._prev,Q=A._next;return H&&(H._next=Q),Q&&(Q._prev=H),A._next=null,A._prev=null,A}const g=new KC(a);return this._records.set(a,g),g.currentValue=s,this._addToAdditions(g),g}_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,s){Object.is(s,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=s,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,s){a instanceof Map?a.forEach(s):Object.keys(a).forEach(g=>s(a[g],g))}}class KC{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 j8(){return new W8([new O9])}let W8=(()=>{class i{static{this.\u0275prov=Li({token:i,providedIn:"root",factory:j8})}constructor(s){this.factories=s}static create(s,g){if(null!=g){const A=g.factories.slice();s=s.concat(A)}return new i(s)}static extend(s){return{provide:i,useFactory:g=>i.create(s,g||j8()),deps:[[i,new Ra,new Ea]]}}find(s){const g=this.factories.find(A=>A.supports(s));if(null!=g)return g;throw new fe(901,!1)}}return i})();function V9(){return new Pu([new N9])}let Pu=(()=>{class i{static{this.\u0275prov=Li({token:i,providedIn:"root",factory:V9})}constructor(s){this.factories=s}static create(s,g){if(g){const A=g.factories.slice();s=s.concat(A)}return new i(s)}static extend(s){return{provide:i,useFactory:g=>i.create(s,g||V9()),deps:[[i,new Ra,new Ea]]}}find(s){const g=this.factories.find(A=>A.supports(s));if(g)return g;throw new fe(901,!1)}}return i})();const qC=F8(null,"core",[]);let H9=(()=>{class i{constructor(s){}static{this.\u0275fac=function(g){return new(g||i)(Gn(Al))}}static{this.\u0275mod=Yo({type:i})}static{this.\u0275inj=st({})}}return i})();function Ep(i){return"boolean"==typeof i?i:null!=i&&"false"!==i}function kw(i,a=NaN){return isNaN(parseFloat(i))||isNaN(Number(i))?a:Number(i)}function Y3(i,a){oc("NgSignals");const s=function be(i){const a=Object.create(f);a.computation=i;const s=()=>{if(k(a),y(a),a.value===c)throw a.error;return a.value};return s[l]=a,s}(i);return a?.equal&&(s[l].equal=a.equal),s}function Iw(i){const a=x(null);try{return i()}finally{x(a)}}function Vw(i){const a=zn(i);if(!a)return null;const s=new Lo(a);return{get selector(){return s.selector},get type(){return s.componentType},get inputs(){return s.inputs},get outputs(){return s.outputs},get ngContentSelectors(){return s.ngContentSelectors},get isStandalone(){return a.standalone},get isSignal(){return a.signals}}}},9079:(Ve,ee,p)=>{"use strict";p.d(ee,{ot:()=>m});var t=p(4438);function m(R,d){const w=!d?.manualCleanup;w&&!d?.injector&&(0,t.Af3)(m);const y=w?d?.injector?.get(t.abz)??(0,t.WQX)(t.abz):null;let T;T=(0,t.vPA)(d?.requireSync?{kind:0}:{kind:1,value:d?.initialValue});const k=R.subscribe({next:F=>T.set({kind:1,value:F}),error:F=>{if(d?.rejectErrors)throw F;T.set({kind:2,error:F})}});return y?.onDestroy(k.unsubscribe.bind(k)),(0,t.EWP)(()=>{const F=T();switch(F.kind){case 1:return F.value;case 2:throw F.error;case 0:throw new t.wOt(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},4545:(Ve,ee,p)=>{"use strict";function t(w){for(let y in w){let T=w[y]??"";switch(y){case"display":w.display="flex"===T?["-webkit-flex","flex"]:"inline-flex"===T?["-webkit-inline-flex","inline-flex"]:T;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":w["-webkit-"+y]=T;break;case"flex-direction":w["-webkit-flex-direction"]=T,w["flex-direction"]=T;break;case"order":w.order=w["-webkit-"+y]=isNaN(+T)?"0":T}}return w}p.d(ee,{C5:()=>d,O5:()=>t,Uo:()=>C,Vc:()=>x,uG:()=>S});const e="inline",C=["row","column","row-reverse","column-reverse"];function S(w){let[y,T,k]=l(w);return function R(w,y=null,T=!1){return{display:T?"inline-flex":"flex","box-sizing":"border-box","flex-direction":w,"flex-wrap":y||null}}(y,T,k)}function l(w){w=w?.toLowerCase()??"";let[y,T,k]=w.split(" ");return C.find(F=>F===y)||(y=C[0]),T===e&&(T=k!==e?k:"",k=e),[y,m(T),!!k]}function x(w){let[y]=l(w);return y.indexOf("row")>-1}function m(w){if(w)switch(w.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":w="wrap-reverse";break;case"no":case"none":case"nowrap":w="nowrap";break;default:w="wrap"}return w}function d(w,...y){if(null==w)throw TypeError("Cannot convert undefined or null to object");for(let T of y)if(null!=T)for(let k in T)T.hasOwnProperty(k)&&(w[k]=T[k]);return w}},9340:(Ve,ee,p)=>{"use strict";p.d(ee,{Ce:()=>Y,DJ:()=>Ct,EA:()=>G,PV:()=>U,SL:()=>$,Ui:()=>k,ZH:()=>ve,cL:()=>vt,hN:()=>tt,qH:()=>et,r3:()=>ie});var t=p(4438),e=p(177),C=p(4412),S=p(1985),l=p(7786),x=p(1413),m=p(4545),R=p(5964),d=p(8141);const y={provide:t.iLQ,useFactory:function w(Ze,jt){return()=>{if((0,e.UE)(jt)){const qe=Array.from(Ze.querySelectorAll(`[class*=${T}]`)),dt=/\bflex-layout-.+?\b/g;qe.forEach(Le=>{Le.classList.contains(`${T}ssr`)&&Le.parentNode?Le.parentNode.removeChild(Le):Le.className.replace(dt,"")})}}},deps:[e.qQ,t.Agw],multi:!0},T="flex-layout-";let k=(()=>{class Ze{}return Ze.\u0275fac=function(qe){return new(qe||Ze)},Ze.\u0275mod=t.$C({type:Ze}),Ze.\u0275inj=t.G2t({providers:[y]}),Ze})();class F{constructor(jt=!1,qe="all",dt="",Le="",Vt=0){this.matches=jt,this.mediaQuery=qe,this.mqAlias=dt,this.suffix=Le,this.priority=Vt,this.property=""}clone(){return new F(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let V=(()=>{class Ze{constructor(){this.stylesheet=new Map}addStyleToElement(qe,dt,Le){const Vt=this.stylesheet.get(qe);Vt?Vt.set(dt,Le):this.stylesheet.set(qe,new Map([[dt,Le]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(qe,dt){const Le=this.stylesheet.get(qe);let Vt="";if(Le){const Zt=Le.get(dt);("number"==typeof Zt||"string"==typeof Zt)&&(Vt=Zt+"")}return Vt}}return Ze.\u0275fac=function(qe){return new(qe||Ze)},Ze.\u0275prov=t.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})();const U={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},G=new t.nKC("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>U}),Y=new t.nKC("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),$=new t.nKC("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function Z(Ze,jt){return Ze=Ze?.clone()??new F,jt&&(Ze.mqAlias=jt.alias,Ze.mediaQuery=jt.mediaQuery,Ze.suffix=jt.suffix,Ze.priority=jt.priority),Ze}class ie{constructor(){this.shouldCache=!0}sideEffect(jt,qe,dt){}}let ve=(()=>{class Ze{constructor(qe,dt,Le,Vt){this._serverStylesheet=qe,this._serverModuleLoaded=dt,this._platformId=Le,this.layoutConfig=Vt}applyStyleToElement(qe,dt,Le=null){let Vt={};"string"==typeof dt&&(Vt[dt]=Le,dt=Vt),Vt=this.layoutConfig.disableVendorPrefixes?dt:(0,m.O5)(dt),this._applyMultiValueStyleToElement(Vt,qe)}applyStyleToElements(qe,dt=[]){const Le=this.layoutConfig.disableVendorPrefixes?qe:(0,m.O5)(qe);dt.forEach(Vt=>{this._applyMultiValueStyleToElement(Le,Vt)})}getFlowDirection(qe){const dt="flex-direction";let Le=this.lookupStyle(qe,dt);return[Le||"row",this.lookupInlineStyle(qe,dt)||(0,e.Vy)(this._platformId)&&this._serverModuleLoaded?Le:""]}hasWrap(qe){return"wrap"===this.lookupStyle(qe,"flex-wrap")}lookupAttributeValue(qe,dt){return qe.getAttribute(dt)??""}lookupInlineStyle(qe,dt){return(0,e.UE)(this._platformId)?qe.style.getPropertyValue(dt):function ae(Ze,jt){return be(Ze)[jt]??""}(qe,dt)}lookupStyle(qe,dt,Le=!1){let Vt="";return qe&&((Vt=this.lookupInlineStyle(qe,dt))||((0,e.UE)(this._platformId)?Le||(Vt=getComputedStyle(qe).getPropertyValue(dt)):this._serverModuleLoaded&&(Vt=this._serverStylesheet.getStyleForElement(qe,dt)))),Vt?Vt.trim():""}_applyMultiValueStyleToElement(qe,dt){Object.keys(qe).sort().forEach(Le=>{const Vt=qe[Le],Zt=Array.isArray(Vt)?Vt:[Vt];Zt.sort();for(let Et of Zt)Et=Et?Et+"":"",(0,e.UE)(this._platformId)||!this._serverModuleLoaded?(0,e.UE)(this._platformId)?dt.style.setProperty(Le,Et):ye(dt,Le,Et):this._serverStylesheet.addStyleToElement(dt,Le,Et)})}}return Ze.\u0275fac=function(qe){return new(qe||Ze)(t.KVO(V),t.KVO(Y),t.KVO(t.Agw),t.KVO(G))},Ze.\u0275prov=t.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})();function ye(Ze,jt,qe){jt=jt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const dt=be(Ze);dt[jt]=qe??"",function ue(Ze,jt){let qe="";for(const dt in jt)jt[dt]&&(qe+=`${dt}:${jt[dt]};`);Ze.setAttribute("style",qe)}(Ze,dt)}function be(Ze){const jt={},qe=Ze.getAttribute("style");if(qe){const dt=qe.split(/;+/g);for(let Le=0;Le<dt.length;Le++){const Vt=dt[Le].trim();if(Vt.length>0){const Zt=Vt.indexOf(":");if(-1===Zt)throw new Error(`Invalid CSS style: ${Vt}`);jt[Vt.substr(0,Zt).trim()]=Vt.substr(Zt+1).trim()}}}return jt}function D(Ze,jt){return(jt&&jt.priority||0)-(Ze&&Ze.priority||0)}function n(Ze,jt){return(Ze.priority||0)-(jt.priority||0)}let c=(()=>{class Ze{constructor(qe,dt,Le){this._zone=qe,this._platformId=dt,this._document=Le,this.source=new C.t(new F(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const qe=[];return this.registry.forEach((dt,Le)=>{dt.matches&&qe.push(Le)}),qe}isActive(qe){return this.registry.get(qe)?.matches??this.registerQuery(qe).some(Le=>Le.matches)}observe(qe,dt=!1){if(qe&&qe.length){const Le=this._observable$.pipe((0,R.p)(Zt=>!dt||qe.indexOf(Zt.mediaQuery)>-1)),Vt=new S.c(Zt=>{const Et=this.registerQuery(qe);if(Et.length){const je=Et.pop();Et.forEach(me=>{Zt.next(me)}),this.source.next(je)}Zt.complete()});return(0,l.h)(Vt,Le)}return this._observable$}registerQuery(qe){const dt=Array.isArray(qe)?qe:[qe],Le=[];return function h(Ze,jt){const qe=Ze.filter(dt=>!f[dt]);if(qe.length>0){const dt=qe.join(", ");try{const Le=jt.createElement("style");Le.setAttribute("type","text/css"),Le.styleSheet||Le.appendChild(jt.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${dt} {.fx-query-test{ }}\n`)),jt.head.appendChild(Le),qe.forEach(Vt=>f[Vt]=Le)}catch(Le){console.error(Le)}}}(dt,this._document),dt.forEach(Vt=>{const Zt=je=>{this._zone.run(()=>this.source.next(new F(je.matches,Vt)))};let Et=this.registry.get(Vt);Et||(Et=this.buildMQL(Vt),Et.addListener(Zt),this.pendingRemoveListenerFns.push(()=>Et.removeListener(Zt)),this.registry.set(Vt,Et)),Et.matches&&Le.push(new F(!0,Vt))}),Le}ngOnDestroy(){let qe;for(;qe=this.pendingRemoveListenerFns.pop();)qe()}buildMQL(qe){return function L(Ze,jt){return jt&&window.matchMedia("all").addListener?window.matchMedia(Ze):function M(Ze){const jt=new EventTarget;return jt.matches="all"===Ze||""===Ze,jt.media=Ze,jt.addListener=()=>{},jt.removeListener=()=>{},jt.addEventListener=()=>{},jt.dispatchEvent=()=>!1,jt.onchange=null,jt}(Ze)}(qe,(0,e.UE)(this._platformId))}}return Ze.\u0275fac=function(qe){return new(qe||Ze)(t.KVO(t.SKi),t.KVO(t.Agw),t.KVO(e.qQ))},Ze.\u0275prov=t.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})();const f={},O=[{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}],_="(orientation: portrait) and (max-width: 599.98px)",r="(orientation: landscape) and (max-width: 959.98px)",v="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",z="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",N="(orientation: portrait) and (min-width: 840px)",ne="(orientation: landscape) and (min-width: 1280px)",Ie={HANDSET:`${_}, ${r}`,TABLET:`${v} , ${z}`,WEB:`${N}, ${ne} `,HANDSET_PORTRAIT:`${_}`,TABLET_PORTRAIT:`${v} `,WEB_PORTRAIT:`${N}`,HANDSET_LANDSCAPE:`${r}`,TABLET_LANDSCAPE:`${z}`,WEB_LANDSCAPE:`${ne}`},at=[{alias:"handset",priority:2e3,mediaQuery:Ie.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Ie.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Ie.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Ie.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Ie.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Ie.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Ie.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Ie.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Ie.WEB_PORTRAIT,overlapping:!0}],Ye=/(\.|-|_)/g;function rt(Ze){let jt=Ze.length>0?Ze.charAt(0):"",qe=Ze.length>1?Ze.slice(1):"";return jt.toUpperCase()+qe}const _e=new t.nKC("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const Ze=(0,t.WQX)($),jt=(0,t.WQX)(G),qe=[].concat.apply([],(Ze||[]).map(Le=>Array.isArray(Le)?Le:[Le]));return function oe(Ze,jt=[]){const qe={};return Ze.forEach(dt=>{qe[dt.alias]=dt}),jt.forEach(dt=>{qe[dt.alias]?(0,m.C5)(qe[dt.alias],dt):qe[dt.alias]=dt}),function te(Ze){return Ze.forEach(jt=>{jt.suffix||(jt.suffix=function re(Ze){return Ze.replace(Ye,"|").split("|").map(rt).join("")}(jt.alias),jt.overlapping=!!jt.overlapping)}),Ze}(Object.keys(qe).map(dt=>qe[dt]))}((jt.disableDefaultBps?[]:O).concat(jt.addOrientationBps?at:[]),qe)}});let de=(()=>{class Ze{constructor(qe){this.findByMap=new Map,this.items=[...qe].sort(n)}findByAlias(qe){return qe?this.findWithPredicate(qe,dt=>dt.alias===qe):null}findByQuery(qe){return this.findWithPredicate(qe,dt=>dt.mediaQuery===qe)}get overlappings(){return this.items.filter(qe=>qe.overlapping)}get aliases(){return this.items.map(qe=>qe.alias)}get suffixes(){return this.items.map(qe=>qe?.suffix??"")}findWithPredicate(qe,dt){let Le=this.findByMap.get(qe);return Le||(Le=this.items.find(dt)??null,this.findByMap.set(qe,Le)),Le??null}}return Ze.\u0275fac=function(qe){return new(qe||Ze)(t.KVO(_e))},Ze.\u0275prov=t.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})();const pe="print",We={alias:pe,mediaQuery:pe,priority:1e3};let se=(()=>{class Ze{constructor(qe,dt,Le){this.breakpoints=qe,this.layoutConfig=dt,this._document=Le,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new fe,this.deactivations=[]}withPrintQuery(qe){return[...qe,pe]}isPrintEvent(qe){return qe.mediaQuery.startsWith(pe)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(qe=>this.breakpoints.findByAlias(qe)).filter(qe=>null!==qe)}getEventBreakpoints({mediaQuery:qe}){const dt=this.breakpoints.findByQuery(qe);return(dt?[...this.printBreakPoints,dt]:this.printBreakPoints).sort(D)}updateEvent(qe){let dt=this.breakpoints.findByQuery(qe.mediaQuery);return this.isPrintEvent(qe)&&(dt=this.getEventBreakpoints(qe)[0],qe.mediaQuery=dt?.mediaQuery??""),Z(qe,dt)}registerBeforeAfterPrintHooks(qe){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const dt=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(qe,this.getEventBreakpoints(new F(!0,pe))),qe.updateStyles())},Le=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(qe),qe.updateStyles())};this._document.defaultView.addEventListener("beforeprint",dt),this._document.defaultView.addEventListener("afterprint",Le),this.beforePrintEventListeners.push(dt),this.afterPrintEventListeners.push(Le)}interceptEvents(qe){return dt=>{this.isPrintEvent(dt)?dt.matches&&!this.isPrinting?(this.startPrinting(qe,this.getEventBreakpoints(dt)),qe.updateStyles()):!dt.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(qe),qe.updateStyles()):this.collectActivations(qe,dt)}}blockPropagation(){return qe=>!(this.isPrinting||this.isPrintEvent(qe))}startPrinting(qe,dt){this.isPrinting=!0,this.formerActivations=qe.activatedBreakpoints,qe.activatedBreakpoints=this.queue.addPrintBreakpoints(dt)}stopPrinting(qe){qe.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(qe,dt){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!dt.matches){const Le=this.breakpoints.findByQuery(dt.mediaQuery);if(Le){const Vt=this.formerActivations&&this.formerActivations.includes(Le),Zt=!this.formerActivations&&qe.activatedBreakpoints.includes(Le);(Vt||Zt)&&(this.deactivations.push(Le),this.deactivations.sort(D))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(qe=>this._document.defaultView.removeEventListener("beforeprint",qe)),this.afterPrintEventListeners.forEach(qe=>this._document.defaultView.removeEventListener("afterprint",qe)))}}return Ze.\u0275fac=function(qe){return new(qe||Ze)(t.KVO(de),t.KVO(G),t.KVO(e.qQ))},Ze.\u0275prov=t.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})();class fe{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(jt){return jt.push(We),jt.sort(D),jt.forEach(qe=>this.addBreakpoint(qe)),this.printBreakpoints}addBreakpoint(jt){jt&&void 0===this.printBreakpoints.find(dt=>dt.mediaQuery===jt.mediaQuery)&&(this.printBreakpoints=function he(Ze){return Ze?.mediaQuery.startsWith(pe)??!1}(jt)?[jt,...this.printBreakpoints]:[...this.printBreakpoints,jt])}clear(){this.printBreakpoints=[]}}let et=(()=>{class Ze{constructor(qe,dt,Le){this.matchMedia=qe,this.breakpoints=dt,this.hook=Le,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 x.B,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(qe){this._activatedBreakpoints=[...qe]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(qe){this._useFallbacks=qe}onMediaChange(qe){const dt=this.findByQuery(qe.mediaQuery);if(dt){qe=Z(qe,dt);const Le=this.activatedBreakpoints.indexOf(dt);qe.matches&&-1===Le?(this._activatedBreakpoints.push(dt),this._activatedBreakpoints.sort(D),this.updateStyles()):!qe.matches&&-1!==Le&&(this._activatedBreakpoints.splice(Le,1),this._activatedBreakpoints.sort(D),this.updateStyles())}}init(qe,dt,Le,Vt,Zt=[]){Ke(this.updateMap,qe,dt,Le),Ke(this.clearMap,qe,dt,Vt),this.buildElementKeyMap(qe,dt),this.watchExtraTriggers(qe,dt,Zt)}getValue(qe,dt,Le){const Vt=this.elementMap.get(qe);if(Vt){const Zt=void 0!==Le?Vt.get(Le):this.getActivatedValues(Vt,dt);if(Zt)return Zt.get(dt)}}hasValue(qe,dt){const Le=this.elementMap.get(qe);if(Le){const Vt=this.getActivatedValues(Le,dt);if(Vt)return void 0!==Vt.get(dt)||!1}return!1}setValue(qe,dt,Le,Vt){let Zt=this.elementMap.get(qe);if(Zt){const je=(Zt.get(Vt)??new Map).set(dt,Le);Zt.set(Vt,je),this.elementMap.set(qe,Zt)}else Zt=(new Map).set(Vt,(new Map).set(dt,Le)),this.elementMap.set(qe,Zt);const Et=this.getValue(qe,dt);void 0!==Et&&this.updateElement(qe,dt,Et)}trackValue(qe,dt){return this.subject.asObservable().pipe((0,R.p)(Le=>Le.element===qe&&Le.key===dt))}updateStyles(){this.elementMap.forEach((qe,dt)=>{const Le=new Set(this.elementKeyMap.get(dt));let Vt=this.getActivatedValues(qe);Vt&&Vt.forEach((Zt,Et)=>{this.updateElement(dt,Et,Zt),Le.delete(Et)}),Le.forEach(Zt=>{if(Vt=this.getActivatedValues(qe,Zt),Vt){const Et=Vt.get(Zt);this.updateElement(dt,Zt,Et)}else this.clearElement(dt,Zt)})})}clearElement(qe,dt){const Le=this.clearMap.get(qe);if(Le){const Vt=Le.get(dt);Vt&&(Vt(),this.subject.next({element:qe,key:dt,value:""}))}}updateElement(qe,dt,Le){const Vt=this.updateMap.get(qe);if(Vt){const Zt=Vt.get(dt);Zt&&(Zt(Le),this.subject.next({element:qe,key:dt,value:Le}))}}releaseElement(qe){const dt=this.watcherMap.get(qe);dt&&(dt.forEach(Vt=>Vt.unsubscribe()),this.watcherMap.delete(qe));const Le=this.elementMap.get(qe);Le&&(Le.forEach((Vt,Zt)=>Le.delete(Zt)),this.elementMap.delete(qe))}triggerUpdate(qe,dt){const Le=this.elementMap.get(qe);if(Le){const Vt=this.getActivatedValues(Le,dt);Vt&&(dt?this.updateElement(qe,dt,Vt.get(dt)):Vt.forEach((Zt,Et)=>this.updateElement(qe,Et,Zt)))}}buildElementKeyMap(qe,dt){let Le=this.elementKeyMap.get(qe);Le||(Le=new Set,this.elementKeyMap.set(qe,Le)),Le.add(dt)}watchExtraTriggers(qe,dt,Le){if(Le&&Le.length){let Vt=this.watcherMap.get(qe);if(Vt||(Vt=new Map,this.watcherMap.set(qe,Vt)),!Vt.get(dt)){const Et=(0,l.h)(...Le).subscribe(()=>{const je=this.getValue(qe,dt);this.updateElement(qe,dt,je)});Vt.set(dt,Et)}}}findByQuery(qe){return this.breakpoints.findByQuery(qe)}getActivatedValues(qe,dt){for(let Vt=0;Vt<this.activatedBreakpoints.length;Vt++){const Et=qe.get(this.activatedBreakpoints[Vt].alias);if(Et&&(void 0===dt||Et.has(dt)&&null!=Et.get(dt)))return Et}if(!this._useFallbacks)return;const Le=qe.get("");return void 0===dt||Le&&Le.has(dt)?Le:void 0}observeActivations(){const qe=this.breakpoints.items.map(dt=>dt.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(qe)).pipe((0,d.M)(this.hook.interceptEvents(this)),(0,R.p)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return Ze.\u0275fac=function(qe){return new(qe||Ze)(t.KVO(c),t.KVO(de),t.KVO(se))},Ze.\u0275prov=t.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})();function Ke(Ze,jt,qe,dt){if(void 0!==dt){const Le=Ze.get(jt)??new Map;Le.set(qe,dt),Ze.set(jt,Le)}}let Ct=(()=>{class Ze{constructor(qe,dt,Le,Vt){this.elementRef=qe,this.styleBuilder=dt,this.styler=Le,this.marshal=Vt,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new x.B,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(qe){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,qe,this.marshal.activatedAlias)}ngOnChanges(qe){Object.keys(qe).forEach(dt=>{if(-1!==this.inputs.indexOf(dt)){const Le=dt.split(".").slice(1).join(".");this.setValue(qe[dt].currentValue,Le)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(qe=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),qe)}addStyles(qe,dt){const Le=this.styleBuilder,Vt=Le.shouldCache;let Zt=this.styleCache.get(qe);(!Zt||!Vt)&&(Zt=Le.buildStyles(qe,dt),Vt&&this.styleCache.set(qe,Zt)),this.mru={...Zt},this.applyStyleToElement(Zt),Le.sideEffect(qe,Zt,dt)}clearStyles(){Object.keys(this.mru).forEach(qe=>{this.mru[qe]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(qe,dt=!1){if(qe){const[Le,Vt]=this.styler.getFlowDirection(qe);if(!Vt&&dt){const Zt=(0,m.uG)(Le);this.styler.applyStyleToElements(Zt,[qe])}return Le.trim()}return"row"}hasWrap(qe){return this.styler.hasWrap(qe)}applyStyleToElement(qe,dt,Le=this.nativeElement){this.styler.applyStyleToElement(Le,qe,dt)}setValue(qe,dt){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,qe,dt)}updateWithValue(qe){this.currentValue!==qe&&(this.addStyles(qe),this.currentValue=qe)}}return Ze.\u0275fac=function(qe){return new(qe||Ze)(t.rXU(t.aKT),t.rXU(ie),t.rXU(ve),t.rXU(et))},Ze.\u0275dir=t.FsC({type:Ze,features:[t.OA$]}),Ze})();function tt(Ze,jt="1",qe="1"){let dt=[jt,qe,Ze],Le=Ze.indexOf("calc");if(Le>0){dt[2]=wt(Ze.substring(Le).trim());let Vt=Ze.substr(0,Le).trim().split(" ");2==Vt.length&&(dt[0]=Vt[0],dt[1]=Vt[1])}else if(0==Le)dt[2]=wt(Ze.trim());else{let Vt=Ze.split(" ");dt=3===Vt.length?Vt:[jt,qe,Ze]}return dt}function wt(Ze){return Ze.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}EventTarget;const ut="x";function vt(Ze,jt){if(void 0===jt)return Ze;const qe=dt=>{const Le=+dt.slice(0,-ut.length);return Ze.endsWith(ut)&&!isNaN(Le)?`${Le*jt.value}${jt.unit}`:Ze};return Ze.includes(" ")?Ze.split(" ").map(qe).join(" "):qe(Ze)}},6038:(Ve,ee,p)=>{"use strict";p.d(ee,{Cc:()=>r,PW:()=>U,eI:()=>L});var t=p(4438),e=p(9340),C=p(177),x=(p(4085),p(6977),p(345));let k=(()=>{class v extends e.DJ{constructor(N,ne,Ie,at,Ye,rt,re){super(N,null,ne,Ie),this.ngClassInstance=re,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new C.YU(at,Ye,N,rt)),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 v.\u0275fac=function(N){return new(N||v)(t.rXU(t.aKT),t.rXU(e.ZH),t.rXU(e.qH),t.rXU(t._q3),t.rXU(t.MKu),t.rXU(t.sFG),t.rXU(C.YU,10))},v.\u0275dir=t.FsC({type:v,inputs:{klass:[0,"class","klass"]},features:[t.Vt3]}),v})();const F=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let U=(()=>{class v extends k{constructor(){super(...arguments),this.inputs=F}}return v.\u0275fac=(()=>{let z;return function(ne){return(z||(z=t.xGo(v)))(ne||v)}})(),v.\u0275dir=t.FsC({type:v,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[t.Vt3]}),v})();class ae{constructor(z,N,ne=!0){this.key=z,this.value=N,this.key=ne?z.replace(/['"]/g,"").trim():z.trim(),this.value=ne?N.replace(/['"]/g,"").trim():N.trim(),this.value=this.value.replace(/;/,"")}}function ye(v){let z=typeof v;return"object"===z?v.constructor===Array?"array":v.constructor===Set?"set":"object":z}function n(v){const[z,...N]=v.split(":");return new ae(z,N.join(":"))}function c(v,z){return z.key&&(v[z.key]=z.value),v}let f=(()=>{class v extends e.DJ{constructor(N,ne,Ie,at,Ye,rt,re,te,oe){super(N,null,ne,Ie),this.sanitizer=at,this.ngStyleInstance=re,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new C.B3(N,Ye,rt)),this.init();const _e=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(_e),this.isServer=te&&(0,C.Vy)(oe)}updateWithValue(N){const ne=this.buildStyleMap(N);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...ne},this.isServer&&this.applyStyleToElement(ne),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(N){const ne=Ie=>this.sanitizer.sanitize(t.WPN.STYLE,Ie)??"";if(N)switch(ye(N)){case"string":return O(function ue(v,z=";"){return String(v).trim().split(z).map(N=>N.trim()).filter(N=>""!==N)}(N),ne);case"array":return O(N,ne);default:return function D(v,z){let N=[];return"set"===ye(v)?v.forEach(ne=>N.push(ne)):Object.keys(v).forEach(ne=>{N.push(`${ne}:${v[ne]}`)}),function be(v,z){return v.map(n).filter(ne=>!!ne).map(ne=>(z&&(ne.value=z(ne.value)),ne)).reduce(c,{})}(N,z)}(N,ne)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return v.\u0275fac=function(N){return new(N||v)(t.rXU(t.aKT),t.rXU(e.ZH),t.rXU(e.qH),t.rXU(x.up),t.rXU(t.MKu),t.rXU(t.sFG),t.rXU(C.B3,10),t.rXU(e.Ce),t.rXU(t.Agw))},v.\u0275dir=t.FsC({type:v,features:[t.Vt3]}),v})();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 L=(()=>{class v extends f{constructor(){super(...arguments),this.inputs=h}}return v.\u0275fac=(()=>{let z;return function(ne){return(z||(z=t.xGo(v)))(ne||v)}})(),v.\u0275dir=t.FsC({type:v,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[t.Vt3]}),v})();function O(v,z){return v.map(n).filter(ne=>!!ne).map(ne=>(z&&(ne.value=z(ne.value)),ne)).reduce(c,{})}let r=(()=>{class v{}return v.\u0275fac=function(N){return new(N||v)},v.\u0275mod=t.$C({type:v}),v.\u0275inj=t.G2t({imports:[e.Ui]}),v})()},2920:(Ve,ee,p)=>{"use strict";p.d(ee,{DJ:()=>y,UI:()=>M,sA:()=>tt,w2:()=>Zt});var t=p(4438),e=p(8203),C=p(9340),S=p(4545),x=(p(1413),p(6977));let m=(()=>{class Et extends C.r3{buildStyles(me,{display:xe}){const ce=(0,S.uG)(me);return{...ce,display:"none"===xe?xe:ce.display}}}return Et.\u0275fac=(()=>{let je;return function(xe){return(je||(je=t.xGo(Et)))(xe||Et)}})(),Et.\u0275prov=t.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"}),Et})();const R=["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 w=(()=>{class Et extends C.DJ{constructor(me,xe,ce,Me,Xe){super(me,ce,xe,Me),this._config=Xe,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(me){const ce=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=T.get(ce)??new Map,T.set(ce,this.styleCache),this.currentValue!==me&&(this.addStyles(me,{display:ce}),this.currentValue=me)}}return Et.\u0275fac=function(me){return new(me||Et)(t.rXU(t.aKT),t.rXU(C.ZH),t.rXU(m),t.rXU(C.qH),t.rXU(C.EA))},Et.\u0275dir=t.FsC({type:Et,features:[t.Vt3]}),Et})(),y=(()=>{class Et extends w{constructor(){super(...arguments),this.inputs=R}}return Et.\u0275fac=(()=>{let je;return function(xe){return(je||(je=t.xGo(Et)))(xe||Et)}})(),Et.\u0275dir=t.FsC({type:Et,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[t.Vt3]}),Et})();const T=new Map;let n=(()=>{class Et extends C.r3{constructor(me){super(),this.layoutConfig=me}buildStyles(me,xe){let[ce,Me,...Xe]=me.split(" "),Pe=Xe.join(" ");const Oe=xe.direction.indexOf("column")>-1?"column":"row",we=(0,S.Vc)(Oe)?"max-width":"max-height",De=(0,S.Vc)(Oe)?"min-width":"min-height",$e=String(Pe).indexOf("calc")>-1,$t=$e||"auto"===Pe,Ft=String(Pe).indexOf("%")>-1&&!$e,Kt=String(Pe).indexOf("px")>-1||String(Pe).indexOf("rem")>-1||String(Pe).indexOf("em")>-1||String(Pe).indexOf("vw")>-1||String(Pe).indexOf("vh")>-1;let fi=$e||Kt;ce="0"==ce?0:ce,Me="0"==Me?0:Me;const Qt=!ce&&!Me;let zt={};const Xi={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Pe||""){case"":Pe="row"===Oe?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":ce=0,Pe="auto";break;case"grow":Pe="100%";break;case"noshrink":Me=0,Pe="auto";break;case"auto":break;case"none":ce=0,Me=0,Pe="auto";break;default:!fi&&!Ft&&!isNaN(Pe)&&(Pe+="%"),"0%"===Pe&&(fi=!0),"0px"===Pe&&(Pe="0%"),zt=(0,S.C5)(Xi,$e?{"flex-grow":ce,"flex-shrink":Me,"flex-basis":fi?Pe:"100%"}:{flex:`${ce} ${Me} ${fi?Pe:"100%"}`})}return zt.flex||zt["flex-grow"]||(zt=(0,S.C5)(Xi,$e?{"flex-grow":ce,"flex-shrink":Me,"flex-basis":Pe}:{flex:`${ce} ${Me} ${Pe}`})),"0%"!==Pe&&"0px"!==Pe&&"0.000000001px"!==Pe&&"auto"!==Pe&&(zt[De]=Qt||fi&&ce?Pe:null,zt[we]=Qt||!$t&&Me?Pe:null),zt[De]||zt[we]?xe.hasWrap&&(zt[$e?"flex-basis":"flex"]=zt[we]?$e?zt[we]:`${ce} ${Me} ${zt[we]}`:$e?zt[De]:`${ce} ${Me} ${zt[De]}`):zt=(0,S.C5)(Xi,$e?{"flex-grow":ce,"flex-shrink":Me,"flex-basis":Pe}:{flex:`${ce} ${Me} ${Pe}`}),(0,S.C5)(zt,{"box-sizing":"border-box"})}}return Et.\u0275fac=function(me){return new(me||Et)(t.KVO(C.EA))},Et.\u0275prov=t.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"}),Et})();const c=["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 Et extends C.DJ{constructor(me,xe,ce,Me,Xe){super(me,Me,xe,Xe),this.layoutConfig=ce,this.marshal=Xe,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(me){this.flexShrink=me||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(me){this.flexGrow=me||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,x.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,x.Q)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(me){const ce=me.value.split(" ");this.direction=ce[0],this.wrap=void 0!==ce[1]&&"wrap"===ce[1],this.triggerUpdate()}updateWithValue(me){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 ce=this.direction,Me=ce.startsWith("row"),Xe=this.wrap;Me&&Xe?this.styleCache=_:Me&&!Xe?this.styleCache=L:!Me&&Xe?this.styleCache=r:!Me&&!Xe&&(this.styleCache=O);const Pe=String(me).replace(";",""),Oe=(0,C.hN)(Pe,this.flexGrow,this.flexShrink);this.addStyles(Oe.join(" "),{direction:ce,hasWrap:Xe})}triggerReflow(){const me=this.activatedValue;if(void 0!==me){const xe=(0,C.hN)(me+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,xe.join(" "))}}}return Et.\u0275fac=function(me){return new(me||Et)(t.rXU(t.aKT),t.rXU(C.ZH),t.rXU(C.EA),t.rXU(n),t.rXU(C.qH))},Et.\u0275dir=t.FsC({type:Et,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},features:[t.Vt3]}),Et})(),M=(()=>{class Et extends h{constructor(){super(...arguments),this.inputs=c}}return Et.\u0275fac=(()=>{let je;return function(xe){return(je||(je=t.xGo(Et)))(xe||Et)}})(),Et.\u0275dir=t.FsC({type:Et,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[t.Vt3]}),Et})();const L=new Map,O=new Map,_=new Map,r=new Map;let Qe=(()=>{class Et extends C.r3{buildStyles(me,xe){const ce={},[Me,Xe]=me.split(" ");switch(Me){case"center":ce["justify-content"]="center";break;case"space-around":ce["justify-content"]="space-around";break;case"space-between":ce["justify-content"]="space-between";break;case"space-evenly":ce["justify-content"]="space-evenly";break;case"end":case"flex-end":ce["justify-content"]="flex-end";break;default:ce["justify-content"]="flex-start"}switch(Xe){case"start":case"flex-start":ce["align-items"]=ce["align-content"]="flex-start";break;case"center":ce["align-items"]=ce["align-content"]="center";break;case"end":case"flex-end":ce["align-items"]=ce["align-content"]="flex-end";break;case"space-between":ce["align-content"]="space-between",ce["align-items"]="stretch";break;case"space-around":ce["align-content"]="space-around",ce["align-items"]="stretch";break;case"baseline":ce["align-content"]="stretch",ce["align-items"]="baseline";break;default:ce["align-items"]=ce["align-content"]="stretch"}return(0,S.C5)(ce,{display:xe.inline?"inline-flex":"flex","flex-direction":xe.layout,"box-sizing":"border-box","max-width":"stretch"===Xe?(0,S.Vc)(xe.layout)?null:"100%":null,"max-height":"stretch"===Xe&&(0,S.Vc)(xe.layout)?"100%":null})}}return Et.\u0275fac=(()=>{let je;return function(xe){return(je||(je=t.xGo(Et)))(xe||Et)}})(),Et.\u0275prov=t.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"}),Et})();const nt=["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 ht=(()=>{class Et extends C.DJ{constructor(me,xe,ce,Me){super(me,ce,xe,Me),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,x.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(me){const xe=this.layout||"row",ce=this.inline;"row"===xe&&ce?this.styleCache=jt:"row"!==xe||ce?"row-reverse"===xe&&ce?this.styleCache=dt:"row-reverse"!==xe||ce?"column"===xe&&ce?this.styleCache=qe:"column"!==xe||ce?"column-reverse"===xe&&ce?this.styleCache=Le:"column-reverse"===xe&&!ce&&(this.styleCache=Ze):this.styleCache=ut:this.styleCache=vt:this.styleCache=wt,this.addStyles(me,{layout:xe,inline:ce})}onLayoutChange(me){const xe=me.value.split(" ");this.layout=xe[0],this.inline=me.value.includes("inline"),S.Uo.find(ce=>ce===this.layout)||(this.layout="row"),this.triggerUpdate()}}return Et.\u0275fac=function(me){return new(me||Et)(t.rXU(t.aKT),t.rXU(C.ZH),t.rXU(Qe),t.rXU(C.qH))},Et.\u0275dir=t.FsC({type:Et,features:[t.Vt3]}),Et})(),tt=(()=>{class Et extends ht{constructor(){super(...arguments),this.inputs=nt}}return Et.\u0275fac=(()=>{let je;return function(xe){return(je||(je=t.xGo(Et)))(xe||Et)}})(),Et.\u0275dir=t.FsC({type:Et,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[t.Vt3]}),Et})();const wt=new Map,ut=new Map,vt=new Map,Ze=new Map,jt=new Map,qe=new Map,dt=new Map,Le=new Map;let Zt=(()=>{class Et{}return Et.\u0275fac=function(me){return new(me||Et)},Et.\u0275mod=t.$C({type:Et}),Et.\u0275inj=t.G2t({imports:[C.Ui,e.jI]}),Et})()},9417:(Ve,ee,p)=>{"use strict";p.d(ee,{BC:()=>he,JD:()=>ho,Q0:()=>Rr,VZ:()=>Mo,X1:()=>Ri,YN:()=>aa,YS:()=>wr,cV:()=>On,cb:()=>et,cz:()=>Y,hs:()=>pi,j4:()=>xo,k0:()=>ie,kq:()=>d,l_:()=>io,me:()=>V,ok:()=>Xo,qT:()=>or,vO:()=>pe,vS:()=>tr,xq:()=>ga,zX:()=>Vo,ze:()=>Eo});var t=p(4438),e=p(177),C=p(2806),S=p(7468),l=p(1413),x=p(6354);let m=(()=>{class ft{constructor(Be,Tt){this._renderer=Be,this._elementRef=Tt,this.onChange=ti=>{},this.onTouched=()=>{}}setProperty(Be,Tt){this._renderer.setProperty(this._elementRef.nativeElement,Be,Tt)}registerOnTouched(Be){this.onTouched=Be}registerOnChange(Be){this.onChange=Be}setDisabledState(Be){this.setProperty("disabled",Be)}static{this.\u0275fac=function(Tt){return new(Tt||ft)(t.rXU(t.sFG),t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:ft})}}return ft})(),R=(()=>{class ft extends m{static{this.\u0275fac=(()=>{let Be;return function(ti){return(Be||(Be=t.xGo(ft)))(ti||ft)}})()}static{this.\u0275dir=t.FsC({type:ft,features:[t.Vt3]})}}return ft})();const d=new t.nKC(""),T={provide:d,useExisting:(0,t.Rfq)(()=>V),multi:!0},F=new t.nKC("");let V=(()=>{class ft extends m{constructor(Be,Tt,ti){super(Be,Tt),this._compositionMode=ti,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function k(){const ft=(0,e.QT)()?(0,e.QT)().getUserAgent():"";return/android (\d+)/.test(ft.toLowerCase())}())}writeValue(Be){this.setProperty("value",Be??"")}_handleInput(Be){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Be)}_compositionStart(){this._composing=!0}_compositionEnd(Be){this._composing=!1,this._compositionMode&&this.onChange(Be)}static{this.\u0275fac=function(Tt){return new(Tt||ft)(t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(F,8))}}static{this.\u0275dir=t.FsC({type:ft,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(Tt,ti){1&Tt&&t.bIt("input",function(Qn){return ti._handleInput(Qn.target.value)})("blur",function(){return ti.onTouched()})("compositionstart",function(){return ti._compositionStart()})("compositionend",function(Qn){return ti._compositionEnd(Qn.target.value)})},features:[t.Jv_([T]),t.Vt3]})}}return ft})();function U(ft){return null==ft||("string"==typeof ft||Array.isArray(ft))&&0===ft.length}function G(ft){return null!=ft&&"number"==typeof ft.length}const Y=new t.nKC(""),$=new t.nKC(""),Z=/^(?=.{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(pt){return ve(pt)}static max(pt){return ae(pt)}static required(pt){return ye(pt)}static requiredTrue(pt){return ue(pt)}static email(pt){return function be(ft){return U(ft.value)||Z.test(ft.value)?null:{email:!0}}(pt)}static minLength(pt){return function D(ft){return pt=>U(pt.value)||!G(pt.value)?null:pt.value.length<ft?{minlength:{requiredLength:ft,actualLength:pt.value.length}}:null}(pt)}static maxLength(pt){return function n(ft){return pt=>G(pt.value)&&pt.value.length>ft?{maxlength:{requiredLength:ft,actualLength:pt.value.length}}:null}(pt)}static pattern(pt){return function c(ft){if(!ft)return f;let pt,Be;return"string"==typeof ft?(Be="","^"!==ft.charAt(0)&&(Be+="^"),Be+=ft,"$"!==ft.charAt(ft.length-1)&&(Be+="$"),pt=new RegExp(Be)):(Be=ft.toString(),pt=ft),Tt=>{if(U(Tt.value))return null;const ti=Tt.value;return pt.test(ti)?null:{pattern:{requiredPattern:Be,actualValue:ti}}}}(pt)}static nullValidator(pt){return null}static compose(pt){return v(pt)}static composeAsync(pt){return N(pt)}}function ve(ft){return pt=>{if(U(pt.value)||U(ft))return null;const Be=parseFloat(pt.value);return!isNaN(Be)&&Be<ft?{min:{min:ft,actual:pt.value}}:null}}function ae(ft){return pt=>{if(U(pt.value)||U(ft))return null;const Be=parseFloat(pt.value);return!isNaN(Be)&&Be>ft?{max:{max:ft,actual:pt.value}}:null}}function ye(ft){return U(ft.value)?{required:!0}:null}function ue(ft){return!0===ft.value?null:{required:!0}}function f(ft){return null}function h(ft){return null!=ft}function M(ft){return(0,t.jNT)(ft)?(0,C.H)(ft):ft}function L(ft){let pt={};return ft.forEach(Be=>{pt=null!=Be?{...pt,...Be}:pt}),0===Object.keys(pt).length?null:pt}function O(ft,pt){return pt.map(Be=>Be(ft))}function r(ft){return ft.map(pt=>function _(ft){return!ft.validate}(pt)?pt:Be=>pt.validate(Be))}function v(ft){if(!ft)return null;const pt=ft.filter(h);return 0==pt.length?null:function(Be){return L(O(Be,pt))}}function z(ft){return null!=ft?v(r(ft)):null}function N(ft){if(!ft)return null;const pt=ft.filter(h);return 0==pt.length?null:function(Be){const Tt=O(Be,pt).map(M);return(0,S.p)(Tt).pipe((0,x.T)(L))}}function ne(ft){return null!=ft?N(r(ft)):null}function Ie(ft,pt){return null===ft?[pt]:Array.isArray(ft)?[...ft,pt]:[ft,pt]}function at(ft){return ft._rawValidators}function Ye(ft){return ft._rawAsyncValidators}function rt(ft){return ft?Array.isArray(ft)?ft:[ft]:[]}function re(ft,pt){return Array.isArray(ft)?ft.includes(pt):ft===pt}function te(ft,pt){const Be=rt(pt);return rt(ft).forEach(ti=>{re(Be,ti)||Be.push(ti)}),Be}function oe(ft,pt){return rt(pt).filter(Be=>!re(ft,Be))}class _e{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(pt){this._rawValidators=pt||[],this._composedValidatorFn=z(this._rawValidators)}_setAsyncValidators(pt){this._rawAsyncValidators=pt||[],this._composedAsyncValidatorFn=ne(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(pt){this._onDestroyCallbacks.push(pt)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(pt=>pt()),this._onDestroyCallbacks=[]}reset(pt=void 0){this.control&&this.control.reset(pt)}hasError(pt,Be){return!!this.control&&this.control.hasError(pt,Be)}getError(pt,Be){return this.control?this.control.getError(pt,Be):null}}class de extends _e{get formDirective(){return null}get path(){return null}}class pe extends _e{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class We{constructor(pt){this._cd=pt}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 he=(()=>{class ft extends We{constructor(Be){super(Be)}static{this.\u0275fac=function(Tt){return new(Tt||ft)(t.rXU(pe,2))}}static{this.\u0275dir=t.FsC({type:ft,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Tt,ti){2&Tt&&t.AVh("ng-untouched",ti.isUntouched)("ng-touched",ti.isTouched)("ng-pristine",ti.isPristine)("ng-dirty",ti.isDirty)("ng-valid",ti.isValid)("ng-invalid",ti.isInvalid)("ng-pending",ti.isPending)},features:[t.Vt3]})}}return ft})(),et=(()=>{class ft extends We{constructor(Be){super(Be)}static{this.\u0275fac=function(Tt){return new(Tt||ft)(t.rXU(de,10))}}static{this.\u0275dir=t.FsC({type:ft,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Tt,ti){2&Tt&&t.AVh("ng-untouched",ti.isUntouched)("ng-touched",ti.isTouched)("ng-pristine",ti.isPristine)("ng-dirty",ti.isDirty)("ng-valid",ti.isValid)("ng-invalid",ti.isInvalid)("ng-pending",ti.isPending)("ng-submitted",ti.isSubmitted)},features:[t.Vt3]})}}return ft})();const Le="VALID",Vt="INVALID",Zt="PENDING",Et="DISABLED";class je{}class me extends je{constructor(pt,Be){super(),this.value=pt,this.source=Be}}class xe extends je{constructor(pt,Be){super(),this.pristine=pt,this.source=Be}}class ce extends je{constructor(pt,Be){super(),this.touched=pt,this.source=Be}}class Me extends je{constructor(pt,Be){super(),this.status=pt,this.source=Be}}class Xe extends je{constructor(pt){super(),this.source=pt}}class Pe extends je{constructor(pt){super(),this.source=pt}}function Oe(ft){return($t(ft)?ft.validators:ft)||null}function De(ft,pt){return($t(pt)?pt.asyncValidators:ft)||null}function $t(ft){return null!=ft&&!Array.isArray(ft)&&"object"==typeof ft}function Ft(ft,pt,Be){const Tt=ft.controls;if(!(pt?Object.keys(Tt):Tt).length)throw new t.wOt(1e3,"");if(!Tt[Be])throw new t.wOt(1001,"")}function Kt(ft,pt,Be){ft._forEachChild((Tt,ti)=>{if(void 0===Be[ti])throw new t.wOt(1002,"")})}class fi{constructor(pt,Be){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new l.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(pt),this._assignAsyncValidators(Be)}get validator(){return this._composedValidatorFn}set validator(pt){this._rawValidators=this._composedValidatorFn=pt}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(pt){this._rawAsyncValidators=this._composedAsyncValidatorFn=pt}get parent(){return this._parent}get valid(){return this.status===Le}get invalid(){return this.status===Vt}get pending(){return this.status==Zt}get disabled(){return this.status===Et}get enabled(){return this.status!==Et}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(pt){this._assignValidators(pt)}setAsyncValidators(pt){this._assignAsyncValidators(pt)}addValidators(pt){this.setValidators(te(pt,this._rawValidators))}addAsyncValidators(pt){this.setAsyncValidators(te(pt,this._rawAsyncValidators))}removeValidators(pt){this.setValidators(oe(pt,this._rawValidators))}removeAsyncValidators(pt){this.setAsyncValidators(oe(pt,this._rawAsyncValidators))}hasValidator(pt){return re(this._rawValidators,pt)}hasAsyncValidator(pt){return re(this._rawAsyncValidators,pt)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(pt={}){const Be=!1===this.touched;this.touched=!0;const Tt=pt.sourceControl??this;this._parent&&!pt.onlySelf&&this._parent.markAsTouched({...pt,sourceControl:Tt}),Be&&!1!==pt.emitEvent&&this._events.next(new ce(!0,Tt))}markAllAsTouched(pt={}){this.markAsTouched({onlySelf:!0,emitEvent:pt.emitEvent,sourceControl:this}),this._forEachChild(Be=>Be.markAllAsTouched(pt))}markAsUntouched(pt={}){const Be=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Tt=pt.sourceControl??this;this._forEachChild(ti=>{ti.markAsUntouched({onlySelf:!0,emitEvent:pt.emitEvent,sourceControl:Tt})}),this._parent&&!pt.onlySelf&&this._parent._updateTouched(pt,Tt),Be&&!1!==pt.emitEvent&&this._events.next(new ce(!1,Tt))}markAsDirty(pt={}){const Be=!0===this.pristine;this.pristine=!1;const Tt=pt.sourceControl??this;this._parent&&!pt.onlySelf&&this._parent.markAsDirty({...pt,sourceControl:Tt}),Be&&!1!==pt.emitEvent&&this._events.next(new xe(!1,Tt))}markAsPristine(pt={}){const Be=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Tt=pt.sourceControl??this;this._forEachChild(ti=>{ti.markAsPristine({onlySelf:!0,emitEvent:pt.emitEvent})}),this._parent&&!pt.onlySelf&&this._parent._updatePristine(pt,Tt),Be&&!1!==pt.emitEvent&&this._events.next(new xe(!0,Tt))}markAsPending(pt={}){this.status=Zt;const Be=pt.sourceControl??this;!1!==pt.emitEvent&&(this._events.next(new Me(this.status,Be)),this.statusChanges.emit(this.status)),this._parent&&!pt.onlySelf&&this._parent.markAsPending({...pt,sourceControl:Be})}disable(pt={}){const Be=this._parentMarkedDirty(pt.onlySelf);this.status=Et,this.errors=null,this._forEachChild(ti=>{ti.disable({...pt,onlySelf:!0})}),this._updateValue();const Tt=pt.sourceControl??this;!1!==pt.emitEvent&&(this._events.next(new me(this.value,Tt)),this._events.next(new Me(this.status,Tt)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...pt,skipPristineCheck:Be},this),this._onDisabledChange.forEach(ti=>ti(!0))}enable(pt={}){const Be=this._parentMarkedDirty(pt.onlySelf);this.status=Le,this._forEachChild(Tt=>{Tt.enable({...pt,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:pt.emitEvent}),this._updateAncestors({...pt,skipPristineCheck:Be},this),this._onDisabledChange.forEach(Tt=>Tt(!1))}_updateAncestors(pt,Be){this._parent&&!pt.onlySelf&&(this._parent.updateValueAndValidity(pt),pt.skipPristineCheck||this._parent._updatePristine({},Be),this._parent._updateTouched({},Be))}setParent(pt){this._parent=pt}getRawValue(){return this.value}updateValueAndValidity(pt={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Tt=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Le||this.status===Zt)&&this._runAsyncValidator(Tt,pt.emitEvent)}const Be=pt.sourceControl??this;!1!==pt.emitEvent&&(this._events.next(new me(this.value,Be)),this._events.next(new Me(this.status,Be)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!pt.onlySelf&&this._parent.updateValueAndValidity({...pt,sourceControl:Be})}_updateTreeValidity(pt={emitEvent:!0}){this._forEachChild(Be=>Be._updateTreeValidity(pt)),this.updateValueAndValidity({onlySelf:!0,emitEvent:pt.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Et:Le}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(pt,Be){if(this.asyncValidator){this.status=Zt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==Be};const Tt=M(this.asyncValidator(this));this._asyncValidationSubscription=Tt.subscribe(ti=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(ti,{emitEvent:Be,shouldHaveEmitted:pt})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const pt=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,pt}return!1}setErrors(pt,Be={}){this.errors=pt,this._updateControlsErrors(!1!==Be.emitEvent,this,Be.shouldHaveEmitted)}get(pt){let Be=pt;return null==Be||(Array.isArray(Be)||(Be=Be.split(".")),0===Be.length)?null:Be.reduce((Tt,ti)=>Tt&&Tt._find(ti),this)}getError(pt,Be){const Tt=Be?this.get(Be):this;return Tt&&Tt.errors?Tt.errors[pt]:null}hasError(pt,Be){return!!this.getError(pt,Be)}get root(){let pt=this;for(;pt._parent;)pt=pt._parent;return pt}_updateControlsErrors(pt,Be,Tt){this.status=this._calculateStatus(),pt&&this.statusChanges.emit(this.status),(pt||Tt)&&this._events.next(new Me(this.status,Be)),this._parent&&this._parent._updateControlsErrors(pt,Be,Tt)}_initObservables(){this.valueChanges=new t.bkB,this.statusChanges=new t.bkB}_calculateStatus(){return this._allControlsDisabled()?Et:this.errors?Vt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Zt)?Zt:this._anyControlsHaveStatus(Vt)?Vt:Le}_anyControlsHaveStatus(pt){return this._anyControls(Be=>Be.status===pt)}_anyControlsDirty(){return this._anyControls(pt=>pt.dirty)}_anyControlsTouched(){return this._anyControls(pt=>pt.touched)}_updatePristine(pt,Be){const Tt=!this._anyControlsDirty(),ti=this.pristine!==Tt;this.pristine=Tt,this._parent&&!pt.onlySelf&&this._parent._updatePristine(pt,Be),ti&&this._events.next(new xe(this.pristine,Be))}_updateTouched(pt={},Be){this.touched=this._anyControlsTouched(),this._events.next(new ce(this.touched,Be)),this._parent&&!pt.onlySelf&&this._parent._updateTouched(pt,Be)}_registerOnCollectionChange(pt){this._onCollectionChange=pt}_setUpdateStrategy(pt){$t(pt)&&null!=pt.updateOn&&(this._updateOn=pt.updateOn)}_parentMarkedDirty(pt){return!pt&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(pt){return null}_assignValidators(pt){this._rawValidators=Array.isArray(pt)?pt.slice():pt,this._composedValidatorFn=function we(ft){return Array.isArray(ft)?z(ft):ft||null}(this._rawValidators)}_assignAsyncValidators(pt){this._rawAsyncValidators=Array.isArray(pt)?pt.slice():pt,this._composedAsyncValidatorFn=function $e(ft){return Array.isArray(ft)?ne(ft):ft||null}(this._rawAsyncValidators)}}class Qt extends fi{constructor(pt,Be,Tt){super(Oe(Be),De(Tt,Be)),this.controls=pt,this._initObservables(),this._setUpdateStrategy(Be),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(pt,Be){return this.controls[pt]?this.controls[pt]:(this.controls[pt]=Be,Be.setParent(this),Be._registerOnCollectionChange(this._onCollectionChange),Be)}addControl(pt,Be,Tt={}){this.registerControl(pt,Be),this.updateValueAndValidity({emitEvent:Tt.emitEvent}),this._onCollectionChange()}removeControl(pt,Be={}){this.controls[pt]&&this.controls[pt]._registerOnCollectionChange(()=>{}),delete this.controls[pt],this.updateValueAndValidity({emitEvent:Be.emitEvent}),this._onCollectionChange()}setControl(pt,Be,Tt={}){this.controls[pt]&&this.controls[pt]._registerOnCollectionChange(()=>{}),delete this.controls[pt],Be&&this.registerControl(pt,Be),this.updateValueAndValidity({emitEvent:Tt.emitEvent}),this._onCollectionChange()}contains(pt){return this.controls.hasOwnProperty(pt)&&this.controls[pt].enabled}setValue(pt,Be={}){Kt(this,0,pt),Object.keys(pt).forEach(Tt=>{Ft(this,!0,Tt),this.controls[Tt].setValue(pt[Tt],{onlySelf:!0,emitEvent:Be.emitEvent})}),this.updateValueAndValidity(Be)}patchValue(pt,Be={}){null!=pt&&(Object.keys(pt).forEach(Tt=>{const ti=this.controls[Tt];ti&&ti.patchValue(pt[Tt],{onlySelf:!0,emitEvent:Be.emitEvent})}),this.updateValueAndValidity(Be))}reset(pt={},Be={}){this._forEachChild((Tt,ti)=>{Tt.reset(pt?pt[ti]:null,{onlySelf:!0,emitEvent:Be.emitEvent})}),this._updatePristine(Be,this),this._updateTouched(Be,this),this.updateValueAndValidity(Be)}getRawValue(){return this._reduceChildren({},(pt,Be,Tt)=>(pt[Tt]=Be.getRawValue(),pt))}_syncPendingControls(){let pt=this._reduceChildren(!1,(Be,Tt)=>!!Tt._syncPendingControls()||Be);return pt&&this.updateValueAndValidity({onlySelf:!0}),pt}_forEachChild(pt){Object.keys(this.controls).forEach(Be=>{const Tt=this.controls[Be];Tt&&pt(Tt,Be)})}_setUpControls(){this._forEachChild(pt=>{pt.setParent(this),pt._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(pt){for(const[Be,Tt]of Object.entries(this.controls))if(this.contains(Be)&&pt(Tt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Be,Tt,ti)=>((Tt.enabled||this.disabled)&&(Be[ti]=Tt.value),Be))}_reduceChildren(pt,Be){let Tt=pt;return this._forEachChild((ti,fn)=>{Tt=Be(Tt,ti,fn)}),Tt}_allControlsDisabled(){for(const pt of Object.keys(this.controls))if(this.controls[pt].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(pt){return this.controls.hasOwnProperty(pt)?this.controls[pt]:null}}class ui extends Qt{}const Qi=new t.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Li}),Li="always";function nn(ft,pt){return[...pt.path,ft]}function st(ft,pt,Be=Li){Pt(ft,pt),pt.valueAccessor.writeValue(ft.value),(ft.disabled||"always"===Be)&&pt.valueAccessor.setDisabledState?.(ft.disabled),function Ei(ft,pt){pt.valueAccessor.registerOnChange(Be=>{ft._pendingValue=Be,ft._pendingChange=!0,ft._pendingDirty=!0,"change"===ft.updateOn&&$i(ft,pt)})}(ft,pt),function hn(ft,pt){const Be=(Tt,ti)=>{pt.valueAccessor.writeValue(Tt),ti&&pt.viewToModelUpdate(Tt)};ft.registerOnChange(Be),pt._registerOnDestroy(()=>{ft._unregisterOnChange(Be)})}(ft,pt),function Hi(ft,pt){pt.valueAccessor.registerOnTouched(()=>{ft._pendingTouched=!0,"blur"===ft.updateOn&&ft._pendingChange&&$i(ft,pt),"submit"!==ft.updateOn&&ft.markAsTouched()})}(ft,pt),function Mt(ft,pt){if(pt.valueAccessor.setDisabledState){const Be=Tt=>{pt.valueAccessor.setDisabledState(Tt)};ft.registerOnDisabledChange(Be),pt._registerOnDestroy(()=>{ft._unregisterOnDisabledChange(Be)})}}(ft,pt)}function ii(ft,pt,Be=!0){const Tt=()=>{};pt.valueAccessor&&(pt.valueAccessor.registerOnChange(Tt),pt.valueAccessor.registerOnTouched(Tt)),ai(ft,pt),ft&&(pt._invokeOnDestroyCallbacks(),ft._registerOnCollectionChange(()=>{}))}function Se(ft,pt){ft.forEach(Be=>{Be.registerOnValidatorChange&&Be.registerOnValidatorChange(pt)})}function Pt(ft,pt){const Be=at(ft);null!==pt.validator?ft.setValidators(Ie(Be,pt.validator)):"function"==typeof Be&&ft.setValidators([Be]);const Tt=Ye(ft);null!==pt.asyncValidator?ft.setAsyncValidators(Ie(Tt,pt.asyncValidator)):"function"==typeof Tt&&ft.setAsyncValidators([Tt]);const ti=()=>ft.updateValueAndValidity();Se(pt._rawValidators,ti),Se(pt._rawAsyncValidators,ti)}function ai(ft,pt){let Be=!1;if(null!==ft){if(null!==pt.validator){const ti=at(ft);if(Array.isArray(ti)&&ti.length>0){const fn=ti.filter(Qn=>Qn!==pt.validator);fn.length!==ti.length&&(Be=!0,ft.setValidators(fn))}}if(null!==pt.asyncValidator){const ti=Ye(ft);if(Array.isArray(ti)&&ti.length>0){const fn=ti.filter(Qn=>Qn!==pt.asyncValidator);fn.length!==ti.length&&(Be=!0,ft.setAsyncValidators(fn))}}}const Tt=()=>{};return Se(pt._rawValidators,Tt),Se(pt._rawAsyncValidators,Tt),Be}function $i(ft,pt){ft._pendingDirty&&ft.markAsDirty(),ft.setValue(ft._pendingValue,{emitModelToViewChange:!1}),pt.viewToModelUpdate(ft._pendingValue),ft._pendingChange=!1}function Fi(ft,pt){Pt(ft,pt)}function it(ft,pt){if(!ft.hasOwnProperty("model"))return!1;const Be=ft.model;return!!Be.isFirstChange()||!Object.is(pt,Be.currentValue)}function mt(ft,pt){ft._syncPendingControls(),pt.forEach(Be=>{const Tt=Be.control;"submit"===Tt.updateOn&&Tt._pendingChange&&(Be.viewToModelUpdate(Tt._pendingValue),Tt._pendingChange=!1)})}function It(ft,pt){if(!pt)return null;let Be,Tt,ti;return Array.isArray(pt),pt.forEach(fn=>{fn.constructor===V?Be=fn:function Ae(ft){return Object.getPrototypeOf(ft.constructor)===R}(fn)?Tt=fn:ti=fn}),ti||Tt||Be||null}const Dn={provide:de,useExisting:(0,t.Rfq)(()=>On)},Hn=Promise.resolve();let On=(()=>{class ft extends de{constructor(Be,Tt,ti){super(),this.callSetDisabledState=ti,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.bkB,this.form=new Qt({},z(Be),ne(Tt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Be){Hn.then(()=>{const Tt=this._findContainer(Be.path);Be.control=Tt.registerControl(Be.name,Be.control),st(Be.control,Be,this.callSetDisabledState),Be.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Be)})}getControl(Be){return this.form.get(Be.path)}removeControl(Be){Hn.then(()=>{const Tt=this._findContainer(Be.path);Tt&&Tt.removeControl(Be.name),this._directives.delete(Be)})}addFormGroup(Be){Hn.then(()=>{const Tt=this._findContainer(Be.path),ti=new Qt({});Fi(ti,Be),Tt.registerControl(Be.name,ti),ti.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Be){Hn.then(()=>{const Tt=this._findContainer(Be.path);Tt&&Tt.removeControl(Be.name)})}getFormGroup(Be){return this.form.get(Be.path)}updateModel(Be,Tt){Hn.then(()=>{this.form.get(Be.path).setValue(Tt)})}setValue(Be){this.control.setValue(Be)}onSubmit(Be){return this.submitted=!0,mt(this.form,this._directives),this.ngSubmit.emit(Be),"dialog"===Be?.target?.method}onReset(){this.resetForm()}resetForm(Be=void 0){this.form.reset(Be),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Be){return Be.pop(),Be.length?this.form.get(Be):this.form}static{this.\u0275fac=function(Tt){return new(Tt||ft)(t.rXU(Y,10),t.rXU($,10),t.rXU(Qi,8))}}static{this.\u0275dir=t.FsC({type:ft,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Tt,ti){1&Tt&&t.bIt("submit",function(Qn){return ti.onSubmit(Qn)})("reset",function(){return ti.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.Jv_([Dn]),t.Vt3]})}}return ft})();function Xn(ft,pt){const Be=ft.indexOf(pt);Be>-1&&ft.splice(Be,1)}function ir(ft){return"object"==typeof ft&&null!==ft&&2===Object.keys(ft).length&&"value"in ft&&"disabled"in ft}const Fn=class extends fi{constructor(pt=null,Be,Tt){super(Oe(Be),De(Tt,Be)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(pt),this._setUpdateStrategy(Be),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),$t(Be)&&(Be.nonNullable||Be.initialValueIsDefault)&&(this.defaultValue=ir(pt)?pt.value:pt)}setValue(pt,Be={}){this.value=this._pendingValue=pt,this._onChange.length&&!1!==Be.emitModelToViewChange&&this._onChange.forEach(Tt=>Tt(this.value,!1!==Be.emitViewToModelChange)),this.updateValueAndValidity(Be)}patchValue(pt,Be={}){this.setValue(pt,Be)}reset(pt=this.defaultValue,Be={}){this._applyFormState(pt),this.markAsPristine(Be),this.markAsUntouched(Be),this.setValue(this.value,Be),this._pendingChange=!1}_updateValue(){}_anyControls(pt){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(pt){this._onChange.push(pt)}_unregisterOnChange(pt){Xn(this._onChange,pt)}registerOnDisabledChange(pt){this._onDisabledChange.push(pt)}_unregisterOnDisabledChange(pt){Xn(this._onDisabledChange,pt)}_forEachChild(pt){}_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(pt){ir(pt)?(this.value=this._pendingValue=pt.value,pt.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=pt}},pi=Fn,nr={provide:pe,useExisting:(0,t.Rfq)(()=>tr)},ar=Promise.resolve();let tr=(()=>{class ft extends pe{constructor(Be,Tt,ti,fn,Qn,Ho){super(),this._changeDetectorRef=Qn,this.callSetDisabledState=Ho,this.control=new Fn,this._registered=!1,this.name="",this.update=new t.bkB,this._parent=Be,this._setValidators(Tt),this._setAsyncValidators(ti),this.valueAccessor=It(0,fn)}ngOnChanges(Be){if(this._checkForErrors(),!this._registered||"name"in Be){if(this._registered&&(this._checkName(),this.formDirective)){const Tt=Be.name.previousValue;this.formDirective.removeControl({name:Tt,path:this._getPath(Tt)})}this._setUpControl()}"isDisabled"in Be&&this._updateDisabled(Be),it(Be,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(Be){this.viewModel=Be,this.update.emit(Be)}_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(){st(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(Be){ar.then(()=>{this.control.setValue(Be,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Be){const Tt=Be.isDisabled.currentValue,ti=0!==Tt&&(0,t.L39)(Tt);ar.then(()=>{ti&&!this.control.disabled?this.control.disable():!ti&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Be){return this._parent?nn(Be,this._parent):[Be]}static{this.\u0275fac=function(Tt){return new(Tt||ft)(t.rXU(de,9),t.rXU(Y,10),t.rXU($,10),t.rXU(d,10),t.rXU(t.gRc,8),t.rXU(Qi,8))}}static{this.\u0275dir=t.FsC({type:ft,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t.Jv_([nr]),t.Vt3,t.OA$]})}}return ft})(),or=(()=>{class ft{static{this.\u0275fac=function(Tt){return new(Tt||ft)}}static{this.\u0275dir=t.FsC({type:ft,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return ft})();const na={provide:d,useExisting:(0,t.Rfq)(()=>Rr),multi:!0};let Rr=(()=>{class ft extends R{writeValue(Be){this.setProperty("value",Be??"")}registerOnChange(Be){this.onChange=Tt=>{Be(""==Tt?null:parseFloat(Tt))}}static{this.\u0275fac=(()=>{let Be;return function(ti){return(Be||(Be=t.xGo(ft)))(ti||ft)}})()}static{this.\u0275dir=t.FsC({type:ft,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Tt,ti){1&Tt&&t.bIt("input",function(Qn){return ti.onChange(Qn.target.value)})("blur",function(){return ti.onTouched()})},features:[t.Jv_([na]),t.Vt3]})}}return ft})();const Ia=new t.nKC(""),Qa={provide:pe,useExisting:(0,t.Rfq)(()=>io)};let io=(()=>{class ft extends pe{set isDisabled(Be){}static{this._ngModelWarningSentOnce=!1}constructor(Be,Tt,ti,fn,Qn){super(),this._ngModelWarningConfig=fn,this.callSetDisabledState=Qn,this.update=new t.bkB,this._ngModelWarningSent=!1,this._setValidators(Be),this._setAsyncValidators(Tt),this.valueAccessor=It(0,ti)}ngOnChanges(Be){if(this._isControlChanged(Be)){const Tt=Be.form.previousValue;Tt&&ii(Tt,this,!1),st(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}it(Be,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ii(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Be){this.viewModel=Be,this.update.emit(Be)}_isControlChanged(Be){return Be.hasOwnProperty("form")}static{this.\u0275fac=function(Tt){return new(Tt||ft)(t.rXU(Y,10),t.rXU($,10),t.rXU(d,10),t.rXU(Ia,8),t.rXU(Qi,8))}}static{this.\u0275dir=t.FsC({type:ft,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t.Jv_([Qa]),t.Vt3,t.OA$]})}}return ft})();const vr={provide:de,useExisting:(0,t.Rfq)(()=>xo)};let xo=(()=>{class ft extends de{constructor(Be,Tt,ti){super(),this.callSetDisabledState=ti,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.bkB,this._setValidators(Be),this._setAsyncValidators(Tt)}ngOnChanges(Be){this._checkFormPresent(),Be.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ai(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Be){const Tt=this.form.get(Be.path);return st(Tt,Be,this.callSetDisabledState),Tt.updateValueAndValidity({emitEvent:!1}),this.directives.push(Be),Tt}getControl(Be){return this.form.get(Be.path)}removeControl(Be){ii(Be.control||null,Be,!1),function Ci(ft,pt){const Be=ft.indexOf(pt);Be>-1&&ft.splice(Be,1)}(this.directives,Be)}addFormGroup(Be){this._setUpFormContainer(Be)}removeFormGroup(Be){this._cleanUpFormContainer(Be)}getFormGroup(Be){return this.form.get(Be.path)}addFormArray(Be){this._setUpFormContainer(Be)}removeFormArray(Be){this._cleanUpFormContainer(Be)}getFormArray(Be){return this.form.get(Be.path)}updateModel(Be,Tt){this.form.get(Be.path).setValue(Tt)}onSubmit(Be){return this.submitted=!0,mt(this.form,this.directives),this.ngSubmit.emit(Be),this.form._events.next(new Xe(this.control)),"dialog"===Be?.target?.method}onReset(){this.resetForm()}resetForm(Be=void 0){this.form.reset(Be),this.submitted=!1,this.form._events.next(new Pe(this.form))}_updateDomValue(){this.directives.forEach(Be=>{const Tt=Be.control,ti=this.form.get(Be.path);Tt!==ti&&(ii(Tt||null,Be),(ft=>ft instanceof Fn)(ti)&&(st(ti,Be,this.callSetDisabledState),Be.control=ti))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Be){const Tt=this.form.get(Be.path);Fi(Tt,Be),Tt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Be){if(this.form){const Tt=this.form.get(Be.path);Tt&&function _n(ft,pt){return ai(ft,pt)}(Tt,Be)&&Tt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Pt(this.form,this),this._oldForm&&ai(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(Tt){return new(Tt||ft)(t.rXU(Y,10),t.rXU($,10),t.rXU(Qi,8))}}static{this.\u0275dir=t.FsC({type:ft,selectors:[["","formGroup",""]],hostBindings:function(Tt,ti){1&Tt&&t.bIt("submit",function(Qn){return ti.onSubmit(Qn)})("reset",function(){return ti.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.Jv_([vr]),t.Vt3,t.OA$]})}}return ft})();const lo={provide:pe,useExisting:(0,t.Rfq)(()=>ho)};let ho=(()=>{class ft extends pe{set isDisabled(Be){}static{this._ngModelWarningSentOnce=!1}constructor(Be,Tt,ti,fn,Qn){super(),this._ngModelWarningConfig=Qn,this._added=!1,this.name=null,this.update=new t.bkB,this._ngModelWarningSent=!1,this._parent=Be,this._setValidators(Tt),this._setAsyncValidators(ti),this.valueAccessor=It(0,fn)}ngOnChanges(Be){this._added||this._setUpControl(),it(Be,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Be){this.viewModel=Be,this.update.emit(Be)}get path(){return nn(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{this.\u0275fac=function(Tt){return new(Tt||ft)(t.rXU(de,13),t.rXU(Y,10),t.rXU($,10),t.rXU(d,10),t.rXU(Ia,8))}}static{this.\u0275dir=t.FsC({type:ft,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[t.Jv_([lo]),t.Vt3,t.OA$]})}}return ft})();function Ga(ft){return"number"==typeof ft?ft:parseFloat(ft)}let Oa=(()=>{class ft{constructor(){this._validator=f}ngOnChanges(Be){if(this.inputName in Be){const Tt=this.normalizeInput(Be[this.inputName].currentValue);this._enabled=this.enabled(Tt),this._validator=this._enabled?this.createValidator(Tt):f,this._onChange&&this._onChange()}}validate(Be){return this._validator(Be)}registerOnValidatorChange(Be){this._onChange=Be}enabled(Be){return null!=Be}static{this.\u0275fac=function(Tt){return new(Tt||ft)}}static{this.\u0275dir=t.FsC({type:ft,features:[t.OA$]})}}return ft})();const ja={provide:Y,useExisting:(0,t.Rfq)(()=>Vo),multi:!0};let Vo=(()=>{class ft extends Oa{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Be=>Ga(Be),this.createValidator=Be=>ae(Be)}static{this.\u0275fac=(()=>{let Be;return function(ti){return(Be||(Be=t.xGo(ft)))(ti||ft)}})()}static{this.\u0275dir=t.FsC({type:ft,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Tt,ti){2&Tt&&t.BMQ("max",ti._enabled?ti.max:null)},inputs:{max:"max"},features:[t.Jv_([ja]),t.Vt3]})}}return ft})();const jo={provide:Y,useExisting:(0,t.Rfq)(()=>Mo),multi:!0};let Mo=(()=>{class ft extends Oa{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Be=>Ga(Be),this.createValidator=Be=>ve(Be)}static{this.\u0275fac=(()=>{let Be;return function(ti){return(Be||(Be=t.xGo(ft)))(ti||ft)}})()}static{this.\u0275dir=t.FsC({type:ft,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Tt,ti){2&Tt&&t.BMQ("min",ti._enabled?ti.min:null)},inputs:{min:"min"},features:[t.Jv_([jo]),t.Vt3]})}}return ft})();const pa={provide:Y,useExisting:(0,t.Rfq)(()=>wr),multi:!0},ro={provide:Y,useExisting:(0,t.Rfq)(()=>ga),multi:!0};let wr=(()=>{class ft extends Oa{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.L39,this.createValidator=Be=>ye}enabled(Be){return Be}static{this.\u0275fac=(()=>{let Be;return function(ti){return(Be||(Be=t.xGo(ft)))(ti||ft)}})()}static{this.\u0275dir=t.FsC({type:ft,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Tt,ti){2&Tt&&t.BMQ("required",ti._enabled?"":null)},inputs:{required:"required"},features:[t.Jv_([pa]),t.Vt3]})}}return ft})(),ga=(()=>{class ft extends wr{constructor(){super(...arguments),this.createValidator=Be=>ue}static{this.\u0275fac=(()=>{let Be;return function(ti){return(Be||(Be=t.xGo(ft)))(ti||ft)}})()}static{this.\u0275dir=t.FsC({type:ft,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Tt,ti){2&Tt&&t.BMQ("required",ti._enabled?"":null)},features:[t.Jv_([ro]),t.Vt3]})}}return ft})(),Zr=(()=>{class ft{static{this.\u0275fac=function(Tt){return new(Tt||ft)}}static{this.\u0275mod=t.$C({type:ft})}static{this.\u0275inj=t.G2t({})}}return ft})();class Sa extends fi{constructor(pt,Be,Tt){super(Oe(Be),De(Tt,Be)),this.controls=pt,this._initObservables(),this._setUpdateStrategy(Be),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(pt){return this.controls[this._adjustIndex(pt)]}push(pt,Be={}){this.controls.push(pt),this._registerControl(pt),this.updateValueAndValidity({emitEvent:Be.emitEvent}),this._onCollectionChange()}insert(pt,Be,Tt={}){this.controls.splice(pt,0,Be),this._registerControl(Be),this.updateValueAndValidity({emitEvent:Tt.emitEvent})}removeAt(pt,Be={}){let Tt=this._adjustIndex(pt);Tt<0&&(Tt=0),this.controls[Tt]&&this.controls[Tt]._registerOnCollectionChange(()=>{}),this.controls.splice(Tt,1),this.updateValueAndValidity({emitEvent:Be.emitEvent})}setControl(pt,Be,Tt={}){let ti=this._adjustIndex(pt);ti<0&&(ti=0),this.controls[ti]&&this.controls[ti]._registerOnCollectionChange(()=>{}),this.controls.splice(ti,1),Be&&(this.controls.splice(ti,0,Be),this._registerControl(Be)),this.updateValueAndValidity({emitEvent:Tt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(pt,Be={}){Kt(this,0,pt),pt.forEach((Tt,ti)=>{Ft(this,!1,ti),this.at(ti).setValue(Tt,{onlySelf:!0,emitEvent:Be.emitEvent})}),this.updateValueAndValidity(Be)}patchValue(pt,Be={}){null!=pt&&(pt.forEach((Tt,ti)=>{this.at(ti)&&this.at(ti).patchValue(Tt,{onlySelf:!0,emitEvent:Be.emitEvent})}),this.updateValueAndValidity(Be))}reset(pt=[],Be={}){this._forEachChild((Tt,ti)=>{Tt.reset(pt[ti],{onlySelf:!0,emitEvent:Be.emitEvent})}),this._updatePristine(Be,this),this._updateTouched(Be,this),this.updateValueAndValidity(Be)}getRawValue(){return this.controls.map(pt=>pt.getRawValue())}clear(pt={}){this.controls.length<1||(this._forEachChild(Be=>Be._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:pt.emitEvent}))}_adjustIndex(pt){return pt<0?pt+this.length:pt}_syncPendingControls(){let pt=this.controls.reduce((Be,Tt)=>!!Tt._syncPendingControls()||Be,!1);return pt&&this.updateValueAndValidity({onlySelf:!0}),pt}_forEachChild(pt){this.controls.forEach((Be,Tt)=>{pt(Be,Tt)})}_updateValue(){this.value=this.controls.filter(pt=>pt.enabled||this.disabled).map(pt=>pt.value)}_anyControls(pt){return this.controls.some(Be=>Be.enabled&&pt(Be))}_setUpControls(){this._forEachChild(pt=>this._registerControl(pt))}_allControlsDisabled(){for(const pt of this.controls)if(pt.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(pt){pt.setParent(this),pt._registerOnCollectionChange(this._onCollectionChange)}_find(pt){return this.at(pt)??null}}function Za(ft){return!!ft&&(void 0!==ft.asyncValidators||void 0!==ft.validators||void 0!==ft.updateOn)}let Xo=(()=>{class ft{constructor(){this.useNonNullable=!1}get nonNullable(){const Be=new ft;return Be.useNonNullable=!0,Be}group(Be,Tt=null){const ti=this._reduceControls(Be);let fn={};return Za(Tt)?fn=Tt:null!==Tt&&(fn.validators=Tt.validator,fn.asyncValidators=Tt.asyncValidator),new Qt(ti,fn)}record(Be,Tt=null){const ti=this._reduceControls(Be);return new ui(ti,Tt)}control(Be,Tt,ti){let fn={};return this.useNonNullable?(Za(Tt)?fn=Tt:(fn.validators=Tt,fn.asyncValidators=ti),new Fn(Be,{...fn,nonNullable:!0})):new Fn(Be,Tt,ti)}array(Be,Tt,ti){const fn=Be.map(Qn=>this._createControl(Qn));return new Sa(fn,Tt,ti)}_reduceControls(Be){const Tt={};return Object.keys(Be).forEach(ti=>{Tt[ti]=this._createControl(Be[ti])}),Tt}_createControl(Be){return Be instanceof Fn||Be instanceof fi?Be:Array.isArray(Be)?this.control(Be[0],Be.length>1?Be[1]:null,Be.length>2?Be[2]:null):this.control(Be)}static{this.\u0275fac=function(Tt){return new(Tt||ft)}}static{this.\u0275prov=t.jDH({token:ft,factory:ft.\u0275fac,providedIn:"root"})}}return ft})(),Eo=(()=>{class ft extends Xo{group(Be,Tt=null){return super.group(Be,Tt)}control(Be,Tt,ti){return super.control(Be,Tt,ti)}array(Be,Tt,ti){return super.array(Be,Tt,ti)}static{this.\u0275fac=(()=>{let Be;return function(ti){return(Be||(Be=t.xGo(ft)))(ti||ft)}})()}static{this.\u0275prov=t.jDH({token:ft,factory:ft.\u0275fac,providedIn:"root"})}}return ft})(),aa=(()=>{class ft{static withConfig(Be){return{ngModule:ft,providers:[{provide:Qi,useValue:Be.callSetDisabledState??Li}]}}static{this.\u0275fac=function(Tt){return new(Tt||ft)}}static{this.\u0275mod=t.$C({type:ft})}static{this.\u0275inj=t.G2t({imports:[Zr]})}}return ft})(),Ri=(()=>{class ft{static withConfig(Be){return{ngModule:ft,providers:[{provide:Ia,useValue:Be.warnOnNgModelWithFormControl??"always"},{provide:Qi,useValue:Be.callSetDisabledState??Li}]}}static{this.\u0275fac=function(Tt){return new(Tt||ft)}}static{this.\u0275mod=t.$C({type:ft})}static{this.\u0275inj=t.G2t({imports:[Zr]})}}return ft})()},850:(Ve,ee,p)=>{"use strict";p.d(ee,{$3:()=>r,jL:()=>rt,pN:()=>Ye});var t=p(4438),e=p(6600),C=p(177),S=p(5542),l=p(6969),x=p(8617),m=p(4085),R=p(6860),d=p(9969),w=p(8359),y=p(1413),T=p(9030),k=p(7786),F=p(7673),V=p(3726),U=p(7336),G=p(6939),Y=p(9417),$=p(6467),Z=p(9172),ie=p(5558),ve=p(6697),ae=p(5964),ye=p(6354),ue=p(8141),be=p(5335),D=p(8203);const n=["panel"],c=["*"];function f(re,te){if(1&re){const oe=t.RV6();t.j41(0,"div",1,0),t.bIt("@panelAnimation.done",function(de){t.eBV(oe);const pe=t.XpG();return t.Njj(pe._animationDone.next(de))}),t.SdG(2),t.k0s()}if(2&re){const oe=te.id,_e=t.XpG();t.Y8G("id",_e.id)("ngClass",_e._classList)("@panelAnimation",_e.isOpen?"visible":"hidden"),t.BMQ("aria-label",_e.ariaLabel||null)("aria-labelledby",_e._getPanelAriaLabelledby(oe))}}const h=(0,d.hZ)("panelAnimation",[(0,d.wk)("void, hidden",(0,d.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,d.kY)(":enter, hidden => visible",[(0,d.Os)([(0,d.i0)("0.03s linear",(0,d.iF)({opacity:1})),(0,d.i0)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,d.iF)({transform:"scaleY(1)"}))])]),(0,d.kY)(":leave, visible => hidden",[(0,d.i0)("0.075s linear",(0,d.iF)({opacity:0}))])]);let M=0;class L{constructor(te,oe){this.source=te,this.option=oe}}const O=new t.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function _(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let r=(()=>{class re{get isOpen(){return this._isOpen&&this.showPanel}_setColor(oe){this._color=oe,this._setThemeClasses(this._classList)}set classList(oe){this._classList=oe&&oe.length?(0,m.cc)(oe).reduce((_e,de)=>(_e[de]=!0,_e),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(oe){this._hideSingleSelectionIndicator=oe,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const oe of this.options)oe._changeDetectorRef.markForCheck()}constructor(oe,_e,de,pe){this._changeDetectorRef=oe,this._elementRef=_e,this._defaults=de,this._activeOptionChanges=w.yU.EMPTY,this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new t.bkB,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new t.bkB,this.opened=new t.bkB,this.closed=new t.bkB,this.optionActivated=new t.bkB,this._classList={},this.id="mat-autocomplete-"+M++,this.inertGroups=pe?.SAFARI||!1,this.autoActiveFirstOption=!!de.autoActiveFirstOption,this.autoSelectActiveOption=!!de.autoSelectActiveOption,this.requireSelection=!!de.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new x.Au(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(oe=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[oe]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(oe){this.panel&&(this.panel.nativeElement.scrollTop=oe)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(oe){const _e=new L(this,oe);this.optionSelected.emit(_e)}_getPanelAriaLabelledby(oe){return this.ariaLabel?null:this.ariaLabelledby?(oe?oe+" ":"")+this.ariaLabelledby:oe}_setVisibilityClasses(oe){oe[this._visibleClass]=this.showPanel,oe[this._hiddenClass]=!this.showPanel}_setThemeClasses(oe){oe["mat-primary"]="primary"===this._color,oe["mat-warn"]="warn"===this._color,oe["mat-accent"]="accent"===this._color}_skipPredicate(){return!1}static{this.\u0275fac=function(_e){return new(_e||re)(t.rXU(t.gRc),t.rXU(t.aKT),t.rXU(O),t.rXU(R.OD))}}static{this.\u0275cmp=t.VBU({type:re,selectors:[["mat-autocomplete"]],contentQueries:function(_e,de,pe){if(1&_e&&(t.wni(pe,e.wT,5),t.wni(pe,e.QC,5)),2&_e){let We;t.mGM(We=t.lsd())&&(de.options=We),t.mGM(We=t.lsd())&&(de.optionGroups=We)}},viewQuery:function(_e,de){if(1&_e&&(t.GBs(t.C4Q,7),t.GBs(n,5)),2&_e){let pe;t.mGM(pe=t.lsd())&&(de.template=pe.first),t.mGM(pe=t.lsd())&&(de.panel=pe.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",t.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",t.L39],requireSelection:[2,"requireSelection","requireSelection",t.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",t.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",t.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[t.Jv_([{provide:e.is,useExisting:re}]),t.GFd],ngContentSelectors:c,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"]],template:function(_e,de){1&_e&&(t.NAR(),t.DNE(0,f,3,5,"ng-template"))},dependencies:[C.YU],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 re})();const z={provide:Y.kq,useExisting:(0,t.Rfq)(()=>Ye),multi:!0},ne=new t.nKC("mat-autocomplete-scroll-strategy"),at={provide:ne,deps:[l.hJ],useFactory:function Ie(re){return()=>re.scrollStrategies.reposition()}};let Ye=(()=>{class re{constructor(oe,_e,de,pe,We,se,fe,he,et,Ke,Ct){this._element=oe,this._overlay=_e,this._viewContainerRef=de,this._zone=pe,this._changeDetectorRef=We,this._dir=fe,this._formField=he,this._document=et,this._viewportRuler=Ke,this._defaults=Ct,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=w.yU.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new y.B,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,T.v)(()=>{const _t=this.autocomplete?this.autocomplete.options:null;return _t?_t.changes.pipe((0,Z.Z)(_t),(0,ie.n)(()=>(0,k.h)(..._t.map(Nt=>Nt.onSelectionChange)))):this._zone.onStable.pipe((0,ve.s)(1),(0,ie.n)(()=>this.optionSelections))}),this._handlePanelKeydown=_t=>{(_t.keyCode===U._f&&!(0,U.rp)(_t)||_t.keyCode===U.i7&&(0,U.rp)(_t,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),_t.stopPropagation(),_t.preventDefault())},this._trackedModal=null,this._scrollStrategy=se}ngAfterViewInit(){const oe=this._getWindow();typeof oe<"u"&&this._zone.runOutsideAngular(()=>oe.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(oe){oe.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const oe=this._getWindow();typeof oe<"u"&&oe.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&(0,x.px)(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,x.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,k.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,ae.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,ae.p)(()=>this._overlayAttached)):(0,F.of)()).pipe((0,ye.T)(oe=>oe instanceof e.MI?oe:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,k.h)((0,V.R)(this._document,"click"),(0,V.R)(this._document,"auxclick"),(0,V.R)(this._document,"touchend")).pipe((0,ae.p)(oe=>{const _e=(0,R.Fb)(oe),de=this._formField?this._formField._elementRef.nativeElement:null,pe=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&_e!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!de||!de.contains(_e))&&(!pe||!pe.contains(_e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(_e)}))}writeValue(oe){Promise.resolve(null).then(()=>this._assignOptionValue(oe))}registerOnChange(oe){this._onChange=oe}registerOnTouched(oe){this._onTouched=oe}setDisabledState(oe){this._element.nativeElement.disabled=oe}_handleKeydown(oe){const _e=oe.keyCode,de=(0,U.rp)(oe);if(_e===U._f&&!de&&oe.preventDefault(),this.activeOption&&_e===U.Fm&&this.panelOpen&&!de)this.activeOption._selectViaInteraction(),this._resetActiveItem(),oe.preventDefault();else if(this.autocomplete){const pe=this.autocomplete._keyManager.activeItem,We=_e===U.i7||_e===U.n6;_e===U.wn||We&&!de&&this.panelOpen?this.autocomplete._keyManager.onKeydown(oe):We&&this._canOpen()&&this.openPanel(),(We||this.autocomplete._keyManager.activeItem!==pe)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(oe){let _e=oe.target,de=_e.value;"number"===_e.type&&(de=""==de?null:parseFloat(de)),this._previousValue!==de&&(this._previousValue=de,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(de),de||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===oe.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(oe=!1){this._formField&&"auto"===this._formField.floatLabel&&(oe?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const oe=this._zone.onStable.pipe((0,ve.s)(1)),_e=this.autocomplete.options.changes.pipe((0,ue.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,be.c)(0));return(0,k.h)(oe,_e).pipe((0,ie.n)(()=>(this._zone.run(()=>{const de=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),de!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,ve.s)(1)).subscribe(de=>this._setValueAndClose(de))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(oe){const _e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(oe):oe;this._updateNativeInputValue(_e??"")}_updateNativeInputValue(oe){oe||this._clearPreviousSelectedOption(null,!1),this._formField?this._formField._control.value=oe:this._element.nativeElement.value=oe,this._previousValue=oe}_setValueAndClose(oe){const _e=this.autocomplete,de=oe?oe.source:this._pendingAutoselectedOption;de?(this._clearPreviousSelectedOption(de),this._assignOptionValue(de.value),this._onChange(de.value),_e._emitSelectEvent(de),this._element.nativeElement.focus()):_e.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),_e._animationDone?_e._animationDone.pipe((0,ve.s)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(oe,_e){this.autocomplete?.options?.forEach(de=>{de!==oe&&de.selected&&de.deselect(_e)})}_attachOverlay(){let oe=this._overlayRef;oe?(this._positionStrategy.setOrigin(this._getConnectedElement()),oe.updateSize({width:this._getPanelWidth()})):(this._portal=new G.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),oe=this._overlay.create(this._getOverlayConfig()),this._overlayRef=oe,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&oe&&oe.updateSize({width:this._getPanelWidth()})})),oe&&!oe.hasAttached()&&(oe.attach(this._portal),this._valueOnAttach=this._element.nativeElement.value,this._closingActionsSubscription=this._subscribeToClosingActions());const _e=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&_e!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const oe=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=oe.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=oe.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new l.rR({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const oe=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(oe),this._positionStrategy=oe,oe}_setStrategyPositions(oe){const _e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],de=this._aboveClass,pe=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:de},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:de}];let We;We="above"===this.position?pe:"below"===this.position?_e:[..._e,...pe],oe.withPositions(We)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const oe=this.autocomplete;if(oe.autoActiveFirstOption){let _e=-1;for(let de=0;de<oe.options.length;de++)if(!oe.options.get(de).disabled){_e=de;break}oe._keyManager.setActiveItem(_e)}else oe._keyManager.setActiveItem(-1)}_canOpen(){const oe=this._element.nativeElement;return!oe.readOnly&&!oe.disabled&&!this.autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(oe){const _e=this.autocomplete,de=(0,e.jb)(oe,_e.options,_e.optionGroups);if(0===oe&&1===de)_e._setScrollTop(0);else if(_e.panel){const pe=_e.options.toArray()[oe];if(pe){const We=pe._getHostElement(),se=(0,e.TL)(We.offsetTop,We.offsetHeight,_e._getScrollTop(),_e.panel.nativeElement.offsetHeight);_e._setScrollTop(se)}}}_applyModalPanelOwnership(){const oe=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!oe)return;const _e=this.autocomplete.id;this._trackedModal&&(0,x.Ae)(this._trackedModal,"aria-owns",_e),(0,x.px)(oe,"aria-owns",_e),this._trackedModal=oe}_clearFromModal(){this._trackedModal&&((0,x.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static{this.\u0275fac=function(_e){return new(_e||re)(t.rXU(t.aKT),t.rXU(l.hJ),t.rXU(t.c1b),t.rXU(t.SKi),t.rXU(t.gRc),t.rXU(ne),t.rXU(D.dS,8),t.rXU($.xb,9),t.rXU(C.qQ,8),t.rXU(S.Xj),t.rXU(O,8))}}static{this.\u0275dir=t.FsC({type:re,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(_e,de){1&_e&&t.bIt("focusin",function(){return de._handleFocus()})("blur",function(){return de._onTouched()})("input",function(We){return de._handleInput(We)})("keydown",function(We){return de._handleKeydown(We)})("click",function(){return de._handleClick()}),2&_e&&t.BMQ("autocomplete",de.autocompleteAttribute)("role",de.autocompleteDisabled?null:"combobox")("aria-autocomplete",de.autocompleteDisabled?null:"list")("aria-activedescendant",de.panelOpen&&de.activeOption?de.activeOption.id:null)("aria-expanded",de.autocompleteDisabled?null:de.panelOpen.toString())("aria-controls",de.autocompleteDisabled||!de.panelOpen||null==de.autocomplete?null:de.autocomplete.id)("aria-haspopup",de.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",t.L39]},exportAs:["matAutocompleteTrigger"],features:[t.Jv_([z]),t.GFd,t.OA$]})}}return re})(),rt=(()=>{class re{static{this.\u0275fac=function(_e){return new(_e||re)}}static{this.\u0275mod=t.$C({type:re})}static{this.\u0275inj=t.G2t({providers:[at],imports:[l.z_,e.Sy,e.yE,C.MD,S.Gj,e.Sy,e.yE]})}}return re})()},1975:(Ve,ee,p)=>{"use strict";p.d(ee,{Y:()=>R,k:()=>m});var t=p(4438),e=p(6600),C=p(8617),S=p(177);let l=0;const x="mat-badge-content";let m=(()=>{class d{get color(){return this._color}set color(y){this._setColor(y),this._color=y}get content(){return this._content}set content(y){this._updateRenderedContent(y)}get description(){return this._description}set description(y){this._updateDescription(y)}constructor(y,T,k,F,V){this._ngZone=y,this._elementRef=T,this._ariaDescriber=k,this._renderer=F,this._animationMode=V,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=l++,this._isInitialized=!1,this._interactivityChecker=(0,t.WQX)(C.Z7),this._document=(0,t.WQX)(S.qQ)}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 y=this._renderer.createElement("span"),T="mat-badge-active";return y.setAttribute("id",`mat-badge-content-${this._id}`),y.setAttribute("aria-hidden","true"),y.classList.add(x),"NoopAnimations"===this._animationMode&&y.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(y),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{y.classList.add(T)})}):y.classList.add(T),y}_updateRenderedContent(y){const T=`${y??""}`.trim();this._isInitialized&&T&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=T),this._content=T}_updateDescription(y){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!y||this._isHostInteractive())&&this._removeInlineDescription(),this._description=y,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,y):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(y){const T=this._elementRef.nativeElement.classList;T.remove(`mat-badge-${this._color}`),y&&T.add(`mat-badge-${y}`)}_clearExistingBadges(){const y=this._elementRef.nativeElement.querySelectorAll(`:scope > .${x}`);for(const T of Array.from(y))T!==this._badgeElement&&T.remove()}static{this.\u0275fac=function(T){return new(T||d)(t.rXU(t.SKi),t.rXU(t.aKT),t.rXU(C.vr),t.rXU(t.sFG),t.rXU(t.bc$,8))}}static{this.\u0275dir=t.FsC({type:d,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(T,k){2&T&&t.AVh("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:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",t.L39],disabled:[2,"matBadgeDisabled","disabled",t.L39],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",t.L39]},features:[t.GFd]})}}return d})(),R=(()=>{class d{static{this.\u0275fac=function(T){return new(T||d)}}static{this.\u0275mod=t.$C({type:d})}static{this.\u0275inj=t.G2t({imports:[C.Pd,e.yE,e.yE]})}}return d})()},8834:(Ve,ee,p)=>{"use strict";p.d(ee,{$0:()=>D,$z:()=>ie,Hl:()=>M,iY:()=>f});var t=p(6860),e=p(4438),C=p(8617),S=p(6600);const l=["mat-button",""],x=[[["",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]"],y=["mat-mini-fab",""],k=["mat-icon-button",""],F=["*"],G=[{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 Y=(()=>{class L{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(_){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,_)}get disableRipple(){return this._disableRipple}set disableRipple(_){this._disableRipple=_,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(_){this._disabled=_,this._updateRippleDisabled()}constructor(_,r,v,z){this._elementRef=_,this._platform=r,this._ngZone=v,this._animationMode=z,this._focusMonitor=(0,e.WQX)(C.FN),this._rippleLoader=(0,e.WQX)(S.Ej),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,ne=N.classList;for(const{attribute:Ie,mdcClasses:at}of G)N.hasAttribute(Ie)&&ne.add(...at)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(_="program",r){_?this._focusMonitor.focusVia(this._elementRef.nativeElement,_,r):this._elementRef.nativeElement.focus(r)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(r){e.QTQ()}}static{this.\u0275dir=e.FsC({type:L,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",e.L39],disabled:[2,"disabled","disabled",e.L39]},features:[e.GFd]})}}return L})(),ie=(()=>{class L extends Y{constructor(_,r,v,z){super(_,r,v,z)}static{this.\u0275fac=function(r){return new(r||L)(e.rXU(e.aKT),e.rXU(t.OD),e.rXU(e.SKi),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:L,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function(r,v){2&r&&(e.BMQ("disabled",v.disabled||null),e.HbH(v.color?"mat-"+v.color:""),e.AVh("_mat-animation-noopable","NoopAnimations"===v._animationMode)("mat-unthemed",!v.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[e.Vt3],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,v){1&r&&(e.NAR(x),e.nrm(0,"span",0),e.SdG(1),e.j41(2,"span",1),e.SdG(3,1),e.k0s(),e.SdG(4,2),e.nrm(5,"span",2)(6,"span",3)),2&r&&e.AVh("mdc-button__ripple",!v._isFab)("mdc-fab__ripple",v._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 L})();const ae=new e.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:ye});function ye(){return{color:"accent"}}const ue=ye();let D=(()=>{class L extends Y{constructor(_,r,v,z,N){super(_,r,v,z),this._options=N,this._isFab=!0,this._options=this._options||ue,this.color=this._options.color||ue.color}static{this.\u0275fac=function(r){return new(r||L)(e.rXU(e.aKT),e.rXU(t.OD),e.rXU(e.SKi),e.rXU(e.bc$,8),e.rXU(ae,8))}}static{this.\u0275cmp=e.VBU({type:L,selectors:[["button","mat-mini-fab",""]],hostVars:9,hostBindings:function(r,v){2&r&&(e.BMQ("disabled",v.disabled||null),e.HbH(v.color?"mat-"+v.color:""),e.AVh("_mat-animation-noopable","NoopAnimations"===v._animationMode)("mat-unthemed",!v.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[e.Vt3],attrs:y,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,v){1&r&&(e.NAR(x),e.nrm(0,"span",0),e.SdG(1),e.j41(2,"span",1),e.SdG(3,1),e.k0s(),e.SdG(4,2),e.nrm(5,"span",2)(6,"span",3)),2&r&&e.AVh("mdc-button__ripple",!v._isFab)("mdc-fab__ripple",v._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 L})(),f=(()=>{class L extends Y{constructor(_,r,v,z){super(_,r,v,z),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(r){return new(r||L)(e.rXU(e.aKT),e.rXU(t.OD),e.rXU(e.SKi),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:L,selectors:[["button","mat-icon-button",""]],hostVars:9,hostBindings:function(r,v){2&r&&(e.BMQ("disabled",v.disabled||null),e.HbH(v.color?"mat-"+v.color:""),e.AVh("_mat-animation-noopable","NoopAnimations"===v._animationMode)("mat-unthemed",!v.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[e.Vt3],attrs:k,ngContentSelectors:F,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,v){1&r&&(e.NAR(),e.nrm(0,"span",0),e.SdG(1),e.nrm(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 L})(),M=(()=>{class L{static{this.\u0275fac=function(r){return new(r||L)}}static{this.\u0275mod=e.$C({type:L})}static{this.\u0275inj=e.G2t({imports:[S.yE,S.pZ,S.yE]})}}return L})()},5596:(Ve,ee,p)=>{"use strict";p.d(ee,{Hu:()=>ue,Lc:()=>F,MM:()=>U,RN:()=>w,dh:()=>y,m2:()=>k});var t=p(4438),e=p(177),C=p(6600);const S=["*"],m=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],R=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],d=new t.nKC("MAT_CARD_CONFIG");let w=(()=>{class be{constructor(n){this.appearance=n?.appearance||"raised"}static{this.\u0275fac=function(c){return new(c||be)(t.rXU(d,8))}}static{this.\u0275cmp=t.VBU({type:be,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(c,f){2&c&&t.AVh("mat-mdc-card-outlined","outlined"===f.appearance)("mdc-card--outlined","outlined"===f.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:S,decls:1,vars:0,template:function(c,f){1&c&&(t.NAR(),t.SdG(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 be})(),y=(()=>{class be{static{this.\u0275fac=function(c){return new(c||be)}}static{this.\u0275dir=t.FsC({type:be,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}}return be})(),k=(()=>{class be{static{this.\u0275fac=function(c){return new(c||be)}}static{this.\u0275dir=t.FsC({type:be,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}}return be})(),F=(()=>{class be{static{this.\u0275fac=function(c){return new(c||be)}}static{this.\u0275dir=t.FsC({type:be,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}}return be})(),U=(()=>{class be{static{this.\u0275fac=function(c){return new(c||be)}}static{this.\u0275cmp=t.VBU({type:be,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:R,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(c,f){1&c&&(t.NAR(m),t.SdG(0),t.j41(1,"div",0),t.SdG(2,1),t.k0s(),t.SdG(3,2))},encapsulation:2,changeDetection:0})}}return be})(),ue=(()=>{class be{static{this.\u0275fac=function(c){return new(c||be)}}static{this.\u0275mod=t.$C({type:be})}static{this.\u0275inj=t.G2t({imports:[C.yE,e.MD,C.yE]})}}return be})()},2765:(Ve,ee,p)=>{"use strict";p.d(ee,{So:()=>k,g7:()=>G});var t=p(4438),e=p(9417),C=p(6600);const S=["input"],l=["label"],x=["*"],m=new t.nKC("mat-checkbox-default-options",{providedIn:"root",factory:R});function R(){return{color:"accent",clickAction:"check-indeterminate"}}const d={provide:e.kq,useExisting:(0,t.Rfq)(()=>k),multi:!0};class w{}let y=0;const T=R();let k=(()=>{class Y{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(Z){const ie=new w;return ie.source=this,ie.checked=Z,ie}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(Z,ie,ve,ae,ye,ue){this._elementRef=Z,this._changeDetectorRef=ie,this._ngZone=ve,this._animationMode=ye,this._options=ue,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 t.bkB,this.indeterminateChange=new t.bkB,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||T,this.color=this._options.color||T.color,this.tabIndex=parseInt(ae)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++y}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(Z){Z!=this.checked&&(this._checked=Z,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(Z){Z!==this.disabled&&(this._disabled=Z,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(Z){const ie=Z!=this._indeterminate;this._indeterminate=Z,ie&&(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(Z){this.checked=!!Z}registerOnChange(Z){this._controlValueAccessorChangeFn=Z}registerOnTouched(Z){this._onTouched=Z}setDisabledState(Z){this.disabled=Z}_transitionCheckState(Z){let ie=this._currentCheckState,ve=this._getAnimationTargetElement();if(ie!==Z&&ve&&(this._currentAnimationClass&&ve.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ie,Z),this._currentCheckState=Z,this._currentAnimationClass.length>0)){ve.classList.add(this._currentAnimationClass);const ae=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{ve.classList.remove(ae)},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 Z=this._options?.clickAction;this.disabled||"noop"===Z?!this.disabled&&"noop"===Z&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==Z&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(Z){Z.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(Z,ie){if("NoopAnimations"===this._animationMode)return"";switch(Z){case 0:if(1===ie)return this._animationClasses.uncheckedToChecked;if(3==ie)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===ie?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===ie?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===ie?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(Z){const ie=this._inputElement;ie&&(ie.nativeElement.indeterminate=Z)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(Z){Z.target&&this._labelElement.nativeElement.contains(Z.target)&&Z.stopPropagation()}static{this.\u0275fac=function(ie){return new(ie||Y)(t.rXU(t.aKT),t.rXU(t.gRc),t.rXU(t.SKi),t.kS0("tabindex"),t.rXU(t.bc$,8),t.rXU(m,8))}}static{this.\u0275cmp=t.VBU({type:Y,selectors:[["mat-checkbox"]],viewQuery:function(ie,ve){if(1&ie&&(t.GBs(S,5),t.GBs(l,5),t.GBs(C.r6,5)),2&ie){let ae;t.mGM(ae=t.lsd())&&(ve._inputElement=ae.first),t.mGM(ae=t.lsd())&&(ve._labelElement=ae.first),t.mGM(ae=t.lsd())&&(ve.ripple=ae.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(ie,ve){2&ie&&(t.Mr5("id",ve.id),t.BMQ("tabindex",null)("aria-label",null)("aria-labelledby",null),t.HbH(ve.color?"mat-"+ve.color:"mat-accent"),t.AVh("_mat-animation-noopable","NoopAnimations"===ve._animationMode)("mdc-checkbox--disabled",ve.disabled)("mat-mdc-checkbox-disabled",ve.disabled)("mat-mdc-checkbox-checked",ve.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",t.L39],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",t.L39],tabIndex:[2,"tabIndex","tabIndex",Z=>null==Z?void 0:(0,t.Udg)(Z)],color:"color",checked:[2,"checked","checked",t.L39],disabled:[2,"disabled","disabled",t.L39],indeterminate:[2,"indeterminate","indeterminate",t.L39]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[t.Jv_([d]),t.GFd],ngContentSelectors:x,decls:15,vars:20,consts:[["checkbox",""],["input",""],["label",""],[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[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"]],template:function(ie,ve){if(1&ie){const ae=t.RV6();t.NAR(),t.j41(0,"div",3),t.bIt("click",function(ue){return t.eBV(ae),t.Njj(ve._preventBubblingFromLabel(ue))}),t.j41(1,"div",4,0)(3,"div",5),t.bIt("click",function(){return t.eBV(ae),t.Njj(ve._onTouchTargetClick())}),t.k0s(),t.j41(4,"input",6,1),t.bIt("blur",function(){return t.eBV(ae),t.Njj(ve._onBlur())})("click",function(){return t.eBV(ae),t.Njj(ve._onInputClick())})("change",function(ue){return t.eBV(ae),t.Njj(ve._onInteractionEvent(ue))}),t.k0s(),t.nrm(6,"div",7),t.j41(7,"div",8),t.qSk(),t.j41(8,"svg",9),t.nrm(9,"path",10),t.k0s(),t.joV(),t.nrm(10,"div",11),t.k0s(),t.nrm(11,"div",12),t.k0s(),t.j41(12,"label",13,2),t.SdG(14),t.k0s()()}if(2&ie){const ae=t.sdS(2);t.AVh("mdc-form-field--align-end","before"==ve.labelPosition),t.R7$(4),t.AVh("mdc-checkbox--selected",ve.checked),t.Y8G("checked",ve.checked)("indeterminate",ve.indeterminate)("disabled",ve.disabled)("id",ve.inputId)("required",ve.required)("tabIndex",ve.disabled?-1:ve.tabIndex),t.BMQ("aria-label",ve.ariaLabel||null)("aria-labelledby",ve.ariaLabelledby)("aria-describedby",ve.ariaDescribedby)("aria-checked",ve.indeterminate?"mixed":null)("name",ve.name)("value",ve.value),t.R7$(7),t.Y8G("matRippleTrigger",ae)("matRippleDisabled",ve.disableRipple||ve.disabled)("matRippleCentered",!0),t.R7$(),t.Y8G("for",ve.inputId)}},dependencies:[C.r6],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 Y})(),U=(()=>{class Y{static{this.\u0275fac=function(ie){return new(ie||Y)}}static{this.\u0275mod=t.$C({type:Y})}static{this.\u0275inj=t.G2t({})}}return Y})(),G=(()=>{class Y{static{this.\u0275fac=function(ie){return new(ie||Y)}}static{this.\u0275mod=t.$C({type:Y})}static{this.\u0275inj=t.G2t({imports:[C.yE,C.pZ,U,C.yE,U]})}}return Y})()},8852:(Ve,ee,p)=>{"use strict";p.d(ee,{Jl:()=>oe,YN:()=>ht});var t=p(4085),e=p(4438),C=p(177),S=p(6600),l=p(8617),x=p(1413),m=p(7786),R=p(6697),T=(p(6977),p(9172),p(5558),p(7336));p(8203),p(9417),p(6467);const U=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],G=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Y(tt,wt){1&tt&&(e.j41(0,"span",3),e.SdG(1,1),e.k0s())}function $(tt,wt){1&tt&&(e.j41(0,"span",6),e.SdG(1,2),e.k0s())}const O=new e.nKC("mat-chips-default-options"),_=new e.nKC("MatChipAvatar"),r=new e.nKC("MatChipTrailingIcon"),v=new e.nKC("MatChipRemove"),z=new e.nKC("MatChip");class N{}const ne=(0,S.BF)(N,-1);let Ie=(()=>{class tt extends ne{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(ut){this._disabled=(0,t.he)(ut)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(ut,vt){super(),this._elementRef=ut,this._parentChip=vt,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===ut.nativeElement.nodeName&&ut.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(ut){!this.disabled&&this.isInteractive&&this._isPrimary&&(ut.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(ut){(ut.keyCode===T.Fm||ut.keyCode===T.t6)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(ut.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static{this.\u0275fac=function(vt){return new(vt||tt)(e.rXU(e.aKT),e.rXU(z))}}static{this.\u0275dir=e.FsC({type:tt,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(vt,Ze){1&vt&&e.bIt("click",function(qe){return Ze._handleClick(qe)})("keydown",function(qe){return Ze._handleKeydown(qe)}),2&vt&&(e.BMQ("tabindex",Ze._getTabindex())("disabled",Ze._getDisabledAttribute())("aria-disabled",Ze.disabled),e.AVh("mdc-evolution-chip__action--primary",Ze._isPrimary)("mdc-evolution-chip__action--presentational",!Ze.isInteractive)("mdc-evolution-chip__action--trailing",!Ze._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[e.Vt3]})}}return tt})(),re=0;const te=(0,S.BF)((0,S.Zc)((0,S.GG)((0,S.Ob)(class{constructor(tt){this._elementRef=tt}})),"primary"),-1);let oe=(()=>{class tt extends te{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(ut){this._value=ut}get removable(){return this._removable}set removable(ut){this._removable=(0,t.he)(ut)}get highlighted(){return this._highlighted}set highlighted(ut){this._highlighted=(0,t.he)(ut)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(ut){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,ut)}constructor(ut,vt,Ze,jt,qe,dt,Le,Vt){super(vt),this._changeDetectorRef=ut,this._ngZone=Ze,this._focusMonitor=jt,this._globalRippleOptions=Le,this._onFocus=new x.B,this._onBlur=new x.B,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+re++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new e.bkB,this.destroyed=new e.bkB,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,e.WQX)(S.Ej),this._document=qe,this._animationsDisabled="NoopAnimations"===dt,null!=Vt&&(this.tabIndex=parseInt(Vt)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const ut=this._elementRef.nativeElement;this._isBasicChip=ut.hasAttribute(this.basicChipAttrName)||ut.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.h)(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(ut){(ut.keyCode===T.G_||ut.keyCode===T.SJ)&&(ut.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(ut){return this._getActions().find(vt=>{const Ze=vt._elementRef.nativeElement;return Ze===ut||Ze.contains(ut)})}_getActions(){const ut=[];return this.primaryAction&&ut.push(this.primaryAction),this.removeIcon&&ut.push(this.removeIcon),this.trailingIcon&&ut.push(this.trailingIcon),ut}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ut=>{const vt=null!==ut;vt!==this._hasFocusInternal&&(this._hasFocusInternal=vt,vt?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,R.s)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static{this.\u0275fac=function(vt){return new(vt||tt)(e.rXU(e.gRc),e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(l.FN),e.rXU(C.qQ),e.rXU(e.bc$,8),e.rXU(S.$E,8),e.kS0("tabindex"))}}static{this.\u0275cmp=e.VBU({type:tt,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(vt,Ze,jt){if(1&vt&&(e.wni(jt,_,5),e.wni(jt,r,5),e.wni(jt,v,5),e.wni(jt,_,5),e.wni(jt,r,5),e.wni(jt,v,5)),2&vt){let qe;e.mGM(qe=e.lsd())&&(Ze.leadingIcon=qe.first),e.mGM(qe=e.lsd())&&(Ze.trailingIcon=qe.first),e.mGM(qe=e.lsd())&&(Ze.removeIcon=qe.first),e.mGM(qe=e.lsd())&&(Ze._allLeadingIcons=qe),e.mGM(qe=e.lsd())&&(Ze._allTrailingIcons=qe),e.mGM(qe=e.lsd())&&(Ze._allRemoveIcons=qe)}},viewQuery:function(vt,Ze){if(1&vt&&e.GBs(Ie,5),2&vt){let jt;e.mGM(jt=e.lsd())&&(Ze.primaryAction=jt.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(vt,Ze){1&vt&&e.bIt("keydown",function(qe){return Ze._handleKeydown(qe)}),2&vt&&(e.Mr5("id",Ze.id),e.BMQ("role",Ze.role)("tabindex",Ze.role?Ze.tabIndex:null)("aria-label",Ze.ariaLabel),e.AVh("mdc-evolution-chip",!Ze._isBasicChip)("mdc-evolution-chip--disabled",Ze.disabled)("mdc-evolution-chip--with-trailing-action",Ze._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Ze.leadingIcon)("mdc-evolution-chip--with-primary-icon",Ze.leadingIcon)("mdc-evolution-chip--with-avatar",Ze.leadingIcon)("mat-mdc-chip-with-avatar",Ze.leadingIcon)("mat-mdc-chip-highlighted",Ze.highlighted)("mat-mdc-chip-disabled",Ze.disabled)("mat-mdc-basic-chip",Ze._isBasicChip)("mat-mdc-standard-chip",!Ze._isBasicChip)("mat-mdc-chip-with-trailing-icon",Ze._hasTrailingIcon())("_mat-animation-noopable",Ze._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[e.Jv_([{provide:z,useExisting:tt}]),e.Vt3],ngContentSelectors:G,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"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"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(vt,Ze){1&vt&&(e.NAR(U),e.nrm(0,"span",0),e.j41(1,"span",1)(2,"span",2),e.DNE(3,Y,2,0,"span",3),e.j41(4,"span",4),e.SdG(5),e.nrm(6,"span",5),e.k0s()()(),e.DNE(7,$,2,0,"span",6)),2&vt&&(e.R7$(2),e.Y8G("isInteractive",!1),e.R7$(),e.vxM(Ze.leadingIcon?3:-1),e.R7$(4),e.vxM(Ze._hasTrailingIcon()?7:-1))},dependencies:[Ie],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 tt})(),ht=(()=>{class tt{static{this.\u0275fac=function(vt){return new(vt||tt)}}static{this.\u0275mod=e.$C({type:tt})}static{this.\u0275inj=e.G2t({providers:[S.es,{provide:O,useValue:{separatorKeyCodes:[T.Fm]}}],imports:[S.yE,S.pZ,S.yE]})}}return tt})()},6600:(Ve,ee,p)=>{"use strict";p.d(ee,{r5:()=>Z,ed:()=>ie,MJ:()=>r,es:()=>re,de:()=>v,Ju:()=>O,QC:()=>wt,is:()=>ht,$E:()=>ke,yE:()=>ye,Np:()=>de,WX:()=>Ye,wT:()=>jt,Sy:()=>Le,MI:()=>Ze,O5:()=>Ue,r6:()=>Je,Ej:()=>ce,pZ:()=>Qe,xW:()=>ne,ug:()=>_t,jb:()=>qe,TL:()=>dt,Zc:()=>c,GG:()=>f,Ob:()=>n,J8:()=>M,mG:()=>L,BF:()=>h});var t=p(4438),e=p(8617),C=p(8203),l=p(177),x=p(6860),m=p(4085),R=p(1985),d=p(1413),w=p(7336);const k=["text"],F=[[["mat-icon"]],"*"],V=["mat-icon","*"];function U(Me,Xe){if(1&Me&&t.nrm(0,"mat-pseudo-checkbox",1),2&Me){const Pe=t.XpG();t.Y8G("disabled",Pe.disabled)("state",Pe.selected?"checked":"unchecked")}}function G(Me,Xe){if(1&Me&&t.nrm(0,"mat-pseudo-checkbox",3),2&Me){const Pe=t.XpG();t.Y8G("disabled",Pe.disabled)}}function Y(Me,Xe){if(1&Me&&(t.j41(0,"span",4),t.EFF(1),t.k0s()),2&Me){const Pe=t.XpG();t.R7$(),t.SpI("(",Pe.group.label,")")}}let Z=(()=>{class Me{static{this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)"}static{this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)"}static{this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)"}static{this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}}return Me})(),ie=(()=>{class Me{static{this.COMPLEX="375ms"}static{this.ENTERING="225ms"}static{this.EXITING="195ms"}}return Me})();const ae=new t.nKC("mat-sanity-checks",{providedIn:"root",factory:function ve(){return!0}});let ye=(()=>{class Me{constructor(Pe,Oe,we){this._sanityChecks=Oe,this._document=we,this._hasDoneGlobalChecks=!1,Pe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Pe){return!(0,x.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Pe])}static{this.\u0275fac=function(Oe){return new(Oe||Me)(t.KVO(e.Q_),t.KVO(ae,8),t.KVO(l.qQ))}}static{this.\u0275mod=t.$C({type:Me})}static{this.\u0275inj=t.G2t({imports:[C.jI,C.jI]})}}return Me})();function n(Me){return class extends Me{get disabled(){return this._disabled}set disabled(Xe){this._disabled=(0,m.he)(Xe)}constructor(...Xe){super(...Xe),this._disabled=!1}}}function c(Me,Xe){return class extends Me{get color(){return this._color}set color(Pe){const Oe=Pe||this.defaultColor;Oe!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Oe&&this._elementRef.nativeElement.classList.add(`mat-${Oe}`),this._color=Oe)}constructor(...Pe){super(...Pe),this.defaultColor=Xe,this.color=Xe}}}function f(Me){return class extends Me{get disableRipple(){return this._disableRipple}set disableRipple(Xe){this._disableRipple=(0,m.he)(Xe)}constructor(...Xe){super(...Xe),this._disableRipple=!1}}}function h(Me,Xe=0){return class extends Me{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Pe){this._tabIndex=null!=Pe?(0,m.OE)(Pe):this.defaultTabIndex}constructor(...Pe){super(...Pe),this._tabIndex=Xe,this.defaultTabIndex=Xe}}}function M(Me){return class extends Me{updateErrorState(){const Xe=this.errorState,De=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);De!==Xe&&(this.errorState=De,this.stateChanges.next())}constructor(...Xe){super(...Xe),this.errorState=!1}}}function L(Me){return class extends Me{constructor(...Xe){super(...Xe),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new R.c(Pe=>{this._isInitialized?this._notifySubscriber(Pe):this._pendingSubscribers.push(Pe)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Xe){Xe.next(),Xe.complete()}}}const O=new t.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function _(){return(0,t.WQX)(t.xe9)}});class r{constructor(){this._localeChanges=new d.B,this.localeChanges=this._localeChanges}getValidDateOrNull(Xe){return this.isDateInstance(Xe)&&this.isValid(Xe)?Xe:null}deserialize(Xe){return null==Xe||this.isDateInstance(Xe)&&this.isValid(Xe)?Xe:this.invalid()}setLocale(Xe){this.locale=Xe,this._localeChanges.next()}compareDate(Xe,Pe){return this.getYear(Xe)-this.getYear(Pe)||this.getMonth(Xe)-this.getMonth(Pe)||this.getDate(Xe)-this.getDate(Pe)}sameDate(Xe,Pe){if(Xe&&Pe){let Oe=this.isValid(Xe),we=this.isValid(Pe);return Oe&&we?!this.compareDate(Xe,Pe):Oe==we}return Xe==Pe}clampDate(Xe,Pe,Oe){return Pe&&this.compareDate(Xe,Pe)<0?Pe:Oe&&this.compareDate(Xe,Oe)>0?Oe:Xe}}const v=new t.nKC("mat-date-formats"),z=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function N(Me,Xe){const Pe=Array(Me);for(let Oe=0;Oe<Me;Oe++)Pe[Oe]=Xe(Oe);return Pe}let ne=(()=>{class Me extends r{constructor(Pe){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,t.WQX)(O,{optional:!0}),void 0!==Pe&&(this._matDateLocale=Pe),super.setLocale(this._matDateLocale)}getYear(Pe){return Pe.getFullYear()}getMonth(Pe){return Pe.getMonth()}getDate(Pe){return Pe.getDate()}getDayOfWeek(Pe){return Pe.getDay()}getMonthNames(Pe){const Oe=new Intl.DateTimeFormat(this.locale,{month:Pe,timeZone:"utc"});return N(12,we=>this._format(Oe,new Date(2017,we,1)))}getDateNames(){const Pe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return N(31,Oe=>this._format(Pe,new Date(2017,0,Oe+1)))}getDayOfWeekNames(Pe){const Oe=new Intl.DateTimeFormat(this.locale,{weekday:Pe,timeZone:"utc"});return N(7,we=>this._format(Oe,new Date(2017,0,we+1)))}getYearName(Pe){const Oe=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(Oe,Pe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Pe){return this.getDate(this._createDateWithOverflow(this.getYear(Pe),this.getMonth(Pe)+1,0))}clone(Pe){return new Date(Pe.getTime())}createDate(Pe,Oe,we){let De=this._createDateWithOverflow(Pe,Oe,we);return De.getMonth(),De}today(){return new Date}parse(Pe,Oe){return"number"==typeof Pe?new Date(Pe):Pe?new Date(Date.parse(Pe)):null}format(Pe,Oe){if(!this.isValid(Pe))throw Error("NativeDateAdapter: Cannot format invalid date.");const we=new Intl.DateTimeFormat(this.locale,{...Oe,timeZone:"utc"});return this._format(we,Pe)}addCalendarYears(Pe,Oe){return this.addCalendarMonths(Pe,12*Oe)}addCalendarMonths(Pe,Oe){let we=this._createDateWithOverflow(this.getYear(Pe),this.getMonth(Pe)+Oe,this.getDate(Pe));return this.getMonth(we)!=((this.getMonth(Pe)+Oe)%12+12)%12&&(we=this._createDateWithOverflow(this.getYear(we),this.getMonth(we),0)),we}addCalendarDays(Pe,Oe){return this._createDateWithOverflow(this.getYear(Pe),this.getMonth(Pe),this.getDate(Pe)+Oe)}toIso8601(Pe){return[Pe.getUTCFullYear(),this._2digit(Pe.getUTCMonth()+1),this._2digit(Pe.getUTCDate())].join("-")}deserialize(Pe){if("string"==typeof Pe){if(!Pe)return null;if(z.test(Pe)){let Oe=new Date(Pe);if(this.isValid(Oe))return Oe}}return super.deserialize(Pe)}isDateInstance(Pe){return Pe instanceof Date}isValid(Pe){return!isNaN(Pe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Pe,Oe,we){const De=new Date;return De.setFullYear(Pe,Oe,we),De.setHours(0,0,0,0),De}_2digit(Pe){return("00"+Pe).slice(-2)}_format(Pe,Oe){const we=new Date;return we.setUTCFullYear(Oe.getFullYear(),Oe.getMonth(),Oe.getDate()),we.setUTCHours(Oe.getHours(),Oe.getMinutes(),Oe.getSeconds(),Oe.getMilliseconds()),Pe.format(we)}static{this.\u0275fac=function(Oe){return new(Oe||Me)(t.KVO(O,8))}}static{this.\u0275prov=t.jDH({token:Me,factory:Me.\u0275fac})}}return Me})();const Ie={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 at=(()=>{class Me{static{this.\u0275fac=function(Oe){return new(Oe||Me)}}static{this.\u0275mod=t.$C({type:Me})}static{this.\u0275inj=t.G2t({providers:[{provide:r,useClass:ne}]})}}return Me})(),Ye=(()=>{class Me{static{this.\u0275fac=function(Oe){return new(Oe||Me)}}static{this.\u0275mod=t.$C({type:Me})}static{this.\u0275inj=t.G2t({providers:[{provide:v,useValue:Ie}],imports:[at]})}}return Me})(),re=(()=>{class Me{isErrorState(Pe,Oe){return!!(Pe&&Pe.invalid&&(Pe.touched||Oe&&Oe.submitted))}static{this.\u0275fac=function(Oe){return new(Oe||Me)}}static{this.\u0275prov=t.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}}return Me})(),de=(()=>{class Me{static{this.\u0275fac=function(Oe){return new(Oe||Me)}}static{this.\u0275mod=t.$C({type:Me})}static{this.\u0275inj=t.G2t({imports:[ye,ye]})}}return Me})();class pe{constructor(Xe,Pe,Oe,we=!1){this._renderer=Xe,this.element=Pe,this.config=Oe,this._animationForciblyDisabledThroughCss=we,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const We=(0,x.BQ)({passive:!0,capture:!0});class se{constructor(){this._events=new Map,this._delegateEventHandler=Xe=>{const Pe=(0,x.Fb)(Xe);Pe&&this._events.get(Xe.type)?.forEach((Oe,we)=>{(we===Pe||we.contains(Pe))&&Oe.forEach(De=>De.handleEvent(Xe))})}}addHandler(Xe,Pe,Oe,we){const De=this._events.get(Pe);if(De){const $e=De.get(Oe);$e?$e.add(we):De.set(Oe,new Set([we]))}else this._events.set(Pe,new Map([[Oe,new Set([we])]])),Xe.runOutsideAngular(()=>{document.addEventListener(Pe,this._delegateEventHandler,We)})}removeHandler(Xe,Pe,Oe){const we=this._events.get(Xe);if(!we)return;const De=we.get(Pe);De&&(De.delete(Oe),0===De.size&&we.delete(Pe),0===we.size&&(this._events.delete(Xe),document.removeEventListener(Xe,this._delegateEventHandler,We)))}}const fe={enterDuration:225,exitDuration:150},et=(0,x.BQ)({passive:!0,capture:!0}),Ke=["mousedown","touchstart"],Ct=["mouseup","mouseleave","touchend","touchcancel"];class _t{static{this._eventManager=new se}constructor(Xe,Pe,Oe,we){this._target=Xe,this._ngZone=Pe,this._platform=we,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,we.isBrowser&&(this._containerElement=(0,m.i8)(Oe))}fadeInRipple(Xe,Pe,Oe={}){const we=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),De={...fe,...Oe.animation};Oe.centered&&(Xe=we.left+we.width/2,Pe=we.top+we.height/2);const $e=Oe.radius||function Nt(Me,Xe,Pe){const Oe=Math.max(Math.abs(Me-Pe.left),Math.abs(Me-Pe.right)),we=Math.max(Math.abs(Xe-Pe.top),Math.abs(Xe-Pe.bottom));return Math.sqrt(Oe*Oe+we*we)}(Xe,Pe,we),$t=Xe-we.left,Ft=Pe-we.top,Kt=De.enterDuration,fi=document.createElement("div");fi.classList.add("mat-ripple-element"),fi.style.left=$t-$e+"px",fi.style.top=Ft-$e+"px",fi.style.height=2*$e+"px",fi.style.width=2*$e+"px",null!=Oe.color&&(fi.style.backgroundColor=Oe.color),fi.style.transitionDuration=`${Kt}ms`,this._containerElement.appendChild(fi);const Qt=window.getComputedStyle(fi),Xi=Qt.transitionDuration,ci="none"===Qt.transitionProperty||"0s"===Xi||"0s, 0s"===Xi||0===we.width&&0===we.height,ui=new pe(this,fi,Oe,ci);fi.style.transform="scale3d(1, 1, 1)",ui.state=0,Oe.persistent||(this._mostRecentTransientRipple=ui);let bn=null;return!ci&&(Kt||De.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Qi=()=>this._finishRippleTransition(ui),Li=()=>this._destroyRipple(ui);fi.addEventListener("transitionend",Qi),fi.addEventListener("transitioncancel",Li),bn={onTransitionEnd:Qi,onTransitionCancel:Li}}),this._activeRipples.set(ui,bn),(ci||!Kt)&&this._finishRippleTransition(ui),ui}fadeOutRipple(Xe){if(2===Xe.state||3===Xe.state)return;const Pe=Xe.element,Oe={...fe,...Xe.config.animation};Pe.style.transitionDuration=`${Oe.exitDuration}ms`,Pe.style.opacity="0",Xe.state=2,(Xe._animationForciblyDisabledThroughCss||!Oe.exitDuration)&&this._finishRippleTransition(Xe)}fadeOutAll(){this._getActiveRipples().forEach(Xe=>Xe.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Xe=>{Xe.config.persistent||Xe.fadeOut()})}setupTriggerEvents(Xe){const Pe=(0,m.i8)(Xe);!this._platform.isBrowser||!Pe||Pe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Pe,Ke.forEach(Oe=>{_t._eventManager.addHandler(this._ngZone,Oe,Pe,this)}))}handleEvent(Xe){"mousedown"===Xe.type?this._onMousedown(Xe):"touchstart"===Xe.type?this._onTouchStart(Xe):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ct.forEach(Pe=>{this._triggerElement.addEventListener(Pe,this,et)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Xe){0===Xe.state?this._startFadeOutTransition(Xe):2===Xe.state&&this._destroyRipple(Xe)}_startFadeOutTransition(Xe){const Pe=Xe===this._mostRecentTransientRipple,{persistent:Oe}=Xe.config;Xe.state=1,!Oe&&(!Pe||!this._isPointerDown)&&Xe.fadeOut()}_destroyRipple(Xe){const Pe=this._activeRipples.get(Xe)??null;this._activeRipples.delete(Xe),this._activeRipples.size||(this._containerRect=null),Xe===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Xe.state=3,null!==Pe&&(Xe.element.removeEventListener("transitionend",Pe.onTransitionEnd),Xe.element.removeEventListener("transitioncancel",Pe.onTransitionCancel)),Xe.element.remove()}_onMousedown(Xe){const Pe=(0,e._G)(Xe),Oe=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!Pe&&!Oe&&(this._isPointerDown=!0,this.fadeInRipple(Xe.clientX,Xe.clientY,this._target.rippleConfig))}_onTouchStart(Xe){if(!this._target.rippleDisabled&&!(0,e.w6)(Xe)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const Pe=Xe.changedTouches;if(Pe)for(let Oe=0;Oe<Pe.length;Oe++)this.fadeInRipple(Pe[Oe].clientX,Pe[Oe].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(Xe=>{!Xe.config.persistent&&(1===Xe.state||Xe.config.terminateOnPointerUp&&0===Xe.state)&&Xe.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Xe=this._triggerElement;Xe&&(Ke.forEach(Pe=>_t._eventManager.removeHandler(Pe,Xe,this)),this._pointerUpEventsRegistered&&Ct.forEach(Pe=>Xe.removeEventListener(Pe,this,et)))}}const ke=new t.nKC("mat-ripple-global-options");let Je=(()=>{class Me{get disabled(){return this._disabled}set disabled(Pe){Pe&&this.fadeOutAllNonPersistent(),this._disabled=Pe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Pe){this._trigger=Pe,this._setupTriggerEventsIfEnabled()}constructor(Pe,Oe,we,De,$e){this._elementRef=Pe,this._animationMode=$e,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=De||{},this._rippleRenderer=new _t(this,Oe,Pe,we)}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(Pe,Oe=0,we){return"number"==typeof Pe?this._rippleRenderer.fadeInRipple(Pe,Oe,{...this.rippleConfig,...we}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Pe})}static{this.\u0275fac=function(Oe){return new(Oe||Me)(t.rXU(t.aKT),t.rXU(t.SKi),t.rXU(x.OD),t.rXU(ke,8),t.rXU(t.bc$,8))}}static{this.\u0275dir=t.FsC({type:Me,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Oe,we){2&Oe&&t.AVh("mat-ripple-unbounded",we.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}}return Me})(),Qe=(()=>{class Me{static{this.\u0275fac=function(Oe){return new(Oe||Me)}}static{this.\u0275mod=t.$C({type:Me})}static{this.\u0275inj=t.G2t({imports:[ye,ye]})}}return Me})(),nt=(()=>{class Me{constructor(Pe){this._animationMode=Pe,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(Oe){return new(Oe||Me)(t.rXU(t.bc$,8))}}static{this.\u0275cmp=t.VBU({type:Me,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(Oe,we){2&Oe&&t.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===we.state)("mat-pseudo-checkbox-checked","checked"===we.state)("mat-pseudo-checkbox-disabled",we.disabled)("mat-pseudo-checkbox-minimal","minimal"===we.appearance)("mat-pseudo-checkbox-full","full"===we.appearance)("_mat-animation-noopable","NoopAnimations"===we._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(Oe,we){},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 Me})(),Ue=(()=>{class Me{static{this.\u0275fac=function(Oe){return new(Oe||Me)}}static{this.\u0275mod=t.$C({type:Me})}static{this.\u0275inj=t.G2t({imports:[ye]})}}return Me})();const ht=new t.nKC("MAT_OPTION_PARENT_COMPONENT"),wt=new t.nKC("MatOptgroup");let vt=0;class Ze{constructor(Xe,Pe=!1){this.source=Xe,this.isUserInput=Pe}}let jt=(()=>{class Me{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(Pe){this._disabled=Pe}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(Pe,Oe,we,De){this._element=Pe,this._changeDetectorRef=Oe,this._parent=we,this.group=De,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+vt++,this.onSelectionChange=new t.bkB,this._stateChanges=new d.B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Pe=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Pe&&this._emitSelectionChangeEvent())}deselect(Pe=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Pe&&this._emitSelectionChangeEvent())}focus(Pe,Oe){const we=this._getHostElement();"function"==typeof we.focus&&we.focus(Oe)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Pe){(Pe.keyCode===w.Fm||Pe.keyCode===w.t6)&&!(0,w.rp)(Pe)&&(this._selectViaInteraction(),Pe.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 Pe=this.viewValue;Pe!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Pe)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Pe=!1){this.onSelectionChange.emit(new Ze(this,Pe))}static{this.\u0275fac=function(Oe){return new(Oe||Me)(t.rXU(t.aKT),t.rXU(t.gRc),t.rXU(ht,8),t.rXU(wt,8))}}static{this.\u0275cmp=t.VBU({type:Me,selectors:[["mat-option"]],viewQuery:function(Oe,we){if(1&Oe&&t.GBs(k,7),2&Oe){let De;t.mGM(De=t.lsd())&&(we._text=De.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(Oe,we){1&Oe&&t.bIt("click",function(){return we._selectViaInteraction()})("keydown",function($e){return we._handleKeydown($e)}),2&Oe&&(t.Mr5("id",we.id),t.BMQ("aria-selected",we.selected)("aria-disabled",we.disabled.toString()),t.AVh("mdc-list-item--selected",we.selected)("mat-mdc-option-multiple",we.multiple)("mat-mdc-option-active",we.active)("mdc-list-item--disabled",we.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",t.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[t.GFd],ngContentSelectors:V,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(Oe,we){1&Oe&&(t.NAR(F),t.DNE(0,U,1,2,"mat-pseudo-checkbox",1),t.SdG(1),t.j41(2,"span",2,0),t.SdG(4,1),t.k0s(),t.DNE(5,G,1,1,"mat-pseudo-checkbox",3)(6,Y,2,1,"span",4),t.nrm(7,"div",5)),2&Oe&&(t.vxM(we.multiple?0:-1),t.R7$(5),t.vxM(we.multiple||!we.selected||we.hideSingleSelectionIndicator?-1:5),t.R7$(),t.vxM(we.group&&we.group._inert?6:-1),t.R7$(),t.Y8G("matRippleTrigger",we._getHostElement())("matRippleDisabled",we.disabled||we.disableRipple))},dependencies:[Je,nt],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 Me})();function qe(Me,Xe,Pe){if(Pe.length){let Oe=Xe.toArray(),we=Pe.toArray(),De=0;for(let $e=0;$e<Me+1;$e++)Oe[$e].group&&Oe[$e].group===we[De]&&De++;return De}return 0}function dt(Me,Xe,Pe,Oe){return Me<Pe?Me:Me+Xe>Pe+Oe?Math.max(0,Me-Oe+Xe):Pe}let Le=(()=>{class Me{static{this.\u0275fac=function(Oe){return new(Oe||Me)}}static{this.\u0275mod=t.$C({type:Me})}static{this.\u0275inj=t.G2t({imports:[Qe,ye,Ue]})}}return Me})();const Vt={capture:!0},Zt=["focus","click","mouseenter","touchstart"],Et="mat-ripple-loader-uninitialized",je="mat-ripple-loader-class-name",me="mat-ripple-loader-centered",xe="mat-ripple-loader-disabled";let ce=(()=>{class Me{constructor(){this._document=(0,t.WQX)(l.qQ,{optional:!0}),this._animationMode=(0,t.WQX)(t.bc$,{optional:!0}),this._globalRippleOptions=(0,t.WQX)(ke,{optional:!0}),this._platform=(0,t.WQX)(x.OD),this._ngZone=(0,t.WQX)(t.SKi),this._onInteraction=Pe=>{if(!(Pe.target instanceof HTMLElement))return;const we=Pe.target.closest(`[${Et}]`);we&&this.createRipple(we)},this._ngZone.runOutsideAngular(()=>{for(const Pe of Zt)this._document?.addEventListener(Pe,this._onInteraction,Vt)})}ngOnDestroy(){for(const Pe of Zt)this._document?.removeEventListener(Pe,this._onInteraction,Vt)}configureRipple(Pe,Oe){Pe.setAttribute(Et,""),(Oe.className||!Pe.hasAttribute(je))&&Pe.setAttribute(je,Oe.className||""),Oe.centered&&Pe.setAttribute(me,""),Oe.disabled&&Pe.setAttribute(xe,"")}getRipple(Pe){return Pe.matRipple?Pe.matRipple:this.createRipple(Pe)}setDisabled(Pe,Oe){const we=Pe.matRipple;we?we.disabled=Oe:Oe?Pe.setAttribute(xe,""):Pe.removeAttribute(xe)}createRipple(Pe){if(!this._document)return;Pe.querySelector(".mat-ripple")?.remove();const Oe=this._document.createElement("span");Oe.classList.add("mat-ripple",Pe.getAttribute(je)),Pe.append(Oe);const we=new Je(new t.aKT(Oe),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return we._isInitialized=!0,we.trigger=Pe,we.centered=Pe.hasAttribute(me),we.disabled=Pe.hasAttribute(xe),this.attachRipple(Pe,we),we}attachRipple(Pe,Oe){Pe.removeAttribute(Et),Pe.matRipple=Oe}static{this.\u0275fac=function(Oe){return new(Oe||Me)}}static{this.\u0275prov=t.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}}return Me})()},5084:(Ve,ee,p)=>{"use strict";p.d(ee,{Vh:()=>Ft,X6:()=>Dt,bU:()=>bn,bZ:()=>ci});var t=p(8617),e=p(6969),C=p(6939),S=p(177),l=p(4438),x=p(8834),m=p(5542),R=p(6600),d=p(1413),w=p(8359),y=p(7786),T=p(7673),k=p(7336),F=p(8203),V=p(6860),U=p(6697),G=p(9172),Y=p(5964),$=p(4085),Z=p(9969),ie=p(9417),ve=p(6467),ae=p(9631);const ye=["mat-calendar-body",""];function ue(ct,Bt){if(1&ct&&(l.j41(0,"tr",0)(1,"td",3),l.EFF(2),l.k0s()()),2&ct){const q=l.XpG();l.R7$(),l.xc7("padding-top",q._cellPadding)("padding-bottom",q._cellPadding),l.BMQ("colspan",q.numCols),l.R7$(),l.SpI(" ",q.label," ")}}function be(ct,Bt){if(1&ct&&(l.j41(0,"td",3),l.EFF(1),l.k0s()),2&ct){const q=l.XpG(2);l.xc7("padding-top",q._cellPadding)("padding-bottom",q._cellPadding),l.BMQ("colspan",q._firstRowOffset),l.R7$(),l.SpI(" ",q._firstRowOffset>=q.labelMinRequiredCells?q.label:""," ")}}function D(ct,Bt){if(1&ct){const q=l.RV6();l.j41(0,"td",6)(1,"button",7),l.bIt("click",function(Ae){const mt=l.eBV(q).$implicit,It=l.XpG(2);return l.Njj(It._cellClicked(mt,Ae))})("focus",function(Ae){const mt=l.eBV(q).$implicit,It=l.XpG(2);return l.Njj(It._emitActiveDateChange(mt,Ae))}),l.j41(2,"span",8),l.EFF(3),l.k0s(),l.nrm(4,"span",9),l.k0s()()}if(2&ct){const q=Bt.$implicit,it=Bt.$index,Ae=l.XpG().$index,mt=l.XpG();l.xc7("width",mt._cellWidth)("padding-top",mt._cellPadding)("padding-bottom",mt._cellPadding),l.BMQ("data-mat-row",Ae)("data-mat-col",it),l.R7$(),l.AVh("mat-calendar-body-disabled",!q.enabled)("mat-calendar-body-active",mt._isActiveCell(Ae,it))("mat-calendar-body-range-start",mt._isRangeStart(q.compareValue))("mat-calendar-body-range-end",mt._isRangeEnd(q.compareValue))("mat-calendar-body-in-range",mt._isInRange(q.compareValue))("mat-calendar-body-comparison-bridge-start",mt._isComparisonBridgeStart(q.compareValue,Ae,it))("mat-calendar-body-comparison-bridge-end",mt._isComparisonBridgeEnd(q.compareValue,Ae,it))("mat-calendar-body-comparison-start",mt._isComparisonStart(q.compareValue))("mat-calendar-body-comparison-end",mt._isComparisonEnd(q.compareValue))("mat-calendar-body-in-comparison-range",mt._isInComparisonRange(q.compareValue))("mat-calendar-body-preview-start",mt._isPreviewStart(q.compareValue))("mat-calendar-body-preview-end",mt._isPreviewEnd(q.compareValue))("mat-calendar-body-in-preview",mt._isInPreview(q.compareValue)),l.Y8G("ngClass",q.cssClasses)("tabindex",mt._isActiveCell(Ae,it)?0:-1),l.BMQ("aria-label",q.ariaLabel)("aria-disabled",!q.enabled||null)("aria-pressed",mt._isSelected(q.compareValue))("aria-current",mt.todayValue===q.compareValue?"date":null)("aria-describedby",mt._getDescribedby(q.compareValue)),l.R7$(),l.AVh("mat-calendar-body-selected",mt._isSelected(q.compareValue))("mat-calendar-body-comparison-identical",mt._isComparisonIdentical(q.compareValue))("mat-calendar-body-today",mt.todayValue===q.compareValue),l.R7$(),l.SpI(" ",q.displayValue," ")}}function n(ct,Bt){if(1&ct&&(l.j41(0,"tr",1),l.DNE(1,be,2,6,"td",4),l.Z7z(2,D,5,48,"td",5,l.fX1),l.k0s()),2&ct){const q=Bt.$implicit,it=Bt.$index,Ae=l.XpG();l.R7$(),l.vxM(0===it&&Ae._firstRowOffset?1:-1),l.R7$(),l.Dyx(q)}}function c(ct,Bt){if(1&ct&&(l.j41(0,"th",2)(1,"span",5),l.EFF(2),l.k0s(),l.j41(3,"span",6),l.EFF(4),l.k0s()()),2&ct){const q=Bt.$implicit;l.R7$(2),l.JRh(q.long),l.R7$(2),l.JRh(q.narrow)}}const f=["*"];function h(ct,Bt){}function M(ct,Bt){if(1&ct){const q=l.RV6();l.j41(0,"mat-month-view",4),l.mxI("activeDateChange",function(Ae){l.eBV(q);const mt=l.XpG();return l.DH7(mt.activeDate,Ae)||(mt.activeDate=Ae),l.Njj(Ae)}),l.bIt("_userSelection",function(Ae){l.eBV(q);const mt=l.XpG();return l.Njj(mt._dateSelected(Ae))})("dragStarted",function(Ae){l.eBV(q);const mt=l.XpG();return l.Njj(mt._dragStarted(Ae))})("dragEnded",function(Ae){l.eBV(q);const mt=l.XpG();return l.Njj(mt._dragEnded(Ae))}),l.k0s()}if(2&ct){const q=l.XpG();l.R50("activeDate",q.activeDate),l.Y8G("selected",q.selected)("dateFilter",q.dateFilter)("maxDate",q.maxDate)("minDate",q.minDate)("dateClass",q.dateClass)("comparisonStart",q.comparisonStart)("comparisonEnd",q.comparisonEnd)("startDateAccessibleName",q.startDateAccessibleName)("endDateAccessibleName",q.endDateAccessibleName)("activeDrag",q._activeDrag)}}function L(ct,Bt){if(1&ct){const q=l.RV6();l.j41(0,"mat-year-view",5),l.mxI("activeDateChange",function(Ae){l.eBV(q);const mt=l.XpG();return l.DH7(mt.activeDate,Ae)||(mt.activeDate=Ae),l.Njj(Ae)}),l.bIt("monthSelected",function(Ae){l.eBV(q);const mt=l.XpG();return l.Njj(mt._monthSelectedInYearView(Ae))})("selectedChange",function(Ae){l.eBV(q);const mt=l.XpG();return l.Njj(mt._goToDateInView(Ae,"month"))}),l.k0s()}if(2&ct){const q=l.XpG();l.R50("activeDate",q.activeDate),l.Y8G("selected",q.selected)("dateFilter",q.dateFilter)("maxDate",q.maxDate)("minDate",q.minDate)("dateClass",q.dateClass)}}function O(ct,Bt){if(1&ct){const q=l.RV6();l.j41(0,"mat-multi-year-view",6),l.mxI("activeDateChange",function(Ae){l.eBV(q);const mt=l.XpG();return l.DH7(mt.activeDate,Ae)||(mt.activeDate=Ae),l.Njj(Ae)}),l.bIt("yearSelected",function(Ae){l.eBV(q);const mt=l.XpG();return l.Njj(mt._yearSelectedInMultiYearView(Ae))})("selectedChange",function(Ae){l.eBV(q);const mt=l.XpG();return l.Njj(mt._goToDateInView(Ae,"year"))}),l.k0s()}if(2&ct){const q=l.XpG();l.R50("activeDate",q.activeDate),l.Y8G("selected",q.selected)("dateFilter",q.dateFilter)("maxDate",q.maxDate)("minDate",q.minDate)("dateClass",q.dateClass)}}function _(ct,Bt){}const r=["button"],v=[[["","matDatepickerToggleIcon",""]]],z=["[matDatepickerToggleIcon]"];function N(ct,Bt){1&ct&&(l.qSk(),l.j41(0,"svg",2),l.nrm(1,"path",3),l.k0s())}let rt=(()=>{class ct{constructor(){this.changes=new d.B,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(q,it){return`${q} \u2013 ${it}`}formatYearRangeLabel(q,it){return`${q} to ${it}`}static{this.\u0275fac=function(it){return new(it||ct)}}static{this.\u0275prov=l.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}}return ct})();class re{constructor(Bt,q,it,Ae,mt={},It=Bt,Ci){this.value=Bt,this.displayValue=q,this.ariaLabel=it,this.enabled=Ae,this.cssClasses=mt,this.compareValue=It,this.rawValue=Ci}}let te=1;const oe=(0,V.BQ)({passive:!1,capture:!0}),_e=(0,V.BQ)({passive:!0,capture:!0}),de=(0,V.BQ)({passive:!0});let pe=(()=>{class ct{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(q,it){this._elementRef=q,this._ngZone=it,this._platform=(0,l.WQX)(V.OD),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.bkB,this.previewChange=new l.bkB,this.activeDateChange=new l.bkB,this.dragStarted=new l.bkB,this.dragEnded=new l.bkB,this._didDragSinceMouseDown=!1,this._enterHandler=Ae=>{if(this._skipNextFocus&&"focus"===Ae.type)this._skipNextFocus=!1;else if(Ae.target&&this.isRange){const mt=this._getCellFromElement(Ae.target);mt&&this._ngZone.run(()=>this.previewChange.emit({value:mt.enabled?mt:null,event:Ae}))}},this._touchmoveHandler=Ae=>{if(!this.isRange)return;const mt=Ke(Ae),It=mt?this._getCellFromElement(mt):null;mt!==Ae.target&&(this._didDragSinceMouseDown=!0),se(Ae.target)&&Ae.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:It?.enabled?It:null,event:Ae}))},this._leaveHandler=Ae=>{null!==this.previewEnd&&this.isRange&&("blur"!==Ae.type&&(this._didDragSinceMouseDown=!0),Ae.target&&this._getCellFromElement(Ae.target)&&(!Ae.relatedTarget||!this._getCellFromElement(Ae.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Ae})))},this._mousedownHandler=Ae=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const mt=Ae.target&&this._getCellFromElement(Ae.target);!mt||!this._isInRange(mt.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:mt.rawValue,event:Ae})})},this._mouseupHandler=Ae=>{if(!this.isRange)return;const mt=se(Ae.target);mt?mt.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const It=this._getCellFromElement(mt);this.dragEnded.emit({value:It?.rawValue??null,event:Ae})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Ae})})},this._touchendHandler=Ae=>{const mt=Ke(Ae);mt&&this._mouseupHandler({target:mt})},this._id="mat-calendar-body-"+te++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,it.runOutsideAngular(()=>{const Ae=q.nativeElement;Ae.addEventListener("touchmove",this._touchmoveHandler,oe),Ae.addEventListener("mouseenter",this._enterHandler,_e),Ae.addEventListener("focus",this._enterHandler,_e),Ae.addEventListener("mouseleave",this._leaveHandler,_e),Ae.addEventListener("blur",this._leaveHandler,_e),Ae.addEventListener("mousedown",this._mousedownHandler,de),Ae.addEventListener("touchstart",this._mousedownHandler,de),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(q,it){this._didDragSinceMouseDown||q.enabled&&this.selectedValueChange.emit({value:q.value,event:it})}_emitActiveDateChange(q,it){q.enabled&&this.activeDateChange.emit({value:q.value,event:it})}_isSelected(q){return this.startValue===q||this.endValue===q}ngOnChanges(q){const it=q.numCols,{rows:Ae,numCols:mt}=this;(q.rows||it)&&(this._firstRowOffset=Ae&&Ae.length&&Ae[0].length?mt-Ae[0].length:0),(q.cellAspectRatio||it||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/mt+"%"),(it||!this._cellWidth)&&(this._cellWidth=100/mt+"%")}ngOnDestroy(){const q=this._elementRef.nativeElement;q.removeEventListener("touchmove",this._touchmoveHandler,oe),q.removeEventListener("mouseenter",this._enterHandler,_e),q.removeEventListener("focus",this._enterHandler,_e),q.removeEventListener("mouseleave",this._leaveHandler,_e),q.removeEventListener("blur",this._leaveHandler,_e),q.removeEventListener("mousedown",this._mousedownHandler,de),q.removeEventListener("touchstart",this._mousedownHandler,de),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(q,it){let Ae=q*this.numCols+it;return q&&(Ae-=this._firstRowOffset),Ae==this.activeCell}_focusActiveCell(q=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,U.s)(1)).subscribe(()=>{setTimeout(()=>{const it=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");it&&(q||(this._skipNextFocus=!0),it.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(q){return fe(q,this.startValue,this.endValue)}_isRangeEnd(q){return he(q,this.startValue,this.endValue)}_isInRange(q){return et(q,this.startValue,this.endValue,this.isRange)}_isComparisonStart(q){return fe(q,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(q,it,Ae){if(!this._isComparisonStart(q)||this._isRangeStart(q)||!this._isInRange(q))return!1;let mt=this.rows[it][Ae-1];if(!mt){const It=this.rows[it-1];mt=It&&It[It.length-1]}return mt&&!this._isRangeEnd(mt.compareValue)}_isComparisonBridgeEnd(q,it,Ae){if(!this._isComparisonEnd(q)||this._isRangeEnd(q)||!this._isInRange(q))return!1;let mt=this.rows[it][Ae+1];if(!mt){const It=this.rows[it+1];mt=It&&It[0]}return mt&&!this._isRangeStart(mt.compareValue)}_isComparisonEnd(q){return he(q,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(q){return et(q,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(q){return this.comparisonStart===this.comparisonEnd&&q===this.comparisonStart}_isPreviewStart(q){return fe(q,this.previewStart,this.previewEnd)}_isPreviewEnd(q){return he(q,this.previewStart,this.previewEnd)}_isInPreview(q){return et(q,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(q){return this.isRange?this.startValue===q&&this.endValue===q?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===q?this._startDateLabelId:this.endValue===q?this._endDateLabelId:null:null}_getCellFromElement(q){const it=se(q);if(it){const Ae=it.getAttribute("data-mat-row"),mt=it.getAttribute("data-mat-col");if(Ae&&mt)return this.rows[parseInt(Ae)][parseInt(mt)]}return null}static{this.\u0275fac=function(it){return new(it||ct)(l.rXU(l.aKT),l.rXU(l.SKi))}}static{this.\u0275cmp=l.VBU({type:ct,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.OA$],attrs:ye,decls:7,vars:5,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(it,Ae){1&it&&(l.DNE(0,ue,3,6,"tr",0),l.Z7z(1,n,4,1,"tr",1,l.fX1),l.j41(3,"label",2),l.EFF(4),l.k0s(),l.j41(5,"label",2),l.EFF(6),l.k0s()),2&it&&(l.vxM(Ae._firstRowOffset<Ae.labelMinRequiredCells?0:-1),l.R7$(),l.Dyx(Ae.rows),l.R7$(2),l.Y8G("id",Ae._startDateLabelId),l.R7$(),l.SpI(" ",Ae.startDateAccessibleName,"\n"),l.R7$(),l.Y8G("id",Ae._endDateLabelId),l.R7$(),l.SpI(" ",Ae.endDateAccessibleName,"\n"))},dependencies:[S.YU],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 ct})();function We(ct){return"TD"===ct?.nodeName}function se(ct){let Bt;return We(ct)?Bt=ct:We(ct.parentNode)?Bt=ct.parentNode:We(ct.parentNode?.parentNode)&&(Bt=ct.parentNode.parentNode),null!=Bt?.getAttribute("data-mat-row")?Bt:null}function fe(ct,Bt,q){return null!==q&&Bt!==q&&ct<q&&ct===Bt}function he(ct,Bt,q){return null!==Bt&&Bt!==q&&ct>=Bt&&ct===q}function et(ct,Bt,q,it){return it&&null!==Bt&&null!==q&&Bt!==q&&ct>=Bt&&ct<=q}function Ke(ct){const Bt=ct.changedTouches[0];return document.elementFromPoint(Bt.clientX,Bt.clientY)}class Ct{constructor(Bt,q){this.start=Bt,this.end=q}}let _t=(()=>{class ct{constructor(q,it){this.selection=q,this._adapter=it,this._selectionChanged=new d.B,this.selectionChanged=this._selectionChanged,this.selection=q}updateSelection(q,it){const Ae=this.selection;this.selection=q,this._selectionChanged.next({selection:q,source:it,oldValue:Ae})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(q){return this._adapter.isDateInstance(q)&&this._adapter.isValid(q)}static{this.\u0275fac=function(it){l.QTQ()}}static{this.\u0275prov=l.jDH({token:ct,factory:ct.\u0275fac})}}return ct})(),Nt=(()=>{class ct extends _t{constructor(q){super(null,q)}add(q){super.updateSelection(q,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const q=new ct(this._adapter);return q.updateSelection(this.selection,this),q}static{this.\u0275fac=function(it){return new(it||ct)(l.KVO(R.MJ))}}static{this.\u0275prov=l.jDH({token:ct,factory:ct.\u0275fac})}}return ct})();const Qe={provide:_t,deps:[[new l.Xx1,new l.kdw,_t],R.MJ],useFactory:function Je(ct,Bt){return ct||new Nt(Bt)}},ht=new l.nKC("MAT_DATE_RANGE_SELECTION_STRATEGY");let Ze=(()=>{class ct{get activeDate(){return this._activeDate}set activeDate(q){const it=this._activeDate,Ae=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ae,this.minDate,this.maxDate),this._hasSameMonthAndYear(it,this._activeDate)||this._init()}get selected(){return this._selected}set selected(q){this._selected=q instanceof Ct?q:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(q){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))}get maxDate(){return this._maxDate}set maxDate(q){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))}constructor(q,it,Ae,mt,It){this._changeDetectorRef=q,this._dateFormats=it,this._dateAdapter=Ae,this._dir=mt,this._rangeStrategy=It,this._rerenderSubscription=w.yU.EMPTY,this.activeDrag=null,this.selectedChange=new l.bkB,this._userSelection=new l.bkB,this.dragStarted=new l.bkB,this.dragEnded=new l.bkB,this.activeDateChange=new l.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,G.Z)(null)).subscribe(()=>this._init())}ngOnChanges(q){const it=q.comparisonStart||q.comparisonEnd;it&&!it.firstChange&&this._setRanges(this.selected),q.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(q){const it=q.value,Ae=this._getDateFromDayOfMonth(it);let mt,It;this._selected instanceof Ct?(mt=this._getDateInCurrentMonth(this._selected.start),It=this._getDateInCurrentMonth(this._selected.end)):mt=It=this._getDateInCurrentMonth(this._selected),(mt!==it||It!==it)&&this.selectedChange.emit(Ae),this._userSelection.emit({value:Ae,event:q.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(q){const Ae=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(q.value),this._dateAdapter.compareDate(Ae,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(q){const it=this._activeDate,Ae=this._isRtl();switch(q.keyCode){case k.UQ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ae?1:-1);break;case k.LE:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ae?-1:1);break;case k.i7:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case k.n6:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case k.yZ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case k.Kp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case k.w_:this.activeDate=q.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case k.dB:this.activeDate=q.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case k.Fm:case k.t6:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&q.preventDefault());case k._f:return void(null!=this._previewEnd&&!(0,k.rp)(q)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:q}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:q})),q.preventDefault(),q.stopPropagation()));default:return}this._dateAdapter.compareDate(it,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),q.preventDefault()}_handleCalendarBodyKeyup(q){(q.keyCode===k.t6||q.keyCode===k.Fm)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:q}),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 q=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(q)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(q){this._matCalendarBody._focusActiveCell(q)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:q,value:it}){if(this._rangeStrategy){const Ae=it?it.rawValue:null,mt=this._rangeStrategy.createPreview(Ae,this.selected,q);if(this._previewStart=this._getCellCompareValue(mt.start),this._previewEnd=this._getCellCompareValue(mt.end),this.activeDrag&&Ae){const It=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Ae,q);It&&(this._previewStart=this._getCellCompareValue(It.start),this._previewEnd=this._getCellCompareValue(It.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(q){if(this.activeDrag)if(q.value){const it=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,q.value,q.event);this.dragEnded.emit({value:it??null,event:q.event})}else this.dragEnded.emit({value:null,event:q.event})}_getDateFromDayOfMonth(q){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),q)}_initWeekdays(){const q=this._dateAdapter.getFirstDayOfWeek(),it=this._dateAdapter.getDayOfWeekNames("narrow");let mt=this._dateAdapter.getDayOfWeekNames("long").map((It,Ci)=>({long:It,narrow:it[Ci]}));this._weekdays=mt.slice(q).concat(mt.slice(0,q))}_createWeekCells(){const q=this._dateAdapter.getNumDaysInMonth(this.activeDate),it=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ae=0,mt=this._firstWeekOffset;Ae<q;Ae++,mt++){7==mt&&(this._weeks.push([]),mt=0);const It=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Ae+1),Ci=this._shouldEnableDate(It),un=this._dateAdapter.format(It,this._dateFormats.display.dateA11yLabel),Dn=this.dateClass?this.dateClass(It,"month"):void 0;this._weeks[this._weeks.length-1].push(new re(Ae+1,it[Ae],un,Ci,Dn,this._getCellCompareValue(It),It))}}_shouldEnableDate(q){return!!q&&(!this.minDate||this._dateAdapter.compareDate(q,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(q,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(q))}_getDateInCurrentMonth(q){return q&&this._hasSameMonthAndYear(q,this.activeDate)?this._dateAdapter.getDate(q):null}_hasSameMonthAndYear(q,it){return!(!q||!it||this._dateAdapter.getMonth(q)!=this._dateAdapter.getMonth(it)||this._dateAdapter.getYear(q)!=this._dateAdapter.getYear(it))}_getCellCompareValue(q){if(q){const it=this._dateAdapter.getYear(q),Ae=this._dateAdapter.getMonth(q),mt=this._dateAdapter.getDate(q);return new Date(it,Ae,mt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(q){q instanceof Ct?(this._rangeStart=this._getCellCompareValue(q.start),this._rangeEnd=this._getCellCompareValue(q.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(q),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(q){return!this.dateFilter||this.dateFilter(q)}_clearPreview(){this._previewStart=this._previewEnd=null}static{this.\u0275fac=function(it){return new(it||ct)(l.rXU(l.gRc),l.rXU(R.de,8),l.rXU(R.MJ,8),l.rXU(F.dS,8),l.rXU(ht,8))}}static{this.\u0275cmp=l.VBU({type:ct,selectors:[["mat-month-view"]],viewQuery:function(it,Ae){if(1&it&&l.GBs(pe,5),2&it){let mt;l.mGM(mt=l.lsd())&&(Ae._matCalendarBody=mt.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.OA$],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(it,Ae){1&it&&(l.j41(0,"table",0)(1,"thead",1)(2,"tr"),l.Z7z(3,c,5,2,"th",2,l.fX1),l.k0s(),l.j41(5,"tr"),l.nrm(6,"th",3),l.k0s()(),l.j41(7,"tbody",4),l.bIt("selectedValueChange",function(It){return Ae._dateSelected(It)})("activeDateChange",function(It){return Ae._updateActiveDate(It)})("previewChange",function(It){return Ae._previewChanged(It)})("dragStarted",function(It){return Ae.dragStarted.emit(It)})("dragEnded",function(It){return Ae._dragEnded(It)})("keyup",function(It){return Ae._handleCalendarBodyKeyup(It)})("keydown",function(It){return Ae._handleCalendarBodyKeydown(It)}),l.k0s()()),2&it&&(l.R7$(3),l.Dyx(Ae._weekdays),l.R7$(4),l.Y8G("label",Ae._monthLabel)("rows",Ae._weeks)("todayValue",Ae._todayDate)("startValue",Ae._rangeStart)("endValue",Ae._rangeEnd)("comparisonStart",Ae._comparisonRangeStart)("comparisonEnd",Ae._comparisonRangeEnd)("previewStart",Ae._previewStart)("previewEnd",Ae._previewEnd)("isRange",Ae._isRange)("labelMinRequiredCells",3)("activeCell",Ae._dateAdapter.getDate(Ae.activeDate)-1)("startDateAccessibleName",Ae.startDateAccessibleName)("endDateAccessibleName",Ae.endDateAccessibleName))},dependencies:[pe],encapsulation:2,changeDetection:0})}}return ct})();const jt=24;let dt=(()=>{class ct{get activeDate(){return this._activeDate}set activeDate(q){let it=this._activeDate;const Ae=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ae,this.minDate,this.maxDate),Le(this._dateAdapter,it,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(q){this._selected=q instanceof Ct?q:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q)),this._setSelectedYear(q)}get minDate(){return this._minDate}set minDate(q){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))}get maxDate(){return this._maxDate}set maxDate(q){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))}constructor(q,it,Ae){this._changeDetectorRef=q,this._dateAdapter=it,this._dir=Ae,this._rerenderSubscription=w.yU.EMPTY,this.selectedChange=new l.bkB,this.yearSelected=new l.bkB,this.activeDateChange=new l.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,G.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const it=this._dateAdapter.getYear(this._activeDate)-Vt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Ae=0,mt=[];Ae<jt;Ae++)mt.push(it+Ae),4==mt.length&&(this._years.push(mt.map(It=>this._createCellForYear(It))),mt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(q){const it=q.value,Ae=this._dateAdapter.createDate(it,0,1),mt=this._getDateFromYear(it);this.yearSelected.emit(Ae),this.selectedChange.emit(mt)}_updateActiveDate(q){const Ae=this._activeDate;this.activeDate=this._getDateFromYear(q.value),this._dateAdapter.compareDate(Ae,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(q){const it=this._activeDate,Ae=this._isRtl();switch(q.keyCode){case k.UQ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ae?1:-1);break;case k.LE:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ae?-1:1);break;case k.i7:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case k.n6:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case k.yZ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Vt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case k.Kp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,jt-Vt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case k.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,q.altKey?10*-jt:-jt);break;case k.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,q.altKey?10*jt:jt);break;case k.Fm:case k.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(it,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),q.preventDefault()}_handleCalendarBodyKeyup(q){(q.keyCode===k.t6||q.keyCode===k.Fm)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:q}),this._selectionKeyPressed=!1)}_getActiveCell(){return Vt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(q){const it=this._dateAdapter.getMonth(this.activeDate),Ae=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(q,it,1));return this._dateAdapter.createDate(q,it,Math.min(this._dateAdapter.getDate(this.activeDate),Ae))}_createCellForYear(q){const it=this._dateAdapter.createDate(q,0,1),Ae=this._dateAdapter.getYearName(it),mt=this.dateClass?this.dateClass(it,"multi-year"):void 0;return new re(q,Ae,Ae,this._shouldEnableYear(q),mt)}_shouldEnableYear(q){if(null==q||this.maxDate&&q>this._dateAdapter.getYear(this.maxDate)||this.minDate&&q<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let Ae=this._dateAdapter.createDate(q,0,1);this._dateAdapter.getYear(Ae)==q;Ae=this._dateAdapter.addCalendarDays(Ae,1))if(this.dateFilter(Ae))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(q){if(this._selectedYear=null,q instanceof Ct){const it=q.start||q.end;it&&(this._selectedYear=this._dateAdapter.getYear(it))}else q&&(this._selectedYear=this._dateAdapter.getYear(q))}static{this.\u0275fac=function(it){return new(it||ct)(l.rXU(l.gRc),l.rXU(R.MJ,8),l.rXU(F.dS,8))}}static{this.\u0275cmp=l.VBU({type:ct,selectors:[["mat-multi-year-view"]],viewQuery:function(it,Ae){if(1&it&&l.GBs(pe,5),2&it){let mt;l.mGM(mt=l.lsd())&&(Ae._matCalendarBody=mt.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,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(it,Ae){1&it&&(l.j41(0,"table",0)(1,"thead",1)(2,"tr"),l.nrm(3,"th",2),l.k0s()(),l.j41(4,"tbody",3),l.bIt("selectedValueChange",function(It){return Ae._yearSelected(It)})("activeDateChange",function(It){return Ae._updateActiveDate(It)})("keyup",function(It){return Ae._handleCalendarBodyKeyup(It)})("keydown",function(It){return Ae._handleCalendarBodyKeydown(It)}),l.k0s()()),2&it&&(l.R7$(4),l.Y8G("rows",Ae._years)("todayValue",Ae._todayYear)("startValue",Ae._selectedYear)("endValue",Ae._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",Ae._getActiveCell()))},dependencies:[pe],encapsulation:2,changeDetection:0})}}return ct})();function Le(ct,Bt,q,it,Ae){const mt=ct.getYear(Bt),It=ct.getYear(q),Ci=Zt(ct,it,Ae);return Math.floor((mt-Ci)/jt)===Math.floor((It-Ci)/jt)}function Vt(ct,Bt,q,it){return function Et(ct,Bt){return(ct%Bt+Bt)%Bt}(ct.getYear(Bt)-Zt(ct,q,it),jt)}function Zt(ct,Bt,q){let it=0;return q?it=ct.getYear(q)-jt+1:Bt&&(it=ct.getYear(Bt)),it}let je=(()=>{class ct{get activeDate(){return this._activeDate}set activeDate(q){let it=this._activeDate;const Ae=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ae,this.minDate,this.maxDate),this._dateAdapter.getYear(it)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(q){this._selected=q instanceof Ct?q:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q)),this._setSelectedMonth(q)}get minDate(){return this._minDate}set minDate(q){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))}get maxDate(){return this._maxDate}set maxDate(q){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))}constructor(q,it,Ae,mt){this._changeDetectorRef=q,this._dateFormats=it,this._dateAdapter=Ae,this._dir=mt,this._rerenderSubscription=w.yU.EMPTY,this.selectedChange=new l.bkB,this.monthSelected=new l.bkB,this.activeDateChange=new l.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,G.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(q){const it=q.value,Ae=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),it,1);this.monthSelected.emit(Ae);const mt=this._getDateFromMonth(it);this.selectedChange.emit(mt)}_updateActiveDate(q){const Ae=this._activeDate;this.activeDate=this._getDateFromMonth(q.value),this._dateAdapter.compareDate(Ae,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(q){const it=this._activeDate,Ae=this._isRtl();switch(q.keyCode){case k.UQ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ae?1:-1);break;case k.LE:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ae?-1:1);break;case k.i7:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case k.n6:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case k.yZ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case k.Kp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case k.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,q.altKey?-10:-1);break;case k.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,q.altKey?10:1);break;case k.Fm:case k.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(it,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),q.preventDefault()}_handleCalendarBodyKeyup(q){(q.keyCode===k.t6||q.keyCode===k.Fm)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:q}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let q=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(it=>it.map(Ae=>this._createCellForMonth(Ae,q[Ae]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(q){return q&&this._dateAdapter.getYear(q)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(q):null}_getDateFromMonth(q){const it=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),q,1),Ae=this._dateAdapter.getNumDaysInMonth(it);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),q,Math.min(this._dateAdapter.getDate(this.activeDate),Ae))}_createCellForMonth(q,it){const Ae=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),q,1),mt=this._dateAdapter.format(Ae,this._dateFormats.display.monthYearA11yLabel),It=this.dateClass?this.dateClass(Ae,"year"):void 0;return new re(q,it.toLocaleUpperCase(),mt,this._shouldEnableMonth(q),It)}_shouldEnableMonth(q){const it=this._dateAdapter.getYear(this.activeDate);if(null==q||this._isYearAndMonthAfterMaxDate(it,q)||this._isYearAndMonthBeforeMinDate(it,q))return!1;if(!this.dateFilter)return!0;for(let mt=this._dateAdapter.createDate(it,q,1);this._dateAdapter.getMonth(mt)==q;mt=this._dateAdapter.addCalendarDays(mt,1))if(this.dateFilter(mt))return!0;return!1}_isYearAndMonthAfterMaxDate(q,it){if(this.maxDate){const Ae=this._dateAdapter.getYear(this.maxDate),mt=this._dateAdapter.getMonth(this.maxDate);return q>Ae||q===Ae&&it>mt}return!1}_isYearAndMonthBeforeMinDate(q,it){if(this.minDate){const Ae=this._dateAdapter.getYear(this.minDate),mt=this._dateAdapter.getMonth(this.minDate);return q<Ae||q===Ae&&it<mt}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(q){this._selectedMonth=q instanceof Ct?this._getMonthInCurrentYear(q.start)||this._getMonthInCurrentYear(q.end):this._getMonthInCurrentYear(q)}static{this.\u0275fac=function(it){return new(it||ct)(l.rXU(l.gRc),l.rXU(R.de,8),l.rXU(R.MJ,8),l.rXU(F.dS,8))}}static{this.\u0275cmp=l.VBU({type:ct,selectors:[["mat-year-view"]],viewQuery:function(it,Ae){if(1&it&&l.GBs(pe,5),2&it){let mt;l.mGM(mt=l.lsd())&&(Ae._matCalendarBody=mt.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,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(it,Ae){1&it&&(l.j41(0,"table",0)(1,"thead",1)(2,"tr"),l.nrm(3,"th",2),l.k0s()(),l.j41(4,"tbody",3),l.bIt("selectedValueChange",function(It){return Ae._monthSelected(It)})("activeDateChange",function(It){return Ae._updateActiveDate(It)})("keyup",function(It){return Ae._handleCalendarBodyKeyup(It)})("keydown",function(It){return Ae._handleCalendarBodyKeydown(It)}),l.k0s()()),2&it&&(l.R7$(4),l.Y8G("label",Ae._yearLabel)("rows",Ae._months)("todayValue",Ae._todayMonth)("startValue",Ae._selectedMonth)("endValue",Ae._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",Ae._dateAdapter.getMonth(Ae.activeDate)))},dependencies:[pe],encapsulation:2,changeDetection:0})}}return ct})(),me=1,xe=(()=>{class ct{constructor(q,it,Ae,mt,It){this._intl=q,this.calendar=it,this._dateAdapter=Ae,this._dateFormats=mt,this._id="mat-calendar-header-"+me++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>It.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:-jt)}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:jt)}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(q,it){return"month"==this.calendar.currentView?this._dateAdapter.getYear(q)==this._dateAdapter.getYear(it)&&this._dateAdapter.getMonth(q)==this._dateAdapter.getMonth(it):"year"==this.calendar.currentView?this._dateAdapter.getYear(q)==this._dateAdapter.getYear(it):Le(this._dateAdapter,q,it,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const it=this._dateAdapter.getYear(this.calendar.activeDate)-Vt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Ae=it+jt-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(it,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Ae,0,1))]}static{this.\u0275fac=function(it){return new(it||ct)(l.rXU(rt),l.rXU((0,l.Rfq)(()=>ce)),l.rXU(R.MJ,8),l.rXU(R.de,8),l.rXU(l.gRc))}}static{this.\u0275cmp=l.VBU({type:ct,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,"click","disabled"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(it,Ae){1&it&&(l.NAR(),l.j41(0,"div",0)(1,"div",1)(2,"button",2),l.bIt("click",function(){return Ae.currentPeriodClicked()}),l.j41(3,"span",3),l.EFF(4),l.k0s(),l.qSk(),l.j41(5,"svg",4),l.nrm(6,"polygon",5),l.k0s()(),l.joV(),l.nrm(7,"div",6),l.SdG(8),l.j41(9,"button",7),l.bIt("click",function(){return Ae.previousClicked()}),l.k0s(),l.j41(10,"button",8),l.bIt("click",function(){return Ae.nextClicked()}),l.k0s()()(),l.j41(11,"label",9),l.EFF(12),l.k0s()),2&it&&(l.R7$(2),l.BMQ("aria-label",Ae.periodButtonLabel)("aria-describedby",Ae._periodButtonLabelId),l.R7$(2),l.JRh(Ae.periodButtonText),l.R7$(),l.AVh("mat-calendar-invert","month"!==Ae.calendar.currentView),l.R7$(4),l.Y8G("disabled",!Ae.previousEnabled()),l.BMQ("aria-label",Ae.prevButtonLabel),l.R7$(),l.Y8G("disabled",!Ae.nextEnabled()),l.BMQ("aria-label",Ae.nextButtonLabel),l.R7$(),l.Y8G("id",Ae._periodButtonLabelId),l.R7$(),l.JRh(Ae.periodButtonDescription))},dependencies:[x.$z,x.iY],encapsulation:2,changeDetection:0})}}return ct})(),ce=(()=>{class ct{get startAt(){return this._startAt}set startAt(q){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))}get selected(){return this._selected}set selected(q){this._selected=q instanceof Ct?q:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))}get minDate(){return this._minDate}set minDate(q){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))}get maxDate(){return this._maxDate}set maxDate(q){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))}get activeDate(){return this._clampedActiveDate}set activeDate(q){this._clampedActiveDate=this._dateAdapter.clampDate(q,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(q){const it=this._currentView!==q?q:null;this._currentView=q,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),it&&this.viewChanged.emit(it)}constructor(q,it,Ae,mt){this._dateAdapter=it,this._dateFormats=Ae,this._changeDetectorRef=mt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new l.bkB,this.yearSelected=new l.bkB,this.monthSelected=new l.bkB,this.viewChanged=new l.bkB(!0),this._userSelection=new l.bkB,this._userDragDrop=new l.bkB,this._activeDrag=null,this.stateChanges=new d.B,this._intlChanges=q.changes.subscribe(()=>{mt.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new C.A8(this.headerComponent||xe),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(q){const it=q.minDate&&!this._dateAdapter.sameDate(q.minDate.previousValue,q.minDate.currentValue)?q.minDate:void 0,Ae=q.maxDate&&!this._dateAdapter.sameDate(q.maxDate.previousValue,q.maxDate.currentValue)?q.maxDate:void 0,mt=it||Ae||q.dateFilter;if(mt&&!mt.firstChange){const It=this._getCurrentViewComponent();It&&(this._changeDetectorRef.detectChanges(),It._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(q){const it=q.value;(this.selected instanceof Ct||it&&!this._dateAdapter.sameDate(it,this.selected))&&this.selectedChange.emit(it),this._userSelection.emit(q)}_yearSelectedInMultiYearView(q){this.yearSelected.emit(q)}_monthSelectedInYearView(q){this.monthSelected.emit(q)}_goToDateInView(q,it){this.activeDate=q,this.currentView=it}_dragStarted(q){this._activeDrag=q}_dragEnded(q){this._activeDrag&&(q.value&&this._userDragDrop.emit(q),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static{this.\u0275fac=function(it){return new(it||ct)(l.rXU(rt),l.rXU(R.MJ,8),l.rXU(R.de,8),l.rXU(l.gRc))}}static{this.\u0275cmp=l.VBU({type:ct,selectors:[["mat-calendar"]],viewQuery:function(it,Ae){if(1&it&&(l.GBs(Ze,5),l.GBs(je,5),l.GBs(dt,5)),2&it){let mt;l.mGM(mt=l.lsd())&&(Ae.monthView=mt.first),l.mGM(mt=l.lsd())&&(Ae.yearView=mt.first),l.mGM(mt=l.lsd())&&(Ae.multiYearView=mt.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.Jv_([Qe]),l.OA$],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"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(it,Ae){if(1&it&&(l.DNE(0,h,0,0,"ng-template",0),l.j41(1,"div",1),l.DNE(2,M,1,11,"mat-month-view",2)(3,L,1,6,"mat-year-view",3)(4,O,1,6,"mat-multi-year-view",3),l.k0s()),2&it){let mt;l.Y8G("cdkPortalOutlet",Ae._calendarHeaderPortal),l.R7$(2),l.vxM("month"===(mt=Ae.currentView)?2:"year"===mt?3:"multi-year"===mt?4:-1)}},dependencies:[t.vR,C.I3,Ze,je,dt],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 ct})();const Me={transformPanel:(0,Z.hZ)("transformPanel",[(0,Z.kY)("void => enter-dropdown",(0,Z.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Z.i7)([(0,Z.iF)({opacity:0,transform:"scale(1, 0.8)"}),(0,Z.iF)({opacity:1,transform:"scale(1, 1)"})]))),(0,Z.kY)("void => enter-dialog",(0,Z.i0)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,Z.i7)([(0,Z.iF)({opacity:0,transform:"scale(0.7)"}),(0,Z.iF)({transform:"none",opacity:1})]))),(0,Z.kY)("* => void",(0,Z.i0)("100ms linear",(0,Z.iF)({opacity:0})))]),fadeInCalendar:(0,Z.hZ)("fadeInCalendar",[(0,Z.wk)("void",(0,Z.iF)({opacity:0})),(0,Z.wk)("enter",(0,Z.iF)({opacity:1})),(0,Z.kY)("void => *",(0,Z.i0)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Xe=0;const Pe=new l.nKC("mat-datepicker-scroll-strategy"),we={provide:Pe,deps:[e.hJ],useFactory:function Oe(ct){return()=>ct.scrollStrategies.reposition()}},De=(0,R.Zc)(class{constructor(ct){this._elementRef=ct}});let $e=(()=>{class ct extends De{constructor(q,it,Ae,mt,It,Ci){super(q),this._changeDetectorRef=it,this._globalModel=Ae,this._dateAdapter=mt,this._rangeSelectionStrategy=It,this._subscriptions=new w.yU,this._animationDone=new d.B,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Ci.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(q){const it=this._model.selection,Ae=q.value,mt=it instanceof Ct;if(mt&&this._rangeSelectionStrategy){const It=this._rangeSelectionStrategy.selectionFinished(Ae,it,q.event);this._model.updateSelection(It,this)}else Ae&&(mt||!this._dateAdapter.sameDate(Ae,it))&&this._model.add(Ae);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(q){this._model.updateSelection(q.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(q){this._isAnimating="start"===q.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(q,it){this._model=q?this._globalModel.clone():this._globalModel,this._actionsPortal=q,it&&this._changeDetectorRef.detectChanges()}static{this.\u0275fac=function(it){return new(it||ct)(l.rXU(l.aKT),l.rXU(l.gRc),l.rXU(_t),l.rXU(R.MJ),l.rXU(ht,8),l.rXU(rt))}}static{this.\u0275cmp=l.VBU({type:ct,selectors:[["mat-datepicker-content"]],viewQuery:function(it,Ae){if(1&it&&l.GBs(ce,5),2&it){let mt;l.mGM(mt=l.lsd())&&(Ae._calendar=mt.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(it,Ae){1&it&&l.Kam("@transformPanel.start",function(It){return Ae._handleAnimationEvent(It)})("@transformPanel.done",function(It){return Ae._handleAnimationEvent(It)}),2&it&&(l.zvX("@transformPanel",Ae._animationState),l.AVh("mat-datepicker-content-touch",Ae.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[l.Vt3],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(it,Ae){if(1&it&&(l.j41(0,"div",0)(1,"mat-calendar",1),l.bIt("yearSelected",function(It){return Ae.datepicker._selectYear(It)})("monthSelected",function(It){return Ae.datepicker._selectMonth(It)})("viewChanged",function(It){return Ae.datepicker._viewChanged(It)})("_userSelection",function(It){return Ae._handleUserSelection(It)})("_userDragDrop",function(It){return Ae._handleUserDragDrop(It)}),l.k0s(),l.DNE(2,_,0,0,"ng-template",2),l.j41(3,"button",3),l.bIt("focus",function(){return Ae._closeButtonFocused=!0})("blur",function(){return Ae._closeButtonFocused=!1})("click",function(){return Ae.datepicker.close()}),l.EFF(4),l.k0s()()),2&it){let mt;l.AVh("mat-datepicker-content-container-with-custom-header",Ae.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Ae._actionsPortal),l.BMQ("aria-modal",!0)("aria-labelledby",null!==(mt=Ae._dialogLabelId)&&void 0!==mt?mt:void 0),l.R7$(),l.Y8G("id",Ae.datepicker.id)("ngClass",Ae.datepicker.panelClass)("startAt",Ae.datepicker.startAt)("startView",Ae.datepicker.startView)("minDate",Ae.datepicker._getMinDate())("maxDate",Ae.datepicker._getMaxDate())("dateFilter",Ae.datepicker._getDateFilter())("headerComponent",Ae.datepicker.calendarHeaderComponent)("selected",Ae._getSelected())("dateClass",Ae.datepicker.dateClass)("comparisonStart",Ae.comparisonStart)("comparisonEnd",Ae.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",Ae.startDateAccessibleName)("endDateAccessibleName",Ae.endDateAccessibleName),l.R7$(),l.Y8G("cdkPortalOutlet",Ae._actionsPortal),l.R7$(),l.AVh("cdk-visually-hidden",!Ae._closeButtonFocused),l.Y8G("color",Ae.color||"primary"),l.R7$(),l.JRh(Ae._closeButtonText)}},dependencies:[S.YU,x.$z,t.kB,C.I3,ce],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:[Me.transformPanel,Me.fadeInCalendar]},changeDetection:0})}}return ct})(),$t=(()=>{class ct{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(q){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(q){this._color=q}get touchUi(){return this._touchUi}set touchUi(q){this._touchUi=(0,$.he)(q)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(q){const it=(0,$.he)(q);it!==this._disabled&&(this._disabled=it,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(q){this._restoreFocus=(0,$.he)(q)}get panelClass(){return this._panelClass}set panelClass(q){this._panelClass=(0,$.cc)(q)}get opened(){return this._opened}set opened(q){(0,$.he)(q)?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(q,it,Ae,mt,It,Ci,un){this._overlay=q,this._ngZone=it,this._viewContainerRef=Ae,this._dateAdapter=It,this._dir=Ci,this._model=un,this._inputStateChanges=w.yU.EMPTY,this._document=(0,l.WQX)(S.qQ),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new l.bkB,this.monthSelected=new l.bkB,this.viewChanged=new l.bkB(!0),this.openedStream=new l.bkB,this.closedStream=new l.bkB,this._opened=!1,this.id="mat-datepicker-"+Xe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.B,this._scrollStrategy=mt}ngOnChanges(q){const it=q.xPosition||q.yPosition;if(it&&!it.firstChange&&this._overlayRef){const Ae=this._overlayRef.getConfig().positionStrategy;Ae instanceof e.rW&&(this._setConnectedPositions(Ae),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(q){this._model.add(q)}_selectYear(q){this.yearSelected.emit(q)}_selectMonth(q){this.monthSelected.emit(q)}_viewChanged(q){this.viewChanged.emit(q)}registerInput(q){return this._inputStateChanges.unsubscribe(),this.datepickerInput=q,this._inputStateChanges=q.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(q){this._actionsPortal=q,this._componentRef?.instance._assignActions(q,!0)}removeActions(q){q===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,V.vc)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const q=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,it=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Ae,location:mt}=this._componentRef;Ae._startExitAnimation(),Ae._animationDone.pipe((0,U.s)(1)).subscribe(()=>{const It=this._document.activeElement;q&&(!It||It===this._document.activeElement||mt.nativeElement.contains(It))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}q?setTimeout(it):it()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(q){q.datepicker=this,q.color=this.color,q._dialogLabelId=this.datepickerInput.getOverlayLabelId(),q._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const q=this.touchUi,it=new C.A8($e,this._viewContainerRef),Ae=this._overlayRef=this._overlay.create(new e.rR({positionStrategy:q?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[q?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:q?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(q?"dialog":"popup")}));this._getCloseStream(Ae).subscribe(mt=>{mt&&mt.preventDefault(),this.close()}),Ae.keydownEvents().subscribe(mt=>{const It=mt.keyCode;(It===k.i7||It===k.n6||It===k.UQ||It===k.LE||It===k.w_||It===k.dB)&&mt.preventDefault()}),this._componentRef=Ae.attach(it),this._forwardContentValues(this._componentRef.instance),q||this._ngZone.onStable.pipe((0,U.s)(1)).subscribe(()=>Ae.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const q=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(q)}_setConnectedPositions(q){const it="end"===this.xPosition?"end":"start",Ae="start"===it?"end":"start",mt="above"===this.yPosition?"bottom":"top",It="top"===mt?"bottom":"top";return q.withPositions([{originX:it,originY:It,overlayX:it,overlayY:mt},{originX:it,originY:mt,overlayX:it,overlayY:It},{originX:Ae,originY:It,overlayX:Ae,overlayY:mt},{originX:Ae,originY:mt,overlayX:Ae,overlayY:It}])}_getCloseStream(q){const it=["ctrlKey","shiftKey","metaKey"];return(0,y.h)(q.backdropClick(),q.detachments(),q.keydownEvents().pipe((0,Y.p)(Ae=>Ae.keyCode===k._f&&!(0,k.rp)(Ae)||this.datepickerInput&&(0,k.rp)(Ae,"altKey")&&Ae.keyCode===k.i7&&it.every(mt=>!(0,k.rp)(Ae,mt)))))}static{this.\u0275fac=function(it){return new(it||ct)(l.rXU(e.hJ),l.rXU(l.SKi),l.rXU(l.c1b),l.rXU(Pe),l.rXU(R.MJ,8),l.rXU(F.dS,8),l.rXU(_t))}}static{this.\u0275dir=l.FsC({type:ct,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.OA$]})}}return ct})(),Ft=(()=>{class ct extends $t{static{this.\u0275fac=(()=>{let q;return function(Ae){return(q||(q=l.xGo(ct)))(Ae||ct)}})()}static{this.\u0275cmp=l.VBU({type:ct,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[l.Jv_([Qe,{provide:$t,useExisting:ct}]),l.Vt3],decls:0,vars:0,template:function(it,Ae){},encapsulation:2,changeDetection:0})}}return ct})();class Kt{constructor(Bt,q){this.target=Bt,this.targetElement=q,this.value=this.target.value}}let fi=(()=>{class ct{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(q){this._assignValueProgrammatically(q)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(q){const it=(0,$.he)(q),Ae=this._elementRef.nativeElement;this._disabled!==it&&(this._disabled=it,this.stateChanges.next(void 0)),it&&this._isInitialized&&Ae.blur&&Ae.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(q){this._model=q,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(it=>{if(this._shouldHandleChangeEvent(it)){const Ae=this._getValueFromModel(it.selection);this._lastValueValid=this._isValidValue(Ae),this._cvaOnChange(Ae),this._onTouched(),this._formatValue(Ae),this.dateInput.emit(new Kt(this,this._elementRef.nativeElement)),this.dateChange.emit(new Kt(this,this._elementRef.nativeElement))}})}constructor(q,it,Ae){this._elementRef=q,this._dateAdapter=it,this._dateFormats=Ae,this.dateChange=new l.bkB,this.dateInput=new l.bkB,this.stateChanges=new d.B,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=w.yU.EMPTY,this._localeSubscription=w.yU.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=mt=>{const It=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(mt.value));return!It||this._matchesFilter(It)?null:{matDatepickerFilter:!0}},this._minValidator=mt=>{const It=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(mt.value)),Ci=this._getMinDate();return!Ci||!It||this._dateAdapter.compareDate(Ci,It)<=0?null:{matDatepickerMin:{min:Ci,actual:It}}},this._maxValidator=mt=>{const It=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(mt.value)),Ci=this._getMaxDate();return!Ci||!It||this._dateAdapter.compareDate(Ci,It)>=0?null:{matDatepickerMax:{max:Ci,actual:It}}},this._lastValueValid=!1,this._localeSubscription=it.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(q){(function Qt(ct,Bt){const q=Object.keys(ct);for(let it of q){const{previousValue:Ae,currentValue:mt}=ct[it];if(!Bt.isDateInstance(Ae)||!Bt.isDateInstance(mt))return!0;if(!Bt.sameDate(Ae,mt))return!0}return!1})(q,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(q){this._validatorOnChange=q}validate(q){return this._validator?this._validator(q):null}writeValue(q){this._assignValueProgrammatically(q)}registerOnChange(q){this._cvaOnChange=q}registerOnTouched(q){this._onTouched=q}setDisabledState(q){this.disabled=q}_onKeydown(q){(0,k.rp)(q,"altKey")&&q.keyCode===k.n6&&["ctrlKey","shiftKey","metaKey"].every(mt=>!(0,k.rp)(q,mt))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),q.preventDefault())}_onInput(q){const it=this._lastValueValid;let Ae=this._dateAdapter.parse(q,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ae),Ae=this._dateAdapter.getValidDateOrNull(Ae);const mt=!this._dateAdapter.sameDate(Ae,this.value);!Ae||mt?this._cvaOnChange(Ae):(q&&!this.value&&this._cvaOnChange(Ae),it!==this._lastValueValid&&this._validatorOnChange()),mt&&(this._assignValue(Ae),this.dateInput.emit(new Kt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Kt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(q){this._elementRef.nativeElement.value=null!=q?this._dateAdapter.format(q,this._dateFormats.display.dateInput):""}_assignValue(q){this._model?(this._assignValueToModel(q),this._pendingValue=null):this._pendingValue=q}_isValidValue(q){return!q||this._dateAdapter.isValid(q)}_parentDisabled(){return!1}_assignValueProgrammatically(q){q=this._dateAdapter.deserialize(q),this._lastValueValid=this._isValidValue(q),q=this._dateAdapter.getValidDateOrNull(q),this._assignValue(q),this._formatValue(q)}_matchesFilter(q){const it=this._getDateFilter();return!it||it(q)}static{this.\u0275fac=function(it){return new(it||ct)(l.rXU(l.aKT),l.rXU(R.MJ,8),l.rXU(R.de,8))}}static{this.\u0275dir=l.FsC({type:ct,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[l.OA$]})}}return ct})();const zt={provide:ie.kq,useExisting:(0,l.Rfq)(()=>ci),multi:!0},Xi={provide:ie.cz,useExisting:(0,l.Rfq)(()=>ci),multi:!0};let ci=(()=>{class ct extends fi{set matDatepicker(q){q&&(this._datepicker=q,this._closedSubscription=q.closedStream.subscribe(()=>this._onTouched()),this._registerModel(q.registerInput(this)))}get min(){return this._min}set min(q){const it=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q));this._dateAdapter.sameDate(it,this._min)||(this._min=it,this._validatorOnChange())}get max(){return this._max}set max(q){const it=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(q));this._dateAdapter.sameDate(it,this._max)||(this._max=it,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(q){const it=this._matchesFilter(this.value);this._dateFilter=q,this._matchesFilter(this.value)!==it&&this._validatorOnChange()}constructor(q,it,Ae,mt){super(q,it,Ae),this._formField=mt,this._closedSubscription=w.yU.EMPTY,this._validator=ie.k0.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(q){return q}_assignValueToModel(q){this._model&&this._model.updateSelection(q,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(q){return q.source!==this}static{this.\u0275fac=function(it){return new(it||ct)(l.rXU(l.aKT),l.rXU(R.MJ,8),l.rXU(R.de,8),l.rXU(ve.xb,8))}}static{this.\u0275dir=l.FsC({type:ct,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(it,Ae){1&it&&l.bIt("input",function(It){return Ae._onInput(It.target.value)})("change",function(){return Ae._onChange()})("blur",function(){return Ae._onBlur()})("keydown",function(It){return Ae._onKeydown(It)}),2&it&&(l.Mr5("disabled",Ae.disabled),l.BMQ("aria-haspopup",Ae._datepicker?"dialog":null)("aria-owns",(null==Ae._datepicker?null:Ae._datepicker.opened)&&Ae._datepicker.id||null)("min",Ae.min?Ae._dateAdapter.toIso8601(Ae.min):null)("max",Ae.max?Ae._dateAdapter.toIso8601(Ae.max):null)("data-mat-calendar",Ae._datepicker?Ae._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[l.Jv_([zt,Xi,{provide:ae.Oh,useExisting:ct}]),l.Vt3]})}}return ct})(),ui=(()=>{class ct{static{this.\u0275fac=function(it){return new(it||ct)}}static{this.\u0275dir=l.FsC({type:ct,selectors:[["","matDatepickerToggleIcon",""]]})}}return ct})(),bn=(()=>{class ct{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(q){this._disabled=(0,$.he)(q)}constructor(q,it,Ae){this._intl=q,this._changeDetectorRef=it,this._stateChanges=w.yU.EMPTY;const mt=Number(Ae);this.tabIndex=mt||0===mt?mt:null}ngOnChanges(q){q.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(q){this.datepicker&&!this.disabled&&(this.datepicker.open(),q.stopPropagation())}_watchStateChanges(){const q=this.datepicker?this.datepicker.stateChanges:(0,T.of)(),it=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,T.of)(),Ae=this.datepicker?(0,y.h)(this.datepicker.openedStream,this.datepicker.closedStream):(0,T.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,y.h)(this._intl.changes,q,it,Ae).subscribe(()=>this._changeDetectorRef.markForCheck())}static{this.\u0275fac=function(it){return new(it||ct)(l.rXU(rt),l.rXU(l.gRc),l.kS0("tabindex"))}}static{this.\u0275cmp=l.VBU({type:ct,selectors:[["mat-datepicker-toggle"]],contentQueries:function(it,Ae,mt){if(1&it&&l.wni(mt,ui,5),2&it){let It;l.mGM(It=l.lsd())&&(Ae._customIcon=It.first)}},viewQuery:function(it,Ae){if(1&it&&l.GBs(r,5),2&it){let mt;l.mGM(mt=l.lsd())&&(Ae._button=mt.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(it,Ae){1&it&&l.bIt("click",function(It){return Ae._open(It)}),2&it&&(l.BMQ("tabindex",null)("data-mat-calendar",Ae.datepicker?Ae.datepicker.id:null),l.AVh("mat-datepicker-toggle-active",Ae.datepicker&&Ae.datepicker.opened)("mat-accent",Ae.datepicker&&"accent"===Ae.datepicker.color)("mat-warn",Ae.datepicker&&"warn"===Ae.datepicker.color))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[l.OA$],ngContentSelectors:z,decls:4,vars:6,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["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(it,Ae){1&it&&(l.NAR(v),l.j41(0,"button",1,0),l.DNE(2,N,2,0,":svg:svg",2),l.SdG(3),l.k0s()),2&it&&(l.Y8G("disabled",Ae.disabled)("disableRipple",Ae.disableRipple),l.BMQ("aria-haspopup",Ae.datepicker?"dialog":null)("aria-label",Ae.ariaLabel||Ae._intl.openCalendarLabel)("tabindex",Ae.disabled?-1:Ae.tabIndex),l.R7$(2),l.vxM(Ae._customIcon?-1:2))},dependencies:[x.iY],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 ct})(),Dt=(()=>{class ct{static{this.\u0275fac=function(it){return new(it||ct)}}static{this.\u0275mod=l.$C({type:ct})}static{this.\u0275inj=l.G2t({providers:[rt,we],imports:[S.MD,x.Hl,e.z_,t.Pd,C.jc,R.yE,m.Gj]})}}return ct})()},5351:(Ve,ee,p)=>{"use strict";p.d(ee,{Vh:()=>re,di:()=>te,bZ:()=>We,tx:()=>fe,hM:()=>Nt,CP:()=>Ye});var t=p(6969),e=p(177),C=p(4438),S=p(8617),l=p(6860),x=p(6939),m=p(7336),R=p(1413),d=p(9030),w=p(7673),y=p(8203),T=p(9172);function k(Qe,nt){}class F{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 U=(()=>{class Qe extends x.lb{constructor(Ue,ht,tt,wt,ut,vt,Ze,jt){super(),this._elementRef=Ue,this._focusTrapFactory=ht,this._config=wt,this._interactivityChecker=ut,this._ngZone=vt,this._overlayRef=Ze,this._focusMonitor=jt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=qe=>{this._portalOutlet.hasAttached();const dt=this._portalOutlet.attachDomPortal(qe);return this._contentAttached(),dt},this._document=tt,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(Ue){this._portalOutlet.hasAttached();const ht=this._portalOutlet.attachComponentPortal(Ue);return this._contentAttached(),ht}attachTemplatePortal(Ue){this._portalOutlet.hasAttached();const ht=this._portalOutlet.attachTemplatePortal(Ue);return this._contentAttached(),ht}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Ue,ht){this._interactivityChecker.isFocusable(Ue)||(Ue.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const tt=()=>{Ue.removeEventListener("blur",tt),Ue.removeEventListener("mousedown",tt),Ue.removeAttribute("tabindex")};Ue.addEventListener("blur",tt),Ue.addEventListener("mousedown",tt)})),Ue.focus(ht)}_focusByCssSelector(Ue,ht){let tt=this._elementRef.nativeElement.querySelector(Ue);tt&&this._forceFocus(tt,ht)}_trapFocus(){const Ue=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||Ue.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ht=>{ht||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 Ue=this._config.restoreFocus;let ht=null;if("string"==typeof Ue?ht=this._document.querySelector(Ue):"boolean"==typeof Ue?ht=Ue?this._elementFocusedBeforeDialogWasOpened:null:Ue&&(ht=Ue),this._config.restoreFocus&&ht&&"function"==typeof ht.focus){const tt=(0,l.vc)(),wt=this._elementRef.nativeElement;(!tt||tt===this._document.body||tt===wt||wt.contains(tt))&&(this._focusMonitor?(this._focusMonitor.focusVia(ht,this._closeInteractionType),this._closeInteractionType=null):ht.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Ue=this._elementRef.nativeElement,ht=(0,l.vc)();return Ue===ht||Ue.contains(ht)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,l.vc)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(ht){return new(ht||Qe)(C.rXU(C.aKT),C.rXU(S.GX),C.rXU(e.qQ,8),C.rXU(F),C.rXU(S.Z7),C.rXU(C.SKi),C.rXU(t.yY),C.rXU(S.FN))}}static{this.\u0275cmp=C.VBU({type:Qe,selectors:[["cdk-dialog-container"]],viewQuery:function(ht,tt){if(1&ht&&C.GBs(x.I3,7),2&ht){let wt;C.mGM(wt=C.lsd())&&(tt._portalOutlet=wt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(ht,tt){2&ht&&C.BMQ("id",tt._config.id||null)("role",tt._config.role)("aria-modal",tt._config.ariaModal)("aria-labelledby",tt._config.ariaLabel?null:tt._ariaLabelledByQueue[0])("aria-label",tt._config.ariaLabel)("aria-describedby",tt._config.ariaDescribedBy||null)},standalone:!0,features:[C.Vt3,C.aNF],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ht,tt){1&ht&&C.DNE(0,k,0,0,"ng-template",0)},dependencies:[x.jc,x.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return Qe})();class G{constructor(nt,Ue){this.overlayRef=nt,this.config=Ue,this.closed=new R.B,this.disableClose=Ue.disableClose,this.backdropClick=nt.backdropClick(),this.keydownEvents=nt.keydownEvents(),this.outsidePointerEvents=nt.outsidePointerEvents(),this.id=Ue.id,this.keydownEvents.subscribe(ht=>{ht.keyCode===m._f&&!this.disableClose&&!(0,m.rp)(ht)&&(ht.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=nt.detachments().subscribe(()=>{!1!==Ue.closeOnOverlayDetachments&&this.close()})}close(nt,Ue){if(this.containerInstance){const ht=this.closed;this.containerInstance._closeInteractionType=Ue?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),ht.next(nt),ht.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(nt="",Ue=""){return this.overlayRef.updateSize({width:nt,height:Ue}),this}addPanelClass(nt){return this.overlayRef.addPanelClass(nt),this}removePanelClass(nt){return this.overlayRef.removePanelClass(nt),this}}const Y=new C.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const Qe=(0,C.WQX)(t.hJ);return()=>Qe.scrollStrategies.block()}}),$=new C.nKC("DialogData"),Z=new C.nKC("DefaultDialogConfig");let ae=0,ye=(()=>{class Qe{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(Ue,ht,tt,wt,ut,vt){this._overlay=Ue,this._injector=ht,this._defaultOptions=tt,this._parentDialog=wt,this._overlayContainer=ut,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R.B,this._afterOpenedAtThisLevel=new R.B,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,d.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,T.Z)(void 0))),this._scrollStrategy=vt}open(Ue,ht){(ht={...this._defaultOptions||new F,...ht}).id=ht.id||"cdk-dialog-"+ae++,ht.id&&this.getDialogById(ht.id);const wt=this._getOverlayConfig(ht),ut=this._overlay.create(wt),vt=new G(ut,ht),Ze=this._attachContainer(ut,vt,ht);return vt.containerInstance=Ze,this._attachDialogContent(Ue,vt,Ze,ht),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(vt),vt.closed.subscribe(()=>this._removeOpenDialog(vt,!0)),this.afterOpened.next(vt),vt}closeAll(){ue(this.openDialogs,Ue=>Ue.close())}getDialogById(Ue){return this.openDialogs.find(ht=>ht.id===Ue)}ngOnDestroy(){ue(this._openDialogsAtThisLevel,Ue=>{!1===Ue.config.closeOnDestroy&&this._removeOpenDialog(Ue,!1)}),ue(this._openDialogsAtThisLevel,Ue=>Ue.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Ue){const ht=new t.rR({positionStrategy:Ue.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:Ue.scrollStrategy||this._scrollStrategy(),panelClass:Ue.panelClass,hasBackdrop:Ue.hasBackdrop,direction:Ue.direction,minWidth:Ue.minWidth,minHeight:Ue.minHeight,maxWidth:Ue.maxWidth,maxHeight:Ue.maxHeight,width:Ue.width,height:Ue.height,disposeOnNavigation:Ue.closeOnNavigation});return Ue.backdropClass&&(ht.backdropClass=Ue.backdropClass),ht}_attachContainer(Ue,ht,tt){const wt=tt.injector||tt.viewContainerRef?.injector,ut=[{provide:F,useValue:tt},{provide:G,useValue:ht},{provide:t.yY,useValue:Ue}];let vt;tt.container?"function"==typeof tt.container?vt=tt.container:(vt=tt.container.type,ut.push(...tt.container.providers(tt))):vt=U;const Ze=new x.A8(vt,tt.viewContainerRef,C.zZn.create({parent:wt||this._injector,providers:ut}),tt.componentFactoryResolver);return Ue.attach(Ze).instance}_attachDialogContent(Ue,ht,tt,wt){if(Ue instanceof C.C4Q){const ut=this._createInjector(wt,ht,tt,void 0);let vt={$implicit:wt.data,dialogRef:ht};wt.templateContext&&(vt={...vt,..."function"==typeof wt.templateContext?wt.templateContext():wt.templateContext}),tt.attachTemplatePortal(new x.VA(Ue,null,vt,ut))}else{const ut=this._createInjector(wt,ht,tt,this._injector),vt=tt.attachComponentPortal(new x.A8(Ue,wt.viewContainerRef,ut,wt.componentFactoryResolver));ht.componentRef=vt,ht.componentInstance=vt.instance}}_createInjector(Ue,ht,tt,wt){const ut=Ue.injector||Ue.viewContainerRef?.injector,vt=[{provide:$,useValue:Ue.data},{provide:G,useValue:ht}];return Ue.providers&&("function"==typeof Ue.providers?vt.push(...Ue.providers(ht,Ue,tt)):vt.push(...Ue.providers)),Ue.direction&&(!ut||!ut.get(y.dS,null,{optional:!0}))&&vt.push({provide:y.dS,useValue:{value:Ue.direction,change:(0,w.of)()}}),C.zZn.create({parent:ut||wt,providers:vt})}_removeOpenDialog(Ue,ht){const tt=this.openDialogs.indexOf(Ue);tt>-1&&(this.openDialogs.splice(tt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((wt,ut)=>{wt?ut.setAttribute("aria-hidden",wt):ut.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),ht&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Ue=this._overlayContainer.getContainerElement();if(Ue.parentElement){const ht=Ue.parentElement.children;for(let tt=ht.length-1;tt>-1;tt--){const wt=ht[tt];wt!==Ue&&"SCRIPT"!==wt.nodeName&&"STYLE"!==wt.nodeName&&!wt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(wt,wt.getAttribute("aria-hidden")),wt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Ue=this._parentDialog;return Ue?Ue._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(ht){return new(ht||Qe)(C.KVO(t.hJ),C.KVO(C.zZn),C.KVO(Z,8),C.KVO(Qe,12),C.KVO(t.Sf),C.KVO(Y))}}static{this.\u0275prov=C.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}}return Qe})();function ue(Qe,nt){let Ue=Qe.length;for(;Ue--;)nt(Qe[Ue])}let be=(()=>{class Qe{static{this.\u0275fac=function(ht){return new(ht||Qe)}}static{this.\u0275mod=C.$C({type:Qe})}static{this.\u0275inj=C.G2t({providers:[ye],imports:[t.z_,x.jc,S.Pd,U,x.jc]})}}return Qe})();var D=p(4085),n=p(7786),c=p(5964),f=p(6697),h=p(6600);function L(Qe,nt){}p(9969);class O{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 _="mdc-dialog--open",r="mdc-dialog--opening",v="mdc-dialog--closing";let ne=(()=>{class Qe extends U{constructor(Ue,ht,tt,wt,ut,vt,Ze,jt,qe){super(Ue,ht,tt,wt,ut,vt,Ze,qe),this._animationMode=jt,this._animationStateChanged=new C.bkB,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?at(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?at(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(Ie,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(r,_)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(_),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(_),this._animationsEnabled?(this._hostElement.style.setProperty(Ie,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(v)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(r,v)}_waitForAnimationToComplete(Ue,ht){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(ht,Ue)}_requestAnimationFrame(Ue){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Ue):Ue()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Ue){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Ue})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(Ue){const ht=super.attachComponentPortal(Ue);return ht.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),ht}static{this.\u0275fac=function(ht){return new(ht||Qe)(C.rXU(C.aKT),C.rXU(S.GX),C.rXU(e.qQ,8),C.rXU(O),C.rXU(S.Z7),C.rXU(C.SKi),C.rXU(t.yY),C.rXU(C.bc$,8),C.rXU(S.FN))}}static{this.\u0275cmp=C.VBU({type:Qe,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(ht,tt){2&ht&&(C.Mr5("id",tt._config.id),C.BMQ("aria-modal",tt._config.ariaModal)("role",tt._config.role)("aria-labelledby",tt._config.ariaLabel?null:tt._ariaLabelledByQueue[0])("aria-label",tt._config.ariaLabel)("aria-describedby",tt._config.ariaDescribedBy||null),C.AVh("_mat-animation-noopable",!tt._animationsEnabled))},standalone:!0,features:[C.Vt3,C.aNF],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(ht,tt){1&ht&&(C.j41(0,"div",0)(1,"div",1),C.DNE(2,L,0,0,"ng-template",2),C.k0s()())},dependencies:[x.jc,x.I3],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 Qe})();const Ie="--mat-dialog-transition-duration";function at(Qe){return null==Qe?null:"number"==typeof Qe?Qe:Qe.endsWith("ms")?(0,D.OE)(Qe.substring(0,Qe.length-2)):Qe.endsWith("s")?1e3*(0,D.OE)(Qe.substring(0,Qe.length-1)):"0"===Qe?0:null}class Ye{constructor(nt,Ue,ht){this._ref=nt,this._containerInstance=ht,this._afterOpened=new R.B,this._beforeClosed=new R.B,this._state=0,this.disableClose=Ue.disableClose,this.id=nt.id,ht._animationStateChanged.pipe((0,c.p)(tt=>"opened"===tt.state),(0,f.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),ht._animationStateChanged.pipe((0,c.p)(tt=>"closed"===tt.state),(0,f.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),nt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,n.h)(this.backdropClick(),this.keydownEvents().pipe((0,c.p)(tt=>tt.keyCode===m._f&&!this.disableClose&&!(0,m.rp)(tt)))).subscribe(tt=>{this.disableClose||(tt.preventDefault(),rt(this,"keydown"===tt.type?"keyboard":"mouse"))})}close(nt){this._result=nt,this._containerInstance._animationStateChanged.pipe((0,c.p)(Ue=>"closing"===Ue.state),(0,f.s)(1)).subscribe(Ue=>{this._beforeClosed.next(nt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Ue.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(nt){let Ue=this._ref.config.positionStrategy;return nt&&(nt.left||nt.right)?nt.left?Ue.left(nt.left):Ue.right(nt.right):Ue.centerHorizontally(),nt&&(nt.top||nt.bottom)?nt.top?Ue.top(nt.top):Ue.bottom(nt.bottom):Ue.centerVertically(),this._ref.updatePosition(),this}updateSize(nt="",Ue=""){return this._ref.updateSize(nt,Ue),this}addPanelClass(nt){return this._ref.addPanelClass(nt),this}removePanelClass(nt){return this._ref.removePanelClass(nt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function rt(Qe,nt,Ue){return Qe._closeInteractionType=nt,Qe.close(Ue)}const re=new C.nKC("MatMdcDialogData"),te=new C.nKC("mat-mdc-dialog-default-options"),oe=new C.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const Qe=(0,C.WQX)(t.hJ);return()=>Qe.scrollStrategies.block()}});let pe=0,We=(()=>{class Qe{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Ue=this._parentDialog;return Ue?Ue._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(Ue,ht,tt,wt,ut,vt,Ze,jt){this._overlay=Ue,this._defaultOptions=wt,this._scrollStrategy=ut,this._parentDialog=vt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R.B,this._afterOpenedAtThisLevel=new R.B,this.dialogConfigClass=O,this.afterAllClosed=(0,d.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,T.Z)(void 0))),this._dialog=ht.get(ye),this._dialogRefConstructor=Ye,this._dialogContainerType=ne,this._dialogDataToken=re}open(Ue,ht){let tt;(ht={...this._defaultOptions||new O,...ht}).id=ht.id||"mat-mdc-dialog-"+pe++,ht.scrollStrategy=ht.scrollStrategy||this._scrollStrategy();const wt=this._dialog.open(Ue,{...ht,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:ht},{provide:F,useValue:ht}]},templateContext:()=>({dialogRef:tt}),providers:(ut,vt,Ze)=>(tt=new this._dialogRefConstructor(ut,ht,Ze),tt.updatePosition(ht?.position),[{provide:this._dialogContainerType,useValue:Ze},{provide:this._dialogDataToken,useValue:vt.data},{provide:this._dialogRefConstructor,useValue:tt}])});return tt.componentRef=wt.componentRef,tt.componentInstance=wt.componentInstance,this.openDialogs.push(tt),this.afterOpened.next(tt),tt.afterClosed().subscribe(()=>{const ut=this.openDialogs.indexOf(tt);ut>-1&&(this.openDialogs.splice(ut,1),this.openDialogs.length||this._getAfterAllClosed().next())}),tt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Ue){return this.openDialogs.find(ht=>ht.id===Ue)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Ue){let ht=Ue.length;for(;ht--;)Ue[ht].close()}static{this.\u0275fac=function(ht){return new(ht||Qe)(C.KVO(t.hJ),C.KVO(C.zZn),C.KVO(e.aZ,8),C.KVO(te,8),C.KVO(oe),C.KVO(Qe,12),C.KVO(t.Sf),C.KVO(C.bc$,8))}}static{this.\u0275prov=C.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}}return Qe})(),fe=(()=>{class Qe{constructor(Ue,ht,tt){this.dialogRef=Ue,this._elementRef=ht,this._dialog=tt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function Ct(Qe,nt){let Ue=Qe.nativeElement.parentElement;for(;Ue&&!Ue.classList.contains("mat-mdc-dialog-container");)Ue=Ue.parentElement;return Ue?nt.find(ht=>ht.id===Ue.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Ue){const ht=Ue._matDialogClose||Ue._matDialogCloseResult;ht&&(this.dialogResult=ht.currentValue)}_onButtonClick(Ue){rt(this.dialogRef,0===Ue.screenX&&0===Ue.screenY?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(ht){return new(ht||Qe)(C.rXU(Ye,8),C.rXU(C.aKT),C.rXU(We))}}static{this.\u0275dir=C.FsC({type:Qe,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(ht,tt){1&ht&&C.bIt("click",function(ut){return tt._onButtonClick(ut)}),2&ht&&C.BMQ("aria-label",tt.ariaLabel||null)("type",tt.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[C.OA$]})}}return Qe})();let Nt=(()=>{class Qe{static{this.\u0275fac=function(ht){return new(ht||Qe)}}static{this.\u0275mod=C.$C({type:Qe})}static{this.\u0275inj=C.G2t({providers:[We],imports:[be,t.z_,x.jc,h.yE,ne,h.yE]})}}return Qe})()},1997:(Ve,ee,p)=>{"use strict";p.d(ee,{q:()=>S,w:()=>l});var t=p(4438),e=p(4085),C=p(6600);let S=(()=>{class x{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(R){this._vertical=(0,e.he)(R)}get inset(){return this._inset}set inset(R){this._inset=(0,e.he)(R)}static{this.\u0275fac=function(d){return new(d||x)}}static{this.\u0275cmp=t.VBU({type:x,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(d,w){2&d&&(t.BMQ("aria-orientation",w.vertical?"vertical":"horizontal"),t.AVh("mat-divider-vertical",w.vertical)("mat-divider-horizontal",!w.vertical)("mat-divider-inset",w.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(d,w){},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 x})(),l=(()=>{class x{static{this.\u0275fac=function(d){return new(d||x)}}static{this.\u0275mod=t.$C({type:x})}static{this.\u0275inj=t.G2t({imports:[C.yE,C.yE]})}}return x})()},9454:(Ve,ee,p)=>{"use strict";p.d(ee,{BS:()=>re,MY:()=>te,GK:()=>z,Q6:()=>Ye,Z2:()=>at,WN:()=>rt});var t=p(4438),e=p(5024),C=p(1413),S=p(8359);let l=0;const x=new t.nKC("CdkAccordion");let m=(()=>{class oe{constructor(){this._stateChanges=new C.B,this._openCloseAllActions=new C.B,this.id="cdk-accordion-"+l++,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(de){this._stateChanges.next(de)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static{this.\u0275fac=function(pe){return new(pe||oe)}}static{this.\u0275dir=t.FsC({type:oe,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",t.L39]},exportAs:["cdkAccordion"],features:[t.Jv_([{provide:x,useExisting:oe}]),t.GFd,t.OA$]})}}return oe})(),R=0,d=(()=>{class oe{get expanded(){return this._expanded}set expanded(de){this._expanded!==de&&(this._expanded=de,this.expandedChange.emit(de),de?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}constructor(de,pe,We){this.accordion=de,this._changeDetectorRef=pe,this._expansionDispatcher=We,this._openCloseAllSubscription=S.yU.EMPTY,this.closed=new t.bkB,this.opened=new t.bkB,this.destroyed=new t.bkB,this.expandedChange=new t.bkB,this.id="cdk-accordion-child-"+R++,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=We.listen((se,fe)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===fe&&this.id!==se&&(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(de=>{this.disabled||(this.expanded=de)})}static{this.\u0275fac=function(pe){return new(pe||oe)(t.rXU(x,12),t.rXU(t.gRc),t.rXU(e.zP))}}static{this.\u0275dir=t.FsC({type:oe,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",t.L39],disabled:[2,"disabled","disabled",t.L39]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[t.Jv_([{provide:x,useValue:void 0}]),t.GFd]})}}return oe})(),w=(()=>{class oe{static{this.\u0275fac=function(pe){return new(pe||oe)}}static{this.\u0275mod=t.$C({type:oe})}static{this.\u0275inj=t.G2t({})}}return oe})();var y=p(6939),T=p(6600),k=p(4085),F=p(8617),V=p(3294),U=p(9172),G=p(5964),Y=p(6697),$=p(7336),Z=p(983),ie=p(7786),ve=p(9969),ae=p(177);const ye=["body"],ue=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],be=["mat-expansion-panel-header","*","mat-action-row"];function D(oe,_e){}const n=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],c=["mat-panel-title","mat-panel-description","*"];function f(oe,_e){if(1&oe&&t.nrm(0,"span",1),2&oe){const de=t.XpG();t.Y8G("@indicatorRotate",de._getExpandedState())}}const h=new t.nKC("MAT_ACCORDION"),M="225ms cubic-bezier(0.4,0.0,0.2,1)",L={indicatorRotate:(0,ve.hZ)("indicatorRotate",[(0,ve.wk)("collapsed, void",(0,ve.iF)({transform:"rotate(0deg)"})),(0,ve.wk)("expanded",(0,ve.iF)({transform:"rotate(180deg)"})),(0,ve.kY)("expanded <=> collapsed, void => collapsed",(0,ve.i0)(M))]),bodyExpansion:(0,ve.hZ)("bodyExpansion",[(0,ve.wk)("collapsed, void",(0,ve.iF)({height:"0px",visibility:"hidden"})),(0,ve.wk)("expanded",(0,ve.iF)({height:"*",visibility:""})),(0,ve.kY)("expanded <=> collapsed, void => collapsed",(0,ve.i0)(M))])},O=new t.nKC("MAT_EXPANSION_PANEL");let _=(()=>{class oe{constructor(de,pe){this._template=de,this._expansionPanel=pe}static{this.\u0275fac=function(pe){return new(pe||oe)(t.rXU(t.C4Q),t.rXU(O,8))}}static{this.\u0275dir=t.FsC({type:oe,selectors:[["ng-template","matExpansionPanelContent",""]]})}}return oe})(),r=0;const v=new t.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let z=(()=>{class oe extends d{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(de){this._hideToggle=(0,k.he)(de)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(de){this._togglePosition=de}constructor(de,pe,We,se,fe,he,et){super(de,pe,We),this._viewContainerRef=se,this._animationMode=he,this._hideToggle=!1,this.afterExpand=new t.bkB,this.afterCollapse=new t.bkB,this._inputChanges=new C.B,this._headerId="mat-expansion-panel-header-"+r++,this._bodyAnimationDone=new C.B,this.accordion=de,this._document=fe,this._bodyAnimationDone.pipe((0,V.F)((Ke,Ct)=>Ke.fromState===Ct.fromState&&Ke.toState===Ct.toState)).subscribe(Ke=>{"void"!==Ke.fromState&&("expanded"===Ke.toState?this.afterExpand.emit():"collapsed"===Ke.toState&&this.afterCollapse.emit())}),et&&(this.hideToggle=et.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,U.Z)(null),(0,G.p)(()=>this.expanded&&!this._portal),(0,Y.s)(1)).subscribe(()=>{this._portal=new y.VA(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(de){this._inputChanges.next(de)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const de=this._document.activeElement,pe=this._body.nativeElement;return de===pe||pe.contains(de)}return!1}static{this.\u0275fac=function(pe){return new(pe||oe)(t.rXU(h,12),t.rXU(t.gRc),t.rXU(e.zP),t.rXU(t.c1b),t.rXU(ae.qQ),t.rXU(t.bc$,8),t.rXU(v,8))}}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-expansion-panel"]],contentQueries:function(pe,We,se){if(1&pe&&t.wni(se,_,5),2&pe){let fe;t.mGM(fe=t.lsd())&&(We._lazyContent=fe.first)}},viewQuery:function(pe,We){if(1&pe&&t.GBs(ye,5),2&pe){let se;t.mGM(se=t.lsd())&&(We._body=se.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(pe,We){2&pe&&t.AVh("mat-expanded",We.expanded)("_mat-animation-noopable","NoopAnimations"===We._animationMode)("mat-expansion-panel-spacing",We._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[t.Jv_([{provide:h,useValue:void 0},{provide:O,useExisting:oe}]),t.Vt3,t.OA$],ngContentSelectors:be,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(pe,We){if(1&pe){const se=t.RV6();t.NAR(ue),t.SdG(0),t.j41(1,"div",1,0),t.bIt("@bodyExpansion.done",function(he){return t.eBV(se),t.Njj(We._bodyAnimationDone.next(he))}),t.j41(3,"div",2),t.SdG(4,1),t.DNE(5,D,0,0,"ng-template",3),t.k0s(),t.SdG(6,2),t.k0s()}2&pe&&(t.R7$(),t.Y8G("@bodyExpansion",We._getExpandedState())("id",We.id),t.BMQ("aria-labelledby",We._headerId),t.R7$(4),t.Y8G("cdkPortalOutlet",We._portal))},dependencies:[y.I3],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:[L.bodyExpansion]},changeDetection:0})}}return oe})();class ne{}const Ie=(0,T.BF)(ne);let at=(()=>{class oe extends Ie{constructor(de,pe,We,se,fe,he,et){super(),this.panel=de,this._element=pe,this._focusMonitor=We,this._changeDetectorRef=se,this._animationMode=he,this._parentChangeSubscription=S.yU.EMPTY;const Ke=de.accordion?de.accordion._stateChanges.pipe((0,G.p)(Ct=>!(!Ct.hideToggle&&!Ct.togglePosition))):Z.w;this.tabIndex=parseInt(et||"")||0,this._parentChangeSubscription=(0,ie.h)(de.opened,de.closed,Ke,de._inputChanges.pipe((0,G.p)(Ct=>!!(Ct.hideToggle||Ct.disabled||Ct.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),de.closed.pipe((0,G.p)(()=>de._containsFocus())).subscribe(()=>We.focusVia(pe,"program")),fe&&(this.expandedHeight=fe.expandedHeight,this.collapsedHeight=fe.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 de=this._isExpanded();return de&&this.expandedHeight?this.expandedHeight:!de&&this.collapsedHeight?this.collapsedHeight:null}_keydown(de){switch(de.keyCode){case $.t6:case $.Fm:(0,$.rp)(de)||(de.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(de))}}focus(de,pe){de?this._focusMonitor.focusVia(this._element,de,pe):this._element.nativeElement.focus(pe)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(de=>{de&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static{this.\u0275fac=function(pe){return new(pe||oe)(t.rXU(z,1),t.rXU(t.aKT),t.rXU(F.FN),t.rXU(t.gRc),t.rXU(v,8),t.rXU(t.bc$,8),t.kS0("tabindex"))}}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(pe,We){1&pe&&t.bIt("click",function(){return We._toggle()})("keydown",function(fe){return We._keydown(fe)}),2&pe&&(t.BMQ("id",We.panel._headerId)("tabindex",We.tabIndex)("aria-controls",We._getPanelId())("aria-expanded",We._isExpanded())("aria-disabled",We.panel.disabled),t.xc7("height",We._getHeaderHeight()),t.AVh("mat-expanded",We._isExpanded())("mat-expansion-toggle-indicator-after","after"===We._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===We._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===We._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[t.Vt3],ngContentSelectors:c,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"]],template:function(pe,We){1&pe&&(t.NAR(n),t.j41(0,"span",0),t.SdG(1),t.SdG(2,1),t.SdG(3,2),t.k0s(),t.DNE(4,f,1,1,"span",1)),2&pe&&(t.AVh("mat-content-hide-toggle",!We._showToggle()),t.R7$(4),t.vxM(We._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:[L.indicatorRotate]},changeDetection:0})}}return oe})(),Ye=(()=>{class oe{static{this.\u0275fac=function(pe){return new(pe||oe)}}static{this.\u0275dir=t.FsC({type:oe,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}}return oe})(),rt=(()=>{class oe{static{this.\u0275fac=function(pe){return new(pe||oe)}}static{this.\u0275dir=t.FsC({type:oe,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}}return oe})(),re=(()=>{class oe extends m{constructor(){super(...arguments),this._ownHeaders=new t.rOR,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(de){this._hideToggle=(0,k.he)(de)}ngAfterContentInit(){this._headers.changes.pipe((0,U.Z)(this._headers)).subscribe(de=>{this._ownHeaders.reset(de.filter(pe=>pe.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new F.Bu(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(de){this._keyManager.onKeydown(de)}_handleHeaderFocus(de){this._keyManager.updateActiveItem(de)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static{this.\u0275fac=(()=>{let de;return function(We){return(de||(de=t.xGo(oe)))(We||oe)}})()}static{this.\u0275dir=t.FsC({type:oe,selectors:[["mat-accordion"]],contentQueries:function(pe,We,se){if(1&pe&&t.wni(se,at,5),2&pe){let fe;t.mGM(fe=t.lsd())&&(We._headers=fe)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(pe,We){2&pe&&t.AVh("mat-accordion-multi",We.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[t.Jv_([{provide:h,useExisting:oe}]),t.Vt3]})}}return oe})(),te=(()=>{class oe{static{this.\u0275fac=function(pe){return new(pe||oe)}}static{this.\u0275mod=t.$C({type:oe})}static{this.\u0275inj=t.G2t({imports:[T.yE,w,y.jc]})}}return oe})()},6467:(Ve,ee,p)=>{"use strict";p.d(ee,{xb:()=>ut,TL:()=>de,rl:()=>Vt,qT:()=>Ue,RG:()=>Zt,MV:()=>We,nJ:()=>te,yw:()=>et});var t=p(4438),e=p(8203),C=p(6860),S=p(8359),l=p(1413),x=p(7786),m=p(6977),R=p(1985),d=p(5964),w=p(2771),y=p(7647);class F{constructor(je){this._box=je,this._destroyed=new l.B,this._resizeSubject=new l.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(me=>this._resizeSubject.next(me)))}observe(je){return this._elementObservables.has(je)||this._elementObservables.set(je,new R.c(me=>{const xe=this._resizeSubject.subscribe(me);return this._resizeObserver?.observe(je,{box:this._box}),()=>{this._resizeObserver?.unobserve(je),xe.unsubscribe(),this._elementObservables.delete(je)}}).pipe((0,d.p)(me=>me.some(xe=>xe.target===je)),function T(Et,je,me){let xe,ce=!1;return Et&&"object"==typeof Et?({bufferSize:xe=1/0,windowTime:je=1/0,refCount:ce=!1,scheduler:me}=Et):xe=Et??1/0,(0,y.u)({connector:()=>new w.m(xe,je,me),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ce})}({bufferSize:1,refCount:!0}),(0,m.Q)(this._destroyed))),this._elementObservables.get(je)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let V=(()=>{class Et{constructor(){this._observers=new Map,this._ngZone=(0,t.WQX)(t.SKi)}ngOnDestroy(){for(const[,me]of this._observers)me.destroy();this._observers.clear()}observe(me,xe){const ce=xe?.box||"content-box";return this._observers.has(ce)||this._observers.set(ce,new F(ce)),this._observers.get(ce).observe(me)}static{this.\u0275fac=function(xe){return new(xe||Et)}}static{this.\u0275prov=t.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"})}}return Et})();var U=p(4085),G=p(9969),Y=p(177),$=p(2318),Z=p(6600);const ie=["notch"],ve=["matFormFieldNotchedOutline",""],ae=["*"],ye=["textField"],ue=["iconPrefixContainer"],be=["textPrefixContainer"],D=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],n=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function c(Et,je){1&Et&&t.nrm(0,"span",19)}function f(Et,je){if(1&Et&&(t.j41(0,"label",18),t.SdG(1,1),t.DNE(2,c,1,0,"span",19),t.k0s()),2&Et){const me=t.XpG(2);t.Y8G("floating",me._shouldLabelFloat())("monitorResize",me._hasOutline())("id",me._labelId),t.BMQ("for",me._control.id),t.R7$(2),t.vxM(!me.hideRequiredMarker&&me._control.required?2:-1)}}function h(Et,je){if(1&Et&&t.DNE(0,f,3,5,"label",18),2&Et){const me=t.XpG();t.vxM(me._hasFloatingLabel()?0:-1)}}function M(Et,je){1&Et&&t.nrm(0,"div",5)}function L(Et,je){}function O(Et,je){if(1&Et&&t.DNE(0,L,0,0,"ng-template",11),2&Et){t.XpG(2);const me=t.sdS(1);t.Y8G("ngTemplateOutlet",me)}}function _(Et,je){if(1&Et&&(t.j41(0,"div",7),t.DNE(1,O,1,1,null,11),t.k0s()),2&Et){const me=t.XpG();t.Y8G("matFormFieldNotchedOutlineOpen",me._shouldLabelFloat()),t.R7$(),t.vxM(me._forceDisplayInfixLabel()?-1:1)}}function r(Et,je){1&Et&&(t.j41(0,"div",8,2),t.SdG(2,2),t.k0s())}function v(Et,je){1&Et&&(t.j41(0,"div",9,3),t.SdG(2,3),t.k0s())}function z(Et,je){}function N(Et,je){if(1&Et&&t.DNE(0,z,0,0,"ng-template",11),2&Et){t.XpG();const me=t.sdS(1);t.Y8G("ngTemplateOutlet",me)}}function ne(Et,je){1&Et&&(t.j41(0,"div",12),t.SdG(1,4),t.k0s())}function Ie(Et,je){1&Et&&(t.j41(0,"div",13),t.SdG(1,5),t.k0s())}function at(Et,je){1&Et&&t.nrm(0,"div",14)}function Ye(Et,je){if(1&Et&&(t.j41(0,"div",16),t.SdG(1,6),t.k0s()),2&Et){const me=t.XpG();t.Y8G("@transitionMessages",me._subscriptAnimationState)}}function rt(Et,je){if(1&Et&&(t.j41(0,"mat-hint",20),t.EFF(1),t.k0s()),2&Et){const me=t.XpG(2);t.Y8G("id",me._hintLabelId),t.R7$(),t.JRh(me.hintLabel)}}function re(Et,je){if(1&Et&&(t.j41(0,"div",17),t.DNE(1,rt,2,2,"mat-hint",20),t.SdG(2,7),t.nrm(3,"div",21),t.SdG(4,8),t.k0s()),2&Et){const me=t.XpG();t.Y8G("@transitionMessages",me._subscriptAnimationState),t.R7$(),t.vxM(me.hintLabel?1:-1)}}let te=(()=>{class Et{static{this.\u0275fac=function(xe){return new(xe||Et)}}static{this.\u0275dir=t.FsC({type:Et,selectors:[["mat-label"]]})}}return Et})(),oe=0;const _e=new t.nKC("MatError");let de=(()=>{class Et{constructor(me,xe){this.id="mat-mdc-error-"+oe++,me||xe.nativeElement.setAttribute("aria-live","polite")}static{this.\u0275fac=function(xe){return new(xe||Et)(t.kS0("aria-live"),t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:Et,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(xe,ce){2&xe&&t.Mr5("id",ce.id)},inputs:{id:"id"},features:[t.Jv_([{provide:_e,useExisting:Et}])]})}}return Et})(),pe=0,We=(()=>{class Et{constructor(){this.align="start",this.id="mat-mdc-hint-"+pe++}static{this.\u0275fac=function(xe){return new(xe||Et)}}static{this.\u0275dir=t.FsC({type:Et,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(xe,ce){2&xe&&(t.Mr5("id",ce.id),t.BMQ("align",null),t.AVh("mat-mdc-form-field-hint-end","end"===ce.align))},inputs:{align:"align",id:"id"}})}}return Et})();const se=new t.nKC("MatPrefix"),he=new t.nKC("MatSuffix");let et=(()=>{class Et{constructor(){this._isText=!1}set _isTextSelector(me){this._isText=!0}static{this.\u0275fac=function(xe){return new(xe||Et)}}static{this.\u0275dir=t.FsC({type:Et,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[t.Jv_([{provide:he,useExisting:Et}])]})}}return Et})();const Ke=new t.nKC("FloatingLabelParent");let Ct=(()=>{class Et{get floating(){return this._floating}set floating(me){this._floating=me,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(me){this._monitorResize=me,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(me){this._elementRef=me,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,t.WQX)(V),this._ngZone=(0,t.WQX)(t.SKi),this._parent=(0,t.WQX)(Ke),this._resizeSubscription=new S.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function _t(Et){if(null!==Et.offsetParent)return Et.scrollWidth;const me=Et.cloneNode(!0);me.style.setProperty("position","absolute"),me.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(me);const xe=me.scrollWidth;return me.remove(),xe}(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{this.\u0275fac=function(xe){return new(xe||Et)(t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:Et,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(xe,ce){2&xe&&t.AVh("mdc-floating-label--float-above",ce.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}}return Et})();const Nt="mdc-line-ripple--active",ke="mdc-line-ripple--deactivating";let Je=(()=>{class Et{constructor(me,xe){this._elementRef=me,this._handleTransitionEnd=ce=>{const Me=this._elementRef.nativeElement.classList,Xe=Me.contains(ke);"opacity"===ce.propertyName&&Xe&&Me.remove(Nt,ke)},xe.runOutsideAngular(()=>{me.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const me=this._elementRef.nativeElement.classList;me.remove(ke),me.add(Nt)}deactivate(){this._elementRef.nativeElement.classList.add(ke)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(xe){return new(xe||Et)(t.rXU(t.aKT),t.rXU(t.SKi))}}static{this.\u0275dir=t.FsC({type:Et,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}}return Et})(),Qe=(()=>{class Et{constructor(me,xe){this._elementRef=me,this._ngZone=xe,this.open=!1}ngAfterViewInit(){const me=this._elementRef.nativeElement.querySelector(".mdc-floating-label");me?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(me.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>me.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(me){this._notch.nativeElement.style.width=this.open&&me?`calc(${me}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static{this.\u0275fac=function(xe){return new(xe||Et)(t.rXU(t.aKT),t.rXU(t.SKi))}}static{this.\u0275cmp=t.VBU({type:Et,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(xe,ce){if(1&xe&&t.GBs(ie,5),2&xe){let Me;t.mGM(Me=t.lsd())&&(ce._notch=Me.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(xe,ce){2&xe&&t.AVh("mdc-notched-outline--notched",ce.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:ve,ngContentSelectors:ae,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(xe,ce){1&xe&&(t.NAR(),t.nrm(0,"div",1),t.j41(1,"div",2,0),t.SdG(3),t.k0s(),t.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}}return Et})();const nt={transitionMessages:(0,G.hZ)("transitionMessages",[(0,G.wk)("enter",(0,G.iF)({opacity:1,transform:"translateY(0%)"})),(0,G.kY)("void => enter",[(0,G.iF)({opacity:0,transform:"translateY(-5px)"}),(0,G.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ue=(()=>{class Et{static{this.\u0275fac=function(xe){return new(xe||Et)}}static{this.\u0275dir=t.FsC({type:Et})}}return Et})();const ut=new t.nKC("MatFormField"),vt=new t.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ze=0,Vt=(()=>{class Et{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(me){this._hideRequiredMarker=(0,U.he)(me)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(me){me!==this._floatLabel&&(this._floatLabel=me,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(me){const xe=this._appearance;this._appearance=me||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==xe&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(me){this._subscriptSizing=me||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(me){this._hintLabel=me,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(me){this._explicitFormFieldControl=me}constructor(me,xe,ce,Me,Xe,Pe,Oe,we){this._elementRef=me,this._changeDetectorRef=xe,this._ngZone=ce,this._dir=Me,this._platform=Xe,this._defaults=Pe,this._animationMode=Oe,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Ze++,this._hintLabelId="mat-mdc-hint-"+Ze++,this._subscriptAnimationState="",this._destroyed=new l.B,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Pe&&(Pe.appearance&&(this.appearance=Pe.appearance),this._hideRequiredMarker=!!Pe?.hideRequiredMarker,Pe.color&&(this.color=Pe.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 me=this._control;me.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${me.controlType}`),me.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),me.ngControl&&me.ngControl.valueChanges&&me.ngControl.valueChanges.pipe((0,m.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(me=>!me._isText),this._hasTextPrefix=!!this._prefixChildren.find(me=>me._isText),this._hasIconSuffix=!!this._suffixChildren.find(me=>!me._isText),this._hasTextSuffix=!!this._suffixChildren.find(me=>me._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,x.h)(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.Q)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,m.Q)(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(me){const xe=this._control?this._control.ngControl:null;return xe&&xe[me]}_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 me=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&me.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const xe=this._hintChildren?this._hintChildren.find(Me=>"start"===Me.align):null,ce=this._hintChildren?this._hintChildren.find(Me=>"end"===Me.align):null;xe?me.push(xe.id):this._hintLabel&&me.push(this._hintLabelId),ce&&me.push(ce.id)}else this._errorChildren&&me.push(...this._errorChildren.map(xe=>xe.id));this._control.setDescribedByIds(me)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const me=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(me.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const xe=this._iconPrefixContainer?.nativeElement,ce=this._textPrefixContainer?.nativeElement,Me=xe?.getBoundingClientRect().width??0,Xe=ce?.getBoundingClientRect().width??0;me.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Me+Xe}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const me=this._elementRef.nativeElement;if(me.getRootNode){const xe=me.getRootNode();return xe&&xe!==me}return document.documentElement.contains(me)}static{this.\u0275fac=function(xe){return new(xe||Et)(t.rXU(t.aKT),t.rXU(t.gRc),t.rXU(t.SKi),t.rXU(e.dS),t.rXU(C.OD),t.rXU(vt,8),t.rXU(t.bc$,8),t.rXU(Y.qQ))}}static{this.\u0275cmp=t.VBU({type:Et,selectors:[["mat-form-field"]],contentQueries:function(xe,ce,Me){if(1&xe&&(t.wni(Me,te,5),t.wni(Me,te,7),t.wni(Me,Ue,5),t.wni(Me,se,5),t.wni(Me,he,5),t.wni(Me,_e,5),t.wni(Me,We,5)),2&xe){let Xe;t.mGM(Xe=t.lsd())&&(ce._labelChildNonStatic=Xe.first),t.mGM(Xe=t.lsd())&&(ce._labelChildStatic=Xe.first),t.mGM(Xe=t.lsd())&&(ce._formFieldControl=Xe.first),t.mGM(Xe=t.lsd())&&(ce._prefixChildren=Xe),t.mGM(Xe=t.lsd())&&(ce._suffixChildren=Xe),t.mGM(Xe=t.lsd())&&(ce._errorChildren=Xe),t.mGM(Xe=t.lsd())&&(ce._hintChildren=Xe)}},viewQuery:function(xe,ce){if(1&xe&&(t.GBs(ye,5),t.GBs(ue,5),t.GBs(be,5),t.GBs(Ct,5),t.GBs(Qe,5),t.GBs(Je,5)),2&xe){let Me;t.mGM(Me=t.lsd())&&(ce._textField=Me.first),t.mGM(Me=t.lsd())&&(ce._iconPrefixContainer=Me.first),t.mGM(Me=t.lsd())&&(ce._textPrefixContainer=Me.first),t.mGM(Me=t.lsd())&&(ce._floatingLabel=Me.first),t.mGM(Me=t.lsd())&&(ce._notchedOutline=Me.first),t.mGM(Me=t.lsd())&&(ce._lineRipple=Me.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(xe,ce){2&xe&&t.AVh("mat-mdc-form-field-label-always-float",ce._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",ce._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",ce._hasIconSuffix)("mat-form-field-invalid",ce._control.errorState)("mat-form-field-disabled",ce._control.disabled)("mat-form-field-autofilled",ce._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===ce._animationMode)("mat-form-field-appearance-fill","fill"==ce.appearance)("mat-form-field-appearance-outline","outline"==ce.appearance)("mat-form-field-hide-placeholder",ce._hasFloatingLabel()&&!ce._shouldLabelFloat())("mat-focused",ce._control.focused)("mat-primary","accent"!==ce.color&&"warn"!==ce.color)("mat-accent","accent"===ce.color)("mat-warn","warn"===ce.color)("ng-untouched",ce._shouldForward("untouched"))("ng-touched",ce._shouldForward("touched"))("ng-pristine",ce._shouldForward("pristine"))("ng-dirty",ce._shouldForward("dirty"))("ng-valid",ce._shouldForward("valid"))("ng-invalid",ce._shouldForward("invalid"))("ng-pending",ce._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[t.Jv_([{provide:ut,useExisting:Et},{provide:Ke,useExisting:Et}])],ngContentSelectors:n,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(xe,ce){if(1&xe){const Me=t.RV6();t.NAR(D),t.DNE(0,h,1,1,"ng-template",null,0,t.C5r),t.j41(2,"div",4,1),t.bIt("click",function(Pe){return t.eBV(Me),t.Njj(ce._control.onContainerClick(Pe))}),t.DNE(4,M,1,0,"div",5),t.j41(5,"div",6),t.DNE(6,_,2,2,"div",7)(7,r,3,0,"div",8)(8,v,3,0,"div",9),t.j41(9,"div",10),t.DNE(10,N,1,1,null,11),t.SdG(11),t.k0s(),t.DNE(12,ne,2,0,"div",12)(13,Ie,2,0,"div",13),t.k0s(),t.DNE(14,at,1,0,"div",14),t.k0s(),t.j41(15,"div",15),t.DNE(16,Ye,2,1,"div",16)(17,re,5,2,"div",17),t.k0s()}if(2&xe){let Me;t.R7$(2),t.AVh("mdc-text-field--filled",!ce._hasOutline())("mdc-text-field--outlined",ce._hasOutline())("mdc-text-field--no-label",!ce._hasFloatingLabel())("mdc-text-field--disabled",ce._control.disabled)("mdc-text-field--invalid",ce._control.errorState),t.R7$(2),t.vxM(ce._hasOutline()||ce._control.disabled?-1:4),t.R7$(2),t.vxM(ce._hasOutline()?6:-1),t.R7$(),t.vxM(ce._hasIconPrefix?7:-1),t.R7$(),t.vxM(ce._hasTextPrefix?8:-1),t.R7$(2),t.vxM(!ce._hasOutline()||ce._forceDisplayInfixLabel()?10:-1),t.R7$(2),t.vxM(ce._hasTextSuffix?12:-1),t.R7$(),t.vxM(ce._hasIconSuffix?13:-1),t.R7$(),t.vxM(ce._hasOutline()?-1:14),t.R7$(),t.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===ce.subscriptSizing),t.R7$(),t.vxM("error"===(Me=ce._getDisplayedMessages())?16:"hint"===Me?17:-1)}},dependencies:[Y.T3,We,Ct,Qe,Je],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:[nt.transitionMessages]},changeDetection:0})}}return Et})(),Zt=(()=>{class Et{static{this.\u0275fac=function(xe){return new(xe||Et)}}static{this.\u0275mod=t.$C({type:Et})}static{this.\u0275inj=t.G2t({imports:[Z.yE,Y.MD,$.w5,Z.yE]})}}return Et})()},6195:(Ve,ee,p)=>{"use strict";p.d(ee,{B_:()=>ue,Fe:()=>be,NS:()=>T});var t=p(4438),e=p(6600),C=p(4085),S=p(8203);const l=["*"];class d{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const c=Math.max(...this.tracker);return c>1?this.rowCount+c-1:this.rowCount}update(c,f){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(c),this.tracker.fill(0,0,this.tracker.length),this.positions=f.map(h=>this._trackTile(h))}_trackTile(c){const f=this._findMatchingGap(c.colspan);return this._markTilePosition(f,c),this.columnIndex=f+c.colspan,new w(this.rowIndex,f)}_findMatchingGap(c){let f=-1,h=-1;do{this.columnIndex+c>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<c||0==h);return Math.max(f,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let c=0;c<this.tracker.length;c++)this.tracker[c]=Math.max(0,this.tracker[c]-1)}_findGapEndIndex(c){for(let f=c+1;f<this.tracker.length;f++)if(0!=this.tracker[f])return f;return this.tracker.length}_markTilePosition(c,f){for(let h=0;h<f.colspan;h++)this.tracker[c+h]=f.rowspan}}class w{constructor(c,f){this.row=c,this.col=f}}const y=new t.nKC("MAT_GRID_LIST");let T=(()=>{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,C.OE)(f))}get colspan(){return this._colspan}set colspan(f){this._colspan=Math.round((0,C.OE)(f))}_setStyle(f,h){this._element.nativeElement.style[f]=h}static{this.\u0275fac=function(h){return new(h||n)(t.rXU(t.aKT),t.rXU(y,8))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(h,M){2&h&&t.BMQ("rowspan",M.rowspan)("colspan",M.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:l,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(h,M){1&h&&(t.NAR(),t.j41(0,"div",0),t.SdG(1),t.k0s())},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 G=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class Y{constructor(){this._rows=0,this._rowspan=0}init(c,f,h,M){this._gutterSize=ae(c),this._rows=f.rowCount,this._rowspan=f.rowspan,this._cols=h,this._direction=M}getBaseTileSize(c,f){return`(${c}% - (${this._gutterSize} * ${f}))`}getTilePosition(c,f){return 0===f?"0":ve(`(${c} + ${this._gutterSize}) * ${f}`)}getTileSize(c,f){return`(${c} * ${f}) + (${f-1} * ${this._gutterSize})`}setStyle(c,f,h){let M=100/this._cols,L=(this._cols-1)/this._cols;this.setColStyles(c,h,M,L),this.setRowStyles(c,f,M,L)}setColStyles(c,f,h,M){let L=this.getBaseTileSize(h,M);c._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(L,f)),c._setStyle("width",ve(this.getTileSize(L,c.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(c){return`${this._rowspan} * ${this.getTileSize(c,1)}`}getComputedHeight(){return null}}class $ extends Y{constructor(c){super(),this.fixedRowHeight=c}init(c,f,h,M){super.init(c,f,h,M),this.fixedRowHeight=ae(this.fixedRowHeight),G.test(this.fixedRowHeight)}setRowStyles(c,f){c._setStyle("top",this.getTilePosition(this.fixedRowHeight,f)),c._setStyle("height",ve(this.getTileSize(this.fixedRowHeight,c.rowspan)))}getComputedHeight(){return["height",ve(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(c){c._setListStyle(["height",null]),c._tiles&&c._tiles.forEach(f=>{f._setStyle("top",null),f._setStyle("height",null)})}}class Z extends Y{constructor(c){super(),this._parseRatio(c)}setRowStyles(c,f,h,M){this.baseTileHeight=this.getBaseTileSize(h/this.rowHeightRatio,M),c._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,f)),c._setStyle("paddingTop",ve(this.getTileSize(this.baseTileHeight,c.rowspan)))}getComputedHeight(){return["paddingBottom",ve(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(c){c._setListStyle(["paddingBottom",null]),c._tiles.forEach(f=>{f._setStyle("marginTop",null),f._setStyle("paddingTop",null)})}_parseRatio(c){const f=c.split(":");this.rowHeightRatio=parseFloat(f[0])/parseFloat(f[1])}}class ie extends Y{setRowStyles(c,f){let L=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);c._setStyle("top",this.getTilePosition(L,f)),c._setStyle("height",ve(this.getTileSize(L,c.rowspan)))}reset(c){c._tiles&&c._tiles.forEach(f=>{f._setStyle("top",null),f._setStyle("height",null)})}}function ve(n){return`calc(${n})`}function ae(n){return n.match(/([A-Za-z%]+)$/)?n:`${n}px`}let ue=(()=>{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,C.OE)(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 ie:f&&f.indexOf(":")>-1?new Z(f):new $(f)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new d);const f=this._tileCoordinator,h=this._tiles.filter(L=>!L._gridList||L._gridList===this),M=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,h),this._tileStyler.init(this.gutterSize,f,this.cols,M),h.forEach((L,O)=>{const _=f.positions[O];this._tileStyler.setStyle(L,_.row,_.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(f){f&&(this._element.nativeElement.style[f[0]]=f[1])}static{this.\u0275fac=function(h){return new(h||n)(t.rXU(t.aKT),t.rXU(S.dS,8))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["mat-grid-list"]],contentQueries:function(h,M,L){if(1&h&&t.wni(L,T,5),2&h){let O;t.mGM(O=t.lsd())&&(M._tiles=O)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(h,M){2&h&&t.BMQ("cols",M.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[t.Jv_([{provide:y,useExisting:n}])],ngContentSelectors:l,decls:2,vars:0,template:function(h,M){1&h&&(t.NAR(),t.j41(0,"div"),t.SdG(1),t.k0s())},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})(),be=(()=>{class n{static{this.\u0275fac=function(h){return new(h||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({imports:[e.Np,e.yE,e.Np,e.yE]})}}return n})()},9213:(Ve,ee,p)=>{"use strict";p.d(ee,{An:()=>N,m_:()=>ne});var t=p(4438),e=p(6600),C=p(4085),S=p(177),l=p(7673),x=p(8810),m=p(7468),R=p(8359),d=p(8141),w=p(6354),y=p(9437),T=p(980),k=p(7647),F=p(6697),V=p(1626),U=p(345);const G=["*"];let Y;function Z(Ie){return function $(){if(void 0===Y&&(Y=null,typeof window<"u")){const Ie=window;void 0!==Ie.trustedTypes&&(Y=Ie.trustedTypes.createPolicy("angular#components",{createHTML:at=>at}))}return Y}()?.createHTML(Ie)||Ie}function ie(Ie){return Error(`Unable to find icon with the name "${Ie}"`)}function ae(Ie){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Ie}".`)}function ye(Ie){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Ie}".`)}class ue{constructor(at,Ye,rt){this.url=at,this.svgText=Ye,this.options=rt}}let be=(()=>{class Ie{constructor(Ye,rt,re,te){this._httpClient=Ye,this._sanitizer=rt,this._errorHandler=te,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=re}addSvgIcon(Ye,rt,re){return this.addSvgIconInNamespace("",Ye,rt,re)}addSvgIconLiteral(Ye,rt,re){return this.addSvgIconLiteralInNamespace("",Ye,rt,re)}addSvgIconInNamespace(Ye,rt,re,te){return this._addSvgIconConfig(Ye,rt,new ue(re,null,te))}addSvgIconResolver(Ye){return this._resolvers.push(Ye),this}addSvgIconLiteralInNamespace(Ye,rt,re,te){const oe=this._sanitizer.sanitize(t.WPN.HTML,re);if(!oe)throw ye(re);const _e=Z(oe);return this._addSvgIconConfig(Ye,rt,new ue("",_e,te))}addSvgIconSet(Ye,rt){return this.addSvgIconSetInNamespace("",Ye,rt)}addSvgIconSetLiteral(Ye,rt){return this.addSvgIconSetLiteralInNamespace("",Ye,rt)}addSvgIconSetInNamespace(Ye,rt,re){return this._addSvgIconSetConfig(Ye,new ue(rt,null,re))}addSvgIconSetLiteralInNamespace(Ye,rt,re){const te=this._sanitizer.sanitize(t.WPN.HTML,rt);if(!te)throw ye(rt);const oe=Z(te);return this._addSvgIconSetConfig(Ye,new ue("",oe,re))}registerFontClassAlias(Ye,rt=Ye){return this._fontCssClassesByAlias.set(Ye,rt),this}classNameForFontAlias(Ye){return this._fontCssClassesByAlias.get(Ye)||Ye}setDefaultFontSetClass(...Ye){return this._defaultFontSetClass=Ye,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ye){const rt=this._sanitizer.sanitize(t.WPN.RESOURCE_URL,Ye);if(!rt)throw ae(Ye);const re=this._cachedIconsByUrl.get(rt);return re?(0,l.of)(c(re)):this._loadSvgIconFromConfig(new ue(Ye,null)).pipe((0,d.M)(te=>this._cachedIconsByUrl.set(rt,te)),(0,w.T)(te=>c(te)))}getNamedSvgIcon(Ye,rt=""){const re=f(rt,Ye);let te=this._svgIconConfigs.get(re);if(te)return this._getSvgFromConfig(te);if(te=this._getIconConfigFromResolvers(rt,Ye),te)return this._svgIconConfigs.set(re,te),this._getSvgFromConfig(te);const oe=this._iconSetConfigs.get(rt);return oe?this._getSvgFromIconSetConfigs(Ye,oe):(0,x.$)(ie(re))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ye){return Ye.svgText?(0,l.of)(c(this._svgElementFromConfig(Ye))):this._loadSvgIconFromConfig(Ye).pipe((0,w.T)(rt=>c(rt)))}_getSvgFromIconSetConfigs(Ye,rt){const re=this._extractIconWithNameFromAnySet(Ye,rt);if(re)return(0,l.of)(re);const te=rt.filter(oe=>!oe.svgText).map(oe=>this._loadSvgIconSetFromConfig(oe).pipe((0,y.W)(_e=>{const pe=`Loading icon set URL: ${this._sanitizer.sanitize(t.WPN.RESOURCE_URL,oe.url)} failed: ${_e.message}`;return this._errorHandler.handleError(new Error(pe)),(0,l.of)(null)})));return(0,m.p)(te).pipe((0,w.T)(()=>{const oe=this._extractIconWithNameFromAnySet(Ye,rt);if(!oe)throw ie(Ye);return oe}))}_extractIconWithNameFromAnySet(Ye,rt){for(let re=rt.length-1;re>=0;re--){const te=rt[re];if(te.svgText&&te.svgText.toString().indexOf(Ye)>-1){const oe=this._svgElementFromConfig(te),_e=this._extractSvgIconFromSet(oe,Ye,te.options);if(_e)return _e}}return null}_loadSvgIconFromConfig(Ye){return this._fetchIcon(Ye).pipe((0,d.M)(rt=>Ye.svgText=rt),(0,w.T)(()=>this._svgElementFromConfig(Ye)))}_loadSvgIconSetFromConfig(Ye){return Ye.svgText?(0,l.of)(null):this._fetchIcon(Ye).pipe((0,d.M)(rt=>Ye.svgText=rt))}_extractSvgIconFromSet(Ye,rt,re){const te=Ye.querySelector(`[id="${rt}"]`);if(!te)return null;const oe=te.cloneNode(!0);if(oe.removeAttribute("id"),"svg"===oe.nodeName.toLowerCase())return this._setSvgAttributes(oe,re);if("symbol"===oe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(oe),re);const _e=this._svgElementFromString(Z("<svg></svg>"));return _e.appendChild(oe),this._setSvgAttributes(_e,re)}_svgElementFromString(Ye){const rt=this._document.createElement("DIV");rt.innerHTML=Ye;const re=rt.querySelector("svg");if(!re)throw Error("<svg> tag not found");return re}_toSvgElement(Ye){const rt=this._svgElementFromString(Z("<svg></svg>")),re=Ye.attributes;for(let te=0;te<re.length;te++){const{name:oe,value:_e}=re[te];"id"!==oe&&rt.setAttribute(oe,_e)}for(let te=0;te<Ye.childNodes.length;te++)Ye.childNodes[te].nodeType===this._document.ELEMENT_NODE&&rt.appendChild(Ye.childNodes[te].cloneNode(!0));return rt}_setSvgAttributes(Ye,rt){return Ye.setAttribute("fit",""),Ye.setAttribute("height","100%"),Ye.setAttribute("width","100%"),Ye.setAttribute("preserveAspectRatio","xMidYMid meet"),Ye.setAttribute("focusable","false"),rt&&rt.viewBox&&Ye.setAttribute("viewBox",rt.viewBox),Ye}_fetchIcon(Ye){const{url:rt,options:re}=Ye,te=re?.withCredentials??!1;if(!this._httpClient)throw function ve(){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==rt)throw Error(`Cannot fetch icon from URL "${rt}".`);const oe=this._sanitizer.sanitize(t.WPN.RESOURCE_URL,rt);if(!oe)throw ae(rt);const _e=this._inProgressUrlFetches.get(oe);if(_e)return _e;const de=this._httpClient.get(oe,{responseType:"text",withCredentials:te}).pipe((0,w.T)(pe=>Z(pe)),(0,T.j)(()=>this._inProgressUrlFetches.delete(oe)),(0,k.u)());return this._inProgressUrlFetches.set(oe,de),de}_addSvgIconConfig(Ye,rt,re){return this._svgIconConfigs.set(f(Ye,rt),re),this}_addSvgIconSetConfig(Ye,rt){const re=this._iconSetConfigs.get(Ye);return re?re.push(rt):this._iconSetConfigs.set(Ye,[rt]),this}_svgElementFromConfig(Ye){if(!Ye.svgElement){const rt=this._svgElementFromString(Ye.svgText);this._setSvgAttributes(rt,Ye.options),Ye.svgElement=rt}return Ye.svgElement}_getIconConfigFromResolvers(Ye,rt){for(let re=0;re<this._resolvers.length;re++){const te=this._resolvers[re](rt,Ye);if(te)return h(te)?new ue(te.url,null,te.options):new ue(te,null)}}static{this.\u0275fac=function(rt){return new(rt||Ie)(t.KVO(V.Qq,8),t.KVO(U.up),t.KVO(S.qQ,8),t.KVO(t.zcH))}}static{this.\u0275prov=t.jDH({token:Ie,factory:Ie.\u0275fac,providedIn:"root"})}}return Ie})();function c(Ie){return Ie.cloneNode(!0)}function f(Ie,at){return Ie+":"+at}function h(Ie){return!(!Ie.url||!Ie.options)}const M=(0,e.Zc)(class{constructor(Ie){this._elementRef=Ie}}),L=new t.nKC("MAT_ICON_DEFAULT_OPTIONS"),O=new t.nKC("mat-icon-location",{providedIn:"root",factory:function _(){const Ie=(0,t.WQX)(S.qQ),at=Ie?Ie.location:null;return{getPathname:()=>at?at.pathname+at.search:""}}}),r=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],v=r.map(Ie=>`[${Ie}]`).join(", "),z=/^url\(['"]?#(.*?)['"]?\)$/;let N=(()=>{class Ie extends M{get inline(){return this._inline}set inline(Ye){this._inline=(0,C.he)(Ye)}get svgIcon(){return this._svgIcon}set svgIcon(Ye){Ye!==this._svgIcon&&(Ye?this._updateSvgIcon(Ye):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ye)}get fontSet(){return this._fontSet}set fontSet(Ye){const rt=this._cleanupFontValue(Ye);rt!==this._fontSet&&(this._fontSet=rt,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ye){const rt=this._cleanupFontValue(Ye);rt!==this._fontIcon&&(this._fontIcon=rt,this._updateFontIconClasses())}constructor(Ye,rt,re,te,oe,_e){super(Ye),this._iconRegistry=rt,this._location=te,this._errorHandler=oe,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=R.yU.EMPTY,_e&&(_e.color&&(this.color=this.defaultColor=_e.color),_e.fontSet&&(this.fontSet=_e.fontSet)),re||Ye.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Ye){if(!Ye)return["",""];const rt=Ye.split(":");switch(rt.length){case 1:return["",rt[0]];case 2:return rt;default:throw Error(`Invalid icon name: "${Ye}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ye=this._elementsWithExternalReferences;if(Ye&&Ye.size){const rt=this._location.getPathname();rt!==this._previousPath&&(this._previousPath=rt,this._prependPathToReferences(rt))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ye){this._clearSvgElement();const rt=this._location.getPathname();this._previousPath=rt,this._cacheChildrenWithExternalReferences(Ye),this._prependPathToReferences(rt),this._elementRef.nativeElement.appendChild(Ye)}_clearSvgElement(){const Ye=this._elementRef.nativeElement;let rt=Ye.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();rt--;){const re=Ye.childNodes[rt];(1!==re.nodeType||"svg"===re.nodeName.toLowerCase())&&re.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ye=this._elementRef.nativeElement,rt=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(re=>re.length>0);this._previousFontSetClass.forEach(re=>Ye.classList.remove(re)),rt.forEach(re=>Ye.classList.add(re)),this._previousFontSetClass=rt,this.fontIcon!==this._previousFontIconClass&&!rt.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ye.classList.remove(this._previousFontIconClass),this.fontIcon&&Ye.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ye){return"string"==typeof Ye?Ye.trim().split(" ")[0]:Ye}_prependPathToReferences(Ye){const rt=this._elementsWithExternalReferences;rt&&rt.forEach((re,te)=>{re.forEach(oe=>{te.setAttribute(oe.name,`url('${Ye}#${oe.value}')`)})})}_cacheChildrenWithExternalReferences(Ye){const rt=Ye.querySelectorAll(v),re=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let te=0;te<rt.length;te++)r.forEach(oe=>{const _e=rt[te],de=_e.getAttribute(oe),pe=de?de.match(z):null;if(pe){let We=re.get(_e);We||(We=[],re.set(_e,We)),We.push({name:oe,value:pe[1]})}})}_updateSvgIcon(Ye){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ye){const[rt,re]=this._splitIconName(Ye);rt&&(this._svgNamespace=rt),re&&(this._svgName=re),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(re,rt).pipe((0,F.s)(1)).subscribe(te=>this._setSvgElement(te),te=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${rt}:${re}! ${te.message}`))})}}static{this.\u0275fac=function(rt){return new(rt||Ie)(t.rXU(t.aKT),t.rXU(be),t.kS0("aria-hidden"),t.rXU(O),t.rXU(t.zcH),t.rXU(L,8))}}static{this.\u0275cmp=t.VBU({type:Ie,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(rt,re){2&rt&&(t.BMQ("data-mat-icon-type",re._usingFontIcon()?"font":"svg")("data-mat-icon-name",re._svgName||re.fontIcon)("data-mat-icon-namespace",re._svgNamespace||re.fontSet)("fontIcon",re._usingFontIcon()?re.fontIcon:null),t.AVh("mat-icon-inline",re.inline)("mat-icon-no-color","primary"!==re.color&&"accent"!==re.color&&"warn"!==re.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[t.Vt3],ngContentSelectors:G,decls:1,vars:0,template:function(rt,re){1&rt&&(t.NAR(),t.SdG(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 Ie})(),ne=(()=>{class Ie{static{this.\u0275fac=function(rt){return new(rt||Ie)}}static{this.\u0275mod=t.$C({type:Ie})}static{this.\u0275inj=t.G2t({imports:[e.yE,e.yE]})}}return Ie})()},9631:(Ve,ee,p)=>{"use strict";p.d(ee,{Oh:()=>V,fg:()=>$,fS:()=>Z});var t=p(4085),e=p(6860),C=p(4438),S=p(983),l=p(1413);const x=(0,e.BQ)({passive:!0});let m=(()=>{class ie{constructor(ae,ye){this._platform=ae,this._ngZone=ye,this._monitoredElements=new Map}monitor(ae){if(!this._platform.isBrowser)return S.w;const ye=(0,t.i8)(ae),ue=this._monitoredElements.get(ye);if(ue)return ue.subject;const be=new l.B,D="cdk-text-field-autofilled",n=c=>{"cdk-text-field-autofill-start"!==c.animationName||ye.classList.contains(D)?"cdk-text-field-autofill-end"===c.animationName&&ye.classList.contains(D)&&(ye.classList.remove(D),this._ngZone.run(()=>be.next({target:c.target,isAutofilled:!1}))):(ye.classList.add(D),this._ngZone.run(()=>be.next({target:c.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{ye.addEventListener("animationstart",n,x),ye.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(ye,{subject:be,unlisten:()=>{ye.removeEventListener("animationstart",n,x)}}),be}stopMonitoring(ae){const ye=(0,t.i8)(ae),ue=this._monitoredElements.get(ye);ue&&(ue.unlisten(),ue.subject.complete(),ye.classList.remove("cdk-text-field-autofill-monitored"),ye.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ye))}ngOnDestroy(){this._monitoredElements.forEach((ae,ye)=>this.stopMonitoring(ye))}static{this.\u0275fac=function(ye){return new(ye||ie)(C.KVO(e.OD),C.KVO(C.SKi))}}static{this.\u0275prov=C.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}}return ie})(),w=(()=>{class ie{static{this.\u0275fac=function(ye){return new(ye||ie)}}static{this.\u0275mod=C.$C({type:ie})}static{this.\u0275inj=C.G2t({})}}return ie})();var y=p(9417),T=p(6600),k=p(6467);const V=new C.nKC("MAT_INPUT_VALUE_ACCESSOR"),U=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let G=0;const Y=(0,T.J8)(class{constructor(ie,ve,ae,ye){this._defaultErrorStateMatcher=ie,this._parentForm=ve,this._parentFormGroup=ae,this.ngControl=ye,this.stateChanges=new l.B}});let $=(()=>{class ie extends Y{get disabled(){return this._disabled}set disabled(ae){this._disabled=(0,t.he)(ae),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ae){this._id=ae||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(y.k0.required)??!1}set required(ae){this._required=(0,t.he)(ae)}get type(){return this._type}set type(ae){this._type=ae||"text",this._validateType(),!this._isTextarea&&(0,e.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(ae){ae!==this.value&&(this._inputValueAccessor.value=ae,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ae){this._readonly=(0,t.he)(ae)}constructor(ae,ye,ue,be,D,n,c,f,h,M){super(n,be,D,ue),this._elementRef=ae,this._platform=ye,this._autofillMonitor=f,this._formField=M,this._uid="mat-input-"+G++,this.focused=!1,this.stateChanges=new l.B,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(_=>(0,e.MU)().has(_)),this._iOSKeyupListener=_=>{const r=_.target;!r.value&&0===r.selectionStart&&0===r.selectionEnd&&(r.setSelectionRange(1,1),r.setSelectionRange(0,0))};const L=this._elementRef.nativeElement,O=L.nodeName.toLowerCase();this._inputValueAccessor=c||L,this._previousNativeValue=this.value,this.id=this.id,ye.IOS&&h.runOutsideAngular(()=>{ae.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===O,this._isTextarea="textarea"===O,this._isInFormField=!!M,this._isNativeSelect&&(this.controlType=L.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ae=>{this.autofilled=ae.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(ae){this._elementRef.nativeElement.focus(ae)}_focusChanged(ae){ae!==this.focused&&(this.focused=ae,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ae=this._elementRef.nativeElement.value;this._previousNativeValue!==ae&&(this._previousNativeValue=ae,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ae=this._getPlaceholder();if(ae!==this._previousPlaceholder){const ye=this._elementRef.nativeElement;this._previousPlaceholder=ae,ae?ye.setAttribute("placeholder",ae):ye.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){U.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ae=this._elementRef.nativeElement.validity;return ae&&ae.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ae=this._elementRef.nativeElement,ye=ae.options[0];return this.focused||ae.multiple||!this.empty||!!(ae.selectedIndex>-1&&ye&&ye.label)}return this.focused||!this.empty}setDescribedByIds(ae){ae.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ae.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ae=this._elementRef.nativeElement;return this._isNativeSelect&&(ae.multiple||ae.size>1)}static{this.\u0275fac=function(ye){return new(ye||ie)(C.rXU(C.aKT),C.rXU(e.OD),C.rXU(y.vO,10),C.rXU(y.cV,8),C.rXU(y.j4,8),C.rXU(T.es),C.rXU(V,10),C.rXU(m),C.rXU(C.SKi),C.rXU(k.xb,8))}}static{this.\u0275dir=C.FsC({type:ie,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ye,ue){1&ye&&C.bIt("focus",function(){return ue._focusChanged(!0)})("blur",function(){return ue._focusChanged(!1)})("input",function(){return ue._onInput()}),2&ye&&(C.Mr5("id",ue.id)("disabled",ue.disabled)("required",ue.required),C.BMQ("name",ue.name||null)("readonly",ue.readonly&&!ue._isNativeSelect||null)("aria-invalid",ue.empty&&ue.required?null:ue.errorState)("aria-required",ue.required)("id",ue.id),C.AVh("mat-input-server",ue._isServer)("mat-mdc-form-field-textarea-control",ue._isInFormField&&ue._isTextarea)("mat-mdc-form-field-input-control",ue._isInFormField)("mdc-text-field__input",ue._isInFormField)("mat-mdc-native-select-inline",ue._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[C.Jv_([{provide:k.qT,useExisting:ie}]),C.Vt3,C.OA$]})}}return ie})(),Z=(()=>{class ie{static{this.\u0275fac=function(ye){return new(ye||ie)}}static{this.\u0275mod=C.$C({type:ie})}static{this.\u0275inj=C.G2t({imports:[T.yE,k.RG,k.RG,w,T.yE]})}}return ie})()},3902:(Ve,ee,p)=>{"use strict";p.d(ee,{Fg:()=>Qe,YE:()=>fe,jt:()=>se});var t=p(4438),e=p(4085),C=p(6860),S=p(6600),l=p(8359),x=p(7786),R=(p(1413),p(2318)),d=p(177),w=p(1997);p(8617),p(5024),p(7336),p(9417),p(6977);const U=["*"],Y=["unscopedContent"],$=["text"],Z=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],ie=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],N=new t.nKC("ListOption");let ne=(()=>{class nt{constructor(ht){this._elementRef=ht}static{this.\u0275fac=function(tt){return new(tt||nt)(t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:nt,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}}return nt})(),Ie=(()=>{class nt{constructor(ht){this._elementRef=ht}static{this.\u0275fac=function(tt){return new(tt||nt)(t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:nt,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}}return nt})(),at=(()=>{class nt{static{this.\u0275fac=function(tt){return new(tt||nt)}}static{this.\u0275dir=t.FsC({type:nt,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}}return nt})(),Ye=(()=>{class nt{constructor(ht){this._listOption=ht}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static{this.\u0275fac=function(tt){return new(tt||nt)(t.rXU(N,8))}}static{this.\u0275dir=t.FsC({type:nt,hostVars:4,hostBindings:function(tt,wt){2&tt&&t.AVh("mdc-list-item__start",wt._isAlignedAtStart())("mdc-list-item__end",!wt._isAlignedAtStart())}})}}return nt})(),rt=(()=>{class nt extends Ye{static{this.\u0275fac=(()=>{let ht;return function(wt){return(ht||(ht=t.xGo(nt)))(wt||nt)}})()}static{this.\u0275dir=t.FsC({type:nt,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[t.Vt3]})}}return nt})(),re=(()=>{class nt extends Ye{static{this.\u0275fac=(()=>{let ht;return function(wt){return(ht||(ht=t.xGo(nt)))(wt||nt)}})()}static{this.\u0275dir=t.FsC({type:nt,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[t.Vt3]})}}return nt})();const te=new t.nKC("MAT_LIST_CONFIG");let oe=(()=>{class nt{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,t.WQX)(te,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(ht){this._disableRipple=(0,e.he)(ht)}get disabled(){return this._disabled}set disabled(ht){this._disabled=(0,e.he)(ht)}static{this.\u0275fac=function(tt){return new(tt||nt)}}static{this.\u0275dir=t.FsC({type:nt,hostVars:1,hostBindings:function(tt,wt){2&tt&&t.BMQ("aria-disabled",wt.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}}return nt})(),_e=(()=>{class nt{set lines(ht){this._explicitLines=(0,e.OE)(ht,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(ht){this._disableRipple=(0,e.he)(ht)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(ht){this._disabled=(0,e.he)(ht)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(ht,tt,wt,ut,vt,Ze){this._elementRef=ht,this._ngZone=tt,this._listBase=wt,this._platform=ut,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new l.yU,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=vt||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===Ze,wt&&!wt._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 S.ug(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,x.h)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(ht){if(!this._lines||!this._titles||!this._unscopedContent)return;ht&&this._checkDomForUnscopedTextContent();const tt=this._explicitLines??this._inferLinesFromContent(),wt=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",tt<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",tt<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===tt),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===tt),this._hasUnscopedTextContent){const ut=0===this._titles.length&&1===tt;wt.classList.toggle("mdc-list-item__primary-text",ut),wt.classList.toggle("mdc-list-item__secondary-text",!ut)}else wt.classList.remove("mdc-list-item__primary-text"),wt.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let ht=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(ht+=1),ht}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(ht=>ht.nodeType!==ht.COMMENT_NODE).some(ht=>!(!ht.textContent||!ht.textContent.trim()))}static{this.\u0275fac=function(tt){return new(tt||nt)(t.rXU(t.aKT),t.rXU(t.SKi),t.rXU(oe,8),t.rXU(C.OD),t.rXU(S.$E,8),t.rXU(t.bc$,8))}}static{this.\u0275dir=t.FsC({type:nt,contentQueries:function(tt,wt,ut){if(1&tt&&(t.wni(ut,rt,4),t.wni(ut,re,4)),2&tt){let vt;t.mGM(vt=t.lsd())&&(wt._avatars=vt),t.mGM(vt=t.lsd())&&(wt._icons=vt)}},hostVars:4,hostBindings:function(tt,wt){2&tt&&(t.BMQ("aria-disabled",wt.disabled)("disabled",wt._isButtonElement&&wt.disabled||null),t.AVh("mdc-list-item--disabled",wt.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}}return nt})(),se=(()=>{class nt extends oe{static{this.\u0275fac=(()=>{let ht;return function(wt){return(ht||(ht=t.xGo(nt)))(wt||nt)}})()}static{this.\u0275cmp=t.VBU({type:nt,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[t.Jv_([{provide:oe,useExisting:nt}]),t.Vt3],ngContentSelectors:U,decls:1,vars:0,template:function(tt,wt){1&tt&&(t.NAR(),t.SdG(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 nt})(),fe=(()=>{class nt extends _e{get activated(){return this._activated}set activated(ht){this._activated=(0,e.he)(ht)}constructor(ht,tt,wt,ut,vt,Ze){super(ht,tt,wt,ut,vt,Ze),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}static{this.\u0275fac=function(tt){return new(tt||nt)(t.rXU(t.aKT),t.rXU(t.SKi),t.rXU(oe,8),t.rXU(C.OD),t.rXU(S.$E,8),t.rXU(t.bc$,8))}}static{this.\u0275cmp=t.VBU({type:nt,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(tt,wt,ut){if(1&tt&&(t.wni(ut,Ie,5),t.wni(ut,ne,5),t.wni(ut,at,5)),2&tt){let vt;t.mGM(vt=t.lsd())&&(wt._lines=vt),t.mGM(vt=t.lsd())&&(wt._titles=vt),t.mGM(vt=t.lsd())&&(wt._meta=vt)}},viewQuery:function(tt,wt){if(1&tt&&(t.GBs(Y,5),t.GBs($,5)),2&tt){let ut;t.mGM(ut=t.lsd())&&(wt._unscopedContent=ut.first),t.mGM(ut=t.lsd())&&(wt._itemText=ut.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(tt,wt){2&tt&&(t.BMQ("aria-current",wt._getAriaCurrent()),t.AVh("mdc-list-item--activated",wt.activated)("mdc-list-item--with-leading-avatar",0!==wt._avatars.length)("mdc-list-item--with-leading-icon",0!==wt._icons.length)("mdc-list-item--with-trailing-meta",0!==wt._meta.length)("_mat-animation-noopable",wt._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[t.Vt3],ngContentSelectors:ie,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-mdc-focus-indicator"]],template:function(tt,wt){if(1&tt){const ut=t.RV6();t.NAR(Z),t.SdG(0),t.j41(1,"span",1),t.SdG(2,1),t.SdG(3,2),t.j41(4,"span",2,0),t.bIt("cdkObserveContent",function(){return t.eBV(ut),t.Njj(wt._updateItemLines(!0))}),t.SdG(6,3),t.k0s()(),t.SdG(7,4),t.SdG(8,5),t.nrm(9,"div",3)}},dependencies:[R.Wv],encapsulation:2,changeDetection:0})}}return nt})(),Qe=(()=>{class nt{static{this.\u0275fac=function(tt){return new(tt||nt)}}static{this.\u0275mod=t.$C({type:nt})}static{this.\u0275inj=t.G2t({imports:[R.w5,d.MD,S.yE,S.pZ,S.O5,w.w]})}}return nt})()},9115:(Ve,ee,p)=>{"use strict";p.d(ee,{Cn:()=>de,Cp:()=>_e,fb:()=>f,kk:()=>at});var t=p(4438),e=p(8617),C=p(7336),S=p(1413),l=p(7786),x=p(8359),m=p(7673),R=p(5007),d=p(9172),w=p(5558),y=p(6697),T=p(6977),k=p(5964),F=p(5335),V=p(177),U=p(6600),G=p(6939),Y=p(9969),$=p(8203),Z=p(6969),ie=p(6860),ve=p(5542);const ae=["mat-menu-item",""],ye=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],ue=["mat-icon, [matMenuItemIcon]","*"];function be(pe,We){1&pe&&(t.qSk(),t.j41(0,"svg",2),t.nrm(1,"polygon",3),t.k0s())}const D=["*"];function n(pe,We){if(1&pe){const se=t.RV6();t.j41(0,"div",0),t.bIt("keydown",function(he){t.eBV(se);const et=t.XpG();return t.Njj(et._handleKeydown(he))})("click",function(){t.eBV(se);const he=t.XpG();return t.Njj(he.closed.emit("click"))})("@transformMenu.start",function(he){t.eBV(se);const et=t.XpG();return t.Njj(et._onAnimationStart(he))})("@transformMenu.done",function(he){t.eBV(se);const et=t.XpG();return t.Njj(et._onAnimationDone(he))}),t.j41(1,"div",1),t.SdG(2),t.k0s()()}if(2&pe){const se=t.XpG();t.Y8G("id",se.panelId)("ngClass",se._classList)("@transformMenu",se._panelAnimationState),t.BMQ("aria-label",se.ariaLabel||null)("aria-labelledby",se.ariaLabelledby||null)("aria-describedby",se.ariaDescribedby||null)}}const c=new t.nKC("MAT_MENU_PANEL");let f=(()=>{class pe{constructor(se,fe,he,et,Ke){this._elementRef=se,this._document=fe,this._focusMonitor=he,this._parentMenu=et,this._changeDetectorRef=Ke,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new S.B,this._focused=new S.B,this._highlighted=!1,this._triggersSubmenu=!1,et?.addItem?.(this)}focus(se,fe){this._focusMonitor&&se?this._focusMonitor.focusVia(this._getHostElement(),se,fe):this._getHostElement().focus(fe),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(se){this.disabled&&(se.preventDefault(),se.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const se=this._elementRef.nativeElement.cloneNode(!0),fe=se.querySelectorAll("mat-icon, .material-icons");for(let he=0;he<fe.length;he++)fe[he].remove();return se.textContent?.trim()||""}_setHighlighted(se){this._highlighted=se,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(se){this._triggersSubmenu=se,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static{this.\u0275fac=function(fe){return new(fe||pe)(t.rXU(t.aKT),t.rXU(V.qQ),t.rXU(e.FN),t.rXU(c,8),t.rXU(t.gRc))}}static{this.\u0275cmp=t.VBU({type:pe,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(fe,he){1&fe&&t.bIt("click",function(Ke){return he._checkDisabled(Ke)})("mouseenter",function(){return he._handleMouseEnter()}),2&fe&&(t.BMQ("role",he.role)("tabindex",he._getTabIndex())("aria-disabled",he.disabled)("disabled",he.disabled||null),t.AVh("mat-mdc-menu-item-highlighted",he._highlighted)("mat-mdc-menu-item-submenu-trigger",he._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",t.L39],disableRipple:[2,"disableRipple","disableRipple",t.L39]},exportAs:["matMenuItem"],features:[t.GFd],attrs:ae,ngContentSelectors:ue,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["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(fe,he){1&fe&&(t.NAR(ye),t.SdG(0),t.j41(1,"span",0),t.SdG(2,1),t.k0s(),t.nrm(3,"div",1),t.DNE(4,be,2,0,":svg:svg",2)),2&fe&&(t.R7$(3),t.Y8G("matRippleDisabled",he.disableRipple||he.disabled)("matRippleTrigger",he._getHostElement()),t.R7$(),t.vxM(he._triggersSubmenu?4:-1))},dependencies:[U.r6],encapsulation:2,changeDetection:0})}}return pe})();const O=new t.nKC("MatMenuContent"),r={transformMenu:(0,Y.hZ)("transformMenu",[(0,Y.wk)("void",(0,Y.iF)({opacity:0,transform:"scale(0.8)"})),(0,Y.kY)("void => enter",(0,Y.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Y.iF)({opacity:1,transform:"scale(1)"}))),(0,Y.kY)("* => void",(0,Y.i0)("100ms 25ms linear",(0,Y.iF)({opacity:0})))]),fadeInItems:(0,Y.hZ)("fadeInItems",[(0,Y.wk)("showing",(0,Y.iF)({opacity:1})),(0,Y.kY)("void => *",[(0,Y.iF)({opacity:0}),(0,Y.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let N=0;const ne=new t.nKC("mat-menu-default-options",{providedIn:"root",factory:function Ie(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let at=(()=>{class pe{get xPosition(){return this._xPosition}set xPosition(se){this._xPosition=se,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(se){this._yPosition=se,this.setPositionClasses()}set panelClass(se){const fe=this._previousPanelClass;fe&&fe.length&&fe.split(" ").forEach(he=>{this._classList[he]=!1}),this._previousPanelClass=se,se&&se.length&&(se.split(" ").forEach(he=>{this._classList[he]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(se){this.panelClass=se}constructor(se,fe,he,et){this._elementRef=se,this._ngZone=fe,this._changeDetectorRef=et,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new t.rOR,this._classList={},this._panelAnimationState="void",this._animationDone=new S.B,this.closed=new t.bkB,this.close=this.closed,this.panelId="mat-menu-panel-"+N++,this.overlayPanelClass=he.overlayPanelClass||"",this._xPosition=he.xPosition,this._yPosition=he.yPosition,this.backdropClass=he.backdropClass,this.overlapTrigger=he.overlapTrigger,this.hasBackdrop=he.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new e.Bu(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,d.Z)(this._directDescendantItems),(0,w.n)(se=>(0,l.h)(...se.map(fe=>fe._focused)))).subscribe(se=>this._keyManager.updateActiveItem(se)),this._directDescendantItems.changes.subscribe(se=>{const fe=this._keyManager;if("enter"===this._panelAnimationState&&fe.activeItem?._hasFocus()){const he=se.toArray(),et=Math.max(0,Math.min(he.length-1,fe.activeItemIndex||0));he[et]&&!he[et].disabled?fe.setActiveItem(et):fe.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,d.Z)(this._directDescendantItems),(0,w.n)(fe=>(0,l.h)(...fe.map(he=>he._hovered))))}addItem(se){}removeItem(se){}_handleKeydown(se){const fe=se.keyCode,he=this._keyManager;switch(fe){case C._f:(0,C.rp)(se)||(se.preventDefault(),this.closed.emit("keydown"));break;case C.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case C.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(fe===C.i7||fe===C.n6)&&he.setFocusOrigin("keyboard"),void he.onKeydown(se)}se.stopPropagation()}focusFirstItem(se="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,y.s)(1)).subscribe(()=>{let fe=null;if(this._directDescendantItems.length&&(fe=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!fe||!fe.contains(document.activeElement)){const he=this._keyManager;he.setFocusOrigin(se).setFirstItemActive(),!he.activeItem&&fe&&fe.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(se){const fe=Math.min(this._baseElevation+se,24),he=`${this._elevationPrefix}${fe}`,et=Object.keys(this._classList).find(Ke=>Ke.startsWith(this._elevationPrefix));(!et||et===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[he]=!0,this._previousElevation=he)}setPositionClasses(se=this.xPosition,fe=this.yPosition){const he=this._classList;he["mat-menu-before"]="before"===se,he["mat-menu-after"]="after"===se,he["mat-menu-above"]="above"===fe,he["mat-menu-below"]="below"===fe,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(se){this._animationDone.next(se),this._isAnimating=!1}_onAnimationStart(se){this._isAnimating=!0,"enter"===se.toState&&0===this._keyManager.activeItemIndex&&(se.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,d.Z)(this._allItems)).subscribe(se=>{this._directDescendantItems.reset(se.filter(fe=>fe._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(fe){return new(fe||pe)(t.rXU(t.aKT),t.rXU(t.SKi),t.rXU(ne),t.rXU(t.gRc))}}static{this.\u0275cmp=t.VBU({type:pe,selectors:[["mat-menu"]],contentQueries:function(fe,he,et){if(1&fe&&(t.wni(et,O,5),t.wni(et,f,5),t.wni(et,f,4)),2&fe){let Ke;t.mGM(Ke=t.lsd())&&(he.lazyContent=Ke.first),t.mGM(Ke=t.lsd())&&(he._allItems=Ke),t.mGM(Ke=t.lsd())&&(he.items=Ke)}},viewQuery:function(fe,he){if(1&fe&&t.GBs(t.C4Q,5),2&fe){let et;t.mGM(et=t.lsd())&&(he.templateRef=et.first)}},hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(fe,he){2&fe&&t.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",t.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",se=>null==se?null:(0,t.L39)(se)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[t.Jv_([{provide:c,useExisting:pe}]),t.GFd],ngContentSelectors:D,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id","ngClass"],[1,"mat-mdc-menu-content"]],template:function(fe,he){1&fe&&(t.NAR(),t.DNE(0,n,3,6,"ng-template"))},dependencies:[V.YU],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 pe})();const Ye=new t.nKC("mat-menu-scroll-strategy"),re={provide:Ye,deps:[Z.hJ],useFactory:function rt(pe){return()=>pe.scrollStrategies.reposition()}},te=(0,ie.BQ)({passive:!0});let _e=(()=>{class pe{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(se){this.menu=se}get menu(){return this._menu}set menu(se){se!==this._menu&&(this._menu=se,this._menuCloseSubscription.unsubscribe(),se&&(this._menuCloseSubscription=se.close.subscribe(fe=>{this._destroyMenu(fe),("click"===fe||"tab"===fe)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(fe)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(se,fe,he,et,Ke,Ct,_t,Nt,ke){this._overlay=se,this._element=fe,this._viewContainerRef=he,this._menuItemInstance=Ct,this._dir=_t,this._focusMonitor=Nt,this._ngZone=ke,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=x.yU.EMPTY,this._hoverSubscription=x.yU.EMPTY,this._menuCloseSubscription=x.yU.EMPTY,this._changeDetectorRef=(0,t.WQX)(t.gRc),this._handleTouchStart=Je=>{(0,e.w6)(Je)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new t.bkB,this.onMenuOpen=this.menuOpened,this.menuClosed=new t.bkB,this.onMenuClose=this.menuClosed,this._scrollStrategy=et,this._parentMaterialMenu=Ke instanceof at?Ke:void 0,fe.nativeElement.addEventListener("touchstart",this._handleTouchStart,te)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,te),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 se=this.menu;if(this._menuOpen||!se)return;const fe=this._createOverlay(se),he=fe.getConfig(),et=he.positionStrategy;this._setPosition(se,et),he.hasBackdrop=null==se.hasBackdrop?!this.triggersSubmenu():se.hasBackdrop,fe.attach(this._getPortal(se)),se.lazyContent&&se.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(se),se instanceof at&&(se._startAnimation(),se._directDescendantItems.changes.pipe((0,T.Q)(se.close)).subscribe(()=>{et.withLockedPosition(!1).reapplyLastPosition(),et.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(se,fe){this._focusMonitor&&se?this._focusMonitor.focusVia(this._element,se,fe):this._element.nativeElement.focus(fe)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(se){if(!this._overlayRef||!this.menuOpen)return;const fe=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===se||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,fe instanceof at?(fe._resetAnimation(),fe.lazyContent?fe._animationDone.pipe((0,k.p)(he=>"void"===he.toState),(0,y.s)(1),(0,T.Q)(fe.lazyContent._attached)).subscribe({next:()=>fe.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),fe?.lazyContent?.detach())}_initMenu(se){se.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,se.direction=this.dir,this._setMenuElevation(se),se.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(se){if(se.setElevation){let fe=0,he=se.parentMenu;for(;he;)fe++,he=he.parentMenu;se.setElevation(fe)}}_setIsMenuOpen(se){se!==this._menuOpen&&(this._menuOpen=se,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(se),this._changeDetectorRef.markForCheck())}_createOverlay(se){if(!this._overlayRef){const fe=this._getOverlayConfig(se);this._subscribeToPositions(se,fe.positionStrategy),this._overlayRef=this._overlay.create(fe),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(se){return new Z.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:se.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:se.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(se,fe){se.setPositionClasses&&fe.positionChanges.subscribe(he=>{const et="start"===he.connectionPair.overlayX?"after":"before",Ke="top"===he.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>se.setPositionClasses(et,Ke)):se.setPositionClasses(et,Ke)})}_setPosition(se,fe){let[he,et]="before"===se.xPosition?["end","start"]:["start","end"],[Ke,Ct]="above"===se.yPosition?["bottom","top"]:["top","bottom"],[_t,Nt]=[Ke,Ct],[ke,Je]=[he,et],Qe=0;if(this.triggersSubmenu()){if(Je=he="before"===se.xPosition?"start":"end",et=ke="end"===he?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const nt=this._parentMaterialMenu.items.first;this._parentInnerPadding=nt?nt._getHostElement().offsetTop:0}Qe="bottom"===Ke?this._parentInnerPadding:-this._parentInnerPadding}}else se.overlapTrigger||(_t="top"===Ke?"bottom":"top",Nt="top"===Ct?"bottom":"top");fe.withPositions([{originX:he,originY:_t,overlayX:ke,overlayY:Ke,offsetY:Qe},{originX:et,originY:_t,overlayX:Je,overlayY:Ke,offsetY:Qe},{originX:he,originY:Nt,overlayX:ke,overlayY:Ct,offsetY:-Qe},{originX:et,originY:Nt,overlayX:Je,overlayY:Ct,offsetY:-Qe}])}_menuClosingActions(){const se=this._overlayRef.backdropClick(),fe=this._overlayRef.detachments(),he=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,m.of)(),et=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,k.p)(Ke=>Ke!==this._menuItemInstance),(0,k.p)(()=>this._menuOpen)):(0,m.of)();return(0,l.h)(se,he,et,fe)}_handleMousedown(se){(0,e._G)(se)||(this._openedBy=0===se.button?"mouse":void 0,this.triggersSubmenu()&&se.preventDefault())}_handleKeydown(se){const fe=se.keyCode;(fe===C.Fm||fe===C.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(fe===C.LE&&"ltr"===this.dir||fe===C.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(se){this.triggersSubmenu()?(se.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,k.p)(se=>se===this._menuItemInstance&&!se.disabled),(0,F.c)(0,R.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof at&&this.menu._isAnimating?this.menu._animationDone.pipe((0,y.s)(1),(0,F.c)(0,R.$),(0,T.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(se){return(!this._portal||this._portal.templateRef!==se.templateRef)&&(this._portal=new G.VA(se.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(fe){return new(fe||pe)(t.rXU(Z.hJ),t.rXU(t.aKT),t.rXU(t.c1b),t.rXU(Ye),t.rXU(c,8),t.rXU(f,10),t.rXU($.dS,8),t.rXU(e.FN),t.rXU(t.SKi))}}static{this.\u0275dir=t.FsC({type:pe,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(fe,he){1&fe&&t.bIt("click",function(Ke){return he._handleClick(Ke)})("mousedown",function(Ke){return he._handleMousedown(Ke)})("keydown",function(Ke){return he._handleKeydown(Ke)}),2&fe&&t.BMQ("aria-haspopup",he.menu?"menu":null)("aria-expanded",he.menuOpen)("aria-controls",he.menuOpen?he.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]})}}return pe})(),de=(()=>{class pe{static{this.\u0275fac=function(fe){return new(fe||pe)}}static{this.\u0275mod=t.$C({type:pe})}static{this.\u0275inj=t.G2t({providers:[re],imports:[V.MD,U.pZ,U.yE,Z.z_,ve.Gj,U.yE]})}}return pe})()},6695:(Ve,ee,p)=>{"use strict";p.d(ee,{Ou:()=>ye,iy:()=>ae,xX:()=>V});var t=p(4438),e=p(1413),C=p(8834),S=p(2798),l=p(4823),x=p(6600),m=p(4085),R=p(6467);function d(ue,be){if(1&ue&&(t.j41(0,"mat-option",16),t.EFF(1),t.k0s()),2&ue){const D=be.$implicit;t.Y8G("value",D),t.R7$(),t.SpI(" ",D," ")}}function w(ue,be){if(1&ue){const D=t.RV6();t.j41(0,"mat-form-field",13)(1,"mat-select",15),t.bIt("selectionChange",function(c){t.eBV(D);const f=t.XpG(2);return t.Njj(f._changePageSize(c.value))}),t.Z7z(2,d,2,2,"mat-option",16,t.fX1),t.k0s()()}if(2&ue){const D=t.XpG(2);t.Y8G("appearance",D._formFieldAppearance)("color",D.color),t.R7$(),t.Y8G("value",D.pageSize)("disabled",D.disabled)("aria-labelledby",D._pageSizeLabelId)("panelClass",D.selectConfig.panelClass||"")("disableOptionCentering",D.selectConfig.disableOptionCentering),t.R7$(),t.Dyx(D._displayedPageSizeOptions)}}function y(ue,be){if(1&ue&&(t.j41(0,"div",14),t.EFF(1),t.k0s()),2&ue){const D=t.XpG(2);t.R7$(),t.JRh(D.pageSize)}}function T(ue,be){if(1&ue&&(t.j41(0,"div",2)(1,"div",12),t.EFF(2),t.k0s(),t.DNE(3,w,4,7,"mat-form-field",13)(4,y,2,1,"div",14),t.k0s()),2&ue){const D=t.XpG();t.R7$(),t.BMQ("id",D._pageSizeLabelId),t.R7$(),t.SpI(" ",D._intl.itemsPerPageLabel," "),t.R7$(),t.vxM(D._displayedPageSizeOptions.length>1?3:-1),t.R7$(),t.vxM(D._displayedPageSizeOptions.length<=1?4:-1)}}function k(ue,be){if(1&ue){const D=t.RV6();t.j41(0,"button",17),t.bIt("click",function(){t.eBV(D);const c=t.XpG();return t.Njj(c.firstPage())}),t.qSk(),t.j41(1,"svg",7),t.nrm(2,"path",18),t.k0s()()}if(2&ue){const D=t.XpG();t.Y8G("matTooltip",D._intl.firstPageLabel)("matTooltipDisabled",D._previousButtonsDisabled())("matTooltipPosition","above")("disabled",D._previousButtonsDisabled()),t.BMQ("aria-label",D._intl.firstPageLabel)}}function F(ue,be){if(1&ue){const D=t.RV6();t.j41(0,"button",19),t.bIt("click",function(){t.eBV(D);const c=t.XpG();return t.Njj(c.lastPage())}),t.qSk(),t.j41(1,"svg",7),t.nrm(2,"path",20),t.k0s()()}if(2&ue){const D=t.XpG();t.Y8G("matTooltip",D._intl.lastPageLabel)("matTooltipDisabled",D._nextButtonsDisabled())("matTooltipPosition","above")("disabled",D._nextButtonsDisabled()),t.BMQ("aria-label",D._intl.lastPageLabel)}}let V=(()=>{class ue{constructor(){this.changes=new e.B,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(D,n,c)=>{if(0==c||0==n)return`0 of ${c}`;const f=D*n;return`${f+1} \u2013 ${f<(c=Math.max(c,0))?Math.min(f+n,c):f+n} of ${c}`}}static{this.\u0275fac=function(n){return new(n||ue)}}static{this.\u0275prov=t.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}}return ue})();const G={provide:V,deps:[[new t.Xx1,new t.kdw,V]],useFactory:function U(ue){return ue||new V}},Z=new t.nKC("MAT_PAGINATOR_DEFAULT_OPTIONS"),ie=(0,x.Ob)((0,x.mG)(class{}));let ve=0,ae=(()=>{class ue extends ie{get pageIndex(){return this._pageIndex}set pageIndex(D){this._pageIndex=Math.max((0,m.OE)(D),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(D){this._length=(0,m.OE)(D),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(D){this._pageSize=Math.max((0,m.OE)(D),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(D){this._pageSizeOptions=(D||[]).map(n=>(0,m.OE)(n)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(D){this._hidePageSize=(0,m.he)(D)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(D){this._showFirstLastButtons=(0,m.he)(D)}constructor(D,n,c){if(super(),this._intl=D,this._changeDetectorRef=n,this._pageSizeLabelId="mat-paginator-page-size-label-"+ve++,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new t.bkB,this._intlChanges=D.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),c){const{pageSize:f,pageSizeOptions:h,hidePageSize:M,showFirstLastButtons:L}=c;null!=f&&(this._pageSize=f),null!=h&&(this._pageSizeOptions=h),null!=M&&(this._hidePageSize=M),null!=L&&(this._showFirstLastButtons=L)}this._formFieldAppearance=c?.formFieldAppearance||"outline"}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const D=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(D)}previousPage(){if(!this.hasPreviousPage())return;const D=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(D)}firstPage(){if(!this.hasPreviousPage())return;const D=this.pageIndex;this.pageIndex=0,this._emitPageEvent(D)}lastPage(){if(!this.hasNextPage())return;const D=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(D)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const D=this.getNumberOfPages()-1;return this.pageIndex<D&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(D){const c=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/D)||0,this.pageSize=D,this._emitPageEvent(c)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((D,n)=>D-n),this._changeDetectorRef.markForCheck())}_emitPageEvent(D){this.page.emit({previousPageIndex:D,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static{this.\u0275fac=function(n){return new(n||ue)(t.rXU(V),t.rXU(t.gRc),t.rXU(Z,8))}}static{this.\u0275cmp=t.VBU({type:ue,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:[t.Vt3],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"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",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["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,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["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,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(n,c){1&n&&(t.j41(0,"div",0)(1,"div",1),t.DNE(2,T,5,4,"div",2),t.j41(3,"div",3)(4,"div",4),t.EFF(5),t.k0s(),t.DNE(6,k,3,5,"button",5),t.j41(7,"button",6),t.bIt("click",function(){return c.previousPage()}),t.qSk(),t.j41(8,"svg",7),t.nrm(9,"path",8),t.k0s()(),t.joV(),t.j41(10,"button",9),t.bIt("click",function(){return c.nextPage()}),t.qSk(),t.j41(11,"svg",7),t.nrm(12,"path",10),t.k0s()(),t.DNE(13,F,3,5,"button",11),t.k0s()()()),2&n&&(t.R7$(2),t.vxM(c.hidePageSize?-1:2),t.R7$(3),t.SpI(" ",c._intl.getRangeLabel(c.pageIndex,c.pageSize,c.length)," "),t.R7$(),t.vxM(c.showFirstLastButtons?6:-1),t.R7$(),t.Y8G("matTooltip",c._intl.previousPageLabel)("matTooltipDisabled",c._previousButtonsDisabled())("matTooltipPosition","above")("disabled",c._previousButtonsDisabled()),t.BMQ("aria-label",c._intl.previousPageLabel),t.R7$(3),t.Y8G("matTooltip",c._intl.nextPageLabel)("matTooltipDisabled",c._nextButtonsDisabled())("matTooltipPosition","above")("disabled",c._nextButtonsDisabled()),t.BMQ("aria-label",c._intl.nextPageLabel),t.R7$(3),t.vxM(c.showFirstLastButtons?13:-1))},dependencies:[C.iY,R.rl,S.VO,x.wT,l.oV],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 ue})(),ye=(()=>{class ue{static{this.\u0275fac=function(n){return new(n||ue)}}static{this.\u0275mod=t.$C({type:ue})}static{this.\u0275inj=t.G2t({providers:[G],imports:[C.Hl,S.Ve,l.uc]})}}return ue})()},7575:(Ve,ee,p)=>{"use strict";p.d(ee,{HM:()=>d,PO:()=>y});var t=p(4438),C=(p(177),p(6600)),S=p(4085);const l=new t.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),R=(0,C.Zc)(class{constructor(T){this._elementRef=T}},"primary");let d=(()=>{class T extends R{constructor(F,V,U,G,Y){super(F),this._ngZone=V,this._changeDetectorRef=U,this._animationMode=G,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new t.bkB,this._mode="determinate",this._transitionendHandler=$=>{0===this.animationEnd.observers.length||!$.target||!$.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===G,Y&&(Y.color&&(this.color=this.defaultColor=Y.color),this.mode=Y.mode||this.mode)}get value(){return this._value}set value(F){this._value=w((0,S.OE)(F)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(F){this._bufferValue=w((0,S.OE)(F)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(F){this._mode=F,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{this.\u0275fac=function(V){return new(V||T)(t.rXU(t.aKT),t.rXU(t.SKi),t.rXU(t.gRc),t.rXU(t.bc$,8),t.rXU(l,8))}}static{this.\u0275cmp=t.VBU({type:T,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(V,U){2&V&&(t.BMQ("aria-valuenow",U._isIndeterminate()?null:U.value)("mode",U.mode),t.AVh("_mat-animation-noopable",U._isNoopAnimation)("mdc-linear-progress--animation-ready",!U._isNoopAnimation)("mdc-linear-progress--indeterminate",U._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[t.Vt3],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(V,U){1&V&&(t.j41(0,"div",0),t.nrm(1,"div",1)(2,"div",2),t.k0s(),t.j41(3,"div",3),t.nrm(4,"span",4),t.k0s(),t.j41(5,"div",5),t.nrm(6,"span",4),t.k0s()),2&V&&(t.R7$(),t.xc7("flex-basis",U._getBufferBarFlexBasis()),t.R7$(2),t.xc7("transform",U._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}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 T})();function w(T,k=0,F=100){return Math.max(k,Math.min(F,T))}let y=(()=>{class T{static{this.\u0275fac=function(V){return new(V||T)}}static{this.\u0275mod=t.$C({type:T})}static{this.\u0275inj=t.G2t({imports:[C.yE]})}}return T})()},9183:(Ve,ee,p)=>{"use strict";p.d(ee,{D6:()=>F,LG:()=>T});var t=p(4438),e=p(6600),C=p(4085),S=p(177);const l=["determinateSpinner"];function x(V,U){if(1&V&&(t.qSk(),t.j41(0,"svg",11),t.nrm(1,"circle",12),t.k0s()),2&V){const G=t.XpG();t.BMQ("viewBox",G._viewBox()),t.R7$(),t.xc7("stroke-dasharray",G._strokeCircumference(),"px")("stroke-dashoffset",G._strokeCircumference()/2,"px")("stroke-width",G._circleStrokeWidth(),"%"),t.BMQ("r",G._circleRadius())}}const m=(0,e.Zc)(class{constructor(V){this._elementRef=V}},"primary"),R=new t.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:function d(){return{diameter:w}}}),w=100;let T=(()=>{class V extends m{constructor(G,Y,$){super(G),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=w,this._noopAnimations="NoopAnimations"===Y&&!!$&&!$._forceAnimations,$&&($.color&&(this.color=this.defaultColor=$.color),$.diameter&&(this.diameter=$.diameter),$.strokeWidth&&(this.strokeWidth=$.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(G){this._value=Math.max(0,Math.min(100,(0,C.OE)(G)))}get diameter(){return this._diameter}set diameter(G){this._diameter=(0,C.OE)(G)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(G){this._strokeWidth=(0,C.OE)(G)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const G=2*this._circleRadius()+this.strokeWidth;return`0 0 ${G} ${G}`}_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{this.\u0275fac=function(Y){return new(Y||V)(t.rXU(t.aKT),t.rXU(t.bc$,8),t.rXU(R))}}static{this.\u0275cmp=t.VBU({type:V,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(Y,$){if(1&Y&&t.GBs(l,5),2&Y){let Z;t.mGM(Z=t.lsd())&&($._determinateCircle=Z.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(Y,$){2&Y&&(t.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===$.mode?$.value:null)("mode",$.mode),t.xc7("width",$.diameter,"px")("height",$.diameter,"px")("--mdc-circular-progress-size",$.diameter+"px")("--mdc-circular-progress-active-indicator-width",$.diameter+"px"),t.AVh("_mat-animation-noopable",$._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===$.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[t.Vt3],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(Y,$){if(1&Y&&(t.DNE(0,x,2,8,"ng-template",null,0,t.C5r),t.j41(2,"div",2,1),t.qSk(),t.j41(4,"svg",3),t.nrm(5,"circle",4),t.k0s()(),t.joV(),t.j41(6,"div",5)(7,"div",6)(8,"div",7),t.eu8(9,8),t.k0s(),t.j41(10,"div",9),t.eu8(11,8),t.k0s(),t.j41(12,"div",10),t.eu8(13,8),t.k0s()()()),2&Y){const Z=t.sdS(1);t.R7$(4),t.BMQ("viewBox",$._viewBox()),t.R7$(),t.xc7("stroke-dasharray",$._strokeCircumference(),"px")("stroke-dashoffset",$._strokeDashOffset(),"px")("stroke-width",$._circleStrokeWidth(),"%"),t.BMQ("r",$._circleRadius()),t.R7$(4),t.Y8G("ngTemplateOutlet",Z),t.R7$(2),t.Y8G("ngTemplateOutlet",Z),t.R7$(2),t.Y8G("ngTemplateOutlet",Z)}},dependencies:[S.T3],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 V})(),F=(()=>{class V{static{this.\u0275fac=function(Y){return new(Y||V)}}static{this.\u0275mod=t.$C({type:V})}static{this.\u0275inj=t.G2t({imports:[S.MD,e.yE]})}}return V})()},5951:(Ve,ee,p)=>{"use strict";p.d(ee,{VT:()=>U,Wk:()=>Z,_g:()=>$});var t=p(4438),e=p(6600),C=p(8617),S=p(4085),l=p(5024),x=p(9417),m=p(177);const R=["input"],d=["*"];let w=0;class y{constructor(ve,ae){this.source=ve,this.value=ae}}const T={provide:x.kq,useExisting:(0,t.Rfq)(()=>U),multi:!0},k=new t.nKC("MatRadioGroup"),F=new t.nKC("mat-radio-default-options",{providedIn:"root",factory:function V(){return{color:"accent"}}});let U=(()=>{class ie{get name(){return this._name}set name(ae){this._name=ae,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(ae){this._labelPosition="before"===ae?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(ae){this._value!==ae&&(this._value=ae,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(ae){this._selected=ae,this.value=ae?ae.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(ae){this._disabled=(0,S.he)(ae),this._markRadiosForCheck()}get required(){return this._required}set required(ae){this._required=(0,S.he)(ae),this._markRadiosForCheck()}constructor(ae){this._changeDetector=ae,this._value=null,this._name="mat-radio-group-"+w++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new t.bkB}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(ae=>ae===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(ae=>{ae.name=this.name,ae._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(ye=>{ye.checked=this.value===ye.value,ye.checked&&(this._selected=ye)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new y(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(ae=>ae._markForCheck())}writeValue(ae){this.value=ae,this._changeDetector.markForCheck()}registerOnChange(ae){this._controlValueAccessorChangeFn=ae}registerOnTouched(ae){this.onTouched=ae}setDisabledState(ae){this.disabled=ae,this._changeDetector.markForCheck()}static{this.\u0275fac=function(ye){return new(ye||ie)(t.rXU(t.gRc))}}static{this.\u0275dir=t.FsC({type:ie,selectors:[["mat-radio-group"]],contentQueries:function(ye,ue,be){if(1&ye&&t.wni(be,$,5),2&ye){let D;t.mGM(D=t.lsd())&&(ue._radios=D)}},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:[t.Jv_([T,{provide:k,useExisting:ie}])]})}}return ie})();class G{constructor(ve){this._elementRef=ve}}const Y=(0,e.GG)((0,e.BF)(G));let $=(()=>{class ie extends Y{get checked(){return this._checked}set checked(ae){const ye=(0,S.he)(ae);this._checked!==ye&&(this._checked=ye,ye&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!ye&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),ye&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(ae){this._value!==ae&&(this._value=ae,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===ae),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(ae){this._labelPosition=ae}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(ae){this._setDisabled((0,S.he)(ae))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(ae){this._required=(0,S.he)(ae)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(ae){this._color=ae}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ae,ye,ue,be,D,n,c,f){super(ye),this._changeDetector=ue,this._focusMonitor=be,this._radioDispatcher=D,this._providerOverride=c,this._uniqueId="mat-radio-"+ ++w,this.id=this._uniqueId,this.change=new t.bkB,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=ae,this._noopAnimations="NoopAnimations"===n,f&&(this.tabIndex=(0,S.OE)(f,0))}focus(ae,ye){ye?this._focusMonitor.focusVia(this._inputElement,ye,ae):this._inputElement.nativeElement.focus(ae)}_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((ae,ye)=>{ae!==this.id&&ye===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(ae=>{!ae&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new y(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(ae){ae.stopPropagation()}_onInputInteraction(ae){if(ae.stopPropagation(),!this.checked&&!this.disabled){const ye=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),ye&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(ae){this._onInputInteraction(ae),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(ae){this._disabled!==ae&&(this._disabled=ae,this._changeDetector.markForCheck())}_updateTabIndex(){const ae=this.radioGroup;let ye;if(ye=ae&&ae.selected&&!this.disabled?ae.selected===this?this.tabIndex:-1:this.tabIndex,ye!==this._previousTabIndex){const ue=this._inputElement?.nativeElement;ue&&(ue.setAttribute("tabindex",ye+""),this._previousTabIndex=ye)}}static{this.\u0275fac=function(ye){return new(ye||ie)(t.rXU(k,8),t.rXU(t.aKT),t.rXU(t.gRc),t.rXU(C.FN),t.rXU(l.zP),t.rXU(t.bc$,8),t.rXU(F,8),t.kS0("tabindex"))}}static{this.\u0275cmp=t.VBU({type:ie,selectors:[["mat-radio-button"]],viewQuery:function(ye,ue){if(1&ye&&t.GBs(R,5),2&ye){let be;t.mGM(be=t.lsd())&&(ue._inputElement=be.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(ye,ue){1&ye&&t.bIt("focus",function(){return ue._inputElement.nativeElement.focus()}),2&ye&&(t.BMQ("id",ue.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),t.AVh("mat-primary","primary"===ue.color)("mat-accent","accent"===ue.color)("mat-warn","warn"===ue.color)("mat-mdc-radio-checked",ue.checked)("_mat-animation-noopable",ue._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],features:[t.Vt3],ngContentSelectors:d,decls:13,vars:17,consts:[["formField",""],["input",""],[1,"mdc-form-field"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[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(ye,ue){if(1&ye){const be=t.RV6();t.NAR(),t.j41(0,"div",2,0)(2,"div",3)(3,"div",4),t.bIt("click",function(n){return t.eBV(be),t.Njj(ue._onTouchTargetClick(n))}),t.k0s(),t.j41(4,"input",5,1),t.bIt("change",function(n){return t.eBV(be),t.Njj(ue._onInputInteraction(n))}),t.k0s(),t.j41(6,"div",6),t.nrm(7,"div",7)(8,"div",8),t.k0s(),t.j41(9,"div",9),t.nrm(10,"div",10),t.k0s()(),t.j41(11,"label",11),t.SdG(12),t.k0s()()}if(2&ye){const be=t.sdS(1);t.AVh("mdc-form-field--align-end","before"==ue.labelPosition),t.R7$(2),t.AVh("mdc-radio--disabled",ue.disabled),t.R7$(2),t.Y8G("id",ue.inputId)("checked",ue.checked)("disabled",ue.disabled)("required",ue.required),t.BMQ("name",ue.name)("value",ue.value)("aria-label",ue.ariaLabel)("aria-labelledby",ue.ariaLabelledby)("aria-describedby",ue.ariaDescribedby),t.R7$(5),t.Y8G("matRippleTrigger",be)("matRippleDisabled",ue._isRippleDisabled())("matRippleCentered",!0),t.R7$(2),t.Y8G("for",ue.inputId)}},dependencies:[e.r6],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 ie})(),Z=(()=>{class ie{static{this.\u0275fac=function(ye){return new(ye||ie)}}static{this.\u0275mod=t.$C({type:ie})}static{this.\u0275inj=t.G2t({imports:[e.yE,m.MD,e.pZ,e.yE]})}}return ie})()},2798:(Ve,ee,p)=>{"use strict";p.d(ee,{$2:()=>te,JO:()=>ne,VO:()=>re,Ve:()=>oe});var t=p(6969),e=p(177),C=p(4438),S=p(6600),l=p(6467),x=p(5542),m=p(8617),R=p(8203),d=p(4085),w=p(5024),y=p(7336),T=p(9417),k=p(1413),F=p(9030),V=p(7786),U=p(9172),G=p(5558),Y=p(6697),$=p(5964),Z=p(6354),ie=p(3294),ve=p(6977),ae=p(9969);const ye=["trigger"],ue=["panel"],be=[[["mat-select-trigger"]],"*"],D=["mat-select-trigger","*"];function n(_e,de){if(1&_e&&(C.j41(0,"span",4),C.EFF(1),C.k0s()),2&_e){const pe=C.XpG();C.R7$(),C.JRh(pe.placeholder)}}function c(_e,de){1&_e&&C.SdG(0)}function f(_e,de){if(1&_e&&(C.j41(0,"span",11),C.EFF(1),C.k0s()),2&_e){const pe=C.XpG(2);C.R7$(),C.JRh(pe.triggerValue)}}function h(_e,de){if(1&_e&&(C.j41(0,"span",5),C.DNE(1,c,1,0)(2,f,2,1,"span",11),C.k0s()),2&_e){const pe=C.XpG();C.R7$(),C.vxM(pe.customTrigger?1:2)}}function M(_e,de){if(1&_e){const pe=C.RV6();C.j41(0,"div",12,1),C.bIt("@transformPanel.done",function(se){C.eBV(pe);const fe=C.XpG();return C.Njj(fe._panelDoneAnimatingStream.next(se.toState))})("keydown",function(se){C.eBV(pe);const fe=C.XpG();return C.Njj(fe._handleKeydown(se))}),C.SdG(2,1),C.k0s()}if(2&_e){const pe=C.XpG();C.ZvI("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",pe._getPanelTheme(),""),C.Y8G("ngClass",pe.panelClass)("@transformPanel","showing"),C.BMQ("id",pe.id+"-panel")("aria-multiselectable",pe.multiple)("aria-label",pe.ariaLabel||null)("aria-labelledby",pe._getPanelAriaLabelledby())}}const L={transformPanelWrap:(0,ae.hZ)("transformPanelWrap",[(0,ae.kY)("* => void",(0,ae.P)("@transformPanel",[(0,ae.MA)()],{optional:!0}))]),transformPanel:(0,ae.hZ)("transformPanel",[(0,ae.wk)("void",(0,ae.iF)({opacity:0,transform:"scale(1, 0.8)"})),(0,ae.kY)("void => showing",(0,ae.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ae.iF)({opacity:1,transform:"scale(1, 1)"}))),(0,ae.kY)("* => void",(0,ae.i0)("100ms linear",(0,ae.iF)({opacity:0})))])};let v=0;const z=new C.nKC("mat-select-scroll-strategy"),ne=new C.nKC("MAT_SELECT_CONFIG"),Ie={provide:z,deps:[t.hJ],useFactory:function N(_e){return()=>_e.scrollStrategies.reposition()}},at=new C.nKC("MatSelectTrigger");class Ye{constructor(de,pe){this.source=de,this.value=pe}}const rt=(0,S.GG)((0,S.BF)((0,S.Ob)((0,S.J8)(class{constructor(_e,de,pe,We,se){this._elementRef=_e,this._defaultErrorStateMatcher=de,this._parentForm=pe,this._parentFormGroup=We,this.ngControl=se,this.stateChanges=new k.B}}))));let re=(()=>{class _e extends rt{_scrollOptionIntoView(pe){const We=this.options.toArray()[pe];if(We){const se=this.panel.nativeElement,fe=(0,S.jb)(pe,this.options,this.optionGroups),he=We._getHostElement();se.scrollTop=0===pe&&1===fe?0:(0,S.TL)(he.offsetTop,he.offsetHeight,se.scrollTop,se.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(pe){return new Ye(this,pe)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(pe){this._hideSingleSelectionIndicator=(0,d.he)(pe),this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(pe){this._placeholder=pe,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(T.k0.required)??!1}set required(pe){this._required=(0,d.he)(pe),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(pe){this._multiple=(0,d.he)(pe)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(pe){this._disableOptionCentering=(0,d.he)(pe)}get compareWith(){return this._compareWith}set compareWith(pe){this._compareWith=pe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(pe){this._assignValue(pe)&&this._onChange(pe)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(pe){this._typeaheadDebounceInterval=(0,d.OE)(pe)}get id(){return this._id}set id(pe){this._id=pe||this._uid,this.stateChanges.next()}constructor(pe,We,se,fe,he,et,Ke,Ct,_t,Nt,ke,Je,Qe,nt){super(he,fe,Ke,Ct,Nt),this._viewportRuler=pe,this._changeDetectorRef=We,this._ngZone=se,this._dir=et,this._parentFormField=_t,this._liveAnnouncer=Qe,this._defaultOptions=nt,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=(Ue,ht)=>Ue===ht,this._uid="mat-select-"+v++,this._triggerAriaLabelledBy=null,this._destroy=new k.B,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+v++,this._panelDoneAnimatingStream=new k.B,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,F.v)(()=>{const Ue=this.options;return Ue?Ue.changes.pipe((0,U.Z)(Ue),(0,G.n)(()=>(0,V.h)(...Ue.map(ht=>ht.onSelectionChange)))):this._ngZone.onStable.pipe((0,Y.s)(1),(0,G.n)(()=>this.optionSelectionChanges))}),this.openedChange=new C.bkB,this._openedStream=this.openedChange.pipe((0,$.p)(Ue=>Ue),(0,Z.T)(()=>{})),this._closedStream=this.openedChange.pipe((0,$.p)(Ue=>!Ue),(0,Z.T)(()=>{})),this.selectionChange=new C.bkB,this.valueChange=new C.bkB,this._trackedModal=null,this._skipPredicate=Ue=>!this.panelOpen&&Ue.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=nt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=nt.typeaheadDebounceInterval),this._scrollStrategyFactory=Je,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(ke)||0,this.id=this.id}ngOnInit(){this._selectionModel=new w.CB(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ie.F)(),(0,ve.Q)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,ve.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,ve.Q)(this._destroy)).subscribe(pe=>{pe.added.forEach(We=>We.select()),pe.removed.forEach(We=>We.deselect())}),this.options.changes.pipe((0,U.Z)(null),(0,ve.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const pe=this._getTriggerAriaLabelledby(),We=this.ngControl;if(pe!==this._triggerAriaLabelledBy){const se=this._elementRef.nativeElement;this._triggerAriaLabelledBy=pe,pe?se.setAttribute("aria-labelledby",pe):se.removeAttribute("aria-labelledby")}We&&(this._previousControl!==We.control&&(void 0!==this._previousControl&&null!==We.disabled&&We.disabled!==this.disabled&&(this.disabled=We.disabled),this._previousControl=We.control),this.updateErrorState())}ngOnChanges(pe){(pe.disabled||pe.userAriaDescribedBy)&&this.stateChanges.next(),pe.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 pe=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!pe)return;const We=`${this.id}-panel`;this._trackedModal&&(0,m.Ae)(this._trackedModal,"aria-owns",We),(0,m.px)(pe,"aria-owns",We),this._trackedModal=pe}_clearFromModal(){this._trackedModal&&((0,m.Ae)(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(pe){this._assignValue(pe)}registerOnChange(pe){this._onChange=pe}registerOnTouched(pe){this._onTouched=pe}setDisabledState(pe){this.disabled=pe,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 pe=this._selectionModel.selected.map(We=>We.viewValue);return this._isRtl()&&pe.reverse(),pe.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(pe){this.disabled||(this.panelOpen?this._handleOpenKeydown(pe):this._handleClosedKeydown(pe))}_handleClosedKeydown(pe){const We=pe.keyCode,se=We===y.n6||We===y.i7||We===y.UQ||We===y.LE,fe=We===y.Fm||We===y.t6,he=this._keyManager;if(!he.isTyping()&&fe&&!(0,y.rp)(pe)||(this.multiple||pe.altKey)&&se)pe.preventDefault(),this.open();else if(!this.multiple){const et=this.selected;he.onKeydown(pe);const Ke=this.selected;Ke&&et!==Ke&&this._liveAnnouncer.announce(Ke.viewValue,1e4)}}_handleOpenKeydown(pe){const We=this._keyManager,se=pe.keyCode,fe=se===y.n6||se===y.i7,he=We.isTyping();if(fe&&pe.altKey)pe.preventDefault(),this.close();else if(he||se!==y.Fm&&se!==y.t6||!We.activeItem||(0,y.rp)(pe))if(!he&&this._multiple&&se===y.A&&pe.ctrlKey){pe.preventDefault();const et=this.options.some(Ke=>!Ke.disabled&&!Ke.selected);this.options.forEach(Ke=>{Ke.disabled||(et?Ke.select():Ke.deselect())})}else{const et=We.activeItemIndex;We.onKeydown(pe),this._multiple&&fe&&pe.shiftKey&&We.activeItem&&We.activeItemIndex!==et&&We.activeItem._selectViaInteraction()}else pe.preventDefault(),We.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,Y.s)(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(pe){if(this.options.forEach(We=>We.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&pe)Array.isArray(pe),pe.forEach(We=>this._selectOptionByValue(We)),this._sortValues();else{const We=this._selectOptionByValue(pe);We?this._keyManager.updateActiveItem(We):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(pe){const We=this.options.find(se=>{if(this._selectionModel.isSelected(se))return!1;try{return null!=se.value&&this._compareWith(se.value,pe)}catch{return!1}});return We&&this._selectionModel.select(We),We}_assignValue(pe){return!!(pe!==this._value||this._multiple&&Array.isArray(pe))&&(this.options&&this._setSelectionByValue(pe),this._value=pe,!0)}_getOverlayWidth(pe){return"auto"===this.panelWidth?(pe instanceof t.$Q?pe.elementRef:pe||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const pe of this.options)pe._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new m.Au(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 pe=(0,V.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ve.Q)(pe)).subscribe(We=>{this._onSelect(We.source,We.isUserInput),We.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,V.h)(...this.options.map(We=>We._stateChanges)).pipe((0,ve.Q)(pe)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(pe,We){const se=this._selectionModel.isSelected(pe);null!=pe.value||this._multiple?(se!==pe.selected&&(pe.selected?this._selectionModel.select(pe):this._selectionModel.deselect(pe)),We&&this._keyManager.setActiveItem(pe),this.multiple&&(this._sortValues(),We&&this.focus())):(pe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(pe.value)),se!==this._selectionModel.isSelected(pe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const pe=this.options.toArray();this._selectionModel.sort((We,se)=>this.sortComparator?this.sortComparator(We,se,pe):pe.indexOf(We)-pe.indexOf(se)),this.stateChanges.next()}}_propagateChanges(pe){let We;We=this.multiple?this.selected.map(se=>se.value):this.selected?this.selected.value:pe,this._value=We,this.valueChange.emit(We),this._onChange(We),this.selectionChange.emit(this._getChangeEvent(We)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let pe=-1;for(let We=0;We<this.options.length;We++)if(!this.options.get(We).disabled){pe=We;break}this._keyManager.setActiveItem(pe)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(pe){this._elementRef.nativeElement.focus(pe)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const pe=this._parentFormField?.getLabelId();return this.ariaLabelledby?(pe?pe+" ":"")+this.ariaLabelledby:pe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const pe=this._parentFormField?.getLabelId();let We=(pe?pe+" ":"")+this._valueId;return this.ariaLabelledby&&(We+=" "+this.ariaLabelledby),We}_panelDoneAnimating(pe){this.openedChange.emit(pe)}setDescribedByIds(pe){pe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",pe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(We){return new(We||_e)(C.rXU(x.Xj),C.rXU(C.gRc),C.rXU(C.SKi),C.rXU(S.es),C.rXU(C.aKT),C.rXU(R.dS,8),C.rXU(T.cV,8),C.rXU(T.j4,8),C.rXU(l.xb,8),C.rXU(T.vO,10),C.kS0("tabindex"),C.rXU(z),C.rXU(m.Ai),C.rXU(ne,8))}}static{this.\u0275cmp=C.VBU({type:_e,selectors:[["mat-select"]],contentQueries:function(We,se,fe){if(1&We&&(C.wni(fe,at,5),C.wni(fe,S.wT,5),C.wni(fe,S.QC,5)),2&We){let he;C.mGM(he=C.lsd())&&(se.customTrigger=he.first),C.mGM(he=C.lsd())&&(se.options=he),C.mGM(he=C.lsd())&&(se.optionGroups=he)}},viewQuery:function(We,se){if(1&We&&(C.GBs(ye,5),C.GBs(ue,5),C.GBs(t.WB,5)),2&We){let fe;C.mGM(fe=C.lsd())&&(se.trigger=fe.first),C.mGM(fe=C.lsd())&&(se.panel=fe.first),C.mGM(fe=C.lsd())&&(se._overlayDir=fe.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(We,se){1&We&&C.bIt("keydown",function(he){return se._handleKeydown(he)})("focus",function(){return se._onFocus()})("blur",function(){return se._onBlur()}),2&We&&(C.BMQ("id",se.id)("tabindex",se.tabIndex)("aria-controls",se.panelOpen?se.id+"-panel":null)("aria-expanded",se.panelOpen)("aria-label",se.ariaLabel||null)("aria-required",se.required.toString())("aria-disabled",se.disabled.toString())("aria-invalid",se.errorState)("aria-activedescendant",se._getAriaActiveDescendant()),C.AVh("mat-mdc-select-disabled",se.disabled)("mat-mdc-select-invalid",se.errorState)("mat-mdc-select-required",se.required)("mat-mdc-select-empty",se.empty)("mat-mdc-select-multiple",se.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"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:[C.Jv_([{provide:l.qT,useExisting:_e},{provide:S.is,useExisting:_e}]),C.Vt3,C.OA$],ngContentSelectors:D,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[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,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(We,se){if(1&We){const fe=C.RV6();C.NAR(be),C.j41(0,"div",2,0),C.bIt("click",function(){return C.eBV(fe),C.Njj(se.toggle())}),C.j41(3,"div",3),C.DNE(4,n,2,1,"span",4)(5,h,3,1,"span",5),C.k0s(),C.j41(6,"div",6)(7,"div",7),C.qSk(),C.j41(8,"svg",8),C.nrm(9,"path",9),C.k0s()()()(),C.DNE(10,M,3,9,"ng-template",10),C.bIt("backdropClick",function(){return C.eBV(fe),C.Njj(se.close())})("attach",function(){return C.eBV(fe),C.Njj(se._onAttached())})("detach",function(){return C.eBV(fe),C.Njj(se.close())})}if(2&We){const fe=C.sdS(1);C.R7$(3),C.BMQ("id",se._valueId),C.R7$(),C.vxM(se.empty?4:5),C.R7$(6),C.Y8G("cdkConnectedOverlayPanelClass",se._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",se._scrollStrategy)("cdkConnectedOverlayOrigin",se._preferredOverlayOrigin||fe)("cdkConnectedOverlayOpen",se.panelOpen)("cdkConnectedOverlayPositions",se._positions)("cdkConnectedOverlayWidth",se._overlayWidth)}},dependencies:[e.YU,t.WB,t.$Q],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:[L.transformPanel]},changeDetection:0})}}return _e})(),te=(()=>{class _e{static{this.\u0275fac=function(We){return new(We||_e)}}static{this.\u0275dir=C.FsC({type:_e,selectors:[["mat-select-trigger"]],features:[C.Jv_([{provide:at,useExisting:_e}])]})}}return _e})(),oe=(()=>{class _e{static{this.\u0275fac=function(We){return new(We||_e)}}static{this.\u0275mod=C.$C({type:_e})}static{this.\u0275inj=C.G2t({providers:[Ie],imports:[e.MD,t.z_,S.Sy,S.yE,x.Gj,l.RG,S.Sy,S.yE]})}}return _e})()},882:(Ve,ee,p)=>{"use strict";p.d(ee,{El:()=>Ie,LG:()=>at,US:()=>Ye,vg:()=>rt});var t=p(5542),e=p(4438),C=p(6600),S=p(8617),l=p(8203),x=p(4085),m=p(7336),R=p(6860),d=p(177),w=p(1413),y=p(3726),T=p(7786),k=p(5964),F=p(6354),V=p(3703),U=p(6977),G=p(3294),Y=p(6697),$=p(9172),Z=p(152),ie=p(9969);const ve=["*"],ae=["content"],ye=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],ue=["mat-drawer","mat-drawer-content","*"];function be(re,te){if(1&re){const oe=e.RV6();e.j41(0,"div",1),e.bIt("click",function(){e.eBV(oe);const de=e.XpG();return e.Njj(de._onBackdropClicked())}),e.k0s()}if(2&re){const oe=e.XpG();e.AVh("mat-drawer-shown",oe._isShowingBackdrop())}}function D(re,te){1&re&&(e.j41(0,"mat-drawer-content"),e.SdG(1,2),e.k0s())}const n=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],c=["mat-sidenav","mat-sidenav-content","*"];function f(re,te){if(1&re){const oe=e.RV6();e.j41(0,"div",1),e.bIt("click",function(){e.eBV(oe);const de=e.XpG();return e.Njj(de._onBackdropClicked())}),e.k0s()}if(2&re){const oe=e.XpG();e.AVh("mat-drawer-shown",oe._isShowingBackdrop())}}function h(re,te){1&re&&(e.j41(0,"mat-sidenav-content"),e.SdG(1,2),e.k0s())}const L={transformDrawer:(0,ie.hZ)("transform",[(0,ie.wk)("open, open-instant",(0,ie.iF)({transform:"none",visibility:"visible"})),(0,ie.wk)("void",(0,ie.iF)({"box-shadow":"none",visibility:"hidden"})),(0,ie.kY)("void => open-instant",(0,ie.i0)("0ms")),(0,ie.kY)("void <=> open, open-instant => void",(0,ie.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},_=new e.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function v(){return!1}}),r=new e.nKC("MAT_DRAWER_CONTAINER");let z=(()=>{class re extends t.uv{constructor(oe,_e,de,pe,We){super(de,pe,We),this._changeDetectorRef=oe,this._container=_e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(_e){return new(_e||re)(e.rXU(e.gRc),e.rXU((0,e.Rfq)(()=>ne)),e.rXU(e.aKT),e.rXU(t.R),e.rXU(e.SKi))}}static{this.\u0275cmp=e.VBU({type:re,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(_e,de){2&_e&&e.xc7("margin-left",de._container._contentMargins.left,"px")("margin-right",de._container._contentMargins.right,"px")},features:[e.Jv_([{provide:t.uv,useExisting:re}]),e.Vt3],ngContentSelectors:ve,decls:1,vars:0,template:function(_e,de){1&_e&&(e.NAR(),e.SdG(0))},encapsulation:2,changeDetection:0})}}return re})(),N=(()=>{class re{get position(){return this._position}set position(oe){(oe="end"===oe?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(oe),this._position=oe,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(oe){this._mode=oe,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(oe){this._disableClose=(0,x.he)(oe)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(oe){("true"===oe||"false"===oe||null==oe)&&(oe=(0,x.he)(oe)),this._autoFocus=oe}get opened(){return this._opened}set opened(oe){this.toggle((0,x.he)(oe))}constructor(oe,_e,de,pe,We,se,fe,he){this._elementRef=oe,this._focusTrapFactory=_e,this._focusMonitor=de,this._platform=pe,this._ngZone=We,this._interactivityChecker=se,this._doc=fe,this._container=he,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new w.B,this._animationEnd=new w.B,this._animationState="void",this.openedChange=new e.bkB(!0),this._openedStream=this.openedChange.pipe((0,k.p)(et=>et),(0,F.T)(()=>{})),this.openedStart=this._animationStarted.pipe((0,k.p)(et=>et.fromState!==et.toState&&0===et.toState.indexOf("open")),(0,V.u)(void 0)),this._closedStream=this.openedChange.pipe((0,k.p)(et=>!et),(0,F.T)(()=>{})),this.closedStart=this._animationStarted.pipe((0,k.p)(et=>et.fromState!==et.toState&&"void"===et.toState),(0,V.u)(void 0)),this._destroyed=new w.B,this.onPositionChanged=new e.bkB,this._modeChanged=new w.B,this.openedChange.subscribe(et=>{et?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,y.R)(this._elementRef.nativeElement,"keydown").pipe((0,k.p)(et=>et.keyCode===m._f&&!this.disableClose&&!(0,m.rp)(et)),(0,U.Q)(this._destroyed)).subscribe(et=>this._ngZone.run(()=>{this.close(),et.stopPropagation(),et.preventDefault()}))}),this._animationEnd.pipe((0,G.F)((et,Ke)=>et.fromState===Ke.fromState&&et.toState===Ke.toState)).subscribe(et=>{const{fromState:Ke,toState:Ct}=et;(0===Ct.indexOf("open")&&"void"===Ke||"void"===Ct&&0===Ke.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(oe,_e){this._interactivityChecker.isFocusable(oe)||(oe.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const de=()=>{oe.removeEventListener("blur",de),oe.removeEventListener("mousedown",de),oe.removeAttribute("tabindex")};oe.addEventListener("blur",de),oe.addEventListener("mousedown",de)})),oe.focus(_e)}_focusByCssSelector(oe,_e){let de=this._elementRef.nativeElement.querySelector(oe);de&&this._forceFocus(de,_e)}_takeFocus(){if(!this._focusTrap)return;const oe=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(_e=>{!_e&&"function"==typeof this._elementRef.nativeElement.focus&&oe.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(oe){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,oe):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const oe=this._doc.activeElement;return!!oe&&this._elementRef.nativeElement.contains(oe)}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(oe){return this.toggle(!0,oe)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(oe=!this.opened,_e){oe&&_e&&(this._openedVia=_e);const de=this._setOpen(oe,!oe&&this._isFocusWithinDrawer(),this._openedVia||"program");return oe||(this._openedVia=null),de}_setOpen(oe,_e,de){return this._opened=oe,oe?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",_e&&this._restoreFocus(de)),this._updateFocusTrapState(),new Promise(pe=>{this.openedChange.pipe((0,Y.s)(1)).subscribe(We=>pe(We?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(oe){const _e=this._elementRef.nativeElement,de=_e.parentNode;"end"===oe?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),de.insertBefore(this._anchor,_e)),de.appendChild(_e)):this._anchor&&this._anchor.parentNode.insertBefore(_e,this._anchor)}static{this.\u0275fac=function(_e){return new(_e||re)(e.rXU(e.aKT),e.rXU(S.GX),e.rXU(S.FN),e.rXU(R.OD),e.rXU(e.SKi),e.rXU(S.Z7),e.rXU(d.qQ,8),e.rXU(r,8))}}static{this.\u0275cmp=e.VBU({type:re,selectors:[["mat-drawer"]],viewQuery:function(_e,de){if(1&_e&&e.GBs(ae,5),2&_e){let pe;e.mGM(pe=e.lsd())&&(de._content=pe.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(_e,de){1&_e&&e.Kam("@transform.start",function(We){return de._animationStarted.next(We)})("@transform.done",function(We){return de._animationEnd.next(We)}),2&_e&&(e.zvX("@transform",de._animationState),e.BMQ("align",null),e.AVh("mat-drawer-end","end"===de.position)("mat-drawer-over","over"===de.mode)("mat-drawer-push","push"===de.mode)("mat-drawer-side","side"===de.mode)("mat-drawer-opened",de.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:ve,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(_e,de){1&_e&&(e.NAR(),e.j41(0,"div",1,0),e.SdG(2),e.k0s())},dependencies:[t.uv],encapsulation:2,data:{animation:[L.transformDrawer]},changeDetection:0})}}return re})(),ne=(()=>{class re{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(oe){this._autosize=(0,x.he)(oe)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(oe){this._backdropOverride=null==oe?null:(0,x.he)(oe)}get scrollable(){return this._userContent||this._content}constructor(oe,_e,de,pe,We,se=!1,fe){this._dir=oe,this._element=_e,this._ngZone=de,this._changeDetectorRef=pe,this._animationMode=fe,this._drawers=new e.rOR,this.backdropClick=new e.bkB,this._destroyed=new w.B,this._doCheckSubject=new w.B,this._contentMargins={left:null,right:null},this._contentMarginChanges=new w.B,oe&&oe.change.pipe((0,U.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),We.change().pipe((0,U.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=se}ngAfterContentInit(){this._allDrawers.changes.pipe((0,$.Z)(this._allDrawers),(0,U.Q)(this._destroyed)).subscribe(oe=>{this._drawers.reset(oe.filter(_e=>!_e._container||_e._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,$.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(oe=>{this._watchDrawerToggle(oe),this._watchDrawerPosition(oe),this._watchDrawerMode(oe)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Z.B)(10),(0,U.Q)(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(oe=>oe.open())}close(){this._drawers.forEach(oe=>oe.close())}updateContentMargins(){let oe=0,_e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)oe+=this._left._getWidth();else if("push"==this._left.mode){const de=this._left._getWidth();oe+=de,_e-=de}if(this._right&&this._right.opened)if("side"==this._right.mode)_e+=this._right._getWidth();else if("push"==this._right.mode){const de=this._right._getWidth();_e+=de,oe-=de}oe=oe||null,_e=_e||null,(oe!==this._contentMargins.left||_e!==this._contentMargins.right)&&(this._contentMargins={left:oe,right:_e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(oe){oe._animationStarted.pipe((0,k.p)(_e=>_e.fromState!==_e.toState),(0,U.Q)(this._drawers.changes)).subscribe(_e=>{"open-instant"!==_e.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==oe.mode&&oe.openedChange.pipe((0,U.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(oe.opened))}_watchDrawerPosition(oe){oe&&oe.onPositionChanged.pipe((0,U.Q)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Y.s)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(oe){oe&&oe._modeChanged.pipe((0,U.Q)((0,T.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(oe){const _e=this._element.nativeElement.classList,de="mat-drawer-container-has-open";oe?_e.add(de):_e.remove(de)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(oe=>{"end"==oe.position?this._end=oe:this._start=oe}),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(oe=>oe&&!oe.disableClose&&this._drawerHasBackdrop(oe)).forEach(oe=>oe._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(oe){return null!=oe&&oe.opened}_drawerHasBackdrop(oe){return null==this._backdropOverride?!!oe&&"side"!==oe.mode:this._backdropOverride}static{this.\u0275fac=function(_e){return new(_e||re)(e.rXU(l.dS,8),e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(t.Xj),e.rXU(_),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:re,selectors:[["mat-drawer-container"]],contentQueries:function(_e,de,pe){if(1&_e&&(e.wni(pe,z,5),e.wni(pe,N,5)),2&_e){let We;e.mGM(We=e.lsd())&&(de._content=We.first),e.mGM(We=e.lsd())&&(de._allDrawers=We)}},viewQuery:function(_e,de){if(1&_e&&e.GBs(z,5),2&_e){let pe;e.mGM(pe=e.lsd())&&(de._userContent=pe.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(_e,de){2&_e&&e.AVh("mat-drawer-container-explicit-backdrop",de._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[e.Jv_([{provide:r,useExisting:re}])],ngContentSelectors:ue,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(_e,de){1&_e&&(e.NAR(ye),e.DNE(0,be,1,2,"div",0),e.SdG(1),e.SdG(2,1),e.DNE(3,D,2,0,"mat-drawer-content")),2&_e&&(e.vxM(de.hasBackdrop?0:-1),e.R7$(3),e.vxM(de._content?-1:3))},dependencies:[z],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 re})(),Ie=(()=>{class re extends z{constructor(oe,_e,de,pe,We){super(oe,_e,de,pe,We)}static{this.\u0275fac=function(_e){return new(_e||re)(e.rXU(e.gRc),e.rXU((0,e.Rfq)(()=>Ye)),e.rXU(e.aKT),e.rXU(t.R),e.rXU(e.SKi))}}static{this.\u0275cmp=e.VBU({type:re,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(_e,de){2&_e&&e.xc7("margin-left",de._container._contentMargins.left,"px")("margin-right",de._container._contentMargins.right,"px")},features:[e.Jv_([{provide:t.uv,useExisting:re}]),e.Vt3],ngContentSelectors:ve,decls:1,vars:0,template:function(_e,de){1&_e&&(e.NAR(),e.SdG(0))},encapsulation:2,changeDetection:0})}}return re})(),at=(()=>{class re extends N{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(oe){this._fixedInViewport=(0,x.he)(oe)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(oe){this._fixedTopGap=(0,x.OE)(oe)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(oe){this._fixedBottomGap=(0,x.OE)(oe)}static{this.\u0275fac=(()=>{let oe;return function(de){return(oe||(oe=e.xGo(re)))(de||re)}})()}static{this.\u0275cmp=e.VBU({type:re,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(_e,de){2&_e&&(e.BMQ("align",null),e.xc7("top",de.fixedInViewport?de.fixedTopGap:null,"px")("bottom",de.fixedInViewport?de.fixedBottomGap:null,"px"),e.AVh("mat-drawer-end","end"===de.position)("mat-drawer-over","over"===de.mode)("mat-drawer-push","push"===de.mode)("mat-drawer-side","side"===de.mode)("mat-drawer-opened",de.opened)("mat-sidenav-fixed",de.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[e.Vt3],ngContentSelectors:ve,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(_e,de){1&_e&&(e.NAR(),e.j41(0,"div",1,0),e.SdG(2),e.k0s())},dependencies:[t.uv],encapsulation:2,data:{animation:[L.transformDrawer]},changeDetection:0})}}return re})(),Ye=(()=>{class re extends ne{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static{this.\u0275fac=(()=>{let oe;return function(de){return(oe||(oe=e.xGo(re)))(de||re)}})()}static{this.\u0275cmp=e.VBU({type:re,selectors:[["mat-sidenav-container"]],contentQueries:function(_e,de,pe){if(1&_e&&(e.wni(pe,Ie,5),e.wni(pe,at,5)),2&_e){let We;e.mGM(We=e.lsd())&&(de._content=We.first),e.mGM(We=e.lsd())&&(de._allDrawers=We)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(_e,de){2&_e&&e.AVh("mat-drawer-container-explicit-backdrop",de._backdropOverride)},exportAs:["matSidenavContainer"],features:[e.Jv_([{provide:r,useExisting:re}]),e.Vt3],ngContentSelectors:c,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(_e,de){1&_e&&(e.NAR(n),e.DNE(0,f,1,2,"div",0),e.SdG(1),e.SdG(2,1),e.DNE(3,h,2,0,"mat-sidenav-content")),2&_e&&(e.vxM(de.hasBackdrop?0:-1),e.R7$(3),e.vxM(de._content?-1:3))},dependencies:[Ie],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 re})(),rt=(()=>{class re{static{this.\u0275fac=function(_e){return new(_e||re)}}static{this.\u0275mod=e.$C({type:re})}static{this.\u0275inj=e.G2t({imports:[C.yE,t.Gj,t.Gj,C.yE]})}}return re})()},450:(Ve,ee,p)=>{"use strict";p.d(ee,{mV:()=>U,sG:()=>T});var t=p(4438),e=p(9417),C=p(8617),S=p(6600);const l=["switch"],x=["*"];function m(G,Y){1&G&&(t.j41(0,"div",10),t.qSk(),t.j41(1,"svg",12),t.nrm(2,"path",13),t.k0s(),t.j41(3,"svg",14),t.nrm(4,"path",15),t.k0s()())}const R=new t.nKC("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),d={provide:e.kq,useExisting:(0,t.Rfq)(()=>T),multi:!0};class w{constructor(Y,$){this.source=Y,this.checked=$}}let y=0,T=(()=>{class G{_createChangeEvent($){return new w(this,$)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked($){this._checked=$,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor($,Z,ie,ve,ae,ye){this._elementRef=$,this._focusMonitor=Z,this._changeDetectorRef=ie,this.defaults=ae,this._onChange=ue=>{},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 t.bkB,this.toggleChange=new t.bkB,this.tabIndex=parseInt(ve)||0,this.color=ae.color||"accent",this._noopAnimations="NoopAnimations"===ye,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++y,this.hideIcon=ae.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe($=>{"keyboard"===$||"program"===$?(this._focused=!0,this._changeDetectorRef.markForCheck()):$||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue($){this.checked=!!$}registerOnChange($){this._onChange=$}registerOnTouched($){this._onTouched=$}setDisabledState($){this.disabled=$,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 w(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static{this.\u0275fac=function(Z){return new(Z||G)(t.rXU(t.aKT),t.rXU(C.FN),t.rXU(t.gRc),t.kS0("tabindex"),t.rXU(R),t.rXU(t.bc$,8))}}static{this.\u0275cmp=t.VBU({type:G,selectors:[["mat-slide-toggle"]],viewQuery:function(Z,ie){if(1&Z&&t.GBs(l,5),2&Z){let ve;t.mGM(ve=t.lsd())&&(ie._switchElement=ve.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(Z,ie){2&Z&&(t.Mr5("id",ie.id),t.BMQ("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),t.HbH(ie.color?"mat-"+ie.color:""),t.AVh("mat-mdc-slide-toggle-focused",ie._focused)("mat-mdc-slide-toggle-checked",ie.checked)("_mat-animation-noopable",ie._noopAnimations))},inputs:{disabled:[2,"disabled","disabled",t.L39],disableRipple:[2,"disableRipple","disableRipple",t.L39],color:"color",tabIndex:[2,"tabIndex","tabIndex",$=>null==$?0:(0,t.Udg)($)],name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",t.L39],checked:[2,"checked","checked",t.L39],hideIcon:[2,"hideIcon","hideIcon",t.L39]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[t.Jv_([d]),t.GFd],ngContentSelectors:x,decls:13,vars:25,consts:[["switch",""],[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["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(Z,ie){if(1&Z){const ve=t.RV6();t.NAR(),t.j41(0,"div",1)(1,"button",2,0),t.bIt("click",function(){return t.eBV(ve),t.Njj(ie._handleClick())}),t.nrm(3,"div",3),t.j41(4,"div",4)(5,"div",5)(6,"div",6),t.nrm(7,"div",7),t.k0s(),t.j41(8,"div",8),t.nrm(9,"div",9),t.k0s(),t.DNE(10,m,5,0,"div",10),t.k0s()()(),t.j41(11,"label",11),t.bIt("click",function(ye){return t.eBV(ve),t.Njj(ye.stopPropagation())}),t.SdG(12),t.k0s()()}if(2&Z){const ve=t.sdS(2);t.AVh("mdc-form-field--align-end","before"==ie.labelPosition),t.R7$(),t.AVh("mdc-switch--selected",ie.checked)("mdc-switch--unselected",!ie.checked)("mdc-switch--checked",ie.checked)("mdc-switch--disabled",ie.disabled),t.Y8G("tabIndex",ie.disabled?-1:ie.tabIndex)("disabled",ie.disabled),t.BMQ("id",ie.buttonId)("name",ie.name)("aria-label",ie.ariaLabel)("aria-labelledby",ie._getAriaLabelledBy())("aria-describedby",ie.ariaDescribedby)("aria-required",ie.required||null)("aria-checked",ie.checked),t.R7$(8),t.Y8G("matRippleTrigger",ve)("matRippleDisabled",ie.disableRipple||ie.disabled)("matRippleCentered",!0),t.R7$(),t.vxM(ie.hideIcon?-1:10),t.R7$(),t.Y8G("for",ie.buttonId),t.BMQ("id",ie._labelId)}},dependencies:[S.r6],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 G})(),V=(()=>{class G{static{this.\u0275fac=function(Z){return new(Z||G)}}static{this.\u0275mod=t.$C({type:G})}static{this.\u0275inj=t.G2t({})}}return G})(),U=(()=>{class G{static{this.\u0275fac=function(Z){return new(Z||G)}}static{this.\u0275mod=t.$C({type:G})}static{this.\u0275inj=t.G2t({imports:[V,S.yE,S.pZ,V,S.yE]})}}return G})()},5416:(Ve,ee,p)=>{"use strict";p.d(ee,{UG:()=>f,_T:()=>M,x6:()=>c});var t=p(4438),e=p(177),C=p(8834),S=p(1413),l=p(9969),x=p(6939),m=p(6860),R=p(6697),d=p(6977),w=p(8617),y=p(9327),T=p(6969),k=p(6600);function F(L,O){if(1&L){const _=t.RV6();t.j41(0,"div",1)(1,"button",2),t.bIt("click",function(){t.eBV(_);const v=t.XpG();return t.Njj(v.action())}),t.EFF(2),t.k0s()()}if(2&L){const _=t.XpG();t.R7$(2),t.SpI(" ",_.data.action," ")}}const V=["label"];function U(L,O){}const G=Math.pow(2,31)-1;class Y{constructor(O,_){this._overlayRef=_,this._afterDismissed=new S.B,this._afterOpened=new S.B,this._onAction=new S.B,this._dismissedByAction=!1,this.containerInstance=O,O._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(O){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(O,G))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const $=new t.nKC("MatSnackBarData");class Z{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let ie=(()=>{class L{static{this.\u0275fac=function(r){return new(r||L)}}static{this.\u0275dir=t.FsC({type:L,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return L})(),ve=(()=>{class L{static{this.\u0275fac=function(r){return new(r||L)}}static{this.\u0275dir=t.FsC({type:L,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return L})(),ae=(()=>{class L{static{this.\u0275fac=function(r){return new(r||L)}}static{this.\u0275dir=t.FsC({type:L,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return L})(),ye=(()=>{class L{constructor(_,r){this.snackBarRef=_,this.data=r}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(r){return new(r||L)(t.rXU(Y),t.rXU($))}}static{this.\u0275cmp=t.VBU({type:L,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[t.aNF],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(r,v){1&r&&(t.j41(0,"div",0),t.EFF(1),t.k0s(),t.DNE(2,F,3,1,"div",1)),2&r&&(t.R7$(),t.SpI(" ",v.data.message,"\n"),t.R7$(),t.vxM(v.hasAction?2:-1))},dependencies:[C.Hl,C.$z,ie,ve,ae,e.MD],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return L})();const ue={snackBarState:(0,l.hZ)("state",[(0,l.wk)("void, hidden",(0,l.iF)({transform:"scale(0.8)",opacity:0})),(0,l.wk)("visible",(0,l.iF)({transform:"scale(1)",opacity:1})),(0,l.kY)("* => visible",(0,l.i0)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,l.kY)("* => void, * => hidden",(0,l.i0)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,l.iF)({opacity:0})))])};let be=0,D=(()=>{class L extends x.lb{constructor(_,r,v,z,N){super(),this._ngZone=_,this._elementRef=r,this._changeDetectorRef=v,this._platform=z,this.snackBarConfig=N,this._document=(0,t.WQX)(e.qQ),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new S.B,this._onExit=new S.B,this._onEnter=new S.B,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+be++,this.attachDomPortal=ne=>{this._assertNotAttached();const Ie=this._portalOutlet.attachDomPortal(ne);return this._afterPortalAttached(),Ie},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(_){this._assertNotAttached();const r=this._portalOutlet.attachComponentPortal(_);return this._afterPortalAttached(),r}attachTemplatePortal(_){this._assertNotAttached();const r=this._portalOutlet.attachTemplatePortal(_);return this._afterPortalAttached(),r}onAnimationEnd(_){const{fromState:r,toState:v}=_;if(("void"===v&&"void"!==r||"hidden"===v)&&this._completeExit(),"visible"===v){const z=this._onEnter;this._ngZone.run(()=>{z.next(),z.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,R.s)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const _=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(N=>_.classList.add(N)):_.classList.add(r)),this._exposeToModals();const v=this._label.nativeElement,z="mdc-snackbar__label";v.classList.toggle(z,!v.querySelector(`.${z}`))}_exposeToModals(){const _=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let v=0;v<r.length;v++){const z=r[v],N=z.getAttribute("aria-owns");this._trackedModals.add(z),N?-1===N.indexOf(_)&&z.setAttribute("aria-owns",N+" "+_):z.setAttribute("aria-owns",_)}}_clearFromModals(){this._trackedModals.forEach(_=>{const r=_.getAttribute("aria-owns");if(r){const v=r.replace(this._liveElementId,"").trim();v.length>0?_.setAttribute("aria-owns",v):_.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const _=this._elementRef.nativeElement.querySelector("[aria-hidden]"),r=this._elementRef.nativeElement.querySelector("[aria-live]");if(_&&r){let v=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&_.contains(document.activeElement)&&(v=document.activeElement),_.removeAttribute("aria-hidden"),r.appendChild(_),v?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(r){return new(r||L)(t.rXU(t.SKi),t.rXU(t.aKT),t.rXU(t.gRc),t.rXU(m.OD),t.rXU(Z))}}static{this.\u0275cmp=t.VBU({type:L,selectors:[["mat-snack-bar-container"]],viewQuery:function(r,v){if(1&r&&(t.GBs(x.I3,7),t.GBs(V,7)),2&r){let z;t.mGM(z=t.lsd())&&(v._portalOutlet=z.first),t.mGM(z=t.lsd())&&(v._label=z.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(r,v){1&r&&t.Kam("@state.done",function(N){return v.onAnimationEnd(N)}),2&r&&t.zvX("@state",v._animationState)},standalone:!0,features:[t.Vt3,t.aNF],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(r,v){1&r&&(t.j41(0,"div",1)(1,"div",2,0)(3,"div",3),t.DNE(4,U,0,0,"ng-template",4),t.k0s(),t.nrm(5,"div"),t.k0s()()),2&r&&(t.R7$(5),t.BMQ("aria-live",v._live)("role",v._role)("id",v._liveElementId))},dependencies:[x.jc,x.I3],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:[ue.snackBarState]}})}}return L})();const c=new t.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function n(){return new Z}});let f=(()=>{class L{get _openedSnackBarRef(){const _=this._parentSnackBar;return _?_._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(_){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=_:this._snackBarRefAtThisLevel=_}constructor(_,r,v,z,N,ne){this._overlay=_,this._live=r,this._injector=v,this._breakpointObserver=z,this._parentSnackBar=N,this._defaultConfig=ne,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=ye,this.snackBarContainerComponent=D,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(_,r){return this._attach(_,r)}openFromTemplate(_,r){return this._attach(_,r)}open(_,r="",v){const z={...this._defaultConfig,...v};return z.data={message:_,action:r},z.announcementMessage===_&&(z.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,z)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(_,r){const z=t.zZn.create({parent:r&&r.viewContainerRef&&r.viewContainerRef.injector||this._injector,providers:[{provide:Z,useValue:r}]}),N=new x.A8(this.snackBarContainerComponent,r.viewContainerRef,z),ne=_.attach(N);return ne.instance.snackBarConfig=r,ne.instance}_attach(_,r){const v={...new Z,...this._defaultConfig,...r},z=this._createOverlay(v),N=this._attachSnackBarContainer(z,v),ne=new Y(N,z);if(_ instanceof t.C4Q){const Ie=new x.VA(_,null,{$implicit:v.data,snackBarRef:ne});ne.instance=N.attachTemplatePortal(Ie)}else{const Ie=this._createInjector(v,ne),at=new x.A8(_,void 0,Ie),Ye=N.attachComponentPortal(at);ne.instance=Ye.instance}return this._breakpointObserver.observe(y.Rp.HandsetPortrait).pipe((0,d.Q)(z.detachments())).subscribe(Ie=>{z.overlayElement.classList.toggle(this.handsetCssClass,Ie.matches)}),v.announcementMessage&&N._onAnnounce.subscribe(()=>{this._live.announce(v.announcementMessage,v.politeness)}),this._animateSnackBar(ne,v),this._openedSnackBarRef=ne,this._openedSnackBarRef}_animateSnackBar(_,r){_.afterDismissed().subscribe(()=>{this._openedSnackBarRef==_&&(this._openedSnackBarRef=null),r.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{_.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):_.containerInstance.enter(),r.duration&&r.duration>0&&_.afterOpened().subscribe(()=>_._dismissAfter(r.duration))}_createOverlay(_){const r=new T.rR;r.direction=_.direction;let v=this._overlay.position().global();const z="rtl"===_.direction,N="left"===_.horizontalPosition||"start"===_.horizontalPosition&&!z||"end"===_.horizontalPosition&&z,ne=!N&&"center"!==_.horizontalPosition;return N?v.left("0"):ne?v.right("0"):v.centerHorizontally(),"top"===_.verticalPosition?v.top("0"):v.bottom("0"),r.positionStrategy=v,this._overlay.create(r)}_createInjector(_,r){return t.zZn.create({parent:_&&_.viewContainerRef&&_.viewContainerRef.injector||this._injector,providers:[{provide:Y,useValue:r},{provide:$,useValue:_.data}]})}static{this.\u0275fac=function(r){return new(r||L)(t.KVO(T.hJ),t.KVO(w.Ai),t.KVO(t.zZn),t.KVO(y.QP),t.KVO(L,12),t.KVO(c))}}static{this.\u0275prov=t.jDH({token:L,factory:L.\u0275fac,providedIn:"root"})}}return L})(),M=(()=>{class L{static{this.\u0275fac=function(r){return new(r||L)}}static{this.\u0275mod=t.$C({type:L})}static{this.\u0275inj=t.G2t({providers:[f],imports:[T.z_,x.jc,C.Hl,k.yE,ye,D,k.yE]})}}return L})()},2042:(Ve,ee,p)=>{"use strict";p.d(ee,{B4:()=>Y,NQ:()=>D,aE:()=>be});var t=p(4438),e=p(8617),C=p(4085),S=p(7336),l=p(6600),x=p(1413),m=p(7786),R=p(9969);const d=["mat-sort-header",""],w=["*"];function y(n,c){if(1&n){const f=t.RV6();t.j41(0,"div",2),t.bIt("@arrowPosition.start",function(){t.eBV(f);const M=t.XpG();return t.Njj(M._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){t.eBV(f);const M=t.XpG();return t.Njj(M._disableViewStateAnimation=!1)}),t.nrm(1,"div",3),t.j41(2,"div",4),t.nrm(3,"div",5)(4,"div",6)(5,"div",7),t.k0s()()}if(2&n){const f=t.XpG();t.Y8G("@arrowOpacity",f._getArrowViewState())("@arrowPosition",f._getArrowViewState())("@allowChildren",f._getArrowDirectionState()),t.R7$(2),t.Y8G("@indicator",f._getArrowDirectionState()),t.R7$(),t.Y8G("@leftPointer",f._getArrowDirectionState()),t.R7$(),t.Y8G("@rightPointer",f._getArrowDirectionState())}}const U=new t.nKC("MAT_SORT_DEFAULT_OPTIONS"),G=(0,l.mG)((0,l.Ob)(class{}));let Y=(()=>{class n extends G{get direction(){return this._direction}set direction(f){this._direction=f}get disableClear(){return this._disableClear}set disableClear(f){this._disableClear=(0,C.he)(f)}constructor(f){super(),this._defaultOptions=f,this.sortables=new Map,this._stateChanges=new x.B,this.start="asc",this._direction="",this.sortChange=new t.bkB}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 M=function $(n,c){let f=["asc","desc"];return"desc"==n&&f.reverse(),c||f.push(""),f}(f.start||this.start,f?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),L=M.indexOf(this.direction)+1;return L>=M.length&&(L=0),M[L]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}static{this.\u0275fac=function(h){return new(h||n)(t.rXU(U,8))}}static{this.\u0275dir=t.FsC({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:[0,"matSortDisabled","disabled"],active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[0,"matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[t.Vt3,t.OA$]})}}return n})();const Z=l.ed.ENTERING+" "+l.r5.STANDARD_CURVE,ie={indicator:(0,R.hZ)("indicator",[(0,R.wk)("active-asc, asc",(0,R.iF)({transform:"translateY(0px)"})),(0,R.wk)("active-desc, desc",(0,R.iF)({transform:"translateY(10px)"})),(0,R.kY)("active-asc <=> active-desc",(0,R.i0)(Z))]),leftPointer:(0,R.hZ)("leftPointer",[(0,R.wk)("active-asc, asc",(0,R.iF)({transform:"rotate(-45deg)"})),(0,R.wk)("active-desc, desc",(0,R.iF)({transform:"rotate(45deg)"})),(0,R.kY)("active-asc <=> active-desc",(0,R.i0)(Z))]),rightPointer:(0,R.hZ)("rightPointer",[(0,R.wk)("active-asc, asc",(0,R.iF)({transform:"rotate(45deg)"})),(0,R.wk)("active-desc, desc",(0,R.iF)({transform:"rotate(-45deg)"})),(0,R.kY)("active-asc <=> active-desc",(0,R.i0)(Z))]),arrowOpacity:(0,R.hZ)("arrowOpacity",[(0,R.wk)("desc-to-active, asc-to-active, active",(0,R.iF)({opacity:1})),(0,R.wk)("desc-to-hint, asc-to-hint, hint",(0,R.iF)({opacity:.54})),(0,R.wk)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,R.iF)({opacity:0})),(0,R.kY)("* => asc, * => desc, * => active, * => hint, * => void",(0,R.i0)("0ms")),(0,R.kY)("* <=> *",(0,R.i0)(Z))]),arrowPosition:(0,R.hZ)("arrowPosition",[(0,R.kY)("* => desc-to-hint, * => desc-to-active",(0,R.i0)(Z,(0,R.i7)([(0,R.iF)({transform:"translateY(-25%)"}),(0,R.iF)({transform:"translateY(0)"})]))),(0,R.kY)("* => hint-to-desc, * => active-to-desc",(0,R.i0)(Z,(0,R.i7)([(0,R.iF)({transform:"translateY(0)"}),(0,R.iF)({transform:"translateY(25%)"})]))),(0,R.kY)("* => asc-to-hint, * => asc-to-active",(0,R.i0)(Z,(0,R.i7)([(0,R.iF)({transform:"translateY(25%)"}),(0,R.iF)({transform:"translateY(0)"})]))),(0,R.kY)("* => hint-to-asc, * => active-to-asc",(0,R.i0)(Z,(0,R.i7)([(0,R.iF)({transform:"translateY(0)"}),(0,R.iF)({transform:"translateY(-25%)"})]))),(0,R.wk)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,R.iF)({transform:"translateY(0)"})),(0,R.wk)("hint-to-desc, active-to-desc, desc",(0,R.iF)({transform:"translateY(-25%)"})),(0,R.wk)("hint-to-asc, active-to-asc, asc",(0,R.iF)({transform:"translateY(25%)"}))]),allowChildren:(0,R.hZ)("allowChildren",[(0,R.kY)("* <=> *",[(0,R.P)("@*",(0,R.MA)(),{optional:!0})])])};let ve=(()=>{class n{constructor(){this.changes=new x.B}static{this.\u0275fac=function(h){return new(h||n)}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const ye={provide:ve,deps:[[new t.Xx1,new t.kdw,ve]],useFactory:function ae(n){return n||new ve}},ue=(0,l.Ob)(class{});let be=(()=>{class n extends ue{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(f){this._updateSortActionDescription(f)}get disableClear(){return this._disableClear}set disableClear(f){this._disableClear=(0,C.he)(f)}constructor(f,h,M,L,O,_,r,v){super(),this._intl=f,this._changeDetectorRef=h,this._sort=M,this._columnDef=L,this._focusMonitor=O,this._elementRef=_,this._ariaDescriber=r,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",v?.arrowPosition&&(this.arrowPosition=v?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(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===S.t6||f.keyCode===S.Fm)&&(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.h)(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{this.\u0275fac=function(h){return new(h||n)(t.rXU(ve),t.rXU(t.gRc),t.rXU(Y,8),t.rXU("MAT_SORT_HEADER_COLUMN_DEF",8),t.rXU(e.FN),t.rXU(t.aKT),t.rXU(e.vr,8),t.rXU(U,8))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(h,M){1&h&&t.bIt("click",function(){return M._handleClick()})("keydown",function(O){return M._handleKeydown(O)})("mouseenter",function(){return M._setIndicatorHintVisible(!0)})("mouseleave",function(){return M._setIndicatorHintVisible(!1)}),2&h&&(t.BMQ("aria-sort",M._getAriaSortAttribute()),t.AVh("mat-sort-header-disabled",M._isDisabled()))},inputs:{disabled:"disabled",id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[t.Vt3],attrs:d,ngContentSelectors:w,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[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,M){1&h&&(t.NAR(),t.j41(0,"div",0)(1,"div",1),t.SdG(2),t.k0s(),t.DNE(3,y,6,6,"div",2),t.k0s()),2&h&&(t.AVh("mat-sort-header-sorted",M._isSorted())("mat-sort-header-position-before","before"===M.arrowPosition),t.BMQ("tabindex",M._isDisabled()?null:0)("role",M._isDisabled()?null:"button"),t.R7$(3),t.vxM(M._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:[ie.indicator,ie.leftPointer,ie.rightPointer,ie.arrowOpacity,ie.arrowPosition,ie.allowChildren]},changeDetection:0})}}return n})(),D=(()=>{class n{static{this.\u0275fac=function(h){return new(h||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({providers:[ye],imports:[l.yE]})}}return n})()},6013:(Ve,ee,p)=>{"use strict";p.d(ee,{F7:()=>fe,FR:()=>he,M6:()=>se,Ti:()=>ne,V5:()=>We,aP:()=>et,xJ:()=>de});var t=p(6939),e=p(7768),C=p(177),S=p(4438),l=p(6600),x=p(9213),m=p(8617),R=p(1413),d=p(8359),w=p(8203),y=p(5558),T=p(6354),k=p(9172),F=p(6977),V=p(3294),U=p(9969);function G(Ke,Ct){if(1&Ke&&S.eu8(0,2),2&Ke){const _t=S.XpG();S.Y8G("ngTemplateOutlet",_t.iconOverrides[_t.state])("ngTemplateOutletContext",_t._getIconContext())}}function Y(Ke,Ct){if(1&Ke&&(S.j41(0,"span",7),S.EFF(1),S.k0s()),2&Ke){const _t=S.XpG(2);S.R7$(),S.JRh(_t._getDefaultTextForState(_t.state))}}function $(Ke,Ct){if(1&Ke&&(S.j41(0,"span",8),S.EFF(1),S.k0s()),2&Ke){const _t=S.XpG(3);S.R7$(),S.JRh(_t._intl.completedLabel)}}function Z(Ke,Ct){if(1&Ke&&(S.j41(0,"span",8),S.EFF(1),S.k0s()),2&Ke){const _t=S.XpG(3);S.R7$(),S.JRh(_t._intl.editableLabel)}}function ie(Ke,Ct){if(1&Ke&&(S.DNE(0,$,2,1,"span",8)(1,Z,2,1,"span",8),S.j41(2,"mat-icon",7),S.EFF(3),S.k0s()),2&Ke){const _t=S.XpG(2);S.vxM("done"===_t.state?0:"edit"===_t.state?1:-1),S.R7$(3),S.JRh(_t._getDefaultTextForState(_t.state))}}function ve(Ke,Ct){if(1&Ke&&S.DNE(0,Y,2,1,"span",7)(1,ie,4,2,"mat-icon",7),2&Ke){let _t;const Nt=S.XpG();S.vxM("number"===(_t=Nt.state)?0:1)}}function ae(Ke,Ct){1&Ke&&(S.j41(0,"div",4),S.eu8(1,9),S.k0s()),2&Ke&&(S.R7$(),S.Y8G("ngTemplateOutlet",Ct.template))}function ye(Ke,Ct){if(1&Ke&&(S.j41(0,"div",4),S.EFF(1),S.k0s()),2&Ke){const _t=S.XpG();S.R7$(),S.JRh(_t.label)}}function ue(Ke,Ct){if(1&Ke&&(S.j41(0,"div",5),S.EFF(1),S.k0s()),2&Ke){const _t=S.XpG();S.R7$(),S.JRh(_t._intl.optionalLabel)}}function be(Ke,Ct){if(1&Ke&&(S.j41(0,"div",6),S.EFF(1),S.k0s()),2&Ke){const _t=S.XpG();S.R7$(),S.JRh(_t.errorMessage)}}const D=["*"];function n(Ke,Ct){}function c(Ke,Ct){if(1&Ke&&(S.SdG(0),S.DNE(1,n,0,0,"ng-template",0)),2&Ke){const _t=S.XpG();S.R7$(),S.Y8G("cdkPortalOutlet",_t._portal)}}const f=(Ke,Ct)=>({step:Ke,i:Ct}),h=Ke=>({animationDuration:Ke}),M=(Ke,Ct)=>({value:Ke,params:Ct});function L(Ke,Ct){1&Ke&&S.nrm(0,"div",6)}function O(Ke,Ct){if(1&Ke&&(S.eu8(0,5),S.DNE(1,L,1,0,"div",6)),2&Ke){const _t=Ct.$implicit,Nt=Ct.$index,ke=Ct.$count;S.XpG(2);const Je=S.sdS(3);S.Y8G("ngTemplateOutlet",Je)("ngTemplateOutletContext",S.l_i(3,f,_t,Nt)),S.R7$(),S.vxM(Nt!==ke-1?1:-1)}}function _(Ke,Ct){if(1&Ke){const _t=S.RV6();S.j41(0,"div",7),S.bIt("@horizontalStepTransition.done",function(ke){S.eBV(_t);const Je=S.XpG(2);return S.Njj(Je._animationDone.next(ke))}),S.eu8(1,8),S.k0s()}if(2&Ke){const _t=Ct.$implicit,Nt=Ct.$index,ke=S.XpG(2);S.AVh("mat-horizontal-stepper-content-inactive",ke.selectedIndex!==Nt),S.Y8G("@horizontalStepTransition",S.l_i(8,M,ke._getAnimationDirection(Nt),S.eq3(6,h,ke._getAnimationDuration())))("id",ke._getStepContentId(Nt)),S.BMQ("aria-labelledby",ke._getStepLabelId(Nt)),S.R7$(),S.Y8G("ngTemplateOutlet",_t.content)}}function r(Ke,Ct){if(1&Ke&&(S.j41(0,"div",1)(1,"div",2),S.Z7z(2,O,2,6,null,null,S.fX1),S.k0s(),S.j41(4,"div",3),S.Z7z(5,_,2,11,"div",4,S.fX1),S.k0s()()),2&Ke){const _t=S.XpG();S.R7$(2),S.Dyx(_t.steps),S.R7$(3),S.Dyx(_t.steps)}}function v(Ke,Ct){if(1&Ke){const _t=S.RV6();S.j41(0,"div",9),S.eu8(1,5),S.j41(2,"div",10)(3,"div",11),S.bIt("@verticalStepTransition.done",function(ke){S.eBV(_t);const Je=S.XpG(2);return S.Njj(Je._animationDone.next(ke))}),S.j41(4,"div",12),S.eu8(5,8),S.k0s()()()()}if(2&Ke){const _t=Ct.$implicit,Nt=Ct.$index,ke=Ct.$count,Je=S.XpG(2),Qe=S.sdS(3);S.R7$(),S.Y8G("ngTemplateOutlet",Qe)("ngTemplateOutletContext",S.l_i(10,f,_t,Nt)),S.R7$(),S.AVh("mat-stepper-vertical-line",Nt!==ke-1),S.R7$(),S.AVh("mat-vertical-stepper-content-inactive",Je.selectedIndex!==Nt),S.Y8G("@verticalStepTransition",S.l_i(15,M,Je._getAnimationDirection(Nt),S.eq3(13,h,Je._getAnimationDuration())))("id",Je._getStepContentId(Nt)),S.BMQ("aria-labelledby",Je._getStepLabelId(Nt)),S.R7$(2),S.Y8G("ngTemplateOutlet",_t.content)}}function z(Ke,Ct){if(1&Ke&&S.Z7z(0,v,6,18,"div",9,S.fX1),2&Ke){const _t=S.XpG();S.Dyx(_t.steps)}}function N(Ke,Ct){if(1&Ke){const _t=S.RV6();S.j41(0,"mat-step-header",13),S.bIt("click",function(){const ke=S.eBV(_t).step;return S.Njj(ke.select())})("keydown",function(ke){S.eBV(_t);const Je=S.XpG();return S.Njj(Je._onKeydown(ke))}),S.k0s()}if(2&Ke){const _t=Ct.step,Nt=Ct.i,ke=S.XpG();S.AVh("mat-horizontal-stepper-header","horizontal"===ke.orientation)("mat-vertical-stepper-header","vertical"===ke.orientation),S.Y8G("tabIndex",ke._getFocusIndex()===Nt?0:-1)("id",ke._getStepLabelId(Nt))("index",Nt)("state",ke._getIndicatorType(Nt,_t.state))("label",_t.stepLabel||_t.label)("selected",ke.selectedIndex===Nt)("active",ke._stepIsNavigable(Nt,_t))("optional",_t.optional)("errorMessage",_t.errorMessage)("iconOverrides",ke._iconOverrides)("disableRipple",ke.disableRipple||!ke._stepIsNavigable(Nt,_t))("color",_t.color||ke.color),S.BMQ("aria-posinset",Nt+1)("aria-setsize",ke.steps.length)("aria-controls",ke._getStepContentId(Nt))("aria-selected",ke.selectedIndex==Nt)("aria-label",_t.ariaLabel||null)("aria-labelledby",!_t.ariaLabel&&_t.ariaLabelledby?_t.ariaLabelledby:null)("aria-disabled",!ke._stepIsNavigable(Nt,_t)||null)}}let ne=(()=>{class Ke extends e.nb{static{this.\u0275fac=(()=>{let _t;return function(ke){return(_t||(_t=S.xGo(Ke)))(ke||Ke)}})()}static{this.\u0275dir=S.FsC({type:Ke,selectors:[["","matStepLabel",""]],features:[S.Vt3]})}}return Ke})(),Ie=(()=>{class Ke{constructor(){this.changes=new R.B,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static{this.\u0275fac=function(Nt){return new(Nt||Ke)}}static{this.\u0275prov=S.jDH({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}}return Ke})();const Ye={provide:Ie,deps:[[new S.Xx1,new S.kdw,Ie]],useFactory:function at(Ke){return Ke||new Ie}},rt=(0,l.Zc)(class extends e.oX{constructor(Ct){super(Ct)}},"primary");let re=(()=>{class Ke extends rt{constructor(_t,Nt,ke,Je){super(ke),this._intl=_t,this._focusMonitor=Nt,this._intlSubscription=_t.changes.subscribe(()=>Je.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(_t,Nt){_t?this._focusMonitor.focusVia(this._elementRef,_t,Nt):this._elementRef.nativeElement.focus(Nt)}_stringLabel(){return this.label instanceof ne?null:this.label}_templateLabel(){return this.label instanceof ne?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(_t){return"number"==_t?`${this.index+1}`:"edit"==_t?"create":"error"==_t?"warning":_t}static{this.\u0275fac=function(Nt){return new(Nt||Ke)(S.rXU(Ie),S.rXU(m.FN),S.rXU(S.aKT),S.rXU(S.gRc))}}static{this.\u0275cmp=S.VBU({type:Ke,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[S.Vt3],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"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(Nt,ke){if(1&Nt&&(S.nrm(0,"div",0),S.j41(1,"div")(2,"div",1),S.DNE(3,G,1,2,"ng-container",2)(4,ve,2,1),S.k0s()(),S.j41(5,"div",3),S.DNE(6,ae,2,1,"div",4)(7,ye,2,1,"div",4)(8,ue,2,1,"div",5)(9,be,2,1,"div",6),S.k0s()),2&Nt){let Je;S.Y8G("matRippleTrigger",ke._getHostElement())("matRippleDisabled",ke.disableRipple),S.R7$(),S.ZvI("mat-step-icon-state-",ke.state," mat-step-icon"),S.AVh("mat-step-icon-selected",ke.selected),S.R7$(2),S.vxM(ke.iconOverrides&&ke.iconOverrides[ke.state]?3:4),S.R7$(2),S.AVh("mat-step-label-active",ke.active)("mat-step-label-selected",ke.selected)("mat-step-label-error","error"==ke.state),S.R7$(),S.vxM((Je=ke._templateLabel())?6:ke._stringLabel()?7:-1,Je),S.R7$(2),S.vxM(ke.optional&&"error"!=ke.state?8:-1),S.R7$(),S.vxM("error"===ke.state?9:-1)}},dependencies:[C.T3,x.An,l.r6],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 Ke})();const _e={horizontalStepTransition:(0,U.hZ)("horizontalStepTransition",[(0,U.wk)("previous",(0,U.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,U.wk)("current",(0,U.iF)({transform:"none",visibility:"inherit"})),(0,U.wk)("next",(0,U.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,U.kY)("* => *",(0,U.Os)([(0,U.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),(0,U.P)("@*",(0,U.MA)(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,U.hZ)("verticalStepTransition",[(0,U.wk)("previous",(0,U.iF)({height:"0px",visibility:"hidden"})),(0,U.wk)("next",(0,U.iF)({height:"0px",visibility:"hidden"})),(0,U.wk)("current",(0,U.iF)({height:"*",visibility:"inherit"})),(0,U.kY)("* <=> current",(0,U.Os)([(0,U.i0)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),(0,U.P)("@*",(0,U.MA)(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let de=(()=>{class Ke{constructor(_t){this.templateRef=_t}static{this.\u0275fac=function(Nt){return new(Nt||Ke)(S.rXU(S.C4Q))}}static{this.\u0275dir=S.FsC({type:Ke,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}})}}return Ke})(),pe=(()=>{class Ke{constructor(_t){this._template=_t}static{this.\u0275fac=function(Nt){return new(Nt||Ke)(S.rXU(S.C4Q))}}static{this.\u0275dir=S.FsC({type:Ke,selectors:[["ng-template","matStepContent",""]]})}}return Ke})(),We=(()=>{class Ke extends e.VI{constructor(_t,Nt,ke,Je){super(_t,Je),this._errorStateMatcher=Nt,this._viewContainerRef=ke,this._isSelected=d.yU.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,y.n)(()=>this._stepper.selectionChange.pipe((0,T.T)(_t=>_t.selectedStep===this),(0,k.Z)(this._stepper.selected===this)))).subscribe(_t=>{_t&&this._lazyContent&&!this._portal&&(this._portal=new t.VA(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(_t,Nt){return this._errorStateMatcher.isErrorState(_t,Nt)||!!(_t&&_t.invalid&&this.interacted)}static{this.\u0275fac=function(Nt){return new(Nt||Ke)(S.rXU((0,S.Rfq)(()=>se)),S.rXU(l.es,4),S.rXU(S.c1b),S.rXU(e.x8,8))}}static{this.\u0275cmp=S.VBU({type:Ke,selectors:[["mat-step"]],contentQueries:function(Nt,ke,Je){if(1&Nt&&(S.wni(Je,ne,5),S.wni(Je,pe,5)),2&Nt){let Qe;S.mGM(Qe=S.lsd())&&(ke.stepLabel=Qe.first),S.mGM(Qe=S.lsd())&&(ke._lazyContent=Qe.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[S.Jv_([{provide:l.es,useExisting:Ke},{provide:e.VI,useExisting:Ke}]),S.Vt3],ngContentSelectors:D,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(Nt,ke){1&Nt&&(S.NAR(),S.DNE(0,c,2,1,"ng-template"))},dependencies:[t.I3],encapsulation:2,changeDetection:0})}}return Ke})(),se=(()=>{class Ke extends e.Up{get animationDuration(){return this._animationDuration}set animationDuration(_t){this._animationDuration=/^\d+$/.test(_t)?_t+"ms":_t}constructor(_t,Nt,ke){super(_t,Nt,ke),this._stepHeader=void 0,this._steps=void 0,this.steps=new S.rOR,this.animationDone=new S.bkB,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new R.B,this._animationDuration="";const Je=ke.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===Je?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:_t,templateRef:Nt})=>this._iconOverrides[_t]=Nt),this.steps.changes.pipe((0,F.Q)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,V.F)((_t,Nt)=>_t.fromState===Nt.fromState&&_t.toState===Nt.toState),(0,F.Q)(this._destroyed)).subscribe(_t=>{"current"===_t.toState&&this.animationDone.emit()})}_stepIsNavigable(_t,Nt){return Nt.completed||this.selectedIndex===_t||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static{this.\u0275fac=function(Nt){return new(Nt||Ke)(S.rXU(w.dS,8),S.rXU(S.gRc),S.rXU(S.aKT))}}static{this.\u0275cmp=S.VBU({type:Ke,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(Nt,ke,Je){if(1&Nt&&(S.wni(Je,We,5),S.wni(Je,de,5)),2&Nt){let Qe;S.mGM(Qe=S.lsd())&&(ke._steps=Qe),S.mGM(Qe=S.lsd())&&(ke._icons=Qe)}},viewQuery:function(Nt,ke){if(1&Nt&&S.GBs(re,5),2&Nt){let Je;S.mGM(Je=S.lsd())&&(ke._stepHeader=Je)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(Nt,ke){2&Nt&&(S.BMQ("aria-orientation",ke.orientation),S.AVh("mat-stepper-horizontal","horizontal"===ke.orientation)("mat-stepper-vertical","vertical"===ke.orientation)("mat-stepper-label-position-end","horizontal"===ke.orientation&&"end"==ke.labelPosition)("mat-stepper-label-position-bottom","horizontal"===ke.orientation&&"bottom"==ke.labelPosition)("mat-stepper-header-position-bottom","bottom"===ke.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[S.Jv_([{provide:e.Up,useExisting:Ke}]),S.Vt3],decls:4,vars:1,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(Nt,ke){if(1&Nt&&S.DNE(0,r,7,0,"div",1)(1,z,2,0)(2,N,1,23,"ng-template",null,0,S.C5r),2&Nt){let Je;S.vxM("horizontal"===(Je=ke.orientation)?0:"vertical"===Je?1:-1)}},dependencies:[C.T3,re],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:[_e.horizontalStepTransition,_e.verticalStepTransition]},changeDetection:0})}}return Ke})(),fe=(()=>{class Ke extends e.v5{static{this.\u0275fac=(()=>{let _t;return function(ke){return(_t||(_t=S.xGo(Ke)))(ke||Ke)}})()}static{this.\u0275dir=S.FsC({type:Ke,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(Nt,ke){2&Nt&&S.Mr5("type",ke.type)},inputs:{type:"type"},features:[S.Vt3]})}}return Ke})(),he=(()=>{class Ke extends e.FK{static{this.\u0275fac=(()=>{let _t;return function(ke){return(_t||(_t=S.xGo(Ke)))(ke||Ke)}})()}static{this.\u0275dir=S.FsC({type:Ke,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(Nt,ke){2&Nt&&S.Mr5("type",ke.type)},inputs:{type:"type"},features:[S.Vt3]})}}return Ke})(),et=(()=>{class Ke{static{this.\u0275fac=function(Nt){return new(Nt||Ke)}}static{this.\u0275mod=S.$C({type:Ke})}static{this.\u0275inj=S.G2t({providers:[Ye,l.es],imports:[l.yE,C.MD,t.jc,e.uY,x.m_,l.pZ,l.yE]})}}return Ke})()},9159:(Ve,ee,p)=>{"use strict";p.d(ee,{$R:()=>$e,YV:()=>Me,cC:()=>Oe,Qo:()=>De,Zq:()=>Pe,iF:()=>zt,xW:()=>Kt,KS:()=>we,tL:()=>Xe,YZ:()=>Qt,ji:()=>Ft,NB:()=>Xi,iL:()=>fi,Zl:()=>ce,I6:()=>nn,tP:()=>Qi});var t=p(4438),e=p(8203),C=p(5024),S=p(6860),l=p(5542),x=p(177),m=p(1413),R=p(2806),d=p(4412),w=p(4402),y=p(7673),T=p(6977),k=p(6697),F=p(4085);const V=[[["caption"]],[["colgroup"],["col"]]],U=["caption","colgroup, col"];function $(st){return class extends st{get sticky(){return this._sticky}set sticky(ii){const Se=this._sticky;this._sticky=(0,F.he)(ii),this._hasStickyChanged=Se!==this._sticky}hasStickyChanged(){const ii=this._hasStickyChanged;return this._hasStickyChanged=!1,ii}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...ii){super(...ii),this._sticky=!1,this._hasStickyChanged=!1}}}const Z=new t.nKC("CDK_TABLE");let ve=(()=>{class st{constructor(Se){this.template=Se}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t.C4Q))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["","cdkCellDef",""]]})}}return st})(),ae=(()=>{class st{constructor(Se){this.template=Se}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t.C4Q))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["","cdkHeaderCellDef",""]]})}}return st})(),ye=(()=>{class st{constructor(Se){this.template=Se}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t.C4Q))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["","cdkFooterCellDef",""]]})}}return st})();class ue{}const be=$(ue);let D=(()=>{class st extends be{get name(){return this._name}set name(Se){this._setNameInput(Se)}get stickyEnd(){return this._stickyEnd}set stickyEnd(Se){Se!==this._stickyEnd&&(this._stickyEnd=Se,this._hasStickyChanged=!0)}constructor(Se){super(),this._table=Se,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Se){Se&&(this._name=Se,this.cssClassFriendlyName=Se.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(Z,8))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["","cdkColumnDef",""]],contentQueries:function(Mt,Pt,ai){if(1&Mt&&(t.wni(ai,ve,5),t.wni(ai,ae,5),t.wni(ai,ye,5)),2&Mt){let Ei;t.mGM(Ei=t.lsd())&&(Pt.cell=Ei.first),t.mGM(Ei=t.lsd())&&(Pt.headerCell=Ei.first),t.mGM(Ei=t.lsd())&&(Pt.footerCell=Ei.first)}},inputs:{sticky:"sticky",name:[0,"cdkColumnDef","name"],stickyEnd:[2,"stickyEnd","stickyEnd",t.L39]},features:[t.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:st}]),t.GFd,t.Vt3]})}}return st})();class n{constructor(ii,Se){Se.nativeElement.classList.add(...ii._columnCssClassName)}}let c=(()=>{class st extends n{constructor(Se,Mt){super(Se,Mt)}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(D),t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[t.Vt3]})}}return st})(),f=(()=>{class st extends n{constructor(Se,Mt){if(super(Se,Mt),1===Se._table?._elementRef.nativeElement.nodeType){const Pt=Se._table._elementRef.nativeElement.getAttribute("role");Mt.nativeElement.setAttribute("role","grid"===Pt||"treegrid"===Pt?"gridcell":"cell")}}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(D),t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[t.Vt3]})}}return st})(),h=(()=>{class st extends n{constructor(Se,Mt){if(super(Se,Mt),1===Se._table?._elementRef.nativeElement.nodeType){const Pt=Se._table._elementRef.nativeElement.getAttribute("role");Mt.nativeElement.setAttribute("role","grid"===Pt||"treegrid"===Pt?"gridcell":"cell")}}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(D),t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[t.Vt3]})}}return st})();class M{constructor(){this.tasks=[],this.endTasks=[]}}const L=new t.nKC("_COALESCED_STYLE_SCHEDULER");let O=(()=>{class st{constructor(Se){this._ngZone=Se,this._currentSchedule=null,this._destroyed=new m.B}schedule(Se){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(Se)}scheduleEnd(Se){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(Se)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new M,this._getScheduleObservable().pipe((0,T.Q)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const Se=this._currentSchedule;this._currentSchedule=new M;for(const Mt of Se.tasks)Mt();for(const Mt of Se.endTasks)Mt()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,R.H)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,k.s)(1))}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.KVO(t.SKi))}}static{this.\u0275prov=t.jDH({token:st,factory:st.\u0275fac})}}return st})(),r=(()=>{class st{constructor(Se,Mt){this.template=Se,this._differs=Mt}ngOnChanges(Se){if(!this._columnsDiffer){const Mt=Se.columns&&Se.columns.currentValue||[];this._columnsDiffer=this._differs.find(Mt).create(),this._columnsDiffer.diff(Mt)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Se){return this instanceof N?Se.headerCell.template:this instanceof at?Se.footerCell.template:Se.cell.template}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t.C4Q),t.rXU(t._q3))}}static{this.\u0275dir=t.FsC({type:st,features:[t.OA$]})}}return st})();class v extends r{}const z=$(v);let N=(()=>{class st extends z{constructor(Se,Mt,Pt){super(Se,Mt),this._table=Pt}ngOnChanges(Se){super.ngOnChanges(Se)}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t.C4Q),t.rXU(t._q3),t.rXU(Z,8))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[0,"cdkHeaderRowDefSticky","sticky"]},features:[t.Vt3,t.OA$]})}}return st})();class ne extends r{}const Ie=$(ne);let at=(()=>{class st extends Ie{constructor(Se,Mt,Pt){super(Se,Mt),this._table=Pt}ngOnChanges(Se){super.ngOnChanges(Se)}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t.C4Q),t.rXU(t._q3),t.rXU(Z,8))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[0,"cdkFooterRowDefSticky","sticky"]},features:[t.Vt3,t.OA$]})}}return st})(),Ye=(()=>{class st extends r{constructor(Se,Mt,Pt){super(Se,Mt),this._table=Pt}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t.C4Q),t.rXU(t._q3),t.rXU(Z,8))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[t.Vt3]})}}return st})(),rt=(()=>{class st{static{this.mostRecentCellOutlet=null}constructor(Se){this._viewContainer=Se,st.mostRecentCellOutlet=this}ngOnDestroy(){st.mostRecentCellOutlet===this&&(st.mostRecentCellOutlet=null)}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t.c1b))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["","cdkCellOutlet",""]]})}}return st})(),re=(()=>{class st{static{this.\u0275fac=function(Mt){return new(Mt||st)}}static{this.\u0275cmp=t.VBU({type:st,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Pt){1&Mt&&t.eu8(0,0)},dependencies:[rt],encapsulation:2})}}return st})(),te=(()=>{class st{static{this.\u0275fac=function(Mt){return new(Mt||st)}}static{this.\u0275cmp=t.VBU({type:st,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Pt){1&Mt&&t.eu8(0,0)},dependencies:[rt],encapsulation:2})}}return st})(),oe=(()=>{class st{static{this.\u0275fac=function(Mt){return new(Mt||st)}}static{this.\u0275cmp=t.VBU({type:st,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Pt){1&Mt&&t.eu8(0,0)},dependencies:[rt],encapsulation:2})}}return st})(),_e=(()=>{class st{constructor(Se){this.templateRef=Se,this._contentClassName="cdk-no-data-row"}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t.C4Q))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["ng-template","cdkNoDataRow",""]]})}}return st})();const de=["top","bottom","left","right"];class pe{constructor(ii,Se,Mt,Pt,ai=!0,Ei=!0,Hi){this._isNativeHtmlTable=ii,this._stickCellCss=Se,this.direction=Mt,this._coalescedStyleScheduler=Pt,this._isBrowser=ai,this._needsPositionStickyOnElement=Ei,this._positionListener=Hi,this._cachedCellWidths=[],this._borderCellCss={top:`${Se}-border-elem-top`,bottom:`${Se}-border-elem-bottom`,left:`${Se}-border-elem-left`,right:`${Se}-border-elem-right`}}clearStickyPositioning(ii,Se){const Mt=[];for(const Pt of ii)if(Pt.nodeType===Pt.ELEMENT_NODE){Mt.push(Pt);for(let ai=0;ai<Pt.children.length;ai++)Mt.push(Pt.children[ai])}this._coalescedStyleScheduler.schedule(()=>{for(const Pt of Mt)this._removeStickyStyle(Pt,Se)})}updateStickyColumns(ii,Se,Mt,Pt=!0){if(!ii.length||!this._isBrowser||!Se.some(mn=>mn)&&!Mt.some(mn=>mn))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const ai=ii[0],Ei=ai.children.length,Hi=this._getCellWidths(ai,Pt),$i=this._getStickyStartColumnPositions(Hi,Se),hn=this._getStickyEndColumnPositions(Hi,Mt),Fi=Se.lastIndexOf(!0),_n=Mt.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const mn="rtl"===this.direction,Dt=mn?"right":"left",ct=mn?"left":"right";for(const Bt of ii)for(let q=0;q<Ei;q++){const it=Bt.children[q];Se[q]&&this._addStickyStyle(it,Dt,$i[q],q===Fi),Mt[q]&&this._addStickyStyle(it,ct,hn[q],q===_n)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Fi?[]:Hi.slice(0,Fi+1).map((Bt,q)=>Se[q]?Bt:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===_n?[]:Hi.slice(_n).map((Bt,q)=>Mt[q+_n]?Bt:null).reverse()}))})}stickRows(ii,Se,Mt){if(!this._isBrowser)return;const Pt="bottom"===Mt?ii.slice().reverse():ii,ai="bottom"===Mt?Se.slice().reverse():Se,Ei=[],Hi=[],$i=[];for(let Fi=0,_n=0;Fi<Pt.length;Fi++){if(!ai[Fi])continue;Ei[Fi]=_n;const mn=Pt[Fi];$i[Fi]=this._isNativeHtmlTable?Array.from(mn.children):[mn];const Dt=mn.getBoundingClientRect().height;_n+=Dt,Hi[Fi]=Dt}const hn=ai.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let Fi=0;Fi<Pt.length;Fi++){if(!ai[Fi])continue;const _n=Ei[Fi],mn=Fi===hn;for(const Dt of $i[Fi])this._addStickyStyle(Dt,Mt,_n,mn)}"top"===Mt?this._positionListener?.stickyHeaderRowsUpdated({sizes:Hi,offsets:Ei,elements:$i}):this._positionListener?.stickyFooterRowsUpdated({sizes:Hi,offsets:Ei,elements:$i})})}updateStickyFooterContainer(ii,Se){if(!this._isNativeHtmlTable)return;const Mt=ii.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{Se.some(Pt=>!Pt)?this._removeStickyStyle(Mt,["bottom"]):this._addStickyStyle(Mt,"bottom",0,!1)})}_removeStickyStyle(ii,Se){for(const Pt of Se)ii.style[Pt]="",ii.classList.remove(this._borderCellCss[Pt]);de.some(Pt=>-1===Se.indexOf(Pt)&&ii.style[Pt])?ii.style.zIndex=this._getCalculatedZIndex(ii):(ii.style.zIndex="",this._needsPositionStickyOnElement&&(ii.style.position=""),ii.classList.remove(this._stickCellCss))}_addStickyStyle(ii,Se,Mt,Pt){ii.classList.add(this._stickCellCss),Pt&&ii.classList.add(this._borderCellCss[Se]),ii.style[Se]=`${Mt}px`,ii.style.zIndex=this._getCalculatedZIndex(ii),this._needsPositionStickyOnElement&&(ii.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(ii){const Se={top:100,bottom:10,left:1,right:1};let Mt=0;for(const Pt of de)ii.style[Pt]&&(Mt+=Se[Pt]);return Mt?`${Mt}`:""}_getCellWidths(ii,Se=!0){if(!Se&&this._cachedCellWidths.length)return this._cachedCellWidths;const Mt=[],Pt=ii.children;for(let ai=0;ai<Pt.length;ai++)Mt.push(Pt[ai].getBoundingClientRect().width);return this._cachedCellWidths=Mt,Mt}_getStickyStartColumnPositions(ii,Se){const Mt=[];let Pt=0;for(let ai=0;ai<ii.length;ai++)Se[ai]&&(Mt[ai]=Pt,Pt+=ii[ai]);return Mt}_getStickyEndColumnPositions(ii,Se){const Mt=[];let Pt=0;for(let ai=ii.length;ai>0;ai--)Se[ai]&&(Mt[ai]=Pt,Pt+=ii[ai]);return Mt}}const Nt=new t.nKC("CDK_SPL");let Je=(()=>{class st{constructor(Se,Mt){this.viewContainer=Se,this.elementRef=Mt}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t.c1b),t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["","rowOutlet",""]]})}}return st})(),Qe=(()=>{class st{constructor(Se,Mt){this.viewContainer=Se,this.elementRef=Mt}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t.c1b),t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["","headerRowOutlet",""]]})}}return st})(),nt=(()=>{class st{constructor(Se,Mt){this.viewContainer=Se,this.elementRef=Mt}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t.c1b),t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["","footerRowOutlet",""]]})}}return st})(),Ue=(()=>{class st{constructor(Se,Mt){this.viewContainer=Se,this.elementRef=Mt}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t.c1b),t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:st,selectors:[["","noDataRowOutlet",""]]})}}return st})(),wt=(()=>{class st{get trackBy(){return this._trackByFn}set trackBy(Se){this._trackByFn=Se}get dataSource(){return this._dataSource}set dataSource(Se){this._dataSource!==Se&&this._switchDataSource(Se)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Se){this._multiTemplateDataRows=Se,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(Se){this._fixedLayout=Se,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(Se,Mt,Pt,ai,Ei,Hi,$i,hn,Fi,_n,mn,Dt){this._differs=Se,this._changeDetectorRef=Mt,this._elementRef=Pt,this._dir=Ei,this._platform=$i,this._viewRepeater=hn,this._coalescedStyleScheduler=Fi,this._viewportRuler=_n,this._stickyPositioningListener=mn,this._ngZone=Dt,this._onDestroy=new m.B,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new t.bkB,this.viewChange=new d.t({start:0,end:Number.MAX_VALUE}),ai||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Hi,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((Se,Mt)=>this.trackBy?this.trackBy(Mt.dataIndex,Mt.data):Mt),this._viewportRuler.change().pipe((0,T.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Mt=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Mt,this._forceRecalculateCellWidths=Mt,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(Se=>{Se.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,C.y4)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Se=this._dataDiffer.diff(this._renderRows);if(!Se)return this._updateNoDataRow(),void this.contentChanged.next();const Mt=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Se,Mt,(Pt,ai,Ei)=>this._getEmbeddedViewArgs(Pt.item,Ei),Pt=>Pt.item.data,Pt=>{1===Pt.operation&&Pt.context&&this._renderCellTemplateForItem(Pt.record.item.rowDef,Pt.context)}),this._updateRowIndexContext(),Se.forEachIdentityChange(Pt=>{Mt.get(Pt.currentIndex).context.$implicit=Pt.item.data}),this._updateNoDataRow(),this._ngZone&&t.SKi.isInAngularZone()?this._ngZone.onStable.pipe((0,k.s)(1),(0,T.Q)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(Se){this._customColumnDefs.add(Se)}removeColumnDef(Se){this._customColumnDefs.delete(Se)}addRowDef(Se){this._customRowDefs.add(Se)}removeRowDef(Se){this._customRowDefs.delete(Se)}addHeaderRowDef(Se){this._customHeaderRowDefs.add(Se),this._headerRowDefChanged=!0}removeHeaderRowDef(Se){this._customHeaderRowDefs.delete(Se),this._headerRowDefChanged=!0}addFooterRowDef(Se){this._customFooterRowDefs.add(Se),this._footerRowDefChanged=!0}removeFooterRowDef(Se){this._customFooterRowDefs.delete(Se),this._footerRowDefChanged=!0}setNoDataRow(Se){this._customNoDataRow=Se}updateStickyHeaderRowStyles(){const Se=this._getRenderedRows(this._headerRowOutlet),Pt=this._elementRef.nativeElement.querySelector("thead");Pt&&(Pt.style.display=Se.length?"":"none");const ai=this._headerRowDefs.map(Ei=>Ei.sticky);this._stickyStyler.clearStickyPositioning(Se,["top"]),this._stickyStyler.stickRows(Se,ai,"top"),this._headerRowDefs.forEach(Ei=>Ei.resetStickyChanged())}updateStickyFooterRowStyles(){const Se=this._getRenderedRows(this._footerRowOutlet),Pt=this._elementRef.nativeElement.querySelector("tfoot");Pt&&(Pt.style.display=Se.length?"":"none");const ai=this._footerRowDefs.map(Ei=>Ei.sticky);this._stickyStyler.clearStickyPositioning(Se,["bottom"]),this._stickyStyler.stickRows(Se,ai,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,ai),this._footerRowDefs.forEach(Ei=>Ei.resetStickyChanged())}updateStickyColumnStyles(){const Se=this._getRenderedRows(this._headerRowOutlet),Mt=this._getRenderedRows(this._rowOutlet),Pt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Se,...Mt,...Pt],["left","right"]),this._stickyColumnStylesNeedReset=!1),Se.forEach((ai,Ei)=>{this._addStickyColumnStyles([ai],this._headerRowDefs[Ei])}),this._rowDefs.forEach(ai=>{const Ei=[];for(let Hi=0;Hi<Mt.length;Hi++)this._renderRows[Hi].rowDef===ai&&Ei.push(Mt[Hi]);this._addStickyColumnStyles(Ei,ai)}),Pt.forEach((ai,Ei)=>{this._addStickyColumnStyles([ai],this._footerRowDefs[Ei])}),Array.from(this._columnDefsByName.values()).forEach(ai=>ai.resetStickyChanged())}_getAllRenderRows(){const Se=[],Mt=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Pt=0;Pt<this._data.length;Pt++){let ai=this._data[Pt];const Ei=this._getRenderRowsForData(ai,Pt,Mt.get(ai));this._cachedRenderRowsMap.has(ai)||this._cachedRenderRowsMap.set(ai,new WeakMap);for(let Hi=0;Hi<Ei.length;Hi++){let $i=Ei[Hi];const hn=this._cachedRenderRowsMap.get($i.data);hn.has($i.rowDef)?hn.get($i.rowDef).push($i):hn.set($i.rowDef,[$i]),Se.push($i)}}return Se}_getRenderRowsForData(Se,Mt,Pt){return this._getRowDefs(Se,Mt).map(Ei=>{const Hi=Pt&&Pt.has(Ei)?Pt.get(Ei):[];if(Hi.length){const $i=Hi.shift();return $i.dataIndex=Mt,$i}return{data:Se,rowDef:Ei,dataIndex:Mt}})}_cacheColumnDefs(){this._columnDefsByName.clear(),ut(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Mt=>{this._columnDefsByName.has(Mt.name),this._columnDefsByName.set(Mt.name,Mt)})}_cacheRowDefs(){this._headerRowDefs=ut(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=ut(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=ut(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Se=this._rowDefs.filter(Mt=>!Mt.when);this._defaultRowDef=Se[0]}_renderUpdatedColumns(){const Se=(Ei,Hi)=>Ei||!!Hi.getColumnsDiff(),Mt=this._rowDefs.reduce(Se,!1);Mt&&this._forceRenderDataRows();const Pt=this._headerRowDefs.reduce(Se,!1);Pt&&this._forceRenderHeaderRows();const ai=this._footerRowDefs.reduce(Se,!1);return ai&&this._forceRenderFooterRows(),Mt||Pt||ai}_switchDataSource(Se){this._data=[],(0,C.y4)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Se||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=Se}_observeRenderChanges(){if(!this.dataSource)return;let Se;(0,C.y4)(this.dataSource)?Se=this.dataSource.connect(this):(0,w.A)(this.dataSource)?Se=this.dataSource:Array.isArray(this.dataSource)&&(Se=(0,y.of)(this.dataSource)),this._renderChangeSubscription=Se.pipe((0,T.Q)(this._onDestroy)).subscribe(Mt=>{this._data=Mt||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Se,Mt)=>this._renderRow(this._headerRowOutlet,Se,Mt)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Se,Mt)=>this._renderRow(this._footerRowOutlet,Se,Mt)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Se,Mt){const Pt=Array.from(Mt.columns||[]).map(Hi=>this._columnDefsByName.get(Hi)),ai=Pt.map(Hi=>Hi.sticky),Ei=Pt.map(Hi=>Hi.stickyEnd);this._stickyStyler.updateStickyColumns(Se,ai,Ei,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Se){const Mt=[];for(let Pt=0;Pt<Se.viewContainer.length;Pt++){const ai=Se.viewContainer.get(Pt);Mt.push(ai.rootNodes[0])}return Mt}_getRowDefs(Se,Mt){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Pt=[];if(this.multiTemplateDataRows)Pt=this._rowDefs.filter(ai=>!ai.when||ai.when(Mt,Se));else{let ai=this._rowDefs.find(Ei=>Ei.when&&Ei.when(Mt,Se))||this._defaultRowDef;ai&&Pt.push(ai)}return Pt}_getEmbeddedViewArgs(Se,Mt){return{templateRef:Se.rowDef.template,context:{$implicit:Se.data},index:Mt}}_renderRow(Se,Mt,Pt,ai={}){const Ei=Se.viewContainer.createEmbeddedView(Mt.template,ai,Pt);return this._renderCellTemplateForItem(Mt,ai),Ei}_renderCellTemplateForItem(Se,Mt){for(let Pt of this._getCellTemplates(Se))rt.mostRecentCellOutlet&&rt.mostRecentCellOutlet._viewContainer.createEmbeddedView(Pt,Mt);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Se=this._rowOutlet.viewContainer;for(let Mt=0,Pt=Se.length;Mt<Pt;Mt++){const Ei=Se.get(Mt).context;Ei.count=Pt,Ei.first=0===Mt,Ei.last=Mt===Pt-1,Ei.even=Mt%2==0,Ei.odd=!Ei.even,this.multiTemplateDataRows?(Ei.dataIndex=this._renderRows[Mt].dataIndex,Ei.renderIndex=Mt):Ei.index=this._renderRows[Mt].dataIndex}}_getCellTemplates(Se){return Se&&Se.columns?Array.from(Se.columns,Mt=>{const Pt=this._columnDefsByName.get(Mt);return Se.extractCellTemplate(Pt)}):[]}_applyNativeTableSections(){const Se=this._document.createDocumentFragment(),Mt=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Pt of Mt){const ai=this._document.createElement(Pt.tag);ai.setAttribute("role","rowgroup");for(const Ei of Pt.outlets)ai.appendChild(Ei.elementRef.nativeElement);Se.appendChild(ai)}this._elementRef.nativeElement.appendChild(Se)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Se=(Mt,Pt)=>Mt||Pt.hasStickyChanged();this._headerRowDefs.reduce(Se,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Se,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Se,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new pe(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,y.of)()).pipe((0,T.Q)(this._onDestroy)).subscribe(Mt=>{this._stickyStyler.direction=Mt,this.updateStickyColumnStyles()})}_getOwnDefs(Se){return Se.filter(Mt=>!Mt._table||Mt._table===this)}_updateNoDataRow(){const Se=this._customNoDataRow||this._noDataRow;if(!Se)return;const Mt=0===this._rowOutlet.viewContainer.length;if(Mt===this._isShowingNoDataRow)return;const Pt=this._noDataRowOutlet.viewContainer;if(Mt){const ai=Pt.createEmbeddedView(Se.templateRef),Ei=ai.rootNodes[0];1===ai.rootNodes.length&&Ei?.nodeType===this._document.ELEMENT_NODE&&(Ei.setAttribute("role","row"),Ei.classList.add(Se._contentClassName))}else Pt.clear();this._isShowingNoDataRow=Mt,this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(Mt){return new(Mt||st)(t.rXU(t._q3),t.rXU(t.gRc),t.rXU(t.aKT),t.kS0("role"),t.rXU(e.dS,8),t.rXU(x.qQ),t.rXU(S.OD),t.rXU(C.sL),t.rXU(L),t.rXU(l.Xj),t.rXU(Nt,12),t.rXU(t.SKi,8))}}static{this.\u0275cmp=t.VBU({type:st,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(Mt,Pt,ai){if(1&Mt&&(t.wni(ai,_e,5),t.wni(ai,D,5),t.wni(ai,Ye,5),t.wni(ai,N,5),t.wni(ai,at,5)),2&Mt){let Ei;t.mGM(Ei=t.lsd())&&(Pt._noDataRow=Ei.first),t.mGM(Ei=t.lsd())&&(Pt._contentColumnDefs=Ei),t.mGM(Ei=t.lsd())&&(Pt._contentRowDefs=Ei),t.mGM(Ei=t.lsd())&&(Pt._contentHeaderRowDefs=Ei),t.mGM(Ei=t.lsd())&&(Pt._contentFooterRowDefs=Ei)}},viewQuery:function(Mt,Pt){if(1&Mt&&(t.GBs(Je,7),t.GBs(Qe,7),t.GBs(nt,7),t.GBs(Ue,7)),2&Mt){let ai;t.mGM(ai=t.lsd())&&(Pt._rowOutlet=ai.first),t.mGM(ai=t.lsd())&&(Pt._headerRowOutlet=ai.first),t.mGM(ai=t.lsd())&&(Pt._footerRowOutlet=ai.first),t.mGM(ai=t.lsd())&&(Pt._noDataRowOutlet=ai.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(Mt,Pt){2&Mt&&t.AVh("cdk-table-fixed-layout",Pt.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",t.L39],fixedLayout:[2,"fixedLayout","fixedLayout",t.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[t.Jv_([{provide:Z,useExisting:st},{provide:C.sL,useClass:C.xn},{provide:L,useClass:O},{provide:Nt,useValue:null}]),t.GFd],ngContentSelectors:U,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Mt,Pt){1&Mt&&(t.NAR(V),t.SdG(0),t.SdG(1,1),t.eu8(2,0)(3,1)(4,2)(5,3))},dependencies:[Je,Qe,nt,Ue],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}}return st})();function ut(st,ii){return st.concat(Array.from(ii))}let jt=(()=>{class st{static{this.\u0275fac=function(Mt){return new(Mt||st)}}static{this.\u0275mod=t.$C({type:st})}static{this.\u0275inj=t.G2t({imports:[l.E9]})}}return st})();var qe=p(6600),dt=p(7786),Le=p(4572),Vt=p(6354);const Zt=[[["caption"]],[["colgroup"],["col"]]],Et=["caption","colgroup, col"];let ce=(()=>{class st extends wt{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{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275cmp=t.VBU({type:st,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(Mt,Pt){2&Mt&&t.AVh("mdc-table-fixed-layout",Pt.fixedLayout)},exportAs:["matTable"],features:[t.Jv_([{provide:wt,useExisting:st},{provide:Z,useExisting:st},{provide:L,useClass:O},{provide:C.sL,useClass:C.xn},{provide:Nt,useValue:null}]),t.Vt3],ngContentSelectors:Et,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Mt,Pt){1&Mt&&(t.NAR(Zt),t.SdG(0),t.SdG(1,1),t.eu8(2,0)(3,1)(4,2)(5,3))},dependencies:[Je,Qe,nt,Ue],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 st})(),Me=(()=>{class st extends ve{static{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275dir=t.FsC({type:st,selectors:[["","matCellDef",""]],features:[t.Jv_([{provide:ve,useExisting:st}]),t.Vt3]})}}return st})(),Xe=(()=>{class st extends ae{static{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275dir=t.FsC({type:st,selectors:[["","matHeaderCellDef",""]],features:[t.Jv_([{provide:ae,useExisting:st}]),t.Vt3]})}}return st})(),Pe=(()=>{class st extends ye{static{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275dir=t.FsC({type:st,selectors:[["","matFooterCellDef",""]],features:[t.Jv_([{provide:ye,useExisting:st}]),t.Vt3]})}}return st})(),Oe=(()=>{class st extends D{get name(){return this._name}set name(Se){this._setNameInput(Se)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275dir=t.FsC({type:st,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:[0,"matColumnDef","name"]},features:[t.Jv_([{provide:D,useExisting:st},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:st}]),t.Vt3]})}}return st})(),we=(()=>{class st extends c{static{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275dir=t.FsC({type:st,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[t.Vt3]})}}return st})(),De=(()=>{class st extends f{static{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275dir=t.FsC({type:st,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[t.Vt3]})}}return st})(),$e=(()=>{class st extends h{static{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275dir=t.FsC({type:st,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[t.Vt3]})}}return st})(),Ft=(()=>{class st extends N{static{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275dir=t.FsC({type:st,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[0,"matHeaderRowDefSticky","sticky"]},features:[t.Jv_([{provide:N,useExisting:st}]),t.Vt3]})}}return st})(),Kt=(()=>{class st extends at{static{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275dir=t.FsC({type:st,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[0,"matFooterRowDefSticky","sticky"]},features:[t.Jv_([{provide:at,useExisting:st}]),t.Vt3]})}}return st})(),fi=(()=>{class st extends Ye{static{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275dir=t.FsC({type:st,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[t.Jv_([{provide:Ye,useExisting:st}]),t.Vt3]})}}return st})(),Qt=(()=>{class st extends re{static{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275cmp=t.VBU({type:st,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[t.Jv_([{provide:re,useExisting:st}]),t.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Pt){1&Mt&&t.eu8(0,0)},dependencies:[rt],encapsulation:2})}}return st})(),zt=(()=>{class st extends te{static{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275cmp=t.VBU({type:st,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[t.Jv_([{provide:te,useExisting:st}]),t.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Pt){1&Mt&&t.eu8(0,0)},dependencies:[rt],encapsulation:2})}}return st})(),Xi=(()=>{class st extends oe{static{this.\u0275fac=(()=>{let Se;return function(Pt){return(Se||(Se=t.xGo(st)))(Pt||st)}})()}static{this.\u0275cmp=t.VBU({type:st,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[t.Jv_([{provide:oe,useExisting:st}]),t.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Pt){1&Mt&&t.eu8(0,0)},dependencies:[rt],encapsulation:2})}}return st})(),Qi=(()=>{class st{static{this.\u0275fac=function(Mt){return new(Mt||st)}}static{this.\u0275mod=t.$C({type:st})}static{this.\u0275inj=t.G2t({imports:[qe.yE,jt,qe.yE]})}}return st})();class nn extends C.qS{get data(){return this._data.value}set data(ii){ii=Array.isArray(ii)?ii:[],this._data.next(ii),this._renderChangesSubscription||this._filterData(ii)}get filter(){return this._filter.value}set filter(ii){this._filter.next(ii),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(ii){this._sort=ii,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(ii){this._paginator=ii,this._updateChangeSubscription()}constructor(ii=[]){super(),this._renderData=new d.t([]),this._filter=new d.t(""),this._internalPageChanges=new m.B,this._renderChangesSubscription=null,this.sortingDataAccessor=(Se,Mt)=>{const Pt=Se[Mt];if((0,F.o1)(Pt)){const ai=Number(Pt);return ai<9007199254740991?ai:Pt}return Pt},this.sortData=(Se,Mt)=>{const Pt=Mt.active,ai=Mt.direction;return Pt&&""!=ai?Se.sort((Ei,Hi)=>{let $i=this.sortingDataAccessor(Ei,Pt),hn=this.sortingDataAccessor(Hi,Pt);const Fi=typeof $i,_n=typeof hn;Fi!==_n&&("number"===Fi&&($i+=""),"number"===_n&&(hn+=""));let mn=0;return null!=$i&&null!=hn?$i>hn?mn=1:$i<hn&&(mn=-1):null!=$i?mn=1:null!=hn&&(mn=-1),mn*("asc"==ai?1:-1)}):Se},this.filterPredicate=(Se,Mt)=>{const Pt=Object.keys(Se).reduce((Ei,Hi)=>Ei+Se[Hi]+"\u25ec","").toLowerCase(),ai=Mt.trim().toLowerCase();return-1!=Pt.indexOf(ai)},this._data=new d.t(ii),this._updateChangeSubscription()}_updateChangeSubscription(){const ii=this._sort?(0,dt.h)(this._sort.sortChange,this._sort.initialized):(0,y.of)(null),Se=this._paginator?(0,dt.h)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,y.of)(null),Pt=(0,Le.z)([this._data,this._filter]).pipe((0,Vt.T)(([Hi])=>this._filterData(Hi))),ai=(0,Le.z)([Pt,ii]).pipe((0,Vt.T)(([Hi])=>this._orderData(Hi))),Ei=(0,Le.z)([ai,Se]).pipe((0,Vt.T)(([Hi])=>this._pageData(Hi)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Ei.subscribe(Hi=>this._renderData.next(Hi))}_filterData(ii){return this.filteredData=null==this.filter||""===this.filter?ii:ii.filter(Se=>this.filterPredicate(Se,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(ii){return this.sort?this.sortData(ii.slice(),this.sort):ii}_pageData(ii){if(!this.paginator)return ii;const Se=this.paginator.pageIndex*this.paginator.pageSize;return ii.slice(Se,Se+this.paginator.pageSize)}_updatePaginator(ii){Promise.resolve().then(()=>{const Se=this.paginator;if(Se&&(Se.length=ii,Se.pageIndex>0)){const Mt=Math.ceil(Se.length/Se.pageSize)-1||0,Pt=Math.min(Se.pageIndex,Mt);Pt!==Se.pageIndex&&(Se.pageIndex=Pt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},6850:(Ve,ee,p)=>{"use strict";p.d(ee,{Bu:()=>je,ES:()=>et,Ql:()=>xe,RI:()=>Me,T8:()=>Vt,hQ:()=>ce,mq:()=>tt});var t=p(177),e=p(4438),C=p(6600),S=p(6939),l=p(2318),x=p(8617),m=p(8203),R=p(8359),d=p(1413),w=p(3726),y=p(7673),T=p(7786),k=p(983),F=p(1985),V=p(1807),U=p(4412),G=p(9172),Y=p(3294),$=p(6977),Z=p(6697),ie=p(5558),ve=p(5245),ae=p(5964),ye=p(9969),ue=p(4085),be=p(5542),D=p(6860),n=p(7336);const c=Xe=>({animationDuration:Xe}),f=(Xe,Pe)=>({value:Xe,params:Pe});function h(Xe,Pe){}const M=["*"];function L(Xe,Pe){1&Xe&&e.SdG(0)}const O=["tabListContainer"],_=["tabList"],r=["tabListInner"],v=["nextPaginator"],z=["previousPaginator"],N=["tabBodyWrapper"],ne=["tabHeader"];function Ie(Xe,Pe){}function at(Xe,Pe){if(1&Xe&&e.DNE(0,Ie,0,0,"ng-template",12),2&Xe){const Oe=e.XpG().$implicit;e.Y8G("cdkPortalOutlet",Oe.templateLabel)}}function Ye(Xe,Pe){if(1&Xe&&e.EFF(0),2&Xe){const Oe=e.XpG().$implicit;e.JRh(Oe.textLabel)}}function rt(Xe,Pe){if(1&Xe){const Oe=e.RV6();e.j41(0,"div",7,2),e.bIt("click",function(){const De=e.eBV(Oe),$e=De.$implicit,$t=De.$index,Ft=e.XpG(),Kt=e.sdS(1);return e.Njj(Ft._handleClick($e,Kt,$t))})("cdkFocusChange",function(De){const $e=e.eBV(Oe).$index,$t=e.XpG();return e.Njj($t._tabFocusChanged(De,$e))}),e.nrm(2,"span",8)(3,"div",9),e.j41(4,"span",10)(5,"span",11),e.DNE(6,at,1,1,null,12)(7,Ye,1,1),e.k0s()()()}if(2&Xe){const Oe=Pe.$implicit,we=Pe.$index,De=e.sdS(1),$e=e.XpG();e.AVh("mdc-tab--active",$e.selectedIndex===we),e.Y8G("id",$e._getTabLabelId(we))("ngClass",Oe.labelClass)("disabled",Oe.disabled)("fitInkBarToContent",$e.fitInkBarToContent),e.BMQ("tabIndex",$e._getTabIndex(we))("aria-posinset",we+1)("aria-setsize",$e._tabs.length)("aria-controls",$e._getTabContentId(we))("aria-selected",$e.selectedIndex===we)("aria-label",Oe.ariaLabel||null)("aria-labelledby",!Oe.ariaLabel&&Oe.ariaLabelledby?Oe.ariaLabelledby:null),e.R7$(3),e.Y8G("matRippleTrigger",De)("matRippleDisabled",Oe.disabled||$e.disableRipple),e.R7$(3),e.vxM(Oe.templateLabel?6:7)}}function re(Xe,Pe){if(1&Xe){const Oe=e.RV6();e.j41(0,"mat-tab-body",13),e.bIt("_onCentered",function(){e.eBV(Oe);const De=e.XpG();return e.Njj(De._removeTabBodyWrapperHeight())})("_onCentering",function(De){e.eBV(Oe);const $e=e.XpG();return e.Njj($e._setTabBodyWrapperHeight(De))}),e.k0s()}if(2&Xe){const Oe=Pe.$implicit,we=Pe.$index,De=e.XpG();e.AVh("mat-mdc-tab-body-active",De.selectedIndex===we),e.Y8G("id",De._getTabContentId(we))("ngClass",Oe.bodyClass)("content",Oe.content)("position",Oe.position)("origin",Oe.origin)("animationDuration",De.animationDuration)("preserveContent",De.preserveContent),e.BMQ("tabindex",null!=De.contentTabIndex&&De.selectedIndex===we?De.contentTabIndex:null)("aria-labelledby",De._getTabLabelId(we))("aria-hidden",De.selectedIndex!==we)}}const te=["mat-tab-nav-bar",""],oe=["mat-tab-link",""],_e={translateTab:(0,ye.hZ)("translateTab",[(0,ye.wk)("center, void, left-origin-center, right-origin-center",(0,ye.iF)({transform:"none"})),(0,ye.wk)("left",(0,ye.iF)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ye.wk)("right",(0,ye.iF)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ye.kY)("* => left, * => right, left => center, right => center",(0,ye.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,ye.kY)("void => left-origin-center",[(0,ye.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,ye.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,ye.kY)("void => right-origin-center",[(0,ye.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,ye.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let de=(()=>{class Xe extends S.I3{constructor(Oe,we,De,$e){super(Oe,we,$e),this._host=De,this._centeringSub=R.yU.EMPTY,this._leavingSub=R.yU.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,G.Z)(this._host._isCenterPosition(this._host._position))).subscribe(Oe=>{Oe&&!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{this.\u0275fac=function(we){return new(we||Xe)(e.rXU(e.OM3),e.rXU(e.c1b),e.rXU((0,e.Rfq)(()=>pe)),e.rXU(t.qQ))}}static{this.\u0275dir=e.FsC({type:Xe,selectors:[["","matTabBodyHost",""]],features:[e.Vt3]})}}return Xe})(),pe=(()=>{class Xe{set position(Oe){this._positionIndex=Oe,this._computePositionAnimationState()}constructor(Oe,we,De){this._elementRef=Oe,this._dir=we,this._dirChangeSubscription=R.yU.EMPTY,this._translateTabComplete=new d.B,this._onCentering=new e.bkB,this._beforeCentering=new e.bkB,this._afterLeavingCenter=new e.bkB,this._onCentered=new e.bkB(!0),this.animationDuration="500ms",this.preserveContent=!1,we&&(this._dirChangeSubscription=we.change.subscribe($e=>{this._computePositionAnimationState($e),De.markForCheck()})),this._translateTabComplete.pipe((0,Y.F)(($e,$t)=>$e.fromState===$t.fromState&&$e.toState===$t.toState)).subscribe($e=>{this._isCenterPosition($e.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition($e.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(Oe){const we=this._isCenterPosition(Oe.toState);this._beforeCentering.emit(we),we&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Oe){return"center"==Oe||"left-origin-center"==Oe||"right-origin-center"==Oe}_computePositionAnimationState(Oe=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Oe?"left":"right":this._positionIndex>0?"ltr"==Oe?"right":"left":"center"}_computePositionFromOrigin(Oe){const we=this._getLayoutDirection();return"ltr"==we&&Oe<=0||"rtl"==we&&Oe>0?"left-origin-center":"right-origin-center"}static{this.\u0275fac=function(we){return new(we||Xe)(e.rXU(e.aKT),e.rXU(m.dS,8),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:Xe,selectors:[["mat-tab-body"]],viewQuery:function(we,De){if(1&we&&e.GBs(S.I3,5),2&we){let $e;e.mGM($e=e.lsd())&&(De._portalHost=$e.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(we,De){if(1&we){const $e=e.RV6();e.j41(0,"div",1,0),e.bIt("@translateTab.start",function(Ft){return e.eBV($e),e.Njj(De._onTranslateTabStarted(Ft))})("@translateTab.done",function(Ft){return e.eBV($e),e.Njj(De._translateTabComplete.next(Ft))}),e.DNE(2,h,0,0,"ng-template",2),e.k0s()}2&we&&e.Y8G("@translateTab",e.l_i(3,f,De._position,e.eq3(1,c,De.animationDuration)))},dependencies:[de],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:[_e.translateTab]}})}}return Xe})();const We=new e.nKC("MatTabContent");let se=(()=>{class Xe{constructor(Oe){this.template=Oe}static{this.\u0275fac=function(we){return new(we||Xe)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:Xe,selectors:[["","matTabContent",""]],features:[e.Jv_([{provide:We,useExisting:Xe}])]})}}return Xe})();const fe=new e.nKC("MatTabLabel"),he=new e.nKC("MAT_TAB");let et=(()=>{class Xe extends S.bV{constructor(Oe,we,De){super(Oe,we),this._closestTab=De}static{this.\u0275fac=function(we){return new(we||Xe)(e.rXU(e.C4Q),e.rXU(e.c1b),e.rXU(he,8))}}static{this.\u0275dir=e.FsC({type:Xe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[e.Jv_([{provide:fe,useExisting:Xe}]),e.Vt3]})}}return Xe})();const Ke="mdc-tab-indicator--active",Ct="mdc-tab-indicator--no-transition";class _t{constructor(Pe){this._items=Pe}hide(){this._items.forEach(Pe=>Pe.deactivateInkBar())}alignToElement(Pe){const Oe=this._items.find(De=>De.elementRef.nativeElement===Pe),we=this._currentItem;if(Oe!==we&&(we?.deactivateInkBar(),Oe)){const De=we?.elementRef.nativeElement.getBoundingClientRect?.();Oe.activateInkBar(De),this._currentItem=Oe}}}function Nt(Xe){return class extends Xe{constructor(...Pe){super(...Pe),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Pe){const Oe=(0,ue.he)(Pe);this._fitToContent!==Oe&&(this._fitToContent=Oe,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Pe){const Oe=this.elementRef.nativeElement;if(!Pe||!Oe.getBoundingClientRect||!this._inkBarContentElement)return void Oe.classList.add(Ke);const we=Oe.getBoundingClientRect(),De=Pe.width/we.width,$e=Pe.left-we.left;Oe.classList.add(Ct),this._inkBarContentElement.style.setProperty("transform",`translateX(${$e}px) scaleX(${De})`),Oe.getBoundingClientRect(),Oe.classList.remove(Ct),Oe.classList.add(Ke),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Ke)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const Pe=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=Pe.createElement("span"),this._inkBarContentElement=Pe.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 Qe=Nt((0,C.Ob)(class{}));let nt=(()=>{class Xe extends Qe{constructor(Oe){super(),this.elementRef=Oe}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static{this.\u0275fac=function(we){return new(we||Xe)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:Xe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(we,De){2&we&&(e.BMQ("aria-disabled",!!De.disabled),e.AVh("mat-mdc-tab-disabled",De.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[e.Vt3]})}}return Xe})();const Ue=(0,C.Ob)(class{}),ht=new e.nKC("MAT_TAB_GROUP");let tt=(()=>{class Xe extends Ue{get templateLabel(){return this._templateLabel}set templateLabel(Oe){this._setTemplateLabelInput(Oe)}get content(){return this._contentPortal}constructor(Oe,we){super(),this._viewContainerRef=Oe,this._closestTabGroup=we,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new d.B,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(Oe){(Oe.hasOwnProperty("textLabel")||Oe.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new S.VA(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Oe){Oe&&Oe._closestTab===this&&(this._templateLabel=Oe)}static{this.\u0275fac=function(we){return new(we||Xe)(e.rXU(e.c1b),e.rXU(ht,8))}}static{this.\u0275cmp=e.VBU({type:Xe,selectors:[["mat-tab"]],contentQueries:function(we,De,$e){if(1&we&&(e.wni($e,et,5),e.wni($e,se,7,e.C4Q)),2&we){let $t;e.mGM($t=e.lsd())&&(De.templateLabel=$t.first),e.mGM($t=e.lsd())&&(De._explicitContent=$t.first)}},viewQuery:function(we,De){if(1&we&&e.GBs(e.C4Q,7),2&we){let $e;e.mGM($e=e.lsd())&&(De._implicitContent=$e.first)}},inputs:{disabled:"disabled",textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[e.Jv_([{provide:he,useExisting:Xe}]),e.Vt3,e.OA$],ngContentSelectors:M,decls:1,vars:0,template:function(we,De){1&we&&(e.NAR(),e.DNE(0,L,1,0,"ng-template"))},encapsulation:2})}}return Xe})();const wt=(0,D.BQ)({passive:!0});let Ze=(()=>{class Xe{get disablePagination(){return this._disablePagination}set disablePagination(Oe){this._disablePagination=(0,ue.he)(Oe)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Oe){Oe=(0,ue.OE)(Oe),this._selectedIndex!=Oe&&(this._selectedIndexChanged=!0,this._selectedIndex=Oe,this._keyManager&&this._keyManager.updateActiveItem(Oe))}constructor(Oe,we,De,$e,$t,Ft,Kt){this._elementRef=Oe,this._changeDetectorRef=we,this._viewportRuler=De,this._dir=$e,this._ngZone=$t,this._platform=Ft,this._animationMode=Kt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new d.B,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new d.B,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new e.bkB,this.indexFocused=new e.bkB,$t.runOutsideAngular(()=>{(0,w.R)(Oe.nativeElement,"mouseleave").pipe((0,$.Q)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,w.R)(this._previousPaginator.nativeElement,"touchstart",wt).pipe((0,$.Q)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,w.R)(this._nextPaginator.nativeElement,"touchstart",wt).pipe((0,$.Q)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Oe=this._dir?this._dir.change:(0,y.of)("ltr"),we=this._viewportRuler.change(150),De=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new x.Bu(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,Z.s)(1)).subscribe(De),(0,T.h)(Oe,we,this._items.changes,this._itemsResized()).pipe((0,$.Q)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),De()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe($e=>{this.indexFocused.emit($e),this._setTabFocus($e)})}_itemsResized(){return"function"!=typeof ResizeObserver?k.w:this._items.changes.pipe((0,G.Z)(this._items),(0,ie.n)(Oe=>new F.c(we=>this._ngZone.runOutsideAngular(()=>{const De=new ResizeObserver($e=>we.next($e));return Oe.forEach($e=>De.observe($e.elementRef.nativeElement)),()=>{De.disconnect()}}))),(0,ve.i)(1),(0,ae.p)(Oe=>Oe.some(we=>we.contentRect.width>0&&we.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(Oe){if(!(0,n.rp)(Oe))switch(Oe.keyCode){case n.Fm:case n.t6:if(this.focusIndex!==this.selectedIndex){const we=this._items.get(this.focusIndex);we&&!we.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Oe))}break;default:this._keyManager.onKeydown(Oe)}}_onContentChanges(){const Oe=this._elementRef.nativeElement.textContent;Oe!==this._currentTextContent&&(this._currentTextContent=Oe||"",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(Oe){!this._isValidIndex(Oe)||this.focusIndex===Oe||!this._keyManager||this._keyManager.setActiveItem(Oe)}_isValidIndex(Oe){return!this._items||!!this._items.toArray()[Oe]}_setTabFocus(Oe){if(this._showPaginationControls&&this._scrollToLabel(Oe),this._items&&this._items.length){this._items.toArray()[Oe].focus();const we=this._tabListContainer.nativeElement;we.scrollLeft="ltr"==this._getLayoutDirection()?0:we.scrollWidth-we.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Oe=this.scrollDistance,we="ltr"===this._getLayoutDirection()?-Oe:Oe;this._tabList.nativeElement.style.transform=`translateX(${Math.round(we)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Oe){this._scrollTo(Oe)}_scrollHeader(Oe){return this._scrollTo(this._scrollDistance+("before"==Oe?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Oe){this._stopInterval(),this._scrollHeader(Oe)}_scrollToLabel(Oe){if(this.disablePagination)return;const we=this._items?this._items.toArray()[Oe]:null;if(!we)return;const De=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:$e,offsetWidth:$t}=we.elementRef.nativeElement;let Ft,Kt;"ltr"==this._getLayoutDirection()?(Ft=$e,Kt=Ft+$t):(Kt=this._tabListInner.nativeElement.offsetWidth-$e,Ft=Kt-$t);const fi=this.scrollDistance,Qt=this.scrollDistance+De;Ft<fi?this.scrollDistance-=fi-Ft:Kt>Qt&&(this.scrollDistance+=Math.min(Kt-Qt,Ft-fi))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Oe=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Oe||(this.scrollDistance=0),Oe!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Oe}}_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 Oe=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,we=Oe?Oe.elementRef.nativeElement:null;we?this._inkBar.alignToElement(we):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Oe,we){we&&null!=we.button&&0!==we.button||(this._stopInterval(),(0,V.O)(650,100).pipe((0,$.Q)((0,T.h)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:De,distance:$e}=this._scrollHeader(Oe);(0===$e||$e>=De)&&this._stopInterval()}))}_scrollTo(Oe){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const we=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(we,Oe)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:we,distance:this._scrollDistance}}static{this.\u0275fac=function(we){return new(we||Xe)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(be.Xj),e.rXU(m.dS,8),e.rXU(e.SKi),e.rXU(D.OD),e.rXU(e.bc$,8))}}static{this.\u0275dir=e.FsC({type:Xe,inputs:{disablePagination:"disablePagination"}})}}return Xe})(),jt=(()=>{class Xe extends Ze{get disableRipple(){return this._disableRipple}set disableRipple(Oe){this._disableRipple=(0,ue.he)(Oe)}constructor(Oe,we,De,$e,$t,Ft,Kt){super(Oe,we,De,$e,$t,Ft,Kt),this._disableRipple=!1}ngAfterContentInit(){this._inkBar=new _t(this._items),super.ngAfterContentInit()}_itemSelected(Oe){Oe.preventDefault()}static{this.\u0275fac=function(we){return new(we||Xe)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(be.Xj),e.rXU(m.dS,8),e.rXU(e.SKi),e.rXU(D.OD),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:Xe,selectors:[["mat-tab-header"]],contentQueries:function(we,De,$e){if(1&we&&e.wni($e,nt,4),2&we){let $t;e.mGM($t=e.lsd())&&(De._items=$t)}},viewQuery:function(we,De){if(1&we&&(e.GBs(O,7),e.GBs(_,7),e.GBs(r,7),e.GBs(v,5),e.GBs(z,5)),2&we){let $e;e.mGM($e=e.lsd())&&(De._tabListContainer=$e.first),e.mGM($e=e.lsd())&&(De._tabList=$e.first),e.mGM($e=e.lsd())&&(De._tabListInner=$e.first),e.mGM($e=e.lsd())&&(De._nextPaginator=$e.first),e.mGM($e=e.lsd())&&(De._previousPaginator=$e.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(we,De){2&we&&e.AVh("mat-mdc-tab-header-pagination-controls-enabled",De._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==De._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[e.Vt3],ngContentSelectors:M,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(we,De){if(1&we){const $e=e.RV6();e.NAR(),e.j41(0,"button",5,0),e.bIt("click",function(){return e.eBV($e),e.Njj(De._handlePaginatorClick("before"))})("mousedown",function(Ft){return e.eBV($e),e.Njj(De._handlePaginatorPress("before",Ft))})("touchend",function(){return e.eBV($e),e.Njj(De._stopInterval())}),e.nrm(2,"div",6),e.k0s(),e.j41(3,"div",7,1),e.bIt("keydown",function(Ft){return e.eBV($e),e.Njj(De._handleKeydown(Ft))}),e.j41(5,"div",8,2),e.bIt("cdkObserveContent",function(){return e.eBV($e),e.Njj(De._onContentChanges())}),e.j41(7,"div",9,3),e.SdG(9),e.k0s()()(),e.j41(10,"button",10,4),e.bIt("mousedown",function(Ft){return e.eBV($e),e.Njj(De._handlePaginatorPress("after",Ft))})("click",function(){return e.eBV($e),e.Njj(De._handlePaginatorClick("after"))})("touchend",function(){return e.eBV($e),e.Njj(De._stopInterval())}),e.nrm(12,"div",6),e.k0s()}2&we&&(e.AVh("mat-mdc-tab-header-pagination-disabled",De._disableScrollBefore),e.Y8G("matRippleDisabled",De._disableScrollBefore||De.disableRipple)("disabled",De._disableScrollBefore||null),e.R7$(3),e.AVh("_mat-animation-noopable","NoopAnimations"===De._animationMode),e.R7$(7),e.AVh("mat-mdc-tab-header-pagination-disabled",De._disableScrollAfter),e.Y8G("matRippleDisabled",De._disableScrollAfter||De.disableRipple)("disabled",De._disableScrollAfter||null))},dependencies:[C.r6,l.Wv],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 Xe})();const qe=new e.nKC("MAT_TABS_CONFIG");let dt=0;const Le=(0,C.Zc)((0,C.GG)(class{constructor(Xe){this._elementRef=Xe}}),"primary");let Vt=(()=>{class Xe extends Le{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(Oe){this._fitInkBarToContent=(0,ue.he)(Oe),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(Oe){this._stretchTabs=(0,ue.he)(Oe)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(Oe){this._dynamicHeight=(0,ue.he)(Oe)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Oe){this._indexToSelect=(0,ue.OE)(Oe,null)}get animationDuration(){return this._animationDuration}set animationDuration(Oe){this._animationDuration=/^\d+$/.test(Oe+"")?Oe+"ms":Oe}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Oe){this._contentTabIndex=(0,ue.OE)(Oe,null)}get disablePagination(){return this._disablePagination}set disablePagination(Oe){this._disablePagination=(0,ue.he)(Oe)}get preserveContent(){return this._preserveContent}set preserveContent(Oe){this._preserveContent=(0,ue.he)(Oe)}get backgroundColor(){return this._backgroundColor}set backgroundColor(Oe){const we=this._elementRef.nativeElement.classList;we.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Oe&&we.add("mat-tabs-with-background",`mat-background-${Oe}`),this._backgroundColor=Oe}constructor(Oe,we,De,$e){super(Oe),this._changeDetectorRef=we,this._animationMode=$e,this._tabs=new e.rOR,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=R.yU.EMPTY,this._tabLabelSubscription=R.yU.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 e.bkB,this.focusChange=new e.bkB,this.animationDone=new e.bkB,this.selectedTabChange=new e.bkB(!0),this._groupId=dt++,this.animationDuration=De&&De.animationDuration?De.animationDuration:"500ms",this.disablePagination=!(!De||null==De.disablePagination)&&De.disablePagination,this.dynamicHeight=!(!De||null==De.dynamicHeight)&&De.dynamicHeight,this.contentTabIndex=De?.contentTabIndex??null,this.preserveContent=!!De?.preserveContent,this.fitInkBarToContent=!(!De||null==De.fitInkBarToContent)&&De.fitInkBarToContent,this.stretchTabs=!De||null==De.stretchTabs||De.stretchTabs}ngAfterContentChecked(){const Oe=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Oe){const we=null==this._selectedIndex;if(!we){this.selectedTabChange.emit(this._createChangeEvent(Oe));const De=this._tabBodyWrapper.nativeElement;De.style.minHeight=De.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((De,$e)=>De.isActive=$e===Oe),we||(this.selectedIndexChange.emit(Oe),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((we,De)=>{we.position=De-Oe,null!=this._selectedIndex&&0==we.position&&!we.origin&&(we.origin=Oe-this._selectedIndex)}),this._selectedIndex!==Oe&&(this._selectedIndex=Oe,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Oe=this._clampTabIndex(this._indexToSelect);if(Oe===this._selectedIndex){const we=this._tabs.toArray();let De;for(let $e=0;$e<we.length;$e++)if(we[$e].isActive){this._indexToSelect=this._selectedIndex=$e,this._lastFocusedTabIndex=null,De=we[$e];break}!De&&we[Oe]&&Promise.resolve().then(()=>{we[Oe].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Oe))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,G.Z)(this._allTabs)).subscribe(Oe=>{this._tabs.reset(Oe.filter(we=>we._closestTabGroup===this||!we._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(Oe){const we=this._tabHeader;we&&(we.focusIndex=Oe)}_focusChanged(Oe){this._lastFocusedTabIndex=Oe,this.focusChange.emit(this._createChangeEvent(Oe))}_createChangeEvent(Oe){const we=new Zt;return we.index=Oe,this._tabs&&this._tabs.length&&(we.tab=this._tabs.toArray()[Oe]),we}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,T.h)(...this._tabs.map(Oe=>Oe._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Oe){return Math.min(this._tabs.length-1,Math.max(Oe||0,0))}_getTabLabelId(Oe){return`mat-tab-label-${this._groupId}-${Oe}`}_getTabContentId(Oe){return`mat-tab-content-${this._groupId}-${Oe}`}_setTabBodyWrapperHeight(Oe){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const we=this._tabBodyWrapper.nativeElement;we.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(we.style.height=Oe+"px")}_removeTabBodyWrapperHeight(){const Oe=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Oe.clientHeight,Oe.style.height="",this.animationDone.emit()}_handleClick(Oe,we,De){we.focusIndex=De,Oe.disabled||(this.selectedIndex=De)}_getTabIndex(Oe){return Oe===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Oe,we){Oe&&"mouse"!==Oe&&"touch"!==Oe&&(this._tabHeader.focusIndex=we)}static{this.\u0275fac=function(we){return new(we||Xe)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(qe,8),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:Xe,selectors:[["mat-tab-group"]],contentQueries:function(we,De,$e){if(1&we&&e.wni($e,tt,5),2&we){let $t;e.mGM($t=e.lsd())&&(De._allTabs=$t)}},viewQuery:function(we,De){if(1&we&&(e.GBs(N,5),e.GBs(ne,5)),2&we){let $e;e.mGM($e=e.lsd())&&(De._tabBodyWrapper=$e.first),e.mGM($e=e.lsd())&&(De._tabHeader=$e.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(we,De){2&we&&(e.xc7("--mat-tab-animation-duration",De.animationDuration),e.AVh("mat-mdc-tab-group-dynamic-height",De.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===De.headerPosition)("mat-mdc-tab-group-stretch-tabs",De.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:[0,"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:[e.Jv_([{provide:ht,useExisting:Xe}]),e.Vt3],decls:8,vars:5,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","ngClass","disabled","fitInkBarToContent"],[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,"_onCentered","_onCentering","id","ngClass","content","position","origin","animationDuration","preserveContent"]],template:function(we,De){if(1&we){const $e=e.RV6();e.j41(0,"mat-tab-header",3,0),e.bIt("indexFocused",function(Ft){return e.eBV($e),e.Njj(De._focusChanged(Ft))})("selectFocusedIndex",function(Ft){return e.eBV($e),e.Njj(De.selectedIndex=Ft)}),e.Z7z(2,rt,8,16,"div",4,e.fX1),e.k0s(),e.j41(4,"div",5,1),e.Z7z(6,re,1,12,"mat-tab-body",6,e.fX1),e.k0s()}2&we&&(e.Y8G("selectedIndex",De.selectedIndex||0)("disableRipple",De.disableRipple)("disablePagination",De.disablePagination),e.R7$(2),e.Dyx(De._tabs),e.R7$(2),e.AVh("_mat-animation-noopable","NoopAnimations"===De._animationMode),e.R7$(2),e.Dyx(De._tabs))},dependencies:[t.YU,S.I3,C.r6,x.vR,pe,nt,jt],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 Xe})();class Zt{}let Et=0,je=(()=>{class Xe extends Ze{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(Oe){this._fitInkBarToContent.next((0,ue.he)(Oe)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(Oe){this._stretchTabs=(0,ue.he)(Oe)}get animationDuration(){return this._animationDuration}set animationDuration(Oe){this._animationDuration=/^\d+$/.test(Oe+"")?Oe+"ms":Oe}get backgroundColor(){return this._backgroundColor}set backgroundColor(Oe){const we=this._elementRef.nativeElement.classList;we.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Oe&&we.add("mat-tabs-with-background",`mat-background-${Oe}`),this._backgroundColor=Oe}get disableRipple(){return this._disableRipple}set disableRipple(Oe){this._disableRipple=(0,ue.he)(Oe)}constructor(Oe,we,De,$e,$t,Ft,Kt,fi){super(Oe,$e,$t,we,De,Ft,Kt),this._fitInkBarToContent=new U.t(!1),this._stretchTabs=!0,this._disableRipple=!1,this.color="primary",this.disablePagination=!(!fi||null==fi.disablePagination)&&fi.disablePagination,this.fitInkBarToContent=!(!fi||null==fi.fitInkBarToContent)&&fi.fitInkBarToContent,this.stretchTabs=!fi||null==fi.stretchTabs||fi.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new _t(this._items),this._items.changes.pipe((0,G.Z)(null),(0,$.Q)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const Oe=this._items.toArray();for(let we=0;we<Oe.length;we++)if(Oe[we].active)return this.selectedIndex=we,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=Oe[we].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}static{this.\u0275fac=function(we){return new(we||Xe)(e.rXU(e.aKT),e.rXU(m.dS,8),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(be.Xj),e.rXU(D.OD),e.rXU(e.bc$,8),e.rXU(qe,8))}}static{this.\u0275cmp=e.VBU({type:Xe,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(we,De,$e){if(1&we&&e.wni($e,xe,5),2&we){let $t;e.mGM($t=e.lsd())&&(De._items=$t)}},viewQuery:function(we,De){if(1&we&&(e.GBs(O,7),e.GBs(_,7),e.GBs(r,7),e.GBs(v,5),e.GBs(z,5)),2&we){let $e;e.mGM($e=e.lsd())&&(De._tabListContainer=$e.first),e.mGM($e=e.lsd())&&(De._tabList=$e.first),e.mGM($e=e.lsd())&&(De._tabListInner=$e.first),e.mGM($e=e.lsd())&&(De._nextPaginator=$e.first),e.mGM($e=e.lsd())&&(De._previousPaginator=$e.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(we,De){2&we&&(e.BMQ("role",De._getRole()),e.xc7("--mat-tab-animation-duration",De.animationDuration),e.AVh("mat-mdc-tab-header-pagination-controls-enabled",De._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==De._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",De.stretchTabs)("mat-primary","warn"!==De.color&&"accent"!==De.color)("mat-accent","accent"===De.color)("mat-warn","warn"===De.color)("_mat-animation-noopable","NoopAnimations"===De._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:[0,"mat-stretch-tabs","stretchTabs"],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:"disableRipple",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],features:[e.Vt3],attrs:te,ngContentSelectors:M,decls:13,vars:8,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-links"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(we,De){if(1&we){const $e=e.RV6();e.NAR(),e.j41(0,"button",5,0),e.bIt("click",function(){return e.eBV($e),e.Njj(De._handlePaginatorClick("before"))})("mousedown",function(Ft){return e.eBV($e),e.Njj(De._handlePaginatorPress("before",Ft))})("touchend",function(){return e.eBV($e),e.Njj(De._stopInterval())}),e.nrm(2,"div",6),e.k0s(),e.j41(3,"div",7,1),e.bIt("keydown",function(Ft){return e.eBV($e),e.Njj(De._handleKeydown(Ft))}),e.j41(5,"div",8,2),e.bIt("cdkObserveContent",function(){return e.eBV($e),e.Njj(De._onContentChanges())}),e.j41(7,"div",9,3),e.SdG(9),e.k0s()()(),e.j41(10,"button",10,4),e.bIt("mousedown",function(Ft){return e.eBV($e),e.Njj(De._handlePaginatorPress("after",Ft))})("click",function(){return e.eBV($e),e.Njj(De._handlePaginatorClick("after"))})("touchend",function(){return e.eBV($e),e.Njj(De._stopInterval())}),e.nrm(12,"div",6),e.k0s()}2&we&&(e.AVh("mat-mdc-tab-header-pagination-disabled",De._disableScrollBefore),e.Y8G("matRippleDisabled",De._disableScrollBefore||De.disableRipple)("disabled",De._disableScrollBefore||null),e.R7$(10),e.AVh("mat-mdc-tab-header-pagination-disabled",De._disableScrollAfter),e.Y8G("matRippleDisabled",De._disableScrollAfter||De.disableRipple)("disabled",De._disableScrollAfter||null))},dependencies:[C.r6,l.Wv],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 Xe})();const me=Nt((0,C.BF)((0,C.GG)((0,C.Ob)(class{}))));let xe=(()=>{class Xe extends me{get active(){return this._isActive}set active(Oe){const we=(0,ue.he)(Oe);we!==this._isActive&&(this._isActive=we,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(Oe,we,De,$e,$t,Ft){super(),this._tabNavBar=Oe,this.elementRef=we,this._focusMonitor=$t,this._destroyed=new d.B,this._isActive=!1,this.id="mat-tab-link-"+Et++,this.rippleConfig=De||{},this.tabIndex=parseInt($e)||0,"NoopAnimations"===Ft&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),Oe._fitInkBarToContent.pipe((0,$.Q)(this._destroyed)).subscribe(Kt=>{this.fitInkBarToContent=Kt})}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(Oe){(Oe.keyCode===n.t6||Oe.keyCode===n.Fm)&&(this.disabled?Oe.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{this.\u0275fac=function(we){return new(we||Xe)(e.rXU(je),e.rXU(e.aKT),e.rXU(C.$E,8),e.kS0("tabindex"),e.rXU(x.FN),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:Xe,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(we,De){1&we&&e.bIt("focus",function(){return De._handleFocus()})("keydown",function($t){return De._handleKeydown($t)}),2&we&&(e.BMQ("aria-controls",De._getAriaControls())("aria-current",De._getAriaCurrent())("aria-disabled",De.disabled)("aria-selected",De._getAriaSelected())("id",De.id)("tabIndex",De._getTabIndex())("role",De._getRole()),e.AVh("mat-mdc-tab-disabled",De.disabled)("mdc-tab--active",De.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[e.Vt3],attrs:oe,ngContentSelectors:M,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(we,De){1&we&&(e.NAR(),e.nrm(0,"span",0)(1,"div",1),e.j41(2,"span",2)(3,"span",3),e.SdG(4),e.k0s()()),2&we&&(e.R7$(),e.Y8G("matRippleTrigger",De.elementRef.nativeElement)("matRippleDisabled",De.rippleDisabled))},dependencies:[C.r6],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 Xe})(),ce=(()=>{class Xe{constructor(){this.id="mat-tab-nav-panel-"+Et++}static{this.\u0275fac=function(we){return new(we||Xe)}}static{this.\u0275cmp=e.VBU({type:Xe,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(we,De){2&we&&e.BMQ("aria-labelledby",De._activeTabId)("id",De.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:M,decls:1,vars:0,template:function(we,De){1&we&&(e.NAR(),e.SdG(0))},encapsulation:2,changeDetection:0})}}return Xe})(),Me=(()=>{class Xe{static{this.\u0275fac=function(we){return new(we||Xe)}}static{this.\u0275mod=e.$C({type:Xe})}static{this.\u0275inj=e.G2t({imports:[t.MD,C.yE,S.jc,C.pZ,l.w5,x.Pd,C.yE]})}}return Xe})()},5911:(Ve,ee,p)=>{"use strict";p.d(ee,{KQ:()=>d,s5:()=>y});var t=p(4438),e=p(6600),C=p(6860),S=p(177);const l=["*",[["mat-toolbar-row"]]],x=["*","mat-toolbar-row"],m=(0,e.Zc)(class{constructor(T){this._elementRef=T}});let R=(()=>{class T{static{this.\u0275fac=function(V){return new(V||T)}}static{this.\u0275dir=t.FsC({type:T,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}}return T})(),d=(()=>{class T extends m{constructor(F,V,U){super(F),this._platform=V,this._document=U}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static{this.\u0275fac=function(V){return new(V||T)(t.rXU(t.aKT),t.rXU(C.OD),t.rXU(S.qQ))}}static{this.\u0275cmp=t.VBU({type:T,selectors:[["mat-toolbar"]],contentQueries:function(V,U,G){if(1&V&&t.wni(G,R,5),2&V){let Y;t.mGM(Y=t.lsd())&&(U._toolbarRows=Y)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(V,U){2&V&&t.AVh("mat-toolbar-multiple-rows",U._toolbarRows.length>0)("mat-toolbar-single-row",0===U._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[t.Vt3],ngContentSelectors:x,decls:2,vars:0,template:function(V,U){1&V&&(t.NAR(l),t.SdG(0),t.SdG(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 T})(),y=(()=>{class T{static{this.\u0275fac=function(V){return new(V||T)}}static{this.\u0275mod=t.$C({type:T})}static{this.\u0275inj=t.G2t({imports:[e.yE,e.yE]})}}return T})()},4823:(Ve,ee,p)=>{"use strict";p.d(ee,{oV:()=>M,uc:()=>_});var t=p(6977),e=p(6697),C=p(4085),S=p(7336),l=p(4438),x=p(177),m=p(6860),R=p(8617),d=p(8203),w=p(6969),y=p(5542),T=p(6939),k=p(1413),V=(p(9969),p(6600));const U=["tooltip"],$=new l.nKC("mat-tooltip-scroll-strategy"),ie={provide:$,deps:[w.hJ],useFactory:function Z(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},ae=new l.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function ve(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),ue="tooltip-panel",be=(0,m.BQ)({passive:!0});let M=(()=>{class r{get position(){return this._position}set position(z){z!==this._position&&(this._position=z,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(z){this._positionAtOrigin=(0,C.he)(z),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(z){this._disabled=(0,C.he)(z),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(z){this._showDelay=(0,C.OE)(z)}get hideDelay(){return this._hideDelay}set hideDelay(z){this._hideDelay=(0,C.OE)(z),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(z){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=z?String(z).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(z){this._tooltipClass=z,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(z,N,ne,Ie,at,Ye,rt,re,te,oe,_e,de){this._overlay=z,this._elementRef=N,this._scrollDispatcher=ne,this._viewContainerRef=Ie,this._ngZone=at,this._platform=Ye,this._ariaDescriber=rt,this._focusMonitor=re,this._dir=oe,this._defaultOptions=_e,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=L,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new k.B,this._scrollStrategy=te,this._document=de,_e&&(this._showDelay=_e.showDelay,this._hideDelay=_e.hideDelay,_e.position&&(this.position=_e.position),_e.positionAtOrigin&&(this.positionAtOrigin=_e.positionAtOrigin),_e.touchGestures&&(this.touchGestures=_e.touchGestures)),oe.change.pipe((0,t.Q)(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,t.Q)(this._destroyed)).subscribe(z=>{z?"keyboard"===z&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const z=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([N,ne])=>{z.removeEventListener(N,ne,be)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(z,this.message,"tooltip"),this._focusMonitor.stopMonitoring(z)}show(z=this.showDelay,N){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const ne=this._createOverlay(N);this._detach(),this._portal=this._portal||new T.A8(this._tooltipComponent,this._viewContainerRef);const Ie=this._tooltipInstance=ne.attach(this._portal).instance;Ie._triggerElement=this._elementRef.nativeElement,Ie._mouseLeaveHideDelay=this._hideDelay,Ie.afterHidden().pipe((0,t.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Ie.show(z)}hide(z=this.hideDelay){const N=this._tooltipInstance;N&&(N.isVisible()?N.hide(z):(N._cancelPendingAnimations(),this._detach()))}toggle(z){this._isTooltipVisible()?this.hide():this.show(void 0,z)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(z){if(this._overlayRef){const Ie=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!z)&&Ie._origin instanceof l.aKT)return this._overlayRef;this._detach()}const N=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),ne=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&z||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(N);return ne.positionChanges.pipe((0,t.Q)(this._destroyed)).subscribe(Ie=>{this._updateCurrentPositionClass(Ie.connectionPair),this._tooltipInstance&&Ie.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:ne,panelClass:`${this._cssClassPrefix}-${ue}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,t.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,t.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,t.Q)(this._destroyed)).subscribe(Ie=>{this._isTooltipVisible()&&Ie.keyCode===S._f&&!(0,S.rp)(Ie)&&(Ie.preventDefault(),Ie.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(z){const N=z.getConfig().positionStrategy,ne=this._getOrigin(),Ie=this._getOverlayPosition();N.withPositions([this._addOffset({...ne.main,...Ie.main}),this._addOffset({...ne.fallback,...Ie.fallback})])}_addOffset(z){const ne=!this._dir||"ltr"==this._dir.value;return"top"===z.originY?z.offsetY=-8:"bottom"===z.originY?z.offsetY=8:"start"===z.originX?z.offsetX=ne?-8:8:"end"===z.originX&&(z.offsetX=ne?8:-8),z}_getOrigin(){const z=!this._dir||"ltr"==this._dir.value,N=this.position;let ne;"above"==N||"below"==N?ne={originX:"center",originY:"above"==N?"top":"bottom"}:"before"==N||"left"==N&&z||"right"==N&&!z?ne={originX:"start",originY:"center"}:("after"==N||"right"==N&&z||"left"==N&&!z)&&(ne={originX:"end",originY:"center"});const{x:Ie,y:at}=this._invertPosition(ne.originX,ne.originY);return{main:ne,fallback:{originX:Ie,originY:at}}}_getOverlayPosition(){const z=!this._dir||"ltr"==this._dir.value,N=this.position;let ne;"above"==N?ne={overlayX:"center",overlayY:"bottom"}:"below"==N?ne={overlayX:"center",overlayY:"top"}:"before"==N||"left"==N&&z||"right"==N&&!z?ne={overlayX:"end",overlayY:"center"}:("after"==N||"right"==N&&z||"left"==N&&!z)&&(ne={overlayX:"start",overlayY:"center"});const{x:Ie,y:at}=this._invertPosition(ne.overlayX,ne.overlayY);return{main:ne,fallback:{overlayX:Ie,overlayY:at}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,e.s)(1),(0,t.Q)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(z){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=z,this._tooltipInstance._markForCheck())}_invertPosition(z,N){return"above"===this.position||"below"===this.position?"top"===N?N="bottom":"bottom"===N&&(N="top"):"end"===z?z="start":"start"===z&&(z="end"),{x:z,y:N}}_updateCurrentPositionClass(z){const{overlayY:N,originX:ne,originY:Ie}=z;let at;if(at="center"===N?this._dir&&"rtl"===this._dir.value?"end"===ne?"left":"right":"start"===ne?"left":"right":"bottom"===N&&"top"===Ie?"above":"below",at!==this._currentPosition){const Ye=this._overlayRef;if(Ye){const rt=`${this._cssClassPrefix}-${ue}-`;Ye.removePanelClass(rt+this._currentPosition),Ye.addPanelClass(rt+at)}this._currentPosition=at}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",z=>{let N;this._setupPointerExitEventsIfNeeded(),void 0!==z.x&&void 0!==z.y&&(N=z),this.show(void 0,N)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",z=>{const N=z.targetTouches?.[0],ne=N?{x:N.clientX,y:N.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,ne),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const z=[];if(this._platformSupportsMouseEvents())z.push(["mouseleave",N=>{const ne=N.relatedTarget;(!ne||!this._overlayRef?.overlayElement.contains(ne))&&this.hide()}],["wheel",N=>this._wheelListener(N)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const N=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};z.push(["touchend",N],["touchcancel",N])}this._addListeners(z),this._passiveListeners.push(...z)}_addListeners(z){z.forEach(([N,ne])=>{this._elementRef.nativeElement.addEventListener(N,ne,be)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(z){if(this._isTooltipVisible()){const N=this._document.elementFromPoint(z.clientX,z.clientY),ne=this._elementRef.nativeElement;N!==ne&&!ne.contains(N)&&this.hide()}}_disableNativeGesturesIfNecessary(){const z=this.touchGestures;if("off"!==z){const N=this._elementRef.nativeElement,ne=N.style;("on"===z||"INPUT"!==N.nodeName&&"TEXTAREA"!==N.nodeName)&&(ne.userSelect=ne.msUserSelect=ne.webkitUserSelect=ne.MozUserSelect="none"),("on"===z||!N.draggable)&&(ne.webkitUserDrag="none"),ne.touchAction="none",ne.webkitTapHighlightColor="transparent"}}static{this.\u0275fac=function(N){return new(N||r)(l.rXU(w.hJ),l.rXU(l.aKT),l.rXU(y.R),l.rXU(l.c1b),l.rXU(l.SKi),l.rXU(m.OD),l.rXU(R.vr),l.rXU(R.FN),l.rXU($),l.rXU(d.dS),l.rXU(ae,8),l.rXU(x.qQ))}}static{this.\u0275dir=l.FsC({type:r,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(N,ne){2&N&&l.AVh("mat-mdc-tooltip-disabled",ne.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}}return r})(),L=(()=>{class r{constructor(z,N,ne){this._changeDetectorRef=z,this._elementRef=N,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new k.B,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===ne}show(z){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},z)}hide(z){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},z)}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:z}){(!z||!this._triggerElement.contains(z))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const z=this._elementRef.nativeElement.getBoundingClientRect();return z.height>24&&z.width>=200}_handleAnimationEnd({animationName:z}){(z===this._showAnimation||z===this._hideAnimation)&&this._finalizeAnimation(z===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(z){z?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(z){const N=this._tooltip.nativeElement,ne=this._showAnimation,Ie=this._hideAnimation;if(N.classList.remove(z?Ie:ne),N.classList.add(z?ne:Ie),this._isVisible=z,z&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const at=getComputedStyle(N);("0s"===at.getPropertyValue("animation-duration")||"none"===at.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}z&&this._onShow(),this._animationsDisabled&&(N.classList.add("_mat-animation-noopable"),this._finalizeAnimation(z))}static{this.\u0275fac=function(N){return new(N||r)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.bc$,8))}}static{this.\u0275cmp=l.VBU({type:r,selectors:[["mat-tooltip-component"]],viewQuery:function(N,ne){if(1&N&&l.GBs(U,7),2&N){let Ie;l.mGM(Ie=l.lsd())&&(ne._tooltip=Ie.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(N,ne){1&N&&l.bIt("mouseleave",function(at){return ne._handleMouseLeave(at)}),2&N&&l.xc7("zoom",ne.isVisible()?1:null)},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(N,ne){if(1&N){const Ie=l.RV6();l.j41(0,"div",1,0),l.bIt("animationend",function(Ye){return l.eBV(Ie),l.Njj(ne._handleAnimationEnd(Ye))}),l.j41(2,"div",2),l.EFF(3),l.k0s()()}2&N&&(l.AVh("mdc-tooltip--multiline",ne._isMultiline),l.Y8G("ngClass",ne.tooltipClass),l.R7$(3),l.JRh(ne.message))},dependencies:[x.YU],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})(),_=(()=>{class r{static{this.\u0275fac=function(N){return new(N||r)}}static{this.\u0275mod=l.$C({type:r})}static{this.\u0275inj=l.G2t({providers:[ie],imports:[R.Pd,x.MD,w.z_,V.yE,V.yE,y.Gj]})}}return r})()},7358:(Ve,ee,p)=>{"use strict";p.d(ee,{Zh:()=>ie,d6:()=>w,jH:()=>Y,lQ:()=>V,pO:()=>U,q1:()=>T,wx:()=>F,yI:()=>y});var t=p(4109),e=p(4438),C=p(6600),S=p(4085),l=p(5024),x=p(4412),m=p(7786),R=p(6354);const d=(0,C.BF)((0,C.Ob)(t.xn));let w=(()=>{class ve extends d{constructor(ye,ue,be){super(ye,ue),this.tabIndex=Number(be)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(ue){return new(ue||ve)(e.rXU(e.aKT),e.rXU(t.NL),e.kS0("tabindex"))}}static{this.\u0275dir=e.FsC({type:ve,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[e.Jv_([{provide:t.xn,useExisting:ve}]),e.Vt3]})}}return ve})(),y=(()=>{class ve extends t.Sz{static{this.\u0275fac=(()=>{let ye;return function(be){return(ye||(ye=e.xGo(ve)))(be||ve)}})()}static{this.\u0275dir=e.FsC({type:ve,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},features:[e.Jv_([{provide:t.Sz,useExisting:ve}]),e.Vt3]})}}return ve})(),T=(()=>{class ve extends t.s3{get disabled(){return this._disabled}set disabled(ye){this._disabled=(0,S.he)(ye)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ye){this._tabIndex=ye??0}constructor(ye,ue,be,D){super(ye,ue,be),this._disabled=!1,this.tabIndex=Number(D)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(ue){return new(ue||ve)(e.rXU(e.aKT),e.rXU(t.NL),e.rXU(e._q3),e.kS0("tabindex"))}}static{this.\u0275dir=e.FsC({type:ve,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:[0,"matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[e.Jv_([{provide:t.s3,useExisting:ve},{provide:t.xn,useExisting:ve},{provide:t.kZ,useExisting:ve}]),e.Vt3]})}}return ve})(),F=(()=>{class ve{constructor(ye,ue){this.viewContainer=ye,this._node=ue}static{this.\u0275fac=function(ue){return new(ue||ve)(e.rXU(e.c1b),e.rXU(t.kZ,8))}}static{this.\u0275dir=e.FsC({type:ve,selectors:[["","matTreeNodeOutlet",""]],features:[e.Jv_([{provide:t.a$,useExisting:ve}])]})}}return ve})(),V=(()=>{class ve extends t.NL{constructor(){super(...arguments),this._nodeOutlet=void 0}static{this.\u0275fac=(()=>{let ye;return function(be){return(ye||(ye=e.xGo(ve)))(be||ve)}})()}static{this.\u0275cmp=e.VBU({type:ve,selectors:[["mat-tree"]],viewQuery:function(ue,be){if(1&ue&&e.GBs(F,7),2&ue){let D;e.mGM(D=e.lsd())&&(be._nodeOutlet=D.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[e.Jv_([{provide:t.NL,useExisting:ve}]),e.Vt3],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(ue,be){1&ue&&e.eu8(0,0)},dependencies:[F],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 ve})(),U=(()=>{class ve extends t.Hy{static{this.\u0275fac=(()=>{let ye;return function(be){return(ye||(ye=e.xGo(ve)))(be||ve)}})()}static{this.\u0275dir=e.FsC({type:ve,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},features:[e.Jv_([{provide:t.Hy,useExisting:ve}]),e.Vt3]})}}return ve})(),Y=(()=>{class ve{static{this.\u0275fac=function(ue){return new(ue||ve)}}static{this.\u0275mod=e.$C({type:ve})}static{this.\u0275inj=e.G2t({imports:[t.Dc,C.yE,C.yE]})}}return ve})();class ie extends l.qS{constructor(){super(...arguments),this._data=new x.t([])}get data(){return this._data.value}set data(ae){this._data.next(ae)}connect(ae){return(0,m.h)(ae.viewChange,this._data).pipe((0,R.T)(()=>this.data))}disconnect(){}}},345:(Ve,ee,p)=>{"use strict";p.d(ee,{B7:()=>ue,Bb:()=>pe,fM:()=>wt,hE:()=>fe,sG:()=>te,up:()=>ut});var t=p(177),e=p(4438);class C extends t.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class S extends C{static makeCurrent(){(0,t.ZD)(new S)}onAndCancel(xe,ce,Me){return xe.addEventListener(ce,Me),()=>{xe.removeEventListener(ce,Me)}}dispatchEvent(xe,ce){xe.dispatchEvent(ce)}remove(xe){xe.parentNode&&xe.parentNode.removeChild(xe)}createElement(xe,ce){return(ce=ce||this.getDefaultDocument()).createElement(xe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(xe){return xe.nodeType===Node.ELEMENT_NODE}isShadowRoot(xe){return xe instanceof DocumentFragment}getGlobalEventTarget(xe,ce){return"window"===ce?window:"document"===ce?xe:"body"===ce?xe.body:null}getBaseHref(xe){const ce=function x(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==ce?null:function m(me){return new URL(me,document.baseURI).pathname}(ce)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(xe){return(0,t._b)(document.cookie,xe)}}let l=null,d=(()=>{class me{build(){return new XMLHttpRequest}static{this.\u0275fac=function(Me){return new(Me||me)}}static{this.\u0275prov=e.jDH({token:me,factory:me.\u0275fac})}}return me})();const w=new e.nKC("");let y=(()=>{class me{constructor(ce,Me){this._zone=Me,this._eventNameToPlugin=new Map,ce.forEach(Xe=>{Xe.manager=this}),this._plugins=ce.slice().reverse()}addEventListener(ce,Me,Xe){return this._findPluginFor(Me).addEventListener(ce,Me,Xe)}getZone(){return this._zone}_findPluginFor(ce){let Me=this._eventNameToPlugin.get(ce);if(Me)return Me;if(Me=this._plugins.find(Pe=>Pe.supports(ce)),!Me)throw new e.wOt(5101,!1);return this._eventNameToPlugin.set(ce,Me),Me}static{this.\u0275fac=function(Me){return new(Me||me)(e.KVO(w),e.KVO(e.SKi))}}static{this.\u0275prov=e.jDH({token:me,factory:me.\u0275fac})}}return me})();class T{constructor(xe){this._doc=xe}}const k="ng-app-id";let F=(()=>{class me{constructor(ce,Me,Xe,Pe={}){this.doc=ce,this.appId=Me,this.nonce=Xe,this.platformId=Pe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,t.Vy)(Pe),this.resetHostNodes()}addStyles(ce){for(const Me of ce)1===this.changeUsageCount(Me,1)&&this.onStyleAdded(Me)}removeStyles(ce){for(const Me of ce)this.changeUsageCount(Me,-1)<=0&&this.onStyleRemoved(Me)}ngOnDestroy(){const ce=this.styleNodesInDOM;ce&&(ce.forEach(Me=>Me.remove()),ce.clear());for(const Me of this.getAllStyles())this.onStyleRemoved(Me);this.resetHostNodes()}addHost(ce){this.hostNodes.add(ce);for(const Me of this.getAllStyles())this.addStyleToHost(ce,Me)}removeHost(ce){this.hostNodes.delete(ce)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(ce){for(const Me of this.hostNodes)this.addStyleToHost(Me,ce)}onStyleRemoved(ce){const Me=this.styleRef;Me.get(ce)?.elements?.forEach(Xe=>Xe.remove()),Me.delete(ce)}collectServerRenderedStyles(){const ce=this.doc.head?.querySelectorAll(`style[${k}="${this.appId}"]`);if(ce?.length){const Me=new Map;return ce.forEach(Xe=>{null!=Xe.textContent&&Me.set(Xe.textContent,Xe)}),Me}return null}changeUsageCount(ce,Me){const Xe=this.styleRef;if(Xe.has(ce)){const Pe=Xe.get(ce);return Pe.usage+=Me,Pe.usage}return Xe.set(ce,{usage:Me,elements:[]}),Me}getStyleElement(ce,Me){const Xe=this.styleNodesInDOM,Pe=Xe?.get(Me);if(Pe?.parentNode===ce)return Xe.delete(Me),Pe.removeAttribute(k),Pe;{const Oe=this.doc.createElement("style");return this.nonce&&Oe.setAttribute("nonce",this.nonce),Oe.textContent=Me,this.platformIsServer&&Oe.setAttribute(k,this.appId),ce.appendChild(Oe),Oe}}addStyleToHost(ce,Me){const Xe=this.getStyleElement(ce,Me),Pe=this.styleRef,Oe=Pe.get(Me)?.elements;Oe?Oe.push(Xe):Pe.set(Me,{elements:[Xe],usage:1})}resetHostNodes(){const ce=this.hostNodes;ce.clear(),ce.add(this.doc.head)}static{this.\u0275fac=function(Me){return new(Me||me)(e.KVO(t.qQ),e.KVO(e.sZ2),e.KVO(e.BIS,8),e.KVO(e.Agw))}}static{this.\u0275prov=e.jDH({token:me,factory:me.\u0275fac})}}return me})();const V={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/Math/MathML"},U=/%COMP%/g,G="%COMP%",Y=`_nghost-${G}`,$=`_ngcontent-${G}`,ie=new e.nKC("",{providedIn:"root",factory:()=>!0});function ye(me,xe){return xe.map(ce=>ce.replace(U,me))}let ue=(()=>{class me{constructor(ce,Me,Xe,Pe,Oe,we,De,$e=null){this.eventManager=ce,this.sharedStylesHost=Me,this.appId=Xe,this.removeStylesOnCompDestroy=Pe,this.doc=Oe,this.platformId=we,this.ngZone=De,this.nonce=$e,this.rendererByCompId=new Map,this.platformIsServer=(0,t.Vy)(we),this.defaultRenderer=new be(ce,Oe,De,this.platformIsServer)}createRenderer(ce,Me){if(!ce||!Me)return this.defaultRenderer;this.platformIsServer&&Me.encapsulation===e.gXe.ShadowDom&&(Me={...Me,encapsulation:e.gXe.Emulated});const Xe=this.getOrCreateRenderer(ce,Me);return Xe instanceof M?Xe.applyToHost(ce):Xe instanceof h&&Xe.applyStyles(),Xe}getOrCreateRenderer(ce,Me){const Xe=this.rendererByCompId;let Pe=Xe.get(Me.id);if(!Pe){const Oe=this.doc,we=this.ngZone,De=this.eventManager,$e=this.sharedStylesHost,$t=this.removeStylesOnCompDestroy,Ft=this.platformIsServer;switch(Me.encapsulation){case e.gXe.Emulated:Pe=new M(De,$e,Me,this.appId,$t,Oe,we,Ft);break;case e.gXe.ShadowDom:return new f(De,$e,ce,Me,Oe,we,this.nonce,Ft);default:Pe=new h(De,$e,Me,$t,Oe,we,Ft)}Xe.set(Me.id,Pe)}return Pe}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(Me){return new(Me||me)(e.KVO(y),e.KVO(F),e.KVO(e.sZ2),e.KVO(ie),e.KVO(t.qQ),e.KVO(e.Agw),e.KVO(e.SKi),e.KVO(e.BIS))}}static{this.\u0275prov=e.jDH({token:me,factory:me.\u0275fac})}}return me})();class be{constructor(xe,ce,Me,Xe){this.eventManager=xe,this.doc=ce,this.ngZone=Me,this.platformIsServer=Xe,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(xe,ce){return ce?this.doc.createElementNS(V[ce]||ce,xe):this.doc.createElement(xe)}createComment(xe){return this.doc.createComment(xe)}createText(xe){return this.doc.createTextNode(xe)}appendChild(xe,ce){(c(xe)?xe.content:xe).appendChild(ce)}insertBefore(xe,ce,Me){xe&&(c(xe)?xe.content:xe).insertBefore(ce,Me)}removeChild(xe,ce){xe&&xe.removeChild(ce)}selectRootElement(xe,ce){let Me="string"==typeof xe?this.doc.querySelector(xe):xe;if(!Me)throw new e.wOt(-5104,!1);return ce||(Me.textContent=""),Me}parentNode(xe){return xe.parentNode}nextSibling(xe){return xe.nextSibling}setAttribute(xe,ce,Me,Xe){if(Xe){ce=Xe+":"+ce;const Pe=V[Xe];Pe?xe.setAttributeNS(Pe,ce,Me):xe.setAttribute(ce,Me)}else xe.setAttribute(ce,Me)}removeAttribute(xe,ce,Me){if(Me){const Xe=V[Me];Xe?xe.removeAttributeNS(Xe,ce):xe.removeAttribute(`${Me}:${ce}`)}else xe.removeAttribute(ce)}addClass(xe,ce){xe.classList.add(ce)}removeClass(xe,ce){xe.classList.remove(ce)}setStyle(xe,ce,Me,Xe){Xe&(e.czy.DashCase|e.czy.Important)?xe.style.setProperty(ce,Me,Xe&e.czy.Important?"important":""):xe.style[ce]=Me}removeStyle(xe,ce,Me){Me&e.czy.DashCase?xe.style.removeProperty(ce):xe.style[ce]=""}setProperty(xe,ce,Me){null!=xe&&(xe[ce]=Me)}setValue(xe,ce){xe.nodeValue=ce}listen(xe,ce,Me){if("string"==typeof xe&&!(xe=(0,t.QT)().getGlobalEventTarget(this.doc,xe)))throw new Error(`Unsupported event target ${xe} for event ${ce}`);return this.eventManager.addEventListener(xe,ce,this.decoratePreventDefault(Me))}decoratePreventDefault(xe){return ce=>{if("__ngUnwrap__"===ce)return xe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>xe(ce)):xe(ce))&&ce.preventDefault()}}}function c(me){return"TEMPLATE"===me.tagName&&void 0!==me.content}class f extends be{constructor(xe,ce,Me,Xe,Pe,Oe,we,De){super(xe,Pe,Oe,De),this.sharedStylesHost=ce,this.hostEl=Me,this.shadowRoot=Me.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const $e=ye(Xe.id,Xe.styles);for(const $t of $e){const Ft=document.createElement("style");we&&Ft.setAttribute("nonce",we),Ft.textContent=$t,this.shadowRoot.appendChild(Ft)}}nodeOrShadowRoot(xe){return xe===this.hostEl?this.shadowRoot:xe}appendChild(xe,ce){return super.appendChild(this.nodeOrShadowRoot(xe),ce)}insertBefore(xe,ce,Me){return super.insertBefore(this.nodeOrShadowRoot(xe),ce,Me)}removeChild(xe,ce){return super.removeChild(this.nodeOrShadowRoot(xe),ce)}parentNode(xe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(xe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class h extends be{constructor(xe,ce,Me,Xe,Pe,Oe,we,De){super(xe,Pe,Oe,we),this.sharedStylesHost=ce,this.removeStylesOnCompDestroy=Xe,this.styles=De?ye(De,Me.styles):Me.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class M extends h{constructor(xe,ce,Me,Xe,Pe,Oe,we,De){const $e=Xe+"-"+Me.id;super(xe,ce,Me,Pe,Oe,we,De,$e),this.contentAttr=function ve(me){return $.replace(U,me)}($e),this.hostAttr=function ae(me){return Y.replace(U,me)}($e)}applyToHost(xe){this.applyStyles(),this.setAttribute(xe,this.hostAttr,"")}createElement(xe,ce){const Me=super.createElement(xe,ce);return super.setAttribute(Me,this.contentAttr,""),Me}}let L=(()=>{class me extends T{constructor(ce){super(ce)}supports(ce){return!0}addEventListener(ce,Me,Xe){return ce.addEventListener(Me,Xe,!1),()=>this.removeEventListener(ce,Me,Xe)}removeEventListener(ce,Me,Xe){return ce.removeEventListener(Me,Xe)}static{this.\u0275fac=function(Me){return new(Me||me)(e.KVO(t.qQ))}}static{this.\u0275prov=e.jDH({token:me,factory:me.\u0275fac})}}return me})();const O=["alt","control","meta","shift"],_={"\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"},r={alt:me=>me.altKey,control:me=>me.ctrlKey,meta:me=>me.metaKey,shift:me=>me.shiftKey};let v=(()=>{class me extends T{constructor(ce){super(ce)}supports(ce){return null!=me.parseEventName(ce)}addEventListener(ce,Me,Xe){const Pe=me.parseEventName(Me),Oe=me.eventCallback(Pe.fullKey,Xe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.QT)().onAndCancel(ce,Pe.domEventName,Oe))}static parseEventName(ce){const Me=ce.toLowerCase().split("."),Xe=Me.shift();if(0===Me.length||"keydown"!==Xe&&"keyup"!==Xe)return null;const Pe=me._normalizeKey(Me.pop());let Oe="",we=Me.indexOf("code");if(we>-1&&(Me.splice(we,1),Oe="code."),O.forEach($e=>{const $t=Me.indexOf($e);$t>-1&&(Me.splice($t,1),Oe+=$e+".")}),Oe+=Pe,0!=Me.length||0===Pe.length)return null;const De={};return De.domEventName=Xe,De.fullKey=Oe,De}static matchEventFullKeyCode(ce,Me){let Xe=_[ce.key]||ce.key,Pe="";return Me.indexOf("code.")>-1&&(Xe=ce.code,Pe="code."),!(null==Xe||!Xe)&&(Xe=Xe.toLowerCase()," "===Xe?Xe="space":"."===Xe&&(Xe="dot"),O.forEach(Oe=>{Oe!==Xe&&(0,r[Oe])(ce)&&(Pe+=Oe+".")}),Pe+=Xe,Pe===Me)}static eventCallback(ce,Me,Xe){return Pe=>{me.matchEventFullKeyCode(Pe,ce)&&Xe.runGuarded(()=>Me(Pe))}}static _normalizeKey(ce){return"esc"===ce?"escape":ce}static{this.\u0275fac=function(Me){return new(Me||me)(e.KVO(t.qQ))}}static{this.\u0275prov=e.jDH({token:me,factory:me.\u0275fac})}}return me})();const te=(0,e.oH4)(e.fpN,"browser",[{provide:e.Agw,useValue:t.AJ},{provide:e.PLl,useValue:function at(){S.makeCurrent()},multi:!0},{provide:t.qQ,useFactory:function rt(){return(0,e.TL$)(document),document},deps:[]}]),oe=new e.nKC(""),_e=[{provide:e.e01,useClass:class R{addToWindow(xe){e.JZv.getAngularTestability=(Me,Xe=!0)=>{const Pe=xe.findTestabilityInTree(Me,Xe);if(null==Pe)throw new e.wOt(5103,!1);return Pe},e.JZv.getAllAngularTestabilities=()=>xe.getAllTestabilities(),e.JZv.getAllAngularRootElements=()=>xe.getAllRootElements(),e.JZv.frameworkStabilizers||(e.JZv.frameworkStabilizers=[]),e.JZv.frameworkStabilizers.push(Me=>{const Xe=e.JZv.getAllAngularTestabilities();let Pe=Xe.length;const Oe=function(){Pe--,0==Pe&&Me()};Xe.forEach(we=>{we.whenStable(Oe)})})}findTestabilityInTree(xe,ce,Me){return null==ce?null:xe.getTestability(ce)??(Me?(0,t.QT)().isShadowRoot(ce)?this.findTestabilityInTree(xe,ce.host,!0):this.findTestabilityInTree(xe,ce.parentElement,!0):null)}},deps:[]},{provide:e.WHO,useClass:e.NYb,deps:[e.SKi,e.giA,e.e01]},{provide:e.NYb,useClass:e.NYb,deps:[e.SKi,e.giA,e.e01]}],de=[{provide:e.H8p,useValue:"root"},{provide:e.zcH,useFactory:function Ye(){return new e.zcH},deps:[]},{provide:w,useClass:L,multi:!0,deps:[t.qQ,e.SKi,e.Agw]},{provide:w,useClass:v,multi:!0,deps:[t.qQ]},ue,F,y,{provide:e._9s,useExisting:ue},{provide:t.N0,useClass:d,deps:[]},[]];let pe=(()=>{class me{constructor(ce){}static withServerTransition(ce){return{ngModule:me,providers:[{provide:e.sZ2,useValue:ce.appId}]}}static{this.\u0275fac=function(Me){return new(Me||me)(e.KVO(oe,12))}}static{this.\u0275mod=e.$C({type:me})}static{this.\u0275inj=e.G2t({providers:[...de,..._e],imports:[t.MD,e.Hbi]})}}return me})(),fe=(()=>{class me{constructor(ce){this._doc=ce}getTitle(){return this._doc.title}setTitle(ce){this._doc.title=ce||""}static{this.\u0275fac=function(Me){return new(Me||me)(e.KVO(t.qQ))}}static{this.\u0275prov=e.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})();const Qe={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},nt=new e.nKC("HammerGestureConfig"),Ue=new e.nKC("HammerLoader");let ht=(()=>{class me{constructor(){this.events=[],this.overrides={}}buildHammer(ce){const Me=new Hammer(ce,this.options);Me.get("pinch").set({enable:!0}),Me.get("rotate").set({enable:!0});for(const Xe in this.overrides)Me.get(Xe).set(this.overrides[Xe]);return Me}static{this.\u0275fac=function(Me){return new(Me||me)}}static{this.\u0275prov=e.jDH({token:me,factory:me.\u0275fac})}}return me})(),tt=(()=>{class me extends T{constructor(ce,Me,Xe,Pe){super(ce),this._config=Me,this.console=Xe,this.loader=Pe,this._loaderPromise=null}supports(ce){return!(!Qe.hasOwnProperty(ce.toLowerCase())&&!this.isCustomEvent(ce)||!window.Hammer&&!this.loader)}addEventListener(ce,Me,Xe){const Pe=this.manager.getZone();if(Me=Me.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Pe.runOutsideAngular(()=>this.loader());let Oe=!1,we=()=>{Oe=!0};return Pe.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Oe||(we=this.addEventListener(ce,Me,Xe)):we=()=>{}}).catch(()=>{we=()=>{}})),()=>{we()}}return Pe.runOutsideAngular(()=>{const Oe=this._config.buildHammer(ce),we=function(De){Pe.runGuarded(function(){Xe(De)})};return Oe.on(Me,we),()=>{Oe.off(Me,we),"function"==typeof Oe.destroy&&Oe.destroy()}})}isCustomEvent(ce){return this._config.events.indexOf(ce)>-1}static{this.\u0275fac=function(Me){return new(Me||me)(e.KVO(t.qQ),e.KVO(nt),e.KVO(e.H3F),e.KVO(Ue,8))}}static{this.\u0275prov=e.jDH({token:me,factory:me.\u0275fac})}}return me})(),wt=(()=>{class me{static{this.\u0275fac=function(Me){return new(Me||me)}}static{this.\u0275mod=e.$C({type:me})}static{this.\u0275inj=e.G2t({providers:[{provide:w,useClass:tt,multi:!0,deps:[t.qQ,nt,e.H3F,[new e.Xx1,Ue]]},{provide:nt,useClass:ht,deps:[]}]})}}return me})(),ut=(()=>{class me{static{this.\u0275fac=function(Me){return new(Me||me)}}static{this.\u0275prov=e.jDH({token:me,factory:function(Me){let Xe=null;return Xe=Me?new(Me||me):e.KVO(vt),Xe},providedIn:"root"})}}return me})(),vt=(()=>{class me extends ut{constructor(ce){super(),this._doc=ce}sanitize(ce,Me){if(null==Me)return null;switch(ce){case e.WPN.NONE:return Me;case e.WPN.HTML:return(0,e.ZF7)(Me,"HTML")?(0,e.rcV)(Me):(0,e.h9k)(this._doc,String(Me)).toString();case e.WPN.STYLE:return(0,e.ZF7)(Me,"Style")?(0,e.rcV)(Me):Me;case e.WPN.SCRIPT:if((0,e.ZF7)(Me,"Script"))return(0,e.rcV)(Me);throw new e.wOt(5200,!1);case e.WPN.URL:return(0,e.ZF7)(Me,"URL")?(0,e.rcV)(Me):(0,e.$MX)(String(Me));case e.WPN.RESOURCE_URL:if((0,e.ZF7)(Me,"ResourceURL"))return(0,e.rcV)(Me);throw new e.wOt(5201,!1);default:throw new e.wOt(5202,!1)}}bypassSecurityTrustHtml(ce){return(0,e.Kcf)(ce)}bypassSecurityTrustStyle(ce){return(0,e.cWb)(ce)}bypassSecurityTrustScript(ce){return(0,e.UyX)(ce)}bypassSecurityTrustUrl(ce){return(0,e.osQ)(ce)}bypassSecurityTrustResourceUrl(ce){return(0,e.e5t)(ce)}static{this.\u0275fac=function(Me){return new(Me||me)(e.KVO(t.qQ))}}static{this.\u0275prov=e.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}}return me})()},1188:(Ve,ee,p)=>{"use strict";p.d(ee,{nX:()=>kr,j5:()=>It,wF:()=>it,L6:()=>un,Z:()=>q,gx:()=>ir,Ix:()=>an,Wk:()=>da,wQ:()=>Xa,iI:()=>En,n3:()=>ln});var t=p(467),e=p(4438),C=p(4402),S=p(2806),l=p(7673),x=p(4412),m=p(4572),R=p(9350),d=p(8793),w=p(9030),y=p(1203),T=p(8810),k=p(983),F=p(17),V=p(1413),U=p(8359),G=p(177),Y=p(6354),$=p(5558),Z=p(6697),ie=p(9172),ve=p(5964),ae=p(1397),ye=p(1594),ue=p(274),be=p(8141),D=p(9437),n=p(2816),c=p(9901),f=p(9974),h=p(4360);function M(ge){return ge<=0?()=>k.w:(0,f.N)((Ne,Ce)=>{let ze=[];Ne.subscribe((0,h._)(Ce,gt=>{ze.push(gt),ge<ze.length&&ze.shift()},()=>{for(const gt of ze)Ce.next(gt);Ce.complete()},void 0,()=>{ze=null}))})}var L=p(3774),O=p(3669),r=p(3703),v=p(980),z=p(9898),N=p(6977),ne=p(6365),Ie=p(345);const at="primary",Ye=Symbol("RouteTitle");class rt{constructor(Ne){this.params=Ne||{}}has(Ne){return Object.prototype.hasOwnProperty.call(this.params,Ne)}get(Ne){if(this.has(Ne)){const Ce=this.params[Ne];return Array.isArray(Ce)?Ce[0]:Ce}return null}getAll(Ne){if(this.has(Ne)){const Ce=this.params[Ne];return Array.isArray(Ce)?Ce:[Ce]}return[]}get keys(){return Object.keys(this.params)}}function re(ge){return new rt(ge)}function te(ge,Ne,Ce){const ze=Ce.path.split("/");if(ze.length>ge.length||"full"===Ce.pathMatch&&(Ne.hasChildren()||ze.length<ge.length))return null;const gt={};for(let Ot=0;Ot<ze.length;Ot++){const Jt=ze[Ot],wi=ge[Ot];if(":"===Jt[0])gt[Jt.substring(1)]=wi;else if(Jt!==wi.path)return null}return{consumed:ge.slice(0,ze.length),posParams:gt}}function _e(ge,Ne){const Ce=ge?de(ge):void 0,ze=Ne?de(Ne):void 0;if(!Ce||!ze||Ce.length!=ze.length)return!1;let gt;for(let Ot=0;Ot<Ce.length;Ot++)if(gt=Ce[Ot],!pe(ge[gt],Ne[gt]))return!1;return!0}function de(ge){return[...Object.keys(ge),...Object.getOwnPropertySymbols(ge)]}function pe(ge,Ne){if(Array.isArray(ge)&&Array.isArray(Ne)){if(ge.length!==Ne.length)return!1;const Ce=[...ge].sort(),ze=[...Ne].sort();return Ce.every((gt,Ot)=>ze[Ot]===gt)}return ge===Ne}function We(ge){return ge.length>0?ge[ge.length-1]:null}function se(ge){return(0,C.A)(ge)?ge:(0,e.jNT)(ge)?(0,S.H)(Promise.resolve(ge)):(0,l.of)(ge)}const fe={exact:function Ct(ge,Ne,Ce){if(!tt(ge.segments,Ne.segments)||!Je(ge.segments,Ne.segments,Ce)||ge.numberOfChildren!==Ne.numberOfChildren)return!1;for(const ze in Ne.children)if(!ge.children[ze]||!Ct(ge.children[ze],Ne.children[ze],Ce))return!1;return!0},subset:Nt},he={exact:function Ke(ge,Ne){return _e(ge,Ne)},subset:function _t(ge,Ne){return Object.keys(Ne).length<=Object.keys(ge).length&&Object.keys(Ne).every(Ce=>pe(ge[Ce],Ne[Ce]))},ignored:()=>!0};function et(ge,Ne,Ce){return fe[Ce.paths](ge.root,Ne.root,Ce.matrixParams)&&he[Ce.queryParams](ge.queryParams,Ne.queryParams)&&!("exact"===Ce.fragment&&ge.fragment!==Ne.fragment)}function Nt(ge,Ne,Ce){return ke(ge,Ne,Ne.segments,Ce)}function ke(ge,Ne,Ce,ze){if(ge.segments.length>Ce.length){const gt=ge.segments.slice(0,Ce.length);return!(!tt(gt,Ce)||Ne.hasChildren()||!Je(gt,Ce,ze))}if(ge.segments.length===Ce.length){if(!tt(ge.segments,Ce)||!Je(ge.segments,Ce,ze))return!1;for(const gt in Ne.children)if(!ge.children[gt]||!Nt(ge.children[gt],Ne.children[gt],ze))return!1;return!0}{const gt=Ce.slice(0,ge.segments.length),Ot=Ce.slice(ge.segments.length);return!!(tt(ge.segments,gt)&&Je(ge.segments,gt,ze)&&ge.children[at])&&ke(ge.children[at],Ne,Ot,ze)}}function Je(ge,Ne,Ce){return Ne.every((ze,gt)=>he[Ce](ge[gt].parameters,ze.parameters))}class Qe{constructor(Ne=new nt([],{}),Ce={},ze=null){this.root=Ne,this.queryParams=Ce,this.fragment=ze}get queryParamMap(){return this._queryParamMap??=re(this.queryParams),this._queryParamMap}toString(){return Ze.serialize(this)}}class nt{constructor(Ne,Ce){this.segments=Ne,this.children=Ce,this.parent=null,Object.values(Ce).forEach(ze=>ze.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return jt(this)}}class Ue{constructor(Ne,Ce){this.path=Ne,this.parameters=Ce}get parameterMap(){return this._parameterMap??=re(this.parameters),this._parameterMap}toString(){return me(this)}}function tt(ge,Ne){return ge.length===Ne.length&&ge.every((Ce,ze)=>Ce.path===Ne[ze].path)}let ut=(()=>{class ge{static{this.\u0275fac=function(ze){return new(ze||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>new vt,providedIn:"root"})}}return ge})();class vt{parse(Ne){const Ce=new Ft(Ne);return new Qe(Ce.parseRootSegment(),Ce.parseQueryParams(),Ce.parseFragment())}serialize(Ne){const Ce=`/${qe(Ne.root,!0)}`,ze=function ce(ge){const Ne=Object.entries(ge).map(([Ce,ze])=>Array.isArray(ze)?ze.map(gt=>`${Le(Ce)}=${Le(gt)}`).join("&"):`${Le(Ce)}=${Le(ze)}`).filter(Ce=>Ce);return Ne.length?`?${Ne.join("&")}`:""}(Ne.queryParams);return`${Ce}${ze}${"string"==typeof Ne.fragment?`#${function Vt(ge){return encodeURI(ge)}(Ne.fragment)}`:""}`}}const Ze=new vt;function jt(ge){return ge.segments.map(Ne=>me(Ne)).join("/")}function qe(ge,Ne){if(!ge.hasChildren())return jt(ge);if(Ne){const Ce=ge.children[at]?qe(ge.children[at],!1):"",ze=[];return Object.entries(ge.children).forEach(([gt,Ot])=>{gt!==at&&ze.push(`${gt}:${qe(Ot,!1)}`)}),ze.length>0?`${Ce}(${ze.join("//")})`:Ce}{const Ce=function wt(ge,Ne){let Ce=[];return Object.entries(ge.children).forEach(([ze,gt])=>{ze===at&&(Ce=Ce.concat(Ne(gt,ze)))}),Object.entries(ge.children).forEach(([ze,gt])=>{ze!==at&&(Ce=Ce.concat(Ne(gt,ze)))}),Ce}(ge,(ze,gt)=>gt===at?[qe(ge.children[at],!1)]:[`${gt}:${qe(ze,!1)}`]);return 1===Object.keys(ge.children).length&&null!=ge.children[at]?`${jt(ge)}/${Ce[0]}`:`${jt(ge)}/(${Ce.join("//")})`}}function dt(ge){return encodeURIComponent(ge).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Le(ge){return dt(ge).replace(/%3B/gi,";")}function Zt(ge){return dt(ge).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Et(ge){return decodeURIComponent(ge)}function je(ge){return Et(ge.replace(/\+/g,"%20"))}function me(ge){return`${Zt(ge.path)}${function xe(ge){return Object.entries(ge).map(([Ne,Ce])=>`;${Zt(Ne)}=${Zt(Ce)}`).join("")}(ge.parameters)}`}const Me=/^[^\/()?;#]+/;function Xe(ge){const Ne=ge.match(Me);return Ne?Ne[0]:""}const Pe=/^[^\/()?;=#]+/,we=/^[^=?&#]+/,$e=/^[^&#]+/;class Ft{constructor(Ne){this.url=Ne,this.remaining=Ne}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new nt([],{}):new nt([],this.parseChildren())}parseQueryParams(){const Ne={};if(this.consumeOptional("?"))do{this.parseQueryParam(Ne)}while(this.consumeOptional("&"));return Ne}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Ne=[];for(this.peekStartsWith("(")||Ne.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Ne.push(this.parseSegment());let Ce={};this.peekStartsWith("/(")&&(this.capture("/"),Ce=this.parseParens(!0));let ze={};return this.peekStartsWith("(")&&(ze=this.parseParens(!1)),(Ne.length>0||Object.keys(Ce).length>0)&&(ze[at]=new nt(Ne,Ce)),ze}parseSegment(){const Ne=Xe(this.remaining);if(""===Ne&&this.peekStartsWith(";"))throw new e.wOt(4009,!1);return this.capture(Ne),new Ue(Et(Ne),this.parseMatrixParams())}parseMatrixParams(){const Ne={};for(;this.consumeOptional(";");)this.parseParam(Ne);return Ne}parseParam(Ne){const Ce=function Oe(ge){const Ne=ge.match(Pe);return Ne?Ne[0]:""}(this.remaining);if(!Ce)return;this.capture(Ce);let ze="";if(this.consumeOptional("=")){const gt=Xe(this.remaining);gt&&(ze=gt,this.capture(ze))}Ne[Et(Ce)]=Et(ze)}parseQueryParam(Ne){const Ce=function De(ge){const Ne=ge.match(we);return Ne?Ne[0]:""}(this.remaining);if(!Ce)return;this.capture(Ce);let ze="";if(this.consumeOptional("=")){const Jt=function $t(ge){const Ne=ge.match($e);return Ne?Ne[0]:""}(this.remaining);Jt&&(ze=Jt,this.capture(ze))}const gt=je(Ce),Ot=je(ze);if(Ne.hasOwnProperty(gt)){let Jt=Ne[gt];Array.isArray(Jt)||(Jt=[Jt],Ne[gt]=Jt),Jt.push(Ot)}else Ne[gt]=Ot}parseParens(Ne){const Ce={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const ze=Xe(this.remaining),gt=this.remaining[ze.length];if("/"!==gt&&")"!==gt&&";"!==gt)throw new e.wOt(4010,!1);let Ot;ze.indexOf(":")>-1?(Ot=ze.slice(0,ze.indexOf(":")),this.capture(Ot),this.capture(":")):Ne&&(Ot=at);const Jt=this.parseChildren();Ce[Ot]=1===Object.keys(Jt).length?Jt[at]:new nt([],Jt),this.consumeOptional("//")}return Ce}peekStartsWith(Ne){return this.remaining.startsWith(Ne)}consumeOptional(Ne){return!!this.peekStartsWith(Ne)&&(this.remaining=this.remaining.substring(Ne.length),!0)}capture(Ne){if(!this.consumeOptional(Ne))throw new e.wOt(4011,!1)}}function Kt(ge){return ge.segments.length>0?new nt([],{[at]:ge}):ge}function fi(ge){const Ne={};for(const[ze,gt]of Object.entries(ge.children)){const Ot=fi(gt);if(ze===at&&0===Ot.segments.length&&Ot.hasChildren())for(const[Jt,wi]of Object.entries(Ot.children))Ne[Jt]=wi;else(Ot.segments.length>0||Ot.hasChildren())&&(Ne[ze]=Ot)}return function Qt(ge){if(1===ge.numberOfChildren&&ge.children[at]){const Ne=ge.children[at];return new nt(ge.segments.concat(Ne.segments),Ne.children)}return ge}(new nt(ge.segments,Ne))}function zt(ge){return ge instanceof Qe}function ci(ge){let Ne;const gt=Kt(function Ce(Ot){const Jt={};for(const gi of Ot.children){const rn=Ce(gi);Jt[gi.outlet]=rn}const wi=new nt(Ot.url,Jt);return Ot===ge&&(Ne=wi),wi}(ge.root));return Ne??gt}function ui(ge,Ne,Ce,ze){let gt=ge;for(;gt.parent;)gt=gt.parent;if(0===Ne.length)return Li(gt,gt,gt,Ce,ze);const Ot=function ii(ge){if("string"==typeof ge[0]&&1===ge.length&&"/"===ge[0])return new st(!0,0,ge);let Ne=0,Ce=!1;const ze=ge.reduce((gt,Ot,Jt)=>{if("object"==typeof Ot&&null!=Ot){if(Ot.outlets){const wi={};return Object.entries(Ot.outlets).forEach(([gi,rn])=>{wi[gi]="string"==typeof rn?rn.split("/"):rn}),[...gt,{outlets:wi}]}if(Ot.segmentPath)return[...gt,Ot.segmentPath]}return"string"!=typeof Ot?[...gt,Ot]:0===Jt?(Ot.split("/").forEach((wi,gi)=>{0==gi&&"."===wi||(0==gi&&""===wi?Ce=!0:".."===wi?Ne++:""!=wi&>.push(wi))}),gt):[...gt,Ot]},[]);return new st(Ce,Ne,ze)}(Ne);if(Ot.toRoot())return Li(gt,gt,new nt([],{}),Ce,ze);const Jt=function Mt(ge,Ne,Ce){if(ge.isAbsolute)return new Se(Ne,!0,0);if(!Ce)return new Se(Ne,!1,NaN);if(null===Ce.parent)return new Se(Ce,!0,0);const ze=bn(ge.commands[0])?0:1;return function Pt(ge,Ne,Ce){let ze=ge,gt=Ne,Ot=Ce;for(;Ot>gt;){if(Ot-=gt,ze=ze.parent,!ze)throw new e.wOt(4005,!1);gt=ze.segments.length}return new Se(ze,!1,gt-Ot)}(Ce,Ce.segments.length-1+ze,ge.numberOfDoubleDots)}(Ot,gt,ge),wi=Jt.processChildren?Hi(Jt.segmentGroup,Jt.index,Ot.commands):Ei(Jt.segmentGroup,Jt.index,Ot.commands);return Li(gt,Jt.segmentGroup,wi,Ce,ze)}function bn(ge){return"object"==typeof ge&&null!=ge&&!ge.outlets&&!ge.segmentPath}function Qi(ge){return"object"==typeof ge&&null!=ge&&ge.outlets}function Li(ge,Ne,Ce,ze,gt){let Jt,Ot={};ze&&Object.entries(ze).forEach(([gi,rn])=>{Ot[gi]=Array.isArray(rn)?rn.map(Sn=>`${Sn}`):`${rn}`}),Jt=ge===Ne?Ce:nn(ge,Ne,Ce);const wi=Kt(fi(Jt));return new Qe(wi,Ot,gt)}function nn(ge,Ne,Ce){const ze={};return Object.entries(ge.children).forEach(([gt,Ot])=>{ze[gt]=Ot===Ne?Ce:nn(Ot,Ne,Ce)}),new nt(ge.segments,ze)}class st{constructor(Ne,Ce,ze){if(this.isAbsolute=Ne,this.numberOfDoubleDots=Ce,this.commands=ze,Ne&&ze.length>0&&bn(ze[0]))throw new e.wOt(4003,!1);const gt=ze.find(Qi);if(gt&>!==We(ze))throw new e.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Se{constructor(Ne,Ce,ze){this.segmentGroup=Ne,this.processChildren=Ce,this.index=ze}}function Ei(ge,Ne,Ce){if(ge??=new nt([],{}),0===ge.segments.length&&ge.hasChildren())return Hi(ge,Ne,Ce);const ze=function $i(ge,Ne,Ce){let ze=0,gt=Ne;const Ot={match:!1,pathIndex:0,commandIndex:0};for(;gt<ge.segments.length;){if(ze>=Ce.length)return Ot;const Jt=ge.segments[gt],wi=Ce[ze];if(Qi(wi))break;const gi=`${wi}`,rn=ze<Ce.length-1?Ce[ze+1]:null;if(gt>0&&void 0===gi)break;if(gi&&rn&&"object"==typeof rn&&void 0===rn.outlets){if(!mn(gi,rn,Jt))return Ot;ze+=2}else{if(!mn(gi,{},Jt))return Ot;ze++}gt++}return{match:!0,pathIndex:gt,commandIndex:ze}}(ge,Ne,Ce),gt=Ce.slice(ze.commandIndex);if(ze.match&&ze.pathIndex<ge.segments.length){const Ot=new nt(ge.segments.slice(0,ze.pathIndex),{});return Ot.children[at]=new nt(ge.segments.slice(ze.pathIndex),ge.children),Hi(Ot,0,gt)}return ze.match&&0===gt.length?new nt(ge.segments,{}):ze.match&&!ge.hasChildren()?hn(ge,Ne,Ce):ze.match?Hi(ge,0,gt):hn(ge,Ne,Ce)}function Hi(ge,Ne,Ce){if(0===Ce.length)return new nt(ge.segments,{});{const ze=function ai(ge){return Qi(ge[0])?ge[0].outlets:{[at]:ge}}(Ce),gt={};if(Object.keys(ze).some(Ot=>Ot!==at)&&ge.children[at]&&1===ge.numberOfChildren&&0===ge.children[at].segments.length){const Ot=Hi(ge.children[at],Ne,Ce);return new nt(ge.segments,Ot.children)}return Object.entries(ze).forEach(([Ot,Jt])=>{"string"==typeof Jt&&(Jt=[Jt]),null!==Jt&&(gt[Ot]=Ei(ge.children[Ot],Ne,Jt))}),Object.entries(ge.children).forEach(([Ot,Jt])=>{void 0===ze[Ot]&&(gt[Ot]=Jt)}),new nt(ge.segments,gt)}}function hn(ge,Ne,Ce){const ze=ge.segments.slice(0,Ne);let gt=0;for(;gt<Ce.length;){const Ot=Ce[gt];if(Qi(Ot)){const gi=Fi(Ot.outlets);return new nt(ze,gi)}if(0===gt&&bn(Ce[0])){ze.push(new Ue(ge.segments[Ne].path,_n(Ce[0]))),gt++;continue}const Jt=Qi(Ot)?Ot.outlets[at]:`${Ot}`,wi=gt<Ce.length-1?Ce[gt+1]:null;Jt&&wi&&bn(wi)?(ze.push(new Ue(Jt,_n(wi))),gt+=2):(ze.push(new Ue(Jt,{})),gt++)}return new nt(ze,{})}function Fi(ge){const Ne={};return Object.entries(ge).forEach(([Ce,ze])=>{"string"==typeof ze&&(ze=[ze]),null!==ze&&(Ne[Ce]=hn(new nt([],{}),0,ze))}),Ne}function _n(ge){const Ne={};return Object.entries(ge).forEach(([Ce,ze])=>Ne[Ce]=`${ze}`),Ne}function mn(ge,Ne,Ce){return ge==Ce.path&&_e(Ne,Ce.parameters)}const Dt="imperative";var ct=function(ge){return ge[ge.NavigationStart=0]="NavigationStart",ge[ge.NavigationEnd=1]="NavigationEnd",ge[ge.NavigationCancel=2]="NavigationCancel",ge[ge.NavigationError=3]="NavigationError",ge[ge.RoutesRecognized=4]="RoutesRecognized",ge[ge.ResolveStart=5]="ResolveStart",ge[ge.ResolveEnd=6]="ResolveEnd",ge[ge.GuardsCheckStart=7]="GuardsCheckStart",ge[ge.GuardsCheckEnd=8]="GuardsCheckEnd",ge[ge.RouteConfigLoadStart=9]="RouteConfigLoadStart",ge[ge.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",ge[ge.ChildActivationStart=11]="ChildActivationStart",ge[ge.ChildActivationEnd=12]="ChildActivationEnd",ge[ge.ActivationStart=13]="ActivationStart",ge[ge.ActivationEnd=14]="ActivationEnd",ge[ge.Scroll=15]="Scroll",ge[ge.NavigationSkipped=16]="NavigationSkipped",ge}(ct||{});class Bt{constructor(Ne,Ce){this.id=Ne,this.url=Ce}}class q extends Bt{constructor(Ne,Ce,ze="imperative",gt=null){super(Ne,Ce),this.type=ct.NavigationStart,this.navigationTrigger=ze,this.restoredState=gt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class it extends Bt{constructor(Ne,Ce,ze){super(Ne,Ce),this.urlAfterRedirects=ze,this.type=ct.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Ae=function(ge){return ge[ge.Redirect=0]="Redirect",ge[ge.SupersededByNewNavigation=1]="SupersededByNewNavigation",ge[ge.NoDataFromResolver=2]="NoDataFromResolver",ge[ge.GuardRejected=3]="GuardRejected",ge}(Ae||{}),mt=function(ge){return ge[ge.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",ge[ge.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",ge}(mt||{});class It extends Bt{constructor(Ne,Ce,ze,gt){super(Ne,Ce),this.reason=ze,this.code=gt,this.type=ct.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ci extends Bt{constructor(Ne,Ce,ze,gt){super(Ne,Ce),this.reason=ze,this.code=gt,this.type=ct.NavigationSkipped}}class un extends Bt{constructor(Ne,Ce,ze,gt){super(Ne,Ce),this.error=ze,this.target=gt,this.type=ct.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Dn extends Bt{constructor(Ne,Ce,ze,gt){super(Ne,Ce),this.urlAfterRedirects=ze,this.state=gt,this.type=ct.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hn extends Bt{constructor(Ne,Ce,ze,gt){super(Ne,Ce),this.urlAfterRedirects=ze,this.state=gt,this.type=ct.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class On extends Bt{constructor(Ne,Ce,ze,gt,Ot){super(Ne,Ce),this.urlAfterRedirects=ze,this.state=gt,this.shouldActivate=Ot,this.type=ct.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Xn extends Bt{constructor(Ne,Ce,ze,gt){super(Ne,Ce),this.urlAfterRedirects=ze,this.state=gt,this.type=ct.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ir extends Bt{constructor(Ne,Ce,ze,gt){super(Ne,Ce),this.urlAfterRedirects=ze,this.state=gt,this.type=ct.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fn{constructor(Ne){this.route=Ne,this.type=ct.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class pi{constructor(Ne){this.route=Ne,this.type=ct.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Oi{constructor(Ne){this.snapshot=Ne,this.type=ct.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yt{constructor(Ne){this.snapshot=Ne,this.type=ct.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yi{constructor(Ne){this.snapshot=Ne,this.type=ct.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class li{constructor(Ne){this.snapshot=Ne,this.type=ct.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vi{constructor(Ne,Ce,ze){this.routerEvent=Ne,this.position=Ce,this.anchor=ze,this.type=ct.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ni{}class ji{constructor(Ne,Ce){this.url=Ne,this.navigationBehaviorOptions=Ce}}class nr{constructor(Ne){this.injector=Ne,this.outlet=null,this.route=null,this.children=new ar(this.injector),this.attachRef=null}}let ar=(()=>{class ge{constructor(Ce){this.parentInjector=Ce,this.contexts=new Map}onChildOutletCreated(Ce,ze){const gt=this.getOrCreateContext(Ce);gt.outlet=ze,this.contexts.set(Ce,gt)}onChildOutletDestroyed(Ce){const ze=this.getContext(Ce);ze&&(ze.outlet=null,ze.attachRef=null)}onOutletDeactivated(){const Ce=this.contexts;return this.contexts=new Map,Ce}onOutletReAttached(Ce){this.contexts=Ce}getOrCreateContext(Ce){let ze=this.getContext(Ce);return ze||(ze=new nr(this.parentInjector),this.contexts.set(Ce,ze)),ze}getContext(Ce){return this.contexts.get(Ce)||null}static{this.\u0275fac=function(ze){return new(ze||ge)(e.KVO(e.uvJ))}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();class tr{constructor(Ne){this._root=Ne}get root(){return this._root.value}parent(Ne){const Ce=this.pathFromRoot(Ne);return Ce.length>1?Ce[Ce.length-2]:null}children(Ne){const Ce=or(Ne,this._root);return Ce?Ce.children.map(ze=>ze.value):[]}firstChild(Ne){const Ce=or(Ne,this._root);return Ce&&Ce.children.length>0?Ce.children[0].value:null}siblings(Ne){const Ce=na(Ne,this._root);return Ce.length<2?[]:Ce[Ce.length-2].children.map(gt=>gt.value).filter(gt=>gt!==Ne)}pathFromRoot(Ne){return na(Ne,this._root).map(Ce=>Ce.value)}}function or(ge,Ne){if(ge===Ne.value)return Ne;for(const Ce of Ne.children){const ze=or(ge,Ce);if(ze)return ze}return null}function na(ge,Ne){if(ge===Ne.value)return[Ne];for(const Ce of Ne.children){const ze=na(ge,Ce);if(ze.length)return ze.unshift(Ne),ze}return[]}class Rr{constructor(Ne,Ce){this.value=Ne,this.children=Ce}toString(){return`TreeNode(${this.value})`}}function Gr(ge){const Ne={};return ge&&ge.children.forEach(Ce=>Ne[Ce.value.outlet]=Ce),Ne}class Uo extends tr{constructor(Ne,Ce){super(Ne),this.snapshot=Ce,io(this,Ne)}toString(){return this.snapshot.toString()}}function yo(ge){const Ne=function Go(ge){const Ot=new Ia([],{},{},"",{},at,ge,null,{});return new Qa("",new Rr(Ot,[]))}(ge),Ce=new x.t([new Ue("",{})]),ze=new x.t({}),gt=new x.t({}),Ot=new x.t({}),Jt=new x.t(""),wi=new kr(Ce,ze,Ot,Jt,gt,at,ge,Ne.root);return wi.snapshot=Ne.root,new Uo(new Rr(wi,[]),Ne)}class kr{constructor(Ne,Ce,ze,gt,Ot,Jt,wi,gi){this.urlSubject=Ne,this.paramsSubject=Ce,this.queryParamsSubject=ze,this.fragmentSubject=gt,this.dataSubject=Ot,this.outlet=Jt,this.component=wi,this._futureSnapshot=gi,this.title=this.dataSubject?.pipe((0,Y.T)(rn=>rn[Ye]))??(0,l.of)(void 0),this.url=Ne,this.params=Ce,this.queryParams=ze,this.fragment=gt,this.data=Ot}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.params.pipe((0,Y.T)(Ne=>re(Ne))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Y.T)(Ne=>re(Ne))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function wa(ge,Ne,Ce="emptyOnly"){let ze;const{routeConfig:gt}=ge;return ze=null===Ne||"always"!==Ce&&""!==gt?.path&&(Ne.component||Ne.routeConfig?.loadComponent)?{params:{...ge.params},data:{...ge.data},resolve:{...ge.data,...ge._resolvedData??{}}}:{params:{...Ne.params,...ge.params},data:{...Ne.data,...ge.data},resolve:{...ge.data,...Ne.data,...gt?.data,...ge._resolvedData}},gt&&Co(gt)&&(ze.resolve[Ye]=gt.title),ze}class Ia{get title(){return this.data?.[Ye]}constructor(Ne,Ce,ze,gt,Ot,Jt,wi,gi,rn){this.url=Ne,this.params=Ce,this.queryParams=ze,this.fragment=gt,this.data=Ot,this.outlet=Jt,this.component=wi,this.routeConfig=gi,this._resolve=rn}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??=re(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=re(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(ze=>ze.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Qa extends tr{constructor(Ne,Ce){super(Ce),this.url=Ne,io(this,Ce)}toString(){return vr(this._root)}}function io(ge,Ne){Ne.value._routerState=ge,Ne.children.forEach(Ce=>io(ge,Ce))}function vr(ge){const Ne=ge.children.length>0?` { ${ge.children.map(vr).join(", ")} } `:"";return`${ge.value}${Ne}`}function xo(ge){if(ge.snapshot){const Ne=ge.snapshot,Ce=ge._futureSnapshot;ge.snapshot=Ce,_e(Ne.queryParams,Ce.queryParams)||ge.queryParamsSubject.next(Ce.queryParams),Ne.fragment!==Ce.fragment&&ge.fragmentSubject.next(Ce.fragment),_e(Ne.params,Ce.params)||ge.paramsSubject.next(Ce.params),function oe(ge,Ne){if(ge.length!==Ne.length)return!1;for(let Ce=0;Ce<ge.length;++Ce)if(!_e(ge[Ce],Ne[Ce]))return!1;return!0}(Ne.url,Ce.url)||ge.urlSubject.next(Ce.url),_e(Ne.data,Ce.data)||ge.dataSubject.next(Ce.data)}else ge.snapshot=ge._futureSnapshot,ge.dataSubject.next(ge._futureSnapshot.data)}function Gn(ge,Ne){const Ce=_e(ge.params,Ne.params)&&function ht(ge,Ne){return tt(ge,Ne)&&ge.every((Ce,ze)=>_e(Ce.parameters,Ne[ze].parameters))}(ge.url,Ne.url);return Ce&&!(!ge.parent!=!Ne.parent)&&(!ge.parent||Gn(ge.parent,Ne.parent))}function Co(ge){return"string"==typeof ge.title||null===ge.title}let ln=(()=>{class ge{constructor(){this.activated=null,this._activatedRoute=null,this.name=at,this.activateEvents=new e.bkB,this.deactivateEvents=new e.bkB,this.attachEvents=new e.bkB,this.detachEvents=new e.bkB,this.parentContexts=(0,e.WQX)(ar),this.location=(0,e.WQX)(e.c1b),this.changeDetector=(0,e.WQX)(e.gRc),this.inputBinder=(0,e.WQX)(Ma,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Ce){if(Ce.name){const{firstChange:ze,previousValue:gt}=Ce.name;if(ze)return;this.isTrackedInParentContexts(gt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(gt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Ce){return this.parentContexts.getContext(Ce)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Ce=this.parentContexts.getContext(this.name);Ce?.route&&(Ce.attachRef?this.attach(Ce.attachRef,Ce.route):this.activateWith(Ce.route,Ce.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.wOt(4012,!1);this.location.detach();const Ce=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Ce.instance),Ce}attach(Ce,ze){this.activated=Ce,this._activatedRoute=ze,this.location.insert(Ce.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Ce.instance)}deactivate(){if(this.activated){const Ce=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Ce)}}activateWith(Ce,ze){if(this.isActivated)throw new e.wOt(4013,!1);this._activatedRoute=Ce;const gt=this.location,Jt=Ce.snapshot.component,wi=this.parentContexts.getOrCreateContext(this.name).children,gi=new $r(Ce,wi,gt.injector);this.activated=gt.createComponent(Jt,{index:gt.length,injector:gi,environmentInjector:ze}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(ze){return new(ze||ge)}}static{this.\u0275dir=e.FsC({type:ge,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.OA$]})}}return ge})();class $r{__ngOutletInjector(Ne){return new $r(this.route,this.childContexts,Ne)}constructor(Ne,Ce,ze){this.route=Ne,this.childContexts=Ce,this.parent=ze}get(Ne,Ce){return Ne===kr?this.route:Ne===ar?this.childContexts:this.parent.get(Ne,Ce)}}const Ma=new e.nKC("");let lo=(()=>{class ge{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Ce){this.unsubscribeFromRouteData(Ce),this.subscribeToRouteData(Ce)}unsubscribeFromRouteData(Ce){this.outletDataSubscriptions.get(Ce)?.unsubscribe(),this.outletDataSubscriptions.delete(Ce)}subscribeToRouteData(Ce){const{activatedRoute:ze}=Ce,gt=(0,m.z)([ze.queryParams,ze.params,ze.data]).pipe((0,$.n)(([Ot,Jt,wi],gi)=>(wi={...Ot,...Jt,...wi},0===gi?(0,l.of)(wi):Promise.resolve(wi)))).subscribe(Ot=>{if(!Ce.isActivated||!Ce.activatedComponentRef||Ce.activatedRoute!==ze||null===ze.component)return void this.unsubscribeFromRouteData(Ce);const Jt=(0,e.HJs)(ze.component);if(Jt)for(const{templateName:wi}of Jt.inputs)Ce.activatedComponentRef.setInput(wi,Ot[wi]);else this.unsubscribeFromRouteData(Ce)});this.outletDataSubscriptions.set(Ce,gt)}static{this.\u0275fac=function(ze){return new(ze||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac})}}return ge})();function Po(ge,Ne,Ce){if(Ce&&ge.shouldReuseRoute(Ne.value,Ce.value.snapshot)){const ze=Ce.value;ze._futureSnapshot=Ne.value;const gt=function Qr(ge,Ne,Ce){return Ne.children.map(ze=>{for(const gt of Ce.children)if(ge.shouldReuseRoute(ze.value,gt.value.snapshot))return Po(ge,ze,gt);return Po(ge,ze)})}(ge,Ne,Ce);return new Rr(ze,gt)}{if(ge.shouldAttach(Ne.value)){const Ot=ge.retrieve(Ne.value);if(null!==Ot){const Jt=Ot.route;return Jt.value._futureSnapshot=Ne.value,Jt.children=Ne.children.map(wi=>Po(ge,wi)),Jt}}const ze=function no(ge){return new kr(new x.t(ge.url),new x.t(ge.params),new x.t(ge.queryParams),new x.t(ge.fragment),new x.t(ge.data),ge.outlet,ge.component,ge)}(Ne.value),gt=Ne.children.map(Ot=>Po(ge,Ot));return new Rr(ze,gt)}}class Ea{constructor(Ne,Ce){this.redirectTo=Ne,this.navigationBehaviorOptions=Ce}}const No="ngNavigationCancelingError";function Ra(ge,Ne){const{redirectTo:Ce,navigationBehaviorOptions:ze}=zt(Ne)?{redirectTo:Ne,navigationBehaviorOptions:void 0}:Ne,gt=wo(!1,Ae.Redirect);return gt.url=Ce,gt.navigationBehaviorOptions=ze,gt}function wo(ge,Ne){const Ce=new Error(`NavigationCancelingError: ${ge||""}`);return Ce[No]=!0,Ce.cancellationCode=Ne,Ce}function ma(ge){return!!ge&&ge[No]}let Nr=(()=>{class ge{static{this.\u0275fac=function(ze){return new(ze||ge)}}static{this.\u0275cmp=e.VBU({type:ge,selectors:[["ng-component"]],standalone:!0,features:[e.aNF],decls:1,vars:0,template:function(ze,gt){1&ze&&e.nrm(0,"router-outlet")},dependencies:[ln],encapsulation:2})}}return ge})();function ro(ge){const Ne=ge.children&&ge.children.map(ro),Ce=Ne?{...ge,children:Ne}:{...ge};return!Ce.component&&!Ce.loadComponent&&(Ne||Ce.loadChildren)&&Ce.outlet&&Ce.outlet!==at&&(Ce.component=Nr),Ce}function wr(ge){return ge.outlet||at}function Wo(ge){if(!ge)return null;if(ge.routeConfig?._injector)return ge.routeConfig._injector;for(let Ne=ge.parent;Ne;Ne=Ne.parent){const Ce=Ne.routeConfig;if(Ce?._loadedInjector)return Ce._loadedInjector;if(Ce?._injector)return Ce._injector}return null}class Ht{constructor(Ne,Ce,ze,gt,Ot){this.routeReuseStrategy=Ne,this.futureState=Ce,this.currState=ze,this.forwardEvent=gt,this.inputBindingEnabled=Ot}activate(Ne){const Ce=this.futureState._root,ze=this.currState?this.currState._root:null;this.deactivateChildRoutes(Ce,ze,Ne),xo(this.futureState.root),this.activateChildRoutes(Ce,ze,Ne)}deactivateChildRoutes(Ne,Ce,ze){const gt=Gr(Ce);Ne.children.forEach(Ot=>{const Jt=Ot.value.outlet;this.deactivateRoutes(Ot,gt[Jt],ze),delete gt[Jt]}),Object.values(gt).forEach(Ot=>{this.deactivateRouteAndItsChildren(Ot,ze)})}deactivateRoutes(Ne,Ce,ze){const gt=Ne.value,Ot=Ce?Ce.value:null;if(gt===Ot)if(gt.component){const Jt=ze.getContext(gt.outlet);Jt&&this.deactivateChildRoutes(Ne,Ce,Jt.children)}else this.deactivateChildRoutes(Ne,Ce,ze);else Ot&&this.deactivateRouteAndItsChildren(Ce,ze)}deactivateRouteAndItsChildren(Ne,Ce){Ne.value.component&&this.routeReuseStrategy.shouldDetach(Ne.value.snapshot)?this.detachAndStoreRouteSubtree(Ne,Ce):this.deactivateRouteAndOutlet(Ne,Ce)}detachAndStoreRouteSubtree(Ne,Ce){const ze=Ce.getContext(Ne.value.outlet),gt=ze&&Ne.value.component?ze.children:Ce,Ot=Gr(Ne);for(const Jt of Object.values(Ot))this.deactivateRouteAndItsChildren(Jt,gt);if(ze&&ze.outlet){const Jt=ze.outlet.detach(),wi=ze.children.onOutletDeactivated();this.routeReuseStrategy.store(Ne.value.snapshot,{componentRef:Jt,route:Ne,contexts:wi})}}deactivateRouteAndOutlet(Ne,Ce){const ze=Ce.getContext(Ne.value.outlet),gt=ze&&Ne.value.component?ze.children:Ce,Ot=Gr(Ne);for(const Jt of Object.values(Ot))this.deactivateRouteAndItsChildren(Jt,gt);ze&&(ze.outlet&&(ze.outlet.deactivate(),ze.children.onOutletDeactivated()),ze.attachRef=null,ze.route=null)}activateChildRoutes(Ne,Ce,ze){const gt=Gr(Ce);Ne.children.forEach(Ot=>{this.activateRoutes(Ot,gt[Ot.value.outlet],ze),this.forwardEvent(new li(Ot.value.snapshot))}),Ne.children.length&&this.forwardEvent(new Yt(Ne.value.snapshot))}activateRoutes(Ne,Ce,ze){const gt=Ne.value,Ot=Ce?Ce.value:null;if(xo(gt),gt===Ot)if(gt.component){const Jt=ze.getOrCreateContext(gt.outlet);this.activateChildRoutes(Ne,Ce,Jt.children)}else this.activateChildRoutes(Ne,Ce,ze);else if(gt.component){const Jt=ze.getOrCreateContext(gt.outlet);if(this.routeReuseStrategy.shouldAttach(gt.snapshot)){const wi=this.routeReuseStrategy.retrieve(gt.snapshot);this.routeReuseStrategy.store(gt.snapshot,null),Jt.children.onOutletReAttached(wi.contexts),Jt.attachRef=wi.componentRef,Jt.route=wi.route.value,Jt.outlet&&Jt.outlet.attach(wi.componentRef,wi.route.value),xo(wi.route.value),this.activateChildRoutes(Ne,null,Jt.children)}else{const wi=Wo(gt.snapshot);Jt.attachRef=null,Jt.route=gt,Jt.injector=wi??Jt.injector,Jt.outlet&&Jt.outlet.activateWith(gt,Jt.injector),this.activateChildRoutes(Ne,null,Jt.children)}}else this.activateChildRoutes(Ne,null,ze)}}class Mi{constructor(Ne){this.path=Ne,this.route=this.path[this.path.length-1]}}class xt{constructor(Ne,Ce){this.component=Ne,this.route=Ce}}function ni(ge,Ne,Ce){const ze=ge._root;return rr(ze,Ne?Ne._root:null,Ce,[ze.value])}function bi(ge,Ne){const Ce=Symbol(),ze=Ne.get(ge,Ce);return ze===Ce?"function"!=typeof ge||(0,e.LfX)(ge)?Ne.get(ge):ge:ze}function rr(ge,Ne,Ce,ze,gt={canDeactivateChecks:[],canActivateChecks:[]}){const Ot=Gr(Ne);return ge.children.forEach(Jt=>{(function Fa(ge,Ne,Ce,ze,gt={canDeactivateChecks:[],canActivateChecks:[]}){const Ot=ge.value,Jt=Ne?Ne.value:null,wi=Ce?Ce.getContext(ge.value.outlet):null;if(Jt&&Ot.routeConfig===Jt.routeConfig){const gi=function Zr(ge,Ne,Ce){if("function"==typeof Ce)return Ce(ge,Ne);switch(Ce){case"pathParamsChange":return!tt(ge.url,Ne.url);case"pathParamsOrQueryParamsChange":return!tt(ge.url,Ne.url)||!_e(ge.queryParams,Ne.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gn(ge,Ne)||!_e(ge.queryParams,Ne.queryParams);default:return!Gn(ge,Ne)}}(Jt,Ot,Ot.routeConfig.runGuardsAndResolvers);gi?gt.canActivateChecks.push(new Mi(ze)):(Ot.data=Jt.data,Ot._resolvedData=Jt._resolvedData),rr(ge,Ne,Ot.component?wi?wi.children:null:Ce,ze,gt),gi&&wi&&wi.outlet&&wi.outlet.isActivated&>.canDeactivateChecks.push(new xt(wi.outlet.component,Jt))}else Jt&&Sa(Ne,wi,gt),gt.canActivateChecks.push(new Mi(ze)),rr(ge,null,Ot.component?wi?wi.children:null:Ce,ze,gt)})(Jt,Ot[Jt.value.outlet],Ce,ze.concat([Jt.value]),gt),delete Ot[Jt.value.outlet]}),Object.entries(Ot).forEach(([Jt,wi])=>Sa(wi,Ce.getContext(Jt),gt)),gt}function Sa(ge,Ne,Ce){const ze=Gr(ge),gt=ge.value;Object.entries(ze).forEach(([Ot,Jt])=>{Sa(Jt,gt.component?Ne?Ne.children.getContext(Ot):null:Ne,Ce)}),Ce.canDeactivateChecks.push(new xt(gt.component&&Ne&&Ne.outlet&&Ne.outlet.isActivated?Ne.outlet.component:null,gt))}function Pa(ge){return"function"==typeof ge}function aa(ge){return ge instanceof R.G||"EmptyError"===ge?.name}const Ri=Symbol("INITIAL_VALUE");function ft(){return(0,$.n)(ge=>(0,m.z)(ge.map(Ne=>Ne.pipe((0,Z.s)(1),(0,ie.Z)(Ri)))).pipe((0,Y.T)(Ne=>{for(const Ce of Ne)if(!0!==Ce){if(Ce===Ri)return Ri;if(!1===Ce||pt(Ce))return Ce}return!0}),(0,ve.p)(Ne=>Ne!==Ri),(0,Z.s)(1)))}function pt(ge){return zt(ge)||ge instanceof Ea}function dc(ge){return(0,y.F)((0,be.M)(Ne=>{if("boolean"!=typeof Ne)throw Ra(0,Ne)}),(0,Y.T)(Ne=>!0===Ne))}class Yo{constructor(Ne){this.segmentGroup=Ne||null}}class Ko extends Error{constructor(Ne){super(),this.urlTree=Ne}}function fo(ge){return(0,T.$)(new Yo(ge))}class la{constructor(Ne,Ce){this.urlSerializer=Ne,this.urlTree=Ce}lineralizeSegments(Ne,Ce){let ze=[],gt=Ce.root;for(;;){if(ze=ze.concat(gt.segments),0===gt.numberOfChildren)return(0,l.of)(ze);if(gt.numberOfChildren>1||!gt.children[at])return(0,T.$)(new e.wOt(4e3,!1));gt=gt.children[at]}}applyRedirectCommands(Ne,Ce,ze,gt,Ot){if("string"!=typeof Ce){const wi=Ce,{queryParams:gi,fragment:rn,routeConfig:Sn,url:Zn,outlet:_r,params:ys,data:Or,title:Ya}=gt,ls=(0,e.N4e)(Ot,()=>wi({params:ys,data:Or,queryParams:gi,fragment:rn,routeConfig:Sn,url:Zn,outlet:_r,title:Ya}));if(ls instanceof Qe)throw new Ko(ls);Ce=ls}const Jt=this.applyRedirectCreateUrlTree(Ce,this.urlSerializer.parse(Ce),Ne,ze);if("/"===Ce[0])throw new Ko(Jt);return Jt}applyRedirectCreateUrlTree(Ne,Ce,ze,gt){const Ot=this.createSegmentGroup(Ne,Ce.root,ze,gt);return new Qe(Ot,this.createQueryParams(Ce.queryParams,this.urlTree.queryParams),Ce.fragment)}createQueryParams(Ne,Ce){const ze={};return Object.entries(Ne).forEach(([gt,Ot])=>{if("string"==typeof Ot&&":"===Ot[0]){const wi=Ot.substring(1);ze[gt]=Ce[wi]}else ze[gt]=Ot}),ze}createSegmentGroup(Ne,Ce,ze,gt){const Ot=this.createSegments(Ne,Ce.segments,ze,gt);let Jt={};return Object.entries(Ce.children).forEach(([wi,gi])=>{Jt[wi]=this.createSegmentGroup(Ne,gi,ze,gt)}),new nt(Ot,Jt)}createSegments(Ne,Ce,ze,gt){return Ce.map(Ot=>":"===Ot.path[0]?this.findPosParam(Ne,Ot,gt):this.findOrReturn(Ot,ze))}findPosParam(Ne,Ce,ze){const gt=ze[Ce.path.substring(1)];if(!gt)throw new e.wOt(4001,!1);return gt}findOrReturn(Ne,Ce){let ze=0;for(const gt of Ce){if(gt.path===Ne.path)return Ce.splice(ze),gt;ze++}return Ne}}const ao={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ir(ge,Ne,Ce,ze,gt){const Ot=Ta(ge,Ne,Ce);return Ot.matched?(ze=function Ua(ge,Ne){return ge.providers&&!ge._injector&&(ge._injector=(0,e.Ol2)(ge.providers,Ne,`Route: ${ge.path}`)),ge._injector??Ne}(Ne,ze),function hc(ge,Ne,Ce,ze){const gt=Ne.canMatch;if(!gt||0===gt.length)return(0,l.of)(!0);const Ot=gt.map(Jt=>{const wi=bi(Jt,ge);return se(function Ms(ge){return ge&&Pa(ge.canMatch)}(wi)?wi.canMatch(Ne,Ce):(0,e.N4e)(ge,()=>wi(Ne,Ce)))});return(0,l.of)(Ot).pipe(ft(),dc())}(ze,Ne,Ce).pipe((0,Y.T)(Jt=>!0===Jt?Ot:{...ao}))):(0,l.of)(Ot)}function Ta(ge,Ne,Ce){if("**"===Ne.path)return function Qs(ge){return{matched:!0,parameters:ge.length>0?We(ge).parameters:{},consumedSegments:ge,remainingSegments:[],positionalParamSegments:{}}}(Ce);if(""===Ne.path)return"full"===Ne.pathMatch&&(ge.hasChildren()||Ce.length>0)?{...ao}:{matched:!0,consumedSegments:[],remainingSegments:Ce,parameters:{},positionalParamSegments:{}};const gt=(Ne.matcher||te)(Ce,ge,Ne);if(!gt)return{...ao};const Ot={};Object.entries(gt.posParams??{}).forEach(([wi,gi])=>{Ot[wi]=gi.path});const Jt=gt.consumed.length>0?{...Ot,...gt.consumed[gt.consumed.length-1].parameters}:Ot;return{matched:!0,consumedSegments:gt.consumed,remainingSegments:Ce.slice(gt.consumed.length),parameters:Jt,positionalParamSegments:gt.posParams??{}}}function cn(ge,Ne,Ce,ze){return Ce.length>0&&function Ss(ge,Ne,Ce){return Ce.some(ze=>_s(ge,Ne,ze)&&wr(ze)!==at)}(ge,Ce,ze)?{segmentGroup:new nt(Ne,uc(ze,new nt(Ce,ge.children))),slicedSegments:[]}:0===Ce.length&&function fc(ge,Ne,Ce){return Ce.some(ze=>_s(ge,Ne,ze))}(ge,Ce,ze)?{segmentGroup:new nt(ge.segments,Es(ge,Ce,ze,ge.children)),slicedSegments:Ce}:{segmentGroup:new nt(ge.segments,ge.children),slicedSegments:Ce}}function Es(ge,Ne,Ce,ze){const gt={};for(const Ot of Ce)if(_s(ge,Ne,Ot)&&!ze[wr(Ot)]){const Jt=new nt([],{});gt[wr(Ot)]=Jt}return{...ze,...gt}}function uc(ge,Ne){const Ce={};Ce[at]=Ne;for(const ze of ge)if(""===ze.path&&wr(ze)!==at){const gt=new nt([],{});Ce[wr(ze)]=gt}return Ce}function _s(ge,Ne,Ce){return(!(ge.hasChildren()||Ne.length>0)||"full"!==Ce.pathMatch)&&""===Ce.path}class kl{}class Zs{constructor(Ne,Ce,ze,gt,Ot,Jt,wi){this.injector=Ne,this.configLoader=Ce,this.rootComponentType=ze,this.config=gt,this.urlTree=Ot,this.paramsInheritanceStrategy=Jt,this.urlSerializer=wi,this.applyRedirects=new la(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(Ne){return new e.wOt(4002,`'${Ne.segmentGroup}'`)}recognize(){const Ne=cn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(Ne).pipe((0,Y.T)(({children:Ce,rootSnapshot:ze})=>{const gt=new Rr(ze,Ce),Ot=new Qa("",gt),Jt=function Xi(ge,Ne,Ce=null,ze=null){return ui(ci(ge),Ne,Ce,ze)}(ze,[],this.urlTree.queryParams,this.urlTree.fragment);return Jt.queryParams=this.urlTree.queryParams,Ot.url=this.urlSerializer.serialize(Jt),{state:Ot,tree:Jt}}))}match(Ne){const Ce=new Ia([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),at,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,Ne,at,Ce).pipe((0,Y.T)(ze=>({children:ze,rootSnapshot:Ce})),(0,D.W)(ze=>{if(ze instanceof Ko)return this.urlTree=ze.urlTree,this.match(ze.urlTree.root);throw ze instanceof Yo?this.noMatchError(ze):ze}))}processSegmentGroup(Ne,Ce,ze,gt,Ot){return 0===ze.segments.length&&ze.hasChildren()?this.processChildren(Ne,Ce,ze,Ot):this.processSegment(Ne,Ce,ze,ze.segments,gt,!0,Ot).pipe((0,Y.T)(Jt=>Jt instanceof Rr?[Jt]:[]))}processChildren(Ne,Ce,ze,gt){const Ot=[];for(const Jt of Object.keys(ze.children))"primary"===Jt?Ot.unshift(Jt):Ot.push(Jt);return(0,S.H)(Ot).pipe((0,ue.H)(Jt=>{const wi=ze.children[Jt],gi=function ga(ge,Ne){const Ce=ge.filter(ze=>wr(ze)===Ne);return Ce.push(...ge.filter(ze=>wr(ze)!==Ne)),Ce}(Ce,Jt);return this.processSegmentGroup(Ne,gi,wi,Jt,gt)}),(0,n.S)((Jt,wi)=>(Jt.push(...wi),Jt)),(0,c.U)(null),function _(ge,Ne){const Ce=arguments.length>=2;return ze=>ze.pipe(ge?(0,ve.p)((gt,Ot)=>ge(gt,Ot,ze)):O.D,M(1),Ce?(0,c.U)(Ne):(0,L.v)(()=>new R.G))}(),(0,ae.Z)(Jt=>{if(null===Jt)return fo(ze);const wi=So(Jt);return function Js(ge){ge.sort((Ne,Ce)=>Ne.value.outlet===at?-1:Ce.value.outlet===at?1:Ne.value.outlet.localeCompare(Ce.value.outlet))}(wi),(0,l.of)(wi)}))}processSegment(Ne,Ce,ze,gt,Ot,Jt,wi){return(0,S.H)(Ce).pipe((0,ue.H)(gi=>this.processSegmentAgainstRoute(gi._injector??Ne,Ce,gi,ze,gt,Ot,Jt,wi).pipe((0,D.W)(rn=>{if(rn instanceof Yo)return(0,l.of)(null);throw rn}))),(0,ye.$)(gi=>!!gi),(0,D.W)(gi=>{if(aa(gi))return function vs(ge,Ne,Ce){return 0===Ne.length&&!ge.children[Ce]}(ze,gt,Ot)?(0,l.of)(new kl):fo(ze);throw gi}))}processSegmentAgainstRoute(Ne,Ce,ze,gt,Ot,Jt,wi,gi){return function Dl(ge,Ne,Ce,ze){return!!(wr(ge)===ze||ze!==at&&_s(Ne,Ce,ge))&&Ta(Ne,ge,Ce).matched}(ze,gt,Ot,Jt)?void 0===ze.redirectTo?this.matchSegmentAgainstRoute(Ne,gt,ze,Ot,Jt,gi):this.allowRedirects&&wi?this.expandSegmentAgainstRouteUsingRedirect(Ne,gt,Ce,ze,Ot,Jt,gi):fo(gt):fo(gt)}expandSegmentAgainstRouteUsingRedirect(Ne,Ce,ze,gt,Ot,Jt,wi){const{matched:gi,parameters:rn,consumedSegments:Sn,positionalParamSegments:Zn,remainingSegments:_r}=Ta(Ce,gt,Ot);if(!gi)return fo(Ce);"string"==typeof gt.redirectTo&&"/"===gt.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const ys=new Ia(Ot,rn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,qs(gt),wr(gt),gt.component??gt._loadedComponent??null,gt,bs(gt)),Or=wa(ys,wi,this.paramsInheritanceStrategy);ys.params=Object.freeze(Or.params),ys.data=Object.freeze(Or.data);const Ya=this.applyRedirects.applyRedirectCommands(Sn,gt.redirectTo,Zn,ys,Ne);return this.applyRedirects.lineralizeSegments(gt,Ya).pipe((0,ae.Z)(ls=>this.processSegment(Ne,ze,Ce,ls.concat(_r),Jt,!1,wi)))}matchSegmentAgainstRoute(Ne,Ce,ze,gt,Ot,Jt){const wi=Ir(Ce,ze,gt,Ne);return"**"===ze.path&&(Ce.children={}),wi.pipe((0,$.n)(gi=>gi.matched?this.getChildConfig(Ne=ze._injector??Ne,ze,gt).pipe((0,$.n)(({routes:rn})=>{const Sn=ze._loadedInjector??Ne,{parameters:Zn,consumedSegments:_r,remainingSegments:ys}=gi,Or=new Ia(_r,Zn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,qs(ze),wr(ze),ze.component??ze._loadedComponent??null,ze,bs(ze)),Ya=wa(Or,Jt,this.paramsInheritanceStrategy);Or.params=Object.freeze(Ya.params),Or.data=Object.freeze(Ya.data);const{segmentGroup:ls,slicedSegments:xc}=cn(Ce,_r,ys,rn);if(0===xc.length&&ls.hasChildren())return this.processChildren(Sn,rn,ls,Or).pipe((0,Y.T)(Zo=>new Rr(Or,Zo)));if(0===rn.length&&0===xc.length)return(0,l.of)(new Rr(Or,[]));const Pl=wr(ze)===Ot;return this.processSegment(Sn,rn,ls,xc,Pl?at:Ot,!0,Or).pipe((0,Y.T)(Zo=>new Rr(Or,Zo instanceof Rr?[Zo]:[])))})):fo(Ce)))}getChildConfig(Ne,Ce,ze){return Ce.children?(0,l.of)({routes:Ce.children,injector:Ne}):Ce.loadChildren?void 0!==Ce._loadedRoutes?(0,l.of)({routes:Ce._loadedRoutes,injector:Ce._loadedInjector}):function lc(ge,Ne,Ce,ze){const gt=Ne.canLoad;if(void 0===gt||0===gt.length)return(0,l.of)(!0);const Ot=gt.map(Jt=>{const wi=bi(Jt,ge);return se(function Za(ge){return ge&&Pa(ge.canLoad)}(wi)?wi.canLoad(Ne,Ce):(0,e.N4e)(ge,()=>wi(Ne,Ce)))});return(0,l.of)(Ot).pipe(ft(),dc())}(Ne,Ce,ze).pipe((0,ae.Z)(gt=>gt?this.configLoader.loadChildren(Ne,Ce).pipe((0,be.M)(Ot=>{Ce._loadedRoutes=Ot.routes,Ce._loadedInjector=Ot.injector})):function jr(ge){return(0,T.$)(wo(!1,Ae.GuardRejected))}())):(0,l.of)({routes:[],injector:Ne})}}function Os(ge){const Ne=ge.value.routeConfig;return Ne&&""===Ne.path}function So(ge){const Ne=[],Ce=new Set;for(const ze of ge){if(!Os(ze)){Ne.push(ze);continue}const gt=Ne.find(Ot=>ze.value.routeConfig===Ot.value.routeConfig);void 0!==gt?(gt.children.push(...ze.children),Ce.add(gt)):Ne.push(ze)}for(const ze of Ce){const gt=So(ze.children);Ne.push(new Rr(ze.value,gt))}return Ne.filter(ze=>!Ce.has(ze))}function qs(ge){return ge.data||{}}function bs(ge){return ge.resolve||{}}function os(ge){const Ne=ge.children.map(Ce=>os(Ce)).flat();return[ge,...Ne]}function Pc(ge){return(0,$.n)(Ne=>{const Ce=ge(Ne);return Ce?(0,S.H)(Ce).pipe((0,Y.T)(()=>Ne)):(0,l.of)(Ne)})}let Ll=(()=>{class ge{buildTitle(Ce){let ze,gt=Ce.root;for(;void 0!==gt;)ze=this.getResolvedTitleForRoute(gt)??ze,gt=gt.children.find(Ot=>Ot.outlet===at);return ze}getResolvedTitleForRoute(Ce){return Ce.data[Ye]}static{this.\u0275fac=function(ze){return new(ze||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>(0,e.WQX)(il),providedIn:"root"})}}return ge})(),il=(()=>{class ge extends Ll{constructor(Ce){super(),this.title=Ce}updateTitle(Ce){const ze=this.buildTitle(Ce);void 0!==ze&&this.title.setTitle(ze)}static{this.\u0275fac=function(ze){return new(ze||ge)(e.KVO(Ie.hE))}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();const ss=new e.nKC("",{providedIn:"root",factory:()=>({})}),Ps=new e.nKC("");let lt=(()=>{class ge{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.WQX)(e.Ql9)}loadComponent(Ce){if(this.componentLoaders.get(Ce))return this.componentLoaders.get(Ce);if(Ce._loadedComponent)return(0,l.of)(Ce._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Ce);const ze=se(Ce.loadComponent()).pipe((0,Y.T)(J),(0,be.M)(Ot=>{this.onLoadEndListener&&this.onLoadEndListener(Ce),Ce._loadedComponent=Ot}),(0,v.j)(()=>{this.componentLoaders.delete(Ce)})),gt=new F.G(ze,()=>new V.B).pipe((0,z.B)());return this.componentLoaders.set(Ce,gt),gt}loadChildren(Ce,ze){if(this.childrenLoaders.get(ze))return this.childrenLoaders.get(ze);if(ze._loadedRoutes)return(0,l.of)({routes:ze._loadedRoutes,injector:ze._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(ze);const Ot=function Rt(ge,Ne,Ce,ze){return se(ge.loadChildren()).pipe((0,Y.T)(J),(0,ae.Z)(gt=>gt instanceof e.Co$||Array.isArray(gt)?(0,l.of)(gt):(0,S.H)(Ne.compileModuleAsync(gt))),(0,Y.T)(gt=>{ze&&ze(ge);let Ot,Jt,wi=!1;return Array.isArray(gt)?(Jt=gt,!0):(Ot=gt.create(Ce).injector,Jt=Ot.get(Ps,[],{optional:!0,self:!0}).flat()),{routes:Jt.map(ro),injector:Ot}}))}(ze,this.compiler,Ce,this.onLoadEndListener).pipe((0,v.j)(()=>{this.childrenLoaders.delete(ze)})),Jt=new F.G(Ot,()=>new V.B).pipe((0,z.B)());return this.childrenLoaders.set(ze,Jt),Jt}static{this.\u0275fac=function(ze){return new(ze||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();function J(ge){return function At(ge){return ge&&"object"==typeof ge&&"default"in ge}(ge)?ge.default:ge}let He=(()=>{class ge{static{this.\u0275fac=function(ze){return new(ze||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>(0,e.WQX)(Te),providedIn:"root"})}}return ge})(),Te=(()=>{class ge{shouldProcessUrl(Ce){return!0}extract(Ce){return Ce}merge(Ce,ze){return Ce}static{this.\u0275fac=function(ze){return new(ze||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();const Ge=new e.nKC(""),St=new e.nKC("");function qt(ge,Ne,Ce){const ze=ge.get(St),gt=ge.get(G.qQ);return ge.get(e.SKi).runOutsideAngular(()=>{if(!gt.startViewTransition||ze.skipNextTransition)return ze.skipNextTransition=!1,new Promise(rn=>setTimeout(rn));let Ot;const Jt=new Promise(rn=>{Ot=rn}),wi=gt.startViewTransition(()=>(Ot(),function hi(ge){return new Promise(Ne=>{(0,e.mal)(Ne,{injector:ge})})}(ge))),{onViewTransitionCreated:gi}=ze;return gi&&(0,e.N4e)(ge,()=>gi({transition:wi,from:Ne,to:Ce})),Jt})}const Si=new e.nKC("");let tn=(()=>{class ge{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new V.B,this.transitionAbortSubject=new V.B,this.configLoader=(0,e.WQX)(lt),this.environmentInjector=(0,e.WQX)(e.uvJ),this.urlSerializer=(0,e.WQX)(ut),this.rootContexts=(0,e.WQX)(ar),this.location=(0,e.WQX)(G.aZ),this.inputBindingEnabled=null!==(0,e.WQX)(Ma,{optional:!0}),this.titleStrategy=(0,e.WQX)(Ll),this.options=(0,e.WQX)(ss,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,e.WQX)(He),this.createViewTransition=(0,e.WQX)(Ge,{optional:!0}),this.navigationErrorHandler=(0,e.WQX)(Si,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,l.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=gt=>this.events.next(new pi(gt)),this.configLoader.onLoadStartListener=gt=>this.events.next(new Fn(gt))}complete(){this.transitions?.complete()}handleNavigationRequest(Ce){const ze=++this.navigationId;this.transitions?.next({...this.transitions.value,...Ce,id:ze})}setupNavigations(Ce,ze,gt){return this.transitions=new x.t({id:0,currentUrlTree:ze,currentRawUrl:ze,extractedUrl:this.urlHandlingStrategy.extract(ze),urlAfterRedirects:this.urlHandlingStrategy.extract(ze),rawUrl:ze,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Dt,restoredState:null,currentSnapshot:gt.snapshot,targetSnapshot:null,currentRouterState:gt,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ve.p)(Ot=>0!==Ot.id),(0,Y.T)(Ot=>({...Ot,extractedUrl:this.urlHandlingStrategy.extract(Ot.rawUrl)})),(0,$.n)(Ot=>{let Jt=!1,wi=!1;return(0,l.of)(Ot).pipe((0,$.n)(gi=>{if(this.navigationId>Ot.id)return this.cancelNavigationTransition(Ot,"",Ae.SupersededByNewNavigation),k.w;this.currentTransition=Ot,this.currentNavigation={id:gi.id,initialUrl:gi.rawUrl,extractedUrl:gi.extractedUrl,trigger:gi.source,extras:gi.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const rn=!Ce.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!rn&&"reload"!==(gi.extras.onSameUrlNavigation??Ce.onSameUrlNavigation)){const Zn="";return this.events.next(new Ci(gi.id,this.urlSerializer.serialize(gi.rawUrl),Zn,mt.IgnoredSameUrlNavigation)),gi.resolve(!1),k.w}if(this.urlHandlingStrategy.shouldProcessUrl(gi.rawUrl))return(0,l.of)(gi).pipe((0,$.n)(Zn=>{const _r=this.transitions?.getValue();return this.events.next(new q(Zn.id,this.urlSerializer.serialize(Zn.extractedUrl),Zn.source,Zn.restoredState)),_r!==this.transitions?.getValue()?k.w:Promise.resolve(Zn)}),function gc(ge,Ne,Ce,ze,gt,Ot){return(0,ae.Z)(Jt=>function mc(ge,Ne,Ce,ze,gt,Ot,Jt="emptyOnly"){return new Zs(ge,Ne,Ce,ze,gt,Jt,Ot).recognize()}(ge,Ne,Ce,ze,Jt.extractedUrl,gt,Ot).pipe((0,Y.T)(({state:wi,tree:gi})=>({...Jt,targetSnapshot:wi,urlAfterRedirects:gi}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Ce.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,be.M)(Zn=>{Ot.targetSnapshot=Zn.targetSnapshot,Ot.urlAfterRedirects=Zn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Zn.urlAfterRedirects};const _r=new Dn(Zn.id,this.urlSerializer.serialize(Zn.extractedUrl),this.urlSerializer.serialize(Zn.urlAfterRedirects),Zn.targetSnapshot);this.events.next(_r)}));if(rn&&this.urlHandlingStrategy.shouldProcessUrl(gi.currentRawUrl)){const{id:Zn,extractedUrl:_r,source:ys,restoredState:Or,extras:Ya}=gi,ls=new q(Zn,this.urlSerializer.serialize(_r),ys,Or);this.events.next(ls);const xc=yo(this.rootComponentType).snapshot;return this.currentTransition=Ot={...gi,targetSnapshot:xc,urlAfterRedirects:_r,extras:{...Ya,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=_r,(0,l.of)(Ot)}{const Zn="";return this.events.next(new Ci(gi.id,this.urlSerializer.serialize(gi.extractedUrl),Zn,mt.IgnoredByUrlHandlingStrategy)),gi.resolve(!1),k.w}}),(0,be.M)(gi=>{const rn=new Hn(gi.id,this.urlSerializer.serialize(gi.extractedUrl),this.urlSerializer.serialize(gi.urlAfterRedirects),gi.targetSnapshot);this.events.next(rn)}),(0,Y.T)(gi=>(this.currentTransition=Ot={...gi,guards:ni(gi.targetSnapshot,gi.currentSnapshot,this.rootContexts)},Ot)),function Be(ge,Ne){return(0,ae.Z)(Ce=>{const{targetSnapshot:ze,currentSnapshot:gt,guards:{canActivateChecks:Ot,canDeactivateChecks:Jt}}=Ce;return 0===Jt.length&&0===Ot.length?(0,l.of)({...Ce,guardsResult:!0}):function Tt(ge,Ne,Ce,ze){return(0,S.H)(ge).pipe((0,ae.Z)(gt=>function Wa(ge,Ne,Ce,ze,gt){const Ot=Ne&&Ne.routeConfig?Ne.routeConfig.canDeactivate:null;if(!Ot||0===Ot.length)return(0,l.of)(!0);const Jt=Ot.map(wi=>{const gi=Wo(Ne)??gt,rn=bi(wi,gi);return se(function Eo(ge){return ge&&Pa(ge.canDeactivate)}(rn)?rn.canDeactivate(ge,Ne,Ce,ze):(0,e.N4e)(gi,()=>rn(ge,Ne,Ce,ze))).pipe((0,ye.$)())});return(0,l.of)(Jt).pipe(ft())}(gt.component,gt.route,Ce,Ne,ze)),(0,ye.$)(gt=>!0!==gt,!0))}(Jt,ze,gt,ge).pipe((0,ae.Z)(wi=>wi&&function uo(ge){return"boolean"==typeof ge}(wi)?function ti(ge,Ne,Ce,ze){return(0,S.H)(Ne).pipe((0,ue.H)(gt=>(0,d.x)(function Qn(ge,Ne){return null!==ge&&Ne&&Ne(new Oi(ge)),(0,l.of)(!0)}(gt.route.parent,ze),function fn(ge,Ne){return null!==ge&&Ne&&Ne(new yi(ge)),(0,l.of)(!0)}(gt.route,ze),function br(ge,Ne,Ce){const ze=Ne[Ne.length-1],Ot=Ne.slice(0,Ne.length-1).reverse().map(Jt=>function ki(ge){const Ne=ge.routeConfig?ge.routeConfig.canActivateChild:null;return Ne&&0!==Ne.length?{node:ge,guards:Ne}:null}(Jt)).filter(Jt=>null!==Jt).map(Jt=>(0,w.v)(()=>{const wi=Jt.guards.map(gi=>{const rn=Wo(Jt.node)??Ce,Sn=bi(gi,rn);return se(function $s(ge){return ge&&Pa(ge.canActivateChild)}(Sn)?Sn.canActivateChild(ze,ge):(0,e.N4e)(rn,()=>Sn(ze,ge))).pipe((0,ye.$)())});return(0,l.of)(wi).pipe(ft())}));return(0,l.of)(Ot).pipe(ft())}(ge,gt.path,Ce),function Ho(ge,Ne,Ce){const ze=Ne.routeConfig?Ne.routeConfig.canActivate:null;if(!ze||0===ze.length)return(0,l.of)(!0);const gt=ze.map(Ot=>(0,w.v)(()=>{const Jt=Wo(Ne)??Ce,wi=bi(Ot,Jt);return se(function Xo(ge){return ge&&Pa(ge.canActivate)}(wi)?wi.canActivate(Ne,ge):(0,e.N4e)(Jt,()=>wi(Ne,ge))).pipe((0,ye.$)())}));return(0,l.of)(gt).pipe(ft())}(ge,gt.route,Ce))),(0,ye.$)(gt=>!0!==gt,!0))}(ze,Ot,ge,Ne):(0,l.of)(wi)),(0,Y.T)(wi=>({...Ce,guardsResult:wi})))})}(this.environmentInjector,gi=>this.events.next(gi)),(0,be.M)(gi=>{if(Ot.guardsResult=gi.guardsResult,gi.guardsResult&&"boolean"!=typeof gi.guardsResult)throw Ra(0,gi.guardsResult);const rn=new On(gi.id,this.urlSerializer.serialize(gi.extractedUrl),this.urlSerializer.serialize(gi.urlAfterRedirects),gi.targetSnapshot,!!gi.guardsResult);this.events.next(rn)}),(0,ve.p)(gi=>!!gi.guardsResult||(this.cancelNavigationTransition(gi,"",Ae.GuardRejected),!1)),Pc(gi=>{if(gi.guards.canActivateChecks.length)return(0,l.of)(gi).pipe((0,be.M)(rn=>{const Sn=new Xn(rn.id,this.urlSerializer.serialize(rn.extractedUrl),this.urlSerializer.serialize(rn.urlAfterRedirects),rn.targetSnapshot);this.events.next(Sn)}),(0,$.n)(rn=>{let Sn=!1;return(0,l.of)(rn).pipe(function _c(ge,Ne){return(0,ae.Z)(Ce=>{const{targetSnapshot:ze,guards:{canActivateChecks:gt}}=Ce;if(!gt.length)return(0,l.of)(Ce);const Ot=new Set(gt.map(gi=>gi.route)),Jt=new Set;for(const gi of Ot)if(!Jt.has(gi))for(const rn of os(gi))Jt.add(rn);let wi=0;return(0,S.H)(Jt).pipe((0,ue.H)(gi=>Ot.has(gi)?function To(ge,Ne,Ce,ze){const gt=ge.routeConfig,Ot=ge._resolve;return void 0!==gt?.title&&!Co(gt)&&(Ot[Ye]=gt.title),function Fs(ge,Ne,Ce,ze){const gt=de(ge);if(0===gt.length)return(0,l.of)({});const Ot={};return(0,S.H)(gt).pipe((0,ae.Z)(Jt=>function tl(ge,Ne,Ce,ze){const gt=Wo(Ne)??ze,Ot=bi(ge,gt);return se(Ot.resolve?Ot.resolve(Ne,Ce):(0,e.N4e)(gt,()=>Ot(Ne,Ce)))}(ge[Jt],Ne,Ce,ze).pipe((0,ye.$)(),(0,be.M)(wi=>{if(wi instanceof Ea)throw Ra(new vt,wi);Ot[Jt]=wi}))),M(1),(0,r.u)(Ot),(0,D.W)(Jt=>aa(Jt)?k.w:(0,T.$)(Jt)))}(Ot,ge,Ne,ze).pipe((0,Y.T)(Jt=>(ge._resolvedData=Jt,ge.data=wa(ge,ge.parent,Ce).resolve,null)))}(gi,ze,ge,Ne):(gi.data=wa(gi,gi.parent,ge).resolve,(0,l.of)(void 0))),(0,be.M)(()=>wi++),M(1),(0,ae.Z)(gi=>wi===Jt.size?(0,l.of)(Ce):k.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,be.M)({next:()=>Sn=!0,complete:()=>{Sn||this.cancelNavigationTransition(rn,"",Ae.NoDataFromResolver)}}))}),(0,be.M)(rn=>{const Sn=new ir(rn.id,this.urlSerializer.serialize(rn.extractedUrl),this.urlSerializer.serialize(rn.urlAfterRedirects),rn.targetSnapshot);this.events.next(Sn)}))}),Pc(gi=>{const rn=Sn=>{const Zn=[];Sn.routeConfig?.loadComponent&&!Sn.routeConfig._loadedComponent&&Zn.push(this.configLoader.loadComponent(Sn.routeConfig).pipe((0,be.M)(_r=>{Sn.component=_r}),(0,Y.T)(()=>{})));for(const _r of Sn.children)Zn.push(...rn(_r));return Zn};return(0,m.z)(rn(gi.targetSnapshot.root)).pipe((0,c.U)(null),(0,Z.s)(1))}),Pc(()=>this.afterPreactivation()),(0,$.n)(()=>{const{currentSnapshot:gi,targetSnapshot:rn}=Ot,Sn=this.createViewTransition?.(this.environmentInjector,gi.root,rn.root);return Sn?(0,S.H)(Sn).pipe((0,Y.T)(()=>Ot)):(0,l.of)(Ot)}),(0,Y.T)(gi=>{const rn=function ho(ge,Ne,Ce){const ze=Po(ge,Ne._root,Ce?Ce._root:void 0);return new Uo(ze,Ne)}(Ce.routeReuseStrategy,gi.targetSnapshot,gi.currentRouterState);return this.currentTransition=Ot={...gi,targetRouterState:rn},this.currentNavigation.targetRouterState=rn,Ot}),(0,be.M)(()=>{this.events.next(new Ni)}),((ge,Ne,Ce,ze)=>(0,Y.T)(gt=>(new Ht(Ne,gt.targetRouterState,gt.currentRouterState,Ce,ze).activate(ge),gt)))(this.rootContexts,Ce.routeReuseStrategy,gi=>this.events.next(gi),this.inputBindingEnabled),(0,Z.s)(1),(0,be.M)({next:gi=>{Jt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new it(gi.id,this.urlSerializer.serialize(gi.extractedUrl),this.urlSerializer.serialize(gi.urlAfterRedirects))),this.titleStrategy?.updateTitle(gi.targetRouterState.snapshot),gi.resolve(!0)},complete:()=>{Jt=!0}}),(0,N.Q)(this.transitionAbortSubject.pipe((0,be.M)(gi=>{throw gi}))),(0,v.j)(()=>{!Jt&&!wi&&this.cancelNavigationTransition(Ot,"",Ae.SupersededByNewNavigation),this.currentTransition?.id===Ot.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,D.W)(gi=>{if(wi=!0,ma(gi))this.events.next(new It(Ot.id,this.urlSerializer.serialize(Ot.extractedUrl),gi.message,gi.cancellationCode)),function Lr(ge){return ma(ge)&&zt(ge.url)}(gi)?this.events.next(new ji(gi.url,gi.navigationBehaviorOptions)):Ot.resolve(!1);else{const rn=new un(Ot.id,this.urlSerializer.serialize(Ot.extractedUrl),gi,Ot.targetSnapshot??void 0);try{const Sn=(0,e.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(rn));if(Sn instanceof Ea){const{message:Zn,cancellationCode:_r}=Ra(0,Sn);this.events.next(new It(Ot.id,this.urlSerializer.serialize(Ot.extractedUrl),Zn,_r)),this.events.next(new ji(Sn.redirectTo,Sn.navigationBehaviorOptions))}else{this.events.next(rn);const Zn=Ce.errorHandler(gi);Ot.resolve(!!Zn)}}catch(Sn){this.options.resolveNavigationPromiseOnError?Ot.resolve(!1):Ot.reject(Sn)}}return k.w}))}))}cancelNavigationTransition(Ce,ze,gt){const Ot=new It(Ce.id,this.urlSerializer.serialize(Ce.extractedUrl),ze,gt);this.events.next(Ot),Ce.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{this.\u0275fac=function(ze){return new(ze||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();function pn(ge){return ge!==Dt}let yn=(()=>{class ge{static{this.\u0275fac=function(ze){return new(ze||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>(0,e.WQX)(hr),providedIn:"root"})}}return ge})();class An{shouldDetach(Ne){return!1}store(Ne,Ce){}shouldAttach(Ne){return!1}retrieve(Ne){return null}shouldReuseRoute(Ne,Ce){return Ne.routeConfig===Ce.routeConfig}}let hr=(()=>{class ge extends An{static{this.\u0275fac=(()=>{let Ce;return function(gt){return(Ce||(Ce=e.xGo(ge)))(gt||ge)}})()}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})(),er=(()=>{class ge{static{this.\u0275fac=function(ze){return new(ze||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>(0,e.WQX)(yr),providedIn:"root"})}}return ge})(),yr=(()=>{class ge extends er{constructor(){super(...arguments),this.location=(0,e.WQX)(G.aZ),this.urlSerializer=(0,e.WQX)(ut),this.options=(0,e.WQX)(ss,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,e.WQX)(He),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Qe,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=yo(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(Ce){return this.location.subscribe(ze=>{"popstate"===ze.type&&Ce(ze.url,ze.state)})}handleRouterEvent(Ce,ze){if(Ce instanceof q)this.stateMemento=this.createStateMemento();else if(Ce instanceof Ci)this.rawUrlTree=ze.initialUrl;else if(Ce instanceof Dn){if("eager"===this.urlUpdateStrategy&&!ze.extras.skipLocationChange){const gt=this.urlHandlingStrategy.merge(ze.finalUrl,ze.initialUrl);this.setBrowserUrl(gt,ze)}}else Ce instanceof Ni?(this.currentUrlTree=ze.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(ze.finalUrl,ze.initialUrl),this.routerState=ze.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ze.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ze))):Ce instanceof It&&(Ce.code===Ae.GuardRejected||Ce.code===Ae.NoDataFromResolver)?this.restoreHistory(ze):Ce instanceof un?this.restoreHistory(ze,!0):Ce instanceof it&&(this.lastSuccessfulId=Ce.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Ce,ze){const gt=this.urlSerializer.serialize(Ce);if(this.location.isCurrentPathEqualTo(gt)||ze.extras.replaceUrl){const Jt={...ze.extras.state,...this.generateNgRouterState(ze.id,this.browserPageId)};this.location.replaceState(gt,"",Jt)}else{const Ot={...ze.extras.state,...this.generateNgRouterState(ze.id,this.browserPageId+1)};this.location.go(gt,"",Ot)}}restoreHistory(Ce,ze=!1){if("computed"===this.canceledNavigationResolution){const Ot=this.currentPageId-this.browserPageId;0!==Ot?this.location.historyGo(Ot):this.currentUrlTree===Ce.finalUrl&&0===Ot&&(this.resetState(Ce),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(ze&&this.resetState(Ce),this.resetUrlToCurrentUrlTree())}resetState(Ce){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Ce.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Ce,ze){return"computed"===this.canceledNavigationResolution?{navigationId:Ce,\u0275routerPageId:ze}:{navigationId:Ce}}static{this.\u0275fac=(()=>{let Ce;return function(gt){return(Ce||(Ce=e.xGo(ge)))(gt||ge)}})()}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();var gr=function(ge){return ge[ge.COMPLETE=0]="COMPLETE",ge[ge.FAILED=1]="FAILED",ge[ge.REDIRECTING=2]="REDIRECTING",ge}(gr||{});function Mr(ge,Ne){ge.events.pipe((0,ve.p)(Ce=>Ce instanceof it||Ce instanceof It||Ce instanceof un||Ce instanceof Ci),(0,Y.T)(Ce=>Ce instanceof it||Ce instanceof Ci?gr.COMPLETE:Ce instanceof It&&(Ce.code===Ae.Redirect||Ce.code===Ae.SupersededByNewNavigation)?gr.REDIRECTING:gr.FAILED),(0,ve.p)(Ce=>Ce!==gr.REDIRECTING),(0,Z.s)(1)).subscribe(()=>{Ne()})}function oa(ge){throw ge}const Bn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let an=(()=>{class ge{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.console=(0,e.WQX)(e.H3F),this.stateManager=(0,e.WQX)(er),this.options=(0,e.WQX)(ss,{optional:!0})||{},this.pendingTasks=(0,e.WQX)(e.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,e.WQX)(tn),this.urlSerializer=(0,e.WQX)(ut),this.location=(0,e.WQX)(G.aZ),this.urlHandlingStrategy=(0,e.WQX)(He),this._events=new V.B,this.errorHandler=this.options.errorHandler||oa,this.navigated=!1,this.routeReuseStrategy=(0,e.WQX)(yn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,e.WQX)(Ps,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,e.WQX)(Ma,{optional:!0}),this.eventsSubscription=new U.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:Ce=>{this.console.warn(Ce)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const Ce=this.navigationTransitions.events.subscribe(ze=>{try{const gt=this.navigationTransitions.currentTransition,Ot=this.navigationTransitions.currentNavigation;if(null!==gt&&null!==Ot)if(this.stateManager.handleRouterEvent(ze,Ot),ze instanceof It&&ze.code!==Ae.Redirect&&ze.code!==Ae.SupersededByNewNavigation)this.navigated=!0;else if(ze instanceof it)this.navigated=!0;else if(ze instanceof ji){const Jt=ze.navigationBehaviorOptions,wi=this.urlHandlingStrategy.merge(ze.url,gt.currentRawUrl),gi={info:gt.extras.info,skipLocationChange:gt.extras.skipLocationChange,replaceUrl:gt.extras.replaceUrl||"eager"===this.urlUpdateStrategy||pn(gt.source),...Jt};this.scheduleNavigation(wi,Dt,null,gi,{resolve:gt.resolve,reject:gt.reject,promise:gt.promise})}(function Wr(ge){return!(ge instanceof Ni||ge instanceof ji)})(ze)&&this._events.next(ze)}catch(gt){this.navigationTransitions.transitionAbortSubject.next(gt)}});this.eventsSubscription.add(Ce)}resetRootComponentType(Ce){this.routerState.root.component=Ce,this.navigationTransitions.rootComponentType=Ce}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Dt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((Ce,ze)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(Ce,"popstate",ze)},0)})}navigateToSyncWithBrowser(Ce,ze,gt){const Ot={replaceUrl:!0},Jt=gt?.navigationId?gt:null;if(gt){const gi={...gt};delete gi.navigationId,delete gi.\u0275routerPageId,0!==Object.keys(gi).length&&(Ot.state=gi)}const wi=this.parseUrl(Ce);this.scheduleNavigation(wi,ze,Jt,Ot)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Ce){this.config=Ce.map(ro),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(Ce,ze={}){const{relativeTo:gt,queryParams:Ot,fragment:Jt,queryParamsHandling:wi,preserveFragment:gi}=ze,rn=gi?this.currentUrlTree.fragment:Jt;let Zn,Sn=null;switch(wi){case"merge":Sn={...this.currentUrlTree.queryParams,...Ot};break;case"preserve":Sn=this.currentUrlTree.queryParams;break;default:Sn=Ot||null}null!==Sn&&(Sn=this.removeEmptyProps(Sn));try{Zn=ci(gt?gt.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Ce[0]||"/"!==Ce[0][0])&&(Ce=[]),Zn=this.currentUrlTree.root}return ui(Zn,Ce,Sn,rn??null)}navigateByUrl(Ce,ze={skipLocationChange:!1}){const gt=zt(Ce)?Ce:this.parseUrl(Ce),Ot=this.urlHandlingStrategy.merge(gt,this.rawUrlTree);return this.scheduleNavigation(Ot,Dt,null,ze)}navigate(Ce,ze={skipLocationChange:!1}){return function fr(ge){for(let Ne=0;Ne<ge.length;Ne++)if(null==ge[Ne])throw new e.wOt(4008,!1)}(Ce),this.navigateByUrl(this.createUrlTree(Ce,ze),ze)}serializeUrl(Ce){return this.urlSerializer.serialize(Ce)}parseUrl(Ce){try{return this.urlSerializer.parse(Ce)}catch{return this.urlSerializer.parse("/")}}isActive(Ce,ze){let gt;if(gt=!0===ze?{...Bn}:!1===ze?{...zi}:ze,zt(Ce))return et(this.currentUrlTree,Ce,gt);const Ot=this.parseUrl(Ce);return et(this.currentUrlTree,Ot,gt)}removeEmptyProps(Ce){return Object.entries(Ce).reduce((ze,[gt,Ot])=>(null!=Ot&&(ze[gt]=Ot),ze),{})}scheduleNavigation(Ce,ze,gt,Ot,Jt){if(this.disposed)return Promise.resolve(!1);let wi,gi,rn;Jt?(wi=Jt.resolve,gi=Jt.reject,rn=Jt.promise):rn=new Promise((Zn,_r)=>{wi=Zn,gi=_r});const Sn=this.pendingTasks.add();return Mr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Sn))}),this.navigationTransitions.handleNavigationRequest({source:ze,restoredState:gt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Ce,extras:Ot,resolve:wi,reject:gi,promise:rn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),rn.catch(Zn=>Promise.reject(Zn))}static{this.\u0275fac=function(ze){return new(ze||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})(),da=(()=>{class ge{constructor(Ce,ze,gt,Ot,Jt,wi){this.router=Ce,this.route=ze,this.tabIndexAttribute=gt,this.renderer=Ot,this.el=Jt,this.locationStrategy=wi,this.href=null,this.commands=null,this.onChanges=new V.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const gi=Jt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===gi||"area"===gi,this.isAnchorElement?this.subscription=Ce.events.subscribe(rn=>{rn instanceof it&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Ce){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Ce)}ngOnChanges(Ce){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Ce){null!=Ce?(this.commands=Array.isArray(Ce)?Ce:[Ce],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Ce,ze,gt,Ot,Jt){const wi=this.urlTree;return!!(null===wi||this.isAnchorElement&&(0!==Ce||ze||gt||Ot||Jt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(wi,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const Ce=this.urlTree;this.href=null!==Ce&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Ce)):null;const ze=null===this.href?null:(0,e.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",ze)}applyAttributeValue(Ce,ze){const gt=this.renderer,Ot=this.el.nativeElement;null!==ze?gt.setAttribute(Ot,Ce,ze):gt.removeAttribute(Ot,Ce)}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{this.\u0275fac=function(ze){return new(ze||ge)(e.rXU(an),e.rXU(kr),e.kS0("tabindex"),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(G.hb))}}static{this.\u0275dir=e.FsC({type:ge,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(ze,gt){1&ze&&e.bIt("click",function(Jt){return gt.onClick(Jt.button,Jt.ctrlKey,Jt.shiftKey,Jt.altKey,Jt.metaKey)}),2&ze&&e.BMQ("target",gt.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",e.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",e.L39],replaceUrl:[2,"replaceUrl","replaceUrl",e.L39],routerLink:"routerLink"},standalone:!0,features:[e.GFd,e.OA$]})}}return ge})(),Xa=(()=>{class ge{get isActive(){return this._isActive}constructor(Ce,ze,gt,Ot,Jt){this.router=Ce,this.element=ze,this.renderer=gt,this.cdr=Ot,this.link=Jt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.bkB,this.routerEventsSubscription=Ce.events.subscribe(wi=>{wi instanceof it&&this.update()})}ngAfterContentInit(){(0,l.of)(this.links.changes,(0,l.of)(null)).pipe((0,ne.U)()).subscribe(Ce=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Ce=[...this.links.toArray(),this.link].filter(ze=>!!ze).map(ze=>ze.onChanges);this.linkInputChangesSubscription=(0,S.H)(Ce).pipe((0,ne.U)()).subscribe(ze=>{this._isActive!==this.isLinkActive(this.router)(ze)&&this.update()})}set routerLinkActive(Ce){const ze=Array.isArray(Ce)?Ce:Ce.split(" ");this.classes=ze.filter(gt=>!!gt)}ngOnChanges(Ce){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const Ce=this.hasActiveLinks();this.classes.forEach(ze=>{Ce?this.renderer.addClass(this.element.nativeElement,ze):this.renderer.removeClass(this.element.nativeElement,ze)}),Ce&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==Ce&&(this._isActive=Ce,this.cdr.markForCheck(),this.isActiveChange.emit(Ce))})}isLinkActive(Ce){const ze=function vc(ge){return!!ge.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return gt=>{const Ot=gt.urlTree;return!!Ot&&Ce.isActive(Ot,ze)}}hasActiveLinks(){const Ce=this.isLinkActive(this.router);return this.link&&Ce(this.link)||this.links.some(Ce)}static{this.\u0275fac=function(ze){return new(ze||ge)(e.rXU(an),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(da,8))}}static{this.\u0275dir=e.FsC({type:ge,selectors:[["","routerLinkActive",""]],contentQueries:function(ze,gt,Ot){if(1&ze&&e.wni(Ot,da,5),2&ze){let Jt;e.mGM(Jt=e.lsd())&&(gt.links=Jt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.OA$]})}}return ge})();class Vr{}let jn=(()=>{class ge{constructor(Ce,ze,gt,Ot,Jt){this.router=Ce,this.injector=gt,this.preloadingStrategy=Ot,this.loader=Jt}setUpPreloading(){this.subscription=this.router.events.pipe((0,ve.p)(Ce=>Ce instanceof it),(0,ue.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Ce,ze){const gt=[];for(const Ot of ze){Ot.providers&&!Ot._injector&&(Ot._injector=(0,e.Ol2)(Ot.providers,Ce,`Route: ${Ot.path}`));const Jt=Ot._injector??Ce,wi=Ot._loadedInjector??Jt;(Ot.loadChildren&&!Ot._loadedRoutes&&void 0===Ot.canLoad||Ot.loadComponent&&!Ot._loadedComponent)&>.push(this.preloadConfig(Jt,Ot)),(Ot.children||Ot._loadedRoutes)&>.push(this.processRoutes(wi,Ot.children??Ot._loadedRoutes))}return(0,S.H)(gt).pipe((0,ne.U)())}preloadConfig(Ce,ze){return this.preloadingStrategy.preload(ze,()=>{let gt;gt=ze.loadChildren&&void 0===ze.canLoad?this.loader.loadChildren(Ce,ze):(0,l.of)(null);const Ot=gt.pipe((0,ae.Z)(Jt=>null===Jt?(0,l.of)(void 0):(ze._loadedRoutes=Jt.routes,ze._loadedInjector=Jt.injector,this.processRoutes(Jt.injector??Ce,Jt.routes))));if(ze.loadComponent&&!ze._loadedComponent){const Jt=this.loader.loadComponent(ze);return(0,S.H)([Ot,Jt]).pipe((0,ne.U)())}return Ot})}static{this.\u0275fac=function(ze){return new(ze||ge)(e.KVO(an),e.KVO(e.Ql9),e.KVO(e.uvJ),e.KVO(Vr),e.KVO(lt))}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();const bc=new e.nKC("");let Il=(()=>{class ge{constructor(Ce,ze,gt,Ot,Jt={}){this.urlSerializer=Ce,this.transitions=ze,this.viewportScroller=gt,this.zone=Ot,this.options=Jt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,e.WQX)(e.uvJ),Jt.scrollPositionRestoration||="disabled",Jt.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(Ce=>{Ce instanceof q?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Ce.navigationTrigger,this.restoredId=Ce.restoredState?Ce.restoredState.navigationId:0):Ce instanceof it?(this.lastId=Ce.id,this.scheduleScrollEvent(Ce,this.urlSerializer.parse(Ce.urlAfterRedirects).fragment)):Ce instanceof Ci&&Ce.code===mt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Ce,this.urlSerializer.parse(Ce.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Ce=>{Ce instanceof vi&&(Ce.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Ce.position):Ce.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Ce.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Ce,ze){var gt=this;this.zone.runOutsideAngular((0,t.A)(function*(){yield new Promise(Ot=>{setTimeout(()=>{Ot()}),(0,e.mal)(()=>{Ot()},{injector:gt.environmentInjector})}),gt.zone.run(()=>{gt.transitions.events.next(new vi(Ce,"popstate"===gt.lastSource?gt.store[gt.restoredId]:null,ze))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(ze){e.QTQ()}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac})}}return ge})();function mo(ge,Ne){return{\u0275kind:ge,\u0275providers:Ne}}function Ui(){const ge=(0,e.WQX)(e.zZn);return Ne=>{const Ce=ge.get(e.o8S);if(Ne!==Ce.components[0])return;const ze=ge.get(an),gt=ge.get(Vc);1===ge.get(Vs)&&ze.initialNavigation(),ge.get($o,null,e.$GK.Optional)?.setUpPreloading(),ge.get(bc,null,e.$GK.Optional)?.init(),ze.resetRootComponentType(Ce.componentTypes[0]),gt.closed||(gt.next(),gt.complete(),gt.unsubscribe())}}const Vc=new e.nKC("",{factory:()=>new V.B}),Vs=new e.nKC("",{providedIn:"root",factory:()=>1}),$o=new e.nKC("");function Rl(ge){return mo(0,[{provide:$o,useExisting:jn},{provide:Vr,useExisting:ge}])}function va(ge){return mo(9,[{provide:Ge,useValue:qt},{provide:St,useValue:{skipNextTransition:!!ge?.skipInitialTransition,...ge}}])}const Hs=new e.nKC("ROUTER_FORROOT_GUARD"),Ja=[G.aZ,{provide:ut,useClass:vt},an,ar,{provide:kr,useFactory:function Xr(ge){return ge.routerState.root},deps:[an]},lt,[]];let En=(()=>{class ge{constructor(Ce){}static forRoot(Ce,ze){return{ngModule:ge,providers:[Ja,[],{provide:Ps,multi:!0,useValue:Ce},{provide:Hs,useFactory:Ki,deps:[[an,new e.Xx1,new e.kdw]]},{provide:ss,useValue:ze||{}},ze?.useHash?{provide:G.hb,useClass:G.fw}:{provide:G.hb,useClass:G.Sm},{provide:bc,useFactory:()=>{const ge=(0,e.WQX)(G.Xr),Ne=(0,e.WQX)(e.SKi),Ce=(0,e.WQX)(ss),ze=(0,e.WQX)(tn),gt=(0,e.WQX)(ut);return Ce.scrollOffset&&ge.setOffset(Ce.scrollOffset),new Il(gt,ze,ge,Ne,Ce)}},ze?.preloadingStrategy?Rl(ze.preloadingStrategy).\u0275providers:[],ze?.initialNavigation?mr(ze):[],ze?.bindToComponentInputs?mo(8,[lo,{provide:Ma,useExisting:lo}]).\u0275providers:[],ze?.enableViewTransitions?va().\u0275providers:[],[{provide:sa,useFactory:Ui},{provide:e.iLQ,multi:!0,useExisting:sa}]]}}static forChild(Ce){return{ngModule:ge,providers:[{provide:Ps,multi:!0,useValue:Ce}]}}static{this.\u0275fac=function(ze){return new(ze||ge)(e.KVO(Hs,8))}}static{this.\u0275mod=e.$C({type:ge})}static{this.\u0275inj=e.G2t({})}}return ge})();function Ki(ge){return"guarded"}function mr(ge){return["disabled"===ge.initialNavigation?mo(3,[{provide:e.hnV,multi:!0,useFactory:()=>{const Ne=(0,e.WQX)(an);return()=>{Ne.setUpLocationChangeListener()}}},{provide:Vs,useValue:2}]).\u0275providers:[],"enabledBlocking"===ge.initialNavigation?mo(2,[{provide:Vs,useValue:0},{provide:e.hnV,multi:!0,deps:[e.zZn],useFactory:Ne=>{const Ce=Ne.get(G.hj,Promise.resolve());return()=>Ce.then(()=>new Promise(ze=>{const gt=Ne.get(an),Ot=Ne.get(Vc);Mr(gt,()=>{ze(!0)}),Ne.get(tn).afterPreactivation=()=>(ze(!0),Ot.closed?(0,l.of)(void 0):Ot),gt.initialNavigation()}))}}]).\u0275providers:[]]}const sa=new e.nKC("")},60:(Ve,ee,p)=>{"use strict";p.d(ee,{aY:()=>Fs,dX:()=>Ps});var t=p(4438),e=p(177);function C(lt,Rt){var At=Object.keys(lt);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(lt);Rt&&(J=J.filter(function(He){return Object.getOwnPropertyDescriptor(lt,He).enumerable})),At.push.apply(At,J)}return At}function S(lt){for(var Rt=1;Rt<arguments.length;Rt++){var At=null!=arguments[Rt]?arguments[Rt]:{};Rt%2?C(Object(At),!0).forEach(function(J){w(lt,J,At[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(lt,Object.getOwnPropertyDescriptors(At)):C(Object(At)).forEach(function(J){Object.defineProperty(lt,J,Object.getOwnPropertyDescriptor(At,J))})}return lt}function l(lt){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Rt){return typeof Rt}:function(Rt){return Rt&&"function"==typeof Symbol&&Rt.constructor===Symbol&&Rt!==Symbol.prototype?"symbol":typeof Rt})(lt)}function R(lt,Rt){for(var At=0;At<Rt.length;At++){var J=Rt[At];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(lt,J.key,J)}}function w(lt,Rt,At){return Rt in lt?Object.defineProperty(lt,Rt,{value:At,enumerable:!0,configurable:!0,writable:!0}):lt[Rt]=At,lt}function k(lt,Rt){return function U(lt){if(Array.isArray(lt))return lt}(lt)||function Y(lt,Rt){var At=null==lt?null:typeof Symbol<"u"&<[Symbol.iterator]||lt["@@iterator"];if(null!=At){var Ge,St,J=[],He=!0,Te=!1;try{for(At=At.call(lt);!(He=(Ge=At.next()).done)&&(J.push(Ge.value),!Rt||J.length!==Rt);He=!0);}catch(qt){Te=!0,St=qt}finally{try{!He&&null!=At.return&&At.return()}finally{if(Te)throw St}}return J}}(lt,Rt)||$(lt,Rt)||function ve(){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 F(lt){return function V(lt){if(Array.isArray(lt))return Z(lt)}(lt)||function G(lt){if(typeof Symbol<"u"&&null!=lt[Symbol.iterator]||null!=lt["@@iterator"])return Array.from(lt)}(lt)||$(lt)||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 $(lt,Rt){if(lt){if("string"==typeof lt)return Z(lt,Rt);var At=Object.prototype.toString.call(lt).slice(8,-1);if("Object"===At&<.constructor&&(At=lt.constructor.name),"Map"===At||"Set"===At)return Array.from(lt);if("Arguments"===At||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(At))return Z(lt,Rt)}}function Z(lt,Rt){(null==Rt||Rt>lt.length)&&(Rt=lt.length);for(var At=0,J=new Array(Rt);At<Rt;At++)J[At]=lt[At];return J}var ae=function(){},ye={},ue={},be=null,D={mark:ae,measure:ae};try{typeof window<"u"&&(ye=window),typeof document<"u"&&(ue=document),typeof MutationObserver<"u"&&(be=MutationObserver),typeof performance<"u"&&(D=performance)}catch{}var z,N,ne,Ie,at,c=(ye.navigator||{}).userAgent,f=void 0===c?"":c,h=ye,M=ue,L=be,O=D,r=!!M.documentElement&&!!M.head&&"function"==typeof M.addEventListener&&"function"==typeof M.createElement,v=~f.indexOf("MSIE")||~f.indexOf("Trident/"),Ye="___FONT_AWESOME___",re="fa",te="svg-inline--fa",oe="data-fa-i2svg",_e="data-fa-pseudo-element",de="data-fa-pseudo-element-pending",pe="data-prefix",We="data-icon",se="fontawesome-i2svg",fe="async",he=["HTML","HEAD","STYLE","SCRIPT"],et=function(){try{return!0}catch{return!1}}(),Ke="classic",Ct="sharp",_t=[Ke,Ct];function Nt(lt){return new Proxy(lt,{get:function(At,J){return J in At?At[J]:At[Ke]}})}var ke=Nt((w(z={},Ke,{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",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),w(z,Ct,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),z)),Je=Nt((w(N={},Ke,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),w(N,Ct,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),N)),Qe=Nt((w(ne={},Ke,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),w(ne,Ct,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),ne)),nt=Nt((w(Ie={},Ke,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),w(Ie,Ct,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),Ie)),Ue=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,ht="fa-layers-text",tt=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,wt=Nt((w(at={},Ke,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),w(at,Ct,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),at)),ut=[1,2,3,4,5,6,7,8,9,10],vt=ut.concat([11,12,13,14,15,16,17,18,19,20]),Ze=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],jt={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},qe=new Set;Object.keys(Je[Ke]).map(qe.add.bind(qe)),Object.keys(Je[Ct]).map(qe.add.bind(qe));var dt=[].concat(_t,F(qe),["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",jt.GROUP,jt.SWAP_OPACITY,jt.PRIMARY,jt.SECONDARY]).concat(ut.map(function(lt){return"".concat(lt,"x")})).concat(vt.map(function(lt){return"w-".concat(lt)})),Le=h.FontAwesomeConfig||{};M&&"function"==typeof M.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(lt){var Rt=k(lt,2),J=Rt[1],He=function Zt(lt){return""===lt||"false"!==lt&&("true"===lt||lt)}(function Vt(lt){var Rt=M.querySelector("script["+lt+"]");if(Rt)return Rt.getAttribute(lt)}(Rt[0]));null!=He&&(Le[J]=He)});var je={styleDefault:"solid",familyDefault:"classic",cssPrefix:re,replacementClass:te,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Le.familyPrefix&&(Le.cssPrefix=Le.familyPrefix);var me=S(S({},je),Le);me.autoReplaceSvg||(me.observeMutations=!1);var xe={};Object.keys(je).forEach(function(lt){Object.defineProperty(xe,lt,{enumerable:!0,set:function(At){me[lt]=At,ce.forEach(function(J){return J(xe)})},get:function(){return me[lt]}})}),Object.defineProperty(xe,"familyPrefix",{enumerable:!0,set:function(Rt){me.cssPrefix=Rt,ce.forEach(function(At){return At(xe)})},get:function(){return me.cssPrefix}}),h.FontAwesomeConfig=xe;var ce=[],Pe={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},we="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function De(){for(var lt=12,Rt="";lt-- >0;)Rt+=we[62*Math.random()|0];return Rt}function $e(lt){for(var Rt=[],At=(lt||[]).length>>>0;At--;)Rt[At]=lt[At];return Rt}function $t(lt){return lt.classList?$e(lt.classList):(lt.getAttribute("class")||"").split(" ").filter(function(Rt){return Rt})}function Ft(lt){return"".concat(lt).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function fi(lt){return Object.keys(lt||{}).reduce(function(Rt,At){return Rt+"".concat(At,": ").concat(lt[At].trim(),";")},"")}function Qt(lt){return lt.size!==Pe.size||lt.x!==Pe.x||lt.y!==Pe.y||lt.rotate!==Pe.rotate||lt.flipX||lt.flipY}var ci=':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-sharp-thin: normal 100 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, 0));\n transform: rotate(var(--fa-rotate-angle, 0));\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 ui(){var lt=re,Rt=te,At=xe.cssPrefix,J=xe.replacementClass,He=ci;if(At!==lt||J!==Rt){var Te=new RegExp("\\.".concat(lt,"\\-"),"g"),Ge=new RegExp("\\--".concat(lt,"\\-"),"g"),St=new RegExp("\\.".concat(Rt),"g");He=He.replace(Te,".".concat(At,"-")).replace(Ge,"--".concat(At,"-")).replace(St,".".concat(J))}return He}var bn=!1;function Qi(){xe.autoAddCss&&!bn&&(function Oe(lt){if(lt&&r){var Rt=M.createElement("style");Rt.setAttribute("type","text/css"),Rt.innerHTML=lt;for(var At=M.head.childNodes,J=null,He=At.length-1;He>-1;He--){var Te=At[He],Ge=(Te.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(Ge)>-1&&(J=Te)}M.head.insertBefore(Rt,J)}}(ui()),bn=!0)}var Li={mixout:function(){return{dom:{css:ui,insertCss:Qi}}},hooks:function(){return{beforeDOMElementCreation:function(){Qi()},beforeI2svg:function(){Qi()}}}},nn=h||{};nn[Ye]||(nn[Ye]={}),nn[Ye].styles||(nn[Ye].styles={}),nn[Ye].hooks||(nn[Ye].hooks={}),nn[Ye].shims||(nn[Ye].shims=[]);var st=nn[Ye],ii=[],Mt=!1;function ai(lt){var Rt=lt.tag,At=lt.attributes,J=void 0===At?{}:At,He=lt.children,Te=void 0===He?[]:He;return"string"==typeof lt?Ft(lt):"<".concat(Rt," ").concat(function Kt(lt){return Object.keys(lt||{}).reduce(function(Rt,At){return Rt+"".concat(At,'="').concat(Ft(lt[At]),'" ')},"").trim()}(J),">").concat(Te.map(ai).join(""),"</").concat(Rt,">")}function Ei(lt,Rt,At){if(lt&<[Rt]&<[Rt][At])return{prefix:Rt,iconName:At,icon:lt[Rt][At]}}r&&((Mt=(M.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(M.readyState))||M.addEventListener("DOMContentLoaded",function lt(){M.removeEventListener("DOMContentLoaded",lt),Mt=1,ii.map(function(Rt){return Rt()})}));var $i=function(Rt,At,J,He){var qt,hi,Si,Te=Object.keys(Rt),Ge=Te.length,St=void 0!==He?function(Rt,At){return function(J,He,Te,Ge){return Rt.call(At,J,He,Te,Ge)}}(At,He):At;for(void 0===J?(qt=1,Si=Rt[Te[0]]):(qt=0,Si=J);qt<Ge;qt++)Si=St(Si,Rt[hi=Te[qt]],hi,Rt);return Si};function Fi(lt){var Rt=function hn(lt){for(var Rt=[],At=0,J=lt.length;At<J;){var He=lt.charCodeAt(At++);if(He>=55296&&He<=56319&&At<J){var Te=lt.charCodeAt(At++);56320==(64512&Te)?Rt.push(((1023&He)<<10)+(1023&Te)+65536):(Rt.push(He),At--)}else Rt.push(He)}return Rt}(lt);return 1===Rt.length?Rt[0].toString(16):null}function mn(lt){return Object.keys(lt).reduce(function(Rt,At){var J=lt[At];return J.icon?Rt[J.iconName]=J.icon:Rt[At]=J,Rt},{})}function Dt(lt,Rt){var J=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,He=void 0!==J&&J,Te=mn(Rt);"function"!=typeof st.hooks.addPack||He?st.styles[lt]=S(S({},st.styles[lt]||{}),Te):st.hooks.addPack(lt,mn(Rt)),"fas"===lt&&Dt("fa",Rt)}var Bt,q,it,Ae=st.styles,mt=st.shims,It=(w(Bt={},Ke,Object.values(Qe[Ke])),w(Bt,Ct,Object.values(Qe[Ct])),Bt),Ci=null,un={},Dn={},Hn={},On={},Xn={},ir=(w(q={},Ke,Object.keys(ke[Ke])),w(q,Ct,Object.keys(ke[Ct])),q);var Oi=function(){var Rt=function(Te){return $i(Ae,function(Ge,St,qt){return Ge[qt]=$i(St,Te,{}),Ge},{})};un=Rt(function(He,Te,Ge){return Te[3]&&(He[Te[3]]=Ge),Te[2]&&Te[2].filter(function(qt){return"number"==typeof qt}).forEach(function(qt){He[qt.toString(16)]=Ge}),He}),Dn=Rt(function(He,Te,Ge){return He[Ge]=Ge,Te[2]&&Te[2].filter(function(qt){return"string"==typeof qt}).forEach(function(qt){He[qt]=Ge}),He}),Xn=Rt(function(He,Te,Ge){var St=Te[2];return He[Ge]=Ge,St.forEach(function(qt){He[qt]=Ge}),He});var At="far"in Ae||xe.autoFetchSvg,J=$i(mt,function(He,Te){var Ge=Te[0],St=Te[1],qt=Te[2];return"far"===St&&!At&&(St="fas"),"string"==typeof Ge&&(He.names[Ge]={prefix:St,iconName:qt}),"number"==typeof Ge&&(He.unicodes[Ge.toString(16)]={prefix:St,iconName:qt}),He},{names:{},unicodes:{}});Hn=J.names,On=J.unicodes,Ci=nr(xe.styleDefault,{family:xe.familyDefault})};function Yt(lt,Rt){return(un[lt]||{})[Rt]}function li(lt,Rt){return(Xn[lt]||{})[Rt]}function vi(lt){return Hn[lt]||{prefix:null,iconName:null}}function ji(){return Ci}(function Me(lt){ce.push(lt)})(function(lt){Ci=nr(lt.styleDefault,{family:xe.familyDefault})}),Oi();var en=function(){return{prefix:null,iconName:null,rest:[]}};function nr(lt){var At=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,J=void 0===At?Ke:At;return Je[J][lt]||Je[J][ke[J][lt]]||(lt in st.styles?lt:null)||null}var ar=(w(it={},Ke,Object.keys(Qe[Ke])),w(it,Ct,Object.keys(Qe[Ct])),it);function tr(lt){var Rt,J=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,He=void 0!==J&&J,Te=(w(Rt={},Ke,"".concat(xe.cssPrefix,"-").concat(Ke)),w(Rt,Ct,"".concat(xe.cssPrefix,"-").concat(Ct)),Rt),Ge=null,St=Ke;(lt.includes(Te[Ke])||lt.some(function(hi){return ar[Ke].includes(hi)}))&&(St=Ke),(lt.includes(Te[Ct])||lt.some(function(hi){return ar[Ct].includes(hi)}))&&(St=Ct);var qt=lt.reduce(function(hi,Si){var tn=function pi(lt,Rt){var At=Rt.split("-"),J=At[0],He=At.slice(1).join("-");return J!==lt||""===He||function Fn(lt){return~dt.indexOf(lt)}(He)?null:He}(xe.cssPrefix,Si);if(Ae[Si]?(Si=It[St].includes(Si)?nt[St][Si]:Si,Ge=Si,hi.prefix=Si):ir[St].indexOf(Si)>-1?(Ge=Si,hi.prefix=nr(Si,{family:St})):tn?hi.iconName=tn:Si!==xe.replacementClass&&Si!==Te[Ke]&&Si!==Te[Ct]&&hi.rest.push(Si),!He&&hi.prefix&&hi.iconName){var pn="fa"===Ge?vi(hi.iconName):{},yn=li(hi.prefix,hi.iconName);pn.prefix&&(Ge=null),hi.iconName=pn.iconName||yn||hi.iconName,hi.prefix=pn.prefix||hi.prefix,"far"===hi.prefix&&!Ae.far&&Ae.fas&&!xe.autoFetchSvg&&(hi.prefix="fas")}return hi},en());return(lt.includes("fa-brands")||lt.includes("fab"))&&(qt.prefix="fab"),(lt.includes("fa-duotone")||lt.includes("fad"))&&(qt.prefix="fad"),!qt.prefix&&St===Ct&&(Ae.fass||xe.autoFetchSvg)&&(qt.prefix="fass",qt.iconName=li(qt.prefix,qt.iconName)||qt.iconName),("fa"===qt.prefix||"fa"===Ge)&&(qt.prefix=ji()||"fas"),qt}var or=function(){function lt(){(function m(lt,Rt){if(!(lt instanceof Rt))throw new TypeError("Cannot call a class as a function")})(this,lt),this.definitions={}}return function d(lt,Rt,At){Rt&&R(lt.prototype,Rt),At&&R(lt,At),Object.defineProperty(lt,"prototype",{writable:!1})}(lt,[{key:"add",value:function(){for(var At=this,J=arguments.length,He=new Array(J),Te=0;Te<J;Te++)He[Te]=arguments[Te];var Ge=He.reduce(this._pullDefinitions,{});Object.keys(Ge).forEach(function(St){At.definitions[St]=S(S({},At.definitions[St]||{}),Ge[St]),Dt(St,Ge[St]);var qt=Qe[Ke][St];qt&&Dt(qt,Ge[St]),Oi()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(At,J){var He=J.prefix&&J.iconName&&J.icon?{0:J}:J;return Object.keys(He).map(function(Te){var Ge=He[Te],St=Ge.prefix,qt=Ge.iconName,hi=Ge.icon,Si=hi[2];At[St]||(At[St]={}),Si.length>0&&Si.forEach(function(tn){"string"==typeof tn&&(At[St][tn]=hi)}),At[St][qt]=hi}),At}}]),lt}(),na=[],Rr={},Gr={},Uo=Object.keys(Gr);function Go(lt,Rt){for(var At=arguments.length,J=new Array(At>2?At-2:0),He=2;He<At;He++)J[He-2]=arguments[He];return(Rr[lt]||[]).forEach(function(Ge){Rt=Ge.apply(null,[Rt].concat(J))}),Rt}function kr(lt){for(var Rt=arguments.length,At=new Array(Rt>1?Rt-1:0),J=1;J<Rt;J++)At[J-1]=arguments[J];(Rr[lt]||[]).forEach(function(Te){Te.apply(null,At)})}function wa(){var lt=arguments[0],Rt=Array.prototype.slice.call(arguments,1);return Gr[lt]?Gr[lt].apply(null,Rt):void 0}function Ia(lt){"fa"===lt.prefix&&(lt.prefix="fas");var Rt=lt.iconName,At=lt.prefix||ji();if(Rt)return Rt=li(At,Rt)||Rt,Ei(Qa.definitions,At,Rt)||Ei(st.styles,At,Rt)}var Qa=new or,vr={i2svg:function(){var Rt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r?(kr("beforeI2svg",Rt),wa("pseudoElements2svg",Rt),wa("i2svg",Rt)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var Rt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},At=Rt.autoReplaceSvgRoot;!1===xe.autoReplaceSvg&&(xe.autoReplaceSvg=!0),xe.observeMutations=!0,function Pt(lt){r&&(Mt?setTimeout(lt,0):ii.push(lt))}(function(){Co({autoReplaceSvgRoot:At}),kr("watch",Rt)})}},Gn={noAuto:function(){xe.autoReplaceSvg=!1,xe.observeMutations=!1,kr("noAuto")},config:xe,dom:vr,parse:{icon:function(Rt){if(null===Rt)return null;if("object"===l(Rt)&&Rt.prefix&&Rt.iconName)return{prefix:Rt.prefix,iconName:li(Rt.prefix,Rt.iconName)||Rt.iconName};if(Array.isArray(Rt)&&2===Rt.length){var At=0===Rt[1].indexOf("fa-")?Rt[1].slice(3):Rt[1],J=nr(Rt[0]);return{prefix:J,iconName:li(J,At)||At}}if("string"==typeof Rt&&(Rt.indexOf("".concat(xe.cssPrefix,"-"))>-1||Rt.match(Ue))){var He=tr(Rt.split(" "),{skipLookups:!0});return{prefix:He.prefix||ji(),iconName:li(He.prefix,He.iconName)||He.iconName}}if("string"==typeof Rt){var Te=ji();return{prefix:Te,iconName:li(Te,Rt)||Rt}}}},library:Qa,findIconDefinition:Ia,toHtml:ai},Co=function(){var At=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,J=void 0===At?M:At;(Object.keys(st.styles).length>0||xe.autoFetchSvg)&&r&&xe.autoReplaceSvg&&Gn.dom.i2svg({node:J})};function ln(lt,Rt){return Object.defineProperty(lt,"abstract",{get:Rt}),Object.defineProperty(lt,"html",{get:function(){return lt.abstract.map(function(J){return ai(J)})}}),Object.defineProperty(lt,"node",{get:function(){if(r){var J=M.createElement("div");return J.innerHTML=lt.html,J.children}}}),lt}function lo(lt){var Rt=lt.icons,At=Rt.main,J=Rt.mask,He=lt.prefix,Te=lt.iconName,Ge=lt.transform,St=lt.symbol,qt=lt.title,hi=lt.maskId,Si=lt.titleId,tn=lt.extra,pn=lt.watchable,yn=void 0!==pn&&pn,An=J.found?J:At,hr=An.width,er=An.height,yr="fak"===He,gr=[xe.replacementClass,Te?"".concat(xe.cssPrefix,"-").concat(Te):""].filter(function(Wr){return-1===tn.classes.indexOf(Wr)}).filter(function(Wr){return""!==Wr||!!Wr}).concat(tn.classes).join(" "),Mr={children:[],attributes:S(S({},tn.attributes),{},{"data-prefix":He,"data-icon":Te,class:gr,role:tn.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(hr," ").concat(er)})},oa=yr&&!~tn.classes.indexOf("fa-fw")?{width:"".concat(hr/er*16*.0625,"em")}:{};yn&&(Mr.attributes[oe]=""),qt&&(Mr.children.push({tag:"title",attributes:{id:Mr.attributes["aria-labelledby"]||"title-".concat(Si||De())},children:[qt]}),delete Mr.attributes.title);var Bn=S(S({},Mr),{},{prefix:He,iconName:Te,main:At,mask:J,maskId:hi,transform:Ge,symbol:St,styles:S(S({},oa),tn.styles)}),zi=J.found&&At.found?wa("generateAbstractMask",Bn)||{children:[],attributes:{}}:wa("generateAbstractIcon",Bn)||{children:[],attributes:{}},fr=zi.attributes;return Bn.children=zi.children,Bn.attributes=fr,St?function Ma(lt){var At=lt.iconName,J=lt.children,He=lt.attributes,Te=lt.symbol,Ge=!0===Te?"".concat(lt.prefix,"-").concat(xe.cssPrefix,"-").concat(At):Te;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:S(S({},He),{},{id:Ge}),children:J}]}]}(Bn):function $r(lt){var Rt=lt.children,At=lt.main,J=lt.mask,He=lt.attributes,Te=lt.styles,Ge=lt.transform;if(Qt(Ge)&&At.found&&!J.found){var hi={x:At.width/At.height/2,y:.5};He.style=fi(S(S({},Te),{},{"transform-origin":"".concat(hi.x+Ge.x/16,"em ").concat(hi.y+Ge.y/16,"em")}))}return[{tag:"svg",attributes:He,children:Rt}]}(Bn)}function ho(lt){var Rt=lt.content,At=lt.width,J=lt.height,He=lt.transform,Te=lt.title,Ge=lt.extra,St=lt.watchable,qt=void 0!==St&&St,hi=S(S(S({},Ge.attributes),Te?{title:Te}:{}),{},{class:Ge.classes.join(" ")});qt&&(hi[oe]="");var Si=S({},Ge.styles);Qt(He)&&(Si.transform=function Xi(lt){var Rt=lt.transform,At=lt.width,He=lt.height,Te=void 0===He?16:He,Ge=lt.startCentered,St=void 0!==Ge&&Ge,qt="";return qt+=St&&v?"translate(".concat(Rt.x/16-(void 0===At?16:At)/2,"em, ").concat(Rt.y/16-Te/2,"em) "):St?"translate(calc(-50% + ".concat(Rt.x/16,"em), calc(-50% + ").concat(Rt.y/16,"em)) "):"translate(".concat(Rt.x/16,"em, ").concat(Rt.y/16,"em) "),(qt+="scale(".concat(Rt.size/16*(Rt.flipX?-1:1),", ").concat(Rt.size/16*(Rt.flipY?-1:1),") "))+"rotate(".concat(Rt.rotate,"deg) ")}({transform:He,startCentered:!0,width:At,height:J}),Si["-webkit-transform"]=Si.transform);var tn=fi(Si);tn.length>0&&(hi.style=tn);var pn=[];return pn.push({tag:"span",attributes:hi,children:[Rt]}),Te&&pn.push({tag:"span",attributes:{class:"sr-only"},children:[Te]}),pn}var Qr=st.styles;function no(lt){var Rt=lt[0],At=lt[1],Te=k(lt.slice(4),1)[0];return{found:!0,width:Rt,height:At,icon:Array.isArray(Te)?{tag:"g",attributes:{class:"".concat(xe.cssPrefix,"-").concat(jt.GROUP)},children:[{tag:"path",attributes:{class:"".concat(xe.cssPrefix,"-").concat(jt.SECONDARY),fill:"currentColor",d:Te[0]}},{tag:"path",attributes:{class:"".concat(xe.cssPrefix,"-").concat(jt.PRIMARY),fill:"currentColor",d:Te[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:Te}}}}var Ea={found:!1,width:512,height:512};function Ra(lt,Rt){var At=Rt;return"fa"===Rt&&null!==xe.styleDefault&&(Rt=ji()),new Promise(function(J,He){if(wa("missingIconAbstract"),"fa"===At){var Ge=vi(lt)||{};lt=Ge.iconName||lt,Rt=Ge.prefix||Rt}if(lt&&Rt&&Qr[Rt]&&Qr[Rt][lt])return J(no(Qr[Rt][lt]));(function No(lt,Rt){!et&&!xe.showMissingIcons&<&&console.error('Icon with name "'.concat(lt,'" and prefix "').concat(Rt,'" is missing.'))})(lt,Rt),J(S(S({},Ea),{},{icon:xe.showMissingIcons&<&&wa("missingIconAbstract")||{}}))})}var wo=function(){},Lr=xe.measurePerformance&&O&&O.mark&&O.measure?O:{mark:wo,measure:wo},ma='FA "6.5.2"',Ua=function(Rt){Lr.mark("".concat(ma," ").concat(Rt," ends")),Lr.measure("".concat(ma," ").concat(Rt),"".concat(ma," ").concat(Rt," begins"),"".concat(ma," ").concat(Rt," ends"))},as={begin:function(Rt){return Lr.mark("".concat(ma," ").concat(Rt," begins")),function(){return Ua(Rt)}},end:Ua},Ga=function(){};function Oa(lt){return"string"==typeof(lt.getAttribute?lt.getAttribute(oe):null)}function Mo(lt){return M.createElementNS("http://www.w3.org/2000/svg",lt)}function pa(lt){return M.createElement(lt)}function ro(lt){var At=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,J=void 0===At?"svg"===lt.tag?Mo:pa:At;if("string"==typeof lt)return M.createTextNode(lt);var He=J(lt.tag);return Object.keys(lt.attributes||[]).forEach(function(Ge){He.setAttribute(Ge,lt.attributes[Ge])}),(lt.children||[]).forEach(function(Ge){He.appendChild(ro(Ge,{ceFn:J}))}),He}var ga={replace:function(Rt){var At=Rt[0];if(At.parentNode)if(Rt[1].forEach(function(He){At.parentNode.insertBefore(ro(He),At)}),null===At.getAttribute(oe)&&xe.keepOriginalSource){var J=M.createComment(function wr(lt){var Rt=" ".concat(lt.outerHTML," ");return"".concat(Rt,"Font Awesome fontawesome.com ")}(At));At.parentNode.replaceChild(J,At)}else At.remove()},nest:function(Rt){var At=Rt[0],J=Rt[1];if(~$t(At).indexOf(xe.replacementClass))return ga.replace(Rt);var He=new RegExp("".concat(xe.cssPrefix,"-.*"));if(delete J[0].attributes.id,J[0].attributes.class){var Te=J[0].attributes.class.split(" ").reduce(function(St,qt){return qt===xe.replacementClass||qt.match(He)?St.toSvg.push(qt):St.toNode.push(qt),St},{toNode:[],toSvg:[]});J[0].attributes.class=Te.toSvg.join(" "),0===Te.toNode.length?At.removeAttribute("class"):At.setAttribute("class",Te.toNode.join(" "))}var Ge=J.map(function(St){return ai(St)}).join("\n");At.setAttribute(oe,""),At.innerHTML=Ge}};function Wo(lt){lt()}function ra(lt,Rt){var At="function"==typeof Rt?Rt:Ga;if(0===lt.length)At();else{var J=Wo;xe.mutateApproach===fe&&(J=h.requestAnimationFrame||Wo),J(function(){var He=function jo(){return!0===xe.autoReplaceSvg?ga.replace:ga[xe.autoReplaceSvg]||ga.replace}(),Te=as.begin("mutate");lt.map(He),Te(),At()})}}var Kn=!1;function Ht(){Kn=!0}function Mi(){Kn=!1}var xt=null;function ni(lt){if(L&&xe.observeMutations){var Rt=lt.treeCallback,At=void 0===Rt?Ga:Rt,J=lt.nodeCallback,He=void 0===J?Ga:J,Te=lt.pseudoElementsCallback,Ge=void 0===Te?Ga:Te,St=lt.observeMutationsRoot,qt=void 0===St?M:St;xt=new L(function(hi){if(!Kn){var Si=ji();$e(hi).forEach(function(tn){if("childList"===tn.type&&tn.addedNodes.length>0&&!Oa(tn.addedNodes[0])&&(xe.searchPseudoElements&&Ge(tn.target),At(tn.target)),"attributes"===tn.type&&tn.target.parentNode&&xe.searchPseudoElements&&Ge(tn.target.parentNode),"attributes"===tn.type&&Oa(tn.target)&&~Ze.indexOf(tn.attributeName))if("class"===tn.attributeName&&function ja(lt){var Rt=lt.getAttribute?lt.getAttribute(pe):null,At=lt.getAttribute?lt.getAttribute(We):null;return Rt&&At}(tn.target)){var pn=tr($t(tn.target)),An=pn.iconName;tn.target.setAttribute(pe,pn.prefix||Si),An&&tn.target.setAttribute(We,An)}else(function Vo(lt){return lt&<.classList&<.classList.contains&<.classList.contains(xe.replacementClass)})(tn.target)&&He(tn.target)})}}),r&&xt.observe(qt,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Sa(lt){var Rt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},At=function rr(lt){var Rt=lt.getAttribute("data-prefix"),At=lt.getAttribute("data-icon"),J=void 0!==lt.innerText?lt.innerText.trim():"",He=tr($t(lt));return He.prefix||(He.prefix=ji()),Rt&&At&&(He.prefix=Rt,He.iconName=At),He.iconName&&He.prefix||(He.prefix&&J.length>0&&(He.iconName=function yi(lt,Rt){return(Dn[lt]||{})[Rt]}(He.prefix,lt.innerText)||Yt(He.prefix,Fi(lt.innerText))),!He.iconName&&xe.autoFetchSvg&<.firstChild&<.firstChild.nodeType===Node.TEXT_NODE&&(He.iconName=lt.firstChild.data)),He}(lt),J=At.iconName,He=At.prefix,Te=At.rest,Ge=function Fa(lt){var Rt=$e(lt.attributes).reduce(function(He,Te){return"class"!==He.name&&"style"!==He.name&&(He[Te.name]=Te.value),He},{}),At=lt.getAttribute("title"),J=lt.getAttribute("data-fa-title-id");return xe.autoA11y&&(At?Rt["aria-labelledby"]="".concat(xe.replacementClass,"-title-").concat(J||De()):(Rt["aria-hidden"]="true",Rt.focusable="false")),Rt}(lt),St=Go("parseNodeAttributes",{},lt),qt=Rt.styleParser?function bi(lt){var Rt=lt.getAttribute("style"),At=[];return Rt&&(At=Rt.split(";").reduce(function(J,He){var Te=He.split(":"),Ge=Te[0],St=Te.slice(1);return Ge&&St.length>0&&(J[Ge]=St.join(":").trim()),J},{})),At}(lt):[];return S({iconName:J,title:lt.getAttribute("title"),titleId:lt.getAttribute("data-fa-title-id"),prefix:He,transform:Pe,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:Te,styles:qt,attributes:Ge}},St)}var Pa=st.styles;function uo(lt){var Rt="nest"===xe.autoReplaceSvg?Sa(lt,{styleParser:!1}):Sa(lt);return~Rt.extra.classes.indexOf(ht)?wa("generateLayersText",lt,Rt):wa("generateSvgReplacementMutation",lt,Rt)}var Za=new Set;function Xo(lt){var Rt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!r)return Promise.resolve();var At=M.documentElement.classList,J=function(tn){return At.add("".concat(se,"-").concat(tn))},He=function(tn){return At.remove("".concat(se,"-").concat(tn))},Te=xe.autoFetchSvg?Za:_t.map(function(Si){return"fa-".concat(Si)}).concat(Object.keys(Pa));Te.includes("fa")||Te.push("fa");var Ge=[".".concat(ht,":not([").concat(oe,"])")].concat(Te.map(function(Si){return".".concat(Si,":not([").concat(oe,"])")})).join(", ");if(0===Ge.length)return Promise.resolve();var St=[];try{St=$e(lt.querySelectorAll(Ge))}catch{}if(!(St.length>0))return Promise.resolve();J("pending"),He("complete");var qt=as.begin("onTree"),hi=St.reduce(function(Si,tn){try{var pn=uo(tn);pn&&Si.push(pn)}catch(yn){et||"MissingIcon"===yn.name&&console.error(yn)}return Si},[]);return new Promise(function(Si,tn){Promise.all(hi).then(function(pn){ra(pn,function(){J("active"),J("complete"),He("pending"),"function"==typeof Rt&&Rt(),qt(),Si()})}).catch(function(pn){qt(),tn(pn)})})}function $s(lt){var Rt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;uo(lt).then(function(At){At&&ra([At],Rt)})}_t.map(function(lt){Za.add("fa-".concat(lt))}),Object.keys(ke[Ke]).map(Za.add.bind(Za)),Object.keys(ke[Ct]).map(Za.add.bind(Za)),Za=F(Za);var Ms=function(Rt){var At=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},J=At.transform,He=void 0===J?Pe:J,Te=At.symbol,Ge=void 0!==Te&&Te,St=At.mask,qt=void 0===St?null:St,hi=At.maskId,Si=void 0===hi?null:hi,tn=At.title,pn=void 0===tn?null:tn,yn=At.titleId,An=void 0===yn?null:yn,hr=At.classes,er=void 0===hr?[]:hr,yr=At.attributes,gr=void 0===yr?{}:yr,Mr=At.styles,oa=void 0===Mr?{}:Mr;if(Rt){var Bn=Rt.prefix,zi=Rt.iconName,an=Rt.icon;return ln(S({type:"icon"},Rt),function(){return kr("beforeDOMElementCreation",{iconDefinition:Rt,params:At}),xe.autoA11y&&(pn?gr["aria-labelledby"]="".concat(xe.replacementClass,"-title-").concat(An||De()):(gr["aria-hidden"]="true",gr.focusable="false")),lo({icons:{main:no(an),mask:qt?no(qt.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Bn,iconName:zi,transform:S(S({},Pe),He),symbol:Ge,title:pn,maskId:Si,titleId:An,extra:{attributes:gr,styles:oa,classes:er}})})}},aa={mixout:function(){return{icon:(lt=Ms,function(Rt){var At=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},J=(Rt||{}).icon?Rt:Ia(Rt||{}),He=At.mask;return He&&(He=(He||{}).icon?He:Ia(He||{})),lt(J,S(S({},At),{},{mask:He}))})};var lt},hooks:function(){return{mutationObserverCallbacks:function(At){return At.treeCallback=Xo,At.nodeCallback=$s,At}}},provides:function(Rt){Rt.i2svg=function(At){var J=At.node,Te=At.callback;return Xo(void 0===J?M:J,void 0===Te?function(){}:Te)},Rt.generateSvgReplacementMutation=function(At,J){var He=J.iconName,Te=J.title,Ge=J.titleId,St=J.prefix,qt=J.transform,hi=J.symbol,Si=J.mask,tn=J.maskId,pn=J.extra;return new Promise(function(yn,An){Promise.all([Ra(He,St),Si.iconName?Ra(Si.iconName,Si.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(hr){var er=k(hr,2);yn([At,lo({icons:{main:er[0],mask:er[1]},prefix:St,iconName:He,transform:qt,symbol:hi,maskId:tn,title:Te,titleId:Ge,extra:pn,watchable:!0})])}).catch(An)})},Rt.generateAbstractIcon=function(At){var hi,J=At.children,He=At.attributes,Te=At.main,Ge=At.transform,qt=fi(At.styles);return qt.length>0&&(He.style=qt),Qt(Ge)&&(hi=wa("generateAbstractTransformGrouping",{main:Te,transform:Ge,containerWidth:Te.width,iconWidth:Te.width})),J.push(hi||Te.icon),{children:J,attributes:He}}}},Ri={mixout:function(){return{layer:function(At){var J=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},He=J.classes,Te=void 0===He?[]:He;return ln({type:"layer"},function(){kr("beforeDOMElementCreation",{assembler:At,params:J});var Ge=[];return At(function(St){Array.isArray(St)?St.map(function(qt){Ge=Ge.concat(qt.abstract)}):Ge=Ge.concat(St.abstract)}),[{tag:"span",attributes:{class:["".concat(xe.cssPrefix,"-layers")].concat(F(Te)).join(" ")},children:Ge}]})}}}},ft={mixout:function(){return{counter:function(At){var J=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},He=J.title,Te=void 0===He?null:He,Ge=J.classes,St=void 0===Ge?[]:Ge,qt=J.attributes,hi=void 0===qt?{}:qt,Si=J.styles,tn=void 0===Si?{}:Si;return ln({type:"counter",content:At},function(){return kr("beforeDOMElementCreation",{content:At,params:J}),function Po(lt){var Rt=lt.content,At=lt.title,J=lt.extra,He=S(S(S({},J.attributes),At?{title:At}:{}),{},{class:J.classes.join(" ")}),Te=fi(J.styles);Te.length>0&&(He.style=Te);var Ge=[];return Ge.push({tag:"span",attributes:He,children:[Rt]}),At&&Ge.push({tag:"span",attributes:{class:"sr-only"},children:[At]}),Ge}({content:At.toString(),title:Te,extra:{attributes:hi,styles:tn,classes:["".concat(xe.cssPrefix,"-layers-counter")].concat(F(St))}})})}}}},pt={mixout:function(){return{text:function(At){var J=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},He=J.transform,Te=void 0===He?Pe:He,Ge=J.title,St=void 0===Ge?null:Ge,qt=J.classes,hi=void 0===qt?[]:qt,Si=J.attributes,tn=void 0===Si?{}:Si,pn=J.styles,yn=void 0===pn?{}:pn;return ln({type:"text",content:At},function(){return kr("beforeDOMElementCreation",{content:At,params:J}),ho({content:At,transform:S(S({},Pe),Te),title:St,extra:{attributes:tn,styles:yn,classes:["".concat(xe.cssPrefix,"-layers-text")].concat(F(hi))}})})}}},provides:function(Rt){Rt.generateLayersText=function(At,J){var He=J.title,Te=J.transform,Ge=J.extra,St=null,qt=null;if(v){var hi=parseInt(getComputedStyle(At).fontSize,10),Si=At.getBoundingClientRect();St=Si.width/hi,qt=Si.height/hi}return xe.autoA11y&&!He&&(Ge.attributes["aria-hidden"]="true"),Promise.resolve([At,ho({content:At.innerHTML,width:St,height:qt,transform:Te,title:He,extra:Ge,watchable:!0})])}}},Be=new RegExp('"',"ug"),Tt=[1105920,1112319];function fn(lt,Rt){var At="".concat(de).concat(Rt.replace(":","-"));return new Promise(function(J,He){if(null!==lt.getAttribute(At))return J();var Ge=$e(lt.children).filter(function(an){return an.getAttribute(_e)===Rt})[0],St=h.getComputedStyle(lt,Rt),qt=St.getPropertyValue("font-family").match(tt),hi=St.getPropertyValue("font-weight"),Si=St.getPropertyValue("content");if(Ge&&!qt)return lt.removeChild(Ge),J();if(qt&&"none"!==Si&&""!==Si){var tn=St.getPropertyValue("content"),pn=~["Sharp"].indexOf(qt[2])?Ct:Ke,yn=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(qt[2])?Je[pn][qt[2].toLowerCase()]:wt[pn][hi],An=function ti(lt){var Rt=lt.replace(Be,""),At=function _n(lt,Rt){var He,At=lt.length,J=lt.charCodeAt(Rt);return J>=55296&&J<=56319&&At>Rt+1&&(He=lt.charCodeAt(Rt+1))>=56320&&He<=57343?1024*(J-55296)+He-56320+65536:J}(Rt,0),J=At>=Tt[0]&&At<=Tt[1],He=2===Rt.length&&Rt[0]===Rt[1];return{value:Fi(He?Rt[0]:Rt),isSecondary:J||He}}(tn),hr=An.value,er=An.isSecondary,yr=qt[0].startsWith("FontAwesome"),gr=Yt(yn,hr),Mr=gr;if(yr){var oa=function Ni(lt){var Rt=On[lt],At=Yt("fas",lt);return Rt||(At?{prefix:"fas",iconName:At}:null)||{prefix:null,iconName:null}}(hr);oa.iconName&&oa.prefix&&(gr=oa.iconName,yn=oa.prefix)}if(!gr||er||Ge&&Ge.getAttribute(pe)===yn&&Ge.getAttribute(We)===Mr)J();else{lt.setAttribute(At,Mr),Ge&<.removeChild(Ge);var Bn=function Zr(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Pe,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),zi=Bn.extra;zi.attributes[_e]=Rt,Ra(gr,yn).then(function(an){var fr=lo(S(S({},Bn),{},{icons:{main:an,mask:en()},prefix:yn,iconName:Mr,extra:zi,watchable:!0})),Wr=M.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===Rt?lt.insertBefore(Wr,lt.firstChild):lt.appendChild(Wr),Wr.outerHTML=fr.map(function(da){return ai(da)}).join("\n"),lt.removeAttribute(At),J()}).catch(He)}}else J()})}function Qn(lt){return Promise.all([fn(lt,"::before"),fn(lt,"::after")])}function Ho(lt){return!(lt.parentNode===document.head||~he.indexOf(lt.tagName.toUpperCase())||lt.getAttribute(_e)||lt.parentNode&&"svg"===lt.parentNode.tagName)}function br(lt){if(r)return new Promise(function(Rt,At){var J=$e(lt.querySelectorAll("*")).filter(Ho).map(Qn),He=as.begin("searchPseudoElements");Ht(),Promise.all(J).then(function(){He(),Mi(),Rt()}).catch(function(){He(),Mi(),At()})})}var lc=!1,hc=function(Rt){return Rt.toLowerCase().split(" ").reduce(function(J,He){var Te=He.toLowerCase().split("-"),Ge=Te[0],St=Te.slice(1).join("-");if(Ge&&"h"===St)return J.flipX=!0,J;if(Ge&&"v"===St)return J.flipY=!0,J;if(St=parseFloat(St),isNaN(St))return J;switch(Ge){case"grow":J.size=J.size+St;break;case"shrink":J.size=J.size-St;break;case"left":J.x=J.x-St;break;case"right":J.x=J.x+St;break;case"up":J.y=J.y-St;break;case"down":J.y=J.y+St;break;case"rotate":J.rotate=J.rotate+St}return J},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Ko={x:0,y:0,width:"100%",height:"100%"};function fo(lt){return lt.attributes&&(lt.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(lt.attributes.fill="black"),lt}!function yo(lt,Rt){var At=Rt.mixoutsTo;na=lt,Rr={},Object.keys(Gr).forEach(function(J){-1===Uo.indexOf(J)&&delete Gr[J]}),na.forEach(function(J){var He=J.mixout?J.mixout():{};if(Object.keys(He).forEach(function(Ge){"function"==typeof He[Ge]&&(At[Ge]=He[Ge]),"object"===l(He[Ge])&&Object.keys(He[Ge]).forEach(function(St){At[Ge]||(At[Ge]={}),At[Ge][St]=He[Ge][St]})}),J.hooks){var Te=J.hooks();Object.keys(Te).forEach(function(Ge){Rr[Ge]||(Rr[Ge]=[]),Rr[Ge].push(Te[Ge])})}J.provides&&J.provides(Gr)})}([Li,aa,Ri,ft,pt,{hooks:function(){return{mutationObserverCallbacks:function(At){return At.pseudoElementsCallback=br,At}}},provides:function(Rt){Rt.pseudoElements2svg=function(At){var J=At.node;xe.searchPseudoElements&&br(void 0===J?M:J)}}},{mixout:function(){return{dom:{unwatch:function(){Ht(),lc=!0}}}},hooks:function(){return{bootstrap:function(){ni(Go("mutationObserverCallbacks",{}))},noAuto:function(){!function ki(){xt&&xt.disconnect()}()},watch:function(At){var J=At.observeMutationsRoot;lc?Mi():ni(Go("mutationObserverCallbacks",{observeMutationsRoot:J}))}}}},{mixout:function(){return{parse:{transform:function(At){return hc(At)}}}},hooks:function(){return{parseNodeAttributes:function(At,J){var He=J.getAttribute("data-fa-transform");return He&&(At.transform=hc(He)),At}}},provides:function(Rt){Rt.generateAbstractTransformGrouping=function(At){var J=At.main,He=At.transform,Ge=At.iconWidth,St={transform:"translate(".concat(At.containerWidth/2," 256)")},qt="translate(".concat(32*He.x,", ").concat(32*He.y,") "),hi="scale(".concat(He.size/16*(He.flipX?-1:1),", ").concat(He.size/16*(He.flipY?-1:1),") "),Si="rotate(".concat(He.rotate," 0 0)"),yn={outer:St,inner:{transform:"".concat(qt," ").concat(hi," ").concat(Si)},path:{transform:"translate(".concat(Ge/2*-1," -256)")}};return{tag:"g",attributes:S({},yn.outer),children:[{tag:"g",attributes:S({},yn.inner),children:[{tag:J.icon.tag,children:J.icon.children,attributes:S(S({},J.icon.attributes),yn.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(At,J){var He=J.getAttribute("data-fa-mask"),Te=He?tr(He.split(" ").map(function(Ge){return Ge.trim()})):en();return Te.prefix||(Te.prefix=ji()),At.mask=Te,At.maskId=J.getAttribute("data-fa-mask-id"),At}}},provides:function(Rt){Rt.generateAbstractMask=function(At){var lt,J=At.children,He=At.attributes,Te=At.main,Ge=At.mask,St=At.maskId,Si=Te.icon,pn=Ge.icon,yn=function zt(lt){var Rt=lt.transform,J=lt.iconWidth,He={transform:"translate(".concat(lt.containerWidth/2," 256)")},Te="translate(".concat(32*Rt.x,", ").concat(32*Rt.y,") "),Ge="scale(".concat(Rt.size/16*(Rt.flipX?-1:1),", ").concat(Rt.size/16*(Rt.flipY?-1:1),") "),St="rotate(".concat(Rt.rotate," 0 0)");return{outer:He,inner:{transform:"".concat(Te," ").concat(Ge," ").concat(St)},path:{transform:"translate(".concat(J/2*-1," -256)")}}}({transform:At.transform,containerWidth:Ge.width,iconWidth:Te.width}),An={tag:"rect",attributes:S(S({},Ko),{},{fill:"white"})},hr=Si.children?{children:Si.children.map(fo)}:{},er={tag:"g",attributes:S({},yn.inner),children:[fo(S({tag:Si.tag,attributes:S(S({},Si.attributes),yn.path)},hr))]},yr={tag:"g",attributes:S({},yn.outer),children:[er]},gr="mask-".concat(St||De()),Mr="clip-".concat(St||De()),oa={tag:"mask",attributes:S(S({},Ko),{},{id:gr,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[An,yr]},Bn={tag:"defs",children:[{tag:"clipPath",attributes:{id:Mr},children:(lt=pn,"g"===lt.tag?lt.children:[lt])},oa]};return J.push(Bn,{tag:"rect",attributes:S({fill:"currentColor","clip-path":"url(#".concat(Mr,")"),mask:"url(#".concat(gr,")")},Ko)}),{children:J,attributes:He}}}},{provides:function(Rt){var At=!1;h.matchMedia&&(At=h.matchMedia("(prefers-reduced-motion: reduce)").matches),Rt.missingIconAbstract=function(){var J=[],He={fill:"currentColor"},Te={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};J.push({tag:"path",attributes:S(S({},He),{},{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 Ge=S(S({},Te),{},{attributeName:"opacity"}),St={tag:"circle",attributes:S(S({},He),{},{cx:"256",cy:"364",r:"28"}),children:[]};return At||St.children.push({tag:"animate",attributes:S(S({},Te),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:S(S({},Ge),{},{values:"1;0;1;1;0;1;"})}),J.push(St),J.push({tag:"path",attributes:S(S({},He),{},{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:At?[]:[{tag:"animate",attributes:S(S({},Ge),{},{values:"1;0;0;0;0;1;"})}]}),At||J.push({tag:"path",attributes:S(S({},He),{},{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:S(S({},Ge),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:J}}}},{hooks:function(){return{parseNodeAttributes:function(At,J){var He=J.getAttribute("data-fa-symbol");return At.symbol=null!==He&&(""===He||He),At}}}}],{mixoutsTo:Gn});var Ta=Gn.config,cn=Gn.dom,Es=Gn.parse,fc=Gn.icon,kl=p(345);const mc=["*"],Js=lt=>{const Rt={[`fa-${lt.animation}`]:null!=lt.animation&&!lt.animation.startsWith("spin"),"fa-spin":"spin"===lt.animation||"spin-reverse"===lt.animation,"fa-spin-pulse":"spin-pulse"===lt.animation||"spin-pulse-reverse"===lt.animation,"fa-spin-reverse":"spin-reverse"===lt.animation||"spin-pulse-reverse"===lt.animation,"fa-pulse":"spin-pulse"===lt.animation||"spin-pulse-reverse"===lt.animation,"fa-fw":lt.fixedWidth,"fa-border":lt.border,"fa-inverse":lt.inverse,"fa-layers-counter":lt.counter,"fa-flip-horizontal":"horizontal"===lt.flip||"both"===lt.flip,"fa-flip-vertical":"vertical"===lt.flip||"both"===lt.flip,[`fa-${lt.size}`]:null!==lt.size,[`fa-rotate-${lt.rotate}`]:null!==lt.rotate,[`fa-pull-${lt.pull}`]:null!==lt.pull,[`fa-stack-${lt.stackItemSize}`]:null!=lt.stackItemSize};return Object.keys(Rt).map(At=>Rt[At]?At:null).filter(At=>At)},Os=new WeakSet,So="fa-auto-css";let gc=(()=>{class lt{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null,this._autoAddCss=!0}set autoAddCss(At){Ta.autoAddCss=At,this._autoAddCss=At}get autoAddCss(){return this._autoAddCss}static{this.\u0275fac=function(J){return new(J||lt)}}static{this.\u0275prov=t.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"})}}return lt})(),_c=(()=>{class lt{constructor(){this.definitions={}}addIcons(...At){for(const J of At){J.prefix in this.definitions||(this.definitions[J.prefix]={}),this.definitions[J.prefix][J.iconName]=J;for(const He of J.icon[2])"string"==typeof He&&(this.definitions[J.prefix][He]=J)}}addIconPacks(...At){for(const J of At){const He=Object.keys(J).map(Te=>J[Te]);this.addIcons(...He)}}getIconDefinition(At,J){return At in this.definitions&&J in this.definitions[At]?this.definitions[At][J]:null}static{this.\u0275fac=function(J){return new(J||lt)}}static{this.\u0275prov=t.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"})}}return lt})(),os=(()=>{class lt{constructor(){this.stackItemSize="1x"}ngOnChanges(At){if("size"in At)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{this.\u0275fac=function(J){return new(J||lt)}}static{this.\u0275dir=t.FsC({type:lt,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[t.OA$]})}}return lt})(),To=(()=>{class lt{constructor(At,J){this.renderer=At,this.elementRef=J}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(At){"size"in At&&(null!=At.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${At.size.currentValue}`),null!=At.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${At.size.previousValue}`))}static{this.\u0275fac=function(J){return new(J||lt)(t.rXU(t.sFG),t.rXU(t.aKT))}}static{this.\u0275cmp=t.VBU({type:lt,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[t.OA$,t.aNF],ngContentSelectors:mc,decls:1,vars:0,template:function(J,He){1&J&&(t.NAR(),t.SdG(0))},encapsulation:2})}}return lt})(),Fs=(()=>{class lt{constructor(At,J,He,Te,Ge){this.sanitizer=At,this.config=J,this.iconLibrary=He,this.stackItem=Te,this.document=(0,t.WQX)(e.qQ),null!=Ge&&null==Te&&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(At){if(null!=this.icon||null!=this.config.fallbackIcon){if(At){const J=this.findIconDefinition(this.icon??this.config.fallbackIcon);if(null!=J){const He=this.buildParams();!function pc(lt,Rt){if(!Rt.autoAddCss||Os.has(lt))return;if(null!=lt.getElementById(So))return Rt.autoAddCss=!1,void Os.add(lt);const At=lt.createElement("style");At.setAttribute("type","text/css"),At.setAttribute("id",So),At.innerHTML=cn.css();const J=lt.head.childNodes;let He=null;for(let Te=J.length-1;Te>-1;Te--){const Ge=J[Te],St=Ge.nodeName.toUpperCase();["STYLE","LINK"].indexOf(St)>-1&&(He=Ge)}lt.head.insertBefore(At,He),Rt.autoAddCss=!1,Os.add(lt)}(this.document,this.config);const Te=fc(J,He);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Te.html.join("\n"))}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(At){const J=((lt,Rt)=>(lt=>void 0!==lt.prefix&&void 0!==lt.iconName)(lt)?lt:Array.isArray(lt)&&2===lt.length?{prefix:lt[0],iconName:lt[1]}:{prefix:Rt,iconName:lt})(At,this.config.defaultPrefix);return"icon"in J?J:this.iconLibrary.getIconDefinition(J.prefix,J.iconName)??((lt=>{throw new Error(`Could not find icon with iconName=${lt.iconName} and prefix=${lt.prefix} in the icon library.`)})(J),null)}buildParams(){const At={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},J="string"==typeof this.transform?Es.transform(this.transform):this.transform;return{title:this.title,transform:J,classes:Js(At),mask:null!=this.mask?this.findIconDefinition(this.mask):null,symbol:this.symbol,attributes:{role:this.a11yRole}}}static{this.\u0275fac=function(J){return new(J||lt)(t.rXU(kl.up),t.rXU(gc),t.rXU(_c),t.rXU(os,8),t.rXU(To,8))}}static{this.\u0275cmp=t.VBU({type:lt,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(J,He){2&J&&(t.Mr5("innerHTML",He.renderedIconHTML,t.npT),t.BMQ("title",He.title))},inputs:{icon:"icon",title:"title",animation:"animation",mask:"mask",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[t.OA$,t.aNF],decls:0,vars:0,template:function(J,He){},encapsulation:2})}}return lt})(),Ps=(()=>{class lt{static{this.\u0275fac=function(J){return new(J||lt)}}static{this.\u0275mod=t.$C({type:lt})}static{this.\u0275inj=t.G2t({})}}return lt})()},5383:(Ve,ee,p)=>{"use strict";p.d(ee,{$$g:()=>Qr,$Fj:()=>pl,$sC:()=>P6,BA1:()=>r0,C8j:()=>y9,CQO:()=>Lg,Ccf:()=>u7,D6w:()=>dl,DW4:()=>qt,EvL:()=>O4,FYJ:()=>Dm,GR4:()=>BC,GRI:()=>wv,HEq:()=>Yo,If6:()=>h_,Int:()=>t9,JKM:()=>Qh,Kcb:()=>JC,M29:()=>Ah,McB:()=>Wt,Mf0:()=>Pg,MjD:()=>Og,Oh6:()=>yi,QLR:()=>ap,TBz:()=>m3,Tq9:()=>Wg,Vpi:()=>q8,VwO:()=>U6,W1p:()=>Q2,WKo:()=>Gv,WxX:()=>qe,Xbc:()=>a0,_eQ:()=>St,_qq:()=>Y8,aAJ:()=>g_,aFw:()=>ih,cbP:()=>ng,dB:()=>bo,e4L:()=>G1,eGi:()=>q6,f6_:()=>Au,gdJ:()=>yc,hb3:()=>Ep,iW_:()=>yb,iy8:()=>S3,jPR:()=>qg,jTw:()=>N4,k02:()=>Ur,k6j:()=>Xr,knH:()=>Xp,ld_:()=>xp,njF:()=>f5,nsx:()=>Kp,o97:()=>Jm,pCJ:()=>mt,pS3:()=>h6,peG:()=>Hf,qFF:()=>Jg,qIE:()=>oi,s5m:()=>Ws,vfE:()=>pd,xiI:()=>I_,ymQ:()=>Mc,zPk:()=>Tu,zjW:()=>m7,zm_:()=>Bm,zpE:()=>W3});var qe={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"]},mt={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"]},yi={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"]},Qr={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"]},Yo={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"]},St={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"]},qt={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"]},yc={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"]},Xr={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"]},G1={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"]},Mc={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"]},dl={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"]},pl={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"]},ih={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"]},Ws={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"]},pd={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"]},Ah={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"]},Hf={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"]},oi={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"]},O4={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"]},N4={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"]},Qh={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"]},Q2={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"]},f5={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"]},Xp={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"]},Kp={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"]},r0={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"]},a0={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"]},m3={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"]},h6={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"]},Wt={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.8v17.7c0 7.8 4.8 14.8 11.6 18.7c6.8 3.9 15.1 4.5 21.8 .6l13.8-7.9c6.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-14.4 8.3c-6.5 3.7-10 10.9-10 18.4s3.5 14.7 10 18.4l14.4 8.3c6.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-13.8-7.9c-6.7-3.9-15.1-3.3-21.8 .6c-6.8 3.9-11.6 10.9-11.6 18.7v17.7c0 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.8V467.8c0-7.9-4.9-14.9-11.7-18.9c-6.8-3.9-15.2-4.5-22-.6l-13.5 7.8c-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.2l14-8.1c6.5-3.8 10.1-11.1 10.1-18.6s-3.5-14.8-10.1-18.6l-14-8.1c-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.4l13.6 7.8c6.8 3.9 15.2 3.3 22-.6c6.9-3.9 11.7-11 11.7-18.9V218.2zm92.1 133.5a48.1 48.1 0 1 0 -96.1 0 48.1 48.1 0 1 0 96.1 0z"]},Ur={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V32c0-17.7-14.3-32-32-32H352zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]},P6={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"]},yb={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"]},U6={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"]},Dm={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"]},u7={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"]},S3=u7,m7={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"]},bo={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},q6={prefix:"fas",iconName:"network-wired",icon:[640,512,[],"f6ff","M256 64H384v64H256V64zM240 0c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h48v32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96v32H80c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48H240c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48H192V288H448v32H400c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48H560c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48H512V288h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H352V192h48c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H240zM96 448V384H224v64H96zm320-64H544v64H416V384z"]},ng={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"]},Bm={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"]},Tu={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"]},Au={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"]},h_={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"]},g_={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"]},I_={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"]},Jm={prefix:"fas",iconName:"bars-staggered",icon:[512,512,["reorder","stream"],"f550","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},Lg={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"]},Og={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"]},Pg={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"]},Wg={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"]},Jg={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"]},qg={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"]},ap={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"]},wv={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"]},Gv={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"]},t9={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"]},y9={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"]},BC={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"]},JC={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"]},W3={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"]},Y8={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"]},xp={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"]},Ep={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"]},q8={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"]}},4054:(Ve,ee,p)=>{"use strict";p.d(ee,{En:()=>rt,Vm:()=>qe,EH:()=>M,gp:()=>re});var t=p(7673);p(274),p(3993);var x=p(7786),m=p(1985),R=p(1413),d=p(3557),w=p(983),y=p(8810),T=p(8071);class F{constructor(me,xe,ce){this.kind=me,this.value=xe,this.error=ce,this.hasValue="N"===me}observe(me){return V(this,me)}do(me,xe,ce){const{kind:Me,value:Xe,error:Pe}=this;return"N"===Me?me?.(Xe):"E"===Me?xe?.(Pe):ce?.()}accept(me,xe,ce){var Me;return(0,T.T)(null===(Me=me)||void 0===Me?void 0:Me.next)?this.observe(me):this.do(me,xe,ce)}toObservable(){const{kind:me,value:xe,error:ce}=this,Me="N"===me?(0,t.of)(xe):"E"===me?(0,y.$)(()=>ce):"C"===me?w.w:0;if(!Me)throw new TypeError(`Unexpected notification kind ${me}`);return Me}static createNext(me){return new F("N",me)}static createError(me){return new F("E",void 0,me)}static createComplete(){return F.completeNotification}}function V(je,me){var xe,ce,Me;const{kind:Xe,value:Pe,error:Oe}=je;if("string"!=typeof Xe)throw new TypeError('Invalid notification, missing "kind"');"N"===Xe?null===(xe=me.next)||void 0===xe||xe.call(me,Pe):"E"===Xe?null===(ce=me.error)||void 0===ce||ce.call(me,Oe):null===(Me=me.complete)||void 0===Me||Me.call(me)}F.completeNotification=new F("C");var U=p(9974),G=p(4360),$=p(6354),Z=p(9437),ie=p(5964),ve=p(8750);function ae(je,me,xe,ce){return(0,U.N)((Me,Xe)=>{let Pe;me&&"function"!=typeof me?({duration:xe,element:Pe,connector:ce}=me):Pe=me;const Oe=new Map,we=fi=>{Oe.forEach(fi),fi(Xe)},De=fi=>we(Qt=>Qt.error(fi));let $e=0,$t=!1;const Ft=new G.H(Xe,fi=>{try{const Qt=je(fi);let zt=Oe.get(Qt);if(!zt){Oe.set(Qt,zt=ce?ce():new R.B);const Xi=function Kt(fi,Qt){const zt=new m.c(Xi=>{$e++;const ci=Qt.subscribe(Xi);return()=>{ci.unsubscribe(),0==--$e&&$t&&Ft.unsubscribe()}});return zt.key=fi,zt}(Qt,zt);if(Xe.next(Xi),xe){const ci=(0,G._)(zt,()=>{zt.complete(),ci?.unsubscribe()},void 0,void 0,()=>Oe.delete(Qt));Ft.add((0,ve.Tg)(xe(Xi)).subscribe(ci))}}zt.next(Pe?Pe(fi):fi)}catch(Qt){De(Qt)}},()=>we(fi=>fi.complete()),De,()=>Oe.clear(),()=>($t=!0,0===$e));Me.subscribe(Ft)})}var ye=p(1397);function ue(je,me){return me?xe=>xe.pipe(ue((ce,Me)=>(0,ve.Tg)(je(ce,Me)).pipe((0,$.T)((Xe,Pe)=>me(ce,Xe,Me,Pe))))):(0,U.N)((xe,ce)=>{let Me=0,Xe=null,Pe=!1;xe.subscribe((0,G._)(ce,Oe=>{Xe||(Xe=(0,G._)(ce,void 0,()=>{Xe=null,Pe&&ce.complete()}),(0,ve.Tg)(je(Oe,Me++)).subscribe(Xe))},()=>{Pe=!0,!Xe&&ce.complete()}))})}var D=p(6697),n=p(4438),c=p(9640);const f={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},h="__@ngrx/effects_create__";function M(je,me={}){const xe=me.functional?je:je(),ce={...f,...me};return Object.defineProperty(xe,h,{value:ce}),xe}function r(je){return Object.getPrototypeOf(je)}function z(je){return"function"==typeof je}function N(je){return je.filter(z)}function Ie(je,me,xe){const ce=r(je),Xe=ce&&"Object"!==ce.constructor.name?ce.constructor.name:null,Pe=function _(je){return function L(je){return Object.getOwnPropertyNames(je).filter(ce=>!(!je[ce]||!je[ce].hasOwnProperty(h))&&je[ce][h].hasOwnProperty("dispatch")).map(ce=>({propertyName:ce,...je[ce][h]}))}(je)}(je).map(({propertyName:Oe,dispatch:we,useEffectsErrorHandler:De})=>{const $e="function"==typeof je[Oe]?je[Oe]():je[Oe],$t=De?xe($e,me):$e;return!1===we?$t.pipe((0,d.w)()):$t.pipe(function Y(){return(0,U.N)((je,me)=>{je.subscribe((0,G._)(me,xe=>{me.next(F.createNext(xe))},()=>{me.next(F.createComplete()),me.complete()},xe=>{me.next(F.createError(xe)),me.complete()}))})}()).pipe((0,$.T)(Kt=>({effect:je[Oe],notification:Kt,propertyName:Oe,sourceName:Xe,sourceInstance:je})))});return(0,x.h)(...Pe)}function Ye(je,me,xe=10){return je.pipe((0,Z.W)(ce=>(me&&me.handleError(ce),xe<=1?je:Ye(je,me,xe-1))))}let rt=(()=>{class je extends m.c{constructor(xe){super(),xe&&(this.source=xe)}lift(xe){const ce=new je;return ce.source=this,ce.operator=xe,ce}static{this.\u0275fac=function(ce){return new(ce||je)(n.KVO(c.sA))}}static{this.\u0275prov=n.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})();function re(...je){return(0,ie.p)(me=>je.some(xe=>"string"==typeof xe?xe===me.type:xe.type===me.type))}const te=new n.nKC("@ngrx/effects Internal Root Guard"),oe=new n.nKC("@ngrx/effects User Provided Effects"),_e=new n.nKC("@ngrx/effects Internal Root Effects"),de=new n.nKC("@ngrx/effects Internal Root Effects Instances"),pe=new n.nKC("@ngrx/effects Internal Feature Effects"),We=new n.nKC("@ngrx/effects Internal Feature Effects Instance Groups"),se=new n.nKC("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>Ye}),fe="@ngrx/effects/init";(0,c.VP)(fe);function Ue(je){return ht(je,"ngrxOnInitEffects")}function ht(je,me){return je&&me in je&&"function"==typeof je[me]}let tt=(()=>{class je extends R.B{constructor(xe,ce){super(),this.errorHandler=xe,this.effectsErrorHandler=ce}addEffects(xe){this.next(xe)}toActions(){return this.pipe(ae(xe=>function v(je){return!!je.constructor&&"Object"!==je.constructor.name&&"Function"!==je.constructor.name}(xe)?r(xe):xe),(0,ye.Z)(xe=>xe.pipe(ae(wt))),(0,ye.Z)(xe=>{const ce=xe.pipe(ue(Xe=>function ut(je,me){return xe=>{const ce=Ie(xe,je,me);return function Qe(je){return ht(je,"ngrxOnRunEffects")}(xe)?xe.ngrxOnRunEffects(ce):ce}}(this.errorHandler,this.effectsErrorHandler)(Xe)),(0,$.T)(Xe=>(function et(je,me){if("N"===je.notification.kind){const xe=je.notification.value;!function Ke(je){return"function"!=typeof je&&je&&je.type&&"string"==typeof je.type}(xe)&&me.handleError(new Error(`Effect ${function Ct({propertyName:je,sourceInstance:me,sourceName:xe}){const ce="function"==typeof me[je];return xe?`"${xe}.${String(je)}${ce?"()":""}"`:`"${String(je)}()"`}(je)} dispatched an invalid action: ${function _t(je){try{return JSON.stringify(je)}catch{return je}}(xe)}`))}}(Xe,this.errorHandler),Xe.notification)),(0,ie.p)(Xe=>"N"===Xe.kind&&null!=Xe.value),function be(){return(0,U.N)((je,me)=>{je.subscribe((0,G._)(me,xe=>V(xe,me)))})}()),Me=xe.pipe((0,D.s)(1),(0,ie.p)(Ue),(0,$.T)(Xe=>Xe.ngrxOnInitEffects()));return(0,x.h)(ce,Me)}))}static{this.\u0275fac=function(ce){return new(ce||je)(n.KVO(n.zcH),n.KVO(se))}}static{this.\u0275prov=n.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})();function wt(je){return function ke(je){return ht(je,"ngrxOnIdentifyEffects")}(je)?je.ngrxOnIdentifyEffects():""}let vt=(()=>{class je{get isStarted(){return!!this.effectsSubscription}constructor(xe,ce){this.effectSources=xe,this.store=ce,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static{this.\u0275fac=function(ce){return new(ce||je)(n.KVO(tt),n.KVO(c.il))}}static{this.\u0275prov=n.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})(),Ze=(()=>{class je{constructor(xe,ce,Me,Xe,Pe,Oe,we){this.sources=xe,ce.start();for(const De of Xe)xe.addEffects(De);Me.dispatch({type:fe})}addEffects(xe){this.sources.addEffects(xe)}static{this.\u0275fac=function(ce){return new(ce||je)(n.KVO(tt),n.KVO(vt),n.KVO(c.il),n.KVO(de),n.KVO(c.wc,8),n.KVO(c.ae,8),n.KVO(te,8))}}static{this.\u0275mod=n.$C({type:je})}static{this.\u0275inj=n.G2t({})}}return je})(),jt=(()=>{class je{constructor(xe,ce,Me,Xe){const Pe=ce.flat();for(const Oe of Pe)xe.addEffects(Oe)}static{this.\u0275fac=function(ce){return new(ce||je)(n.KVO(Ze),n.KVO(We),n.KVO(c.wc,8),n.KVO(c.ae,8))}}static{this.\u0275mod=n.$C({type:je})}static{this.\u0275inj=n.G2t({})}}return je})(),qe=(()=>{class je{static forFeature(...xe){const ce=xe.flat(),Me=N(ce);return{ngModule:jt,providers:[Me,{provide:pe,multi:!0,useValue:ce},{provide:oe,multi:!0,useValue:[]},{provide:We,multi:!0,useFactory:dt,deps:[pe,oe]}]}}static forRoot(...xe){const ce=xe.flat(),Me=N(ce);return{ngModule:Ze,providers:[Me,{provide:_e,useValue:[ce]},{provide:te,useFactory:Le},{provide:oe,multi:!0,useValue:[]},{provide:de,useFactory:dt,deps:[_e,oe]}]}}static{this.\u0275fac=function(ce){return new(ce||je)}}static{this.\u0275mod=n.$C({type:je})}static{this.\u0275inj=n.G2t({})}}return je})();function dt(je,me){const xe=[];for(const ce of je)xe.push(...ce);for(const ce of me)xe.push(...ce);return xe.map(ce=>function ne(je){return je instanceof n.nKC||z(je)}(ce)?(0,n.WQX)(ce):ce)}function Le(){const je=(0,n.WQX)(vt,{optional:!0,skipSelf:!0}),me=(0,n.WQX)(_e,{self:!0});if((1!==me.length||0!==me[0].length)&&je)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},9640:(Ve,ee,p)=>{"use strict";p.d(ee,{SS:()=>be,Zz:()=>ue,N_:()=>f,Bh:()=>Ct,QU:()=>Ke,sA:()=>Je,h1:()=>nt,il:()=>wt,ae:()=>ir,md:()=>Fn,wc:()=>Xn,q6:()=>_t,VP:()=>V,UX:()=>Qt,vy:()=>Oi,Mz:()=>Ft,on:()=>pi,xk:()=>U});var t=p(4438),e=p(4412),C=p(1985),S=p(1413),l=p(7242),x=p(941),m=p(3993),R=p(2816),d=p(6354),y=p(3294),T=p(9079);const k={};function V(Yt,yi){if(k[Yt]=(k[Yt]||0)+1,"function"==typeof yi)return Y(Yt,(...vi)=>({...yi(...vi),type:Yt}));switch(yi?yi._as:"empty"){case"empty":return Y(Yt,()=>({type:Yt}));case"props":return Y(Yt,vi=>({...vi,type:Yt}));default:throw new Error("Unexpected config.")}}function U(){return{_as:"props",_p:void 0}}function Y(Yt,yi){return Object.defineProperty(yi,"type",{value:Yt,writable:!1})}const ue="@ngrx/store/init";let be=(()=>{class Yt extends e.t{constructor(){super({type:ue})}next(li){if("function"==typeof li)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 li>"u")throw new TypeError("Actions must be objects");if(typeof li.type>"u")throw new TypeError("Actions must have a type property");super.next(li)}complete(){}ngOnDestroy(){super.complete()}static{this.\u0275fac=function(vi){return new(vi||Yt)}}static{this.\u0275prov=t.jDH({token:Yt,factory:Yt.\u0275fac})}}return Yt})();const D=[be],n=new t.nKC("@ngrx/store Internal Root Guard"),c=new t.nKC("@ngrx/store Internal Initial State"),f=new t.nKC("@ngrx/store Initial State"),h=new t.nKC("@ngrx/store Reducer Factory"),M=new t.nKC("@ngrx/store Internal Reducer Factory Provider"),L=new t.nKC("@ngrx/store Initial Reducers"),O=new t.nKC("@ngrx/store Internal Initial Reducers"),_=new t.nKC("@ngrx/store Store Features"),r=new t.nKC("@ngrx/store Internal Store Reducers"),v=new t.nKC("@ngrx/store Internal Feature Reducers"),z=new t.nKC("@ngrx/store Internal Feature Configs"),N=new t.nKC("@ngrx/store Internal Store Features"),ne=new t.nKC("@ngrx/store Internal Feature Reducers Token"),Ie=new t.nKC("@ngrx/store Feature Reducers"),at=new t.nKC("@ngrx/store User Provided Meta Reducers"),Ye=new t.nKC("@ngrx/store Meta Reducers"),rt=new t.nKC("@ngrx/store Internal Resolved Meta Reducers"),re=new t.nKC("@ngrx/store User Runtime Checks Config"),te=new t.nKC("@ngrx/store Internal User Runtime Checks Config"),oe=new t.nKC("@ngrx/store Internal Runtime Checks"),_e=new t.nKC("@ngrx/store Check if Action types are unique");function We(Yt,yi={}){const li=Object.keys(Yt),vi={};for(let ji=0;ji<li.length;ji++){const en=li[ji];"function"==typeof Yt[en]&&(vi[en]=Yt[en])}const Ni=Object.keys(vi);return function(en,nr){en=void 0===en?yi:en;let ar=!1;const tr={};for(let or=0;or<Ni.length;or++){const na=Ni[or],Gr=en[na],Uo=(0,vi[na])(Gr,nr);tr[na]=Uo,ar=ar||Uo!==Gr}return ar?tr:en}}function fe(...Yt){return function(yi){if(0===Yt.length)return yi;const li=Yt[Yt.length-1];return Yt.slice(0,-1).reduceRight((Ni,ji)=>ji(Ni),li(yi))}}function he(Yt,yi){return Array.isArray(yi)&&yi.length>0&&(Yt=fe.apply(null,[...yi,Yt])),(li,vi)=>{const Ni=Yt(li);return(ji,en)=>Ni(ji=void 0===ji?vi:ji,en)}}new t.nKC("@ngrx/store Root Store Provider"),new t.nKC("@ngrx/store Feature State Provider");class Ke extends C.c{}class Ct extends be{}const _t="@ngrx/store/update-reducers";let Nt=(()=>{class Yt extends e.t{get currentReducers(){return this.reducers}constructor(li,vi,Ni,ji){super(ji(Ni,vi)),this.dispatcher=li,this.initialState=vi,this.reducers=Ni,this.reducerFactory=ji}addFeature(li){this.addFeatures([li])}addFeatures(li){const vi=li.reduce((Ni,{reducers:ji,reducerFactory:en,metaReducers:nr,initialState:ar,key:tr})=>{const or="function"==typeof ji?function et(Yt){const yi=Array.isArray(Yt)&&Yt.length>0?fe(...Yt):li=>li;return(li,vi)=>(li=yi(li),(Ni,ji)=>li(Ni=void 0===Ni?vi:Ni,ji))}(nr)(ji,ar):he(en,nr)(ji,ar);return Ni[tr]=or,Ni},{});this.addReducers(vi)}removeFeature(li){this.removeFeatures([li])}removeFeatures(li){this.removeReducers(li.map(vi=>vi.key))}addReducer(li,vi){this.addReducers({[li]:vi})}addReducers(li){this.reducers={...this.reducers,...li},this.updateReducers(Object.keys(li))}removeReducer(li){this.removeReducers([li])}removeReducers(li){li.forEach(vi=>{this.reducers=function se(Yt,yi){return Object.keys(Yt).filter(li=>li!==yi).reduce((li,vi)=>Object.assign(li,{[vi]:Yt[vi]}),{})}(this.reducers,vi)}),this.updateReducers(li)}updateReducers(li){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:_t,features:li})}ngOnDestroy(){this.complete()}static{this.\u0275fac=function(vi){return new(vi||Yt)(t.KVO(Ct),t.KVO(f),t.KVO(L),t.KVO(h))}}static{this.\u0275prov=t.jDH({token:Yt,factory:Yt.\u0275fac})}}return Yt})();const ke=[Nt,{provide:Ke,useExisting:Nt},{provide:Ct,useExisting:be}];let Je=(()=>{class Yt extends S.B{ngOnDestroy(){this.complete()}static{this.\u0275fac=(()=>{let li;return function(Ni){return(li||(li=t.xGo(Yt)))(Ni||Yt)}})()}static{this.\u0275prov=t.jDH({token:Yt,factory:Yt.\u0275fac})}}return Yt})();const Qe=[Je];class nt extends C.c{}let Ue=(()=>{class Yt extends e.t{static{this.INIT=ue}constructor(li,vi,Ni,ji){super(ji);const tr=li.pipe((0,x.Q)(l.T)).pipe((0,m.E)(vi)).pipe((0,R.S)(ht,{state:ji}));this.stateSubscription=tr.subscribe(({state:or,action:na})=>{this.next(or),Ni.next(na)}),this.state=(0,T.ot)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static{this.\u0275fac=function(vi){return new(vi||Yt)(t.KVO(be),t.KVO(Ke),t.KVO(Je),t.KVO(f))}}static{this.\u0275prov=t.jDH({token:Yt,factory:Yt.\u0275fac})}}return Yt})();function ht(Yt={state:void 0},[yi,li]){const{state:vi}=Yt;return{state:li(vi,yi),action:yi}}const tt=[Ue,{provide:nt,useExisting:Ue}];let wt=(()=>{class Yt extends C.c{constructor(li,vi,Ni){super(),this.actionsObserver=vi,this.reducerManager=Ni,this.source=li,this.state=li.state}select(li,...vi){return vt.call(null,li,...vi)(this)}selectSignal(li,vi){return(0,t.EWP)(()=>li(this.state()),vi)}lift(li){const vi=new Yt(this,this.actionsObserver,this.reducerManager);return vi.operator=li,vi}dispatch(li){this.actionsObserver.next(li)}next(li){this.actionsObserver.next(li)}error(li){this.actionsObserver.error(li)}complete(){this.actionsObserver.complete()}addReducer(li,vi){this.reducerManager.addReducer(li,vi)}removeReducer(li){this.reducerManager.removeReducer(li)}static{this.\u0275fac=function(vi){return new(vi||Yt)(t.KVO(nt),t.KVO(be),t.KVO(Nt))}}static{this.\u0275prov=t.jDH({token:Yt,factory:Yt.\u0275fac})}}return Yt})();const ut=[wt];function vt(Yt,yi,...li){return function(Ni){let ji;if("string"==typeof Yt){const en=[yi,...li].filter(Boolean);ji=Ni.pipe(function w(...Yt){const yi=Yt.length;if(0===yi)throw new Error("list of properties cannot be empty.");return(0,d.T)(li=>{let vi=li;for(let Ni=0;Ni<yi;Ni++){const ji=vi?.[Yt[Ni]];if(!(typeof ji<"u"))return;vi=ji}return vi})}(Yt,...en))}else{if("function"!=typeof Yt)throw new TypeError(`Unexpected type '${typeof Yt}' in select operator, expected 'string' or 'function'`);ji=Ni.pipe((0,d.T)(en=>Yt(en,yi)))}return ji.pipe((0,y.F)())}}const Ze="https://ngrx.io/guide/store/configuration/runtime-checks";function jt(Yt){return void 0===Yt}function qe(Yt){return null===Yt}function dt(Yt){return Array.isArray(Yt)}function Et(Yt){return"object"==typeof Yt&&null!==Yt}function xe(Yt){return"function"==typeof Yt}let Xe=!1;function we(Yt,yi){return Yt===yi}function $t(Yt,yi=we,li=we){let ji,vi=null,Ni=null;return{memoized:function tr(){if(void 0!==ji)return ji.result;if(!vi)return Ni=Yt.apply(null,arguments),vi=arguments,Ni;if(!function De(Yt,yi,li){for(let vi=0;vi<Yt.length;vi++)if(!li(Yt[vi],yi[vi]))return!0;return!1}(arguments,vi,yi))return Ni;const or=Yt.apply(null,arguments);return vi=arguments,li(Ni,or)?Ni:(Ni=or,or)},reset:function en(){vi=null,Ni=null},setResult:function nr(or=void 0){ji={result:or}},clearResult:function ar(){ji=void 0}}}function Ft(...Yt){return function fi(Yt,yi={stateFn:Kt}){return function(...li){let vi=li;if(Array.isArray(vi[0])){const[or,...na]=vi;vi=[...or,...na]}else 1===vi.length&&function zt(Yt){return!!Yt&&"object"==typeof Yt&&Object.values(Yt).every(yi=>"function"==typeof yi)}(vi[0])&&(vi=function Xi(Yt){const yi=Object.values(Yt),li=Object.keys(Yt);return[...yi,(...Ni)=>li.reduce((ji,en,nr)=>({...ji,[en]:Ni[nr]}),{})]}(vi[0]));const Ni=vi.slice(0,vi.length-1),ji=vi[vi.length-1],en=Ni.filter(or=>or.release&&"function"==typeof or.release),nr=Yt(function(...or){return ji.apply(null,or)}),ar=$t(function(or,na){return yi.stateFn.apply(null,[or,Ni,na,nr])});return Object.assign(ar.memoized,{release:function tr(){ar.reset(),nr.reset(),en.forEach(or=>or.release())},projector:nr.memoized,setResult:ar.setResult,clearResult:ar.clearResult})}}($t)(...Yt)}function Kt(Yt,yi,li,vi){if(void 0===li){const ji=yi.map(en=>en(Yt));return vi.memoized.apply(null,ji)}const Ni=yi.map(ji=>ji(Yt,li));return vi.memoized.apply(null,[...Ni,li])}function Qt(Yt){return Ft(yi=>{const li=yi[Yt];return!function Oe(){return Xe}()&&(0,t.naY)()&&!(Yt in yi)&&console.warn(`@ngrx/store: The feature name "${Yt}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${Yt}', ...) or StoreModule.forFeature('${Yt}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),li},yi=>yi)}function Qi(Yt){return Yt instanceof t.nKC?(0,t.WQX)(Yt):Yt}function Li(Yt,yi){return yi.map((li,vi)=>{if(Yt[vi]instanceof t.nKC){const Ni=(0,t.WQX)(Yt[vi]);return{key:li.key,reducerFactory:Ni.reducerFactory?Ni.reducerFactory:We,metaReducers:Ni.metaReducers?Ni.metaReducers:[],initialState:Ni.initialState}}return li})}function nn(Yt){return Yt.map(yi=>yi instanceof t.nKC?(0,t.WQX)(yi):yi)}function st(Yt){return"function"==typeof Yt?Yt():Yt}function ii(Yt,yi){return Yt.concat(yi)}function Se(){if((0,t.WQX)(wt,{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 Pt(Yt){Object.freeze(Yt);const yi=xe(Yt);return Object.getOwnPropertyNames(Yt).forEach(li=>{if(!li.startsWith("\u0275")&&function Me(Yt,yi){return Object.prototype.hasOwnProperty.call(Yt,yi)}(Yt,li)&&(!yi||"caller"!==li&&"callee"!==li&&"arguments"!==li)){const vi=Yt[li];(Et(vi)||xe(vi))&&!Object.isFrozen(vi)&&Pt(vi)}}),Yt}function Ei(Yt,yi=[]){return(jt(Yt)||qe(Yt))&&0===yi.length?{path:["root"],value:Yt}:Object.keys(Yt).reduce((vi,Ni)=>{if(vi)return vi;const ji=Yt[Ni];return function ce(Yt){return xe(Yt)&&Yt.hasOwnProperty("\u0275cmp")}(ji)?vi:!(jt(ji)||qe(ji)||function Zt(Yt){return"number"==typeof Yt}(ji)||function Vt(Yt){return"boolean"==typeof Yt}(ji)||function Le(Yt){return"string"==typeof Yt}(ji)||dt(ji))&&(function me(Yt){if(!function je(Yt){return Et(Yt)&&!dt(Yt)}(Yt))return!1;const yi=Object.getPrototypeOf(Yt);return yi===Object.prototype||null===yi}(ji)?Ei(ji,[...yi,Ni]):{path:[...yi,Ni],value:ji})},!1)}function Hi(Yt,yi){if(!1===Yt)return;const li=Yt.path.join("."),vi=new Error(`Detected unserializable ${yi} at "${li}". ${Ze}#strict${yi}serializability`);throw vi.value=Yt.value,vi.unserializablePath=li,vi}function hn(Yt){return(0,t.naY)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...Yt}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Fi({strictActionSerializability:Yt,strictStateSerializability:yi}){return li=>Yt||yi?function ai(Yt,yi){return function(li,vi){yi.action(vi)&&Hi(Ei(vi),"action");const Ni=Yt(li,vi);return yi.state()&&Hi(Ei(Ni),"state"),Ni}}(li,{action:vi=>Yt&&!mn(vi),state:()=>yi}):li}function _n({strictActionImmutability:Yt,strictStateImmutability:yi}){return li=>Yt||yi?function Mt(Yt,yi){return function(li,vi){const Ni=yi.action(vi)?Pt(vi):vi,ji=Yt(li,Ni);return yi.state()?Pt(ji):ji}}(li,{action:vi=>Yt&&!mn(vi),state:()=>yi}):li}function mn(Yt){return Yt.type.startsWith("@ngrx")}function Dt({strictActionWithinNgZone:Yt}){return yi=>Yt?function $i(Yt,yi){return function(li,vi){if(yi.action(vi)&&!t.SKi.isInAngularZone())throw new Error(`Action '${vi.type}' running outside NgZone. ${Ze}#strictactionwithinngzone`);return Yt(li,vi)}}(yi,{action:li=>Yt&&!mn(li)}):yi}function ct(Yt){return[{provide:te,useValue:Yt},{provide:re,useFactory:q,deps:[te]},{provide:oe,deps:[re],useFactory:hn},{provide:Ye,multi:!0,deps:[oe],useFactory:_n},{provide:Ye,multi:!0,deps:[oe],useFactory:Fi},{provide:Ye,multi:!0,deps:[oe],useFactory:Dt}]}function Bt(){return[{provide:_e,multi:!0,deps:[oe],useFactory:it}]}function q(Yt){return Yt}function it(Yt){if(!Yt.strictActionTypeUniqueness)return;const yi=Object.entries(k).filter(([,li])=>li>1).map(([li])=>li);if(yi.length)throw new Error(`Action types are registered more than once, ${yi.map(li=>`"${li}"`).join(", ")}. ${Ze}#strictactiontypeuniqueness`)}function mt(Yt={},yi={}){return[{provide:n,useFactory:Se},{provide:c,useValue:yi.initialState},{provide:f,useFactory:st,deps:[c]},{provide:O,useValue:Yt},{provide:r,useExisting:Yt instanceof t.nKC?Yt:O},{provide:L,deps:[O,[new t.y_5(r)]],useFactory:Qi},{provide:at,useValue:yi.metaReducers?yi.metaReducers:[]},{provide:rt,deps:[Ye,at],useFactory:ii},{provide:M,useValue:yi.reducerFactory?yi.reducerFactory:We},{provide:h,deps:[M,rt],useFactory:he},D,ke,Qe,tt,ut,ct(yi.runtimeChecks),Bt()]}function On(Yt,yi,li={}){return[{provide:z,multi:!0,useValue:Yt instanceof Object?{}:li},{provide:_,multi:!0,useValue:{key:Yt instanceof Object?Yt.name:Yt,reducerFactory:li instanceof t.nKC||!li.reducerFactory?We:li.reducerFactory,metaReducers:li instanceof t.nKC||!li.metaReducers?[]:li.metaReducers,initialState:li instanceof t.nKC||!li.initialState?void 0:li.initialState}},{provide:N,deps:[z,_],useFactory:Li},{provide:v,multi:!0,useValue:Yt instanceof Object?Yt.reducer:yi},{provide:ne,multi:!0,useExisting:yi instanceof t.nKC?yi:v},{provide:Ie,multi:!0,deps:[v,[new t.y_5(ne)]],useFactory:nn},Bt()]}let Xn=(()=>{class Yt{constructor(li,vi,Ni,ji,en,nr){}static{this.\u0275fac=function(vi){return new(vi||Yt)(t.KVO(be),t.KVO(Ke),t.KVO(Je),t.KVO(wt),t.KVO(n,8),t.KVO(_e,8))}}static{this.\u0275mod=t.$C({type:Yt})}static{this.\u0275inj=t.G2t({})}}return Yt})(),ir=(()=>{class Yt{constructor(li,vi,Ni,ji,en){this.features=li,this.featureReducers=vi,this.reducerManager=Ni;const nr=li.map((ar,tr)=>{const na=vi.shift()[tr];return{...ar,reducers:na,initialState:st(ar.initialState)}});Ni.addFeatures(nr)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static{this.\u0275fac=function(vi){return new(vi||Yt)(t.KVO(N),t.KVO(Ie),t.KVO(Nt),t.KVO(Xn),t.KVO(_e,8))}}static{this.\u0275mod=t.$C({type:Yt})}static{this.\u0275inj=t.G2t({})}}return Yt})(),Fn=(()=>{class Yt{static forRoot(li,vi){return{ngModule:Xn,providers:[...mt(li,vi)]}}static forFeature(li,vi,Ni={}){return{ngModule:ir,providers:[...On(li,vi,Ni)]}}static{this.\u0275fac=function(vi){return new(vi||Yt)}}static{this.\u0275mod=t.$C({type:Yt})}static{this.\u0275inj=t.G2t({})}}return Yt})();function pi(...Yt){return{reducer:Yt.pop(),types:Yt.map(vi=>vi.type)}}function Oi(Yt,...yi){const li=new Map;for(const vi of yi)for(const Ni of vi.types){const ji=li.get(Ni);li.set(Ni,ji?(nr,ar)=>vi.reducer(ji(nr,ar),ar):vi.reducer)}return function(vi=Yt,Ni){const ji=li.get(Ni.type);return ji?ji(vi,Ni):vi}}},6064:(Ve,ee,p)=>{"use strict";p.d(ee,{Dl:()=>l6,L8:()=>fm,dV:()=>w3});var t=p(4438),e=p(177),C=p(1635),S=p(6939),l=p(3726),x=p(152),m=p(9969);function R(){}function d(u){return null==u?R:function(){return this.querySelector(u)}}function T(){return[]}function k(u){return null==u?T:function(){return this.querySelectorAll(u)}}function U(u){return function(){return this.matches(u)}}function G(u){return function(I){return I.matches(u)}}var Y=Array.prototype.find;function Z(){return this.firstElementChild}var ve=Array.prototype.filter;function ae(){return Array.from(this.children)}function D(u){return new Array(u.length)}function c(u,I){this.ownerDocument=u.ownerDocument,this.namespaceURI=u.namespaceURI,this._next=null,this._parent=u,this.__data__=I}function h(u,I,o,E,j,K){for(var yt,Re=0,Wt=I.length,Ut=K.length;Re<Ut;++Re)(yt=I[Re])?(yt.__data__=K[Re],E[Re]=yt):o[Re]=new c(u,K[Re]);for(;Re<Wt;++Re)(yt=I[Re])&&(j[Re]=yt)}function M(u,I,o,E,j,K,Re){var yt,Wt,Ai,Ut=new Map,si=I.length,mi=K.length,xi=new Array(si);for(yt=0;yt<si;++yt)(Wt=I[yt])&&(xi[yt]=Ai=Re.call(Wt,Wt.__data__,yt,I)+"",Ut.has(Ai)?j[yt]=Wt:Ut.set(Ai,Wt));for(yt=0;yt<mi;++yt)Ai=Re.call(u,K[yt],yt,K)+"",(Wt=Ut.get(Ai))?(E[yt]=Wt,Wt.__data__=K[yt],Ut.delete(Ai)):o[yt]=new c(u,K[yt]);for(yt=0;yt<si;++yt)(Wt=I[yt])&&Ut.get(xi[yt])===Wt&&(j[yt]=Wt)}function L(u){return u.__data__}function _(u){return"object"==typeof u&&"length"in u?u:Array.from(u)}function Ie(u,I){return u<I?-1:u>I?1:u>=I?0:NaN}c.prototype={constructor:c,appendChild:function(u){return this._parent.insertBefore(u,this._next)},insertBefore:function(u,I){return this._parent.insertBefore(u,I)},querySelector:function(u){return this._parent.querySelector(u)},querySelectorAll:function(u){return this._parent.querySelectorAll(u)}};var _e="http://www.w3.org/1999/xhtml";const de={svg:"http://www.w3.org/2000/svg",xhtml:_e,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function pe(u){var I=u+="",o=I.indexOf(":");return o>=0&&"xmlns"!==(I=u.slice(0,o))&&(u=u.slice(o+1)),de.hasOwnProperty(I)?{space:de[I],local:u}:u}function We(u){return function(){this.removeAttribute(u)}}function se(u){return function(){this.removeAttributeNS(u.space,u.local)}}function fe(u,I){return function(){this.setAttribute(u,I)}}function he(u,I){return function(){this.setAttributeNS(u.space,u.local,I)}}function et(u,I){return function(){var o=I.apply(this,arguments);null==o?this.removeAttribute(u):this.setAttribute(u,o)}}function Ke(u,I){return function(){var o=I.apply(this,arguments);null==o?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,o)}}function _t(u){return u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView}function Nt(u){return function(){this.style.removeProperty(u)}}function ke(u,I,o){return function(){this.style.setProperty(u,I,o)}}function Je(u,I,o){return function(){var E=I.apply(this,arguments);null==E?this.style.removeProperty(u):this.style.setProperty(u,E,o)}}function nt(u,I){return u.style.getPropertyValue(I)||_t(u).getComputedStyle(u,null).getPropertyValue(I)}function Ue(u){return function(){delete this[u]}}function ht(u,I){return function(){this[u]=I}}function tt(u,I){return function(){var o=I.apply(this,arguments);null==o?delete this[u]:this[u]=o}}function ut(u){return u.trim().split(/^|\s+/)}function vt(u){return u.classList||new Ze(u)}function Ze(u){this._node=u,this._names=ut(u.getAttribute("class")||"")}function jt(u,I){for(var o=vt(u),E=-1,j=I.length;++E<j;)o.add(I[E])}function qe(u,I){for(var o=vt(u),E=-1,j=I.length;++E<j;)o.remove(I[E])}function dt(u){return function(){jt(this,u)}}function Le(u){return function(){qe(this,u)}}function Vt(u,I){return function(){(I.apply(this,arguments)?jt:qe)(this,u)}}function Et(){this.textContent=""}function je(u){return function(){this.textContent=u}}function me(u){return function(){var I=u.apply(this,arguments);this.textContent=I??""}}function ce(){this.innerHTML=""}function Me(u){return function(){this.innerHTML=u}}function Xe(u){return function(){var I=u.apply(this,arguments);this.innerHTML=I??""}}function Oe(){this.nextSibling&&this.parentNode.appendChild(this)}function De(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function $t(u){return function(){var I=this.ownerDocument,o=this.namespaceURI;return o===_e&&I.documentElement.namespaceURI===_e?I.createElement(u):I.createElementNS(o,u)}}function Ft(u){return function(){return this.ownerDocument.createElementNS(u.space,u.local)}}function Kt(u){var I=pe(u);return(I.local?Ft:$t)(I)}function Qt(){return null}function Xi(){var u=this.parentNode;u&&u.removeChild(this)}function ui(){var u=this.cloneNode(!1),I=this.parentNode;return I?I.insertBefore(u,this.nextSibling):u}function bn(){var u=this.cloneNode(!0),I=this.parentNode;return I?I.insertBefore(u,this.nextSibling):u}function ii(u){return function(){var I=this.__on;if(I){for(var K,o=0,E=-1,j=I.length;o<j;++o)K=I[o],u.type&&K.type!==u.type||K.name!==u.name?I[++E]=K:this.removeEventListener(K.type,K.listener,K.options);++E?I.length=E:delete this.__on}}}function Se(u,I,o){return function(){var j,E=this.__on,K=function nn(u){return function(I){u.call(this,I,this.__data__)}}(I);if(E)for(var Re=0,yt=E.length;Re<yt;++Re)if((j=E[Re]).type===u.type&&j.name===u.name)return this.removeEventListener(j.type,j.listener,j.options),this.addEventListener(j.type,j.listener=K,j.options=o),void(j.value=I);this.addEventListener(u.type,K,o),j={type:u.type,name:u.name,value:I,listener:K,options:o},E?E.push(j):this.__on=[j]}}function Pt(u,I,o){var E=_t(u),j=E.CustomEvent;"function"==typeof j?j=new j(I,o):(j=E.document.createEvent("Event"),o?(j.initEvent(I,o.bubbles,o.cancelable),j.detail=o.detail):j.initEvent(I,!1,!1)),u.dispatchEvent(j)}function ai(u,I){return function(){return Pt(this,u,I)}}function Ei(u,I){return function(){return Pt(this,u,I.apply(this,arguments))}}Ze.prototype={add:function(u){this._names.indexOf(u)<0&&(this._names.push(u),this._node.setAttribute("class",this._names.join(" ")))},remove:function(u){var I=this._names.indexOf(u);I>=0&&(this._names.splice(I,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(u){return this._names.indexOf(u)>=0}};var hn=[null];function Fi(u,I){this._groups=u,this._parents=I}function _n(){return new Fi([[document.documentElement]],hn)}Fi.prototype=_n.prototype={constructor:Fi,select:function w(u){"function"!=typeof u&&(u=d(u));for(var I=this._groups,o=I.length,E=new Array(o),j=0;j<o;++j)for(var Wt,Ut,K=I[j],Re=K.length,yt=E[j]=new Array(Re),si=0;si<Re;++si)(Wt=K[si])&&(Ut=u.call(Wt,Wt.__data__,si,K))&&("__data__"in Wt&&(Ut.__data__=Wt.__data__),yt[si]=Ut);return new Fi(E,this._parents)},selectAll:function V(u){u="function"==typeof u?function F(u){return function(){return function y(u){return null==u?[]:Array.isArray(u)?u:Array.from(u)}(u.apply(this,arguments))}}(u):k(u);for(var I=this._groups,o=I.length,E=[],j=[],K=0;K<o;++K)for(var Wt,Re=I[K],yt=Re.length,Ut=0;Ut<yt;++Ut)(Wt=Re[Ut])&&(E.push(u.call(Wt,Wt.__data__,Ut,Re)),j.push(Wt));return new Fi(E,j)},selectChild:function ie(u){return this.select(null==u?Z:function $(u){return function(){return Y.call(this.children,u)}}("function"==typeof u?u:G(u)))},selectChildren:function ue(u){return this.selectAll(null==u?ae:function ye(u){return function(){return ve.call(this.children,u)}}("function"==typeof u?u:G(u)))},filter:function be(u){"function"!=typeof u&&(u=U(u));for(var I=this._groups,o=I.length,E=new Array(o),j=0;j<o;++j)for(var Wt,K=I[j],Re=K.length,yt=E[j]=[],Ut=0;Ut<Re;++Ut)(Wt=K[Ut])&&u.call(Wt,Wt.__data__,Ut,K)&&yt.push(Wt);return new Fi(E,this._parents)},data:function O(u,I){if(!arguments.length)return Array.from(this,L);var o=I?M:h,E=this._parents,j=this._groups;"function"!=typeof u&&(u=function f(u){return function(){return u}}(u));for(var K=j.length,Re=new Array(K),yt=new Array(K),Wt=new Array(K),Ut=0;Ut<K;++Ut){var si=E[Ut],mi=j[Ut],xi=mi.length,Ai=_(u.call(si,si&&si.__data__,Ut,E)),on=Ai.length,Tn=yt[Ut]=new Array(on),Di=Re[Ut]=new Array(on);o(si,mi,Tn,Di,Wt[Ut]=new Array(xi),Ai,I);for(var Jn,Wn,Ln=0,gn=0;Ln<on;++Ln)if(Jn=Tn[Ln]){for(Ln>=gn&&(gn=Ln+1);!(Wn=Di[gn])&&++gn<on;);Jn._next=Wn||null}}return(Re=new Fi(Re,E))._enter=yt,Re._exit=Wt,Re},enter:function n(){return new Fi(this._enter||this._groups.map(D),this._parents)},exit:function r(){return new Fi(this._exit||this._groups.map(D),this._parents)},join:function v(u,I,o){var E=this.enter(),j=this,K=this.exit();return"function"==typeof u?(E=u(E))&&(E=E.selection()):E=E.append(u+""),null!=I&&(j=I(j))&&(j=j.selection()),null==o?K.remove():o(K),E&&j?E.merge(j).order():j},merge:function z(u){for(var I=u.selection?u.selection():u,o=this._groups,E=I._groups,j=o.length,Re=Math.min(j,E.length),yt=new Array(j),Wt=0;Wt<Re;++Wt)for(var Ai,Ut=o[Wt],si=E[Wt],mi=Ut.length,xi=yt[Wt]=new Array(mi),on=0;on<mi;++on)(Ai=Ut[on]||si[on])&&(xi[on]=Ai);for(;Wt<j;++Wt)yt[Wt]=o[Wt];return new Fi(yt,this._parents)},selection:function mn(){return this},order:function N(){for(var u=this._groups,I=-1,o=u.length;++I<o;)for(var Re,E=u[I],j=E.length-1,K=E[j];--j>=0;)(Re=E[j])&&(K&&4^Re.compareDocumentPosition(K)&&K.parentNode.insertBefore(Re,K),K=Re);return this},sort:function ne(u){function I(mi,xi){return mi&&xi?u(mi.__data__,xi.__data__):!mi-!xi}u||(u=Ie);for(var o=this._groups,E=o.length,j=new Array(E),K=0;K<E;++K){for(var Ut,Re=o[K],yt=Re.length,Wt=j[K]=new Array(yt),si=0;si<yt;++si)(Ut=Re[si])&&(Wt[si]=Ut);Wt.sort(I)}return new Fi(j,this._parents).order()},call:function at(){var u=arguments[0];return arguments[0]=this,u.apply(null,arguments),this},nodes:function Ye(){return Array.from(this)},node:function rt(){for(var u=this._groups,I=0,o=u.length;I<o;++I)for(var E=u[I],j=0,K=E.length;j<K;++j){var Re=E[j];if(Re)return Re}return null},size:function re(){let u=0;for(const I of this)++u;return u},empty:function te(){return!this.node()},each:function oe(u){for(var I=this._groups,o=0,E=I.length;o<E;++o)for(var yt,j=I[o],K=0,Re=j.length;K<Re;++K)(yt=j[K])&&u.call(yt,yt.__data__,K,j);return this},attr:function Ct(u,I){var o=pe(u);if(arguments.length<2){var E=this.node();return o.local?E.getAttributeNS(o.space,o.local):E.getAttribute(o)}return this.each((null==I?o.local?se:We:"function"==typeof I?o.local?Ke:et:o.local?he:fe)(o,I))},style:function Qe(u,I,o){return arguments.length>1?this.each((null==I?Nt:"function"==typeof I?Je:ke)(u,I,o??"")):nt(this.node(),u)},property:function wt(u,I){return arguments.length>1?this.each((null==I?Ue:"function"==typeof I?tt:ht)(u,I)):this.node()[u]},classed:function Zt(u,I){var o=ut(u+"");if(arguments.length<2){for(var E=vt(this.node()),j=-1,K=o.length;++j<K;)if(!E.contains(o[j]))return!1;return!0}return this.each(("function"==typeof I?Vt:I?dt:Le)(o,I))},text:function xe(u){return arguments.length?this.each(null==u?Et:("function"==typeof u?me:je)(u)):this.node().textContent},html:function Pe(u){return arguments.length?this.each(null==u?ce:("function"==typeof u?Xe:Me)(u)):this.node().innerHTML},raise:function we(){return this.each(Oe)},lower:function $e(){return this.each(De)},append:function fi(u){var I="function"==typeof u?u:Kt(u);return this.select(function(){return this.appendChild(I.apply(this,arguments))})},insert:function zt(u,I){var o="function"==typeof u?u:Kt(u),E=null==I?Qt:"function"==typeof I?I:d(I);return this.select(function(){return this.insertBefore(o.apply(this,arguments),E.apply(this,arguments)||null)})},remove:function ci(){return this.each(Xi)},clone:function Qi(u){return this.select(u?bn:ui)},datum:function Li(u){return arguments.length?this.property("__data__",u):this.node().__data__},on:function Mt(u,I,o){var j,Re,E=function st(u){return u.trim().split(/^|\s+/).map(function(I){var o="",E=I.indexOf(".");return E>=0&&(o=I.slice(E+1),I=I.slice(0,E)),{type:I,name:o}})}(u+""),K=E.length;if(!(arguments.length<2)){for(yt=I?Se:ii,j=0;j<K;++j)this.each(yt(E[j],I,o));return this}var yt=this.node().__on;if(yt)for(var si,Wt=0,Ut=yt.length;Wt<Ut;++Wt)for(j=0,si=yt[Wt];j<K;++j)if((Re=E[j]).type===si.type&&Re.name===si.name)return si.value},dispatch:function Hi(u,I){return this.each(("function"==typeof I?Ei:ai)(u,I))},[Symbol.iterator]:function*$i(){for(var u=this._groups,I=0,o=u.length;I<o;++I)for(var Re,E=u[I],j=0,K=E.length;j<K;++j)(Re=E[j])&&(yield Re)}};const Dt=_n;var Bt={value:()=>{}};function q(){for(var E,u=0,I=arguments.length,o={};u<I;++u){if(!(E=arguments[u]+"")||E in o||/[\s.]/.test(E))throw new Error("illegal type: "+E);o[E]=[]}return new it(o)}function it(u){this._=u}function mt(u,I){for(var j,o=0,E=u.length;o<E;++o)if((j=u[o]).name===I)return j.value}function It(u,I,o){for(var E=0,j=u.length;E<j;++E)if(u[E].name===I){u[E]=Bt,u=u.slice(0,E).concat(u.slice(E+1));break}return null!=o&&u.push({name:I,value:o}),u}it.prototype=q.prototype={constructor:it,on:function(u,I){var j,o=this._,E=function Ae(u,I){return u.trim().split(/^|\s+/).map(function(o){var E="",j=o.indexOf(".");if(j>=0&&(E=o.slice(j+1),o=o.slice(0,j)),o&&!I.hasOwnProperty(o))throw new Error("unknown type: "+o);return{type:o,name:E}})}(u+"",o),K=-1,Re=E.length;if(!(arguments.length<2)){if(null!=I&&"function"!=typeof I)throw new Error("invalid callback: "+I);for(;++K<Re;)if(j=(u=E[K]).type)o[j]=It(o[j],u.name,I);else if(null==I)for(j in o)o[j]=It(o[j],u.name,null);return this}for(;++K<Re;)if((j=(u=E[K]).type)&&(j=mt(o[j],u.name)))return j},copy:function(){var u={},I=this._;for(var o in I)u[o]=I[o].slice();return new it(u)},call:function(u,I){if((j=arguments.length-2)>0)for(var j,K,o=new Array(j),E=0;E<j;++E)o[E]=arguments[E+2];if(!this._.hasOwnProperty(u))throw new Error("unknown type: "+u);for(E=0,j=(K=this._[u]).length;E<j;++E)K[E].value.apply(I,o)},apply:function(u,I,o){if(!this._.hasOwnProperty(u))throw new Error("unknown type: "+u);for(var E=this._[u],j=0,K=E.length;j<K;++j)E[j].value.apply(I,o)}};const Ci=q;function Fn(u,I,o){u.prototype=I.prototype=o,o.constructor=u}function pi(u,I){var o=Object.create(u.prototype);for(var E in I)o[E]=I[E];return o}function Oi(){}var yi=1/.7,li="\\s*([+-]?\\d+)\\s*",vi="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ni="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ji=/^#([0-9a-f]{3,8})$/,en=new RegExp(`^rgb\\(${li},${li},${li}\\)$`),nr=new RegExp(`^rgb\\(${Ni},${Ni},${Ni}\\)$`),ar=new RegExp(`^rgba\\(${li},${li},${li},${vi}\\)$`),tr=new RegExp(`^rgba\\(${Ni},${Ni},${Ni},${vi}\\)$`),or=new RegExp(`^hsl\\(${vi},${Ni},${Ni}\\)$`),na=new RegExp(`^hsla\\(${vi},${Ni},${Ni},${vi}\\)$`),Rr={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 Gr(){return this.rgb().formatHex()}function Go(){return this.rgb().formatRgb()}function kr(u){var I,o;return u=(u+"").trim().toLowerCase(),(I=ji.exec(u))?(o=I[1].length,I=parseInt(I[1],16),6===o?wa(I):3===o?new vr(I>>8&15|I>>4&240,I>>4&15|240&I,(15&I)<<4|15&I,1):8===o?Ia(I>>24&255,I>>16&255,I>>8&255,(255&I)/255):4===o?Ia(I>>12&15|I>>8&240,I>>8&15|I>>4&240,I>>4&15|240&I,((15&I)<<4|15&I)/255):null):(I=en.exec(u))?new vr(I[1],I[2],I[3],1):(I=nr.exec(u))?new vr(255*I[1]/100,255*I[2]/100,255*I[3]/100,1):(I=ar.exec(u))?Ia(I[1],I[2],I[3],I[4]):(I=tr.exec(u))?Ia(255*I[1]/100,255*I[2]/100,255*I[3]/100,I[4]):(I=or.exec(u))?lo(I[1],I[2]/100,I[3]/100,1):(I=na.exec(u))?lo(I[1],I[2]/100,I[3]/100,I[4]):Rr.hasOwnProperty(u)?wa(Rr[u]):"transparent"===u?new vr(NaN,NaN,NaN,0):null}function wa(u){return new vr(u>>16&255,u>>8&255,255&u,1)}function Ia(u,I,o,E){return E<=0&&(u=I=o=NaN),new vr(u,I,o,E)}function io(u,I,o,E){return 1===arguments.length?function Qa(u){return u instanceof Oi||(u=kr(u)),u?new vr((u=u.rgb()).r,u.g,u.b,u.opacity):new vr}(u):new vr(u,I,o,E??1)}function vr(u,I,o,E){this.r=+u,this.g=+I,this.b=+o,this.opacity=+E}function xo(){return`#${Ma(this.r)}${Ma(this.g)}${Ma(this.b)}`}function Co(){const u=ln(this.opacity);return`${1===u?"rgb(":"rgba("}${$r(this.r)}, ${$r(this.g)}, ${$r(this.b)}${1===u?")":`, ${u})`}`}function ln(u){return isNaN(u)?1:Math.max(0,Math.min(1,u))}function $r(u){return Math.max(0,Math.min(255,Math.round(u)||0))}function Ma(u){return((u=$r(u))<16?"0":"")+u.toString(16)}function lo(u,I,o,E){return E<=0?u=I=o=NaN:o<=0||o>=1?u=I=NaN:I<=0&&(u=NaN),new Qr(u,I,o,E)}function ho(u){if(u instanceof Qr)return new Qr(u.h,u.s,u.l,u.opacity);if(u instanceof Oi||(u=kr(u)),!u)return new Qr;if(u instanceof Qr)return u;var I=(u=u.rgb()).r/255,o=u.g/255,E=u.b/255,j=Math.min(I,o,E),K=Math.max(I,o,E),Re=NaN,yt=K-j,Wt=(K+j)/2;return yt?(Re=I===K?(o-E)/yt+6*(o<E):o===K?(E-I)/yt+2:(I-o)/yt+4,yt/=Wt<.5?K+j:2-K-j,Re*=60):yt=Wt>0&&Wt<1?0:Re,new Qr(Re,yt,Wt,u.opacity)}function Qr(u,I,o,E){this.h=+u,this.s=+I,this.l=+o,this.opacity=+E}function no(u){return(u=(u||0)%360)<0?u+360:u}function Ea(u){return Math.max(0,Math.min(1,u||0))}function No(u,I,o){return 255*(u<60?I+(o-I)*u/60:u<180?o:u<240?I+(o-I)*(240-u)/60:I)}function Ra(u,I,o,E,j){var K=u*u,Re=K*u;return((1-3*u+3*K-Re)*I+(4-6*K+3*Re)*o+(1+3*u+3*K-3*Re)*E+Re*j)/6}Fn(Oi,kr,{copy(u){return Object.assign(new this.constructor,this,u)},displayable(){return this.rgb().displayable()},hex:Gr,formatHex:Gr,formatHex8:function Uo(){return this.rgb().formatHex8()},formatHsl:function yo(){return ho(this).formatHsl()},formatRgb:Go,toString:Go}),Fn(vr,io,pi(Oi,{brighter(u){return u=null==u?yi:Math.pow(yi,u),new vr(this.r*u,this.g*u,this.b*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new vr(this.r*u,this.g*u,this.b*u,this.opacity)},rgb(){return this},clamp(){return new vr($r(this.r),$r(this.g),$r(this.b),ln(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:xo,formatHex:xo,formatHex8:function Gn(){return`#${Ma(this.r)}${Ma(this.g)}${Ma(this.b)}${Ma(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Co,toString:Co})),Fn(Qr,function Po(u,I,o,E){return 1===arguments.length?ho(u):new Qr(u,I,o,E??1)},pi(Oi,{brighter(u){return u=null==u?yi:Math.pow(yi,u),new Qr(this.h,this.s,this.l*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new Qr(this.h,this.s,this.l*u,this.opacity)},rgb(){var u=this.h%360+360*(this.h<0),I=isNaN(u)||isNaN(this.s)?0:this.s,o=this.l,E=o+(o<.5?o:1-o)*I,j=2*o-E;return new vr(No(u>=240?u-240:u+120,j,E),No(u,j,E),No(u<120?u+240:u-120,j,E),this.opacity)},clamp(){return new Qr(no(this.h),Ea(this.s),Ea(this.l),ln(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=ln(this.opacity);return`${1===u?"hsl(":"hsla("}${no(this.h)}, ${100*Ea(this.s)}%, ${100*Ea(this.l)}%${1===u?")":`, ${u})`}`}}));const ma=u=>()=>u;function Oa(u,I){var o=I-u;return o?function Nr(u,I){return function(o){return u+o*I}}(u,o):ma(isNaN(u)?I:u)}const ja=function u(I){var o=function Ga(u){return 1==(u=+u)?Oa:function(I,o){return o-I?function Ua(u,I,o){return u=Math.pow(u,o),I=Math.pow(I,o)-u,o=1/o,function(E){return Math.pow(u+E*I,o)}}(I,o,u):ma(isNaN(I)?o:I)}}(I);function E(j,K){var Re=o((j=io(j)).r,(K=io(K)).r),yt=o(j.g,K.g),Wt=o(j.b,K.b),Ut=Oa(j.opacity,K.opacity);return function(si){return j.r=Re(si),j.g=yt(si),j.b=Wt(si),j.opacity=Ut(si),j+""}}return E.gamma=u,E}(1);function Vo(u){return function(I){var Re,yt,o=I.length,E=new Array(o),j=new Array(o),K=new Array(o);for(Re=0;Re<o;++Re)yt=io(I[Re]),E[Re]=yt.r||0,j[Re]=yt.g||0,K[Re]=yt.b||0;return E=u(E),j=u(j),K=u(K),yt.opacity=1,function(Wt){return yt.r=E(Wt),yt.g=j(Wt),yt.b=K(Wt),yt+""}}}function ro(u,I){var Re,o=I?I.length:0,E=u?Math.min(o,u.length):0,j=new Array(E),K=new Array(o);for(Re=0;Re<E;++Re)j[Re]=bi(u[Re],I[Re]);for(;Re<o;++Re)K[Re]=I[Re];return function(yt){for(Re=0;Re<E;++Re)K[Re]=j[Re](yt);return K}}function wr(u,I){var o=new Date;return u=+u,I=+I,function(E){return o.setTime(u*(1-E)+I*E),o}}function ga(u,I){return u=+u,I=+I,function(o){return u*(1-o)+I*o}}function Wo(u,I){var j,o={},E={};for(j in(null===u||"object"!=typeof u)&&(u={}),(null===I||"object"!=typeof I)&&(I={}),I)j in u?o[j]=bi(u[j],I[j]):E[j]=I[j];return function(K){for(j in o)E[j]=o[j](K);return E}}Vo(function wo(u){var I=u.length-1;return function(o){var E=o<=0?o=0:o>=1?(o=1,I-1):Math.floor(o*I),j=u[E],K=u[E+1];return Ra((o-E/I)*I,E>0?u[E-1]:2*j-K,j,K,E<I-1?u[E+2]:2*K-j)}}),Vo(function Lr(u){var I=u.length;return function(o){var E=Math.floor(((o%=1)<0?++o:o)*I);return Ra((o-E/I)*I,u[(E+I-1)%I],u[E%I],u[(E+1)%I],u[(E+2)%I])}});var ra=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Kn=new RegExp(ra.source,"g");function xt(u,I){var E,j,K,o=ra.lastIndex=Kn.lastIndex=0,Re=-1,yt=[],Wt=[];for(u+="",I+="";(E=ra.exec(u))&&(j=Kn.exec(I));)(K=j.index)>o&&(K=I.slice(o,K),yt[Re]?yt[Re]+=K:yt[++Re]=K),(E=E[0])===(j=j[0])?yt[Re]?yt[Re]+=j:yt[++Re]=j:(yt[++Re]=null,Wt.push({i:Re,x:ga(E,j)})),o=Kn.lastIndex;return o<I.length&&(K=I.slice(o),yt[Re]?yt[Re]+=K:yt[++Re]=K),yt.length<2?Wt[0]?function Mi(u){return function(I){return u(I)+""}}(Wt[0].x):function Ht(u){return function(){return u}}(I):(I=Wt.length,function(Ut){for(var mi,si=0;si<I;++si)yt[(mi=Wt[si]).i]=mi.x(Ut);return yt.join("")})}function ni(u,I){I||(I=[]);var j,o=u?Math.min(I.length,u.length):0,E=I.slice();return function(K){for(j=0;j<o;++j)E[j]=u[j]*(1-K)+I[j]*K;return E}}function bi(u,I){var E,o=typeof I;return null==I||"boolean"===o?ma(I):("number"===o?ga:"string"===o?(E=kr(I))?(I=E,ja):xt:I instanceof kr?ja:I instanceof Date?wr:function ki(u){return ArrayBuffer.isView(u)&&!(u instanceof DataView)}(I)?ni:Array.isArray(I)?ro:"function"!=typeof I.valueOf&&"function"!=typeof I.toString||isNaN(I)?Wo:ga)(u,I)}var Za,Xo,Zr=0,Sa=0,Pa=0,uo=1e3,$s=0,Eo=0,Ms=0,aa="object"==typeof performance&&performance.now?performance:Date,Ri="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(u){setTimeout(u,17)};function ft(){return Eo||(Ri(pt),Eo=aa.now()+Ms)}function pt(){Eo=0}function Be(){this._call=this._time=this._next=null}function Tt(u,I,o){var E=new Be;return E.restart(u,I,o),E}function fn(){Eo=($s=aa.now())+Ms,Zr=Sa=0;try{!function ti(){ft(),++Zr;for(var I,u=Za;u;)(I=Eo-u._time)>=0&&u._call.call(void 0,I),u=u._next;--Zr}()}finally{Zr=0,function Ho(){for(var u,o,I=Za,E=1/0;I;)I._call?(E>I._time&&(E=I._time),u=I,I=I._next):(o=I._next,I._next=null,I=u?u._next=o:Za=o);Xo=u,br(E)}(),Eo=0}}function Qn(){var u=aa.now(),I=u-$s;I>uo&&(Ms-=I,$s=u)}function br(u){Zr||(Sa&&(Sa=clearTimeout(Sa)),u-Eo>24?(u<1/0&&(Sa=setTimeout(fn,u-aa.now()-Ms)),Pa&&(Pa=clearInterval(Pa))):(Pa||($s=aa.now(),Pa=setInterval(Qn,uo)),Zr=1,Ri(fn)))}function Wa(u,I,o){var E=new Be;return E.restart(j=>{E.stop(),u(j+I)},I=null==I?0:+I,o),E}Be.prototype=Tt.prototype={constructor:Be,restart:function(u,I,o){if("function"!=typeof u)throw new TypeError("callback is not a function");o=(null==o?ft():+o)+(null==I?0:+I),!this._next&&Xo!==this&&(Xo?Xo._next=this:Za=this,Xo=this),this._call=u,this._time=o,br()},stop:function(){this._call&&(this._call=null,this._time=1/0,br())}};var lc=Ci("start","end","cancel","interrupt"),dc=[],hc=0,fo=3;function la(u,I,o,E,j,K){var Re=u.__transition;if(Re){if(o in Re)return}else u.__transition={};!function Qs(u,I,o){var j,E=u.__transition;function Re(Ut){var si,mi,xi,Ai;if(1!==o.state)return Wt();for(si in E)if((Ai=E[si]).name===o.name){if(Ai.state===fo)return Wa(Re);4===Ai.state?(Ai.state=6,Ai.timer.stop(),Ai.on.call("interrupt",u,u.__data__,Ai.index,Ai.group),delete E[si]):+si<I&&(Ai.state=6,Ai.timer.stop(),Ai.on.call("cancel",u,u.__data__,Ai.index,Ai.group),delete E[si])}if(Wa(function(){o.state===fo&&(o.state=4,o.timer.restart(yt,o.delay,o.time),yt(Ut))}),o.state=2,o.on.call("start",u,u.__data__,o.index,o.group),2===o.state){for(o.state=fo,j=new Array(xi=o.tween.length),si=0,mi=-1;si<xi;++si)(Ai=o.tween[si].value.call(u,u.__data__,o.index,o.group))&&(j[++mi]=Ai);j.length=mi+1}}function yt(Ut){for(var si=Ut<o.duration?o.ease.call(null,Ut/o.duration):(o.timer.restart(Wt),o.state=5,1),mi=-1,xi=j.length;++mi<xi;)j[mi].call(u,si);5===o.state&&(o.on.call("end",u,u.__data__,o.index,o.group),Wt())}function Wt(){for(var Ut in o.state=6,o.timer.stop(),delete E[I],E)return;delete u.__transition}E[I]=o,o.timer=Tt(function K(Ut){o.state=1,o.timer.restart(Re,o.delay,o.time),o.delay<=Ut&&Re(Ut-o.delay)},0,o.time)}(u,o,{name:I,index:E,group:j,on:lc,tween:dc,time:K.time,delay:K.delay,duration:K.duration,ease:K.ease,timer:null,state:hc})}function ao(u,I){var o=Ta(u,I);if(o.state>hc)throw new Error("too late; already scheduled");return o}function Ir(u,I){var o=Ta(u,I);if(o.state>fo)throw new Error("too late; already running");return o}function Ta(u,I){var o=u.__transition;if(!o||!(o=o[I]))throw new Error("transition not found");return o}var _s,uc=180/Math.PI,Ss={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function fc(u,I,o,E,j,K){var Re,yt,Wt;return(Re=Math.sqrt(u*u+I*I))&&(u/=Re,I/=Re),(Wt=u*o+I*E)&&(o-=u*Wt,E-=I*Wt),(yt=Math.sqrt(o*o+E*E))&&(o/=yt,E/=yt,Wt/=yt),u*E<I*o&&(u=-u,I=-I,Wt=-Wt,Re=-Re),{translateX:j,translateY:K,rotate:Math.atan2(I,u)*uc,skewX:Math.atan(Wt)*uc,scaleX:Re,scaleY:yt}}function kl(u,I,o,E){function j(Ut){return Ut.length?Ut.pop()+" ":""}return function(Ut,si){var mi=[],xi=[];return Ut=u(Ut),si=u(si),function K(Ut,si,mi,xi,Ai,on){if(Ut!==mi||si!==xi){var Tn=Ai.push("translate(",null,I,null,o);on.push({i:Tn-4,x:ga(Ut,mi)},{i:Tn-2,x:ga(si,xi)})}else(mi||xi)&&Ai.push("translate("+mi+I+xi+o)}(Ut.translateX,Ut.translateY,si.translateX,si.translateY,mi,xi),function Re(Ut,si,mi,xi){Ut!==si?(Ut-si>180?si+=360:si-Ut>180&&(Ut+=360),xi.push({i:mi.push(j(mi)+"rotate(",null,E)-2,x:ga(Ut,si)})):si&&mi.push(j(mi)+"rotate("+si+E)}(Ut.rotate,si.rotate,mi,xi),function yt(Ut,si,mi,xi){Ut!==si?xi.push({i:mi.push(j(mi)+"skewX(",null,E)-2,x:ga(Ut,si)}):si&&mi.push(j(mi)+"skewX("+si+E)}(Ut.skewX,si.skewX,mi,xi),function Wt(Ut,si,mi,xi,Ai,on){if(Ut!==mi||si!==xi){var Tn=Ai.push(j(Ai)+"scale(",null,",",null,")");on.push({i:Tn-4,x:ga(Ut,mi)},{i:Tn-2,x:ga(si,xi)})}else(1!==mi||1!==xi)&&Ai.push(j(Ai)+"scale("+mi+","+xi+")")}(Ut.scaleX,Ut.scaleY,si.scaleX,si.scaleY,mi,xi),Ut=si=null,function(Ai){for(var Di,on=-1,Tn=xi.length;++on<Tn;)mi[(Di=xi[on]).i]=Di.x(Ai);return mi.join("")}}}var mc=kl(function Dl(u){const I=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(u+"");return I.isIdentity?Ss:fc(I.a,I.b,I.c,I.d,I.e,I.f)},"px, ","px)","deg)"),el=kl(function vs(u){return null!=u&&(_s||(_s=document.createElementNS("http://www.w3.org/2000/svg","g")),_s.setAttribute("transform",u),u=_s.transform.baseVal.consolidate())?fc((u=u.matrix).a,u.b,u.c,u.d,u.e,u.f):Ss},", ",")",")");function Zs(u,I){var o,E;return function(){var j=Ir(this,u),K=j.tween;if(K!==o)for(var Re=0,yt=(E=o=K).length;Re<yt;++Re)if(E[Re].name===I){(E=E.slice()).splice(Re,1);break}j.tween=E}}function Js(u,I,o){var E,j;if("function"!=typeof o)throw new Error;return function(){var K=Ir(this,u),Re=K.tween;if(Re!==E){j=(E=Re).slice();for(var yt={name:I,value:o},Wt=0,Ut=j.length;Wt<Ut;++Wt)if(j[Wt].name===I){j[Wt]=yt;break}Wt===Ut&&j.push(yt)}K.tween=j}}function So(u,I,o){var E=u._id;return u.each(function(){var j=Ir(this,E);(j.value||(j.value={}))[I]=o.apply(this,arguments)}),function(j){return Ta(j,E).value[I]}}function pc(u,I){var o;return("number"==typeof I?ga:I instanceof kr?ja:(o=kr(I))?(I=o,ja):xt)(u,I)}function qs(u){return function(){this.removeAttribute(u)}}function bs(u){return function(){this.removeAttributeNS(u.space,u.local)}}function gc(u,I,o){var E,K,j=o+"";return function(){var Re=this.getAttribute(u);return Re===j?null:Re===E?K:K=I(E=Re,o)}}function _c(u,I,o){var E,K,j=o+"";return function(){var Re=this.getAttributeNS(u.space,u.local);return Re===j?null:Re===E?K:K=I(E=Re,o)}}function os(u,I,o){var E,j,K;return function(){var Re,Wt,yt=o(this);return null==yt?void this.removeAttribute(u):(Re=this.getAttribute(u))===(Wt=yt+"")?null:Re===E&&Wt===j?K:(j=Wt,K=I(E=Re,yt))}}function To(u,I,o){var E,j,K;return function(){var Re,Wt,yt=o(this);return null==yt?void this.removeAttributeNS(u.space,u.local):(Re=this.getAttributeNS(u.space,u.local))===(Wt=yt+"")?null:Re===E&&Wt===j?K:(j=Wt,K=I(E=Re,yt))}}function Ll(u,I){var o,E;function j(){var K=I.apply(this,arguments);return K!==E&&(o=(E=K)&&function Pc(u,I){return function(o){this.setAttributeNS(u.space,u.local,I.call(this,o))}}(u,K)),o}return j._value=I,j}function il(u,I){var o,E;function j(){var K=I.apply(this,arguments);return K!==E&&(o=(E=K)&&function tl(u,I){return function(o){this.setAttribute(u,I.call(this,o))}}(u,K)),o}return j._value=I,j}function Ps(u,I){return function(){ao(this,u).delay=+I.apply(this,arguments)}}function lt(u,I){return I=+I,function(){ao(this,u).delay=I}}function At(u,I){return function(){Ir(this,u).duration=+I.apply(this,arguments)}}function J(u,I){return I=+I,function(){Ir(this,u).duration=I}}var gr=Dt.prototype.constructor;function Bn(u){return function(){this.style.removeProperty(u)}}var mo=0;function Ao(u,I,o,E){this._groups=u,this._parents=I,this._name=o,this._id=E}function Nc(){return++mo}var Ns=Dt.prototype;Ao.prototype=function ec(u){return Dt().transition(u)}.prototype={constructor:Ao,select:function er(u){var I=this._name,o=this._id;"function"!=typeof u&&(u=d(u));for(var E=this._groups,j=E.length,K=new Array(j),Re=0;Re<j;++Re)for(var si,mi,yt=E[Re],Wt=yt.length,Ut=K[Re]=new Array(Wt),xi=0;xi<Wt;++xi)(si=yt[xi])&&(mi=u.call(si,si.__data__,xi,yt))&&("__data__"in si&&(mi.__data__=si.__data__),Ut[xi]=mi,la(Ut[xi],I,o,xi,Ut,Ta(si,o)));return new Ao(K,this._parents,I,o)},selectAll:function yr(u){var I=this._name,o=this._id;"function"!=typeof u&&(u=k(u));for(var E=this._groups,j=E.length,K=[],Re=[],yt=0;yt<j;++yt)for(var si,Wt=E[yt],Ut=Wt.length,mi=0;mi<Ut;++mi)if(si=Wt[mi]){for(var Ai,xi=u.call(si,si.__data__,mi,Wt),on=Ta(si,o),Tn=0,Di=xi.length;Tn<Di;++Tn)(Ai=xi[Tn])&&la(Ai,I,o,Tn,xi,on);K.push(xi),Re.push(si)}return new Ao(K,Re,I,o)},selectChild:Ns.selectChild,selectChildren:Ns.selectChildren,filter:function hi(u){"function"!=typeof u&&(u=U(u));for(var I=this._groups,o=I.length,E=new Array(o),j=0;j<o;++j)for(var Wt,K=I[j],Re=K.length,yt=E[j]=[],Ut=0;Ut<Re;++Ut)(Wt=K[Ut])&&u.call(Wt,Wt.__data__,Ut,K)&&yt.push(Wt);return new Ao(E,this._parents,this._name,this._id)},merge:function Si(u){if(u._id!==this._id)throw new Error;for(var I=this._groups,o=u._groups,E=I.length,K=Math.min(E,o.length),Re=new Array(E),yt=0;yt<K;++yt)for(var xi,Wt=I[yt],Ut=o[yt],si=Wt.length,mi=Re[yt]=new Array(si),Ai=0;Ai<si;++Ai)(xi=Wt[Ai]||Ut[Ai])&&(mi[Ai]=xi);for(;yt<E;++yt)Re[yt]=I[yt];return new Ao(Re,this._parents,this._name,this._id)},selection:function Mr(){return new gr(this._groups,this._parents)},transition:function yc(){for(var u=this._name,I=this._id,o=Nc(),E=this._groups,j=E.length,K=0;K<j;++K)for(var Wt,Re=E[K],yt=Re.length,Ut=0;Ut<yt;++Ut)if(Wt=Re[Ut]){var si=Ta(Wt,I);la(Wt,u,o,Ut,Re,{time:si.time+si.delay+si.duration,delay:0,duration:si.duration,ease:si.ease})}return new Ao(E,this._parents,u,o)},call:Ns.call,nodes:Ns.nodes,node:Ns.node,size:Ns.size,empty:Ns.empty,each:Ns.each,on:function yn(u,I){var o=this._id;return arguments.length<2?Ta(this.node(),o).on.on(u):this.each(function pn(u,I,o){var E,j,K=function tn(u){return(u+"").trim().split(/^|\s+/).every(function(I){var o=I.indexOf(".");return o>=0&&(I=I.slice(0,o)),!I||"start"===I})}(I)?ao:Ir;return function(){var Re=K(this,u),yt=Re.on;yt!==E&&(j=(E=yt).copy()).on(I,o),Re.on=j}}(o,u,I))},attr:function Fs(u,I){var o=pe(u),E="transform"===o?el:pc;return this.attrTween(u,"function"==typeof I?(o.local?To:os)(o,E,So(this,"attr."+u,I)):null==I?(o.local?bs:qs)(o):(o.local?_c:gc)(o,E,I))},attrTween:function ss(u,I){var o="attr."+u;if(arguments.length<2)return(o=this.tween(o))&&o._value;if(null==I)return this.tween(o,null);if("function"!=typeof I)throw new Error;var E=pe(u);return this.tween(o,(E.local?Ll:il)(E,I))},style:function Wr(u,I,o){var E="transform"==(u+="")?mc:pc;return null==I?this.styleTween(u,function oa(u,I){var o,E,j;return function(){var K=nt(this,u),Re=(this.style.removeProperty(u),nt(this,u));return K===Re?null:K===o&&Re===E?j:j=I(o=K,E=Re)}}(u,E)).on("end.style."+u,Bn(u)):"function"==typeof I?this.styleTween(u,function an(u,I,o){var E,j,K;return function(){var Re=nt(this,u),yt=o(this),Wt=yt+"";return null==yt&&(this.style.removeProperty(u),Wt=yt=nt(this,u)),Re===Wt?null:Re===E&&Wt===j?K:(j=Wt,K=I(E=Re,yt))}}(u,E,So(this,"style."+u,I))).each(function fr(u,I){var o,E,j,yt,K="style."+I,Re="end."+K;return function(){var Wt=Ir(this,u),Ut=Wt.on,si=null==Wt.value[K]?yt||(yt=Bn(I)):void 0;(Ut!==o||j!==si)&&(E=(o=Ut).copy()).on(Re,j=si),Wt.on=E}}(this._id,u)):this.styleTween(u,function zi(u,I,o){var E,K,j=o+"";return function(){var Re=nt(this,u);return Re===j?null:Re===E?K:K=I(E=Re,o)}}(u,E,I),o).on("end.style."+u,null)},styleTween:function vc(u,I,o){var E="style."+(u+="");if(arguments.length<2)return(E=this.tween(E))&&E._value;if(null==I)return this.tween(E,null);if("function"!=typeof I)throw new Error;return this.tween(E,function Xa(u,I,o){var E,j;function K(){var Re=I.apply(this,arguments);return Re!==j&&(E=(j=Re)&&function da(u,I,o){return function(E){this.style.setProperty(u,I.call(this,E),o)}}(u,Re,o)),E}return K._value=I,K}(u,I,o??""))},text:function cs(u){return this.tween("text","function"==typeof u?function _a(u){return function(){var I=u(this);this.textContent=I??""}}(So(this,"text",u)):function Vr(u){return function(){this.textContent=u}}(null==u?"":u+""))},textTween:function Il(u){var I="text";if(arguments.length<1)return(I=this.tween(I))&&I._value;if(null==u)return this.tween(I,null);if("function"!=typeof u)throw new Error;return this.tween(I,function bc(u){var I,o;function E(){var j=u.apply(this,arguments);return j!==o&&(I=(o=j)&&function jn(u){return function(I){this.textContent=u.call(this,I)}}(j)),I}return E._value=u,E}(u))},remove:function hr(){return this.on("end.remove",function An(u){return function(){var I=this.parentNode;for(var o in this.__transition)if(+o!==u)return;I&&I.removeChild(this)}}(this._id))},tween:function Os(u,I){var o=this._id;if(u+="",arguments.length<2){for(var Re,E=Ta(this.node(),o).tween,j=0,K=E.length;j<K;++j)if((Re=E[j]).name===u)return Re.value;return null}return this.each((null==I?Zs:Js)(o,u,I))},delay:function Rt(u){var I=this._id;return arguments.length?this.each(("function"==typeof u?Ps:lt)(I,u)):Ta(this.node(),I).delay},duration:function He(u){var I=this._id;return arguments.length?this.each(("function"==typeof u?At:J)(I,u)):Ta(this.node(),I).duration},ease:function Ge(u){var I=this._id;return arguments.length?this.each(function Te(u,I){if("function"!=typeof I)throw new Error;return function(){Ir(this,u).ease=I}}(I,u)):Ta(this.node(),I).ease},easeVarying:function qt(u){if("function"!=typeof u)throw new Error;return this.each(function St(u,I){return function(){var o=I.apply(this,arguments);if("function"!=typeof o)throw new Error;Ir(this,u).ease=o}}(this._id,u))},end:function Xr(){var u,I,o=this,E=o._id,j=o.size();return new Promise(function(K,Re){var yt={value:Re},Wt={value:function(){0==--j&&K()}};o.each(function(){var Ut=Ir(this,E),si=Ut.on;si!==u&&((I=(u=si).copy())._.cancel.push(yt),I._.interrupt.push(yt),I._.end.push(Wt)),Ut.on=I}),0===j&&K()})},[Symbol.iterator]:Ns[Symbol.iterator]};var kn={time:null,delay:0,duration:250,ease:function Vs(u){return((u*=2)<=1?u*u*u:(u-=2)*u*u+2)/2}};function nl(u,I){for(var o;!(o=u.__transition)||!(o=o[I]);)if(!(u=u.parentNode))throw new Error(`transition ${I} not found`);return o}Dt.prototype.interrupt=function Es(u){return this.each(function(){!function cn(u,I){var E,j,Re,o=u.__transition,K=!0;if(o){for(Re in I=null==I?null:I+"",o)(E=o[Re]).name===I?(j=E.state>2&&E.state<5,E.state=6,E.timer.stop(),E.on.call(j?"interrupt":"cancel",u,u.__data__,E.index,E.group),delete o[Re]):K=!1;K&&delete u.__transition}}(this,u)})},Dt.prototype.transition=function rl(u){var I,o;u instanceof Ao?(I=u._id,u=u._name):(I=Nc(),(o=kn).time=ft(),u=null==u?null:u+"");for(var E=this._groups,j=E.length,K=0;K<j;++K)for(var Wt,Re=E[K],yt=Re.length,Ut=0;Ut<yt;++Ut)(Wt=Re[Ut])&&la(Wt,u,I,Ut,Re,o||nl(Wt,I));return new Ao(E,this._parents,u,I)};Math;function Cn(u){return{type:u}}function gi(u,I){return null==u||null==I?NaN:u<I?-1:u>I?1:u>=I?0:NaN}function rn(u,I){return null==u||null==I?NaN:I<u?-1:I>u?1:I>=u?0:NaN}function Sn(u){let I,o,E;function j(yt,Wt,Ut=0,si=yt.length){if(Ut<si){if(0!==I(Wt,Wt))return si;do{const mi=Ut+si>>>1;o(yt[mi],Wt)<0?Ut=mi+1:si=mi}while(Ut<si)}return Ut}return 2!==u.length?(I=gi,o=(yt,Wt)=>gi(u(yt),Wt),E=(yt,Wt)=>u(yt)-Wt):(I=u===gi||u===rn?u:Zn,o=u,E=u),{left:j,center:function Re(yt,Wt,Ut=0,si=yt.length){const mi=j(yt,Wt,Ut,si-1);return mi>Ut&&E(yt[mi-1],Wt)>-E(yt[mi],Wt)?mi-1:mi},right:function K(yt,Wt,Ut=0,si=yt.length){if(Ut<si){if(0!==I(Wt,Wt))return si;do{const mi=Ut+si>>>1;o(yt[mi],Wt)<=0?Ut=mi+1:si=mi}while(Ut<si)}return Ut}}}function Zn(){return 0}["w","e"].map(Cn),["n","s"].map(Cn),["n","w","e","s","nw","ne","sw","se"].map(Cn);const _r=Math.sqrt(50),ys=Math.sqrt(10),Or=Math.sqrt(2);function Ya(u,I,o){const E=(I-u)/Math.max(0,o),j=Math.floor(Math.log10(E)),K=E/Math.pow(10,j),Re=K>=_r?10:K>=ys?5:K>=Or?2:1;let yt,Wt,Ut;return j<0?(Ut=Math.pow(10,-j)/Re,yt=Math.round(u*Ut),Wt=Math.round(I*Ut),yt/Ut<u&&++yt,Wt/Ut>I&&--Wt,Ut=-Ut):(Ut=Math.pow(10,j)*Re,yt=Math.round(u/Ut),Wt=Math.round(I/Ut),yt*Ut<u&&++yt,Wt*Ut>I&&--Wt),Wt<yt&&.5<=o&&o<2?Ya(u,I,2*o):[yt,Wt,Ut]}function xc(u,I,o){return Ya(u=+u,I=+I,o=+o)[2]}function Pl(u,I,o){o=+o;const E=(I=+I)<(u=+u),j=E?xc(I,u,o):xc(u,I,o);return(E?-1:1)*(j<0?1/-j:j)}const Zo=1e3,As=6e4,zs=60*As,Cc=24*zs,Ds=7*Cc,Nl=30*Cc,H1=365*Cc,Er=new Date,m1=new Date;function Da(u,I,o,E){function j(K){return u(K=0===arguments.length?new Date:new Date(+K)),K}return j.floor=K=>(u(K=new Date(+K)),K),j.ceil=K=>(u(K=new Date(K-1)),I(K,1),u(K),K),j.round=K=>{const Re=j(K),yt=j.ceil(K);return K-Re<yt-K?Re:yt},j.offset=(K,Re)=>(I(K=new Date(+K),null==Re?1:Math.floor(Re)),K),j.range=(K,Re,yt)=>{const Wt=[];if(K=j.ceil(K),yt=null==yt?1:Math.floor(yt),!(K<Re&&yt>0))return Wt;let Ut;do{Wt.push(Ut=new Date(+K)),I(K,yt),u(K)}while(Ut<K&&K<Re);return Wt},j.filter=K=>Da(Re=>{if(Re>=Re)for(;u(Re),!K(Re);)Re.setTime(Re-1)},(Re,yt)=>{if(Re>=Re)if(yt<0)for(;++yt<=0;)for(;I(Re,-1),!K(Re););else for(;--yt>=0;)for(;I(Re,1),!K(Re););}),o&&(j.count=(K,Re)=>(Er.setTime(+K),m1.setTime(+Re),u(Er),u(m1),Math.floor(o(Er,m1))),j.every=K=>(K=Math.floor(K),isFinite(K)&&K>0?K>1?j.filter(E?Re=>E(Re)%K==0:Re=>j.count(0,Re)%K==0):j:null)),j}const po=Da(()=>{},(u,I)=>{u.setTime(+u+I)},(u,I)=>I-u);po.every=u=>(u=Math.floor(u),isFinite(u)&&u>0?u>1?Da(I=>{I.setTime(Math.floor(I/u)*u)},(I,o)=>{I.setTime(+I+o*u)},(I,o)=>(o-I)/u):po:null);const tc=Da(u=>{u.setTime(u-u.getMilliseconds())},(u,I)=>{u.setTime(+u+I*Zo)},(u,I)=>(I-u)/Zo,u=>u.getUTCSeconds()),Jo=Da(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*Zo)},(u,I)=>{u.setTime(+u+I*As)},(u,I)=>(I-u)/As,u=>u.getMinutes()),z1=Da(u=>{u.setUTCSeconds(0,0)},(u,I)=>{u.setTime(+u+I*As)},(u,I)=>(I-u)/As,u=>u.getUTCMinutes()),qa=Da(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*Zo-u.getMinutes()*As)},(u,I)=>{u.setTime(+u+I*zs)},(u,I)=>(I-u)/zs,u=>u.getHours()),v0=Da(u=>{u.setUTCMinutes(0,0,0)},(u,I)=>{u.setTime(+u+I*zs)},(u,I)=>(I-u)/zs,u=>u.getUTCHours()),al=Da(u=>u.setHours(0,0,0,0),(u,I)=>u.setDate(u.getDate()+I),(u,I)=>(I-u-(I.getTimezoneOffset()-u.getTimezoneOffset())*As)/Cc,u=>u.getDate()-1),wc=(Da(u=>{u.setUTCHours(0,0,0,0)},(u,I)=>{u.setUTCDate(u.getUTCDate()+I)},(u,I)=>(I-u)/Cc,u=>u.getUTCDate()-1),Da(u=>{u.setUTCHours(0,0,0,0)},(u,I)=>{u.setUTCDate(u.getUTCDate()+I)},(u,I)=>(I-u)/Cc,u=>Math.floor(u/Cc)));function Nn(u){return Da(I=>{I.setDate(I.getDate()-(I.getDay()+7-u)%7),I.setHours(0,0,0,0)},(I,o)=>{I.setDate(I.getDate()+7*o)},(I,o)=>(o-I-(o.getTimezoneOffset()-I.getTimezoneOffset())*As)/Ds)}const Hl=Nn(0);function Ii(u){return Da(I=>{I.setUTCDate(I.getUTCDate()-(I.getUTCDay()+7-u)%7),I.setUTCHours(0,0,0,0)},(I,o)=>{I.setUTCDate(I.getUTCDate()+7*o)},(I,o)=>(o-I)/Ds)}Nn(1),Nn(2),Nn(3),Nn(4),Nn(5),Nn(6);const ur=Ii(0),j1=(Ii(1),Ii(2),Ii(3),Ii(4),Ii(5),Ii(6),Da(u=>{u.setDate(1),u.setHours(0,0,0,0)},(u,I)=>{u.setMonth(u.getMonth()+I)},(u,I)=>I.getMonth()-u.getMonth()+12*(I.getFullYear()-u.getFullYear()),u=>u.getMonth())),ic=Da(u=>{u.setUTCDate(1),u.setUTCHours(0,0,0,0)},(u,I)=>{u.setUTCMonth(u.getUTCMonth()+I)},(u,I)=>I.getUTCMonth()-u.getUTCMonth()+12*(I.getUTCFullYear()-u.getUTCFullYear()),u=>u.getUTCMonth()),us=Da(u=>{u.setMonth(0,1),u.setHours(0,0,0,0)},(u,I)=>{u.setFullYear(u.getFullYear()+I)},(u,I)=>I.getFullYear()-u.getFullYear(),u=>u.getFullYear());us.every=u=>isFinite(u=Math.floor(u))&&u>0?Da(I=>{I.setFullYear(Math.floor(I.getFullYear()/u)*u),I.setMonth(0,1),I.setHours(0,0,0,0)},(I,o)=>{I.setFullYear(I.getFullYear()+o*u)}):null;const p1=Da(u=>{u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},(u,I)=>{u.setUTCFullYear(u.getUTCFullYear()+I)},(u,I)=>I.getUTCFullYear()-u.getUTCFullYear(),u=>u.getUTCFullYear());function ya(u,I,o,E,j,K){const Re=[[tc,1,Zo],[tc,5,5e3],[tc,15,15e3],[tc,30,3e4],[K,1,As],[K,5,5*As],[K,15,15*As],[K,30,30*As],[j,1,zs],[j,3,3*zs],[j,6,6*zs],[j,12,12*zs],[E,1,Cc],[E,2,2*Cc],[o,1,Ds],[I,1,Nl],[I,3,3*Nl],[u,1,H1]];function Wt(Ut,si,mi){const xi=Math.abs(si-Ut)/mi,Ai=Sn(([,,Di])=>Di).right(Re,xi);if(Ai===Re.length)return u.every(Pl(Ut/H1,si/H1,mi));if(0===Ai)return po.every(Math.max(Pl(Ut,si,mi),1));const[on,Tn]=Re[xi/Re[Ai-1][2]<Re[Ai][2]/xi?Ai-1:Ai];return on.every(Tn)}return[function yt(Ut,si,mi){const xi=si<Ut;xi&&([Ut,si]=[si,Ut]);const Ai=mi&&"function"==typeof mi.range?mi:Wt(Ut,si,mi),on=Ai?Ai.range(Ut,+si+1):[];return xi?on.reverse():on},Wt]}p1.every=u=>isFinite(u=Math.floor(u))&&u>0?Da(I=>{I.setUTCFullYear(Math.floor(I.getUTCFullYear()/u)*u),I.setUTCMonth(0,1),I.setUTCHours(0,0,0,0)},(I,o)=>{I.setUTCFullYear(I.getUTCFullYear()+o*u)}):null;const[Na,e2]=ya(p1,ic,ur,wc,v0,z1),[xa,Bc]=ya(us,j1,Hl,al,qa,Jo);var nc=new Date,Bl=new Date;function Bs(u,I,o,E){function j(K){return u(K=0===arguments.length?new Date:new Date(+K)),K}return j.floor=function(K){return u(K=new Date(+K)),K},j.ceil=function(K){return u(K=new Date(K-1)),I(K,1),u(K),K},j.round=function(K){var Re=j(K),yt=j.ceil(K);return K-Re<yt-K?Re:yt},j.offset=function(K,Re){return I(K=new Date(+K),null==Re?1:Math.floor(Re)),K},j.range=function(K,Re,yt){var Ut,Wt=[];if(K=j.ceil(K),yt=null==yt?1:Math.floor(yt),!(K<Re&&yt>0))return Wt;do{Wt.push(Ut=new Date(+K)),I(K,yt),u(K)}while(Ut<K&&K<Re);return Wt},j.filter=function(K){return Bs(function(Re){if(Re>=Re)for(;u(Re),!K(Re);)Re.setTime(Re-1)},function(Re,yt){if(Re>=Re)if(yt<0)for(;++yt<=0;)for(;I(Re,-1),!K(Re););else for(;--yt>=0;)for(;I(Re,1),!K(Re););})},o&&(j.count=function(K,Re){return nc.setTime(+K),Bl.setTime(+Re),u(nc),u(Bl),Math.floor(o(nc,Bl))},j.every=function(K){return K=Math.floor(K),isFinite(K)&&K>0?K>1?j.filter(E?function(Re){return E(Re)%K==0}:function(Re){return j.count(0,Re)%K==0}):j:null}),j}const Ul=864e5,X1=7*Ul;function Va(u){return Bs(function(I){I.setUTCDate(I.getUTCDate()-(I.getUTCDay()+7-u)%7),I.setUTCHours(0,0,0,0)},function(I,o){I.setUTCDate(I.getUTCDate()+7*o)},function(I,o){return(o-I)/X1})}var Uc=Va(0),Fr=Va(1),cl=(Va(2),Va(3),Va(4));const a2=(Va(5),Va(6),Bs(function(u){u.setUTCHours(0,0,0,0)},function(u,I){u.setUTCDate(u.getUTCDate()+I)},function(u,I){return(I-u)/Ul},function(u){return u.getUTCDate()-1}));function ll(u){return Bs(function(I){I.setDate(I.getDate()-(I.getDay()+7-u)%7),I.setHours(0,0,0,0)},function(I,o){I.setDate(I.getDate()+7*o)},function(I,o){return(o-I-6e4*(o.getTimezoneOffset()-I.getTimezoneOffset()))/X1})}var Gc=ll(0),jc=ll(1),dl=(ll(2),ll(3),ll(4));const tf=(ll(5),ll(6),Bs(u=>u.setHours(0,0,0,0),(u,I)=>u.setDate(u.getDate()+I),(u,I)=>(I-u-6e4*(I.getTimezoneOffset()-u.getTimezoneOffset()))/Ul,u=>u.getDate()-1));var Q1=Bs(function(u){u.setMonth(0,1),u.setHours(0,0,0,0)},function(u,I){u.setFullYear(u.getFullYear()+I)},function(u,I){return I.getFullYear()-u.getFullYear()},function(u){return u.getFullYear()});Q1.every=function(u){return isFinite(u=Math.floor(u))&&u>0?Bs(function(I){I.setFullYear(Math.floor(I.getFullYear()/u)*u),I.setMonth(0,1),I.setHours(0,0,0,0)},function(I,o){I.setFullYear(I.getFullYear()+o*u)}):null};const Gl=Q1;var s2=Bs(function(u){u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},function(u,I){u.setUTCFullYear(u.getUTCFullYear()+I)},function(u,I){return I.getUTCFullYear()-u.getUTCFullYear()},function(u){return u.getUTCFullYear()});s2.every=function(u){return isFinite(u=Math.floor(u))&&u>0?Bs(function(I){I.setUTCFullYear(Math.floor(I.getUTCFullYear()/u)*u),I.setUTCMonth(0,1),I.setUTCHours(0,0,0,0)},function(I,o){I.setUTCFullYear(I.getUTCFullYear()+o*u)}):null};const Wc=s2;function Z1(u){if(0<=u.y&&u.y<100){var I=new Date(-1,u.m,u.d,u.H,u.M,u.S,u.L);return I.setFullYear(u.y),I}return new Date(u.y,u.m,u.d,u.H,u.M,u.S,u.L)}function jl(u){if(0<=u.y&&u.y<100){var I=new Date(Date.UTC(-1,u.m,u.d,u.H,u.M,u.S,u.L));return I.setUTCFullYear(u.y),I}return new Date(Date.UTC(u.y,u.m,u.d,u.H,u.M,u.S,u.L))}function fl(u,I,o){return{y:u,m:I,d:o,H:0,M:0,S:0,L:0}}var c2={"-":"",_:" ",0:"0"},eo=/^\s*\d+/,O0=/^%/,l2=/[\\^$*+?|[\]().{}]/g;function Dr(u,I,o){var E=u<0?"-":"",j=(E?-u:u)+"",K=j.length;return E+(K<o?new Array(o-K+1).join(I)+j:j)}function J1(u){return u.replace(l2,"\\$&")}function ks(u){return new RegExp("^(?:"+u.map(J1).join("|")+")","i")}function _1(u){return new Map(u.map((I,o)=>[I.toLowerCase(),o]))}function F0(u,I,o){var E=eo.exec(I.slice(o,o+1));return E?(u.w=+E[0],o+E[0].length):-1}function d2(u,I,o){var E=eo.exec(I.slice(o,o+1));return E?(u.u=+E[0],o+E[0].length):-1}function Wl(u,I,o){var E=eo.exec(I.slice(o,o+2));return E?(u.U=+E[0],o+E[0].length):-1}function Xl(u,I,o){var E=eo.exec(I.slice(o,o+2));return E?(u.V=+E[0],o+E[0].length):-1}function to(u,I,o){var E=eo.exec(I.slice(o,o+2));return E?(u.W=+E[0],o+E[0].length):-1}function P0(u,I,o){var E=eo.exec(I.slice(o,o+4));return E?(u.y=+E[0],o+E[0].length):-1}function h2(u,I,o){var E=eo.exec(I.slice(o,o+2));return E?(u.y=+E[0]+(+E[0]>68?1900:2e3),o+E[0].length):-1}function u2(u,I,o){var E=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(I.slice(o,o+6));return E?(u.Z=E[1]?0:-(E[2]+(E[3]||"00")),o+E[0].length):-1}function N0(u,I,o){var E=eo.exec(I.slice(o,o+1));return E?(u.q=3*E[0]-3,o+E[0].length):-1}function V0(u,I,o){var E=eo.exec(I.slice(o,o+2));return E?(u.m=E[0]-1,o+E[0].length):-1}function Yl(u,I,o){var E=eo.exec(I.slice(o,o+2));return E?(u.d=+E[0],o+E[0].length):-1}function nf(u,I,o){var E=eo.exec(I.slice(o,o+3));return E?(u.m=0,u.d=+E[0],o+E[0].length):-1}function q1(u,I,o){var E=eo.exec(I.slice(o,o+2));return E?(u.H=+E[0],o+E[0].length):-1}function f2(u,I,o){var E=eo.exec(I.slice(o,o+2));return E?(u.M=+E[0],o+E[0].length):-1}function ed(u,I,o){var E=eo.exec(I.slice(o,o+2));return E?(u.S=+E[0],o+E[0].length):-1}function H0(u,I,o){var E=eo.exec(I.slice(o,o+3));return E?(u.L=+E[0],o+E[0].length):-1}function rf(u,I,o){var E=eo.exec(I.slice(o,o+6));return E?(u.L=Math.floor(E[0]/1e3),o+E[0].length):-1}function z0(u,I,o){var E=O0.exec(I.slice(o,o+1));return E?o+E[0].length:-1}function B0(u,I,o){var E=eo.exec(I.slice(o));return E?(u.Q=+E[0],o+E[0].length):-1}function td(u,I,o){var E=eo.exec(I.slice(o));return E?(u.s=+E[0],o+E[0].length):-1}function v1(u,I){return Dr(u.getDate(),I,2)}function m2(u,I){return Dr(u.getHours(),I,2)}function af(u,I){return Dr(u.getHours()%12||12,I,2)}function sf(u,I){return Dr(1+tf.count(Gl(u),u),I,3)}function cf(u,I){return Dr(u.getMilliseconds(),I,3)}function U0(u,I){return cf(u,I)+"000"}function G0(u,I){return Dr(u.getMonth()+1,I,2)}function go(u,I){return Dr(u.getMinutes(),I,2)}function t4(u,I){return Dr(u.getSeconds(),I,2)}function j0(u){var I=u.getDay();return 0===I?7:I}function n4(u,I){return Dr(Gc.count(Gl(u)-1,u),I,2)}function p2(u){var I=u.getDay();return I>=4||0===I?dl(u):dl.ceil(u)}function r4(u,I){return u=p2(u),Dr(dl.count(Gl(u),u)+(4===Gl(u).getDay()),I,2)}function id(u){return u.getDay()}function Us(u,I){return Dr(jc.count(Gl(u)-1,u),I,2)}function nd(u,I){return Dr(u.getFullYear()%100,I,2)}function ml(u,I){return Dr((u=p2(u)).getFullYear()%100,I,2)}function lf(u,I){return Dr(u.getFullYear()%1e4,I,4)}function W0(u,I){var o=u.getDay();return Dr((u=o>=4||0===o?dl(u):dl.ceil(u)).getFullYear()%1e4,I,4)}function g2(u){var I=u.getTimezoneOffset();return(I>0?"-":(I*=-1,"+"))+Dr(I/60|0,"0",2)+Dr(I%60,"0",2)}function b1(u,I){return Dr(u.getUTCDate(),I,2)}function df(u,I){return Dr(u.getUTCHours(),I,2)}function a4(u,I){return Dr(u.getUTCHours()%12||12,I,2)}function o4(u,I){return Dr(1+a2.count(Wc(u),u),I,3)}function hf(u,I){return Dr(u.getUTCMilliseconds(),I,3)}function uf(u,I){return hf(u,I)+"000"}function Kl(u,I){return Dr(u.getUTCMonth()+1,I,2)}function y1(u,I){return Dr(u.getUTCMinutes(),I,2)}function $l(u,I){return Dr(u.getUTCSeconds(),I,2)}function ff(u){var I=u.getUTCDay();return 0===I?7:I}function rd(u,I){return Dr(Uc.count(Wc(u)-1,u),I,2)}function Gs(u){var I=u.getUTCDay();return I>=4||0===I?cl(u):cl.ceil(u)}function X0(u,I){return u=Gs(u),Dr(cl.count(Wc(u),u)+(4===Wc(u).getUTCDay()),I,2)}function ad(u){return u.getUTCDay()}function x1(u,I){return Dr(Fr.count(Wc(u)-1,u),I,2)}function Y0(u,I){return Dr(u.getUTCFullYear()%100,I,2)}function K0(u,I){return Dr((u=Gs(u)).getUTCFullYear()%100,I,2)}function $0(u,I){return Dr(u.getUTCFullYear()%1e4,I,4)}function C1(u,I){var o=u.getUTCDay();return Dr((u=o>=4||0===o?cl(u):cl.ceil(u)).getUTCFullYear()%1e4,I,4)}function od(){return"+0000"}function sd(){return"%"}function Q0(u){return+u}function Z0(u){return Math.floor(+u/1e3)}function cd(u){return null===u?NaN:+u}!function v2(u){(function R0(u){var I=u.dateTime,o=u.date,E=u.time,j=u.periods,K=u.days,Re=u.shortDays,yt=u.months,Wt=u.shortMonths,Ut=ks(j),si=_1(j),mi=ks(K),xi=_1(K),Ai=ks(Re),on=_1(Re),Tn=ks(yt),Di=_1(yt),xn=ks(Wt),Ln=_1(Wt),gn={a:function fa(Mn){return Re[Mn.getDay()]},A:function Lo(Mn){return K[Mn.getDay()]},b:function Yr(Mn){return Wt[Mn.getMonth()]},B:function Io(Mn){return yt[Mn.getMonth()]},c:null,d:v1,e:v1,f:U0,g:ml,G:W0,H:m2,I:af,j:sf,L:cf,m:G0,M:go,p:function so(Mn){return j[+(Mn.getHours()>=12)]},q:function co(Mn){return 1+~~(Mn.getMonth()/3)},Q:Q0,s:Z0,S:t4,u:j0,U:n4,V:r4,w:id,W:Us,x:null,X:null,y:nd,Y:lf,Z:g2,"%":sd},Jn={a:function l0(Mn){return Re[Mn.getUTCDay()]},A:function Fd(Mn){return K[Mn.getUTCDay()]},b:function Pd(Mn){return Wt[Mn.getUTCMonth()]},B:function Nd(Mn){return yt[Mn.getUTCMonth()]},c:null,d:b1,e:b1,f:uf,g:K0,G:C1,H:df,I:a4,j:o4,L:hf,m:Kl,M:y1,p:function Ro(Mn){return j[+(Mn.getUTCHours()>=12)]},q:function N1(Mn){return 1+~~(Mn.getUTCMonth()/3)},Q:Q0,s:Z0,S:$l,u:ff,U:rd,V:X0,w:ad,W:x1,x:null,X:null,y:Y0,Y:$0,Z:od,"%":sd},Wn={a:function Pr(Mn,dr,Cr){var Ji=Ai.exec(dr.slice(Cr));return Ji?(Mn.w=on.get(Ji[0].toLowerCase()),Cr+Ji[0].length):-1},A:function Vn(Mn,dr,Cr){var Ji=mi.exec(dr.slice(Cr));return Ji?(Mn.w=xi.get(Ji[0].toLowerCase()),Cr+Ji[0].length):-1},b:function zo(Mn,dr,Cr){var Ji=xn.exec(dr.slice(Cr));return Ji?(Mn.m=Ln.get(Ji[0].toLowerCase()),Cr+Ji[0].length):-1},B:function Tr(Mn,dr,Cr){var Ji=Tn.exec(dr.slice(Cr));return Ji?(Mn.m=Di.get(Ji[0].toLowerCase()),Cr+Ji[0].length):-1},c:function ia(Mn,dr,Cr){return ta(Mn,I,dr,Cr)},d:Yl,e:Yl,f:rf,g:h2,G:P0,H:q1,I:q1,j:nf,L:H0,m:V0,M:f2,p:function ps(Mn,dr,Cr){var Ji=Ut.exec(dr.slice(Cr));return Ji?(Mn.p=si.get(Ji[0].toLowerCase()),Cr+Ji[0].length):-1},q:N0,Q:B0,s:td,S:ed,u:d2,U:Wl,V:Xl,w:F0,W:to,x:function Is(Mn,dr,Cr){return ta(Mn,o,dr,Cr)},X:function za(Mn,dr,Cr){return ta(Mn,E,dr,Cr)},y:h2,Y:P0,Z:u2,"%":z0};function Rn(Mn,dr){return function(Cr){var Bo,$n,$a,Ji=[],Ka=-1,Ur=0,gs=Mn.length;for(Cr instanceof Date||(Cr=new Date(+Cr));++Ka<gs;)37===Mn.charCodeAt(Ka)&&(Ji.push(Mn.slice(Ur,Ka)),null!=($n=c2[Bo=Mn.charAt(++Ka)])?Bo=Mn.charAt(++Ka):$n="e"===Bo?" ":"0",($a=dr[Bo])&&(Bo=$a(Cr,$n)),Ji.push(Bo),Ur=Ka+1);return Ji.push(Mn.slice(Ur,Ka)),Ji.join("")}}function ea(Mn,dr){return function(Cr){var Ur,gs,Ji=fl(1900,void 0,1);if(ta(Ji,Mn,Cr+="",0)!=Cr.length)return null;if("Q"in Ji)return new Date(Ji.Q);if("s"in Ji)return new Date(1e3*Ji.s+("L"in Ji?Ji.L:0));if(dr&&!("Z"in Ji)&&(Ji.Z=0),"p"in Ji&&(Ji.H=Ji.H%12+12*Ji.p),void 0===Ji.m&&(Ji.m="q"in Ji?Ji.q:0),"V"in Ji){if(Ji.V<1||Ji.V>53)return null;"w"in Ji||(Ji.w=1),"Z"in Ji?(gs=(Ur=jl(fl(Ji.y,0,1))).getUTCDay(),Ur=gs>4||0===gs?Fr.ceil(Ur):Fr(Ur),Ur=a2.offset(Ur,7*(Ji.V-1)),Ji.y=Ur.getUTCFullYear(),Ji.m=Ur.getUTCMonth(),Ji.d=Ur.getUTCDate()+(Ji.w+6)%7):(gs=(Ur=Z1(fl(Ji.y,0,1))).getDay(),Ur=gs>4||0===gs?jc.ceil(Ur):jc(Ur),Ur=tf.offset(Ur,7*(Ji.V-1)),Ji.y=Ur.getFullYear(),Ji.m=Ur.getMonth(),Ji.d=Ur.getDate()+(Ji.w+6)%7)}else("W"in Ji||"U"in Ji)&&("w"in Ji||(Ji.w="u"in Ji?Ji.u%7:"W"in Ji?1:0),gs="Z"in Ji?jl(fl(Ji.y,0,1)).getUTCDay():Z1(fl(Ji.y,0,1)).getDay(),Ji.m=0,Ji.d="W"in Ji?(Ji.w+6)%7+7*Ji.W-(gs+5)%7:Ji.w+7*Ji.U-(gs+6)%7);return"Z"in Ji?(Ji.H+=Ji.Z/100|0,Ji.M+=Ji.Z%100,jl(Ji)):Z1(Ji)}}function ta(Mn,dr,Cr,Ji){for(var Bo,$n,Ka=0,Ur=dr.length,gs=Cr.length;Ka<Ur;){if(Ji>=gs)return-1;if(37===(Bo=dr.charCodeAt(Ka++))){if(Bo=dr.charAt(Ka++),!($n=Wn[Bo in c2?dr.charAt(Ka++):Bo])||(Ji=$n(Mn,Cr,Ji))<0)return-1}else if(Bo!=Cr.charCodeAt(Ji++))return-1}return Ji}return gn.x=Rn(o,gn),gn.X=Rn(E,gn),gn.c=Rn(I,gn),Jn.x=Rn(o,Jn),Jn.X=Rn(E,Jn),Jn.c=Rn(I,Jn),{format:function(Mn){var dr=Rn(Mn+="",gn);return dr.toString=function(){return Mn},dr},parse:function(Mn){var dr=ea(Mn+="",!1);return dr.toString=function(){return Mn},dr},utcFormat:function(Mn){var dr=Rn(Mn+="",Jn);return dr.toString=function(){return Mn},dr},utcParse:function(Mn){var dr=ea(Mn+="",!0);return dr.toString=function(){return Mn},dr}}})(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 s4=Sn(gi).right,y2=(Sn(cd),s4);function x2(u,I){return u=+u,I=+I,function(o){return Math.round(u*(1-o)+I*o)}}function q0(u){return+u}var eh=[0,1];function Xc(u){return u}function C2(u,I){return(I-=u=+u)?function(o){return(o-u)/I}:function gf(u){return function(){return u}}(isNaN(I)?NaN:.5)}function _f(u,I,o){var E=u[0],j=u[1],K=I[0],Re=I[1];return j<E?(E=C2(j,E),K=o(Re,K)):(E=C2(E,j),K=o(K,Re)),function(yt){return K(E(yt))}}function ih(u,I,o){var E=Math.min(u.length,I.length)-1,j=new Array(E),K=new Array(E),Re=-1;for(u[E]<u[0]&&(u=u.slice().reverse(),I=I.slice().reverse());++Re<E;)j[Re]=C2(u[Re],u[Re+1]),K[Re]=o(I[Re],I[Re+1]);return function(yt){var Wt=y2(u,yt,1,E)-1;return K[Wt](j[Wt](yt))}}function M2(){return function vf(){var E,j,K,yt,Wt,Ut,u=eh,I=eh,o=bi,Re=Xc;function si(){var xi=Math.min(u.length,I.length);return Re!==Xc&&(Re=function th(u,I){var o;return u>I&&(o=u,u=I,I=o),function(E){return Math.max(u,Math.min(I,E))}}(u[0],u[xi-1])),yt=xi>2?ih:_f,Wt=Ut=null,mi}function mi(xi){return null==xi||isNaN(xi=+xi)?K:(Wt||(Wt=yt(u.map(E),I,o)))(E(Re(xi)))}return mi.invert=function(xi){return Re(j((Ut||(Ut=yt(I,u.map(E),ga)))(xi)))},mi.domain=function(xi){return arguments.length?(u=Array.from(xi,q0),si()):u.slice()},mi.range=function(xi){return arguments.length?(I=Array.from(xi),si()):I.slice()},mi.rangeRound=function(xi){return I=Array.from(xi),o=x2,si()},mi.clamp=function(xi){return arguments.length?(Re=!!xi||Xc,si()):Re!==Xc},mi.interpolate=function(xi){return arguments.length?(o=xi,si()):o},mi.unknown=function(xi){return arguments.length?(K=xi,mi):K},function(xi,Ai){return E=xi,j=Ai,si()}}()(Xc,Xc)}function Zl(u,I){switch(arguments.length){case 0:break;case 1:this.range(u);break;default:this.range(I).domain(u)}return this}var S2,yf=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function dd(u){if(!(I=yf.exec(u)))throw new Error("invalid format: "+u);var I;return new E2({fill:I[1],align:I[2],sign:I[3],symbol:I[4],zero:I[5],width:I[6],comma:I[7],precision:I[8]&&I[8].slice(1),trim:I[9],type:I[10]})}function E2(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 Jl(u,I){if((o=(u=I?u.toExponential(I-1):u.toExponential()).indexOf("e"))<0)return null;var o,E=u.slice(0,o);return[E.length>1?E[0]+E.slice(2):E,+u.slice(o+1)]}function w1(u){return(u=Jl(Math.abs(u)))?u[1]:NaN}function hd(u,I){var o=Jl(u,I);if(!o)return u+"";var E=o[0],j=o[1];return j<0?"0."+new Array(-j).join("0")+E:E.length>j+1?E.slice(0,j+1)+"."+E.slice(j+1):E+new Array(j-E.length+2).join("0")}dd.prototype=E2.prototype,E2.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 sh={"%":(u,I)=>(100*u).toFixed(I),b:u=>Math.round(u).toString(2),c:u=>u+"",d:function xf(u){return Math.abs(u=Math.round(u))>=1e21?u.toLocaleString("en").replace(/,/g,""):u.toString(10)},e:(u,I)=>u.toExponential(I),f:(u,I)=>u.toFixed(I),g:(u,I)=>u.toPrecision(I),o:u=>Math.round(u).toString(8),p:(u,I)=>hd(100*u,I),r:hd,s:function oh(u,I){var o=Jl(u,I);if(!o)return u+"";var E=o[0],j=o[1],K=j-(S2=3*Math.max(-8,Math.min(8,Math.floor(j/3))))+1,Re=E.length;return K===Re?E:K>Re?E+new Array(K-Re+1).join("0"):K>0?E.slice(0,K)+"."+E.slice(K):"0."+new Array(1-K).join("0")+Jl(u,Math.max(0,I+K-1))[0]},X:u=>Math.round(u).toString(16).toUpperCase(),x:u=>Math.round(u).toString(16)};function Dc(u){return u}var ql,lh,dh,ud=Array.prototype.map,T2=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function d4(u){var I=u.domain;return u.ticks=function(o){var E=I();return function ls(u,I,o){if(!((o=+o)>0))return[];if((u=+u)==(I=+I))return[u];const E=I<u,[j,K,Re]=E?Ya(I,u,o):Ya(u,I,o);if(!(K>=j))return[];const yt=K-j+1,Wt=new Array(yt);if(E)if(Re<0)for(let Ut=0;Ut<yt;++Ut)Wt[Ut]=(K-Ut)/-Re;else for(let Ut=0;Ut<yt;++Ut)Wt[Ut]=(K-Ut)*Re;else if(Re<0)for(let Ut=0;Ut<yt;++Ut)Wt[Ut]=(j+Ut)/-Re;else for(let Ut=0;Ut<yt;++Ut)Wt[Ut]=(j+Ut)*Re;return Wt}(E[0],E[E.length-1],o??10)},u.tickFormat=function(o,E){var j=I();return function l4(u,I,o,E){var K,j=Pl(u,I,o);switch((E=dd(E??",f")).type){case"s":var Re=Math.max(Math.abs(u),Math.abs(I));return null==E.precision&&!isNaN(K=function M1(u,I){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(w1(I)/3)))-w1(Math.abs(u)))}(j,Re))&&(E.precision=K),dh(E,Re);case"":case"e":case"g":case"p":case"r":null==E.precision&&!isNaN(K=function Ef(u,I){return u=Math.abs(u),I=Math.abs(I)-u,Math.max(0,w1(I)-w1(u))+1}(j,Math.max(Math.abs(u),Math.abs(I))))&&(E.precision=K-("e"===E.type));break;case"f":case"%":null==E.precision&&!isNaN(K=function hh(u){return Math.max(0,-w1(Math.abs(u)))}(j))&&(E.precision=K-2*("%"===E.type))}return lh(E)}(j[0],j[j.length-1],o??10,E)},u.nice=function(o){null==o&&(o=10);var Wt,Ut,E=I(),j=0,K=E.length-1,Re=E[j],yt=E[K],si=10;for(yt<Re&&(Ut=Re,Re=yt,yt=Ut,Ut=j,j=K,K=Ut);si-- >0;){if((Ut=xc(Re,yt,o))===Wt)return E[j]=Re,E[K]=yt,I(E);if(Ut>0)Re=Math.floor(Re/Ut)*Ut,yt=Math.ceil(yt/Ut)*Ut;else{if(!(Ut<0))break;Re=Math.ceil(Re*Ut)/Ut,yt=Math.floor(yt*Ut)/Ut}Wt=Ut}return u},u}function js(){var u=M2();return u.copy=function(){return function w2(u,I){return I.domain(u.domain()).range(u.range()).interpolate(u.interpolate()).clamp(u.clamp()).unknown(u.unknown())}(u,js())},Zl.apply(u,arguments),d4(u)}function uh(u,I,o){u=+u,I=+I,o=(j=arguments.length)<2?(I=u,u=0,1):j<3?1:+o;for(var E=-1,j=0|Math.max(0,Math.ceil((I-u)/o)),K=new Array(j);++E<j;)K[E]=u+E*o;return K}!function Mf(u){ql=function ch(u){var I=void 0===u.grouping||void 0===u.thousands?Dc:function Cf(u,I){return function(o,E){for(var j=o.length,K=[],Re=0,yt=u[0],Wt=0;j>0&&yt>0&&(Wt+yt+1>E&&(yt=Math.max(1,E-Wt)),K.push(o.substring(j-=yt,j+yt)),!((Wt+=yt+1)>E));)yt=u[Re=(Re+1)%u.length];return K.reverse().join(I)}}(ud.call(u.grouping,Number),u.thousands+""),o=void 0===u.currency?"":u.currency[0]+"",E=void 0===u.currency?"":u.currency[1]+"",j=void 0===u.decimal?".":u.decimal+"",K=void 0===u.numerals?Dc:function wf(u){return function(I){return I.replace(/[0-9]/g,function(o){return u[+o]})}}(ud.call(u.numerals,String)),Re=void 0===u.percent?"%":u.percent+"",yt=void 0===u.minus?"\u2212":u.minus+"",Wt=void 0===u.nan?"NaN":u.nan+"";function Ut(mi){var xi=(mi=dd(mi)).fill,Ai=mi.align,on=mi.sign,Tn=mi.symbol,Di=mi.zero,xn=mi.width,Ln=mi.comma,gn=mi.precision,Jn=mi.trim,Wn=mi.type;"n"===Wn?(Ln=!0,Wn="g"):sh[Wn]||(void 0===gn&&(gn=12),Jn=!0,Wn="g"),(Di||"0"===xi&&"="===Ai)&&(Di=!0,xi="0",Ai="=");var Rn="$"===Tn?o:"#"===Tn&&/[boxX]/.test(Wn)?"0"+Wn.toLowerCase():"",ea="$"===Tn?E:/[%p]/.test(Wn)?Re:"",ta=sh[Wn],ps=/[defgprs%]/.test(Wn);function Pr(Vn){var ia,Is,za,zo=Rn,Tr=ea;if("c"===Wn)Tr=ta(Vn)+Tr,Vn="";else{var fa=(Vn=+Vn)<0||1/Vn<0;if(Vn=isNaN(Vn)?Wt:ta(Math.abs(Vn),gn),Jn&&(Vn=function c4(u){e:for(var j,I=u.length,o=1,E=-1;o<I;++o)switch(u[o]){case".":E=j=o;break;case"0":0===E&&(E=o),j=o;break;default:if(!+u[o])break e;E>0&&(E=0)}return E>0?u.slice(0,E)+u.slice(j+1):u}(Vn)),fa&&0==+Vn&&"+"!==on&&(fa=!1),zo=(fa?"("===on?on:yt:"-"===on||"("===on?"":on)+zo,Tr=("s"===Wn?T2[8+S2/3]:"")+Tr+(fa&&"("===on?")":""),ps)for(ia=-1,Is=Vn.length;++ia<Is;)if(48>(za=Vn.charCodeAt(ia))||za>57){Tr=(46===za?j+Vn.slice(ia+1):Vn.slice(ia))+Tr,Vn=Vn.slice(0,ia);break}}Ln&&!Di&&(Vn=I(Vn,1/0));var Lo=zo.length+Vn.length+Tr.length,Yr=Lo<xn?new Array(xn-Lo+1).join(xi):"";switch(Ln&&Di&&(Vn=I(Yr+Vn,Yr.length?xn-Tr.length:1/0),Yr=""),Ai){case"<":Vn=zo+Vn+Tr+Yr;break;case"=":Vn=zo+Yr+Vn+Tr;break;case"^":Vn=Yr.slice(0,Lo=Yr.length>>1)+zo+Vn+Tr+Yr.slice(Lo);break;default:Vn=Yr+zo+Vn+Tr}return K(Vn)}return gn=void 0===gn?6:/[gprs]/.test(Wn)?Math.max(1,Math.min(21,gn)):Math.max(0,Math.min(20,gn)),Pr.toString=function(){return mi+""},Pr}return{format:Ut,formatPrefix:function si(mi,xi){var Ai=Ut(((mi=dd(mi)).type="f",mi)),on=3*Math.max(-8,Math.min(8,Math.floor(w1(xi)/3))),Tn=Math.pow(10,-on),Di=T2[8+on/3];return function(xn){return Ai(Tn*xn)+Di}}}}(u),lh=ql.format,dh=ql.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});class fd extends Map{constructor(I,o=e1){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:o}}),null!=I)for(const[E,j]of I)this.set(E,j)}get(I){return super.get(Ws(this,I))}has(I){return super.has(Ws(this,I))}set(I,o){return super.set(function E1({_intern:u,_key:I},o){const E=I(o);return u.has(E)?u.get(E):(u.set(E,o),o)}(this,I),o)}delete(I){return super.delete(function md({_intern:u,_key:I},o){const E=I(o);return u.has(E)&&(o=u.get(E),u.delete(E)),o}(this,I))}}function Ws({_intern:u,_key:I},o){const E=I(o);return u.has(E)?u.get(E):o}function e1(u){return null!==u&&"object"==typeof u?u.valueOf():u}Set;const t1=Symbol("implicit");function Yc(){var u=new fd,I=[],o=[],E=t1;function j(K){let Re=u.get(K);if(void 0===Re){if(E!==t1)return E;u.set(K,Re=I.push(K)-1)}return o[Re%o.length]}return j.domain=function(K){if(!arguments.length)return I.slice();I=[],u=new fd;for(const Re of K)u.has(Re)||u.set(Re,I.push(Re)-1);return j},j.range=function(K){return arguments.length?(o=Array.from(K),j):o.slice()},j.unknown=function(K){return arguments.length?(E=K,j):E},j.copy=function(){return Yc(I,o).unknown(E)},Zl.apply(j,arguments),j}function kc(){var K,Re,u=Yc().unknown(void 0),I=u.domain,o=u.range,E=0,j=1,yt=!1,Wt=0,Ut=0,si=.5;function mi(){var xi=I().length,Ai=j<E,on=Ai?j:E,Tn=Ai?E:j;K=(Tn-on)/Math.max(1,xi-Wt+2*Ut),yt&&(K=Math.floor(K)),on+=(Tn-on-K*(xi-Wt))*si,Re=K*(1-Wt),yt&&(on=Math.round(on),Re=Math.round(Re));var Di=uh(xi).map(function(xn){return on+K*xn});return o(Ai?Di.reverse():Di)}return delete u.unknown,u.domain=function(xi){return arguments.length?(I(xi),mi()):I()},u.range=function(xi){return arguments.length?([E,j]=xi,E=+E,j=+j,mi()):[E,j]},u.rangeRound=function(xi){return[E,j]=xi,E=+E,j=+j,yt=!0,mi()},u.bandwidth=function(){return Re},u.step=function(){return K},u.round=function(xi){return arguments.length?(yt=!!xi,mi()):yt},u.padding=function(xi){return arguments.length?(Wt=Math.min(1,Ut=+xi),mi()):Wt},u.paddingInner=function(xi){return arguments.length?(Wt=Math.min(1,xi),mi()):Wt},u.paddingOuter=function(xi){return arguments.length?(Ut=+xi,mi()):Ut},u.align=function(xi){return arguments.length?(si=Math.max(0,Math.min(1,xi)),mi()):si},u.copy=function(){return kc(I(),[E,j]).round(yt).paddingInner(Wt).paddingOuter(Ut).align(si)},Zl.apply(mi(),arguments)}function h4(u,I,o=cd){if((E=u.length)&&!isNaN(I=+I)){if(I<=0||E<2)return+o(u[0],0,u);if(I>=1)return+o(u[E-1],E-1,u);var E,j=(E-1)*I,K=Math.floor(j),Re=+o(u[K],K,u);return Re+(+o(u[K+1],K+1,u)-Re)*(j-K)}}function r1(){var E,u=[],I=[],o=[];function j(){var Re=0,yt=Math.max(1,I.length);for(o=new Array(yt-1);++Re<yt;)o[Re-1]=h4(u,Re/yt);return K}function K(Re){return null==Re||isNaN(Re=+Re)?E:I[y2(o,Re)]}return K.invertExtent=function(Re){var yt=I.indexOf(Re);return yt<0?[NaN,NaN]:[yt>0?o[yt-1]:u[0],yt<o.length?o[yt]:u[u.length-1]]},K.domain=function(Re){if(!arguments.length)return u.slice();u=[];for(let yt of Re)null!=yt&&!isNaN(yt=+yt)&&u.push(yt);return u.sort(gi),j()},K.range=function(Re){return arguments.length?(I=Array.from(Re),j()):I.slice()},K.unknown=function(Re){return arguments.length?(E=Re,K):E},K.quantiles=function(){return o.slice()},K.copy=function(){return r1().domain(u).range(I).unknown(E)},Zl.apply(K,arguments)}var u4=p(6021);const Sf=["caretElm"],f4=u=>({model:u});function Tf(u,I){}function gh(u,I){if(1&u&&(t.j41(0,"span"),t.DNE(1,Tf,0,0,"ng-template",5),t.k0s()),2&u){const o=t.XpG();t.R7$(),t.Y8G("ngTemplateOutlet",o.template)("ngTemplateOutletContext",t.eq3(2,f4,o.context))}}function oo(u,I){if(1&u&&t.nrm(0,"span",6),2&u){const o=t.XpG();t.Y8G("innerHTML",o.title,t.npT)}}function Af(u,I){if(1&u&&(t.j41(0,"header",4)(1,"span",5),t.EFF(2),t.k0s()()),2&u){const o=t.XpG();t.R7$(2),t.JRh(o.title)}}function _h(u,I){if(1&u){const o=t.RV6();t.j41(0,"li",6)(1,"ngx-charts-legend-entry",7),t.bIt("select",function(j){t.eBV(o);const K=t.XpG();return t.Njj(K.labelClick.emit(j))})("activate",function(j){t.eBV(o);const K=t.XpG();return t.Njj(K.activate(j))})("deactivate",function(j){t.eBV(o);const K=t.XpG();return t.Njj(K.deactivate(j))}),t.k0s()()}if(2&u){const o=I.$implicit,E=t.XpG();t.R7$(),t.Y8G("label",o.label)("formattedLabel",o.formattedLabel)("color",o.color)("isActive",E.isActive(o))}}const a1=["*"];function vh(u,I){if(1&u&&t.nrm(0,"ngx-charts-scale-legend",4),2&u){const o=t.XpG();t.Y8G("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 A2(u,I){if(1&u){const o=t.RV6();t.j41(0,"ngx-charts-legend",5),t.bIt("labelClick",function(j){t.eBV(o);const K=t.XpG();return t.Njj(K.legendLabelClick.emit(j))})("labelActivate",function(j){t.eBV(o);const K=t.XpG();return t.Njj(K.legendLabelActivate.emit(j))})("labelDeactivate",function(j){t.eBV(o);const K=t.XpG();return t.Njj(K.legendLabelDeactivate.emit(j))}),t.k0s()}if(2&u){const o=t.XpG();t.Y8G("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 Df=["ngx-charts-axis-label",""],pd=["ticksel"],m4=["ngx-charts-x-axis-ticks",""];function T1(u,I){1&u&&(t.qSk(),t.eu8(0))}function kf(u,I){if(1&u&&(t.qSk(),t.j41(0,"tspan",10),t.EFF(1),t.k0s()),2&u){const o=I.$implicit;t.BMQ("y",12*I.index),t.R7$(),t.SpI(" ",o," ")}}function gd(u,I){if(1&u&&(t.qSk(),t.qex(0),t.DNE(1,kf,2,2,"tspan",9),t.bVm()),2&u){const o=I.ngIf;t.R7$(),t.Y8G("ngForOf",o)}}function D2(u,I){if(1&u&&t.DNE(0,gd,2,1,"ng-container",6),2&u){const o=t.XpG(2).$implicit,E=t.XpG();t.Y8G("ngIf",E.tickChunks(o))}}function k2(u,I){if(1&u&&t.EFF(0),2&u){const o=t.XpG().ngIf,E=t.XpG(2);t.SpI(" ",E.tickTrim(o)," ")}}function Lf(u,I){if(1&u&&(t.qSk(),t.qex(0),t.j41(1,"title"),t.EFF(2),t.k0s(),t.j41(3,"text",7),t.DNE(4,T1,1,0,"ng-container",8),t.k0s(),t.DNE(5,D2,1,1,"ng-template",null,1,t.C5r)(7,k2,1,1,"ng-template",null,2,t.C5r),t.bVm()),2&u){const o=I.ngIf,E=t.sdS(6),j=t.sdS(8),K=t.XpG(2);t.R7$(2),t.JRh(o),t.R7$(),t.BMQ("text-anchor",K.textAnchor)("transform",K.textTransform),t.R7$(),t.Y8G("ngIf",K.isWrapTicksSupported)("ngIfThen",E)("ngIfElse",j)}}function Do(u,I){if(1&u&&(t.qSk(),t.j41(0,"g",5),t.DNE(1,Lf,9,6,"ng-container",6),t.k0s()),2&u){const o=I.$implicit,E=t.XpG();t.BMQ("transform",E.tickTransform(o)),t.R7$(),t.Y8G("ngIf",E.tickFormat(o))}}function _d(u,I){if(1&u&&(t.qSk(),t.j41(0,"g"),t.nrm(1,"line",11),t.k0s()),2&u){const o=t.XpG(2);t.BMQ("transform",o.gridLineTransform()),t.R7$(),t.BMQ("y1",-o.gridLineHeight)}}function L2(u,I){if(1&u&&(t.qSk(),t.j41(0,"g"),t.DNE(1,_d,2,2,"g",6),t.k0s()),2&u){const o=I.$implicit,E=t.XpG();t.BMQ("transform",E.tickTransform(o)),t.R7$(),t.Y8G("ngIf",E.showGridLines)}}const A1=["ngx-charts-x-axis",""];function bh(u,I){if(1&u){const o=t.RV6();t.qSk(),t.j41(0,"g",2),t.bIt("dimensionsChanged",function(j){t.eBV(o);const K=t.XpG();return t.Njj(K.emitTicksHeight(j))}),t.k0s()}if(2&u){const o=t.XpG();t.Y8G("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 D1(u,I){if(1&u&&(t.qSk(),t.nrm(0,"g",3)),2&u){const o=t.XpG();t.Y8G("label",o.labelText)("offset",o.labelOffset)("orient",o.orientation.Bottom)("height",o.dims.height)("width",o.dims.width)}}const yh=["ngx-charts-y-axis-ticks",""];function I2(u,I){1&u&&(t.qSk(),t.eu8(0))}function xh(u,I){if(1&u&&(t.qSk(),t.j41(0,"tspan",12),t.EFF(1),t.k0s()),2&u){const o=I.$implicit,E=I.index,j=t.XpG(6);t.BMQ("y",E*(8+j.tickSpacing)),t.R7$(),t.SpI(" ",o," ")}}function Ch(u,I){if(1&u&&(t.qSk(),t.qex(0),t.DNE(1,xh,2,2,"tspan",11),t.bVm()),2&u){const o=t.XpG().ngIf;t.R7$(),t.Y8G("ngForOf",o)}}function k1(u,I){if(1&u&&(t.qSk(),t.qex(0),t.DNE(1,Ch,2,1,"ng-container",10),t.bVm()),2&u){const o=I.ngIf;t.XpG(2);const E=t.sdS(8);t.R7$(),t.Y8G("ngIf",o.length>1)("ngIfElse",E)}}function R2(u,I){if(1&u&&t.DNE(0,k1,2,2,"ng-container",7),2&u){const o=t.XpG(2).$implicit,E=t.XpG();t.Y8G("ngIf",E.tickChunks(o))}}function gl(u,I){if(1&u&&t.EFF(0),2&u){const o=t.XpG().ngIf,E=t.XpG(2);t.SpI(" ",E.tickTrim(o)," ")}}function If(u,I){if(1&u&&(t.qSk(),t.qex(0),t.j41(1,"title"),t.EFF(2),t.k0s(),t.j41(3,"text",8),t.DNE(4,I2,1,0,"ng-container",9),t.k0s(),t.DNE(5,R2,1,1,"ng-template",null,1,t.C5r)(7,gl,1,1,"ng-template",null,2,t.C5r),t.bVm()),2&u){const o=I.ngIf,E=t.sdS(6),j=t.sdS(8),K=t.XpG(2);t.R7$(2),t.JRh(o),t.R7$(),t.xc7("font-size","12px"),t.BMQ("dy",K.dy)("x",K.x1)("y",K.y1)("text-anchor",K.textAnchor),t.R7$(),t.Y8G("ngIf",K.wrapTicks)("ngIfThen",E)("ngIfElse",j)}}function wh(u,I){if(1&u&&(t.qSk(),t.j41(0,"g",6),t.DNE(1,If,9,10,"ng-container",7),t.k0s()),2&u){const o=I.$implicit,E=t.XpG();t.BMQ("transform",E.transform(o)),t.R7$(),t.Y8G("ngIf",E.tickFormat(o))}}function p4(u,I){if(1&u&&(t.qSk(),t.nrm(0,"path",13)),2&u){const o=t.XpG();t.BMQ("d",o.referenceAreaPath)("transform",o.gridLineTransform())}}function vd(u,I){if(1&u&&(t.qSk(),t.nrm(0,"line",15)),2&u){const o=t.XpG(3);t.BMQ("x2",o.gridLineWidth)}}function O2(u,I){if(1&u&&(t.qSk(),t.nrm(0,"line",15)),2&u){const o=t.XpG(3);t.BMQ("x2",-o.gridLineWidth)}}function Mh(u,I){if(1&u&&(t.qSk(),t.j41(0,"g"),t.DNE(1,vd,1,1,"line",14)(2,O2,1,1,"line",14),t.k0s()),2&u){const o=t.XpG(2);t.BMQ("transform",o.gridLineTransform()),t.R7$(),t.Y8G("ngIf",o.orient===o.Orientation.Left),t.R7$(),t.Y8G("ngIf",o.orient===o.Orientation.Right)}}function Eh(u,I){if(1&u&&(t.qSk(),t.j41(0,"g"),t.DNE(1,Mh,3,3,"g",7),t.k0s()),2&u){const o=I.$implicit,E=t.XpG();t.BMQ("transform",E.transform(o)),t.R7$(),t.Y8G("ngIf",E.showGridLines)}}function Sh(u,I){if(1&u&&(t.qSk(),t.j41(0,"g")(1,"title"),t.EFF(2),t.k0s(),t.j41(3,"text",17),t.EFF(4),t.k0s()()),2&u){const o=t.XpG(2).$implicit,E=t.XpG();t.R7$(2),t.JRh(E.tickTrim(E.tickFormat(o.value))),t.R7$(),t.BMQ("dy",E.dy)("y",-6)("x",E.gridLineWidth)("text-anchor",E.textAnchor),t.R7$(),t.SpI(" ",o.name," ")}}function _l(u,I){if(1&u&&(t.qSk(),t.j41(0,"g"),t.nrm(1,"line",16),t.DNE(2,Sh,5,6,"g",7),t.k0s()),2&u){const o=t.XpG().$implicit,E=t.XpG();t.BMQ("transform",E.transform(o.value)),t.R7$(),t.BMQ("x2",E.gridLineWidth)("transform",E.gridLineTransform()),t.R7$(),t.Y8G("ngIf",E.showRefLabels)}}function bd(u,I){if(1&u&&(t.qSk(),t.j41(0,"g"),t.DNE(1,_l,3,4,"g",7),t.k0s()),2&u){const o=t.XpG();t.R7$(),t.Y8G("ngIf",o.showRefLines)}}const Rf=["ngx-charts-y-axis",""];function Of(u,I){if(1&u){const o=t.RV6();t.qSk(),t.j41(0,"g",2),t.bIt("dimensionsChanged",function(j){t.eBV(o);const K=t.XpG();return t.Njj(K.emitTicksWidth(j))}),t.k0s()}if(2&u){const o=t.XpG();t.Y8G("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 Ff(u,I){if(1&u&&(t.qSk(),t.nrm(0,"g",3)),2&u){const o=t.XpG();t.Y8G("label",o.labelText)("offset",o.labelOffset)("orient",o.yOrient)("height",o.dims.height)("width",o.dims.width)}}const Pf=["ngx-charts-svg-linear-gradient",""];function Lc(u,I){if(1&u&&(t.qSk(),t.nrm(0,"stop")),2&u){const o=I.$implicit;t.xc7("stop-color",o.color)("stop-opacity",o.opacity),t.BMQ("offset",o.offset+"%")}}const Ic=["ngx-charts-grid-panel",""],Th=["ngx-charts-grid-panel-series",""];function Ah(u,I){if(1&u&&(t.qSk(),t.nrm(0,"g",1)),2&u){const o=I.$implicit;t.AVh("grid-panel",!0)("odd","odd"===o.class)("even","even"===o.class),t.Y8G("height",o.height)("width",o.width)("x",o.x)("y",o.y)}}const V2=["tooltipTemplate"],vl=(u,I)=>[u,I],Cd=".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",o1=["ngx-charts-bar",""];function Xf(u,I){if(1&u&&(t.qSk(),t.j41(0,"defs"),t.nrm(1,"g",2),t.k0s()),2&u){const o=t.XpG();t.R7$(),t.Y8G("orientation",o.orientation)("name",o.gradientId)("stops",o.gradientStops)}}const Uh=["ngx-charts-bar-label",""],dn=["ngx-charts-series-vertical",""];function vn(u,I){if(1&u){const o=t.RV6();t.qSk(),t.j41(0,"g",2),t.bIt("select",function(j){t.eBV(o);const K=t.XpG(2);return t.Njj(K.onClick(j))})("activate",function(j){t.eBV(o);const K=t.XpG(2);return t.Njj(K.activate.emit(j))})("deactivate",function(j){t.eBV(o);const K=t.XpG(2);return t.Njj(K.deactivate.emit(j))}),t.k0s()}if(2&u){const o=I.$implicit,E=t.XpG(2);t.Y8G("@animationState","active")("@.disabled",!E.animations)("width",o.width)("height",o.height)("x",o.x)("y",o.y)("fill",o.color)("stops",o.gradientStops)("data",o.data)("orientation",E.barOrientation.Vertical)("roundEdges",o.roundEdges)("gradient",E.gradient)("ariaLabel",o.ariaLabel)("isActive",E.isActive(o.data))("tooltipDisabled",E.tooltipDisabled)("tooltipPlacement",E.tooltipPlacement)("tooltipType",E.tooltipType)("tooltipTitle",E.tooltipTemplate?void 0:o.tooltipText)("tooltipTemplate",E.tooltipTemplate)("tooltipContext",o.data)("noBarWhenZero",E.noBarWhenZero)("animations",E.animations)}}function Wi(u,I){if(1&u&&(t.qSk(),t.j41(0,"g"),t.DNE(1,vn,1,22,"g",1),t.k0s()),2&u){const o=t.XpG();t.R7$(),t.Y8G("ngForOf",o.bars)("ngForTrackBy",o.trackBy)}}function Yi(u,I){if(1&u){const o=t.RV6();t.qSk(),t.j41(0,"g",2),t.bIt("select",function(j){t.eBV(o);const K=t.XpG(2);return t.Njj(K.onClick(j))})("activate",function(j){t.eBV(o);const K=t.XpG(2);return t.Njj(K.activate.emit(j))})("deactivate",function(j){t.eBV(o);const K=t.XpG(2);return t.Njj(K.deactivate.emit(j))}),t.k0s()}if(2&u){const o=I.$implicit,E=t.XpG(2);t.Y8G("width",o.width)("height",o.height)("x",o.x)("y",o.y)("fill",o.color)("stops",o.gradientStops)("data",o.data)("orientation",E.barOrientation.Vertical)("roundEdges",o.roundEdges)("gradient",E.gradient)("ariaLabel",o.ariaLabel)("isActive",E.isActive(o.data))("tooltipDisabled",E.tooltipDisabled)("tooltipPlacement",E.tooltipPlacement)("tooltipType",E.tooltipType)("tooltipTitle",E.tooltipTemplate?void 0:o.tooltipText)("tooltipTemplate",E.tooltipTemplate)("tooltipContext",o.data)("noBarWhenZero",E.noBarWhenZero)("animations",E.animations)}}function In(u,I){if(1&u&&(t.qSk(),t.j41(0,"g"),t.DNE(1,Yi,1,20,"g",1),t.k0s()),2&u){const o=t.XpG();t.R7$(),t.Y8G("ngForOf",o.bars)("ngForTrackBy",o.trackBy)}}function cr(u,I){if(1&u){const o=t.RV6();t.qSk(),t.j41(0,"g",4),t.bIt("dimensionsChanged",function(j){const K=t.eBV(o).index,Re=t.XpG(2);return t.Njj(Re.dataLabelHeightChanged.emit({size:j,index:K}))}),t.k0s()}if(2&u){const o=I.$implicit,E=t.XpG(2);t.Y8G("barX",o.x)("barY",o.y)("barWidth",o.width)("barHeight",o.height)("value",o.total)("valueFormatting",E.dataLabelFormatting)("orientation",E.barOrientation.Vertical)}}function Br(u,I){if(1&u&&(t.qSk(),t.j41(0,"g"),t.DNE(1,cr,1,7,"g",3),t.k0s()),2&u){const o=t.XpG();t.R7$(),t.Y8G("ngForOf",o.barsForDataLabels)("ngForTrackBy",o.trackDataLabelBy)}}function ca(u,I){if(1&u){const o=t.RV6();t.qSk(),t.j41(0,"g",5),t.bIt("dimensionsChanged",function(j){t.eBV(o);const K=t.XpG();return t.Njj(K.updateXAxisHeight(j))}),t.k0s()}if(2&u){const o=t.XpG();t.Y8G("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 lr(u,I){if(1&u){const o=t.RV6();t.qSk(),t.j41(0,"g",6),t.bIt("dimensionsChanged",function(j){t.eBV(o);const K=t.XpG();return t.Njj(K.updateYAxisWidth(j))}),t.k0s()}if(2&u){const o=t.XpG();t.Y8G("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 qr(u,I){if(1&u){const o=t.RV6();t.qSk(),t.j41(0,"g",6),t.bIt("dimensionsChanged",function(j){t.eBV(o);const K=t.XpG();return t.Njj(K.updateXAxisHeight(j))}),t.k0s()}if(2&u){const o=t.XpG();t.Y8G("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 xr(u,I){if(1&u){const o=t.RV6();t.qSk(),t.j41(0,"g",7),t.bIt("dimensionsChanged",function(j){t.eBV(o);const K=t.XpG();return t.Njj(K.updateYAxisWidth(j))}),t.k0s()}if(2&u){const o=t.XpG();t.Y8G("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 ha(u,I){if(1&u){const o=t.RV6();t.qSk(),t.j41(0,"g",9),t.bIt("select",function(j){const K=t.eBV(o).$implicit,Re=t.XpG(2);return t.Njj(Re.onClick(j,K))})("activate",function(j){const K=t.eBV(o).$implicit,Re=t.XpG(2);return t.Njj(Re.onActivate(j,K))})("deactivate",function(j){const K=t.eBV(o).$implicit,Re=t.XpG(2);return t.Njj(Re.onDeactivate(j,K))})("dataLabelHeightChanged",function(j){const K=t.eBV(o).index,Re=t.XpG(2);return t.Njj(Re.onDataLabelMaxHeightChanged(j,K))}),t.k0s()}if(2&u){const o=I.$implicit,E=t.XpG(2);t.Y8G("@animationState","active")("activeEntries",E.activeEntries)("xScale",E.innerScale)("yScale",E.valueScale)("colors",E.colors)("series",o.series)("dims",E.dims)("gradient",E.gradient)("tooltipDisabled",E.tooltipDisabled)("tooltipTemplate",E.tooltipTemplate)("showDataLabel",E.showDataLabel)("dataLabelFormatting",E.dataLabelFormatting)("seriesName",o.name)("roundEdges",E.roundEdges)("animations",E.animations)("noBarWhenZero",E.noBarWhenZero),t.BMQ("transform",E.groupTransform(o))}}function ua(u,I){if(1&u&&(t.qSk(),t.j41(0,"g"),t.DNE(1,ha,1,17,"g",8),t.k0s()),2&u){const o=t.XpG();t.R7$(),t.Y8G("ngForOf",o.results)("ngForTrackBy",o.trackBy)}}function fs(u,I){if(1&u){const o=t.RV6();t.qSk(),t.j41(0,"g",9),t.bIt("select",function(j){const K=t.eBV(o).$implicit,Re=t.XpG(2);return t.Njj(Re.onClick(j,K))})("activate",function(j){const K=t.eBV(o).$implicit,Re=t.XpG(2);return t.Njj(Re.onActivate(j,K))})("deactivate",function(j){const K=t.eBV(o).$implicit,Re=t.XpG(2);return t.Njj(Re.onDeactivate(j,K))})("dataLabelHeightChanged",function(j){const K=t.eBV(o).index,Re=t.XpG(2);return t.Njj(Re.onDataLabelMaxHeightChanged(j,K))}),t.k0s()}if(2&u){const o=I.$implicit,E=t.XpG(2);t.Y8G("activeEntries",E.activeEntries)("xScale",E.innerScale)("yScale",E.valueScale)("colors",E.colors)("series",o.series)("dims",E.dims)("gradient",E.gradient)("tooltipDisabled",E.tooltipDisabled)("tooltipTemplate",E.tooltipTemplate)("showDataLabel",E.showDataLabel)("dataLabelFormatting",E.dataLabelFormatting)("seriesName",o.name)("roundEdges",E.roundEdges)("animations",E.animations)("noBarWhenZero",E.noBarWhenZero),t.BMQ("transform",E.groupTransform(o))}}function $c(u,I){if(1&u&&(t.qSk(),t.j41(0,"g"),t.DNE(1,fs,1,16,"g",8),t.k0s()),2&u){const o=t.XpG();t.R7$(),t.Y8G("ngForOf",o.results)("ngForTrackBy",o.trackBy)}}function Zc(u,I,o){o=o||{};let E,j,K,Re=null,yt=0;function Wt(){yt=!1===o.leading?0:+new Date,Re=null,K=u.apply(E,j)}return function(){const Ut=+new Date;!yt&&!1===o.leading&&(yt=Ut);const si=I-(Ut-yt);return E=this,j=arguments,si<=0?(clearTimeout(Re),Re=null,yt=Ut,K=u.apply(E,j)):!Re&&!1!==o.trailing&&(Re=setTimeout(Wt,si)),K}}function e6(u,I){return function(E,j,K){return{configurable:!0,enumerable:K.enumerable,get:function(){return Object.defineProperty(this,j,{configurable:!0,enumerable:K.enumerable,value:Zc(K.value,u,I)}),this[j]}}}}var pr=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u.Center="center",u}(pr||{});function Z4(u,I,o){return o===pr.Top?u.top-7:o===pr.Bottom?u.top+u.height-I.height+7:o===pr.Center?u.top+u.height/2-I.height/2:void 0}function R1(u,I,o){return o===pr.Left?u.left-7:o===pr.Right?u.left+u.width-I.width+7:o===pr.Center?u.left+u.width/2-I.width/2:void 0}class Cs{static calculateVerticalAlignment(I,o,E){let j=Z4(I,o,E);return j+o.height>window.innerHeight&&(j=window.innerHeight-o.height),j}static calculateVerticalCaret(I,o,E,j){let K;j===pr.Top&&(K=I.height/2-E.height/2+7),j===pr.Bottom&&(K=o.height-I.height/2-E.height/2-7),j===pr.Center&&(K=o.height/2-E.height/2);const Re=Z4(I,o,j);return Re+o.height>window.innerHeight&&(K+=Re+o.height-window.innerHeight),K}static calculateHorizontalAlignment(I,o,E){let j=R1(I,o,E);return j+o.width>window.innerWidth&&(j=window.innerWidth-o.width),j}static calculateHorizontalCaret(I,o,E,j){let K;j===pr.Left&&(K=I.width/2-E.width/2+7),j===pr.Right&&(K=o.width-I.width/2-E.width/2-7),j===pr.Center&&(K=o.width/2-E.width/2);const Re=R1(I,o,j);return Re+o.width>window.innerWidth&&(K+=Re+o.width-window.innerWidth),K}static shouldFlip(I,o,E,j){let K=!1;return E===pr.Right&&I.left+I.width+o.width+j>window.innerWidth&&(K=!0),E===pr.Left&&I.left-o.width-j<0&&(K=!0),E===pr.Top&&I.top-o.height-j<0&&(K=!0),E===pr.Bottom&&I.top+I.height+o.height+j>window.innerHeight&&(K=!0),K}static positionCaret(I,o,E,j,K){let Re=0,yt=0;return I===pr.Right?(yt=-7,Re=Cs.calculateVerticalCaret(E,o,j,K)):I===pr.Left?(yt=o.width,Re=Cs.calculateVerticalCaret(E,o,j,K)):I===pr.Top?(Re=o.height,yt=Cs.calculateHorizontalCaret(E,o,j,K)):I===pr.Bottom&&(Re=-7,yt=Cs.calculateHorizontalCaret(E,o,j,K)),{top:Re,left:yt}}static positionContent(I,o,E,j,K){let Re=0,yt=0;return I===pr.Right?(yt=E.left+E.width+j,Re=Cs.calculateVerticalAlignment(E,o,K)):I===pr.Left?(yt=E.left-o.width-j,Re=Cs.calculateVerticalAlignment(E,o,K)):I===pr.Top?(Re=E.top-o.height-j,yt=Cs.calculateHorizontalAlignment(E,o,K)):I===pr.Bottom&&(Re=E.top+E.height+j,yt=Cs.calculateHorizontalAlignment(E,o,K)),{top:Re,left:yt}}static determinePlacement(I,o,E,j){if(Cs.shouldFlip(E,o,I,j)){if(I===pr.Right)return pr.Left;if(I===pr.Left)return pr.Right;if(I===pr.Top)return pr.Bottom;if(I===pr.Bottom)return pr.Top}return I}}let O1=(()=>{class u{constructor(o,E,j){this.element=o,this.renderer=E,this.platformId=j}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,e.UE)(this.platformId))return;const o=this.element.nativeElement,E=this.host.nativeElement.getBoundingClientRect();if(!E.height&&!E.width)return;const j=o.getBoundingClientRect();this.checkFlip(E,j),this.positionContent(o,E,j),this.showCaret&&this.positionCaret(E,j),setTimeout(()=>this.renderer.addClass(o,"animate"),1)}positionContent(o,E,j){const{top:K,left:Re}=Cs.positionContent(this.placement,j,E,this.spacing,this.alignment);this.renderer.setStyle(o,"top",`${K}px`),this.renderer.setStyle(o,"left",`${Re}px`)}positionCaret(o,E){const j=this.caretElm.nativeElement,K=j.getBoundingClientRect(),{top:Re,left:yt}=Cs.positionCaret(this.placement,E,o,K,this.alignment);this.renderer.setStyle(j,"top",`${Re}px`),this.renderer.setStyle(j,"left",`${yt}px`)}checkFlip(o,E){this.placement=Cs.determinePlacement(this.placement,E,o,this.spacing)}onWindowResize(){this.position()}}return u.\u0275fac=function(o){return new(o||u)(t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.Agw))},u.\u0275cmp=t.VBU({type:u,selectors:[["ngx-tooltip-content"]],viewQuery:function(o,E){if(1&o&&t.GBs(Sf,5),2&o){let j;t.mGM(j=t.lsd())&&(E.caretElm=j.first)}},hostVars:2,hostBindings:function(o,E){1&o&&t.bIt("resize",function(){return E.onWindowResize()},!1,t.tSv),2&o&&t.HbH(E.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:[["caretElm",""],[3,"hidden"],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(o,E){1&o&&(t.j41(0,"div"),t.nrm(1,"span",1,0),t.j41(3,"div",2),t.DNE(4,gh,2,4,"span",3)(5,oo,1,1,"span",4),t.k0s()()),2&o&&(t.R7$(),t.ZvI("tooltip-caret position-",E.placement,""),t.Y8G("hidden",!E.showCaret),t.R7$(3),t.Y8G("ngIf",!E.title),t.R7$(),t.Y8G("ngIf",E.title))},dependencies:[e.bT,e.T3],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,C.Cg)([e6(100)],u.prototype,"onWindowResize",null),u})();class Md{constructor(I){this.injectionService=I,this.defaults={},this.components=new Map}getByType(I=this.type){return this.components.get(I)}create(I){return this.createByType(this.type,I)}createByType(I,o){o=this.assignDefaults(o);const E=this.injectComponent(I,o);return this.register(I,E),E}destroy(I){const o=this.components.get(I.componentType);if(o&&o.length){const E=o.indexOf(I);E>-1&&(o[E].destroy(),o.splice(E,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(I){const o=this.components.get(I);if(o&&o.length){let E=o.length-1;for(;E>=0;)this.destroy(o[E--])}}injectComponent(I,o){return this.injectionService.appendComponent(I,o)}assignDefaults(I){const o={...this.defaults.inputs},E={...this.defaults.outputs};return!I.inputs&&!I.outputs&&(I={inputs:I}),o&&(I.inputs={...o,...I.inputs}),E&&(I.outputs={...E,...I.outputs}),I}register(I,o){this.components.has(I)||this.components.set(I,[]),this.components.get(I).push(o)}}let xl=(()=>{class u{constructor(o,E,j){this.applicationRef=o,this.componentFactoryResolver=E,this.injector=j}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 r3(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,E){if(E){if(void 0!==E.inputs){const j=Object.getOwnPropertyNames(E.inputs);for(const K of j)o.instance[K]=E.inputs[K]}if(void 0!==E.outputs){const j=Object.getOwnPropertyNames(E.outputs);for(const K of j)o.instance[K]=E.outputs[K]}}return o}appendComponent(o,E={},j){j||(j=this.getRootViewContainer());const K=this.getComponentRootNode(j),Re=new S.aI(K,this.componentFactoryResolver,this.applicationRef,this.injector),yt=new S.A8(o),Wt=Re.attach(yt);return this.projectComponentBindings(Wt,E),Wt}}return u.globalRootViewContainer=null,u.\u0275fac=function(o){return new(o||u)(t.KVO(t.o8S),t.KVO(t.OM3),t.KVO(t.zZn))},u.\u0275prov=t.jDH({token:u,factory:u.\u0275fac}),u})(),Jh=(()=>{class u extends Md{constructor(o){super(o),this.type=O1}}return u.\u0275fac=function(o){return new(o||u)(t.KVO(xl))},u.\u0275prov=t.jDH({token:u,factory:u.\u0275fac}),u})();var Cl=function(u){return u.Right="right",u.Below="below",u}(Cl||{}),J2=function(u){return u.ScaleLegend="scaleLegend",u.Legend="legend",u}(J2||{}),Un=function(u){return u.Time="time",u.Linear="linear",u.Ordinal="ordinal",u.Quantile="quantile",u}(Un||{});let J4=(()=>{class u{constructor(){this.horizontal=!1}ngOnChanges(o){const E=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${E})`}gradientString(o,E){E.push(1);const j=[];return o.reverse().forEach((K,Re)=>{j.push(`${K} ${Math.round(100*E[Re])}%`)}),j.join(", ")}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=t.VBU({type:u,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[t.OA$],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(o,E){1&o&&(t.j41(0,"div",0)(1,"div",1)(2,"span"),t.EFF(3),t.k0s()(),t.nrm(4,"div",2),t.j41(5,"div",1)(6,"span"),t.EFF(7),t.k0s()()()),2&o&&(t.xc7("height",E.horizontal?void 0:E.height,"px")("width",E.width,"px"),t.AVh("horizontal-legend",E.horizontal),t.R7$(3),t.JRh(E.valueRange[1].toLocaleString()),t.R7$(),t.xc7("background",E.gradient),t.R7$(3),t.JRh(E.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 q2(u){return u instanceof Date?u.toLocaleDateString():u.toLocaleString()}let e0=(()=>{class u{constructor(){this.isActive=!1,this.select=new t.bkB,this.activate=new t.bkB,this.deactivate=new t.bkB,this.toggle=new t.bkB}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=t.VBU({type:u,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(o,E){1&o&&t.bIt("mouseenter",function(){return E.onMouseEnter()})("mouseleave",function(){return E.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,"click","title"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(o,E){1&o&&(t.j41(0,"span",0),t.bIt("click",function(){return E.select.emit(E.formattedLabel)}),t.j41(1,"span",1),t.bIt("click",function(){return E.toggle.emit(E.formattedLabel)}),t.k0s(),t.j41(2,"span",2),t.EFF(3),t.k0s()()),2&o&&(t.AVh("active",E.isActive),t.Y8G("title",E.formattedLabel),t.R7$(),t.xc7("background-color",E.color),t.R7$(2),t.SpI(" ",E.trimmedLabel," "))},encapsulation:2,changeDetection:0}),u})(),q4=(()=>{class u{constructor(o){this.cd=o,this.horizontal=!1,this.labelClick=new t.bkB,this.labelActivate=new t.bkB,this.labelDeactivate=new t.bkB,this.legendEntries=[]}ngOnChanges(o){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const o=[];for(const E of this.data){const j=q2(E);-1===o.findIndex(Re=>Re.label===j)&&o.push({label:E,formattedLabel:j,color:this.colors.getColor(E)})}return o}isActive(o){return!!this.activeEntries&&void 0!==this.activeEntries.find(j=>o.label===j.name)}activate(o){this.labelActivate.emit(o)}deactivate(o){this.labelDeactivate.emit(o)}trackBy(o,E){return E.label}}return u.\u0275fac=function(o){return new(o||u)(t.rXU(t.gRc))},u.\u0275cmp=t.VBU({type:u,selectors:[["ngx-charts-legend"]],inputs:{data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries",horizontal:"horizontal"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[t.OA$],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,"select","activate","deactivate","label","formattedLabel","color","isActive"]],template:function(o,E){1&o&&(t.j41(0,"div"),t.DNE(1,Af,3,1,"header",0),t.j41(2,"div",1)(3,"ul",2),t.DNE(4,_h,2,4,"li",3),t.k0s()()()),2&o&&(t.xc7("width",E.width,"px"),t.R7$(),t.Y8G("ngIf",(null==E.title?null:E.title.length)>0),t.R7$(2),t.xc7("max-height",E.height-45,"px"),t.AVh("horizontal-legend",E.horizontal),t.R7$(),t.Y8G("ngForOf",E.legendEntries)("ngForTrackBy",E.trackBy))},dependencies:[e0,e.bT,e.Sq],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})(),qh=(()=>{class u{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new t.bkB,this.legendLabelActivate=new t.bkB,this.legendLabelDeactivate=new t.bkB,this.LegendPosition=Cl,this.LegendType=J2}ngOnChanges(o){this.update()}update(){let o=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===Cl.Right)&&(o=this.legendType===J2.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-o)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==Cl.Right?this.chartWidth:Math.floor(this.view[0]*o/12)}getLegendType(){return this.legendOptions.scaleType===Un.Linear?J2.ScaleLegend:J2.Legend}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=t.VBU({type:u,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[t.Jv_([Jh]),t.OA$],ngContentSelectors:a1,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,"labelClick","labelActivate","labelDeactivate","horizontal","data","title","colors","height","width","activeEntries"]],template:function(o,E){1&o&&(t.NAR(),t.j41(0,"div",0),t.qSk(),t.j41(1,"svg",1),t.SdG(2),t.k0s(),t.DNE(3,vh,1,5,"ngx-charts-scale-legend",2)(4,A2,1,7,"ngx-charts-legend",3),t.k0s()),2&o&&(t.xc7("width",E.view[0],"px")("height",E.view[1],"px"),t.R7$(),t.BMQ("width",E.chartWidth)("height",E.view[1]),t.R7$(2),t.Y8G("ngIf",E.showLegend&&E.legendType===E.LegendType.ScaleLegend),t.R7$(),t.Y8G("ngIf",E.showLegend&&E.legendType===E.LegendType.Legend))},dependencies:[J4,q4,e.bT],encapsulation:2,changeDetection:0}),u})(),t6=(()=>{class u{constructor(o,E){this.element=o,this.zone=E,this.visible=new t.bkB,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:E,offsetWidth:j}=this.element.nativeElement;E&&j?(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)(t.rXU(t.aKT),t.rXU(t.SKi))},u.\u0275dir=t.FsC({type:u,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),u})();function em(u){return"[object Date]"===toString.call(u)}let o3=(()=>{class u{constructor(o,E,j,K){this.chartElement=o,this.zone=E,this.cd=j,this.platformId=K,this.scheme="cool",this.schemeType=Un.Ordinal,this.animations=!0,this.select=new t.bkB}ngOnInit(){(0,e.Vy)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new t6(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,E;const j=this.chartElement.nativeElement;if((0,e.UE)(this.platformId)&&null!==j.parentNode){const K=j.parentNode.getBoundingClientRect();o=K.width,E=K.height}return o&&E?{width:o,height:E}:null}formatDates(){for(let o=0;o<this.results.length;o++){const E=this.results[o];if(E.label=E.name,em(E.label)&&(E.label=E.label.toLocaleDateString()),E.series)for(let j=0;j<E.series.length;j++){const K=E.series[j];K.label=K.name,em(K.label)&&(K.label=K.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!(0,e.UE)(this.platformId))return;const E=(0,l.R)(window,"resize").pipe((0,x.B)(200)).subscribe(j=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=E}cloneData(o){const E=[];for(const j of o){const K={};if(void 0!==j.name&&(K.name=j.name),void 0!==j.value&&(K.value=j.value),void 0!==j.series){K.series=[];for(const Re of j.series){const yt=Object.assign({},Re);K.series.push(yt)}}void 0!==j.extra&&(K.extra=JSON.parse(JSON.stringify(j.extra))),void 0!==j.source&&(K.source=j.source),void 0!==j.target&&(K.target=j.target),E.push(K)}return E}}return u.\u0275fac=function(o){return new(o||u)(t.rXU(t.aKT),t.rXU(t.SKi),t.rXU(t.gRc),t.rXU(t.Agw))},u.\u0275cmp=t.VBU({type:u,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[t.OA$],decls:1,vars:0,template:function(o,E){1&o&&t.nrm(0,"div")},encapsulation:2}),u})();var ts=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u}(ts||{});let eu=(()=>{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 ts.Top:case ts.Bottom:this.y=this.offset,this.x=this.width/2;break;case ts.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case ts.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)(t.rXU(t.aKT))},u.\u0275cmp=t.VBU({type:u,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[t.OA$],attrs:Df,decls:2,vars:6,template:function(o,E){1&o&&(t.qSk(),t.j41(0,"text"),t.EFF(1),t.k0s()),2&o&&(t.BMQ("stroke-width",E.strokeWidth)("x",E.x)("y",E.y)("text-anchor",E.textAnchor)("transform",E.transform),t.R7$(),t.SpI(" ",E.label," "))},encapsulation:2,changeDetection:0}),u})();function t0(u,I=16){return"string"!=typeof u?"number"==typeof u?u+"":"":(u=u.trim()).length<=I?u:`${u.slice(0,I)}...`}function s3(u,I){if(u.length>I){const o=[],E=Math.floor(u.length/I);for(let j=0;j<u.length;j++)j%E==0&&o.push(u[j]);u=o}return u}function Ed(u,I,o){const E=(u||"").toString();let j=[];if(/\s/.test(E))j=E.split(/\s+/).reduce((K,Re)=>{const yt=(K.pop()||"")+" ";return yt.length+Re.length>I?[...K,yt.trim(),Re.trim()]:[...K,yt+Re]},[]);else{let K=0;for(;K<E.length;)j.push(E.substring(K,K+I)),K+=I}return j.length>o&&(j=j.splice(0,o),j[j.length-1]+="..."),j}var Ys=function(u){return u.Start="start",u.Middle="middle",u.End="end",u}(Ys||{});let Sd=(()=>{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 t.bkB,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=Ys.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10,this.maxPossibleLengthForTickIfWrapped=16}get isWrapTicksSupported(){return this.wrapTicks&&this.scale.step}ngOnChanges(o){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,e.UE)(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(j){return"Date"===j.constructor.name?j.toLocaleDateString():j.toLocaleString()};const E=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(j){return this.scale(j)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",E&&0!==E?(this.textTransform=`rotate(${E})`,this.textAnchor=Ys.End,this.verticalSpacing=10):this.textAnchor=Ys.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(o){let E=0;this.maxTicksLength=0;for(let mi=0;mi<o.length;mi++){const xi=this.tickFormat(o[mi]).toString();let Ai=xi.length;this.trimTicks&&(Ai=this.tickTrim(xi).length),Ai>this.maxTicksLength&&(this.maxTicksLength=Ai)}const Re=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let yt=Re;const Wt=Math.floor(this.width/o.length);for(;yt>Wt&&E>-90;)E-=30,yt=Math.cos(E*(Math.PI/180))*Re;let Ut=14;if(this.isWrapTicksSupported){const mi=this.ticks.reduce((Ai,on)=>on.length>Ai.length?on:Ai,"");Ut=14*(this.tickChunks(mi).length||1),this.maxPossibleLengthForTickIfWrapped=this.getMaxPossibleLengthForTick(mi)}const si=0!==E?Math.max(Math.abs(Math.sin(E*Math.PI/180))*this.maxTickLength*7,10):Ut;return this.approxHeight=Math.min(si,200),E}getTicks(){let o;const E=this.getMaxTicks(20),j=this.getMaxTicks(100);return this.tickValues?o=this.tickValues:this.scale.ticks?o=this.scale.ticks.apply(this.scale,[j]):(o=this.scale.domain(),o=s3(o,E)),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?t0(o,this.maxTickLength):o}getMaxPossibleLengthForTick(o){if(this.scale.bandwidth){const j=Math.floor(this.scale.bandwidth()/7),K=o.slice(0,j);return Math.max(K.length,this.maxTickLength)}return this.maxTickLength}tickChunks(o){if(o.toString().length>this.maxTickLength&&this.scale.bandwidth){let j=this.rotateTicks?Math.floor(this.scale.step()/14):5;if(j<=1)return[this.tickTrim(o)];let K=Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength);return(0,e.UE)(this.platformId)||(K=Math.floor(Math.min(this.approxHeight/5,Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength)))),j=Math.min(j,5),Ed(o,K,j<1?1:j)}return[this.tickTrim(o)]}}return u.\u0275fac=function(o){return new(o||u)(t.rXU(t.Agw))},u.\u0275cmp=t.VBU({type:u,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(o,E){if(1&o&&t.GBs(pd,5),2&o){let j;t.mGM(j=t.lsd())&&(E.ticksElement=j.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.OA$],attrs:m4,decls:4,vars:2,consts:[["ticksel",""],["tmplMultilineTick",""],["tmplSinglelineTick",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01","font-size","12px"],[4,"ngIf","ngIfThen","ngIfElse"],["x","0",4,"ngFor","ngForOf"],["x","0"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(o,E){1&o&&(t.qSk(),t.j41(0,"g",null,0),t.DNE(2,Do,2,2,"g",3),t.k0s(),t.DNE(3,L2,2,2,"g",4)),2&o&&(t.R7$(2),t.Y8G("ngForOf",E.ticks),t.R7$(),t.Y8G("ngForOf",E.ticks))},dependencies:[e.Sq,e.bT],encapsulation:2,changeDetection:0}),u})(),c3=(()=>{class u{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=ts.Bottom,this.xAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new t.bkB,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.orientation=ts}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 E=o+25+5;E!==this.labelOffset&&(this.labelOffset=E,setTimeout(()=>{this.dimensionsChanged.emit({height:o})},0))}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=t.VBU({type:u,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(o,E){if(1&o&&t.GBs(Sd,5),2&o){let j;t.mGM(j=t.lsd())&&(E.ticksComponent=j.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",xAxisOffset:"xAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.OA$],attrs:A1,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,"dimensionsChanged","trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","wrapTicks"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(o,E){1&o&&(t.qSk(),t.j41(0,"g"),t.DNE(1,bh,1,13,"g",0)(2,D1,1,5,"g",1),t.k0s()),2&o&&(t.BMQ("class",E.xAxisClassName)("transform",E.transform),t.R7$(),t.Y8G("ngIf",E.xScale),t.R7$(),t.Y8G("ngIf",E.showLabel))},dependencies:[Sd,eu,e.bT],encapsulation:2,changeDetection:0}),u})();function d1(u,I,o,E,j,[K,Re,yt,Wt]){let Ut="";return Ut=`M${[u+j,I]}`,Ut+="h"+((o=0===(o=Math.floor(o))?1:o)-2*j),Ut+=Re?`a${[j,j]} 0 0 1 ${[j,j]}`:`h${j}v${j}`,Ut+="v"+((E=0===(E=Math.floor(E))?1:E)-2*j),Ut+=Wt?`a${[j,j]} 0 0 1 ${[-j,j]}`:`v${j}h${-j}`,Ut+="h"+(2*j-o),Ut+=yt?`a${[j,j]} 0 0 1 ${[-j,-j]}`:`h${-j}v${-j}`,Ut+="v"+(2*j-E),Ut+=K?`a${[j,j]} 0 0 1 ${[j,-j]}`:`v${-j}h${j}`,Ut+="z",Ut}let im=(()=>{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 t.bkB,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=Ys.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=ts}ngOnChanges(o){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,e.UE)(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,E=this.orient===ts.Top||this.orient===ts.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(j){return"Date"===j.constructor.name?j.toLocaleDateString():j.toLocaleString()},this.adjustedScale=o.bandwidth?j=>{const K=o(j)+.5*o.bandwidth();if(this.wrapTicks&&j.toString().length>this.maxTickLength){const Re=this.tickChunks(j).length;if(1===Re)return K;const Ut=.5*o.bandwidth()-8*Re*.5;return o(j)+Ut}return K}:o,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case ts.Top:case ts.Bottom:this.transform=function(j){return"translate("+this.adjustedScale(j)+",0)"},this.textAnchor=Ys.Middle,this.y2=this.innerTickSize*E,this.y1=this.tickSpacing*E,this.dy=E<0?"0em":".71em";break;case ts.Left:this.transform=function(j){return"translate(0,"+this.adjustedScale(j)+")"},this.textAnchor=Ys.End,this.x2=this.innerTickSize*-E,this.x1=this.tickSpacing*-E,this.dy=".32em";break;case ts.Right:this.transform=function(j){return"translate(0,"+this.adjustedScale(j)+")"},this.textAnchor=Ys.Start,this.x2=this.innerTickSize*-E,this.x1=this.tickSpacing*-E,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=d1(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let o;const E=this.getMaxTicks(20),j=this.getMaxTicks(50);return this.tickValues?o=this.tickValues:this.scale.ticks?o=this.scale.ticks.apply(this.scale,[j]):(o=this.scale.domain(),o=s3(o,E)),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?t0(o,this.maxTickLength):o}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(j=>this.tickTrim(this.tickFormat(j)).length))}tickChunks(o){if(o.toString().length>this.maxTickLength&&this.scale.bandwidth){const E=this.maxTickLength,j=Math.floor(this.scale.bandwidth()/15);return j<=1?[this.tickTrim(o)]:Ed(o,E,Math.min(j,5))}return[this.tickFormat(o)]}}return u.\u0275fac=function(o){return new(o||u)(t.rXU(t.Agw))},u.\u0275cmp=t.VBU({type:u,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(o,E){if(1&o&&t.GBs(pd,5),2&o){let j;t.mGM(j=t.lsd())&&(E.ticksElement=j.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.OA$],attrs:yh,decls:6,vars:4,consts:[["ticksel",""],["tmplMultilineTick",""],["tmplSinglelineTick",""],["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"],[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,E){1&o&&(t.qSk(),t.j41(0,"g",null,0),t.DNE(2,wh,2,2,"g",3),t.k0s(),t.DNE(3,p4,1,2,"path",4)(4,Eh,2,2,"g",5)(5,bd,2,1,"g",5)),2&o&&(t.R7$(2),t.Y8G("ngForOf",E.ticks),t.R7$(),t.Y8G("ngIf",E.referenceLineLength>1&&E.refMax&&E.refMin&&E.showRefLines),t.R7$(),t.Y8G("ngForOf",E.ticks),t.R7$(),t.Y8G("ngForOf",E.referenceLines))},dependencies:[e.Sq,e.bT],encapsulation:2,changeDetection:0}),u})(),Td=(()=>{class u{constructor(){this.showGridLines=!1,this.yOrient=ts.Left,this.yAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new t.bkB,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===ts.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===ts.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=t.VBU({type:u,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(o,E){if(1&o&&t.GBs(im,5),2&o){let j;t.mGM(j=t.lsd())&&(E.ticksComponent=j.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.OA$],attrs:Rf,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,"dimensionsChanged","trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(o,E){1&o&&(t.qSk(),t.j41(0,"g"),t.DNE(1,Of,1,15,"g",0)(2,Ff,1,5,"g",1),t.k0s()),2&o&&(t.BMQ("class",E.yAxisClassName)("transform",E.transform),t.R7$(),t.Y8G("ngIf",E.yScale),t.R7$(),t.Y8G("ngIf",E.showLabel))},dependencies:[im,eu,e.bT],encapsulation:2,changeDetection:0}),u})(),tu=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[e.MD]]}),u})();var Ad=function(u){return u.popover="popover",u.tooltip="tooltip",u}(Ad||{}),n0=function(u){return u[u.all="all"]="all",u[u.focus="focus"]="focus",u[u.mouseover="mouseover"]="mouseover",u}(n0||{});let l3=(()=>{class u{constructor(o,E,j){this.tooltipService=o,this.viewContainerRef=E,this.renderer=j,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=pr.Top,this.tooltipAlignment=pr.Center,this.tooltipType=Ad.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=n0.all,this.tooltipImmediateExit=!1,this.show=new t.bkB,this.hide=new t.bkB}get listensForFocus(){return this.tooltipShowEvent===n0.all||this.tooltipShowEvent===n0.focus}get listensForHover(){return this.tooltipShowEvent===n0.all||this.tooltipShowEvent===n0.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 E=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 j=this.createBoundOptions();this.component=this.tooltipService.create(j),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},E)}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",E=>{o.contains(E.target)||this.hideTooltip()}))}hideTooltip(o=!1){if(!this.component)return;const E=()=>{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?E():this.timeout=setTimeout(E,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)(t.rXU(Jh),t.rXU(t.c1b),t.rXU(t.sFG))},u.\u0275dir=t.FsC({type:u,selectors:[["","ngx-tooltip",""]],hostBindings:function(o,E){1&o&&t.bIt("focusin",function(){return E.onFocus()})("blur",function(){return E.onBlur()})("mouseenter",function(){return E.onMouseEnter()})("mouseleave",function(K){return E.onMouseLeave(K.target)})("click",function(){return E.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})(),nm=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({providers:[xl,Jh],imports:[[e.MD]]}),u})();const rm={};function r0(){let u=("0000"+(Math.random()*Math.pow(36,4)|0).toString(36)).slice(-4);return u=`a${u}`,rm[u]?r0():(rm[u]=!0,u)}var vo=function(u){return u.Vertical="vertical",u.Horizontal="horizontal",u}(vo||{});let d3=(()=>{class u{constructor(){this.orientation=vo.Vertical}ngOnChanges(o){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===vo.Horizontal?this.x2="100%":this.orientation===vo.Vertical&&(this.y1="100%")}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=t.VBU({type:u,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[t.OA$],attrs:Pf,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(o,E){1&o&&(t.qSk(),t.j41(0,"linearGradient",0),t.DNE(1,Lc,1,5,"stop",1),t.k0s()),2&o&&(t.Y8G("id",E.name),t.BMQ("x1",E.x1)("y1",E.y1)("x2",E.x2)("y2",E.y2),t.R7$(),t.Y8G("ngForOf",E.stops))},dependencies:[e.Sq],encapsulation:2,changeDetection:0}),u})(),nu=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=t.VBU({type:u,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:Ic,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(o,E){1&o&&(t.qSk(),t.nrm(0,"rect",0)),2&o&&t.BMQ("height",E.height)("width",E.width)("x",E.x)("y",E.y)},encapsulation:2,changeDetection:0}),u})();var wl=function(u){return u.Odd="odd",u.Even="even",u}(wl||{});let a0,ru=(()=>{class u{ngOnChanges(o){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(o=>{let E,j,K,Re,yt,Wt=wl.Odd;if(this.orient===vo.Vertical){const Ut=this.xScale(o.name);Number.parseInt((Ut/this.xScale.step()).toString(),10)%2==1&&(Wt=wl.Even),E=this.xScale.bandwidth()*this.xScale.paddingInner(),j=this.xScale.bandwidth()+E,K=this.dims.height,Re=this.xScale(o.name)-E/2,yt=0}else if(this.orient===vo.Horizontal){const Ut=this.yScale(o.name);Number.parseInt((Ut/this.yScale.step()).toString(),10)%2==1&&(Wt=wl.Even),E=this.yScale.bandwidth()*this.yScale.paddingInner(),j=this.dims.width,K=this.yScale.bandwidth()+E,Re=0,yt=this.yScale(o.name)-E/2}return{name:o.name,class:Wt,height:K,width:j,x:Re,y:yt}})}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=t.VBU({type:u,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[t.OA$],attrs:Th,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,E){1&o&&t.DNE(0,Ah,1,10,"g",0),2&o&&t.Y8G("ngForOf",E.gridPanels)},dependencies:[nu,e.Sq],encapsulation:2,changeDetection:0}),u})();typeof window<"u"?a0=window:typeof global<"u"&&(a0=global);let is=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[e.MD,tu,nm],e.MD,tu,nm]}),u})();function sm({width:u,height:I,margins:o,showXAxis:E=!1,showYAxis:j=!1,xAxisHeight:K=0,yAxisWidth:Re=0,showXLabel:yt=!1,showYLabel:Wt=!1,showLegend:Ut=!1,legendType:si=Un.Ordinal,legendPosition:mi=Cl.Right,columns:xi=12}){let Ai=o[3],on=u,Tn=I-o[0]-o[2];return Ut&&mi===Cl.Right&&(xi-=si===Un.Ordinal?2:1),on=on*xi/12,on=on-o[1]-o[3],E&&(Tn-=5,Tn-=K,yt&&(Tn-=30)),j&&(on-=5,on-=Re,Ai+=Re,Ai+=10,Wt&&(on-=30,Ai+=30)),on=Math.max(0,on),Tn=Math.max(0,Tn),{width:Math.floor(on),height:Math.floor(Tn),xOffset:Math.floor(Ai)}}const m3=[{name:"vivid",selectable:!0,group:Un.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:Un.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:Un.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:Un.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:Un.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:Un.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:Un.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:Un.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:Un.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:Un.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:Un.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:Un.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:Un.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:Un.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:Un.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class cm{constructor(I,o,E,j){"string"==typeof I&&(I=m3.find(K=>K.name===I)),this.colorDomain=I.domain,this.scaleType=o,this.domain=E,this.customColors=j,this.scale=this.generateColorScheme(I,o,this.domain)}generateColorScheme(I,o,E){let j;switch("string"==typeof I&&(I=m3.find(K=>K.name===I)),o){case Un.Quantile:j=r1().range(I.domain).domain(E);break;case Un.Ordinal:j=Yc().range(I.domain).domain(E);break;case Un.Linear:{const K=[...I.domain];1===K.length&&(K.push(K[0]),this.colorDomain=K);const Re=uh(0,1,1/K.length);j=js().range(K).domain(Re)}}return j}getColor(I){if(null==I)throw new Error("Value can not be null");if(this.scaleType===Un.Linear){const o=js().domain(this.domain).range([0,1]);return this.scale(o(I))}{if("function"==typeof this.customColors)return this.customColors(I);const o=I.toString();let E;return this.customColors&&this.customColors.length>0&&(E=this.customColors.find(j=>j.name.toLowerCase()===o.toLowerCase())),E?E.value:this.scale(I)}}getLinearGradientStops(I,o){void 0===o&&(o=this.domain[0]);const E=js().domain(this.domain).range([0,1]),j=kc().domain(this.colorDomain).range([0,1]),K=this.getColor(I),Re=E(o),yt=this.getColor(o),Wt=E(I);let Ut=1,si=Re;const mi=[];for(mi.push({color:yt,offset:Re,originalOffset:Re,opacity:1});si<Wt&&Ut<this.colorDomain.length;){const xi=this.colorDomain[Ut],Ai=j(xi);if(Ai<=Re)Ut++;else{if(Ai.toFixed(4)>=(Wt-j.bandwidth()).toFixed(4))break;mi.push({color:xi,offset:Ai,opacity:1}),si=Ai,Ut++}}if(mi[mi.length-1].offset<100&&mi.push({color:K,offset:Wt,opacity:1}),Wt===Re)mi[0].offset=0,mi[1].offset=100;else if(100!==mi[mi.length-1].offset)for(const xi of mi)xi.offset=(xi.offset-Re)/(Wt-Re)*100;return mi}}let su=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[is]]}),u})(),o0=(()=>{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 t.bkB,this.activate=new t.bkB,this.deactivate=new t.bkB,this.hasGradient=!1,this.hideBar=!1,this.element=o.nativeElement}ngOnChanges(o){o.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+r0().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 ct(u){return"string"==typeof u?new Fi([[document.querySelector(u)]],[document.documentElement]):new Fi([[u]],hn)}(this.element).select(".bar"),E=this.getPath();this.animations?o.transition().duration(500).attr("d",E):o.attr("d",E)}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 E,o=this.getRadius();return this.roundEdges?this.orientation===vo.Vertical?(o=Math.min(this.height,o),E=d1(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===vo.Horizontal&&(o=Math.min(this.width,o),E=d1(this.x,this.y,1,this.height,0,this.edges)):this.orientation===vo.Vertical?E=d1(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===vo.Horizontal&&(E=d1(this.x,this.y,1,this.height,0,this.edges)),E}getPath(){let E,o=this.getRadius();return this.roundEdges?this.orientation===vo.Vertical?(o=Math.min(this.height,o),E=d1(this.x,this.y,this.width,this.height,o,this.edges)):this.orientation===vo.Horizontal&&(o=Math.min(this.width,o),E=d1(this.x,this.y,this.width,this.height,o,this.edges)):E=d1(this.x,this.y,this.width,this.height,o,this.edges),E}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===vo.Vertical?o=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===vo.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===vo.Vertical&&0===this.height||this.orientation===vo.Horizontal&&0===this.width)}}return u.\u0275fac=function(o){return new(o||u)(t.rXU(t.aKT))},u.\u0275cmp=t.VBU({type:u,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(o,E){1&o&&t.bIt("mouseenter",function(){return E.onMouseEnter()})("mouseleave",function(){return E.onMouseLeave()})},inputs:{fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",orientation:"orientation",roundEdges:"roundEdges",gradient:"gradient",offset:"offset",isActive:"isActive",stops:"stops",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[t.OA$],attrs:o1,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,E){1&o&&(t.DNE(0,Xf,2,3,"defs",0),t.qSk(),t.j41(1,"path",1),t.bIt("click",function(){return E.select.emit(E.data)}),t.k0s()),2&o&&(t.Y8G("ngIf",E.hasGradient),t.R7$(),t.AVh("active",E.isActive)("hidden",E.hideBar),t.BMQ("d",E.path)("aria-label",E.ariaLabel)("fill",E.hasGradient?E.gradientFill:E.fill))},dependencies:[d3,e.bT],encapsulation:2,changeDetection:0}),u})();var Ml=function(u){return u.Standard="standard",u.Normalized="normalized",u.Stacked="stacked",u}(Ml||{}),F1=function(u){return u.positive="positive",u.negative="negative",u}(F1||{});let s0=(()=>{class u{constructor(o){this.dimensionsChanged=new t.bkB,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):q2(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)(t.rXU(t.aKT))},u.\u0275cmp=t.VBU({type:u,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.OA$],attrs:Uh,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(o,E){1&o&&(t.qSk(),t.j41(0,"text",0),t.EFF(1),t.k0s()),2&o&&(t.BMQ("text-anchor",E.textAnchor)("transform",E.transform)("x",E.x)("y",E.y),t.R7$(),t.SpI(" ",E.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}),u})(),um=(()=>{class u{constructor(o){this.platformId=o,this.type=Ml.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new t.bkB,this.activate=new t.bkB,this.deactivate=new t.bkB,this.dataLabelHeightChanged=new t.bkB,this.barsForDataLabels=[],this.barOrientation=vo,this.isSSR=!1}ngOnInit(){(0,e.Vy)(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 E=Math.max(this.yScale.domain()[0],0),j={[F1.positive]:0,[F1.negative]:0};let Re,K=F1.positive;this.type===Ml.Normalized&&(Re=this.series.map(yt=>yt.value).reduce((yt,Wt)=>yt+Wt,0)),this.bars=this.series.map((yt,Wt)=>{let Ut=yt.value;const si=this.getLabel(yt),mi=q2(si);K=Ut>0?F1.positive:F1.negative;const Ai={value:Ut,label:si,roundEdges:this.roundEdges,data:yt,width:o,formattedLabel:mi,height:0,x:0,y:0};if(this.type===Ml.Standard)Ai.height=Math.abs(this.yScale(Ut)-this.yScale(E)),Ai.x=this.xScale(si),Ai.y=this.yScale(Ut<0?0:Ut);else if(this.type===Ml.Stacked){const Tn=j[K],Di=Tn+Ut;j[K]+=Ut,Ai.height=this.yScale(Tn)-this.yScale(Di),Ai.x=0,Ai.y=this.yScale(Di),Ai.offset0=Tn,Ai.offset1=Di}else if(this.type===Ml.Normalized){let Tn=j[K],Di=Tn+Ut;j[K]+=Ut,Re>0?(Tn=100*Tn/Re,Di=100*Di/Re):(Tn=0,Di=0),Ai.height=this.yScale(Tn)-this.yScale(Di),Ai.x=0,Ai.y=this.yScale(Di),Ai.offset0=Tn,Ai.offset1=Di,Ut=(Di-Tn).toFixed(2)+"%"}this.colors.scaleType===Un.Ordinal?Ai.color=this.colors.getColor(si):this.type===Ml.Standard?(Ai.color=this.colors.getColor(Ut),Ai.gradientStops=this.colors.getLinearGradientStops(Ut)):(Ai.color=this.colors.getColor(Ai.offset1),Ai.gradientStops=this.colors.getLinearGradientStops(Ai.offset1,Ai.offset0));let on=mi;return Ai.ariaLabel=mi+" "+Ut.toLocaleString(),null!=this.seriesName&&(on=`${this.seriesName} \u2022 ${mi}`,Ai.data.series=this.seriesName,Ai.ariaLabel=this.seriesName+" "+Ai.ariaLabel),Ai.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${function a3(u){return u.toLocaleString().replace(/[&'`"<>]/g,I=>({"&":"&","'":"'","`":"`",'"':""","<":"<",">":">"}[I]))}(on)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(Ut):Ut.toLocaleString()}</span>\n `,Ai}),this.updateDataLabels()}updateDataLabels(){if(this.type===Ml.Stacked){this.barsForDataLabels=[];const o={};o.series=this.seriesName;const E=this.series.map(K=>K.value).reduce((K,Re)=>Re>0?K+Re:K,0),j=this.series.map(K=>K.value).reduce((K,Re)=>Re<0?K+Re:K,0);o.total=E+j,o.x=0,o.y=0,o.height=this.yScale(o.total>0?E:j),o.width=this.xScale.bandwidth(),this.barsForDataLabels.push(o)}else this.barsForDataLabels=this.series.map(o=>{const E={};return E.series=this.seriesName??o.label,E.total=o.value,E.x=this.xScale(o.label),E.y=this.yScale(0),E.height=this.yScale(E.total)-this.yScale(0),E.width=this.xScale.bandwidth(),E})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:pr.Top,this.tooltipType=this.tooltipDisabled?void 0:Ad.tooltip}isActive(o){return!!this.activeEntries&&void 0!==this.activeEntries.find(j=>o.name===j.name&&o.value===j.value)}onClick(o){this.select.emit(o)}getLabel(o){return o.label?o.label:o.name}trackBy(o,E){return E.label}trackDataLabelBy(o,E){return o+"#"+E.series+"#"+E.total}}return u.\u0275fac=function(o){return new(o||u)(t.rXU(t.Agw))},u.\u0275cmp=t.VBU({type:u,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},features:[t.OA$],attrs:dn,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,"select","activate","deactivate","width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"dimensionsChanged","barX","barY","barWidth","barHeight","value","valueFormatting","orientation"]],template:function(o,E){1&o&&t.DNE(0,Wi,2,2,"g",0)(1,In,2,2,"g",0)(2,Br,2,2,"g",0),2&o&&(t.Y8G("ngIf",!E.isSSR),t.R7$(),t.Y8G("ngIf",E.isSSR),t.R7$(),t.Y8G("ngIf",E.showDataLabel))},dependencies:[o0,s0,e.bT,e.Sq,l3],encapsulation:2,data:{animation:[(0,m.hZ)("animationState",[(0,m.kY)(":leave",[(0,m.iF)({opacity:1}),(0,m.i0)(500,(0,m.iF)({opacity:0}))])])]},changeDetection:0}),u})(),fm=(()=>{class u extends o3{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cl.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new t.bkB,this.deactivate=new t.bkB,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=sm({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 kc().range([0,this.dims.width]).paddingInner(o).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const o=js().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(K=>K.value);let E=this.yScaleMin?Math.min(this.yScaleMin,...o):Math.min(0,...o);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(E=Math.min(E,...this.yAxisTicks));let j=this.yScaleMax?Math.max(this.yScaleMax,...o):Math.max(0,...o);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(j=Math.max(j,...this.yAxisTicks)),[E,j]}onClick(o){this.select.emit(o)}setColors(){let o;o=this.schemeType===Un.Ordinal?this.xDomain:this.yDomain,this.colors=new cm(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===Un.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,E=!1){o=this.results.find(K=>E?K.label===o.name:K.name===o.name),!(this.activeEntries.findIndex(K=>K.name===o.name&&K.value===o.value&&K.series===o.series)>-1)&&(this.activeEntries=[o,...this.activeEntries],this.activate.emit({value:o,entries:this.activeEntries}))}onDeactivate(o,E=!1){o=this.results.find(K=>E?K.label===o.name:K.name===o.name);const j=this.activeEntries.findIndex(K=>K.name===o.name&&K.value===o.value&&K.series===o.series);this.activeEntries.splice(j,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:o,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let I;return function(E){return(I||(I=t.xGo(u)))(E||u)}})(),u.\u0275cmp=t.VBU({type:u,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(o,E,j){if(1&o&&t.wni(j,V2,5),2&o){let K;t.mGM(K=t.lsd())&&(E.tooltipTemplate=K.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[t.Vt3],decls:5,vars:25,consts:[[3,"legendLabelClick","legendLabelActivate","legendLabelDeactivate","view","showLegend","legendOptions","activeEntries","animations"],[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,"activate","deactivate","select","dataLabelHeightChanged","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero"],["ngx-charts-x-axis","",3,"dimensionsChanged","xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks"],["ngx-charts-y-axis","",3,"dimensionsChanged","yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks"]],template:function(o,E){1&o&&(t.j41(0,"ngx-charts-chart",0),t.bIt("legendLabelClick",function(K){return E.onClick(K)})("legendLabelActivate",function(K){return E.onActivate(K,!0)})("legendLabelDeactivate",function(K){return E.onDeactivate(K,!0)}),t.qSk(),t.j41(1,"g",1),t.DNE(2,ca,1,12,"g",2)(3,lr,1,10,"g",3),t.j41(4,"g",4),t.bIt("activate",function(K){return E.onActivate(K)})("deactivate",function(K){return E.onDeactivate(K)})("select",function(K){return E.onClick(K)})("dataLabelHeightChanged",function(K){return E.onDataLabelMaxHeightChanged(K)}),t.k0s()()()),2&o&&(t.Y8G("view",t.l_i(22,vl,E.width,E.height))("showLegend",E.legend)("legendOptions",E.legendOptions)("activeEntries",E.activeEntries)("animations",E.animations),t.R7$(),t.BMQ("transform",E.transform),t.R7$(),t.Y8G("ngIf",E.xAxis),t.R7$(),t.Y8G("ngIf",E.yAxis),t.R7$(),t.Y8G("xScale",E.xScale)("yScale",E.yScale)("colors",E.colors)("series",E.results)("dims",E.dims)("gradient",E.gradient)("tooltipDisabled",E.tooltipDisabled)("tooltipTemplate",E.tooltipTemplate)("showDataLabel",E.showDataLabel)("dataLabelFormatting",E.dataLabelFormatting)("activeEntries",E.activeEntries)("roundEdges",E.roundEdges)("animations",E.animations)("noBarWhenZero",E.noBarWhenZero))},dependencies:[qh,c3,Td,um,e.bT],styles:[Cd],encapsulation:2,changeDetection:0}),u})(),l6=(()=>{class u extends o3{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cl.Right,this.tooltipDisabled=!1,this.scaleType=Un.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new t.bkB,this.deactivate=new t.bkB,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=vo,this.trackBy=(o,E)=>E.name}ngOnInit(){(0,e.Vy)(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=sm({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,E){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),E===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const o=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return kc().rangeRound([0,this.dims.width]).paddingInner(o).paddingOuter(o/2).domain(this.groupDomain)}getInnerScale(){const o=this.groupScale.bandwidth(),E=this.innerDomain.length/(o/this.barPadding+1);return kc().rangeRound([0,o]).paddingInner(E).domain(this.innerDomain)}getValueScale(){const o=js().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?o.nice():o}getGroupDomain(){const o=[];for(const E of this.results)o.includes(E.label)||o.push(E.label);return o}getInnerDomain(){const o=[];for(const E of this.results)for(const j of E.series)o.includes(j.label)||o.push(j.label);return o}getValueDomain(){const o=[];for(const K of this.results)for(const Re of K.series)o.includes(Re.value)||o.push(Re.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,E){E&&(o.series=E.name),this.select.emit(o)}setColors(){let o;o=this.schemeType===Un.Ordinal?this.innerDomain:this.valueDomain,this.colors=new cm(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===Un.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,E,j=!1){const K=Object.assign({},o);E&&(K.series=E.name);const Re=this.results.map(yt=>yt.series).flat().filter(yt=>j?yt.label===K.name:yt.name===K.name&&yt.series===K.series);this.activeEntries=[...Re],this.activate.emit({value:K,entries:this.activeEntries})}onDeactivate(o,E,j=!1){const K=Object.assign({},o);E&&(K.series=E.name),this.activeEntries=this.activeEntries.filter(Re=>j?Re.label!==K.name:!(Re.name===K.name&&Re.series===K.series)),this.deactivate.emit({value:K,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let I;return function(E){return(I||(I=t.xGo(u)))(E||u)}})(),u.\u0275cmp=t.VBU({type:u,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(o,E,j){if(1&o&&t.wni(j,V2,5),2&o){let K;t.mGM(K=t.lsd())&&(E.tooltipTemplate=K.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",scaleType:"scaleType",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[t.Vt3],decls:7,vars:18,consts:[[3,"legendLabelActivate","legendLabelDeactivate","legendLabelClick","view","showLegend","legendOptions","activeEntries","animations"],[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,"dimensionsChanged","xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks"],["ngx-charts-y-axis","",3,"dimensionsChanged","yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks"],["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,"select","activate","deactivate","dataLabelHeightChanged","activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero"]],template:function(o,E){1&o&&(t.j41(0,"ngx-charts-chart",0),t.bIt("legendLabelActivate",function(K){return E.onActivate(K,void 0,!0)})("legendLabelDeactivate",function(K){return E.onDeactivate(K,void 0,!0)})("legendLabelClick",function(K){return E.onClick(K)}),t.qSk(),t.j41(1,"g",1),t.nrm(2,"g",2),t.DNE(3,qr,1,11,"g",3)(4,xr,1,10,"g",4)(5,ua,2,2,"g",5),t.k0s(),t.DNE(6,$c,2,2,"g",5),t.k0s()),2&o&&(t.Y8G("view",t.l_i(15,vl,E.width,E.height))("showLegend",E.legend)("legendOptions",E.legendOptions)("activeEntries",E.activeEntries)("animations",E.animations),t.R7$(),t.BMQ("transform",E.transform),t.R7$(),t.Y8G("xScale",E.groupScale)("yScale",E.valueScale)("data",E.results)("dims",E.dims)("orient",E.barOrientation.Vertical),t.R7$(),t.Y8G("ngIf",E.xAxis),t.R7$(),t.Y8G("ngIf",E.yAxis),t.R7$(),t.Y8G("ngIf",!E.isSSR),t.R7$(),t.Y8G("ngIf",E.isSSR))},dependencies:[qh,ru,c3,Td,um,e.bT,e.Sq],styles:[Cd],encapsulation:2,data:{animation:[(0,m.hZ)("animationState",[(0,m.kY)(":leave",[(0,m.iF)({opacity:1,transform:"*"}),(0,m.i0)(500,(0,m.iF)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}),u})(),_3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[is]]}),u})();u4();let f6=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[is]]}),u})(),c0=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[is]]}),u})(),Id=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[is]]}),u})(),b3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[is]]}),u})();Math;let P1=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[is]]}),u})(),_6=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[is,P1,b3]]}),u})(),y3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[is]]}),u})(),x3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[is]]}),u})(),C3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[is,P1,_3]]}),u})(),T6=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[[is]]}),u})(),w3=(()=>{class u{constructor(){!function U5(){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=t.$C({type:u}),u.\u0275inj=t.G2t({imports:[is,su,_3,f6,c0,Id,T6,b3,_6,y3,P1,x3,C3]}),u})()},8288:(Ve,ee,p)=>{"use strict";p.d(ee,{Um:()=>d,XK:()=>w});var t=p(467),e=p(4438),C=p(177),S=p(8314);function l(y,T){if(1&y&&e.nrm(0,"canvas",1),2&y){const k=e.XpG();e.HbH(k.styleClass),e.Y8G("qrCode",k.value)("qrCodeErrorCorrectionLevel",k.errorCorrectionLevel)("qrCodeCenterImageSrc",k.centerImageSrc)("qrCodeCenterImageWidth",k.centerImageSize)("qrCodeCenterImageHeight",k.centerImageSize)("qrCodeMargin",k.margin)("width",k.size)("height",k.size)("ngStyle",k.style)("darkColor",k.darkColor)("lightColor",k.lightColor)}}const x=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let m=(()=>{class y{static{this.DEFAULT_ERROR_CORRECTION_LEVEL="M"}static{this.DEFAULT_CENTER_IMAGE_SIZE=40}constructor(k){this.viewContainerRef=k,this.errorCorrectionLevel=y.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var k=this;return(0,t.A)(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 F=k.viewContainerRef.element.nativeElement;if(!F)return;const V=F.getContext("2d");V&&V.clearRect(0,0,V.canvas.width,V.canvas.height);const U=k.errorCorrectionLevel??y.DEFAULT_ERROR_CORRECTION_LEVEL,G=x.test(k.darkColor)?k.darkColor:void 0,Y=x.test(k.lightColor)?k.lightColor:void 0;(0,e.naY)()&&(!G&&k.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!Y&&k.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield S.toCanvas(F,k.value,{version:k.version,errorCorrectionLevel:U,width:k.width,margin:k.margin,color:{dark:G,light:Y}});const $=k.centerImageSrc,Z=R(k.centerImageWidth,y.DEFAULT_CENTER_IMAGE_SIZE),ie=R(k.centerImageHeight,y.DEFAULT_CENTER_IMAGE_SIZE);if($&&V){k.centerImage||(k.centerImage=new Image(Z,ie));const ve=k.centerImage;$!==k.centerImage.src&&(ve.src=$),Z!==k.centerImage.width&&(ve.width=Z),ie!==k.centerImage.height&&(ve.height=ie);const ae=()=>{V.drawImage(ve,F.width/2-Z/2,F.height/2-ie/2,Z,ie)};ve.onload=ae,ve.complete&&ae()}})()}static{this.\u0275fac=function(F){return new(F||y)(e.rXU(e.c1b))}}static{this.\u0275dir=e.FsC({type:y,selectors:[["canvas","qrCode",""]],inputs:{value:[0,"qrCode","value"],version:[0,"qrCodeVersion","version"],errorCorrectionLevel:[0,"qrCodeErrorCorrectionLevel","errorCorrectionLevel"],width:"width",height:"height",darkColor:"darkColor",lightColor:"lightColor",centerImageSrc:[0,"qrCodeCenterImageSrc","centerImageSrc"],centerImageWidth:[0,"qrCodeCenterImageWidth","centerImageWidth"],centerImageHeight:[0,"qrCodeCenterImageHeight","centerImageHeight"],margin:[0,"qrCodeMargin","margin"]},features:[e.OA$]})}}return y})();function R(y,T){return void 0===y||""===y?T:"string"==typeof y?parseInt(y,10):y}let d=(()=>{class y{static{this.\u0275fac=function(F){return new(F||y)}}static{this.\u0275cmp=e.VBU({type:y,selectors:[["qr-code"]],inputs:{value:"value",size:"size",style:"style",styleClass:"styleClass",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","class","ngStyle","darkColor","lightColor"],[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","width","height","ngStyle","darkColor","lightColor"]],template:function(F,V){1&F&&e.DNE(0,l,1,13,"canvas",0),2&F&&e.vxM(V.value?0:-1)},dependencies:[C.B3,m],encapsulation:2})}}return y})(),w=(()=>{class y{static{this.\u0275fac=function(F){return new(F||y)}}static{this.\u0275mod=e.$C({type:y})}static{this.\u0275inj=e.G2t({imports:[C.MD]})}}return y})()},497:(Ve,ee,p)=>{"use strict";p.d(ee,{kU:()=>Et,ZF:()=>Xe,Ld:()=>Me,U$:()=>Oe});var t=p(1413),e=p(3726),C=p(7786),S=p(3798),l=p(6977),x=p(3294),m=p(3703),R=p(4438),d=p(177);function w(we){return getComputedStyle(we)}function y(we,De){for(var $e in De){var $t=De[$e];"number"==typeof $t&&($t+="px"),we.style[$e]=$t}return we}function T(we){var De=document.createElement("div");return De.className=we,De}var k=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function F(we,De){if(!k)throw new Error("No element matching method supported");return k.call(we,De)}function V(we){we.remove?we.remove():we.parentNode&&we.parentNode.removeChild(we)}function U(we,De){return Array.prototype.filter.call(we.children,function($e){return F($e,De)})}var G={main:"ps",rtl:"ps__rtl",element:{thumb:function(we){return"ps__thumb-"+we},rail:function(we){return"ps__rail-"+we},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(we){return"ps--active-"+we},scrolling:function(we){return"ps--scrolling-"+we}}},Y={x:null,y:null};function $(we,De){var $e=we.element.classList,$t=G.state.scrolling(De);$e.contains($t)?clearTimeout(Y[De]):$e.add($t)}function Z(we,De){Y[De]=setTimeout(function(){return we.isAlive&&we.element.classList.remove(G.state.scrolling(De))},we.settings.scrollingThreshold)}var ve=function(De){this.element=De,this.handlers={}},ae={isEmpty:{configurable:!0}};ve.prototype.bind=function(De,$e){typeof this.handlers[De]>"u"&&(this.handlers[De]=[]),this.handlers[De].push($e),this.element.addEventListener(De,$e,!1)},ve.prototype.unbind=function(De,$e){var $t=this;this.handlers[De]=this.handlers[De].filter(function(Ft){return!(!$e||Ft===$e)||($t.element.removeEventListener(De,Ft,!1),!1)})},ve.prototype.unbindAll=function(){for(var De in this.handlers)this.unbind(De)},ae.isEmpty.get=function(){var we=this;return Object.keys(this.handlers).every(function(De){return 0===we.handlers[De].length})},Object.defineProperties(ve.prototype,ae);var ye=function(){this.eventElements=[]};function ue(we){if("function"==typeof window.CustomEvent)return new CustomEvent(we);var De=document.createEvent("CustomEvent");return De.initCustomEvent(we,!1,!1,void 0),De}function be(we,De,$e,$t,Ft){var Kt;if(void 0===$t&&($t=!0),void 0===Ft&&(Ft=!1),"top"===De)Kt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==De)throw new Error("A proper axis should be provided");Kt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function D(we,De,$e,$t,Ft){var Kt=$e[0],fi=$e[1],Qt=$e[2],zt=$e[3],Xi=$e[4],ci=$e[5];void 0===$t&&($t=!0),void 0===Ft&&(Ft=!1);var ui=we.element;we.reach[zt]=null,ui[Qt]<1&&(we.reach[zt]="start"),ui[Qt]>we[Kt]-we[fi]-1&&(we.reach[zt]="end"),De&&(ui.dispatchEvent(ue("ps-scroll-"+zt)),De<0?ui.dispatchEvent(ue("ps-scroll-"+Xi)):De>0&&ui.dispatchEvent(ue("ps-scroll-"+ci)),$t&&function ie(we,De){$(we,De),Z(we,De)}(we,zt)),we.reach[zt]&&(De||Ft)&&ui.dispatchEvent(ue("ps-"+zt+"-reach-"+we.reach[zt]))}(we,$e,Kt,$t,Ft)}function n(we){return parseInt(we,10)||0}ye.prototype.eventElement=function(De){var $e=this.eventElements.filter(function($t){return $t.element===De})[0];return $e||($e=new ve(De),this.eventElements.push($e)),$e},ye.prototype.bind=function(De,$e,$t){this.eventElement(De).bind($e,$t)},ye.prototype.unbind=function(De,$e,$t){var Ft=this.eventElement(De);Ft.unbind($e,$t),Ft.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(Ft),1)},ye.prototype.unbindAll=function(){this.eventElements.forEach(function(De){return De.unbindAll()}),this.eventElements=[]},ye.prototype.once=function(De,$e,$t){var Ft=this.eventElement(De),Kt=function(fi){Ft.unbind($e,Kt),$t(fi)};Ft.bind($e,Kt)};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 M(we){var De=we.element,$e=Math.floor(De.scrollTop),$t=De.getBoundingClientRect();we.containerWidth=Math.round($t.width),we.containerHeight=Math.round($t.height),we.contentWidth=De.scrollWidth,we.contentHeight=De.scrollHeight,De.contains(we.scrollbarXRail)||(U(De,G.element.rail("x")).forEach(function(Ft){return V(Ft)}),De.appendChild(we.scrollbarXRail)),De.contains(we.scrollbarYRail)||(U(De,G.element.rail("y")).forEach(function(Ft){return V(Ft)}),De.appendChild(we.scrollbarYRail)),!we.settings.suppressScrollX&&we.containerWidth+we.settings.scrollXMarginOffset<we.contentWidth?(we.scrollbarXActive=!0,we.railXWidth=we.containerWidth-we.railXMarginWidth,we.railXRatio=we.containerWidth/we.railXWidth,we.scrollbarXWidth=L(we,n(we.railXWidth*we.containerWidth/we.contentWidth)),we.scrollbarXLeft=n((we.negativeScrollAdjustment+De.scrollLeft)*(we.railXWidth-we.scrollbarXWidth)/(we.contentWidth-we.containerWidth))):we.scrollbarXActive=!1,!we.settings.suppressScrollY&&we.containerHeight+we.settings.scrollYMarginOffset<we.contentHeight?(we.scrollbarYActive=!0,we.railYHeight=we.containerHeight-we.railYMarginHeight,we.railYRatio=we.containerHeight/we.railYHeight,we.scrollbarYHeight=L(we,n(we.railYHeight*we.containerHeight/we.contentHeight)),we.scrollbarYTop=n($e*(we.railYHeight-we.scrollbarYHeight)/(we.contentHeight-we.containerHeight))):we.scrollbarYActive=!1,we.scrollbarXLeft>=we.railXWidth-we.scrollbarXWidth&&(we.scrollbarXLeft=we.railXWidth-we.scrollbarXWidth),we.scrollbarYTop>=we.railYHeight-we.scrollbarYHeight&&(we.scrollbarYTop=we.railYHeight-we.scrollbarYHeight),function O(we,De){var $e={width:De.railXWidth},$t=Math.floor(we.scrollTop);$e.left=De.isRtl?De.negativeScrollAdjustment+we.scrollLeft+De.containerWidth-De.contentWidth:we.scrollLeft,De.isScrollbarXUsingBottom?$e.bottom=De.scrollbarXBottom-$t:$e.top=De.scrollbarXTop+$t,y(De.scrollbarXRail,$e);var Ft={top:$t,height:De.railYHeight};De.isScrollbarYUsingRight?Ft.right=De.isRtl?De.contentWidth-(De.negativeScrollAdjustment+we.scrollLeft)-De.scrollbarYRight-De.scrollbarYOuterWidth-9:De.scrollbarYRight-we.scrollLeft:Ft.left=De.isRtl?De.negativeScrollAdjustment+we.scrollLeft+2*De.containerWidth-De.contentWidth-De.scrollbarYLeft-De.scrollbarYOuterWidth:De.scrollbarYLeft+we.scrollLeft,y(De.scrollbarYRail,Ft),y(De.scrollbarX,{left:De.scrollbarXLeft,width:De.scrollbarXWidth-De.railBorderXWidth}),y(De.scrollbarY,{top:De.scrollbarYTop,height:De.scrollbarYHeight-De.railBorderYWidth})}(De,we),we.scrollbarXActive?De.classList.add(G.state.active("x")):(De.classList.remove(G.state.active("x")),we.scrollbarXWidth=0,we.scrollbarXLeft=0,De.scrollLeft=!0===we.isRtl?we.contentWidth:0),we.scrollbarYActive?De.classList.add(G.state.active("y")):(De.classList.remove(G.state.active("y")),we.scrollbarYHeight=0,we.scrollbarYTop=0,De.scrollTop=0)}function L(we,De){return we.settings.minScrollbarLength&&(De=Math.max(De,we.settings.minScrollbarLength)),we.settings.maxScrollbarLength&&(De=Math.min(De,we.settings.maxScrollbarLength)),De}function v(we,De){var $e=De[0],$t=De[1],Ft=De[2],Kt=De[3],fi=De[4],Qt=De[5],zt=De[6],Xi=De[7],ci=De[8],ui=we.element,bn=null,Qi=null,Li=null;function nn(Se){Se.touches&&Se.touches[0]&&(Se[Ft]=Se.touches[0].pageY),ui[zt]=bn+Li*(Se[Ft]-Qi),$(we,Xi),M(we),Se.stopPropagation(),Se.type.startsWith("touch")&&Se.changedTouches.length>1&&Se.preventDefault()}function st(){Z(we,Xi),we[ci].classList.remove(G.state.clicking),we.event.unbind(we.ownerDocument,"mousemove",nn)}function ii(Se,Mt){bn=ui[zt],Mt&&Se.touches&&(Se[Ft]=Se.touches[0].pageY),Qi=Se[Ft],Li=(we[$t]-we[$e])/(we[Kt]-we[Qt]),Mt?we.event.bind(we.ownerDocument,"touchmove",nn):(we.event.bind(we.ownerDocument,"mousemove",nn),we.event.once(we.ownerDocument,"mouseup",st),Se.preventDefault()),we[ci].classList.add(G.state.clicking),Se.stopPropagation()}we.event.bind(we[fi],"mousedown",function(Se){ii(Se)}),we.event.bind(we[fi],"touchstart",function(Se){ii(Se,!0)})}var at={"click-rail":function _(we){we.event.bind(we.scrollbarY,"mousedown",function($e){return $e.stopPropagation()}),we.event.bind(we.scrollbarYRail,"mousedown",function($e){var $t=$e.pageY-window.pageYOffset-we.scrollbarYRail.getBoundingClientRect().top;we.element.scrollTop+=($t>we.scrollbarYTop?1:-1)*we.containerHeight,M(we),$e.stopPropagation()}),we.event.bind(we.scrollbarX,"mousedown",function($e){return $e.stopPropagation()}),we.event.bind(we.scrollbarXRail,"mousedown",function($e){var $t=$e.pageX-window.pageXOffset-we.scrollbarXRail.getBoundingClientRect().left;we.element.scrollLeft+=($t>we.scrollbarXLeft?1:-1)*we.containerWidth,M(we),$e.stopPropagation()})},"drag-thumb":function r(we){v(we,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),v(we,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function z(we){var De=we.element;we.event.bind(we.ownerDocument,"keydown",function(Kt){if(!(Kt.isDefaultPrevented&&Kt.isDefaultPrevented()||Kt.defaultPrevented)&&(F(De,":hover")||F(we.scrollbarX,":focus")||F(we.scrollbarY,":focus"))){var fi=document.activeElement?document.activeElement:we.ownerDocument.activeElement;if(fi){if("IFRAME"===fi.tagName)fi=fi.contentDocument.activeElement;else for(;fi.shadowRoot;)fi=fi.shadowRoot.activeElement;if(function c(we){return F(we,"input,[contenteditable]")||F(we,"select,[contenteditable]")||F(we,"textarea,[contenteditable]")||F(we,"button,[contenteditable]")}(fi))return}var Qt=0,zt=0;switch(Kt.which){case 37:Qt=Kt.metaKey?-we.contentWidth:Kt.altKey?-we.containerWidth:-30;break;case 38:zt=Kt.metaKey?we.contentHeight:Kt.altKey?we.containerHeight:30;break;case 39:Qt=Kt.metaKey?we.contentWidth:Kt.altKey?we.containerWidth:30;break;case 40:zt=Kt.metaKey?-we.contentHeight:Kt.altKey?-we.containerHeight:-30;break;case 32:zt=Kt.shiftKey?we.containerHeight:-we.containerHeight;break;case 33:zt=we.containerHeight;break;case 34:zt=-we.containerHeight;break;case 36:zt=we.contentHeight;break;case 35:zt=-we.contentHeight;break;default:return}we.settings.suppressScrollX&&0!==Qt||we.settings.suppressScrollY&&0!==zt||(De.scrollTop-=zt,De.scrollLeft+=Qt,M(we),function Ft(Kt,fi){var Qt=Math.floor(De.scrollTop);if(0===Kt){if(!we.scrollbarYActive)return!1;if(0===Qt&&fi>0||Qt>=we.contentHeight-we.containerHeight&&fi<0)return!we.settings.wheelPropagation}var zt=De.scrollLeft;if(0===fi){if(!we.scrollbarXActive)return!1;if(0===zt&&Kt<0||zt>=we.contentWidth-we.containerWidth&&Kt>0)return!we.settings.wheelPropagation}return!0}(Qt,zt)&&Kt.preventDefault())}})},wheel:function N(we){var De=we.element;function Kt(fi){var Qt=function $t(fi){var Qt=fi.deltaX,zt=-1*fi.deltaY;return(typeof Qt>"u"||typeof zt>"u")&&(Qt=-1*fi.wheelDeltaX/6,zt=fi.wheelDeltaY/6),fi.deltaMode&&1===fi.deltaMode&&(Qt*=10,zt*=10),Qt!=Qt&&zt!=zt&&(Qt=0,zt=fi.wheelDelta),fi.shiftKey?[-zt,-Qt]:[Qt,zt]}(fi),zt=Qt[0],Xi=Qt[1];if(!function Ft(fi,Qt,zt){if(!h.isWebKit&&De.querySelector("select:focus"))return!0;if(!De.contains(fi))return!1;for(var Xi=fi;Xi&&Xi!==De;){if(Xi.classList.contains(G.element.consuming))return!0;var ci=w(Xi);if(zt&&ci.overflowY.match(/(scroll|auto)/)){var ui=Xi.scrollHeight-Xi.clientHeight;if(ui>0&&(Xi.scrollTop>0&&zt<0||Xi.scrollTop<ui&&zt>0))return!0}if(Qt&&ci.overflowX.match(/(scroll|auto)/)){var bn=Xi.scrollWidth-Xi.clientWidth;if(bn>0&&(Xi.scrollLeft>0&&Qt<0||Xi.scrollLeft<bn&&Qt>0))return!0}Xi=Xi.parentNode}return!1}(fi.target,zt,Xi)){var ci=!1;we.settings.useBothWheelAxes?we.scrollbarYActive&&!we.scrollbarXActive?(Xi?De.scrollTop-=Xi*we.settings.wheelSpeed:De.scrollTop+=zt*we.settings.wheelSpeed,ci=!0):we.scrollbarXActive&&!we.scrollbarYActive&&(zt?De.scrollLeft+=zt*we.settings.wheelSpeed:De.scrollLeft-=Xi*we.settings.wheelSpeed,ci=!0):(De.scrollTop-=Xi*we.settings.wheelSpeed,De.scrollLeft+=zt*we.settings.wheelSpeed),M(we),ci=ci||function $e(fi,Qt){var zt=Math.floor(De.scrollTop),Xi=0===De.scrollTop,ci=zt+De.offsetHeight===De.scrollHeight,ui=0===De.scrollLeft,bn=De.scrollLeft+De.offsetWidth===De.scrollWidth;return!(Math.abs(Qt)>Math.abs(fi)?Xi||ci:ui||bn)||!we.settings.wheelPropagation}(zt,Xi),ci&&!fi.ctrlKey&&(fi.stopPropagation(),fi.preventDefault())}}typeof window.onwheel<"u"?we.event.bind(De,"wheel",Kt):typeof window.onmousewheel<"u"&&we.event.bind(De,"mousewheel",Kt)},touch:function ne(we){if(h.supportsTouch||h.supportsIePointer){var De=we.element,Ft={},Kt=0,fi={},Qt=null;h.supportsTouch?(we.event.bind(De,"touchstart",ci),we.event.bind(De,"touchmove",bn),we.event.bind(De,"touchend",Qi)):h.supportsIePointer&&(window.PointerEvent?(we.event.bind(De,"pointerdown",ci),we.event.bind(De,"pointermove",bn),we.event.bind(De,"pointerup",Qi)):window.MSPointerEvent&&(we.event.bind(De,"MSPointerDown",ci),we.event.bind(De,"MSPointerMove",bn),we.event.bind(De,"MSPointerUp",Qi)))}function $t(Li,nn){De.scrollTop-=nn,De.scrollLeft-=Li,M(we)}function zt(Li){return Li.targetTouches?Li.targetTouches[0]:Li}function Xi(Li){return!(Li.pointerType&&"pen"===Li.pointerType&&0===Li.buttons||!(Li.targetTouches&&1===Li.targetTouches.length||Li.pointerType&&"mouse"!==Li.pointerType&&Li.pointerType!==Li.MSPOINTER_TYPE_MOUSE))}function ci(Li){if(Xi(Li)){var nn=zt(Li);Ft.pageX=nn.pageX,Ft.pageY=nn.pageY,Kt=(new Date).getTime(),null!==Qt&&clearInterval(Qt)}}function bn(Li){if(Xi(Li)){var nn=zt(Li),st={pageX:nn.pageX,pageY:nn.pageY},ii=st.pageX-Ft.pageX,Se=st.pageY-Ft.pageY;if(function ui(Li,nn,st){if(!De.contains(Li))return!1;for(var ii=Li;ii&&ii!==De;){if(ii.classList.contains(G.element.consuming))return!0;var Se=w(ii);if(st&&Se.overflowY.match(/(scroll|auto)/)){var Mt=ii.scrollHeight-ii.clientHeight;if(Mt>0&&(ii.scrollTop>0&&st<0||ii.scrollTop<Mt&&st>0))return!0}if(nn&&Se.overflowX.match(/(scroll|auto)/)){var Pt=ii.scrollWidth-ii.clientWidth;if(Pt>0&&(ii.scrollLeft>0&&nn<0||ii.scrollLeft<Pt&&nn>0))return!0}ii=ii.parentNode}return!1}(Li.target,ii,Se))return;$t(ii,Se),Ft=st;var Mt=(new Date).getTime(),Pt=Mt-Kt;Pt>0&&(fi.x=ii/Pt,fi.y=Se/Pt,Kt=Mt),function $e(Li,nn){var st=Math.floor(De.scrollTop),ii=De.scrollLeft,Se=Math.abs(Li),Mt=Math.abs(nn);if(Mt>Se){if(nn<0&&st===we.contentHeight-we.containerHeight||nn>0&&0===st)return 0===window.scrollY&&nn>0&&h.isChrome}else if(Se>Mt&&(Li<0&&ii===we.contentWidth-we.containerWidth||Li>0&&0===ii))return!0;return!0}(ii,Se)&&Li.preventDefault()}}function Qi(){we.settings.swipeEasing&&(clearInterval(Qt),Qt=setInterval(function(){we.isInitialized?clearInterval(Qt):fi.x||fi.y?Math.abs(fi.x)<.01&&Math.abs(fi.y)<.01?clearInterval(Qt):we.element?($t(30*fi.x,30*fi.y),fi.x*=.8,fi.y*=.8):clearInterval(Qt):clearInterval(Qt)},10))}}},Ye=function(De,$e){var $t=this;if(void 0===$e&&($e={}),"string"==typeof De&&(De=document.querySelector(De)),!De||!De.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var Ft in this.element=De,De.classList.add(G.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},$e)this.settings[Ft]=$e[Ft];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var ci,Xi,Kt=function(){return De.classList.add(G.state.focus)},fi=function(){return De.classList.remove(G.state.focus)};this.isRtl="rtl"===w(De).direction,!0===this.isRtl&&De.classList.add(G.rtl),this.isNegativeScroll=(Xi=De.scrollLeft,De.scrollLeft=-1,ci=De.scrollLeft<0,De.scrollLeft=Xi,ci),this.negativeScrollAdjustment=this.isNegativeScroll?De.scrollWidth-De.clientWidth:0,this.event=new ye,this.ownerDocument=De.ownerDocument||document,this.scrollbarXRail=T(G.element.rail("x")),De.appendChild(this.scrollbarXRail),this.scrollbarX=T(G.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Kt),this.event.bind(this.scrollbarX,"blur",fi),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Qt=w(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Qt.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=n(Qt.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=n(Qt.borderLeftWidth)+n(Qt.borderRightWidth),y(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=n(Qt.marginLeft)+n(Qt.marginRight),y(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=T(G.element.rail("y")),De.appendChild(this.scrollbarYRail),this.scrollbarY=T(G.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Kt),this.event.bind(this.scrollbarY,"blur",fi),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var zt=w(this.scrollbarYRail);this.scrollbarYRight=parseInt(zt.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=n(zt.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function f(we){var De=w(we);return n(De.width)+n(De.paddingLeft)+n(De.paddingRight)+n(De.borderLeftWidth)+n(De.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=n(zt.borderTopWidth)+n(zt.borderBottomWidth),y(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=n(zt.marginTop)+n(zt.marginBottom),y(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:De.scrollLeft<=0?"start":De.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:De.scrollTop<=0?"start":De.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Xi){return at[Xi]($t)}),this.lastScrollTop=Math.floor(De.scrollTop),this.lastScrollLeft=De.scrollLeft,this.event.bind(this.element,"scroll",function(Xi){return $t.onScroll(Xi)}),M(this)};Ye.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,y(this.scrollbarXRail,{display:"block"}),y(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=n(w(this.scrollbarXRail).marginLeft)+n(w(this.scrollbarXRail).marginRight),this.railYMarginHeight=n(w(this.scrollbarYRail).marginTop)+n(w(this.scrollbarYRail).marginBottom),y(this.scrollbarXRail,{display:"none"}),y(this.scrollbarYRail,{display:"none"}),M(this),be(this,"top",0,!1,!0),be(this,"left",0,!1,!0),y(this.scrollbarXRail,{display:""}),y(this.scrollbarYRail,{display:""}))},Ye.prototype.onScroll=function(De){this.isAlive&&(M(this),be(this,"top",this.element.scrollTop-this.lastScrollTop),be(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Ye.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),V(this.scrollbarX),V(this.scrollbarY),V(this.scrollbarXRail),V(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Ye.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(De){return!De.match(/^ps([-_].+|)$/)}).join(" ")};const rt=Ye;var re=function(){if(typeof Map<"u")return Map;function we(De,$e){var $t=-1;return De.some(function(Ft,Kt){return Ft[0]===$e&&($t=Kt,!0)}),$t}return function(){function De(){this.__entries__=[]}return Object.defineProperty(De.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),De.prototype.get=function($e){var $t=we(this.__entries__,$e),Ft=this.__entries__[$t];return Ft&&Ft[1]},De.prototype.set=function($e,$t){var Ft=we(this.__entries__,$e);~Ft?this.__entries__[Ft][1]=$t:this.__entries__.push([$e,$t])},De.prototype.delete=function($e){var $t=this.__entries__,Ft=we($t,$e);~Ft&&$t.splice(Ft,1)},De.prototype.has=function($e){return!!~we(this.__entries__,$e)},De.prototype.clear=function(){this.__entries__.splice(0)},De.prototype.forEach=function($e,$t){void 0===$t&&($t=null);for(var Ft=0,Kt=this.__entries__;Ft<Kt.length;Ft++){var fi=Kt[Ft];$e.call($t,fi[1],fi[0])}},De}()}(),te=typeof window<"u"&&typeof document<"u"&&window.document===document,oe=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),_e="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(oe):function(we){return setTimeout(function(){return we(Date.now())},1e3/60)},se=["top","right","bottom","left","width","height","size","weight"],fe=typeof MutationObserver<"u",he=function(){function we(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function pe(we,De){var $e=!1,$t=!1,Ft=0;function Kt(){$e&&($e=!1,we()),$t&&Qt()}function fi(){_e(Kt)}function Qt(){var zt=Date.now();if($e){if(zt-Ft<2)return;$t=!0}else $e=!0,$t=!1,setTimeout(fi,De);Ft=zt}return Qt}(this.refresh.bind(this),20)}return we.prototype.addObserver=function(De){~this.observers_.indexOf(De)||this.observers_.push(De),this.connected_||this.connect_()},we.prototype.removeObserver=function(De){var $e=this.observers_,$t=$e.indexOf(De);~$t&&$e.splice($t,1),!$e.length&&this.connected_&&this.disconnect_()},we.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},we.prototype.updateObservers_=function(){var De=this.observers_.filter(function($e){return $e.gatherActive(),$e.hasActive()});return De.forEach(function($e){return $e.broadcastActive()}),De.length>0},we.prototype.connect_=function(){!te||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),fe?(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)},we.prototype.disconnect_=function(){!te||!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)},we.prototype.onTransitionEnd_=function(De){var $e=De.propertyName,$t=void 0===$e?"":$e;se.some(function(Kt){return!!~$t.indexOf(Kt)})&&this.refresh()},we.getInstance=function(){return this.instance_||(this.instance_=new we),this.instance_},we.instance_=null,we}(),et=function(we,De){for(var $e=0,$t=Object.keys(De);$e<$t.length;$e++){var Ft=$t[$e];Object.defineProperty(we,Ft,{value:De[Ft],enumerable:!1,writable:!1,configurable:!0})}return we},Ke=function(we){return we&&we.ownerDocument&&we.ownerDocument.defaultView||oe},Ct=wt(0,0,0,0);function _t(we){return parseFloat(we)||0}function Nt(we){for(var De=[],$e=1;$e<arguments.length;$e++)De[$e-1]=arguments[$e];return De.reduce(function($t,Ft){return $t+_t(we["border-"+Ft+"-width"])},0)}var nt=function(){return typeof SVGGraphicsElement<"u"?function(we){return we instanceof Ke(we).SVGGraphicsElement}:function(we){return we instanceof Ke(we).SVGElement&&"function"==typeof we.getBBox}}();function ht(we){return te?nt(we)?function Je(we){var De=we.getBBox();return wt(0,0,De.width,De.height)}(we):function Qe(we){var De=we.clientWidth,$e=we.clientHeight;if(!De&&!$e)return Ct;var $t=Ke(we).getComputedStyle(we),Ft=function ke(we){for(var $e={},$t=0,Ft=["top","right","bottom","left"];$t<Ft.length;$t++){var Kt=Ft[$t];$e[Kt]=_t(we["padding-"+Kt])}return $e}($t),Kt=Ft.left+Ft.right,fi=Ft.top+Ft.bottom,Qt=_t($t.width),zt=_t($t.height);if("border-box"===$t.boxSizing&&(Math.round(Qt+Kt)!==De&&(Qt-=Nt($t,"left","right")+Kt),Math.round(zt+fi)!==$e&&(zt-=Nt($t,"top","bottom")+fi)),!function Ue(we){return we===Ke(we).document.documentElement}(we)){var Xi=Math.round(Qt+Kt)-De,ci=Math.round(zt+fi)-$e;1!==Math.abs(Xi)&&(Qt-=Xi),1!==Math.abs(ci)&&(zt-=ci)}return wt(Ft.left,Ft.top,Qt,zt)}(we):Ct}function wt(we,De,$e,$t){return{x:we,y:De,width:$e,height:$t}}var ut=function(){function we(De){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=wt(0,0,0,0),this.target=De}return we.prototype.isActive=function(){var De=ht(this.target);return this.contentRect_=De,De.width!==this.broadcastWidth||De.height!==this.broadcastHeight},we.prototype.broadcastRect=function(){var De=this.contentRect_;return this.broadcastWidth=De.width,this.broadcastHeight=De.height,De},we}(),vt=function(){return function we(De,$e){var $t=function tt(we){var De=we.x,$e=we.y,$t=we.width,Ft=we.height,Kt=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,fi=Object.create(Kt.prototype);return et(fi,{x:De,y:$e,width:$t,height:Ft,top:$e,right:De+$t,bottom:Ft+$e,left:De}),fi}($e);et(this,{target:De,contentRect:$t})}}(),Ze=function(){function we(De,$e,$t){if(this.activeObservations_=[],this.observations_=new re,"function"!=typeof De)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=De,this.controller_=$e,this.callbackCtx_=$t}return we.prototype.observe=function(De){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(De instanceof Ke(De).Element))throw new TypeError('parameter 1 is not of type "Element".');var $e=this.observations_;$e.has(De)||($e.set(De,new ut(De)),this.controller_.addObserver(this),this.controller_.refresh())}},we.prototype.unobserve=function(De){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(De instanceof Ke(De).Element))throw new TypeError('parameter 1 is not of type "Element".');var $e=this.observations_;$e.has(De)&&($e.delete(De),$e.size||this.controller_.removeObserver(this))}},we.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},we.prototype.gatherActive=function(){var De=this;this.clearActive(),this.observations_.forEach(function($e){$e.isActive()&&De.activeObservations_.push($e)})},we.prototype.broadcastActive=function(){if(this.hasActive()){var De=this.callbackCtx_,$e=this.activeObservations_.map(function($t){return new vt($t.target,$t.broadcastRect())});this.callback_.call(De,$e,De),this.clearActive()}},we.prototype.clearActive=function(){this.activeObservations_.splice(0)},we.prototype.hasActive=function(){return this.activeObservations_.length>0},we}(),jt=typeof WeakMap<"u"?new WeakMap:new re,qe=function(){return function we(De){if(!(this instanceof we))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var $e=he.getInstance(),$t=new Ze(De,$e,this);jt.set(this,$t)}}();["observe","unobserve","disconnect"].forEach(function(we){qe.prototype[we]=function(){var De;return(De=jt.get(this))[we].apply(De,arguments)}});const Le=typeof oe.ResizeObserver<"u"?oe.ResizeObserver:qe,Vt=["*"];function Zt(we,De){if(1&we&&(R.j41(0,"div",3),R.nrm(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),R.k0s()),2&we){const $e=R.XpG();R.AVh("ps-at-top",$e.states.top)("ps-at-left",$e.states.left)("ps-at-right",$e.states.right)("ps-at-bottom",$e.states.bottom),R.R7$(),R.AVh("ps-indicator-show",$e.indicatorY&&$e.interaction),R.R7$(),R.AVh("ps-indicator-show",$e.indicatorX&&$e.interaction),R.R7$(),R.AVh("ps-indicator-show",$e.indicatorX&&$e.interaction),R.R7$(),R.AVh("ps-indicator-show",$e.indicatorY&&$e.interaction)}}const Et=new R.nKC("PERFECT_SCROLLBAR_CONFIG");class je{constructor(De,$e,$t,Ft){this.x=De,this.y=$e,this.w=$t,this.h=Ft}}class me{constructor(De,$e){this.x=De,this.y=$e}}const xe=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class ce{constructor(De={}){this.assign(De)}assign(De={}){for(const $e in De)this[$e]=De[$e]}}let Me=(()=>{class we{constructor($e,$t,Ft,Kt,fi){this.zone=$e,this.differs=$t,this.elementRef=Ft,this.platformId=Kt,this.defaults=fi,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new t.B,this.disabled=!1,this.psScrollY=new R.bkB,this.psScrollX=new R.bkB,this.psScrollUp=new R.bkB,this.psScrollDown=new R.bkB,this.psScrollLeft=new R.bkB,this.psScrollRight=new R.bkB,this.psYReachEnd=new R.bkB,this.psYReachStart=new R.bkB,this.psXReachEnd=new R.bkB,this.psXReachStart=new R.bkB}ngOnInit(){if(!this.disabled&&(0,d.UE)(this.platformId)){const $e=new ce(this.defaults);$e.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new rt(this.elementRef.nativeElement,$e)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new Le(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{xe.forEach($t=>{const Ft=$t.replace(/([A-Z])/g,Kt=>`-${Kt.toLowerCase()}`);(0,e.R)(this.elementRef.nativeElement,Ft).pipe((0,S.Z)(20),(0,l.Q)(this.ngDestroy)).subscribe(Kt=>{this[$t].emit(Kt)})})})}}ngOnDestroy(){(0,d.UE)(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.UE)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges($e){$e.disabled&&!$e.disabled.isFirstChange()&&(0,d.UE)(this.platformId)&&$e.disabled.currentValue!==$e.disabled.previousValue&&(!0===$e.disabled.currentValue?this.ngOnDestroy():!1===$e.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($e="scroll"){return new je(this.elementRef.nativeElement[$e+"Left"],this.elementRef.nativeElement[$e+"Top"],this.elementRef.nativeElement[$e+"Width"],this.elementRef.nativeElement[$e+"Height"])}position($e=!1){return!$e&&this.instance?new me(this.instance.reach.x||0,this.instance.reach.y||0):new me(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable($e="any"){const $t=this.elementRef.nativeElement;return"any"===$e?$t.classList.contains("ps--active-x")||$t.classList.contains("ps--active-y"):"both"===$e?$t.classList.contains("ps--active-x")&&$t.classList.contains("ps--active-y"):$t.classList.contains("ps--active-"+$e)}scrollTo($e,$t,Ft){this.disabled||(null==$t&&null==Ft?this.animateScrolling("scrollTop",$e,Ft):(null!=$e&&this.animateScrolling("scrollLeft",$e,Ft),null!=$t&&this.animateScrolling("scrollTop",$t,Ft)))}scrollToX($e,$t){this.animateScrolling("scrollLeft",$e,$t)}scrollToY($e,$t){this.animateScrolling("scrollTop",$e,$t)}scrollToTop($e,$t){this.animateScrolling("scrollTop",$e||0,$t)}scrollToLeft($e,$t){this.animateScrolling("scrollLeft",$e||0,$t)}scrollToRight($e,$t){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-($e||0),$t)}scrollToBottom($e,$t){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-($e||0),$t)}scrollToElement($e,$t,Ft){if("string"==typeof $e&&($e=this.elementRef.nativeElement.querySelector($e)),$e){const Kt=$e.getBoundingClientRect(),fi=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",Kt.left-fi.left+this.elementRef.nativeElement.scrollLeft+($t||0),Ft),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",Kt.top-fi.top+this.elementRef.nativeElement.scrollTop+($t||0),Ft)}}animateScrolling($e,$t,Ft){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!Ft||typeof window>"u")this.elementRef.nativeElement[$e]=$t;else if($t!==this.elementRef.nativeElement[$e]){let Kt=0,fi=0,Qt=performance.now(),zt=this.elementRef.nativeElement[$e];const Xi=(zt-$t)/2,ci=ui=>{fi+=Math.PI/(Ft/(ui-Qt)),Kt=Math.round($t+Xi+Xi*Math.cos(fi)),this.elementRef.nativeElement[$e]===zt&&(fi>=Math.PI?this.animateScrolling($e,$t,0):(this.elementRef.nativeElement[$e]=Kt,zt=this.elementRef.nativeElement[$e],Qt=ui,this.animation=window.requestAnimationFrame(ci)))};window.requestAnimationFrame(ci)}}}return we.\u0275fac=function($e){return new($e||we)(R.rXU(R.SKi),R.rXU(R.MKu),R.rXU(R.aKT),R.rXU(R.Agw),R.rXU(Et,8))},we.\u0275dir=R.FsC({type:we,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:[0,"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:[R.OA$]}),we})(),Xe=(()=>{class we{constructor($e,$t,Ft){this.zone=$e,this.cdRef=$t,this.platformId=Ft,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new t.B,this.stateUpdate=new t.B,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new R.bkB,this.psScrollX=new R.bkB,this.psScrollUp=new R.bkB,this.psScrollDown=new R.bkB,this.psScrollLeft=new R.bkB,this.psScrollRight=new R.bkB,this.psYReachEnd=new R.bkB,this.psYReachStart=new R.bkB,this.psXReachEnd=new R.bkB,this.psXReachStart=new R.bkB}ngOnInit(){(0,d.UE)(this.platformId)&&(this.stateUpdate.pipe((0,l.Q)(this.ngDestroy),(0,x.F)(($e,$t)=>$e===$t&&!this.stateTimeout)).subscribe($e=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===$e||"y"===$e?(this.interaction=!1,"x"===$e?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===$e&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===$e||"right"===$e?(this.states.left=!1,this.states.right=!1,this.states[$e]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===$e||"bottom"===$e)&&(this.states.top=!1,this.states.bottom=!1,this.states[$e]=!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 $e=this.directiveRef.elementRef.nativeElement;(0,e.R)($e,"wheel").pipe((0,l.Q)(this.ngDestroy)).subscribe($t=>{!this.disabled&&this.autoPropagation&&this.checkPropagation($t,$t.deltaX,$t.deltaY)}),(0,e.R)($e,"touchmove").pipe((0,l.Q)(this.ngDestroy)).subscribe($t=>{if(!this.disabled&&this.autoPropagation){const Ft=$t.touches[0].clientX,Kt=$t.touches[0].clientY;this.checkPropagation($t,Ft-this.scrollPositionX,Kt-this.scrollPositionY),this.scrollPositionX=Ft,this.scrollPositionY=Kt}}),(0,C.h)((0,e.R)($e,"ps-scroll-x").pipe((0,m.u)("x")),(0,e.R)($e,"ps-scroll-y").pipe((0,m.u)("y")),(0,e.R)($e,"ps-x-reach-end").pipe((0,m.u)("right")),(0,e.R)($e,"ps-y-reach-end").pipe((0,m.u)("bottom")),(0,e.R)($e,"ps-x-reach-start").pipe((0,m.u)("left")),(0,e.R)($e,"ps-y-reach-start").pipe((0,m.u)("top"))).pipe((0,l.Q)(this.ngDestroy)).subscribe($t=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next($t)})}}),window.setTimeout(()=>{xe.forEach($e=>{this.directiveRef&&(this.directiveRef[$e]=this[$e])})},0))}ngOnDestroy(){(0,d.UE)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,d.UE)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const $e=this.directiveRef.elementRef.nativeElement;this.usePropagationX=$e.classList.contains("ps--active-x"),this.usePropagationY=$e.classList.contains("ps--active-y")}}checkPropagation($e,$t,Ft){this.interaction=!0;const Kt=$t<0?-1:1,fi=Ft<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Kt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==fi))&&($e.preventDefault(),$e.stopPropagation()),$t&&(this.scrollDirectionX=Kt),Ft&&(this.scrollDirectionY=fi),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return we.\u0275fac=function($e){return new($e||we)(R.rXU(R.SKi),R.rXU(R.gRc),R.rXU(R.Agw))},we.\u0275cmp=R.VBU({type:we,selectors:[["perfect-scrollbar"]],viewQuery:function($e,$t){if(1&$e&&R.GBs(Me,7),2&$e){let Ft;R.mGM(Ft=R.lsd())&&($t.directiveRef=Ft.first)}},hostVars:4,hostBindings:function($e,$t){2&$e&&R.AVh("ps-show-limits",$t.autoPropagation)("ps-show-active",$t.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:Vt,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($e,$t){1&$e&&(R.NAR(),R.j41(0,"div",0)(1,"div",1),R.SdG(2),R.k0s(),R.DNE(3,Zt,5,16,"div",2),R.k0s()),2&$e&&(R.AVh("ps",$t.usePSClass),R.Y8G("perfectScrollbar",$t.config)("disabled",$t.disabled),R.R7$(3),R.Y8G("ngIf",$t.scrollIndicators))},dependencies:[Me,d.bT],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}),we})(),Oe=(()=>{class we{}return we.\u0275fac=function($e){return new($e||we)},we.\u0275mod=R.$C({type:we}),we.\u0275inj=R.G2t({imports:[[d.MD],d.MD]}),we})()},467:(Ve,ee,p)=>{"use strict";function t(C,S,l,x,m,R,d){try{var w=C[R](d),y=w.value}catch(T){return void l(T)}w.done?S(y):Promise.resolve(y).then(x,m)}function e(C){return function(){var S=this,l=arguments;return new Promise(function(x,m){var R=C.apply(S,l);function d(y){t(R,x,m,d,w,"next",y)}function w(y){t(R,x,m,d,w,"throw",y)}d(void 0)})}}p.d(ee,{A:()=>e})},1635:(Ve,ee,p)=>{"use strict";function l(r,v,z,N){var at,ne=arguments.length,Ie=ne<3?v:null===N?N=Object.getOwnPropertyDescriptor(v,z):N;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ie=Reflect.decorate(r,v,z,N);else for(var Ye=r.length-1;Ye>=0;Ye--)(at=r[Ye])&&(Ie=(ne<3?at(Ie):ne>3?at(v,z,Ie):at(v,z))||Ie);return ne>3&&Ie&&Object.defineProperty(v,z,Ie),Ie}function T(r,v,z,N){return new(z||(z=Promise))(function(Ie,at){function Ye(te){try{re(N.next(te))}catch(oe){at(oe)}}function rt(te){try{re(N.throw(te))}catch(oe){at(oe)}}function re(te){te.done?Ie(te.value):function ne(Ie){return Ie instanceof z?Ie:new z(function(at){at(Ie)})}(te.value).then(Ye,rt)}re((N=N.apply(r,v||[])).next())})}function ie(r){return this instanceof ie?(this.v=r,this):new ie(r)}function ve(r,v,z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ne,N=z.apply(r,v||[]),Ie=[];return ne={},at("next"),at("throw"),at("return"),ne[Symbol.asyncIterator]=function(){return this},ne;function at(_e){N[_e]&&(ne[_e]=function(de){return new Promise(function(pe,We){Ie.push([_e,de,pe,We])>1||Ye(_e,de)})})}function Ye(_e,de){try{!function rt(_e){_e.value instanceof ie?Promise.resolve(_e.value.v).then(re,te):oe(Ie[0][2],_e)}(N[_e](de))}catch(pe){oe(Ie[0][3],pe)}}function re(_e){Ye("next",_e)}function te(_e){Ye("throw",_e)}function oe(_e,de){_e(de),Ie.shift(),Ie.length&&Ye(Ie[0][0],Ie[0][1])}}function ye(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var z,v=r[Symbol.asyncIterator];return v?v.call(r):(r=function U(r){var v="function"==typeof Symbol&&Symbol.iterator,z=v&&r[v],N=0;if(z)return z.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(v?"Object is not iterable.":"Symbol.iterator is not defined.")}(r),z={},N("next"),N("throw"),N("return"),z[Symbol.asyncIterator]=function(){return this},z);function N(Ie){z[Ie]=r[Ie]&&function(at){return new Promise(function(Ye,rt){!function ne(Ie,at,Ye,rt){Promise.resolve(rt).then(function(re){Ie({value:re,done:Ye})},at)}(Ye,rt,(at=r[Ie](at)).done,at.value)})}}}p.d(ee,{AQ:()=>ve,Cg:()=>l,N3:()=>ie,sH:()=>T,xN:()=>ye}),"function"==typeof SuppressedError&&SuppressedError},3219:Ve=>{"use strict";Ve.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"}}')},2951:Ve=>{"use strict";Ve.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"}}')},4589:Ve=>{"use strict";Ve.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"}')},3241:Ve=>{"use strict";Ve.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"}}')},1636:Ve=>{"use strict";Ve.exports={rE:"6.6.1"}},5579:Ve=>{"use strict";Ve.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"}')}},Ve=>{Ve(Ve.s=3471)}]); |