From 22097e993b55a0abf2c0545c2f564722cffae784 Mon Sep 17 00:00:00 2001 From: ShahanaFarooqui Date: Tue, 12 Nov 2024 13:10:08 -0800 Subject: [PATCH] Fix for sso access key reading --- backend/controllers/shared/RTLConf.js | 6 ++++-- frontend/index.html | 2 +- frontend/main.89468e89473d89c7.js | 1 + frontend/main.ca6488a35864127e.js | 1 - server/controllers/shared/RTLConf.ts | 6 ++++-- src/app/app.component.ts | 2 +- 6 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 frontend/main.89468e89473d89c7.js delete mode 100644 frontend/main.ca6488a35864127e.js diff --git a/backend/controllers/shared/RTLConf.js b/backend/controllers/shared/RTLConf.js index a24934ce4..e7095146c 100644 --- a/backend/controllers/shared/RTLConf.js +++ b/backend/controllers/shared/RTLConf.js @@ -8,7 +8,7 @@ import { Database } from '../../utils/database.js'; import { Logger } from '../../utils/logger.js'; import { Common } from '../../utils/common.js'; import { WSServer } from '../../utils/webSocketServer.js'; -import { Authentication, SSO } from '../../models/config.model.js'; +import { Authentication } from '../../models/config.model.js'; const options = { url: '' }; const logger = Logger; const common = Common; @@ -114,7 +114,9 @@ export const getApplicationSettings = (req, res, next) => { if (err) { // Delete unnecessary data for initial response (without security token) const selNodeIdx = appConfData.nodes.findIndex((node) => node.index === appConfData.selectedNodeIndex) || 0; - appConfData.SSO = new SSO(); + delete appConfData.SSO.rtlCookiePath; + delete appConfData.SSO.cookieValue; + delete appConfData.SSO.logoutRedirectLink; appConfData.secret2FA = ''; appConfData.dbDirectoryPath = ''; appConfData.nodes[selNodeIdx].authentication = new Authentication(); diff --git a/frontend/index.html b/frontend/index.html index d28be21a7..c1d96689a 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -15,5 +15,5 @@ - + diff --git a/frontend/main.89468e89473d89c7.js b/frontend/main.89468e89473d89c7.js new file mode 100644 index 000000000..985498a2e --- /dev/null +++ b/frontend/main.89468e89473d89c7.js @@ -0,0 +1 @@ +(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[792],{8430:(Qe,te,g)=>{"use strict";g.d(te,{$6:()=>q,$J:()=>a,$Q:()=>T,Aw:()=>R,C2:()=>y,CK:()=>ee,Db:()=>Yt,Do:()=>N,Dq:()=>Xe,ED:()=>ve,EM:()=>ae,Eb:()=>st,Ew:()=>he,Fd:()=>ne,GZ:()=>Ie,Gy:()=>V,Gz:()=>Ct,Hm:()=>le,Jx:()=>ze,Ml:()=>ct,N4:()=>Me,NS:()=>w,NU:()=>_e,Qj:()=>j,Qv:()=>dt,Sn:()=>f,T4:()=>Ce,Uj:()=>fe,VK:()=>pe,We:()=>Q,XT:()=>O,Yi:()=>_,Zi:()=>ie,a5:()=>We,aB:()=>oe,cR:()=>C,dv:()=>n,ed:()=>J,fy:()=>c,g6:()=>se,gf:()=>D,ij:()=>k,jQ:()=>Be,kQ:()=>ue,kX:()=>S,kv:()=>z,lg:()=>l,no:()=>x,qw:()=>me,sq:()=>Y,uK:()=>b,vL:()=>m,w0:()=>d,x1:()=>h,y0:()=>Ee,zU:()=>A});var e=g(9640),t=g(4416);const x=(0,e.VP)(t.TC.UPDATE_API_CALL_STATUS_CLN,(0,e.xk)()),D=(0,e.VP)(t.TC.RESET_CLN_STORE),l=(0,e.VP)(t.TC.FETCH_PAGE_SETTINGS_CLN),w=(0,e.VP)(t.TC.SET_PAGE_SETTINGS_CLN,(0,e.xk)()),f=(0,e.VP)(t.TC.SAVE_PAGE_SETTINGS_CLN,(0,e.xk)()),R=(0,e.VP)(t.TC.FETCH_INFO_CLN,(0,e.xk)()),h=(0,e.VP)(t.TC.SET_INFO_CLN,(0,e.xk)()),S=(0,e.VP)(t.TC.FETCH_FEE_RATES_CLN,(0,e.xk)()),y=(0,e.VP)(t.TC.SET_FEE_RATES_CLN,(0,e.xk)()),O=(0,e.VP)(t.TC.GET_NEW_ADDRESS_CLN,(0,e.xk)()),V=((0,e.VP)(t.TC.SET_NEW_ADDRESS_CLN,(0,e.xk)()),(0,e.VP)(t.TC.FETCH_PEERS_CLN)),j=(0,e.VP)(t.TC.SET_PEERS_CLN,(0,e.xk)()),Y=(0,e.VP)(t.TC.SAVE_NEW_PEER_CLN,(0,e.xk)()),Q=((0,e.VP)(t.TC.NEWLY_ADDED_PEER_CLN,(0,e.xk)()),(0,e.VP)(t.TC.ADD_PEER_CLN,(0,e.xk)())),J=(0,e.VP)(t.TC.DETACH_PEER_CLN,(0,e.xk)()),ie=(0,e.VP)(t.TC.REMOVE_PEER_CLN,(0,e.xk)()),ee=(0,e.VP)(t.TC.FETCH_PAYMENTS_CLN),fe=(0,e.VP)(t.TC.SET_PAYMENTS_CLN,(0,e.xk)()),ne=(0,e.VP)(t.TC.SEND_PAYMENT_CLN,(0,e.xk)()),Me=(0,e.VP)(t.TC.SEND_PAYMENT_STATUS_CLN,(0,e.xk)()),Ce=(0,e.VP)(t.TC.GET_QUERY_ROUTES_CLN,(0,e.xk)()),le=(0,e.VP)(t.TC.SET_QUERY_ROUTES_CLN,(0,e.xk)()),T=(0,e.VP)(t.TC.FETCH_CHANNELS_CLN),n=(0,e.VP)(t.TC.SET_CHANNELS_CLN,(0,e.xk)()),c=(0,e.VP)(t.TC.UPDATE_CHANNEL_CLN,(0,e.xk)()),m=(0,e.VP)(t.TC.SAVE_NEW_CHANNEL_CLN,(0,e.xk)()),d=(0,e.VP)(t.TC.CLOSE_CHANNEL_CLN,(0,e.xk)()),C=(0,e.VP)(t.TC.REMOVE_CHANNEL_CLN,(0,e.xk)()),A=(0,e.VP)(t.TC.PEER_LOOKUP_CLN,(0,e.xk)()),k=(0,e.VP)(t.TC.CHANNEL_LOOKUP_CLN,(0,e.xk)()),_=(0,e.VP)(t.TC.INVOICE_LOOKUP_CLN,(0,e.xk)()),a=(0,e.VP)(t.TC.SET_LOOKUP_CLN,(0,e.xk)()),b=(0,e.VP)(t.TC.GET_FORWARDING_HISTORY_CLN,(0,e.xk)()),z=(0,e.VP)(t.TC.SET_FORWARDING_HISTORY_CLN,(0,e.xk)()),N=(0,e.VP)(t.TC.FETCH_INVOICES_CLN),q=(0,e.VP)(t.TC.SET_INVOICES_CLN,(0,e.xk)()),pe=(0,e.VP)(t.TC.SAVE_NEW_INVOICE_CLN,(0,e.xk)()),ze=(0,e.VP)(t.TC.ADD_INVOICE_CLN,(0,e.xk)()),Xe=(0,e.VP)(t.TC.UPDATE_INVOICE_CLN,(0,e.xk)()),We=(0,e.VP)(t.TC.DELETE_EXPIRED_INVOICE_CLN,(0,e.xk)()),oe=(0,e.VP)(t.TC.SET_CHANNEL_TRANSACTION_CLN,(0,e.xk)()),se=((0,e.VP)(t.TC.SET_CHANNEL_TRANSACTION_RES_CLN,(0,e.xk)()),(0,e.VP)(t.TC.FETCH_UTXO_BALANCES_CLN)),ae=(0,e.VP)(t.TC.SET_UTXO_BALANCES_CLN,(0,e.xk)()),he=(0,e.VP)(t.TC.FETCH_OFFER_INVOICE_CLN,(0,e.xk)()),Ie=(0,e.VP)(t.TC.SET_OFFER_INVOICE_CLN,(0,e.xk)()),st=(0,e.VP)(t.TC.FETCH_OFFERS_CLN),me=(0,e.VP)(t.TC.SET_OFFERS_CLN,(0,e.xk)()),Ee=(0,e.VP)(t.TC.SAVE_NEW_OFFER_CLN,(0,e.xk)()),ue=(0,e.VP)(t.TC.ADD_OFFER_CLN,(0,e.xk)()),Be=(0,e.VP)(t.TC.DISABLE_OFFER_CLN,(0,e.xk)()),Ct=(0,e.VP)(t.TC.UPDATE_OFFER_CLN,(0,e.xk)()),ct=(0,e.VP)(t.TC.FETCH_OFFER_BOOKMARKS_CLN),dt=(0,e.VP)(t.TC.SET_OFFER_BOOKMARKS_CLN,(0,e.xk)()),Yt=(0,e.VP)(t.TC.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,e.xk)()),ve=(0,e.VP)(t.TC.DELETE_OFFER_BOOKMARK_CLN,(0,e.xk)()),_e=(0,e.VP)(t.TC.REMOVE_OFFER_BOOKMARK_CLN,(0,e.xk)())},283:(Qe,te,g)=>{"use strict";g.d(te,{i:()=>Me});var e=g(4054),t=g(1413),x=g(7673),D=g(1397),l=g(6977),w=g(6354),f=g(9437),R=g(2462),h=g(8321),S=g(4416),y=g(1771),O=g(8430),I=g(9584),V=g(2142),j=g(4438),Y=g(1626),W=g(9640),Q=g(3202),J=g(2571),ie=g(8570),ee=g(1188),fe=g(7879),ne=g(177);let Me=(()=>{class Ce{constructor(T,n,c,m,d,C,A,k,_){this.actions=T,this.httpClient=n,this.store=c,this.sessionService=m,this.commonService=d,this.logger=C,this.router=A,this.wsService=k,this.location=_,this.CHILD_API_URL=S.H$+"/cln",this.CLN_VERISON="",this.flgInitialized=!1,this.unSubs=[new t.B,new t.B,new t.B],this.infoFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_INFO_CLN),(0,D.Z)(a=>(this.flgInitialized=!1,this.store.dispatch((0,y.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,O.no)({payload:{action:"FetchInfo",status:S.wn.INITIATED}})),this.store.dispatch((0,y.mt)({payload:S.MZ.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+S.rl.GETINFO_API).pipe((0,l.Q)(this.actions.pipe((0,e.gp)(S.aU.SET_SELECTED_NODE))),(0,w.T)(b=>(this.logger.info(b),this.CLN_VERISON=b.version||"",b.chains&&b.chains.length&&b.chains[0]&&"object"==typeof b.chains[0]&&b.chains[0].hasOwnProperty("chain")&&b?.chains[0].chain&&b?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&b?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,O.no)({payload:{action:"FetchInfo",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.GET_NODE_INFO})),this.store.dispatch((0,y.Jh)()),setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{type:S.A$.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:S.aU.LOGOUT,payload:"Sorry Not Sorry, RTL is Bitcoin Only!"}):(this.initializeRemainingData(b,a.payload.loadPage),this.store.dispatch((0,O.no)({payload:{action:"FetchInfo",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.GET_NODE_INFO})),{type:S.TC.SET_INFO_CLN,payload:b||{}}))),(0,f.W)(b=>{const z=this.commonService.extractErrorCode(b),N=503===z?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(b);return this.router.navigate(["/error"],{state:{errorCode:z,errorMessage:N}}),this.handleErrorWithoutAlert("FetchInfo",S.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:z,error:N}),(0,x.of)({type:S.aU.VOID})})))))),this.fetchFeeRatesCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_FEE_RATES_CLN),(0,D.Z)(a=>(this.store.dispatch((0,O.no)({payload:{action:"FetchFeeRates"+a.payload,status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.NETWORK_API+"/feeRates",{style:a.payload}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"FetchFeeRates"+a.payload,status:S.wn.COMPLETED}})),{type:S.TC.SET_FEE_RATES_CLN,payload:b||{}})),(0,f.W)(b=>(this.handleErrorWithoutAlert("FetchFeeRates"+a.payload,S.MZ.NO_SPINNER,"Fetching Fee Rates Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.getNewAddressCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.GET_NEW_ADDRESS_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.post(this.CHILD_API_URL+S.rl.ON_CHAIN_API+"/newaddr",{addresstype:a.payload.addressCode}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,y.y0)({payload:S.MZ.GENERATE_NEW_ADDRESS})),{type:S.TC.SET_NEW_ADDRESS_CLN,payload:b&&b[a.payload.addressCode]?b[a.payload.addressCode]:{}})),(0,f.W)(b=>(this.handleErrorWithAlert("GenerateNewAddress",S.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+S.rl.ON_CHAIN_API,b),(0,x.of)({type:S.aU.VOID})))))))),this.setNewAddressCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SET_NEW_ADDRESS_CLN),(0,w.T)(a=>(this.logger.info(a.payload),a.payload))),{dispatch:!1}),this.peersFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_PEERS_CLN),(0,D.Z)(()=>(this.store.dispatch((0,O.no)({payload:{action:"FetchPeers",status:S.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.rl.PEERS_API).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.no)({payload:{action:"FetchPeers",status:S.wn.COMPLETED}})),{type:S.TC.SET_PEERS_CLN,payload:a||[]})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchPeers",S.MZ.NO_SPINNER,"Fetching Peers Failed.",a),(0,x.of)({type:S.aU.VOID})))))))),this.saveNewPeerCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SAVE_NEW_PEER_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.CONNECT_PEER})),this.store.dispatch((0,O.no)({payload:{action:"SaveNewPeer",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.PEERS_API,{id:a.payload.id}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"SaveNewPeer",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.CONNECT_PEER})),this.store.dispatch((0,O.Qj)({payload:b||[]})),{type:S.TC.NEWLY_ADDED_PEER_CLN,payload:{peer:b.find(z=>0===a.payload.id.indexOf(z.id?z.id:""))}})),(0,f.W)(b=>(this.handleErrorWithoutAlert("SaveNewPeer",S.MZ.CONNECT_PEER,"Peer Connection Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.detachPeerCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.DETACH_PEER_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.DISCONNECT_PEER})),this.httpClient.post(this.CHILD_API_URL+S.rl.PEERS_API+"/disconnect",{id:a.payload.id,force:a.payload.force}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,y.y0)({payload:S.MZ.DISCONNECT_PEER})),this.store.dispatch((0,y.UI)({payload:"Peer Disconnected Successfully!"})),{type:S.TC.REMOVE_PEER_CLN,payload:{id:a.payload.id}})),(0,f.W)(b=>(this.handleErrorWithAlert("PeerDisconnect",S.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+S.rl.PEERS_API+"/"+a.payload.id,b),(0,x.of)({type:S.aU.VOID})))))))),this.channelsFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_CHANNELS_CLN),(0,D.Z)(()=>(this.store.dispatch((0,O.no)({payload:{action:"FetchChannels",status:S.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.rl.CHANNELS_API+"/listPeerChannels"))),(0,w.T)(a=>{this.logger.info(a),this.store.dispatch((0,O.no)({payload:{action:"FetchChannels",status:S.wn.COMPLETED}}));const b={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return a.forEach(z=>{"CHANNELD_NORMAL"===z.state?z.peer_connected?b.activeChannels.push(z):b.inactiveChannels.push(z):b.pendingChannels.push(z)}),{type:S.TC.SET_CHANNELS_CLN,payload:b}}),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchChannels",S.MZ.NO_SPINNER,"Fetching Channels Failed.",a),(0,x.of)({type:S.aU.VOID}))))),this.openNewChannelCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SAVE_NEW_CHANNEL_CLN),(0,D.Z)(a=>{this.store.dispatch((0,y.mt)({payload:S.MZ.OPEN_CHANNEL})),this.store.dispatch((0,O.no)({payload:{action:"SaveNewChannel",status:S.wn.INITIATED}}));const b={id:a.payload.peerId,amount:a.payload.amount,feerate:a.payload.feeRate,announce:a.payload.announce};return a.payload.minconf&&(b.minconf=a.payload.minconf),a.payload.utxos&&(b.utxos=a.payload.utxos),a.payload.requestAmount&&(b.request_amt=a.payload.requestAmount),a.payload.compactLease&&(b.compact_lease=a.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+S.rl.CHANNELS_API,b).pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,O.no)({payload:{action:"SaveNewChannel",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.OPEN_CHANNEL})),this.store.dispatch((0,y.UI)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,O.g6)()),{type:S.TC.FETCH_CHANNELS_CLN})),(0,f.W)(z=>(this.handleErrorWithoutAlert("SaveNewChannel",S.MZ.OPEN_CHANNEL,"Opening Channel Failed.",z),(0,x.of)({type:S.aU.VOID}))))}))),this.updateChannelCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.UPDATE_CHANNEL_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+S.rl.CHANNELS_API+"/setChannelFee",a.payload).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,y.y0)({payload:S.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,y.UI)("all"===a.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:S.TC.FETCH_CHANNELS_CLN})),(0,f.W)(b=>(this.handleErrorWithAlert("UpdateChannel",S.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+S.rl.CHANNELS_API,b),(0,x.of)({type:S.aU.VOID})))))))),this.closeChannelCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.CLOSE_CHANNEL_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:a.payload.force?S.MZ.FORCE_CLOSE_CHANNEL:S.MZ.CLOSE_CHANNEL})),this.httpClient.post(this.CHILD_API_URL+S.rl.CHANNELS_API+"/close",{id:a.payload.channelId,unilateraltimeout:a.payload.force?1:null}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,y.y0)({payload:a.payload.force?S.MZ.FORCE_CLOSE_CHANNEL:S.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,O.$Q)()),this.store.dispatch((0,O.g6)()),this.store.dispatch((0,y.UI)({payload:"Channel Closed Successfully!"})),{type:S.TC.REMOVE_CHANNEL_CLN,payload:a.payload})),(0,f.W)(b=>(this.handleErrorWithAlert("CloseChannel",a.payload.force?S.MZ.FORCE_CLOSE_CHANNEL:S.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+S.rl.CHANNELS_API,b),(0,x.of)({type:S.aU.VOID})))))))),this.paymentsFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_PAYMENTS_CLN),(0,D.Z)(()=>(this.store.dispatch((0,O.no)({payload:{action:"FetchPayments",status:S.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.rl.PAYMENTS_API))),(0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.no)({payload:{action:"FetchPayments",status:S.wn.COMPLETED}})),{type:S.TC.SET_PAYMENTS_CLN,payload:a||[]})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchPayments",S.MZ.NO_SPINNER,"Fetching Payments Failed.",a),(0,x.of)({type:S.aU.VOID}))))),this.fetchOfferInvoiceCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_OFFER_INVOICE_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.FETCH_INVOICE})),this.store.dispatch((0,O.no)({payload:{action:"FetchOfferInvoice",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.OFFERS_API+"/fetchOfferInvoice",a.payload).pipe((0,w.T)(b=>{this.logger.info(b),setTimeout(()=>{this.store.dispatch((0,O.no)({payload:{action:"FetchOfferInvoice",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.FETCH_INVOICE})),this.store.dispatch((0,O.GZ)({payload:b||{}}))},500)}),(0,f.W)(b=>(this.handleErrorWithoutAlert("FetchOfferInvoice",S.MZ.FETCH_INVOICE,"Offer Invoice Fetch Failed",b),(0,x.of)({type:S.aU.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SET_OFFER_INVOICE_CLN),(0,w.T)(a=>(this.logger.info(a.payload),a.payload))),{dispatch:!1}),this.sendPaymentCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SEND_PAYMENT_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:a.payload.uiMessage})),this.store.dispatch((0,O.no)({payload:{action:"SendPayment",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.PAYMENTS_API,a.payload).pipe((0,w.T)(b=>{this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"SendPayment",status:S.wn.COMPLETED}}));let z="Payment Sent Successfully!";b.saveToDBError&&(z="Payment Sent Successfully but Offer Saving to Database Failed."),b.saveToDBResponse&&"NA"!==b.saveToDBResponse&&(this.store.dispatch((0,O.Db)({payload:b.saveToDBResponse})),z="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,O.$Q)()),this.store.dispatch((0,O.g6)()),this.store.dispatch((0,O.CK)()),this.store.dispatch((0,y.y0)({payload:a.payload.uiMessage})),this.store.dispatch((0,y.UI)({payload:z})),this.store.dispatch((0,O.N4)({payload:b.paymentResponse}))},1e3)}),(0,f.W)(b=>(this.logger.error("Error: "+JSON.stringify(b)),a.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",a.payload.uiMessage,"Send Payment Failed.",b):this.handleErrorWithAlert("SendPayment",a.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+S.rl.PAYMENTS_API,b),(0,x.of)({type:S.aU.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.GET_QUERY_ROUTES_CLN),(0,D.Z)(a=>(this.store.dispatch((0,O.no)({payload:{action:"GetQueryRoutes",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.NETWORK_API+"/getRoute",{id:a.payload.destPubkey,amount_msat:a.payload.amount,riskfactor:0}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"GetQueryRoutes",status:S.wn.COMPLETED}})),{type:S.TC.SET_QUERY_ROUTES_CLN,payload:b})),(0,f.W)(b=>(this.store.dispatch((0,O.Hm)({payload:{route:[]}})),this.handleErrorWithAlert("GetQueryRoutes",S.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+S.rl.NETWORK_API+"/getRoute",b),(0,x.of)({type:S.aU.VOID})))))))),this.setQueryRoutesCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SET_QUERY_ROUTES_CLN),(0,w.T)(a=>a.payload)),{dispatch:!1}),this.peerLookupCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.PEER_LOOKUP_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.SEARCHING_NODE})),this.store.dispatch((0,O.no)({payload:{action:"Lookup",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.NETWORK_API+"/listNodes",{id:a.payload}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"Lookup",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.SEARCHING_NODE})),{type:S.TC.SET_LOOKUP_CLN,payload:b})),(0,f.W)(b=>(this.handleErrorWithAlert("Lookup",S.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+S.rl.NETWORK_API+"/listNodes/"+a.payload,b),(0,x.of)({type:S.aU.VOID})))))))),this.channelLookupCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.CHANNEL_LOOKUP_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:a.payload.uiMessage})),this.store.dispatch((0,O.no)({payload:{action:"Lookup",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.NETWORK_API+"/listChannels",{short_channel_id:a.payload.shortChannelID}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"Lookup",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:a.payload.uiMessage})),{type:S.TC.SET_LOOKUP_CLN,payload:b})),(0,f.W)(b=>(a.payload.showError?this.handleErrorWithAlert("Lookup",a.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+S.rl.NETWORK_API+"/listChannels/"+a.payload.shortChannelID,b):this.store.dispatch((0,y.y0)({payload:a.payload.uiMessage})),this.store.dispatch((0,O.$J)({payload:[]})),(0,x.of)({type:S.aU.VOID})))))))),this.invoiceLookupCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.INVOICE_LOOKUP_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,O.no)({payload:{action:"Lookup",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.INVOICES_API+"/lookup",{label:a.payload}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"Lookup",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.SEARCHING_INVOICE})),b.invoices&&b.invoices.length&&b.invoices.length>0&&this.store.dispatch((0,O.Dq)({payload:b.invoices[0]})),{type:S.TC.SET_LOOKUP_CLN,payload:b.invoices&&b.invoices.length&&b.invoices.length>0?b.invoices[0]:b})),(0,f.W)(b=>(this.handleErrorWithoutAlert("Lookup",S.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",b),this.store.dispatch((0,y.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,x.of)({type:S.aU.VOID})))))))),this.setLookupCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SET_LOOKUP_CLN),(0,w.T)(a=>(this.logger.info(a.payload),a.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.GET_FORWARDING_HISTORY_CLN),(0,D.Z)(a=>{const b=a.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,O.no)({payload:{action:"FetchForwardingHistory"+b,status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.CHANNELS_API+"/listForwards",a.payload).pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,O.no)({payload:{action:"FetchForwardingHistory"+b,status:S.wn.COMPLETED}})),a.payload.status===S.xk.FAILED?this.store.dispatch((0,O.kv)({payload:{status:S.xk.FAILED,totalForwards:z.length,listForwards:z}})):a.payload.status===S.xk.LOCAL_FAILED?this.store.dispatch((0,O.kv)({payload:{status:S.xk.LOCAL_FAILED,totalForwards:z.length,listForwards:z}})):a.payload.status===S.xk.SETTLED&&this.store.dispatch((0,O.kv)({payload:{status:S.xk.SETTLED,totalForwards:z.length,listForwards:z}})),{type:S.aU.VOID})),(0,f.W)(z=>(this.handleErrorWithAlert("FetchForwardingHistory"+b,S.MZ.NO_SPINNER,"Get "+a.payload.status+" Forwarding History Failed",this.CHILD_API_URL+S.rl.CHANNELS_API+"/listForwards",z),(0,x.of)({type:S.aU.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.DELETE_EXPIRED_INVOICE_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.DELETE_INVOICE})),this.httpClient.post(this.CHILD_API_URL+S.rl.INVOICES_API+"/delete",{subsystem:"expiredinvoices",age:S.NG}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,y.y0)({payload:S.MZ.DELETE_INVOICE})),this.store.dispatch((0,y.UI)({payload:b.status})),{type:S.TC.FETCH_INVOICES_CLN})),(0,f.W)(b=>(this.handleErrorWithAlert("DeleteInvoices",S.MZ.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+S.rl.INVOICES_API,b),(0,x.of)({type:S.aU.VOID})))))))),this.saveNewInvoiceCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SAVE_NEW_INVOICE_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.ADD_INVOICE})),this.store.dispatch((0,O.no)({payload:{action:"SaveNewInvoice",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.INVOICES_API,a.payload).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"SaveNewInvoice",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.ADD_INVOICE})),b.amount_msat=a.payload.amount_msat,b.label=a.payload.label,b.expires_at=Math.round((new Date).getTime()/1e3+a.payload.expiry),b.description=a.payload.description,b.status="unpaid",setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{invoice:b,newlyAdded:!0,component:h.y}}}))},200),{type:S.TC.ADD_INVOICE_CLN,payload:b})),(0,f.W)(b=>(this.handleErrorWithoutAlert("SaveNewInvoice",S.MZ.ADD_INVOICE,"Add Invoice Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.saveNewOfferCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SAVE_NEW_OFFER_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.CREATE_OFFER})),this.store.dispatch((0,O.no)({payload:{action:"SaveNewOffer",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.OFFERS_API,a.payload).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"SaveNewOffer",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{offer:b,newlyAdded:!0,component:V.f}}}))},100),{type:S.TC.ADD_OFFER_CLN,payload:b})),(0,f.W)(b=>(this.handleErrorWithoutAlert("SaveNewOffer",S.MZ.CREATE_OFFER,"Create Offer Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.invoicesFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_INVOICES_CLN),(0,D.Z)(()=>(this.store.dispatch((0,O.no)({payload:{action:"FetchInvoices",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.INVOICES_API+"/lookup",null))),(0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.no)({payload:{action:"FetchInvoices",status:S.wn.COMPLETED}})),{type:S.TC.SET_INVOICES_CLN,payload:a})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchInvoices",S.MZ.NO_SPINNER,"Fetching Invoices Failed.",a),(0,x.of)({type:S.aU.VOID}))))),this.offersFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_OFFERS_CLN),(0,D.Z)(a=>(this.store.dispatch((0,O.no)({payload:{action:"FetchOffers",status:S.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.rl.OFFERS_API).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"FetchOffers",status:S.wn.COMPLETED}})),{type:S.TC.SET_OFFERS_CLN,payload:b.offers?b.offers:[]})),(0,f.W)(b=>(this.handleErrorWithoutAlert("FetchOffers",S.MZ.NO_SPINNER,"Fetching Offers Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.offersDisableCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.DISABLE_OFFER_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.DISABLE_OFFER})),this.store.dispatch((0,O.no)({payload:{action:"DisableOffer",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.OFFERS_API+"/disableOffer",{offer_id:a.payload.offer_id}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"DisableOffer",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.DISABLE_OFFER})),this.store.dispatch((0,y.UI)({payload:"Offer Disabled Successfully!"})),{type:S.TC.UPDATE_OFFER_CLN,payload:{offer:b}})),(0,f.W)(b=>(this.handleErrorWithoutAlert("DisableOffer",S.MZ.DISABLE_OFFER,"Disabling Offer Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.offerBookmarksFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_OFFER_BOOKMARKS_CLN),(0,D.Z)(a=>(this.store.dispatch((0,O.no)({payload:{action:"FetchOfferBookmarks",status:S.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.rl.OFFERS_API+"/offerbookmarks").pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"FetchOfferBookmarks",status:S.wn.COMPLETED}})),{type:S.TC.SET_OFFER_BOOKMARKS_CLN,payload:b||[]})),(0,f.W)(b=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",S.MZ.NO_SPINNER,"Fetching Offer Bookmarks Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.peidOffersDeleteCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.DELETE_OFFER_BOOKMARK_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,O.no)({payload:{action:"DeleteOfferBookmark",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.OFFERS_API+"/offerbookmark/delete",{offer_str:a.payload.bolt12}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"DeleteOfferBookmark",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,y.UI)({payload:"Offer Bookmark Deleted Successfully!"})),{type:S.TC.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:a.payload.bolt12}})),(0,f.W)(b=>(this.handleErrorWithAlert("DeleteOfferBookmark",S.MZ.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+S.rl.OFFERS_API+"/offerbookmark/"+a.payload.bolt12,b),(0,x.of)({type:S.aU.VOID})))))))),this.SetChannelTransactionCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SET_CHANNEL_TRANSACTION_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.SEND_FUNDS})),this.store.dispatch((0,O.no)({payload:{action:"SetChannelTransaction",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.ON_CHAIN_API,a.payload).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"SetChannelTransaction",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.SEND_FUNDS})),this.store.dispatch((0,O.g6)()),{type:S.TC.SET_CHANNEL_TRANSACTION_RES_CLN,payload:b})),(0,f.W)(b=>(this.handleErrorWithoutAlert("SetChannelTransaction",S.MZ.SEND_FUNDS,"Sending Fund Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.utxoBalancesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_UTXO_BALANCES_CLN),(0,D.Z)(()=>(this.store.dispatch((0,O.no)({payload:{action:"FetchUTXOBalances",status:S.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.rl.ON_CHAIN_API+"/utxos"))),(0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.no)({payload:{action:"FetchUTXOBalances",status:S.wn.COMPLETED}})),{type:S.TC.SET_UTXO_BALANCES_CLN,payload:a})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchUTXOBalances",S.MZ.NO_SPINNER,"Fetching UTXO and Balances Failed.",a),(0,x.of)({type:S.aU.VOID}))))),this.pageSettingsFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_PAGE_SETTINGS_CLN),(0,D.Z)(()=>(this.store.dispatch((0,O.no)({payload:{action:"FetchPageSettings",status:S.wn.INITIATED}})),this.httpClient.get(S.rl.PAGE_SETTINGS_API).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.no)({payload:{action:"FetchPageSettings",status:S.wn.COMPLETED}})),{type:S.TC.SET_PAGE_SETTINGS_CLN,payload:a||[]})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchPageSettings",S.MZ.NO_SPINNER,"Fetching Page Settings Failed.",a),(0,x.of)({type:S.aU.VOID})))))))),this.savePageSettingsCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SAVE_PAGE_SETTINGS_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,O.no)({payload:{action:"SavePageSettings",status:S.wn.INITIATED}})),this.httpClient.post(S.rl.PAGE_SETTINGS_API,a.payload).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"SavePageSettings",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,y.UI)({payload:"Page Layout Updated Successfully!"})),{type:S.TC.SET_PAGE_SETTINGS_CLN,payload:b||[]})),(0,f.W)(b=>(this.handleErrorWithAlert("SavePageSettings",S.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",S.rl.PAGE_SETTINGS_API,b),(0,x.of)({type:S.aU.VOID})))))))),this.store.select(I.ru).pipe((0,l.Q)(this.unSubs[0])).subscribe(a=>{a.FetchInfo.status!==S.wn.COMPLETED&&a.FetchInfo.status!==S.wn.ERROR||a.FetchChannels.status!==S.wn.COMPLETED&&a.FetchChannels.status!==S.wn.ERROR||a.FetchUTXOBalances.status!==S.wn.COMPLETED&&a.FetchUTXOBalances.status!==S.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,y.y0)({payload:S.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,l.Q)(this.unSubs[1])).subscribe(a=>{this.logger.info("Received new message from the service: "+JSON.stringify(a)),a&&a.data&&a.data[S.Jr.INVOICE_PAYMENT]&&a.data[S.Jr.INVOICE_PAYMENT].label&&this.store.dispatch((0,O.Dq)({payload:a.data[S.Jr.INVOICE_PAYMENT]}))})}initializeRemainingData(T,n){this.sessionService.setItem("clnUnlocked","true");const c={identity_pubkey:T.id,alias:T.alias,testnet:"testnet"===T.network.toLowerCase(),chains:T.chains,uris:T.uris,version:T.version,api_version:T.api_version,numberOfPendingChannels:T.num_pending_channels};this.store.dispatch((0,y.mt)({payload:S.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,y.Fl)({payload:c}));let m=this.location.path();m.includes("/lnd/")?m=m?.replace("/lnd/","/cln/"):m.includes("/ecl/")&&(m=m?.replace("/ecl/","/cln/")),(m.includes("/login")||m.includes("/error")||""===m||"HOME"===n||m.includes("?access-key="))&&(m="/cln/home"),this.router.navigate([m]),this.store.dispatch((0,O.Do)()),this.store.dispatch((0,O.$Q)()),this.store.dispatch((0,O.g6)()),this.store.dispatch((0,O.kX)({payload:"perkw"})),this.store.dispatch((0,O.kX)({payload:"perkb"})),this.store.dispatch((0,O.Gy)()),this.store.dispatch((0,O.CK)())}handleErrorWithoutAlert(T,n,c,m){if(this.logger.error("ERROR IN: "+T+"\n"+JSON.stringify(m)),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.Jh)()),this.store.dispatch((0,y.ri)({payload:"Authentication Failed: "+JSON.stringify(m.error)}));else{this.store.dispatch((0,y.y0)({payload:n}));const d=this.commonService.extractErrorMessage(m,c);this.store.dispatch((0,O.no)({payload:{action:T,status:S.wn.ERROR,statusCode:m.status.toString(),message:d}}))}}handleErrorWithAlert(T,n,c,m,d){if(this.logger.error(d),401===d.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.Jh)()),this.store.dispatch((0,y.ri)({payload:"Authentication Failed: "+JSON.stringify(d.error)})),this.store.dispatch((0,y.UI)({payload:"Authentication Failed: "+d.error}));else{this.store.dispatch((0,y.y0)({payload:n}));const C=this.commonService.extractErrorMessage(d);this.store.dispatch((0,y.xO)({payload:{data:{type:"ERROR",alertTitle:c,message:{code:d.status,message:C,URL:m},component:R.f}}})),this.store.dispatch((0,O.no)({payload:{action:T,status:S.wn.ERROR,statusCode:d.status.toString(),message:C,URL:m}}))}}ngOnDestroy(){this.unSubs.forEach(T=>{T.next(null),T.complete()})}static{this.\u0275fac=function(n){return new(n||Ce)(j.KVO(e.En),j.KVO(Y.Qq),j.KVO(W.il),j.KVO(Q.Q),j.KVO(J.h),j.KVO(ie.gP),j.KVO(ee.Ix),j.KVO(fe.I),j.KVO(ne.aZ))}}static{this.\u0275prov=j.jDH({token:Ce,factory:Ce.\u0275fac})}}return Ce})()},9584:(Qe,te,g)=>{"use strict";g.d(te,{Al:()=>O,BM:()=>I,Dv:()=>j,GX:()=>W,Ie:()=>V,KT:()=>f,O5:()=>ie,Pj:()=>y,RB:()=>S,RQ:()=>J,aJ:()=>Y,av:()=>x,ip:()=>ee,kQ:()=>Q,kr:()=>h,mH:()=>D,os:()=>R,ru:()=>w});var e=g(9640);const t=(0,e.UX)("cln"),x=(0,e.Mz)(t,ne=>({pageSettings:ne.pageSettings,apiCallStatus:ne.apisCallStatus.FetchPageSettings})),D=(0,e.Mz)(t,ne=>ne.information),w=((0,e.Mz)(t,ne=>ne.apisCallStatus.FetchInfo),(0,e.Mz)(t,ne=>ne.apisCallStatus)),f=(0,e.Mz)(t,ne=>({payments:ne.payments,apiCallStatus:ne.apisCallStatus.FetchPayments})),R=(0,e.Mz)(t,ne=>({peers:ne.peers,apiCallStatus:ne.apisCallStatus.FetchPeers})),h=(0,e.Mz)(t,ne=>({feeRatesPerKB:ne.feeRatesPerKB,apiCallStatus:ne.apisCallStatus.FetchFeeRatesperkb})),S=(0,e.Mz)(t,ne=>({feeRatesPerKW:ne.feeRatesPerKW,apiCallStatus:ne.apisCallStatus.FetchFeeRatesperkw})),y=(0,e.Mz)(t,ne=>({listInvoices:ne.invoices,apiCallStatus:ne.apisCallStatus.FetchInvoices})),O=(0,e.Mz)(t,ne=>({utxos:ne.utxos,balance:ne.balance,localRemoteBalance:ne.localRemoteBalance,apiCallStatus:ne.apisCallStatus.FetchUTXOBalances})),I=(0,e.Mz)(t,ne=>({activeChannels:ne.activeChannels,pendingChannels:ne.pendingChannels,inactiveChannels:ne.inactiveChannels,apiCallStatus:ne.apisCallStatus.FetchChannels})),V=(0,e.Mz)(t,ne=>({forwardingHistory:ne.forwardingHistory,apiCallStatus:ne.apisCallStatus.FetchForwardingHistoryS})),j=(0,e.Mz)(t,ne=>({failedForwardingHistory:ne.failedForwardingHistory,apiCallStatus:ne.apisCallStatus.FetchForwardingHistoryF})),Y=(0,e.Mz)(t,ne=>({localFailedForwardingHistory:ne.localFailedForwardingHistory,apiCallStatus:ne.apisCallStatus.FetchForwardingHistoryL})),W=(0,e.Mz)(t,ne=>({information:ne.information,balance:ne.balance,numPeers:ne.peers.length})),Q=(0,e.Mz)(t,ne=>({information:ne.information,balance:ne.balance})),J=(0,e.Mz)(t,ne=>({information:ne.information,fees:ne.fees,apisCallStatus:[ne.apisCallStatus.FetchInfo,ne.apisCallStatus.FetchForwardingHistoryS]})),ie=(0,e.Mz)(t,ne=>({offers:ne.offers,apiCallStatus:ne.apisCallStatus.FetchOffers})),ee=(0,e.Mz)(t,ne=>({offersBookmarks:ne.offersBookmarks,apiCallStatus:ne.apisCallStatus.FetchOfferBookmarks}))},8321:(Qe,te,g)=>{"use strict";g.d(te,{y:()=>st});var e=g(5351),t=g(5383),x=g(1413),D=g(6977),l=g(4416),w=g(9584),f=g(4438),R=g(8570),h=g(2571),S=g(5416),y=g(9640),O=g(177),I=g(60),V=g(2920),j=g(6038),Y=g(8834),W=g(5596),Q=g(1997),J=g(9183),ie=g(4823),ee=g(8288),fe=g(9157),ne=g(9587);const Me=me=>({"display-none":me}),Ce=me=>({"xs-scroll-y":me}),le=(me,Ee)=>({"mt-2":me,"mt-1":Ee}),T=me=>({"mr-0":me}),n=()=>[];function c(me,Ee){if(1&me&&f.nrm(0,"qr-code",33),2&me){const ue=f.XpG();f.Y8G("value",(null==ue.invoice?null:ue.invoice.bolt11)||(null==ue.invoice?null:ue.invoice.bolt12))("size",ue.qrWidth)("errorCorrectionLevel","L")}}function m(me,Ee){1&me&&(f.j41(0,"span",34),f.EFF(1,"N/A"),f.k0s())}function d(me,Ee){if(1&me&&f.nrm(0,"span",35),2&me){const ue=f.XpG();f.Y8G("ngClass",f.eq3(1,T,ue.screenSize===ue.screenSizeEnum.XS))}}function C(me,Ee){if(1&me&&f.nrm(0,"span",36),2&me){const ue=f.XpG();f.Y8G("ngClass",f.eq3(1,T,ue.screenSize===ue.screenSizeEnum.XS))}}function A(me,Ee){if(1&me&&f.nrm(0,"span",37),2&me){const ue=f.XpG();f.Y8G("ngClass",f.eq3(1,T,ue.screenSize===ue.screenSizeEnum.XS))}}function k(me,Ee){if(1&me&&f.nrm(0,"qr-code",33),2&me){const ue=f.XpG();f.Y8G("value",(null==ue.invoice?null:ue.invoice.bolt11)||(null==ue.invoice?null:ue.invoice.bolt12))("size",ue.qrWidth)("errorCorrectionLevel","L")}}function _(me,Ee){1&me&&(f.j41(0,"span",38),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function a(me,Ee){1&me&&f.nrm(0,"mat-divider",39)}function b(me,Ee){if(1&me&&(f.j41(0,"div",20)(1,"div",40),f.nrm(2,"fa-icon",41),f.j41(3,"span"),f.EFF(4),f.k0s()()()),2&me){const ue=f.XpG();f.R7$(2),f.Y8G("icon",ue.faExclamationTriangle),f.R7$(2),f.JRh(null==ue.invoice?null:ue.invoice.warning_capacity)}}function z(me,Ee){1&me&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function N(me,Ee){1&me&&f.nrm(0,"span",47)}function q(me,Ee){if(1&me&&(f.j41(0,"div",43)(1,"div",44)(2,"span",45),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,N,1,0,"span",46),f.k0s()()),2&me){const ue=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,(null==ue.invoice?null:ue.invoice.amount_received_msat)/1e3)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,n).constructor(35))}}function pe(me,Ee){if(1&me&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&me){const ue=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,(null==ue.invoice?null:ue.invoice.amount_received_msat)/1e3)," Sats")}}function ze(me,Ee){if(1&me&&(f.qex(0),f.DNE(1,q,6,5,"div",42)(2,pe,3,3,"div",24),f.bVm()),2&me){const ue=f.XpG();f.R7$(),f.Y8G("ngIf",ue.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!ue.flgInvoicePaid)}}function Xe(me,Ee){1&me&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function We(me,Ee){1&me&&f.nrm(0,"mat-spinner",49),2&me&&f.Y8G("diameter",20)}function oe(me,Ee){if(1&me&&(f.qex(0),f.DNE(1,Xe,2,0,"span",24)(2,We,1,1,"mat-spinner",48),f.bVm()),2&me){const ue=f.XpG();f.R7$(),f.Y8G("ngIf","unpaid"!==(null==ue.invoice?null:ue.invoice.status)),f.R7$(),f.Y8G("ngIf","unpaid"===(null==ue.invoice?null:ue.invoice.status))}}function X(me,Ee){if(1&me&&(f.j41(0,"div"),f.nrm(1,"mat-divider",26),f.j41(2,"div",20)(3,"div",27)(4,"h4",22),f.EFF(5,"Payment Hash"),f.k0s(),f.j41(6,"span",25),f.EFF(7),f.k0s()()(),f.nrm(8,"mat-divider",26),f.j41(9,"div",20)(10,"div",27)(11,"h4",22),f.EFF(12,"Label"),f.k0s(),f.j41(13,"span",25),f.EFF(14),f.k0s()()(),f.nrm(15,"mat-divider",26),f.k0s()),2&me){const ue=f.XpG();f.R7$(7),f.JRh(null==ue.invoice?null:ue.invoice.payment_hash),f.R7$(7),f.JRh(null==ue.invoice?null:ue.invoice.label)}}function se(me,Ee){1&me&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function ae(me,Ee){1&me&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function he(me,Ee){if(1&me){const ue=f.RV6();f.j41(0,"button",50),f.bIt("copied",function(Ct){f.eBV(ue);const ct=f.XpG();return f.Njj(ct.onCopyPayment(Ct))}),f.EFF(1,"Copy Invoice"),f.k0s()}if(2&me){const ue=f.XpG();f.Y8G("payload",(null==ue.invoice?null:ue.invoice.bolt11)||(null==ue.invoice?null:ue.invoice.bolt12))}}function Ie(me,Ee){if(1&me){const ue=f.RV6();f.j41(0,"button",51),f.bIt("click",function(){f.eBV(ue);const Ct=f.XpG();return f.Njj(Ct.onClose())}),f.EFF(1,"OK"),f.k0s()}}let st=(()=>{class me{constructor(ue,Be,Ct,ct,dt,Yt){this.dialogRef=ue,this.data=Be,this.logger=Ct,this.commonService=ct,this.snackBar=dt,this.store=Yt,this.faReceipt=t.Mf0,this.faExclamationTriangle=t.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.invoiceStatus="",this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.f7,this.flgInvoicePaid=!1,this.unSubs=[new x.B,new x.B,new x.B,new x.B,new x.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(w.Pj).pipe((0,D.Q)(this.unSubs[1])).subscribe(ue=>{const Ct=(ue.listInvoices.invoices||[])?.find(ct=>ct.payment_hash===this.invoice.payment_hash)||null;Ct&&(this.invoice=Ct),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(Ct),this.logger.info(ue)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(ue){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+ue)}ngOnDestroy(){this.unSubs.forEach(ue=>{ue.next(null),ue.complete()})}static{this.\u0275fac=function(Be){return new(Be||me)(f.rXU(e.CP),f.rXU(e.Vh),f.rXU(R.gP),f.rXU(h.h),f.rXU(S.UG),f.rXU(y.il))}}static{this.\u0275cmp=f.VBU({type:me,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(Be,Ct){if(1&Be){const ct=f.RV6();f.j41(0,"div",1)(1,"div",2),f.DNE(2,c,1,3,"qr-code",3)(3,m,2,0,"span",4),f.k0s(),f.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),f.nrm(7,"fa-icon",8),f.j41(8,"span",9),f.EFF(9),f.DNE(10,d,1,3,"span",10)(11,C,1,3,"span",11)(12,A,1,3,"span",12),f.k0s()(),f.j41(13,"button",13),f.bIt("click",function(){return f.eBV(ct),f.Njj(Ct.onClose())}),f.EFF(14,"X"),f.k0s()(),f.j41(15,"mat-card-content",14)(16,"div",15)(17,"div",16),f.DNE(18,k,1,3,"qr-code",3)(19,_,2,0,"span",17),f.k0s(),f.DNE(20,a,1,0,"mat-divider",18)(21,b,5,2,"div",19),f.j41(22,"div",20)(23,"div",21)(24,"h4",22),f.EFF(25),f.k0s(),f.j41(26,"span",23),f.EFF(27),f.nI1(28,"number"),f.DNE(29,z,2,0,"ng-container",24),f.k0s()(),f.j41(30,"div",21)(31,"h4",22),f.EFF(32,"Amount Received"),f.k0s(),f.j41(33,"span",25),f.DNE(34,ze,3,2,"ng-container",24)(35,oe,3,2,"ng-container",24),f.k0s()()(),f.nrm(36,"mat-divider",26),f.j41(37,"div",20)(38,"div",21)(39,"h4",22),f.EFF(40,"Date Expiry"),f.k0s(),f.j41(41,"span",23),f.EFF(42),f.nI1(43,"date"),f.k0s()(),f.j41(44,"div",21)(45,"h4",22),f.EFF(46,"Date Settled"),f.k0s(),f.j41(47,"span",23),f.EFF(48),f.nI1(49,"date"),f.k0s()()(),f.nrm(50,"mat-divider",26),f.j41(51,"div",20)(52,"div",27)(53,"h4",22),f.EFF(54,"Description"),f.k0s(),f.j41(55,"span",23),f.EFF(56),f.k0s()()(),f.nrm(57,"mat-divider",26),f.j41(58,"div",20)(59,"div",27)(60,"h4",22),f.EFF(61),f.k0s(),f.j41(62,"span",25),f.EFF(63),f.k0s()()(),f.DNE(64,X,16,2,"div",24),f.j41(65,"div",28)(66,"button",29),f.bIt("click",function(){return f.eBV(ct),f.Njj(Ct.onShowAdvanced())}),f.DNE(67,se,2,0,"p",30)(68,ae,2,0,"ng-template",null,0,f.C5r),f.k0s(),f.DNE(70,he,2,1,"button",31)(71,Ie,2,0,"button",32),f.k0s()()()()()}if(2&Be){const ct=f.sdS(69);f.R7$(),f.Y8G("fxLayoutAlign",null!=Ct.invoice&&Ct.invoice.bolt11&&""!==(null==Ct.invoice?null:Ct.invoice.bolt11)||null!=Ct.invoice&&Ct.invoice.bolt12&&""!==(null==Ct.invoice?null:Ct.invoice.bolt12)?"center start":"center center")("ngClass",f.eq3(40,Me,Ct.screenSize===Ct.screenSizeEnum.XS||Ct.screenSize===Ct.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Ct.invoice?null:Ct.invoice.bolt11)&&""!==(null==Ct.invoice?null:Ct.invoice.bolt11)||(null==Ct.invoice?null:Ct.invoice.bolt12)&&""!==(null==Ct.invoice?null:Ct.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=Ct.invoice&&Ct.invoice.bolt11||null!=Ct.invoice&&Ct.invoice.bolt12)),f.R7$(4),f.Y8G("icon",Ct.faReceipt),f.R7$(2),f.SpI(" ",Ct.screenSize===Ct.screenSizeEnum.XS?Ct.newlyAdded?"Created":"Invoice":Ct.newlyAdded?"Invoice Created":"Invoice Information"," "),f.R7$(),f.Y8G("ngIf","paid"===(null==Ct.invoice?null:Ct.invoice.status)),f.R7$(),f.Y8G("ngIf","unpaid"===(null==Ct.invoice?null:Ct.invoice.status)),f.R7$(),f.Y8G("ngIf","expired"===(null==Ct.invoice?null:Ct.invoice.status)),f.R7$(3),f.Y8G("ngClass",f.eq3(42,Ce,Ct.screenSize===Ct.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=Ct.invoice&&Ct.invoice.bolt11&&""!==(null==Ct.invoice?null:Ct.invoice.bolt11)||null!=Ct.invoice&&Ct.invoice.bolt12&&""!==(null==Ct.invoice?null:Ct.invoice.bolt12)?"center start":"center center")("ngClass",f.eq3(44,Me,Ct.screenSize!==Ct.screenSizeEnum.XS&&Ct.screenSize!==Ct.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Ct.invoice?null:Ct.invoice.bolt11)&&""!==(null==Ct.invoice?null:Ct.invoice.bolt11)||(null==Ct.invoice?null:Ct.invoice.bolt12)&&""!==(null==Ct.invoice?null:Ct.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=Ct.invoice&&Ct.invoice.bolt11||null!=Ct.invoice&&Ct.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",Ct.screenSize===Ct.screenSizeEnum.XS||Ct.screenSize===Ct.screenSizeEnum.SM),f.R7$(),f.Y8G("ngIf",null==Ct.invoice?null:Ct.invoice.warning_capacity),f.R7$(4),f.JRh(Ct.screenSize===Ct.screenSizeEnum.XS?"Amount":"Amount Requested"),f.R7$(2),f.SpI(" ",f.bMT(28,32,(null==Ct.invoice?null:Ct.invoice.amount_msat)/1e3||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=Ct.invoice&&Ct.invoice.amount_msat)||"0"===(null==Ct.invoice?null:Ct.invoice.amount_msat)||"any"===(null==Ct.invoice?null:Ct.invoice.amount_msat)),f.R7$(5),f.Y8G("ngIf","paid"===(null==Ct.invoice?null:Ct.invoice.status)),f.R7$(),f.Y8G("ngIf","paid"!==(null==Ct.invoice?null:Ct.invoice.status)),f.R7$(7),f.JRh(f.i5U(43,34,1e3*(null==Ct.invoice?null:Ct.invoice.expires_at),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.i5U(49,37,1e3*(null==Ct.invoice?null:Ct.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),f.R7$(8),f.JRh((null==Ct.invoice?null:Ct.invoice.description)||"-"),f.R7$(5),f.SpI("",null!=Ct.invoice&&Ct.invoice.bolt12?"Bolt12":null!=Ct.invoice&&Ct.invoice.bolt11&&!Ct.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),f.R7$(2),f.JRh((null==Ct.invoice?null:Ct.invoice.bolt11)||(null==Ct.invoice?null:Ct.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",Ct.showAdvanced),f.R7$(),f.Y8G("ngClass",f.l_i(46,le,!Ct.showAdvanced,Ct.showAdvanced)),f.R7$(2),f.Y8G("ngIf",!Ct.showAdvanced)("ngIfElse",ct),f.R7$(3),f.Y8G("ngIf",(null==Ct.invoice?null:Ct.invoice.bolt11)&&""!==(null==Ct.invoice?null:Ct.invoice.bolt11)||(null==Ct.invoice?null:Ct.invoice.bolt12)&&""!==(null==Ct.invoice?null:Ct.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=Ct.invoice&&Ct.invoice.bolt11||null!=Ct.invoice&&Ct.invoice.bolt12))}},dependencies:[O.YU,O.Sq,O.bT,I.aY,V.DJ,V.sA,V.UI,j.PW,Y.$z,W.m2,W.MM,Q.q,J.LG,ie.oV,ee.Um,fe.U,ne.N,O.QX,O.vh]})}}return me})()},2142:(Qe,te,g)=>{"use strict";g.d(te,{f:()=>q});var e=g(5351),t=g(5383),x=g(1413),D=g(6977),l=g(4416),w=g(4438),f=g(8570),R=g(2571),h=g(5416),S=g(1534),y=g(177),O=g(60),I=g(2920),V=g(6038),j=g(8834),Y=g(5596),W=g(1997),Q=g(8288),J=g(9157),ie=g(9587);const ee=pe=>({"display-none":pe}),fe=pe=>({"xs-scroll-y":pe}),ne=(pe,ze)=>({"mt-2":pe,"mt-1":ze});function Me(pe,ze){if(1&pe&&w.nrm(0,"qr-code",28),2&pe){const Xe=w.XpG();w.Y8G("value",null==Xe.offer?null:Xe.offer.bolt12)("size",Xe.qrWidth)("errorCorrectionLevel","L")}}function Ce(pe,ze){1&pe&&(w.j41(0,"span",29),w.EFF(1,"N/A"),w.k0s())}function le(pe,ze){if(1&pe&&w.nrm(0,"qr-code",28),2&pe){const Xe=w.XpG();w.Y8G("value",null==Xe.offer?null:Xe.offer.bolt12)("size",Xe.qrWidth)("errorCorrectionLevel","L")}}function T(pe,ze){1&pe&&(w.j41(0,"span",30),w.EFF(1,"QR Code Not Applicable"),w.k0s())}function n(pe,ze){1&pe&&w.nrm(0,"mat-divider",31),2&pe&&w.Y8G("inset",!0)}function c(pe,ze){1&pe&&w.nrm(0,"mat-divider",20)}function m(pe,ze){if(1&pe&&(w.j41(0,"div",16)(1,"div",17)(2,"h4",18),w.EFF(3,"Used"),w.k0s(),w.j41(4,"span",19),w.EFF(5),w.k0s()(),w.j41(6,"div",17)(7,"h4",18),w.EFF(8,"Single Use"),w.k0s(),w.j41(9,"span",19),w.EFF(10),w.k0s()()()),2&pe){const Xe=w.XpG(2);w.R7$(5),w.SpI(" ",null!=Xe.offer&&Xe.offer.used?null!=Xe.offer&&Xe.offer.used?"Yes":"No":"N/K"," "),w.R7$(5),w.SpI(" ",null!=Xe.offer&&Xe.offer.single_use?null!=Xe.offer&&Xe.offer.single_use?"Yes":"No":"N/K"," ")}}function d(pe,ze){1&pe&&w.nrm(0,"mat-divider",20)}function C(pe,ze){if(1&pe&&(w.j41(0,"div",16)(1,"div",21)(2,"h4",18),w.EFF(3,"Issuer"),w.k0s(),w.j41(4,"span",34),w.EFF(5),w.k0s()()()),2&pe){const Xe=w.XpG(2);w.R7$(5),w.JRh(null==Xe.offerDecoded?null:Xe.offerDecoded.offer_issuer)}}function A(pe,ze){1&pe&&w.nrm(0,"mat-divider",20)}function k(pe,ze){if(1&pe&&(w.j41(0,"div",16)(1,"div",21)(2,"h4",18),w.EFF(3,"Label"),w.k0s(),w.j41(4,"span",19),w.EFF(5),w.k0s()()()),2&pe){const Xe=w.XpG(2);w.R7$(5),w.JRh(Xe.offer.label)}}function _(pe,ze){if(1&pe&&(w.j41(0,"div"),w.DNE(1,c,1,0,"mat-divider",32)(2,m,11,2,"div",33)(3,d,1,0,"mat-divider",32)(4,C,6,1,"div",33)(5,A,1,0,"mat-divider",32)(6,k,6,1,"div",33),w.nrm(7,"mat-divider",20),w.j41(8,"div",16)(9,"div",21)(10,"h4",18),w.EFF(11,"Offer ID"),w.k0s(),w.j41(12,"span",19),w.EFF(13),w.k0s()()(),w.nrm(14,"mat-divider",20),w.j41(15,"div",16)(16,"div",21)(17,"h4",18),w.EFF(18,"Offer Node ID"),w.k0s(),w.j41(19,"span",19),w.EFF(20),w.k0s()()(),w.nrm(21,"mat-divider",20),w.k0s()),2&pe){const Xe=w.XpG();w.R7$(),w.Y8G("ngIf",(null==Xe.offer?null:Xe.offer.used)||(null==Xe.offer?null:Xe.offer.single_use)),w.R7$(),w.Y8G("ngIf",(null==Xe.offer?null:Xe.offer.used)||(null==Xe.offer?null:Xe.offer.single_use)),w.R7$(),w.Y8G("ngIf",null==Xe.offerDecoded?null:Xe.offerDecoded.issuer),w.R7$(),w.Y8G("ngIf",null==Xe.offerDecoded?null:Xe.offerDecoded.issuer),w.R7$(),w.Y8G("ngIf",Xe.offer.label),w.R7$(),w.Y8G("ngIf",Xe.offer.label),w.R7$(7),w.JRh(Xe.offerDecoded.offer_id),w.R7$(7),w.JRh(null==Xe.offerDecoded?null:Xe.offerDecoded.offer_node_id)}}function a(pe,ze){1&pe&&(w.j41(0,"p"),w.EFF(1,"Show Advanced"),w.k0s())}function b(pe,ze){1&pe&&(w.j41(0,"p"),w.EFF(1,"Hide Advanced"),w.k0s())}function z(pe,ze){if(1&pe){const Xe=w.RV6();w.j41(0,"button",35),w.bIt("copied",function(oe){w.eBV(Xe);const X=w.XpG();return w.Njj(X.onCopyOffer(oe))}),w.EFF(1,"Copy Offer"),w.k0s()}if(2&pe){const Xe=w.XpG();w.Y8G("payload",null==Xe.offer?null:Xe.offer.bolt12)}}function N(pe,ze){if(1&pe){const Xe=w.RV6();w.j41(0,"button",36),w.bIt("click",function(){w.eBV(Xe);const oe=w.XpG();return w.Njj(oe.onClose())}),w.EFF(1,"OK"),w.k0s()}}let q=(()=>{class pe{constructor(Xe,We,oe,X,se,ae){this.dialogRef=Xe,this.data=We,this.logger=oe,this.commonService=X,this.snackBar=se,this.dataService=ae,this.faReceipt=t.Mf0,this.faExclamationTriangle=t.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.f7,this.flgOfferPaid=!1,this.unSubs=[new x.B,new x.B,new x.B,new x.B,new x.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,D.Q)(this.unSubs[1])).subscribe(Xe=>{this.offerDecoded=Xe,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(Xe){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+Xe)}ngOnDestroy(){this.unSubs.forEach(Xe=>{Xe.next(null),Xe.complete()})}static{this.\u0275fac=function(We){return new(We||pe)(w.rXU(e.CP),w.rXU(e.Vh),w.rXU(f.gP),w.rXU(R.h),w.rXU(h.UG),w.rXU(S.u))}}static{this.\u0275cmp=w.VBU({type:pe,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(We,oe){if(1&We){const X=w.RV6();w.j41(0,"div",1)(1,"div",2),w.DNE(2,Me,1,3,"qr-code",3)(3,Ce,2,0,"span",4),w.k0s(),w.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),w.nrm(7,"fa-icon",8),w.j41(8,"span",9),w.EFF(9),w.k0s()(),w.j41(10,"button",10),w.bIt("click",function(){return w.eBV(X),w.Njj(oe.onClose())}),w.EFF(11,"X"),w.k0s()(),w.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),w.DNE(15,le,1,3,"qr-code",3)(16,T,2,0,"span",14),w.k0s(),w.DNE(17,n,1,1,"mat-divider",15),w.j41(18,"div",16)(19,"div",17)(20,"h4",18),w.EFF(21,"Amount Requested (Sats)"),w.k0s(),w.j41(22,"span",19),w.EFF(23),w.nI1(24,"number"),w.k0s()(),w.j41(25,"div",17)(26,"h4",18),w.EFF(27,"Valid"),w.k0s(),w.j41(28,"span",19),w.EFF(29),w.k0s()()(),w.nrm(30,"mat-divider",20),w.j41(31,"div",16)(32,"div",21)(33,"h4",18),w.EFF(34,"Description"),w.k0s(),w.j41(35,"span",19),w.EFF(36),w.k0s()()(),w.nrm(37,"mat-divider",20),w.j41(38,"div",16)(39,"div",21)(40,"h4",18),w.EFF(41,"Offer"),w.k0s(),w.j41(42,"span",19),w.EFF(43),w.k0s()()(),w.DNE(44,_,22,8,"div",22),w.j41(45,"div",23)(46,"button",24),w.bIt("click",function(){return w.eBV(X),w.Njj(oe.onShowAdvanced())}),w.DNE(47,a,2,0,"p",25)(48,b,2,0,"ng-template",null,0,w.C5r),w.k0s(),w.DNE(50,z,2,1,"button",26)(51,N,2,0,"button",27),w.k0s()()()()()}if(2&We){const X=w.sdS(49);w.R7$(),w.Y8G("fxLayoutAlign",null!=oe.offer&&oe.offer.bolt12&&""!==(null==oe.offer?null:oe.offer.bolt12)?"center start":"center center")("ngClass",w.eq3(24,ee,oe.screenSize===oe.screenSizeEnum.XS||oe.screenSize===oe.screenSizeEnum.SM)),w.R7$(),w.Y8G("ngIf",(null==oe.offer?null:oe.offer.bolt12)&&""!==(null==oe.offer?null:oe.offer.bolt12)),w.R7$(),w.Y8G("ngIf",!(null!=oe.offer&&oe.offer.bolt12)||""===(null==oe.offer?null:oe.offer.bolt12)),w.R7$(4),w.Y8G("icon",oe.faReceipt),w.R7$(2),w.JRh(oe.screenSize===oe.screenSizeEnum.XS?oe.newlyAdded?"Created":"Offer":oe.newlyAdded?"Offer Created":"Offer Information"),w.R7$(3),w.Y8G("ngClass",w.eq3(26,fe,oe.screenSize===oe.screenSizeEnum.XS)),w.R7$(2),w.Y8G("fxLayoutAlign",null!=oe.offer&&oe.offer.bolt12&&""!==(null==oe.offer?null:oe.offer.bolt12)?"center start":"center center")("ngClass",w.eq3(28,ee,oe.screenSize!==oe.screenSizeEnum.XS&&oe.screenSize!==oe.screenSizeEnum.SM)),w.R7$(),w.Y8G("ngIf",(null==oe.offer?null:oe.offer.bolt12)&&""!==(null==oe.offer?null:oe.offer.bolt12)),w.R7$(),w.Y8G("ngIf",!(null!=oe.offer&&oe.offer.bolt12)||""===(null==oe.offer?null:oe.offer.bolt12)),w.R7$(),w.Y8G("ngIf",oe.screenSize===oe.screenSizeEnum.XS||oe.screenSize===oe.screenSizeEnum.SM),w.R7$(6),w.SpI(" ",null!=oe.offerDecoded&&oe.offerDecoded.offer_amount_msat&&0!==(null==oe.offerDecoded?null:oe.offerDecoded.offer_amount_msat)?w.bMT(24,22,(null==oe.offerDecoded?null:oe.offerDecoded.offer_amount_msat)/1e3):"Open Offer"," "),w.R7$(6),w.SpI(" ",null!=oe.offerDecoded&&oe.offerDecoded.valid?null!=oe.offerDecoded&&oe.offerDecoded.valid?"Yes":"No":"N/K"," "),w.R7$(7),w.SpI(" ",null==oe.offerDecoded?null:oe.offerDecoded.offer_description," "),w.R7$(7),w.JRh(null==oe.offer?null:oe.offer.bolt12),w.R7$(),w.Y8G("ngIf",oe.showAdvanced),w.R7$(),w.Y8G("ngClass",w.l_i(30,ne,!oe.showAdvanced,oe.showAdvanced)),w.R7$(2),w.Y8G("ngIf",!oe.showAdvanced)("ngIfElse",X),w.R7$(3),w.Y8G("ngIf",(null==oe.offer?null:oe.offer.bolt12)&&""!==(null==oe.offer?null:oe.offer.bolt12)),w.R7$(),w.Y8G("ngIf",!(null!=oe.offer&&oe.offer.bolt12)||""===(null==oe.offer?null:oe.offer.bolt12))}},dependencies:[y.YU,y.bT,O.aY,I.DJ,I.sA,I.UI,V.PW,j.$z,Y.m2,Y.MM,W.q,Q.Um,J.U,ie.N,y.QX]})}}return pe})()},5428:(Qe,te,g)=>{"use strict";g.d(te,{$6:()=>We,$Q:()=>O,As:()=>q,CK:()=>A,Do:()=>Xe,Dq:()=>se,Fd:()=>b,Gy:()=>ie,Hh:()=>D,Hm:()=>a,I6:()=>j,Jx:()=>X,Lc:()=>Ce,Lz:()=>pe,N4:()=>z,N8:()=>Q,NS:()=>w,Qj:()=>ee,Sn:()=>f,T4:()=>_,Tp:()=>I,Uj:()=>k,Uo:()=>y,XT:()=>T,Xx:()=>W,Yi:()=>he,ZE:()=>J,Zi:()=>le,cR:()=>C,cU:()=>V,fy:()=>m,gZ:()=>st,iO:()=>oe,jJ:()=>Y,lg:()=>l,mh:()=>N,sq:()=>fe,uL:()=>x,vL:()=>c,w0:()=>d,x1:()=>h,yn:()=>me,yp:()=>S,zR:()=>R,zU:()=>ae});var e=g(9640),t=g(4416);const x=(0,e.VP)(t.Uu.UPDATE_API_CALL_STATUS_ECL,(0,e.xk)()),D=(0,e.VP)(t.Uu.RESET_ECL_STORE),l=(0,e.VP)(t.Uu.FETCH_PAGE_SETTINGS_ECL),w=(0,e.VP)(t.Uu.SET_PAGE_SETTINGS_ECL,(0,e.xk)()),f=(0,e.VP)(t.Uu.SAVE_PAGE_SETTINGS_ECL,(0,e.xk)()),R=(0,e.VP)(t.Uu.FETCH_INFO_ECL,(0,e.xk)()),h=(0,e.VP)(t.Uu.SET_INFO_ECL,(0,e.xk)()),S=(0,e.VP)(t.Uu.FETCH_FEES_ECL),y=(0,e.VP)(t.Uu.SET_FEES_ECL,(0,e.xk)()),O=(0,e.VP)(t.Uu.FETCH_CHANNELS_ECL),I=(0,e.VP)(t.Uu.SET_ACTIVE_CHANNELS_ECL,(0,e.xk)()),V=(0,e.VP)(t.Uu.SET_PENDING_CHANNELS_ECL,(0,e.xk)()),j=(0,e.VP)(t.Uu.SET_INACTIVE_CHANNELS_ECL,(0,e.xk)()),Y=(0,e.VP)(t.Uu.FETCH_ONCHAIN_BALANCE_ECL),W=(0,e.VP)(t.Uu.SET_ONCHAIN_BALANCE_ECL,(0,e.xk)()),Q=(0,e.VP)(t.Uu.SET_LIGHTNING_BALANCE_ECL,(0,e.xk)()),J=(0,e.VP)(t.Uu.SET_CHANNELS_STATUS_ECL,(0,e.xk)()),ie=(0,e.VP)(t.Uu.FETCH_PEERS_ECL),ee=(0,e.VP)(t.Uu.SET_PEERS_ECL,(0,e.xk)()),fe=(0,e.VP)(t.Uu.SAVE_NEW_PEER_ECL,(0,e.xk)()),Ce=((0,e.VP)(t.Uu.NEWLY_ADDED_PEER_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.ADD_PEER_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.DETACH_PEER_ECL,(0,e.xk)())),le=(0,e.VP)(t.Uu.REMOVE_PEER_ECL,(0,e.xk)()),T=(0,e.VP)(t.Uu.GET_NEW_ADDRESS_ECL),c=((0,e.VP)(t.Uu.SET_NEW_ADDRESS_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.SAVE_NEW_CHANNEL_ECL,(0,e.xk)())),m=(0,e.VP)(t.Uu.UPDATE_CHANNEL_ECL,(0,e.xk)()),d=(0,e.VP)(t.Uu.CLOSE_CHANNEL_ECL,(0,e.xk)()),C=(0,e.VP)(t.Uu.REMOVE_CHANNEL_ECL,(0,e.xk)()),A=(0,e.VP)(t.Uu.FETCH_PAYMENTS_ECL,(0,e.xk)()),k=(0,e.VP)(t.Uu.SET_PAYMENTS_ECL,(0,e.xk)()),_=(0,e.VP)(t.Uu.GET_QUERY_ROUTES_ECL,(0,e.xk)()),a=(0,e.VP)(t.Uu.SET_QUERY_ROUTES_ECL,(0,e.xk)()),b=(0,e.VP)(t.Uu.SEND_PAYMENT_ECL,(0,e.xk)()),z=(0,e.VP)(t.Uu.SEND_PAYMENT_STATUS_ECL,(0,e.xk)()),N=(0,e.VP)(t.Uu.FETCH_TRANSACTIONS_ECL,(0,e.xk)()),q=(0,e.VP)(t.Uu.SET_TRANSACTIONS_ECL,(0,e.xk)()),pe=(0,e.VP)(t.Uu.SEND_ONCHAIN_FUNDS_ECL,(0,e.xk)()),Xe=((0,e.VP)(t.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.FETCH_INVOICES_ECL,(0,e.xk)())),We=(0,e.VP)(t.Uu.SET_INVOICES_ECL,(0,e.xk)()),oe=(0,e.VP)(t.Uu.CREATE_INVOICE_ECL,(0,e.xk)()),X=(0,e.VP)(t.Uu.ADD_INVOICE_ECL,(0,e.xk)()),se=(0,e.VP)(t.Uu.UPDATE_INVOICE_ECL,(0,e.xk)()),ae=(0,e.VP)(t.Uu.PEER_LOOKUP_ECL,(0,e.xk)()),he=(0,e.VP)(t.Uu.INVOICE_LOOKUP_ECL,(0,e.xk)()),st=((0,e.VP)(t.Uu.SET_LOOKUP_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.UPDATE_CHANNEL_STATE_ECL,(0,e.xk)())),me=(0,e.VP)(t.Uu.UPDATE_RELAYED_PAYMENT_ECL,(0,e.xk)())},3017:(Qe,te,g)=>{"use strict";g.d(te,{B:()=>ne});var e=g(4054),t=g(1413),x=g(7673),D=g(1397),l=g(6977),w=g(6354),f=g(9437),R=g(2462),h=g(4416),S=g(1771),y=g(6439),O=g(5428),I=g(2730),V=g(4438),j=g(1626),Y=g(9640),W=g(3202),Q=g(2571),J=g(8570),ie=g(1188),ee=g(7879),fe=g(177);let ne=(()=>{class Me{constructor(le,T,n,c,m,d,C,A,k){this.actions=le,this.httpClient=T,this.store=n,this.sessionService=c,this.commonService=m,this.logger=d,this.router=C,this.wsService=A,this.location=k,this.CHILD_API_URL=h.H$+"/ecl",this.invoicesPageSettings=h.X8.find(_=>"transactions"===_.pageId)?.tables.find(_=>"invoices"===_.tableId),this.paymentsPageSettings=h.X8.find(_=>"transactions"===_.pageId)?.tables.find(_=>"payments"===_.tableId),this.flgInitialized=!1,this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.rawChannelsList=[],this.unSubs=[new t.B,new t.B,new t.B],this.infoFetchECL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_INFO_ECL),(0,D.Z)(_=>(this.flgInitialized=!1,this.store.dispatch((0,S.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,S.mt)({payload:h.MZ.GET_NODE_INFO})),this.store.dispatch((0,O.uL)({payload:{action:"FetchInfo",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.GETINFO_API).pipe((0,l.Q)(this.actions.pipe((0,e.gp)(h.aU.SET_SELECTED_NODE))),(0,w.T)(a=>(this.logger.info(a),this.initializeRemainingData(a,_.payload.loadPage),this.store.dispatch((0,O.uL)({payload:{action:"FetchInfo",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.GET_NODE_INFO})),{type:h.Uu.SET_INFO_ECL,payload:a||{}})),(0,f.W)(a=>{const b=this.commonService.extractErrorCode(a),z=503===b?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(a);return this.router.navigate(["/error"],{state:{errorCode:b,errorMessage:z}}),this.handleErrorWithoutAlert("FetchInfo",h.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:b,error:z}),(0,x.of)({type:h.aU.VOID})})))))),this.fetchFees=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_FEES_ECL),(0,D.Z)(()=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchFees",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.FEES_API+"/fees").pipe((0,w.T)(_=>(this.logger.info(_),this.store.dispatch((0,O.uL)({payload:{action:"FetchFees",status:h.wn.COMPLETED}})),{type:h.Uu.SET_FEES_ECL,payload:_||{}})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchFees",h.MZ.NO_SPINNER,"Fetching Fees Failed.",_),(0,x.of)({type:h.aU.VOID})))))))),this.fetchPayments=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_PAYMENTS_ECL),(0,D.Z)(_=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchPayments",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.FEES_API+"/payments?count="+_.payload.count+"&skip="+_.payload.skip).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"FetchPayments",status:h.wn.COMPLETED}})),{type:h.Uu.SET_PAYMENTS_ECL,payload:a||{}})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchPayments",h.MZ.NO_SPINNER,"Fetching Payments Failed.",a),(0,x.of)({type:h.aU.VOID})))))))),this.channelsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_CHANNELS_ECL),(0,D.Z)(_=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchChannels",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.CHANNELS_API).pipe((0,w.T)(a=>(this.logger.info(a),this.rawChannelsList=a,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,O.uL)({payload:{action:"FetchChannels",status:h.wn.COMPLETED}})),{type:h.aU.VOID})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchChannels",h.MZ.NO_SPINNER,"Fetching Channels Failed.",a),(0,x.of)({type:h.aU.VOID})))))))),this.fetchOnchainBalance=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_ONCHAIN_BALANCE_ECL),(0,D.Z)(()=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchOnchainBalance",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.ON_CHAIN_API+"/balance"))),(0,w.T)(_=>(this.logger.info(_),this.store.dispatch((0,O.uL)({payload:{action:"FetchOnchainBalance",status:h.wn.COMPLETED}})),{type:h.Uu.SET_ONCHAIN_BALANCE_ECL,payload:_||{}})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchOnchainBalance",h.MZ.NO_SPINNER,"Fetching Onchain Balances Failed.",_),(0,x.of)({type:h.aU.VOID}))))),this.peersFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_PEERS_ECL),(0,D.Z)(()=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchPeers",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.PEERS_API).pipe((0,w.T)(_=>(this.logger.info(_),this.store.dispatch((0,O.uL)({payload:{action:"FetchPeers",status:h.wn.COMPLETED}})),{type:h.Uu.SET_PEERS_ECL,payload:_||[]})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchPeers",h.MZ.NO_SPINNER,"Fetching Peers Failed.",_),(0,x.of)({type:h.aU.VOID})))))))),this.getNewAddress=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.GET_NEW_ADDRESS_ECL),(0,D.Z)(()=>(this.store.dispatch((0,S.mt)({payload:h.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+h.rl.ON_CHAIN_API).pipe((0,w.T)(_=>(this.logger.info(_),this.store.dispatch((0,S.y0)({payload:h.MZ.GENERATE_NEW_ADDRESS})),{type:h.Uu.SET_NEW_ADDRESS_ECL,payload:_})),(0,f.W)(_=>(this.handleErrorWithAlert("GetNewAddress",h.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+h.rl.ON_CHAIN_API,_),(0,x.of)({type:h.aU.VOID})))))))),this.setNewAddress=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SET_NEW_ADDRESS_ECL),(0,w.T)(_=>(this.logger.info(_.payload),_.payload))),{dispatch:!1}),this.saveNewPeer=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SAVE_NEW_PEER_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.CONNECT_PEER})),this.store.dispatch((0,O.uL)({payload:{action:"SaveNewPeer",status:h.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+h.rl.PEERS_API+(_.payload.id.includes("@")?"?uri=":"?nodeId=")+_.payload.id,{}).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"SaveNewPeer",status:h.wn.COMPLETED}})),a=a||[],this.store.dispatch((0,S.y0)({payload:h.MZ.CONNECT_PEER})),this.store.dispatch((0,O.Qj)({payload:a})),{type:h.Uu.NEWLY_ADDED_PEER_ECL,payload:{peer:a.find(b=>b.nodeId===(_.payload.id.includes("@")?_.payload.id.substring(0,_.payload.id.indexOf("@")):_.payload.id))}})),(0,f.W)(a=>(this.handleErrorWithoutAlert("SaveNewPeer",h.MZ.CONNECT_PEER,"Peer Connection Failed.",a),(0,x.of)({type:h.aU.VOID})))))))),this.detachPeer=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.DETACH_PEER_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+h.rl.PEERS_API+"/"+_.payload.nodeId).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,S.y0)({payload:h.MZ.DISCONNECT_PEER})),this.store.dispatch((0,S.UI)({payload:"Disconnecting Peer!"})),{type:h.Uu.REMOVE_PEER_ECL,payload:{nodeId:_.payload.nodeId}})),(0,f.W)(a=>(this.handleErrorWithAlert("DisconnectPeer",h.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+h.rl.PEERS_API+"/"+_.payload.nodeId,a),(0,x.of)({type:h.aU.VOID})))))))),this.openNewChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SAVE_NEW_CHANNEL_ECL),(0,D.Z)(_=>{this.store.dispatch((0,S.mt)({payload:h.MZ.OPEN_CHANNEL})),this.store.dispatch((0,O.uL)({payload:{action:"SaveNewChannel",status:h.wn.INITIATED}}));const a={nodeId:_.payload.nodeId,fundingSatoshis:_.payload.amount,announceChannel:!_.payload.private};return _.payload.feeRate&&_.payload.feeRate>0&&(a.fundingFeerateSatByte=_.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+h.rl.CHANNELS_API,a).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.uL)({payload:{action:"SaveNewChannel",status:h.wn.COMPLETED}})),this.store.dispatch((0,O.Gy)()),this.store.dispatch((0,O.jJ)()),this.store.dispatch((0,S.y0)({payload:h.MZ.OPEN_CHANNEL})),this.store.dispatch((0,S.UI)({payload:"Channel Added Successfully!"})),{type:h.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,f.W)(b=>(this.handleErrorWithoutAlert("SaveNewChannel",h.MZ.OPEN_CHANNEL,"Opening Channel Failed.",b),(0,x.of)({type:h.aU.VOID}))))}))),this.updateChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.UPDATE_CHANNEL_ECL),(0,D.Z)(_=>{this.store.dispatch((0,S.mt)({payload:h.MZ.UPDATE_CHAN_POLICY}));let a="?feeBaseMsat="+_.payload.baseFeeMsat+"&feeProportionalMillionths="+_.payload.feeRate;return a=_.payload.nodeIds?a+"&nodeIds="+_.payload.nodeIds:_.payload.nodeId?a+"&nodeId="+_.payload.nodeId:_.payload.channelIds?a+"&channelIds="+_.payload.channelIds:a+"&channelId="+_.payload.channelId,this.httpClient.post(this.CHILD_API_URL+h.rl.CHANNELS_API+"/updateRelayFee"+a,{}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,S.y0)({payload:h.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,S.UI)(_.payload.nodeIds||_.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:h.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,f.W)(b=>(this.handleErrorWithAlert("UpdateChannels",h.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+h.rl.CHANNELS_API,b),(0,x.of)({type:h.aU.VOID}))))}))),this.closeChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.CLOSE_CHANNEL_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:_.payload.force?h.MZ.FORCE_CLOSE_CHANNEL:h.MZ.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+h.rl.CHANNELS_API+"?channelId="+_.payload.channelId+"&force="+_.payload.force).pipe((0,w.T)(a=>(this.logger.info(a),setTimeout(()=>{this.store.dispatch((0,S.y0)({payload:_.payload.force?h.MZ.FORCE_CLOSE_CHANNEL:h.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,S.UI)({payload:_.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:h.aU.VOID})),(0,f.W)(a=>(this.handleErrorWithAlert("CloseChannel",_.payload.force?h.MZ.FORCE_CLOSE_CHANNEL:h.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+h.rl.CHANNELS_API,a),(0,x.of)({type:h.aU.VOID})))))))),this.queryRoutesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.GET_QUERY_ROUTES_ECL),(0,D.Z)(_=>this.httpClient.get(this.CHILD_API_URL+h.rl.PAYMENTS_API+"/route?nodeId="+_.payload.nodeId+"&amountMsat="+_.payload.amount).pipe((0,w.T)(a=>(this.logger.info(a),{type:h.Uu.SET_QUERY_ROUTES_ECL,payload:a})),(0,f.W)(a=>(this.store.dispatch((0,O.Hm)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",h.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+h.rl.PAYMENTS_API+"/route?nodeId="+_.payload.nodeId+"&amountMsat="+_.payload.amount,a),(0,x.of)({type:h.aU.VOID}))))))),this.setQueryRoutes=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SET_QUERY_ROUTES_ECL),(0,w.T)(_=>_.payload)),{dispatch:!1}),this.sendPayment=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SEND_PAYMENT_ECL),(0,D.Z)(_=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,S.mt)({payload:h.MZ.SEND_PAYMENT})),this.store.dispatch((0,O.uL)({payload:{action:"SendPayment",status:h.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+h.rl.PAYMENTS_API,_.payload).pipe((0,w.T)(a=>(this.logger.info(a),this.latestPaymentRes=a,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:h.aU.VOID})),(0,f.W)(a=>(this.logger.error("Error: "+JSON.stringify(a)),_.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",h.MZ.SEND_PAYMENT,"Send Payment Failed.",a):this.handleErrorWithAlert("SendPayment",h.MZ.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+h.rl.PAYMENTS_API,a),(0,x.of)({type:h.aU.VOID})))))))),this.transactionsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_TRANSACTIONS_ECL),(0,D.Z)(_=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchTransactions",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.ON_CHAIN_API+"/transactions?count="+_.payload.count+"&skip="+_.payload.skip))),(0,w.T)(_=>(this.logger.info(_),this.store.dispatch((0,O.uL)({payload:{action:"FetchTransactions",status:h.wn.COMPLETED}})),{type:h.Uu.SET_TRANSACTIONS_ECL,payload:_||[]})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchTransactions",h.MZ.NO_SPINNER,"Fetching Transactions Failed.",_),(0,x.of)({type:h.aU.VOID}))))),this.SendOnchainFunds=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SEND_ONCHAIN_FUNDS_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.SEND_FUNDS})),this.store.dispatch((0,O.uL)({payload:{action:"SendOnchainFunds",status:h.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+h.rl.ON_CHAIN_API,_.payload).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"SendOnchainFunds",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.SEND_FUNDS})),this.store.dispatch((0,O.jJ)()),{type:h.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,payload:a})),(0,f.W)(a=>(this.handleErrorWithoutAlert("SendOnchainFunds",h.MZ.SEND_FUNDS,"Sending Fund Failed.",a),(0,x.of)({type:h.aU.VOID})))))))),this.createInvoice=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.CREATE_INVOICE_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.CREATE_INVOICE})),this.store.dispatch((0,O.uL)({payload:{action:"CreateInvoice",status:h.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+h.rl.INVOICES_API,_.payload).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"CreateInvoice",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.CREATE_INVOICE})),a.timestamp=Math.round((new Date).getTime()/1e3),a.expiresAt=Math.round(a.timestamp+_.payload.expireIn),a.description=_.payload.description,a.status="unpaid",setTimeout(()=>{this.store.dispatch((0,S.xO)({payload:{data:{invoice:a,newlyAdded:!0,component:y.Z}}}))},200),{type:h.Uu.ADD_INVOICE_ECL,payload:a})),(0,f.W)(a=>(this.handleErrorWithoutAlert("CreateInvoice",h.MZ.CREATE_INVOICE,"Create Invoice Failed.",a),(0,x.of)({type:h.aU.VOID})))))))),this.invoicesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_INVOICES_ECL),(0,D.Z)(_=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchInvoices",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.INVOICES_API+"?count="+_.payload.count+"&skip="+_.payload.skip).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"FetchInvoices",status:h.wn.COMPLETED}})),{type:h.Uu.SET_INVOICES_ECL,payload:a})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchInvoices",h.MZ.NO_SPINNER,"Fetching Invoices Failed.",a),(0,x.of)({type:h.aU.VOID})))))))),this.peerLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.PEER_LOOKUP_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.SEARCHING_NODE})),this.store.dispatch((0,O.uL)({payload:{action:"Lookup",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.NETWORK_API+"/nodes/"+_.payload).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"Lookup",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.SEARCHING_NODE})),{type:h.Uu.SET_LOOKUP_ECL,payload:a})),(0,f.W)(a=>(this.handleErrorWithAlert("Lookup",h.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+h.rl.NETWORK_API+"/nodes/"+_.payload,a),(0,x.of)({type:h.aU.VOID})))))))),this.invoiceLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.INVOICE_LOOKUP_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,O.uL)({payload:{action:"Lookup",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.INVOICES_API+"/"+_.payload).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"Lookup",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,O.Dq)({payload:a})),{type:h.Uu.SET_LOOKUP_ECL,payload:a})),(0,f.W)(a=>(this.handleErrorWithoutAlert("Lookup",h.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",a),this.store.dispatch((0,S.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,x.of)({type:h.aU.VOID})))))))),this.setLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SET_LOOKUP_ECL),(0,w.T)(_=>(this.logger.info(_.payload),_.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_PAGE_SETTINGS_ECL),(0,D.Z)(()=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchPageSettings",status:h.wn.INITIATED}})),this.httpClient.get(h.rl.PAGE_SETTINGS_API).pipe((0,w.T)(_=>(this.logger.info(_),this.store.dispatch((0,O.uL)({payload:{action:"FetchPageSettings",status:h.wn.COMPLETED}})),this.invoicesPageSettings=_&&Object.keys(_).length>0?_.find(a=>"transactions"===a.pageId)?.tables.find(a=>"invoices"===a.tableId):h.X8.find(a=>"transactions"===a.pageId)?.tables.find(a=>"invoices"===a.tableId),this.paymentsPageSettings=_&&Object.keys(_).length>0?_.find(a=>"transactions"===a.pageId)?.tables.find(a=>"payments"===a.tableId):h.X8.find(a=>"transactions"===a.pageId)?.tables.find(a=>"payments"===a.tableId),{type:h.Uu.SET_PAGE_SETTINGS_ECL,payload:_||[]})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchPageSettings",h.MZ.NO_SPINNER,"Fetching Page Settings Failed.",_),(0,x.of)({type:h.aU.VOID})))))))),this.savePageSettingsCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SAVE_PAGE_SETTINGS_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,O.uL)({payload:{action:"SavePageSettings",status:h.wn.INITIATED}})),this.httpClient.post(h.rl.PAGE_SETTINGS_API,_.payload).pipe((0,w.T)(a=>{this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"SavePageSettings",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,S.UI)({payload:"Page Layout Updated Successfully!"}));const b=(a.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId)||h.X8.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId))?.recordsPerPage,z=(a.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId)||h.X8.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId))?.recordsPerPage;return this.invoicesPageSettings&&b!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=b),this.paymentsPageSettings&&z!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=z),{type:h.Uu.SET_PAGE_SETTINGS_ECL,payload:a||[]}}),(0,f.W)(a=>(this.handleErrorWithAlert("SavePageSettings",h.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",h.rl.PAGE_SETTINGS_API,a),(0,x.of)({type:h.aU.VOID})))))))),this.handleSendPaymentStatus=_=>{this.store.dispatch((0,O.uL)({payload:{action:"SendPayment",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.SEND_PAYMENT})),this.store.dispatch((0,O.N4)({payload:this.latestPaymentRes})),this.store.dispatch((0,S.UI)({payload:_}))},this.store.select(I.ru).pipe((0,l.Q)(this.unSubs[0])).subscribe(_=>{_.FetchInfo.status!==h.wn.COMPLETED&&_.FetchInfo.status!==h.wn.ERROR||_.FetchFees.status!==h.wn.COMPLETED&&_.FetchFees.status!==h.wn.ERROR||_.FetchOnchainBalance.status!==h.wn.COMPLETED&&_.FetchOnchainBalance.status!==h.wn.ERROR||_.FetchChannels.status!==h.wn.COMPLETED&&_.FetchChannels.status!==h.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,S.y0)({payload:h.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 a="";if(_)switch(_.type){case h.ck.PAYMENT_SENT:_&&_.id&&this.latestPaymentRes===_.id&&(this.flgReceivedPaymentUpdateFromWS=!0,a="Payment Sent: "+(_.paymentHash?"with payment hash "+_.paymentHash:JSON.stringify(_)),this.handleSendPaymentStatus(a));break;case h.ck.PAYMENT_FAILED:_&&_.id&&this.latestPaymentRes===_.id&&(this.flgReceivedPaymentUpdateFromWS=!0,a="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(a));break;case h.ck.PAYMENT_RECEIVED:this.store.dispatch((0,O.Dq)({payload:_}));break;case h.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,O.yn)({payload:_}));break;case h.ck.CHANNEL_STATE_CHANGED:"NORMAL"===_.currentState||"CLOSED"===_.currentState?(this.rawChannelsList=this.rawChannelsList?.map(b=>(b.channelId===_.channelId&&b.nodeId===_.remoteNodeId&&(b.state=_.currentState),b)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,O.gZ)({payload:_}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(_))}})}setChannelsAndStatusAndBalances(){let le=0,T=0,n=0,c={localBalance:0,remoteBalance:0},m=[];const d=[],C=[],A={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((k,_)=>{k&&("NORMAL"===k.state?(le=(k.toLocal||0)+(k.toRemote||0),T+=k.toLocal||0,n+=k.toRemote||0,k.balancedness=0===le?1:+(1-Math.abs(((k.toLocal||0)-(k.toRemote||0))/le)).toFixed(3),m.push(k),A.active.channels=A.active.channels+1,A.active.capacity=A.active.capacity+(k.toLocal||0)):k.state?.includes("WAIT")||k.state?.includes("CLOSING")||k.state?.includes("SYNCING")?(k.state=k.state?.replace(/_/g," "),d.push(k),A.pending.channels=A.pending.channels+1,A.pending.capacity=A.pending.capacity+(k.toLocal||0)):(k.state=k.state?.replace(/_/g," "),C.push(k),A.inactive.channels=A.inactive.channels+1,A.inactive.capacity=A.inactive.capacity+(k.toLocal||0)))}),c={localBalance:T,remoteBalance:n},m=this.commonService.sortDescByKey(m,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(m)),this.logger.info("Pending Channels: "+JSON.stringify(d)),this.logger.info("Inactive Channels: "+JSON.stringify(C)),this.logger.info("Lightning Balances: "+JSON.stringify(c)),this.logger.info("Channels Status: "+JSON.stringify(A)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:m,pending:d,inactive:C,balances:c,status:A})),this.store.dispatch((0,O.Tp)({payload:m})),this.store.dispatch((0,O.cU)({payload:d})),this.store.dispatch((0,O.I6)({payload:C})),this.store.dispatch((0,O.N8)({payload:c})),this.store.dispatch((0,O.ZE)({payload:A}))}initializeRemainingData(le,T){this.sessionService.setItem("eclUnlocked","true");const n={identity_pubkey:le.nodeId,alias:le.alias,testnet:"testnet"===le.network,chains:le.publicAddresses,uris:le.uris,version:le.version,numberOfPendingChannels:0};this.store.dispatch((0,S.mt)({payload:h.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,S.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"===T||c.includes("?access-key="))&&(c="/ecl/home"),this.router.navigate([c]),this.store.dispatch((0,O.$Q)()),this.store.dispatch((0,O.yp)()),this.store.dispatch((0,O.jJ)()),this.store.dispatch((0,O.Gy)())}handleErrorWithoutAlert(le,T,n,c){this.logger.error("ERROR IN: "+le+"\n"+JSON.stringify(c)),401===c.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,S.Jh)()),this.store.dispatch((0,S.ri)({payload:"Authentication Failed: "+JSON.stringify(c.error)}))):(this.store.dispatch((0,S.y0)({payload:T})),this.store.dispatch((0,O.uL)({payload:{action:le,status:h.wn.ERROR,statusCode:c.status.toString(),message:this.commonService.extractErrorMessage(c,n)}})))}handleErrorWithAlert(le,T,n,c,m){if(this.logger.error(m),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,S.Jh)()),this.store.dispatch((0,S.ri)({payload:"Authentication Failed: "+JSON.stringify(m.error)}));else{this.store.dispatch((0,S.y0)({payload:T}));const d=this.commonService.extractErrorMessage(m);this.store.dispatch((0,S.xO)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:m.status,message:d,URL:c},component:R.f}}})),this.store.dispatch((0,O.uL)({payload:{action:le,status:h.wn.ERROR,statusCode:m.status.toString(),message:d,URL:c}}))}}ngOnDestroy(){this.unSubs.forEach(le=>{le.next(null),le.complete()})}static{this.\u0275fac=function(T){return new(T||Me)(V.KVO(e.En),V.KVO(j.Qq),V.KVO(Y.il),V.KVO(W.Q),V.KVO(Q.h),V.KVO(J.gP),V.KVO(ie.Ix),V.KVO(ee.I),V.KVO(fe.aZ))}}static{this.\u0275prov=V.jDH({token:Me,factory:Me.\u0275fac})}}return Me})()},2730:(Qe,te,g)=>{"use strict";g.d(te,{DW:()=>W,KT:()=>R,Ou:()=>I,b_:()=>l,gN:()=>V,jZ:()=>x,oR:()=>h,os:()=>Y,p3:()=>D,rN:()=>j,ru:()=>f});var e=g(9640);const t=(0,e.UX)("ecl"),x=(0,e.Mz)(t,Q=>({pageSettings:Q.pageSettings,apiCallStatus:Q.apisCallStatus.FetchPageSettings})),D=(0,e.Mz)(t,Q=>Q.information),l=(0,e.Mz)(t,Q=>({information:Q.information,apiCallStatus:Q.apisCallStatus.FetchInfo})),f=((0,e.Mz)(t,Q=>Q.apisCallStatus.FetchInfo),(0,e.Mz)(t,Q=>Q.apisCallStatus)),R=(0,e.Mz)(t,Q=>({payments:Q.payments,apiCallStatus:Q.apisCallStatus.FetchPayments})),h=(0,e.Mz)(t,Q=>({fees:Q.fees,apiCallStatus:Q.apisCallStatus.FetchFees})),I=((0,e.Mz)(t,Q=>({activeChannels:Q.activeChannels,apiCallStatus:Q.apisCallStatus.FetchChannels})),(0,e.Mz)(t,Q=>({pendingChannels:Q.pendingChannels,apiCallStatus:Q.apisCallStatus.FetchChannels})),(0,e.Mz)(t,Q=>({inactiveChannels:Q.inactiveChannels,apiCallStatus:Q.apisCallStatus.FetchChannels})),(0,e.Mz)(t,Q=>({activeChannels:Q.activeChannels,pendingChannels:Q.pendingChannels,inactiveChannels:Q.inactiveChannels,lightningBalance:Q.lightningBalance,channelsStatus:Q.channelsStatus,apiCallStatus:Q.apisCallStatus.FetchChannels}))),V=(0,e.Mz)(t,Q=>({transactions:Q.transactions,apiCallStatus:Q.apisCallStatus.FetchTransactions})),j=(0,e.Mz)(t,Q=>({invoices:Q.invoices,apiCallStatus:Q.apisCallStatus.FetchInvoices})),Y=(0,e.Mz)(t,Q=>({peers:Q.peers,apiCallStatus:Q.apisCallStatus.FetchPeers})),W=(0,e.Mz)(t,Q=>({onchainBalance:Q.onchainBalance,apiCallStatus:Q.apisCallStatus.FetchOnchainBalance}))},6439:(Qe,te,g)=>{"use strict";g.d(te,{Z:()=>oe});var e=g(5351),t=g(5383),x=g(1413),D=g(6977),l=g(4416),w=g(2730),f=g(4438),R=g(8570),h=g(2571),S=g(5416),y=g(9640),O=g(177),I=g(60),V=g(2920),j=g(6038),Y=g(8834),W=g(5596),Q=g(1997),J=g(9183),ie=g(8288),ee=g(9157),fe=g(9587);const ne=X=>({"display-none":X}),Me=X=>({"xs-scroll-y":X}),Ce=(X,se)=>({"mt-2":X,"mt-1":se}),le=()=>[];function T(X,se){if(1&X&&f.nrm(0,"qr-code",29),2&X){const ae=f.XpG();f.Y8G("value",null==ae.invoice?null:ae.invoice.serialized)("size",ae.qrWidth)("errorCorrectionLevel","L")}}function n(X,se){1&X&&(f.j41(0,"span",30),f.EFF(1,"N/A"),f.k0s())}function c(X,se){if(1&X&&f.nrm(0,"qr-code",29),2&X){const ae=f.XpG();f.Y8G("value",null==ae.invoice?null:ae.invoice.serialized)("size",ae.qrWidth)("errorCorrectionLevel","L")}}function m(X,se){1&X&&(f.j41(0,"span",31),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function d(X,se){1&X&&f.nrm(0,"mat-divider",32),2&X&&f.Y8G("inset",!0)}function C(X,se){1&X&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function A(X,se){1&X&&f.nrm(0,"span",38)}function k(X,se){if(1&X&&(f.j41(0,"div",34)(1,"div",35)(2,"span",36),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,A,1,0,"span",37),f.k0s()()),2&X){const ae=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,null==ae.invoice?null:ae.invoice.amountSettled)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,le).constructor(35))}}function _(X,se){if(1&X&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&X){const ae=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,null==ae.invoice?null:ae.invoice.amountSettled)," Sats")}}function a(X,se){if(1&X&&(f.qex(0),f.DNE(1,k,6,5,"div",33)(2,_,3,3,"div",20),f.bVm()),2&X){const ae=f.XpG();f.R7$(),f.Y8G("ngIf",ae.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!ae.flgInvoicePaid)}}function b(X,se){1&X&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function z(X,se){1&X&&f.nrm(0,"mat-spinner",40),2&X&&f.Y8G("diameter",20)}function N(X,se){if(1&X&&(f.qex(0),f.DNE(1,b,2,0,"span",20)(2,z,1,1,"mat-spinner",39),f.bVm()),2&X){const ae=f.XpG();f.R7$(),f.Y8G("ngIf","unpaid"!==(null==ae.invoice?null:ae.invoice.status)||!ae.flgVersionCompatible),f.R7$(),f.Y8G("ngIf","unpaid"===(null==ae.invoice?null:ae.invoice.status)&&ae.flgVersionCompatible)}}function q(X,se){if(1&X&&(f.j41(0,"div"),f.nrm(1,"mat-divider",21),f.j41(2,"div",16)(3,"div",41)(4,"h4",18),f.EFF(5,"Date Expiry"),f.k0s(),f.j41(6,"span",19),f.EFF(7),f.nI1(8,"date"),f.k0s()(),f.j41(9,"div",42)(10,"h4",18),f.EFF(11,"Date Settled"),f.k0s(),f.j41(12,"span",22),f.EFF(13),f.nI1(14,"date"),f.k0s()()(),f.nrm(15,"mat-divider",21),f.j41(16,"div",16)(17,"div",23)(18,"h4",18),f.EFF(19,"Payment Hash"),f.k0s(),f.j41(20,"span",22),f.EFF(21),f.k0s()()(),f.nrm(22,"mat-divider",21),f.j41(23,"div",16)(24,"div",23)(25,"h4",18),f.EFF(26,"Node ID"),f.k0s(),f.j41(27,"span",22),f.EFF(28),f.k0s()()(),f.nrm(29,"mat-divider",21),f.k0s()),2&X){const ae=f.XpG();f.R7$(7),f.JRh(f.i5U(8,4,1e3*(null==ae.invoice?null:ae.invoice.expiresAt),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.i5U(14,7,1e3*(null==ae.invoice?null:ae.invoice.receivedAt),"dd/MMM/y HH:mm")),f.R7$(8),f.JRh(null==ae.invoice?null:ae.invoice.paymentHash),f.R7$(7),f.JRh(null==ae.invoice?null:ae.invoice.nodeId)}}function pe(X,se){1&X&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function ze(X,se){1&X&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function Xe(X,se){if(1&X){const ae=f.RV6();f.j41(0,"button",43),f.bIt("copied",function(Ie){f.eBV(ae);const st=f.XpG();return f.Njj(st.onCopyPayment(Ie))}),f.EFF(1,"Copy Invoice"),f.k0s()}if(2&X){const ae=f.XpG();f.Y8G("payload",null==ae.invoice?null:ae.invoice.serialized)}}function We(X,se){if(1&X){const ae=f.RV6();f.j41(0,"button",44),f.bIt("click",function(){f.eBV(ae);const Ie=f.XpG();return f.Njj(Ie.onClose())}),f.EFF(1,"OK"),f.k0s()}}let oe=(()=>{class X{constructor(ae,he,Ie,st,me,Ee){this.dialogRef=ae,this.data=he,this.logger=Ie,this.commonService=st,this.snackBar=me,this.store=Ee,this.faReceipt=t.Mf0,this.faExclamationTriangle=t.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 x.B,new x.B,new x.B,new x.B,new x.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(w.p3).pipe((0,D.Q)(this.unSubs[0])).subscribe(ae=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(ae.version,"0.5.0")}),this.store.select(w.rN).pipe((0,D.Q)(this.unSubs[1])).subscribe(ae=>{const he=this.invoice.status,st=(ae.invoices&&ae.invoices.length>0?ae.invoices:[])?.find(me=>me.paymentHash===this.invoice.paymentHash)||null;st&&(this.invoice=st),he!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(ae)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(ae){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+ae)}ngOnDestroy(){this.unSubs.forEach(ae=>{ae.next(null),ae.complete()})}static{this.\u0275fac=function(he){return new(he||X)(f.rXU(e.CP),f.rXU(e.Vh),f.rXU(R.gP),f.rXU(h.h),f.rXU(S.UG),f.rXU(y.il))}}static{this.\u0275cmp=f.VBU({type:X,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(he,Ie){if(1&he){const st=f.RV6();f.j41(0,"div",1)(1,"div",2),f.DNE(2,T,1,3,"qr-code",3)(3,n,2,0,"span",4),f.k0s(),f.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),f.nrm(7,"fa-icon",8),f.j41(8,"span",9),f.EFF(9),f.k0s()(),f.j41(10,"button",10),f.bIt("click",function(){return f.eBV(st),f.Njj(Ie.onClose())}),f.EFF(11,"X"),f.k0s()(),f.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),f.DNE(15,c,1,3,"qr-code",3)(16,m,2,0,"span",14),f.k0s(),f.DNE(17,d,1,1,"mat-divider",15),f.j41(18,"div",16)(19,"div",17)(20,"h4",18),f.EFF(21,"Amount Requested"),f.k0s(),f.j41(22,"span",19),f.EFF(23),f.nI1(24,"number"),f.DNE(25,C,2,0,"ng-container",20),f.k0s()(),f.j41(26,"div",17)(27,"h4",18),f.EFF(28,"Amount Settled"),f.k0s(),f.j41(29,"span",19),f.DNE(30,a,3,2,"ng-container",20)(31,N,3,2,"ng-container",20),f.k0s()()(),f.nrm(32,"mat-divider",21),f.j41(33,"div",16)(34,"div",17)(35,"h4",18),f.EFF(36,"Date Created"),f.k0s(),f.j41(37,"span",22),f.EFF(38),f.nI1(39,"date"),f.k0s()(),f.j41(40,"div",17)(41,"h4",18),f.EFF(42,"Status"),f.k0s(),f.j41(43,"span",22),f.EFF(44),f.nI1(45,"titlecase"),f.k0s()()(),f.nrm(46,"mat-divider",21),f.j41(47,"div",16)(48,"div",23)(49,"h4",18),f.EFF(50,"Description"),f.k0s(),f.j41(51,"span",19),f.EFF(52),f.k0s()()(),f.nrm(53,"mat-divider",21),f.j41(54,"div",16)(55,"div",23)(56,"h4",18),f.EFF(57,"Invoice"),f.k0s(),f.j41(58,"span",22),f.EFF(59),f.k0s()()(),f.DNE(60,q,30,10,"div",20),f.j41(61,"div",24)(62,"button",25),f.bIt("click",function(){return f.eBV(st),f.Njj(Ie.onShowAdvanced())}),f.DNE(63,pe,2,0,"p",26)(64,ze,2,0,"ng-template",null,0,f.C5r),f.k0s(),f.DNE(66,Xe,2,1,"button",27)(67,We,2,0,"button",28),f.k0s()()()()()}if(2&he){const st=f.sdS(65);f.R7$(),f.Y8G("fxLayoutAlign",null!=Ie.invoice&&Ie.invoice.serialized&&""!==(null==Ie.invoice?null:Ie.invoice.serialized)?"center start":"center center")("ngClass",f.eq3(33,ne,Ie.screenSize===Ie.screenSizeEnum.XS||Ie.screenSize===Ie.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Ie.invoice?null:Ie.invoice.serialized)&&""!==(null==Ie.invoice?null:Ie.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.serialized)||""===(null==Ie.invoice?null:Ie.invoice.serialized)),f.R7$(4),f.Y8G("icon",Ie.faReceipt),f.R7$(2),f.JRh(Ie.screenSize===Ie.screenSizeEnum.XS?Ie.newlyAdded?"Created":"Invoice":Ie.newlyAdded?"Invoice Created":"Invoice Information"),f.R7$(3),f.Y8G("ngClass",f.eq3(35,Me,Ie.screenSize===Ie.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=Ie.invoice&&Ie.invoice.serialized&&""!==(null==Ie.invoice?null:Ie.invoice.serialized)?"center start":"center center")("ngClass",f.eq3(37,ne,Ie.screenSize!==Ie.screenSizeEnum.XS&&Ie.screenSize!==Ie.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Ie.invoice?null:Ie.invoice.serialized)&&""!==(null==Ie.invoice?null:Ie.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.serialized)||""===(null==Ie.invoice?null:Ie.invoice.serialized)),f.R7$(),f.Y8G("ngIf",Ie.screenSize===Ie.screenSizeEnum.XS||Ie.screenSize===Ie.screenSizeEnum.SM),f.R7$(6),f.SpI("",f.bMT(24,26,(null==Ie.invoice?null:Ie.invoice.amount)||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.amount)||"0"===(null==Ie.invoice?null:Ie.invoice.amount)),f.R7$(5),f.Y8G("ngIf",null==Ie.invoice?null:Ie.invoice.amountSettled),f.R7$(),f.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.amountSettled)),f.R7$(7),f.JRh(f.i5U(39,28,1e3*(null==Ie.invoice?null:Ie.invoice.timestamp),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.bMT(45,31,null==Ie.invoice?null:Ie.invoice.status)),f.R7$(8),f.JRh((null==Ie.invoice?null:Ie.invoice.description)||"-"),f.R7$(7),f.JRh((null==Ie.invoice?null:Ie.invoice.serialized)||"N/A"),f.R7$(),f.Y8G("ngIf",Ie.showAdvanced),f.R7$(),f.Y8G("ngClass",f.l_i(39,Ce,!Ie.showAdvanced,Ie.showAdvanced)),f.R7$(2),f.Y8G("ngIf",!Ie.showAdvanced)("ngIfElse",st),f.R7$(3),f.Y8G("ngIf",(null==Ie.invoice?null:Ie.invoice.serialized)&&""!==(null==Ie.invoice?null:Ie.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.serialized)||""===(null==Ie.invoice?null:Ie.invoice.serialized))}},dependencies:[O.YU,O.Sq,O.bT,I.aY,V.DJ,V.sA,V.UI,j.PW,Y.$z,W.m2,W.MM,Q.q,J.LG,ie.Um,ee.U,fe.N,O.QX,O.PV,O.vh]})}}return X})()},190:(Qe,te,g)=>{"use strict";g.d(te,{$6:()=>oe,$J:()=>q,$Q:()=>le,As:()=>he,Br:()=>h,CK:()=>me,DI:()=>ne,DY:()=>fe,Do:()=>We,Dq:()=>X,Fd:()=>ue,GZ:()=>je,Gy:()=>y,H2:()=>a,Hm:()=>It,J9:()=>Ce,Jx:()=>J,L:()=>b,Lf:()=>ze,NS:()=>f,O8:()=>st,Qj:()=>O,SM:()=>Ie,Sn:()=>R,T4:()=>Ae,Uj:()=>Ee,Uo:()=>ee,VK:()=>W,WE:()=>$e,X9:()=>w,XT:()=>dt,Yi:()=>Nt,Zi:()=>Y,_$:()=>se,aB:()=>ve,ar:()=>n,b1:()=>Tt,cR:()=>_,cU:()=>c,dv:()=>T,e8:()=>x,ed:()=>j,fy:()=>C,ij:()=>qt,jk:()=>yt,kv:()=>et,lg:()=>l,mh:()=>ae,oX:()=>we,p1:()=>D,pL:()=>m,sq:()=>I,t0:()=>Ct,t5:()=>pe,tG:()=>Qt,tf:()=>Me,uK:()=>Je,vL:()=>A,w0:()=>k,x1:()=>S,yp:()=>ie,z2:()=>d,zU:()=>nt});var e=g(9640),t=g(4416);const x=(0,e.VP)(t.QP.UPDATE_API_CALL_STATUS_LND,(0,e.xk)()),D=(0,e.VP)(t.QP.RESET_LND_STORE),l=(0,e.VP)(t.QP.FETCH_PAGE_SETTINGS_LND),w=(0,e.VP)(t.QP.UPDATE_SELECTED_NODE_OPTIONS),f=(0,e.VP)(t.QP.SET_PAGE_SETTINGS_LND,(0,e.xk)()),R=(0,e.VP)(t.QP.SAVE_PAGE_SETTINGS_LND,(0,e.xk)()),h=(0,e.VP)(t.QP.FETCH_INFO_LND,(0,e.xk)()),S=(0,e.VP)(t.QP.SET_INFO_LND,(0,e.xk)()),y=(0,e.VP)(t.QP.FETCH_PEERS_LND),O=(0,e.VP)(t.QP.SET_PEERS_LND,(0,e.xk)()),I=(0,e.VP)(t.QP.SAVE_NEW_PEER_LND,(0,e.xk)()),j=((0,e.VP)(t.QP.NEWLY_ADDED_PEER_LND,(0,e.xk)()),(0,e.VP)(t.QP.DETACH_PEER_LND,(0,e.xk)())),Y=(0,e.VP)(t.QP.REMOVE_PEER_LND,(0,e.xk)()),W=(0,e.VP)(t.QP.SAVE_NEW_INVOICE_LND,(0,e.xk)()),J=((0,e.VP)(t.QP.NEWLY_SAVED_INVOICE_LND,(0,e.xk)()),(0,e.VP)(t.QP.ADD_INVOICE_LND,(0,e.xk)())),ie=(0,e.VP)(t.QP.FETCH_FEES_LND),ee=(0,e.VP)(t.QP.SET_FEES_LND,(0,e.xk)()),fe=(0,e.VP)(t.QP.FETCH_BLOCKCHAIN_BALANCE_LND),ne=(0,e.VP)(t.QP.SET_BLOCKCHAIN_BALANCE_LND,(0,e.xk)()),Me=(0,e.VP)(t.QP.FETCH_NETWORK_LND),Ce=(0,e.VP)(t.QP.SET_NETWORK_LND,(0,e.xk)()),le=(0,e.VP)(t.QP.FETCH_CHANNELS_LND),T=(0,e.VP)(t.QP.SET_CHANNELS_LND,(0,e.xk)()),n=(0,e.VP)(t.QP.FETCH_PENDING_CHANNELS_LND),c=(0,e.VP)(t.QP.SET_PENDING_CHANNELS_LND,(0,e.xk)()),m=(0,e.VP)(t.QP.FETCH_CLOSED_CHANNELS_LND),d=(0,e.VP)(t.QP.SET_CLOSED_CHANNELS_LND,(0,e.xk)()),C=(0,e.VP)(t.QP.UPDATE_CHANNEL_LND,(0,e.xk)()),A=(0,e.VP)(t.QP.SAVE_NEW_CHANNEL_LND,(0,e.xk)()),k=(0,e.VP)(t.QP.CLOSE_CHANNEL_LND,(0,e.xk)()),_=(0,e.VP)(t.QP.REMOVE_CHANNEL_LND,(0,e.xk)()),a=(0,e.VP)(t.QP.BACKUP_CHANNELS_LND,(0,e.xk)()),b=(0,e.VP)(t.QP.VERIFY_CHANNEL_LND,(0,e.xk)()),q=((0,e.VP)(t.QP.BACKUP_CHANNELS_RES_LND,(0,e.xk)()),(0,e.VP)(t.QP.VERIFY_CHANNEL_RES_LND,(0,e.xk)()),(0,e.VP)(t.QP.RESTORE_CHANNELS_LIST_LND)),pe=(0,e.VP)(t.QP.SET_RESTORE_CHANNELS_LIST_LND,(0,e.xk)()),ze=(0,e.VP)(t.QP.RESTORE_CHANNELS_LND,(0,e.xk)()),We=((0,e.VP)(t.QP.RESTORE_CHANNELS_RES_LND,(0,e.xk)()),(0,e.VP)(t.QP.FETCH_INVOICES_LND,(0,e.xk)())),oe=(0,e.VP)(t.QP.SET_INVOICES_LND,(0,e.xk)()),X=(0,e.VP)(t.QP.UPDATE_INVOICE_LND,(0,e.xk)()),se=(0,e.VP)(t.QP.UPDATE_PAYMENT_LND,(0,e.xk)()),ae=(0,e.VP)(t.QP.FETCH_TRANSACTIONS_LND),he=(0,e.VP)(t.QP.SET_TRANSACTIONS_LND,(0,e.xk)()),Ie=(0,e.VP)(t.QP.FETCH_UTXOS_LND),st=(0,e.VP)(t.QP.SET_UTXOS_LND,(0,e.xk)()),me=(0,e.VP)(t.QP.FETCH_PAYMENTS_LND,(0,e.xk)()),Ee=(0,e.VP)(t.QP.SET_PAYMENTS_LND,(0,e.xk)()),ue=(0,e.VP)(t.QP.SEND_PAYMENT_LND,(0,e.xk)()),Ct=((0,e.VP)(t.QP.SEND_PAYMENT_STATUS_LND,(0,e.xk)()),(0,e.VP)(t.QP.FETCH_GRAPH_NODE_LND,(0,e.xk)())),dt=((0,e.VP)(t.QP.SET_GRAPH_NODE_LND,(0,e.xk)()),(0,e.VP)(t.QP.GET_NEW_ADDRESS_LND,(0,e.xk)())),ve=((0,e.VP)(t.QP.SET_NEW_ADDRESS_LND,(0,e.xk)()),(0,e.VP)(t.QP.SET_CHANNEL_TRANSACTION_LND,(0,e.xk)())),we=((0,e.VP)(t.QP.SET_CHANNEL_TRANSACTION_RES_LND,(0,e.xk)()),(0,e.VP)(t.QP.GEN_SEED_LND,(0,e.xk)())),je=((0,e.VP)(t.QP.GEN_SEED_RESPONSE_LND,(0,e.xk)()),(0,e.VP)(t.QP.INIT_WALLET_LND,(0,e.xk)())),$e=((0,e.VP)(t.QP.INIT_WALLET_RESPONSE_LND,(0,e.xk)()),(0,e.VP)(t.QP.UNLOCK_WALLET_LND,(0,e.xk)())),nt=(0,e.VP)(t.QP.PEER_LOOKUP_LND,(0,e.xk)()),qt=(0,e.VP)(t.QP.CHANNEL_LOOKUP_LND,(0,e.xk)()),Nt=(0,e.VP)(t.QP.INVOICE_LOOKUP_LND,(0,e.xk)()),yt=(0,e.VP)(t.QP.PAYMENT_LOOKUP_LND,(0,e.xk)()),Je=((0,e.VP)(t.QP.SET_LOOKUP_LND,(0,e.xk)()),(0,e.VP)(t.QP.GET_FORWARDING_HISTORY_LND,(0,e.xk)())),et=(0,e.VP)(t.QP.SET_FORWARDING_HISTORY_LND,(0,e.xk)()),Ae=(0,e.VP)(t.QP.GET_QUERY_ROUTES_LND,(0,e.xk)()),It=(0,e.VP)(t.QP.SET_QUERY_ROUTES_LND,(0,e.xk)()),Qt=(0,e.VP)(t.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),Tt=(0,e.VP)(t.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,e.xk)())},9579:(Qe,te,g)=>{"use strict";g.d(te,{L:()=>Ce});var e=g(4054),t=g(1413),x=g(7673),D=g(1397),l=g(6977),w=g(6354),f=g(9437),R=g(3993),h=g(6391),S=g(2462),y=g(4416),O=g(1771),I=g(190),V=g(3536),j=g(4438),Y=g(1626),W=g(9640),Q=g(8570),J=g(2571),ie=g(3202),ee=g(5351),fe=g(1188),ne=g(7879),Me=g(177);let Ce=(()=>{class le{constructor(n,c,m,d,C,A,k,_,a,b){this.actions=n,this.httpClient=c,this.store=m,this.logger=d,this.commonService=C,this.sessionService=A,this.dialog=k,this.router=_,this.wsService=a,this.location=b,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 t.B,new t.B],this.infoFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_INFO_LND),(0,D.Z)(z=>(this.flgInitialized=!1,this.store.dispatch((0,O.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,O.Jh)()),this.store.dispatch((0,O.mt)({payload:y.MZ.GET_NODE_INFO})),this.store.dispatch((0,I.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,e.gp)(y.aU.SET_SELECTED_NODE))),(0,w.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,I.e8)({payload:{action:"FetchInfo",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.Jh)()),this.store.dispatch((0,O.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,I.e8)({payload:{action:"FetchInfo",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.Jh)()),{type:y.QP.SET_INFO_LND,payload:N||{}}):(this.store.dispatch((0,I.e8)({payload:{action:"FetchInfo",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.Jh)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:y.QP.SET_INFO_LND,payload:{}}))),(0,f.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,I.Br)({payload:{loadPage:"HOME"}}))},2e3);else{const q=this.commonService.extractErrorCode(N),pe=503===q?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(N);this.router.navigate(["/error"],{state:{errorCode:q,errorMessage:pe}}),this.handleErrorWithoutAlert("FetchInfo",y.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:q,error:pe})}return(0,x.of)({type:y.aU.VOID})})))))),this.peersFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_PEERS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchPeers",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PEERS_API).pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchPeers",status:y.wn.COMPLETED}})),{type:y.QP.SET_PEERS_LND,payload:z||[]})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchPeers",y.MZ.NO_SPINNER,"Fetching Peers Failed.",z),(0,x.of)({type:y.aU.VOID})))))))),this.saveNewPeer=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SAVE_NEW_PEER_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.CONNECT_PEER})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"SaveNewPeer",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:y.MZ.CONNECT_PEER})),this.store.dispatch((0,I.Qj)({payload:N||[]})),{type:y.QP.NEWLY_ADDED_PEER_LND,payload:{peer:N[0]}})),(0,f.W)(N=>(this.handleErrorWithoutAlert("SaveNewPeer",y.MZ.CONNECT_PEER,"Peer Connection Failed.",N),(0,x.of)({type:y.aU.VOID})))))))),this.detachPeer=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.DETACH_PEER_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+y.rl.PEERS_API+"/"+z.payload.pubkey).pipe((0,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.DISCONNECT_PEER})),this.store.dispatch((0,O.UI)({payload:"Peer Disconnected Successfully."})),{type:y.QP.REMOVE_PEER_LND,payload:{pubkey:z.payload.pubkey}})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.saveNewInvoice=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SAVE_NEW_INVOICE_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"SaveNewInvoice",status:y.wn.COMPLETED}})),this.store.dispatch((0,I.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,O.xO)({payload:{data:{invoice:N,newlyAdded:!0,component:h.H}}}))},200),{type:y.aU.CLOSE_SPINNER,payload:z.payload.uiMessage}):{type:y.QP.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:N.payment_request}})),(0,f.W)(N=>(this.handleErrorWithoutAlert("SaveNewInvoice",z.payload.uiMessage,"Add Invoice Failed.",N),(0,x.of)({type:y.aU.VOID})))))))),this.openNewChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SAVE_NEW_CHANNEL_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.OPEN_CHANNEL})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"SaveNewChannel",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:y.MZ.OPEN_CHANNEL})),this.store.dispatch((0,I.DY)()),this.store.dispatch((0,I.$Q)()),this.store.dispatch((0,I.H2)({payload:{uiMessage:y.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:y.QP.FETCH_PENDING_CHANNELS_LND})),(0,f.W)(N=>(this.handleErrorWithoutAlert("SaveNewChannel",y.MZ.OPEN_CHANNEL,"Opening Channel Failed.",N),(0,x.of)({type:y.aU.VOID})))))))),this.updateChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.UPDATE_CHANNEL_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,O.UI)("all"===z.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:y.QP.FETCH_CHANNELS_LND})),(0,f.W)(N=>(this.handleErrorWithAlert("UpdateChannels",y.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+y.rl.CHANNELS_API+"/chanPolicy",N),(0,x.of)({type:y.aU.VOID})))))))),this.closeChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.CLOSE_CHANNEL_LND),(0,D.Z)(z=>{this.store.dispatch((0,O.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,w.T)(q=>(this.logger.info(q),this.store.dispatch((0,O.y0)({payload:z.payload.forcibly?y.MZ.FORCE_CLOSE_CHANNEL:y.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,I.$Q)()),this.store.dispatch((0,I.ar)()),this.store.dispatch((0,I.H2)({payload:{uiMessage:y.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:q.message}})),{type:y.aU.VOID})),(0,f.W)(q=>(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,q),(0,x.of)({type:y.aU.VOID}))))}))),this.backupChannels=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.BACKUP_CHANNELS_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"BackupChannels",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:z.payload.uiMessage})),this.store.dispatch((0,O.UI)({payload:z.payload.showMessage+" "+N.message})),{type:y.QP.BACKUP_CHANNELS_RES_LND,payload:N.message})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.verifyChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.VERIFY_CHANNEL_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"VerifyChannel",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:y.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,O.UI)({payload:N.message})),{type:y.QP.VERIFY_CHANNEL_RES_LND,payload:N.message})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.restoreChannels=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.RESTORE_CHANNELS_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"RestoreChannels",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:y.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,O.UI)({payload:N.message})),this.store.dispatch((0,I.t5)({payload:N.list})),{type:y.QP.RESTORE_CHANNELS_RES_LND,payload:N.message})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.fetchFees=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_FEES_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchFees",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.FEES_API))),(0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchFees",status:y.wn.COMPLETED}})),z.forwarding_events_history&&(this.store.dispatch((0,I.kv)({payload:z.forwarding_events_history})),delete z.forwarding_events_history),{type:y.QP.SET_FEES_LND,payload:z||{}})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchFees",y.MZ.NO_SPINNER,"Fetching Fees Failed.",z),(0,x.of)({type:y.aU.VOID}))))),this.balanceBlockchainFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_BLOCKCHAIN_BALANCE_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchBalance",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.BALANCE_API))),(0,w.T)(z=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchBalance",status:y.wn.COMPLETED}})),this.logger.info(z),{type:y.QP.SET_BLOCKCHAIN_BALANCE_LND,payload:z||{total_balance:""}})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchBalance",y.MZ.NO_SPINNER,"Fetching Blockchain Balance Failed.",z),(0,x.of)({type:y.aU.VOID}))))),this.networkInfoFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_NETWORK_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchNetwork",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.NETWORK_API+"/info"))),(0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchNetwork",status:y.wn.COMPLETED}})),{type:y.QP.SET_NETWORK_LND,payload:z||{}})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchNetwork",y.MZ.NO_SPINNER,"Fetching Network Failed.",z),(0,x.of)({type:y.aU.VOID}))))),this.channelsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_CHANNELS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_API).pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchChannels",status:y.wn.COMPLETED}})),{type:y.QP.SET_CHANNELS_LND,payload:z.channels||[]})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchChannels",y.MZ.NO_SPINNER,"Fetching Channels Failed.",z),(0,x.of)({type:y.aU.VOID})))))))),this.channelsPendingFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_PENDING_CHANNELS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchPendingChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_API+"/pending").pipe((0,w.T)(z=>{this.logger.info(z),this.store.dispatch((0,I.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(q=>{N.closing.limbo_balance=+N.closing.limbo_balance+(q.channel.local_balance?+q.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(q=>{N.force_closing.limbo_balance=+N.force_closing.limbo_balance+(q.channel.local_balance?+q.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(q=>{N.open.limbo_balance=+N.open.limbo_balance+(q.channel.local_balance?+q.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(q=>{N.waiting_close.limbo_balance=+N.waiting_close.limbo_balance+(q.channel.local_balance?+q.channel.local_balance:0)}))),{type:y.QP.SET_PENDING_CHANNELS_LND,payload:z?{pendingChannels:z,pendingChannelsSummary:N}:{pendingChannels:{},pendingChannelsSummary:N}}}),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchPendingChannels",y.MZ.NO_SPINNER,"Fetching Pending Channels Failed.",z),(0,x.of)({type:y.aU.VOID})))))))),this.channelsClosedFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_CLOSED_CHANNELS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchClosedChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_API+"/closed").pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchClosedChannels",status:y.wn.COMPLETED}})),{type:y.QP.SET_CLOSED_CHANNELS_LND,payload:z.channels||[]})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchClosedChannels",y.MZ.NO_SPINNER,"Fetching Closed Channels Failed.",z),(0,x.of)({type:y.aU.VOID})))))))),this.invoicesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_INVOICES_LND),(0,D.Z)(z=>(this.store.dispatch((0,I.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,w.T)(ze=>(this.logger.info(ze),this.store.dispatch((0,I.e8)({payload:{action:"FetchInvoices",status:y.wn.COMPLETED}})),z.payload.reversed&&!z.payload.index_offset&&(ze.total_invoices=+(ze.last_index_offset||0)),{type:y.QP.SET_INVOICES_LND,payload:ze})),(0,f.W)(ze=>(this.handleErrorWithoutAlert("FetchInvoices",y.MZ.NO_SPINNER,"Fetching Invoices Failed.",ze),(0,x.of)({type:y.aU.VOID})))))))),this.transactionsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_TRANSACTIONS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchTransactions",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.TRANSACTIONS_API))),(0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchTransactions",status:y.wn.COMPLETED}})),{type:y.QP.SET_TRANSACTIONS_LND,payload:z||[]})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchTransactions",y.MZ.NO_SPINNER,"Fetching Transactions Failed.",z),(0,x.of)({type:y.aU.VOID}))))),this.utxosFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_UTXOS_LND),(0,R.E)(this.store.select(V.pI)),(0,D.Z)(([z,N])=>(this.store.dispatch((0,I.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,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchUTXOs",status:y.wn.COMPLETED}})),{type:y.QP.SET_UTXOS_LND,payload:z||[]})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchUTXOs",y.MZ.NO_SPINNER,"Fetching UTXOs Failed.",z),(0,x.of)({type:y.aU.VOID}))))),this.paymentsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_PAYMENTS_LND),(0,D.Z)(z=>(this.store.dispatch((0,I.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,w.T)(ze=>(this.logger.info(ze),this.store.dispatch((0,I.e8)({payload:{action:"FetchPayments",status:y.wn.COMPLETED}})),this.commonService.sortByKey(ze.payments||[],this.paymentsPageSettings?.sortBy||"creation_date","number",this.paymentsPageSettings?.sortOrder),{type:y.QP.SET_PAYMENTS_LND,payload:ze})),(0,f.W)(ze=>(this.handleErrorWithoutAlert("FetchPayments",y.MZ.NO_SPINNER,"Fetching Payments Failed.",ze),(0,x.of)({type:y.QP.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SEND_PAYMENT_LND),(0,D.Z)(z=>{this.store.dispatch((0,O.mt)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.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,w.T)(q=>{if(this.logger.info(q),this.store.dispatch((0,O.y0)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.e8)({payload:{action:"SendPayment",status:y.wn.COMPLETED}})),q.payment_error)return z.payload.allow_self_payment?(this.store.dispatch((0,I.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),{type:y.QP.SEND_PAYMENT_STATUS_LND,payload:q}):(z.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed.",q.payment_error):this.handleErrorWithAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+y.rl.CHANNELS_API+"/transactions",q.payment_error),{type:y.aU.VOID});if(this.store.dispatch((0,O.y0)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.e8)({payload:{action:"SendPayment",status:y.wn.COMPLETED}})),this.store.dispatch((0,I.$Q)()),this.store.dispatch((0,I.CK)({payload:{max_payments:this.paymentsPageSettings?.recordsPerPage,reversed:!0}})),z.payload.allow_self_payment)this.store.dispatch((0,I.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}));else{let pe="Payment Sent Successfully.";q.payment_route&&q.payment_route.total_fees_msat&&(pe="Payment sent successfully with the total fee "+q.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,O.UI)({payload:pe}))}return{type:y.QP.SEND_PAYMENT_STATUS_LND,payload:q}}),(0,f.W)(q=>(this.logger.error("Error: "+JSON.stringify(q)),z.payload.allow_self_payment?(this.handleErrorWithoutAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed.",q),this.store.dispatch((0,I.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),(0,x.of)({type:y.QP.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(q)}})):(z.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed.",q):this.handleErrorWithAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+y.rl.CHANNELS_API+"/transactions",q),(0,x.of)({type:y.aU.VOID})))))}))),this.graphNodeFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_GRAPH_NODE_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,I.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,f.W)(N=>(this.handleErrorWithoutAlert("FetchGraphNode",y.MZ.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",N),(0,x.of)({type:y.aU.VOID})))))))),this.setGraphNode=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_GRAPH_NODE_LND),(0,w.T)(z=>(this.logger.info(z.payload),z.payload))),{dispatch:!1}),this.getNewAddress=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GET_NEW_ADDRESS_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.GENERATE_NEW_ADDRESS})),{type:y.QP.SET_NEW_ADDRESS_LND,payload:N&&N.address?N.address:{}})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.setNewAddress=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_NEW_ADDRESS_LND),(0,w.T)(z=>(this.logger.info(z.payload),z.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_CHANNEL_TRANSACTION_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.SEND_FUNDS})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"SetChannelTransaction",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:y.MZ.SEND_FUNDS})),this.store.dispatch((0,I.mh)()),this.store.dispatch((0,I.DY)()),this.store.dispatch((0,I.$Q)()),{type:y.QP.SET_CHANNEL_TRANSACTION_RES_LND,payload:N})),(0,f.W)(N=>(this.handleErrorWithoutAlert("SetChannelTransaction",y.MZ.SEND_FUNDS,"Sending Fund Failed.",N),(0,x.of)({type:y.aU.VOID})))))))),this.fetchForwardingHistory=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GET_FORWARDING_HISTORY_LND),(0,D.Z)(z=>(this.store.dispatch((0,I.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,w.T)(q=>(this.logger.info(q),this.store.dispatch((0,I.e8)({payload:{action:"FetchForwardingHistory",status:y.wn.COMPLETED}})),{type:y.QP.SET_FORWARDING_HISTORY_LND,payload:q})),(0,f.W)(q=>(this.handleErrorWithAlert("FetchForwardingHistory",y.MZ.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+y.rl.SWITCH_API,q),(0,x.of)({type:y.aU.VOID})))))))),this.queryRoutesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GET_QUERY_ROUTES_LND),(0,D.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,w.T)(q=>(this.logger.info(q),{type:y.QP.SET_QUERY_ROUTES_LND,payload:q})),(0,f.W)(q=>(this.store.dispatch((0,I.Hm)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",y.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+y.rl.NETWORK_API,q),(0,x.of)({type:y.aU.VOID}))))}))),this.setQueryRoutes=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_QUERY_ROUTES_LND),(0,w.T)(z=>z.payload)),{dispatch:!1}),this.genSeed=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GEN_SEED_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+y.rl.WALLET_API+"/genseed/"+z.payload).pipe((0,w.T)(N=>(this.logger.info("Generated GenSeed!"),this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.GEN_SEED})),{type:y.QP.GEN_SEED_RESPONSE_LND,payload:N.cipher_seed_mnemonic})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.updateSelNodeOptions=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.UPDATE_SELECTED_NODE_OPTIONS),(0,D.Z)(()=>this.httpClient.get(this.CHILD_API_URL+y.rl.WALLET_API+"/updateSelNodeOptions").pipe((0,w.T)(z=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(z),{type:y.aU.VOID})),(0,f.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,x.of)({type:y.aU.VOID}))))))),this.genSeedResponse=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GEN_SEED_RESPONSE_LND),(0,w.T)(z=>z.payload)),{dispatch:!1}),this.initWalletRes=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.INIT_WALLET_RESPONSE_LND),(0,w.T)(z=>z.payload)),{dispatch:!1}),this.initWallet=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.INIT_WALLET_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.INITIALIZE_WALLET})),{type:y.QP.INIT_WALLET_RESPONSE_LND,payload:N})),(0,f.W)(N=>(this.handleErrorWithAlert("InitWallet",y.MZ.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+y.rl.WALLET_API+"/initwallet",N),(0,x.of)({type:y.aU.VOID})))))))),this.unlockWallet=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.UNLOCK_WALLET_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.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,w.T)(N=>(this.logger.info(N),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,O.y0)({payload:y.MZ.UNLOCK_WALLET})),this.store.dispatch((0,O.mt)({payload:y.MZ.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,O.y0)({payload:y.MZ.WAIT_SYNC_NODE})),this.store.dispatch((0,I.Br)({payload:{loadPage:"HOME"}}))},5e3),{type:y.aU.VOID})),(0,f.W)(N=>(this.handleErrorWithAlert("UnlockWallet",y.MZ.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+y.rl.WALLET_API+"/unlockwallet",N),(0,x.of)({type:y.aU.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.PEER_LOOKUP_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.SEARCHING_NODE})),this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.NETWORK_API+"/node/"+z.payload).pipe((0,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.SEARCHING_NODE})),this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),{type:y.QP.SET_LOOKUP_LND,payload:N})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.channelLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.CHANNEL_LOOKUP_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),{type:y.QP.SET_LOOKUP_LND,payload:N})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.invoiceLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.INVOICE_LOOKUP_LND),(0,D.Z)(z=>{this.store.dispatch((0,O.mt)({payload:y.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,I.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,w.T)(q=>(this.logger.info(q),this.store.dispatch((0,O.y0)({payload:y.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),this.store.dispatch((0,I.Dq)({payload:q})),{type:y.QP.SET_LOOKUP_LND,payload:q})),(0,f.W)(q=>(this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",y.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",q),z.payload.openSnackBar&&this.store.dispatch((0,O.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,x.of)({type:y.QP.SET_LOOKUP_LND,payload:{error:q}}))))}))),this.paymentLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.PAYMENT_LOOKUP_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PAYMENTS_API+"/lookup/"+z.payload).pipe((0,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),this.store.dispatch((0,I._$)({payload:N})),{type:y.QP.SET_LOOKUP_LND,payload:N})),(0,f.W)(N=>(this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",y.MZ.SEARCHING_PAYMENT,"Payment Lookup Failed",N),(0,x.of)({type:y.QP.SET_LOOKUP_LND,payload:{error:N}})))))))),this.setLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_LOOKUP_LND),(0,w.T)(z=>(this.logger.info(z.payload),z.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.RESTORE_CHANNELS_LIST_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"RestoreChannelsList",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/restore/list").pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"RestoreChannelsList",status:y.wn.COMPLETED}})),{type:y.QP.SET_RESTORE_CHANNELS_LIST_LND,payload:z||{all_restore_exists:!1,files:[]}})),(0,f.W)(z=>(this.handleErrorWithAlert("RestoreChannelsList",y.MZ.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API,z),(0,x.of)({type:y.aU.VOID})))))))),this.setRestoreChannelList=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_RESTORE_CHANNELS_LIST_LND),(0,w.T)(z=>(this.logger.info(z.payload),z.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchLightningTransactions",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PAYMENTS_API+"/alltransactions").pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchLightningTransactions",status:y.wn.COMPLETED}})),{type:y.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:z})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchLightningTransactions",y.MZ.NO_SPINNER,"Fetching All Lightning Transaction Failed.",z),(0,x.of)({type:y.aU.VOID})))))))),this.pageSettingsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_PAGE_SETTINGS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchPageSettings",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.PAGE_SETTINGS_API).pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.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,f.W)(z=>(this.handleErrorWithoutAlert("FetchPageSettings",y.MZ.NO_SPINNER,"Fetching Page Settings Failed.",z),(0,x.of)({type:y.aU.VOID})))))))),this.savePageSettings=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SAVE_PAGE_SETTINGS_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.e8)({payload:{action:"SavePageSettings",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.PAGE_SETTINGS_API,z.payload).pipe((0,w.T)(N=>{this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"SavePageSettings",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:y.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,O.UI)({payload:"Page Layout Updated Successfully!"}));const q=(N.find(ze=>"transactions"===ze.pageId)?.tables.find(ze=>"invoices"===ze.tableId)||y.ZC.find(ze=>"transactions"===ze.pageId)?.tables.find(ze=>"invoices"===ze.tableId)).recordsPerPage,pe=(N.find(ze=>"transactions"===ze.pageId)?.tables.find(ze=>"payments"===ze.tableId)||y.ZC.find(ze=>"transactions"===ze.pageId)?.tables.find(ze=>"payments"===ze.tableId)).recordsPerPage;return this.invoicesPageSettings&&q!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=q,this.store.dispatch((0,I.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))),this.paymentsPageSettings&&pe!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=pe),{type:y.QP.SET_PAGE_SETTINGS_LND,payload:N||[]}}),(0,f.W)(N=>(this.handleErrorWithAlert("SavePageSettings",y.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",y.rl.PAGE_SETTINGS_API,N),(0,x.of)({type:y.aU.VOID})))))))),this.store.select(V.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,O.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,I.Dq)({payload:z.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(z)))})}initializeRemainingData(n,c){this.sessionService.setItem("lndUnlocked","true");const m={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,O.mt)({payload:y.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,O.Fl)({payload:m}));let d=this.location.path();d.includes("/cln/")?d=d?.replace("/cln/","/lnd/"):d.includes("/ecl/")&&(d=d?.replace("/ecl/","/lnd/")),(d.includes("/unlock")||d.includes("/login")||d.includes("/error")||""===d||"HOME"===c||d.includes("?access-key="))&&(d="/lnd/home"),this.router.navigate([d]),this.store.dispatch((0,I.DY)()),this.store.dispatch((0,I.$Q)()),this.store.dispatch((0,I.ar)()),this.store.dispatch((0,I.pL)()),this.store.dispatch((0,I.Gy)()),this.store.dispatch((0,I.tf)()),this.store.dispatch((0,I.yp)()),this.store.dispatch((0,I.CK)({payload:{max_payments:1e5,reversed:!0}})),this.store.dispatch((0,I.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))}handleErrorWithoutAlert(n,c,m,d){this.logger.error("ERROR IN: "+n+"\n"+JSON.stringify(d)),401===d.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,O.Jh)()),this.store.dispatch((0,O.ri)({payload:"Authentication Failed: "+JSON.stringify(d.error)}))):(this.store.dispatch((0,O.y0)({payload:c})),this.store.dispatch((0,I.e8)({payload:{action:n,status:y.wn.ERROR,statusCode:d.status.toString(),message:this.commonService.extractErrorMessage(d,m)}})))}handleErrorWithAlert(n,c,m,d,C){if(this.logger.error(C),401===C.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,O.Jh)()),this.store.dispatch((0,O.ri)({payload:"Authentication Failed: "+JSON.stringify(C.error)}));else{this.store.dispatch((0,O.y0)({payload:c}));const A=this.commonService.extractErrorMessage(C);this.store.dispatch((0,O.xO)({payload:{data:{type:"ERROR",alertTitle:m,message:{code:C.status,message:A,URL:d},component:S.f}}})),this.store.dispatch((0,I.e8)({payload:{action:n,status:y.wn.ERROR,statusCode:C.status.toString(),message:A,URL:d}}))}}ngOnDestroy(){this.unSubs.forEach(n=>{n.next(null),n.complete()})}static{this.\u0275fac=function(c){return new(c||le)(j.KVO(e.En),j.KVO(Y.Qq),j.KVO(W.il),j.KVO(Q.gP),j.KVO(J.h),j.KVO(ie.Q),j.KVO(ee.bZ),j.KVO(fe.Ix),j.KVO(ne.I),j.KVO(Me.aZ))}}static{this.\u0275prov=j.jDH({token:le,factory:le.\u0275fac})}}return le})()},3536:(Qe,te,g)=>{"use strict";g.d(te,{$7:()=>W,$G:()=>x,BM:()=>I,Bw:()=>Y,Ie:()=>f,KT:()=>R,Uv:()=>j,ah:()=>J,eO:()=>fe,gN:()=>y,gj:()=>ne,n_:()=>ee,oR:()=>h,os:()=>S,pI:()=>D,rN:()=>O,ru:()=>w,tA:()=>ie});var e=g(9640);const t=(0,e.UX)("lnd"),x=(0,e.Mz)(t,Me=>({pageSettings:Me.pageSettings,apiCallStatus:Me.apisCallStatus.FetchPageSettings})),D=(0,e.Mz)(t,Me=>Me.information),w=((0,e.Mz)(t,Me=>({information:Me.information,apiCallStatus:Me.apisCallStatus.FetchInfo})),(0,e.Mz)(t,Me=>Me.apisCallStatus)),f=(0,e.Mz)(t,Me=>({forwardingHistory:Me.forwardingHistory,apiCallStatus:Me.apisCallStatus.FetchForwardingHistory})),R=(0,e.Mz)(t,Me=>({listPayments:Me.listPayments,apiCallStatus:Me.apisCallStatus.FetchPayments})),h=(0,e.Mz)(t,Me=>({fees:Me.fees,apiCallStatus:Me.apisCallStatus.FetchFees})),S=(0,e.Mz)(t,Me=>({peers:Me.peers,apiCallStatus:Me.apisCallStatus.FetchPeers})),y=(0,e.Mz)(t,Me=>({transactions:Me.transactions,apiCallStatus:Me.apisCallStatus.FetchTransactions})),O=(0,e.Mz)(t,Me=>({listInvoices:Me.listInvoices,apiCallStatus:Me.apisCallStatus.FetchInvoices})),I=(0,e.Mz)(t,Me=>({channels:Me.channels,channelsSummary:Me.channelsSummary,lightningBalance:Me.lightningBalance,apiCallStatus:Me.apisCallStatus.FetchAllChannels})),j=((0,e.Mz)(t,Me=>({channelsSummary:Me.channelsSummary,pendingChannels:Me.pendingChannels,closedChannels:Me.closedChannels,apiCallStatus:Me.apisCallStatus.FetchAllChannels})),(0,e.Mz)(t,Me=>({pendingChannels:Me.pendingChannels,pendingChannelsSummary:Me.pendingChannelsSummary,apiCallStatus:Me.apisCallStatus.FetchPendingChannels}))),Y=(0,e.Mz)(t,Me=>({closedChannels:Me.closedChannels,apiCallStatus:Me.apisCallStatus.FetchClosedChannels})),W=(0,e.Mz)(t,Me=>({blockchainBalance:Me.blockchainBalance,apiCallStatus:Me.apisCallStatus.FetchBalanceBlockchain})),J=((0,e.Mz)(t,Me=>({lightningBalance:Me.lightningBalance,apiCallStatus:Me.apisCallStatus.FetchAllChannels})),(0,e.Mz)(t,Me=>({utxos:Me.utxos,apiCallStatus:Me.apisCallStatus.FetchUTXOs}))),ie=(0,e.Mz)(t,Me=>({networkInfo:Me.networkInfo,apiCallStatus:Me.apisCallStatus.FetchNetwork})),ee=(0,e.Mz)(t,Me=>({allLightningTransactions:Me.allLightningTransactions,apiCallStatus:Me.apisCallStatus.FetchLightningTransactions})),fe=(0,e.Mz)(t,Me=>({channels:Me.channels,pendingChannels:Me.pendingChannels,closedChannels:Me.closedChannels})),ne=(0,e.Mz)(t,Me=>({information:Me.information,apiCallStatus:Me.apisCallStatus.FetchInfo}))},6391:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>Yt});var e=g(5351),t=g(5383),x=g(1413),D=g(6977),l=g(4416),w=g(3536),f=g(4438),R=g(8570),h=g(2571),S=g(5416),y=g(9640),O=g(177),I=g(60),V=g(2920),j=g(6038),Y=g(8834),W=g(5596),Q=g(9454),J=g(9213),ie=g(1997),ee=g(9183),fe=g(4823),ne=g(8288),Me=g(9157),Ce=g(9587);const le=["scrollContainer"],T=ve=>({"display-none":ve}),n=ve=>({"xs-scroll-y":ve}),c=ve=>({"h-50":ve}),m=()=>[],d=ve=>({"mr-0":ve});function C(ve,_e){if(1&ve&&f.nrm(0,"qr-code",33),2&ve){const we=f.XpG();f.Y8G("value",null==we.invoice?null:we.invoice.payment_request)("size",we.qrWidth)("errorCorrectionLevel","L")}}function A(ve,_e){1&ve&&(f.j41(0,"span",34),f.EFF(1,"N/A"),f.k0s())}function k(ve,_e){if(1&ve&&f.nrm(0,"qr-code",33),2&ve){const we=f.XpG();f.Y8G("value",null==we.invoice?null:we.invoice.payment_request)("size",we.qrWidth)("errorCorrectionLevel","L")}}function _(ve,_e){1&ve&&(f.j41(0,"span",35),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function a(ve,_e){1&ve&&f.nrm(0,"mat-divider",24),2&ve&&f.Y8G("inset",!0)}function b(ve,_e){1&ve&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function z(ve,_e){1&ve&&f.nrm(0,"span",41)}function N(ve,_e){if(1&ve&&(f.j41(0,"div",37)(1,"div",38)(2,"span",39),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,z,1,0,"span",40),f.k0s()()),2&ve){const we=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,null==we.invoice?null:we.invoice.amt_paid_sat)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,m).constructor(35))}}function q(ve,_e){if(1&ve&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&ve){const we=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,null==we.invoice?null:we.invoice.amt_paid_sat)," Sats")}}function pe(ve,_e){if(1&ve&&(f.qex(0),f.DNE(1,N,6,5,"div",36)(2,q,3,3,"div",23),f.bVm()),2&ve){const we=f.XpG();f.R7$(),f.Y8G("ngIf",we.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!we.flgInvoicePaid)}}function ze(ve,_e){1&ve&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function Xe(ve,_e){1&ve&&f.nrm(0,"mat-spinner",43),2&ve&&f.Y8G("diameter",20)}function We(ve,_e){if(1&ve&&(f.qex(0),f.DNE(1,ze,2,0,"span",23)(2,Xe,1,1,"mat-spinner",42),f.bVm()),2&ve){const we=f.XpG();f.R7$(),f.Y8G("ngIf","OPEN"!==(null==we.invoice?null:we.invoice.state)||!we.flgVersionCompatible),f.R7$(),f.Y8G("ngIf","OPEN"===(null==we.invoice?null:we.invoice.state)&&we.flgVersionCompatible)}}function oe(ve,_e){1&ve&&f.eu8(0)}function X(ve,_e){if(1&ve&&(f.j41(0,"div"),f.DNE(1,oe,1,0,"ng-container",44),f.k0s()),2&ve){f.XpG();const we=f.sdS(79);f.R7$(),f.Y8G("ngTemplateOutlet",we)}}function se(ve,_e){if(1&ve){const we=f.RV6();f.j41(0,"div",45)(1,"button",46),f.bIt("click",function(){f.eBV(we);const je=f.XpG();return f.Njj(je.onScrollDown())}),f.j41(2,"mat-icon",47),f.EFF(3,"arrow_downward"),f.k0s()()()}}function ae(ve,_e){1&ve&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function he(ve,_e){1&ve&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function Ie(ve,_e){if(1&ve){const we=f.RV6();f.j41(0,"button",48),f.bIt("copied",function(je){f.eBV(we);const vt=f.XpG();return f.Njj(vt.onCopyPayment(je))}),f.EFF(1),f.k0s()}if(2&ve){const we=f.XpG();f.Y8G("payload",null==we.invoice?null:we.invoice.payment_request),f.R7$(),f.JRh(we.screenSize===we.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function st(ve,_e){if(1&ve){const we=f.RV6();f.j41(0,"button",49),f.bIt("click",function(){f.eBV(we);const je=f.XpG();return f.Njj(je.onClose())}),f.EFF(1,"OK"),f.k0s()}}function me(ve,_e){if(1&ve&&f.nrm(0,"span",64),2&ve){const we=f.XpG(4);f.Y8G("ngClass",f.eq3(1,d,we.screenSize===we.screenSizeEnum.XS))}}function Ee(ve,_e){if(1&ve&&f.nrm(0,"span",65),2&ve){const we=f.XpG(4);f.Y8G("ngClass",f.eq3(1,d,we.screenSize===we.screenSizeEnum.XS))}}function ue(ve,_e){if(1&ve&&f.nrm(0,"span",66),2&ve){const we=f.XpG(4);f.Y8G("ngClass",f.eq3(1,d,we.screenSize===we.screenSizeEnum.XS))}}function Be(ve,_e){if(1&ve&&(f.j41(0,"div",53)(1,"div",58)(2,"span",59),f.DNE(3,me,1,3,"span",60)(4,Ee,1,3,"span",61)(5,ue,1,3,"span",62),f.EFF(6),f.k0s(),f.j41(7,"span",63),f.EFF(8),f.nI1(9,"number"),f.k0s()(),f.nrm(10,"mat-divider",24),f.k0s()),2&ve){const we=_e.$implicit,Ue=f.XpG(3);f.R7$(3),f.Y8G("ngIf","SETTLED"===we.state),f.R7$(),f.Y8G("ngIf","ACCEPTED"===we.state),f.R7$(),f.Y8G("ngIf","CANCELED"===we.state),f.R7$(),f.SpI(" ",we.chan_id," "),f.R7$(2),f.JRh(f.i5U(9,6,+we.amt_msat/1e3||0,Ue.getDecimalFormat(we))),f.R7$(2),f.Y8G("inset",!0)}}function Ct(ve,_e){if(1&ve){const we=f.RV6();f.j41(0,"div",19)(1,"mat-expansion-panel",51),f.bIt("opened",function(){f.eBV(we);const je=f.XpG(2);return f.Njj(je.flgOpened=!0)})("closed",function(){f.eBV(we);const je=f.XpG(2);return f.Njj(je.onExpansionClosed())}),f.j41(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),f.EFF(5,"HTLCs"),f.k0s()()(),f.j41(6,"div",53)(7,"div",54)(8,"span",55),f.EFF(9,"Channel ID"),f.k0s(),f.j41(10,"span",56),f.EFF(11,"Amount (Sats)"),f.k0s()(),f.nrm(12,"mat-divider",24),f.DNE(13,Be,11,9,"div",57),f.k0s()()()}if(2&ve){const we=f.XpG(2);f.R7$(12),f.Y8G("inset",!0),f.R7$(),f.Y8G("ngForOf",null==we.invoice?null:we.invoice.htlcs)}}function ct(ve,_e){1&ve&&f.nrm(0,"mat-divider",24),2&ve&&f.Y8G("inset",!0)}function dt(ve,_e){if(1&ve&&(f.nrm(0,"mat-divider",24),f.j41(1,"div",19)(2,"div",25)(3,"h4",21),f.EFF(4,"Preimage"),f.k0s(),f.j41(5,"span",26),f.EFF(6),f.k0s()()(),f.nrm(7,"mat-divider",24),f.j41(8,"div",19)(9,"div",20)(10,"h4",21),f.EFF(11,"State"),f.k0s(),f.j41(12,"span",26),f.EFF(13),f.k0s()(),f.j41(14,"div",20)(15,"h4",21),f.EFF(16,"Expiry"),f.k0s(),f.j41(17,"span",26),f.EFF(18),f.nI1(19,"date"),f.k0s()()(),f.nrm(20,"mat-divider",24),f.j41(21,"div",19)(22,"div",20)(23,"h4",21),f.EFF(24,"Private Routing Hints"),f.k0s(),f.j41(25,"span",26),f.EFF(26),f.k0s()(),f.j41(27,"div",20)(28,"h4",21),f.EFF(29,"AMP Invoice"),f.k0s(),f.j41(30,"span",26),f.EFF(31),f.k0s()()(),f.nrm(32,"mat-divider",24),f.DNE(33,Ct,14,2,"div",50)(34,ct,1,1,"mat-divider",17)),2&ve){const we=f.XpG();f.Y8G("inset",!0),f.R7$(6),f.JRh((null==we.invoice?null:we.invoice.r_preimage)||"-"),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh(null==we.invoice?null:we.invoice.state),f.R7$(5),f.JRh(f.i5U(19,11,1e3*(+(null==we.invoice?null:we.invoice.creation_date)+ +(null==we.invoice?null:we.invoice.expiry)),"dd/MMM/y HH:mm")),f.R7$(2),f.Y8G("inset",!0),f.R7$(6),f.JRh(null!=we.invoice&&we.invoice.private?"Yes":"No"),f.R7$(5),f.JRh(null!=we.invoice&&we.invoice.is_amp?"Yes":"No"),f.R7$(),f.Y8G("inset",!0),f.R7$(),f.Y8G("ngIf",(null==we.invoice?null:we.invoice.htlcs)&&(null==we.invoice?null:we.invoice.htlcs.length)>0),f.R7$(),f.Y8G("ngIf",(null==we.invoice?null:we.invoice.htlcs)&&(null==we.invoice?null:we.invoice.htlcs.length)>0)}}let Yt=(()=>{class ve{set container(we){we&&(this.scrollContainer=we)}constructor(we,Ue,je,vt,$e,nt){this.dialogRef=we,this.data=Ue,this.logger=je,this.commonService=vt,this.snackBar=$e,this.store=nt,this.faReceipt=t.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 x.B,new x.B,new x.B,new x.B,new x.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(w.pI).pipe((0,D.Q)(this.unSubs[0])).subscribe(Ue=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(Ue.version,"0.11.0")});const we=JSON.parse(JSON.stringify(this.invoice));this.store.select(w.rN).pipe((0,D.Q)(this.unSubs[1])).subscribe(Ue=>{const je=this.invoice?.state,$e=(Ue.listInvoices.invoices||[]).find(nt=>nt.r_hash===we.r_hash)||null;$e&&(this.invoice=$e),je!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(Ue)})}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(we){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+we)}getDecimalFormat(we){return we.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(we=>{we.next(null),we.complete()})}static{this.\u0275fac=function(Ue){return new(Ue||ve)(f.rXU(e.CP),f.rXU(e.Vh),f.rXU(R.gP),f.rXU(h.h),f.rXU(S.UG),f.rXU(y.il))}}static{this.\u0275cmp=f.VBU({type:ve,selectors:[["rtl-invoice-information"]],viewQuery:function(Ue,je){if(1&Ue&&f.GBs(le,5),2&Ue){let vt;f.mGM(vt=f.lsd())&&(je.container=vt.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(Ue,je){if(1&Ue){const vt=f.RV6();f.j41(0,"div",3)(1,"div",4),f.DNE(2,C,1,3,"qr-code",5)(3,A,2,0,"span",6),f.k0s(),f.j41(4,"div",7)(5,"mat-card-header",8)(6,"div",9),f.nrm(7,"fa-icon",10),f.j41(8,"span",11),f.EFF(9),f.k0s()(),f.j41(10,"button",12),f.bIt("click",function(){return f.eBV(vt),f.Njj(je.onClose())}),f.EFF(11,"X"),f.k0s()(),f.j41(12,"mat-card-content",13)(13,"div",14)(14,"div",15),f.DNE(15,k,1,3,"qr-code",5)(16,_,2,0,"span",16),f.k0s(),f.DNE(17,a,1,1,"mat-divider",17),f.j41(18,"div",18,0)(20,"div",19)(21,"div",20)(22,"h4",21),f.EFF(23),f.k0s(),f.j41(24,"span",22),f.EFF(25),f.nI1(26,"number"),f.DNE(27,b,2,0,"ng-container",23),f.k0s()(),f.j41(28,"div",20)(29,"h4",21),f.EFF(30,"Amount Settled"),f.k0s(),f.j41(31,"span",22),f.DNE(32,pe,3,2,"ng-container",23)(33,We,3,2,"ng-container",23),f.k0s()()(),f.nrm(34,"mat-divider",24),f.j41(35,"div",19)(36,"div",20)(37,"h4",21),f.EFF(38,"Date Created"),f.k0s(),f.j41(39,"span",22),f.EFF(40),f.nI1(41,"date"),f.k0s()(),f.j41(42,"div",20)(43,"h4",21),f.EFF(44,"Date Settled"),f.k0s(),f.j41(45,"span",22),f.EFF(46),f.nI1(47,"date"),f.k0s()()(),f.nrm(48,"mat-divider",24),f.j41(49,"div",19)(50,"div",25)(51,"h4",21),f.EFF(52,"Memo"),f.k0s(),f.j41(53,"span",22),f.EFF(54),f.k0s()()(),f.nrm(55,"mat-divider",24),f.j41(56,"div",19)(57,"div",25)(58,"h4",21),f.EFF(59,"Payment Request"),f.k0s(),f.j41(60,"span",26),f.EFF(61),f.k0s()()(),f.nrm(62,"mat-divider",24),f.j41(63,"div",19)(64,"div",25)(65,"h4",21),f.EFF(66,"Payment Hash"),f.k0s(),f.j41(67,"span",26),f.EFF(68),f.k0s()()(),f.DNE(69,X,2,1,"div",23),f.k0s()()(),f.DNE(70,se,4,0,"div",27),f.j41(71,"div",28)(72,"button",29),f.bIt("click",function(){return f.eBV(vt),f.Njj(je.onShowAdvanced())}),f.DNE(73,ae,2,0,"p",30)(74,he,2,0,"ng-template",null,1,f.C5r),f.k0s(),f.DNE(76,Ie,2,2,"button",31)(77,st,2,0,"button",32),f.k0s()()(),f.DNE(78,dt,35,14,"ng-template",null,2,f.C5r)}if(2&Ue){const vt=f.sdS(75);f.R7$(),f.Y8G("fxLayoutAlign",null!=je.invoice&&je.invoice.payment_request&&""!==(null==je.invoice?null:je.invoice.payment_request)?"center start":"center center")("ngClass",f.eq3(41,T,je.screenSize===je.screenSizeEnum.XS||je.screenSize===je.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==je.invoice?null:je.invoice.payment_request)&&""!==(null==je.invoice?null:je.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=je.invoice&&je.invoice.payment_request)||""===(null==je.invoice?null:je.invoice.payment_request)),f.R7$(4),f.Y8G("icon",je.faReceipt),f.R7$(2),f.JRh(je.screenSize===je.screenSizeEnum.XS?je.newlyAdded?"Created":"Invoice":je.newlyAdded?"Invoice Created":"Invoice Information"),f.R7$(3),f.Y8G("ngClass",f.eq3(43,n,je.screenSize===je.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=je.invoice&&je.invoice.payment_request&&""!==(null==je.invoice?null:je.invoice.payment_request)?"center start":"center center")("ngClass",f.eq3(45,T,je.screenSize!==je.screenSizeEnum.XS&&je.screenSize!==je.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==je.invoice?null:je.invoice.payment_request)&&""!==(null==je.invoice?null:je.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=je.invoice&&je.invoice.payment_request)||""===(null==je.invoice?null:je.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",je.screenSize===je.screenSizeEnum.XS||je.screenSize===je.screenSizeEnum.SM),f.R7$(),f.Y8G("ngClass",f.eq3(47,c,(null==je.invoice?null:je.invoice.htlcs)&&(null==je.invoice?null:je.invoice.htlcs.length)>0&&je.showAdvanced)),f.R7$(5),f.JRh(je.screenSize===je.screenSizeEnum.XS?"Amount":"Amount Requested"),f.R7$(2),f.SpI("",f.bMT(26,33,(null==je.invoice?null:je.invoice.value)||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=je.invoice&&je.invoice.value)||"0"===(null==je.invoice?null:je.invoice.value)),f.R7$(5),f.Y8G("ngIf",(null==je.invoice?null:je.invoice.amt_paid_sat)&&"OPEN"!==(null==je.invoice?null:je.invoice.state)),f.R7$(),f.Y8G("ngIf",!(null!=je.invoice&&je.invoice.amt_paid_sat)||"0"===(null==je.invoice?null:je.invoice.amt_paid_sat)),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh(f.i5U(41,35,1e3*(null==je.invoice?null:je.invoice.creation_date),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(0!=+(null==je.invoice?null:je.invoice.settle_date)?f.i5U(47,38,1e3*+(null==je.invoice?null:je.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),f.R7$(2),f.Y8G("inset",!0),f.R7$(6),f.JRh(null==je.invoice?null:je.invoice.memo),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh((null==je.invoice?null:je.invoice.payment_request)||"N/A"),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh((null==je.invoice?null:je.invoice.r_hash)||""),f.R7$(),f.Y8G("ngIf",je.showAdvanced),f.R7$(),f.Y8G("ngIf",(null==je.invoice?null:je.invoice.htlcs)&&(null==je.invoice?null:je.invoice.htlcs.length)>0&&je.showAdvanced&&je.flgOpened),f.R7$(3),f.Y8G("ngIf",!je.showAdvanced)("ngIfElse",vt),f.R7$(3),f.Y8G("ngIf",(null==je.invoice?null:je.invoice.payment_request)&&""!==(null==je.invoice?null:je.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=je.invoice&&je.invoice.payment_request)||""===(null==je.invoice?null:je.invoice.payment_request))}},dependencies:[O.YU,O.Sq,O.bT,O.T3,I.aY,V.DJ,V.sA,V.UI,j.PW,Y.$z,Y.$0,W.m2,W.MM,Q.GK,Q.Z2,Q.WN,J.An,ie.q,ee.LG,fe.oV,ne.Um,Me.U,Ce.N,O.QX,O.vh]})}}return ve})()},1001:(Qe,te,g)=>{"use strict";g.d(te,{C:()=>t,q:()=>x});var e=g(9969);const t=[(0,e.hZ)("opacityAnimation",[(0,e.kY)(":enter",[(0,e.iF)({opacity:0}),(0,e.i0)("1000ms ease-in",(0,e.iF)({opacity:1}))]),(0,e.kY)(":leave",[(0,e.i0)("0ms",(0,e.iF)({opacity:0}))])])],x=[(0,e.hZ)("fadeIn",[(0,e.kY)("void => *",[]),(0,e.kY)("* => void",[]),(0,e.kY)("* => *",[(0,e.i0)(800,(0,e.i7)([(0,e.iF)({opacity:0,transform:"translateY(100%)"}),(0,e.iF)({opacity:1,transform:"translateY(0%)"})]))])])]},9881:(Qe,te,g)=>{"use strict";g.d(te,{E:()=>t});var e=g(9969);const t=(0,e.hZ)("routeAnimation",[(0,e.kY)("* => *",[(0,e.P)(":enter, :leave",(0,e.iF)({position:"fixed",width:"100%"}),{optional:!0}),(0,e.Os)([(0,e.P)(":enter",[(0,e.iF)({transform:"translateX(100%)"}),(0,e.i0)("1000ms ease-in-out",(0,e.iF)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.P)(":leave",[(0,e.iF)({transform:"translateX(0%)"}),(0,e.i0)("1000ms ease-in-out",(0,e.iF)({transform:"translateX(-100%)"}))],{optional:!0})])])])},6949:(Qe,te,g)=>{"use strict";g.d(te,{k:()=>t});var e=g(9969);const t=[(0,e.hZ)("sliderAnimation",[(0,e.wk)("*",(0,e.iF)({transform:"translateX(0)"})),(0,e.kY)("void => backward",[(0,e.iF)({transform:"translateX(-100%"}),(0,e.i0)("800ms")]),(0,e.kY)("backward => void",[(0,e.i0)("0ms",(0,e.iF)({transform:"translateX(100%)"}))]),(0,e.kY)("void => forward",[(0,e.iF)({transform:"translateX(100%"}),(0,e.i0)("800ms")]),(0,e.kY)("forward => void",[(0,e.i0)("0ms",(0,e.iF)({transform:"translateX(-100%)"}))])])]},2462:(Qe,te,g)=>{"use strict";g.d(te,{f:()=>y});var e=g(5351),t=g(4438),x=g(8570),D=g(177),l=g(2920),w=g(8834),f=g(5596),R=g(1997),h=g(9587);function S(O,I){if(1&O&&(t.j41(0,"p",14),t.EFF(1),t.k0s()),2&O){const V=t.XpG();t.R7$(),t.JRh(V.data.titleMessage)}}let y=(()=>{class O{constructor(V,j,Y){this.dialogRef=V,this.data=j,this.logger=Y,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(j){return new(j||O)(t.rXU(e.CP),t.rXU(e.Vh),t.rXU(x.gP))}}static{this.\u0275cmp=t.VBU({type:O,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(j,Y){1&j&&(t.j41(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t.EFF(5),t.k0s()(),t.j41(6,"button",5),t.bIt("click",function(){return Y.onClose()}),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",6)(9,"div",7),t.DNE(10,S,2,1,"p",8),t.j41(11,"h4",9),t.EFF(12,"Error Code"),t.k0s(),t.j41(13,"span"),t.EFF(14),t.k0s(),t.nrm(15,"mat-divider",10),t.j41(16,"h4",9),t.EFF(17,"Error Message"),t.k0s(),t.j41(18,"span",11),t.EFF(19),t.k0s(),t.nrm(20,"mat-divider",10),t.j41(21,"h4",9),t.EFF(22,"API URL"),t.k0s(),t.j41(23,"span",11),t.EFF(24),t.k0s(),t.nrm(25,"mat-divider",10),t.j41(26,"div",12)(27,"button",13),t.EFF(28,"OK"),t.k0s()()()()()()),2&j&&(t.R7$(5),t.JRh(Y.data.alertTitle||"ERROR"),t.R7$(5),t.Y8G("ngIf",Y.data.titleMessage),t.R7$(4),t.JRh(Y.data.message.code),t.R7$(5),t.JRh(Y.errorMessage),t.R7$(5),t.JRh(Y.data.message.URL),t.R7$(3),t.Y8G("mat-dialog-close",!1))},dependencies:[D.bT,l.DJ,l.sA,l.UI,e.tx,w.$z,f.m2,f.MM,R.q,h.N],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}}return O})()},8711:(Qe,te,g)=>{"use strict";g.d(te,{D:()=>Qi});var e=g(9417),t=g(1413),x=g(6977),D=g(5351),l=g(5383),w=g(1001),f=g(4416),R=g(3536),h=g(4438),S=g(9640),y=g(4104),O=g(177),I=g(8570),V=g(1188),j=g(2571),Y=g(2920),W=g(6038),Q=g(8834),J=g(5596),ie=g(9454),ee=g(9213),fe=g(9631),ne=g(6467),Me=g(7575),Ce=g(5951),le=g(450),T=g(4823),n=g(6013),c=g(9587),m=g(1997);const d=Xt=>({"h-5":Xt});function C(Xt,St){1&Xt&&h.eu8(0)}function A(Xt,St){1&Xt&&h.eu8(0)}function k(Xt,St){if(1&Xt&&(h.j41(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),h.EFF(4),h.nI1(5,"number"),h.k0s()()(),h.DNE(6,A,1,0,"ng-container",2),h.k0s()),2&Xt){const tt=h.XpG(),ot=h.sdS(4);h.Y8G("expanded",tt.panelExpanded)("ngClass",h.eq3(7,d,!tt.flgShowPanel)),h.R7$(4),h.Lme("Quote for ",tt.termCaption," amount (",h.bMT(5,5,tt.quote.amount)," Sats)"),h.R7$(2),h.Y8G("ngTemplateOutlet",ot)}}function _(Xt,St){if(1&Xt&&(h.j41(0,"div",19)(1,"h4",8),h.EFF(2," Prepay Amount (Sats) "),h.j41(3,"mat-icon",20),h.EFF(4,"info_outline"),h.k0s()(),h.j41(5,"span",10),h.EFF(6),h.nI1(7,"number"),h.k0s()()),2&Xt){const tt=h.XpG(2);h.R7$(6),h.JRh(h.bMT(7,1,null==tt.quote?null:tt.quote.prepay_amt_sat))}}function a(Xt,St){1&Xt&&h.nrm(0,"mat-divider",13)}function b(Xt,St){if(1&Xt&&(h.j41(0,"div",6)(1,"div",21)(2,"h4",8),h.EFF(3," Swap Server Node Pubkey "),h.j41(4,"mat-icon",22),h.EFF(5,"info_outline"),h.k0s()(),h.j41(6,"span",10),h.EFF(7),h.k0s()()()),2&Xt){const tt=h.XpG(2);h.R7$(7),h.JRh(null==tt.quote?null:tt.quote.swap_payment_dest)}}function z(Xt,St){if(1&Xt&&(h.j41(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),h.EFF(4," Swap Fee (Sats) "),h.j41(5,"mat-icon",9),h.EFF(6,"info_outline"),h.k0s()(),h.j41(7,"span",10),h.EFF(8),h.nI1(9,"number"),h.k0s()(),h.j41(10,"div",7)(11,"h4",8),h.EFF(12),h.j41(13,"mat-icon",11),h.EFF(14,"info_outline"),h.k0s()(),h.j41(15,"span",10),h.EFF(16),h.nI1(17,"number"),h.k0s()(),h.DNE(18,_,8,3,"div",12),h.k0s(),h.nrm(19,"mat-divider",13),h.j41(20,"div",6)(21,"div",14)(22,"h4",8),h.EFF(23," Max Off-chain Swap Routing Fee (Sats) "),h.j41(24,"mat-icon",15),h.EFF(25,"info_outline"),h.k0s()(),h.j41(26,"span",10),h.EFF(27),h.nI1(28,"number"),h.k0s()(),h.j41(29,"div",14)(30,"h4",8),h.EFF(31," Max Off-chain Prepay Routing Fee (Sats) "),h.j41(32,"mat-icon",16),h.EFF(33,"info_outline"),h.k0s()(),h.j41(34,"span",10),h.EFF(35,"36"),h.k0s()()(),h.DNE(36,a,1,0,"mat-divider",17)(37,b,8,1,"div",18),h.k0s()),2&Xt){const tt=h.XpG();h.R7$(2),h.Y8G("fxFlex",null!=tt.quote&&tt.quote.prepay_amt_sat?"30":"50"),h.R7$(6),h.JRh(h.bMT(9,9,null==tt.quote?null:tt.quote.swap_fee_sat)),h.R7$(2),h.Y8G("fxFlex",null!=tt.quote&&tt.quote.prepay_amt_sat?"35":"50"),h.R7$(2),h.SpI(" ",null!=tt.quote&&tt.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=tt.quote&&tt.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),h.R7$(4),h.JRh(h.bMT(17,11,null!=tt.quote&&tt.quote.htlc_sweep_fee_sat?tt.quote.htlc_sweep_fee_sat:null!=tt.quote&&tt.quote.htlc_publish_fee_sat?tt.quote.htlc_publish_fee_sat:0)),h.R7$(2),h.Y8G("ngIf",null==tt.quote?null:tt.quote.prepay_amt_sat),h.R7$(9),h.JRh(h.bMT(28,13,(null==tt.quote?null:tt.quote.amount)*((null!=tt.quote&&tt.quote.off_chain_swap_routing_fee_percentage?null==tt.quote?null:tt.quote.off_chain_swap_routing_fee_percentage:2)/100))),h.R7$(9),h.Y8G("ngIf",""!==(null==tt.quote?null:tt.quote.swap_payment_dest)),h.R7$(),h.Y8G("ngIf",""!==(null==tt.quote?null:tt.quote.swap_payment_dest))}}let N=(()=>{class Xt{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}static{this.\u0275fac=function(ot){return new(ot||Xt)}}static{this.\u0275cmp=h.VBU({type:Xt,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(ot,Mt){if(1&ot&&h.DNE(0,C,1,0,"ng-container",2)(1,k,7,9,"ng-template",null,0,h.C5r)(3,z,38,15,"ng-template",null,1,h.C5r),2&ot){const Bt=h.sdS(2),Ci=h.sdS(4);h.Y8G("ngTemplateOutlet",Mt.showPanel?Bt:Ci)}},dependencies:[O.YU,O.bT,O.T3,Y.DJ,Y.sA,Y.UI,W.PW,ie.GK,ie.Z2,ie.WN,ee.An,m.q,T.oV,O.QX]})}}return Xt})();function q(Xt,St){1&Xt&&h.eu8(0)}function pe(Xt,St){if(1&Xt&&(h.j41(0,"div",3)(1,"span",4),h.EFF(2),h.k0s()()),2&Xt){const tt=h.XpG();h.R7$(2),h.JRh(null!=tt.loopStatus&&tt.loopStatus.error?null==tt.loopStatus?null:tt.loopStatus.error:"Unknown Error.")}}function ze(Xt,St){if(1&Xt&&(h.j41(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),h.EFF(4,"ID"),h.k0s(),h.j41(5,"span",4),h.EFF(6),h.k0s()()(),h.nrm(7,"mat-divider",8),h.j41(8,"div",5)(9,"div",6)(10,"h4",7),h.EFF(11,"HTLC Address"),h.k0s(),h.j41(12,"span",4),h.EFF(13),h.k0s()()()()),2&Xt){const tt=h.XpG();h.R7$(6),h.JRh(null==tt.loopStatus?null:tt.loopStatus.id_bytes),h.R7$(7),h.JRh(null==tt.loopStatus?null:tt.loopStatus.htlc_address)}}let Xe=(()=>{class Xt{constructor(){}static{this.\u0275fac=function(ot){return new(ot||Xt)}}static{this.\u0275cmp=h.VBU({type:Xt,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(ot,Mt){if(1&ot&&h.DNE(0,q,1,0,"ng-container",2)(1,pe,3,1,"ng-template",null,0,h.C5r)(3,ze,14,2,"ng-template",null,1,h.C5r),2&ot){const Bt=h.sdS(2),Ci=h.sdS(4);h.Y8G("ngTemplateOutlet",null!=Mt.loopStatus&&Mt.loopStatus.error?Bt:Ci)}},dependencies:[O.T3,Y.DJ,Y.sA,Y.UI,m.q]})}}return Xt})();var We=g(6949);const oe=(Xt,St)=>({"small-svg":Xt,"large-svg":St});function X(Xt,St){1&Xt&&h.eu8(0)}function se(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",7)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),h.nrm(8,"circle",12)(9,"path",13),h.k0s(),h.j41(10,"g",14),h.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),h.k0s()()()()(),h.joV(),h.j41(26,"div",30)(27,"mat-card-title"),h.EFF(28,"Loop In explained."),h.k0s()(),h.j41(29,"div",31)(30,"mat-card-subtitle",32),h.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,oe,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function ae(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",33)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"defs")(5,"linearGradient",34),h.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),h.k0s()(),h.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),h.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),h.k0s(),h.j41(28,"g",56)(29,"g",57)(30,"g",58),h.nrm(31,"path",59)(32,"rect",60)(33,"polygon",61),h.j41(34,"g",62),h.nrm(35,"path",63),h.k0s(),h.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),h.k0s(),h.j41(45,"g",73),h.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),h.k0s(),h.nrm(59,"path",87),h.k0s()()()()()(),h.joV(),h.j41(60,"div",30)(61,"mat-card-title"),h.EFF(62,"Step 1: Deciding to Loop In"),h.k0s()(),h.j41(63,"div",31)(64,"mat-card-subtitle",32),h.EFF(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,oe,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function he(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",88)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"defs")(5,"linearGradient",89),h.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),h.k0s()(),h.j41(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),h.nrm(14,"circle",95)(15,"path",96),h.j41(16,"g",97),h.nrm(17,"polygon",98)(18,"polygon",99)(19,"path",100),h.k0s(),h.j41(20,"g",101),h.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),h.j41(31,"g",112)(32,"g",113),h.nrm(33,"g",114),h.k0s(),h.nrm(34,"g",115),h.k0s()()(),h.j41(35,"g",116)(36,"g",40),h.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),h.k0s(),h.j41(53,"g",56)(54,"g",57)(55,"g",58),h.nrm(56,"path",59)(57,"rect",60)(58,"polygon",61),h.j41(59,"g",122),h.nrm(60,"path",63),h.k0s(),h.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),h.k0s(),h.j41(70,"g",73),h.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),h.k0s(),h.nrm(84,"path",139),h.k0s()()()(),h.nrm(85,"path",140)(86,"path",141),h.k0s()()()(),h.joV(),h.j41(87,"div",30)(88,"mat-card-title"),h.EFF(89,"Step 2: Send payment out"),h.k0s()(),h.j41(90,"div",31)(91,"mat-card-subtitle",32),h.EFF(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,oe,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function Ie(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",142)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),h.nrm(10,"circle",12)(11,"path",147),h.k0s(),h.j41(12,"g",14),h.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),h.k0s()(),h.j41(28,"g",149),h.nrm(29,"polygon",150)(30,"polygon",99)(31,"path",151),h.k0s(),h.j41(32,"g",152),h.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),h.j41(43,"g",112)(44,"g",113),h.nrm(45,"g",114),h.k0s(),h.nrm(46,"g",115),h.k0s()()(),h.nrm(47,"path",153),h.k0s()()()(),h.joV(),h.j41(48,"div",30)(49,"mat-card-title"),h.EFF(50,"Step 3: Recieve Funds Off-chain"),h.k0s()(),h.j41(51,"div",31)(52,"mat-card-subtitle",32),h.EFF(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,oe,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function st(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",154)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"defs")(5,"linearGradient",34),h.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),h.k0s()(),h.j41(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),h.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),h.k0s(),h.j41(28,"g",172),h.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),h.k0s(),h.nrm(43,"path",187),h.k0s()(),h.nrm(44,"circle",188),h.k0s()()()(),h.joV(),h.j41(45,"div",30)(46,"mat-card-title"),h.EFF(47,"Done!"),h.k0s()(),h.j41(48,"div",31)(49,"mat-card-subtitle",32),h.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. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,oe,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}let me=(()=>{class Xt{constructor(tt){this.commonService=tt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new h.bkB,this.screenSize="",this.screenSizeEnum=f.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(tt){2===tt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===tt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static{this.\u0275fac=function(ot){return new(ot||Xt)(h.rXU(j.h))}}static{this.\u0275cmp=h.VBU({type:Xt,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(ot,Mt){if(1&ot&&h.DNE(0,X,1,0,"ng-container",5)(1,se,32,5,"ng-template",null,0,h.C5r)(3,ae,66,5,"ng-template",null,1,h.C5r)(5,he,93,5,"ng-template",null,2,h.C5r)(7,Ie,54,5,"ng-template",null,3,h.C5r)(9,st,51,5,"ng-template",null,4,h.C5r),2&ot){const Bt=h.sdS(2),Ci=h.sdS(4),Ti=h.sdS(6),Hi=h.sdS(8),Zi=h.sdS(10);h.Y8G("ngTemplateOutlet",1===Mt.stepNumber?Bt:2===Mt.stepNumber?Ci:3===Mt.stepNumber?Ti:4===Mt.stepNumber?Hi:Zi)}},dependencies:[O.YU,O.T3,Y.DJ,Y.sA,Y.UI,W.PW,J.Lc,J.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:[We.k]}})}}return Xt})();const Ee=(Xt,St)=>({"small-svg":Xt,"large-svg":St});function ue(Xt,St){1&Xt&&h.eu8(0)}function Be(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",7)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),h.nrm(8,"circle",12)(9,"path",13),h.k0s(),h.j41(10,"g",14),h.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),h.k0s()()()()(),h.joV(),h.j41(26,"div",30)(27,"mat-card-title"),h.EFF(28,"Loop Out explained."),h.k0s()(),h.j41(29,"div",31)(30,"mat-card-subtitle",32),h.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,Ee,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function Ct(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",33)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"defs")(5,"linearGradient",34),h.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),h.k0s()(),h.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),h.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),h.k0s(),h.j41(28,"g",56),h.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),h.k0s(),h.nrm(43,"path",71),h.k0s()(),h.nrm(44,"circle",72),h.k0s()()()(),h.joV(),h.j41(45,"div",30)(46,"mat-card-title"),h.EFF(47,"Step 1: Deciding to Loop Out"),h.k0s()(),h.j41(48,"div",31)(49,"mat-card-subtitle",32),h.EFF(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,Ee,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function ct(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",73)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"defs")(5,"linearGradient",74),h.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),h.k0s()(),h.j41(9,"g",8)(10,"g",75)(11,"g",76),h.nrm(12,"circle",77)(13,"path",78),h.j41(14,"g",79),h.nrm(15,"polygon",80)(16,"polygon",81)(17,"path",82),h.k0s(),h.j41(18,"g",83),h.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),h.j41(29,"g",94)(30,"g",95),h.nrm(31,"g",96),h.k0s(),h.nrm(32,"g",97),h.k0s(),h.nrm(33,"path",98),h.k0s(),h.j41(34,"g",99)(35,"g",41)(36,"g",42),h.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),h.k0s(),h.j41(52,"g",56),h.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),h.k0s(),h.nrm(67,"path",111),h.k0s()()()()()(),h.joV(),h.j41(68,"div",30)(69,"mat-card-title"),h.EFF(70,"Step 2: Send lightning payment"),h.k0s()(),h.j41(71,"div",31)(72,"mat-card-subtitle",32),h.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. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,Ee,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function dt(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",112)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),h.nrm(9,"circle",12)(10,"path",117),h.k0s(),h.j41(11,"g",14),h.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),h.k0s()(),h.j41(27,"g",119),h.nrm(28,"polygon",80)(29,"polygon",120)(30,"path",82),h.k0s(),h.j41(31,"g",121),h.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),h.j41(42,"g",94)(43,"g",95),h.nrm(44,"g",96),h.k0s(),h.nrm(45,"g",97),h.k0s(),h.nrm(46,"path",123),h.k0s()()()()(),h.joV(),h.j41(47,"div",30)(48,"mat-card-title"),h.EFF(49,"Step 3: Receive funds back"),h.k0s()(),h.j41(50,"div",31)(51,"mat-card-subtitle",32),h.EFF(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,Ee,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function Yt(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",124)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"defs")(5,"linearGradient",34),h.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),h.k0s()(),h.j41(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),h.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),h.k0s(),h.j41(28,"g",142)(29,"g",143)(30,"g",144),h.nrm(31,"path",145)(32,"rect",146)(33,"polygon",147),h.j41(34,"g",148),h.nrm(35,"path",149),h.k0s(),h.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),h.k0s(),h.j41(45,"g",159),h.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),h.k0s(),h.nrm(59,"path",173),h.k0s()()()()()(),h.joV(),h.j41(60,"div",30)(61,"mat-card-title"),h.EFF(62,"Done!"),h.k0s()(),h.j41(63,"div",31)(64,"mat-card-subtitle",32),h.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. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,Ee,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}let ve=(()=>{class Xt{constructor(tt){this.commonService=tt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new h.bkB,this.screenSize="",this.screenSizeEnum=f.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(tt){2===tt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===tt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static{this.\u0275fac=function(ot){return new(ot||Xt)(h.rXU(j.h))}}static{this.\u0275cmp=h.VBU({type:Xt,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(ot,Mt){if(1&ot&&h.DNE(0,ue,1,0,"ng-container",5)(1,Be,32,5,"ng-template",null,0,h.C5r)(3,Ct,51,5,"ng-template",null,1,h.C5r)(5,ct,74,5,"ng-template",null,2,h.C5r)(7,dt,53,5,"ng-template",null,3,h.C5r)(9,Yt,66,5,"ng-template",null,4,h.C5r),2&ot){const Bt=h.sdS(2),Ci=h.sdS(4),Ti=h.sdS(6),Hi=h.sdS(8),Zi=h.sdS(10);h.Y8G("ngTemplateOutlet",1===Mt.stepNumber?Bt:2===Mt.stepNumber?Ci:3===Mt.stepNumber?Ti:4===Mt.stepNumber?Hi:Zi)}},dependencies:[O.YU,O.T3,Y.DJ,Y.sA,Y.UI,W.PW,J.Lc,J.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:[We.k]}})}}return Xt})();const _e=["stepper"],we=()=>[1,2,3,4,5],Ue=(Xt,St)=>({"dot-primary":Xt,"dot-primary-lighter":St});function je(Xt,St){if(1&Xt&&(h.j41(0,"div",48)(1,"p",49)(2,"strong"),h.EFF(3,"Channel Peer:\xa0"),h.k0s(),h.EFF(4),h.nI1(5,"titlecase"),h.k0s(),h.j41(6,"p",50)(7,"strong"),h.EFF(8,"Channel ID:\xa0"),h.k0s(),h.EFF(9),h.k0s(),h.nrm(10,"p",50),h.k0s()),2&Xt){const tt=h.XpG(2);h.R7$(4),h.JRh(h.bMT(5,2,tt.channel.remote_alias)),h.R7$(5),h.JRh(tt.channel.chan_id)}}function vt(Xt,St){if(1&Xt&&h.EFF(0),2&Xt){const tt=h.XpG(2);h.JRh(tt.inputFormLabel)}}function $e(Xt,St){1&Xt&&(h.j41(0,"mat-error"),h.EFF(1,"Amount is required."),h.k0s())}function nt(Xt,St){if(1&Xt&&(h.j41(0,"mat-error"),h.EFF(1),h.nI1(2,"number"),h.k0s()),2&Xt){const tt=h.XpG(2);h.R7$(),h.SpI("Amount must be greater than or equal to ",h.bMT(2,1,tt.minQuote.amount),".")}}function qt(Xt,St){if(1&Xt&&(h.j41(0,"mat-error"),h.EFF(1),h.nI1(2,"number"),h.k0s()),2&Xt){const tt=h.XpG(2);h.R7$(),h.SpI("Amount must be less than or equal to ",h.bMT(2,1,tt.maxQuote.amount),".")}}function Nt(Xt,St){1&Xt&&(h.j41(0,"mat-error"),h.EFF(1,"Confirmation target is required."),h.k0s())}function yt(Xt,St){1&Xt&&(h.j41(0,"mat-error"),h.EFF(1,"Confirmation target must be a positive number."),h.k0s())}function jt(Xt,St){1&Xt&&(h.j41(0,"mat-error"),h.EFF(1,"Percentage is required."),h.k0s())}function Je(Xt,St){1&Xt&&(h.j41(0,"mat-error"),h.EFF(1,"Percentage must be a positive number."),h.k0s())}function et(Xt,St){if(1&Xt&&(h.j41(0,"mat-form-field",50)(1,"mat-label"),h.EFF(2,"Max Off-chain Routing Fee (%)"),h.k0s(),h.nrm(3,"input",51),h.DNE(4,jt,2,0,"mat-error",25)(5,Je,2,0,"mat-error",25),h.k0s()),2&Xt){const tt=h.XpG(2);h.R7$(3),h.Y8G("step",1),h.R7$(),h.Y8G("ngIf",null==tt.inputFormGroup.controls.routingFeePercent.errors?null:tt.inputFormGroup.controls.routingFeePercent.errors.required),h.R7$(),h.Y8G("ngIf",null==tt.inputFormGroup.controls.routingFeePercent.errors?null:tt.inputFormGroup.controls.routingFeePercent.errors.min)}}function Ae(Xt,St){1&Xt&&(h.j41(0,"div",52)(1,"mat-slide-toggle",53),h.EFF(2,"Fast"),h.k0s(),h.j41(3,"mat-icon",54),h.EFF(4,"info_outline"),h.k0s()())}function It(Xt,St){if(1&Xt&&h.EFF(0),2&Xt){const tt=h.XpG(2);h.JRh(tt.quoteFormLabel)}}function Qt(Xt,St){1&Xt&&(h.j41(0,"p",55)(1,"mat-icon",56),h.EFF(2,"close"),h.k0s(),h.EFF(3,"Local balance amount is insufficient for swap."),h.k0s())}function Tt(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",57),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onValidateAmount())}),h.EFF(1,"Next"),h.k0s()}}function xt(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",58),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onLoop())}),h.EFF(1),h.k0s()}if(2&Xt){const tt=h.XpG(2);h.R7$(),h.SpI("Initiate ",tt.loopDirectionCaption,"")}}function Se(Xt,St){if(1&Xt&&h.EFF(0),2&Xt){const tt=h.XpG(3);h.JRh(tt.addressFormLabel)}}function Te(Xt,St){1&Xt&&(h.j41(0,"mat-error"),h.EFF(1,"Address is required."),h.k0s())}function ce(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"mat-step",16)(1,"form",17),h.DNE(2,Se,1,1,"ng-template",18),h.j41(3,"div",59)(4,"mat-radio-group",60),h.bIt("change",function(Mt){h.eBV(tt);const Bt=h.XpG(2);return h.Njj(Bt.onAddressTypeChange(Mt))}),h.j41(5,"mat-radio-button",61),h.EFF(6,"Node Local Address"),h.k0s(),h.j41(7,"mat-radio-button",62),h.EFF(8,"External Address"),h.k0s()(),h.j41(9,"mat-form-field",63)(10,"mat-label"),h.EFF(11,"Address"),h.k0s(),h.nrm(12,"input",64),h.DNE(13,Te,2,0,"mat-error",25),h.k0s()(),h.j41(14,"div",29)(15,"button",65),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onLoop())}),h.EFF(16),h.k0s()()()()}if(2&Xt){const tt=h.XpG(2);h.Y8G("stepControl",tt.addressFormGroup)("editable",tt.flgEditable),h.R7$(),h.Y8G("formGroup",tt.addressFormGroup),h.R7$(11),h.Y8G("required","external"===tt.addressFormGroup.controls.addressType.value),h.R7$(),h.Y8G("ngIf",null==tt.addressFormGroup.controls.address.errors?null:tt.addressFormGroup.controls.address.errors.required),h.R7$(3),h.SpI("Initiate ",tt.loopDirectionCaption,"")}}function Z(Xt,St){if(1&Xt&&h.EFF(0),2&Xt){const tt=h.XpG(2);h.SpI("",tt.loopDirectionCaption," Status")}}function Re(Xt,St){if(1&Xt&&(h.j41(0,"mat-icon",66),h.EFF(1),h.k0s()),2&Xt){const tt=h.XpG(2);h.R7$(),h.JRh(tt.loopStatus&&null!=tt.loopStatus&&tt.loopStatus.id_bytes?"check":"close")}}function Pe(Xt,St){1&Xt&&h.nrm(0,"div")}function pt(Xt,St){1&Xt&&h.nrm(0,"mat-progress-bar",67)}function Ke(Xt,St){if(1&Xt&&(h.j41(0,"h4",68),h.EFF(1),h.k0s()),2&Xt){const tt=h.XpG(2);h.R7$(),h.JRh(tt.loopStatus&&tt.loopStatus.error?tt.loopDirectionCaption+" failed.":tt.loopStatus&&tt.loopStatus.id_bytes&&tt.channel?tt.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":tt.loopDirectionCaption+" request placed successfully.")}}function Fe(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",69),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.goToLoop())}),h.EFF(1,"Check Status"),h.k0s()}}function Ge(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",70),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onRestart())}),h.EFF(1,"Start Again"),h.k0s()}}function qe(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),h.EFF(5),h.k0s()(),h.j41(6,"div",9)(7,"button",10),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG();return h.Njj(Mt.showInfo())}),h.EFF(8,"?"),h.k0s(),h.j41(9,"button",11),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG();return h.Njj(Mt.onClose())}),h.EFF(10,"X"),h.k0s()()(),h.j41(11,"mat-card-content",12)(12,"div",13),h.DNE(13,je,11,4,"div",14),h.j41(14,"mat-vertical-stepper",15,1),h.bIt("selectionChange",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.stepSelectionChanged(Mt))}),h.j41(16,"mat-step",16)(17,"form",17),h.DNE(18,vt,1,1,"ng-template",18),h.j41(19,"div",19),h.nrm(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",20),h.k0s(),h.j41(22,"div",21)(23,"mat-form-field",22)(24,"mat-label"),h.EFF(25,"Amount"),h.k0s(),h.nrm(26,"input",23),h.j41(27,"mat-hint"),h.EFF(28),h.nI1(29,"number"),h.nI1(30,"number"),h.k0s(),h.j41(31,"span",24),h.EFF(32,"Sats"),h.k0s(),h.DNE(33,$e,2,0,"mat-error",25)(34,nt,3,3,"mat-error",25)(35,qt,3,3,"mat-error",25),h.k0s(),h.j41(36,"mat-form-field",22)(37,"mat-label"),h.EFF(38,"Sweep Confirmation Target"),h.k0s(),h.nrm(39,"input",26),h.DNE(40,Nt,2,0,"mat-error",25)(41,yt,2,0,"mat-error",25),h.k0s(),h.DNE(42,et,6,3,"mat-form-field",27),h.k0s(),h.DNE(43,Ae,5,0,"div",28),h.j41(44,"div",29)(45,"button",30),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG();return h.Njj(Mt.onEstimateQuote())}),h.EFF(46,"Estimate Quote"),h.k0s()()()(),h.j41(47,"mat-step",16)(48,"form",17),h.DNE(49,It,1,1,"ng-template",18),h.nrm(50,"rtl-loop-quote",31),h.DNE(51,Qt,4,0,"p",32),h.j41(52,"div",29),h.DNE(53,Tt,2,0,"button",33)(54,xt,2,1,"button",34),h.k0s()()(),h.DNE(55,ce,17,6,"mat-step",35),h.j41(56,"mat-step",36)(57,"form",17),h.DNE(58,Z,1,1,"ng-template",18),h.j41(59,"div",37)(60,"mat-expansion-panel",38)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",39),h.EFF(64),h.DNE(65,Re,2,1,"mat-icon",40),h.k0s()()(),h.DNE(66,Pe,1,0,"div",41),h.k0s(),h.DNE(67,pt,1,0,"mat-progress-bar",42),h.k0s(),h.DNE(68,Ke,2,1,"h4",43),h.j41(69,"div",29),h.DNE(70,Fe,2,0,"button",44)(71,Ge,2,0,"button",45),h.k0s()()()(),h.j41(72,"div",46)(73,"button",47),h.EFF(74,"Close"),h.k0s()()()()()()}if(2&Xt){const tt=h.XpG(),ot=h.sdS(2);h.Y8G("@opacityAnimation",void 0),h.R7$(3),h.Y8G("fxFlex",tt.screenSize===tt.screenSizeEnum.XS||tt.screenSize===tt.screenSizeEnum.SM?"83":"91"),h.R7$(2),h.JRh(tt.channel?"Channel "+tt.loopDirectionCaption:tt.loopDirectionCaption),h.R7$(),h.Y8G("fxFlex",tt.screenSize===tt.screenSizeEnum.XS||tt.screenSize===tt.screenSizeEnum.SM?"17":"9"),h.R7$(7),h.Y8G("ngIf",tt.channel),h.R7$(),h.Y8G("linear",!0),h.R7$(2),h.Y8G("stepControl",tt.inputFormGroup)("editable",tt.flgEditable),h.R7$(),h.Y8G("formGroup",tt.inputFormGroup),h.R7$(3),h.Y8G("quote",tt.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),h.R7$(),h.Y8G("quote",tt.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),h.R7$(2),h.Y8G("fxFlex",tt.direction===tt.LoopTypeEnum.LOOP_OUT?"35":"48"),h.R7$(3),h.Y8G("step",1e3),h.R7$(2),h.Lme("Range: ",h.bMT(29,51,tt.minQuote.amount),"-",h.bMT(30,53,tt.maxQuote.amount),""),h.R7$(5),h.Y8G("ngIf",null==tt.inputFormGroup.controls.amount.errors?null:tt.inputFormGroup.controls.amount.errors.required),h.R7$(),h.Y8G("ngIf",null==tt.inputFormGroup.controls.amount.errors?null:tt.inputFormGroup.controls.amount.errors.min),h.R7$(),h.Y8G("ngIf",null==tt.inputFormGroup.controls.amount.errors?null:tt.inputFormGroup.controls.amount.errors.max),h.R7$(),h.Y8G("fxFlex",tt.direction===tt.LoopTypeEnum.LOOP_OUT?"30":"48"),h.R7$(3),h.Y8G("step",1),h.R7$(),h.Y8G("ngIf",null==tt.inputFormGroup.controls.sweepConfTarget.errors?null:tt.inputFormGroup.controls.sweepConfTarget.errors.required),h.R7$(),h.Y8G("ngIf",null==tt.inputFormGroup.controls.sweepConfTarget.errors?null:tt.inputFormGroup.controls.sweepConfTarget.errors.min),h.R7$(),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_OUT),h.R7$(),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_OUT),h.R7$(4),h.Y8G("stepControl",tt.quoteFormGroup)("editable",tt.flgEditable),h.R7$(),h.Y8G("formGroup",tt.quoteFormGroup),h.R7$(2),h.Y8G("quote",tt.quote)("showPanel",!1),h.R7$(),h.Y8G("ngIf",tt.inputFormGroup.controls.amount.value>tt.localBalanceToCompare),h.R7$(2),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_OUT),h.R7$(),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_IN),h.R7$(),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_OUT),h.R7$(),h.Y8G("stepControl",tt.statusFormGroup),h.R7$(),h.Y8G("formGroup",tt.statusFormGroup),h.R7$(3),h.Y8G("expanded",!!tt.loopStatus),h.R7$(4),h.JRh(tt.loopStatus?tt.loopStatus.id_bytes?tt.loopDirectionCaption+" request details":tt.loopDirectionCaption+" error details":"Waiting for "+tt.loopDirectionCaption+" request..."),h.R7$(),h.Y8G("ngIf",tt.loopStatus),h.R7$(),h.Y8G("ngIf",!tt.loopStatus)("ngIfElse",ot),h.R7$(),h.Y8G("ngIf",!tt.loopStatus),h.R7$(),h.Y8G("ngIf",tt.loopStatus),h.R7$(2),h.Y8G("ngIf",tt.loopStatus&&tt.loopStatus.id_bytes&&tt.channel),h.R7$(),h.Y8G("ngIf",tt.loopStatus&&(tt.loopStatus.error||!tt.loopStatus.id_bytes)),h.R7$(2),h.Y8G("mat-dialog-close",!1)}}function at(Xt,St){if(1&Xt&&h.nrm(0,"rtl-loop-status",71),2&Xt){const tt=h.XpG();h.Y8G("loopStatus",tt.loopStatus)}}function Lt(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"rtl-loop-out-info-graphics",87),h.mxI("stepNumberChange",function(Mt){h.eBV(tt);const Bt=h.XpG(2);return h.DH7(Bt.stepNumber,Mt)||(Bt.stepNumber=Mt),h.Njj(Mt)}),h.k0s()}if(2&Xt){const tt=h.XpG(2);h.Y8G("animationDirection",tt.animationDirection),h.R50("stepNumber",tt.stepNumber)}}function pi(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"rtl-loop-in-info-graphics",87),h.mxI("stepNumberChange",function(Mt){h.eBV(tt);const Bt=h.XpG(2);return h.DH7(Bt.stepNumber,Mt)||(Bt.stepNumber=Mt),h.Njj(Mt)}),h.k0s()}if(2&Xt){const tt=h.XpG(2);h.Y8G("animationDirection",tt.animationDirection),h.R50("stepNumber",tt.stepNumber)}}function $t(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"span",88),h.bIt("click",function(){const Mt=h.eBV(tt).$implicit,Bt=h.XpG(2);return h.Njj(Bt.onStepChanged(Mt))}),h.nrm(1,"p",89),h.k0s()}if(2&Xt){const tt=St.$implicit,ot=h.XpG(2);h.R7$(),h.Y8G("ngClass",h.l_i(1,Ue,ot.stepNumber===tt,ot.stepNumber!==tt))}}function Kt(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",90),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onReadMore())}),h.EFF(1,"Read More"),h.k0s()}}function Ui(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",91),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onStepChanged(4))}),h.EFF(1,"Back"),h.k0s()}}function ti(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",92),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return Mt.flgShowInfo=!1,h.Njj(Mt.stepNumber=1)}),h.EFF(1,"Close"),h.k0s()}}function fi(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",93),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return Mt.flgShowInfo=!1,h.Njj(Mt.stepNumber=1)}),h.EFF(1,"Close"),h.k0s()}}function xn(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",94),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onStepChanged(Mt.stepNumber-1))}),h.EFF(1,"Back"),h.k0s()}}function tn(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",95),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onStepChanged(Mt.stepNumber+1))}),h.EFF(1,"Next"),h.k0s()}}function Vi(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",72)(1,"div",19)(2,"mat-card-header",73)(3,"div",74),h.nrm(4,"span",8),h.k0s(),h.j41(5,"div",75)(6,"button",11),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG();return Mt.flgShowInfo=!1,h.Njj(Mt.stepNumber=1)}),h.EFF(7,"X"),h.k0s()()(),h.j41(8,"mat-card-content",76),h.DNE(9,Lt,1,2,"rtl-loop-out-info-graphics",77)(10,pi,1,2,"rtl-loop-in-info-graphics",77),h.k0s(),h.j41(11,"div",78),h.DNE(12,$t,2,4,"span",79),h.k0s(),h.j41(13,"div",80),h.DNE(14,Kt,2,0,"button",81)(15,Ui,2,0,"button",82)(16,ti,2,0,"button",83)(17,fi,2,0,"button",84)(18,xn,2,0,"button",85)(19,tn,2,0,"button",86),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@opacityAnimation",void 0),h.R7$(9),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_OUT),h.R7$(),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_IN),h.R7$(2),h.Y8G("ngForOf",h.lJ4(10,we)),h.R7$(2),h.Y8G("ngIf",5===tt.stepNumber),h.R7$(),h.Y8G("ngIf",5===tt.stepNumber),h.R7$(),h.Y8G("ngIf",5===tt.stepNumber),h.R7$(),h.Y8G("ngIf",tt.stepNumber<5),h.R7$(),h.Y8G("ngIf",tt.stepNumber>1&&tt.stepNumber<5),h.R7$(),h.Y8G("ngIf",tt.stepNumber<5)}}let Qi=(()=>{class Xt{constructor(tt,ot,Mt,Bt,Ci,Ti,Hi,Zi,ln){this.dialogRef=tt,this.data=ot,this.store=Mt,this.loopService=Bt,this.formBuilder=Ci,this.decimalPipe=Ti,this.logger=Hi,this.router=Zi,this.commonService=ln,this.faInfoCircle=l.iW_,this.LoopTypeEnum=f.C7,this.direction=f.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=f.f7,this.animationDirection="forward",this.flgEditable=!0,this.localBalanceToCompare=null,this.unSubs=[new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.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||f.C7.LOOP_OUT,this.loopDirectionCaption=this.direction===f.C7.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[e.k0.required,e.k0.min(this.minQuote.amount||0),e.k0.max(this.maxQuote.amount||0)]],sweepConfTarget:[6,[e.k0.required,e.k0.min(1)]],routingFeePercent:[2,[e.k0.required,e.k0.min(0)]],fast:[!1,[e.k0.required]]}),this.inputFormGroup.setErrors({Invalid:!0}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[e.k0.required]],address:[{value:"",disabled:!0}]}),this.direction===f.C7.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(R.BM).pipe((0,x.Q)(this.unSubs[6])).subscribe(tt=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:tt.lightningBalance&&tt.lightningBalance.local?+tt.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,x.Q)(this.unSubs[4])).subscribe(tt=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===f.C7.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,x.Q)(this.unSubs[5])).subscribe(tt=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(tt){"external"===tt.value?(this.addressFormGroup.controls.address.setValidators([e.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.valuethis.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2||this.direction===f.C7.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===f.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===f.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,x.Q)(this.unSubs[0])).subscribe({next:tt=>{this.loopStatus=tt,this.loopService.listSwaps(),this.flgEditable=!0},error:tt=>{this.loopStatus={error:tt},this.flgEditable=!0,this.logger.error(tt)}});else{const tt=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),ot="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",Mt=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.loopService.loopOut(this.inputFormGroup.controls.amount.value,this.channel&&this.channel.chan_id?this.channel.chan_id:"",this.inputFormGroup.controls.sweepConfTarget.value,tt,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),Mt,ot).pipe((0,x.Q)(this.unSubs[1])).subscribe({next:Bt=>{this.loopStatus=Bt,this.loopService.listSwaps(),this.flgEditable=!0},error:Bt=>{this.loopStatus={error:Bt},this.flgEditable=!0,this.logger.error(Bt)}})}}onEstimateQuote(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.valuethis.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2)return!0;const tt=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===f.C7.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,tt).pipe((0,x.Q)(this.unSubs[2])).subscribe(ot=>{this.quote=ot,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}):this.loopService.getLoopOutQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,tt).pipe((0,x.Q)(this.unSubs[3])).subscribe(ot=>{this.quote=ot,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}),this.stepper.selected?.stepControl.setErrors(null),this.stepper.next()}stepSelectionChanged(tt){switch(tt.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===f.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===f.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===f.C7.LOOP_OUT&&1!==tt.selectedIndex&&tt.selectedIndex{tt.next(null),tt.complete()})}static{this.\u0275fac=function(ot){return new(ot||Xt)(h.rXU(D.CP),h.rXU(D.Vh),h.rXU(S.il),h.rXU(y.Q),h.rXU(e.ze),h.rXU(O.QX),h.rXU(I.gP),h.rXU(V.Ix),h.rXU(j.h))}}static{this.\u0275cmp=h.VBU({type:Xt,selectors:[["rtl-loop-modal"]],viewQuery:function(ot,Mt){if(1&ot&&h.GBs(_e,5),2&ot){let Bt;h.mGM(Bt=h.lsd())&&(Mt.stepper=Bt.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(ot,Mt){1&ot&&h.DNE(0,qe,75,55,"div",2)(1,at,1,1,"ng-template",null,0,h.C5r)(3,Vi,20,11,"div",3),2&ot&&(h.Y8G("ngIf",!Mt.flgShowInfo),h.R7$(3),h.Y8G("ngIf",Mt.flgShowInfo))},dependencies:[O.YU,O.Sq,O.bT,e.qT,e.me,e.Q0,e.BC,e.cb,e.YS,e.j4,e.JD,Y.DJ,Y.sA,Y.UI,W.PW,D.tx,Q.$z,J.m2,J.MM,ie.GK,ie.Z2,ie.WN,ee.An,fe.fg,ne.rl,ne.nJ,ne.MV,ne.TL,ne.yw,Me.HM,Ce.VT,Ce._g,le.sG,T.oV,n.V5,n.Ti,n.M6,c.N,N,Xe,me,ve,O.QX,O.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:[w.C]}})}}return Xt})()},13:(Qe,te,g)=>{"use strict";g.d(te,{X:()=>R});var e=g(5383),t=g(4438),x=g(1188),D=g(60),l=g(2920),w=g(8834),f=g(5596);let R=(()=>{class h{constructor(y){this.router=y,this.faTimes=e.GRI}goToHelp(){this.router.navigate(["/help"])}static{this.\u0275fac=function(O){return new(O||h)(t.rXU(x.Ix))}}static{this.\u0275cmp=t.VBU({type:h,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(O,I){1&O&&(t.j41(0,"div",0),t.nrm(1,"fa-icon",1),t.j41(2,"span",2),t.EFF(3,"Page Not Found"),t.k0s()(),t.j41(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"div",5)(8,"div",6),t.EFF(9,"This page does not exist!"),t.k0s(),t.j41(10,"span",7)(11,"button",8),t.bIt("click",function(){return I.goToHelp()}),t.EFF(12,"Go To Help"),t.k0s()()()()()()),2&O&&(t.R7$(),t.Y8G("icon",I.faTimes))},dependencies:[D.aY,l.DJ,l.sA,l.UI,w.$z,f.RN,f.m2],encapsulation:2})}}return h})()},9587:(Qe,te,g)=>{"use strict";g.d(te,{N:()=>t});var e=g(4438);let t=(()=>{class x{constructor(l){this.el=l}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}static{this.\u0275fac=function(w){return new(w||x)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:x,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}})}}return x})()},9157:(Qe,te,g)=>{"use strict";g.d(te,{U:()=>t});var e=g(4438);let t=(()=>{class x{constructor(){this.copied=new e.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(w){return new(w||x)}}static{this.\u0275dir=e.FsC({type:x,selectors:[["","rtlClipboard",""]],hostBindings:function(w,f){1&w&&e.bIt("click",function(h){return f.onClick(h)})},inputs:{payload:"payload"},outputs:{copied:"copied"}})}}return x})()},92:(Qe,te,g)=>{"use strict";g.d(te,{z:()=>x});var e=g(9417),t=g(4438);let x=(()=>{class D{validate(w){return this.max?e.k0.max(+this.max)(w):null}static{this.\u0275fac=function(f){return new(f||D)}}static{this.\u0275dir=t.FsC({type:D,selectors:[["input","max",""]],inputs:{max:"max"},features:[t.Jv_([{provide:e.cz,useExisting:D,multi:!0}])]})}}return D})()},6114:(Qe,te,g)=>{"use strict";g.d(te,{V:()=>x});var e=g(9417),t=g(4438);let x=(()=>{class D{validate(w){return this.min?e.k0.min(+this.min)(w):null}static{this.\u0275fac=function(f){return new(f||D)}}static{this.\u0275dir=t.FsC({type:D,selectors:[["input","min",""]],inputs:{min:"min"},features:[t.Jv_([{provide:e.cz,useExisting:D,multi:!0}])]})}}return D})()},2929:(Qe,te,g)=>{"use strict";g.d(te,{Qu:()=>D,VD:()=>l,ZE:()=>x,gZ:()=>t});var e=g(4438);let t=(()=>{class w{transform(R,h){return R?.replace(/^[0]+/g,"")}static{this.\u0275fac=function(h){return new(h||w)}}static{this.\u0275pipe=e.EJ8({name:"removeleadingzeros",type:w,pure:!0})}}return w})(),x=(()=>{class w{transform(R,h){return R?.replace(/(?:^\w|[A-Z]|\b\w)/g,(S,y)=>S.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}static{this.\u0275fac=function(h){return new(h||w)}}static{this.\u0275pipe=e.EJ8({name:"camelcase",type:w,pure:!0})}}return w})(),D=(()=>{class w{transform(R,h,S){return R.replace(/(?:^\w|[A-Z]|\b\w)/g,(y,O)=>" "+y.toUpperCase())}static{this.\u0275fac=function(h){return new(h||w)}}static{this.\u0275pipe=e.EJ8({name:"camelCaseWithSpaces",type:w,pure:!0})}}return w})(),l=(()=>{class w{transform(R,h,S){return R=R?R.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "):"",h&&(R=R.replace(new RegExp(h,"g")," ")),S&&(R=R.replace(new RegExp(S,"g")," ")),R.replace(/(?:^\w|[A-Z]|\b\w)/g,(y,O)=>y.toUpperCase())}static{this.\u0275fac=function(h){return new(h||w)}}static{this.\u0275pipe=e.EJ8({name:"camelcaseWithReplace",type:w,pure:!0})}}return w})()},7186:(Qe,te,g)=>{"use strict";g.d(te,{Wz:()=>f,fe:()=>R,jn:()=>w,q_:()=>l});var e=g(4438),t=g(1188),x=g(3202),D=g(6354);function l(){return()=>{const h=(0,e.WQX)(t.Ix),S=(0,e.WQX)(t.nX),y=(0,e.WQX)(x.Q);return!(!y.getItem("token")||S.snapshot.url&&S.snapshot.url.length&&"settings"!==S.snapshot.url[0].path&&"auth"!==S.snapshot.url[0].path&&"true"===y.getItem("defaultPassword")&&(h.navigate(["/settings/auth"]),1))}}function w(){return()=>!!(0,e.WQX)(x.Q).watchSession().pipe((0,D.T)(S=>S.lndUnlocked))}function f(){return()=>!!(0,e.WQX)(x.Q).watchSession().pipe((0,D.T)(S=>S.clnUnlocked))}function R(){return()=>!!(0,e.WQX)(x.Q).watchSession().pipe((0,D.T)(S=>S.eclUnlocked))}},2571:(Qe,te,g)=>{"use strict";g.d(te,{h:()=>V});var e=g(4412),t=g(1413),x=g(7673),D=g(8810),l=g(6977),w=g(5558),f=g(9437),R=g(4416),h=g(4438),S=g(1534),y=g(8570),O=g(177),I=g(345);let V=(()=>{class j{constructor(W,Q,J,ie){this.dataService=W,this.logger=Q,this.datePipe=J,this.sanitizer=ie,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 e.t(this.containerSize),this.unSubs=[new t.B,new t.B,new t.B]}getScreenSize(){return this.screenSize}setScreenSize(W){this.screenSize=W}getContainerSize(){return this.containerSize}setContainerSize(W,Q){this.containerSize={width:W,height:Q},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(W,Q,J,ie="asc"){return W.sort("number"===J?"desc"===ie?(ee,fe)=>+ee[Q]>+fe[Q]?-1:1:(ee,fe)=>+ee[Q]>+fe[Q]?1:-1:"desc"===ie?(ee,fe)=>ee[Q]>fe[Q]?-1:1:(ee,fe)=>ee[Q]>fe[Q]?1:-1)}sortDescByKey(W,Q){return W.sort((J,ie)=>{const ee=+J[Q],fe=+ie[Q];return ee>fe?-1:ee{const ee=+J[Q],fe=+ie[Q];return eefe?1:0})}camelCase(W){return W?.replace(/(?:^\w|[A-Z]|\b\w)/g,(Q,J)=>Q.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(W,Q,J){return Q&&J&&""!==Q&&""!==J&&(W=W?.replace(new RegExp(Q,"g"),J)),W.indexOf("!\n")>0||W.indexOf(".\n")>0?W.split("\n")?.reduce((ie,ee)=>ie+ee.charAt(0).toUpperCase()+ee.substring(1).toLowerCase()+"\n",""):W.indexOf(" ")>0?W.split(" ")?.reduce((ie,ee)=>ie+ee.charAt(0).toUpperCase()+ee.substring(1).toLowerCase()+" ",""):W.charAt(0).toUpperCase()+W.substring(1).toLowerCase()}convertCurrency(W,Q,J,ie,ee){const fe=(new Date).valueOf();try{return ee&&ie&&(Q===R.BQ.OTHER||J===R.BQ.OTHER)?this.ratesAPIStatus!==R.wn.INITIATED?this.conversionData.data&&this.conversionData.last_fetched&&fe(this.ratesAPIStatus=R.wn.COMPLETED,this.conversionData.data=ne&&"object"==typeof ne?ne:ne&&"string"==typeof ne?JSON.parse(ne):{},this.conversionData.last_fetched=fe,(0,x.of)(this.convertWithFiat(W,Q,ie)))),(0,f.W)(ne=>(this.ratesAPIStatus=R.wn.ERROR,(0,D.$)(()=>"Currency Conversion Error."))))):(0,x.of)(this.conversionData.data&&this.conversionData.last_fetched&&fe"Currency Conversion Error.")}}convertWithoutFiat(W,Q){const J={};switch(J[R.BQ.SATS]=0,J[R.BQ.BTC]=0,Q){case R.BQ.SATS:J[R.BQ.SATS]=W,J[R.BQ.BTC]=1e-8*W;break;case R.BQ.BTC:J[R.BQ.SATS]=1e8*W,J[R.BQ.BTC]=W}return J}convertWithFiat(W,Q,J){const ie={unit:J,iconType:"FA",symbol:null};if(J){const ee=(0,R.Zo)(this.conversionData.data[J].symbol);ie.iconType=ee.iconType,ie.symbol=ee&&"SVG"===ee.iconType&&ee.symbol&&"string"==typeof ee.symbol?this.sanitizer.bypassSecurityTrustHtml(ee.symbol):ee.symbol}switch(ie[R.BQ.SATS]=0,ie[R.BQ.BTC]=0,ie[R.BQ.OTHER]=0,Q){case R.BQ.SATS:ie[R.BQ.SATS]=W,ie[R.BQ.BTC]=1e-8*W,ie[R.BQ.OTHER]=1e-8*W*this.conversionData.data[J].last;break;case R.BQ.BTC:ie[R.BQ.SATS]=1e8*W,ie[R.BQ.BTC]=W,ie[R.BQ.OTHER]=W*this.conversionData.data[J].last;break;case R.BQ.OTHER:ie[R.BQ.SATS]=W/this.conversionData.data[J].last*1e8,ie[R.BQ.BTC]=W/this.conversionData.data[J].last,ie[R.BQ.OTHER]=W}return ie}convertTime(W,Q,J){switch(Q){case R.F7.SECS:switch(J){case R.F7.MINS:W/=60;break;case R.F7.HOURS:W/=R.bz;break;case R.F7.DAYS:W/=24*R.bz}break;case R.F7.MINS:switch(J){case R.F7.SECS:W*=60;break;case R.F7.HOURS:W/=60;break;case R.F7.DAYS:W/=1440}break;case R.F7.HOURS:switch(J){case R.F7.SECS:W*=R.bz;break;case R.F7.MINS:W*=60;break;case R.F7.DAYS:W/=24}break;case R.F7.DAYS:switch(J){case R.F7.SECS:W=W*R.bz*24;break;case R.F7.MINS:W=60*W*24;break;case R.F7.HOURS:W*=24}}return W}downloadFile(W,Q,J=".json",ie=".csv"){let ee=new Blob;ee=".json"===J?new Blob(["\ufeff"+this.convertToCSV(W)],{type:"text/csv;charset=utf-8;"}):new Blob([W.toString()],{type:"text/plain;charset=utf-8"});const fe=document.createElement("a"),ne=URL.createObjectURL(ee);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&fe.setAttribute("target","_blank"),fe.setAttribute("href",ne),fe.setAttribute("download",Q+ie),fe.style.visibility="hidden",document.body.appendChild(fe),fe.click(),document.body.removeChild(fe)}convertToCSV(W){const Q=[];let J="",ie="",ee="";return"object"!=typeof W&&(W=JSON.parse(W)),W.forEach((ne,Me)=>{for(const Ce in ne)Q.findIndex(le=>le===Ce)<0&&Q.push(Ce)}),ee=Q.join(",")+"\r\n",W.forEach(ne=>{J="",Q.forEach(Me=>{if(ne.hasOwnProperty(Me))if(Array.isArray(ne[Me]))ie="",ne[Me].forEach((Ce,le)=>{ie+="object"==typeof Ce?"("+JSON.stringify(Ce)?.replace(/\,/g,";")+")":"("+Ce+")"}),J+=ie+",";else if("object"==typeof ne[Me])J+=JSON.stringify(ne[Me])?.replace(/\,/g,";")+",";else if(Me.includes("timestamp")||Me.includes("date"))try{switch(ne[Me].toString().length){case 10:J+=this.datePipe.transform(new Date(1e3*ne[Me]),"dd/MMM/y HH:mm")+",";break;case 13:J+=this.datePipe.transform(new Date(ne[Me]),"dd/MMM/y HH:mm")+",";break;default:J+=ne[Me]+","}}catch{J+=ne[Me]+","}else J+=ne[Me]+",";else J+=","}),ee+=J.slice(0,-1)+"\r\n"}),ee}isVersionCompatible(W,Q){if(W){const J=W.match(/v?(?\d+(?:\.\d+)*)/);if(J&&J.groups&&J.groups.version){this.logger.info("Current Version: "+J.groups.version),this.logger.info("Checking Compatiblility with Version: "+Q);const ie=J.groups.version.split(".")||[],ee=Q.split(".");return+ie[0]>+ee[0]||+ie[0]==+ee[0]&&+ie[1]>+ee[1]||+ie[0]==+ee[0]&&+ie[1]==+ee[1]&&+ie[2]>=+ee[2]}return this.logger.error("Invalid Version String: "+W),!1}return!1}extractErrorMessage(W,Q="Unknown Error."){const J=this.titleCase(W.error&&W.error.text&&"string"==typeof W.error.text&&W.error.text.includes('')?"API Route Does Not Exist.":W.error&&W.error.error&&W.error.error.error&&W.error.error.error.error&&W.error.error.error.error.error&&"string"==typeof W.error.error.error.error.error?W.error.error.error.error.error:W.error&&W.error.error&&W.error.error.error&&W.error.error.error.error&&"string"==typeof W.error.error.error.error?W.error.error.error.error:W.error&&W.error.error&&W.error.error.error&&"string"==typeof W.error.error.error?W.error.error.error:W.error&&W.error.error&&"string"==typeof W.error.error?W.error.error:W.error&&"string"==typeof W.error?W.error:W.error&&W.error.error&&W.error.error.error&&W.error.error.error.error&&W.error.error.error.error.message&&"string"==typeof W.error.error.error.error.message?W.error.error.error.error.message:W.error&&W.error.error&&W.error.error.error&&W.error.error.error.message&&"string"==typeof W.error.error.error.message?W.error.error.error.message:W.error&&W.error.error&&W.error.error.message&&"string"==typeof W.error.error.message?W.error.error.message:W.error&&W.error.message&&"string"==typeof W.error.message?W.error.message:W.message&&"string"==typeof W.message?W.message:Q);return this.logger.info("Error Message: "+J),J}extractErrorCode(W,Q=500){const J=W.error&&W.error.error&&W.error.error.message&&W.error.error.message.code?W.error.error.message.code:W.error&&W.error.error&&W.error.error.code?W.error.error.code:W.error&&W.error.code?W.error.code:W.code?W.code:W.status?W.status:Q;return this.logger.info("Error Code: "+J),J}extractErrorNumber(W,Q=500){const J=W.error&&W.error.error&&W.error.error.errno?W.error.error.errno:W.error&&W.error.errno?W.error.errno:W.errno?W.errno:W.status?W.status:Q;return this.logger.info("Error Number: "+J),J}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}static{this.\u0275fac=function(Q){return new(Q||j)(h.KVO(S.u),h.KVO(y.gP),h.KVO(O.vh),h.KVO(I.up))}}static{this.\u0275prov=h.jDH({token:j,factory:j.\u0275fac})}}return j})()},4416:(Qe,te,g)=>{"use strict";g.d(te,{A$:()=>le,A0:()=>y,Ah:()=>We,BQ:()=>m,Bd:()=>N,Bv:()=>ee,C6:()=>et,C7:()=>z,F7:()=>n,G:()=>ie,H$:()=>h,HW:()=>Ce,Hx:()=>b,It:()=>f,Jd:()=>vt,Jr:()=>ne,KR:()=>pe,Ld:()=>W,MZ:()=>X,NG:()=>w,QP:()=>Ie,SY:()=>I,TC:()=>st,TH:()=>Ee,U1:()=>T,UN:()=>d,Uq:()=>ue,Uu:()=>me,WW:()=>Nt,X8:()=>qt,XG:()=>Q,Y0:()=>se,ZC:()=>$e,Zb:()=>a,Zi:()=>jt,Zo:()=>Je,_1:()=>nt,_U:()=>Be,aG:()=>k,aR:()=>ae,aU:()=>he,bz:()=>l,ck:()=>fe,f7:()=>C,iI:()=>_,jG:()=>Ue,k:()=>O,md:()=>j,mu:()=>je,nv:()=>J,o1:()=>Me,oi:()=>we,on:()=>D,q9:()=>q,rl:()=>S,rs:()=>ze,tj:()=>A,ul:()=>Ct,wn:()=>oe,xk:()=>ct,xp:()=>Y,xv:()=>R});var e=g(4438),t=g(6695),x=g(5383);function D(Ae){const It=new t.xX;return It.itemsPerPageLabel=Ae+" per page:",It}const l=3600,w=31536e3,f=24*l*7,R="0.15.4-beta",h=(0,e.naY)()?"http://localhost:3000/rtl/api":"./api",S={AUTHENTICATE_API:h+"/authenticate",CONF_API:h+"/conf",PAGE_SETTINGS_API:h+"/pagesettings",BALANCE_API:"/balance",FEES_API:"/fees",PEERS_API:"/peers",CHANNELS_API:"/channels",CHANNELS_BACKUP_API:"/channels/backup",GETINFO_API:"/getinfo",WALLET_API:"/wallet",NETWORK_API:"/network",NEW_ADDRESS_API:"/newaddress",TRANSACTIONS_API:"/transactions",PAYMENTS_API:"/payments",INVOICES_API:"/invoices",SWITCH_API:"/switch",ON_CHAIN_API:"/onchain",MESSAGE_API:"/message",OFFERS_API:"/offers",UTILITY_API:"/utility",LOOP_API:"/loop",BOLTZ_API:"/boltz",Web_SOCKET_API:"/ws"},y=["Sats","BTC"],O={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},I=["SECS","MINS","HOURS","DAYS"],j=10,Y=[5,10,25,100],W=[{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"}],Q=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],J=[{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"}],ie=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom"}],ee={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 fe=function(Ae){return Ae.PAYMENT_RECEIVED="payment-received",Ae.PAYMENT_RELAYED="payment-relayed",Ae.PAYMENT_SENT="payment-sent",Ae.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",Ae.PAYMENT_FAILED="payment-failed",Ae.CHANNEL_OPENED="channel-opened",Ae.CHANNEL_STATE_CHANGED="channel-state-changed",Ae.CHANNEL_CLOSED="channel-closed",Ae}(fe||{}),ne=function(Ae){return Ae.CONNECT="connect",Ae.DISCONNECT="disconnect",Ae.WARNING="warning",Ae.INVOICE_PAYMENT="invoice_payment",Ae.INVOICE_CREATION="invoice_creation",Ae.CHANNEL_OPENED="channel_opened",Ae.CHANNEL_STATE_CHANGED="channel_state_changed",Ae.SENDPAY_SUCCESS="sendpay_success",Ae.SENDPAY_FAILURE="sendpay_failure",Ae.COIN_MOVEMENT="coin_movement",Ae.BALANCE_SNAPSHOT="balance_snapshot",Ae.BLOCK_ADDED="block_added",Ae.OPENCHANNEL_PEER_SIGS="openchannel_peer_sigs",Ae.CHANNEL_OPEN_FAILED="channel_open_failed",Ae}(ne||{}),Me=function(Ae){return Ae.INVOICE="invoice",Ae}(Me||{}),Ce=function(Ae){return Ae.OPERATOR="OPERATOR",Ae.MERCHANT="MERCHANT",Ae.ALL="ALL",Ae}(Ce||{}),le=function(Ae){return Ae.INFORMATION="Information",Ae.WARNING="Warning",Ae.ERROR="Error",Ae.SUCCESS="Success",Ae.CONFIRM="Confirm",Ae}(le||{}),T=function(Ae){return Ae.JWT="JWT",Ae.PASSWORD="PASSWORD",Ae}(T||{}),n=function(Ae){return Ae.SECS="SECS",Ae.MINS="MINS",Ae.HOURS="HOURS",Ae.DAYS="DAYS",Ae}(n||{}),m=function(Ae){return Ae.SATS="Sats",Ae.BTC="BTC",Ae.OTHER="OTHER",Ae}(m||{}),d=function(Ae){return Ae.ARRAY="ARRAY",Ae.NUMBER="NUMBER",Ae.STRING="STRING",Ae.BOOLEAN="BOOLEAN",Ae.PASSWORD="PASSWORD",Ae.DATE="DATE",Ae.DATE_TIME="DATE_TIME",Ae}(d||{}),C=function(Ae){return Ae.XS="XS",Ae.SM="SM",Ae.MD="MD",Ae.LG="LG",Ae.XL="XL",Ae}(C||{});const A={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"}},k={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(Ae){return Ae.WIRE_INVALID_ONION_VERSION="Invalid Onion Version",Ae.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",Ae.WIRE_INVALID_ONION_KEY="Invalid Onion Key",Ae.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",Ae.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",Ae.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",Ae.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",Ae.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",Ae.WIRE_FEE_INSUFFICIENT="Insufficient Fee",Ae.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",Ae.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",Ae.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",Ae.WIRE_CHANNEL_DISABLED="Channel Disabled",Ae.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",Ae.WIRE_INVALID_REALM="Invalid Realm",Ae.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",Ae.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",Ae.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",Ae.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",Ae.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",Ae.WIRE_MPP_TIMEOUT="MPP Timeout",Ae.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",Ae.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",Ae}(_||{}),a=function(Ae){return Ae.CHANNELD_NORMAL="Active",Ae.OPENINGD="Opening",Ae.CHANNELD_AWAITING_LOCKIN="Pending Open",Ae.CHANNELD_SHUTTING_DOWN="Shutting Down",Ae.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",Ae.CLOSINGD_COMPLETE="Closed",Ae.AWAITING_UNILATERAL="Awaiting Unilateral Close",Ae.FUNDING_SPEND_SEEN="Funding Spend Seen",Ae.ONCHAIN="Onchain",Ae.DUALOPEND_OPEN_INIT="Dual Open Initialized",Ae.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",Ae}(a||{}),b=function(Ae){return Ae.INITIATED="Initiated",Ae.PREIMAGE_REVEALED="Preimage Revealed",Ae.HTLC_PUBLISHED="HTLC Published",Ae.SUCCESS="Successful",Ae.FAILED="Failed",Ae.INVOICE_SETTLED="Invoice Settled",Ae}(b||{}),z=function(Ae){return Ae.LOOP_OUT="LOOP_OUT",Ae.LOOP_IN="LOOP_IN",Ae}(z||{}),N=function(Ae){return Ae.SWAP_OUT="SWAP_OUT",Ae.SWAP_IN="SWAP_IN",Ae}(N||{}),q=function(Ae){return Ae["swap.created"]="Swap Created",Ae["swap.expired"]="Swap Expired",Ae["invoice.set"]="Invoice Set",Ae["invoice.paid"]="Invoice Paid",Ae["invoice.pending"]="Invoice Pending",Ae["invoice.settled"]="Invoice Settled",Ae["invoice.failedToPay"]="Invoice Failed To Pay",Ae["channel.created"]="Channel Created",Ae["transaction.failed"]="Transaction Failed",Ae["transaction.mempool"]="Transaction Mempool",Ae["transaction.claimed"]="Transaction Claimed",Ae["transaction.refunded"]="Transaction Refunded",Ae["transaction.confirmed"]="Transaction Confirmed",Ae["transaction.lockupFailed"]="Lockup Transaction Failed",Ae["swap.refunded"]="Swap Refunded",Ae["swap.abandoned"]="Swap Abandoned",Ae}(q||{});const pe=[{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}],ze=["MONTHLY","YEARLY"],We=["password","changeme","moneyprintergobrrr"];var oe=function(Ae){return Ae.UN_INITIATED="UN_INITIATED",Ae.INITIATED="INITIATED",Ae.COMPLETED="COMPLETED",Ae.ERROR="ERROR",Ae}(oe||{});const X={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 se=function(Ae){return Ae.INVOICE="INVOICE",Ae.OFFER="OFFER",Ae.KEYSEND="KEYSEND",Ae}(se||{}),ae=function(Ae){return Ae.FEES="FEES",Ae.EVENTS="EVENTS",Ae}(ae||{}),he=function(Ae){return Ae.VOID="VOID",Ae.SET_API_URL_ECL="SET_API_URL_ECL",Ae.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",Ae.RESET_ROOT_STORE="RESET_ROOT_STORE",Ae.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",Ae.OPEN_SNACK_BAR="OPEN_SNACKBAR",Ae.OPEN_SPINNER="OPEN_SPINNER",Ae.CLOSE_SPINNER="CLOSE_SPINNER",Ae.OPEN_ALERT="OPEN_ALERT",Ae.CLOSE_ALERT="CLOSE_ALERT",Ae.OPEN_CONFIRMATION="OPEN_CONFIRMATION",Ae.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",Ae.SHOW_PUBKEY="SHOW_PUBKEY",Ae.FETCH_CONFIG="FETCH_CONFIG",Ae.SHOW_CONFIG="SHOW_CONFIG",Ae.FETCH_STORE="FETCH_STORE",Ae.SET_STORE="SET_STORE",Ae.FETCH_APPLICATION_SETTINGS="FETCH_APPLICATION_SETTINGS",Ae.SET_APPLICATION_SETTINGS="SET_APPLICATION_SETTINGS",Ae.SAVE_SETTINGS="SAVE_SETTINGS",Ae.SET_SELECTED_NODE="SET_SELECTED_NODE",Ae.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",Ae.UPDATE_APPLICATION_SETTINGS="UPDATE_APPLICATION_SETTINGS",Ae.UPDATE_NODE_SETTINGS="UPDATE_NODE_SETTINGS",Ae.SET_SELECTED_NODE_SETTINGS="SET_SELECTED_NODE_SETTINGS",Ae.SET_NODE_DATA="SET_NODE_DATA",Ae.IS_AUTHORIZED="IS_AUTHORIZED",Ae.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",Ae.LOGIN="LOGIN",Ae.VERIFY_TWO_FA="VERIFY_TWO_FA",Ae.LOGOUT="LOGOUT",Ae.RESET_PASSWORD="RESET_PASSWORD",Ae.RESET_PASSWORD_RES="RESET_PASSWORD_RES",Ae.FETCH_FILE="FETCH_FILE",Ae.SHOW_FILE="SHOW_FILE",Ae}(he||{}),Ie=function(Ae){return Ae.RESET_LND_STORE="RESET_LND_STORE",Ae.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",Ae.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",Ae.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",Ae.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",Ae.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",Ae.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",Ae.FETCH_INFO_LND="FETCH_INFO_LND",Ae.SET_INFO_LND="SET_INFO_LND",Ae.FETCH_PEERS_LND="FETCH_PEERS_LND",Ae.SET_PEERS_LND="SET_PEERS_LND",Ae.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",Ae.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",Ae.DETACH_PEER_LND="DETACH_PEER_LND",Ae.REMOVE_PEER_LND="REMOVE_PEER_LND",Ae.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",Ae.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",Ae.ADD_INVOICE_LND="ADD_INVOICE_LND",Ae.FETCH_FEES_LND="FETCH_FEES_LND",Ae.SET_FEES_LND="SET_FEES_LND",Ae.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",Ae.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",Ae.FETCH_NETWORK_LND="FETCH_NETWORK_LND",Ae.SET_NETWORK_LND="SET_NETWORK_LND",Ae.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",Ae.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",Ae.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",Ae.SET_CHANNELS_LND="SET_CHANNELS_LND",Ae.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",Ae.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",Ae.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",Ae.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",Ae.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",Ae.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",Ae.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",Ae.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",Ae.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",Ae.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",Ae.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",Ae.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",Ae.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",Ae.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",Ae.FETCH_INVOICES_LND="FETCH_INVOICES_LND",Ae.SET_INVOICES_LND="SET_INVOICES_LND",Ae.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",Ae.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",Ae.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",Ae.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",Ae.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",Ae.FETCH_UTXOS_LND="FETCH_UTXOS_LND",Ae.SET_UTXOS_LND="SET_UTXOS_LND",Ae.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",Ae.SET_PAYMENTS_LND="SET_PAYMENTS_LND",Ae.SEND_PAYMENT_LND="SEND_PAYMENT_LND",Ae.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",Ae.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",Ae.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",Ae.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",Ae.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",Ae.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",Ae.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",Ae.GEN_SEED_LND="GEN_SEED_LND",Ae.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",Ae.INIT_WALLET_LND="INIT_WALLET_LND",Ae.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",Ae.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",Ae.PEER_LOOKUP_LND="PEER_LOOKUP_LND",Ae.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",Ae.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",Ae.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",Ae.SET_LOOKUP_LND="SET_LOOKUP_LND",Ae.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",Ae.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",Ae.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",Ae.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",Ae.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",Ae.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",Ae}(Ie||{}),st=function(Ae){return Ae.RESET_CLN_STORE="RESET_CLN_STORE",Ae.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",Ae.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",Ae.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",Ae.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",Ae.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",Ae.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",Ae.SET_INFO_CLN="SET_INFO_CLN",Ae.FETCH_FEES_CLN="FETCH_FEES_CLN",Ae.SET_FEES_CLN="SET_FEES_CLN",Ae.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",Ae.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",Ae.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",Ae.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",Ae.FETCH_UTXO_BALANCES_CLN="FETCH_UTXO_BALANCES_CLN",Ae.SET_UTXO_BALANCES_CLN="SET_UTXO_BALANCES_CLN",Ae.FETCH_PEERS_CLN="FETCH_PEERS_CLN",Ae.SET_PEERS_CLN="SET_PEERS_CLN",Ae.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",Ae.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",Ae.ADD_PEER_CLN="ADD_PEER_CLN",Ae.DETACH_PEER_CLN="DETACH_PEER_CLN",Ae.REMOVE_PEER_CLN="REMOVE_PEER_CLN",Ae.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",Ae.SET_CHANNELS_CLN="SET_CHANNELS_CLN",Ae.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",Ae.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",Ae.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",Ae.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",Ae.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",Ae.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",Ae.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",Ae.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",Ae.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",Ae.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",Ae.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",Ae.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",Ae.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",Ae.SET_LOOKUP_CLN="SET_LOOKUP_CLN",Ae.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",Ae.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",Ae.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",Ae.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",Ae.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",Ae.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",Ae.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",Ae.SET_INVOICES_CLN="SET_INVOICES_CLN",Ae.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",Ae.ADD_INVOICE_CLN="ADD_INVOICE_CLN",Ae.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",Ae.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",Ae.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",Ae.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",Ae.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",Ae.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",Ae.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",Ae.SET_OFFERS_CLN="SET_OFFERS_CLN",Ae.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",Ae.ADD_OFFER_CLN="ADD_OFFER_CLN",Ae.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",Ae.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",Ae.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",Ae.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",Ae.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",Ae.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",Ae.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",Ae}(st||{}),me=function(Ae){return Ae.RESET_ECL_STORE="RESET_ECL_STORE",Ae.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",Ae.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",Ae.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",Ae.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",Ae.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",Ae.FETCH_INFO_ECL="FETCH_INFO_ECL",Ae.SET_INFO_ECL="SET_INFO_ECL",Ae.FETCH_FEES_ECL="FETCH_FEES_ECL",Ae.SET_FEES_ECL="SET_FEES_ECL",Ae.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",Ae.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",Ae.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",Ae.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",Ae.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",Ae.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",Ae.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",Ae.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",Ae.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",Ae.FETCH_PEERS_ECL="FETCH_PEERS_ECL",Ae.SET_PEERS_ECL="SET_PEERS_ECL",Ae.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",Ae.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",Ae.ADD_PEER_ECL="ADD_PEER_ECL",Ae.DETACH_PEER_ECL="DETACH_PEER_ECL",Ae.REMOVE_PEER_ECL="REMOVE_PEER_ECL",Ae.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",Ae.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",Ae.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",Ae.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",Ae.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",Ae.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",Ae.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",Ae.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",Ae.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",Ae.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",Ae.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",Ae.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",Ae.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",Ae.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",Ae.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",Ae.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",Ae.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",Ae.SET_INVOICES_ECL="SET_INVOICES_ECL",Ae.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",Ae.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",Ae.ADD_INVOICE_ECL="ADD_INVOICE_ECL",Ae.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",Ae.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",Ae.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",Ae.SET_LOOKUP_ECL="SET_LOOKUP_ECL",Ae.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",Ae.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",Ae}(me||{});const Ee=[{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 ue=function(Ae){return Ae.gossip_queries_ex="Gossip queries including additional information",Ae.option_anchor_outputs="Anchor outputs",Ae.option_data_loss_protect="Extra channel re-establish fields",Ae.var_onion_optin="Variable-length routing onion payloads",Ae.option_static_remotekey="Static key for remote output",Ae.option_support_large_channel="Create large channels",Ae.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",Ae.payment_secret="Payment secret field",Ae.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",Ae.basic_mpp="Basic multi-part payments",Ae.gossip_queries="More sophisticated gossip control",Ae.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",Ae.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",Ae.amp="AMP",Ae}(ue||{}),Be=function(Ae){return Ae["data-loss-protect"]="Extra channel re-establish fields",Ae["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",Ae["gossip-queries"]="More sophisticated gossip control",Ae["tlv-onion"]="Variable-length routing onion payloads",Ae["ext-gossip-queries"]="Gossip queries can include additional information",Ae["static-remote-key"]="Static key for remote output",Ae["payment-addr"]="Payment secret field",Ae["multi-path-payments"]="Basic multi-part payments",Ae["wumbo-channels"]="Wumbo Channels",Ae.anchors="Anchor outputs",Ae["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",Ae.amp="AMP",Ae}(Be||{});const Ct=[{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(Ae){return Ae.OFFERED="offered",Ae.SETTLED="settled",Ae.FAILED="failed",Ae.LOCAL_FAILED="local_failed",Ae}(ct||{}),we=function(Ae){return Ae.ASCENDING="asc",Ae.DESCENDING="desc",Ae}(we||{});const Ue=["asc","desc"],je=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:j,sortBy:"blockheight",sortOrder:we.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:j,sortBy:"blockheight",sortOrder:we.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:j,sortBy:"msatoshi_to_us",sortOrder:we.DESCENDING,columnSelectionSM:["alias","msatoshi_to_us","msatoshi_to_them"],columnSelection:["short_channel_id","alias","msatoshi_to_us","msatoshi_to_them","balancedness"]},{tableId:"pending_inactive_channels",recordsPerPage:j,sortBy:"state",sortOrder:we.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:j,sortBy:"alias",sortOrder:we.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]},{tableId:"active_HTLCs",recordsPerPage:j,sortBy:"expiry",sortOrder:we.DESCENDING,columnSelectionSM:["amount_msat","direction","expiry"],columnSelection:["amount_msat","direction","expiry","state"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:j,sortBy:"channel_opening_fee",sortOrder:we.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:j,sortBy:"created_at",sortOrder:we.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:j,sortBy:"expires_at",sortOrder:we.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:j,sortBy:"offer_id",sortOrder:we.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:j,sortBy:"lastUpdatedAt",sortOrder:we.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:j,sortBy:"received_time",sortOrder:we.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"routing_peers",recordsPerPage:j,sortBy:"total_fee",sortOrder:we.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:j,sortBy:"received_time",sortOrder:we.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"local_failed",recordsPerPage:j,sortBy:"received_time",sortOrder:we.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","in_channel_alias","in_msatoshi","style","failreason"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:j,sortBy:"received_time",sortOrder:we.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"transactions",recordsPerPage:j,sortBy:"date",sortOrder:we.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:j,sortBy:"msatoshi",sortOrder:we.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]}],vt={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"}]}}},$e=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:j,sortBy:"tx_id",sortOrder:we.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:j,sortBy:"time_stamp",sortOrder:we.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:j,sortBy:"tx_id",sortOrder:we.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:j,sortBy:"balancedness",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","local_balance"],columnSelection:["remote_alias","uptime_str","total_satoshis_sent","total_satoshis_received","local_balance","remote_balance","balancedness"]},{tableId:"pending_open",sortBy:"capacity",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:j,sortBy:"close_type",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:j,sortBy:"incoming",sortOrder:we.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:j,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:j,sortBy:"creation_date",sortOrder:we.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:j,sortBy:"creation_date",sortOrder:we.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:j,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:j,sortBy:"total_amount",sortOrder:we.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:j,sortBy:"remote_alias",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","local_balance","remote_balance"],columnSelection:["chan_id","remote_alias","total_satoshis_received","total_satoshis_sent","local_balance","remote_balance"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:j,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:j,sortBy:"date",sortOrder:we.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:j,sortBy:"hop_sequence",sortOrder:we.ASCENDING,columnSelectionSM:["hop_sequence","pubkey_alias","fee_msat"],columnSelection:["hop_sequence","pubkey_alias","chan_capacity","amt_to_forward_msat","fee_msat"]}]},{pageId:"loop",tables:[{tableId:"loop",recordsPerPage:j,sortBy:"initiation_time",sortOrder:we.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:j,sortBy:"status",sortOrder:we.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:j,sortBy:"status",sortOrder:we.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],nt={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"}]}}},qt=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:j,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:j,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:j,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:j,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:j,sortBy:"alias",sortOrder:we.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:j,sortBy:"firstPartTimestamp",sortOrder:we.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:j,sortBy:"receivedAt",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:j,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:j,sortBy:"totalFee",sortOrder:we.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:j,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:j,sortBy:"date",sortOrder:we.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],Nt={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"}]}}},yt_DKK="\n \n \n \n ",jt=[{id:"USD",name:"United States Dollar",iconType:"FA",symbol:x.Vpi},{id:"ARS",name:"Argentina Peso",iconType:"FA",symbol:x.Vpi},{id:"AUD",name:"Australia Dollar",iconType:"FA",symbol:x.Vpi},{id:"BRL",name:"Brazil Real",iconType:"FA",symbol:x.Tq9},{id:"CAD",name:"Canada Dollar",iconType:"FA",symbol:x.Vpi},{id:"CHF",name:"Switzerland Franc",iconType:"FA",symbol:x.zjW},{id:"CLP",name:"Chile Peso",iconType:"FA",symbol:x.Vpi},{id:"CNY",name:"China Yuan Renminbi",iconType:"FA",symbol:x.zPk},{id:"CZK",name:"Czech Republic Koruna",iconType:"SVG",symbol:"\n \n \n \n \n \n \n \n ",class:"currency-icon-x-large"},{id:"DKK",name:"Denmark Krone",iconType:"SVG",symbol:yt_DKK,class:"currency-icon-medium"},{id:"EUR",name:"Euro Member Countries",iconType:"FA",symbol:x.s5m},{id:"GBP",name:"United Kingdom Pound",iconType:"FA",symbol:x.vfE},{id:"HKD",name:"Hong Kong Dollar",iconType:"FA",symbol:x.Vpi},{id:"HRK",name:"Croatia Kuna",iconType:"SVG",symbol:'\n \n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/15766/croatia-kuna-currency-symbol --\x3e\n \n \n \n \n \n ',class:"currency-icon-medium"},{id:"HUF",name:"Hungary Forint",iconType:"SVG",symbol:'\n \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 \n \n \n \n \n \n ',class:"currency-icon-small"},{id:"INR",name:"India Rupee",iconType:"FA",symbol:x.FYJ},{id:"ISK",name:"Iceland Krona",iconType:"SVG",symbol:yt_DKK,class:"currency-icon-medium"},{id:"JPY",name:"Japan Yen",iconType:"FA",symbol:x.zPk},{id:"KRW",name:"Korea (South) Won",iconType:"FA",symbol:x.JKM},{id:"NZD",name:"New Zealand Dollar",iconType:"FA",symbol:x.Vpi},{id:"PLN",name:"Poland Zloty",iconType:"SVG",symbol:"\n \n \n \n \n \n \n ",class:"currency-icon-large"},{id:"RON",name:"Romania Leu",iconType:"SVG",symbol:'\n \n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/64526/romania-lei-currency --\x3e\n \n \n \n \n \n ',class:"currency-icon-medium"},{id:"RUB",name:"Russia Ruble",iconType:"FA",symbol:x.f6_},{id:"SEK",name:"Sweden Krona",iconType:"SVG",symbol:yt_DKK,class:"currency-icon-medium"},{id:"SGD",name:"Singapore Dollar",iconType:"FA",symbol:x.Vpi},{id:"THB",name:"Thailand Baht",iconType:"FA",symbol:x.Kcb},{id:"TRY",name:"Turkey Lira",iconType:"FA",symbol:x.hb3},{id:"TWD",name:"Taiwan New Dollar",iconType:"SVG",symbol:'\n \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 \n \n \n \n \n \n ',class:"currency-icon-small"}];function Je(Ae){const It=jt.find(Qt=>Qt.id===Ae);return"SVG"===It.iconType&&"string"==typeof It.symbol&&(It.symbol=It.symbol.replace('{"use strict";g.d(te,{u:()=>ne});var e=g(1626),t=g(4412),x=g(1413),D=g(8810),l=g(7673),w=g(1594),f=g(1397),R=g(6977),h=g(6354),S=g(9437),y=g(3993),O=g(4416),I=g(2462),V=g(1771),j=g(190),Y=g(3536),W=g(9584),Q=g(4438),J=g(9640),ie=g(8570),ee=g(5416),fe=g(177);let ne=(()=>{class Me{constructor(le,T,n,c,m){this.httpClient=le,this.store=T,this.logger=n,this.snackBar=c,this.titleCasePipe=m,this.APIUrl=O.H$,this.lnImplementation="",this.lnImplementationUpdated=new t.t(null),this.unSubs=[new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B],this.mapAliases=(d,C)=>(d&&d.length>0?d.forEach((A,k)=>{if(C&&C.length>0)for(let _=0;_{let c=this.APIUrl+"/"+n+O.rl.PAYMENTS_API+"/decode/"+le,m="GET",d=null;return"cln"===n&&(c=this.APIUrl+"/"+n+O.rl.UTILITY_API+"/decode",d={string:le},m="POST"),this.store.dispatch((0,V.mt)({payload:O.MZ.DECODE_PAYMENT})),this.httpClient.request(m,c,{body:JSON.stringify(d),headers:{"Content-Type":"application/json"}}).pipe((0,R.Q)(this.unSubs[0]),(0,h.T)(C=>(this.store.dispatch((0,V.y0)({payload:O.MZ.DECODE_PAYMENT})),C)),(0,S.W)(C=>(T?this.handleErrorWithoutAlert("Decode Payment",O.MZ.DECODE_PAYMENT,C):this.handleErrorWithAlert("decodePaymentData",O.MZ.DECODE_PAYMENT,"Decode Payment Failed",c,C),(0,D.$)(()=>new Error(this.extractErrorMessage(C))))))}))}decodePayments(le){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(T=>{let n="",c="",m=null;return"ecl"===T?(n=this.APIUrl+"/"+T+O.rl.PAYMENTS_API+"/getsentinfos",m={payments:le},c=O.MZ.GET_SENT_PAYMENTS):"cln"===T?(n=this.APIUrl+"/"+T+O.rl.UTILITY_API+"/decode",m={string:le},c=O.MZ.DECODE_PAYMENTS):(n=this.APIUrl+"/"+T+O.rl.PAYMENTS_API,m={payments:le},c=O.MZ.DECODE_PAYMENTS),this.store.dispatch((0,V.mt)({payload:c})),this.httpClient.post(n,m).pipe((0,R.Q)(this.unSubs[1]),(0,h.T)(d=>(this.store.dispatch((0,V.y0)({payload:c})),d)),(0,S.W)(d=>(this.handleErrorWithAlert("decodePaymentsData",c,c+" Failed",n,d),(0,D.$)(()=>new Error(this.extractErrorMessage(d))))))}))}getAliasesFromPubkeys(le,T){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(n=>{if(T){const c=(new e.Nl).set("pubkeys",le);return this.httpClient.get(this.APIUrl+"/"+n+O.rl.NETWORK_API+"/nodes",{params:c})}return this.httpClient.get(this.APIUrl+"/"+n+O.rl.NETWORK_API+"/node/"+le)}))}signMessage(le){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(T=>{let n=this.APIUrl+"/"+T+O.rl.MESSAGE_API+"/sign";return"cln"===T&&(n=this.APIUrl+"/"+T+O.rl.UTILITY_API+"/sign"),this.store.dispatch((0,V.mt)({payload:O.MZ.SIGN_MESSAGE})),this.httpClient.post(n,{message:le}).pipe((0,R.Q)(this.unSubs[2]),(0,h.T)(c=>(this.store.dispatch((0,V.y0)({payload:O.MZ.SIGN_MESSAGE})),c)),(0,S.W)(c=>(this.handleErrorWithAlert("signMessageData",O.MZ.SIGN_MESSAGE,"Sign Message Failed",n,c),(0,D.$)(()=>new Error(this.extractErrorMessage(c))))))}))}verifyMessage(le,T){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(n=>{let c="",m=null;return"cln"===n?(c=this.APIUrl+"/"+n+O.rl.UTILITY_API+"/verify",m={message:le,zbase:T}):(c=this.APIUrl+"/"+n+O.rl.MESSAGE_API+"/verify",m={message:le,signature:T}),this.store.dispatch((0,V.mt)({payload:O.MZ.VERIFY_MESSAGE})),this.httpClient.post(c,m).pipe((0,R.Q)(this.unSubs[3]),(0,h.T)(d=>(this.store.dispatch((0,V.y0)({payload:O.MZ.VERIFY_MESSAGE})),d)),(0,S.W)(d=>(this.handleErrorWithAlert("verifyMessageData",O.MZ.VERIFY_MESSAGE,"Verify Message Failed",c,d),(0,D.$)(()=>new Error(this.extractErrorMessage(d))))))}))}bumpFee(le,T,n,c){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(m=>{const d={txid:le,outputIndex:T};return n&&(d.targetConf=n),c&&(d.satPerByte=c),this.store.dispatch((0,V.mt)({payload:O.MZ.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+m+O.rl.WALLET_API+"/bumpfee",d).pipe((0,R.Q)(this.unSubs[4]),(0,h.T)(C=>(this.store.dispatch((0,V.y0)({payload:O.MZ.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),C)),(0,S.W)(C=>(this.handleErrorWithoutAlert("Bump Fee",O.MZ.BUMP_FEE,C),(0,D.$)(()=>new Error(this.extractErrorMessage(C))))))}))}labelUTXO(le,T,n=!0){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(c=>{const m={txid:le,label:T,overwrite:n};return this.store.dispatch((0,V.mt)({payload:O.MZ.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+c+O.rl.WALLET_API+"/label",m).pipe((0,R.Q)(this.unSubs[5]),(0,h.T)(d=>(this.store.dispatch((0,V.y0)({payload:O.MZ.LABEL_UTXO})),d)),(0,S.W)(d=>(this.handleErrorWithoutAlert("Label UTXO",O.MZ.LABEL_UTXO,d),(0,D.$)(()=>new Error(this.extractErrorMessage(d))))))}))}leaseUTXO(le,T){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(n=>{const c={txid:le,outputIndex:T};return this.store.dispatch((0,V.mt)({payload:O.MZ.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+n+O.rl.WALLET_API+"/lease",c).pipe((0,R.Q)(this.unSubs[6]),(0,h.T)(m=>{this.store.dispatch((0,V.y0)({payload:O.MZ.LEASE_UTXO})),this.store.dispatch((0,j.mh)()),this.store.dispatch((0,j.SM)());const d=new Date(1e3*m.expiration);return Math.round(d.getTime())-60*d.getTimezoneOffset()}),(0,S.W)(m=>(this.handleErrorWithoutAlert("Lease UTXO",O.MZ.LEASE_UTXO,m),(0,D.$)(()=>new Error(this.extractErrorMessage(m))))))}))}getForwardingHistory(le,T,n,c){if("LND"===le){const m={end_time:n,start_time:T};return this.store.dispatch((0,V.mt)({payload:O.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+O.rl.SWITCH_API,m).pipe((0,R.Q)(this.unSubs[7]),(0,y.E)(this.store.select(Y.eO)),(0,f.Z)(([d,C])=>{if(d.forwarding_events){const A=[...C.channels,...C.closedChannels];d.forwarding_events.forEach(k=>{if(A&&A.length>0)for(let _=0;_(this.handleErrorWithAlert("getForwardingHistoryData",O.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+O.rl.SWITCH_API,d),(0,D.$)(()=>new Error(this.extractErrorMessage(d))))))}return"CLN"===le?(this.store.dispatch((0,V.mt)({payload:O.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/cln"+O.rl.CHANNELS_API+"/listForwards",{status:c||"settled"}).pipe((0,R.Q)(this.unSubs[8]),(0,y.E)(this.store.select(W.BM)),(0,f.Z)(([m,d])=>{const C=this.mapAliases(m,[...d.activeChannels,...d.pendingChannels,...d.inactiveChannels]);return this.store.dispatch((0,V.y0)({payload:O.MZ.GET_FORWARDING_HISTORY})),(0,l.of)(C)}),(0,S.W)(m=>(this.handleErrorWithAlert("getForwardingHistoryData",O.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+O.rl.CHANNELS_API+"/listForwards",m),(0,D.$)(()=>new Error(this.extractErrorMessage(m))))))):(0,l.of)({})}listNetworkNodes(le){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(T=>(this.store.dispatch((0,V.mt)({payload:O.MZ.LIST_NETWORK_NODES})),this.httpClient.post(this.APIUrl+"/"+T+O.rl.NETWORK_API+"/listNodes",le).pipe((0,R.Q)(this.unSubs[9]),(0,f.Z)(n=>(this.store.dispatch((0,V.y0)({payload:O.MZ.LIST_NETWORK_NODES})),(0,l.of)(n))),(0,S.W)(n=>(this.handleErrorWithoutAlert("List Network Nodes",O.MZ.LIST_NETWORK_NODES,n),(0,D.$)(()=>this.extractErrorMessage(n))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(le=>(this.store.dispatch((0,V.mt)({payload:O.MZ.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+le+O.rl.UTILITY_API+"/listConfigs").pipe((0,R.Q)(this.unSubs[10]),(0,f.Z)(T=>(this.store.dispatch((0,V.y0)({payload:O.MZ.GET_LIST_CONFIGS})),(0,l.of)(T))),(0,S.W)(T=>(this.handleErrorWithoutAlert("List Configurations",O.MZ.GET_LIST_CONFIGS,T),(0,D.$)(()=>this.extractErrorMessage(T))))))))}getOrUpdateFunderPolicy(le,T,n,c,m,d){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(C=>{const A=le?{policy:le,policy_mod:T,lease_fee_base_msat:n,lease_fee_basis:c,channel_fee_max_base_msat:m,channel_fee_max_proportional_thousandths:d}:null;return this.store.dispatch((0,V.mt)({payload:O.MZ.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+C+O.rl.CHANNELS_API+"/funderUpdate",A).pipe((0,R.Q)(this.unSubs[11]),(0,h.T)(k=>(this.store.dispatch((0,V.y0)({payload:O.MZ.GET_FUNDER_POLICY})),A&&this.store.dispatch((0,V.UI)({payload:"Funder Policy Updated Successfully with Compact Lease: "+k.compact_lease+"!"})),k)),(0,S.W)(k=>(this.handleErrorWithoutAlert("Funder Policy",O.MZ.GET_FUNDER_POLICY,k),(0,D.$)(()=>new Error(this.extractErrorMessage(k))))))}))}circularRebalance(le,T="",n="",c="",m="",d=[],C="shortChannelId"){return this.httpClient.post(this.APIUrl+"/"+this.lnImplementation+O.rl.CHANNELS_API+"/circularRebalance",{amountMsat:le,sourceShortChannelId:T,sourceNodeId:n,targetShortChannelId:c,targetNodeId:m,ignoreNodeIds:d,format:C}).pipe((0,R.Q)(this.unSubs[12]),(0,h.T)(_=>_),(0,S.W)(_=>(this.handleErrorWithoutAlert("Rebalance Channel",O.MZ.REBALANCE_CHANNEL,_),(0,D.$)(()=>_.error))))}extractErrorMessage(le,T="Unknown Error."){return this.titleCasePipe.transform(le.error.text&&"string"==typeof le.error.text&&le.error.text.includes('')?"API Route Does Not Exist.":le.error&&le.error.error&&le.error.error.error&&le.error.error.error.error&&le.error.error.error.error.error&&"string"==typeof le.error.error.error.error.error?le.error.error.error.error.error:le.error&&le.error.error&&le.error.error.error&&le.error.error.error.error&&"string"==typeof le.error.error.error.error?le.error.error.error.error:le.error&&le.error.error&&le.error.error.error&&"string"==typeof le.error.error.error?le.error.error.error:le.error&&le.error.error&&"string"==typeof le.error.error?le.error.error:le.error&&"string"==typeof le.error?le.error:le.error&&le.error.error&&le.error.error.error&&le.error.error.error.error&&le.error.error.error.error.message&&"string"==typeof le.error.error.error.error.message?le.error.error.error.error.message:le.error&&le.error.error&&le.error.error.error&&le.error.error.error.message&&"string"==typeof le.error.error.error.message?le.error.error.error.message:le.error&&le.error.error&&le.error.error.message&&"string"==typeof le.error.error.message?le.error.error.message:le.error&&le.error.message&&"string"==typeof le.error.message?le.error.message:le.message&&"string"==typeof le.message?le.message:T)}handleErrorWithoutAlert(le,T,n){n.error.text&&"string"==typeof n.error.text&&n.error.text.includes('')&&(n={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+le+"\n"+JSON.stringify(n)),401===n.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,V.Jh)()),this.store.dispatch((0,V.ri)({payload:"Authentication Failed: "+JSON.stringify(n.error)}))):(this.store.dispatch((0,V.y0)({payload:T})),this.store.dispatch((0,V.Gd)({payload:{action:le,status:O.wn.ERROR,statusCode:n.status.toString(),message:this.extractErrorMessage(n)}})))}handleErrorWithAlert(le,T,n,c,m){if(this.logger.error(m),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,V.Jh)()),this.store.dispatch((0,V.ri)({payload:"Authentication Failed: "+JSON.stringify(m.error)}));else{this.store.dispatch((0,V.y0)({payload:T}));const d=this.extractErrorMessage(m);this.store.dispatch((0,V.xO)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:m.status?m.status:"Unknown Error",message:d,URL:c},component:I.f}}})),this.store.dispatch((0,V.Gd)({payload:{action:le,status:O.wn.ERROR,statusCode:m.status.toString(),message:d,URL:c}}))}}ngOnDestroy(){this.unSubs.forEach(le=>{le.next(null),le.complete()})}static{this.\u0275fac=function(T){return new(T||Me)(Q.KVO(e.Qq),Q.KVO(J.il),Q.KVO(ie.gP),Q.KVO(ee.UG),Q.KVO(fe.PV))}}static{this.\u0275prov=Q.jDH({token:Me,factory:Me.\u0275fac})}}return Me})()},8570:(Qe,te,g)=>{"use strict";g.d(te,{gP:()=>l,tU:()=>w});var e=g(4438);const t=(0,e.naY)(),x=()=>null;let l=(()=>{class f{invokeConsoleMethod(h,S){}static{this.\u0275fac=function(S){return new(S||f)}}static{this.\u0275prov=e.jDH({token:f,factory:f.\u0275fac})}}return f})(),w=(()=>{class f{get info(){return t?console.log.bind(console):x}get warn(){return t?console.warn.bind(console):x}get error(){return t?console.error.bind(console):x}invokeConsoleMethod(h,S){(console[h]||console.log||x).apply(console,[S])}static{this.\u0275fac=function(S){return new(S||f)}}static{this.\u0275prov=e.jDH({token:f,factory:f.\u0275fac})}}return f})()},4104:(Qe,te,g)=>{"use strict";g.d(te,{Q:()=>Y});var e=g(1626),t=g(4412),x=g(1413),D=g(7673),l=g(8810),w=g(6977),f=g(9437),R=g(6354),h=g(4416),S=g(2462),y=g(1771),O=g(4438),I=g(8570),V=g(9640),j=g(2571);let Y=(()=>{class W{constructor(J,ie,ee,fe){this.httpClient=J,this.logger=ie,this.store=ee,this.commonService=fe,this.loopUrl="",this.swaps=[],this.swapsChanged=new t.t([]),this.unSubs=[new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B]}getLoopInfo(){return this.loopUrl=h.H$+h.rl.LOOP_API+"/info",this.httpClient.get(this.loopUrl)}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,y.mt)({payload:h.MZ.GET_LOOP_SWAPS})),this.loopUrl=h.H$+h.rl.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,w.Q)(this.unSubs[0])).subscribe({next:J=>{this.store.dispatch((0,y.y0)({payload:h.MZ.GET_LOOP_SWAPS})),this.swaps=J,this.swapsChanged.next(this.swaps)},error:J=>this.swapsChanged.error(this.handleErrorWithAlert(h.MZ.GET_LOOP_SWAPS,this.loopUrl,J))})}loopOut(J,ie,ee,fe,ne,Me,Ce,le,T,n){const c={amount:J,targetConf:ee,swapRoutingFee:fe,minerFee:ne,prepayRoutingFee:Me,prepayAmt:Ce,swapFee:le,swapPublicationDeadline:T,destAddress:n};return""!==ie&&(c.chanId=ie),this.loopUrl=h.H$+h.rl.LOOP_API+"/out",this.httpClient.post(this.loopUrl,c).pipe((0,f.W)(m=>this.handleErrorWithoutAlert("Loop Out for Channel: "+ie,h.MZ.NO_SPINNER,m)))}getLoopOutTerms(){return this.loopUrl=h.H$+h.rl.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,f.W)(J=>this.handleErrorWithoutAlert("Loop Out Terms",h.MZ.NO_SPINNER,J)))}getLoopOutQuote(J,ie,ee){let fe=new e.Nl;return fe=fe.append("targetConf",ie.toString()),fe=fe.append("swapPublicationDeadline",ee.toString()),this.loopUrl=h.H$+h.rl.LOOP_API+"/out/quote/"+J,this.store.dispatch((0,y.mt)({payload:h.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:fe}).pipe((0,w.Q)(this.unSubs[1]),(0,R.T)(ne=>(this.store.dispatch((0,y.y0)({payload:h.MZ.GET_QUOTE})),ne)),(0,f.W)(ne=>this.handleErrorWithoutAlert("Loop Out Quote",h.MZ.GET_QUOTE,ne)))}getLoopOutTermsAndQuotes(J){let ie=new e.Nl;return ie=ie.append("targetConf",J.toString()),ie=ie.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=h.H$+h.rl.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,y.mt)({payload:h.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ie}).pipe((0,w.Q)(this.unSubs[2]),(0,R.T)(ee=>(this.store.dispatch((0,y.y0)({payload:h.MZ.GET_TERMS_QUOTES})),ee)),(0,f.W)(ee=>(0,D.of)(this.handleErrorWithAlert(h.MZ.GET_TERMS_QUOTES,this.loopUrl,ee))))}loopIn(J,ie,ee,fe,ne){const Me={amount:J,swapFee:ie,minerFee:ee,lastHop:fe,externalHtlc:ne};return this.loopUrl=h.H$+h.rl.LOOP_API+"/in",this.httpClient.post(this.loopUrl,Me).pipe((0,f.W)(Ce=>this.handleErrorWithoutAlert("Loop In",h.MZ.NO_SPINNER,Ce)))}getLoopInTerms(){return this.loopUrl=h.H$+h.rl.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,f.W)(J=>this.handleErrorWithoutAlert("Loop In Terms",h.MZ.NO_SPINNER,J)))}getLoopInQuote(J,ie,ee){let fe=new e.Nl;return fe=fe.append("targetConf",ie.toString()),fe=fe.append("swapPublicationDeadline",ee.toString()),this.loopUrl=h.H$+h.rl.LOOP_API+"/in/quote/"+J,this.store.dispatch((0,y.mt)({payload:h.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:fe}).pipe((0,w.Q)(this.unSubs[3]),(0,R.T)(ne=>(this.store.dispatch((0,y.y0)({payload:h.MZ.GET_QUOTE})),ne)),(0,f.W)(ne=>this.handleErrorWithoutAlert("Loop In Qoute",h.MZ.GET_QUOTE,ne)))}getLoopInTermsAndQuotes(J){let ie=new e.Nl;return ie=ie.append("targetConf",J.toString()),ie=ie.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=h.H$+h.rl.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,y.mt)({payload:h.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ie}).pipe((0,w.Q)(this.unSubs[4]),(0,R.T)(ee=>(this.store.dispatch((0,y.y0)({payload:h.MZ.GET_TERMS_QUOTES})),ee)),(0,f.W)(ee=>(0,D.of)(this.handleErrorWithAlert(h.MZ.GET_TERMS_QUOTES,this.loopUrl,ee))))}getSwap(J){return this.loopUrl=h.H$+h.rl.LOOP_API+"/swap/"+J,this.httpClient.get(this.loopUrl).pipe((0,f.W)(ie=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+J,h.MZ.NO_SPINNER,ie)))}handleErrorWithoutAlert(J,ie,ee){let fe="";return this.logger.error("ERROR IN: "+J+"\n"+JSON.stringify(ee)),this.store.dispatch((0,y.y0)({payload:ie})),401===ee.status?(fe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.ri)({payload:fe}))):503===ee.status?(fe="Unable to Connect to Loop Server.",this.store.dispatch((0,y.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ee.status,message:"Unable to Connect to Loop Server",URL:J},component:S.f}}}))):fe=this.commonService.extractErrorMessage(ee),(0,l.$)(()=>new Error(fe))}handleErrorWithAlert(J,ie,ee){let fe="";if(this.logger.error(ee),this.store.dispatch((0,y.y0)({payload:J})),401===ee.status)fe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.ri)({payload:fe}));else if(503===ee.status)fe="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ee.status,message:"Unable to Connect to Loop Server",URL:ie},component:S.f}}}))},100);else{fe=this.commonService.extractErrorMessage(ee);const ne=ee.error&&ee.error.error&&ee.error.error.code?ee.error.error.code:ee.error&&ee.error.code?ee.error.code:ee.code?ee.code:ee.status;setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{type:h.A$.ERROR,alertTitle:"ERROR",message:{code:ne,message:fe,URL:ie},component:S.f}}}))},100)}return{message:fe}}ngOnDestroy(){this.unSubs.forEach(J=>{J.next(null),J.complete()})}static{this.\u0275fac=function(ie){return new(ie||W)(O.KVO(e.Qq),O.KVO(I.gP),O.KVO(V.il),O.KVO(j.h))}}static{this.\u0275prov=O.jDH({token:W,factory:W.\u0275fac})}}return W})()},3202:(Qe,te,g)=>{"use strict";g.d(te,{Q:()=>x});var e=g(1413),t=g(4438);let x=(()=>{class D{constructor(){this.sessionSub=new e.B}watchSession(){return this.sessionSub.asObservable()}getItem(w){return sessionStorage.getItem(w)}getAllItems(){return sessionStorage}setItem(w,f){sessionStorage.setItem(w,f),this.sessionSub.next(sessionStorage)}removeItem(w){sessionStorage.removeItem(w),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}static{this.\u0275fac=function(f){return new(f||D)}}static{this.\u0275prov=t.jDH({token:D,factory:D.\u0275fac})}}return D})()},7879:(Qe,te,g)=>{"use strict";g.d(te,{I:()=>V});var e=g(4412),t=g(1413),x=g(6977),D=g(7707),l=g(1985),w=g(8359),f=g(2771);const R={url:"",deserializer:j=>JSON.parse(j.data),serializer:j=>JSON.stringify(j)};class S extends t.k{constructor(Y,W){if(super(),this._socket=null,Y instanceof l.c)this.destination=W,this.source=Y;else{const Q=this._config=Object.assign({},R);if(this._output=new t.B,"string"==typeof Y)Q.url=Y;else for(const J in Y)Y.hasOwnProperty(J)&&(Q[J]=Y[J]);if(!Q.WebSocketCtor&&WebSocket)Q.WebSocketCtor=WebSocket;else if(!Q.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new f.m}}lift(Y){const W=new S(this._config,this.destination);return W.operator=Y,W.source=this,W}_resetState(){this._socket=null,this.source||(this.destination=new f.m),this._output=new t.B}multiplex(Y,W,Q){const J=this;return new l.c(ie=>{try{J.next(Y())}catch(fe){ie.error(fe)}const ee=J.subscribe({next:fe=>{try{Q(fe)&&ie.next(fe)}catch(ne){ie.error(ne)}},error:fe=>ie.error(fe),complete:()=>ie.complete()});return()=>{try{J.next(W())}catch(fe){ie.error(fe)}ee.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:Y,protocol:W,url:Q,binaryType:J}=this._config,ie=this._output;let ee=null;try{ee=W?new Y(Q,W):new Y(Q),this._socket=ee,J&&(this._socket.binaryType=J)}catch(ne){return void ie.error(ne)}const fe=new w.yU(()=>{this._socket=null,ee&&1===ee.readyState&&ee.close()});ee.onopen=ne=>{const{_socket:Me}=this;if(!Me)return ee.close(),void this._resetState();const{openObserver:Ce}=this._config;Ce&&Ce.next(ne);const le=this.destination;this.destination=D.vU.create(T=>{if(1===ee.readyState)try{const{serializer:n}=this._config;ee.send(n(T))}catch(n){this.destination.error(n)}},T=>{const{closingObserver:n}=this._config;n&&n.next(void 0),T&&T.code?ee.close(T.code,T.reason):ie.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:T}=this._config;T&&T.next(void 0),ee.close(),this._resetState()}),le&&le instanceof f.m&&fe.add(le.subscribe(this.destination))},ee.onerror=ne=>{this._resetState(),ie.error(ne)},ee.onclose=ne=>{ee===this._socket&&this._resetState();const{closeObserver:Me}=this._config;Me&&Me.next(ne),ne.wasClean?ie.complete():ie.error(ne)},ee.onmessage=ne=>{try{const{deserializer:Me}=this._config;ie.next(Me(ne))}catch(Me){ie.error(Me)}}}_subscribe(Y){const{source:W}=this;return W?W.subscribe(Y):(this._socket||this._connectSocket(),this._output.subscribe(Y),Y.add(()=>{const{_socket:Q}=this;0===this._output.observers.length&&(Q&&(1===Q.readyState||0===Q.readyState)&&Q.close(),this._resetState())}),Y)}unsubscribe(){const{_socket:Y}=this;Y&&(1===Y.readyState||0===Y.readyState)&&Y.close(),this._resetState(),super.unsubscribe()}}var y=g(4438),O=g(8570),I=g(3202);let V=(()=>{class j{constructor(W,Q){this.logger=W,this.sessionService=Q,this.clWSMessages=new e.t(null),this.eclWSMessages=new e.t(null),this.lndWSMessages=new e.t(null),this.wsUrl="",this.nodeIndex="",this.RETRY_SECONDS=5,this.RECONNECT_TIMEOUT=null,this.unSubs=[new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B]}connectWebSocket(W,Q){(!this.socket||this.socket.closed)&&(this.wsUrl=W,this.nodeIndex=Q,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new S({url:W,protocol:[this.sessionService.getItem("token")||"",Q]}),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,x.Q)(this.unSubs[1])).subscribe({next:W=>{if((W="string"==typeof W?JSON.parse(W):W).error)this.handleError(W.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(W)),W.source){case"LND":this.lndWSMessages.next(W);break;case"CLN":this.clWSMessages.next(W);break;case"ECL":this.eclWSMessages.next(W)}},error:W=>this.handleError(W),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(W){this.logger.error(W),this.clWSMessages.error(W),this.eclWSMessages.error(W),this.lndWSMessages.error(W),this.reconnectOnError()}ngOnDestroy(){this.closeConnection(),this.clWSMessages.next(null),this.clWSMessages.complete(),this.eclWSMessages.next(null),this.eclWSMessages.complete(),this.lndWSMessages.next(null),this.lndWSMessages.complete()}static{this.\u0275fac=function(Q){return new(Q||j)(y.KVO(O.gP),y.KVO(I.Q))}}static{this.\u0275prov=y.jDH({token:j,factory:j.\u0275fac})}}return j})()},9029:(Qe,te,g)=>{"use strict";g.d(te,{G:()=>Bo});var e=g(177),t=g(1188),x=g(9417),D=g(1626),l=g(60),w=g(4438),f=g(9340),R=g(6038),h=g(2920);g(4085);let ot=(()=>{class Ot{}return Ot.\u0275fac=function(wt){return new(wt||Ot)},Ot.\u0275mod=w.$C({type:Ot}),Ot.\u0275inj=w.G2t({imports:[f.Ui]}),Ot})(),Bt=(()=>{class Ot{constructor(wt,ni){(0,e.Vy)(ni)&&!wt&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(wt,ni=[]){return{ngModule:Ot,providers:wt.serverLoaded?[{provide:f.EA,useValue:{...f.PV,...wt}},{provide:f.SL,useValue:ni,multi:!0},{provide:f.Ce,useValue:!0}]:[{provide:f.EA,useValue:{...f.PV,...wt}},{provide:f.SL,useValue:ni,multi:!0}]}}}return Ot.\u0275fac=function(wt){return new(wt||Ot)(w.KVO(f.Ce),w.KVO(w.Agw))},Ot.\u0275mod=w.$C({type:Ot}),Ot.\u0275inj=w.G2t({imports:[h.w2,R.Cc,ot,h.w2,R.Cc,ot]}),Ot})();var Ci=g(9327),Ti=g(6600),Hi=g(5351),Zi=g(850),ln=g(1975),mn=g(8834),Ut=g(8617);g(5024);const re=["button"],He=["*"];function ye(Ot,si){if(1&Ot&&w.nrm(0,"mat-pseudo-checkbox",3),2&Ot){const wt=w.XpG();w.Y8G("disabled",wt.disabled)}}function rt(Ot,si){if(1&Ot&&w.nrm(0,"mat-pseudo-checkbox",3),2&Ot){const wt=w.XpG();w.Y8G("disabled",wt.disabled)}}const ht=new w.nKC("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:function ii(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1}}}),di=new w.nKC("MatButtonToggleGroup");let Cn=0;class Hn{constructor(si,wt){this.source=si,this.value=wt}}let Jn=(()=>{class Ot{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(wt){this._appearance=wt}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(wt){wt!==this._checked&&(this._checked=wt,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(wt){this._disabled=wt}constructor(wt,ni,Ei,Ji,cr,ga){this._changeDetectorRef=ni,this._elementRef=Ei,this._focusMonitor=Ji,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new w.bkB;const Ra=Number(cr);this.tabIndex=Ra||0===Ra?Ra:null,this.buttonToggleGroup=wt,this.appearance=ga&&ga.appearance?ga.appearance:"standard"}ngOnInit(){const wt=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+Cn++,wt&&(wt._isPrechecked(this)?this.checked=!0:wt._isSelected(this)!==this._checked&&wt._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const wt=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),wt&&wt._isSelected(this)&&wt._syncButtonToggle(this,!1,!1,!0)}focus(wt){this._buttonElement.nativeElement.focus(wt)}_onButtonClick(){const wt=!!this._isSingleSelector()||!this._checked;wt!==this._checked&&(this._checked=wt,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new Hn(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static{this.\u0275fac=function(ni){return new(ni||Ot)(w.rXU(di,8),w.rXU(w.gRc),w.rXU(w.aKT),w.rXU(Ut.FN),w.kS0("tabindex"),w.rXU(ht,8))}}static{this.\u0275cmp=w.VBU({type:Ot,selectors:[["mat-button-toggle"]],viewQuery:function(ni,Ei){if(1&ni&&w.GBs(re,5),2&ni){let Ji;w.mGM(Ji=w.lsd())&&(Ei._buttonElement=Ji.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(ni,Ei){1&ni&&w.bIt("focus",function(){return Ei.focus()}),2&ni&&(w.BMQ("aria-label",null)("aria-labelledby",null)("id",Ei.id)("name",null),w.AVh("mat-button-toggle-standalone",!Ei.buttonToggleGroup)("mat-button-toggle-checked",Ei.checked)("mat-button-toggle-disabled",Ei.disabled)("mat-button-toggle-appearance-standard","standard"===Ei.appearance))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",w.L39],appearance:"appearance",checked:[2,"checked","checked",w.L39],disabled:[2,"disabled","disabled",w.L39]},outputs:{change:"change"},exportAs:["matButtonToggle"],standalone:!0,features:[w.GFd,w.aNF],ngContentSelectors:He,decls:8,vars:11,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(ni,Ei){if(1&ni){const Ji=w.RV6();w.NAR(),w.j41(0,"button",1,0),w.bIt("click",function(){return w.eBV(Ji),w.Njj(Ei._onButtonClick())}),w.j41(2,"span",2),w.DNE(3,ye,1,1,"mat-pseudo-checkbox",3)(4,rt,1,1,"mat-pseudo-checkbox",3),w.SdG(5),w.k0s()(),w.nrm(6,"span",4)(7,"span",5)}if(2&ni){const Ji=w.sdS(1);w.Y8G("id",Ei.buttonId)("disabled",Ei.disabled||null),w.BMQ("tabindex",Ei.disabled?-1:Ei.tabIndex)("aria-pressed",Ei.checked)("name",Ei._getButtonName())("aria-label",Ei.ariaLabel)("aria-labelledby",Ei.ariaLabelledby),w.R7$(3),w.vxM(Ei.buttonToggleGroup&&Ei.checked&&!Ei.buttonToggleGroup.multiple&&!Ei.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),w.R7$(),w.vxM(Ei.buttonToggleGroup&&Ei.checked&&Ei.buttonToggleGroup.multiple&&!Ei.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),w.R7$(3),w.Y8G("matRippleTrigger",Ji)("matRippleDisabled",Ei.disableRipple||Ei.disabled)}},dependencies:[Ti.r6,Ti.wg],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group: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)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape);border:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-standard-button-toggle-selected-state-text-color )}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-legacy-button-toggle-selected-state-text-color )}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-legacy-button-toggle-disabled-state-text-color )}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color);background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-label-text-font);font-size:var(--mat-standard-button-toggle-label-text-size);line-height:var(--mat-standard-button-toggle-label-text-line-height);font-weight:var(--mat-standard-button-toggle-label-text-weight);letter-spacing:var(--mat-standard-button-toggle-label-text-tracking)}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color);background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-standard-button-toggle-disabled-selected-state-text-color )}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color)}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity)}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity)}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape);border-bottom-right-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape);border-bottom-left-radius:var(--mat-standard-button-toggle-shape)}"],encapsulation:2,changeDetection:0})}}return Ot})(),nr=(()=>{class Ot{static{this.\u0275fac=function(ni){return new(ni||Ot)}}static{this.\u0275mod=w.$C({type:Ot})}static{this.\u0275inj=w.G2t({imports:[Ti.yE,Ti.pZ,Jn,Ti.yE]})}}return Ot})();var dr=g(5596),wn=g(2765),Ai=g(5084),Yi=g(9454),Ft=g(6195),mi=g(9213),gi=g(9631),xi=g(3902),Ni=g(9115),nn=g(6695),On=g(7575),ir=g(9183),gn=g(5951),Xr=g(2798),fr=g(882),mr=g(450),wa=g(6860);g(1413);let zr=(()=>{class Ot{static{this.\u0275fac=function(ni){return new(ni||Ot)}}static{this.\u0275mod=w.$C({type:Ot})}static{this.\u0275inj=w.G2t({imports:[Ti.yE,Ti.pZ]})}}return Ot})();var Ea=g(5416),fa=g(2042),Bs=g(6013),Ar=g(9159),Io=g(6850),Ua=g(5911),ma=g(4823),no=g(7358),ta=g(6471),Ro=g(6064),As=g(8288),bo=g(497),$r=g(6969);let pa=(()=>{class Ot extends $r.Sf{constructor(wt,ni){super(wt,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||Ot)(w.rXU(e.qQ),w.rXU(wa.OD))}}static{this.\u0275dir=w.FsC({type:Ot,features:[w.Vt3]})}}return Ot})();var yo=g(8570),ro=g(4416),Ka=g(2929);const Ga={suppressScrollX:!1,suppressScrollY:!1};let sr=(()=>{class Ot extends Ti.xW{constructor(wt){super(wt)}format(wt,ni){if("input"===ni){let Ei=wt.getDate().toString();return Ei=+Ei<10?"0"+Ei:Ei,Ei+"/"+ro.KR[wt.getMonth()].name.toUpperCase()+"/"+wt.getFullYear()}return ro.KR[wt.getMonth()].name.toUpperCase()+" "+wt.getFullYear()}static{this.\u0275fac=function(ni){return new(ni||Ot)(w.KVO(Ti.Ju,8))}}static{this.\u0275prov=w.jDH({token:Ot,factory:Ot.\u0275fac})}}return Ot})();const ia={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 Bo=(()=>{class Ot{static{this.\u0275fac=function(ni){return new(ni||Ot)}}static{this.\u0275mod=w.$C({type:Ot})}static{this.\u0275inj=w.G2t({providers:[{provide:yo.gP,useClass:yo.tU},{provide:bo.kU,useValue:Ga},{provide:Ea.x6,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:Hi.di,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:Ti.MJ,useClass:sr},{provide:Ti.de,useValue:ia},{provide:$r.Sf,useClass:pa},e.QX,e.PV,e.vh,Ka.gZ,Ka.ZE,Ka.VD,Ka.Qu],imports:[e.MD,x.YN,x.X1,l.dX,Bt,Ci.RH,Hi.hM,mn.Hl,nr,dr.Hu,wn.g7,Yi.MY,Ft.Fe,Ai.X6,Ti.WX,mi.m_,gi.fS,xi.Fg,Ni.Cn,On.PO,ir.D6,gn.Wk,no.jH,ta.YN,Xr.Ve,fr.vg,mr.mV,fa.NQ,Ar.tP,Ua.s5,ma.uc,ln.Y,nn.Ou,Bs.aP,zr,Io.RI,Ea._T,Zi.jL,Ro.dV,As.XK,t.iI,D.q1,bo.U$,x.YN,x.X1,l.dX,Bt,Ci.RH,Hi.hM,mn.Hl,nr,dr.Hu,wn.g7,Yi.MY,Ft.Fe,Ai.X6,Ti.WX,mi.m_,gi.fS,xi.Fg,Ni.Cn,On.PO,ir.D6,gn.Wk,no.jH,ta.YN,Xr.Ve,fr.vg,mr.mV,fa.NQ,Ar.tP,Ua.s5,ma.uc,ln.Y,nn.Ou,Bs.aP,zr,Io.RI,Ea._T,Zi.jL,Ro.dV,As.XK,bo.U$]})}}return Ot})()},1771:(Qe,te,g)=>{"use strict";g.d(te,{Dz:()=>j,Fl:()=>Me,Gd:()=>l,I1:()=>O,IK:()=>J,Jh:()=>w,My:()=>D,NU:()=>Q,Np:()=>fe,OP:()=>V,Qi:()=>ie,R$:()=>y,T$:()=>ee,Tn:()=>W,UI:()=>f,iD:()=>m,mt:()=>R,oz:()=>n,rc:()=>ne,ri:()=>Ce,t2:()=>C,uP:()=>I,xO:()=>S,xw:()=>le,y0:()=>h});var e=g(9640),t=g(4416);(0,e.VP)(t.aU.VOID);const D=(0,e.VP)(t.aU.SET_API_URL_ECL,(0,e.xk)()),l=(0,e.VP)(t.aU.UPDATE_API_CALL_STATUS_ROOT,(0,e.xk)()),w=(0,e.VP)(t.aU.CLOSE_ALL_DIALOGS),f=(0,e.VP)(t.aU.OPEN_SNACK_BAR,(0,e.xk)()),R=(0,e.VP)(t.aU.OPEN_SPINNER,(0,e.xk)()),h=(0,e.VP)(t.aU.CLOSE_SPINNER,(0,e.xk)()),S=(0,e.VP)(t.aU.OPEN_ALERT,(0,e.xk)()),y=(0,e.VP)(t.aU.CLOSE_ALERT,(0,e.xk)()),O=(0,e.VP)(t.aU.OPEN_CONFIRMATION,(0,e.xk)()),I=(0,e.VP)(t.aU.CLOSE_CONFIRMATION,(0,e.xk)()),V=(0,e.VP)(t.aU.SHOW_PUBKEY),j=(0,e.VP)(t.aU.FETCH_CONFIG,(0,e.xk)()),W=((0,e.VP)(t.aU.SHOW_CONFIG,(0,e.xk)()),(0,e.VP)(t.aU.RESET_ROOT_STORE,(0,e.xk)())),Q=(0,e.VP)(t.aU.FETCH_APPLICATION_SETTINGS),J=(0,e.VP)(t.aU.SET_APPLICATION_SETTINGS,(0,e.xk)()),ie=(0,e.VP)(t.aU.SET_SELECTED_NODE,(0,e.xk)()),ee=(0,e.VP)(t.aU.UPDATE_NODE_SETTINGS,(0,e.xk)()),fe=(0,e.VP)(t.aU.SET_SELECTED_NODE_SETTINGS,(0,e.xk)()),ne=(0,e.VP)(t.aU.UPDATE_APPLICATION_SETTINGS,(0,e.xk)()),Me=(0,e.VP)(t.aU.SET_NODE_DATA,(0,e.xk)()),Ce=(0,e.VP)(t.aU.LOGOUT,(0,e.xk)()),le=(0,e.VP)(t.aU.RESET_PASSWORD,(0,e.xk)()),n=((0,e.VP)(t.aU.RESET_PASSWORD_RES,(0,e.xk)()),(0,e.VP)(t.aU.IS_AUTHORIZED,(0,e.xk)())),m=((0,e.VP)(t.aU.IS_AUTHORIZED_RES,(0,e.xk)()),(0,e.VP)(t.aU.LOGIN,(0,e.xk)())),C=((0,e.VP)(t.aU.VERIFY_TWO_FA,(0,e.xk)()),(0,e.VP)(t.aU.FETCH_FILE,(0,e.xk)()));(0,e.VP)(t.aU.SHOW_FILE,(0,e.xk)())},7541:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>He});var e=g(4438),t=g(4054),x=g(1413),D=g(7673),l=g(6354),w=g(6697),f=g(3993),R=g(1397),h=g(9437),S=g(6977),y=g(4416),O=g(5351),I=g(2920),V=g(9183);let j=(()=>{class ye{constructor(ht,ii){this.dialogRef=ht,this.data=ii}static{this.\u0275fac=function(ii){return new(ii||ye)(e.rXU(O.CP),e.rXU(O.Vh))}}static{this.\u0275cmp=e.VBU({type:ye,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(ii,di){1&ii&&(e.j41(0,"div",0),e.nrm(1,"mat-progress-spinner",1),e.j41(2,"h2"),e.EFF(3),e.k0s()()),2&ii&&(e.R7$(3),e.JRh(di.data.titleMessage))},dependencies:[I.DJ,I.sA,V.LG],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]})}}return ye})();var Y=g(5383),W=g(9647),Q=g(8570),J=g(5416),ie=g(2571),ee=g(1188),fe=g(9640),ne=g(177),Me=g(60),Ce=g(6038),le=g(8834),T=g(5596),n=g(9213),c=g(1997),m=g(4823),d=g(8288),C=g(497),A=g(9157),k=g(9587);const _=["scrollContainer"],a=ye=>({"display-none":ye}),b=ye=>({"h-40":ye}),z=ye=>({"failed-status":ye});function N(ye,rt){if(1&ye&&e.nrm(0,"qr-code",19),2&ye){const ht=e.XpG();e.Y8G("value",ht.showQRField)("size",200)("errorCorrectionLevel","L")}}function q(ye,rt){1&ye&&e.eu8(0)}function pe(ye,rt){if(1&ye&&(e.qex(0),e.j41(1,"mat-card-content",20,1),e.DNE(3,q,1,0,"ng-container",21),e.k0s(),e.bVm()),2&ye){const ht=e.XpG(),ii=e.sdS(20);e.R7$(),e.Y8G("ngClass",e.eq3(2,b,ht.data.scrollable)),e.R7$(2),e.Y8G("ngTemplateOutlet",ii)}}function ze(ye,rt){1&ye&&e.eu8(0)}function Xe(ye,rt){if(1&ye&&(e.qex(0),e.j41(1,"mat-card-content",22),e.DNE(2,ze,1,0,"ng-container",21),e.k0s(),e.bVm()),2&ye){e.XpG();const ht=e.sdS(20);e.R7$(2),e.Y8G("ngTemplateOutlet",ht)}}function We(ye,rt){1&ye&&(e.j41(0,"mat-icon",27),e.EFF(1,"arrow_downward"),e.k0s())}function oe(ye,rt){1&ye&&(e.j41(0,"mat-icon",28),e.EFF(1,"arrow_upward"),e.k0s())}function X(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"div",23)(1,"button",24),e.bIt("click",function(){e.eBV(ht);const di=e.XpG();return e.Njj(di.onScroll())}),e.DNE(2,We,2,0,"mat-icon",25)(3,oe,2,0,"mat-icon",26),e.k0s()()}if(2&ye){const ht=e.XpG();e.R7$(2),e.Y8G("ngIf","DOWN"===ht.scrollDirection),e.R7$(),e.Y8G("ngIf","UP"===ht.scrollDirection)}}function se(ye,rt){1&ye&&(e.j41(0,"button",29),e.EFF(1,"OK"),e.k0s()),2&ye&&e.Y8G("mat-dialog-close",!1)}function ae(ye,rt){1&ye&&(e.j41(0,"button",30),e.EFF(1,"Close"),e.k0s()),2&ye&&e.Y8G("mat-dialog-close",!1)}function he(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"button",31),e.bIt("copied",function(di){e.eBV(ht);const Gi=e.XpG();return e.Njj(Gi.onCopyField(di))}),e.EFF(1),e.k0s()}if(2&ye){const ht=e.XpG();e.Y8G("payload",ht.showCopyField),e.R7$(),e.SpI("Copy ",ht.showCopyName,"")}}function Ie(ye,rt){1&ye&&(e.j41(0,"button",30),e.EFF(1,"Close"),e.k0s()),2&ye&&e.Y8G("mat-dialog-close",!1)}function st(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"button",31),e.bIt("copied",function(di){e.eBV(ht);const Gi=e.XpG();return e.Njj(Gi.onCopyField(di))}),e.EFF(1),e.k0s()}if(2&ye){const ht=e.XpG();e.Y8G("payload",ht.showQRField),e.R7$(),e.SpI("Copy ",ht.showQRName,"")}}function me(ye,rt){if(1&ye&&e.nrm(0,"qr-code",19),2&ye){const ht=e.XpG(2);e.Y8G("value",ht.showQRField)("size",200)("errorCorrectionLevel","L")}}function Ee(ye,rt){if(1&ye&&(e.j41(0,"p",37),e.EFF(1),e.k0s()),2&ye){const ht=e.XpG(2);e.R7$(),e.JRh(ht.data.titleMessage)}}function ue(ye,rt){1&ye&&e.nrm(0,"span",51),2&ye&&e.Y8G("innerHTML",rt.$implicit,e.npT)}function Be(ye,rt){if(1&ye&&(e.qex(0),e.j41(1,"span",34),e.DNE(2,ue,1,1,"span",50),e.k0s(),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(2),e.Y8G("ngForOf",ht.value)}}function Ct(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.nI1(2,"date"),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(e.i5U(2,1,1e3*ht.value,"dd/MMM/y HH:mm"))}}function ct(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.nI1(2,"number"),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(e.i5U(2,1,ht.value,ht.digitsInfo?ht.digitsInfo:"1.0-3"))}}function dt(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(ht.value?"True":"False")}}function Yt(ye,rt){1&ye&&(e.j41(0,"mat-icon",55),e.EFF(1,"info"),e.k0s())}function ve(ye,rt){if(1&ye&&(e.j41(0,"p",53),e.EFF(1),e.DNE(2,Yt,2,0,"mat-icon",54),e.k0s()),2&ye){const ht=e.XpG(3).$implicit,ii=e.XpG(4);e.Y8G("ngClass",e.eq3(3,z,ht.value===ii.LoopStateEnum.FAILED)),e.R7$(),e.SpI(" ",ht.value," "),e.R7$(),e.Y8G("ngIf",ht.value===ii.LoopStateEnum.FAILED)}}function _e(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"p",57),e.bIt("click",function(){e.eBV(ht);const di=e.XpG(8);return e.Njj(di.onGoToLink())}),e.EFF(1),e.k0s()}if(2&ye){const ht=e.XpG(4).$implicit,ii=e.XpG(4);e.FS9("matTooltip","Go To "+ii.goToName),e.R7$(),e.SpI(" ",ht.value," ")}}function we(ye,rt){if(1&ye&&e.EFF(0),2&ye){const ht=e.XpG(4).$implicit;e.SpI(" ",ht.value," ")}}function Ue(ye,rt){if(1&ye&&e.DNE(0,_e,2,2,"p",56)(1,we,1,1,"ng-template",null,4,e.C5r),2&ye){const ht=e.sdS(2),ii=e.XpG(3).$implicit,di=e.XpG(4);e.Y8G("ngIf",ii.value===di.goToFieldValue)("ngIfElse",ht)}}function je(ye,rt){if(1&ye&&(e.qex(0),e.DNE(1,ve,3,5,"p",52)(2,Ue,3,2,"ng-template",null,3,e.C5r),e.bVm()),2&ye){const ht=e.sdS(3),ii=e.XpG(2).$implicit,di=e.XpG(4);e.R7$(),e.Y8G("ngIf","SWAP"===di.data.openedBy&&"state"===ii.key)("ngIfElse",ht)}}function vt(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"fa-icon",58),e.bIt("click",function(){e.eBV(ht);const di=e.XpG(2).$implicit,Gi=e.XpG(4);return e.Njj(Gi.onExplorerClicked(di))}),e.k0s()}if(2&ye){const ht=e.XpG(6);e.FS9("matTooltip","Link to "+ht.selNode.settings.blockExplorerUrl),e.Y8G("icon",ht.faUpRightFromSquare)}}function $e(ye,rt){if(1&ye&&(e.j41(0,"span")(1,"span",46),e.DNE(2,Be,3,1,"ng-container",47)(3,Ct,3,4,"ng-container",47)(4,ct,3,4,"ng-container",47)(5,dt,2,1,"ng-container",47)(6,je,4,2,"ng-container",48),e.j41(7,"span"),e.DNE(8,vt,1,2,"fa-icon",49),e.k0s()()()),2&ye){const ht=e.XpG().$implicit,ii=e.XpG(4);e.R7$(),e.Y8G("ngSwitch",ht.type),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.ARRAY),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.DATE_TIME),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.NUMBER),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.BOOLEAN),e.R7$(3),e.Y8G("ngIf",ht.explorerLink&&""!==ht.explorerLink)}}function nt(ye,rt){1&ye&&(e.j41(0,"span",59),e.EFF(1,"\xa0"),e.k0s())}function qt(ye,rt){if(1&ye&&(e.j41(0,"div",42)(1,"h4",43),e.EFF(2),e.k0s(),e.DNE(3,$e,9,6,"span",44)(4,nt,2,0,"ng-template",null,2,e.C5r),e.nrm(6,"mat-divider",45),e.k0s()),2&ye){const ht=rt.$implicit,ii=e.sdS(5);e.FS9("fxFlex.gt-md",ht.width),e.R7$(2),e.JRh(ht.title),e.R7$(),e.Y8G("ngIf",ht&&(!!ht.value||0===ht.value))("ngIfElse",ii)}}function Nt(ye,rt){if(1&ye&&(e.j41(0,"div")(1,"div",40),e.DNE(2,qt,7,4,"div",41),e.k0s()()),2&ye){const ht=rt.$implicit;e.R7$(2),e.Y8G("ngForOf",ht)}}function yt(ye,rt){if(1&ye&&(e.j41(0,"div",38),e.DNE(1,Nt,3,1,"div",39),e.k0s()),2&ye){const ht=e.XpG(2);e.R7$(),e.Y8G("ngForOf",ht.messageObjs)}}function jt(ye,rt){if(1&ye&&(e.j41(0,"div",32)(1,"div",33),e.DNE(2,me,1,3,"qr-code",7),e.k0s(),e.j41(3,"div",34),e.DNE(4,Ee,2,1,"p",35)(5,yt,2,1,"div",36),e.k0s()()),2&ye){const ht=e.XpG();e.R7$(),e.Y8G("ngClass",e.eq3(4,a,""===ht.showQRField||ht.screenSize!==ht.screenSizeEnum.XS&&ht.screenSize!==ht.screenSizeEnum.SM)),e.R7$(),e.Y8G("ngIf",""!==ht.showQRField),e.R7$(2),e.Y8G("ngIf",ht.data.titleMessage),e.R7$(),e.Y8G("ngIf",(null==ht.messageObjs?null:ht.messageObjs.length)>0)}}let Je=(()=>{class ye{set container(ht){ht&&(this.scrollContainer=ht,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",ii=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",ii=>{this.scrollDirection="DOWN"})))}constructor(ht,ii,di,Gi,Cn,Hn,Qn,Jn){this.dialogRef=ht,this.data=ii,this.logger=di,this.snackBar=Gi,this.commonService=Cn,this.renderer=Hn,this.router=Qn,this.store=Jn,this.faUpRightFromSquare=Y.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 x.B,new x.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(W._c).pipe((0,S.Q)(this.unSubs[0])).subscribe(ht=>{this.selNode=ht,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(ht){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+ht)}onClose(){this.dialogRef.close(!1)}onGoToLink(){this.router.navigateByUrl(this.goToLink,{state:{lookupType:"0",lookupValue:this.goToFieldValue}}),this.onClose()}onExplorerClicked(ht){window.open(this.selNode.settings.blockExplorerUrl+"/"+ht.explorerLink+"/"+ht.value,"_blank")}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd(),this.unSubs.forEach(ht=>{ht.next(null),ht.complete()})}static{this.\u0275fac=function(ii){return new(ii||ye)(e.rXU(O.CP),e.rXU(O.Vh),e.rXU(Q.gP),e.rXU(J.UG),e.rXU(ie.h),e.rXU(e.sFG),e.rXU(ee.Ix),e.rXU(fe.il))}}static{this.\u0275cmp=e.VBU({type:ye,selectors:[["rtl-alert-message"]],viewQuery:function(ii,di){if(1&ii&&e.GBs(_,5),2&ii){let Gi;e.mGM(Gi=e.lsd())&&(di.container=Gi.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(ii,di){if(1&ii){const Gi=e.RV6();e.j41(0,"div",5)(1,"div",6),e.DNE(2,N,1,3,"qr-code",7),e.k0s(),e.j41(3,"div",8)(4,"mat-card-header",9)(5,"div",10)(6,"span",11),e.EFF(7),e.k0s()(),e.j41(8,"button",12),e.bIt("click",function(){return e.eBV(Gi),e.Njj(di.onClose())}),e.EFF(9,"X"),e.k0s()(),e.DNE(10,pe,4,4,"ng-container",13)(11,Xe,3,1,"ng-container",13)(12,X,4,2,"div",14),e.j41(13,"div",15),e.DNE(14,se,2,1,"button",16)(15,ae,2,1,"button",17)(16,he,2,2,"button",18)(17,Ie,2,1,"button",17)(18,st,2,2,"button",18),e.k0s()()(),e.DNE(19,jt,6,6,"ng-template",null,0,e.C5r)}2&ii&&(e.R7$(),e.Y8G("ngClass",e.eq3(12,a,""===di.showQRField||di.screenSize===di.screenSizeEnum.XS||di.screenSize===di.screenSizeEnum.SM)),e.R7$(),e.Y8G("ngIf",""!==di.showQRField),e.R7$(),e.Y8G("fxFlex",""===di.showQRField||di.screenSize===di.screenSizeEnum.XS||di.screenSize===di.screenSizeEnum.SM?"100":"70"),e.R7$(4),e.JRh(di.data.alertTitle||di.alertTypeEnum[di.data.type]),e.R7$(3),e.Y8G("ngIf",di.data.scrollable),e.R7$(),e.Y8G("ngIf",!di.data.scrollable),e.R7$(),e.Y8G("ngIf",di.data.scrollable&&di.shouldScroll),e.R7$(2),e.Y8G("ngIf",(!di.showQRField||""===di.showQRField)&&""===di.showCopyName),e.R7$(),e.Y8G("ngIf",""!==di.showCopyName),e.R7$(),e.Y8G("ngIf",""!==di.showCopyName),e.R7$(),e.Y8G("ngIf",""!==di.showQRField),e.R7$(),e.Y8G("ngIf",""!==di.showQRField))},dependencies:[ne.YU,ne.Sq,ne.bT,ne.T3,ne.ux,ne.e1,ne.fG,Me.aY,I.DJ,I.sA,I.UI,Ce.PW,O.tx,le.$z,le.$0,T.m2,T.MM,n.An,c.q,m.oV,d.Um,C.Ld,A.U,k.N,ne.QX,ne.vh],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}}return ye})();var et=g(1771),Ae=g(9417),It=g(9631),Qt=g(6467),Tt=g(6114);function xt(ye,rt){if(1&ye&&(e.j41(0,"div",20),e.nrm(1,"fa-icon",21),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&ye){const ht=e.XpG();e.R7$(),e.Y8G("icon",ht.faExclamationTriangle),e.R7$(2),e.JRh(ht.warningMessage)}}function Se(ye,rt){if(1&ye&&(e.j41(0,"div",22),e.nrm(1,"fa-icon",21),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&ye){const ht=e.XpG();e.R7$(),e.Y8G("icon",ht.faInfoCircle),e.R7$(2),e.JRh(ht.informationMessage)}}function Te(ye,rt){if(1&ye&&(e.j41(0,"p",23),e.EFF(1),e.k0s()),2&ye){const ht=e.XpG();e.R7$(),e.JRh(ht.data.titleMessage)}}function ce(ye,rt){1&ye&&e.nrm(0,"div",37),2&ye&&e.Y8G("innerHTML",rt.$implicit,e.npT)}function Z(ye,rt){if(1&ye&&(e.qex(0,35),e.DNE(1,ce,1,1,"div",36),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngForOf",ht.value)}}function Re(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.nI1(2,"date"),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(e.i5U(2,1,1e3*ht.value,"dd/MMM/y HH:mm"))}}function Pe(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.nI1(2,"number"),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(e.i5U(2,1,ht.value,"1.0-3"))}}function pt(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(!0===ht.value?"True":"False")}}function Ke(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(ht.value)}}function Fe(ye,rt){if(1&ye&&(e.j41(0,"span")(1,"span",31),e.DNE(2,Z,2,1,"ng-container",32)(3,Re,3,4,"ng-container",33)(4,Pe,3,4,"ng-container",33)(5,pt,2,1,"ng-container",33)(6,Ke,2,1,"ng-container",34),e.k0s()()),2&ye){const ht=e.XpG().$implicit,ii=e.XpG(3);e.R7$(),e.Y8G("ngSwitch",ht.type),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.ARRAY),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.DATE_TIME),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.NUMBER),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.BOOLEAN)}}function Ge(ye,rt){1&ye&&(e.j41(0,"span",38),e.EFF(1,"\xa0"),e.k0s())}function qe(ye,rt){if(1&ye&&(e.j41(0,"div",27)(1,"h4",28),e.EFF(2),e.k0s(),e.DNE(3,Fe,7,5,"span",29)(4,Ge,2,0,"ng-template",null,0,e.C5r),e.nrm(6,"mat-divider",30),e.k0s()),2&ye){const ht=rt.$implicit,ii=e.sdS(5);e.FS9("fxFlex.gt-md",ht.width),e.R7$(2),e.JRh(ht.title),e.R7$(),e.Y8G("ngIf",ht&&(!!ht.value||0===ht.value))("ngIfElse",ii)}}function at(ye,rt){if(1&ye&&(e.j41(0,"div")(1,"div",25),e.DNE(2,qe,7,4,"div",26),e.k0s()()),2&ye){const ht=rt.$implicit;e.R7$(2),e.Y8G("ngForOf",ht)}}function Lt(ye,rt){if(1&ye&&(e.j41(0,"div"),e.DNE(1,at,3,1,"div",24),e.k0s()),2&ye){const ht=e.XpG();e.R7$(),e.Y8G("ngForOf",ht.messageObjs)}}function pi(ye,rt){if(1&ye&&(e.j41(0,"p",23),e.EFF(1),e.k0s()),2&ye){const ht=e.XpG(2);e.R7$(),e.JRh(ht.data.titleMessage)}}function $t(ye,rt){if(1&ye&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.SpI("",ht.placeholder," is required.")}}function Kt(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"mat-form-field",42)(1,"mat-label"),e.EFF(2),e.k0s(),e.j41(3,"input",43),e.nI1(4,"lowercase"),e.mxI("ngModelChange",function(di){e.eBV(ht);const Gi=e.XpG().$implicit;return e.DH7(Gi.inputValue,di)||(Gi.inputValue=di),e.Njj(di)}),e.k0s(),e.DNE(5,$t,2,1,"mat-error",13),e.j41(6,"mat-hint"),e.EFF(7),e.k0s()()}if(2&ye){const ht=e.XpG(),ii=ht.$implicit,di=ht.index;e.Y8G("fxFlex",ii.width),e.R7$(2),e.JRh(ii.placeholder),e.R7$(),e.Mz_("name","input",di,""),e.Y8G("autoFocus",0===di)("min",ii.min)("step",ii.step)("type",e.bMT(4,12,ii.inputType))("tabindex",di+1),e.R50("ngModel",ii.inputValue),e.R7$(2),e.Y8G("ngIf",!ii.inputValue),e.R7$(2),e.JRh(ii.hintFunction?ii.hintFunction(ii.inputValue):ii.hintText)}}function Ui(ye,rt){if(1&ye&&(e.qex(0),e.DNE(1,Kt,8,14,"mat-form-field",41),e.bVm()),2&ye){const ht=rt.$implicit,ii=e.XpG(2);e.R7$(),e.Y8G("ngIf",!ht.advancedField||ii.showAdvanced)}}function ti(ye,rt){if(1&ye&&(e.j41(0,"div",39),e.DNE(1,pi,2,1,"p",12),e.j41(2,"div",40),e.DNE(3,Ui,2,1,"ng-container",24),e.k0s()()),2&ye){const ht=e.XpG();e.R7$(),e.Y8G("ngIf",ht.data.titleMessage),e.R7$(2),e.Y8G("ngForOf",ht.getInputs)}}function fi(ye,rt){1&ye&&(e.j41(0,"p"),e.EFF(1,"Show Advanced"),e.k0s())}function xn(ye,rt){1&ye&&(e.j41(0,"p"),e.EFF(1,"Hide Advanced"),e.k0s())}function tn(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"button",44),e.bIt("click",function(){e.eBV(ht);const di=e.XpG();return e.Njj(di.onShowAdvanced())}),e.DNE(1,fi,2,0,"p",29)(2,xn,2,0,"ng-template",null,1,e.C5r),e.k0s()}if(2&ye){const ht=e.sdS(3),ii=e.XpG();e.R7$(),e.Y8G("ngIf",!ii.showAdvanced)("ngIfElse",ht)}}function Vi(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"button",45),e.bIt("click",function(){e.eBV(ht);const di=e.XpG();return e.Njj(di.onClose(di.getInputs))}),e.EFF(1),e.k0s()}if(2&ye){const ht=e.XpG();e.R7$(),e.JRh(ht.yesBtnText)}}function Qi(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"button",46),e.bIt("click",function(){e.eBV(ht);const di=e.XpG();return e.Njj(di.onClose(!0))}),e.EFF(1),e.k0s()}if(2&ye){const ht=e.XpG();e.R7$(),e.JRh(ht.yesBtnText)}}let Xt=(()=>{class ye{constructor(ht,ii,di,Gi){this.dialogRef=ht,this.data=ii,this.logger=di,this.store=Gi,this.faInfoCircle=Y.iW_,this.faExclamationTriangle=Y.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(ht){if(ht&&this.getInputs&&this.getInputs.some(ii=>typeof ii.inputValue>"u"))return!0;!this.showAdvanced&&ht.length&&(ht=ht?.reduce((ii,di)=>(di.advancedField||ii.push(di),ii),[])),this.store.dispatch((0,et.uP)({payload:ht}))}static{this.\u0275fac=function(ii){return new(ii||ye)(e.rXU(O.CP),e.rXU(O.Vh),e.rXU(Q.gP),e.rXU(fe.il))}}static{this.\u0275cmp=e.VBU({type:ye,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(ii,di){1&ii&&(e.j41(0,"div",2)(1,"div",3)(2,"mat-card-header",4)(3,"div",5)(4,"span",6),e.EFF(5),e.k0s()(),e.j41(6,"button",7),e.bIt("click",function(){return di.onClose(!1)}),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",8)(9,"form",9),e.DNE(10,xt,4,2,"div",10)(11,Se,4,2,"div",11)(12,Te,2,1,"p",12)(13,Lt,2,1,"div",13)(14,ti,4,2,"div",14),e.j41(15,"div",15)(16,"button",16),e.bIt("click",function(){return di.onClose(!1)}),e.EFF(17),e.k0s(),e.DNE(18,tn,4,2,"button",17)(19,Vi,2,1,"button",18)(20,Qi,2,1,"button",19),e.k0s()()()()()),2&ii&&(e.R7$(5),e.JRh(di.data.alertTitle||di.alertTypeEnum[di.data.type]),e.R7$(5),e.Y8G("ngIf",di.warningMessage&&""!==di.warningMessage),e.R7$(),e.Y8G("ngIf",di.informationMessage&&""!==di.informationMessage),e.R7$(),e.Y8G("ngIf",di.data.titleMessage&&!di.flgShowInput),e.R7$(),e.Y8G("ngIf",(null==di.messageObjs?null:di.messageObjs.length)>0),e.R7$(),e.Y8G("ngIf",di.flgShowInput),e.R7$(3),e.JRh(di.noBtnText),e.R7$(),e.Y8G("ngIf",di.hasAdvanced),e.R7$(),e.Y8G("ngIf",di.flgShowInput),e.R7$(),e.Y8G("ngIf",!di.flgShowInput))},dependencies:[ne.Sq,ne.bT,ne.ux,ne.e1,ne.fG,Ae.qT,Ae.me,Ae.BC,Ae.cb,Ae.YS,Ae.vS,Ae.cV,Me.aY,I.DJ,I.sA,I.UI,le.$z,T.m2,T.MM,It.fg,Qt.rl,Qt.nJ,Qt.MV,Qt.TL,c.q,k.N,Tt.V,ne.GH,ne.QX,ne.vh]})}}return ye})();var St=g(2462),tt=g(2798),ot=g(6600);const Mt=ye=>({"display-none":ye});function Bt(ye,rt){if(1&ye&&(e.j41(0,"mat-option",23),e.EFF(1),e.k0s()),2&ye){const ht=rt.$implicit;e.Y8G("value",ht),e.R7$(),e.SpI(" ",ht.infoName," ")}}function Ci(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),e.mxI("valueChange",function(di){e.eBV(ht);const Gi=e.XpG();return e.DH7(Gi.selInfoType,di)||(Gi.selInfoType=di),e.Njj(di)}),e.DNE(3,Bt,2,2,"mat-option",22),e.k0s()()()}if(2&ye){const ht=e.XpG();e.R7$(2),e.R50("value",ht.selInfoType),e.R7$(),e.Y8G("ngForOf",ht.infoTypes)}}let Ti=(()=>{class ye{constructor(ht,ii,di,Gi,Cn){this.dialogRef=ht,this.data=ii,this.logger=di,this.snackBar=Gi,this.commonService=Cn,this.faReceipt=Y.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((ht,ii)=>{this.infoTypes.push({infoID:ii+1,infoKey:"node URI "+(ii+1),infoName:"Node URI "+(ii+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(ht){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+ht)}static{this.\u0275fac=function(ii){return new(ii||ye)(e.rXU(O.CP),e.rXU(O.Vh),e.rXU(Q.gP),e.rXU(J.UG),e.rXU(ie.h))}}static{this.\u0275cmp=e.VBU({type:ye,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(ii,di){1&ii&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"qr-code",2),e.k0s(),e.j41(3,"div",3)(4,"mat-card-header",4)(5,"div",5),e.nrm(6,"fa-icon",6),e.j41(7,"span",7),e.EFF(8),e.k0s()(),e.j41(9,"button",8),e.bIt("click",function(){return di.onClose()}),e.EFF(10,"X"),e.k0s()(),e.j41(11,"mat-card-content",9)(12,"div",10)(13,"div",11),e.nrm(14,"qr-code",2),e.k0s(),e.DNE(15,Ci,4,2,"div",12),e.j41(16,"div",13)(17,"div",14)(18,"h4",15),e.EFF(19),e.k0s(),e.j41(20,"span",16),e.EFF(21),e.k0s()()(),e.nrm(22,"mat-divider",17),e.j41(23,"div",18)(24,"button",19),e.bIt("copied",function(Cn){return di.onCopyPubkey(Cn)}),e.EFF(25),e.k0s()()()()()()),2&ii&&(e.R7$(),e.Y8G("ngClass",e.eq3(15,Mt,di.screenSize===di.screenSizeEnum.XS||di.screenSize===di.screenSizeEnum.SM)),e.R7$(),e.FS9("value",0===di.selInfoType.infoID?di.information.identity_pubkey:di.information.uris[di.selInfoType.infoID-1]),e.Y8G("size",di.qrWidth)("errorCorrectionLevel","L"),e.R7$(4),e.Y8G("icon",di.faReceipt),e.R7$(2),e.JRh(di.selInfoType.infoName),e.R7$(5),e.Y8G("ngClass",e.eq3(17,Mt,di.screenSize!==di.screenSizeEnum.XS&&di.screenSize!==di.screenSizeEnum.SM)),e.R7$(),e.FS9("value",0===di.selInfoType.infoID?di.information.identity_pubkey:di.information.uris[di.selInfoType.infoID-1]),e.Y8G("size",di.qrWidth)("errorCorrectionLevel","L"),e.R7$(),e.Y8G("ngIf",di.information.uris&&di.information.uris.length>0),e.R7$(4),e.JRh(di.selInfoType.infoName),e.R7$(2),e.JRh(0===di.selInfoType.infoID?di.information.identity_pubkey:di.information.uris[di.selInfoType.infoID-1]),e.R7$(3),e.FS9("payload",0===di.selInfoType.infoID?di.information.identity_pubkey:di.information.uris[di.selInfoType.infoID-1]),e.R7$(),e.SpI("Copy ",di.selInfoType.infoKey,""))},dependencies:[ne.YU,ne.Sq,ne.bT,Me.aY,I.DJ,I.sA,I.UI,Ce.PW,le.$z,T.m2,T.MM,Qt.rl,c.q,tt.VO,ot.wT,d.Um,A.U,k.N]})}}return ye})();var Hi=g(190),Zi=g(8430),ln=g(5428),mn=g(1626),Ut=g(7879),lt=g(3202),re=g(1534);let He=(()=>{class ye{constructor(ht,ii,di,Gi,Cn,Hn,Qn,Jn,nr,dr,wn){this.actions=ht,this.httpClient=ii,this.store=di,this.logger=Gi,this.wsService=Cn,this.sessionService=Hn,this.commonService=Qn,this.dataService=Jn,this.dialog=nr,this.snackBar=dr,this.router=wn,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new x.B,new x.B],this.closeAllDialogs=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.CLOSE_ALL_DIALOGS),(0,l.T)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.OPEN_SNACK_BAR),(0,l.T)(Ai=>{"string"==typeof Ai.payload?this.snackBar.open(Ai.payload):this.snackBar.open(Ai.payload.message,"","ERROR"===Ai.payload.type?{duration:Ai.payload.duration?Ai.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===Ai.payload.type?{duration:Ai.payload.duration?Ai.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:Ai.payload.duration?Ai.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.OPEN_SPINNER),(0,l.T)(Ai=>{Ai.payload!==y.MZ.NO_SPINNER&&(this.dialogRef=this.dialog.open(j,{panelClass:"spinner-dialog-panel",data:{titleMessage:Ai.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.CLOSE_SPINNER),(0,l.T)(Ai=>{if(Ai.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===Ai.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(Yi=>{Yi.componentInstance&&Yi.componentInstance.data&&Yi.componentInstance.data.titleMessage&&Yi.componentInstance.data.titleMessage===Ai.payload&&Yi.close()})}catch(Yi){this.logger.error(Yi)}})),{dispatch:!1}),this.openAlert=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.OPEN_ALERT),(0,l.T)(Ai=>{const Yi=JSON.parse(JSON.stringify(Ai.payload));Yi.width||(Yi.width=this.alertWidth),this.dialogRef=this.dialog.open(Ai.payload.data.component?Ai.payload.data.component:Je,Yi)})),{dispatch:!1}),this.closeAlert=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.CLOSE_ALERT),(0,l.T)(Ai=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Ai.payload),Ai.payload))),{dispatch:!1}),this.openConfirm=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.OPEN_CONFIRMATION),(0,l.T)(Ai=>{const Yi=JSON.parse(JSON.stringify(Ai.payload));Yi.width||(Yi.width=this.confirmWidth),this.dialogRef=this.dialog.open(Xt,Yi)})),{dispatch:!1}),this.closeConfirm=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.CLOSE_CONFIRMATION),(0,w.s)(1),(0,l.T)(Ai=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Ai.payload),Ai.payload))),{dispatch:!1}),this.showNodePubkey=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.SHOW_PUBKEY),(0,f.E)(this.store.select(W.N)),(0,R.Z)(([Ai,Yi])=>(this.sessionService.getItem("token")&&Yi.identity_pubkey?this.store.dispatch((0,et.xO)({payload:{data:{information:Yi,component:Ti}}})):this.snackBar.open("Node Pubkey does not exist."),(0,D.of)({type:y.aU.VOID}))))),this.appConfigFetch=(0,t.EH)(()=>this.actions.pipe((0,t.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,et.mt)({payload:y.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,et.Gd)({payload:{action:"FetchRTLConfig",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.CONF_API))),(0,l.T)(Ai=>{this.logger.info(Ai),this.store.dispatch((0,et.y0)({payload:y.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,et.Gd)({payload:{action:"FetchRTLConfig",status:y.wn.COMPLETED}}));let Yi=null;return Ai.nodes.forEach(Ft=>{Ft.settings.currencyUnits=[...y.A0,Ft.settings?.currencyUnit?Ft.settings?.currencyUnit:""],+(Ft.index||-1)===Ai.selectedNodeIndex&&(Yi=Ft)}),Yi?(this.store.dispatch((0,et.Qi)({payload:{uiMessage:y.MZ.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:Yi,isInitialSetup:!0}})),{type:y.aU.SET_APPLICATION_SETTINGS,payload:Ai}):{type:y.aU.VOID}}),(0,h.W)(Ai=>(this.handleErrorWithAlert("FetchRTLConfig",y.MZ.GET_RTL_CONFIG,"Fetch RTL Config Failed!",y.rl.CONF_API,Ai),(0,D.of)({type:y.aU.VOID}))))),this.updateNodeSettings=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.UPDATE_NODE_SETTINGS),(0,R.Z)(Ai=>(this.store.dispatch((0,et.mt)({payload:y.MZ.UPDATE_NODE_SETTINGS})),this.store.dispatch((0,et.Gd)({payload:{action:"updateNodeSettings",status:y.wn.INITIATED}})),Ai.payload.settings.fiatConversion||delete Ai.payload.settings.currencyUnit,delete Ai.payload.settings.currencyUnits,this.httpClient.post(y.rl.CONF_API+"/node",Ai.payload).pipe((0,l.T)(Yi=>(this.store.dispatch((0,et.Gd)({payload:{action:"updateNodeSettings",status:y.wn.COMPLETED}})),this.store.dispatch((0,et.y0)({payload:y.MZ.UPDATE_NODE_SETTINGS})),Yi.settings.currencyUnits=[...y.A0,Yi.settings?.currencyUnit?Yi.settings?.currencyUnit:""],this.store.dispatch((0,et.Np)({payload:Yi})),{type:y.aU.OPEN_SNACK_BAR,payload:"Node settings updated successfully!"})),(0,h.W)(Yi=>(this.handleErrorWithAlert("updateNodeSettings",y.MZ.UPDATE_NODE_SETTINGS,"Update Node Settings Failed!",y.rl.CONF_API+"/node",Yi),(0,D.of)({type:y.aU.VOID})))))))),this.updateApplicationSettings=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.UPDATE_APPLICATION_SETTINGS),(0,R.Z)(Ai=>(this.store.dispatch((0,et.mt)({payload:y.MZ.UPDATE_APPLICATION_SETTINGS})),this.store.dispatch((0,et.Gd)({payload:{action:"updateApplicationSettings",status:y.wn.INITIATED}})),Ai.payload.config.nodes.forEach(Yi=>{delete Yi.settings.currencyUnits}),this.httpClient.post(y.rl.CONF_API+"/application",Ai.payload.config).pipe((0,l.T)(Yi=>(this.store.dispatch((0,et.Gd)({payload:{action:"updateApplicationSettings",status:y.wn.COMPLETED}})),this.store.dispatch((0,et.y0)({payload:y.MZ.UPDATE_APPLICATION_SETTINGS})),Ai.payload.showSnackBar&&this.store.dispatch((0,et.UI)({payload:Ai.payload.message})),{type:y.aU.SET_APPLICATION_SETTINGS,payload:Yi})),(0,h.W)(Yi=>(this.handleErrorWithAlert("updateApplicationSettings",y.MZ.UPDATE_APPLICATION_SETTINGS,"Update Application Settings Failed!",y.rl.CONF_API+"/application",Yi),(0,D.of)({type:y.aU.VOID})))))))),this.configFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.FETCH_CONFIG),(0,R.Z)(Ai=>(this.store.dispatch((0,et.mt)({payload:y.MZ.OPEN_CONFIG_FILE})),this.store.dispatch((0,et.Gd)({payload:{action:"fetchConfig",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.CONF_API+"/config/"+Ai.payload).pipe((0,l.T)(Yi=>(this.store.dispatch((0,et.Gd)({payload:{action:"fetchConfig",status:y.wn.COMPLETED}})),this.store.dispatch((0,et.y0)({payload:y.MZ.OPEN_CONFIG_FILE})),{type:y.aU.SHOW_CONFIG,payload:Yi})),(0,h.W)(Yi=>(this.handleErrorWithAlert("fetchConfig",y.MZ.OPEN_CONFIG_FILE,"Fetch Config Failed!",y.rl.CONF_API+"/config/"+Ai.payload,Yi),(0,D.of)({type:y.aU.VOID})))))))),this.showLnConfig=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.SHOW_CONFIG),(0,l.T)(Ai=>Ai.payload)),{dispatch:!1}),this.isAuthorized=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.IS_AUTHORIZED),(0,R.Z)(Ai=>(this.store.dispatch((0,et.Gd)({payload:{action:"IsAuthorized",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API,{authenticateWith:Ai.payload&&""!==Ai.payload.trim()?y.U1.PASSWORD:y.U1.JWT,authenticationValue:Ai.payload&&""!==Ai.payload.trim()?Ai.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,l.T)(Yi=>(this.logger.info(Yi),this.store.dispatch((0,et.Gd)({payload:{action:"IsAuthorized",status:y.wn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:y.aU.IS_AUTHORIZED_RES,payload:Yi})),(0,h.W)(Yi=>(this.handleErrorWithAlert("IsAuthorized",y.MZ.NO_SPINNER,"Authorization Failed",y.rl.AUTHENTICATE_API,Yi),(0,D.of)({type:y.aU.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.IS_AUTHORIZED_RES),(0,l.T)(Ai=>Ai.payload)),{dispatch:!1}),this.authLogin=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.LOGIN),(0,f.E)(this.store.select(W.qv)),(0,R.Z)(([Ai,Yi])=>(this.store.dispatch((0,Hi.p1)()),this.store.dispatch((0,Zi.gf)()),this.store.dispatch((0,ln.Hh)()),this.store.dispatch((0,et.Gd)({payload:{action:"Login",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API,{authenticateWith:Ai.payload.password?y.U1.PASSWORD:y.U1.JWT,authenticationValue:Ai.payload.password?Ai.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:Ai.payload.twoFAToken?Ai.payload.twoFAToken:""}).pipe((0,l.T)(Ft=>{this.logger.info(Ft),this.store.dispatch((0,et.Gd)({payload:{action:"Login",status:y.wn.COMPLETED}})),this.setLoggedInDetails(Ai.payload.defaultPassword,Ft)}),(0,h.W)(Ft=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",y.MZ.NO_SPINNER,Ft),+Yi.SSO.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:Ft.error&&Ft.error.error?Ft.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"],{state:{logoutReason:Ft.error&&Ft.error.error?Ft.error.error:"Single Sign On Failed!"}}),(0,D.of)({type:y.aU.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.VERIFY_TWO_FA),(0,R.Z)(Ai=>(this.store.dispatch((0,et.mt)({payload:y.MZ.VERIFY_TOKEN})),this.store.dispatch((0,et.Gd)({payload:{action:"VerifyToken",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API+"/token",{authentication2FA:Ai.payload.token}).pipe((0,l.T)(Yi=>{this.logger.info(Yi),this.store.dispatch((0,et.y0)({payload:y.MZ.VERIFY_TOKEN})),this.store.dispatch((0,et.Gd)({payload:{action:"VerifyToken",status:y.wn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,Ai.payload.authResponse)}),(0,h.W)(Yi=>(this.handleErrorWithAlert("VerifyToken",y.MZ.VERIFY_TOKEN,"Authorization Failed!",y.rl.AUTHENTICATE_API+"/token",Yi),(0,D.of)({type:y.aU.VOID}))))))),{dispatch:!1}),this.logOut=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.LOGOUT),(0,f.E)(this.store.select(W.qv)),(0,R.Z)(([Ai,Yi])=>(this.store.dispatch((0,et.mt)({payload:y.MZ.LOG_OUT})),Yi.SSO&&+Yi.SSO.rtlSSO?window.location.href=Yi.SSO.logoutRedirectLink:this.router.navigate(["./login"],{state:{logoutReason:Ai.payload}}),this.sessionService.clearAll(),this.store.dispatch((0,et.Fl)({payload:{}})),this.store.dispatch((0,et.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)(Ft=>{this.logger.info(Ft),this.store.dispatch((0,et.y0)({payload:y.MZ.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,t.EH)(()=>this.actions.pipe((0,S.Q)(this.unSubs[1]),(0,t.gp)(y.aU.RESET_PASSWORD),(0,R.Z)(Ai=>(this.store.dispatch((0,et.Gd)({payload:{action:"ResetPassword",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API+"/reset",{currPassword:Ai.payload.currPassword,newPassword:Ai.payload.newPassword}).pipe((0,S.Q)(this.unSubs[0]),(0,l.T)(Yi=>(this.logger.info(Yi),this.store.dispatch((0,et.Gd)({payload:{action:"ResetPassword",status:y.wn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,et.UI)({payload:"Password Reset Successful!"})),this.SetToken(Yi.token),{type:y.aU.RESET_PASSWORD_RES,payload:Yi.token})),(0,h.W)(Yi=>(this.handleErrorWithAlert("ResetPassword",y.MZ.NO_SPINNER,"Password Reset Failed!",y.rl.AUTHENTICATE_API+"/reset",Yi),(0,D.of)({type:y.aU.VOID})))))))),this.setSelectedNode=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.SET_SELECTED_NODE),(0,R.Z)(Ai=>(this.store.dispatch((0,et.mt)({payload:Ai.payload.uiMessage})),this.store.dispatch((0,et.Gd)({payload:{action:"UpdateSelNode",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.CONF_API+"/updateSelNode/"+Ai.payload.currentLnNode?.index+"/"+Ai.payload.prevLnNodeIndex).pipe((0,l.T)(Yi=>(this.logger.info(Yi),this.store.dispatch((0,et.Gd)({payload:{action:"UpdateSelNode",status:y.wn.COMPLETED}})),this.store.dispatch((0,et.y0)({payload:Ai.payload.uiMessage})),this.initializeNode(Yi,Ai.payload.isInitialSetup),{type:y.aU.VOID})),(0,h.W)(Yi=>(this.handleErrorWithAlert("UpdateSelNode",Ai.payload.uiMessage,"Update Selected Node Failed!",y.rl.CONF_API+"/updateSelNode",Yi),(0,D.of)({type:y.aU.VOID})))))))),this.fetchFile=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.FETCH_FILE),(0,R.Z)(Ai=>{this.store.dispatch((0,et.mt)({payload:y.MZ.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,et.Gd)({payload:{action:"FetchFile",status:y.wn.INITIATED}}));const Yi="?channel="+Ai.payload.channelPoint+(Ai.payload.path?"&path="+Ai.payload.path:"");return this.httpClient.get(y.rl.CONF_API+"/file"+Yi).pipe((0,l.T)(Ft=>(this.store.dispatch((0,et.Gd)({payload:{action:"FetchFile",status:y.wn.COMPLETED}})),this.store.dispatch((0,et.y0)({payload:y.MZ.DOWNLOAD_BACKUP_FILE})),{type:y.aU.SHOW_FILE,payload:Ft})),(0,h.W)(Ft=>(this.handleErrorWithAlert("fetchFile",y.MZ.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",y.rl.CONF_API+"/file"+Yi,{status:this.commonService.extractErrorNumber(Ft),error:{error:this.commonService.extractErrorCode(Ft)}}),(0,D.of)({type:y.aU.VOID}))))}))),this.showFile=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.SHOW_FILE),(0,l.T)(Ai=>Ai.payload)),{dispatch:!1})}initializeNode(ht,ii){this.logger.info("Initializing node from RTL Effects.");const di=ii?"":"HOME";if(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clnUnlocked"),this.sessionService.removeItem("eclUnlocked"),ht.settings.currencyUnits=[...y.A0,ht.settings?.currencyUnit?ht.settings?.currencyUnit:""],this.store.dispatch((0,et.Tn)({payload:ht})),this.store.dispatch((0,Hi.p1)()),this.store.dispatch((0,Zi.gf)()),this.store.dispatch((0,ln.Hh)()),this.sessionService.getItem("token")){const Gi=ht.lnImplementation?ht.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(Gi);const Cn=!(0,e.naY)()&&window.location.origin?window.location.origin+"/rtl/api":y.H$;switch(this.wsService.connectWebSocket(Cn?.replace(/^http/,"ws")+y.rl.Web_SOCKET_API,ht.index?ht.index.toString():"-1"),Gi){case"CLN":this.store.dispatch((0,Zi.lg)()),this.store.dispatch((0,Zi.Aw)({payload:{loadPage:di}}));break;case"ECL":this.store.dispatch((0,ln.lg)()),this.store.dispatch((0,ln.zR)({payload:{loadPage:di}}));break;default:this.store.dispatch((0,Hi.lg)()),this.store.dispatch((0,Hi.Br)({payload:{loadPage:di}}))}}}SetToken(ht){ht?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",ht)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(ht,ii){this.logger.info("Successfully Authorized!"),this.SetToken(ii.token),this.sessionService.setItem("defaultPassword",ht),ht?(this.store.dispatch((0,et.UI)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,et.NU)())}handleErrorWithoutAlert(ht,ii,di){this.logger.error("ERROR IN: "+ht+"\n"+JSON.stringify(di)),401===di.status&&"Login"!==ht?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,et.Jh)()),this.store.dispatch((0,et.ri)({payload:"Authentication Failed: "+JSON.stringify(di.error)}))):(this.store.dispatch((0,et.y0)({payload:ii})),this.store.dispatch((0,et.Gd)({payload:{action:ht,status:y.wn.ERROR,statusCode:di.status?di.status.toString():"",message:this.commonService.extractErrorMessage(di)}})))}handleErrorWithAlert(ht,ii,di,Gi,Cn){if(this.logger.error(Cn),0===Cn.status&&Cn.statusText&&"Unknown Error"===Cn.statusText&&(Cn={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===Cn.status&&"Login"!==ht)this.logger.info("Redirecting to Login"),this.store.dispatch((0,et.Jh)()),this.store.dispatch((0,et.ri)({payload:"Authentication Failed: "+JSON.stringify(Cn.error)}));else{this.store.dispatch((0,et.y0)({payload:ii}));const Hn=this.commonService.extractErrorMessage(Cn);this.store.dispatch((0,et.xO)({payload:{data:{type:"ERROR",alertTitle:di,message:{code:Cn.status?Cn.status:"Unknown Error",message:Hn,URL:Gi},component:St.f}}})),this.store.dispatch((0,et.Gd)({payload:{action:ht,status:y.wn.ERROR,statusCode:Cn.status?Cn.status.toString():"",message:Hn,URL:Gi}}))}}ngOnDestroy(){this.unSubs.forEach(ht=>{ht.next(null),ht.complete()})}static{this.\u0275fac=function(ii){return new(ii||ye)(e.KVO(t.En),e.KVO(mn.Qq),e.KVO(fe.il),e.KVO(Q.gP),e.KVO(Ut.I),e.KVO(lt.Q),e.KVO(ie.h),e.KVO(re.u),e.KVO(O.bZ),e.KVO(J.UG),e.KVO(ee.Ix))}}static{this.\u0275prov=e.jDH({token:ye,factory:ye.\u0275fac})}}return ye})()},9647:(Qe,te,g)=>{"use strict";g.d(te,{Az:()=>h,E2:()=>R,Kq:()=>f,N:()=>w,_c:()=>D,qv:()=>l});var e=g(9640);const t=(0,e.UX)("root"),D=((0,e.Mz)(t,S=>S.apiURL),(0,e.Mz)(t,S=>S.selNode)),l=(0,e.Mz)(t,S=>S.appConfig),w=(0,e.Mz)(t,S=>S.nodeData),f=(0,e.Mz)(t,S=>S.apisCallStatus.Login),R=(0,e.Mz)(t,S=>S.apisCallStatus.IsAuthorized),h=(0,e.Mz)(t,S=>({nodeDate:S.nodeData,selNode:S.selNode}))},3471:(Qe,te,g)=>{"use strict";var e=g(345),t=g(4438),x=g(9969);function l(F){return new t.wOt(3e3,!1)}function ze(F){switch(F.length){case 0:return new x.sf;case 1:return F[0];default:return new x.ui(F)}}function Xe(F,B,v=new Map,H=new Map){const G=[],Oe=[];let kt=-1,At=null;if(B.forEach(oi=>{const ui=oi.get("offset"),Wi=ui==kt,Li=Wi&&At||new Map;oi.forEach((fn,Mn)=>{let Ki=Mn,an=fn;if("offset"!==Mn)switch(Ki=F.normalizePropertyName(Ki,G),an){case x.FX:an=v.get(Mn);break;case x.kp:an=H.get(Mn);break;default:an=F.normalizeStyleValue(Mn,Ki,an,G)}Li.set(Ki,an)}),Wi||Oe.push(Li),At=Li,kt=ui}),G.length)throw function c(){return new t.wOt(3502,!1)}();return Oe}function We(F,B,v,H){switch(B){case"start":F.onStart(()=>H(v&&oe(v,"start",F)));break;case"done":F.onDone(()=>H(v&&oe(v,"done",F)));break;case"destroy":F.onDestroy(()=>H(v&&oe(v,"destroy",F)))}}function oe(F,B,v){const Oe=X(F.element,F.triggerName,F.fromState,F.toState,B||F.phaseName,v.totalTime??F.totalTime,!!v.disabled),kt=F._data;return null!=kt&&(Oe._data=kt),Oe}function X(F,B,v,H,G="",Oe=0,kt){return{element:F,triggerName:B,fromState:v,toState:H,phaseName:G,totalTime:Oe,disabled:!!kt}}function se(F,B,v){let H=F.get(B);return H||F.set(B,H=v),H}function ae(F){const B=F.indexOf(":");return[F.substring(1,B),F.slice(B+1)]}const he=typeof document>"u"?null:document.documentElement;function Ie(F){const B=F.parentNode||F.host||null;return B===he?null:B}let me=null,Ee=!1;function ct(F,B){for(;B;){if(B===F)return!0;B=Ie(B)}return!1}function dt(F,B,v){if(v)return Array.from(F.querySelectorAll(B));const H=F.querySelector(B);return H?[H]:[]}let ve=(()=>{class F{validateStyleProperty(v){return function ue(F){me||(me=function Ct(){return typeof document<"u"?document.body:null}()||{},Ee=!!me.style&&"WebkitAppearance"in me.style);let B=!0;return me.style&&!function st(F){return"ebkit"==F.substring(1,6)}(F)&&(B=F in me.style,!B&&Ee&&(B="Webkit"+F.charAt(0).toUpperCase()+F.slice(1)in me.style)),B}(v)}containsElement(v,H){return ct(v,H)}getParentElement(v){return Ie(v)}query(v,H,G){return dt(v,H,G)}computeStyle(v,H,G){return G||""}animate(v,H,G,Oe,kt,At=[],oi){return new x.sf(G,Oe)}static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})();class _e{static{this.NOOP=new ve}}class we{}const je=1e3,nt="ng-enter",qt="ng-leave",Nt="ng-trigger",yt=".ng-trigger",jt="ng-animating",Je=".ng-animating";function et(F){if("number"==typeof F)return F;const B=F.match(/^(-?[\.\d]+)(m?s)/);return!B||B.length<2?0:Ae(parseFloat(B[1]),B[2])}function Ae(F,B){return"s"===B?F*je:F}function It(F,B,v){return F.hasOwnProperty("duration")?F:function Qt(F,B,v){let G,Oe=0,kt="";if("string"==typeof F){const At=F.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===At)return B.push(l()),{duration:0,delay:0,easing:""};G=Ae(parseFloat(At[1]),At[2]);const oi=At[3];null!=oi&&(Oe=Ae(parseFloat(oi),At[4]));const ui=At[5];ui&&(kt=ui)}else G=F;if(!v){let At=!1,oi=B.length;G<0&&(B.push(function w(){return new t.wOt(3100,!1)}()),At=!0),Oe<0&&(B.push(function f(){return new t.wOt(3101,!1)}()),At=!0),At&&B.splice(oi,0,l())}return{duration:G,delay:Oe,easing:kt}}(F,B,v)}function Se(F,B,v){B.forEach((H,G)=>{const Oe=Fe(G);v&&!v.has(G)&&v.set(G,F.style[Oe]),F.style[Oe]=H})}function Te(F,B){B.forEach((v,H)=>{const G=Fe(H);F.style[G]=""})}function ce(F){return Array.isArray(F)?1==F.length?F[0]:(0,x.K2)(F):F}const Re=new RegExp("{{\\s*(.+?)\\s*}}","g");function Pe(F){let B=[];if("string"==typeof F){let v;for(;v=Re.exec(F);)B.push(v[1]);Re.lastIndex=0}return B}function pt(F,B,v){const H=`${F}`,G=H.replace(Re,(Oe,kt)=>{let At=B[kt];return null==At&&(v.push(function h(){return new t.wOt(3003,!1)}()),At=""),At.toString()});return G==H?F:G}const Ke=/-+([a-z0-9])/g;function Fe(F){return F.replace(Ke,(...B)=>B[1].toUpperCase())}function Lt(F,B,v){switch(B.type){case x.If.Trigger:return F.visitTrigger(B,v);case x.If.State:return F.visitState(B,v);case x.If.Transition:return F.visitTransition(B,v);case x.If.Sequence:return F.visitSequence(B,v);case x.If.Group:return F.visitGroup(B,v);case x.If.Animate:return F.visitAnimate(B,v);case x.If.Keyframes:return F.visitKeyframes(B,v);case x.If.Style:return F.visitStyle(B,v);case x.If.Reference:return F.visitReference(B,v);case x.If.AnimateChild:return F.visitAnimateChild(B,v);case x.If.AnimateRef:return F.visitAnimateRef(B,v);case x.If.Query:return F.visitQuery(B,v);case x.If.Stagger:return F.visitStagger(B,v);default:throw function S(){return new t.wOt(3004,!1)}()}}function pi(F,B){return window.getComputedStyle(F)[B]}const $t=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 Kt extends we{normalizePropertyName(B,v){return Fe(B)}normalizeStyleValue(B,v,H,G){let Oe="";const kt=H.toString().trim();if($t.has(v)&&0!==H&&"0"!==H)if("number"==typeof H)Oe="px";else{const At=H.match(/^[+-]?[\d\.]+([a-z]*)$/);At&&0==At[1].length&&G.push(function y(){return new t.wOt(3005,!1)}())}return kt+Oe}}const Qi="*";const ot=new Set(["true","1"]),Mt=new Set(["false","0"]);function Bt(F,B){const v=ot.has(F)||Mt.has(F),H=ot.has(B)||Mt.has(B);return(G,Oe)=>{let kt=F==Qi||F==G,At=B==Qi||B==Oe;return!kt&&v&&"boolean"==typeof G&&(kt=G?ot.has(F):Mt.has(F)),!At&&H&&"boolean"==typeof Oe&&(At=Oe?ot.has(B):Mt.has(B)),kt&&At}}const Ti=new RegExp("s*:selfs*,?","g");function Hi(F,B,v,H){return new ln(F).build(B,v,H)}class ln{constructor(B){this._driver=B}build(B,v,H){const G=new lt(v);return this._resetContextStyleTimingState(G),Lt(this,ce(B),G)}_resetContextStyleTimingState(B){B.currentQuerySelector="",B.collectedStyles=new Map,B.collectedStyles.set("",new Map),B.currentTime=0}visitTrigger(B,v){let H=v.queryCount=0,G=v.depCount=0;const Oe=[],kt=[];return"@"==B.name.charAt(0)&&v.errors.push(function O(){return new t.wOt(3006,!1)}()),B.definitions.forEach(At=>{if(this._resetContextStyleTimingState(v),At.type==x.If.State){const oi=At,ui=oi.name;ui.toString().split(/\s*,\s*/).forEach(Wi=>{oi.name=Wi,Oe.push(this.visitState(oi,v))}),oi.name=ui}else if(At.type==x.If.Transition){const oi=this.visitTransition(At,v);H+=oi.queryCount,G+=oi.depCount,kt.push(oi)}else v.errors.push(function I(){return new t.wOt(3007,!1)}())}),{type:x.If.Trigger,name:B.name,states:Oe,transitions:kt,queryCount:H,depCount:G,options:null}}visitState(B,v){const H=this.visitStyle(B.styles,v),G=B.options&&B.options.params||null;if(H.containsDynamicStyles){const Oe=new Set,kt=G||{};H.styles.forEach(At=>{At instanceof Map&&At.forEach(oi=>{Pe(oi).forEach(ui=>{kt.hasOwnProperty(ui)||Oe.add(ui)})})}),Oe.size&&v.errors.push(function V(){return new t.wOt(3008,!1)}(0,Oe.values()))}return{type:x.If.State,name:B.name,style:H,options:G?{params:G}:null}}visitTransition(B,v){v.queryCount=0,v.depCount=0;const H=Lt(this,ce(B.animation),v),G=function Xt(F,B){const v=[];return"string"==typeof F?F.split(/\s*,\s*/).forEach(H=>function St(F,B,v){if(":"==F[0]){const oi=function tt(F,B){switch(F){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(v,H)=>parseFloat(H)>parseFloat(v);case":decrement":return(v,H)=>parseFloat(H) *"}}(F,v);if("function"==typeof oi)return void B.push(oi);F=oi}const H=F.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==H||H.length<4)return v.push(function Me(){return new t.wOt(3015,!1)}()),B;const G=H[1],Oe=H[2],kt=H[3];B.push(Bt(G,kt)),"<"==Oe[0]&&(G!=Qi||kt!=Qi)&&B.push(Bt(kt,G))}(H,v,B)):v.push(F),v}(B.expr,v.errors);return{type:x.If.Transition,matchers:G,animation:H,queryCount:v.queryCount,depCount:v.depCount,options:ye(B.options)}}visitSequence(B,v){return{type:x.If.Sequence,steps:B.steps.map(H=>Lt(this,H,v)),options:ye(B.options)}}visitGroup(B,v){const H=v.currentTime;let G=0;const Oe=B.steps.map(kt=>{v.currentTime=H;const At=Lt(this,kt,v);return G=Math.max(G,v.currentTime),At});return v.currentTime=G,{type:x.If.Group,steps:Oe,options:ye(B.options)}}visitAnimate(B,v){const H=function He(F,B){if(F.hasOwnProperty("duration"))return F;if("number"==typeof F)return rt(It(F,B).duration,0,"");const v=F;if(v.split(/\s+/).some(Oe=>"{"==Oe.charAt(0)&&"{"==Oe.charAt(1))){const Oe=rt(0,0,"");return Oe.dynamic=!0,Oe.strValue=v,Oe}const G=It(v,B);return rt(G.duration,G.delay,G.easing)}(B.timings,v.errors);v.currentAnimateTimings=H;let G,Oe=B.styles?B.styles:(0,x.iF)({});if(Oe.type==x.If.Keyframes)G=this.visitKeyframes(Oe,v);else{let kt=B.styles,At=!1;if(!kt){At=!0;const ui={};H.easing&&(ui.easing=H.easing),kt=(0,x.iF)(ui)}v.currentTime+=H.duration+H.delay;const oi=this.visitStyle(kt,v);oi.isEmptyStep=At,G=oi}return v.currentAnimateTimings=null,{type:x.If.Animate,timings:H,style:G,options:null}}visitStyle(B,v){const H=this._makeStyleAst(B,v);return this._validateStyleAst(H,v),H}_makeStyleAst(B,v){const H=[],G=Array.isArray(B.styles)?B.styles:[B.styles];for(let At of G)"string"==typeof At?At===x.kp?H.push(At):v.errors.push(new t.wOt(3002,!1)):H.push(new Map(Object.entries(At)));let Oe=!1,kt=null;return H.forEach(At=>{if(At instanceof Map&&(At.has("easing")&&(kt=At.get("easing"),At.delete("easing")),!Oe))for(let oi of At.values())if(oi.toString().indexOf("{{")>=0){Oe=!0;break}}),{type:x.If.Style,styles:H,easing:kt,offset:B.offset,containsDynamicStyles:Oe,options:null}}_validateStyleAst(B,v){const H=v.currentAnimateTimings;let G=v.currentTime,Oe=v.currentTime;H&&Oe>0&&(Oe-=H.duration+H.delay),B.styles.forEach(kt=>{"string"!=typeof kt&&kt.forEach((At,oi)=>{const ui=v.collectedStyles.get(v.currentQuerySelector),Wi=ui.get(oi);let Li=!0;Wi&&(Oe!=G&&Oe>=Wi.startTime&&G<=Wi.endTime&&(v.errors.push(function W(){return new t.wOt(3010,!1)}()),Li=!1),Oe=Wi.startTime),Li&&ui.set(oi,{startTime:Oe,endTime:G}),v.options&&function Z(F,B,v){const H=B.params||{},G=Pe(F);G.length&&G.forEach(Oe=>{H.hasOwnProperty(Oe)||v.push(function R(){return new t.wOt(3001,!1)}())})}(At,v.options,v.errors)})})}visitKeyframes(B,v){const H={type:x.If.Keyframes,styles:[],options:null};if(!v.currentAnimateTimings)return v.errors.push(function Q(){return new t.wOt(3011,!1)}()),H;let Oe=0;const kt=[];let At=!1,oi=!1,ui=0;const Wi=B.steps.map(gr=>{const jr=this._makeStyleAst(gr,v);let da=null!=jr.offset?jr.offset:function re(F){if("string"==typeof F)return null;let B=null;if(Array.isArray(F))F.forEach(v=>{if(v instanceof Map&&v.has("offset")){const H=v;B=parseFloat(H.get("offset")),H.delete("offset")}});else if(F instanceof Map&&F.has("offset")){const v=F;B=parseFloat(v.get("offset")),v.delete("offset")}return B}(jr.styles),rr=0;return null!=da&&(Oe++,rr=jr.offset=da),oi=oi||rr<0||rr>1,At=At||rr0&&Oe{const da=fn>0?jr==Mn?1:fn*jr:kt[jr],rr=da*Xn;v.currentTime=Ki+an.delay+rr,an.duration=rr,this._validateStyleAst(gr,v),gr.offset=da,H.styles.push(gr)}),H}visitReference(B,v){return{type:x.If.Reference,animation:Lt(this,ce(B.animation),v),options:ye(B.options)}}visitAnimateChild(B,v){return v.depCount++,{type:x.If.AnimateChild,options:ye(B.options)}}visitAnimateRef(B,v){return{type:x.If.AnimateRef,animation:this.visitReference(B.animation,v),options:ye(B.options)}}visitQuery(B,v){const H=v.currentQuerySelector,G=B.options||{};v.queryCount++,v.currentQuery=B;const[Oe,kt]=function mn(F){const B=!!F.split(/\s*,\s*/).find(v=>":self"==v);return B&&(F=F.replace(Ti,"")),F=F.replace(/@\*/g,yt).replace(/@\w+/g,v=>yt+"-"+v.slice(1)).replace(/:animating/g,Je),[F,B]}(B.selector);v.currentQuerySelector=H.length?H+" "+Oe:Oe,se(v.collectedStyles,v.currentQuerySelector,new Map);const At=Lt(this,ce(B.animation),v);return v.currentQuery=null,v.currentQuerySelector=H,{type:x.If.Query,selector:Oe,limit:G.limit||0,optional:!!G.optional,includeSelf:kt,animation:At,originalSelector:B.selector,options:ye(B.options)}}visitStagger(B,v){v.currentQuery||v.errors.push(function fe(){return new t.wOt(3013,!1)}());const H="full"===B.timings?{duration:0,delay:0,easing:"full"}:It(B.timings,v.errors,!0);return{type:x.If.Stagger,animation:Lt(this,ce(B.animation),v),timings:H,options:null}}}class lt{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 ye(F){return F?(F={...F}).params&&(F.params=function Ut(F){return F?{...F}:null}(F.params)):F={},F}function rt(F,B,v){return{duration:F,delay:B,easing:v}}function ht(F,B,v,H,G,Oe,kt=null,At=!1){return{type:1,element:F,keyframes:B,preStyleProps:v,postStyleProps:H,duration:G,delay:Oe,totalTime:G+Oe,easing:kt,subTimeline:At}}class ii{constructor(){this._map=new Map}get(B){return this._map.get(B)||[]}append(B,v){let H=this._map.get(B);H||this._map.set(B,H=[]),H.push(...v)}has(B){return this._map.has(B)}clear(){this._map.clear()}}const Cn=new RegExp(":enter","g"),Qn=new RegExp(":leave","g");function Jn(F,B,v,H,G,Oe=new Map,kt=new Map,At,oi,ui=[]){return(new nr).buildKeyframes(F,B,v,H,G,Oe,kt,At,oi,ui)}class nr{buildKeyframes(B,v,H,G,Oe,kt,At,oi,ui,Wi=[]){ui=ui||new ii;const Li=new wn(B,v,ui,G,Oe,Wi,[]);Li.options=oi;const fn=oi.delay?et(oi.delay):0;Li.currentTimeline.delayNextStep(fn),Li.currentTimeline.setStyles([kt],null,Li.errors,oi),Lt(this,H,Li);const Mn=Li.timelines.filter(Ki=>Ki.containsAnimation());if(Mn.length&&At.size){let Ki;for(let an=Mn.length-1;an>=0;an--){const Xn=Mn[an];if(Xn.element===v){Ki=Xn;break}}Ki&&!Ki.allowOnlyTimelineStyles()&&Ki.setStyles([At],null,Li.errors,oi)}return Mn.length?Mn.map(Ki=>Ki.buildKeyframes()):[ht(v,[],[],[],0,fn,"",!1)]}visitTrigger(B,v){}visitState(B,v){}visitTransition(B,v){}visitAnimateChild(B,v){const H=v.subInstructions.get(v.element);if(H){const G=v.createSubContext(B.options),Oe=v.currentTimeline.currentTime,kt=this._visitSubInstructions(H,G,G.options);Oe!=kt&&v.transformIntoNewTimeline(kt)}v.previousNode=B}visitAnimateRef(B,v){const H=v.createSubContext(B.options);H.transformIntoNewTimeline(),this._applyAnimationRefDelays([B.options,B.animation.options],v,H),this.visitReference(B.animation,H),v.transformIntoNewTimeline(H.currentTimeline.currentTime),v.previousNode=B}_applyAnimationRefDelays(B,v,H){for(const G of B){const Oe=G?.delay;if(Oe){const kt="number"==typeof Oe?Oe:et(pt(Oe,G?.params??{},v.errors));H.delayNextStep(kt)}}}_visitSubInstructions(B,v,H){let Oe=v.currentTimeline.currentTime;const kt=null!=H.duration?et(H.duration):null,At=null!=H.delay?et(H.delay):null;return 0!==kt&&B.forEach(oi=>{const ui=v.appendInstructionToTimeline(oi,kt,At);Oe=Math.max(Oe,ui.duration+ui.delay)}),Oe}visitReference(B,v){v.updateOptions(B.options,!0),Lt(this,B.animation,v),v.previousNode=B}visitSequence(B,v){const H=v.subContextCount;let G=v;const Oe=B.options;if(Oe&&(Oe.params||Oe.delay)&&(G=v.createSubContext(Oe),G.transformIntoNewTimeline(),null!=Oe.delay)){G.previousNode.type==x.If.Style&&(G.currentTimeline.snapshotCurrentStyles(),G.previousNode=dr);const kt=et(Oe.delay);G.delayNextStep(kt)}B.steps.length&&(B.steps.forEach(kt=>Lt(this,kt,G)),G.currentTimeline.applyStylesToKeyframe(),G.subContextCount>H&&G.transformIntoNewTimeline()),v.previousNode=B}visitGroup(B,v){const H=[];let G=v.currentTimeline.currentTime;const Oe=B.options&&B.options.delay?et(B.options.delay):0;B.steps.forEach(kt=>{const At=v.createSubContext(B.options);Oe&&At.delayNextStep(Oe),Lt(this,kt,At),G=Math.max(G,At.currentTimeline.currentTime),H.push(At.currentTimeline)}),H.forEach(kt=>v.currentTimeline.mergeTimelineCollectedStyles(kt)),v.transformIntoNewTimeline(G),v.previousNode=B}_visitTiming(B,v){if(B.dynamic){const H=B.strValue;return It(v.params?pt(H,v.params,v.errors):H,v.errors)}return{duration:B.duration,delay:B.delay,easing:B.easing}}visitAnimate(B,v){const H=v.currentAnimateTimings=this._visitTiming(B.timings,v),G=v.currentTimeline;H.delay&&(v.incrementTime(H.delay),G.snapshotCurrentStyles());const Oe=B.style;Oe.type==x.If.Keyframes?this.visitKeyframes(Oe,v):(v.incrementTime(H.duration),this.visitStyle(Oe,v),G.applyStylesToKeyframe()),v.currentAnimateTimings=null,v.previousNode=B}visitStyle(B,v){const H=v.currentTimeline,G=v.currentAnimateTimings;!G&&H.hasCurrentStyleProperties()&&H.forwardFrame();const Oe=G&&G.easing||B.easing;B.isEmptyStep?H.applyEmptyStep(Oe):H.setStyles(B.styles,Oe,v.errors,v.options),v.previousNode=B}visitKeyframes(B,v){const H=v.currentAnimateTimings,G=v.currentTimeline.duration,Oe=H.duration,At=v.createSubContext().currentTimeline;At.easing=H.easing,B.styles.forEach(oi=>{At.forwardTime((oi.offset||0)*Oe),At.setStyles(oi.styles,oi.easing,v.errors,v.options),At.applyStylesToKeyframe()}),v.currentTimeline.mergeTimelineCollectedStyles(At),v.transformIntoNewTimeline(G+Oe),v.previousNode=B}visitQuery(B,v){const H=v.currentTimeline.currentTime,G=B.options||{},Oe=G.delay?et(G.delay):0;Oe&&(v.previousNode.type===x.If.Style||0==H&&v.currentTimeline.hasCurrentStyleProperties())&&(v.currentTimeline.snapshotCurrentStyles(),v.previousNode=dr);let kt=H;const At=v.invokeQuery(B.selector,B.originalSelector,B.limit,B.includeSelf,!!G.optional,v.errors);v.currentQueryTotal=At.length;let oi=null;At.forEach((ui,Wi)=>{v.currentQueryIndex=Wi;const Li=v.createSubContext(B.options,ui);Oe&&Li.delayNextStep(Oe),ui===v.element&&(oi=Li.currentTimeline),Lt(this,B.animation,Li),Li.currentTimeline.applyStylesToKeyframe(),kt=Math.max(kt,Li.currentTimeline.currentTime)}),v.currentQueryIndex=0,v.currentQueryTotal=0,v.transformIntoNewTimeline(kt),oi&&(v.currentTimeline.mergeTimelineCollectedStyles(oi),v.currentTimeline.snapshotCurrentStyles()),v.previousNode=B}visitStagger(B,v){const H=v.parentContext,G=v.currentTimeline,Oe=B.timings,kt=Math.abs(Oe.duration),At=kt*(v.currentQueryTotal-1);let oi=kt*v.currentQueryIndex;switch(Oe.duration<0?"reverse":Oe.easing){case"reverse":oi=At-oi;break;case"full":oi=H.currentStaggerTime}const Wi=v.currentTimeline;oi&&Wi.delayNextStep(oi);const Li=Wi.currentTime;Lt(this,B.animation,v),v.previousNode=B,H.currentStaggerTime=G.currentTime-Li+(G.startTime-H.currentTimeline.startTime)}}const dr={};class wn{constructor(B,v,H,G,Oe,kt,At,oi){this._driver=B,this.element=v,this.subInstructions=H,this._enterClassName=G,this._leaveClassName=Oe,this.errors=kt,this.timelines=At,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=dr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=oi||new Ai(this._driver,v,0),At.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(B,v){if(!B)return;const H=B;let G=this.options;null!=H.duration&&(G.duration=et(H.duration)),null!=H.delay&&(G.delay=et(H.delay));const Oe=H.params;if(Oe){let kt=G.params;kt||(kt=this.options.params={}),Object.keys(Oe).forEach(At=>{(!v||!kt.hasOwnProperty(At))&&(kt[At]=pt(Oe[At],kt,this.errors))})}}_copyOptions(){const B={};if(this.options){const v=this.options.params;if(v){const H=B.params={};Object.keys(v).forEach(G=>{H[G]=v[G]})}}return B}createSubContext(B=null,v,H){const G=v||this.element,Oe=new wn(this._driver,G,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(G,H||0));return Oe.previousNode=this.previousNode,Oe.currentAnimateTimings=this.currentAnimateTimings,Oe.options=this._copyOptions(),Oe.updateOptions(B),Oe.currentQueryIndex=this.currentQueryIndex,Oe.currentQueryTotal=this.currentQueryTotal,Oe.parentContext=this,this.subContextCount++,Oe}transformIntoNewTimeline(B){return this.previousNode=dr,this.currentTimeline=this.currentTimeline.fork(this.element,B),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(B,v,H){const G={duration:v??B.duration,delay:this.currentTimeline.currentTime+(H??0)+B.delay,easing:""},Oe=new Yi(this._driver,B.element,B.keyframes,B.preStyleProps,B.postStyleProps,G,B.stretchStartingKeyframe);return this.timelines.push(Oe),G}incrementTime(B){this.currentTimeline.forwardTime(this.currentTimeline.duration+B)}delayNextStep(B){B>0&&this.currentTimeline.delayNextStep(B)}invokeQuery(B,v,H,G,Oe,kt){let At=[];if(G&&At.push(this.element),B.length>0){B=(B=B.replace(Cn,"."+this._enterClassName)).replace(Qn,"."+this._leaveClassName);let ui=this._driver.query(this.element,B,1!=H);0!==H&&(ui=H<0?ui.slice(ui.length+H,ui.length):ui.slice(0,H)),At.push(...ui)}return!Oe&&0==At.length&&kt.push(function ne(){return new t.wOt(3014,!1)}()),At}}class Ai{constructor(B,v,H,G){this._driver=B,this.element=v,this.startTime=H,this._elementTimelineStylesLookup=G,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(v),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(v,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 v=1===this._keyframes.size&&this._pendingStyles.size;this.duration||v?(this.forwardTime(this.currentTime+B),v&&this.snapshotCurrentStyles()):this.startTime+=B}fork(B,v){return this.applyStylesToKeyframe(),new Ai(this._driver,B,v||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,v){this._localTimelineStyles.set(B,v),this._globalTimelineStyles.set(B,v),this._styleSummary.set(B,{time:this.currentTime,value:v})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(B){B&&this._previousKeyframe.set("easing",B);for(let[v,H]of this._globalTimelineStyles)this._backFill.set(v,H||x.kp),this._currentKeyframe.set(v,x.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(B,v,H,G){v&&this._previousKeyframe.set("easing",v);const Oe=G&&G.params||{},kt=function mi(F,B){const v=new Map;let H;return F.forEach(G=>{if("*"===G){H??=B.keys();for(let Oe of H)v.set(Oe,x.kp)}else for(let[Oe,kt]of G)v.set(Oe,kt)}),v}(B,this._globalTimelineStyles);for(let[At,oi]of kt){const ui=pt(oi,Oe,H);this._pendingStyles.set(At,ui),this._localTimelineStyles.has(At)||this._backFill.set(At,this._globalTimelineStyles.get(At)??x.kp),this._updateStyle(At,ui)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((B,v)=>{this._currentKeyframe.set(v,B)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((B,v)=>{this._currentKeyframe.has(v)||this._currentKeyframe.set(v,B)}))}snapshotCurrentStyles(){for(let[B,v]of this._localTimelineStyles)this._pendingStyles.set(B,v),this._updateStyle(B,v)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const B=[];for(let v in this._currentKeyframe)B.push(v);return B}mergeTimelineCollectedStyles(B){B._styleSummary.forEach((v,H)=>{const G=this._styleSummary.get(H);(!G||v.time>G.time)&&this._updateStyle(H,v.value)})}buildKeyframes(){this.applyStylesToKeyframe();const B=new Set,v=new Set,H=1===this._keyframes.size&&0===this.duration;let G=[];this._keyframes.forEach((At,oi)=>{const ui=new Map([...this._backFill,...At]);ui.forEach((Wi,Li)=>{Wi===x.FX?B.add(Li):Wi===x.kp&&v.add(Li)}),H||ui.set("offset",oi/this.duration),G.push(ui)});const Oe=[...B.values()],kt=[...v.values()];if(H){const At=G[0],oi=new Map(At);At.set("offset",0),oi.set("offset",1),G=[At,oi]}return ht(this.element,G,Oe,kt,this.duration,this.startTime,this.easing,!1)}}class Yi extends Ai{constructor(B,v,H,G,Oe,kt,At=!1){super(B,v,kt.delay),this.keyframes=H,this.preStyleProps=G,this.postStyleProps=Oe,this._stretchStartingKeyframe=At,this.timings={duration:kt.duration,delay:kt.delay,easing:kt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let B=this.keyframes,{delay:v,duration:H,easing:G}=this.timings;if(this._stretchStartingKeyframe&&v){const Oe=[],kt=H+v,At=v/kt,oi=new Map(B[0]);oi.set("offset",0),Oe.push(oi);const ui=new Map(B[0]);ui.set("offset",Ft(At)),Oe.push(ui);const Wi=B.length-1;for(let Li=1;Li<=Wi;Li++){let fn=new Map(B[Li]);const Mn=fn.get("offset");fn.set("offset",Ft((v+Mn*H)/kt)),Oe.push(fn)}H=kt,v=0,G="",B=Oe}return ht(this.element,B,this.preStyleProps,this.postStyleProps,H,v,G,!0)}}function Ft(F,B=3){const v=Math.pow(10,B-1);return Math.round(F*v)/v}function gi(F,B,v,H,G,Oe,kt,At,oi,ui,Wi,Li,fn){return{type:0,element:F,triggerName:B,isRemovalTransition:G,fromState:v,fromStyles:Oe,toState:H,toStyles:kt,timelines:At,queriedElements:oi,preStyleProps:ui,postStyleProps:Wi,totalTime:Li,errors:fn}}const xi={};class Ni{constructor(B,v,H){this._triggerName=B,this.ast=v,this._stateStyles=H}match(B,v,H,G){return function On(F,B,v,H,G){return F.some(Oe=>Oe(B,v,H,G))}(this.ast.matchers,B,v,H,G)}buildStyles(B,v,H){let G=this._stateStyles.get("*");return void 0!==B&&(G=this._stateStyles.get(B?.toString())||G),G?G.buildStyles(v,H):new Map}build(B,v,H,G,Oe,kt,At,oi,ui,Wi){const Li=[],fn=this.ast.options&&this.ast.options.params||xi,Ki=this.buildStyles(H,At&&At.params||xi,Li),an=oi&&oi.params||xi,Xn=this.buildStyles(G,an,Li),gr=new Set,jr=new Map,da=new Map,rr="void"===G,Kr={params:ir(an,fn),delay:this.ast.options?.delay},kr=Wi?[]:Jn(B,v,this.ast.animation,Oe,kt,Ki,Xn,Kr,ui,Li);let Aa=0;return kr.forEach(ha=>{Aa=Math.max(ha.duration+ha.delay,Aa)}),Li.length?gi(v,this._triggerName,H,G,rr,Ki,Xn,[],[],jr,da,Aa,Li):(kr.forEach(ha=>{const Zs=ha.element,rd=se(jr,Zs,new Set);ha.preStyleProps.forEach(Ud=>rd.add(Ud));const G1=se(da,Zs,new Set);ha.postStyleProps.forEach(Ud=>G1.add(Ud)),Zs!==v&&gr.add(Zs)}),gi(v,this._triggerName,H,G,rr,Ki,Xn,kr,[...gr.values()],jr,da,Aa))}}function ir(F,B){const v={...B};return Object.entries(F).forEach(([H,G])=>{null!=G&&(v[H]=G)}),v}class gn{constructor(B,v,H){this.styles=B,this.defaultParams=v,this.normalizer=H}buildStyles(B,v){const H=new Map,G=ir(B,this.defaultParams);return this.styles.styles.forEach(Oe=>{"string"!=typeof Oe&&Oe.forEach((kt,At)=>{kt&&(kt=pt(kt,G,v));const oi=this.normalizer.normalizePropertyName(At,v);kt=this.normalizer.normalizeStyleValue(At,oi,kt,v),H.set(At,kt)})}),H}}class fr{constructor(B,v,H){this.name=B,this.ast=v,this._normalizer=H,this.transitionFactories=[],this.states=new Map,v.states.forEach(G=>{this.states.set(G.name,new gn(G.style,G.options&&G.options.params||{},H))}),wa(this.states,"true","1"),wa(this.states,"false","0"),v.transitions.forEach(G=>{this.transitionFactories.push(new Ni(B,G,this.states))}),this.fallbackTransition=function mr(F,B){return new Ni(F,{type:x.If.Transition,animation:{type:x.If.Sequence,steps:[],options:null},matchers:[(kt,At)=>!0],options:null,queryCount:0,depCount:0},B)}(B,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(B,v,H,G){return this.transitionFactories.find(kt=>kt.match(B,v,H,G))||null}matchStyles(B,v,H){return this.fallbackTransition.buildStyles(B,v,H)}}function wa(F,B,v){F.has(B)?F.has(v)||F.set(v,F.get(B)):F.has(v)&&F.set(B,F.get(v))}const Xa=new ii;class ds{constructor(B,v,H){this.bodyNode=B,this._driver=v,this._normalizer=H,this._animations=new Map,this._playersById=new Map,this.players=[]}register(B,v){const H=[],Oe=Hi(this._driver,v,H,[]);if(H.length)throw function m(){return new t.wOt(3503,!1)}();this._animations.set(B,Oe)}_buildPlayer(B,v,H){const G=B.element,Oe=Xe(this._normalizer,B.keyframes,v,H);return this._driver.animate(G,Oe,B.duration,B.delay,B.easing,[],!0)}create(B,v,H={}){const G=[],Oe=this._animations.get(B);let kt;const At=new Map;if(Oe?(kt=Jn(this._driver,v,Oe,nt,qt,new Map,new Map,H,Xa,G),kt.forEach(Wi=>{const Li=se(At,Wi.element,new Map);Wi.postStyleProps.forEach(fn=>Li.set(fn,null))})):(G.push(function d(){return new t.wOt(3300,!1)}()),kt=[]),G.length)throw function C(){return new t.wOt(3504,!1)}();At.forEach((Wi,Li)=>{Wi.forEach((fn,Mn)=>{Wi.set(Mn,this._driver.computeStyle(Li,Mn,x.kp))})});const ui=ze(kt.map(Wi=>{const Li=At.get(Wi.element);return this._buildPlayer(Wi,new Map,Li)}));return this._playersById.set(B,ui),ui.onDestroy(()=>this.destroy(B)),this.players.push(ui),ui}destroy(B){const v=this._getPlayer(B);v.destroy(),this._playersById.delete(B);const H=this.players.indexOf(v);H>=0&&this.players.splice(H,1)}_getPlayer(B){const v=this._playersById.get(B);if(!v)throw function A(){return new t.wOt(3301,!1)}();return v}listen(B,v,H,G){const Oe=X(v,"","","");return We(this._getPlayer(B),H,Oe,G),()=>{}}command(B,v,H,G){if("register"==H)return void this.register(B,G[0]);if("create"==H)return void this.create(B,v,G[0]||{});const Oe=this._getPlayer(B);switch(H){case"play":Oe.play();break;case"pause":Oe.pause();break;case"reset":Oe.reset();break;case"restart":Oe.restart();break;case"finish":Oe.finish();break;case"init":Oe.init();break;case"setPosition":Oe.setPosition(parseFloat(G[0]));break;case"destroy":this.destroy(B)}}}const qr="ng-animate-queued",Ma="ng-animate-disabled",za=[],Fr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ur={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},yr="__ng_removed";class Ya{get params(){return this.options.params}constructor(B,v=""){this.namespaceId=v;const H=B&&B.hasOwnProperty("value");if(this.value=function ea(F){return F??null}(H?B.value:B),H){const{value:Oe,...kt}=B;this.options=kt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(B){const v=B.params;if(v){const H=this.options.params;Object.keys(v).forEach(G=>{null==H[G]&&(H[G]=v[G])})}}}const xr="void",ua=new Ya(xr);class hn{constructor(B,v,H){this.id=B,this.hostElement=v,this._engine=H,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+B,zr(v,this._hostClassName)}listen(B,v,H,G){if(!this._triggers.has(v))throw function k(){return new t.wOt(3302,!1)}();if(null==H||0==H.length)throw function _(){return new t.wOt(3303,!1)}();if(!function Va(F){return"start"==F||"done"==F}(H))throw function a(){return new t.wOt(3400,!1)}();const Oe=se(this._elementListeners,B,[]),kt={name:v,phase:H,callback:G};Oe.push(kt);const At=se(this._engine.statesByElement,B,new Map);return At.has(v)||(zr(B,Nt),zr(B,Nt+"-"+v),At.set(v,ua)),()=>{this._engine.afterFlush(()=>{const oi=Oe.indexOf(kt);oi>=0&&Oe.splice(oi,1),this._triggers.has(v)||At.delete(v)})}}register(B,v){return!this._triggers.has(B)&&(this._triggers.set(B,v),!0)}_getTrigger(B){const v=this._triggers.get(B);if(!v)throw function b(){return new t.wOt(3401,!1)}();return v}trigger(B,v,H,G=!0){const Oe=this._getTrigger(v),kt=new Ba(this.id,v,B);let At=this._engine.statesByElement.get(B);At||(zr(B,Nt),zr(B,Nt+"-"+v),this._engine.statesByElement.set(B,At=new Map));let oi=At.get(v);const ui=new Ya(H,this.id);if(!(H&&H.hasOwnProperty("value"))&&oi&&ui.absorbOptions(oi.options),At.set(v,ui),oi||(oi=ua),ui.value!==xr&&oi.value===ui.value){if(!function Io(F,B){const v=Object.keys(F),H=Object.keys(B);if(v.length!=H.length)return!1;for(let G=0;G{Te(B,Xn),Se(B,gr)})}return}const fn=se(this._engine.playersByElement,B,[]);fn.forEach(an=>{an.namespaceId==this.id&&an.triggerName==v&&an.queued&&an.destroy()});let Mn=Oe.matchTransition(oi.value,ui.value,B,ui.params),Ki=!1;if(!Mn){if(!G)return;Mn=Oe.fallbackTransition,Ki=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:v,transition:Mn,fromState:oi,toState:ui,player:kt,isFallbackTransition:Ki}),Ki||(zr(B,qr),kt.onStart(()=>{Ea(B,qr)})),kt.onDone(()=>{let an=this.players.indexOf(kt);an>=0&&this.players.splice(an,1);const Xn=this._engine.playersByElement.get(B);if(Xn){let gr=Xn.indexOf(kt);gr>=0&&Xn.splice(gr,1)}}),this.players.push(kt),fn.push(kt),kt}deregister(B){this._triggers.delete(B),this._engine.statesByElement.forEach(v=>v.delete(B)),this._elementListeners.forEach((v,H)=>{this._elementListeners.set(H,v.filter(G=>G.name!=B))})}clearElementCache(B){this._engine.statesByElement.delete(B),this._elementListeners.delete(B);const v=this._engine.playersByElement.get(B);v&&(v.forEach(H=>H.destroy()),this._engine.playersByElement.delete(B))}_signalRemovalForInnerTriggers(B,v){const H=this._engine.driver.query(B,yt,!0);H.forEach(G=>{if(G[yr])return;const Oe=this._engine.fetchNamespacesByElement(G);Oe.size?Oe.forEach(kt=>kt.triggerLeaveAnimation(G,v,!1,!0)):this.clearElementCache(G)}),this._engine.afterFlushAnimationsDone(()=>H.forEach(G=>this.clearElementCache(G)))}triggerLeaveAnimation(B,v,H,G){const Oe=this._engine.statesByElement.get(B),kt=new Map;if(Oe){const At=[];if(Oe.forEach((oi,ui)=>{if(kt.set(ui,oi.value),this._triggers.has(ui)){const Wi=this.trigger(B,ui,xr,G);Wi&&At.push(Wi)}}),At.length)return this._engine.markElementAsRemoved(this.id,B,!0,v,kt),H&&ze(At).onDone(()=>this._engine.processLeaveNode(B)),!0}return!1}prepareLeaveAnimationListeners(B){const v=this._elementListeners.get(B),H=this._engine.statesByElement.get(B);if(v&&H){const G=new Set;v.forEach(Oe=>{const kt=Oe.name;if(G.has(kt))return;G.add(kt);const oi=this._triggers.get(kt).fallbackTransition,ui=H.get(kt)||ua,Wi=new Ya(xr),Li=new Ba(this.id,kt,B);this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:kt,transition:oi,fromState:ui,toState:Wi,player:Li,isFallbackTransition:!0})})}}removeNode(B,v){const H=this._engine;if(B.childElementCount&&this._signalRemovalForInnerTriggers(B,v),this.triggerLeaveAnimation(B,v,!0))return;let G=!1;if(H.totalAnimations){const Oe=H.players.length?H.playersByQueriedElement.get(B):[];if(Oe&&Oe.length)G=!0;else{let kt=B;for(;kt=kt.parentNode;)if(H.statesByElement.get(kt)){G=!0;break}}}if(this.prepareLeaveAnimationListeners(B),G)H.markElementAsRemoved(this.id,B,!1,v);else{const Oe=B[yr];(!Oe||Oe===Fr)&&(H.afterFlush(()=>this.clearElementCache(B)),H.destroyInnerAnimations(B),H._onRemovalComplete(B,v))}}insertNode(B,v){zr(B,this._hostClassName)}drainQueuedTransitions(B){const v=[];return this._queue.forEach(H=>{const G=H.player;if(G.destroyed)return;const Oe=H.element,kt=this._elementListeners.get(Oe);kt&&kt.forEach(At=>{if(At.name==H.triggerName){const oi=X(Oe,H.triggerName,H.fromState.value,H.toState.value);oi._data=B,We(H.player,At.phase,oi,At.callback)}}),G.markedForDestroy?this._engine.afterFlush(()=>{G.destroy()}):v.push(H)}),this._queue=[],v.sort((H,G)=>{const Oe=H.transition.ast.depCount,kt=G.transition.ast.depCount;return 0==Oe||0==kt?Oe-kt:this._engine.driver.containsElement(H.element,G.element)?1:-1})}destroy(B){this.players.forEach(v=>v.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,B)}}class Do{_onRemovalComplete(B,v){this.onRemovalComplete(B,v)}constructor(B,v,H){this.bodyNode=B,this.driver=v,this._normalizer=H,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=(G,Oe)=>{}}get queuedPlayers(){const B=[];return this._namespaceList.forEach(v=>{v.players.forEach(H=>{H.queued&&B.push(H)})}),B}createNamespace(B,v){const H=new hn(B,v,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,v)?this._balanceNamespaceList(H,v):(this.newHostElements.set(v,H),this.collectEnterElement(v)),this._namespaceLookup[B]=H}_balanceNamespaceList(B,v){const H=this._namespaceList,G=this.namespacesByHostElement;if(H.length-1>=0){let kt=!1,At=this.driver.getParentElement(v);for(;At;){const oi=G.get(At);if(oi){const ui=H.indexOf(oi);H.splice(ui+1,0,B),kt=!0;break}At=this.driver.getParentElement(At)}kt||H.unshift(B)}else H.push(B);return G.set(v,B),B}register(B,v){let H=this._namespaceLookup[B];return H||(H=this.createNamespace(B,v)),H}registerTrigger(B,v,H){let G=this._namespaceLookup[B];G&&G.register(v,H)&&this.totalAnimations++}destroy(B,v){B&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const H=this._fetchNamespace(B);this.namespacesByHostElement.delete(H.hostElement);const G=this._namespaceList.indexOf(H);G>=0&&this._namespaceList.splice(G,1),H.destroy(v),delete this._namespaceLookup[B]}))}_fetchNamespace(B){return this._namespaceLookup[B]}fetchNamespacesByElement(B){const v=new Set,H=this.statesByElement.get(B);if(H)for(let G of H.values())if(G.namespaceId){const Oe=this._fetchNamespace(G.namespaceId);Oe&&v.add(Oe)}return v}trigger(B,v,H,G){if(_o(v)){const Oe=this._fetchNamespace(B);if(Oe)return Oe.trigger(v,H,G),!0}return!1}insertNode(B,v,H,G){if(!_o(v))return;const Oe=v[yr];if(Oe&&Oe.setForRemoval){Oe.setForRemoval=!1,Oe.setForMove=!0;const kt=this.collectedLeaveElements.indexOf(v);kt>=0&&this.collectedLeaveElements.splice(kt,1)}if(B){const kt=this._fetchNamespace(B);kt&&kt.insertNode(v,H)}G&&this.collectEnterElement(v)}collectEnterElement(B){this.collectedEnterElements.push(B)}markElementAsDisabled(B,v){v?this.disabledNodes.has(B)||(this.disabledNodes.add(B),zr(B,Ma)):this.disabledNodes.has(B)&&(this.disabledNodes.delete(B),Ea(B,Ma))}removeNode(B,v,H){if(_o(v)){const G=B?this._fetchNamespace(B):null;G?G.removeNode(v,H):this.markElementAsRemoved(B,v,!1,H);const Oe=this.namespacesByHostElement.get(v);Oe&&Oe.id!==B&&Oe.removeNode(v,H)}else this._onRemovalComplete(v,H)}markElementAsRemoved(B,v,H,G,Oe){this.collectedLeaveElements.push(v),v[yr]={namespaceId:B,setForRemoval:G,hasAnimation:H,removedBeforeQueried:!1,previousTriggersValues:Oe}}listen(B,v,H,G,Oe){return _o(v)?this._fetchNamespace(B).listen(v,H,G,Oe):()=>{}}_buildInstruction(B,v,H,G,Oe){return B.transition.build(this.driver,B.element,B.fromState.value,B.toState.value,H,G,B.fromState.options,B.toState.options,v,Oe)}destroyInnerAnimations(B){let v=this.driver.query(B,yt,!0);v.forEach(H=>this.destroyActiveAnimationsForElement(H)),0!=this.playersByQueriedElement.size&&(v=this.driver.query(B,Je,!0),v.forEach(H=>this.finishActiveQueriedAnimationOnElement(H)))}destroyActiveAnimationsForElement(B){const v=this.playersByElement.get(B);v&&v.forEach(H=>{H.queued?H.markedForDestroy=!0:H.destroy()})}finishActiveQueriedAnimationOnElement(B){const v=this.playersByQueriedElement.get(B);v&&v.forEach(H=>H.finish())}whenRenderingDone(){return new Promise(B=>{if(this.players.length)return ze(this.players).onDone(()=>B());B()})}processLeaveNode(B){const v=B[yr];if(v&&v.setForRemoval){if(B[yr]=Fr,v.namespaceId){this.destroyInnerAnimations(B);const H=this._fetchNamespace(v.namespaceId);H&&H.clearElementCache(B)}this._onRemovalComplete(B,v.setForRemoval)}B.classList?.contains(Ma)&&this.markElementAsDisabled(B,!1),this.driver.query(B,".ng-animate-disabled",!0).forEach(H=>{this.markElementAsDisabled(H,!1)})}flush(B=-1){let v=[];if(this.newHostElements.size&&(this.newHostElements.forEach((H,G)=>this._balanceNamespaceList(H,G)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let H=0;HH()),this._flushFns=[],this._whenQuietFns.length){const H=this._whenQuietFns;this._whenQuietFns=[],v.length?ze(v).onDone(()=>{H.forEach(G=>G())}):H.forEach(G=>G())}}reportError(B){throw function z(){return new t.wOt(3402,!1)}()}_flushAnimations(B,v){const H=new ii,G=[],Oe=new Map,kt=[],At=new Map,oi=new Map,ui=new Map,Wi=new Set;this.disabledNodes.forEach(An=>{Wi.add(An);const Gn=this.driver.query(An,".ng-animate-queued",!0);for(let qn=0;qn{const qn=nt+an++;Ki.set(Gn,qn),An.forEach(Pr=>zr(Pr,qn))});const Xn=[],gr=new Set,jr=new Set;for(let An=0;Angr.add(Pr)):jr.add(Gn))}const da=new Map,rr=vo(fn,Array.from(gr));rr.forEach((An,Gn)=>{const qn=qt+an++;da.set(Gn,qn),An.forEach(Pr=>zr(Pr,qn))}),B.push(()=>{Mn.forEach((An,Gn)=>{const qn=Ki.get(Gn);An.forEach(Pr=>Ea(Pr,qn))}),rr.forEach((An,Gn)=>{const qn=da.get(Gn);An.forEach(Pr=>Ea(Pr,qn))}),Xn.forEach(An=>{this.processLeaveNode(An)})});const Kr=[],kr=[];for(let An=this._namespaceList.length-1;An>=0;An--)this._namespaceList[An].drainQueuedTransitions(v).forEach(qn=>{const Pr=qn.player,Mo=qn.element;if(Kr.push(Pr),this.collectedEnterElements.length){const as=Mo[yr];if(as&&as.setForMove){if(as.previousTriggersValues&&as.previousTriggersValues.has(qn.triggerName)){const Qc=as.previousTriggersValues.get(qn.triggerName),Xo=this.statesByElement.get(qn.element);if(Xo&&Xo.has(qn.triggerName)){const Yo=Xo.get(qn.triggerName);Yo.value=Qc,Xo.set(qn.triggerName,Yo)}}return void Pr.destroy()}}const Ss=!Li||!this.driver.containsElement(Li,Mo),Wo=da.get(Mo),$c=Ki.get(Mo),Fa=this._buildInstruction(qn,H,$c,Wo,Ss);if(Fa.errors&&Fa.errors.length)return void kr.push(Fa);if(Ss)return Pr.onStart(()=>Te(Mo,Fa.fromStyles)),Pr.onDestroy(()=>Se(Mo,Fa.toStyles)),void G.push(Pr);if(qn.isFallbackTransition)return Pr.onStart(()=>Te(Mo,Fa.fromStyles)),Pr.onDestroy(()=>Se(Mo,Fa.toStyles)),void G.push(Pr);const Gh=[];Fa.timelines.forEach(as=>{as.stretchStartingKeyframe=!0,this.disabledNodes.has(as.element)||Gh.push(as)}),Fa.timelines=Gh,H.append(Mo,Fa.timelines),kt.push({instruction:Fa,player:Pr,element:Mo}),Fa.queriedElements.forEach(as=>se(At,as,[]).push(Pr)),Fa.preStyleProps.forEach((as,Qc)=>{if(as.size){let Xo=oi.get(Qc);Xo||oi.set(Qc,Xo=new Set),as.forEach((Yo,os)=>Xo.add(os))}}),Fa.postStyleProps.forEach((as,Qc)=>{let Xo=ui.get(Qc);Xo||ui.set(Qc,Xo=new Set),as.forEach((Yo,os)=>Xo.add(os))})});if(kr.length){const An=[];kr.forEach(Gn=>{An.push(function q(){return new t.wOt(3505,!1)}())}),Kr.forEach(Gn=>Gn.destroy()),this.reportError(An)}const Aa=new Map,ha=new Map;kt.forEach(An=>{const Gn=An.element;H.has(Gn)&&(ha.set(Gn,Gn),this._beforeAnimationBuild(An.player.namespaceId,An.instruction,Aa))}),G.forEach(An=>{const Gn=An.element;this._getPreviousPlayers(Gn,!1,An.namespaceId,An.triggerName,null).forEach(Pr=>{se(Aa,Gn,[]).push(Pr),Pr.destroy()})});const Zs=Xn.filter(An=>Ua(An,oi,ui)),rd=new Map;fo(rd,this.driver,jr,ui,x.kp).forEach(An=>{Ua(An,oi,ui)&&Zs.push(An)});const Ud=new Map;Mn.forEach((An,Gn)=>{fo(Ud,this.driver,new Set(An),oi,x.FX)}),Zs.forEach(An=>{const Gn=rd.get(An),qn=Ud.get(An);rd.set(An,new Map([...Gn?.entries()??[],...qn?.entries()??[]]))});const Zf=[],H1=[],Jf={};kt.forEach(An=>{const{element:Gn,player:qn,instruction:Pr}=An;if(H.has(Gn)){if(Wi.has(Gn))return qn.onDestroy(()=>Se(Gn,Pr.toStyles)),qn.disabled=!0,qn.overrideTotalTime(Pr.totalTime),void G.push(qn);let Mo=Jf;if(ha.size>1){let Wo=Gn;const $c=[];for(;Wo=Wo.parentNode;){const Fa=ha.get(Wo);if(Fa){Mo=Fa;break}$c.push(Wo)}$c.forEach(Fa=>ha.set(Fa,Mo))}const Ss=this._buildAnimation(qn.namespaceId,Pr,Aa,Oe,Ud,rd);if(qn.setRealPlayer(Ss),Mo===Jf)Zf.push(qn);else{const Wo=this.playersByElement.get(Mo);Wo&&Wo.length&&(qn.parentPlayer=ze(Wo)),G.push(qn)}}else Te(Gn,Pr.fromStyles),qn.onDestroy(()=>Se(Gn,Pr.toStyles)),H1.push(qn),Wi.has(Gn)&&G.push(qn)}),H1.forEach(An=>{const Gn=Oe.get(An.element);if(Gn&&Gn.length){const qn=ze(Gn);An.setRealPlayer(qn)}}),G.forEach(An=>{An.parentPlayer?An.syncPlayerEvents(An.parentPlayer):An.destroy()});for(let An=0;An!Ss.destroyed);Mo.length?fa(this,Gn,Mo):this.processLeaveNode(Gn)}return Xn.length=0,Zf.forEach(An=>{this.players.push(An),An.onDone(()=>{An.destroy();const Gn=this.players.indexOf(An);this.players.splice(Gn,1)}),An.play()}),Zf}afterFlush(B){this._flushFns.push(B)}afterFlushAnimationsDone(B){this._whenQuietFns.push(B)}_getPreviousPlayers(B,v,H,G,Oe){let kt=[];if(v){const At=this.playersByQueriedElement.get(B);At&&(kt=At)}else{const At=this.playersByElement.get(B);if(At){const oi=!Oe||Oe==xr;At.forEach(ui=>{ui.queued||!oi&&ui.triggerName!=G||kt.push(ui)})}}return(H||G)&&(kt=kt.filter(At=>!(H&&H!=At.namespaceId||G&&G!=At.triggerName))),kt}_beforeAnimationBuild(B,v,H){const Oe=v.element,kt=v.isRemovalTransition?void 0:B,At=v.isRemovalTransition?void 0:v.triggerName;for(const oi of v.timelines){const ui=oi.element,Wi=ui!==Oe,Li=se(H,ui,[]);this._getPreviousPlayers(ui,Wi,kt,At,v.toState).forEach(Mn=>{const Ki=Mn.getRealPlayer();Ki.beforeDestroy&&Ki.beforeDestroy(),Mn.destroy(),Li.push(Mn)})}Te(Oe,v.fromStyles)}_buildAnimation(B,v,H,G,Oe,kt){const At=v.triggerName,oi=v.element,ui=[],Wi=new Set,Li=new Set,fn=v.timelines.map(Ki=>{const an=Ki.element;Wi.add(an);const Xn=an[yr];if(Xn&&Xn.removedBeforeQueried)return new x.sf(Ki.duration,Ki.delay);const gr=an!==oi,jr=function Bs(F){const B=[];return Ar(F,B),B}((H.get(an)||za).map(Aa=>Aa.getRealPlayer())).filter(Aa=>!!Aa.element&&Aa.element===an),da=Oe.get(an),rr=kt.get(an),Kr=Xe(this._normalizer,Ki.keyframes,da,rr),kr=this._buildPlayer(Ki,Kr,jr);if(Ki.subTimeline&&G&&Li.add(an),gr){const Aa=new Ba(B,At,an);Aa.setRealPlayer(kr),ui.push(Aa)}return kr});ui.forEach(Ki=>{se(this.playersByQueriedElement,Ki.element,[]).push(Ki),Ki.onDone(()=>function Ao(F,B,v){let H=F.get(B);if(H){if(H.length){const G=H.indexOf(v);H.splice(G,1)}0==H.length&&F.delete(B)}return H}(this.playersByQueriedElement,Ki.element,Ki))}),Wi.forEach(Ki=>zr(Ki,jt));const Mn=ze(fn);return Mn.onDestroy(()=>{Wi.forEach(Ki=>Ea(Ki,jt)),Se(oi,v.toStyles)}),Li.forEach(Ki=>{se(G,Ki,[]).push(Mn)}),Mn}_buildPlayer(B,v,H){return v.length>0?this.driver.animate(B.element,v,B.duration,B.delay,B.easing,H):new x.sf(B.duration,B.delay)}}class Ba{constructor(B,v,H){this.namespaceId=B,this.triggerName=v,this.element=H,this._player=new x.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((v,H)=>{v.forEach(G=>We(B,H,void 0,G))}),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 v=this._player;v.triggerCallback&&B.onStart(()=>v.triggerCallback("start")),B.onDone(()=>this.finish()),B.onDestroy(()=>this.destroy())}_queueEvent(B,v){se(this._queuedCallbacks,B,[]).push(v)}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 v=this._player;v.triggerCallback&&v.triggerCallback(B)}}function _o(F){return F&&1===F.nodeType}function ko(F,B){const v=F.style.display;return F.style.display=B??"none",v}function fo(F,B,v,H,G){const Oe=[];v.forEach(oi=>Oe.push(ko(oi)));const kt=[];H.forEach((oi,ui)=>{const Wi=new Map;oi.forEach(Li=>{const fn=B.computeStyle(ui,Li,G);Wi.set(Li,fn),(!fn||0==fn.length)&&(ui[yr]=Ur,kt.push(ui))}),F.set(ui,Wi)});let At=0;return v.forEach(oi=>ko(oi,Oe[At++])),kt}function vo(F,B){const v=new Map;if(F.forEach(At=>v.set(At,[])),0==B.length)return v;const G=new Set(B),Oe=new Map;function kt(At){if(!At)return 1;let oi=Oe.get(At);if(oi)return oi;const ui=At.parentNode;return oi=v.has(ui)?ui:G.has(ui)?1:kt(ui),Oe.set(At,oi),oi}return B.forEach(At=>{const oi=kt(At);1!==oi&&v.get(oi).push(At)}),v}function zr(F,B){F.classList?.add(B)}function Ea(F,B){F.classList?.remove(B)}function fa(F,B,v){ze(v).onDone(()=>F.processLeaveNode(B))}function Ar(F,B){for(let v=0;vG.add(Oe)):B.set(F,H),v.delete(F),!0}class ma{constructor(B,v,H){this._driver=v,this._normalizer=H,this._triggerCache={},this.onRemovalComplete=(G,Oe)=>{},this._transitionEngine=new Do(B.body,v,H),this._timelineEngine=new ds(B.body,v,H),this._transitionEngine.onRemovalComplete=(G,Oe)=>this.onRemovalComplete(G,Oe)}registerTrigger(B,v,H,G,Oe){const kt=B+"-"+G;let At=this._triggerCache[kt];if(!At){const oi=[],Wi=Hi(this._driver,Oe,oi,[]);if(oi.length)throw function n(){return new t.wOt(3404,!1)}();At=function Xr(F,B,v){return new fr(F,B,v)}(G,Wi,this._normalizer),this._triggerCache[kt]=At}this._transitionEngine.registerTrigger(v,G,At)}register(B,v){this._transitionEngine.register(B,v)}destroy(B,v){this._transitionEngine.destroy(B,v)}onInsert(B,v,H,G){this._transitionEngine.insertNode(B,v,H,G)}onRemove(B,v,H){this._transitionEngine.removeNode(B,v,H)}disableAnimations(B,v){this._transitionEngine.markElementAsDisabled(B,v)}process(B,v,H,G){if("@"==H.charAt(0)){const[Oe,kt]=ae(H);this._timelineEngine.command(Oe,v,kt,G)}else this._transitionEngine.trigger(B,v,H,G)}listen(B,v,H,G,Oe){if("@"==H.charAt(0)){const[kt,At]=ae(H);return this._timelineEngine.listen(kt,v,At,Oe)}return this._transitionEngine.listen(B,v,H,G,Oe)}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 ta{static{this.initialStylesByElement=new WeakMap}constructor(B,v,H){this._element=B,this._startStyles=v,this._endStyles=H,this._state=0;let G=ta.initialStylesByElement.get(B);G||ta.initialStylesByElement.set(B,G=new Map),this._initialStyles=G}start(){this._state<1&&(this._startStyles&&Se(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Se(this._element,this._initialStyles),this._endStyles&&(Se(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ta.initialStylesByElement.delete(this._element),this._startStyles&&(Te(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Te(this._element,this._endStyles),this._endStyles=null),Se(this._element,this._initialStyles),this._state=3)}}function Ro(F){let B=null;return F.forEach((v,H)=>{(function As(F){return"display"===F||"position"===F})(H)&&(B=B||new Map,B.set(H,v))}),B}class bo{constructor(B,v,H,G){this.element=B,this.keyframes=v,this.options=H,this._specialStyles=G,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=H.duration,this._delay=H.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 v=()=>this._onFinish();this.domPlayer.addEventListener("finish",v),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",v)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(B){const v=[];return B.forEach(H=>{v.push(Object.fromEntries(H))}),v}_triggerWebAnimation(B,v,H){return B.animate(this._convertKeyframesToObject(v),H)}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((H,G)=>{"offset"!==G&&B.set(G,this._finished?H:pi(this.element,G))}),this.currentSnapshot=B}triggerCallback(B){const v="start"===B?this._onStartFns:this._onDoneFns;v.forEach(H=>H()),v.length=0}}class $r{validateStyleProperty(B){return!0}validateAnimatableStyleProperty(B){return!0}containsElement(B,v){return ct(B,v)}getParentElement(B){return Ie(B)}query(B,v,H){return dt(B,v,H)}computeStyle(B,v,H){return pi(B,v)}animate(B,v,H,G,Oe,kt=[]){const oi={duration:H,delay:G,fill:0==G?"both":"forwards"};Oe&&(oi.easing=Oe);const ui=new Map,Wi=kt.filter(Mn=>Mn instanceof bo);(function qe(F,B){return 0===F||0===B})(H,G)&&Wi.forEach(Mn=>{Mn.currentSnapshot.forEach((Ki,an)=>ui.set(an,Ki))});let Li=function Tt(F){return F.length?F[0]instanceof Map?F:F.map(B=>new Map(Object.entries(B))):[]}(v).map(Mn=>new Map(Mn));Li=function at(F,B,v){if(v.size&&B.length){let H=B[0],G=[];if(v.forEach((Oe,kt)=>{H.has(kt)||G.push(kt),H.set(kt,Oe)}),G.length)for(let Oe=1;Oekt.set(At,pi(F,At)))}}return B}(B,Li,ui);const fn=function no(F,B){let v=null,H=null;return Array.isArray(B)&&B.length?(v=Ro(B[0]),B.length>1&&(H=Ro(B[B.length-1]))):B instanceof Map&&(v=Ro(B)),v||H?new ta(F,v,H):null}(B,Li);return new bo(B,Li,oi,fn)}}const Ka="@.disabled";class Ga{constructor(B,v,H,G){this.namespaceId=B,this.delegate=v,this.engine=H,this._onDestroy=G,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,v){return this.delegate.createElement(B,v)}createComment(B){return this.delegate.createComment(B)}createText(B){return this.delegate.createText(B)}appendChild(B,v){this.delegate.appendChild(B,v),this.engine.onInsert(this.namespaceId,v,B,!1)}insertBefore(B,v,H,G=!0){this.delegate.insertBefore(B,v,H),this.engine.onInsert(this.namespaceId,v,B,G)}removeChild(B,v,H){this.parentNode(v)&&this.engine.onRemove(this.namespaceId,v,this.delegate)}selectRootElement(B,v){return this.delegate.selectRootElement(B,v)}parentNode(B){return this.delegate.parentNode(B)}nextSibling(B){return this.delegate.nextSibling(B)}setAttribute(B,v,H,G){this.delegate.setAttribute(B,v,H,G)}removeAttribute(B,v,H){this.delegate.removeAttribute(B,v,H)}addClass(B,v){this.delegate.addClass(B,v)}removeClass(B,v){this.delegate.removeClass(B,v)}setStyle(B,v,H,G){this.delegate.setStyle(B,v,H,G)}removeStyle(B,v,H){this.delegate.removeStyle(B,v,H)}setProperty(B,v,H){"@"==v.charAt(0)&&v==Ka?this.disableAnimations(B,!!H):this.delegate.setProperty(B,v,H)}setValue(B,v){this.delegate.setValue(B,v)}listen(B,v,H){return this.delegate.listen(B,v,H)}disableAnimations(B,v){this.engine.disableAnimations(B,v)}}class sr extends Ga{constructor(B,v,H,G,Oe){super(v,H,G,Oe),this.factory=B,this.namespaceId=v}setProperty(B,v,H){"@"==v.charAt(0)?"."==v.charAt(1)&&v==Ka?this.disableAnimations(B,H=void 0===H||!!H):this.engine.process(this.namespaceId,B,v.slice(1),H):this.delegate.setProperty(B,v,H)}listen(B,v,H){if("@"==v.charAt(0)){const G=function ia(F){switch(F){case"body":return document.body;case"document":return document;case"window":return window;default:return F}}(B);let Oe=v.slice(1),kt="";return"@"!=Oe.charAt(0)&&([Oe,kt]=function Bo(F){const B=F.indexOf(".");return[F.substring(0,B),F.slice(B+1)]}(Oe)),this.engine.listen(this.namespaceId,G,Oe,kt,At=>{this.factory.scheduleListenerCallback(At._data||-1,H,At)})}return this.delegate.listen(B,v,H)}}class Ot{constructor(B,v,H){this.delegate=B,this.engine=v,this._zone=H,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,v.onRemovalComplete=(G,Oe)=>{Oe?.removeChild(null,G)}}createRenderer(B,v){const G=this.delegate.createRenderer(B,v);if(!B||!v?.data?.animation){const ui=this._rendererCache;let Wi=ui.get(G);return Wi||(Wi=new Ga("",G,this.engine,()=>ui.delete(G)),ui.set(G,Wi)),Wi}const Oe=v.id,kt=v.id+"-"+this._currentId;this._currentId++,this.engine.register(kt,B);const At=ui=>{Array.isArray(ui)?ui.forEach(At):this.engine.registerTrigger(Oe,kt,B,ui.name,ui)};return v.data.animation.forEach(At),new sr(this,kt,G,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(B,v,H){if(B>=0&&Bv(H));const G=this._animationCallbacksBuffer;0==G.length&&queueMicrotask(()=>{this._zone.run(()=>{G.forEach(Oe=>{const[kt,At]=Oe;kt(At)}),this._animationCallbacksBuffer=[]})}),G.push([v,H])}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 si=g(177);const Ji=[{provide:we,useFactory:function ni(){return new Kt}},{provide:ma,useClass:(()=>{class F extends ma{constructor(v,H,G){super(v,H,G)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(H){return new(H||F)(t.KVO(si.qQ),t.KVO(_e),t.KVO(we))}}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})()},{provide:t._9s,useFactory:function Ei(F,B,v){return new Ot(F,B,v)},deps:[e.B7,ma,t.SKi]}],cr=[{provide:_e,useFactory:()=>new $r},{provide:t.bc$,useValue:"BrowserAnimations"},...Ji],ga=[{provide:_e,useClass:ve},{provide:t.bc$,useValue:"NoopAnimations"},...Ji];let Ra=(()=>{class F{static withConfig(v){return{ngModule:F,providers:v.disableAnimations?ga:cr}}static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275mod=t.$C({type:F})}static{this.\u0275inj=t.G2t({providers:cr,imports:[e.Bb]})}}return F})();var Vo=g(1626),Gr=g(9327),Pi=g(9640),it=g(4054),ut=g(983),Ve=g(1985),Dt=g(7673),ai=g(7786),vn=g(7242),er=g(2771),Oo=g(7647),Cr=g(5964),Qa=g(6354),_c=g(274),ks=g(3236),Uo=g(8211),Vs=g(9974),nc=g(8750),Jo=g(1853),us=g(4360),vs=g(5225);const Us=(0,Jo.L)(F=>function(v=null){F(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=v});function na(F){throw new Us(F)}var Nr=g(152),ca=g(9437),_a=g(6697),dn=g(6977),Is=g(5558),qo=g(5245),vc=g(941),rc=g(3993),xo=g(2816),md=g(9079);const bs="PERFORM_ACTION",el="ROLLBACK",Hs="TOGGLE_ACTION",Ws="JUMP_TO_STATE",es="JUMP_TO_ACTION",Pc="IMPORT_STATE",Xs="LOCK_CHANGES",oc="PAUSE_RECORDING";class ys{constructor(B,v){if(this.action=B,this.timestamp=v,this.type=bs,typeof B.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class sc{constructor(){this.type="REFRESH"}}class zc{constructor(B){this.timestamp=B,this.type="RESET"}}class Za{constructor(B){this.timestamp=B,this.type=el}}class Rs{constructor(B){this.timestamp=B,this.type="COMMIT"}}class bc{constructor(){this.type="SWEEP"}}class Ys{constructor(B){this.id=B,this.type=Hs}}class mt{constructor(B){this.index=B,this.type=Ws}}class Vt{constructor(B){this.actionId=B,this.type=es}}class Ht{constructor(B){this.nextLiftedState=B,this.type=Pc}}class ei{constructor(B){this.status=B,this.type=Xs}}class ci{constructor(B){this.status=B,this.type=oc}}const Oi=new t.nKC("@ngrx/store-devtools Options"),ji=new t.nKC("@ngrx/store-devtools Initial Config");function pn(){return null}const _n="NgRx Store DevTools";function Wn(F){const B={maxAge:!1,monitor:pn,actionSanitizer:void 0,stateSanitizer:void 0,name:_n,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},v="function"==typeof F?F():F,G=v.features||!!v.logOnly&&{pause:!0,export:!0,test:!0}||B.features;!0===G.import&&(G.import="custom");const Oe=Object.assign({},B,{features:G},v);if(Oe.maxAge&&Oe.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${Oe.maxAge}`);return Oe}function xe(F,B){return F.filter(v=>B.indexOf(v)<0)}function bt(F){const{computedStates:B,currentStateIndex:v}=F;if(v>=B.length){const{state:G}=B[B.length-1];return G}const{state:H}=B[v];return H}function gt(F){return new ys(F,+Date.now())}function Zt(F,B){return Object.keys(B).reduce((v,H)=>{const G=Number(H);return v[G]=Si(F,B[G],G),v},{})}function Si(F,B,v){return{...B,action:F(B.action,v)}}function Ii(F,B){return B.map((v,H)=>({state:on(F,v.state,H),error:v.error}))}function on(F,B,v){return F(B,v)}function Kn(F){return F.predicate||F.actionsSafelist||F.actionsBlocklist}function pr(F,B,v,H,G){const Oe=v&&!v(F,B.action),kt=H&&!B.action.type.match(H.map(oi=>Fn(oi)).join("|")),At=G&&B.action.type.match(G.map(oi=>Fn(oi)).join("|"));return Oe||kt||At}function Fn(F){return F.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Sr(F){return{ngZone:F?(0,t.WQX)(t.SKi):null,connectInZone:F}}let Dn=(()=>{class F extends Pi.SS{static{this.\u0275fac=(()=>{let v;return function(G){return(v||(v=t.xGo(F)))(G||F)}})()}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})();const bn=new t.nKC("@ngrx/store-devtools Redux Devtools Extension");let Tr=(()=>{class F{constructor(v,H,G){this.config=H,this.dispatcher=G,this.zoneConfig=Sr(this.config.connectInZone),this.devtoolsExtension=v,this.createActionStreams()}notify(v,H){if(this.devtoolsExtension)if(v.type===bs){if(H.isLocked||H.isPaused)return;const G=bt(H);if(Kn(this.config)&&pr(G,v,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const Oe=this.config.stateSanitizer?on(this.config.stateSanitizer,G,H.currentStateIndex):G,kt=this.config.actionSanitizer?Si(this.config.actionSanitizer,v,H.nextActionId):v;this.sendToReduxDevtools(()=>this.extensionConnection.send(kt,Oe))}else{const G={...H,stagedActionIds:H.stagedActionIds,actionsById:this.config.actionSanitizer?Zt(this.config.actionSanitizer,H.actionsById):H.actionsById,computedStates:this.config.stateSanitizer?Ii(this.config.stateSanitizer,H.computedStates):H.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,G,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new Ve.c(v=>{const H=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=H,H.init(),H.subscribe(G=>v.next(G)),H.unsubscribe}):ut.w}createActionStreams(){const v=this.createChangesObservable().pipe((0,Oo.u)()),H=v.pipe((0,Cr.p)(ui=>"START"===ui.type)),G=v.pipe((0,Cr.p)(ui=>"STOP"===ui.type)),Oe=v.pipe((0,Cr.p)(ui=>"DISPATCH"===ui.type),(0,Qa.T)(ui=>this.unwrapAction(ui.payload)),(0,_c.H)(ui=>ui.type===Pc?this.dispatcher.pipe((0,Cr.p)(Wi=>Wi.type===Pi.q6),function jn(F,B){const{first:v,each:H,with:G=na,scheduler:Oe=B??ks.E,meta:kt=null}=(0,Uo.v)(F)?{first:F}:"number"==typeof F?{each:F}:F;if(null==v&&null==H)throw new TypeError("No timeout provided.");return(0,Vs.N)((At,oi)=>{let ui,Wi,Li=null,fn=0;const Mn=Ki=>{Wi=(0,vs.N)(oi,Oe,()=>{try{ui.unsubscribe(),(0,nc.Tg)(G({meta:kt,lastValue:Li,seen:fn})).subscribe(oi)}catch(an){oi.error(an)}},Ki)};ui=At.subscribe((0,us._)(oi,Ki=>{Wi?.unsubscribe(),fn++,oi.next(Li=Ki),H>0&&Mn(H)},void 0,void 0,()=>{Wi?.closed||Wi?.unsubscribe(),Li=null})),!fn&&Mn(null!=v?"number"==typeof v?v:+v-Oe.now():H)})}(1e3),(0,Nr.B)(1e3),(0,Qa.T)(()=>ui),(0,ca.W)(()=>(0,Dt.of)(ui)),(0,_a.s)(1)):(0,Dt.of)(ui))),At=v.pipe((0,Cr.p)(ui=>"ACTION"===ui.type),(0,Qa.T)(ui=>this.unwrapAction(ui.payload))).pipe((0,dn.Q)(G)),oi=Oe.pipe((0,dn.Q)(G));this.start$=H.pipe((0,dn.Q)(G)),this.actions$=this.start$.pipe((0,Is.n)(()=>At)),this.liftedActions$=this.start$.pipe((0,Is.n)(()=>oi))}unwrapAction(v){return"string"==typeof v?(0,eval)(`(${v})`):v}getExtensionConfig(v){const H={name:v.name,features:v.features,serialize:v.serialize,autoPause:v.autoPause??!1,trace:v.trace??!1,traceLimit:v.traceLimit??75};return!1!==v.maxAge&&(H.maxAge=v.maxAge),H}sendToReduxDevtools(v){try{v()}catch(H){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",H)}}static{this.\u0275fac=function(H){return new(H||F)(t.KVO(bn),t.KVO(Oi),t.KVO(Dn))}}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})();const va={type:Pi.Zz},Ja={type:"@ngrx/store-devtools/recompute"};function oo(F,B,v,H,G){if(H)return{state:v,error:"Interrupted by an error up the chain"};let kt,Oe=v;try{Oe=F(v,B)}catch(At){kt=At.toString(),G.handleError(At)}return{state:Oe,error:kt}}function hr(F,B,v,H,G,Oe,kt,At,oi){if(B>=F.length&&F.length===Oe.length)return F;const ui=F.slice(0,B),Wi=Oe.length-(oi?1:0);for(let Li=B;Li-1?Ki:oo(v,Mn,an,Xn,At);ui.push(jr)}return oi&&ui.push(F[F.length-1]),ui}let Bn=(()=>{class F{constructor(v,H,G,Oe,kt,At,oi,ui){const Wi=function aa(F,B){return{monitorState:B(void 0,{}),nextActionId:1,actionsById:{0:gt(va)},stagedActionIds:[0],skippedActionIds:[],committedState:F,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}(oi,ui.monitor),Li=function ts(F,B,v,H,G={}){return Oe=>(kt,At)=>{let{monitorState:oi,actionsById:ui,nextActionId:Wi,stagedActionIds:Li,skippedActionIds:fn,committedState:Mn,currentStateIndex:Ki,computedStates:an,isLocked:Xn,isPaused:gr}=kt||B;function jr(Kr){let kr=Kr,Aa=Li.slice(1,kr+1);for(let ha=0;ha-1===Aa.indexOf(ha)),Li=[0,...Li.slice(kr+1)],Mn=an[kr].state,an=an.slice(kr),Ki=Ki>kr?Ki-kr:0}function da(){ui={0:gt(va)},Wi=1,Li=[0],fn=[],Mn=an[Ki].state,Ki=0,an=[]}kt||(ui=Object.create(ui));let rr=0;switch(At.type){case Xs:Xn=At.status,rr=1/0;break;case oc:gr=At.status,gr?(Li=[...Li,Wi],ui[Wi]=new ys({type:"@ngrx/devtools/pause"},+Date.now()),Wi++,rr=Li.length-1,an=an.concat(an[an.length-1]),Ki===Li.length-2&&Ki++,rr=1/0):da();break;case"RESET":ui={0:gt(va)},Wi=1,Li=[0],fn=[],Mn=F,Ki=0,an=[];break;case"COMMIT":da();break;case el:ui={0:gt(va)},Wi=1,Li=[0],fn=[],Ki=0,an=[];break;case Hs:{const{id:Kr}=At;fn=-1===fn.indexOf(Kr)?[Kr,...fn]:fn.filter(Aa=>Aa!==Kr),rr=Li.indexOf(Kr);break}case"SET_ACTIONS_ACTIVE":{const{start:Kr,end:kr,active:Aa}=At,ha=[];for(let Zs=Kr;ZsG.maxAge&&(an=hr(an,rr,Oe,Mn,ui,Li,fn,v,gr),jr(Li.length-G.maxAge),rr=1/0);break;case Pi.q6:if(an.filter(kr=>kr.error).length>0)rr=0,G.maxAge&&Li.length>G.maxAge&&(an=hr(an,rr,Oe,Mn,ui,Li,fn,v,gr),jr(Li.length-G.maxAge),rr=1/0);else{if(!gr&&!Xn){Ki===Li.length-1&&Ki++;const kr=Wi++;ui[kr]=new ys(At,+Date.now()),Li=[...Li,kr],rr=Li.length-1,an=hr(an,rr,Oe,Mn,ui,Li,fn,v,gr)}an=an.map(kr=>({...kr,state:Oe(kr.state,Ja)})),Ki=Li.length-1,G.maxAge&&Li.length>G.maxAge&&jr(Li.length-G.maxAge),rr=1/0}break;default:rr=1/0}return an=hr(an,rr,Oe,Mn,ui,Li,fn,v,gr),oi=H(oi,At),{monitorState:oi,actionsById:ui,nextActionId:Wi,stagedActionIds:Li,skippedActionIds:fn,committedState:Mn,currentStateIndex:Ki,computedStates:an,isLocked:Xn,isPaused:gr}}}(oi,Wi,At,ui.monitor,ui),fn=(0,ai.h)((0,ai.h)(H.asObservable().pipe((0,qo.i)(1)),Oe.actions$).pipe((0,Qa.T)(gt)),v,Oe.liftedActions$).pipe((0,vc.Q)(vn.T)),Mn=G.pipe((0,Qa.T)(Li)),Ki=Sr(ui.connectInZone),an=new er.m(1);this.liftedStateSubscription=fn.pipe((0,rc.E)(Mn),Co(Ki),(0,xo.S)(({state:jr},[da,rr])=>{let Kr=rr(jr,da);return da.type!==bs&&Kn(ui)&&(Kr=function wr(F,B,v,H){const G=[],Oe={},kt=[];return F.stagedActionIds.forEach((At,oi)=>{const ui=F.actionsById[At];ui&&(oi&&pr(F.computedStates[oi],ui,B,v,H)||(Oe[At]=ui,G.push(At),kt.push(F.computedStates[oi])))}),{...F,stagedActionIds:G,actionsById:Oe,computedStates:kt}}(Kr,ui.predicate,ui.actionsSafelist,ui.actionsBlocklist)),Oe.notify(da,Kr),{state:Kr,action:da}},{state:Wi,action:null})).subscribe(({state:jr,action:da})=>{an.next(jr),da.type===bs&&kt.next(da.action)}),this.extensionStartSubscription=Oe.start$.pipe(Co(Ki)).subscribe(()=>{this.refresh()});const Xn=an.asObservable(),gr=Xn.pipe((0,Qa.T)(bt));Object.defineProperty(gr,"state",{value:(0,md.ot)(gr,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=v,this.liftedState=Xn,this.state=gr}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(v){this.dispatcher.next(v)}next(v){this.dispatcher.next(v)}error(v){}complete(){}performAction(v){this.dispatch(new ys(v,+Date.now()))}refresh(){this.dispatch(new sc)}reset(){this.dispatch(new zc(+Date.now()))}rollback(){this.dispatch(new Za(+Date.now()))}commit(){this.dispatch(new Rs(+Date.now()))}sweep(){this.dispatch(new bc)}toggleAction(v){this.dispatch(new Ys(v))}jumpToAction(v){this.dispatch(new Vt(v))}jumpToState(v){this.dispatch(new mt(v))}importState(v){this.dispatch(new Ht(v))}lockChanges(v){this.dispatch(new ei(v))}pauseRecording(v){this.dispatch(new ci(v))}static{this.\u0275fac=function(H){return new(H||F)(t.KVO(Dn),t.KVO(Pi.SS),t.KVO(Pi.QU),t.KVO(Tr),t.KVO(Pi.sA),t.KVO(t.zcH),t.KVO(Pi.N_),t.KVO(Oi))}}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})();function Co({ngZone:F,connectInZone:B}){return v=>B?new Ve.c(H=>v.subscribe({next:G=>F.run(()=>H.next(G)),error:G=>F.run(()=>H.error(G)),complete:()=>F.run(()=>H.complete())})):v}const pd=new t.nKC("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function il(F,B){return!!F||B.monitor!==pn}function Lr(){const F="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[F]<"u"?window[F]:null}function Bc(F={}){return(0,t.EmA)([Tr,Dn,Bn,{provide:ji,useValue:F},{provide:pd,deps:[bn,Oi],useFactory:il},{provide:bn,useFactory:Lr},{provide:Oi,deps:[ji],useFactory:Wn},{provide:Pi.h1,deps:[Bn],useFactory:cc},{provide:Pi.Bh,useExisting:Dn}])}function cc(F){return F.state}let so=(()=>{class F{static instrument(v={}){return{ngModule:F,providers:[Bc(v)]}}static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275mod=t.$C({type:F})}static{this.\u0275inj=t.G2t({})}}return F})();var Xi=g(1413),gd=g(3726),lc=g(2806),El=g(1807);function Fo(F=0,B=ks.E){return F<0&&(F=0),(0,El.O)(F,F,B)}var En=g(8359),Sl=g(7908),Tl=g(9326),Ks=g(8141),yc=g(980),ba=g(3294);class xs{}function Yr(F){return(0,t.EmA)([{provide:xs,useValue:F}])}let mo=(()=>{class F{constructor(v,H){this._ngZone=H,this.timerStart$=new Xi.B,this.idleDetected$=new Xi.B,this.timeout$=new Xi.B,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,v&&this.setConfig(v)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,ai.h)((0,gd.R)(window,"mousemove"),(0,gd.R)(window,"resize"),(0,gd.R)(document,"keydown"))),this.idle$=(0,lc.H)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function Os(F,...B){var v,H;const G=null!==(v=(0,Tl.lI)(B))&&void 0!==v?v:ks.E,Oe=null!==(H=B[0])&&void 0!==H?H:null,kt=B[1]||1/0;return(0,Vs.N)((At,oi)=>{let ui=[],Wi=!1;const Li=Ki=>{const{buffer:an,subs:Xn}=Ki;Xn.unsubscribe(),(0,Sl.o)(ui,Ki),oi.next(an),Wi&&fn()},fn=()=>{if(ui){const Ki=new En.yU;oi.add(Ki);const Xn={buffer:[],subs:Ki};ui.push(Xn),(0,vs.N)(Ki,G,()=>Li(Xn),F)}};null!==Oe&&Oe>=0?(0,vs.N)(oi,G,fn,Oe,!0):Wi=!0,fn();const Mn=(0,us._)(oi,Ki=>{const an=ui.slice();for(const Xn of an){const{buffer:gr}=Xn;gr.push(Ki),kt<=gr.length&&Li(Xn)}},()=>{for(;ui?.length;)oi.next(ui.shift().buffer);Mn?.unsubscribe(),oi.complete(),oi.unsubscribe()},void 0,()=>ui=null);At.subscribe(Mn)})}(this.idleSensitivityMillisec),(0,Cr.p)(v=>!v.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,Ks.M)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,Is.n)(()=>this._ngZone.runOutsideAngular(()=>Fo(1e3).pipe((0,dn.Q)((0,ai.h)(this.activityEvents$,(0,El.O)(this.idleMillisec).pipe((0,Ks.M)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,yc.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,ba.F)(),(0,Is.n)(v=>v?this.timer$:(0,Dt.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,Cr.p)(v=>!!v),(0,Ks.M)(()=>this.isTimeout=!0),(0,Qa.T)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(v){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(v):console.error("Call stopWatching() before set config values")}setConfig(v){v.idle&&(this.idleMillisec=1e3*v.idle),v.ping&&(this.pingMillisec=1e3*v.ping),v.idleSensitivity&&(this.idleSensitivityMillisec=1e3*v.idleSensitivity),v.timeout&&(this.timeout=v.timeout)}setCustomActivityEvents(v){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=v:console.error("Call stopWatching() before set custom activity events")}setupTimer(v){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,Dt.of)(()=>new Date).pipe((0,Qa.T)(H=>H()),(0,Is.n)(H=>Fo(1e3).pipe((0,Qa.T)(()=>Math.round(((new Date).valueOf()-H.valueOf())/1e3)),(0,Ks.M)(G=>{G>=v&&this.timeout$.next(!0)}))))})}setupPing(v){this.ping$=Fo(v).pipe((0,Cr.p)(()=>!this.isTimeout))}}return F.\u0275fac=function(v){return new(v||F)(t.KVO(xs,8),t.KVO(t.SKi))},F.\u0275prov=t.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();var Nn=g(1188),qi=g(5383),vr=g(9647),Qr=g(60),$i=g(2920),Mr=g(5596),la=g(6850);const Jd=()=>({initial:!1});function q1(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.activeLink=G.links[1].link)}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[1].link),t.Y8G("active",v.activeLink===v.links[1].link)("state",t.lJ4(4,Jd)),t.R7$(),t.JRh(v.links[1].name)}}function qd(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",12),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.activeLink=G.links[2].link)}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[2].link),t.Y8G("active",v.activeLink===v.links[2].link),t.R7$(),t.JRh(v.links[2].name)}}let T2=(()=>{class F{constructor(v,H){this.store=v,this.router=H,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 Xi.B,new Xi.B,new Xi.B]}ngOnInit(){const v=this.links.find(H=>this.router.url.includes(H.link));this.activeLink=v?v.link:this.links[0].link,this.router.events.pipe((0,dn.Q)(this.unSubs[0]),(0,Cr.p)(H=>H instanceof Nn.gx)).subscribe({next:H=>{const G=this.links.find(Oe=>H.urlAfterRedirects.includes(Oe.link));this.activeLink=G?G.link:this.links[0].link}}),this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[1])).subscribe(H=>{this.appConfig=H}),this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[2])).subscribe(H=>{this.showBitcoind=!1,this.selNode=H,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Pi.il),t.rXU(Nn.Ix))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1),t.nrm(1,"fa-icon",2),t.j41(2,"span",3),t.EFF(3,"Settings"),t.k0s()(),t.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.activeLink=G.links[0].link)}),t.EFF(9),t.k0s(),t.DNE(10,q1,2,5,"div",8)(11,qd,2,3,"div",9),t.k0s(),t.nrm(12,"mat-tab-nav-panel",null,0),t.j41(14,"div",10),t.nrm(15,"router-outlet"),t.k0s()()()()}if(2&H){const Oe=t.sdS(13);t.R7$(),t.Y8G("icon",G.faUserCog),t.R7$(6),t.Y8G("tabPanel",Oe),t.R7$(),t.FS9("routerLink",G.links[0].link),t.Y8G("active",G.activeLink===G.links[0].link),t.R7$(),t.JRh(G.links[0].name),t.R7$(),t.Y8G("ngIf",!+G.appConfig.SSO.rtlSSO),t.R7$(),t.Y8G("ngIf",G.showBitcoind)}},dependencies:[si.bT,Qr.aY,$i.DJ,$i.sA,$i.UI,Mr.RN,Mr.m2,la.Bu,la.hQ,la.Ql,Nn.n3,Nn.Wk]})}}return F})();var Sn=g(1771),ge=g(8570),De=g(9417),be=g(8834),Ne=g(6467),ft=g(2798),Rt=g(6600),Jt=g(497),Mi=g(9587);function bi(F,B){if(1&F&&(t.j41(0,"mat-option",15),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v.index),t.R7$(),t.Lme(" ",v.lnNode," (",v.lnImplementation,") ")}}function cn(F,B){if(1&F){const v=t.RV6();t.j41(0,"form",3,0)(2,"div",4),t.nrm(3,"fa-icon",5),t.j41(4,"span",6),t.EFF(5,"Default Node"),t.k0s()(),t.j41(6,"div",7)(7,"div",8)(8,"mat-form-field",9)(9,"mat-select",10),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG();return t.DH7(Oe.appConfig.defaultNodeIndex,G)||(Oe.appConfig.defaultNodeIndex=G),t.Njj(G)}),t.DNE(10,bi,2,3,"mat-option",11),t.k0s()()(),t.j41(11,"div",12)(12,"div",8)(13,"button",13),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onResetSettings())}),t.EFF(14,"Reset"),t.k0s(),t.j41(15,"button",14),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onUpdateApplicationSettings())}),t.EFF(16,"Update"),t.k0s()()()()()}if(2&F){const v=t.XpG();t.R7$(3),t.Y8G("icon",v.faWindowRestore),t.R7$(6),t.R50("ngModel",v.appConfig.defaultNodeIndex),t.R7$(),t.Y8G("ngForOf",v.appConfig.nodes)}}let Pn=(()=>{class F{constructor(v,H){this.logger=v,this.store=H,this.faWindowRestore=qi.aFw,this.faPlus=qi.QLR,this.previousDefaultNode=0,this.unSubs=[new Xi.B,new Xi.B]}ngOnInit(){this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.appConfig=v,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(v)})}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,Sn.rc)({payload:{showSnackBar:!0,message:"Default Node Updated.",config:this.appConfig}}))}onResetSettings(){this.appConfig.defaultNodeIndex=this.previousDefaultNode}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(Pi.il))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",1),t.DNE(1,cn,17,3,"form",2),t.k0s()),2&H&&(t.R7$(),t.Y8G("ngIf",G.appConfig.nodes&&G.appConfig.nodes.length&&G.appConfig.nodes.length>0))},dependencies:[si.Sq,si.bT,De.qT,De.BC,De.cb,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,be.$z,Ne.rl,ft.VO,Rt.wT,Jt.Ld,Mi.N]})}}return F})();var zn=g(2852),Er=g(5351),Cs=g(1264),Sa=g(7541),xc=g(5416),Ta=g(9631),wo=g(6013),Ll=g(8288),Cc=g(9157);const e0=["stepper"];function wc(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG();t.JRh(v.passwordFormLabel)}}function ws(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Password is required."),t.k0s())}function dc(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG(2);t.JRh(v.secretFormLabel)}}function Mc(F,B){if(1&F&&t.nrm(0,"qr-code",33),2&F){const v=t.XpG(2);t.Y8G("value",v.otpauth)("size",180)("errorCorrectionLevel","L")}}function _d(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Secret Code is required."),t.k0s())}function vd(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-step",10)(1,"form",22),t.DNE(2,dc,1,1,"ng-template",23),t.j41(3,"div",24),t.DNE(4,Mc,1,3,"qr-code",25),t.k0s(),t.j41(5,"div",26),t.nrm(6,"fa-icon",27),t.j41(7,"span"),t.EFF(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),t.k0s()(),t.j41(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),t.EFF(12,"Secret Code"),t.k0s(),t.nrm(13,"input",29),t.j41(14,"fa-icon",30),t.bIt("copied",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onCopySecret(G))}),t.k0s(),t.DNE(15,_d,2,0,"mat-error",15),t.k0s()(),t.j41(16,"div",31)(17,"button",32),t.EFF(18,"Next"),t.k0s()()()()}if(2&F){const v=t.XpG();t.Y8G("stepControl",v.secretFormGroup)("editable",v.flgEditable),t.R7$(),t.Y8G("formGroup",v.secretFormGroup),t.R7$(3),t.Y8G("ngIf",v.otpauth),t.R7$(2),t.Y8G("icon",v.faInfoCircle),t.R7$(8),t.Y8G("icon",v.faCopy)("payload",null==v.secretFormGroup||null==v.secretFormGroup.controls||null==v.secretFormGroup.controls.secret?null:v.secretFormGroup.controls.secret.value),t.R7$(),t.Y8G("ngIf",null==v.secretFormGroup||null==v.secretFormGroup.controls||null==v.secretFormGroup.controls.secret||null==v.secretFormGroup.controls.secret.errors?null:v.secretFormGroup.controls.secret.errors.required)}}function Fs(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG(2);t.JRh(v.tokenFormLabel)}}function e1(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Token is required."),t.k0s())}function t1(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Token is invalid."),t.k0s())}function Un(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",8)(1,"div",28)(2,"mat-form-field",13)(3,"mat-label"),t.EFF(4,"Token"),t.k0s(),t.nrm(5,"input",37),t.DNE(6,e1,2,0,"mat-error",15)(7,t1,2,0,"mat-error",15),t.k0s()(),t.j41(8,"div",31)(9,"button",38),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onVerifyToken())}),t.EFF(10),t.k0s()()()}if(2&F){const v=t.XpG(2);t.R7$(6),t.Y8G("ngIf",null==v.tokenFormGroup||null==v.tokenFormGroup.controls||null==v.tokenFormGroup.controls.token||null==v.tokenFormGroup.controls.token.errors?null:v.tokenFormGroup.controls.token.errors.required),t.R7$(),t.Y8G("ngIf",null==v.tokenFormGroup||null==v.tokenFormGroup.controls||null==v.tokenFormGroup.controls.token||null==v.tokenFormGroup.controls.token.errors?null:v.tokenFormGroup.controls.token.errors.notValid),t.R7$(3),t.JRh(null!=v.tokenFormGroup&&null!=v.tokenFormGroup.controls&&null!=v.tokenFormGroup.controls.token&&null!=v.tokenFormGroup.controls.token.errors&&v.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function Dl(F,B){1&F&&(t.j41(0,"div")(1,"strong"),t.EFF(2,"Success! You are all set."),t.k0s()())}function bd(F,B){if(1&F&&(t.j41(0,"mat-step",34)(1,"form",35),t.DNE(2,Fs,1,1,"ng-template",12)(3,Un,11,3,"div",36)(4,Dl,3,0,"div",15),t.k0s()()),2&F){const v=t.XpG();t.Y8G("stepControl",v.tokenFormGroup),t.R7$(),t.Y8G("formGroup",v.tokenFormGroup),t.R7$(2),t.Y8G("ngIf",!v.flgValidated||!v.isTokenValid),t.R7$(),t.Y8G("ngIf",v.flgValidated&&v.isTokenValid)}}function co(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG(2);t.JRh(v.disableFormLabel)}}function Pu(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",8)(1,"div",39),t.nrm(2,"fa-icon",27),t.j41(3,"span"),t.EFF(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),t.k0s()(),t.j41(5,"div",31)(6,"button",38),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onVerifyToken())}),t.EFF(7,"Disable"),t.k0s()()()}if(2&F){const v=t.XpG(2);t.R7$(2),t.Y8G("icon",v.faExclamationTriangle)}}function nl(F,B){1&F&&(t.j41(0,"div")(1,"strong"),t.EFF(2,"Two factor authentication removed from RTL."),t.k0s()())}function Al(F,B){if(1&F&&(t.j41(0,"mat-step",34)(1,"form",35),t.DNE(2,co,1,1,"ng-template",12)(3,Pu,8,1,"div",36)(4,nl,3,0,"div",15),t.k0s()()),2&F){const v=t.XpG();t.Y8G("stepControl",v.disableFormGroup),t.R7$(),t.Y8G("formGroup",v.disableFormGroup),t.R7$(2),t.Y8G("ngIf",!v.flgValidated||!v.isTokenValid),t.R7$(),t.Y8G("ngIf",v.flgValidated&&v.isTokenValid)}}let fs=(()=>{class F{constructor(v,H,G,Oe,kt,At){this.dialogRef=v,this.data=H,this.store=G,this.formBuilder=Oe,this.rtlEffects=kt,this.snackBar=At,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:["",[De.k0.required]],password:["",[De.k0.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},De.k0.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",De.k0.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new Xi.B,new Xi.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},De.k0.required]})}generateSecret(){const v=Cs.authenticator.generateSecret();return this.otpauth=Cs.authenticator.keyuri("","Ride The Lightning (RTL)",v),v}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,Sn.oz)({payload:zn(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,_a.s)(1)).subscribe(v=>{"ERROR"!==v?(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(v){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,Sn.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=Cs.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,Sn.rc)({payload:{showSnackBar:!1,message:"Two factor authentication enabled successfully.",config:this.appConfig}})),this.tokenFormGroup.controls.token.setValue("")}this.flgValidated=!0}stepSelectionChanged(v){switch(v.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}v.selectedIndex{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Er.CP),t.rXU(Er.Vh),t.rXU(Pi.il),t.rXU(De.ze),t.rXU(Sa.H),t.rXU(xc.UG))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-two-factor-auth"]],viewQuery:function(H,G){if(1&H&&t.GBs(e0,5),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.stepper=Oe.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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),t.EFF(5,"Setup Two Factor Authentication"),t.k0s()(),t.j41(6,"button",6),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",7)(9,"div",8)(10,"mat-vertical-stepper",9,0),t.bIt("selectionChange",function(At){return t.eBV(Oe),t.Njj(G.stepSelectionChanged(At))}),t.j41(12,"mat-step",10)(13,"form",11),t.DNE(14,wc,1,1,"ng-template",12),t.j41(15,"div",1)(16,"mat-form-field",13)(17,"mat-label"),t.EFF(18,"Password"),t.k0s(),t.nrm(19,"input",14),t.DNE(20,ws,2,0,"mat-error",15),t.k0s()(),t.j41(21,"div",16)(22,"button",17),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onAuthenticate())}),t.EFF(23,"Confirm"),t.k0s()()()(),t.DNE(24,vd,19,8,"mat-step",18)(25,bd,5,4,"mat-step",19)(26,Al,5,4,"mat-step",19),t.k0s(),t.j41(27,"div",20)(28,"button",21),t.EFF(29),t.k0s()()()()()()}2&H&&(t.R7$(6),t.Y8G("mat-dialog-close",!1),t.R7$(4),t.Y8G("linear",!0),t.R7$(2),t.Y8G("stepControl",G.passwordFormGroup)("editable",G.flgEditable),t.R7$(),t.Y8G("formGroup",G.passwordFormGroup),t.R7$(7),t.Y8G("ngIf",null==G.passwordFormGroup||null==G.passwordFormGroup.controls||null==G.passwordFormGroup.controls.password||null==G.passwordFormGroup.controls.password.errors?null:G.passwordFormGroup.controls.password.errors.required),t.R7$(4),t.Y8G("ngIf",!G.showDisableStepper),t.R7$(),t.Y8G("ngIf",!G.showDisableStepper),t.R7$(),t.Y8G("ngIf",G.showDisableStepper),t.R7$(2),t.Y8G("mat-dialog-close",!1),t.R7$(),t.JRh(G.flgValidated&&G.isTokenValid?"Close":"Cancel"))},dependencies:[si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.j4,De.JD,Qr.aY,$i.DJ,$i.sA,$i.UI,Er.tx,be.$z,Mr.m2,Mr.MM,Ta.fg,Ne.rl,Ne.nJ,Ne.TL,Ne.yw,wo.V5,wo.Ti,wo.M6,wo.F7,Ll.Um,Cc.U,Mi.N]})}}return F})();var Wt=g(4416),$s=g(3202),rl=g(1997);const Ms=["authForm"];function zu(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Current password is required."),t.k0s())}function n1(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.JRh(v.errorMsg)}}function Bu(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.JRh(v.errorConfirmMsg)}}function t0(F,B){if(1&F){const v=t.RV6();t.j41(0,"form",12,0)(2,"div",13),t.nrm(3,"fa-icon",6),t.j41(4,"span",7),t.EFF(5,"Password"),t.k0s()(),t.j41(6,"mat-form-field")(7,"mat-label"),t.EFF(8,"Current Password"),t.k0s(),t.j41(9,"input",14),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG();return t.DH7(Oe.currPassword,G)||(Oe.currPassword=G),t.Njj(G)}),t.k0s(),t.DNE(10,zu,2,0,"mat-error",15),t.k0s(),t.j41(11,"mat-form-field")(12,"mat-label"),t.EFF(13,"New Password"),t.k0s(),t.j41(14,"input",16),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG();return t.DH7(Oe.newPassword,G)||(Oe.newPassword=G),t.Njj(G)}),t.k0s(),t.DNE(15,n1,2,1,"mat-error",15),t.k0s(),t.j41(16,"mat-form-field")(17,"mat-label"),t.EFF(18,"Confirm New Password"),t.k0s(),t.j41(19,"input",17),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG();return t.DH7(Oe.confirmPassword,G)||(Oe.confirmPassword=G),t.Njj(G)}),t.k0s(),t.DNE(20,Bu,2,1,"mat-error",15),t.k0s(),t.j41(21,"div",18)(22,"button",19),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onResetPassword())}),t.EFF(23,"Reset"),t.k0s(),t.j41(24,"button",20),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onChangePassword())}),t.EFF(25,"Change Password"),t.k0s()()()}if(2&F){const v=t.XpG();t.R7$(3),t.Y8G("icon",v.faLock),t.R7$(6),t.R50("ngModel",v.currPassword),t.R7$(),t.Y8G("ngIf",!v.currPassword),t.R7$(4),t.R50("ngModel",v.newPassword),t.R7$(),t.Y8G("ngIf",v.matchOldAndNewPasswords()),t.R7$(4),t.R50("ngModel",v.confirmPassword),t.R7$(),t.Y8G("ngIf",v.matchNewPasswords())}}let n0=(()=>{class F{constructor(v,H,G,Oe,kt){this.logger=v,this.store=H,this.actions=G,this.router=Oe,this.sessionService=kt,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 Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.appConfig=v,this.logger.info(this.appConfig)}),this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.selNode=v}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,Cr.p)(v=>v.type===Wt.aU.RESET_PASSWORD_RES)).subscribe(v=>{if(Wt.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||Wt.Ah.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,Sn.xw)({payload:{currPassword:zn(this.currPassword).toString(),newPassword:zn(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let v=!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.",v=!0):Wt.Ah.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=Wt.Ah?.reduce((H,G,Oe)=>Oe{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(Pi.il),t.rXU(it.En),t.rXU(Nn.Ix),t.rXU($s.Q))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-auth-settings"]],viewQuery:function(H,G){if(1&H&&t.GBs(Ms,5),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.form=Oe.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(H,G){1&H&&(t.j41(0,"div",1),t.DNE(1,t0,26,7,"form",2),t.nrm(2,"mat-divider",3),t.j41(3,"div",4)(4,"div",5),t.nrm(5,"fa-icon",6),t.j41(6,"span",7),t.EFF(7,"Two Factor Authentication"),t.k0s()(),t.j41(8,"div",8),t.nrm(9,"fa-icon",9),t.j41(10,"span"),t.EFF(11,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),t.k0s()(),t.j41(12,"div",10)(13,"button",11),t.bIt("click",function(){return G.on2FAuth()}),t.EFF(14),t.k0s()()()()),2&H&&(t.R7$(),t.Y8G("ngIf",null==G.appConfig?null:G.appConfig.allowPasswordUpdate),t.R7$(4),t.Y8G("icon",G.faUserClock),t.R7$(4),t.Y8G("icon",G.faInfoCircle),t.R7$(5),t.JRh(G.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,be.$z,Ta.fg,Ne.rl,Ne.nJ,Ne.TL,rl.q,Mi.N]})}}return F})();var hc=g(3902);function r1(F,B){1&F&&t.nrm(0,"mat-divider",7)}function Ec(F,B){if(1&F&&(t.j41(0,"div",4)(1,"pre",5),t.EFF(2),t.nI1(3,"json"),t.k0s(),t.DNE(4,r1,1,0,"mat-divider",6),t.k0s()),2&F){const v=t.XpG();t.R7$(2),t.JRh(t.bMT(3,2,v.configData)),t.R7$(2),t.Y8G("ngIf",""!==v.configData)}}function Qs(F,B){if(1&F&&(t.j41(0,"h2"),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.JRh(v)}}function Zn(F,B){if(1&F&&(t.j41(0,"h4",14),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.JRh(v)}}function a1(F,B){1&F&&t.nrm(0,"mat-divider",15),2&F&&t.Y8G("inset",!0)}function r0(F,B){if(1&F&&(t.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),t.DNE(2,Qs,2,1,"h2",10),t.k0s(),t.j41(3,"mat-card-subtitle",11),t.DNE(4,Zn,2,1,"h4",12),t.k0s(),t.DNE(5,a1,1,1,"mat-divider",13),t.k0s()),2&F){const v=B.$implicit;t.R7$(2),t.Y8G("ngIf",v.indexOf("[")>=0),t.R7$(2),t.Y8G("ngIf",v.indexOf("[")<0),t.R7$(),t.Y8G("ngIf",v.indexOf("[")<0)}}function yd(F,B){if(1&F&&(t.j41(0,"div",8)(1,"mat-list"),t.DNE(2,r0,6,3,"mat-list-item",9),t.k0s()()),2&F){const v=t.XpG();t.R7$(2),t.Y8G("ngForOf",v.configData)}}let a4=(()=>{class F{constructor(v,H,G){this.store=v,this.rtlEffects=H,this.router=G,this.configData="",this.fileFormat="INI",this.faCog=qi.dB,this.unSubs=[new Xi.B,new Xi.B]}ngOnInit(){this.store.dispatch((0,Sn.Dz)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{const H=v.data;this.fileFormat=v.format,this.configData=""===H||!H||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==H&&H&&"JSON"===this.fileFormat?H:"":H.split("\n")})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Pi.il),t.rXU(Sa.H),t.rXU(Nn.Ix))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",0)(1,"div",1),t.DNE(2,Ec,5,4,"div",2)(3,yd,3,1,"div",3),t.k0s()()),2&H&&(t.R7$(2),t.Y8G("ngIf",""!==G.configData&&"JSON"===G.fileFormat),t.R7$(),t.Y8G("ngIf",""!==G.configData&&("INI"===G.fileFormat||"HOCON"===G.fileFormat)))},dependencies:[si.Sq,si.bT,$i.DJ,$i.sA,$i.UI,Mr.Lc,hc.jt,hc.YE,rl.q,si.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return F})();function Vu(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Password is required."),t.k0s())}let o4=(()=>{class F{constructor(v,H,G){this.dialogRef=v,this.store=H,this.rtlEffects=G,this.password="",this.isAuthenticated=!1,this.unSubs=[new Xi.B,new Xi.B]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,_a.s)(1)).subscribe(v=>{"ERROR"!==v?(this.isAuthenticated=!0,this.store.dispatch((0,Sn.R$)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,Sn.oz)({payload:zn(this.password)}))}onClose(){this.store.dispatch((0,Sn.R$)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Er.CP),t.rXU(Pi.il),t.rXU(Sa.H))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t.EFF(5,"Authenticate with your RTL Password"),t.k0s()(),t.j41(6,"button",5),t.bIt("click",function(){return G.onClose()}),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"mat-label"),t.EFF(12,"Password"),t.k0s(),t.j41(13,"input",8),t.mxI("ngModelChange",function(kt){return t.DH7(G.password,kt)||(G.password=kt),kt}),t.k0s(),t.DNE(14,Vu,2,0,"mat-error",9),t.k0s(),t.j41(15,"div",10)(16,"button",11),t.bIt("click",function(){return G.onAuthenticate()}),t.EFF(17,"Confirm"),t.k0s()()()()()()),2&H&&(t.R7$(13),t.R50("ngModel",G.password),t.R7$(),t.Y8G("ngIf",!G.password))},dependencies:[si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,$i.DJ,$i.sA,$i.UI,be.$z,Mr.m2,Mr.MM,Ta.fg,Ne.rl,Ne.nJ,Ne.TL,Mi.N]})}}return F})();const Uu=()=>({initial:!1});function Gu(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",13),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.activeLink=G.links[2].link)}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[2].link),t.Y8G("active",v.activeLink===v.links[2].link)("state",t.lJ4(4,Uu)),t.R7$(),t.JRh(v.links[2].name)}}function kl(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",14),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.activeLink=G.links[3].link)}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[3].link),t.Y8G("active",v.activeLink===v.links[3].link),t.R7$(),t.JRh(v.links[3].name)}}function Hu(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",15),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.showLnConfigClicked())}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.Y8G("active",v.activeLink===v.links[4].link),t.R7$(),t.JRh(v.links[4].name)}}let s4=(()=>{class F{constructor(v,H,G,Oe){this.store=v,this.router=H,this.rtlEffects=G,this.activatedRoute=Oe,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 Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){const v=this.links.find(H=>this.router.url.includes(H.link));this.activeLink=v?v.link:this.links[0].link,this.router.events.pipe((0,dn.Q)(this.unSubs[0]),(0,Cr.p)(H=>H instanceof Nn.gx)).subscribe({next:H=>{const G=this.links.find(Oe=>H.urlAfterRedirects.includes(Oe.link));this.activeLink=G?G.link:this.links[0].link}}),this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[1])).subscribe(H=>{this.appConfig=H}),this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[2])).subscribe(H=>{switch(this.showLnConfig=!1,this.selNode=H,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,Sn.xO)({payload:{maxWidth:"50rem",data:{component:o4}}})),this.rtlEffects.closeAlert.pipe((0,dn.Q)(this.unSubs[3])).subscribe(v=>{v&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))}))}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Pi.il),t.rXU(Nn.Ix),t.rXU(Sa.H),t.rXU(Nn.nX))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1),t.nrm(1,"fa-icon",2),t.j41(2,"span",3),t.EFF(3,"Node Config"),t.k0s()(),t.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.activeLink=G.links[0].link)}),t.EFF(9),t.k0s(),t.j41(10,"div",8),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.activeLink=G.links[1].link)}),t.EFF(11),t.k0s(),t.DNE(12,Gu,2,5,"div",9)(13,kl,2,3,"div",10)(14,Hu,2,2,"div",11),t.k0s(),t.nrm(15,"mat-tab-nav-panel",null,0),t.j41(17,"div",12),t.nrm(18,"router-outlet"),t.k0s()()()()}if(2&H){const Oe=t.sdS(16);t.R7$(),t.Y8G("icon",G.faTools),t.R7$(6),t.Y8G("tabPanel",Oe),t.R7$(),t.FS9("routerLink",G.links[0].link),t.Y8G("active",G.activeLink===G.links[0].link),t.R7$(),t.JRh(G.links[0].name),t.R7$(),t.FS9("routerLink",G.links[1].link),t.Y8G("active",G.activeLink===G.links[1].link),t.R7$(),t.JRh(G.links[1].name),t.R7$(),t.Y8G("ngIf","ECL"!==(null==G.selNode||null==G.selNode.lnImplementation?null:G.selNode.lnImplementation.toUpperCase())),t.R7$(),t.Y8G("ngIf","CLN"===(null==G.selNode||null==G.selNode.lnImplementation?null:G.selNode.lnImplementation.toUpperCase())),t.R7$(),t.Y8G("ngIf",G.showLnConfig)}},dependencies:[si.bT,Qr.aY,$i.DJ,$i.sA,$i.UI,Mr.RN,Mr.m2,la.Bu,la.hQ,la.Ql,Nn.n3,Nn.Wk]})}}return F})();function c4(F,B){1&F&&t.nrm(0,"mat-divider",7)}function al(F,B){if(1&F&&(t.j41(0,"div",4)(1,"pre",5),t.EFF(2),t.nI1(3,"json"),t.k0s(),t.DNE(4,c4,1,0,"mat-divider",6),t.k0s()),2&F){const v=t.XpG();t.R7$(2),t.JRh(t.bMT(3,2,v.configData)),t.R7$(2),t.Y8G("ngIf",""!==v.configData)}}function L2(F,B){if(1&F&&(t.j41(0,"h2"),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.JRh(v)}}function Ri(F,B){if(1&F&&(t.j41(0,"h4",14),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.JRh(v)}}function ur(F,B){1&F&&t.nrm(0,"mat-divider",15),2&F&&t.Y8G("inset",!0)}function D2(F,B){if(1&F&&(t.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),t.DNE(2,L2,2,1,"h2",10),t.k0s(),t.j41(3,"mat-card-subtitle",11),t.DNE(4,Ri,2,1,"h4",12),t.k0s(),t.DNE(5,ur,1,1,"mat-divider",13),t.k0s()),2&F){const v=B.$implicit;t.R7$(2),t.Y8G("ngIf",v.indexOf("[")>=0),t.R7$(2),t.Y8G("ngIf",v.indexOf("[")<0),t.R7$(),t.Y8G("ngIf",v.indexOf("[")<0)}}function A2(F,B){if(1&F&&(t.j41(0,"div",8)(1,"mat-list"),t.DNE(2,D2,6,3,"mat-list-item",9),t.k0s()()),2&F){const v=t.XpG();t.R7$(2),t.Y8G("ngForOf",v.configData)}}let Hr=(()=>{class F{constructor(v,H,G){this.store=v,this.rtlEffects=H,this.router=G,this.configData="",this.fileFormat="INI",this.faCog=qi.dB,this.unSubs=[new Xi.B,new Xi.B]}ngOnInit(){this.store.dispatch((0,Sn.Dz)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{const H=v.data;this.fileFormat=v.format,this.configData=""===H||!H||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==H&&H&&"JSON"===this.fileFormat?H:"":H.split("\n")})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Pi.il),t.rXU(Sa.H),t.rXU(Nn.Ix))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",0)(1,"div",1),t.DNE(2,al,5,4,"div",2)(3,A2,3,1,"div",3),t.k0s()()),2&H&&(t.R7$(2),t.Y8G("ngIf",""!==G.configData&&"JSON"===G.fileFormat),t.R7$(),t.Y8G("ngIf",""!==G.configData&&("INI"===G.fileFormat||"HOCON"===G.fileFormat)))},dependencies:[si.Sq,si.bT,$i.DJ,$i.sA,$i.UI,Mr.Lc,hc.jt,hc.YE,rl.q,si.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return F})();var is=g(2571),Go=g(6038),Br=g(9454),Il=g(5951),Rl=g(450);const ju=F=>({skin:!0,"selected-color":F});function Rp(F,B){if(1&F&&(t.j41(0,"span",41),t.nrm(1,"fa-icon",42),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.Y8G("icon",v.symbol)}}function Op(F,B){if(1&F&&(t.j41(0,"span",41),t.nrm(1,"span",43),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.Y8G("innerHTML",v.symbol,t.npT)}}function o1(F,B){if(1&F&&(t.j41(0,"mat-option",39),t.DNE(1,Rp,2,1,"span",40)(2,Op,2,1,"span",40),t.EFF(3),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v.id),t.R7$(),t.Y8G("ngIf",v&&"FA"===v.iconType),t.R7$(),t.Y8G("ngIf",v&&"SVG"===v.iconType),t.R7$(),t.Lme(" ",v.name," (",v.id,") ")}}function Wu(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Currency unit is required."),t.k0s())}function a0(F,B){if(1&F&&(t.j41(0,"mat-radio-button",44),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.Y8G("value",v)("checked",H.selNode.settings.userPersona===v),t.R7$(),t.SpI(" ",t.bMT(2,3,v)," ")}}function ms(F,B){if(1&F&&(t.j41(0,"mat-radio-button",45),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v),t.R7$(),t.SpI("",v.name," ")}}function Ns(F,B){if(1&F){const v=t.RV6();t.j41(0,"span",46)(1,"div",47),t.nI1(2,"lowercase"),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG();return t.Njj(Oe.changeThemeColor(G.id))}),t.k0s(),t.EFF(3),t.k0s()}if(2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.HbH(t.bMT(2,4,v.id)),t.Y8G("ngClass",t.eq3(6,ju,H.selectedThemeColor===v.id)),t.R7$(2),t.SpI(" ",v.name," ")}}let k2=(()=>{class F{constructor(v,H,G,Oe){this.logger=v,this.commonService=H,this.store=G,this.sanitizer=Oe,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=[Wt.HW.OPERATOR,Wt.HW.MERCHANT],this.currencyUnits=Wt.Zi,this.themeModes=Wt.Bv.modes,this.themeColors=Wt.Bv.themes,this.selectedThemeMode=Wt.Bv.modes[0],this.selectedThemeColor=Wt.Bv.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=Wt.f7,this.unSubs=[new Xi.B,new Xi.B],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.currencyUnits.map(v=>("SVG"===v.iconType&&"string"==typeof v.symbol&&(v.symbol=v.symbol.replace('{this.selNode=JSON.parse(JSON.stringify(v)),this.selectedThemeMode=this.themeModes.find(H=>this.selNode.settings.themeMode===H.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(v)})}toggleSettings(v,H){this.selNode.settings[v]=!this.selNode.settings[v]}changeThemeColor(v){this.selectedThemeColor=v,this.selNode.settings.themeColor=v}chooseThemeMode(){this.selNode.settings.themeMode=this.selectedThemeMode.id}onFiatConversionChange(v){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,Sn.T$)({payload:this.selNode}))}onResetSettings(){const v=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(H=>H.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,Sn.Qi)({payload:{uiMessage:Wt.MZ.NO_SPINNER,prevLnNodeIndex:+v,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(is.h),t.rXU(Pi.il),t.rXU(e.up))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.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"),t.nrm(7,"fa-icon",6),t.j41(8,"span",7),t.EFF(9,"Block Explorer"),t.k0s()()(),t.j41(10,"div",8)(11,"div",9),t.nrm(12,"fa-icon",10),t.j41(13,"span"),t.EFF(14,"Configure your own blockchain explorer url or "),t.j41(15,"strong")(16,"a",11),t.EFF(17,"mempool.space"),t.k0s()(),t.EFF(18," will be used."),t.k0s()(),t.j41(19,"div",12)(20,"mat-form-field",13)(21,"mat-label"),t.EFF(22,"Block Explorer URL"),t.k0s(),t.j41(23,"input",14),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.settings.blockExplorerUrl,At)||(G.selNode.settings.blockExplorerUrl=At),t.Njj(At)}),t.k0s(),t.j41(24,"mat-hint"),t.EFF(25,"Blockchain explorer URL, eg. https://mempool.space or https://blockstream.info"),t.k0s()()()()(),t.j41(26,"mat-expansion-panel",5)(27,"mat-expansion-panel-header")(28,"mat-panel-title"),t.nrm(29,"fa-icon",6),t.j41(30,"span",7),t.EFF(31,"Open Unannounced Channels"),t.k0s()()(),t.j41(32,"div",8)(33,"div",15),t.nrm(34,"fa-icon",10),t.j41(35,"span"),t.EFF(36,"Use this control to toggle setting which defaults to opening unannounced channels only."),t.k0s()(),t.j41(37,"div",12)(38,"mat-slide-toggle",16),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.settings.unannouncedChannels,At)||(G.selNode.settings.unannouncedChannels=At),t.Njj(At)}),t.bIt("change",function(){return t.eBV(Oe),t.Njj(!G.selNode.settings.unannouncedChannels)}),t.EFF(39,"Open Unannounced Channels"),t.k0s()()()(),t.j41(40,"mat-expansion-panel",5)(41,"mat-expansion-panel-header")(42,"mat-panel-title"),t.nrm(43,"fa-icon",6),t.j41(44,"span",7),t.EFF(45,"Balance Display"),t.k0s()()(),t.j41(46,"div",8)(47,"div",9),t.nrm(48,"fa-icon",10),t.j41(49,"span"),t.EFF(50,"Fiat conversion calls "),t.j41(51,"strong")(52,"a",17),t.EFF(53,"Blockchain.com"),t.k0s()(),t.EFF(54," API to get conversion rates."),t.k0s()(),t.j41(55,"div",12)(56,"mat-slide-toggle",18),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.settings.fiatConversion,At)||(G.selNode.settings.fiatConversion=At),t.Njj(At)}),t.bIt("change",function(At){return t.eBV(Oe),t.Njj(G.onFiatConversionChange(At))}),t.EFF(57,"Enable Fiat Conversion"),t.k0s(),t.j41(58,"mat-form-field",19)(59,"mat-label"),t.EFF(60,"Fiat Currency"),t.k0s(),t.j41(61,"mat-select",20,1),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.settings.currencyUnit,At)||(G.selNode.settings.currencyUnit=At),t.Njj(At)}),t.DNE(63,o1,4,5,"mat-option",21),t.k0s(),t.DNE(64,Wu,2,0,"mat-error",22),t.k0s()()()(),t.j41(65,"mat-expansion-panel",5)(66,"mat-expansion-panel-header")(67,"mat-panel-title"),t.nrm(68,"fa-icon",6),t.j41(69,"span",7),t.EFF(70,"Customization"),t.k0s()()(),t.j41(71,"div",8)(72,"div",23),t.nrm(73,"fa-icon",10),t.j41(74,"span"),t.EFF(75,"Dashboard layout will be tailored based on the role selected to better serve its needs."),t.k0s()(),t.j41(76,"div",24)(77,"h4"),t.EFF(78,"Dashboard Layout"),t.k0s(),t.j41(79,"mat-radio-group",25),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.settings.userPersona,At)||(G.selNode.settings.userPersona=At),t.Njj(At)}),t.DNE(80,a0,3,5,"mat-radio-button",26),t.k0s()(),t.nrm(81,"mat-divider",27),t.j41(82,"div",28)(83,"h4"),t.EFF(84,"Mode"),t.k0s(),t.j41(85,"mat-radio-group",29),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selectedThemeMode,At)||(G.selectedThemeMode=At),t.Njj(At)}),t.bIt("change",function(){return t.eBV(Oe),t.Njj(G.chooseThemeMode())}),t.DNE(86,ms,2,2,"mat-radio-button",30),t.k0s()(),t.nrm(87,"mat-divider",27),t.j41(88,"div",31)(89,"div",32)(90,"h4"),t.EFF(91,"Themes"),t.k0s(),t.j41(92,"div",33),t.DNE(93,Ns,4,8,"span",34),t.k0s()()()()()()(),t.j41(94,"div",35)(95,"div",36)(96,"button",37),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onResetSettings())}),t.EFF(97,"Reset"),t.k0s(),t.j41(98,"button",38),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onUpdateNodeSettings())}),t.EFF(99,"Update"),t.k0s()()()()}2&H&&(t.R7$(7),t.Y8G("icon",G.faBarsStaggered),t.R7$(5),t.Y8G("icon",G.faExclamationTriangle),t.R7$(11),t.R50("ngModel",G.selNode.settings.blockExplorerUrl),t.R7$(6),t.Y8G("icon",G.faEyeSlash),t.R7$(5),t.Y8G("icon",G.faInfoCircle),t.R7$(4),t.R50("ngModel",G.selNode.settings.unannouncedChannels),t.R7$(5),t.Y8G("icon",G.faMoneyBillAlt),t.R7$(5),t.Y8G("icon",G.faExclamationTriangle),t.R7$(8),t.R50("ngModel",G.selNode.settings.fiatConversion),t.R7$(5),t.Y8G("disabled",!G.selNode.settings.fiatConversion)("required",G.selNode.settings.fiatConversion),t.R50("ngModel",G.selNode.settings.currencyUnit),t.R7$(2),t.Y8G("ngForOf",G.currencyUnits),t.R7$(),t.Y8G("ngIf",G.selNode.settings.fiatConversion&&!G.selNode.settings.currencyUnit),t.R7$(4),t.Y8G("icon",G.faPaintBrush),t.R7$(5),t.Y8G("icon",G.faInfoCircle),t.R7$(6),t.R50("ngModel",G.selNode.settings.userPersona),t.R7$(),t.Y8G("ngForOf",G.userPersonas),t.R7$(5),t.R50("ngModel",G.selectedThemeMode),t.R7$(),t.Y8G("ngForOf",G.themeModes),t.R7$(7),t.Y8G("ngForOf",G.themeColors))},dependencies:[si.YU,si.Sq,si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,Go.PW,be.$z,Br.BS,Br.GK,Br.Z2,Br.WN,Ta.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,rl.q,Il.VT,Il._g,ft.VO,Rt.wT,Rl.sG,Jt.Ld,Mi.N,si.GH,si.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 F})();var ns=g(9584),uc=g(3536),La=g(8430),Oa=g(190),Xu=g(2730),Ha=g(5428),Vc=g(9213),Sc=g(4823),Uc=g(2929);const Es=F=>({error:F}),l4=F=>({"error-border":F}),s1=F=>({"ml-minus-1":F}),I2=F=>({"error-border p-2":F});function Ol(F,B){if(1&F&&t.eu8(0,14),2&F){const v=t.XpG(),H=t.sdS(18);t.Y8G("ngTemplateOutlet",H)("ngTemplateOutletContext",t.eq3(2,Es,v.errorMessage))}}function c1(F,B){if(1&F&&(t.j41(0,"mat-option",31),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v),t.R7$(),t.SpI(" ",v," ")}}function Yu(F,B){if(1&F&&(t.j41(0,"mat-option",31),t.EFF(1),t.nI1(2,"camelCaseWithSpaces"),t.nI1(3,"camelcaseWithReplace"),t.k0s()),2&F){const v=B.$implicit,H=t.XpG(3);t.Y8G("value",v),t.R7$(),t.SpI(" ","ECL"===H.selNode.lnImplementation?t.bMT(2,2,v):t.i5U(3,4,v,"_")," ")}}function R2(F,B){if(1&F&&(t.j41(0,"mat-option",31),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v),t.R7$(),t.SpI(" ","desc"===v?"Descending":"Ascending"," ")}}function Tc(F,B){if(1&F&&(t.j41(0,"mat-option",34),t.EFF(1),t.nI1(2,"camelCaseWithSpaces"),t.nI1(3,"camelcaseWithReplace"),t.k0s()),2&F){const v=B.$implicit,H=t.XpG(2).$implicit,G=t.XpG(2);t.Y8G("value",v.column)("disabled",H.columnSelection.length<=2&&H.columnSelection.includes(v.column)),t.R7$(),t.SpI(" ",v.label?v.label:"ECL"===G.selNode.lnImplementation?t.bMT(2,3,v.column):t.i5U(3,5,v.column,"_")," ")}}function O2(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-form-field",32)(1,"mat-label"),t.EFF(2,"Column selection (Desktop Resolution)"),t.k0s(),t.j41(3,"mat-select",33),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG().$implicit;return t.DH7(Oe.columnSelection,G)||(Oe.columnSelection=G),t.Njj(G)}),t.bIt("selectionChange",function(){t.eBV(v);const G=t.XpG().$implicit,Oe=t.XpG(2);return t.Njj(Oe.oncolumnSelectionChange(G))}),t.DNE(4,Tc,4,8,"mat-option",28),t.k0s()()}if(2&F){const v=t.XpG().$implicit,H=t.XpG().$implicit,G=t.XpG();t.R7$(3),t.FCK("name","",H.pageId,"",v.tableId,"-columns-selection"),t.R50("ngModel",v.columnSelection),t.R7$(),t.Y8G("ngForOf",G.nodePageDefs[H.pageId][v.tableId].allowedColumns)}}function qa(F,B){if(1&F&&(t.j41(0,"mat-option",34),t.EFF(1),t.nI1(2,"camelCaseWithSpaces"),t.nI1(3,"camelcaseWithReplace"),t.k0s()),2&F){const v=B.$implicit,H=t.XpG().$implicit,G=t.XpG(2);t.Y8G("value",v.column)("disabled",H.columnSelectionSM.length<=1&&H.columnSelectionSM.includes(v.column)||H.columnSelectionSM.length>=3&&!H.columnSelectionSM.includes(v.column)),t.R7$(),t.SpI(" ",v.label?v.label:"ECL"===G.selNode.lnImplementation?t.bMT(2,3,v.column):t.i5U(3,5,v.column,"_")," ")}}function ol(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",17)(1,"div",18)(2,"span",19),t.EFF(3),t.nI1(4,"camelcaseWithReplace"),t.k0s(),t.j41(5,"mat-form-field",20)(6,"mat-label"),t.EFF(7,"Records/Page"),t.k0s(),t.j41(8,"mat-select",21),t.mxI("ngModelChange",function(G){const Oe=t.eBV(v).$implicit;return t.DH7(Oe.recordsPerPage,G)||(Oe.recordsPerPage=G),t.Njj(G)}),t.DNE(9,c1,2,2,"mat-option",22),t.k0s()(),t.j41(10,"mat-form-field",20)(11,"mat-label"),t.EFF(12,"Sort By"),t.k0s(),t.j41(13,"mat-select",23),t.mxI("ngModelChange",function(G){const Oe=t.eBV(v).$implicit;return t.DH7(Oe.sortBy,G)||(Oe.sortBy=G),t.Njj(G)}),t.DNE(14,Yu,4,7,"mat-option",22),t.k0s()(),t.j41(15,"mat-form-field",20)(16,"mat-label"),t.EFF(17,"Sort Order"),t.k0s(),t.j41(18,"mat-select",24),t.mxI("ngModelChange",function(G){const Oe=t.eBV(v).$implicit;return t.DH7(Oe.sortOrder,G)||(Oe.sortOrder=G),t.Njj(G)}),t.DNE(19,R2,2,2,"mat-option",22),t.k0s()(),t.DNE(20,O2,5,5,"mat-form-field",25),t.j41(21,"mat-form-field",26)(22,"mat-label"),t.EFF(23,"Column Selection (Mobile Resolution)"),t.k0s(),t.j41(24,"mat-select",27),t.mxI("ngModelChange",function(G){const Oe=t.eBV(v).$implicit;return t.DH7(Oe.columnSelectionSM,G)||(Oe.columnSelectionSM=G),t.Njj(G)}),t.DNE(25,qa,4,8,"mat-option",28),t.k0s()(),t.j41(26,"button",29),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG().$implicit,kt=t.XpG();return t.Njj(kt.onTableReset(Oe.pageId,G))}),t.j41(27,"mat-icon",30),t.EFF(28,"restore"),t.k0s()()()()}if(2&F){const v=B.$implicit,H=t.XpG().$implicit,G=t.XpG();t.R7$(3),t.SpI("",t.i5U(4,24,v.tableId,"_"),":"),t.R7$(5),t.FCK("name","",H.pageId,"",v.tableId,"-page-size-options"),t.Y8G("disabled",G.nodePageDefs[H.pageId][v.tableId].disablePageSize),t.R50("ngModel",v.recordsPerPage),t.R7$(),t.Y8G("ngForOf",G.pageSizeOptions),t.R7$(4),t.FCK("name","",H.pageId,"",v.tableId,"-sort-by"),t.R50("ngModel",v.sortBy),t.R7$(),t.Y8G("ngForOf",v.columnSelection),t.R7$(4),t.FCK("name","",H.pageId,"",v.tableId,"-sort-order"),t.R50("ngModel",v.sortOrder),t.R7$(),t.Y8G("ngForOf",G.sortOrders),t.R7$(),t.Y8G("ngIf",G.screenSize!==G.screenSizeEnum.XS),t.R7$(4),t.FCK("name","",H.pageId,"",v.tableId,"-columns-selection-sm"),t.R50("ngModel",v.columnSelectionSM),t.R7$(),t.Y8G("ngForOf",G.nodePageDefs[H.pageId][v.tableId].allowedColumns),t.R7$(2),t.Y8G("ngClass",t.eq3(27,s1,G.screenSize===G.screenSizeEnum.XS||G.screenSize===G.screenSizeEnum.SM))}}function oa(F,B){if(1&F&&t.eu8(0,14),2&F){const v=t.XpG(2),H=t.sdS(18);t.Y8G("ngTemplateOutlet",H)("ngTemplateOutletContext",t.eq3(2,Es,v.errorMessage))}}function sl(F,B){if(1&F&&(t.j41(0,"mat-expansion-panel",15)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t.EFF(3),t.nI1(4,"camelcaseWithReplace"),t.k0s()(),t.DNE(5,ol,29,29,"div",16)(6,oa,1,4,"ng-container",7),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.Y8G("ngClass",t.eq3(7,l4,(null==H.errorMessage?null:H.errorMessage.page)===v.pageId)),t.R7$(3),t.JRh(t.i5U(4,4,v.pageId,"_")),t.R7$(2),t.Y8G("ngForOf",v.tables),t.R7$(),t.Y8G("ngIf",H.errorMessage&&(null==H.errorMessage?null:H.errorMessage.page)===v.pageId)}}function F2(F,B){if(1&F&&(t.j41(0,"mat-panel-title"),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&F){const v=t.XpG().error;t.R7$(),t.SpI("Page ",t.bMT(2,1,v.page),"")}}function N2(F,B){if(1&F&&(t.j41(0,"mat-list-item")(1,"mat-icon",39),t.EFF(2,"close"),t.k0s(),t.j41(3,"span"),t.EFF(4),t.k0s()()),2&F){const v=t.XpG().error;t.R7$(4),t.JRh(v.message)}}function d4(F,B){if(1&F&&(t.j41(0,"mat-list-item")(1,"mat-icon",39),t.EFF(2,"close"),t.k0s(),t.j41(3,"span"),t.EFF(4),t.nI1(5,"titlecase"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(4),t.Lme("Table ",t.bMT(5,2,v.table)," ",v.message,"")}}function Ku(F,B){if(1&F&&(t.j41(0,"div",35),t.DNE(1,F2,3,3,"mat-panel-title",36),t.j41(2,"mat-list",37),t.DNE(3,N2,5,1,"mat-list-item",36)(4,d4,6,4,"mat-list-item",38),t.k0s()()),2&F){const v=B.error,H=t.XpG();t.Y8G("ngClass",t.eq3(4,I2,"unknown"===H.errorMessage.page)),t.R7$(),t.Y8G("ngIf","unknown"===H.errorMessage.page),t.R7$(2),t.Y8G("ngIf",v.message),t.R7$(),t.Y8G("ngForOf",v.tables)}}let $u=(()=>{class F{constructor(v,H,G,Oe){this.logger=v,this.commonService=H,this.store=G,this.actions=Oe,this.faPenRuler=qi.$$g,this.faExclamationTriangle=qi.zpE,this.screenSize="",this.screenSizeEnum=Wt.f7,this.pageSizeOptions=Wt.xp,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=Wt.jG,this.apiCallStatus=null,this.apiCallStatusEnum=Wt.wn,this.errorMessage=null,this.unSubs=[new Xi.B,new Xi.B,new Xi.B,new Xi.B],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{switch(this.selNode=v,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],Wt.mu),this.defaultSettings=Object.assign([],Wt.mu),this.nodePageDefs=Wt.Jd,this.store.select(ns.av).pipe((0,dn.Q)(this.unSubs[1]),(0,rc.E)(this.store.select(vr._c))).subscribe(([H,G])=>{const Oe=JSON.parse(JSON.stringify(H.pageSettings));if(this.errorMessage=null,this.apiCallStatus=H.apiCallStatus,this.apiCallStatus.status===Wt.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Oe,this.initialPageSettings=Oe;else{if(!G?.settings.enableOffers){const kt=Oe.find(ui=>"transactions"===ui.pageId),At=kt?.tables.findIndex(ui=>"offers"===ui.tableId),oi=kt?.tables.findIndex(ui=>"offer_bookmarks"===ui.tableId);At>-1&&kt?.tables.splice(At,1),oi>-1&&kt?.tables.splice(oi,1)}if(!G?.settings.enablePeerswap){const kt=Oe.findIndex(At=>"peerswap"===At.pageId);kt>-1&&Oe.splice(kt,1)}this.pageSettings=Oe,this.initialPageSettings=Oe}this.logger.info(Oe)}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,Cr.p)(H=>H.type===Wt.TC.UPDATE_API_CALL_STATUS_CLN||H.type===Wt.TC.SAVE_PAGE_SETTINGS_CLN)).subscribe(H=>{H.type===Wt.TC.UPDATE_API_CALL_STATUS_CLN&&H.payload.status===Wt.wn.ERROR&&"SavePageSettings"===H.payload.action&&(this.errorMessage=JSON.parse(H.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],Wt.X8),this.defaultSettings=Object.assign([],Wt.X8),this.nodePageDefs=Wt.WW,this.store.select(Xu.jZ).pipe((0,dn.Q)(this.unSubs[1])).subscribe(H=>{const G=JSON.parse(JSON.stringify(H.pageSettings));this.errorMessage=null,this.apiCallStatus=H.apiCallStatus,this.apiCallStatus.status===Wt.wn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=G,this.initialPageSettings=G):(this.pageSettings=G,this.initialPageSettings=G),this.logger.info(G)}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,Cr.p)(H=>H.type===Wt.Uu.UPDATE_API_CALL_STATUS_ECL||H.type===Wt.Uu.SAVE_PAGE_SETTINGS_ECL)).subscribe(H=>{H.type===Wt.Uu.UPDATE_API_CALL_STATUS_ECL&&H.payload.status===Wt.wn.ERROR&&"SavePageSettings"===H.payload.action&&(this.errorMessage=JSON.parse(H.payload.message))});break;default:this.initialPageSettings=Object.assign([],Wt.ZC),this.defaultSettings=Object.assign([],Wt.ZC),this.nodePageDefs=Wt._1,this.store.select(uc.$G).pipe((0,dn.Q)(this.unSubs[1]),(0,rc.E)(this.store.select(vr._c))).subscribe(([H,G])=>{const Oe=JSON.parse(JSON.stringify(H.pageSettings));if(this.errorMessage=null,this.apiCallStatus=H.apiCallStatus,this.apiCallStatus.status===Wt.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Oe,this.initialPageSettings=Oe;else{if(!G?.settings.swapServerUrl||""===G.settings.swapServerUrl.trim()){const kt=Oe.findIndex(At=>"loop"===At.pageId);kt>-1&&Oe.splice(kt,1)}if(!G?.settings.boltzServerUrl||""===G.settings.boltzServerUrl.trim()){const kt=Oe.findIndex(At=>"boltz"===At.pageId);kt>-1&&Oe.splice(kt,1)}if(!G?.settings.enablePeerswap){const kt=Oe.findIndex(At=>"peerswap"===At.pageId);kt>-1&&Oe.splice(kt,1)}this.pageSettings=Oe,this.initialPageSettings=Oe}this.logger.info(Oe)}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,Cr.p)(H=>H.type===Wt.QP.UPDATE_API_CALL_STATUS_LND||H.type===Wt.QP.SAVE_PAGE_SETTINGS_LND)).subscribe(H=>{H.type===Wt.QP.UPDATE_API_CALL_STATUS_LND&&H.payload.status===Wt.wn.ERROR&&"SavePageSettings"===H.payload.action&&(this.errorMessage=JSON.parse(H.payload.message))})}})}oncolumnSelectionChange(v){v.columnSelection&&(!v.sortBy||!v.columnSelection.includes(v.sortBy))&&(v.sortBy=v.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((v,H)=>v||H.tables.reduce((G,Oe)=>!(Oe.recordsPerPage&&Oe.sortBy&&Oe.sortOrder&&Oe.columnSelection&&Oe.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,La.Sn)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,Ha.Sn)({payload:this.pageSettings}));break;default:this.store.dispatch((0,Oa.Sn)({payload:this.pageSettings}))}}onTableReset(v,H){const G=this.pageSettings.findIndex(At=>At.pageId===v),Oe=this.pageSettings[G].tables.findIndex(At=>At.tableId===H.tableId),kt=this.defaultSettings.find(At=>At.pageId===v)?.tables.find(At=>At.tableId===H.tableId)||this.pageSettings.find(At=>At.pageId===v)?.tables.find(At=>At.tableId===H.tableId);this.pageSettings[G].tables.splice(Oe,1,kt)}onResetPageSettings(v){"current"===v?(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(v=>{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(is.h),t.rXU(Pi.il),t.rXU(it.En))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",2)(1,"form",3,0)(3,"div",4),t.nrm(4,"fa-icon",5),t.j41(5,"span",6),t.EFF(6,"Grid Settings"),t.k0s()(),t.DNE(7,Ol,1,4,"ng-container",7),t.j41(8,"mat-accordion",8),t.DNE(9,sl,7,9,"mat-expansion-panel",9),t.k0s()(),t.j41(10,"div",10)(11,"button",11),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onResetPageSettings("current"))}),t.EFF(12,"Reset"),t.k0s(),t.j41(13,"button",12),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onResetPageSettings("default"))}),t.EFF(14,"Reset to Default"),t.k0s(),t.j41(15,"button",13),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onUpdatePageSettings())}),t.EFF(16,"Save"),t.k0s()()(),t.DNE(17,Ku,5,6,"ng-template",null,1,t.C5r)}2&H&&(t.R7$(4),t.Y8G("icon",G.faPenRuler),t.R7$(3),t.Y8G("ngIf",G.errorMessage&&"unknown"===G.errorMessage.page),t.R7$(2),t.Y8G("ngForOf",G.pageSettings))},dependencies:[si.YU,si.Sq,si.bT,si.T3,De.qT,De.BC,De.cb,De.YS,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,Go.PW,be.$z,be.iY,Br.BS,Br.GK,Br.Z2,Br.WN,Vc.An,Ne.rl,Ne.nJ,hc.jt,hc.YE,ft.VO,Rt.wT,Sc.oV,Jt.Ld,si.PV,Uc.VD,Uc.Qu],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]})}}return F})();function l1(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.setActiveLink(G.links[0].link))}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[0].link),t.Y8G("active",v.activeLink===v.links[0].link),t.R7$(),t.JRh(v.links[0].name)}}function Lc(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",12),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.setActiveLink(G.links[1].link))}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[1].link),t.Y8G("active",v.activeLink===v.links[1].link),t.R7$(),t.JRh(v.links[1].name)}}function h4(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",13),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.setActiveLink(G.links[2].link))}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[2].link),t.Y8G("active",v.activeLink===v.links[2].link),t.R7$(),t.JRh(v.links[2].name)}}let o0=(()=>{class F{constructor(v,H,G){this.store=v,this.router=H,this.activatedRoute=G,this.faLayerGroup=qi.qIE,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"noservice",name:"No Service"}],this.activeLink="",this.unSubs=[new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.setActiveLink(),this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.selNode=v,this.setActiveLink(),this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})})}setActiveLink(v){if(v&&""!==v)this.activeLink=v;else{const H=this.links.find(G=>this.router.url.includes(G.link));this.activeLink=H?this.selNode&&"CLN"===this.selNode.lnImplementation?this.links[1].link:H.link:this.links[this.links.length-1].link}}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Pi.il),t.rXU(Nn.Ix),t.rXU(Nn.nX))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H&&(t.j41(0,"div",1)(1,"div",2),t.nrm(2,"fa-icon",3),t.j41(3,"span",4),t.EFF(4,"Services"),t.k0s()()(),t.j41(5,"div",5)(6,"mat-card")(7,"mat-card-content",5)(8,"nav",6),t.DNE(9,l1,2,3,"div",7)(10,Lc,2,3,"div",8)(11,h4,2,3,"div",9),t.k0s(),t.nrm(12,"mat-tab-nav-panel",null,0),t.j41(14,"div",10),t.nrm(15,"router-outlet"),t.k0s()()()()),2&H){const Oe=t.sdS(13);t.R7$(2),t.Y8G("icon",G.faLayerGroup),t.R7$(6),t.Y8G("tabPanel",Oe),t.R7$(),t.Y8G("ngIf","LND"===G.selNode.lnImplementation),t.R7$(),t.Y8G("ngIf","ECL"!==G.selNode.lnImplementation),t.R7$(),t.Y8G("ngIf","ECL"===G.selNode.lnImplementation)}},dependencies:[si.bT,Qr.aY,$i.DJ,$i.sA,$i.UI,Mr.RN,Mr.m2,la.Bu,la.hQ,la.Ql,Nn.n3,Nn.Wk]})}}return F})();const xd=["form"];function Cd(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Loop server URL is required."),t.k0s())}function s0(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Specify the loop server url with 'https://'."),t.k0s())}function Gc(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Loop macaroon path is required."),t.k0s())}let d1=(()=>{class F{constructor(v,H){this.logger=v,this.store=H,this.faInfoCircle=qi.iW_,this.enableLoop=!1,this.unSubs=[new Xi.B,new Xi.B]}ngOnInit(){this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.selNode=v,this.enableLoop=!(!v.settings.swapServerUrl||""===v.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(v)})}onEnableServiceChanged(v){this.enableLoop=v.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,Sn.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(v=>{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(Pi.il))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-loop-service-settings"]],viewQuery:function(H,G){if(1&H&&t.GBs(xd,7),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.form=Oe.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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",2)(1,"div",3),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.EFF(4,"Please ensure that "),t.j41(5,"strong"),t.EFF(6,"loopd"),t.k0s(),t.EFF(7," is running and accessible to RTL before enabling this service. Click "),t.j41(8,"strong")(9,"a",5),t.EFF(10,"here"),t.k0s()(),t.EFF(11," to learn more about the installation."),t.k0s()(),t.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.enableLoop,At)||(G.enableLoop=At),t.Njj(At)}),t.bIt("change",function(At){return t.eBV(Oe),t.Njj(G.onEnableServiceChanged(At))}),t.EFF(16,"Enable Loop Service"),t.k0s(),t.j41(17,"mat-form-field",9)(18,"mat-label"),t.EFF(19,"Loop Server URL"),t.k0s(),t.j41(20,"input",10,1),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.settings.swapServerUrl,At)||(G.selNode.settings.swapServerUrl=At),t.Njj(At)}),t.k0s(),t.j41(22,"mat-hint"),t.EFF(23,"Service url for loop server REST APIs, eg. https://127.0.0.1:8081"),t.k0s(),t.DNE(24,Cd,2,0,"mat-error",11)(25,s0,2,0,"mat-error",11),t.k0s(),t.j41(26,"mat-form-field")(27,"mat-label"),t.EFF(28,"Loop Macaroon Path"),t.k0s(),t.j41(29,"input",12),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.authentication.swapMacaroonPath,At)||(G.selNode.authentication.swapMacaroonPath=At),t.Njj(At)}),t.k0s(),t.j41(30,"mat-hint"),t.EFF(31,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),t.k0s(),t.DNE(32,Gc,2,0,"mat-error",11),t.k0s()()(),t.j41(33,"div",13)(34,"button",14),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onReset())}),t.EFF(35,"Reset"),t.k0s(),t.j41(36,"button",15),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onUpdateService())}),t.EFF(37,"Update"),t.k0s()()()}if(2&H){const Oe=t.sdS(21);t.R7$(2),t.Y8G("icon",G.faInfoCircle),t.R7$(13),t.R50("ngModel",G.enableLoop),t.R7$(5),t.Y8G("required",G.enableLoop)("disabled",!G.enableLoop),t.R50("ngModel",G.selNode.settings.swapServerUrl),t.R7$(4),t.Y8G("ngIf",!G.selNode.settings.swapServerUrl&&G.enableLoop),t.R7$(),t.Y8G("ngIf",(null==Oe||null==Oe.errors?null:Oe.errors.invalid)&&G.enableLoop),t.R7$(4),t.Y8G("required",G.enableLoop)("disabled",!G.enableLoop),t.R50("ngModel",G.selNode.authentication.swapMacaroonPath),t.R7$(3),t.Y8G("ngIf",!G.selNode.authentication.swapMacaroonPath&&G.enableLoop)}},dependencies:[si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,be.$z,Ta.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,Rl.sG,Jt.Ld,Mi.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return F})();const h1=["form"];function cl(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Boltz server URL is required."),t.k0s())}function wd(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Specify the boltz server url with 'https://'."),t.k0s())}function ll(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Boltz macaroon path is required."),t.k0s())}let c0=(()=>{class F{constructor(v,H){this.logger=v,this.store=H,this.faInfoCircle=qi.iW_,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new Xi.B,new Xi.B]}ngOnInit(){this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.selNode=v,this.enableBoltz=!(!v.settings.boltzServerUrl||""===v.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(v)})}onEnableServiceChanged(v){this.enableBoltz=v.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,Sn.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(v=>{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(Pi.il))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(H,G){if(1&H&&t.GBs(h1,7),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.form=Oe.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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",2)(1,"div",3),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.EFF(4,"Please ensure that "),t.j41(5,"strong"),t.EFF(6,"boltzd"),t.k0s(),t.EFF(7," is running and accessible to RTL before enabling this service. Click "),t.j41(8,"strong")(9,"a",5),t.EFF(10,"here"),t.k0s()(),t.EFF(11," to learn more about the installation."),t.k0s()(),t.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.enableBoltz,At)||(G.enableBoltz=At),t.Njj(At)}),t.bIt("change",function(At){return t.eBV(Oe),t.Njj(G.onEnableServiceChanged(At))}),t.EFF(16,"Enable Boltz Service"),t.k0s(),t.j41(17,"mat-form-field",9)(18,"mat-label"),t.EFF(19,"Boltz Server URL"),t.k0s(),t.j41(20,"input",10,1),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.serverUrl,At)||(G.serverUrl=At),t.Njj(At)}),t.k0s(),t.j41(22,"mat-hint"),t.EFF(23,"Service url for boltz server REST APIs, eg. https://127.0.0.1:9003"),t.k0s(),t.DNE(24,cl,2,0,"mat-error",11)(25,wd,2,0,"mat-error",11),t.k0s(),t.j41(26,"mat-form-field")(27,"mat-label"),t.EFF(28,"Boltz Macaroon Path"),t.k0s(),t.j41(29,"input",12),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.macaroonPath,At)||(G.macaroonPath=At),t.Njj(At)}),t.k0s(),t.j41(30,"mat-hint"),t.EFF(31,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),t.k0s(),t.DNE(32,ll,2,0,"mat-error",11),t.k0s()()(),t.j41(33,"div",13)(34,"button",14),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onReset())}),t.EFF(35,"Reset"),t.k0s(),t.j41(36,"button",15),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onUpdateService())}),t.EFF(37,"Update"),t.k0s()()()}if(2&H){const Oe=t.sdS(21);t.R7$(2),t.Y8G("icon",G.faInfoCircle),t.R7$(13),t.R50("ngModel",G.enableBoltz),t.R7$(5),t.Y8G("required",G.enableBoltz)("disabled",!G.enableBoltz),t.R50("ngModel",G.serverUrl),t.R7$(4),t.Y8G("ngIf",(!G.serverUrl||""===G.serverUrl.trim())&&G.enableBoltz),t.R7$(),t.Y8G("ngIf",(null==Oe||null==Oe.errors?null:Oe.errors.invalid)&&G.enableBoltz),t.R7$(4),t.Y8G("required",G.enableBoltz)("disabled",!G.enableBoltz),t.R50("ngModel",G.macaroonPath),t.R7$(3),t.Y8G("ngIf",!G.macaroonPath&&G.enableBoltz)}},dependencies:[si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,be.$z,Ta.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,Rl.sG,Jt.Ld,Mi.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return F})(),P2=(()=>{class F{constructor(){}static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(H,G){1&H&&t.nrm(0,"router-outlet")},dependencies:[Nn.n3]})}}return F})();var z2=g(8711),B2=g(4104),Md=g(6695),u1=g(2042),Vr=g(9159),Ed=g(7575);const Fl=()=>["all"],f1=F=>({"overflow-auto error-border":F,"overflow-auto":!0}),Nl=()=>["no_swap"],l0=F=>({width:F}),dl=F=>({"display-none":F});function Pl(F,B){if(1&F&&(t.j41(0,"mat-option",37),t.EFF(1),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.Y8G("value",v),t.R7$(),t.JRh(H.getLabel(v))}}function V2(F,B){1&F&&t.nrm(0,"mat-progress-bar",38)}function hl(F,B){1&F&&(t.j41(0,"th",39),t.EFF(1,"State"),t.k0s())}function m1(F,B){if(1&F&&(t.j41(0,"td",40),t.EFF(1),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.JRh(H.LoopStateEnum[null==v?null:v.state])}}function Qu(F,B){1&F&&(t.j41(0,"th",39),t.EFF(1,"Initiation Time"),t.k0s())}function p1(F,B){if(1&F&&(t.j41(0,"td",40),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&F){const v=B.$implicit;t.R7$(),t.JRh(t.i5U(2,1,(null==v?null:v.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function d0(F,B){1&F&&(t.j41(0,"th",39),t.EFF(1,"Last Update Time"),t.k0s())}function ps(F,B){if(1&F&&(t.j41(0,"td",40),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&F){const v=B.$implicit;t.R7$(),t.JRh(t.i5U(2,1,(null==v?null:v.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function Zu(F,B){1&F&&(t.j41(0,"th",41),t.EFF(1,"Amount (Sats)"),t.k0s())}function Sd(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",42),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==v?null:v.amt))}}function eo(F,B){1&F&&(t.j41(0,"th",41),t.EFF(1,"Cost Server (Sats)"),t.k0s())}function U2(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",42),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==v?null:v.cost_server))}}function Td(F,B){1&F&&(t.j41(0,"th",41),t.EFF(1,"Cost Offchain (Sats)"),t.k0s())}function Dr(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",42),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==v?null:v.cost_offchain))}}function G2(F,B){1&F&&(t.j41(0,"th",41),t.EFF(1,"Cost Onchain (Sats)"),t.k0s())}function zl(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",42),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.SpI(" ",t.bMT(3,1,null==v?null:v.cost_onchain)," ")}}function Bl(F,B){1&F&&(t.j41(0,"th",39),t.EFF(1,"HTLC Address"),t.k0s())}function h0(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",43)(2,"span",44),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,l0,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.htlc_address)}}function H2(F,B){1&F&&(t.j41(0,"th",39),t.EFF(1,"ID"),t.k0s())}function Ju(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",43)(2,"span",44),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,l0,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.id)}}function Ld(F,B){1&F&&(t.j41(0,"th",39),t.EFF(1,"ID (Bytes)"),t.k0s())}function ul(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",43)(2,"span",44),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,l0,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.id_bytes)}}function j2(F,B){if(1&F){const v=t.RV6();t.j41(0,"th",45)(1,"div",46)(2,"mat-select",47),t.nrm(3,"mat-select-trigger"),t.j41(4,"mat-option",48),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onDownloadCSV())}),t.EFF(5,"Download CSV"),t.k0s()()()()}}function g1(F,B){if(1&F){const v=t.RV6();t.j41(0,"td",49)(1,"button",50),t.bIt("click",function(G){const Oe=t.eBV(v).$implicit,kt=t.XpG();return t.Njj(kt.onSwapClick(Oe,G))}),t.EFF(2,"View Info"),t.k0s()()}}function W2(F,B){if(1&F&&(t.j41(0,"p"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.JRh(v.emptyTableMessage)}}function Vl(F,B){if(1&F&&(t.j41(0,"td",51),t.DNE(1,W2,2,1,"p",52),t.k0s()),2&F){const v=t.XpG();t.R7$(),t.Y8G("ngIf",!(null!=v.listSwaps&&v.listSwaps.data)||(null==v.listSwaps||null==v.listSwaps.data?null:v.listSwaps.data.length)<1)}}function Ul(F,B){if(1&F&&t.nrm(0,"tr",53),2&F){const v=t.XpG();t.Y8G("ngClass",t.eq3(1,dl,(null==v.listSwaps?null:v.listSwaps.data)&&(null==v.listSwaps||null==v.listSwaps.data?null:v.listSwaps.data.length)>0))}}function to(F,B){1&F&&t.nrm(0,"tr",54)}function qu(F,B){1&F&&t.nrm(0,"tr",55)}let _1=(()=>{class F{constructor(v,H,G,Oe,kt,At){this.logger=v,this.commonService=H,this.store=G,this.loopService=Oe,this.datePipe=kt,this.camelCaseWithReplace=At,this.selectedSwapType=Wt.C7.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Wt._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:Wt.md,sortBy:"initiation_time",sortOrder:Wt.oi.DESCENDING},this.LoopStateEnum=Wt.Hx,this.faHistory=qi.Int,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new Vr.I6([]),this.selFilter="",this.pageSize=Wt.md,this.pageSizeOptions=Wt.xp,this.screenSize="",this.screenSizeEnum=Wt.f7,this.unSubs=[new Xi.B,new Xi.B,new Xi.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(v){this.swapCaption=this.selectedSwapType===Wt.C7.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(uc.$G).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.tableSetting=v.pageSettings.find(H=>H.pageId===this.PAGE_ID)?.tables.find(H=>H.tableId===this.tableSetting.tableId)||Wt.ZC.find(H=>H.pageId===this.PAGE_ID)?.tables.find(H=>H.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===Wt.f7.XS||this.screenSize===Wt.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:Wt.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(v){const H=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(G=>G.column===v);return H?H.label?H.label:this.camelCaseWithReplace.transform(H.column,"_"):this.commonService.titleCase(v)}setFilterPredicate(){this.listSwaps.filterPredicate=(v,H)=>{let G="";switch(this.selFilterBy){case"all":G=JSON.stringify(v).toLowerCase();break;case"state":G=v?.state?this.LoopStateEnum[v?.state]:"";break;case"initiation_time":case"last_update_time":G=this.datePipe.transform(new Date((v[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:G=typeof v[this.selFilterBy]>"u"?"":"string"==typeof v[this.selFilterBy]?v[this.selFilterBy].toLowerCase():"boolean"==typeof v[this.selFilterBy]?v[this.selFilterBy]?"yes":"no":v[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===G.indexOf(H):G.includes(H)}}onSwapClick(v,H){this.loopService.getSwap(v.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,dn.Q)(this.unSubs[1])).subscribe(G=>{this.store.dispatch((0,Sn.xO)({payload:{data:{type:Wt.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:Wt.Hx[G.state||""],title:"Status",width:50,type:Wt.UN.STRING},{key:"amt",value:G.amt,title:"Amount (Sats)",width:50,type:Wt.UN.NUMBER}],[{key:"initiation_time",value:(G.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:Wt.UN.DATE_TIME},{key:"last_update_time",value:(G.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:Wt.UN.DATE_TIME}],[{key:"cost_server",value:G.cost_server,title:"Server Cost (Sats)",width:33,type:Wt.UN.NUMBER},{key:"cost_offchain",value:G.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:Wt.UN.NUMBER},{key:"cost_onchain",value:G.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:Wt.UN.NUMBER}],[{key:"id_bytes",value:G.id_bytes,title:"ID",width:100,type:Wt.UN.STRING}],[{key:"htlc_address",value:G.htlc_address,title:"HTLC Address",width:100,type:Wt.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(v){this.listSwaps=new Vr.I6([...v]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(H,G)=>H[G]&&isNaN(H[G])?H[G].toLocaleLowerCase():H[G]?+H[G]: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===Wt.C7.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(is.h),t.rXU(Pi.il),t.rXU(B2.Q),t.rXU(si.vh),t.rXU(Uc.VD))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-swaps"]],viewQuery:function(H,G){if(1&H&&(t.GBs(u1.B4,5),t.GBs(Md.iy,5)),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.sort=Oe.first),t.mGM(Oe=t.lsd())&&(G.paginator=Oe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t.Jv_([{provide:ft.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Md.xX,useValue:(0,Wt.on)("Swaps")}]),t.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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"div",3),t.nrm(3,"fa-icon",4),t.j41(4,"span",5),t.EFF(5),t.k0s()(),t.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),t.EFF(9,"Filter By"),t.k0s(),t.j41(10,"mat-select",8),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selFilterBy,At)||(G.selFilterBy=At),t.Njj(At)}),t.bIt("selectionChange",function(){return t.eBV(Oe),G.selFilter="",t.Njj(G.applyFilter())}),t.j41(11,"perfect-scrollbar"),t.DNE(12,Pl,2,2,"mat-option",9),t.k0s()()(),t.j41(13,"mat-form-field",7)(14,"mat-label"),t.EFF(15,"Filter"),t.k0s(),t.j41(16,"input",10),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selFilter,At)||(G.selFilter=At),t.Njj(At)}),t.bIt("input",function(){return t.eBV(Oe),t.Njj(G.applyFilter())})("keyup",function(){return t.eBV(Oe),t.Njj(G.applyFilter())}),t.k0s()()()(),t.j41(17,"div",11)(18,"div",12),t.DNE(19,V2,1,0,"mat-progress-bar",13),t.j41(20,"table",14,0),t.qex(22,15),t.DNE(23,hl,2,0,"th",16)(24,m1,2,1,"td",17),t.bVm(),t.qex(25,18),t.DNE(26,Qu,2,0,"th",16)(27,p1,3,4,"td",17),t.bVm(),t.qex(28,19),t.DNE(29,d0,2,0,"th",16)(30,ps,3,4,"td",17),t.bVm(),t.qex(31,20),t.DNE(32,Zu,2,0,"th",21)(33,Sd,4,3,"td",17),t.bVm(),t.qex(34,22),t.DNE(35,eo,2,0,"th",21)(36,U2,4,3,"td",17),t.bVm(),t.qex(37,23),t.DNE(38,Td,2,0,"th",21)(39,Dr,4,3,"td",17),t.bVm(),t.qex(40,24),t.DNE(41,G2,2,0,"th",21)(42,zl,4,3,"td",17),t.bVm(),t.qex(43,25),t.DNE(44,Bl,2,0,"th",16)(45,h0,4,4,"td",17),t.bVm(),t.qex(46,26),t.DNE(47,H2,2,0,"th",16)(48,Ju,4,4,"td",17),t.bVm(),t.qex(49,27),t.DNE(50,Ld,2,0,"th",16)(51,ul,4,4,"td",17),t.bVm(),t.qex(52,28),t.DNE(53,j2,6,0,"th",29)(54,g1,3,0,"td",30),t.bVm(),t.qex(55,31),t.DNE(56,Vl,2,1,"td",32),t.bVm(),t.DNE(57,Ul,1,3,"tr",33)(58,to,1,0,"tr",34)(59,qu,1,0,"tr",35),t.k0s(),t.nrm(60,"mat-paginator",36),t.k0s()()()}2&H&&(t.R7$(3),t.Y8G("icon",G.faHistory),t.R7$(2),t.SpI("",G.swapCaption," History"),t.R7$(5),t.R50("ngModel",G.selFilterBy),t.R7$(2),t.Y8G("ngForOf",t.lJ4(16,Fl).concat(G.displayedColumns.slice(0,-1))),t.R7$(4),t.R50("ngModel",G.selFilter),t.R7$(3),t.Y8G("ngIf",!0===G.flgLoading[0]),t.R7$(),t.Y8G("matSortActive",G.tableSetting.sortBy)("matSortDirection",G.tableSetting.sortOrder)("dataSource",G.listSwaps)("ngClass",t.eq3(17,f1,"error"===G.flgLoading[0])),t.R7$(37),t.Y8G("matFooterRowDef",t.lJ4(19,Nl)),t.R7$(),t.Y8G("matHeaderRowDef",G.displayedColumns),t.R7$(),t.Y8G("matRowDefColumns",G.displayedColumns),t.R7$(),t.Y8G("pageSize",G.pageSize)("pageSizeOptions",G.pageSizeOptions)("showFirstLastButtons",G.screenSize!==G.screenSizeEnum.XS))},dependencies:[si.YU,si.Sq,si.bT,si.B3,De.me,De.BC,De.vS,Qr.aY,$i.DJ,$i.sA,$i.UI,Go.PW,Go.eI,be.$z,Ta.fg,Ne.rl,Ne.nJ,Ed.HM,ft.VO,ft.$2,Rt.wT,u1.B4,u1.aE,Vr.Zl,Vr.tL,Vr.ji,Vr.cC,Vr.YV,Vr.iL,Vr.Zq,Vr.xW,Vr.KS,Vr.$R,Vr.Qo,Vr.YZ,Vr.NB,Vr.iF,Md.iy,Jt.ZF,Jt.Ld,si.QX,si.vh]})}}return F})();const u0=F=>["../",F];function X2(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG();return t.Njj(Oe.onSelectedIndexChange(G))}),t.EFF(1),t.k0s()}if(2&F){const v=B.$implicit,H=t.XpG();t.Y8G("active",H.activeTab.link===v.link)("routerLink",t.eq3(3,u0,v.link)),t.R7$(),t.JRh(v.name)}}let Y2=(()=>{class F{constructor(v,H,G){this.router=v,this.loopService=H,this.store=G,this.faInfinity=qi.C8j,this.loopInfo=null,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=Wt.C7,this.selectedSwapType=Wt.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 Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.store.dispatch((0,Sn.mt)({payload:Wt.MZ.GET_LOOP_INFO})),this.loopService.getLoopInfo().pipe((0,dn.Q)(this.unSubs[4])).subscribe({next:H=>{this.store.dispatch((0,Sn.y0)({payload:Wt.MZ.GET_LOOP_INFO})),this.loopInfo=H,this.loopInfo&&this.loopInfo.version&&(this.loopInfo.version=this.loopInfo.version.split(" ")[0])},error:H=>{this.store.dispatch((0,Sn.y0)({payload:Wt.MZ.GET_LOOP_INFO})),this.loopInfo.version=" Unknown"}}),this.loopService.listSwaps();const v=this.links.find(H=>this.router.url.includes(H.link));this.activeTab=v||this.links[0],this.selectedSwapType=v&&"loopin"===v.link?Wt.C7.LOOP_IN:Wt.C7.LOOP_OUT,this.router.events.pipe((0,dn.Q)(this.unSubs[0]),(0,Cr.p)(H=>H instanceof Nn.gx)).subscribe({next:H=>{const G=this.links.find(Oe=>H.urlAfterRedirects.includes(Oe.link));this.activeTab=G||this.links[0],this.selectedSwapType=G&&"loopin"===G.link?Wt.C7.LOOP_IN:Wt.C7.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,dn.Q)(this.unSubs[1])).subscribe({next:H=>{this.flgLoading[0]=!1,this.storedSwaps=H,this.filteredSwaps=this.storedSwaps?.filter(G=>G.type===this.selectedSwapType)},error:H=>{this.flgLoading[0]="error",this.emptyTableMessage=H.message?H.message:"No loop "+(this.selectedSwapType===Wt.C7.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(v){this.selectedSwapType="loopin"===v.link?Wt.C7.LOOP_IN:Wt.C7.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(H=>H.type===this.selectedSwapType)}onLoop(v){v===Wt.C7.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,dn.Q)(this.unSubs[2])).subscribe({next:H=>{this.store.dispatch((0,Sn.xO)({payload:{data:{minQuote:H[0],maxQuote:H[1],direction:v,component:z2.D}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,dn.Q)(this.unSubs[3])).subscribe({next:H=>{this.store.dispatch((0,Sn.xO)({payload:{data:{minQuote:H[0],maxQuote:H[1],direction:v,component:z2.D}}}))}})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Nn.Ix),t.rXU(B2.Q),t.rXU(Pi.il))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1),t.nrm(1,"fa-icon",2),t.j41(2,"span",3),t.EFF(3),t.k0s()(),t.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6),t.DNE(8,X2,2,5,"div",7),t.k0s(),t.nrm(9,"mat-tab-nav-panel",null,0),t.j41(11,"div",8)(12,"button",9),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onLoop(G.selectedSwapType))}),t.EFF(13),t.k0s()(),t.nrm(14,"rtl-swaps",10),t.k0s()()()}if(2&H){const Oe=t.sdS(10);t.R7$(),t.Y8G("icon",G.faInfinity),t.R7$(2),t.SpI("Loop (v",(null==G.loopInfo?null:G.loopInfo.version)||" Unknown",")"),t.R7$(4),t.Y8G("tabPanel",Oe),t.R7$(),t.Y8G("ngForOf",G.links),t.R7$(5),t.SpI("Start ",G.activeTab.name,""),t.R7$(),t.Y8G("selectedSwapType",G.selectedSwapType)("swapsData",G.filteredSwaps)("flgLoading",G.flgLoading)("emptyTableMessage",G.emptyTableMessage)}},dependencies:[si.Sq,Qr.aY,$i.DJ,$i.sA,$i.UI,be.$z,Mr.RN,Mr.m2,la.Bu,la.hQ,la.Ql,Nn.Wk,_1]})}}return F})();var v1=g(1001),K2=g(4412),$2=g(8810),Dd=g(2462);let Dc=(()=>{class F{constructor(v,H,G,Oe){this.httpClient=v,this.logger=H,this.store=G,this.commonService=Oe,this.swapUrl="",this.swaps={},this.boltzInfo=null,this.boltzInfoChanged=new K2.t(null),this.swapsChanged=new K2.t({}),this.unSubs=[new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Sn.mt)({payload:Wt.MZ.GET_BOLTZ_SWAPS})),this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,dn.Q)(this.unSubs[0])).subscribe({next:v=>{this.store.dispatch((0,Sn.y0)({payload:Wt.MZ.GET_BOLTZ_SWAPS})),this.swaps=v,this.swapsChanged.next(this.swaps)},error:v=>this.swapsChanged.error(this.handleErrorWithAlert(Wt.MZ.GET_BOLTZ_SWAPS,this.swapUrl,v))})}swapInfo(v){return this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/swapInfo/"+v,this.httpClient.get(this.swapUrl).pipe((0,ca.W)(H=>(0,Dt.of)(this.handleErrorWithAlert(Wt.MZ.NO_SPINNER,this.swapUrl,H))))}getBoltzInfo(){this.store.dispatch((0,Sn.mt)({payload:Wt.MZ.GET_BOLTZ_INFO})),this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/info",this.httpClient.get(this.swapUrl).pipe((0,dn.Q)(this.unSubs[1])).subscribe({next:v=>{this.store.dispatch((0,Sn.y0)({payload:Wt.MZ.GET_BOLTZ_INFO})),this.boltzInfo=v,this.boltzInfoChanged.next(this.boltzInfo)},error:v=>(this.boltzInfo={version:"2.0.0"},this.boltzInfoChanged.next(this.boltzInfo),(0,Dt.of)(this.handleErrorWithoutAlert(Wt.MZ.GET_BOLTZ_INFO,this.swapUrl,v)))})}serviceInfo(){return this.store.dispatch((0,Sn.mt)({payload:Wt.MZ.GET_SERVICE_INFO})),this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,dn.Q)(this.unSubs[2]),(0,Qa.T)(v=>(this.store.dispatch((0,Sn.y0)({payload:Wt.MZ.GET_SERVICE_INFO})),v)),(0,ca.W)(v=>(0,Dt.of)(this.handleErrorWithAlert(Wt.MZ.GET_SERVICE_INFO,this.swapUrl,v))))}swapOut(v,H,G){const Oe={amount:v,address:H,acceptZeroConf:G};return this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Oe).pipe((0,ca.W)(kt=>this.handleErrorWithoutAlert("Swap Out for Address: "+H,Wt.MZ.NO_SPINNER,kt)))}swapIn(v,H){const G={amount:v,sendFromInternal:H};return this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,G).pipe((0,ca.W)(Oe=>this.handleErrorWithoutAlert("Swap In for Amount: "+v,Wt.MZ.NO_SPINNER,Oe)))}handleErrorWithoutAlert(v,H,G){let Oe="";return this.logger.error("ERROR IN: "+v+"\n"+JSON.stringify(G)),this.store.dispatch((0,Sn.y0)({payload:H})),401===G.status?(Oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Sn.ri)({payload:Oe}))):503===G.status?(Oe="Unable to Connect to Boltz Server.",this.store.dispatch((0,Sn.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:G.status,message:"Unable to Connect to Boltz Server",URL:v},component:Dd.f}}}))):Oe=this.commonService.extractErrorMessage(G),(0,$2.$)(()=>new Error(Oe))}handleErrorWithAlert(v,H,G){let Oe="";if(401===G.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Sn.ri)({payload:"Authentication Failed: "+JSON.stringify(G.error)}))),this.logger.error(G),this.store.dispatch((0,Sn.y0)({payload:v})),401===G.status)Oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Sn.ri)({payload:Oe}));else if(503===G.status)Oe="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,Sn.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:G.status,message:"Unable to Connect to Boltz Server",URL:H},component:Dd.f}}}))},100);else{Oe=this.commonService.extractErrorMessage(G);const kt=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;setTimeout(()=>{this.store.dispatch((0,Sn.xO)({payload:{data:{type:Wt.A$.ERROR,alertTitle:"ERROR",message:{code:kt,message:Oe,URL:H},component:Dd.f}}}))},100)}return{message:Oe}}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.KVO(Vo.Qq),t.KVO(ge.gP),t.KVO(Pi.il),t.KVO(is.h))}}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})();const f0=F=>({"display-none":F});function ef(F,B){1&F&&t.eu8(0)}function tf(F,B){if(1&F&&(t.j41(0,"div",4)(1,"span",5),t.EFF(2),t.k0s()()),2&F){const v=t.XpG();t.R7$(2),t.JRh(null!=v.swapStatus&&v.swapStatus.error?null==v.swapStatus?null:v.swapStatus.error:"Unknown Error.")}}function Q2(F,B){if(1&F&&(t.j41(0,"div",7)(1,"h4",8),t.EFF(2,"Routing Fee (mSats)"),t.k0s(),t.j41(3,"span",5),t.EFF(4),t.nI1(5,"number"),t.k0s()()),2&F){const v=t.XpG(2);t.R7$(4),t.JRh(t.bMT(5,1,null==v.swapStatus?null:v.swapStatus.routingFeeMilliSat))}}function Z2(F,B){if(1&F&&(t.j41(0,"div",7)(1,"h4",8),t.EFF(2,"Claim Transaction ID"),t.k0s(),t.j41(3,"span",5),t.EFF(4),t.k0s()()),2&F){const v=t.XpG(2);t.R7$(4),t.JRh(null==v.swapStatus?null:v.swapStatus.claimTransactionId)}}function nf(F,B){if(1&F&&(t.j41(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),t.EFF(4,"ID"),t.k0s(),t.j41(5,"span",5),t.EFF(6),t.k0s()(),t.DNE(7,Q2,6,3,"div",9)(8,Z2,5,1,"div",9),t.k0s(),t.nrm(9,"mat-divider",10),t.j41(10,"div",6)(11,"div",11)(12,"h4",8),t.EFF(13,"Lockup Address"),t.k0s(),t.j41(14,"span",5),t.EFF(15),t.k0s()()()()),2&F){const v=t.XpG();t.R7$(6),t.JRh(null==v.swapStatus?null:v.swapStatus.id),t.R7$(),t.Y8G("ngIf",v.acceptZeroConf),t.R7$(),t.Y8G("ngIf",v.acceptZeroConf),t.R7$(7),t.JRh(null==v.swapStatus?null:v.swapStatus.lockupAddress)}}function J2(F,B){1&F&&(t.j41(0,"span",22),t.EFF(1,"N/A"),t.k0s())}function rf(F,B){1&F&&(t.j41(0,"span",23),t.EFF(1,"QR Code Not Applicable"),t.k0s())}function q2(F,B){1&F&&t.nrm(0,"mat-divider",24),2&F&&t.Y8G("inset",!0)}function u4(F,B){if(1&F&&(t.j41(0,"div",6)(1,"div",11)(2,"h4",8),t.EFF(3,"Transaction ID"),t.k0s(),t.j41(4,"span",5),t.EFF(5),t.k0s()()()),2&F){const v=t.XpG(2);t.R7$(5),t.JRh(null==v.swapStatus?null:v.swapStatus.txId)}}function b1(F,B){if(1&F&&(t.j41(0,"div",6)(1,"div",25)(2,"h4",8),t.EFF(3,"ID"),t.k0s(),t.j41(4,"span",5),t.EFF(5),t.k0s()(),t.j41(6,"div",25)(7,"h4",8),t.EFF(8,"Expected Amount (Sats)"),t.k0s(),t.j41(9,"span",5),t.EFF(10),t.nI1(11,"number"),t.k0s()()()),2&F){const v=t.XpG(2);t.R7$(5),t.JRh(null==v.swapStatus?null:v.swapStatus.id),t.R7$(5),t.JRh(t.bMT(11,2,null==v.swapStatus?null:v.swapStatus.expectedAmount))}}function eh(F,B){1&F&&t.nrm(0,"mat-divider",10)}function Ho(F,B){if(1&F&&(t.j41(0,"div",6)(1,"div",11)(2,"h4",8),t.EFF(3,"Address"),t.k0s(),t.j41(4,"span",5),t.EFF(5),t.k0s()()()),2&F){const v=t.XpG(2);t.R7$(5),t.JRh(null==v.swapStatus?null:v.swapStatus.address)}}function f4(F,B){1&F&&t.nrm(0,"mat-divider",10)}function th(F,B){if(1&F&&(t.j41(0,"div",6)(1,"div",11)(2,"h4",8),t.EFF(3,"BIP 21"),t.k0s(),t.j41(4,"span",5),t.EFF(5),t.k0s()()()),2&F){const v=t.XpG(2);t.R7$(5),t.JRh(null==v.swapStatus?null:v.swapStatus.bip21)}}function m4(F,B){if(1&F&&(t.j41(0,"div",12)(1,"div",13),t.nrm(2,"qr-code",14),t.DNE(3,J2,2,0,"span",15),t.k0s(),t.j41(4,"div",16)(5,"div",4)(6,"div",17),t.nrm(7,"qr-code",14),t.DNE(8,rf,2,0,"span",18),t.k0s(),t.DNE(9,q2,1,1,"mat-divider",19)(10,u4,6,1,"div",20)(11,b1,12,4,"div",20)(12,eh,1,0,"mat-divider",21)(13,Ho,6,1,"div",20)(14,f4,1,0,"mat-divider",21)(15,th,6,1,"div",20),t.k0s()()()),2&F){const v=t.XpG();t.R7$(),t.Y8G("fxLayoutAlign",""!==((null==v.swapStatus?null:v.swapStatus.txId)||(null==v.swapStatus?null:v.swapStatus.address))?"center start":"center center")("ngClass",t.eq3(19,f0,v.screenSize===v.screenSizeEnum.XS||v.screenSize===v.screenSizeEnum.SM)),t.R7$(),t.Y8G("value",(null==v.swapStatus?null:v.swapStatus.txId)||(null==v.swapStatus?null:v.swapStatus.address))("size",v.qrWidth)("errorCorrectionLevel","L"),t.R7$(),t.Y8G("ngIf",""===((null==v.swapStatus?null:v.swapStatus.txId)||(null==v.swapStatus?null:v.swapStatus.address))),t.R7$(3),t.Y8G("fxLayoutAlign",""!==((null==v.swapStatus?null:v.swapStatus.txId)||(null==v.swapStatus?null:v.swapStatus.address))?"center start":"center center")("ngClass",t.eq3(21,f0,v.screenSize!==v.screenSizeEnum.XS&&v.screenSize!==v.screenSizeEnum.SM)),t.R7$(),t.Y8G("value",(null==v.swapStatus?null:v.swapStatus.txId)||(null==v.swapStatus?null:v.swapStatus.address))("size",v.qrWidth)("errorCorrectionLevel","L"),t.R7$(),t.Y8G("ngIf",""===((null==v.swapStatus?null:v.swapStatus.txId)||(null==v.swapStatus?null:v.swapStatus.address))),t.R7$(),t.Y8G("ngIf",v.screenSize===v.screenSizeEnum.XS||v.screenSize===v.screenSizeEnum.SM),t.R7$(),t.Y8G("ngIf",v.sendFromInternal),t.R7$(),t.Y8G("ngIf",!v.sendFromInternal),t.R7$(),t.Y8G("ngIf",!v.sendFromInternal),t.R7$(),t.Y8G("ngIf",!v.sendFromInternal),t.R7$(),t.Y8G("ngIf",!v.sendFromInternal),t.R7$(),t.Y8G("ngIf",!v.sendFromInternal)}}let y1=(()=>{class F{constructor(v){this.commonService=v,this.swapStatus=null,this.direction=Wt.Bd.SWAP_OUT,this.acceptZeroConf=!1,this.sendFromInternal=!0,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=Wt.f7,this.swapTypeEnum=Wt.Bd}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.screenSize===Wt.f7.XS&&(this.qrWidth=180)}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(is.h))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H&&t.DNE(0,ef,1,0,"ng-container",3)(1,tf,3,1,"ng-template",null,0,t.C5r)(3,nf,16,4,"ng-template",null,1,t.C5r)(5,m4,16,23,"ng-template",null,2,t.C5r),2&H){const Oe=t.sdS(2),kt=t.sdS(4),At=t.sdS(6);t.Y8G("ngTemplateOutlet",null!=G.swapStatus&&G.swapStatus.error?Oe:G.direction===G.swapTypeEnum.SWAP_OUT?kt:At)}},dependencies:[si.YU,si.bT,si.T3,$i.DJ,$i.sA,$i.UI,Go.PW,rl.q,Ll.Um,si.QX]})}}return F})(),p4=(()=>{class F{constructor(){this.serviceInfo={},this.direction=Wt.Bd.SWAP_OUT,this.swapTypeEnum=Wt.Bd}static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",1),t.EFF(4,"Service Information"),t.k0s()()(),t.j41(5,"div",2)(6,"div",3)(7,"div",4)(8,"h4",5),t.EFF(9,"Minimum Amount (Sats)"),t.k0s(),t.j41(10,"span",6),t.EFF(11),t.nI1(12,"number"),t.k0s()(),t.j41(13,"div",4)(14,"h4",5),t.EFF(15,"Maximum Amount (Sats)"),t.k0s(),t.j41(16,"span",6),t.EFF(17),t.nI1(18,"number"),t.k0s()()(),t.nrm(19,"mat-divider",7),t.j41(20,"div",3)(21,"div",4)(22,"h4",5),t.EFF(23,"Fee Percentage"),t.k0s(),t.j41(24,"span",6),t.EFF(25),t.nI1(26,"number"),t.k0s()(),t.j41(27,"div",4)(28,"h4",5),t.EFF(29,"Miner Fee (Sats)"),t.k0s(),t.j41(30,"span",6),t.EFF(31),t.nI1(32,"number"),t.k0s()()()()()),2&H&&(t.Y8G("expanded",!0),t.R7$(11),t.JRh(t.bMT(12,5,null==G.serviceInfo||null==G.serviceInfo.limits?null:G.serviceInfo.limits.minimal)),t.R7$(6),t.JRh(t.bMT(18,7,null==G.serviceInfo||null==G.serviceInfo.limits?null:G.serviceInfo.limits.maximal)),t.R7$(8),t.JRh(t.bMT(26,9,null==G.serviceInfo||null==G.serviceInfo.fees?null:G.serviceInfo.fees.percentage)),t.R7$(6),t.JRh(t.bMT(32,11,G.direction===G.swapTypeEnum.SWAP_OUT?null==G.serviceInfo||null==G.serviceInfo.fees||null==G.serviceInfo.fees.miner?null:G.serviceInfo.fees.miner.reverse:null==G.serviceInfo||null==G.serviceInfo.fees||null==G.serviceInfo.fees.miner?null:G.serviceInfo.fees.miner.normal)))},dependencies:[$i.DJ,$i.sA,$i.UI,Br.GK,Br.Z2,Br.WN,rl.q,si.QX]})}}return F})();var x1=g(6949);const Hc=(F,B)=>({"small-svg":F,"large-svg":B});function Gl(F,B){1&F&&t.eu8(0)}function af(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",7),t.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),t.k0s(),t.joV(),t.j41(12,"div",18)(13,"mat-card-title"),t.EFF(14,"Boltz Submarine Swaps explained."),t.k0s()(),t.j41(15,"div",19)(16,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Hc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function ih(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",21),t.nrm(2,"path",22)(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.k0s(),t.joV(),t.j41(9,"div",18)(10,"mat-card-title"),t.EFF(11,"Step 1: Deciding to Submarine Swap"),t.k0s()(),t.j41(12,"div",19)(13,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Hc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function jc(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",29),t.nrm(2,"path",30)(3,"path",31)(4,"path",32)(5,"path",33)(6,"path",34)(7,"circle",35)(8,"rect",36),t.j41(9,"defs")(10,"pattern",37),t.nrm(11,"use",38),t.k0s(),t.nrm(12,"image",39),t.k0s()(),t.joV(),t.j41(13,"div",18)(14,"mat-card-title"),t.EFF(15,"Step 2: Sending the on-chain funds"),t.k0s()(),t.j41(16,"div",19)(17,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Hc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function g4(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",40)(2,"g",41),t.nrm(3,"path",42)(4,"path",43)(5,"path",44)(6,"path",45)(7,"path",46),t.k0s(),t.j41(8,"defs")(9,"clipPath",47),t.nrm(10,"rect",48),t.k0s()()(),t.joV(),t.j41(11,"div",18)(12,"mat-card-title"),t.EFF(13,"Step 3: Receiving the funds on Lightning"),t.k0s()(),t.j41(14,"div",19)(15,"mat-card-subtitle",20),t.EFF(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Hc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function sf(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",49),t.nrm(2,"path",50)(3,"path",51)(4,"path",52)(5,"path",53)(6,"path",54),t.k0s(),t.joV(),t.j41(7,"div",18)(8,"mat-card-title"),t.EFF(9,"Done!"),t.k0s()(),t.j41(10,"div",19)(11,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Hc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}let fc=(()=>{class F{constructor(v){this.commonService=v,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.bkB,this.screenSize="",this.screenSizeEnum=Wt.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(v){2===v.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===v.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(is.h))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H&&t.DNE(0,Gl,1,0,"ng-container",5)(1,af,18,5,"ng-template",null,0,t.C5r)(3,ih,15,5,"ng-template",null,1,t.C5r)(5,jc,19,5,"ng-template",null,2,t.C5r)(7,g4,17,5,"ng-template",null,3,t.C5r)(9,sf,13,5,"ng-template",null,4,t.C5r),2&H){const Oe=t.sdS(2),kt=t.sdS(4),At=t.sdS(6),oi=t.sdS(8),ui=t.sdS(10);t.Y8G("ngTemplateOutlet",1===G.stepNumber?Oe:2===G.stepNumber?kt:3===G.stepNumber?At:4===G.stepNumber?oi:ui)}},dependencies:[si.YU,si.T3,$i.DJ,$i.sA,$i.UI,Go.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:[x1.k]}})}}return F})();const Wc=(F,B)=>({"small-svg":F,"large-svg":B});function nh(F,B){1&F&&t.eu8(0)}function rh(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",7),t.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),t.k0s(),t.joV(),t.j41(12,"div",18)(13,"mat-card-title"),t.EFF(14,"Boltz Reverse Submarine Swap explained."),t.k0s()(),t.j41(15,"div",19)(16,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Wc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function cf(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",21)(2,"g",22),t.nrm(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.k0s(),t.nrm(9,"path",29),t.j41(10,"defs")(11,"clipPath",30),t.nrm(12,"rect",31),t.k0s()()(),t.joV(),t.j41(13,"div",18)(14,"mat-card-title"),t.EFF(15,"Step 1: Deciding to Reverse Submarine Swap"),t.k0s()(),t.j41(16,"div",19)(17,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Wc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function C1(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",32),t.nrm(2,"path",33)(3,"path",34)(4,"path",35)(5,"path",36)(6,"path",37)(7,"circle",38)(8,"rect",39),t.j41(9,"defs")(10,"pattern",40),t.nrm(11,"use",41),t.k0s(),t.nrm(12,"image",42),t.k0s()(),t.joV(),t.j41(13,"div",18)(14,"mat-card-title"),t.EFF(15,"Step 2: Paying the Lightning Invoice"),t.k0s()(),t.j41(16,"div",19)(17,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Wc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function w1(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",43)(2,"g",22),t.nrm(3,"path",44)(4,"path",45)(5,"path",46)(6,"path",47)(7,"path",48),t.k0s(),t.j41(8,"defs")(9,"clipPath",30),t.nrm(10,"rect",49),t.k0s()()(),t.joV(),t.j41(11,"div",18)(12,"mat-card-title"),t.EFF(13,"Step 3: Receiving the funds on-chain"),t.k0s()(),t.j41(14,"div",19)(15,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Wc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function ah(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",50),t.nrm(2,"path",51)(3,"path",52)(4,"path",53)(5,"path",54)(6,"path",55),t.k0s(),t.joV(),t.j41(7,"div",18)(8,"mat-card-title"),t.EFF(9,"Done!"),t.k0s()(),t.j41(10,"div",19)(11,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Wc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}let Da=(()=>{class F{constructor(v){this.commonService=v,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.bkB,this.screenSize="",this.screenSizeEnum=Wt.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(v){2===v.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===v.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(is.h))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H&&t.DNE(0,nh,1,0,"ng-container",5)(1,rh,18,5,"ng-template",null,0,t.C5r)(3,cf,19,5,"ng-template",null,1,t.C5r)(5,C1,19,5,"ng-template",null,2,t.C5r)(7,w1,17,5,"ng-template",null,3,t.C5r)(9,ah,13,5,"ng-template",null,4,t.C5r),2&H){const Oe=t.sdS(2),kt=t.sdS(4),At=t.sdS(6),oi=t.sdS(8),ui=t.sdS(10);t.Y8G("ngTemplateOutlet",1===G.stepNumber?Oe:2===G.stepNumber?kt:3===G.stepNumber?At:4===G.stepNumber?oi:ui)}},dependencies:[si.YU,si.T3,$i.DJ,$i.sA,$i.UI,Go.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:[x1.k]}})}}return F})();const lf=["stepper"],M1=()=>[1,2,3,4,5],df=(F,B)=>({"dot-primary":F,"dot-primary-lighter":B});function hf(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG(2);t.JRh(v.inputFormLabel)}}function Ad(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Amount is required."),t.k0s())}function m0(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"number"),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.SpI("Amount must be greater than or equal to ",t.bMT(2,1,null==v.serviceInfo||null==v.serviceInfo.limits?null:v.serviceInfo.limits.minimal),".")}}function p0(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"number"),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.SpI("Amount must be less than or equal to ",t.bMT(2,1,null==v.serviceInfo||null==v.serviceInfo.limits?null:v.serviceInfo.limits.maximal),".")}}function Xc(F,B){1&F&&(t.j41(0,"div",41)(1,"div",42)(2,"mat-slide-toggle",43),t.EFF(3,"Accept Zero Conf"),t.k0s(),t.j41(4,"mat-icon",44),t.EFF(5,"info_outline"),t.k0s()()())}function oh(F,B){1&F&&(t.j41(0,"div",41)(1,"div",42)(2,"mat-slide-toggle",45),t.EFF(3,"Send from Internal Wallet"),t.k0s(),t.j41(4,"mat-icon",46),t.EFF(5,"info_outline"),t.k0s()()())}function uf(F,B){1&F&&(t.j41(0,"button",47),t.EFF(1,"Next"),t.k0s())}function sh(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",48),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onSwap())}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG(2);t.R7$(),t.SpI("Initiate ",v.swapDirectionCaption,"")}}function ff(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG(3);t.JRh(v.addressFormLabel)}}function Ac(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Address is required."),t.k0s())}function g0(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-step",15)(1,"form",16),t.DNE(2,ff,1,1,"ng-template",17),t.j41(3,"div",49)(4,"mat-radio-group",50),t.bIt("change",function(G){t.eBV(v);const Oe=t.XpG(2);return t.Njj(Oe.onAddressTypeChange(G))}),t.j41(5,"mat-radio-button",51),t.EFF(6,"Node Local Address"),t.k0s(),t.j41(7,"mat-radio-button",52),t.EFF(8,"External Address"),t.k0s()(),t.j41(9,"mat-form-field",53)(10,"mat-label"),t.EFF(11,"Address"),t.k0s(),t.nrm(12,"input",54),t.DNE(13,Ac,2,0,"mat-error",24),t.k0s()(),t.j41(14,"div",26)(15,"button",55),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onSwap())}),t.EFF(16),t.k0s()()()()}if(2&F){const v=t.XpG(2);t.Y8G("stepControl",v.addressFormGroup)("editable",v.flgEditable),t.R7$(),t.Y8G("formGroup",v.addressFormGroup),t.R7$(11),t.Y8G("required","external"===v.addressFormGroup.controls.addressType.value),t.R7$(),t.Y8G("ngIf",null==v.addressFormGroup.controls.address.errors?null:v.addressFormGroup.controls.address.errors.required),t.R7$(3),t.SpI("Initiate ",v.swapDirectionCaption,"")}}function mf(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG(2);t.SpI("",v.swapDirectionCaption," Status")}}function ch(F,B){if(1&F&&(t.j41(0,"mat-icon",56),t.EFF(1),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.JRh(v.swapStatus&&null!=v.swapStatus&&v.swapStatus.id?"check":"close")}}function _4(F,B){1&F&&t.nrm(0,"div")}function v4(F,B){1&F&&t.nrm(0,"mat-progress-bar",57)}function Fp(F,B){if(1&F&&(t.j41(0,"h4",58),t.EFF(1),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.JRh(v.swapStatus&&v.swapStatus.error?v.swapDirectionCaption+" failed.":v.swapStatus&&v.swapStatus.id?v.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":v.swapDirectionCaption+" request placed successfully.")}}function pf(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",59),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onRestart())}),t.EFF(1,"Start Again"),t.k0s()}}function _0(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),t.EFF(5),t.k0s()(),t.j41(6,"div",9)(7,"button",10),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.showInfo())}),t.EFF(8,"?"),t.k0s(),t.j41(9,"button",11),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onClose())}),t.EFF(10,"X"),t.k0s()()(),t.j41(11,"mat-card-content",12)(12,"div",13)(13,"mat-vertical-stepper",14,1),t.bIt("selectionChange",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.stepSelectionChanged(G))}),t.j41(15,"mat-step",15)(16,"form",16),t.DNE(17,hf,1,1,"ng-template",17),t.j41(18,"div",18),t.nrm(19,"rtl-boltz-service-info",19),t.k0s(),t.j41(20,"div",20)(21,"mat-form-field",21)(22,"mat-label"),t.EFF(23,"Amount"),t.k0s(),t.nrm(24,"input",22),t.j41(25,"mat-hint"),t.EFF(26),t.nI1(27,"number"),t.nI1(28,"number"),t.k0s(),t.j41(29,"span",23),t.EFF(30,"Sats"),t.k0s(),t.DNE(31,Ad,2,0,"mat-error",24)(32,m0,3,3,"mat-error",24)(33,p0,3,3,"mat-error",24),t.k0s(),t.DNE(34,Xc,6,0,"div",25)(35,oh,6,0,"div",25),t.k0s(),t.j41(36,"div",26),t.DNE(37,uf,2,0,"button",27)(38,sh,2,1,"button",28),t.k0s()()(),t.DNE(39,g0,17,6,"mat-step",29),t.j41(40,"mat-step",30)(41,"form",16),t.DNE(42,mf,1,1,"ng-template",17),t.j41(43,"div",31)(44,"mat-expansion-panel",32)(45,"mat-expansion-panel-header")(46,"mat-panel-title")(47,"span",33),t.EFF(48),t.DNE(49,ch,2,1,"mat-icon",34),t.k0s()()(),t.DNE(50,_4,1,0,"div",35),t.k0s(),t.DNE(51,v4,1,0,"mat-progress-bar",36),t.k0s(),t.DNE(52,Fp,2,1,"h4",37),t.j41(53,"div",26),t.DNE(54,pf,2,0,"button",38),t.k0s()()()(),t.j41(55,"div",39)(56,"button",40),t.EFF(57,"Close"),t.k0s()()()()()()}if(2&F){const v=t.XpG(),H=t.sdS(2);t.Y8G("@opacityAnimation",void 0),t.R7$(3),t.Y8G("fxFlex",v.screenSize===v.screenSizeEnum.XS||v.screenSize===v.screenSizeEnum.SM?"83":"91"),t.R7$(2),t.JRh(v.swapDirectionCaption),t.R7$(),t.Y8G("fxFlex",v.screenSize===v.screenSizeEnum.XS||v.screenSize===v.screenSizeEnum.SM?"17":"9"),t.R7$(7),t.Y8G("linear",!0),t.R7$(2),t.Y8G("stepControl",v.inputFormGroup)("editable",v.flgEditable),t.R7$(),t.Y8G("formGroup",v.inputFormGroup),t.R7$(3),t.Y8G("serviceInfo",v.serviceInfo)("direction",v.direction),t.R7$(5),t.Y8G("step",1e3),t.R7$(2),t.Lme("Range: ",t.bMT(27,32,null==v.serviceInfo||null==v.serviceInfo.limits?null:v.serviceInfo.limits.minimal),"-",t.bMT(28,34,null==v.serviceInfo||null==v.serviceInfo.limits?null:v.serviceInfo.limits.maximal),""),t.R7$(5),t.Y8G("ngIf",null==v.inputFormGroup||null==v.inputFormGroup.controls||null==v.inputFormGroup.controls.amount||null==v.inputFormGroup.controls.amount.errors?null:v.inputFormGroup.controls.amount.errors.required),t.R7$(),t.Y8G("ngIf",null==v.inputFormGroup||null==v.inputFormGroup.controls||null==v.inputFormGroup.controls.amount||null==v.inputFormGroup.controls.amount.errors?null:v.inputFormGroup.controls.amount.errors.min),t.R7$(),t.Y8G("ngIf",null==v.inputFormGroup||null==v.inputFormGroup.controls||null==v.inputFormGroup.controls.amount||null==v.inputFormGroup.controls.amount.errors?null:v.inputFormGroup.controls.amount.errors.max),t.R7$(),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_OUT),t.R7$(),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_IN&&v.isSendFromInternalCompatible),t.R7$(2),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_OUT),t.R7$(),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_IN),t.R7$(),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_OUT),t.R7$(),t.Y8G("stepControl",v.statusFormGroup),t.R7$(),t.Y8G("formGroup",v.statusFormGroup),t.R7$(3),t.Y8G("expanded",!!v.swapStatus),t.R7$(4),t.JRh(v.swapStatus?v.swapStatus.id?v.swapDirectionCaption+" request details":v.swapDirectionCaption+" error details":"Waiting for "+v.swapDirectionCaption+" request..."),t.R7$(),t.Y8G("ngIf",v.swapStatus),t.R7$(),t.Y8G("ngIf",!v.swapStatus)("ngIfElse",H),t.R7$(),t.Y8G("ngIf",!v.swapStatus),t.R7$(),t.Y8G("ngIf",v.swapStatus),t.R7$(2),t.Y8G("ngIf",v.swapStatus&&(v.swapStatus.error||!v.swapStatus.id)),t.R7$(2),t.Y8G("mat-dialog-close",!1)}}function Hl(F,B){if(1&F&&t.nrm(0,"rtl-boltz-swap-status",60),2&F){const v=t.XpG();t.Y8G("swapStatus",v.swapStatus)("direction",v.direction)("acceptZeroConf",null==v.inputFormGroup||null==v.inputFormGroup.controls?null:v.inputFormGroup.controls.acceptZeroConf.value)("sendFromInternal",null==v.inputFormGroup||null==v.inputFormGroup.controls?null:v.inputFormGroup.controls.sendFromInternal.value)}}function jl(F,B){if(1&F){const v=t.RV6();t.j41(0,"rtl-boltz-swapout-info-graphics",76),t.mxI("stepNumberChange",function(G){t.eBV(v);const Oe=t.XpG(2);return t.DH7(Oe.stepNumber,G)||(Oe.stepNumber=G),t.Njj(G)}),t.k0s()}if(2&F){const v=t.XpG(2);t.Y8G("animationDirection",v.animationDirection),t.R50("stepNumber",v.stepNumber)}}function v0(F,B){if(1&F){const v=t.RV6();t.j41(0,"rtl-boltz-swapin-info-graphics",76),t.mxI("stepNumberChange",function(G){t.eBV(v);const Oe=t.XpG(2);return t.DH7(Oe.stepNumber,G)||(Oe.stepNumber=G),t.Njj(G)}),t.k0s()}if(2&F){const v=t.XpG(2);t.Y8G("animationDirection",v.animationDirection),t.R50("stepNumber",v.stepNumber)}}function Wl(F,B){if(1&F){const v=t.RV6();t.j41(0,"span",77),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG(2);return t.Njj(Oe.onStepChanged(G))}),t.nrm(1,"p",78),t.k0s()}if(2&F){const v=B.$implicit,H=t.XpG(2);t.R7$(),t.Y8G("ngClass",t.l_i(1,df,H.stepNumber===v,H.stepNumber!==v))}}function Xl(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",79),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onReadMore())}),t.EFF(1,"Read More"),t.k0s()}}function Yl(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",80),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onStepChanged(4))}),t.EFF(1,"Back"),t.k0s()}}function gf(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",81),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return G.flgShowInfo=!1,t.Njj(G.stepNumber=1)}),t.EFF(1,"Close"),t.k0s()}}function b0(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",82),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return G.flgShowInfo=!1,t.Njj(G.stepNumber=1)}),t.EFF(1,"Close"),t.k0s()}}function y0(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",83),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onStepChanged(G.stepNumber-1))}),t.EFF(1,"Back"),t.k0s()}}function Kl(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",84),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onStepChanged(G.stepNumber+1))}),t.EFF(1,"Next"),t.k0s()}}function fl(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",61)(1,"div",18)(2,"mat-card-header",62)(3,"div",63),t.nrm(4,"span",8),t.k0s(),t.j41(5,"div",64)(6,"button",11),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return G.flgShowInfo=!1,t.Njj(G.stepNumber=1)}),t.EFF(7,"X"),t.k0s()()(),t.j41(8,"mat-card-content",65),t.DNE(9,jl,1,2,"rtl-boltz-swapout-info-graphics",66)(10,v0,1,2,"rtl-boltz-swapin-info-graphics",66),t.k0s(),t.j41(11,"div",67),t.DNE(12,Wl,2,4,"span",68),t.k0s(),t.j41(13,"div",69),t.DNE(14,Xl,2,0,"button",70)(15,Yl,2,0,"button",71)(16,gf,2,0,"button",72)(17,b0,2,0,"button",73)(18,y0,2,0,"button",74)(19,Kl,2,0,"button",75),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@opacityAnimation",void 0),t.R7$(9),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_OUT),t.R7$(),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_IN),t.R7$(2),t.Y8G("ngForOf",t.lJ4(10,M1)),t.R7$(2),t.Y8G("ngIf",5===v.stepNumber),t.R7$(),t.Y8G("ngIf",5===v.stepNumber),t.R7$(),t.Y8G("ngIf",5===v.stepNumber),t.R7$(),t.Y8G("ngIf",v.stepNumber<5),t.R7$(),t.Y8G("ngIf",v.stepNumber>1&&v.stepNumber<5),t.R7$(),t.Y8G("ngIf",v.stepNumber<5)}}let $l=(()=>{class F{constructor(v,H,G,Oe,kt,At,oi){this.dialogRef=v,this.data=H,this.boltzService=G,this.formBuilder=Oe,this.decimalPipe=kt,this.logger=At,this.commonService=oi,this.faInfoCircle=qi.iW_,this.boltzInfo=null,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=Wt.Bd,this.direction=Wt.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=Wt.f7,this.animationDirection="forward",this.flgEditable=!0,this.isSendFromInternalCompatible=!0,this.unSubs=[new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||Wt.Bd.SWAP_OUT,this.swapDirectionCaption=this.direction===Wt.Bd.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[De.k0.required,De.k0.min(this.serviceInfo.limits?.minimal||0),De.k0.max(this.serviceInfo.limits?.maximal||0)]],acceptZeroConf:[!1],sendFromInternal:[!0]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[De.k0.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.boltzService.boltzInfoChanged.pipe((0,dn.Q)(this.unSubs[0])).subscribe({next:v=>{this.boltzInfo=v,this.isSendFromInternalCompatible=this.commonService.isVersionCompatible(this.boltzInfo.version,"2.0.0")},error:v=>{this.boltzInfo={version:"2.0.0"},this.logger.error(v)}})}ngAfterViewInit(){this.direction===Wt.Bd.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===Wt.Bd.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(v){"external"===v.value?(this.addressFormGroup.controls.address.setValidators([De.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===Wt.Bd.SWAP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===Wt.Bd.SWAP_IN?this.boltzService.swapIn(this.inputFormGroup.controls.amount.value,this.isSendFromInternalCompatible?this.inputFormGroup.controls.sendFromInternal.value:null).pipe((0,dn.Q)(this.unSubs[2])).subscribe({next:v=>{this.swapStatus=v,this.boltzService.listSwaps(),this.flgEditable=!0},error:v=>{this.swapStatus={error:v},this.flgEditable=!0,this.logger.error(v)}}):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,dn.Q)(this.unSubs[3])).subscribe({next:H=>{this.swapStatus=H,this.boltzService.listSwaps(),this.flgEditable=!0},error:H=>{this.swapStatus={error:H},this.flgEditable=!0,this.logger.error(H)}})}stepSelectionChanged(v){switch(v.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value?this.direction===Wt.Bd.SWAP_IN?this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Send from Internal Wallet: "+(this.inputFormGroup.controls.sendFromInternal.value?"Yes":"No"):this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Zero Conf: "+(this.inputFormGroup.controls.acceptZeroConf.value?"Yes":"No"):"Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address"}v.selectedIndex{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Er.CP),t.rXU(Er.Vh),t.rXU(Dc),t.rXU(De.ze),t.rXU(si.QX),t.rXU(ge.gP),t.rXU(is.h))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(H,G){if(1&H&&t.GBs(lf,5),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.stepper=Oe.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"],["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(H,G){1&H&&t.DNE(0,_0,58,36,"div",2)(1,Hl,1,4,"ng-template",null,0,t.C5r)(3,fl,20,11,"div",3),2&H&&(t.Y8G("ngIf",!G.flgShowInfo),t.R7$(3),t.Y8G("ngIf",G.flgShowInfo))},dependencies:[si.YU,si.Sq,si.bT,De.qT,De.me,De.Q0,De.BC,De.cb,De.YS,De.j4,De.JD,$i.DJ,$i.sA,$i.UI,Go.PW,Er.tx,be.$z,Mr.m2,Mr.MM,Br.GK,Br.Z2,Br.WN,Vc.An,Ta.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,Ne.yw,Ed.HM,Il.VT,Il._g,Rl.sG,Sc.oV,wo.V5,wo.Ti,wo.M6,wo.F7,Mi.N,y1,p4,fc,Da,si.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:[v1.C]}})}}return F})();const lh=()=>["all"],_f=F=>({"overflow-auto error-border":F,"overflow-auto":!0}),vf=()=>["no_swap"],ml=F=>({width:F}),x0=F=>({"display-none":F});function C0(F,B){if(1&F&&(t.j41(0,"mat-option",42),t.EFF(1),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.Y8G("value",v),t.R7$(),t.JRh(H.getLabel(v))}}function bf(F,B){1&F&&t.nrm(0,"mat-progress-bar",43)}function No(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Status"),t.k0s())}function kd(F,B){if(1&F&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.JRh(H.swapStateEnum[null==v?null:v.status])}}function dh(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Swap ID"),t.k0s())}function pl(F,B){if(1&F&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.R7$(),t.JRh(null==v?null:v.id)}}function Id(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Claim Address"),t.k0s())}function yf(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.claimAddress)}}function jo(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Lockup Address"),t.k0s())}function kc(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.lockupAddress)}}function hh(F,B){1&F&&(t.j41(0,"th",48),t.EFF(1,"Onchain Amount (Sats)"),t.k0s())}function w0(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",49),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==v?null:v.onchainAmount))}}function xf(F,B){1&F&&(t.j41(0,"th",48),t.EFF(1,"Expected Amount (Sats)"),t.k0s())}function E1(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",49),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==v?null:v.expectedAmount))}}function uh(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Error"),t.k0s())}function M0(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.error)}}function fh(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Private Key"),t.k0s())}function E0(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.privateKey)}}function Cf(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Preimage"),t.k0s())}function Rd(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.preimage)}}function mh(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Redeem Script"),t.k0s())}function ph(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.redeemScript)}}function S0(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Invoice"),t.k0s())}function gh(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.invoice)}}function _h(F,B){1&F&&(t.j41(0,"th",48),t.EFF(1,"Timeout Block Height"),t.k0s())}function S1(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",49),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==v?null:v.timeoutBlockHeight))}}function T0(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Lockup Tx ID"),t.k0s())}function Yc(F,B){if(1&F&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.R7$(),t.JRh(null==v?null:v.lockupTransactionId)}}function L0(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Claim Tx ID"),t.k0s())}function T1(F,B){if(1&F&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.R7$(),t.JRh(null==v?null:v.claimTransactionId)}}function b4(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Refund Tx ID"),t.k0s())}function D0(F,B){if(1&F&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.R7$(),t.JRh(null==v?null:v.refundTransactionId)}}function vh(F,B){if(1&F){const v=t.RV6();t.j41(0,"th",50)(1,"div",51)(2,"mat-select",52),t.nrm(3,"mat-select-trigger"),t.j41(4,"mat-option",53),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onDownloadCSV())}),t.EFF(5,"Download CSV"),t.k0s()()()()}}function Od(F,B){if(1&F){const v=t.RV6();t.j41(0,"td",54)(1,"button",55),t.bIt("click",function(G){const Oe=t.eBV(v).$implicit,kt=t.XpG();return t.Njj(kt.onSwapClick(Oe,G))}),t.EFF(2,"View Info"),t.k0s()()}}function A0(F,B){if(1&F&&(t.j41(0,"p"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.JRh(v.emptyTableMessage)}}function wf(F,B){if(1&F&&(t.j41(0,"td",56),t.DNE(1,A0,2,1,"p",57),t.k0s()),2&F){const v=t.XpG();t.R7$(),t.Y8G("ngIf",!(null!=v.listSwaps&&v.listSwaps.data)||(null==v.listSwaps||null==v.listSwaps.data?null:v.listSwaps.data.length)<1)}}function L1(F,B){if(1&F&&t.nrm(0,"tr",58),2&F){const v=t.XpG();t.Y8G("ngClass",t.eq3(1,x0,(null==v.listSwaps?null:v.listSwaps.data)&&(null==v.listSwaps||null==v.listSwaps.data?null:v.listSwaps.data.length)>0))}}function gl(F,B){1&F&&t.nrm(0,"tr",59)}function bh(F,B){1&F&&t.nrm(0,"tr",60)}let Mf=(()=>{class F{constructor(v,H,G,Oe,kt){this.logger=v,this.commonService=H,this.store=G,this.boltzService=Oe,this.camelCaseWithReplace=kt,this.selectedSwapType=Wt.Bd.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Wt._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:Wt.md,sortBy:"status",sortOrder:Wt.oi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:Wt.md,sortBy:"status",sortOrder:Wt.oi.DESCENDING},this.swapStateEnum=Wt.q9,this.swapTypeEnum=Wt.Bd,this.faHistory=qi.Int,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new Vr.I6([]),this.selFilter="",this.pageSize=Wt.md,this.pageSizeOptions=Wt.xp,this.screenSize="",this.screenSizeEnum=Wt.f7,this.unSubs=[new Xi.B,new Xi.B,new Xi.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(v){v.selectedSwapType&&!v.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===Wt.Bd.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(uc.$G).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.tableSettingSwapOut=v.pageSettings.find(H=>H.pageId===this.PAGE_ID)?.tables.find(H=>H.tableId===this.tableSettingSwapOut.tableId)||Wt.ZC.find(H=>H.pageId===this.PAGE_ID)?.tables.find(H=>H.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=v.pageSettings.find(H=>H.pageId===this.PAGE_ID)?.tables.find(H=>H.tableId===this.tableSettingSwapIn.tableId)||Wt.ZC.find(H=>H.pageId===this.PAGE_ID)?.tables.find(H=>H.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===Wt.Bd.SWAP_IN?(this.displayedColumns=this.screenSize===Wt.f7.XS||this.screenSize===Wt.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:Wt.md):(this.displayedColumns=this.screenSize===Wt.f7.XS||this.screenSize===Wt.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:Wt.md)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(v){const G=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===Wt.Bd.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(Oe=>Oe.column===v);return G?G.label?G.label:this.camelCaseWithReplace.transform(G.column,"_"):this.commonService.titleCase(v)}setFilterPredicate(){this.listSwaps.filterPredicate=(v,H)=>{let G="";switch(this.selFilterBy){case"all":G=JSON.stringify(v).toLowerCase();break;case"status":G=v?.status?this.swapStateEnum[v?.status]:"";break;default:G=typeof v[this.selFilterBy]>"u"?"":"string"==typeof v[this.selFilterBy]?v[this.selFilterBy].toLowerCase():"boolean"==typeof v[this.selFilterBy]?v[this.selFilterBy]?"yes":"no":v[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===G.indexOf(H):G.includes(H)}}onSwapClick(v,H){this.boltzService.swapInfo(v.id||"").pipe((0,dn.Q)(this.unSubs[1])).subscribe(G=>{this.store.dispatch((0,Sn.xO)({payload:{data:{type:Wt.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:Wt.q9[(G=this.selectedSwapType===Wt.Bd.SWAP_IN?G.swap:G.reverseSwap).status],title:"Status",width:50,type:Wt.UN.STRING},{key:"id",value:G.id,title:"ID",width:50,type:Wt.UN.STRING}],[{key:"amount",value:G.onchainAmount?G.onchainAmount:G.expectedAmount?G.expectedAmount:0,title:G.onchainAmount?"Onchain Amount (Sats)":G.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:Wt.UN.NUMBER},{key:"timeoutBlockHeight",value:G.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:Wt.UN.NUMBER}],[{key:"address",value:G.claimAddress?G.claimAddress:G.lockupAddress?G.lockupAddress:"",title:G.claimAddress?"Claim Address":G.lockupAddress?"Lockup Address":"Address",width:100,type:Wt.UN.STRING}],[{key:"invoice",value:G.invoice,title:"Invoice",width:100,type:Wt.UN.STRING}],[{key:"privateKey",value:G.privateKey,title:"Private Key",width:100,type:Wt.UN.STRING}],[{key:"preimage",value:G.preimage,title:"Preimage",width:100,type:Wt.UN.STRING}],[{key:"redeemScript",value:G.redeemScript,title:"Redeem Script",width:100,type:Wt.UN.STRING}],[{key:"lockupTransactionId",value:G.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:Wt.UN.STRING},{key:"transactionId",value:G.claimTransactionId?G.claimTransactionId:G.refundTransactionId?G.refundTransactionId:"",title:G.claimTransactionId?"Claim Transaction ID":G.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:Wt.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(v){this.listSwaps=new Vr.I6(v?[...v]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(H,G)=>H[G]&&isNaN(H[G])?H[G].toLocaleLowerCase():H[G]?+H[G]: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===Wt.Bd.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(is.h),t.rXU(Pi.il),t.rXU(Dc),t.rXU(Uc.VD))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-boltz-swaps"]],viewQuery:function(H,G){if(1&H&&(t.GBs(u1.B4,5),t.GBs(Md.iy,5)),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.sort=Oe.first),t.mGM(Oe=t.lsd())&&(G.paginator=Oe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t.Jv_([{provide:ft.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Md.xX,useValue:(0,Wt.on)("Swaps")}]),t.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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"div",3),t.nrm(3,"fa-icon",4),t.j41(4,"span",5),t.EFF(5),t.k0s()(),t.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),t.EFF(9,"Filter By"),t.k0s(),t.j41(10,"mat-select",8),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selFilterBy,At)||(G.selFilterBy=At),t.Njj(At)}),t.bIt("selectionChange",function(){return t.eBV(Oe),G.selFilter="",t.Njj(G.applyFilter())}),t.j41(11,"perfect-scrollbar"),t.DNE(12,C0,2,2,"mat-option",9),t.k0s()()(),t.j41(13,"mat-form-field",7)(14,"mat-label"),t.EFF(15,"Filter"),t.k0s(),t.j41(16,"input",10),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selFilter,At)||(G.selFilter=At),t.Njj(At)}),t.bIt("input",function(){return t.eBV(Oe),t.Njj(G.applyFilter())})("keyup",function(){return t.eBV(Oe),t.Njj(G.applyFilter())}),t.k0s()()()(),t.j41(17,"div",11)(18,"div",12),t.DNE(19,bf,1,0,"mat-progress-bar",13),t.j41(20,"table",14,0),t.qex(22,15),t.DNE(23,No,2,0,"th",16)(24,kd,2,1,"td",17),t.bVm(),t.qex(25,18),t.DNE(26,dh,2,0,"th",16)(27,pl,2,1,"td",17),t.bVm(),t.qex(28,19),t.DNE(29,Id,2,0,"th",16)(30,yf,4,4,"td",17),t.bVm(),t.qex(31,20),t.DNE(32,jo,2,0,"th",16)(33,kc,4,4,"td",17),t.bVm(),t.qex(34,21),t.DNE(35,hh,2,0,"th",22)(36,w0,4,3,"td",17),t.bVm(),t.qex(37,23),t.DNE(38,xf,2,0,"th",22)(39,E1,4,3,"td",17),t.bVm(),t.qex(40,24),t.DNE(41,uh,2,0,"th",16)(42,M0,4,4,"td",17),t.bVm(),t.qex(43,25),t.DNE(44,fh,2,0,"th",16)(45,E0,4,4,"td",17),t.bVm(),t.qex(46,26),t.DNE(47,Cf,2,0,"th",16)(48,Rd,4,4,"td",17),t.bVm(),t.qex(49,27),t.DNE(50,mh,2,0,"th",16)(51,ph,4,4,"td",17),t.bVm(),t.qex(52,28),t.DNE(53,S0,2,0,"th",16)(54,gh,4,4,"td",17),t.bVm(),t.qex(55,29),t.DNE(56,_h,2,0,"th",22)(57,S1,4,3,"td",17),t.bVm(),t.qex(58,30),t.DNE(59,T0,2,0,"th",16)(60,Yc,2,1,"td",17),t.bVm(),t.qex(61,31),t.DNE(62,L0,2,0,"th",16)(63,T1,2,1,"td",17),t.bVm(),t.qex(64,32),t.DNE(65,b4,2,0,"th",16)(66,D0,2,1,"td",17),t.bVm(),t.qex(67,33),t.DNE(68,vh,6,0,"th",34)(69,Od,3,0,"td",35),t.bVm(),t.qex(70,36),t.DNE(71,wf,2,1,"td",37),t.bVm(),t.DNE(72,L1,1,3,"tr",38)(73,gl,1,0,"tr",39)(74,bh,1,0,"tr",40),t.k0s(),t.nrm(75,"mat-paginator",41),t.k0s()()()}2&H&&(t.R7$(3),t.Y8G("icon",G.faHistory),t.R7$(2),t.SpI("",G.swapCaption," History"),t.R7$(5),t.R50("ngModel",G.selFilterBy),t.R7$(2),t.Y8G("ngForOf",t.lJ4(16,lh).concat(G.displayedColumns.slice(0,-1))),t.R7$(4),t.R50("ngModel",G.selFilter),t.R7$(3),t.Y8G("ngIf",!0===G.flgLoading[0]),t.R7$(),t.Y8G("matSortActive",G.selectedSwapType===G.swapTypeEnum.SWAP_IN?G.tableSettingSwapIn.sortBy:G.tableSettingSwapOut.sortBy)("matSortDirection",G.selectedSwapType===G.swapTypeEnum.SWAP_IN?G.tableSettingSwapIn.sortOrder:G.tableSettingSwapOut.sortOrder)("dataSource",G.listSwaps)("ngClass",t.eq3(17,_f,"error"===G.flgLoading[0])),t.R7$(52),t.Y8G("matFooterRowDef",t.lJ4(19,vf)),t.R7$(),t.Y8G("matHeaderRowDef",G.displayedColumns),t.R7$(),t.Y8G("matRowDefColumns",G.displayedColumns),t.R7$(),t.Y8G("pageSize",G.pageSize)("pageSizeOptions",G.pageSizeOptions)("showFirstLastButtons",G.screenSize!==G.screenSizeEnum.XS))},dependencies:[si.YU,si.Sq,si.bT,si.B3,De.me,De.BC,De.vS,Qr.aY,$i.DJ,$i.sA,$i.UI,Go.PW,Go.eI,be.$z,Ta.fg,Ne.rl,Ne.nJ,Ed.HM,ft.VO,ft.$2,Rt.wT,u1.B4,u1.aE,Vr.Zl,Vr.tL,Vr.ji,Vr.cC,Vr.YV,Vr.iL,Vr.Zq,Vr.xW,Vr.KS,Vr.$R,Vr.Qo,Vr.YZ,Vr.NB,Vr.iF,Md.iy,Jt.ZF,Jt.Ld,si.QX]})}}return F})();const y4=F=>["../",F];function k0(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG();return t.Njj(Oe.onSelectedIndexChange(G))}),t.EFF(1),t.k0s()}if(2&F){const v=B.$implicit,H=t.XpG();t.Y8G("active",H.activeTab.link===v.link)("routerLink",t.eq3(3,y4,v.link)),t.R7$(),t.JRh(v.name)}}let yh=(()=>{class F{constructor(v,H,G){this.router=v,this.store=H,this.boltzService=G,this.swapTypeEnum=Wt.Bd,this.selectedSwapType=Wt.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 Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.boltzService.getBoltzInfo(),this.boltzService.listSwaps();const v=this.links.find(H=>this.router.url.includes(H.link));this.activeTab=v||this.links[0],this.selectedSwapType=v&&"swapin"===v.link?Wt.Bd.SWAP_IN:Wt.Bd.SWAP_OUT,this.router.events.pipe((0,dn.Q)(this.unSubs[0]),(0,Cr.p)(H=>H instanceof Nn.gx)).subscribe({next:H=>{const G=this.links.find(Oe=>H.urlAfterRedirects.includes(Oe.link));this.activeTab=G||this.links[0],this.selectedSwapType=G&&"swapin"===G.link?Wt.Bd.SWAP_IN:Wt.Bd.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,dn.Q)(this.unSubs[1])).subscribe({next:H=>{this.swaps=H,this.swapsData=this.selectedSwapType===Wt.Bd.SWAP_IN&&H.swaps?H.swaps:this.selectedSwapType===Wt.Bd.SWAP_OUT&&H.reverseSwaps?H.reverseSwaps:[],this.flgLoading[0]=!1},error:H=>{this.flgLoading[0]="error",this.emptyTableMessage=H.message?H.message:"No swap "+(this.selectedSwapType===Wt.Bd.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(v){"swapin"===v.link?(this.selectedSwapType=Wt.Bd.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=Wt.Bd.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(v){this.boltzService.serviceInfo().pipe((0,dn.Q)(this.unSubs[2])).subscribe({next:H=>{this.store.dispatch((0,Sn.xO)({payload:{data:{serviceInfo:H,direction:v,component:$l}}}))}})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Nn.Ix),t.rXU(Pi.il),t.rXU(Dc))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1),t.qSk(),t.j41(1,"svg",2)(2,"g",3)(3,"g",4),t.nrm(4,"circle",5)(5,"path",6)(6,"path",7),t.k0s()()(),t.joV(),t.j41(7,"span",8),t.EFF(8,"Boltz"),t.k0s()(),t.j41(9,"div",9)(10,"mat-card")(11,"mat-card-content",10)(12,"nav",11),t.DNE(13,k0,2,5,"div",12),t.k0s(),t.nrm(14,"mat-tab-nav-panel",null,0),t.j41(16,"div",13)(17,"button",14),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onSwap(G.selectedSwapType))}),t.EFF(18),t.k0s()(),t.nrm(19,"rtl-boltz-swaps",15),t.k0s()()()}if(2&H){const Oe=t.sdS(15);t.R7$(12),t.Y8G("tabPanel",Oe),t.R7$(),t.Y8G("ngForOf",G.links),t.R7$(5),t.SpI("Start ",G.activeTab.name,""),t.R7$(),t.Y8G("selectedSwapType",G.selectedSwapType)("swapsData",G.swapsData)("flgLoading",G.flgLoading)("emptyTableMessage",G.emptyTableMessage)}},dependencies:[si.Sq,$i.DJ,$i.sA,$i.UI,be.$z,Mr.RN,Mr.m2,la.Bu,la.hQ,la.Ql,Nn.Wk,Mf]})}}return F})();class io{constructor(B){this.help=B}}function Tf(F,B){if(1&F&&(t.j41(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t.EFF(3),t.k0s()(),t.j41(4,"mat-panel-description",9),t.nrm(5,"span",10),t.j41(6,"a",11),t.EFF(7),t.k0s()()()),2&F){const v=t.XpG().$implicit,H=t.XpG();t.R7$(3),t.JRh(v.help.question),t.R7$(2),t.Y8G("innerHTML",v.help.answer,t.npT),t.R7$(),t.Y8G("routerLink",H.flgLoggedIn?v.help.link:"/login"),t.R7$(),t.JRh(H.flgLoggedIn?v.help.linkCaption:"Login to go to the page")}}function Lf(F,B){if(1&F&&(t.j41(0,"div",6),t.DNE(1,Tf,8,4,"mat-expansion-panel",7),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngIf","ALL"===v.help.lnImplementation||v.help.lnImplementation===H.selNode.lnImplementation)}}let Df=(()=>{class F{constructor(v,H){this.store=v,this.sessionService=H,this.helpTopics=[],this.faQuestion=qi.EvL,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.selNode=v,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.flgLoggedIn=!!v.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Pi.il),t.rXU($s.Q))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"fa-icon",2),t.j41(3,"span",3),t.EFF(4,"Help"),t.k0s()(),t.j41(5,"div",4)(6,"div",0),t.DNE(7,Lf,2,1,"div",5),t.k0s()()()),2&H&&(t.R7$(2),t.Y8G("icon",G.faQuestion),t.R7$(5),t.Y8G("ngForOf",G.helpTopics))},dependencies:[si.Sq,si.bT,Qr.aY,$i.DJ,$i.sA,$i.UI,Br.GK,Br.Z2,Br.WN,Br.Q6,Nn.Wk],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]})}}return F})();var xh=g(4572);function Ch(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Token is required."),t.k0s())}let C4=(()=>{class F{constructor(v,H){this.dialogRef=v,this.store=H,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,Sn.R$)({payload:{twoFAToken:this.token}}))}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Er.CP),t.rXU(Pi.il))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),t.EFF(5,"Two Factor Token"),t.k0s()(),t.j41(6,"button",6),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onClose())}),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",7)(9,"form",8,0),t.bIt("ngSubmit",function(){return t.eBV(Oe),t.Njj(G.onVerifyToken())}),t.j41(11,"mat-form-field")(12,"mat-label"),t.EFF(13,"Token"),t.k0s(),t.j41(14,"input",9),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.token,At)||(G.token=At),t.Njj(At)}),t.k0s(),t.DNE(15,Ch,2,0,"mat-error",10),t.k0s(),t.j41(16,"div",11)(17,"button",12),t.EFF(18,"Verify Token"),t.k0s()()()()()()}2&H&&(t.R7$(14),t.R50("ngModel",G.token),t.R7$(),t.Y8G("ngIf",!G.token))},dependencies:[si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,$i.DJ,$i.sA,$i.UI,be.$z,Mr.m2,Mr.MM,Ta.fg,Ne.rl,Ne.nJ,Ne.TL,Mi.N]})}}return F})();const w4=F=>({"padding-gap-large":F}),Fd=(F,B)=>({"font-size-200":F,"font-size-300":B});function Af(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Password is required."),t.k0s())}function Ql(F,B){if(1&F&&(t.j41(0,"p",21)(1,"mat-icon",22),t.EFF(2,"close"),t.k0s(),t.EFF(3),t.k0s()),2&F){const v=t.XpG();t.R7$(3),t.SpI(" ",v.loginErrorMessage," ")}}function R0(F,B){if(1&F&&(t.j41(0,"p",23)(1,"mat-icon",22),t.EFF(2,"close"),t.k0s(),t.EFF(3),t.k0s()),2&F){const v=t.XpG();t.R7$(3),t.SpI(" ",v.logoutReason," ")}}let Zl=(()=>{class F{constructor(v,H,G,Oe,kt){this.actions=v,this.logger=H,this.store=G,this.rtlEffects=Oe,this.commonService=kt,this.faUnlockAlt=qi.HEq,this.logoutReason="",this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=Wt.f7,this.loginErrorMessage="",this.apiCallStatusEnum=Wt.wn,this.unSubs=[new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,xh.z)([this.store.select(vr.Kq),this.store.select(vr.E2)]).pipe((0,dn.Q)(this.unSubs[0])).subscribe(([v,H])=>{this.loginErrorMessage="",v.status===Wt.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof v.message?JSON.stringify(v.message):v.message),this.logger.error(v.message)),H.status===Wt.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof H.message?JSON.stringify(H.message):H.message),this.logger.error(H.message))}),this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.appConfig=v,this.logger.info(v)}),this.actions.pipe((0,Cr.p)(v=>v.type===Wt.aU.LOGOUT),(0,_a.s)(1)).subscribe(v=>{this.logoutReason=v.payload})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.logoutReason="",this.appConfig.enable2FA?(this.store.dispatch((0,Sn.xO)({payload:{maxWidth:"35rem",data:{component:C4}}})),this.rtlEffects.closeAlert.pipe((0,_a.s)(1)).subscribe(v=>{v&&this.store.dispatch((0,Sn.iD)({payload:{password:zn(this.password),defaultPassword:Wt.Ah.includes(this.password.toLowerCase()),twoFAToken:v.twoFAToken}}))})):this.store.dispatch((0,Sn.iD)({payload:{password:zn(this.password),defaultPassword:Wt.Ah.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.logoutReason="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(it.En),t.rXU(ge.gP),t.rXU(Pi.il),t.rXU(Sa.H),t.rXU(is.h))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"mat-card",3)(3,"div",4)(4,"div",5),t.nrm(5,"img",6),t.k0s(),t.j41(6,"div",7)(7,"mat-card-header",8)(8,"mat-card-title",9)(9,"span",10),t.EFF(10,"Welcome"),t.k0s()()(),t.j41(11,"mat-card-content",11)(12,"form",12,0)(14,"mat-form-field")(15,"mat-label"),t.EFF(16,"Password"),t.k0s(),t.j41(17,"input",13),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.password,At)||(G.password=At),t.Njj(At)}),t.k0s(),t.j41(18,"button",14),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.flgShow=!G.flgShow)}),t.j41(19,"mat-icon"),t.EFF(20),t.k0s()(),t.DNE(21,Af,2,0,"mat-error",15),t.k0s(),t.DNE(22,Ql,4,1,"p",16)(23,R0,4,1,"p",17),t.j41(24,"div",18)(25,"button",19),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.resetData())}),t.EFF(26,"Clear"),t.k0s(),t.j41(27,"button",20),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onLogin())}),t.EFF(28,"Login"),t.k0s()()()()()()()()()}2&H&&(t.R7$(6),t.Y8G("ngClass",t.eq3(9,w4,G.screenSize===G.screenSizeEnum.XS)),t.R7$(2),t.Y8G("ngClass",t.l_i(11,Fd,G.screenSize===G.screenSizeEnum.XS,G.screenSize!==G.screenSizeEnum.XS)),t.R7$(9),t.Y8G("type",G.flgShow?"text":"password"),t.R50("ngModel",G.password),t.R7$(),t.BMQ("aria-label","Hide password"),t.R7$(2),t.JRh(G.flgShow?"visibility_off":"visibility"),t.R7$(),t.Y8G("ngIf",!G.password),t.R7$(),t.Y8G("ngIf",""!==G.loginErrorMessage),t.R7$(),t.Y8G("ngIf",""!==G.logoutReason))},dependencies:[si.YU,si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,$i.DJ,$i.sA,$i.UI,Go.PW,be.$z,be.iY,Mr.RN,Mr.m2,Mr.MM,Mr.dh,Vc.An,Ta.fg,Ne.rl,Ne.nJ,Ne.TL,Ne.yw,Mi.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 F})();var D1=g(13);let O0=(()=>{class F{constructor(v,H){this.activatedRoute=v,this.router=H,this.error={errorCode:"",errorMessage:""},this.faTimes=qi.GRI,this.unsubs=[new Xi.B,new Xi.B]}ngOnInit(){this.activatedRoute.paramMap.pipe((0,dn.Q)(this.unsubs[0])).subscribe(v=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Nn.nX),t.rXU(Nn.Ix))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",0)(1,"mat-card",1)(2,"mat-card-header",2)(3,"mat-card-title",3),t.nrm(4,"fa-icon",4),t.j41(5,"span",5),t.EFF(6),t.k0s()()(),t.j41(7,"mat-card-content",6)(8,"div",7),t.EFF(9),t.k0s(),t.j41(10,"span",8)(11,"button",9),t.bIt("click",function(){return G.goToHelp()}),t.EFF(12,"Go To Help"),t.k0s()()()()()),2&H&&(t.R7$(4),t.Y8G("icon",G.faTimes),t.R7$(2),t.SpI("Error ",G.error.errorCode,""),t.R7$(3),t.JRh(G.error.errorMessage))},dependencies:[Qr.aY,$i.DJ,$i.sA,$i.UI,be.$z,Mr.RN,Mr.m2,Mr.MM,Mr.dh],encapsulation:2})}}return F})();var lo=g(7186),Jl=g(1534),ql=g(92),F0=g(6114);const A1=(F,B)=>({"alert-danger":F,"alert-info":B});function ed(F,B){1&F&&t.nrm(0,"span",17)}function N0(F,B){1&F&&t.nrm(0,"span",18)}function M4(F,B){if(1&F){const v=t.RV6();t.j41(0,"form",19,0)(2,"div",20),t.nrm(3,"fa-icon",4),t.j41(4,"span"),t.EFF(5,"Please ensure that "),t.j41(6,"strong"),t.EFF(7,"experimental-offers"),t.k0s(),t.EFF(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),t.j41(9,"strong")(10,"a",21),t.EFF(11,"here"),t.k0s()(),t.EFF(12," to learn more about Core Lightning offers."),t.k0s()(),t.j41(13,"h4",22),t.EFF(14,"Description"),t.k0s(),t.j41(15,"span"),t.EFF(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),t.k0s(),t.j41(17,"h4",22),t.EFF(18,"Links"),t.k0s(),t.j41(19,"span")(20,"a",23),t.EFF(21,"Core lightning Bolt12"),t.k0s()(),t.nrm(22,"mat-divider",24),t.j41(23,"div",25),t.nrm(24,"fa-icon",4),t.j41(25,"span"),t.EFF(26,"Do not get an Offer tattoo until spec is fully ratified!"),t.k0s()(),t.j41(27,"mat-slide-toggle",26),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(2);return t.DH7(Oe.enableOffers,G)||(Oe.enableOffers=G),t.Njj(G)}),t.bIt("change",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onUpdateFeature())}),t.EFF(28),t.k0s()()}if(2&F){const v=t.XpG(2);t.R7$(3),t.Y8G("icon",v.faInfoCircle),t.R7$(19),t.Y8G("inset",!0),t.R7$(2),t.Y8G("icon",v.faExclamationTriangle),t.R7$(3),t.R50("ngModel",v.enableOffers),t.R7$(),t.SpI("Enable Offers ",v.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"","")}}function k1(F,B){if(1&F&&(t.j41(0,"div")(1,"div",29),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.EFF(4,"Please ensure that "),t.j41(5,"strong"),t.EFF(6,"experimental-dual-fund"),t.k0s(),t.EFF(7," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),t.j41(8,"strong")(9,"a",30),t.EFF(10,"here"),t.k0s()(),t.EFF(11," to learn more about Core Lightning Liquidity Ads."),t.k0s()()()),2&F){const v=t.XpG(3);t.R7$(2),t.Y8G("icon",v.faExclamationTriangle)}}function Nd(F,B){if(1&F&&(t.j41(0,"mat-option",47),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v),t.R7$(),t.SpI(" ",t.bMT(2,2,v.id)," ")}}function wh(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(4);t.R7$(),t.SpI("",v.selPolicyType.placeholder," is required.")}}function Mh(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(4);t.R7$(),t.Lme("",v.selPolicyType.placeholder," must be greater than or equal to ",v.selPolicyType.min,".")}}function kf(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(4);t.R7$(),t.Lme("",v.selPolicyType.placeholder," must be less than or equal to ",v.selPolicyType.max,".")}}function Eh(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Lease base fee is required."),t.k0s())}function P0(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Lease base basis is required."),t.k0s())}function z0(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Max channel routing base fee is required."),t.k0s())}function If(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Max channel routing fee rate is required."),t.k0s())}function Sh(F,B){if(1&F&&(t.j41(0,"h4",48)(1,"span",49),t.EFF(2),t.k0s()()),2&F){const v=t.XpG(4);t.R7$(),t.Y8G("ngClass",t.l_i(2,A1,!!v.updateMsg.error,!!v.updateMsg.data)),t.R7$(),t.SpI(" ",v.updateMsg.error&&""!==v.updateMsg.error?"Error: "+v.updateMsg.error||0:v.updateMsg.data&&""!==v.updateMsg.data?v.updateMsg.data:"Successfully Updated the Funding Policy!"," ")}}function Pd(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",31)(1,"div",32),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.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."),t.k0s()(),t.j41(5,"div",33)(6,"mat-form-field",34)(7,"mat-label"),t.EFF(8,"Policy"),t.k0s(),t.j41(9,"mat-select",35),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(3);return t.DH7(Oe.selPolicyType,G)||(Oe.selPolicyType=G),t.Njj(G)}),t.bIt("selectionChange",function(){t.eBV(v);const G=t.XpG(3);return t.Njj(G.policyMod=null)}),t.DNE(10,Nd,3,4,"mat-option",36),t.k0s()(),t.j41(11,"mat-form-field",37)(12,"mat-label"),t.EFF(13),t.k0s(),t.j41(14,"input",38,1),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(3);return t.DH7(Oe.policyMod,G)||(Oe.policyMod=G),t.Njj(G)}),t.k0s(),t.j41(16,"mat-hint"),t.EFF(17),t.k0s(),t.DNE(18,wh,2,1,"mat-error",27)(19,Mh,2,2,"mat-error",27)(20,kf,2,2,"mat-error",27),t.k0s()(),t.j41(21,"div",33)(22,"mat-form-field",37)(23,"mat-label"),t.EFF(24,"Lease Base Fee (Sats)"),t.k0s(),t.j41(25,"input",39),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(3);return t.DH7(Oe.lease_fee_base_sat,G)||(Oe.lease_fee_base_sat=G),t.Njj(G)}),t.k0s(),t.DNE(26,Eh,2,0,"mat-error",27),t.k0s(),t.j41(27,"mat-form-field",37)(28,"mat-label"),t.EFF(29,"Lease Base Basis (bps)"),t.k0s(),t.j41(30,"input",40),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(3);return t.DH7(Oe.lease_fee_basis,G)||(Oe.lease_fee_basis=G),t.Njj(G)}),t.k0s(),t.DNE(31,P0,2,0,"mat-error",27),t.k0s()(),t.j41(32,"div",33)(33,"mat-form-field",37)(34,"mat-label"),t.EFF(35,"Max Channel Routing Base Fee (Sats)"),t.k0s(),t.j41(36,"input",41),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(3);return t.DH7(Oe.channelFeeMaxBaseSat,G)||(Oe.channelFeeMaxBaseSat=G),t.Njj(G)}),t.k0s(),t.DNE(37,z0,2,0,"mat-error",27),t.k0s(),t.j41(38,"mat-form-field",37)(39,"mat-label"),t.EFF(40,"Max Channel Routing Fee Rate (ppm)"),t.k0s(),t.j41(41,"input",42),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(3);return t.DH7(Oe.channelFeeMaxProportional,G)||(Oe.channelFeeMaxProportional=G),t.Njj(G)}),t.k0s(),t.DNE(42,If,2,0,"mat-error",27),t.k0s()(),t.DNE(43,Sh,3,5,"h4",43),t.j41(44,"div",44)(45,"button",45),t.bIt("click",function(){t.eBV(v);const G=t.XpG(3);return t.Njj(G.onResetPolicy())}),t.EFF(46,"Reset"),t.k0s(),t.j41(47,"button",46),t.bIt("click",function(){t.eBV(v);const G=t.XpG(3);return t.Njj(G.onUpdateFundingPolicy())}),t.EFF(48,"Update"),t.k0s()()()}if(2&F){const v=t.XpG(3);t.R7$(2),t.Y8G("icon",v.faExclamationTriangle),t.R7$(7),t.R50("ngModel",v.selPolicyType),t.R7$(),t.Y8G("ngForOf",v.policyTypes),t.R7$(3),t.JRh(v.selPolicyType.placeholder),t.R7$(),t.Y8G("step","fixed"===v.selPolicyType.id?1e3:10)("min",v.selPolicyType.min)("max",v.selPolicyType.max),t.R50("ngModel",v.policyMod),t.R7$(3),t.E5c("",v.selPolicyType.placeholder," should be between ",v.selPolicyType.min," and ",v.selPolicyType.max,""),t.R7$(),t.Y8G("ngIf",!v.policyMod),t.R7$(),t.Y8G("ngIf",v.policyModv.selPolicyType.max),t.R7$(5),t.R50("ngModel",v.lease_fee_base_sat),t.R7$(),t.Y8G("ngIf",!v.lease_fee_base_sat),t.R7$(4),t.R50("ngModel",v.lease_fee_basis),t.R7$(),t.Y8G("ngIf",!v.lease_fee_basis),t.R7$(5),t.R50("ngModel",v.channelFeeMaxBaseSat),t.R7$(),t.Y8G("ngIf",!v.channelFeeMaxBaseSat),t.R7$(4),t.R50("ngModel",v.channelFeeMaxProportional),t.R7$(),t.Y8G("ngIf",!v.channelFeeMaxProportional),t.R7$(),t.Y8G("ngIf",v.flgUpdateCalled)}}function Th(F,B){if(1&F&&(t.j41(0,"form",19,0),t.DNE(2,k1,12,1,"div",27)(3,Pd,49,23,"div",28),t.k0s()),2&F){const v=t.XpG(2);t.R7$(2),t.Y8G("ngIf",!v.features[1].enabled),t.R7$(),t.Y8G("ngIf",v.features[1].enabled)}}function B0(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-expansion-panel",10),t.bIt("opened",function(){const G=t.eBV(v).index,Oe=t.XpG();return t.Njj(Oe.onPanelExpanded(G))}),t.j41(1,"mat-expansion-panel-header")(2,"mat-panel-title",11)(3,"h4",12),t.EFF(4),t.k0s(),t.j41(5,"h4",12),t.DNE(6,ed,1,0,"span",13)(7,N0,1,0,"span",14),t.EFF(8),t.k0s()()(),t.j41(9,"div",15),t.DNE(10,M4,29,5,"form",16)(11,Th,4,2,"form",16),t.k0s()()}if(2&F){const v=B.$implicit,H=B.index;t.Y8G("expanded",!1),t.R7$(4),t.JRh(v.name),t.R7$(2),t.Y8G("ngIf",v.enabled),t.R7$(),t.Y8G("ngIf",!v.enabled),t.R7$(),t.SpI(" ",v.enabled?"Enabled":"Disabled"," "),t.R7$(2),t.Y8G("ngIf",0===H),t.R7$(),t.Y8G("ngIf",1===H)}}let Rf=(()=>{class F{constructor(v,H,G,Oe){this.logger=v,this.store=H,this.dataService=G,this.commonService=Oe,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=Wt.ul,this.selPolicyType=Wt.ul[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.dataService.listConfigs().pipe((0,dn.Q)(this.unSubs[0])).subscribe({next:v=>{this.logger.info("Received List Configs: "+JSON.stringify(v)),this.features[1].enabled=!!v["experimental-dual-fund"]},error:v=>{this.logger.error("List Configs Error: "+JSON.stringify(v)),this.features[1].enabled=!1}}),this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.selNode=v,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(ns.Al).pipe((0,dn.Q)(this.unSubs[2])).subscribe(v=>{this.policyTypes[2].max=v.balance.totalBalance||1e3})}onPanelExpanded(v){1===v&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,dn.Q)(this.unSubs[3])).subscribe(H=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(H)),this.fundingPolicy=H,this.fundingPolicy.policy&&(this.selPolicyType=Wt.ul.find(G=>G.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,Sn.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,dn.Q)(this.unSubs[4])).subscribe({next:v=>{this.logger.info(v),this.fundingPolicy=v,this.updateMsg={data:"Compact Lease: "+v.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:v=>{this.logger.error(v),this.updateMsg={error:this.commonService.extractErrorMessage(v,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.selPolicyType=this.fundingPolicy.policy?Wt.ul.find(v=>v.id===this.fundingPolicy.policy)||this.policyTypes[0]:Wt.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(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(Pi.il),t.rXU(Jl.u),t.rXU(is.h))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",2)(1,"div",3),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.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."),t.k0s()(),t.j41(5,"form",5,0)(7,"div",6),t.nrm(8,"fa-icon",7),t.j41(9,"span",8),t.EFF(10,"Features"),t.k0s()(),t.j41(11,"mat-accordion"),t.DNE(12,B0,12,7,"mat-expansion-panel",9),t.k0s()()()),2&H&&(t.R7$(2),t.Y8G("icon",G.faInfoCircle),t.R7$(6),t.Y8G("icon",G.faCode),t.R7$(4),t.Y8G("ngForOf",G.features))},dependencies:[si.YU,si.Sq,si.bT,De.qT,De.me,De.Q0,De.BC,De.cb,De.YS,De.VZ,De.zX,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,Go.PW,be.$z,Br.BS,Br.GK,Br.Z2,Br.WN,Ta.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,rl.q,ft.VO,Rt.wT,Rl.sG,Jt.Ld,Mi.N,ql.z,F0.V,si.PV],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return F})(),E4=(()=>{class F{constructor(){}static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",0)(1,"mat-card")(2,"mat-card-content",1)(3,"div",2)(4,"div",3),t.EFF(5,"No Service Found!"),t.k0s()()()()())},dependencies:[$i.DJ,$i.sA,Mr.RN,Mr.m2],encapsulation:2})}}return F})();const S4=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([g.e(193),g.e(190)]).then(g.bind(g,9190)).then(F=>F.LNDModule),canActivate:[(0,lo.q_)()]},{path:"cln",loadChildren:()=>Promise.all([g.e(193),g.e(853)]).then(g.bind(g,4853)).then(F=>F.CLNModule),canActivate:[(0,lo.q_)()]},{path:"ecl",loadChildren:()=>Promise.all([g.e(193),g.e(17)]).then(g.bind(g,9017)).then(F=>F.ECLModule),canActivate:[(0,lo.q_)()]},{path:"settings",component:T2,canActivate:[(0,lo.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:Pn,canActivate:[(0,lo.q_)()]},{path:"auth",component:n0,canActivate:[(0,lo.q_)()]},{path:"bconfig",component:a4,canActivate:[(0,lo.q_)()]}]},{path:"config",component:s4,canActivate:[(0,lo.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:k2,canActivate:[(0,lo.q_)()]},{path:"pglayout",component:$u,canActivate:[(0,lo.q_)()]},{path:"services",component:o0,canActivate:[(0,lo.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:d1,canActivate:[(0,lo.q_)()]},{path:"boltz",component:c0,canActivate:[(0,lo.q_)()]},{path:"noservice",component:E4}]},{path:"experimental",component:Rf,canActivate:[(0,lo.q_)()]},{path:"lnconfig",component:Hr,canActivate:[(0,lo.q_)()]}]},{path:"services",component:P2,canActivate:[(0,lo.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:Y2},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:yh}]},{path:"help",component:Df},{path:"login",component:Zl},{path:"error",component:O0},{path:"**",component:D1.X}],zd=Nn.iI.forRoot(S4,{onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"});var I1=g(9029),R1=g(9881),V0=g(9183),O1=g(882),Of=g(5911),F1=g(4109),gs=g(7358);const mc={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.xiI,link:"/lnd/home",userPersona:Wt.HW.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.CQO,link:"/lnd/onchain",userPersona:Wt.HW.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.zm_,link:"/lnd/connections",userPersona:Wt.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.gdJ,link:"/lnd/connections",userPersona:Wt.HW.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:qi._qq,link:"/lnd/transactions",userPersona:Wt.HW.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:qi.knH,link:"/lnd/routing",userPersona:Wt.HW.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:qi.$Fj,link:"/lnd/reports",userPersona:Wt.HW.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.MjD,link:"/lnd/graph",userPersona:Wt.HW.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:qi.pCJ,link:"/lnd/messages",userPersona:Wt.HW.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:qi.cbP,link:"/lnd/channelbackup",userPersona:Wt.HW.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:qi.qFF,link:"/lnd/network",userPersona:Wt.HW.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:qi.D6w,link:"/lnd/network",userPersona:Wt.HW.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:qi.qIE,link:"/services/loop",userPersona:Wt.HW.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:qi.C8j,link:"/services/loop",userPersona:Wt.HW.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Wt.HW.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:qi.nsx,link:"/config",userPersona:Wt.HW.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:qi.EvL,link:"/help",userPersona:Wt.HW.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.xiI,link:"/cln/home",userPersona:Wt.HW.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.CQO,link:"/cln/onchain",userPersona:Wt.HW.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.zm_,link:"/cln/connections",userPersona:Wt.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.gdJ,link:"/cln/connections",userPersona:Wt.HW.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:qi.e4L,link:"/cln/liquidityads",userPersona:Wt.HW.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:qi._qq,link:"/cln/transactions",userPersona:Wt.HW.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:qi.knH,link:"/cln/routing",userPersona:Wt.HW.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:qi.$Fj,link:"/cln/reports",userPersona:Wt.HW.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.MjD,link:"/cln/graph",userPersona:Wt.HW.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:qi.pCJ,link:"/cln/messages",userPersona:Wt.HW.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:qi.WKo,link:"/cln/rates",userPersona:Wt.HW.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:qi.D6w,link:"/cln/rates",userPersona:Wt.HW.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:qi.qIE,link:"/services/loop",userPersona:Wt.HW.ALL,children:[{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Wt.HW.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:qi.nsx,link:"/config",userPersona:Wt.HW.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:qi.EvL,link:"/help",userPersona:Wt.HW.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.xiI,link:"/ecl/home",userPersona:Wt.HW.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.CQO,link:"/ecl/onchain",userPersona:Wt.HW.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.zm_,link:"/ecl/connections",userPersona:Wt.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.gdJ,link:"/ecl/connections",userPersona:Wt.HW.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:qi._qq,link:"/ecl/transactions",userPersona:Wt.HW.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:qi.knH,link:"/ecl/routing",userPersona:Wt.HW.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:qi.$Fj,link:"/ecl/reports",userPersona:Wt.HW.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.MjD,link:"/ecl/graph",userPersona:Wt.HW.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:qi.nsx,link:"/config",userPersona:Wt.HW.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:qi.EvL,link:"/help",userPersona:Wt.HW.ALL}]};function N1(F,B){if(1&F&&(t.j41(0,"mat-option",12),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v.index),t.R7$(),t.Lme(" ",v.lnNode," (",v.lnImplementation,") ")}}function Lh(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-select",10),t.bIt("selectionChange",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onNodeSelectionChange(G.value))}),t.j41(1,"perfect-scrollbar"),t.DNE(2,N1,2,3,"mat-option",11),t.k0s()()}if(2&F){const v=t.XpG();t.Y8G("value",v.selConfigNodeIndex),t.R7$(2),t.Y8G("ngForOf",v.appConfig.nodes)}}function U0(F,B){if(1&F&&(t.j41(0,"span",21),t.eu8(1,22),t.k0s()),2&F){const v=t.XpG().$implicit;t.XpG(2);const H=t.sdS(11);t.R7$(),t.Y8G("ngTemplateOutlet","boltzIconBlock"===v.icon?H:null)}}function Dh(F,B){if(1&F&&t.nrm(0,"fa-icon",23),2&F){const v=t.XpG().$implicit;t.Y8G("icon",v.icon)}}function P1(F,B){if(1&F&&(t.j41(0,"mat-icon",24),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.JRh(v.icon)}}function G0(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-tree-node",15)(1,"div",16),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG(2);return t.Njj(Oe.onChildNavClicked(G))}),t.j41(2,"div",17),t.DNE(3,U0,2,1,"span",18)(4,Dh,1,1,"fa-icon",19)(5,P1,2,1,"mat-icon",20),t.j41(6,"span"),t.EFF(7),t.k0s()()()()}if(2&F){const v=B.$implicit;t.FS9("routerLink",v.link),t.R7$(3),t.Y8G("ngIf","SVG"===v.iconType),t.R7$(),t.Y8G("ngIf","FA"===v.iconType),t.R7$(),t.Y8G("ngIf",!v.iconType),t.R7$(2),t.JRh(v.name)}}function z1(F,B){if(1&F&&(t.j41(0,"span",32),t.eu8(1,22),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.Y8G("ngTemplateOutlet",v.icon)}}function B1(F,B){if(1&F&&t.nrm(0,"fa-icon",23),2&F){const v=t.XpG().$implicit;t.Y8G("icon",v.icon)}}function id(F,B){if(1&F&&(t.j41(0,"mat-icon",24),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.JRh(v.icon)}}function Nf(F,B){if(1&F&&(t.j41(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),t.DNE(3,z1,2,1,"span",28)(4,B1,1,1,"fa-icon",19)(5,id,2,1,"mat-icon",20),t.j41(6,"span"),t.EFF(7),t.k0s()(),t.j41(8,"button",29)(9,"mat-icon"),t.EFF(10),t.k0s()()(),t.j41(11,"div",30),t.eu8(12,31),t.k0s()()),2&F){const v=B.$implicit,H=t.XpG(2);t.R7$(3),t.Y8G("ngIf","SVG"===v.iconType),t.R7$(),t.Y8G("ngIf","FA"===v.iconType),t.R7$(),t.Y8G("ngIf",!v.iconType),t.R7$(2),t.JRh(v.name),t.R7$(),t.BMQ("aria-label","toggle "+v.name),t.R7$(2),t.JRh(H.treeControlNested.isExpanded(v)?"arrow_drop_up":"arrow_drop_down"),t.R7$(),t.AVh("tree-children-invisible",!H.treeControlNested.isExpanded(v))}}function Pf(F,B){if(1&F&&(t.j41(0,"mat-tree",7,1),t.DNE(2,G0,8,5,"mat-tree-node",13)(3,Nf,13,8,"mat-nested-tree-node",14),t.k0s()),2&F){const v=t.XpG();t.Y8G("dataSource",v.navMenus)("treeControl",v.treeControlNested),t.R7$(3),t.Y8G("matTreeNodeDefWhen",v.hasChild)}}function T4(F,B){if(1&F&&(t.j41(0,"span",37),t.eu8(1,22),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.Y8G("ngTemplateOutlet",v.icon)}}function nd(F,B){if(1&F&&t.nrm(0,"fa-icon",38),2&F){const v=t.XpG().$implicit;t.FS9("matTooltip",v.name),t.Y8G("icon",v.icon)}}function H0(F,B){if(1&F&&(t.j41(0,"mat-icon",39),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.FS9("matTooltip",v.name),t.R7$(),t.JRh(v.icon)}}function Ah(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-tree-node",33),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG();return t.Njj(Oe.onShowData(G))}),t.DNE(1,T4,2,1,"span",34)(2,nd,1,2,"fa-icon",35)(3,H0,2,2,"mat-icon",36),t.j41(4,"span"),t.EFF(5),t.k0s()()}if(2&F){const v=B.$implicit;t.R7$(),t.Y8G("ngIf","SVG"===v.iconType),t.R7$(),t.Y8G("ngIf","FA"===v.iconType),t.R7$(),t.Y8G("ngIf",!v.iconType),t.R7$(2),t.JRh(v.name)}}function V1(F,B){if(1&F&&(t.j41(0,"span",32),t.eu8(1,22),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.Y8G("ngTemplateOutlet",v.icon)}}function kh(F,B){if(1&F&&t.nrm(0,"fa-icon",38),2&F){const v=t.XpG().$implicit;t.FS9("matTooltip",v.name),t.Y8G("icon",v.icon)}}function vl(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-tree-node",33),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG(2);return t.Njj(Oe.onClick(G))}),t.DNE(1,V1,2,1,"span",28)(2,kh,1,2,"fa-icon",35),t.j41(3,"span"),t.EFF(4),t.k0s()()}if(2&F){const v=B.$implicit;t.R7$(),t.Y8G("ngIf","SVG"===v.iconType),t.R7$(),t.Y8G("ngIf","FA"===v.iconType),t.R7$(2),t.JRh(v.name)}}function zf(F,B){if(1&F&&(t.j41(0,"mat-tree",7),t.DNE(1,vl,5,3,"mat-tree-node",8),t.k0s()),2&F){const v=t.XpG();t.Y8G("dataSource",v.navMenusLogout)("treeControl",v.treeControlLogout)}}function Ih(F,B){1&F&&(t.qSk(),t.j41(0,"svg",40)(1,"g",41)(2,"g",42),t.nrm(3,"circle",43)(4,"path",44)(5,"path",45),t.k0s()()())}let L4=(()=>{class F{constructor(v,H,G,Oe,kt,At){this.logger=v,this.commonService=H,this.sessionService=G,this.store=Oe,this.actions=kt,this.rtlEffects=At,this.ChildNavClicked=new t.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=Wt.HW,this.unSubs=[new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B],this.treeControlNested=new F1.XO(oi=>oi.children),this.treeControlLogout=new F1.XO(oi=>oi.children),this.treeControlShowData=new F1.XO(oi=>oi.children),this.navMenus=new gs.Zh,this.navMenusLogout=new gs.Zh,this.navMenusShowData=new gs.Zh,this.hasChild=(oi,ui)=>!!ui.children&&ui.children.length>0,this.version=Wt.xv,mc.LNDChildren&&200===mc.LNDChildren[mc.LNDChildren.length-1].id&&mc.LNDChildren.pop(),this.navMenus.data=mc.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const v=this.sessionService.getItem("token");this.showLogout=!!v,this.flgLoading=!!v,this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[0])).subscribe(H=>{this.appConfig=H}),this.store.select(vr.Az).pipe((0,dn.Q)(this.unSubs[1])).subscribe(H=>{if(this.information=H.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 G=this.information.chains[0];this.informationChain.chain=G.chain,this.informationChain.network=G.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=H.selNode,this.selConfigNodeIndex=+(H.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(H)}),this.sessionService.watchSession().pipe((0,dn.Q)(this.unSubs[2])).subscribe(H=>{this.showLogout=!!H.token,this.flgLoading=!!H.token}),this.actions.pipe((0,dn.Q)(this.unSubs[3]),(0,Cr.p)(H=>H.type===Wt.aU.LOGOUT)).subscribe(H=>{this.showLogout=!1})}onClick(v){"Logout"===v.name&&(this.store.dispatch((0,Sn.I1)({payload:{data:{type:Wt.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,dn.Q)(this.unSubs[4])).subscribe(H=>{H&&(this.showLogout=!1,this.store.dispatch((0,Sn.ri)({payload:""})))})),this.ChildNavClicked.emit(v)}onChildNavClicked(v){this.ChildNavClicked.emit(v)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){let v=[];v=JSON.parse(JSON.stringify(mc.LNDChildren)),this.navMenus.data=v?.filter(H=>H.children&&H.children.length?(H.children=H.children?.filter(G=>(G.userPersona===Wt.HW.ALL||G.userPersona===this.selNode.settings.userPersona)&&"/services/loop"!==G.link&&"/services/boltz"!==G.link||"/services/loop"===G.link&&this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()||"/services/boltz"===G.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()),H.children.length>0):H.userPersona===Wt.HW.ALL||H.userPersona===this.selNode.settings.userPersona)}loadCLNMenu(){let v=[];v=JSON.parse(JSON.stringify(mc.CLNChildren)),this.navMenus.data=v?.filter(H=>H.children&&H.children.length?(H.children=H.children?.filter(G=>(G.userPersona===Wt.HW.ALL||G.userPersona===this.selNode.settings.userPersona)&&"/services/peerswap"!==G.link||"/services/peerswap"===G.link&&this.selNode.settings.enablePeerswap||"/services/boltz"===G.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()),H.children.length>0):H.userPersona===Wt.HW.ALL||H.userPersona===this.selNode.settings.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(mc.ECLChildren))}onShowData(v){this.store.dispatch((0,Sn.OP)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(v){const H=this.selConfigNodeIndex;this.selConfigNodeIndex=v;const G=this.appConfig.nodes.find(Oe=>+Oe.index===v);this.store.dispatch((0,Sn.Qi)({payload:{uiMessage:Wt.MZ.UPDATE_SELECTED_NODE,prevLnNodeIndex:+H,currentLnNode:G||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(is.h),t.rXU($s.Q),t.rXU(Pi.il),t.rXU(it.En),t.rXU(Sa.H))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-side-navigation"]],viewQuery:function(H,G){if(1&H&&t.GBs(gs.lQ,5),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.tree=Oe.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(H,G){1&H&&(t.j41(0,"div",2)(1,"div",3),t.DNE(2,Lh,3,2,"mat-select",4),t.nrm(3,"mat-divider",5),t.DNE(4,Pf,4,3,"mat-tree",6),t.nrm(5,"mat-divider",5),t.j41(6,"mat-tree",7),t.DNE(7,Ah,6,4,"mat-tree-node",8),t.k0s()(),t.j41(8,"div",9),t.DNE(9,zf,2,2,"mat-tree",6),t.k0s()(),t.DNE(10,Ih,6,0,"ng-template",null,0,t.C5r)),2&H&&(t.R7$(2),t.Y8G("ngIf",G.appConfig.nodes.length>1),t.R7$(2),t.Y8G("ngIf",null==G.selNode.settings?null:G.selNode.settings.lnServerUrl),t.R7$(2),t.Y8G("dataSource",G.navMenusShowData)("treeControl",G.treeControlShowData),t.R7$(3),t.Y8G("ngIf",G.showLogout))},dependencies:[si.Sq,si.bT,si.T3,Qr.aY,$i.DJ,$i.sA,$i.UI,be.iY,Vc.An,rl.q,gs.q1,gs.yI,gs.pO,gs.lQ,gs.d6,gs.wx,ft.VO,Rt.wT,Sc.oV,Nn.Wk,Nn.wQ,Jt.ZF,Jt.Ld],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]})}}return F})();var U1=g(9115);function D4(F,B){if(1&F&&(t.j41(0,"p",14),t.nrm(1,"fa-icon",3),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&F){const v=t.XpG();t.R7$(),t.Y8G("icon",v.faCode),t.R7$(2),t.SpI("API Version: ",null==v.information?null:v.information.api_version,"")}}function rs(F,B){if(1&F&&(t.j41(0,"p",15),t.nrm(1,"fa-icon",3),t.j41(2,"span",16),t.EFF(3,"Settings"),t.k0s()()),2&F){const v=t.XpG();t.R7$(),t.Y8G("icon",v.faUserCog)}}function Bd(F,B){if(1&F&&(t.j41(0,"p",17),t.nrm(1,"fa-icon",3),t.j41(2,"span",18),t.EFF(3,"Help"),t.k0s()()),2&F){const v=t.XpG();t.R7$(),t.Y8G("icon",v.faQuestion)}}function Bf(F,B){if(1&F){const v=t.RV6();t.j41(0,"p",19),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onClick())}),t.nrm(1,"fa-icon",3),t.j41(2,"span"),t.EFF(3,"Logout"),t.k0s()()}if(2&F){const v=t.XpG();t.R7$(),t.Y8G("icon",v.faEject)}}let A4=(()=>{class F{constructor(v,H,G,Oe,kt){this.logger=v,this.sessionService=H,this.store=G,this.rtlEffects=Oe,this.actions=kt,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 Xi.B,new Xi.B,new Xi.B,new Xi.B],this.version=Wt.xv}ngOnInit(){this.store.select(vr.N).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{if(this.information=v,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 H=this.information.chains[0];this.informationChain.chain=H.chain,this.informationChain.network=H.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(v)}),this.sessionService.watchSession().pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.showLogout=!!v.token,this.flgLoading=!!v.token}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,Cr.p)(v=>v.type===Wt.aU.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,Sn.I1)({payload:{data:{type:Wt.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,dn.Q)(this.unSubs[3])).subscribe(v=>{v&&(this.showLogout=!1,this.store.dispatch((0,Sn.ri)({payload:""})))})}onDonate(){window.open("https://www.ridethelightning.info/donate/","_blank")}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU($s.Q),t.rXU(Pi.il),t.rXU(Sa.H),t.rXU(it.En))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"mat-menu",1,0)(2,"p",2),t.nrm(3,"fa-icon",3),t.j41(4,"span"),t.EFF(5),t.k0s()(),t.DNE(6,D4,4,2,"p",4)(7,rs,4,1,"p",5)(8,Bd,4,1,"p",6),t.j41(9,"p",7),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onDonate())}),t.qSk(),t.j41(10,"svg",8)(11,"g"),t.nrm(12,"path",9),t.k0s()(),t.joV(),t.j41(13,"span"),t.EFF(14,"Donate"),t.k0s()(),t.DNE(15,Bf,4,1,"p",10),t.k0s(),t.j41(16,"button",11),t.nrm(17,"img",12),t.j41(18,"mat-icon",13),t.EFF(19,"arrow_drop_down"),t.k0s()()}if(2&H){const Oe=t.sdS(1);t.Y8G("overlapTrigger",!1),t.R7$(3),t.Y8G("icon",G.faCodeBranch),t.R7$(2),t.SpI("Version: ",G.version,""),t.R7$(),t.Y8G("ngIf",null==G.information?null:G.information.api_version),t.R7$(),t.Y8G("ngIf",G.showLogout),t.R7$(),t.Y8G("ngIf",G.showLogout),t.R7$(7),t.Y8G("ngIf",G.showLogout),t.R7$(),t.Y8G("matMenuTriggerFor",Oe)}},dependencies:[si.bT,Qr.aY,$i.sA,be.iY,Vc.An,U1.kk,U1.fb,U1.Cp,Nn.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 F})();const Vf=["sideNavigation"],Uf=["sideNavContent"],Gf=(F,B)=>[F,B];function k4(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",15),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.sideNavToggle())}),t.j41(1,"mat-icon",16),t.EFF(2,"menu"),t.k0s()()}if(2&F){const v=t.XpG();t.Y8G("matTooltip",v.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",v.smallScreen)}}function Hf(F,B){1&F&&(t.qSk(),t.nrm(0,"path",21))}function I4(F,B){1&F&&(t.qSk(),t.nrm(0,"path",22))}function Rh(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",17),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.flgSidenavPinned=!G.flgSidenavPinned)}),t.qSk(),t.j41(1,"svg",18),t.DNE(2,Hf,1,0,"path",19)(3,I4,1,0,"path",20),t.k0s()()}if(2&F){const v=t.XpG();t.Y8G("matTooltip",v.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),t.R7$(2),t.Y8G("ngIf",!v.flgSidenavPinned),t.R7$(),t.Y8G("ngIf",v.flgSidenavPinned)}}function jf(F,B){if(1&F&&(t.j41(0,"span",23),t.EFF(1),t.k0s()),2&F){const v=t.XpG();t.R7$(),t.JRh(v.information.alias?"RTL - "+v.information.alias:"RTL")}}function R4(F,B){if(1&F&&(t.j41(0,"span",24),t.EFF(1),t.k0s()),2&F){const v=t.XpG();t.R7$(),t.JRh(v.information.alias?"Ride The Lightning - "+v.information.alias:"Ride The Lightning")}}function Vd(F,B){1&F&&(t.j41(0,"div",25),t.nrm(1,"mat-spinner",26),t.j41(2,"h4"),t.EFF(3,"Loading RTL..."),t.k0s()())}let Kc=(()=>{class F{constructor(v,H,G,Oe,kt,At,oi,ui,Wi){this.logger=v,this.commonService=H,this.store=G,this.actions=Oe,this.userIdle=kt,this.router=At,this.sessionService=oi,this.breakpointObserver=ui,this.renderer=Wi,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 Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.router.events.subscribe(v=>{v instanceof Nn.wF&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([Gr.Rp.XSmall,Gr.Rp.TabletPortrait,Gr.Rp.Small,Gr.Rp.Medium,Gr.Rp.Large,Gr.Rp.XLarge]).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{v.breakpoints[Gr.Rp.XSmall]?(this.commonService.setScreenSize(Wt.f7.XS),this.smallScreen=!0):v.breakpoints[Gr.Rp.TabletPortrait]?(this.commonService.setScreenSize(Wt.f7.SM),this.smallScreen=!0):v.breakpoints[Gr.Rp.Small]||v.breakpoints[Gr.Rp.Medium]?(this.commonService.setScreenSize(Wt.f7.MD),this.smallScreen=!1):v.breakpoints[Gr.Rp.Large]?(this.commonService.setScreenSize(Wt.f7.LG),this.smallScreen=!1):(this.commonService.setScreenSize(Wt.f7.XL),this.smallScreen=!1)}),this.store.dispatch((0,Sn.NU)()),this.accessKey=this.readAccessKey()||"",this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1),this.selNode=v}),this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[2])).subscribe(v=>{this.appConfig=v}),this.store.select(vr.N).pipe((0,dn.Q)(this.unSubs[3])).subscribe(v=>{this.information=v,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,dn.Q)(this.unSubs[4]),(0,Cr.p)(v=>v.type===Wt.aU.SET_APPLICATION_SETTINGS||v.type===Wt.aU.LOGIN||v.type===Wt.aU.LOGOUT)).subscribe(v=>{v.type===Wt.aU.SET_APPLICATION_SETTINGS&&(this.sessionService.getItem("token")||(+v.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,Sn.iD)({payload:{password:zn(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"],{state:{logoutReason:"Access key too short. It should be at least 32 characters long."}}))),v.type===Wt.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)),v.type===Wt.aU.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,dn.Q)(this.unSubs[5])).subscribe(v=>{this.logger.info("Counting Down: "+(11-v))}),this.userIdle.onTimeout().pipe((0,dn.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,Sn.Jh)()),this.store.dispatch((0,Sn.xO)({payload:{data:{type:Wt.A$.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,Sn.ri)({payload:"Logging Out. Time limit exceeded for session inactivity."})))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const v=window.location.href;return v.includes("access-key=")?v.substring(v.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(v){this.smallScreen&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}backdropClicked(){(!this.flgSidenavPinned||this.smallScreen)&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}copiedText(v){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+v)}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(is.h),t.rXU(Pi.il),t.rXU(it.En),t.rXU(mo),t.rXU(Nn.Ix),t.rXU($s.Q),t.rXU(Gr.QP),t.rXU(t.sFG))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-app"]],viewQuery:function(H,G){if(1&H&&(t.GBs(Vf,5),t.GBs(Uf,5)),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.sideNavigation=Oe.first),t.mGM(Oe=t.lsd())&&(G.sideNavContent=Oe.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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",3),t.nI1(1,"lowercase"),t.nI1(2,"lowercase"),t.j41(3,"mat-toolbar",4)(4,"div"),t.DNE(5,k4,3,2,"button",5)(6,Rh,4,3,"button",6),t.k0s(),t.j41(7,"div"),t.DNE(8,jf,2,1,"span",7)(9,R4,2,1,"span",8),t.k0s(),t.j41(10,"div"),t.nrm(11,"rtl-top-menu"),t.k0s()(),t.j41(12,"mat-sidenav-container",9),t.bIt("backdropClick",function(){return t.eBV(Oe),t.Njj(G.backdropClicked())}),t.j41(13,"mat-sidenav",10,0)(15,"rtl-side-navigation",11),t.bIt("ChildNavClicked",function(At){return t.eBV(Oe),t.Njj(G.onNavigationClicked(At))}),t.k0s()(),t.j41(16,"mat-sidenav-content",12,1)(18,"div",13),t.nrm(19,"router-outlet",null,2),t.k0s()()(),t.DNE(21,Vd,4,0,"div",14),t.k0s()}2&H&&(t.Y8G("ngClass",t.l_i(12,Gf,t.bMT(1,8,G.selNode.settings.themeColor),t.bMT(2,10,G.selNode.settings.themeMode))),t.R7$(5),t.Y8G("ngIf",G.flgLoggedIn),t.R7$(),t.Y8G("ngIf",!G.smallScreen&&G.flgLoggedIn),t.R7$(2),t.Y8G("ngIf",G.smallScreen),t.R7$(),t.Y8G("ngIf",!G.smallScreen),t.R7$(4),t.Y8G("opened",G.flgSideNavOpened&&G.flgLoggedIn)("mode",G.flgSidenavPinned&&!G.smallScreen?"side":"over"),t.R7$(8),t.Y8G("ngIf",!G.selNode.settings.themeColor))},dependencies:[si.YU,si.bT,$i.DJ,$i.sA,$i.UI,Go.PW,be.iY,Vc.An,V0.LG,O1.LG,O1.US,O1.El,Of.KQ,Sc.oV,Jt.Ld,L4,A4,Nn.n3,si.GH],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[R1.E]}})}}return F})(),bl=(()=>{class F{constructor(v){this.sessionService=v}intercept(v,H){if(this.sessionService.getItem("token")){const G=v.clone({headers:v.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return H.handle(G)}return H.handle(v)}static{this.\u0275fac=function(H){return new(H||F)(t.KVO($s.Q))}}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})();var Wf=g(7879),Oh=g(9579),Xf=g(283),O4=g(3017);const F4={userPersona:Wt.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"},Fh={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},j0={apiURL:"",apisCallStatus:{Login:{status:Wt.wn.UN_INITIATED},IsAuthorized:{status:Wt.wn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:F4,authentication:Fh,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,SSO:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,secret2FA:"",allowPasswordUpdate:!0,nodes:[{settings:F4,authentication:Fh}]},nodeData:{}},W0=(0,Pi.vy)(j0,(0,Pi.on)(Sn.Gd,(F,{payload:B})=>{const v=JSON.parse(JSON.stringify(F.apisCallStatus));return B.action&&(v[B.action]={status:B.status,statusCode:B.statusCode,message:B.message,URL:B.URL,filePath:B.filePath}),{...F,apisCallStatus:v}}),(0,Pi.on)(Sn.Tn,(F,{payload:B})=>({...j0,apisCallStatus:F.apisCallStatus,appConfig:F.appConfig,selNode:B})),(0,Pi.on)(Sn.Np,(F,{payload:B})=>({...F,selNode:B})),(0,Pi.on)(Sn.Fl,(F,{payload:B})=>({...F,nodeData:B})),(0,Pi.on)(Sn.IK,(F,{payload:B})=>({...F,appConfig:B}))),X0={apisCallStatus:{FetchPageSettings:{status:Wt.wn.UN_INITIATED},FetchInfo:{status:Wt.wn.UN_INITIATED},FetchFees:{status:Wt.wn.UN_INITIATED},FetchPeers:{status:Wt.wn.UN_INITIATED},FetchClosedChannels:{status:Wt.wn.UN_INITIATED},FetchPendingChannels:{status:Wt.wn.UN_INITIATED},FetchAllChannels:{status:Wt.wn.UN_INITIATED},FetchBalanceBlockchain:{status:Wt.wn.UN_INITIATED},FetchInvoices:{status:Wt.wn.UN_INITIATED},FetchPayments:{status:Wt.wn.UN_INITIATED},FetchForwardingHistory:{status:Wt.wn.UN_INITIATED},FetchUTXOs:{status:Wt.wn.UN_INITIATED},FetchTransactions:{status:Wt.wn.UN_INITIATED},FetchLightningTransactions:{status:Wt.wn.UN_INITIATED},FetchNetwork:{status:Wt.wn.UN_INITIATED}},pageSettings:Wt.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 Yf=!1,Nh=!1;const N4=(0,Pi.vy)(X0,(0,Pi.on)(Oa.e8,(F,{payload:B})=>{const v=JSON.parse(JSON.stringify(F.apisCallStatus));return B.action&&(v[B.action]={status:B.status,statusCode:B.statusCode,message:B.message,URL:B.URL,filePath:B.filePath}),{...F,apisCallStatus:v}}),(0,Pi.on)(Oa.p1,F=>({...X0})),(0,Pi.on)(Oa.x1,(F,{payload:B})=>({...F,information:B})),(0,Pi.on)(Oa.Qj,(F,{payload:B})=>({...F,peers:B})),(0,Pi.on)(Oa.Zi,(F,{payload:B})=>{const v=[...F.peers],H=F.peers.findIndex(G=>G.pub_key===B.pubkey);return H>-1&&v.splice(H,1),{...F,peers:v}}),(0,Pi.on)(Oa.Jx,(F,{payload:B})=>{const v=F.listInvoices;return v.invoices?.unshift(B),{...F,listInvoices:v}}),(0,Pi.on)(Oa.Dq,(F,{payload:B})=>{const v=F.listInvoices;return v.invoices=v.invoices?.map(H=>H.payment_request===B.payment_request?B:H),{...F,listInvoices:v}}),(0,Pi.on)(Oa._$,(F,{payload:B})=>{const v=F.listPayments;return v.payments=v.payments?.map(H=>H.payment_hash===B.payment_hash?B:H),{...F,listPayments:v}}),(0,Pi.on)(Oa.Uo,(F,{payload:B})=>({...F,fees:B})),(0,Pi.on)(Oa.z2,(F,{payload:B})=>({...F,closedChannels:B})),(0,Pi.on)(Oa.cU,(F,{payload:B})=>({...F,pendingChannels:B.pendingChannels,pendingChannelsSummary:B.pendingChannelsSummary})),(0,Pi.on)(Oa.dv,(F,{payload:B})=>{let v=0,H=0,G=0,Oe=0,kt=0,At=0;return B&&B.forEach(oi=>{oi.local_balance||(oi.local_balance=0),!0===oi.active?(kt+=+oi.local_balance,G+=1,oi.local_balance?v=+v+ +oi.local_balance:oi.local_balance=0,oi.remote_balance?H=+H+ +oi.remote_balance:oi.remote_balance=0):(At+=+oi.local_balance,Oe+=1)}),{...F,channels:B,channelsSummary:{active:{num_channels:G,capacity:kt},inactive:{num_channels:Oe,capacity:At}},lightningBalance:{local:v,remote:H}}}),(0,Pi.on)(Oa.cR,(F,{payload:B})=>{const v=[...F.channels],H=F.channels.findIndex(G=>G.channel_point===B.channelPoint);return H>-1&&v.splice(H,1),{...F,channels:v}}),(0,Pi.on)(Oa.DI,(F,{payload:B})=>({...F,blockchainBalance:B})),(0,Pi.on)(Oa.J9,(F,{payload:B})=>({...F,networkInfo:B})),(0,Pi.on)(Oa.$6,(F,{payload:B})=>(B.total_invoices||(B.total_invoices=F.listInvoices.total_invoices),{...F,listInvoices:B})),(0,Pi.on)(Oa.As,(F,{payload:B})=>{if(Yf=!0,B.length&&Nh){const v=[...F.utxos];return v.forEach(H=>{const G=B.find(Oe=>Oe.tx_hash===H.outpoint?.txid_str);H.label=G&&G.label?G.label:""}),{...F,utxos:v,transactions:B}}return{...F,transactions:B}}),(0,Pi.on)(Oa.O8,(F,{payload:B})=>{if(Nh=!0,B.length&&Yf){const v=[...F.transactions];B.forEach(H=>{const G=v.find(Oe=>Oe.tx_hash===H.outpoint?.txid_str);H.label=G&&G.label?G.label:""})}return{...F,utxos:B}}),(0,Pi.on)(Oa.Uj,(F,{payload:B})=>{const v={listInvoicesAll:F.allLightningTransactions.listInvoicesAll,listPaymentsAll:B};return{...F,listPayments:B,allLightningTransactions:v}}),(0,Pi.on)(Oa.b1,(F,{payload:B})=>{const v={listInvoicesAll:B.listInvoicesAll,listPaymentsAll:F.listPayments};return{...F,allLightningTransactions:v}}),(0,Pi.on)(Oa.kv,(F,{payload:B})=>{const v=[...F.channels,...F.closedChannels];let H=B.forwarding_events?JSON.parse(JSON.stringify(B)):{};return H.forwarding_events&&(H=Ph(H,v)),{...F,forwardingHistory:H}}),(0,Pi.on)(Oa.NS,(F,{payload:B})=>{const v=[];return Wt.ZC.forEach(H=>{const G=B&&B.length&&B.length>0?B.find(Oe=>Oe.pageId===H.pageId):null;if(G){const Oe=JSON.parse(JSON.stringify(G.tables));G.tables=[],H.tables.forEach(kt=>{const At=Oe.find(oi=>oi.tableId===kt.tableId)||null;G.tables.push(At||JSON.parse(JSON.stringify(kt)))}),v.push(G)}else v.push(JSON.parse(JSON.stringify(H)))}),{...F,pageSettings:v}})),Ph=(F,B)=>(F.forwarding_events.forEach(v=>{if(B&&B.length>0)for(let H=0;H{const v=JSON.parse(JSON.stringify(F.apisCallStatus));return B.action&&(v[B.action]={status:B.status,statusCode:B.statusCode,message:B.message,URL:B.URL,filePath:B.filePath}),{...F,apisCallStatus:v}}),(0,Pi.on)(La.gf,F=>({...Kf})),(0,Pi.on)(La.x1,(F,{payload:B})=>({...F,information:B,fees:{feeCollected:B.fees_collected_msat}})),(0,Pi.on)(La.C2,(F,{payload:B})=>B.perkb?{...F,feeRatesPerKB:B}:B.perkw?{...F,feeRatesPerKW:B}:{...F}),(0,Pi.on)(La.EM,(F,{payload:B})=>({...F,utxos:B.utxos||[],balance:B.balance,localRemoteBalance:B.localRemoteBalance})),(0,Pi.on)(La.Qj,(F,{payload:B})=>({...F,peers:B})),(0,Pi.on)(La.We,(F,{payload:B})=>({...F,peers:[...F.peers,B]})),(0,Pi.on)(La.Zi,(F,{payload:B})=>{const v=[...F.peers],H=F.peers.findIndex(G=>G.id===B.id);return H>-1&&v.splice(H,1),{...F,peers:v}}),(0,Pi.on)(La.dv,(F,{payload:B})=>({...F,activeChannels:B.activeChannels,pendingChannels:B.pendingChannels,inactiveChannels:B.inactiveChannels})),(0,Pi.on)(La.cR,(F,{payload:B})=>{const v=[...F.peers];return v.forEach(H=>{H.id===B.id&&(H.connected=!1,delete H.netaddr)}),{...F,peers:v}}),(0,Pi.on)(La.Uj,(F,{payload:B})=>({...F,payments:B})),(0,Pi.on)(La.kv,(F,{payload:B})=>{const v=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels],H=P4(B.listForwards,v);switch(B.listForwards=H,B.status){case Wt.xk.SETTLED:const G=F.fees;return G.totalTxCount=B.totalForwards||0,{...F,fees:G,forwardingHistory:B};case Wt.xk.FAILED:return{...F,failedForwardingHistory:B};case Wt.xk.LOCAL_FAILED:return{...F,localFailedForwardingHistory:B};default:return{...F}}}),(0,Pi.on)(La.Jx,(F,{payload:B})=>{const v=F.invoices;return v.invoices?.unshift(B),{...F,invoices:v}}),(0,Pi.on)(La.$6,(F,{payload:B})=>({...F,invoices:B})),(0,Pi.on)(La.Dq,(F,{payload:B})=>{const v=F.invoices;return v.invoices=v.invoices?.map(H=>(H.label===B.label&&(H.amount_received_msat=B.msat,H.payment_preimage=B.preimage,H.status="paid"),H)),{...F,invoices:v}}),(0,Pi.on)(La.qw,(F,{payload:B})=>({...F,offers:B})),(0,Pi.on)(La.kQ,(F,{payload:B})=>{const v=F.offers;return v?.unshift(B),{...F,offers:v}}),(0,Pi.on)(La.Gz,(F,{payload:B})=>{const v=[...F.offers],H=F.offers.findIndex(G=>G.offer_id===B.offer.offer_id);return H>-1&&v.splice(H,1,B.offer),{...F,offers:v}}),(0,Pi.on)(La.Qv,(F,{payload:B})=>({...F,offersBookmarks:B})),(0,Pi.on)(La.Db,(F,{payload:B})=>{const v=[...F.offersBookmarks],H=v.findIndex(G=>G.bolt12===B.bolt12);if(H<0)v?.unshift(B);else{const G={...v[H]};G.title=B.title,G.amountMSat=B.amountMSat,G.lastUpdatedAt=B.lastUpdatedAt,G.description=B.description,G.issuer=B.issuer,v.splice(H,1,G)}return{...F,offersBookmarks:v}}),(0,Pi.on)(La.NU,(F,{payload:B})=>{const v=[...F.offersBookmarks],H=F.offersBookmarks.findIndex(G=>G.bolt12===B.bolt12);return H>-1&&v.splice(H,1),{...F,offersBookmarks:v}}),(0,Pi.on)(La.NS,(F,{payload:B})=>{const v=[];return Wt.mu.forEach(H=>{const G=B&&B.length&&B.length>0?B.find(Oe=>Oe.pageId===H.pageId):null;if(G){const Oe=JSON.parse(JSON.stringify(G.tables));G.tables=[],H.tables.forEach(kt=>{const At=Oe.find(oi=>oi.tableId===kt.tableId)||null;G.tables.push(At||JSON.parse(JSON.stringify(kt)))}),v.push(G)}else v.push(JSON.parse(JSON.stringify(H)))}),{...F,pageSettings:v}})),P4=(F,B)=>(F&&F.length>0?F.forEach((v,H)=>{if(B&&B.length>0)for(let G=0;G{const v=JSON.parse(JSON.stringify(F.apisCallStatus));return B.action&&(v[B.action]={status:B.status,statusCode:B.statusCode,message:B.message,URL:B.URL,filePath:B.filePath}),{...F,apisCallStatus:v}}),(0,Pi.on)(Ha.Hh,F=>({...zh})),(0,Pi.on)(Ha.x1,(F,{payload:B})=>({...F,information:B})),(0,Pi.on)(Ha.Uo,(F,{payload:B})=>({...F,fees:B})),(0,Pi.on)(Ha.Tp,(F,{payload:B})=>({...F,activeChannels:B})),(0,Pi.on)(Ha.cU,(F,{payload:B})=>({...F,pendingChannels:B})),(0,Pi.on)(Ha.I6,(F,{payload:B})=>({...F,inactiveChannels:B})),(0,Pi.on)(Ha.ZE,(F,{payload:B})=>({...F,channelsStatus:B})),(0,Pi.on)(Ha.Xx,(F,{payload:B})=>({...F,onchainBalance:B})),(0,Pi.on)(Ha.N8,(F,{payload:B})=>({...F,lightningBalance:B})),(0,Pi.on)(Ha.Qj,(F,{payload:B})=>({...F,peers:B})),(0,Pi.on)(Ha.Zi,(F,{payload:B})=>{const v=[...F.peers],H=F.peers.findIndex(G=>G.nodeId===B.nodeId);return H>-1&&v.splice(H,1),{...F,peers:v}}),(0,Pi.on)(Ha.cR,(F,{payload:B})=>{const v=[...F.activeChannels],H=F.activeChannels.findIndex(G=>G.channelId===B.channelId);return H>-1&&v.splice(H,1),{...F,activeChannels:v}}),(0,Pi.on)(Ha.Uj,(F,{payload:B})=>{if(B&&B.sent){const v=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels];B.sent?.map(H=>{const G=F.peers.find(Oe=>Oe.nodeId===H.recipientNodeId);return H.recipientNodeAlias=G?G.alias:H.recipientNodeId,H.parts&&H.parts?.map(Oe=>{const kt=v.find(At=>At.channelId===Oe.toChannelId);return Oe.toChannelAlias=kt?kt.alias:Oe.toChannelId,H.parts}),B.sent})}if(B&&B.relayed){const v=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels];B.relayed.forEach(H=>{H=Vh(H,v)})}return{...F,payments:B}}),(0,Pi.on)(Ha.As,(F,{payload:B})=>({...F,transactions:B})),(0,Pi.on)(Ha.Jx,(F,{payload:B})=>{const v=F.invoices;return v?.unshift(B),{...F,invoices:v}}),(0,Pi.on)(Ha.$6,(F,{payload:B})=>({...F,invoices:B})),(0,Pi.on)(Ha.Dq,(F,{payload:B})=>{let v=F.invoices;return v=v?.map(H=>{if(H.paymentHash===B.paymentHash){if(B.hasOwnProperty("type")){const G=JSON.parse(JSON.stringify(H));return G.amountSettled=B.parts&&B.parts.length&&B.parts.length>0&&B.parts[0].amount?(B.parts[0].amount||0)/1e3:0,G.receivedAt=B.parts&&B.parts.length&&B.parts.length>0&&B.parts[0].timestamp?Math.round((B.parts[0].timestamp||0)/1e3):0,G.status="received",G}return B}return H}),{...F,invoices:v}}),(0,Pi.on)(Ha.gZ,(F,{payload:B})=>{let v=F.pendingChannels;return v=v?.map(H=>(H.channelId===B.channelId&&H.nodeId===B.remoteNodeId&&(B.currentState=B.currentState?.replace(/_/g," "),H.state=B.currentState),H)),{...F,pendingChannels:v}}),(0,Pi.on)(Ha.yn,(F,{payload:B})=>{const v=F.payments,H=Vh(B,[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels]);v.relayed?.unshift(H);const G=(B.amountIn||0)-(B.amountOut||0),Oe={localBalance:F.lightningBalance.localBalance+G,remoteBalance:F.lightningBalance.remoteBalance-G},kt=F.channelsStatus;kt.active&&(kt.active.capacity=(F.channelsStatus?.active?.capacity||0)+G);const At={daily_fee:(F.fees.daily_fee||0)+G,daily_txs:(F.fees.daily_txs||0)+1,weekly_fee:(F.fees.weekly_fee||0)+G,weekly_txs:(F.fees.weekly_txs||0)+1,monthly_fee:(F.fees.monthly_fee||0)+G,monthly_txs:(F.fees.monthly_txs||0)+1},oi=F.activeChannels;let ui=!1,Wi=!1;for(const Li of oi){if(Li.channelId===B.fromChannelId){ui=!0;const fn=(Li.toLocal||0)+(Li.toRemote||0);Li.toLocal=(Li.toLocal||0)+H.amountIn,Li.toRemote=(Li.toRemote||0)-H.amountIn,Li.balancedness=0===fn?1:+(1-Math.abs((Li.toLocal-Li.toRemote)/fn)).toFixed(3)}if(Li.channelId===B.toChannelId){Wi=!0;const fn=(Li.toLocal||0)+(Li.toRemote||0);Li.toLocal=(Li.toLocal||0)-H.amountOut,Li.toRemote=(Li.toRemote||0)+H.amountOut,Li.balancedness=0===fn?1:+(1-Math.abs((Li.toLocal-Li.toRemote)/fn)).toFixed(3)}if(Wi&&ui)break}return{...F,payments:v,lightningBalance:Oe,channelStatus:kt,fees:At,activeChannels:oi}}),(0,Pi.on)(Ha.NS,(F,{payload:B})=>{const v=[];return Wt.X8.forEach(H=>{const G=B&&B.length&&B.length>0?B.find(Oe=>Oe.pageId===H.pageId):null;if(G){const Oe=JSON.parse(JSON.stringify(G.tables));G.tables=[],H.tables.forEach(kt=>{const At=Oe.find(oi=>oi.tableId===kt.tableId)||null;G.tables.push(At||JSON.parse(JSON.stringify(kt)))}),v.push(G)}else v.push(JSON.parse(JSON.stringify(H)))}),{...F,pageSettings:v}})),Vh=(F,B)=>{if("payment-relayed"===F.type)if(B&&B.length>0)for(let v=0;v0)for(let G=0;G{B[G].channelId?.toString()===Oe.channelId&&(Oe.channelAlias=B[G].alias?B[G].alias:Oe.channelId,Oe.shortChannelId=B[G].shortChannelId?B[G].shortChannelId:"")}),F.outgoing?.forEach(Oe=>{B[G].channelId?.toString()===Oe.channelId&&(Oe.channelAlias=B[G].alias?B[G].alias:Oe.channelId,Oe.shortChannelId=B[G].shortChannelId?B[G].shortChannelId:"")}),G===B.length-1&&(F.incoming&&F.incoming.length&&F.incoming.length>0&&!F.incoming[0].channelAlias&&F.incoming?.forEach(Oe=>{Oe.channelAlias=Oe.channelId?.substring(0,17)+"...",Oe.shortChannelId=""}),F.outgoing&&F.outgoing.length&&F.outgoing.length>0&&!F.outgoing[0].channelAlias&&F.outgoing?.forEach(Oe=>{Oe.channelAlias=Oe.channelId?.substring(0,17)+"...",Oe.shortChannelId=""}));else F.incoming?.forEach(G=>{G.channelAlias=G.channelId?.substring(0,17)+"...",G.shortChannelId=""}),F.outgoing?.forEach(G=>{G.channelAlias=G.channelId?.substring(0,17)+"...",G.shortChannelId=""});const v=F.incoming?.reduce((G,Oe)=>G+Oe.amount,0)||0;F.amountIn=Math.round(v/1e3),F.fromChannelId=F.incoming&&F.incoming.length?F.incoming[0].channelId:"",F.fromChannelAlias=F.incoming&&F.incoming.length?F.incoming[0].channelAlias:"",F.fromShortChannelId=F.incoming&&F.incoming.length?F.incoming[0].shortChannelId:"";const H=F.outgoing?.reduce((G,Oe)=>G+Oe.amount,0)||0;F.amountOut=Math.round(H/1e3),F.toChannelId=F.outgoing&&F.outgoing.length?F.outgoing[0].channelId:"",F.toChannelAlias=F.outgoing&&F.outgoing.length?F.outgoing[0].channelAlias:"",F.toShortChannelId=F.outgoing&&F.outgoing.length?F.outgoing[0].shortChannelId:""}return F};let Qf=!1;(0,t.naY)()&&(Qf=!0);let Uh=(()=>{class F{static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275mod=t.$C({type:F,bootstrap:[Kc]})}static{this.\u0275inj=t.G2t({providers:[Yr({idle:Wt.bz-10,timeout:10,ping:12e3}),{provide:Vo.a7,useClass:bl,multi:!0},$s.Q,Jl.u,Wf.I,B2.Q,is.h,Dc],imports:[Ra,I1.G,zd,Gr.RH,e.fM,Pi.md.forRoot({root:W0,lnd:N4,cln:$f,ecl:Bh},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),it.Vm.forRoot([Sa.H,Oh.L,Xf.i,O4.B]),Qf?so.instrument({connectInZone:!0}):[]]})}}return F})();e.sG().bootstrapModule(Uh).catch(F=>console.error(F))},426:(Qe,te)=>{"use strict";function g(X){return Object.keys(X).map(se=>X[se])}var X;Object.defineProperty(te,"__esModule",{value:!0}),(X=te.HashAlgorithms||(te.HashAlgorithms={})).SHA1="sha1",X.SHA256="sha256",X.SHA512="sha512";const e=g(te.HashAlgorithms);!function(X){X.ASCII="ascii",X.BASE64="base64",X.HEX="hex",X.LATIN1="latin1",X.UTF8="utf8"}(te.KeyEncodings||(te.KeyEncodings={}));const t=g(te.KeyEncodings);!function(X){X.HOTP="hotp",X.TOTP="totp"}(te.Strategy||(te.Strategy={}));const x=g(te.Strategy),D=()=>{throw new Error("Please provide an options.createDigest implementation.")};function l(X){return/^(\d+)$/.test(X)}function w(X,se,ae){return X.length>=se?X:`${Array(se+1).join(ae)}${X}`.slice(-1*se)}function f(X){const se=`otpauth://${X.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,ae=[];if(x.indexOf(X.type)<0)throw new Error(`Expecting options.type to be one of ${x.join(", ")}. Received ${X.type}.`);if("hotp"===X.type){if(null==X.counter||"number"!=typeof X.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');ae.push(`&counter=${X.counter}`)}return"totp"===X.type&&X.step&&ae.push(`&period=${X.step}`),X.digits&&ae.push(`&digits=${X.digits}`),X.algorithm&&ae.push(`&algorithm=${X.algorithm.toUpperCase()}`),X.issuer&&ae.push(`&issuer=${encodeURIComponent(X.issuer)}`),se.replace("{labelPrefix}",encodeURIComponent(X.issuer||X.accountName)).replace("{accountName}",encodeURIComponent(X.accountName)).replace("{secret}",X.secret).replace("{query}",ae.join(""))}class R{constructor(se={}){this._defaultOptions=Object.freeze({...se}),this._options=Object.freeze({})}create(se={}){return new R(se)}clone(se={}){const ae=this.create({...this._defaultOptions,...se});return ae.options=this._options,ae}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(se){this._options=Object.freeze({...this._options,...se})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function h(X){if("function"!=typeof X.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof X.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof X.digits)throw new Error("Expecting options.digits to be a number.");if(!X.algorithm||e.indexOf(X.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${e.join(", ")}. Received ${X.algorithm}.`);if(!X.encoding||t.indexOf(X.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${t.join(", ")}. Received ${X.encoding}.`)}const S=(X,se,ae)=>Buffer.from(se,ae).toString("hex");function y(){return{algorithm:te.HashAlgorithms.SHA1,createHmacKey:S,createDigest:D,digits:6,encoding:te.KeyEncodings.ASCII}}function O(X){const se={...y(),...X};return h(se),Object.freeze(se)}function I(X){return w(X.toString(16),16,"0")}function V(X,se){const ae=Buffer.from(X,"hex"),he=15&ae[ae.length-1],st=((127&ae[he])<<24|(255&ae[he+1])<<16|(255&ae[he+2])<<8|255&ae[he+3])%Math.pow(10,se);return w(String(st),se,"0")}function Y(X,se,ae){const he=ae.digest||function j(X,se,ae){const he=I(se),Ie=ae.createHmacKey(ae.algorithm,X,ae.encoding);return ae.createDigest(ae.algorithm,Ie,he)}(X,se,ae);return V(he,ae.digits)}function W(X,se,ae,he){return!!l(X)&&X===Y(se,ae,he)}function Q(X,se,ae,he,Ie){return f({algorithm:Ie.algorithm,digits:Ie.digits,type:te.Strategy.HOTP,accountName:X,counter:he,issuer:se,secret:ae})}class J extends R{create(se={}){return new J(se)}allOptions(){return O(this.options)}generate(se,ae){return Y(se,ae,this.allOptions())}check(se,ae,he){return W(se,ae,he,this.allOptions())}verify(se){if("object"!=typeof se)throw new Error("Expecting argument 0 of verify to be an object");return this.check(se.token,se.secret,se.counter)}keyuri(se,ae,he,Ie){return Q(se,ae,he,Ie,this.allOptions())}}function ie(X){if("number"==typeof X)return[Math.abs(X),Math.abs(X)];if(Array.isArray(X)){const[se,ae]=X;if("number"==typeof se&&"number"==typeof ae)return[Math.abs(se),Math.abs(ae)]}throw new Error("Expecting options.window to be an number or [number, number].")}function ee(X){if(h(X),ie(X.window),"number"!=typeof X.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof X.step)throw new Error("Expecting options.step to be a number.")}const fe=(X,se,ae)=>{const he=X.length,Ie=Buffer.from(X,se).toString("hex");if(he{switch(X){case te.HashAlgorithms.SHA1:return fe(se,ae,20);case te.HashAlgorithms.SHA256:return fe(se,ae,32);case te.HashAlgorithms.SHA512:return fe(se,ae,64);default:throw new Error(`Expecting algorithm to be one of ${e.join(", ")}. Received ${X}.`)}};function Me(){return{algorithm:te.HashAlgorithms.SHA1,createDigest:D,createHmacKey:ne,digits:6,encoding:te.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function Ce(X){const se={...Me(),...X};return ee(se),Object.freeze(se)}function le(X,se){return Math.floor(X/se/1e3)}function T(X,se){return Y(X,le(se.epoch,se.step),se)}function n(X,se,ae,he){const Ie=[];if(0===he)return Ie;for(let st=1;st<=he;st++)Ie.push(X+se*st*ae);return Ie}function c(X,se,ae){const he=ie(ae),Ie=1e3*se;return{current:X,past:n(X,-1,Ie,he[0]),future:n(X,1,Ie,he[1])}}function m(X,se,ae){return!!l(X)&&X===T(se,ae)}function d(X,se,ae,he){let Ie=null;return X.some((st,me)=>!!m(se,ae,{...he,epoch:st})&&(Ie=me+1,!0)),Ie}function C(X,se,ae){if(m(X,se,ae))return 0;const he=c(ae.epoch,ae.step,ae.window),Ie=d(he.past,X,se,ae);return null!==Ie?-1*Ie:d(he.future,X,se,ae)}function A(X,se){return Math.floor(X/1e3)%se}function k(X,se){return se-A(X,se)}function _(X,se,ae,he){return f({algorithm:he.algorithm,digits:he.digits,step:he.step,type:te.Strategy.TOTP,accountName:X,issuer:se,secret:ae})}class a extends J{create(se={}){return new a(se)}allOptions(){return Ce(this.options)}generate(se){return T(se,this.allOptions())}checkDelta(se,ae){return C(se,ae,this.allOptions())}check(se,ae){return"number"==typeof this.checkDelta(se,ae)}verify(se){if("object"!=typeof se)throw new Error("Expecting argument 0 of verify to be an object");return this.check(se.token,se.secret)}timeRemaining(){const se=this.allOptions();return k(se.epoch,se.step)}timeUsed(){const se=this.allOptions();return A(se.epoch,se.step)}keyuri(se,ae,he){return _(se,ae,he,this.allOptions())}}function b(X){if(ee(X),"function"!=typeof X.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(X.keyEncoder&&"function"!=typeof X.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function z(){return{algorithm:te.HashAlgorithms.SHA1,createDigest:D,createHmacKey:ne,digits:6,encoding:te.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function N(X){const se={...z(),...X};return b(se),Object.freeze(se)}function q(X,se){return se.keyEncoder(X,se.encoding)}function pe(X,se){return se.keyDecoder(X,se.encoding)}function ze(X,se){return q(se.createRandomBytes(X,se.encoding),se)}function Xe(X,se){return T(pe(X,se),se)}function We(X,se,ae){return C(X,pe(se,ae),ae)}class oe extends a{create(se={}){return new oe(se)}allOptions(){return N(this.options)}generate(se){return Xe(se,this.allOptions())}checkDelta(se,ae){return We(se,ae,this.allOptions())}encode(se){return q(se,this.allOptions())}decode(se){return pe(se,this.allOptions())}generateSecret(se=10){return ze(se,this.allOptions())}}te.Authenticator=oe,te.HASH_ALGORITHMS=e,te.HOTP=J,te.KEY_ENCODINGS=t,te.OTP=R,te.STRATEGY=x,te.TOTP=a,te.authenticatorCheckWithWindow=We,te.authenticatorDecoder=pe,te.authenticatorDefaultOptions=z,te.authenticatorEncoder=q,te.authenticatorGenerateSecret=ze,te.authenticatorOptionValidator=b,te.authenticatorOptions=N,te.authenticatorToken=Xe,te.createDigestPlaceholder=D,te.hotpCheck=W,te.hotpCounter=I,te.hotpCreateHmacKey=S,te.hotpDefaultOptions=y,te.hotpDigestToToken=V,te.hotpKeyuri=Q,te.hotpOptions=O,te.hotpOptionsValidator=h,te.hotpToken=Y,te.isTokenValid=l,te.keyuri=f,te.objectValues=g,te.padStart=w,te.totpCheck=m,te.totpCheckByEpoch=d,te.totpCheckWithWindow=C,te.totpCounter=le,te.totpCreateHmacKey=ne,te.totpDefaultOptions=Me,te.totpEpochAvailable=c,te.totpKeyuri=_,te.totpOptions=Ce,te.totpOptionsValidator=ee,te.totpPadSecret=fe,te.totpTimeRemaining=k,te.totpTimeUsed=A,te.totpToken=T},7840:(Qe,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(g(1426));te.createDigest=(l,w,f)=>t.createHmac(l,Buffer.from(w,"hex")).update(Buffer.from(f,"hex")).digest().toString("hex"),te.createRandomBytes=(l,w)=>t.randomBytes(l).toString(w)},5526:(Qe,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(g(7851));te.keyDecoder=(l,w)=>t.decode(l).toString(w),te.keyEncoder=(l,w)=>t.encode(Buffer.from(l,w).toString("ascii")).toString().replace(/=/g,"")},4478:(Qe,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var e=g(7840),t=g(5526),x=g(426);const D=new x.HOTP({createDigest:e.createDigest}),l=new x.TOTP({createDigest:e.createDigest}),w=new x.Authenticator({createDigest:e.createDigest,createRandomBytes:e.createRandomBytes,keyDecoder:t.keyDecoder,keyEncoder:t.keyEncoder});te.authenticator=w,te.hotp=D,te.totp=l},1990:(Qe,te,g)=>{var e=te;e.bignum=g(6867),e.define=g(6626).define,e.base=g(5066),e.constants=g(7740),e.decoders=g(1558),e.encoders=g(2714)},6626:(Qe,te,g)=>{var e=g(1990),t=g(1993);function D(l,w){this.name=l,this.body=w,this.decoders={},this.encoders={}}te.define=function(w,f){return new D(w,f)},D.prototype._createNamed=function(w){var f;try{f=g(8326).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch{f=function(h){this._initNamed(h)}}return t(f,w),f.prototype._initNamed=function(h){w.call(this,h)},new f(this)},D.prototype._getDecoder=function(w){return this.decoders.hasOwnProperty(w=w||"der")||(this.decoders[w]=this._createNamed(e.decoders[w])),this.decoders[w]},D.prototype.decode=function(w,f,R){return this._getDecoder(f).decode(w,R)},D.prototype._getEncoder=function(w){return this.encoders.hasOwnProperty(w=w||"der")||(this.encoders[w]=this._createNamed(e.encoders[w])),this.encoders[w]},D.prototype.encode=function(w,f,R){return this._getEncoder(f).encode(w,R)}},7290:(Qe,te,g)=>{var e=g(1993),t=g(5066).Reporter,x=g(3838).Buffer;function D(w,f){t.call(this,f),x.isBuffer(w)?(this.base=w,this.offset=0,this.length=w.length):this.error("Input not Buffer")}function l(w,f){if(Array.isArray(w))this.length=0,this.value=w.map(function(R){return R instanceof l||(R=new l(R,f)),this.length+=R.length,R},this);else if("number"==typeof w){if(!(0<=w&&w<=255))return f.error("non-byte EncoderBuffer value");this.value=w,this.length=1}else if("string"==typeof w)this.value=w,this.length=x.byteLength(w);else{if(!x.isBuffer(w))return f.error("Unsupported type: "+typeof w);this.value=w,this.length=w.length}}e(D,t),te.t=D,D.prototype.save=function(){return{offset:this.offset,reporter:t.prototype.save.call(this)}},D.prototype.restore=function(f){var R=new D(this.base);return R.offset=f.offset,R.length=this.offset,this.offset=f.offset,t.prototype.restore.call(this,f.reporter),R},D.prototype.isEmpty=function(){return this.offset===this.length},D.prototype.readUInt8=function(f){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(f||"DecoderBuffer overrun")},D.prototype.skip=function(f,R){if(!(this.offset+f<=this.length))return this.error(R||"DecoderBuffer overrun");var h=new D(this.base);return h._reporterState=this._reporterState,h.offset=this.offset,h.length=this.offset+f,this.offset+=f,h},D.prototype.raw=function(f){return this.base.slice(f?f.offset:this.offset,this.length)},te.d=l,l.prototype.join=function(f,R){return f||(f=new x(this.length)),R||(R=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(h){h.join(f,R),R+=h.length}):("number"==typeof this.value?f[R]=this.value:"string"==typeof this.value?f.write(this.value,R):x.isBuffer(this.value)&&this.value.copy(f,R),R+=this.length)),f}},5066:(Qe,te,g)=>{var e=te;e.Reporter=g(5697).a,e.DecoderBuffer=g(7290).t,e.EncoderBuffer=g(7290).d,e.Node=g(4320)},4320:(Qe,te,g)=>{var e=g(5066).Reporter,t=g(5066).EncoderBuffer,x=g(5066).DecoderBuffer,D=g(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"],w=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(l);function R(S,y){var O={};this._baseState=O,O.enc=S,O.parent=y||null,O.children=null,O.tag=null,O.args=null,O.reverseArgs=null,O.choice=null,O.optional=!1,O.any=!1,O.obj=!1,O.use=null,O.useDecoder=null,O.key=null,O.default=null,O.explicit=null,O.implicit=null,O.contains=null,O.parent||(O.children=[],this._wrap())}Qe.exports=R;var h=["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,O={};h.forEach(function(V){O[V]=y[V]});var I=new this.constructor(O.parent);return I._baseState=O,I},R.prototype._wrap=function(){var y=this._baseState;w.forEach(function(O){this[O]=function(){var V=new this.constructor(this);return y.children.push(V),V[O].apply(V,arguments)}},this)},R.prototype._init=function(y){var O=this._baseState;D(null===O.parent),y.call(this),O.children=O.children.filter(function(I){return I._baseState.parent===this},this),D.equal(O.children.length,1,"Root node can have only one child")},R.prototype._useArgs=function(y){var O=this._baseState,I=y.filter(function(V){return V instanceof this.constructor},this);y=y.filter(function(V){return!(V instanceof this.constructor)},this),0!==I.length&&(D(null===O.children),O.children=I,I.forEach(function(V){V._baseState.parent=this},this)),0!==y.length&&(D(null===O.args),O.args=y,O.reverseArgs=y.map(function(V){if("object"!=typeof V||V.constructor!==Object)return V;var j={};return Object.keys(V).forEach(function(Y){Y==(0|Y)&&(Y|=0),j[V[Y]]=Y}),j}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(S){R.prototype[S]=function(){throw new Error(S+" not implemented for encoding: "+this._baseState.enc)}}),l.forEach(function(S){R.prototype[S]=function(){var O=this._baseState,I=Array.prototype.slice.call(arguments);return D(null===O.tag),O.tag=S,this._useArgs(I),this}}),R.prototype.use=function(y){D(y);var O=this._baseState;return D(null===O.use),O.use=y,this},R.prototype.optional=function(){return this._baseState.optional=!0,this},R.prototype.def=function(y){var O=this._baseState;return D(null===O.default),O.default=y,O.optional=!0,this},R.prototype.explicit=function(y){var O=this._baseState;return D(null===O.explicit&&null===O.implicit),O.explicit=y,this},R.prototype.implicit=function(y){var O=this._baseState;return D(null===O.explicit&&null===O.implicit),O.implicit=y,this},R.prototype.obj=function(){var y=this._baseState,O=Array.prototype.slice.call(arguments);return y.obj=!0,0!==O.length&&this._useArgs(O),this},R.prototype.key=function(y){var O=this._baseState;return D(null===O.key),O.key=y,this},R.prototype.any=function(){return this._baseState.any=!0,this},R.prototype.choice=function(y){var O=this._baseState;return D(null===O.choice),O.choice=y,this._useArgs(Object.keys(y).map(function(I){return y[I]})),this},R.prototype.contains=function(y){var O=this._baseState;return D(null===O.use),O.contains=y,this},R.prototype._decode=function(y,O){var I=this._baseState;if(null===I.parent)return y.wrapResult(I.children[0]._decode(y,O));var J,V=I.default,j=!0,Y=null;if(null!==I.key&&(Y=y.enterKey(I.key)),I.optional){var W=null;if(null!==I.explicit?W=I.explicit:null!==I.implicit?W=I.implicit:null!==I.tag&&(W=I.tag),null!==W||I.any){if(j=this._peekTag(y,W,I.any),y.isError(j))return j}else{var Q=y.save();try{null===I.choice?this._decodeGeneric(I.tag,y,O):this._decodeChoice(y,O),j=!0}catch{j=!1}y.restore(Q)}}if(I.obj&&j&&(J=y.enterObject()),j){if(null!==I.explicit){var ie=this._decodeTag(y,I.explicit);if(y.isError(ie))return ie;y=ie}var ee=y.offset;if(null===I.use&&null===I.choice){I.any&&(Q=y.save());var fe=this._decodeTag(y,null!==I.implicit?I.implicit:I.tag,I.any);if(y.isError(fe))return fe;I.any?V=y.raw(Q):y=fe}if(O&&O.track&&null!==I.tag&&O.track(y.path(),ee,y.length,"tagged"),O&&O.track&&null!==I.tag&&O.track(y.path(),y.offset,y.length,"content"),I.any||(V=null===I.choice?this._decodeGeneric(I.tag,y,O):this._decodeChoice(y,O)),y.isError(V))return V;if(!I.any&&null===I.choice&&null!==I.children&&I.children.forEach(function(Ce){Ce._decode(y,O)}),I.contains&&("octstr"===I.tag||"bitstr"===I.tag)){var ne=new x(V);V=this._getUse(I.contains,y._reporterState.obj)._decode(ne,O)}}return I.obj&&j&&(V=y.leaveObject(J)),null===I.key||null===V&&!0!==j?null!==Y&&y.exitKey(Y):y.leaveKey(Y,I.key,V),V},R.prototype._decodeGeneric=function(y,O,I){var V=this._baseState;return"seq"===y||"set"===y?null:"seqof"===y||"setof"===y?this._decodeList(O,y,V.args[0],I):/str$/.test(y)?this._decodeStr(O,y,I):"objid"===y&&V.args?this._decodeObjid(O,V.args[0],V.args[1],I):"objid"===y?this._decodeObjid(O,null,null,I):"gentime"===y||"utctime"===y?this._decodeTime(O,y,I):"null_"===y?this._decodeNull(O,I):"bool"===y?this._decodeBool(O,I):"objDesc"===y?this._decodeStr(O,y,I):"int"===y||"enum"===y?this._decodeInt(O,V.args&&V.args[0],I):null!==V.use?this._getUse(V.use,O._reporterState.obj)._decode(O,I):O.error("unknown tag: "+y)},R.prototype._getUse=function(y,O){var I=this._baseState;return I.useDecoder=this._use(y,O),D(null===I.useDecoder._baseState.parent),I.useDecoder=I.useDecoder._baseState.children[0],I.implicit!==I.useDecoder._baseState.implicit&&(I.useDecoder=I.useDecoder.clone(),I.useDecoder._baseState.implicit=I.implicit),I.useDecoder},R.prototype._decodeChoice=function(y,O){var I=this._baseState,V=null,j=!1;return Object.keys(I.choice).some(function(Y){var W=y.save(),Q=I.choice[Y];try{var J=Q._decode(y,O);if(y.isError(J))return!1;V={type:Y,value:J},j=!0}catch{return y.restore(W),!1}return!0},this),j?V:y.error("Choice not matched")},R.prototype._createEncoderBuffer=function(y){return new t(y,this.reporter)},R.prototype._encode=function(y,O,I){var V=this._baseState;if(null===V.default||V.default!==y){var j=this._encodeValue(y,O,I);if(void 0!==j&&!this._skipDefault(j,O,I))return j}},R.prototype._encodeValue=function(y,O,I){var V=this._baseState;if(null===V.parent)return V.children[0]._encode(y,O||new e);var Q=null;if(this.reporter=O,V.optional&&void 0===y){if(null===V.default)return;y=V.default}var j=null,Y=!1;if(V.any)Q=this._createEncoderBuffer(y);else if(V.choice)Q=this._encodeChoice(y,O);else if(V.contains)j=this._getUse(V.contains,I)._encode(y,O),Y=!0;else if(V.children)j=V.children.map(function(ee){if("null_"===ee._baseState.tag)return ee._encode(null,O,y);if(null===ee._baseState.key)return O.error("Child should have a key");var fe=O.enterKey(ee._baseState.key);if("object"!=typeof y)return O.error("Child expected, but input is not object");var ne=ee._encode(y[ee._baseState.key],O,y);return O.leaveKey(fe),ne},this).filter(function(ee){return ee}),j=this._createEncoderBuffer(j);else if("seqof"===V.tag||"setof"===V.tag){if(!V.args||1!==V.args.length)return O.error("Too many args for : "+V.tag);if(!Array.isArray(y))return O.error("seqof/setof, but data is not Array");var W=this.clone();W._baseState.implicit=null,j=this._createEncoderBuffer(y.map(function(ee){return this._getUse(this._baseState.args[0],y)._encode(ee,O)},W))}else null!==V.use?Q=this._getUse(V.use,I)._encode(y,O):(j=this._encodePrimitive(V.tag,y),Y=!0);if(!V.any&&null===V.choice){var J=null!==V.implicit?V.implicit:V.tag,ie=null===V.implicit?"universal":"context";null===J?null===V.use&&O.error("Tag could be omitted only for .use()"):null===V.use&&(Q=this._encodeComposite(J,Y,ie,j))}return null!==V.explicit&&(Q=this._encodeComposite(V.explicit,!1,"context",Q)),Q},R.prototype._encodeChoice=function(y,O){var I=this._baseState,V=I.choice[y.type];return V||D(!1,y.type+" not found in "+JSON.stringify(Object.keys(I.choice))),V._encode(y.value,O)},R.prototype._encodePrimitive=function(y,O){var I=this._baseState;if(/str$/.test(y))return this._encodeStr(O,y);if("objid"===y&&I.args)return this._encodeObjid(O,I.reverseArgs[0],I.args[1]);if("objid"===y)return this._encodeObjid(O,null,null);if("gentime"===y||"utctime"===y)return this._encodeTime(O,y);if("null_"===y)return this._encodeNull();if("int"===y||"enum"===y)return this._encodeInt(O,I.args&&I.reverseArgs[0]);if("bool"===y)return this._encodeBool(O);if("objDesc"===y)return this._encodeStr(O,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:(Qe,te,g)=>{var e=g(1993);function t(D){this._reporterState={obj:null,path:[],options:D||{},errors:[]}}function x(D,l){this.path=D,this.rethrow(l)}te.a=t,t.prototype.isError=function(l){return l instanceof x},t.prototype.save=function(){var l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},t.prototype.restore=function(l){var w=this._reporterState;w.obj=l.obj,w.path=w.path.slice(0,l.pathLen)},t.prototype.enterKey=function(l){return this._reporterState.path.push(l)},t.prototype.exitKey=function(l){var w=this._reporterState;w.path=w.path.slice(0,l-1)},t.prototype.leaveKey=function(l,w,f){var R=this._reporterState;this.exitKey(l),null!==R.obj&&(R.obj[w]=f)},t.prototype.path=function(){return this._reporterState.path.join("/")},t.prototype.enterObject=function(){var l=this._reporterState,w=l.obj;return l.obj={},w},t.prototype.leaveObject=function(l){var w=this._reporterState,f=w.obj;return w.obj=l,f},t.prototype.error=function(l){var w,f=this._reporterState,R=l instanceof x;if(w=R?l:new x(f.path.map(function(h){return"["+JSON.stringify(h)+"]"}).join(""),l.message||l,l.stack),!f.options.partial)throw w;return R||f.errors.push(w),w},t.prototype.wrapResult=function(l){var w=this._reporterState;return w.options.partial?{result:this.isError(l)?null:l,errors:w.errors}:l},e(x,Error),x.prototype.rethrow=function(l){if(this.message=l+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,x),!this.stack)try{throw new Error(this.message)}catch(w){this.stack=w.stack}return this}},6283:(Qe,te,g)=>{var e=g(7740);te.tagClass={0:"universal",1:"application",2:"context",3:"private"},te.tagClassByName=e._reverse(te.tagClass),te.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"},te.tagByName=e._reverse(te.tag)},7740:(Qe,te,g)=>{var e=te;e._reverse=function(x){var D={};return Object.keys(x).forEach(function(l){(0|l)==l&&(l|=0),D[x[l]]=l}),D},e.der=g(6283)},5941:(Qe,te,g)=>{var e=g(1993),t=g(1990),x=t.base,D=t.bignum,l=t.constants.der;function w(S){this.enc="der",this.name=S.name,this.entity=S,this.tree=new f,this.tree._init(S.body)}function f(S){x.Node.call(this,"der",S)}function R(S,y){var O=S.readUInt8(y);if(S.isError(O))return O;var I=l.tagClass[O>>6],V=!(32&O);if(31&~O)O&=31;else{var j=O;for(O=0;!(128&~j);){if(j=S.readUInt8(y),S.isError(j))return j;O<<=7,O|=127&j}}return{cls:I,primitive:V,tag:O,tagStr:l.tag[O]}}function h(S,y,O){var I=S.readUInt8(O);if(S.isError(I))return I;if(!y&&128===I)return null;if(!(128&I))return I;var V=127&I;if(V>4)return S.error("length octect is too long");I=0;for(var j=0;j{var e=te;e.der=g(5941),e.pem=g(9316)},9316:(Qe,te,g)=>{var e=g(1993),t=g(3838).Buffer,x=g(5941);function D(l){x.call(this,l),this.enc="pem"}e(D,x),Qe.exports=D,D.prototype.decode=function(w,f){for(var R=w.toString().split(/[\r\n]+/g),h=f.label.toUpperCase(),S=/^-----(BEGIN|END) ([^-]+)-----$/,y=-1,O=-1,I=0;I{var e=g(1993),t=g(3838).Buffer,x=g(1990),D=x.base,l=x.constants.der;function w(S){this.enc="der",this.name=S.name,this.entity=S,this.tree=new f,this.tree._init(S.body)}function f(S){D.Node.call(this,"der",S)}function R(S){return S<10?"0"+S:S}Qe.exports=w,w.prototype.encode=function(y,O){return this.tree._encode(y,O).join()},e(f,D.Node),f.prototype._encodeComposite=function(y,O,I,V){var Q,j=function h(S,y,O,I){var V;if("seqof"===S?S="seq":"setof"===S&&(S="set"),l.tagByName.hasOwnProperty(S))V=l.tagByName[S];else{if("number"!=typeof S||(0|S)!==S)return I.error("Unknown tag: "+S);V=S}return V>=31?I.error("Multi-octet tag encoding unsupported"):(y||(V|=32),V|=l.tagClassByName[O||"universal"]<<6)}(y,O,I,this.reporter);if(V.length<128)return(Q=new t(2))[0]=j,Q[1]=V.length,this._createEncoderBuffer([Q,V]);for(var Y=1,W=V.length;W>=256;W>>=8)Y++;(Q=new t(2+Y))[0]=j,Q[1]=128|Y,W=1+Y;for(var J=V.length;J>0;W--,J>>=8)Q[W]=255&J;return this._createEncoderBuffer([Q,V])},f.prototype._encodeStr=function(y,O){if("bitstr"===O)return this._createEncoderBuffer([0|y.unused,y.data]);if("bmpstr"===O){for(var I=new t(2*y.length),V=0;V=40)return this.reporter.error("Second objid identifier OOB");y.splice(0,2,40*y[0]+y[1])}var j=0;for(V=0;V=128;Y>>=7)j++}var W=new t(j),Q=W.length-1;for(V=y.length-1;V>=0;V--)for(W[Q--]=127&(Y=y[V]);(Y>>=7)>0;)W[Q--]=128|127&Y;return this._createEncoderBuffer(W)},f.prototype._encodeTime=function(y,O){var I,V=new Date(y);return"gentime"===O?I=[R(V.getFullYear()),R(V.getUTCMonth()+1),R(V.getUTCDate()),R(V.getUTCHours()),R(V.getUTCMinutes()),R(V.getUTCSeconds()),"Z"].join(""):"utctime"===O?I=[R(V.getFullYear()%100),R(V.getUTCMonth()+1),R(V.getUTCDate()),R(V.getUTCHours()),R(V.getUTCMinutes()),R(V.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+O+" time is not supported yet"),this._encodeStr(I,"octstr")},f.prototype._encodeNull=function(){return this._createEncoderBuffer("")},f.prototype._encodeInt=function(y,O){if("string"==typeof y){if(!O)return this.reporter.error("String int or enum given, but no values map");if(!O.hasOwnProperty(y))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(y));y=O[y]}if("number"!=typeof y&&!t.isBuffer(y)){var I=y.toArray();!y.sign&&128&I[0]&&I.unshift(0),y=new t(I)}if(t.isBuffer(y)){var V=y.length;0===y.length&&V++;var Y=new t(V);return y.copy(Y),0===y.length&&(Y[0]=0),this._createEncoderBuffer(Y)}if(y<128)return this._createEncoderBuffer(y);if(y<256)return this._createEncoderBuffer([0,y]);V=1;for(var j=y;j>=256;j>>=8)V++;for(j=(Y=new Array(V)).length-1;j>=0;j--)Y[j]=255&y,y>>=8;return 128&Y[0]&&Y.unshift(0),this._createEncoderBuffer(new t(Y))},f.prototype._encodeBool=function(y){return this._createEncoderBuffer(y?255:0)},f.prototype._use=function(y,O){return"function"==typeof y&&(y=y(O)),y._getEncoder("der").tree},f.prototype._skipDefault=function(y,O,I){var j,V=this._baseState;if(null===V.default)return!1;var Y=y.join();if(void 0===V.defaultBuffer&&(V.defaultBuffer=this._encodeValue(V.default,O,I).join()),Y.length!==V.defaultBuffer.length)return!1;for(j=0;j{var e=te;e.der=g(2193),e.pem=g(4816)},4816:(Qe,te,g)=>{var e=g(1993),t=g(2193);function x(D){t.call(this,D),this.enc="pem"}e(x,t),Qe.exports=x,x.prototype.encode=function(l,w){for(var R=t.prototype.encode.call(this,l).toString("base64"),h=["-----BEGIN "+w.label+"-----"],S=0;S=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(T,n,c){var m=f(T,c);return c-1>=n&&(m|=f(T,c-1)<<4),m}function h(T,n,c,m){for(var d=0,C=Math.min(T.length,c),A=n;A=49?k-49+10:k>=17?k-17+10:k}return d}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,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),x(c===(0|c)&&c>=2&&c<=36);var d=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(d++,this.negative=1),d=0;d-=3)this.words[C]|=(A=n[d]|n[d-1]<<8|n[d-2]<<16)<>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);else if("le"===m)for(d=0,C=0;d>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var d=0;d=c;d-=2)k=R(n,c,d)<=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;else for(d=(n.length-c)%2==0?c+1:c;d=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var d=0,C=1;C<=67108863;C*=c)d++;d--,C=C/c|0;for(var A=n.length-m,k=A%d,_=Math.min(A,A-k)+m,a=0,b=m;b<_;b+=d)a=h(n,b,b+d,c),this.imuln(C),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==k){var z=1;for(a=h(n,b,n.length,c),b=0;b1&&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?""};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],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],O=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(T,n,c){c.negative=n.negative^T.negative;var m=T.length+n.length|0;c.length=m,m=m-1|0;var d=0|T.words[0],C=0|n.words[0],A=d*C,_=A/67108864|0;c.words[0]=67108863&A;for(var a=1;a>>26,z=67108863&_,N=Math.min(a,n.length-1),q=Math.max(0,a-T.length+1);q<=N;q++)b+=(A=(d=0|T.words[a-q|0])*(C=0|n.words[q])+z)/67108864|0,z=67108863&A;c.words[a]=0|z,_=0|b}return 0!==_?c.words[a]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var d=0,C=0,A=0;A>>24-d&16777215)||A!==this.length-1?S[6-_.length]+_+m:_+m,(d+=2)>=26&&(d-=26,A--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var a=y[n],b=O[n];m="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(b).toString(n);m=(z=z.idivn(b)).isZero()?N+m:S[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}x(!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&&x(!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 x(typeof w<"u"),this.toArrayLike(w,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var d=this.byteLength(),C=m||Math.max(1,d);x(d<=C,"byte array longer than desired length"),x(C>0,"Requested array length <= 0"),this.strip();var _,a,A="le"===c,k=new n(C),b=this.clone();if(A){for(a=0;!b.isZero();a++)_=b.andln(255),b.iushrn(8),k[a]=_;for(;a=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},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;cn.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 m=0;mn.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,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var d=0;dn.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){x("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var d=0;d0&&(this.words[d]=~this.words[d]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){x("number"==typeof n&&n>=0);var m=n/26|0,d=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<n.length?(m=this,d=n):(m=n,d=this);for(var C=0,A=0;A>>26;for(;0!==C&&A>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;An.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 d,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(d=this,C=n):(d=n,C=this);for(var A=0,k=0;k>26,this.words[k]=67108863&c;for(;0!==A&&k>26,this.words[k]=67108863&c;if(0===A&&k>>13,pe=0|d[1],ze=8191&pe,Xe=pe>>>13,We=0|d[2],oe=8191&We,X=We>>>13,se=0|d[3],ae=8191&se,he=se>>>13,Ie=0|d[4],st=8191&Ie,me=Ie>>>13,Ee=0|d[5],ue=8191&Ee,Be=Ee>>>13,Ct=0|d[6],ct=8191&Ct,dt=Ct>>>13,Yt=0|d[7],ve=8191&Yt,_e=Yt>>>13,we=0|d[8],Ue=8191&we,je=we>>>13,vt=0|d[9],$e=8191&vt,nt=vt>>>13,qt=0|C[0],Nt=8191&qt,yt=qt>>>13,jt=0|C[1],Je=8191&jt,et=jt>>>13,Ae=0|C[2],It=8191&Ae,Qt=Ae>>>13,Tt=0|C[3],xt=8191&Tt,Se=Tt>>>13,Te=0|C[4],ce=8191&Te,Z=Te>>>13,Re=0|C[5],Pe=8191&Re,pt=Re>>>13,Ke=0|C[6],Fe=8191&Ke,Ge=Ke>>>13,qe=0|C[7],at=8191&qe,Lt=qe>>>13,pi=0|C[8],$t=8191&pi,Kt=pi>>>13,Ui=0|C[9],ti=8191&Ui,fi=Ui>>>13;m.negative=n.negative^c.negative,m.length=19;var xn=(k+(_=Math.imul(N,Nt))|0)+((8191&(a=(a=Math.imul(N,yt))+Math.imul(q,Nt)|0))<<13)|0;k=((b=Math.imul(q,yt))+(a>>>13)|0)+(xn>>>26)|0,xn&=67108863,_=Math.imul(ze,Nt),a=(a=Math.imul(ze,yt))+Math.imul(Xe,Nt)|0,b=Math.imul(Xe,yt);var tn=(k+(_=_+Math.imul(N,Je)|0)|0)+((8191&(a=(a=a+Math.imul(N,et)|0)+Math.imul(q,Je)|0))<<13)|0;k=((b=b+Math.imul(q,et)|0)+(a>>>13)|0)+(tn>>>26)|0,tn&=67108863,_=Math.imul(oe,Nt),a=(a=Math.imul(oe,yt))+Math.imul(X,Nt)|0,b=Math.imul(X,yt),_=_+Math.imul(ze,Je)|0,a=(a=a+Math.imul(ze,et)|0)+Math.imul(Xe,Je)|0,b=b+Math.imul(Xe,et)|0;var Vi=(k+(_=_+Math.imul(N,It)|0)|0)+((8191&(a=(a=a+Math.imul(N,Qt)|0)+Math.imul(q,It)|0))<<13)|0;k=((b=b+Math.imul(q,Qt)|0)+(a>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,_=Math.imul(ae,Nt),a=(a=Math.imul(ae,yt))+Math.imul(he,Nt)|0,b=Math.imul(he,yt),_=_+Math.imul(oe,Je)|0,a=(a=a+Math.imul(oe,et)|0)+Math.imul(X,Je)|0,b=b+Math.imul(X,et)|0,_=_+Math.imul(ze,It)|0,a=(a=a+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0,b=b+Math.imul(Xe,Qt)|0;var Qi=(k+(_=_+Math.imul(N,xt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Se)|0)+Math.imul(q,xt)|0))<<13)|0;k=((b=b+Math.imul(q,Se)|0)+(a>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(st,Nt),a=(a=Math.imul(st,yt))+Math.imul(me,Nt)|0,b=Math.imul(me,yt),_=_+Math.imul(ae,Je)|0,a=(a=a+Math.imul(ae,et)|0)+Math.imul(he,Je)|0,b=b+Math.imul(he,et)|0,_=_+Math.imul(oe,It)|0,a=(a=a+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,b=b+Math.imul(X,Qt)|0,_=_+Math.imul(ze,xt)|0,a=(a=a+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0,b=b+Math.imul(Xe,Se)|0;var Xt=(k+(_=_+Math.imul(N,ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,Z)|0)+Math.imul(q,ce)|0))<<13)|0;k=((b=b+Math.imul(q,Z)|0)+(a>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(ue,Nt),a=(a=Math.imul(ue,yt))+Math.imul(Be,Nt)|0,b=Math.imul(Be,yt),_=_+Math.imul(st,Je)|0,a=(a=a+Math.imul(st,et)|0)+Math.imul(me,Je)|0,b=b+Math.imul(me,et)|0,_=_+Math.imul(ae,It)|0,a=(a=a+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,b=b+Math.imul(he,Qt)|0,_=_+Math.imul(oe,xt)|0,a=(a=a+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,b=b+Math.imul(X,Se)|0,_=_+Math.imul(ze,ce)|0,a=(a=a+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0,b=b+Math.imul(Xe,Z)|0;var St=(k+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(a=(a=a+Math.imul(N,pt)|0)+Math.imul(q,Pe)|0))<<13)|0;k=((b=b+Math.imul(q,pt)|0)+(a>>>13)|0)+(St>>>26)|0,St&=67108863,_=Math.imul(ct,Nt),a=(a=Math.imul(ct,yt))+Math.imul(dt,Nt)|0,b=Math.imul(dt,yt),_=_+Math.imul(ue,Je)|0,a=(a=a+Math.imul(ue,et)|0)+Math.imul(Be,Je)|0,b=b+Math.imul(Be,et)|0,_=_+Math.imul(st,It)|0,a=(a=a+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,b=b+Math.imul(me,Qt)|0,_=_+Math.imul(ae,xt)|0,a=(a=a+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,b=b+Math.imul(he,Se)|0,_=_+Math.imul(oe,ce)|0,a=(a=a+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,b=b+Math.imul(X,Z)|0,_=_+Math.imul(ze,Pe)|0,a=(a=a+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0,b=b+Math.imul(Xe,pt)|0;var tt=(k+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(a=(a=a+Math.imul(N,Ge)|0)+Math.imul(q,Fe)|0))<<13)|0;k=((b=b+Math.imul(q,Ge)|0)+(a>>>13)|0)+(tt>>>26)|0,tt&=67108863,_=Math.imul(ve,Nt),a=(a=Math.imul(ve,yt))+Math.imul(_e,Nt)|0,b=Math.imul(_e,yt),_=_+Math.imul(ct,Je)|0,a=(a=a+Math.imul(ct,et)|0)+Math.imul(dt,Je)|0,b=b+Math.imul(dt,et)|0,_=_+Math.imul(ue,It)|0,a=(a=a+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,b=b+Math.imul(Be,Qt)|0,_=_+Math.imul(st,xt)|0,a=(a=a+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,b=b+Math.imul(me,Se)|0,_=_+Math.imul(ae,ce)|0,a=(a=a+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,b=b+Math.imul(he,Z)|0,_=_+Math.imul(oe,Pe)|0,a=(a=a+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,b=b+Math.imul(X,pt)|0,_=_+Math.imul(ze,Fe)|0,a=(a=a+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0,b=b+Math.imul(Xe,Ge)|0;var ot=(k+(_=_+Math.imul(N,at)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(q,at)|0))<<13)|0;k=((b=b+Math.imul(q,Lt)|0)+(a>>>13)|0)+(ot>>>26)|0,ot&=67108863,_=Math.imul(Ue,Nt),a=(a=Math.imul(Ue,yt))+Math.imul(je,Nt)|0,b=Math.imul(je,yt),_=_+Math.imul(ve,Je)|0,a=(a=a+Math.imul(ve,et)|0)+Math.imul(_e,Je)|0,b=b+Math.imul(_e,et)|0,_=_+Math.imul(ct,It)|0,a=(a=a+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,b=b+Math.imul(dt,Qt)|0,_=_+Math.imul(ue,xt)|0,a=(a=a+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,b=b+Math.imul(Be,Se)|0,_=_+Math.imul(st,ce)|0,a=(a=a+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,b=b+Math.imul(me,Z)|0,_=_+Math.imul(ae,Pe)|0,a=(a=a+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,b=b+Math.imul(he,pt)|0,_=_+Math.imul(oe,Fe)|0,a=(a=a+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,b=b+Math.imul(X,Ge)|0,_=_+Math.imul(ze,at)|0,a=(a=a+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0,b=b+Math.imul(Xe,Lt)|0;var Mt=(k+(_=_+Math.imul(N,$t)|0)|0)+((8191&(a=(a=a+Math.imul(N,Kt)|0)+Math.imul(q,$t)|0))<<13)|0;k=((b=b+Math.imul(q,Kt)|0)+(a>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul($e,Nt),a=(a=Math.imul($e,yt))+Math.imul(nt,Nt)|0,b=Math.imul(nt,yt),_=_+Math.imul(Ue,Je)|0,a=(a=a+Math.imul(Ue,et)|0)+Math.imul(je,Je)|0,b=b+Math.imul(je,et)|0,_=_+Math.imul(ve,It)|0,a=(a=a+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,b=b+Math.imul(_e,Qt)|0,_=_+Math.imul(ct,xt)|0,a=(a=a+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,b=b+Math.imul(dt,Se)|0,_=_+Math.imul(ue,ce)|0,a=(a=a+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,b=b+Math.imul(Be,Z)|0,_=_+Math.imul(st,Pe)|0,a=(a=a+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,b=b+Math.imul(me,pt)|0,_=_+Math.imul(ae,Fe)|0,a=(a=a+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,b=b+Math.imul(he,Ge)|0,_=_+Math.imul(oe,at)|0,a=(a=a+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,b=b+Math.imul(X,Lt)|0,_=_+Math.imul(ze,$t)|0,a=(a=a+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0,b=b+Math.imul(Xe,Kt)|0;var Bt=(k+(_=_+Math.imul(N,ti)|0)|0)+((8191&(a=(a=a+Math.imul(N,fi)|0)+Math.imul(q,ti)|0))<<13)|0;k=((b=b+Math.imul(q,fi)|0)+(a>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,_=Math.imul($e,Je),a=(a=Math.imul($e,et))+Math.imul(nt,Je)|0,b=Math.imul(nt,et),_=_+Math.imul(Ue,It)|0,a=(a=a+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,b=b+Math.imul(je,Qt)|0,_=_+Math.imul(ve,xt)|0,a=(a=a+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,b=b+Math.imul(_e,Se)|0,_=_+Math.imul(ct,ce)|0,a=(a=a+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,b=b+Math.imul(dt,Z)|0,_=_+Math.imul(ue,Pe)|0,a=(a=a+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,b=b+Math.imul(Be,pt)|0,_=_+Math.imul(st,Fe)|0,a=(a=a+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,b=b+Math.imul(me,Ge)|0,_=_+Math.imul(ae,at)|0,a=(a=a+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,b=b+Math.imul(he,Lt)|0,_=_+Math.imul(oe,$t)|0,a=(a=a+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,b=b+Math.imul(X,Kt)|0;var Ci=(k+(_=_+Math.imul(ze,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;k=((b=b+Math.imul(Xe,fi)|0)+(a>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,_=Math.imul($e,It),a=(a=Math.imul($e,Qt))+Math.imul(nt,It)|0,b=Math.imul(nt,Qt),_=_+Math.imul(Ue,xt)|0,a=(a=a+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,b=b+Math.imul(je,Se)|0,_=_+Math.imul(ve,ce)|0,a=(a=a+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,b=b+Math.imul(_e,Z)|0,_=_+Math.imul(ct,Pe)|0,a=(a=a+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,b=b+Math.imul(dt,pt)|0,_=_+Math.imul(ue,Fe)|0,a=(a=a+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,b=b+Math.imul(Be,Ge)|0,_=_+Math.imul(st,at)|0,a=(a=a+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,b=b+Math.imul(me,Lt)|0,_=_+Math.imul(ae,$t)|0,a=(a=a+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,b=b+Math.imul(he,Kt)|0;var Ti=(k+(_=_+Math.imul(oe,ti)|0)|0)+((8191&(a=(a=a+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0))<<13)|0;k=((b=b+Math.imul(X,fi)|0)+(a>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,_=Math.imul($e,xt),a=(a=Math.imul($e,Se))+Math.imul(nt,xt)|0,b=Math.imul(nt,Se),_=_+Math.imul(Ue,ce)|0,a=(a=a+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,b=b+Math.imul(je,Z)|0,_=_+Math.imul(ve,Pe)|0,a=(a=a+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,b=b+Math.imul(_e,pt)|0,_=_+Math.imul(ct,Fe)|0,a=(a=a+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,b=b+Math.imul(dt,Ge)|0,_=_+Math.imul(ue,at)|0,a=(a=a+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,b=b+Math.imul(Be,Lt)|0,_=_+Math.imul(st,$t)|0,a=(a=a+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,b=b+Math.imul(me,Kt)|0;var Hi=(k+(_=_+Math.imul(ae,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0))<<13)|0;k=((b=b+Math.imul(he,fi)|0)+(a>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul($e,ce),a=(a=Math.imul($e,Z))+Math.imul(nt,ce)|0,b=Math.imul(nt,Z),_=_+Math.imul(Ue,Pe)|0,a=(a=a+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,b=b+Math.imul(je,pt)|0,_=_+Math.imul(ve,Fe)|0,a=(a=a+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,b=b+Math.imul(_e,Ge)|0,_=_+Math.imul(ct,at)|0,a=(a=a+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,b=b+Math.imul(dt,Lt)|0,_=_+Math.imul(ue,$t)|0,a=(a=a+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,b=b+Math.imul(Be,Kt)|0;var Zi=(k+(_=_+Math.imul(st,ti)|0)|0)+((8191&(a=(a=a+Math.imul(st,fi)|0)+Math.imul(me,ti)|0))<<13)|0;k=((b=b+Math.imul(me,fi)|0)+(a>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul($e,Pe),a=(a=Math.imul($e,pt))+Math.imul(nt,Pe)|0,b=Math.imul(nt,pt),_=_+Math.imul(Ue,Fe)|0,a=(a=a+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,b=b+Math.imul(je,Ge)|0,_=_+Math.imul(ve,at)|0,a=(a=a+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,b=b+Math.imul(_e,Lt)|0,_=_+Math.imul(ct,$t)|0,a=(a=a+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,b=b+Math.imul(dt,Kt)|0;var ln=(k+(_=_+Math.imul(ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0))<<13)|0;k=((b=b+Math.imul(Be,fi)|0)+(a>>>13)|0)+(ln>>>26)|0,ln&=67108863,_=Math.imul($e,Fe),a=(a=Math.imul($e,Ge))+Math.imul(nt,Fe)|0,b=Math.imul(nt,Ge),_=_+Math.imul(Ue,at)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,b=b+Math.imul(je,Lt)|0,_=_+Math.imul(ve,$t)|0,a=(a=a+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,b=b+Math.imul(_e,Kt)|0;var mn=(k+(_=_+Math.imul(ct,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0))<<13)|0;k=((b=b+Math.imul(dt,fi)|0)+(a>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul($e,at),a=(a=Math.imul($e,Lt))+Math.imul(nt,at)|0,b=Math.imul(nt,Lt),_=_+Math.imul(Ue,$t)|0,a=(a=a+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,b=b+Math.imul(je,Kt)|0;var Ut=(k+(_=_+Math.imul(ve,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0))<<13)|0;k=((b=b+Math.imul(_e,fi)|0)+(a>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul($e,$t),a=(a=Math.imul($e,Kt))+Math.imul(nt,$t)|0,b=Math.imul(nt,Kt);var lt=(k+(_=_+Math.imul(Ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0))<<13)|0;k=((b=b+Math.imul(je,fi)|0)+(a>>>13)|0)+(lt>>>26)|0,lt&=67108863;var re=(k+(_=Math.imul($e,ti))|0)+((8191&(a=(a=Math.imul($e,fi))+Math.imul(nt,ti)|0))<<13)|0;return k=((b=Math.imul(nt,fi))+(a>>>13)|0)+(re>>>26)|0,re&=67108863,A[0]=xn,A[1]=tn,A[2]=Vi,A[3]=Qi,A[4]=Xt,A[5]=St,A[6]=tt,A[7]=ot,A[8]=Mt,A[9]=Bt,A[10]=Ci,A[11]=Ti,A[12]=Hi,A[13]=Zi,A[14]=ln,A[15]=mn,A[16]=Ut,A[17]=lt,A[18]=re,0!==k&&(A[19]=k,m.length++),m};function W(T,n,c){return(new Q).mulp(T,n,c)}function Q(T,n){this.x=T,this.y=n}Math.imul||(j=V),l.prototype.mulTo=function(n,c){var m,d=this.length+n.length;return m=10===this.length&&10===n.length?j(this,n,c):d<63?V(this,n,c):d<1024?function Y(T,n,c){c.negative=n.negative^T.negative,c.length=T.length+n.length;for(var m=0,d=0,C=0;C>>26)|0)>>>26,A&=67108863}c.words[C]=k,m=A,A=d}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):W(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,d=0;d>=1;return d},Q.prototype.permute=function(n,c,m,d,C,A){for(var k=0;k>>=1)C++;return 1<>>=13),C>>>=13;for(A=2*c;A>=26,c+=d/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,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 I(T){for(var n=new Array(T.bitLength()),c=0;c>>d}return n}(n);if(0===c.length)return new l(1);for(var m=this,d=0;d=0);var C,c=n%26,m=(n-c)/26,d=67108863>>>26-c<<26-c;if(0!==c){var A=0;for(C=0;C>>26-c}A&&(this.words[C]=A,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C=0),d=c?(c-c%26)/26:0;var C=n%26,A=Math.min((n-C)/26,this.length),k=67108863^67108863>>>C<A)for(this.length-=A,a=0;a=0&&(0!==b||a>=d);a--){var z=0|this.words[a];this.words[a]=b<<26-C|z>>>C,b=z&k}return _&&0!==b&&(_.words[_.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return x(0===this.negative),this.iushrn(n,c,m)},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){x("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<=0);var c=n%26,m=(n-c)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>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(x("number"==typeof n),x(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>26)-(_/67108864|0),this.words[C+m]=67108863&A}for(;C>26,this.words[C+m]=67108863&A;if(0===k)return this.strip();for(x(-1===k),k=0,C=0;C>26,this.words[C]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,d=this.clone(),C=n,A=0|C.words[C.length-1];0!=(m=26-this._countBits(A))&&(C=C.ushln(m),d.iushln(m),A=0|C.words[C.length-1]);var a,_=d.length-C.length;if("mod"!==c){(a=new l(null)).length=_+1,a.words=new Array(a.length);for(var b=0;b=0;N--){var q=67108864*(0|d.words[C.length+N])+(0|d.words[C.length+N-1]);for(q=Math.min(q/A|0,67108863),d._ishlnsubmul(C,q,N);0!==d.negative;)q--,d.negative=0,d._ishlnsubmul(C,1,N),d.isZero()||(d.negative^=1);a&&(a.words[N]=q)}return a&&a.strip(),d.strip(),"div"!==c&&0!==m&&d.iushrn(m),{div:a||null,mod:d}},l.prototype.divmod=function(n,c,m){return x(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,c),"mod"!==c&&(d=A.div.neg()),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:d,mod:C}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),c),"mod"!==c&&(d=A.div.neg()),{div:d,mod:A.mod}):this.negative&n.negative?(A=this.neg().divmod(n.neg(),c),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:A.div,mod:C}):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 d,C,A},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 m=0!==c.div.negative?c.mod.isub(n):c.mod,d=n.ushrn(1),C=n.andln(1),A=m.cmp(d);return A<0||1===C&&0===A?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){x(n<=67108863);for(var c=(1<<26)%n,m=0,d=this.length-1;d>=0;d--)m=(c*m+(0|this.words[d]))%n;return m},l.prototype.idivn=function(n){x(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var d=(0|this.words[m])+67108864*c;this.words[m]=d/n|0,c=d%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){x(0===n.negative),x(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=new l(0),k=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var a=m.clone(),b=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;)(d.isOdd()||C.isOdd())&&(d.iadd(a),C.isub(b)),d.iushrn(1),C.iushrn(1);for(var q=0,pe=1;!(m.words[0]&pe)&&q<26;++q,pe<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(a),k.isub(b)),A.iushrn(1),k.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(A),C.isub(k)):(m.isub(c),A.isub(d),k.isub(C))}return{a:A,b:k,gcd:m.iushln(_)}},l.prototype._invmp=function(n){x(0===n.negative),x(!n.isZero());var z,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var k=0,_=1;!(c.words[0]&_)&&k<26;++k,_<<=1);if(k>0)for(c.iushrn(k);k-- >0;)d.isOdd()&&d.iadd(A),d.iushrn(1);for(var a=0,b=1;!(m.words[0]&b)&&a<26;++a,b<<=1);if(a>0)for(m.iushrn(a);a-- >0;)C.isOdd()&&C.iadd(A),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(C)):(m.isub(c),C.isub(d))}return(z=0===c.cmpn(1)?d:C).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(),m=n.clone();c.negative=0,m.negative=0;for(var d=0;c.isEven()&&m.isEven();d++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var A=c;c=m,m=A}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(d)},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){x("number"==typeof n);var c=n%26,m=(n-c)/26,d=1<>>26,this.words[A]=k&=67108863}return 0!==C&&(this.words[A]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),x(n<=67108863,"Number is too big");var d=0|this.words[0];m=d===n?0:dn.length)return 1;if(this.length=0;m--){var d=0|this.words[m],C=0|n.words[m];if(d!==C){dC&&(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 Ce(n)},l.prototype.toRed=function(n){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return x(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 x(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return x(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ie(T,n){this.name=T,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 ee(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Ce(T){if("string"==typeof T){var n=l._prime(T);this.m=n.p,this.prime=n}else x(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function le(T){Ce.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var d=m0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ie.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ie.prototype.imulK=function(n){return n.imul(this.k)},D(ee,ie),ee.prototype.split=function(n,c){for(var m=4194303,d=Math.min(n.length,9),C=0;C>>22,A=k}n.words[C-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ee.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m>>=26,n.words[m]=C,c=d}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ee;else if("p224"===n)c=new fe;else if("p192"===n)c=new ne;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Ce.prototype._verify1=function(n){x(0===n.negative,"red works only with positives"),x(n.red,"red works only with red numbers")},Ce.prototype._verify2=function(n,c){x(!(n.negative|c.negative),"red works only with positives"),x(n.red&&n.red===c.red,"red works only with red numbers")},Ce.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Ce.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Ce.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Ce.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Ce.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Ce.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Ce.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Ce.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Ce.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Ce.prototype.isqr=function(n){return this.imul(n,n.clone())},Ce.prototype.sqr=function(n){return this.mul(n,n)},Ce.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(x(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var d=this.m.subn(1),C=0;!d.isZero()&&0===d.andln(1);)C++,d.iushrn(1);x(!d.isZero());var A=new l(1).toRed(this),k=A.redNeg(),_=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,_).cmp(k);)a.redIAdd(k);for(var b=this.pow(a,d),z=this.pow(n,d.addn(1).iushrn(1)),N=this.pow(n,d),q=C;0!==N.cmp(A);){for(var pe=N,ze=0;0!==pe.cmp(A);ze++)pe=pe.redSqr();x(ze=0;C--){for(var b=c.words[C],z=a-1;z>=0;z--){var N=b>>z&1;A!==d[0]&&(A=this.sqr(A)),0!==N||0!==k?(k<<=1,k|=N,(4==++_||0===C&&0===z)&&(A=this.mul(A,d[k]),_=0,k=0)):_=0}a=26}return A},Ce.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Ce.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new le(n)},D(le,Ce),le.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},le.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},le.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},3981:(Qe,te)=>{"use strict";te.byteLength=function f(I){var V=w(I),Y=V[1];return 3*(V[0]+Y)/4-Y},te.toByteArray=function h(I){var V,ee,j=w(I),Y=j[0],W=j[1],Q=new t(function R(I,V,j){return 3*(V+j)/4-j}(0,Y,W)),J=0,ie=W>0?Y-4:Y;for(ee=0;ee>16&255,Q[J++]=V>>8&255,Q[J++]=255&V;return 2===W&&(V=e[I.charCodeAt(ee)]<<2|e[I.charCodeAt(ee+1)]>>4,Q[J++]=255&V),1===W&&(V=e[I.charCodeAt(ee)]<<10|e[I.charCodeAt(ee+1)]<<4|e[I.charCodeAt(ee+2)]>>2,Q[J++]=V>>8&255,Q[J++]=255&V),Q},te.fromByteArray=function O(I){for(var V,j=I.length,Y=j%3,W=[],Q=16383,J=0,ie=j-Y;Jie?ie:J+Q));return 1===Y?W.push(g[(V=I[j-1])>>2]+g[V<<4&63]+"=="):2===Y&&W.push(g[(V=(I[j-2]<<8)+I[j-1])>>10]+g[V>>4&63]+g[V<<2&63]+"="),W.join("")};for(var g=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",D=0;D<64;++D)g[D]=x[D],e[x.charCodeAt(D)]=D;function w(I){var V=I.length;if(V%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var j=I.indexOf("=");return-1===j&&(j=V),[j,j===V?0:4-j%4]}function S(I){return g[I>>18&63]+g[I>>12&63]+g[I>>6&63]+g[63&I]}function y(I,V,j){for(var W=[],Q=V;Q=48&&C<=57?C-48:C>=65&&C<=70?C-55:C>=97&&C<=102?C-87:void x(!1,"Invalid character in "+m)}function R(m,d,C){var A=f(m,C);return C-1>=d&&(A|=f(m,C-1)<<4),A}function h(m,d,C,A){for(var k=0,_=0,a=Math.min(m.length,C),b=d;b=49?z-49+10:z>=17?z-17+10:z,x(z>=0&&_0?d:C},l.min=function(d,C){return d.cmp(C)<0?d:C},l.prototype._init=function(d,C,A){if("number"==typeof d)return this._initNumber(d,C,A);if("object"==typeof d)return this._initArray(d,C,A);"hex"===C&&(C=16),x(C===(0|C)&&C>=2&&C<=36);var k=0;"-"===(d=d.toString().replace(/\s+/g,""))[0]&&(k++,this.negative=1),k=0;k-=3)this.words[_]|=(a=d[k]|d[k-1]<<8|d[k-2]<<16)<>>26-b&67108863,(b+=24)>=26&&(b-=26,_++);else if("le"===A)for(k=0,_=0;k>>26-b&67108863,(b+=24)>=26&&(b-=26,_++);return this._strip()},l.prototype._parseHex=function(d,C,A){this.length=Math.ceil((d.length-C)/6),this.words=new Array(this.length);for(var k=0;k=C;k-=2)b=R(d,C,k)<<_,this.words[a]|=67108863&b,_>=18?(_-=18,this.words[a+=1]|=b>>>26):_+=8;else for(k=(d.length-C)%2==0?C+1:C;k=18?(_-=18,this.words[a+=1]|=b>>>26):_+=8;this._strip()},l.prototype._parseBase=function(d,C,A){this.words=[0],this.length=1;for(var k=0,_=1;_<=67108863;_*=C)k++;k--,_=_/C|0;for(var a=d.length-A,b=a%k,z=Math.min(a,a-b)+A,N=0,q=A;q1&&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?""}var O=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],I=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],V=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function W(m,d,C){C.negative=d.negative^m.negative;var A=m.length+d.length|0;C.length=A,A=A-1|0;var k=0|m.words[0],_=0|d.words[0],a=k*_,z=a/67108864|0;C.words[0]=67108863&a;for(var N=1;N>>26,pe=67108863&z,ze=Math.min(N,d.length-1),Xe=Math.max(0,N-m.length+1);Xe<=ze;Xe++)q+=(a=(k=0|m.words[N-Xe|0])*(_=0|d.words[Xe])+pe)/67108864|0,pe=67108863&a;C.words[N]=0|pe,z=0|q}return 0!==z?C.words[N]=0|z:C.length--,C._strip()}l.prototype.toString=function(d,C){var A;if(C=0|C||1,16===(d=d||10)||"hex"===d){A="";for(var k=0,_=0,a=0;a>>24-k&16777215,(k+=2)>=26&&(k-=26,a--),A=0!==_||a!==this.length-1?O[6-z.length]+z+A:z+A}for(0!==_&&(A=_.toString(16)+A);A.length%C!=0;)A="0"+A;return 0!==this.negative&&(A="-"+A),A}if(d===(0|d)&&d>=2&&d<=36){var N=I[d],q=V[d];A="";var pe=this.clone();for(pe.negative=0;!pe.isZero();){var ze=pe.modrn(q).toString(d);A=(pe=pe.idivn(q)).isZero()?ze+A:O[N-ze.length]+ze+A}for(this.isZero()&&(A="0"+A);A.length%C!=0;)A="0"+A;return 0!==this.negative&&(A="-"+A),A}x(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var d=this.words[0];return 2===this.length?d+=67108864*this.words[1]:3===this.length&&1===this.words[2]?d+=4503599627370496+67108864*this.words[1]:this.length>2&&x(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-d:d},l.prototype.toJSON=function(){return this.toString(16,2)},w&&(l.prototype.toBuffer=function(d,C){return this.toArrayLike(w,d,C)}),l.prototype.toArray=function(d,C){return this.toArrayLike(Array,d,C)},l.prototype.toArrayLike=function(d,C,A){this._strip();var k=this.byteLength(),_=A||Math.max(1,k);x(k<=_,"byte array longer than desired length"),x(_>0,"Requested array length <= 0");var a=function(d,C){return d.allocUnsafe?d.allocUnsafe(C):new d(C)}(d,_);return this["_toArrayLike"+("le"===C?"LE":"BE")](a,k),a},l.prototype._toArrayLikeLE=function(d,C){for(var A=0,k=0,_=0,a=0;_>8&255),A>16&255),6===a?(A>24&255),k=0,a=0):(k=b>>>24,a+=2)}if(A=0&&(d[A--]=b>>8&255),A>=0&&(d[A--]=b>>16&255),6===a?(A>=0&&(d[A--]=b>>24&255),k=0,a=0):(k=b>>>24,a+=2)}if(A>=0)for(d[A--]=k;A>=0;)d[A--]=0},l.prototype._countBits=Math.clz32?function(d){return 32-Math.clz32(d)}:function(d){var C=d,A=0;return C>=4096&&(A+=13,C>>>=13),C>=64&&(A+=7,C>>>=7),C>=8&&(A+=4,C>>>=4),C>=2&&(A+=2,C>>>=2),A+C},l.prototype._zeroBits=function(d){if(0===d)return 26;var C=d,A=0;return 8191&C||(A+=13,C>>>=13),127&C||(A+=7,C>>>=7),15&C||(A+=4,C>>>=4),3&C||(A+=2,C>>>=2),1&C||A++,A},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 d=0,C=0;Cd.length?this.clone().ior(d):d.clone().ior(this)},l.prototype.uor=function(d){return this.length>d.length?this.clone().iuor(d):d.clone().iuor(this)},l.prototype.iuand=function(d){var C;C=this.length>d.length?d:this;for(var A=0;Ad.length?this.clone().iand(d):d.clone().iand(this)},l.prototype.uand=function(d){return this.length>d.length?this.clone().iuand(d):d.clone().iuand(this)},l.prototype.iuxor=function(d){var C,A;this.length>d.length?(C=this,A=d):(C=d,A=this);for(var k=0;kd.length?this.clone().ixor(d):d.clone().ixor(this)},l.prototype.uxor=function(d){return this.length>d.length?this.clone().iuxor(d):d.clone().iuxor(this)},l.prototype.inotn=function(d){x("number"==typeof d&&d>=0);var C=0|Math.ceil(d/26),A=d%26;this._expand(C),A>0&&C--;for(var k=0;k0&&(this.words[k]=~this.words[k]&67108863>>26-A),this._strip()},l.prototype.notn=function(d){return this.clone().inotn(d)},l.prototype.setn=function(d,C){x("number"==typeof d&&d>=0);var A=d/26|0,k=d%26;return this._expand(A+1),this.words[A]=C?this.words[A]|1<d.length?(A=this,k=d):(A=d,k=this);for(var _=0,a=0;a>>26;for(;0!==_&&a>>26;if(this.length=A.length,0!==_)this.words[this.length]=_,this.length++;else if(A!==this)for(;ad.length?this.clone().iadd(d):d.clone().iadd(this)},l.prototype.isub=function(d){if(0!==d.negative){d.negative=0;var C=this.iadd(d);return d.negative=1,C._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(d),this.negative=1,this._normSign();var k,_,A=this.cmp(d);if(0===A)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(k=this,_=d):(k=d,_=this);for(var a=0,b=0;b<_.length;b++)a=(C=(0|k.words[b])-(0|_.words[b])+a)>>26,this.words[b]=67108863&C;for(;0!==a&&b>26,this.words[b]=67108863&C;if(0===a&&b>>13,We=0|k[1],oe=8191&We,X=We>>>13,se=0|k[2],ae=8191&se,he=se>>>13,Ie=0|k[3],st=8191&Ie,me=Ie>>>13,Ee=0|k[4],ue=8191&Ee,Be=Ee>>>13,Ct=0|k[5],ct=8191&Ct,dt=Ct>>>13,Yt=0|k[6],ve=8191&Yt,_e=Yt>>>13,we=0|k[7],Ue=8191&we,je=we>>>13,vt=0|k[8],$e=8191&vt,nt=vt>>>13,qt=0|k[9],Nt=8191&qt,yt=qt>>>13,jt=0|_[0],Je=8191&jt,et=jt>>>13,Ae=0|_[1],It=8191&Ae,Qt=Ae>>>13,Tt=0|_[2],xt=8191&Tt,Se=Tt>>>13,Te=0|_[3],ce=8191&Te,Z=Te>>>13,Re=0|_[4],Pe=8191&Re,pt=Re>>>13,Ke=0|_[5],Fe=8191&Ke,Ge=Ke>>>13,qe=0|_[6],at=8191&qe,Lt=qe>>>13,pi=0|_[7],$t=8191&pi,Kt=pi>>>13,Ui=0|_[8],ti=8191&Ui,fi=Ui>>>13,xn=0|_[9],tn=8191&xn,Vi=xn>>>13;A.negative=d.negative^C.negative,A.length=19;var Qi=(b+(z=Math.imul(ze,Je))|0)+((8191&(N=(N=Math.imul(ze,et))+Math.imul(Xe,Je)|0))<<13)|0;b=((q=Math.imul(Xe,et))+(N>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,z=Math.imul(oe,Je),N=(N=Math.imul(oe,et))+Math.imul(X,Je)|0,q=Math.imul(X,et);var Xt=(b+(z=z+Math.imul(ze,It)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0))<<13)|0;b=((q=q+Math.imul(Xe,Qt)|0)+(N>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,z=Math.imul(ae,Je),N=(N=Math.imul(ae,et))+Math.imul(he,Je)|0,q=Math.imul(he,et),z=z+Math.imul(oe,It)|0,N=(N=N+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,q=q+Math.imul(X,Qt)|0;var St=(b+(z=z+Math.imul(ze,xt)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0))<<13)|0;b=((q=q+Math.imul(Xe,Se)|0)+(N>>>13)|0)+(St>>>26)|0,St&=67108863,z=Math.imul(st,Je),N=(N=Math.imul(st,et))+Math.imul(me,Je)|0,q=Math.imul(me,et),z=z+Math.imul(ae,It)|0,N=(N=N+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,q=q+Math.imul(he,Qt)|0,z=z+Math.imul(oe,xt)|0,N=(N=N+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,q=q+Math.imul(X,Se)|0;var tt=(b+(z=z+Math.imul(ze,ce)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0))<<13)|0;b=((q=q+Math.imul(Xe,Z)|0)+(N>>>13)|0)+(tt>>>26)|0,tt&=67108863,z=Math.imul(ue,Je),N=(N=Math.imul(ue,et))+Math.imul(Be,Je)|0,q=Math.imul(Be,et),z=z+Math.imul(st,It)|0,N=(N=N+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,q=q+Math.imul(me,Qt)|0,z=z+Math.imul(ae,xt)|0,N=(N=N+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,q=q+Math.imul(he,Se)|0,z=z+Math.imul(oe,ce)|0,N=(N=N+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,q=q+Math.imul(X,Z)|0;var ot=(b+(z=z+Math.imul(ze,Pe)|0)|0)+((8191&(N=(N=N+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0))<<13)|0;b=((q=q+Math.imul(Xe,pt)|0)+(N>>>13)|0)+(ot>>>26)|0,ot&=67108863,z=Math.imul(ct,Je),N=(N=Math.imul(ct,et))+Math.imul(dt,Je)|0,q=Math.imul(dt,et),z=z+Math.imul(ue,It)|0,N=(N=N+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,q=q+Math.imul(Be,Qt)|0,z=z+Math.imul(st,xt)|0,N=(N=N+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,q=q+Math.imul(me,Se)|0,z=z+Math.imul(ae,ce)|0,N=(N=N+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,q=q+Math.imul(he,Z)|0,z=z+Math.imul(oe,Pe)|0,N=(N=N+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,q=q+Math.imul(X,pt)|0;var Mt=(b+(z=z+Math.imul(ze,Fe)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0))<<13)|0;b=((q=q+Math.imul(Xe,Ge)|0)+(N>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,z=Math.imul(ve,Je),N=(N=Math.imul(ve,et))+Math.imul(_e,Je)|0,q=Math.imul(_e,et),z=z+Math.imul(ct,It)|0,N=(N=N+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,q=q+Math.imul(dt,Qt)|0,z=z+Math.imul(ue,xt)|0,N=(N=N+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,q=q+Math.imul(Be,Se)|0,z=z+Math.imul(st,ce)|0,N=(N=N+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,q=q+Math.imul(me,Z)|0,z=z+Math.imul(ae,Pe)|0,N=(N=N+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,q=q+Math.imul(he,pt)|0,z=z+Math.imul(oe,Fe)|0,N=(N=N+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,q=q+Math.imul(X,Ge)|0;var Bt=(b+(z=z+Math.imul(ze,at)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0))<<13)|0;b=((q=q+Math.imul(Xe,Lt)|0)+(N>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,z=Math.imul(Ue,Je),N=(N=Math.imul(Ue,et))+Math.imul(je,Je)|0,q=Math.imul(je,et),z=z+Math.imul(ve,It)|0,N=(N=N+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,q=q+Math.imul(_e,Qt)|0,z=z+Math.imul(ct,xt)|0,N=(N=N+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,q=q+Math.imul(dt,Se)|0,z=z+Math.imul(ue,ce)|0,N=(N=N+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,q=q+Math.imul(Be,Z)|0,z=z+Math.imul(st,Pe)|0,N=(N=N+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,q=q+Math.imul(me,pt)|0,z=z+Math.imul(ae,Fe)|0,N=(N=N+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,q=q+Math.imul(he,Ge)|0,z=z+Math.imul(oe,at)|0,N=(N=N+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,q=q+Math.imul(X,Lt)|0;var Ci=(b+(z=z+Math.imul(ze,$t)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0))<<13)|0;b=((q=q+Math.imul(Xe,Kt)|0)+(N>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,z=Math.imul($e,Je),N=(N=Math.imul($e,et))+Math.imul(nt,Je)|0,q=Math.imul(nt,et),z=z+Math.imul(Ue,It)|0,N=(N=N+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,q=q+Math.imul(je,Qt)|0,z=z+Math.imul(ve,xt)|0,N=(N=N+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,q=q+Math.imul(_e,Se)|0,z=z+Math.imul(ct,ce)|0,N=(N=N+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,q=q+Math.imul(dt,Z)|0,z=z+Math.imul(ue,Pe)|0,N=(N=N+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,q=q+Math.imul(Be,pt)|0,z=z+Math.imul(st,Fe)|0,N=(N=N+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,q=q+Math.imul(me,Ge)|0,z=z+Math.imul(ae,at)|0,N=(N=N+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,q=q+Math.imul(he,Lt)|0,z=z+Math.imul(oe,$t)|0,N=(N=N+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,q=q+Math.imul(X,Kt)|0;var Ti=(b+(z=z+Math.imul(ze,ti)|0)|0)+((8191&(N=(N=N+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;b=((q=q+Math.imul(Xe,fi)|0)+(N>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,z=Math.imul(Nt,Je),N=(N=Math.imul(Nt,et))+Math.imul(yt,Je)|0,q=Math.imul(yt,et),z=z+Math.imul($e,It)|0,N=(N=N+Math.imul($e,Qt)|0)+Math.imul(nt,It)|0,q=q+Math.imul(nt,Qt)|0,z=z+Math.imul(Ue,xt)|0,N=(N=N+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,q=q+Math.imul(je,Se)|0,z=z+Math.imul(ve,ce)|0,N=(N=N+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,q=q+Math.imul(_e,Z)|0,z=z+Math.imul(ct,Pe)|0,N=(N=N+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,q=q+Math.imul(dt,pt)|0,z=z+Math.imul(ue,Fe)|0,N=(N=N+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,q=q+Math.imul(Be,Ge)|0,z=z+Math.imul(st,at)|0,N=(N=N+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,q=q+Math.imul(me,Lt)|0,z=z+Math.imul(ae,$t)|0,N=(N=N+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,q=q+Math.imul(he,Kt)|0,z=z+Math.imul(oe,ti)|0,N=(N=N+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0,q=q+Math.imul(X,fi)|0;var Hi=(b+(z=z+Math.imul(ze,tn)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Vi)|0)+Math.imul(Xe,tn)|0))<<13)|0;b=((q=q+Math.imul(Xe,Vi)|0)+(N>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,z=Math.imul(Nt,It),N=(N=Math.imul(Nt,Qt))+Math.imul(yt,It)|0,q=Math.imul(yt,Qt),z=z+Math.imul($e,xt)|0,N=(N=N+Math.imul($e,Se)|0)+Math.imul(nt,xt)|0,q=q+Math.imul(nt,Se)|0,z=z+Math.imul(Ue,ce)|0,N=(N=N+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,q=q+Math.imul(je,Z)|0,z=z+Math.imul(ve,Pe)|0,N=(N=N+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,q=q+Math.imul(_e,pt)|0,z=z+Math.imul(ct,Fe)|0,N=(N=N+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,q=q+Math.imul(dt,Ge)|0,z=z+Math.imul(ue,at)|0,N=(N=N+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,q=q+Math.imul(Be,Lt)|0,z=z+Math.imul(st,$t)|0,N=(N=N+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,q=q+Math.imul(me,Kt)|0,z=z+Math.imul(ae,ti)|0,N=(N=N+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0,q=q+Math.imul(he,fi)|0;var Zi=(b+(z=z+Math.imul(oe,tn)|0)|0)+((8191&(N=(N=N+Math.imul(oe,Vi)|0)+Math.imul(X,tn)|0))<<13)|0;b=((q=q+Math.imul(X,Vi)|0)+(N>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,z=Math.imul(Nt,xt),N=(N=Math.imul(Nt,Se))+Math.imul(yt,xt)|0,q=Math.imul(yt,Se),z=z+Math.imul($e,ce)|0,N=(N=N+Math.imul($e,Z)|0)+Math.imul(nt,ce)|0,q=q+Math.imul(nt,Z)|0,z=z+Math.imul(Ue,Pe)|0,N=(N=N+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,q=q+Math.imul(je,pt)|0,z=z+Math.imul(ve,Fe)|0,N=(N=N+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,q=q+Math.imul(_e,Ge)|0,z=z+Math.imul(ct,at)|0,N=(N=N+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,q=q+Math.imul(dt,Lt)|0,z=z+Math.imul(ue,$t)|0,N=(N=N+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,q=q+Math.imul(Be,Kt)|0,z=z+Math.imul(st,ti)|0,N=(N=N+Math.imul(st,fi)|0)+Math.imul(me,ti)|0,q=q+Math.imul(me,fi)|0;var ln=(b+(z=z+Math.imul(ae,tn)|0)|0)+((8191&(N=(N=N+Math.imul(ae,Vi)|0)+Math.imul(he,tn)|0))<<13)|0;b=((q=q+Math.imul(he,Vi)|0)+(N>>>13)|0)+(ln>>>26)|0,ln&=67108863,z=Math.imul(Nt,ce),N=(N=Math.imul(Nt,Z))+Math.imul(yt,ce)|0,q=Math.imul(yt,Z),z=z+Math.imul($e,Pe)|0,N=(N=N+Math.imul($e,pt)|0)+Math.imul(nt,Pe)|0,q=q+Math.imul(nt,pt)|0,z=z+Math.imul(Ue,Fe)|0,N=(N=N+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,q=q+Math.imul(je,Ge)|0,z=z+Math.imul(ve,at)|0,N=(N=N+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,q=q+Math.imul(_e,Lt)|0,z=z+Math.imul(ct,$t)|0,N=(N=N+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,q=q+Math.imul(dt,Kt)|0,z=z+Math.imul(ue,ti)|0,N=(N=N+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0,q=q+Math.imul(Be,fi)|0;var mn=(b+(z=z+Math.imul(st,tn)|0)|0)+((8191&(N=(N=N+Math.imul(st,Vi)|0)+Math.imul(me,tn)|0))<<13)|0;b=((q=q+Math.imul(me,Vi)|0)+(N>>>13)|0)+(mn>>>26)|0,mn&=67108863,z=Math.imul(Nt,Pe),N=(N=Math.imul(Nt,pt))+Math.imul(yt,Pe)|0,q=Math.imul(yt,pt),z=z+Math.imul($e,Fe)|0,N=(N=N+Math.imul($e,Ge)|0)+Math.imul(nt,Fe)|0,q=q+Math.imul(nt,Ge)|0,z=z+Math.imul(Ue,at)|0,N=(N=N+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,q=q+Math.imul(je,Lt)|0,z=z+Math.imul(ve,$t)|0,N=(N=N+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,q=q+Math.imul(_e,Kt)|0,z=z+Math.imul(ct,ti)|0,N=(N=N+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0,q=q+Math.imul(dt,fi)|0;var Ut=(b+(z=z+Math.imul(ue,tn)|0)|0)+((8191&(N=(N=N+Math.imul(ue,Vi)|0)+Math.imul(Be,tn)|0))<<13)|0;b=((q=q+Math.imul(Be,Vi)|0)+(N>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,z=Math.imul(Nt,Fe),N=(N=Math.imul(Nt,Ge))+Math.imul(yt,Fe)|0,q=Math.imul(yt,Ge),z=z+Math.imul($e,at)|0,N=(N=N+Math.imul($e,Lt)|0)+Math.imul(nt,at)|0,q=q+Math.imul(nt,Lt)|0,z=z+Math.imul(Ue,$t)|0,N=(N=N+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,q=q+Math.imul(je,Kt)|0,z=z+Math.imul(ve,ti)|0,N=(N=N+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0,q=q+Math.imul(_e,fi)|0;var lt=(b+(z=z+Math.imul(ct,tn)|0)|0)+((8191&(N=(N=N+Math.imul(ct,Vi)|0)+Math.imul(dt,tn)|0))<<13)|0;b=((q=q+Math.imul(dt,Vi)|0)+(N>>>13)|0)+(lt>>>26)|0,lt&=67108863,z=Math.imul(Nt,at),N=(N=Math.imul(Nt,Lt))+Math.imul(yt,at)|0,q=Math.imul(yt,Lt),z=z+Math.imul($e,$t)|0,N=(N=N+Math.imul($e,Kt)|0)+Math.imul(nt,$t)|0,q=q+Math.imul(nt,Kt)|0,z=z+Math.imul(Ue,ti)|0,N=(N=N+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0,q=q+Math.imul(je,fi)|0;var re=(b+(z=z+Math.imul(ve,tn)|0)|0)+((8191&(N=(N=N+Math.imul(ve,Vi)|0)+Math.imul(_e,tn)|0))<<13)|0;b=((q=q+Math.imul(_e,Vi)|0)+(N>>>13)|0)+(re>>>26)|0,re&=67108863,z=Math.imul(Nt,$t),N=(N=Math.imul(Nt,Kt))+Math.imul(yt,$t)|0,q=Math.imul(yt,Kt),z=z+Math.imul($e,ti)|0,N=(N=N+Math.imul($e,fi)|0)+Math.imul(nt,ti)|0,q=q+Math.imul(nt,fi)|0;var He=(b+(z=z+Math.imul(Ue,tn)|0)|0)+((8191&(N=(N=N+Math.imul(Ue,Vi)|0)+Math.imul(je,tn)|0))<<13)|0;b=((q=q+Math.imul(je,Vi)|0)+(N>>>13)|0)+(He>>>26)|0,He&=67108863,z=Math.imul(Nt,ti),N=(N=Math.imul(Nt,fi))+Math.imul(yt,ti)|0,q=Math.imul(yt,fi);var ye=(b+(z=z+Math.imul($e,tn)|0)|0)+((8191&(N=(N=N+Math.imul($e,Vi)|0)+Math.imul(nt,tn)|0))<<13)|0;b=((q=q+Math.imul(nt,Vi)|0)+(N>>>13)|0)+(ye>>>26)|0,ye&=67108863;var rt=(b+(z=Math.imul(Nt,tn))|0)+((8191&(N=(N=Math.imul(Nt,Vi))+Math.imul(yt,tn)|0))<<13)|0;return b=((q=Math.imul(yt,Vi))+(N>>>13)|0)+(rt>>>26)|0,rt&=67108863,a[0]=Qi,a[1]=Xt,a[2]=St,a[3]=tt,a[4]=ot,a[5]=Mt,a[6]=Bt,a[7]=Ci,a[8]=Ti,a[9]=Hi,a[10]=Zi,a[11]=ln,a[12]=mn,a[13]=Ut,a[14]=lt,a[15]=re,a[16]=He,a[17]=ye,a[18]=rt,0!==b&&(a[19]=b,A.length++),A};function J(m,d,C){C.negative=d.negative^m.negative,C.length=m.length+d.length;for(var A=0,k=0,_=0;_>>26)|0)>>>26,a&=67108863}C.words[_]=b,A=a,a=k}return 0!==A?C.words[_]=A:C.length--,C._strip()}function ie(m,d,C){return J(m,d,C)}function ee(m,d){this.x=m,this.y=d}Math.imul||(Q=W),l.prototype.mulTo=function(d,C){var k=this.length+d.length;return 10===this.length&&10===d.length?Q(this,d,C):k<63?W(this,d,C):k<1024?J(this,d,C):ie(this,d,C)},ee.prototype.makeRBT=function(d){for(var C=new Array(d),A=l.prototype._countBits(d)-1,k=0;k>=1;return k},ee.prototype.permute=function(d,C,A,k,_,a){for(var b=0;b>>=1)_++;return 1<<_+1+k},ee.prototype.conjugate=function(d,C,A){if(!(A<=1))for(var k=0;k>>=13),_>>>=13;for(a=2*C;a>=26,A+=_/67108864|0,A+=a>>>26,this.words[k]=67108863&a}return 0!==A&&(this.words[k]=A,this.length++),C?this.ineg():this},l.prototype.muln=function(d){return this.clone().imuln(d)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(d){var C=function Y(m){for(var d=new Array(m.bitLength()),C=0;C>>C%26&1;return d}(d);if(0===C.length)return new l(1);for(var A=this,k=0;k=0);var _,C=d%26,A=(d-C)/26,k=67108863>>>26-C<<26-C;if(0!==C){var a=0;for(_=0;_>>26-C}a&&(this.words[_]=a,this.length++)}if(0!==A){for(_=this.length-1;_>=0;_--)this.words[_+A]=this.words[_];for(_=0;_=0),k=C?(C-C%26)/26:0;var _=d%26,a=Math.min((d-_)/26,this.length),b=67108863^67108863>>>_<<_,z=A;if(k-=a,k=Math.max(0,k),z){for(var N=0;Na)for(this.length-=a,N=0;N=0&&(0!==q||N>=k);N--){var pe=0|this.words[N];this.words[N]=q<<26-_|pe>>>_,q=pe&b}return z&&0!==q&&(z.words[z.length++]=q),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},l.prototype.ishrn=function(d,C,A){return x(0===this.negative),this.iushrn(d,C,A)},l.prototype.shln=function(d){return this.clone().ishln(d)},l.prototype.ushln=function(d){return this.clone().iushln(d)},l.prototype.shrn=function(d){return this.clone().ishrn(d)},l.prototype.ushrn=function(d){return this.clone().iushrn(d)},l.prototype.testn=function(d){x("number"==typeof d&&d>=0);var C=d%26,A=(d-C)/26;return!(this.length<=A||!(this.words[A]&1<=0);var C=d%26,A=(d-C)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=A?this:(0!==C&&A++,this.length=Math.min(A,this.length),0!==C&&(this.words[this.length-1]&=67108863^67108863>>>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(d){if(x("number"==typeof d),x(d<67108864),d<0)return this.iaddn(-d);if(0!==this.negative)return this.negative=0,this.iaddn(d),this.negative=1,this;if(this.words[0]-=d,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var C=0;C>26)-(z/67108864|0),this.words[_+A]=67108863&a}for(;_>26,this.words[_+A]=67108863&a;if(0===b)return this._strip();for(x(-1===b),b=0,_=0;_>26,this.words[_]=67108863&a;return this.negative=1,this._strip()},l.prototype._wordDiv=function(d,C){var A,k=this.clone(),_=d,a=0|_.words[_.length-1];0!=(A=26-this._countBits(a))&&(_=_.ushln(A),k.iushln(A),a=0|_.words[_.length-1]);var N,z=k.length-_.length;if("mod"!==C){(N=new l(null)).length=z+1,N.words=new Array(N.length);for(var q=0;q=0;ze--){var Xe=67108864*(0|k.words[_.length+ze])+(0|k.words[_.length+ze-1]);for(Xe=Math.min(Xe/a|0,67108863),k._ishlnsubmul(_,Xe,ze);0!==k.negative;)Xe--,k.negative=0,k._ishlnsubmul(_,1,ze),k.isZero()||(k.negative^=1);N&&(N.words[ze]=Xe)}return N&&N._strip(),k._strip(),"div"!==C&&0!==A&&k.iushrn(A),{div:N||null,mod:k}},l.prototype.divmod=function(d,C,A){return x(!d.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===d.negative?(a=this.neg().divmod(d,C),"mod"!==C&&(k=a.div.neg()),"div"!==C&&(_=a.mod.neg(),A&&0!==_.negative&&_.iadd(d)),{div:k,mod:_}):0===this.negative&&0!==d.negative?(a=this.divmod(d.neg(),C),"mod"!==C&&(k=a.div.neg()),{div:k,mod:a.mod}):this.negative&d.negative?(a=this.neg().divmod(d.neg(),C),"div"!==C&&(_=a.mod.neg(),A&&0!==_.negative&&_.isub(d)),{div:a.div,mod:_}):d.length>this.length||this.cmp(d)<0?{div:new l(0),mod:this}:1===d.length?"div"===C?{div:this.divn(d.words[0]),mod:null}:"mod"===C?{div:null,mod:new l(this.modrn(d.words[0]))}:{div:this.divn(d.words[0]),mod:new l(this.modrn(d.words[0]))}:this._wordDiv(d,C);var k,_,a},l.prototype.div=function(d){return this.divmod(d,"div",!1).div},l.prototype.mod=function(d){return this.divmod(d,"mod",!1).mod},l.prototype.umod=function(d){return this.divmod(d,"mod",!0).mod},l.prototype.divRound=function(d){var C=this.divmod(d);if(C.mod.isZero())return C.div;var A=0!==C.div.negative?C.mod.isub(d):C.mod,k=d.ushrn(1),_=d.andln(1),a=A.cmp(k);return a<0||1===_&&0===a?C.div:0!==C.div.negative?C.div.isubn(1):C.div.iaddn(1)},l.prototype.modrn=function(d){var C=d<0;C&&(d=-d),x(d<=67108863);for(var A=(1<<26)%d,k=0,_=this.length-1;_>=0;_--)k=(A*k+(0|this.words[_]))%d;return C?-k:k},l.prototype.modn=function(d){return this.modrn(d)},l.prototype.idivn=function(d){var C=d<0;C&&(d=-d),x(d<=67108863);for(var A=0,k=this.length-1;k>=0;k--){var _=(0|this.words[k])+67108864*A;this.words[k]=_/d|0,A=_%d}return this._strip(),C?this.ineg():this},l.prototype.divn=function(d){return this.clone().idivn(d)},l.prototype.egcd=function(d){x(0===d.negative),x(!d.isZero());var C=this,A=d.clone();C=0!==C.negative?C.umod(d):C.clone();for(var k=new l(1),_=new l(0),a=new l(0),b=new l(1),z=0;C.isEven()&&A.isEven();)C.iushrn(1),A.iushrn(1),++z;for(var N=A.clone(),q=C.clone();!C.isZero();){for(var pe=0,ze=1;!(C.words[0]&ze)&&pe<26;++pe,ze<<=1);if(pe>0)for(C.iushrn(pe);pe-- >0;)(k.isOdd()||_.isOdd())&&(k.iadd(N),_.isub(q)),k.iushrn(1),_.iushrn(1);for(var Xe=0,We=1;!(A.words[0]&We)&&Xe<26;++Xe,We<<=1);if(Xe>0)for(A.iushrn(Xe);Xe-- >0;)(a.isOdd()||b.isOdd())&&(a.iadd(N),b.isub(q)),a.iushrn(1),b.iushrn(1);C.cmp(A)>=0?(C.isub(A),k.isub(a),_.isub(b)):(A.isub(C),a.isub(k),b.isub(_))}return{a,b,gcd:A.iushln(z)}},l.prototype._invmp=function(d){x(0===d.negative),x(!d.isZero());var pe,C=this,A=d.clone();C=0!==C.negative?C.umod(d):C.clone();for(var k=new l(1),_=new l(0),a=A.clone();C.cmpn(1)>0&&A.cmpn(1)>0;){for(var b=0,z=1;!(C.words[0]&z)&&b<26;++b,z<<=1);if(b>0)for(C.iushrn(b);b-- >0;)k.isOdd()&&k.iadd(a),k.iushrn(1);for(var N=0,q=1;!(A.words[0]&q)&&N<26;++N,q<<=1);if(N>0)for(A.iushrn(N);N-- >0;)_.isOdd()&&_.iadd(a),_.iushrn(1);C.cmp(A)>=0?(C.isub(A),k.isub(_)):(A.isub(C),_.isub(k))}return(pe=0===C.cmpn(1)?k:_).cmpn(0)<0&&pe.iadd(d),pe},l.prototype.gcd=function(d){if(this.isZero())return d.abs();if(d.isZero())return this.abs();var C=this.clone(),A=d.clone();C.negative=0,A.negative=0;for(var k=0;C.isEven()&&A.isEven();k++)C.iushrn(1),A.iushrn(1);for(;;){for(;C.isEven();)C.iushrn(1);for(;A.isEven();)A.iushrn(1);var _=C.cmp(A);if(_<0){var a=C;C=A,A=a}else if(0===_||0===A.cmpn(1))break;C.isub(A)}return A.iushln(k)},l.prototype.invm=function(d){return this.egcd(d).a.umod(d)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(d){return this.words[0]&d},l.prototype.bincn=function(d){x("number"==typeof d);var C=d%26,A=(d-C)/26,k=1<>>26,this.words[a]=b&=67108863}return 0!==_&&(this.words[a]=_,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(d){var A,C=d<0;if(0!==this.negative&&!C)return-1;if(0===this.negative&&C)return 1;if(this._strip(),this.length>1)A=1;else{C&&(d=-d),x(d<=67108863,"Number is too big");var k=0|this.words[0];A=k===d?0:kd.length)return 1;if(this.length=0;A--){var k=0|this.words[A],_=0|d.words[A];if(k!==_){k<_?C=-1:k>_&&(C=1);break}}return C},l.prototype.gtn=function(d){return 1===this.cmpn(d)},l.prototype.gt=function(d){return 1===this.cmp(d)},l.prototype.gten=function(d){return this.cmpn(d)>=0},l.prototype.gte=function(d){return this.cmp(d)>=0},l.prototype.ltn=function(d){return-1===this.cmpn(d)},l.prototype.lt=function(d){return-1===this.cmp(d)},l.prototype.lten=function(d){return this.cmpn(d)<=0},l.prototype.lte=function(d){return this.cmp(d)<=0},l.prototype.eqn=function(d){return 0===this.cmpn(d)},l.prototype.eq=function(d){return 0===this.cmp(d)},l.red=function(d){return new n(d)},l.prototype.toRed=function(d){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),d.convertTo(this)._forceRed(d)},l.prototype.fromRed=function(){return x(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(d){return this.red=d,this},l.prototype.forceRed=function(d){return x(!this.red,"Already a number in reduction context"),this._forceRed(d)},l.prototype.redAdd=function(d){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,d)},l.prototype.redIAdd=function(d){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,d)},l.prototype.redSub=function(d){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,d)},l.prototype.redISub=function(d){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,d)},l.prototype.redShl=function(d){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,d)},l.prototype.redMul=function(d){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.mul(this,d)},l.prototype.redIMul=function(d){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.imul(this,d)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(d){return x(this.red&&!d.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,d)};var fe={k256:null,p224:null,p192:null,p25519:null};function ne(m,d){this.name=m,this.p=new l(d,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function Me(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Ce(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function le(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function T(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function n(m){if("string"==typeof m){var d=l._prime(m);this.m=d.p,this.prime=d}else x(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function c(m){n.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ne.prototype._tmp=function(){var d=new l(null);return d.words=new Array(Math.ceil(this.n/13)),d},ne.prototype.ireduce=function(d){var A,C=d;do{this.split(C,this.tmp),A=(C=(C=this.imulK(C)).iadd(this.tmp)).bitLength()}while(A>this.n);var k=A0?C.isub(this.p):void 0!==C.strip?C.strip():C._strip(),C},ne.prototype.split=function(d,C){d.iushrn(this.n,0,C)},ne.prototype.imulK=function(d){return d.imul(this.k)},D(Me,ne),Me.prototype.split=function(d,C){for(var A=4194303,k=Math.min(d.length,9),_=0;_>>22,a=b}d.words[_-10]=a>>>=22,d.length-=0===a&&d.length>10?10:9},Me.prototype.imulK=function(d){d.words[d.length]=0,d.words[d.length+1]=0,d.length+=2;for(var C=0,A=0;A>>=26,d.words[A]=_,C=k}return 0!==C&&(d.words[d.length++]=C),d},l._prime=function(d){if(fe[d])return fe[d];var C;if("k256"===d)C=new Me;else if("p224"===d)C=new Ce;else if("p192"===d)C=new le;else{if("p25519"!==d)throw new Error("Unknown prime "+d);C=new T}return fe[d]=C,C},n.prototype._verify1=function(d){x(0===d.negative,"red works only with positives"),x(d.red,"red works only with red numbers")},n.prototype._verify2=function(d,C){x(!(d.negative|C.negative),"red works only with positives"),x(d.red&&d.red===C.red,"red works only with red numbers")},n.prototype.imod=function(d){return this.prime?this.prime.ireduce(d)._forceRed(this):(S(d,d.umod(this.m)._forceRed(this)),d)},n.prototype.neg=function(d){return d.isZero()?d.clone():this.m.sub(d)._forceRed(this)},n.prototype.add=function(d,C){this._verify2(d,C);var A=d.add(C);return A.cmp(this.m)>=0&&A.isub(this.m),A._forceRed(this)},n.prototype.iadd=function(d,C){this._verify2(d,C);var A=d.iadd(C);return A.cmp(this.m)>=0&&A.isub(this.m),A},n.prototype.sub=function(d,C){this._verify2(d,C);var A=d.sub(C);return A.cmpn(0)<0&&A.iadd(this.m),A._forceRed(this)},n.prototype.isub=function(d,C){this._verify2(d,C);var A=d.isub(C);return A.cmpn(0)<0&&A.iadd(this.m),A},n.prototype.shl=function(d,C){return this._verify1(d),this.imod(d.ushln(C))},n.prototype.imul=function(d,C){return this._verify2(d,C),this.imod(d.imul(C))},n.prototype.mul=function(d,C){return this._verify2(d,C),this.imod(d.mul(C))},n.prototype.isqr=function(d){return this.imul(d,d.clone())},n.prototype.sqr=function(d){return this.mul(d,d)},n.prototype.sqrt=function(d){if(d.isZero())return d.clone();var C=this.m.andln(3);if(x(C%2==1),3===C){var A=this.m.add(new l(1)).iushrn(2);return this.pow(d,A)}for(var k=this.m.subn(1),_=0;!k.isZero()&&0===k.andln(1);)_++,k.iushrn(1);x(!k.isZero());var a=new l(1).toRed(this),b=a.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(b);)N.redIAdd(b);for(var q=this.pow(N,k),pe=this.pow(d,k.addn(1).iushrn(1)),ze=this.pow(d,k),Xe=_;0!==ze.cmp(a);){for(var We=ze,oe=0;0!==We.cmp(a);oe++)We=We.redSqr();x(oe=0;_--){for(var q=C.words[_],pe=N-1;pe>=0;pe--){var ze=q>>pe&1;a!==k[0]&&(a=this.sqr(a)),0!==ze||0!==b?(b<<=1,b|=ze,(4==++z||0===_&&0===pe)&&(a=this.mul(a,k[b]),z=0,b=0)):z=0}N=26}return a},n.prototype.convertTo=function(d){var C=d.umod(this.m);return C===d?C.clone():C},n.prototype.convertFrom=function(d){var C=d.clone();return C.red=null,C},l.mont=function(d){return new c(d)},D(c,n),c.prototype.convertTo=function(d){return this.imod(d.ushln(this.shift))},c.prototype.convertFrom=function(d){var C=this.imod(d.mul(this.rinv));return C.red=null,C},c.prototype.imul=function(d,C){if(d.isZero()||C.isZero())return d.words[0]=0,d.length=1,d;var A=d.imul(C),k=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),_=A.isub(k).iushrn(this.shift),a=_;return _.cmp(this.m)>=0?a=_.isub(this.m):_.cmpn(0)<0&&(a=_.iadd(this.m)),a._forceRed(this)},c.prototype.mul=function(d,C){if(d.isZero()||C.isZero())return new l(0)._forceRed(this);var A=d.mul(C),k=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),_=A.isub(k).iushrn(this.shift),a=_;return _.cmp(this.m)>=0?a=_.isub(this.m):_.cmpn(0)<0&&(a=_.iadd(this.m)),a._forceRed(this)},c.prototype.invm=function(d){return this.imod(d._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},5294:(Qe,te,g)=>{var e;function t(D){this.rand=D}if(Qe.exports=function(l){return e||(e=new t(null)),e.generate(l)},Qe.exports.Rand=t,t.prototype.generate=function(l){return this._rand(l)},t.prototype._rand=function(l){if(this.rand.getBytes)return this.rand.getBytes(l);for(var w=new Uint8Array(l),f=0;f{var e=g(7054).Buffer;function t(R){e.isBuffer(R)||(R=e.from(R));for(var h=R.length/4|0,S=new Array(h),y=0;y>>24]^V[Q>>>16&255]^j[J>>>8&255]^Y[255&ie]^h[Ce++],fe=I[Q>>>24]^V[J>>>16&255]^j[ie>>>8&255]^Y[255&W]^h[Ce++],ne=I[J>>>24]^V[ie>>>16&255]^j[W>>>8&255]^Y[255&Q]^h[Ce++],Me=I[ie>>>24]^V[W>>>16&255]^j[Q>>>8&255]^Y[255&J]^h[Ce++],W=ee,Q=fe,J=ne,ie=Me;return ee=(y[W>>>24]<<24|y[Q>>>16&255]<<16|y[J>>>8&255]<<8|y[255&ie])^h[Ce++],fe=(y[Q>>>24]<<24|y[J>>>16&255]<<16|y[ie>>>8&255]<<8|y[255&W])^h[Ce++],ne=(y[J>>>24]<<24|y[ie>>>16&255]<<16|y[W>>>8&255]<<8|y[255&Q])^h[Ce++],Me=(y[ie>>>24]<<24|y[W>>>16&255]<<16|y[Q>>>8&255]<<8|y[255&J])^h[Ce++],[ee>>>=0,fe>>>=0,ne>>>=0,Me>>>=0]}var l=[0,1,2,4,8,16,32,64,128,27,54],w=function(){for(var R=new Array(256),h=0;h<256;h++)R[h]=h<128?h<<1:h<<1^283;for(var S=[],y=[],O=[[],[],[],[]],I=[[],[],[],[]],V=0,j=0,Y=0;Y<256;++Y){var W=j^j<<1^j<<2^j<<3^j<<4;S[V]=W=W>>>8^255&W^99,y[W]=V;var Q=R[V],J=R[Q],ie=R[J],ee=257*R[W]^16843008*W;O[0][V]=ee<<24|ee>>>8,O[1][V]=ee<<16|ee>>>16,O[2][V]=ee<<8|ee>>>24,O[3][V]=ee,I[0][W]=(ee=16843009*ie^65537*J^257*Q^16843008*V)<<24|ee>>>8,I[1][W]=ee<<16|ee>>>16,I[2][W]=ee<<8|ee>>>24,I[3][W]=ee,0===V?V=j=1:(V=Q^R[R[R[ie^Q]]],j^=R[R[j]])}return{SBOX:S,INV_SBOX:y,SUB_MIX:O,INV_SUB_MIX:I}}();function f(R){this._key=t(R),this._reset()}f.blockSize=16,f.keySize=32,f.prototype.blockSize=f.blockSize,f.prototype.keySize=f.keySize,f.prototype._reset=function(){for(var R=this._key,h=R.length,S=h+6,y=4*(S+1),O=[],I=0;I>>24)>>>24]<<24|w.SBOX[V>>>16&255]<<16|w.SBOX[V>>>8&255]<<8|w.SBOX[255&V],V^=l[I/h|0]<<24):h>6&&I%h==4&&(V=w.SBOX[V>>>24]<<24|w.SBOX[V>>>16&255]<<16|w.SBOX[V>>>8&255]<<8|w.SBOX[255&V]),O[I]=O[I-h]^V}for(var j=[],Y=0;Y>>24]]^w.INV_SUB_MIX[1][w.SBOX[Q>>>16&255]]^w.INV_SUB_MIX[2][w.SBOX[Q>>>8&255]]^w.INV_SUB_MIX[3][w.SBOX[255&Q]]}this._nRounds=S,this._keySchedule=O,this._invKeySchedule=j},f.prototype.encryptBlockRaw=function(R){return D(R=t(R),this._keySchedule,w.SUB_MIX,w.SBOX,this._nRounds)},f.prototype.encryptBlock=function(R){var h=this.encryptBlockRaw(R),S=e.allocUnsafe(16);return S.writeUInt32BE(h[0],0),S.writeUInt32BE(h[1],4),S.writeUInt32BE(h[2],8),S.writeUInt32BE(h[3],12),S},f.prototype.decryptBlock=function(R){var h=(R=t(R))[1];R[1]=R[3],R[3]=h;var S=D(R,this._invKeySchedule,w.INV_SUB_MIX,w.INV_SBOX,this._nRounds),y=e.allocUnsafe(16);return y.writeUInt32BE(S[0],0),y.writeUInt32BE(S[3],4),y.writeUInt32BE(S[2],8),y.writeUInt32BE(S[1],12),y},f.prototype.scrub=function(){x(this._keySchedule),x(this._invKeySchedule),x(this._key)},Qe.exports.AES=f},9307:(Qe,te,g)=>{var e=g(2375),t=g(7054).Buffer,x=g(3247),D=g(1993),l=g(5917),w=g(3546),f=g(5725);function S(y,O,I,V){x.call(this);var j=t.alloc(4,0);this._cipher=new e.AES(O);var Y=this._cipher.encryptBlock(j);this._ghash=new l(Y),I=function h(y,O,I){if(12===O.length)return y._finID=t.concat([O,t.from([0,0,0,1])]),t.concat([O,t.from([0,0,0,2])]);var V=new l(I),j=O.length,Y=j%16;V.update(O),Y&&V.update(t.alloc(Y=16-Y,0)),V.update(t.alloc(8,0));var W=8*j,Q=t.alloc(8);Q.writeUIntBE(W,0,8),V.update(Q),y._finID=V.state;var J=t.from(y._finID);return f(J),J}(this,I,Y),this._prev=t.from(I),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=V,this._alen=0,this._len=0,this._mode=y,this._authTag=null,this._called=!1}D(S,x),S.prototype._update=function(y){if(!this._called&&this._alen){var O=16-this._alen%16;O<16&&(O=t.alloc(O,0),this._ghash.update(O))}this._called=!0;var I=this._mode.encrypt(this,y);return this._ghash.update(this._decrypt?y:I),this._len+=y.length,I},S.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var y=w(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function R(y,O){var I=0;y.length!==O.length&&I++;for(var V=Math.min(y.length,O.length),j=0;j{var e=g(350),t=g(102),x=g(3219);te.createCipher=te.Cipher=e.createCipher,te.createCipheriv=te.Cipheriv=e.createCipheriv,te.createDecipher=te.Decipher=t.createDecipher,te.createDecipheriv=te.Decipheriv=t.createDecipheriv,te.listCiphers=te.getCiphers=function D(){return Object.keys(x)}},102:(Qe,te,g)=>{var e=g(9307),t=g(7054).Buffer,x=g(503),D=g(1821),l=g(3247),w=g(2375),f=g(592);function h(V,j,Y){l.call(this),this._cache=new S,this._last=void 0,this._cipher=new w.AES(j),this._prev=t.from(Y),this._mode=V,this._autopadding=!0}function S(){this.cache=t.allocUnsafe(0)}function O(V,j,Y){var W=x[V.toLowerCase()];if(!W)throw new TypeError("invalid suite type");if("string"==typeof Y&&(Y=t.from(Y)),"GCM"!==W.mode&&Y.length!==W.iv)throw new TypeError("invalid iv length "+Y.length);if("string"==typeof j&&(j=t.from(j)),j.length!==W.key/8)throw new TypeError("invalid key length "+j.length);return"stream"===W.type?new D(W.module,j,Y,!0):"auth"===W.type?new e(W.module,j,Y,!0):new h(W.module,j,Y)}g(1993)(h,l),h.prototype._update=function(V){this._cache.add(V);for(var j,Y,W=[];j=this._cache.get(this._autopadding);)Y=this._mode.decrypt(this,j),W.push(Y);return t.concat(W)},h.prototype._final=function(){var V=this._cache.flush();if(this._autopadding)return function y(V){var j=V[15];if(j<1||j>16)throw new Error("unable to decrypt data");for(var Y=-1;++Y16)return j=this.cache.slice(0,16),this.cache=this.cache.slice(16),j}else if(this.cache.length>=16)return j=this.cache.slice(0,16),this.cache=this.cache.slice(16),j;return null},S.prototype.flush=function(){if(this.cache.length)return this.cache},te.createDecipher=function I(V,j){var Y=x[V.toLowerCase()];if(!Y)throw new TypeError("invalid suite type");var W=f(j,!1,Y.key,Y.iv);return O(V,W.key,W.iv)},te.createDecipheriv=O},350:(Qe,te,g)=>{var e=g(503),t=g(9307),x=g(7054).Buffer,D=g(1821),l=g(3247),w=g(2375),f=g(592);function h(V,j,Y){l.call(this),this._cache=new y,this._cipher=new w.AES(j),this._prev=x.from(Y),this._mode=V,this._autopadding=!0}g(1993)(h,l),h.prototype._update=function(V){this._cache.add(V);for(var j,Y,W=[];j=this._cache.get();)Y=this._mode.encrypt(this,j),W.push(Y);return x.concat(W)};var S=x.alloc(16,16);function y(){this.cache=x.allocUnsafe(0)}function O(V,j,Y){var W=e[V.toLowerCase()];if(!W)throw new TypeError("invalid suite type");if("string"==typeof j&&(j=x.from(j)),j.length!==W.key/8)throw new TypeError("invalid key length "+j.length);if("string"==typeof Y&&(Y=x.from(Y)),"GCM"!==W.mode&&Y.length!==W.iv)throw new TypeError("invalid iv length "+Y.length);return"stream"===W.type?new D(W.module,j,Y):"auth"===W.type?new t(W.module,j,Y):new h(W.module,j,Y)}h.prototype._final=function(){var V=this._cache.flush();if(this._autopadding)return V=this._mode.encrypt(this,V),this._cipher.scrub(),V;if(!V.equals(S))throw this._cipher.scrub(),new Error("data not multiple of block length")},h.prototype.setAutoPadding=function(V){return this._autopadding=!!V,this},y.prototype.add=function(V){this.cache=x.concat([this.cache,V])},y.prototype.get=function(){if(this.cache.length>15){var V=this.cache.slice(0,16);return this.cache=this.cache.slice(16),V}return null},y.prototype.flush=function(){for(var V=16-this.cache.length,j=x.allocUnsafe(V),Y=-1;++Y{var e=g(7054).Buffer,t=e.alloc(16,0);function D(w){var f=e.allocUnsafe(16);return f.writeUInt32BE(w[0]>>>0,0),f.writeUInt32BE(w[1]>>>0,4),f.writeUInt32BE(w[2]>>>0,8),f.writeUInt32BE(w[3]>>>0,12),f}function l(w){this.h=w,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}l.prototype.ghash=function(w){for(var f=-1;++f0;R--)w[R]=w[R]>>>1|(1&w[R-1])<<31;w[0]=w[0]>>>1,S&&(w[0]=w[0]^225<<24)}this.state=D(f)},l.prototype.update=function(w){this.cache=e.concat([this.cache,w]);for(var f;this.cache.length>=16;)f=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(f)},l.prototype.final=function(w,f){return this.cache.length&&this.ghash(e.concat([this.cache,t],16)),this.ghash(D([0,w,0,f])),this.state},Qe.exports=l},5725:Qe=>{Qe.exports=function te(g){for(var t,e=g.length;e--;){if(255!==(t=g.readUInt8(e))){t++,g.writeUInt8(t,e);break}g.writeUInt8(0,e)}}},4133:(Qe,te,g)=>{var e=g(3546);te.encrypt=function(t,x){var D=e(x,t._prev);return t._prev=t._cipher.encryptBlock(D),t._prev},te.decrypt=function(t,x){var D=t._prev;t._prev=x;var l=t._cipher.decryptBlock(x);return e(l,D)}},7090:(Qe,te,g)=>{var e=g(7054).Buffer,t=g(3546);function x(D,l,w){var f=l.length,R=t(l,D._cache);return D._cache=D._cache.slice(f),D._prev=e.concat([D._prev,w?l:R]),R}te.encrypt=function(D,l,w){for(var R,f=e.allocUnsafe(0);l.length;){if(0===D._cache.length&&(D._cache=D._cipher.encryptBlock(D._prev),D._prev=e.allocUnsafe(0)),!(D._cache.length<=l.length)){f=e.concat([f,x(D,l,w)]);break}f=e.concat([f,x(D,l.slice(0,R=D._cache.length),w)]),l=l.slice(R)}return f}},1039:(Qe,te,g)=>{var e=g(7054).Buffer;function t(D,l,w){for(var y,O,R=-1,S=0;++R<8;)S+=(128&(O=D._cipher.encryptBlock(D._prev)[0]^(y=l&1<<7-R?128:0)))>>R%8,D._prev=x(D._prev,w?y:O);return S}function x(D,l){var w=D.length,f=-1,R=e.allocUnsafe(D.length);for(D=e.concat([D,e.from([l])]);++f>7;return R}te.encrypt=function(D,l,w){for(var f=l.length,R=e.allocUnsafe(f),h=-1;++h{var e=g(7054).Buffer;function t(x,D,l){var f=x._cipher.encryptBlock(x._prev)[0]^D;return x._prev=e.concat([x._prev.slice(1),e.from([l?D:f])]),f}te.encrypt=function(x,D,l){for(var w=D.length,f=e.allocUnsafe(w),R=-1;++R{var e=g(3546),t=g(7054).Buffer,x=g(5725);function D(w){var f=w._cipher.encryptBlockRaw(w._prev);return x(w._prev),f}te.encrypt=function(w,f){var R=Math.ceil(f.length/16),h=w._cache.length;w._cache=t.concat([w._cache,t.allocUnsafe(16*R)]);for(var S=0;S{te.encrypt=function(g,e){return g._cipher.encryptBlock(e)},te.decrypt=function(g,e){return g._cipher.decryptBlock(e)}},503:(Qe,te,g)=>{var e={ECB:g(7513),CBC:g(4133),CFB:g(7090),CFB8:g(2576),CFB1:g(1039),OFB:g(6854),CTR:g(336),GCM:g(336)},t=g(3219);for(var x in t)t[x].module=e[t[x].mode];Qe.exports=t},6854:(Qe,te,g)=>{var e=g(3546);function t(x){return x._prev=x._cipher.encryptBlock(x._prev),x._prev}te.encrypt=function(x,D){for(;x._cache.length{var e=g(2375),t=g(7054).Buffer,x=g(3247);function l(w,f,R,h){x.call(this),this._cipher=new e.AES(f),this._prev=t.from(R),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=h,this._mode=w}g(1993)(l,x),l.prototype._update=function(w){return this._mode.encrypt(this,w,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},Qe.exports=l},8862:(Qe,te,g)=>{var e=g(9799),t=g(3388),x=g(503),D=g(9571),l=g(592);function R(y,O,I){if(y=y.toLowerCase(),x[y])return t.createCipheriv(y,O,I);if(D[y])return new e({key:O,iv:I,mode:y});throw new TypeError("invalid suite type")}function h(y,O,I){if(y=y.toLowerCase(),x[y])return t.createDecipheriv(y,O,I);if(D[y])return new e({key:O,iv:I,mode:y,decrypt:!0});throw new TypeError("invalid suite type")}te.createCipher=te.Cipher=function w(y,O){var I,V;if(y=y.toLowerCase(),x[y])I=x[y].key,V=x[y].iv;else{if(!D[y])throw new TypeError("invalid suite type");I=8*D[y].key,V=D[y].iv}var j=l(O,!1,I,V);return R(y,j.key,j.iv)},te.createCipheriv=te.Cipheriv=R,te.createDecipher=te.Decipher=function f(y,O){var I,V;if(y=y.toLowerCase(),x[y])I=x[y].key,V=x[y].iv;else{if(!D[y])throw new TypeError("invalid suite type");I=8*D[y].key,V=D[y].iv}var j=l(O,!1,I,V);return h(y,j.key,j.iv)},te.createDecipheriv=te.Decipheriv=h,te.listCiphers=te.getCiphers=function S(){return Object.keys(D).concat(t.getCiphers())}},9799:(Qe,te,g)=>{var e=g(3247),t=g(1549),x=g(1993),D=g(7054).Buffer,l={"des-ede3-cbc":t.CBC.instantiate(t.EDE),"des-ede3":t.EDE,"des-ede-cbc":t.CBC.instantiate(t.EDE),"des-ede":t.EDE,"des-cbc":t.CBC.instantiate(t.DES),"des-ecb":t.DES};function w(f){e.call(this);var S,R=f.mode.toLowerCase(),h=l[R];S=f.decrypt?"decrypt":"encrypt";var y=f.key;D.isBuffer(y)||(y=D.from(y)),("des-ede"===R||"des-ede-cbc"===R)&&(y=D.concat([y,y.slice(0,8)]));var O=f.iv;D.isBuffer(O)||(O=D.from(O)),this._des=h.create({key:y,iv:O,type:S})}l.des=l["des-cbc"],l.des3=l["des-ede3-cbc"],Qe.exports=w,x(w,e),w.prototype._update=function(f){return D.from(this._des.update(f))},w.prototype._final=function(){return D.from(this._des.final())}},9571:(Qe,te)=>{te["des-ecb"]={key:8,iv:0},te["des-cbc"]=te.des={key:8,iv:8},te["des-ede3-cbc"]=te.des3={key:24,iv:8},te["des-ede3"]={key:24,iv:0},te["des-ede-cbc"]={key:16,iv:8},te["des-ede"]={key:16,iv:0}},4105:(Qe,te,g)=>{"use strict";var e=g(917),t=g(3342),x=g(7054).Buffer;function D(f){var h,R=f.modulus.byteLength();do{h=new e(t(R))}while(h.cmp(f.modulus)>=0||!h.umod(f.prime1)||!h.umod(f.prime2));return h}function w(f,R){var h=function l(f){var R=D(f);return{blinder:R.toRed(e.mont(f.modulus)).redPow(new e(f.publicExponent)).fromRed(),unblinder:R.invm(f.modulus)}}(R),S=R.modulus.byteLength(),y=new e(f).mul(h.blinder).umod(R.modulus),O=y.toRed(e.mont(R.prime1)),I=y.toRed(e.mont(R.prime2)),V=R.coefficient,j=R.prime1,Y=R.prime2,W=O.redPow(R.exponent1).fromRed(),Q=I.redPow(R.exponent2).fromRed(),J=W.isub(Q).imul(V).umod(j).imul(Y);return Q.iadd(J).imul(h.unblinder).umod(R.modulus).toArrayLike(x,"be",S)}w.getr=D,Qe.exports=w},9560:(Qe,te,g)=>{"use strict";Qe.exports=g(2951)},9143:(Qe,te,g)=>{"use strict";var e=g(7054).Buffer,t=g(7211),x=g(5942),D=g(1993),l=g(3150),w=g(4754),f=g(2951);function R(O){x.Writable.call(this);var I=f[O];if(!I)throw new Error("Unknown message digest");this._hashType=I.hash,this._hash=t(I.hash),this._tag=I.id,this._signType=I.sign}function h(O){x.Writable.call(this);var I=f[O];if(!I)throw new Error("Unknown message digest");this._hash=t(I.hash),this._tag=I.id,this._signType=I.sign}function S(O){return new R(O)}function y(O){return new h(O)}Object.keys(f).forEach(function(O){f[O].id=e.from(f[O].id,"hex"),f[O.toLowerCase()]=f[O]}),D(R,x.Writable),R.prototype._write=function(I,V,j){this._hash.update(I),j()},R.prototype.update=function(I,V){return this._hash.update("string"==typeof I?e.from(I,V):I),this},R.prototype.sign=function(I,V){this.end();var j=this._hash.digest(),Y=l(j,I,this._hashType,this._signType,this._tag);return V?Y.toString(V):Y},D(h,x.Writable),h.prototype._write=function(I,V,j){this._hash.update(I),j()},h.prototype.update=function(I,V){return this._hash.update("string"==typeof I?e.from(I,V):I),this},h.prototype.verify=function(I,V,j){var Y="string"==typeof V?e.from(V,j):V;this.end();var W=this._hash.digest();return w(Y,W,I,this._signType,this._tag)},Qe.exports={Sign:S,Verify:y,createSign:S,createVerify:y}},3150:(Qe,te,g)=>{"use strict";var e=g(7054).Buffer,t=g(6432),x=g(4105),D=g(518).ec,l=g(917),w=g(5667),f=g(4589);function I(Q,J,ie,ee){if((Q=e.from(Q.toArray())).length0&&ie.ishrn(ee),ie}function Y(Q,J,ie){var ee,fe;do{for(ee=e.alloc(0);8*ee.length{"use strict";var e=g(7054).Buffer,t=g(917),x=g(518).ec,D=g(5667),l=g(4589);function h(S,y){if(S.cmpn(0)<=0)throw new Error("invalid sig");if(S.cmp(y)>=0)throw new Error("invalid sig")}Qe.exports=function w(S,y,O,I,V){var j=D(O);if("ec"===j.type){if("ecdsa"!==I&&"ecdsa/rsa"!==I)throw new Error("wrong public key type");return function f(S,y,O){var I=l[O.data.algorithm.curve.join(".")];if(!I)throw new Error("unknown curve "+O.data.algorithm.curve.join("."));return new x(I).verify(y,S,O.data.subjectPrivateKey.data)}(S,y,j)}if("dsa"===j.type){if("dsa"!==I)throw new Error("wrong public key type");return function R(S,y,O){var I=O.data.p,V=O.data.q,j=O.data.g,Y=O.data.pub_key,W=D.signature.decode(S,"der"),Q=W.s,J=W.r;h(Q,V),h(J,V);var ie=t.mont(I),ee=Q.invm(V);return 0===j.toRed(ie).redPow(new t(y).mul(ee).mod(V)).fromRed().mul(Y.toRed(ie).redPow(J.mul(ee).mod(V)).fromRed()).mod(I).mod(V).cmp(J)}(S,y,j)}if("rsa"!==I&&"ecdsa/rsa"!==I)throw new Error("wrong public key type");y=e.concat([V,y]);for(var Y=j.modulus.byteLength(),W=[1],Q=0;y.length+W.length+2{Qe.exports=function(g,e){for(var t=Math.min(g.length,e.length),x=new Buffer(t),D=0;D{"use strict";var e=g(3981),t=g(2020),x="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;te.Buffer=f,te.SlowBuffer=function Q(me){return+me!=me&&(me=0),f.alloc(+me)},te.INSPECT_MAX_BYTES=50;var D=2147483647;function w(me){if(me>D)throw new RangeError('The value "'+me+'" is invalid for option "size"');var Ee=new Uint8Array(me);return Object.setPrototypeOf(Ee,f.prototype),Ee}function f(me,Ee,ue){if("number"==typeof me){if("string"==typeof Ee)throw new TypeError('The "string" argument must be of type string. Received type number');return y(me)}return R(me,Ee,ue)}function R(me,Ee,ue){if("string"==typeof me)return function O(me,Ee){if(("string"!=typeof Ee||""===Ee)&&(Ee="utf8"),!f.isEncoding(Ee))throw new TypeError("Unknown encoding: "+Ee);var ue=0|J(me,Ee),Be=w(ue),Ct=Be.write(me,Ee);return Ct!==ue&&(Be=Be.slice(0,Ct)),Be}(me,Ee);if(ArrayBuffer.isView(me))return function V(me){if(he(me,Uint8Array)){var Ee=new Uint8Array(me);return j(Ee.buffer,Ee.byteOffset,Ee.byteLength)}return I(me)}(me);if(null==me)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof me);if(he(me,ArrayBuffer)||me&&he(me.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(he(me,SharedArrayBuffer)||me&&he(me.buffer,SharedArrayBuffer)))return j(me,Ee,ue);if("number"==typeof me)throw new TypeError('The "value" argument must not be of type number. Received type number');var Be=me.valueOf&&me.valueOf();if(null!=Be&&Be!==me)return f.from(Be,Ee,ue);var Ct=function Y(me){if(f.isBuffer(me)){var Ee=0|W(me.length),ue=w(Ee);return 0===ue.length||me.copy(ue,0,0,Ee),ue}return void 0!==me.length?"number"!=typeof me.length||Ie(me.length)?w(0):I(me):"Buffer"===me.type&&Array.isArray(me.data)?I(me.data):void 0}(me);if(Ct)return Ct;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof me[Symbol.toPrimitive])return f.from(me[Symbol.toPrimitive]("string"),Ee,ue);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof me)}function h(me){if("number"!=typeof me)throw new TypeError('"size" argument must be of type number');if(me<0)throw new RangeError('The value "'+me+'" is invalid for option "size"')}function y(me){return h(me),w(me<0?0:0|W(me))}function I(me){for(var Ee=me.length<0?0:0|W(me.length),ue=w(Ee),Be=0;Be=D)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+D.toString(16)+" bytes");return 0|me}function J(me,Ee){if(f.isBuffer(me))return me.length;if(ArrayBuffer.isView(me)||he(me,ArrayBuffer))return me.byteLength;if("string"!=typeof me)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof me);var ue=me.length,Be=arguments.length>2&&!0===arguments[2];if(!Be&&0===ue)return 0;for(var Ct=!1;;)switch(Ee){case"ascii":case"latin1":case"binary":return ue;case"utf8":case"utf-8":return We(me).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*ue;case"hex":return ue>>>1;case"base64":return se(me).length;default:if(Ct)return Be?-1:We(me).length;Ee=(""+Ee).toLowerCase(),Ct=!0}}function ie(me,Ee,ue){var Be=!1;if((void 0===Ee||Ee<0)&&(Ee=0),Ee>this.length||((void 0===ue||ue>this.length)&&(ue=this.length),ue<=0)||(ue>>>=0)<=(Ee>>>=0))return"";for(me||(me="utf8");;)switch(me){case"hex":return _(this,Ee,ue);case"utf8":case"utf-8":return m(this,Ee,ue);case"ascii":return A(this,Ee,ue);case"latin1":case"binary":return k(this,Ee,ue);case"base64":return c(this,Ee,ue);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a(this,Ee,ue);default:if(Be)throw new TypeError("Unknown encoding: "+me);me=(me+"").toLowerCase(),Be=!0}}function ee(me,Ee,ue){var Be=me[Ee];me[Ee]=me[ue],me[ue]=Be}function fe(me,Ee,ue,Be,Ct){if(0===me.length)return-1;if("string"==typeof ue?(Be=ue,ue=0):ue>2147483647?ue=2147483647:ue<-2147483648&&(ue=-2147483648),Ie(ue=+ue)&&(ue=Ct?0:me.length-1),ue<0&&(ue=me.length+ue),ue>=me.length){if(Ct)return-1;ue=me.length-1}else if(ue<0){if(!Ct)return-1;ue=0}if("string"==typeof Ee&&(Ee=f.from(Ee,Be)),f.isBuffer(Ee))return 0===Ee.length?-1:ne(me,Ee,ue,Be,Ct);if("number"==typeof Ee)return Ee&=255,"function"==typeof Uint8Array.prototype.indexOf?Ct?Uint8Array.prototype.indexOf.call(me,Ee,ue):Uint8Array.prototype.lastIndexOf.call(me,Ee,ue):ne(me,[Ee],ue,Be,Ct);throw new TypeError("val must be string, number or Buffer")}function ne(me,Ee,ue,Be,Ct){var _e,ct=1,dt=me.length,Yt=Ee.length;if(void 0!==Be&&("ucs2"===(Be=String(Be).toLowerCase())||"ucs-2"===Be||"utf16le"===Be||"utf-16le"===Be)){if(me.length<2||Ee.length<2)return-1;ct=2,dt/=2,Yt/=2,ue/=2}function ve(vt,$e){return 1===ct?vt[$e]:vt.readUInt16BE($e*ct)}if(Ct){var we=-1;for(_e=ue;_edt&&(ue=dt-Yt),_e=ue;_e>=0;_e--){for(var Ue=!0,je=0;jeCt&&(Be=Ct):Be=Ct;var ct=Ee.length;Be>ct/2&&(Be=ct/2);for(var dt=0;dt>8,ct.push(ue%256),ct.push(Be);return ct}(Ee,me.length-ue),me,ue,Be)}function c(me,Ee,ue){return e.fromByteArray(0===Ee&&ue===me.length?me:me.slice(Ee,ue))}function m(me,Ee,ue){ue=Math.min(me.length,ue);for(var Be=[],Ct=Ee;Ct239?4:ct>223?3:ct>191?2:1;if(Ct+Yt<=ue)switch(Yt){case 1:ct<128&&(dt=ct);break;case 2:128==(192&(ve=me[Ct+1]))&&(Ue=(31&ct)<<6|63&ve)>127&&(dt=Ue);break;case 3:_e=me[Ct+2],128==(192&(ve=me[Ct+1]))&&128==(192&_e)&&(Ue=(15&ct)<<12|(63&ve)<<6|63&_e)>2047&&(Ue<55296||Ue>57343)&&(dt=Ue);break;case 4:_e=me[Ct+2],we=me[Ct+3],128==(192&(ve=me[Ct+1]))&&128==(192&_e)&&128==(192&we)&&(Ue=(15&ct)<<18|(63&ve)<<12|(63&_e)<<6|63&we)>65535&&Ue<1114112&&(dt=Ue)}null===dt?(dt=65533,Yt=1):dt>65535&&(Be.push((dt-=65536)>>>10&1023|55296),dt=56320|1023&dt),Be.push(dt),Ct+=Yt}return function C(me){var Ee=me.length;if(Ee<=d)return String.fromCharCode.apply(String,me);for(var ue="",Be=0;BeCt.length?f.from(dt).copy(Ct,ct):Uint8Array.prototype.set.call(Ct,dt,ct);else{if(!f.isBuffer(dt))throw new TypeError('"list" argument must be an Array of Buffers');dt.copy(Ct,ct)}ct+=dt.length}return Ct},f.byteLength=J,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var Ee=this.length;if(Ee%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ue=0;ueue&&(Ee+=" ... "),""},x&&(f.prototype[x]=f.prototype.inspect),f.prototype.compare=function(Ee,ue,Be,Ct,ct){if(he(Ee,Uint8Array)&&(Ee=f.from(Ee,Ee.offset,Ee.byteLength)),!f.isBuffer(Ee))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ee);if(void 0===ue&&(ue=0),void 0===Be&&(Be=Ee?Ee.length:0),void 0===Ct&&(Ct=0),void 0===ct&&(ct=this.length),ue<0||Be>Ee.length||Ct<0||ct>this.length)throw new RangeError("out of range index");if(Ct>=ct&&ue>=Be)return 0;if(Ct>=ct)return-1;if(ue>=Be)return 1;if(this===Ee)return 0;for(var dt=(ct>>>=0)-(Ct>>>=0),Yt=(Be>>>=0)-(ue>>>=0),ve=Math.min(dt,Yt),_e=this.slice(Ct,ct),we=Ee.slice(ue,Be),Ue=0;Ue>>=0,isFinite(Be)?(Be>>>=0,void 0===Ct&&(Ct="utf8")):(Ct=Be,Be=void 0)}var ct=this.length-ue;if((void 0===Be||Be>ct)&&(Be=ct),Ee.length>0&&(Be<0||ue<0)||ue>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ct||(Ct="utf8");for(var dt=!1;;)switch(Ct){case"hex":return Me(this,Ee,ue,Be);case"utf8":case"utf-8":return Ce(this,Ee,ue,Be);case"ascii":case"latin1":case"binary":return le(this,Ee,ue,Be);case"base64":return T(this,Ee,ue,Be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,Ee,ue,Be);default:if(dt)throw new TypeError("Unknown encoding: "+Ct);Ct=(""+Ct).toLowerCase(),dt=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var d=4096;function A(me,Ee,ue){var Be="";ue=Math.min(me.length,ue);for(var Ct=Ee;CtBe)&&(ue=Be);for(var Ct="",ct=Ee;ctue)throw new RangeError("Trying to access beyond buffer length")}function z(me,Ee,ue,Be,Ct,ct){if(!f.isBuffer(me))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ee>Ct||Eeme.length)throw new RangeError("Index out of range")}function N(me,Ee,ue,Be,Ct,ct){if(ue+Be>me.length)throw new RangeError("Index out of range");if(ue<0)throw new RangeError("Index out of range")}function q(me,Ee,ue,Be,Ct){return Ee=+Ee,ue>>>=0,Ct||N(me,0,ue,4),t.write(me,Ee,ue,Be,23,4),ue+4}function pe(me,Ee,ue,Be,Ct){return Ee=+Ee,ue>>>=0,Ct||N(me,0,ue,8),t.write(me,Ee,ue,Be,52,8),ue+8}f.prototype.slice=function(Ee,ue){var Be=this.length;(Ee=~~Ee)<0?(Ee+=Be)<0&&(Ee=0):Ee>Be&&(Ee=Be),(ue=void 0===ue?Be:~~ue)<0?(ue+=Be)<0&&(ue=0):ue>Be&&(ue=Be),ue>>=0,ue>>>=0,Be||b(Ee,ue,this.length);for(var Ct=this[Ee],ct=1,dt=0;++dt>>=0,ue>>>=0,Be||b(Ee,ue,this.length);for(var Ct=this[Ee+--ue],ct=1;ue>0&&(ct*=256);)Ct+=this[Ee+--ue]*ct;return Ct},f.prototype.readUint8=f.prototype.readUInt8=function(Ee,ue){return Ee>>>=0,ue||b(Ee,1,this.length),this[Ee]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,2,this.length),this[Ee]|this[Ee+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,2,this.length),this[Ee]<<8|this[Ee+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,4,this.length),(this[Ee]|this[Ee+1]<<8|this[Ee+2]<<16)+16777216*this[Ee+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,4,this.length),16777216*this[Ee]+(this[Ee+1]<<16|this[Ee+2]<<8|this[Ee+3])},f.prototype.readIntLE=function(Ee,ue,Be){Ee>>>=0,ue>>>=0,Be||b(Ee,ue,this.length);for(var Ct=this[Ee],ct=1,dt=0;++dt=(ct*=128)&&(Ct-=Math.pow(2,8*ue)),Ct},f.prototype.readIntBE=function(Ee,ue,Be){Ee>>>=0,ue>>>=0,Be||b(Ee,ue,this.length);for(var Ct=ue,ct=1,dt=this[Ee+--Ct];Ct>0&&(ct*=256);)dt+=this[Ee+--Ct]*ct;return dt>=(ct*=128)&&(dt-=Math.pow(2,8*ue)),dt},f.prototype.readInt8=function(Ee,ue){return Ee>>>=0,ue||b(Ee,1,this.length),128&this[Ee]?-1*(255-this[Ee]+1):this[Ee]},f.prototype.readInt16LE=function(Ee,ue){Ee>>>=0,ue||b(Ee,2,this.length);var Be=this[Ee]|this[Ee+1]<<8;return 32768&Be?4294901760|Be:Be},f.prototype.readInt16BE=function(Ee,ue){Ee>>>=0,ue||b(Ee,2,this.length);var Be=this[Ee+1]|this[Ee]<<8;return 32768&Be?4294901760|Be:Be},f.prototype.readInt32LE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,4,this.length),this[Ee]|this[Ee+1]<<8|this[Ee+2]<<16|this[Ee+3]<<24},f.prototype.readInt32BE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,4,this.length),this[Ee]<<24|this[Ee+1]<<16|this[Ee+2]<<8|this[Ee+3]},f.prototype.readFloatLE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,4,this.length),t.read(this,Ee,!0,23,4)},f.prototype.readFloatBE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,4,this.length),t.read(this,Ee,!1,23,4)},f.prototype.readDoubleLE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,8,this.length),t.read(this,Ee,!0,52,8)},f.prototype.readDoubleBE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,8,this.length),t.read(this,Ee,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(Ee,ue,Be,Ct){Ee=+Ee,ue>>>=0,Be>>>=0,Ct||z(this,Ee,ue,Be,Math.pow(2,8*Be)-1,0);var dt=1,Yt=0;for(this[ue]=255&Ee;++Yt>>=0,Be>>>=0,Ct||z(this,Ee,ue,Be,Math.pow(2,8*Be)-1,0);var dt=Be-1,Yt=1;for(this[ue+dt]=255&Ee;--dt>=0&&(Yt*=256);)this[ue+dt]=Ee/Yt&255;return ue+Be},f.prototype.writeUint8=f.prototype.writeUInt8=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,1,255,0),this[ue]=255&Ee,ue+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,2,65535,0),this[ue]=255&Ee,this[ue+1]=Ee>>>8,ue+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,2,65535,0),this[ue]=Ee>>>8,this[ue+1]=255&Ee,ue+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,4,4294967295,0),this[ue+3]=Ee>>>24,this[ue+2]=Ee>>>16,this[ue+1]=Ee>>>8,this[ue]=255&Ee,ue+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,4,4294967295,0),this[ue]=Ee>>>24,this[ue+1]=Ee>>>16,this[ue+2]=Ee>>>8,this[ue+3]=255&Ee,ue+4},f.prototype.writeIntLE=function(Ee,ue,Be,Ct){if(Ee=+Ee,ue>>>=0,!Ct){var ct=Math.pow(2,8*Be-1);z(this,Ee,ue,Be,ct-1,-ct)}var dt=0,Yt=1,ve=0;for(this[ue]=255&Ee;++dt>>=0,!Ct){var ct=Math.pow(2,8*Be-1);z(this,Ee,ue,Be,ct-1,-ct)}var dt=Be-1,Yt=1,ve=0;for(this[ue+dt]=255&Ee;--dt>=0&&(Yt*=256);)Ee<0&&0===ve&&0!==this[ue+dt+1]&&(ve=1),this[ue+dt]=(Ee/Yt|0)-ve&255;return ue+Be},f.prototype.writeInt8=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,1,127,-128),Ee<0&&(Ee=255+Ee+1),this[ue]=255&Ee,ue+1},f.prototype.writeInt16LE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,2,32767,-32768),this[ue]=255&Ee,this[ue+1]=Ee>>>8,ue+2},f.prototype.writeInt16BE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,2,32767,-32768),this[ue]=Ee>>>8,this[ue+1]=255&Ee,ue+2},f.prototype.writeInt32LE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,4,2147483647,-2147483648),this[ue]=255&Ee,this[ue+1]=Ee>>>8,this[ue+2]=Ee>>>16,this[ue+3]=Ee>>>24,ue+4},f.prototype.writeInt32BE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,4,2147483647,-2147483648),Ee<0&&(Ee=4294967295+Ee+1),this[ue]=Ee>>>24,this[ue+1]=Ee>>>16,this[ue+2]=Ee>>>8,this[ue+3]=255&Ee,ue+4},f.prototype.writeFloatLE=function(Ee,ue,Be){return q(this,Ee,ue,!0,Be)},f.prototype.writeFloatBE=function(Ee,ue,Be){return q(this,Ee,ue,!1,Be)},f.prototype.writeDoubleLE=function(Ee,ue,Be){return pe(this,Ee,ue,!0,Be)},f.prototype.writeDoubleBE=function(Ee,ue,Be){return pe(this,Ee,ue,!1,Be)},f.prototype.copy=function(Ee,ue,Be,Ct){if(!f.isBuffer(Ee))throw new TypeError("argument should be a Buffer");if(Be||(Be=0),!Ct&&0!==Ct&&(Ct=this.length),ue>=Ee.length&&(ue=Ee.length),ue||(ue=0),Ct>0&&Ct=this.length)throw new RangeError("Index out of range");if(Ct<0)throw new RangeError("sourceEnd out of bounds");Ct>this.length&&(Ct=this.length),Ee.length-ue>>=0,Be=void 0===Be?this.length:Be>>>0,Ee||(Ee=0),"number"==typeof Ee)for(dt=ue;dt55295&&ue<57344){if(!Ct){if(ue>56319){(Ee-=3)>-1&&ct.push(239,191,189);continue}if(dt+1===Be){(Ee-=3)>-1&&ct.push(239,191,189);continue}Ct=ue;continue}if(ue<56320){(Ee-=3)>-1&&ct.push(239,191,189),Ct=ue;continue}ue=65536+(Ct-55296<<10|ue-56320)}else Ct&&(Ee-=3)>-1&&ct.push(239,191,189);if(Ct=null,ue<128){if((Ee-=1)<0)break;ct.push(ue)}else if(ue<2048){if((Ee-=2)<0)break;ct.push(ue>>6|192,63&ue|128)}else if(ue<65536){if((Ee-=3)<0)break;ct.push(ue>>12|224,ue>>6&63|128,63&ue|128)}else{if(!(ue<1114112))throw new Error("Invalid code point");if((Ee-=4)<0)break;ct.push(ue>>18|240,ue>>12&63|128,ue>>6&63|128,63&ue|128)}}return ct}function se(me){return e.toByteArray(function Xe(me){if((me=(me=me.split("=")[0]).trim().replace(ze,"")).length<2)return"";for(;me.length%4!=0;)me+="=";return me}(me))}function ae(me,Ee,ue,Be){for(var Ct=0;Ct=Ee.length||Ct>=me.length);++Ct)Ee[Ct+ue]=me[Ct];return Ct}function he(me,Ee){return me instanceof Ee||null!=me&&null!=me.constructor&&null!=me.constructor.name&&me.constructor.name===Ee.name}function Ie(me){return me!=me}var st=function(){for(var me="0123456789abcdef",Ee=new Array(256),ue=0;ue<16;++ue)for(var Be=16*ue,Ct=0;Ct<16;++Ct)Ee[Be+Ct]=me[ue]+me[Ct];return Ee}()},3247:(Qe,te,g)=>{var e=g(7054).Buffer,t=g(7045).Transform,x=g(8454).I;function l(w){t.call(this),this.hashMode="string"==typeof w,this.hashMode?this[w]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}g(1993)(l,t),l.prototype.update=function(w,f,R){"string"==typeof w&&(w=e.from(w,f));var h=this._update(w);return this.hashMode?this:(R&&(h=this._toString(h,R)),h)},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(w,f,R){var h;try{this.hashMode?this._update(w):this.push(this._update(w))}catch(S){h=S}finally{R(h)}},l.prototype._flush=function(w){var f;try{this.push(this.__final())}catch(R){f=R}w(f)},l.prototype._finalOrDigest=function(w){var f=this.__final()||e.alloc(0);return w&&(f=this._toString(f,w,!0)),f},l.prototype._toString=function(w,f,R){if(this._decoder||(this._decoder=new x(f),this._encoding=f),this._encoding!==f)throw new Error("can't switch encodings");var h=this._decoder.write(w);return R&&(h+=this._decoder.end()),h},Qe.exports=l},4740:function(Qe){!function(te){"use strict";var g={bytesToHex:function(x){return function e(x){return x.map(function(D){return function t(x,D){return x.length>D?x:Array(D-x.length+1).join("0")+x}(D.toString(16),2)}).join("")}(x)},hexToBytes:function(x){if(x.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===x.indexOf("0x")&&(x=x.slice(2)),x.match(/../g).map(function(D){return parseInt(D,16)})}};Qe.exports?Qe.exports=g:te.convertHex=g}(this)},820:function(Qe){!function(te){"use strict";var g={bytesToString:function(e){return e.map(function(t){return String.fromCharCode(t)}).join("")},stringToBytes:function(e){return e.split("").map(function(t){return t.charCodeAt(0)})}};g.UTF8={bytesToString:function(e){return decodeURIComponent(escape(g.bytesToString(e)))},stringToBytes:function(e){return g.stringToBytes(unescape(encodeURIComponent(e)))}},Qe.exports?Qe.exports=g:te.convertString=g}(this)},7637:(Qe,te,g)=>{function j(Y){return Object.prototype.toString.call(Y)}te.isArray=function e(Y){return Array.isArray?Array.isArray(Y):"[object Array]"===j(Y)},te.isBoolean=function t(Y){return"boolean"==typeof Y},te.isNull=function x(Y){return null===Y},te.isNullOrUndefined=function D(Y){return null==Y},te.isNumber=function l(Y){return"number"==typeof Y},te.isString=function w(Y){return"string"==typeof Y},te.isSymbol=function f(Y){return"symbol"==typeof Y},te.isUndefined=function R(Y){return void 0===Y},te.isRegExp=function h(Y){return"[object RegExp]"===j(Y)},te.isObject=function S(Y){return"object"==typeof Y&&null!==Y},te.isDate=function y(Y){return"[object Date]"===j(Y)},te.isError=function O(Y){return"[object Error]"===j(Y)||Y instanceof Error},te.isFunction=function I(Y){return"function"==typeof Y},te.isPrimitive=function V(Y){return null===Y||"boolean"==typeof Y||"number"==typeof Y||"string"==typeof Y||"symbol"==typeof Y||typeof Y>"u"},te.isBuffer=g(3838).Buffer.isBuffer},7303:(Qe,te,g)=>{var e=g(518),t=g(9606);Qe.exports=function(f){return new D(f)};var x={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 D(w){this.curveType=x[w],this.curveType||(this.curveType={name:w}),this.curve=new e.ec(this.curveType.name),this.keys=void 0}function l(w,f,R){Array.isArray(w)||(w=w.toArray());var h=new Buffer(w);if(R&&h.length=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(T,n,c){var m=f(T,c);return c-1>=n&&(m|=f(T,c-1)<<4),m}function h(T,n,c,m){for(var d=0,C=Math.min(T.length,c),A=n;A=49?k-49+10:k>=17?k-17+10:k}return d}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,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),x(c===(0|c)&&c>=2&&c<=36);var d=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(d++,this.negative=1),d=0;d-=3)this.words[C]|=(A=n[d]|n[d-1]<<8|n[d-2]<<16)<>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);else if("le"===m)for(d=0,C=0;d>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var d=0;d=c;d-=2)k=R(n,c,d)<=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;else for(d=(n.length-c)%2==0?c+1:c;d=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var d=0,C=1;C<=67108863;C*=c)d++;d--,C=C/c|0;for(var A=n.length-m,k=A%d,_=Math.min(A,A-k)+m,a=0,b=m;b<_;b+=d)a=h(n,b,b+d,c),this.imuln(C),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==k){var z=1;for(a=h(n,b,n.length,c),b=0;b1&&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?""};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],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],O=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(T,n,c){c.negative=n.negative^T.negative;var m=T.length+n.length|0;c.length=m,m=m-1|0;var d=0|T.words[0],C=0|n.words[0],A=d*C,_=A/67108864|0;c.words[0]=67108863&A;for(var a=1;a>>26,z=67108863&_,N=Math.min(a,n.length-1),q=Math.max(0,a-T.length+1);q<=N;q++)b+=(A=(d=0|T.words[a-q|0])*(C=0|n.words[q])+z)/67108864|0,z=67108863&A;c.words[a]=0|z,_=0|b}return 0!==_?c.words[a]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var d=0,C=0,A=0;A>>24-d&16777215)||A!==this.length-1?S[6-_.length]+_+m:_+m,(d+=2)>=26&&(d-=26,A--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var a=y[n],b=O[n];m="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(b).toString(n);m=(z=z.idivn(b)).isZero()?N+m:S[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}x(!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&&x(!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 x(typeof w<"u"),this.toArrayLike(w,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var d=this.byteLength(),C=m||Math.max(1,d);x(d<=C,"byte array longer than desired length"),x(C>0,"Requested array length <= 0"),this.strip();var _,a,A="le"===c,k=new n(C),b=this.clone();if(A){for(a=0;!b.isZero();a++)_=b.andln(255),b.iushrn(8),k[a]=_;for(;a=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},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;cn.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 m=0;mn.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,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var d=0;dn.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){x("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var d=0;d0&&(this.words[d]=~this.words[d]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){x("number"==typeof n&&n>=0);var m=n/26|0,d=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<n.length?(m=this,d=n):(m=n,d=this);for(var C=0,A=0;A>>26;for(;0!==C&&A>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;An.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 d,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(d=this,C=n):(d=n,C=this);for(var A=0,k=0;k>26,this.words[k]=67108863&c;for(;0!==A&&k>26,this.words[k]=67108863&c;if(0===A&&k>>13,pe=0|d[1],ze=8191&pe,Xe=pe>>>13,We=0|d[2],oe=8191&We,X=We>>>13,se=0|d[3],ae=8191&se,he=se>>>13,Ie=0|d[4],st=8191&Ie,me=Ie>>>13,Ee=0|d[5],ue=8191&Ee,Be=Ee>>>13,Ct=0|d[6],ct=8191&Ct,dt=Ct>>>13,Yt=0|d[7],ve=8191&Yt,_e=Yt>>>13,we=0|d[8],Ue=8191&we,je=we>>>13,vt=0|d[9],$e=8191&vt,nt=vt>>>13,qt=0|C[0],Nt=8191&qt,yt=qt>>>13,jt=0|C[1],Je=8191&jt,et=jt>>>13,Ae=0|C[2],It=8191&Ae,Qt=Ae>>>13,Tt=0|C[3],xt=8191&Tt,Se=Tt>>>13,Te=0|C[4],ce=8191&Te,Z=Te>>>13,Re=0|C[5],Pe=8191&Re,pt=Re>>>13,Ke=0|C[6],Fe=8191&Ke,Ge=Ke>>>13,qe=0|C[7],at=8191&qe,Lt=qe>>>13,pi=0|C[8],$t=8191&pi,Kt=pi>>>13,Ui=0|C[9],ti=8191&Ui,fi=Ui>>>13;m.negative=n.negative^c.negative,m.length=19;var xn=(k+(_=Math.imul(N,Nt))|0)+((8191&(a=(a=Math.imul(N,yt))+Math.imul(q,Nt)|0))<<13)|0;k=((b=Math.imul(q,yt))+(a>>>13)|0)+(xn>>>26)|0,xn&=67108863,_=Math.imul(ze,Nt),a=(a=Math.imul(ze,yt))+Math.imul(Xe,Nt)|0,b=Math.imul(Xe,yt);var tn=(k+(_=_+Math.imul(N,Je)|0)|0)+((8191&(a=(a=a+Math.imul(N,et)|0)+Math.imul(q,Je)|0))<<13)|0;k=((b=b+Math.imul(q,et)|0)+(a>>>13)|0)+(tn>>>26)|0,tn&=67108863,_=Math.imul(oe,Nt),a=(a=Math.imul(oe,yt))+Math.imul(X,Nt)|0,b=Math.imul(X,yt),_=_+Math.imul(ze,Je)|0,a=(a=a+Math.imul(ze,et)|0)+Math.imul(Xe,Je)|0,b=b+Math.imul(Xe,et)|0;var Vi=(k+(_=_+Math.imul(N,It)|0)|0)+((8191&(a=(a=a+Math.imul(N,Qt)|0)+Math.imul(q,It)|0))<<13)|0;k=((b=b+Math.imul(q,Qt)|0)+(a>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,_=Math.imul(ae,Nt),a=(a=Math.imul(ae,yt))+Math.imul(he,Nt)|0,b=Math.imul(he,yt),_=_+Math.imul(oe,Je)|0,a=(a=a+Math.imul(oe,et)|0)+Math.imul(X,Je)|0,b=b+Math.imul(X,et)|0,_=_+Math.imul(ze,It)|0,a=(a=a+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0,b=b+Math.imul(Xe,Qt)|0;var Qi=(k+(_=_+Math.imul(N,xt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Se)|0)+Math.imul(q,xt)|0))<<13)|0;k=((b=b+Math.imul(q,Se)|0)+(a>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(st,Nt),a=(a=Math.imul(st,yt))+Math.imul(me,Nt)|0,b=Math.imul(me,yt),_=_+Math.imul(ae,Je)|0,a=(a=a+Math.imul(ae,et)|0)+Math.imul(he,Je)|0,b=b+Math.imul(he,et)|0,_=_+Math.imul(oe,It)|0,a=(a=a+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,b=b+Math.imul(X,Qt)|0,_=_+Math.imul(ze,xt)|0,a=(a=a+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0,b=b+Math.imul(Xe,Se)|0;var Xt=(k+(_=_+Math.imul(N,ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,Z)|0)+Math.imul(q,ce)|0))<<13)|0;k=((b=b+Math.imul(q,Z)|0)+(a>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(ue,Nt),a=(a=Math.imul(ue,yt))+Math.imul(Be,Nt)|0,b=Math.imul(Be,yt),_=_+Math.imul(st,Je)|0,a=(a=a+Math.imul(st,et)|0)+Math.imul(me,Je)|0,b=b+Math.imul(me,et)|0,_=_+Math.imul(ae,It)|0,a=(a=a+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,b=b+Math.imul(he,Qt)|0,_=_+Math.imul(oe,xt)|0,a=(a=a+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,b=b+Math.imul(X,Se)|0,_=_+Math.imul(ze,ce)|0,a=(a=a+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0,b=b+Math.imul(Xe,Z)|0;var St=(k+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(a=(a=a+Math.imul(N,pt)|0)+Math.imul(q,Pe)|0))<<13)|0;k=((b=b+Math.imul(q,pt)|0)+(a>>>13)|0)+(St>>>26)|0,St&=67108863,_=Math.imul(ct,Nt),a=(a=Math.imul(ct,yt))+Math.imul(dt,Nt)|0,b=Math.imul(dt,yt),_=_+Math.imul(ue,Je)|0,a=(a=a+Math.imul(ue,et)|0)+Math.imul(Be,Je)|0,b=b+Math.imul(Be,et)|0,_=_+Math.imul(st,It)|0,a=(a=a+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,b=b+Math.imul(me,Qt)|0,_=_+Math.imul(ae,xt)|0,a=(a=a+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,b=b+Math.imul(he,Se)|0,_=_+Math.imul(oe,ce)|0,a=(a=a+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,b=b+Math.imul(X,Z)|0,_=_+Math.imul(ze,Pe)|0,a=(a=a+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0,b=b+Math.imul(Xe,pt)|0;var tt=(k+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(a=(a=a+Math.imul(N,Ge)|0)+Math.imul(q,Fe)|0))<<13)|0;k=((b=b+Math.imul(q,Ge)|0)+(a>>>13)|0)+(tt>>>26)|0,tt&=67108863,_=Math.imul(ve,Nt),a=(a=Math.imul(ve,yt))+Math.imul(_e,Nt)|0,b=Math.imul(_e,yt),_=_+Math.imul(ct,Je)|0,a=(a=a+Math.imul(ct,et)|0)+Math.imul(dt,Je)|0,b=b+Math.imul(dt,et)|0,_=_+Math.imul(ue,It)|0,a=(a=a+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,b=b+Math.imul(Be,Qt)|0,_=_+Math.imul(st,xt)|0,a=(a=a+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,b=b+Math.imul(me,Se)|0,_=_+Math.imul(ae,ce)|0,a=(a=a+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,b=b+Math.imul(he,Z)|0,_=_+Math.imul(oe,Pe)|0,a=(a=a+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,b=b+Math.imul(X,pt)|0,_=_+Math.imul(ze,Fe)|0,a=(a=a+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0,b=b+Math.imul(Xe,Ge)|0;var ot=(k+(_=_+Math.imul(N,at)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(q,at)|0))<<13)|0;k=((b=b+Math.imul(q,Lt)|0)+(a>>>13)|0)+(ot>>>26)|0,ot&=67108863,_=Math.imul(Ue,Nt),a=(a=Math.imul(Ue,yt))+Math.imul(je,Nt)|0,b=Math.imul(je,yt),_=_+Math.imul(ve,Je)|0,a=(a=a+Math.imul(ve,et)|0)+Math.imul(_e,Je)|0,b=b+Math.imul(_e,et)|0,_=_+Math.imul(ct,It)|0,a=(a=a+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,b=b+Math.imul(dt,Qt)|0,_=_+Math.imul(ue,xt)|0,a=(a=a+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,b=b+Math.imul(Be,Se)|0,_=_+Math.imul(st,ce)|0,a=(a=a+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,b=b+Math.imul(me,Z)|0,_=_+Math.imul(ae,Pe)|0,a=(a=a+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,b=b+Math.imul(he,pt)|0,_=_+Math.imul(oe,Fe)|0,a=(a=a+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,b=b+Math.imul(X,Ge)|0,_=_+Math.imul(ze,at)|0,a=(a=a+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0,b=b+Math.imul(Xe,Lt)|0;var Mt=(k+(_=_+Math.imul(N,$t)|0)|0)+((8191&(a=(a=a+Math.imul(N,Kt)|0)+Math.imul(q,$t)|0))<<13)|0;k=((b=b+Math.imul(q,Kt)|0)+(a>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul($e,Nt),a=(a=Math.imul($e,yt))+Math.imul(nt,Nt)|0,b=Math.imul(nt,yt),_=_+Math.imul(Ue,Je)|0,a=(a=a+Math.imul(Ue,et)|0)+Math.imul(je,Je)|0,b=b+Math.imul(je,et)|0,_=_+Math.imul(ve,It)|0,a=(a=a+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,b=b+Math.imul(_e,Qt)|0,_=_+Math.imul(ct,xt)|0,a=(a=a+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,b=b+Math.imul(dt,Se)|0,_=_+Math.imul(ue,ce)|0,a=(a=a+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,b=b+Math.imul(Be,Z)|0,_=_+Math.imul(st,Pe)|0,a=(a=a+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,b=b+Math.imul(me,pt)|0,_=_+Math.imul(ae,Fe)|0,a=(a=a+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,b=b+Math.imul(he,Ge)|0,_=_+Math.imul(oe,at)|0,a=(a=a+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,b=b+Math.imul(X,Lt)|0,_=_+Math.imul(ze,$t)|0,a=(a=a+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0,b=b+Math.imul(Xe,Kt)|0;var Bt=(k+(_=_+Math.imul(N,ti)|0)|0)+((8191&(a=(a=a+Math.imul(N,fi)|0)+Math.imul(q,ti)|0))<<13)|0;k=((b=b+Math.imul(q,fi)|0)+(a>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,_=Math.imul($e,Je),a=(a=Math.imul($e,et))+Math.imul(nt,Je)|0,b=Math.imul(nt,et),_=_+Math.imul(Ue,It)|0,a=(a=a+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,b=b+Math.imul(je,Qt)|0,_=_+Math.imul(ve,xt)|0,a=(a=a+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,b=b+Math.imul(_e,Se)|0,_=_+Math.imul(ct,ce)|0,a=(a=a+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,b=b+Math.imul(dt,Z)|0,_=_+Math.imul(ue,Pe)|0,a=(a=a+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,b=b+Math.imul(Be,pt)|0,_=_+Math.imul(st,Fe)|0,a=(a=a+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,b=b+Math.imul(me,Ge)|0,_=_+Math.imul(ae,at)|0,a=(a=a+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,b=b+Math.imul(he,Lt)|0,_=_+Math.imul(oe,$t)|0,a=(a=a+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,b=b+Math.imul(X,Kt)|0;var Ci=(k+(_=_+Math.imul(ze,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;k=((b=b+Math.imul(Xe,fi)|0)+(a>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,_=Math.imul($e,It),a=(a=Math.imul($e,Qt))+Math.imul(nt,It)|0,b=Math.imul(nt,Qt),_=_+Math.imul(Ue,xt)|0,a=(a=a+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,b=b+Math.imul(je,Se)|0,_=_+Math.imul(ve,ce)|0,a=(a=a+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,b=b+Math.imul(_e,Z)|0,_=_+Math.imul(ct,Pe)|0,a=(a=a+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,b=b+Math.imul(dt,pt)|0,_=_+Math.imul(ue,Fe)|0,a=(a=a+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,b=b+Math.imul(Be,Ge)|0,_=_+Math.imul(st,at)|0,a=(a=a+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,b=b+Math.imul(me,Lt)|0,_=_+Math.imul(ae,$t)|0,a=(a=a+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,b=b+Math.imul(he,Kt)|0;var Ti=(k+(_=_+Math.imul(oe,ti)|0)|0)+((8191&(a=(a=a+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0))<<13)|0;k=((b=b+Math.imul(X,fi)|0)+(a>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,_=Math.imul($e,xt),a=(a=Math.imul($e,Se))+Math.imul(nt,xt)|0,b=Math.imul(nt,Se),_=_+Math.imul(Ue,ce)|0,a=(a=a+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,b=b+Math.imul(je,Z)|0,_=_+Math.imul(ve,Pe)|0,a=(a=a+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,b=b+Math.imul(_e,pt)|0,_=_+Math.imul(ct,Fe)|0,a=(a=a+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,b=b+Math.imul(dt,Ge)|0,_=_+Math.imul(ue,at)|0,a=(a=a+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,b=b+Math.imul(Be,Lt)|0,_=_+Math.imul(st,$t)|0,a=(a=a+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,b=b+Math.imul(me,Kt)|0;var Hi=(k+(_=_+Math.imul(ae,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0))<<13)|0;k=((b=b+Math.imul(he,fi)|0)+(a>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul($e,ce),a=(a=Math.imul($e,Z))+Math.imul(nt,ce)|0,b=Math.imul(nt,Z),_=_+Math.imul(Ue,Pe)|0,a=(a=a+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,b=b+Math.imul(je,pt)|0,_=_+Math.imul(ve,Fe)|0,a=(a=a+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,b=b+Math.imul(_e,Ge)|0,_=_+Math.imul(ct,at)|0,a=(a=a+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,b=b+Math.imul(dt,Lt)|0,_=_+Math.imul(ue,$t)|0,a=(a=a+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,b=b+Math.imul(Be,Kt)|0;var Zi=(k+(_=_+Math.imul(st,ti)|0)|0)+((8191&(a=(a=a+Math.imul(st,fi)|0)+Math.imul(me,ti)|0))<<13)|0;k=((b=b+Math.imul(me,fi)|0)+(a>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul($e,Pe),a=(a=Math.imul($e,pt))+Math.imul(nt,Pe)|0,b=Math.imul(nt,pt),_=_+Math.imul(Ue,Fe)|0,a=(a=a+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,b=b+Math.imul(je,Ge)|0,_=_+Math.imul(ve,at)|0,a=(a=a+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,b=b+Math.imul(_e,Lt)|0,_=_+Math.imul(ct,$t)|0,a=(a=a+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,b=b+Math.imul(dt,Kt)|0;var ln=(k+(_=_+Math.imul(ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0))<<13)|0;k=((b=b+Math.imul(Be,fi)|0)+(a>>>13)|0)+(ln>>>26)|0,ln&=67108863,_=Math.imul($e,Fe),a=(a=Math.imul($e,Ge))+Math.imul(nt,Fe)|0,b=Math.imul(nt,Ge),_=_+Math.imul(Ue,at)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,b=b+Math.imul(je,Lt)|0,_=_+Math.imul(ve,$t)|0,a=(a=a+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,b=b+Math.imul(_e,Kt)|0;var mn=(k+(_=_+Math.imul(ct,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0))<<13)|0;k=((b=b+Math.imul(dt,fi)|0)+(a>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul($e,at),a=(a=Math.imul($e,Lt))+Math.imul(nt,at)|0,b=Math.imul(nt,Lt),_=_+Math.imul(Ue,$t)|0,a=(a=a+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,b=b+Math.imul(je,Kt)|0;var Ut=(k+(_=_+Math.imul(ve,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0))<<13)|0;k=((b=b+Math.imul(_e,fi)|0)+(a>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul($e,$t),a=(a=Math.imul($e,Kt))+Math.imul(nt,$t)|0,b=Math.imul(nt,Kt);var lt=(k+(_=_+Math.imul(Ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0))<<13)|0;k=((b=b+Math.imul(je,fi)|0)+(a>>>13)|0)+(lt>>>26)|0,lt&=67108863;var re=(k+(_=Math.imul($e,ti))|0)+((8191&(a=(a=Math.imul($e,fi))+Math.imul(nt,ti)|0))<<13)|0;return k=((b=Math.imul(nt,fi))+(a>>>13)|0)+(re>>>26)|0,re&=67108863,A[0]=xn,A[1]=tn,A[2]=Vi,A[3]=Qi,A[4]=Xt,A[5]=St,A[6]=tt,A[7]=ot,A[8]=Mt,A[9]=Bt,A[10]=Ci,A[11]=Ti,A[12]=Hi,A[13]=Zi,A[14]=ln,A[15]=mn,A[16]=Ut,A[17]=lt,A[18]=re,0!==k&&(A[19]=k,m.length++),m};function W(T,n,c){return(new Q).mulp(T,n,c)}function Q(T,n){this.x=T,this.y=n}Math.imul||(j=V),l.prototype.mulTo=function(n,c){var m,d=this.length+n.length;return m=10===this.length&&10===n.length?j(this,n,c):d<63?V(this,n,c):d<1024?function Y(T,n,c){c.negative=n.negative^T.negative,c.length=T.length+n.length;for(var m=0,d=0,C=0;C>>26)|0)>>>26,A&=67108863}c.words[C]=k,m=A,A=d}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):W(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,d=0;d>=1;return d},Q.prototype.permute=function(n,c,m,d,C,A){for(var k=0;k>>=1)C++;return 1<>>=13),C>>>=13;for(A=2*c;A>=26,c+=d/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,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 I(T){for(var n=new Array(T.bitLength()),c=0;c>>d}return n}(n);if(0===c.length)return new l(1);for(var m=this,d=0;d=0);var C,c=n%26,m=(n-c)/26,d=67108863>>>26-c<<26-c;if(0!==c){var A=0;for(C=0;C>>26-c}A&&(this.words[C]=A,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C=0),d=c?(c-c%26)/26:0;var C=n%26,A=Math.min((n-C)/26,this.length),k=67108863^67108863>>>C<A)for(this.length-=A,a=0;a=0&&(0!==b||a>=d);a--){var z=0|this.words[a];this.words[a]=b<<26-C|z>>>C,b=z&k}return _&&0!==b&&(_.words[_.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return x(0===this.negative),this.iushrn(n,c,m)},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){x("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<=0);var c=n%26,m=(n-c)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>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(x("number"==typeof n),x(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>26)-(_/67108864|0),this.words[C+m]=67108863&A}for(;C>26,this.words[C+m]=67108863&A;if(0===k)return this.strip();for(x(-1===k),k=0,C=0;C>26,this.words[C]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,d=this.clone(),C=n,A=0|C.words[C.length-1];0!=(m=26-this._countBits(A))&&(C=C.ushln(m),d.iushln(m),A=0|C.words[C.length-1]);var a,_=d.length-C.length;if("mod"!==c){(a=new l(null)).length=_+1,a.words=new Array(a.length);for(var b=0;b=0;N--){var q=67108864*(0|d.words[C.length+N])+(0|d.words[C.length+N-1]);for(q=Math.min(q/A|0,67108863),d._ishlnsubmul(C,q,N);0!==d.negative;)q--,d.negative=0,d._ishlnsubmul(C,1,N),d.isZero()||(d.negative^=1);a&&(a.words[N]=q)}return a&&a.strip(),d.strip(),"div"!==c&&0!==m&&d.iushrn(m),{div:a||null,mod:d}},l.prototype.divmod=function(n,c,m){return x(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,c),"mod"!==c&&(d=A.div.neg()),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:d,mod:C}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),c),"mod"!==c&&(d=A.div.neg()),{div:d,mod:A.mod}):this.negative&n.negative?(A=this.neg().divmod(n.neg(),c),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:A.div,mod:C}):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 d,C,A},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 m=0!==c.div.negative?c.mod.isub(n):c.mod,d=n.ushrn(1),C=n.andln(1),A=m.cmp(d);return A<0||1===C&&0===A?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){x(n<=67108863);for(var c=(1<<26)%n,m=0,d=this.length-1;d>=0;d--)m=(c*m+(0|this.words[d]))%n;return m},l.prototype.idivn=function(n){x(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var d=(0|this.words[m])+67108864*c;this.words[m]=d/n|0,c=d%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){x(0===n.negative),x(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=new l(0),k=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var a=m.clone(),b=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;)(d.isOdd()||C.isOdd())&&(d.iadd(a),C.isub(b)),d.iushrn(1),C.iushrn(1);for(var q=0,pe=1;!(m.words[0]&pe)&&q<26;++q,pe<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(a),k.isub(b)),A.iushrn(1),k.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(A),C.isub(k)):(m.isub(c),A.isub(d),k.isub(C))}return{a:A,b:k,gcd:m.iushln(_)}},l.prototype._invmp=function(n){x(0===n.negative),x(!n.isZero());var z,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var k=0,_=1;!(c.words[0]&_)&&k<26;++k,_<<=1);if(k>0)for(c.iushrn(k);k-- >0;)d.isOdd()&&d.iadd(A),d.iushrn(1);for(var a=0,b=1;!(m.words[0]&b)&&a<26;++a,b<<=1);if(a>0)for(m.iushrn(a);a-- >0;)C.isOdd()&&C.iadd(A),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(C)):(m.isub(c),C.isub(d))}return(z=0===c.cmpn(1)?d:C).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(),m=n.clone();c.negative=0,m.negative=0;for(var d=0;c.isEven()&&m.isEven();d++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var A=c;c=m,m=A}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(d)},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){x("number"==typeof n);var c=n%26,m=(n-c)/26,d=1<>>26,this.words[A]=k&=67108863}return 0!==C&&(this.words[A]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),x(n<=67108863,"Number is too big");var d=0|this.words[0];m=d===n?0:dn.length)return 1;if(this.length=0;m--){var d=0|this.words[m],C=0|n.words[m];if(d!==C){dC&&(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 Ce(n)},l.prototype.toRed=function(n){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return x(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 x(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return x(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ie(T,n){this.name=T,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 ee(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Ce(T){if("string"==typeof T){var n=l._prime(T);this.m=n.p,this.prime=n}else x(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function le(T){Ce.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var d=m0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ie.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ie.prototype.imulK=function(n){return n.imul(this.k)},D(ee,ie),ee.prototype.split=function(n,c){for(var m=4194303,d=Math.min(n.length,9),C=0;C>>22,A=k}n.words[C-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ee.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m>>=26,n.words[m]=C,c=d}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ee;else if("p224"===n)c=new fe;else if("p192"===n)c=new ne;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Ce.prototype._verify1=function(n){x(0===n.negative,"red works only with positives"),x(n.red,"red works only with red numbers")},Ce.prototype._verify2=function(n,c){x(!(n.negative|c.negative),"red works only with positives"),x(n.red&&n.red===c.red,"red works only with red numbers")},Ce.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Ce.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Ce.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Ce.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Ce.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Ce.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Ce.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Ce.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Ce.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Ce.prototype.isqr=function(n){return this.imul(n,n.clone())},Ce.prototype.sqr=function(n){return this.mul(n,n)},Ce.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(x(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var d=this.m.subn(1),C=0;!d.isZero()&&0===d.andln(1);)C++,d.iushrn(1);x(!d.isZero());var A=new l(1).toRed(this),k=A.redNeg(),_=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,_).cmp(k);)a.redIAdd(k);for(var b=this.pow(a,d),z=this.pow(n,d.addn(1).iushrn(1)),N=this.pow(n,d),q=C;0!==N.cmp(A);){for(var pe=N,ze=0;0!==pe.cmp(A);ze++)pe=pe.redSqr();x(ze=0;C--){for(var b=c.words[C],z=a-1;z>=0;z--){var N=b>>z&1;A!==d[0]&&(A=this.sqr(A)),0!==N||0!==k?(k<<=1,k|=N,(4==++_||0===C&&0===z)&&(A=this.mul(A,d[k]),_=0,k=0)):_=0}a=26}return A},Ce.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Ce.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new le(n)},D(le,Ce),le.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},le.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},le.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},7211:(Qe,te,g)=>{"use strict";var e=g(1993),t=g(4725),x=g(6636),D=g(5443),l=g(3247);function w(f){l.call(this,"digest"),this._hash=f}e(w,l),w.prototype._update=function(f){this._hash.update(f)},w.prototype._final=function(){return this._hash.digest()},Qe.exports=function(R){return"md5"===(R=R.toLowerCase())?new t:"rmd160"===R||"ripemd160"===R?new x:new w(D(R))}},3407:(Qe,te,g)=>{var e=g(4725);Qe.exports=function(t){return(new e).update(t).digest()}},6432:(Qe,te,g)=>{"use strict";var e=g(1993),t=g(509),x=g(3247),D=g(7054).Buffer,l=g(3407),w=g(6636),f=g(5443),R=D.alloc(128);function h(S,y){x.call(this,"digest"),"string"==typeof y&&(y=D.from(y));var O="sha512"===S||"sha384"===S?128:64;this._alg=S,this._key=y,y.length>O?y=("rmd160"===S?new w:f(S)).update(y).digest():y.length{"use strict";var e=g(1993),t=g(7054).Buffer,x=g(3247),D=t.alloc(128),l=64;function w(f,R){x.call(this,"digest"),"string"==typeof R&&(R=t.from(R)),this._alg=f,this._key=R,R.length>l?R=f(R):R.length{"use strict";te.randomBytes=te.rng=te.pseudoRandomBytes=te.prng=g(3342),te.createHash=te.Hash=g(7211),te.createHmac=te.Hmac=g(6432);var e=g(9560),t=Object.keys(e),x=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(t);te.getHashes=function(){return x};var D=g(3397);te.pbkdf2=D.pbkdf2,te.pbkdf2Sync=D.pbkdf2Sync;var l=g(8862);te.Cipher=l.Cipher,te.createCipher=l.createCipher,te.Cipheriv=l.Cipheriv,te.createCipheriv=l.createCipheriv,te.Decipher=l.Decipher,te.createDecipher=l.createDecipher,te.Decipheriv=l.Decipheriv,te.createDecipheriv=l.createDecipheriv,te.getCiphers=l.getCiphers,te.listCiphers=l.listCiphers;var w=g(4377);te.DiffieHellmanGroup=w.DiffieHellmanGroup,te.createDiffieHellmanGroup=w.createDiffieHellmanGroup,te.getDiffieHellman=w.getDiffieHellman,te.createDiffieHellman=w.createDiffieHellman,te.DiffieHellman=w.DiffieHellman;var f=g(9143);te.createSign=f.createSign,te.Sign=f.Sign,te.createVerify=f.createVerify,te.Verify=f.Verify,te.createECDH=g(7303);var R=g(2965);te.publicEncrypt=R.publicEncrypt,te.privateEncrypt=R.privateEncrypt,te.publicDecrypt=R.publicDecrypt,te.privateDecrypt=R.privateDecrypt;var h=g(9682);te.randomFill=h.randomFill,te.randomFillSync=h.randomFillSync,te.createCredentials=function(){throw new Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/browserify/crypto-browserify")},te.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}},1549:(Qe,te,g)=>{"use strict";te.utils=g(5671),te.Cipher=g(219),te.DES=g(4166),te.CBC=g(8800),te.EDE=g(2122)},8800:(Qe,te,g)=>{"use strict";var e=g(9210),t=g(1993),x={};function D(w){e.equal(w.length,8,"Invalid IV length"),this.iv=new Array(8);for(var f=0;f{"use strict";var e=g(9210);function t(x){this.options=x,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==x.padding}Qe.exports=t,t.prototype._init=function(){},t.prototype.update=function(D){return 0===D.length?[]:"decrypt"===this.type?this._updateDecrypt(D):this._updateEncrypt(D)},t.prototype._buffer=function(D,l){for(var w=Math.min(this.buffer.length-this.bufferOff,D.length-l),f=0;f0;f--)l+=this._buffer(D,l),w+=this._flushBuffer(R,w);return l+=this._buffer(D,l),R},t.prototype.final=function(D){var l,w;return D&&(l=this.update(D)),w="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),l?l.concat(w):w},t.prototype._pad=function(D,l){if(0===l)return!1;for(;l{"use strict";var e=g(9210),t=g(1993),x=g(5671),D=g(219);function l(){this.tmp=new Array(2),this.keys=null}function w(R){D.call(this,R);var h=new l;this._desState=h,this.deriveKeys(h,R.key)}t(w,D),Qe.exports=w,w.create=function(h){return new w(h)};var f=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];w.prototype.deriveKeys=function(h,S){h.keys=new Array(32),e.equal(S.length,this.blockSize,"Invalid key length");var y=x.readUInt32BE(S,0),O=x.readUInt32BE(S,4);x.pc1(y,O,h.tmp,0),y=h.tmp[0],O=h.tmp[1];for(var I=0;I>>1];y=x.r28shl(y,V),O=x.r28shl(O,V),x.pc2(y,O,h.keys,I)}},w.prototype._update=function(h,S,y,O){var I=this._desState,V=x.readUInt32BE(h,S),j=x.readUInt32BE(h,S+4);x.ip(V,j,I.tmp,0),V=I.tmp[0],j=I.tmp[1],"encrypt"===this.type?this._encrypt(I,V,j,I.tmp,0):this._decrypt(I,V,j,I.tmp,0),j=I.tmp[1],x.writeUInt32BE(y,V=I.tmp[0],O),x.writeUInt32BE(y,j,O+4)},w.prototype._pad=function(h,S){if(!1===this.padding)return!1;for(var y=h.length-S,O=S;O>>0,V=ee}x.rip(j,V,O,I)},w.prototype._decrypt=function(h,S,y,O,I){for(var V=y,j=S,Y=h.keys.length-2;Y>=0;Y-=2){var W=h.keys[Y],Q=h.keys[Y+1];x.expand(V,h.tmp,0);var J=x.substitute(W^=h.tmp[0],Q^=h.tmp[1]),ee=V;V=(j^x.permute(J))>>>0,j=ee}x.rip(V,j,O,I)}},2122:(Qe,te,g)=>{"use strict";var e=g(9210),t=g(1993),x=g(219),D=g(4166);function l(f,R){e.equal(R.length,24,"Invalid key length");var h=R.slice(0,8),S=R.slice(8,16),y=R.slice(16,24);this.ciphers="encrypt"===f?[D.create({type:"encrypt",key:h}),D.create({type:"decrypt",key:S}),D.create({type:"encrypt",key:y})]:[D.create({type:"decrypt",key:y}),D.create({type:"encrypt",key:S}),D.create({type:"decrypt",key:h})]}function w(f){x.call(this,f);var R=new l(this.type,this.options.key);this._edeState=R}t(w,x),Qe.exports=w,w.create=function(R){return new w(R)},w.prototype._update=function(R,h,S,y){var O=this._edeState;O.ciphers[0]._update(R,h,S,y),O.ciphers[1]._update(S,y,S,y),O.ciphers[2]._update(S,y,S,y)},w.prototype._pad=D.prototype._pad,w.prototype._unpad=D.prototype._unpad},5671:(Qe,te)=>{"use strict";te.readUInt32BE=function(D,l){return(D[0+l]<<24|D[1+l]<<16|D[2+l]<<8|D[3+l])>>>0},te.writeUInt32BE=function(D,l,w){D[0+w]=l>>>24,D[1+w]=l>>>16&255,D[2+w]=l>>>8&255,D[3+w]=255&l},te.ip=function(D,l,w,f){for(var R=0,h=0,S=6;S>=0;S-=2){for(var y=0;y<=24;y+=8)R<<=1,R|=l>>>y+S&1;for(y=0;y<=24;y+=8)R<<=1,R|=D>>>y+S&1}for(S=6;S>=0;S-=2){for(y=1;y<=25;y+=8)h<<=1,h|=l>>>y+S&1;for(y=1;y<=25;y+=8)h<<=1,h|=D>>>y+S&1}w[f+0]=R>>>0,w[f+1]=h>>>0},te.rip=function(D,l,w,f){for(var R=0,h=0,S=0;S<4;S++)for(var y=24;y>=0;y-=8)R<<=1,R|=l>>>y+S&1,R<<=1,R|=D>>>y+S&1;for(S=4;S<8;S++)for(y=24;y>=0;y-=8)h<<=1,h|=l>>>y+S&1,h<<=1,h|=D>>>y+S&1;w[f+0]=R>>>0,w[f+1]=h>>>0},te.pc1=function(D,l,w,f){for(var R=0,h=0,S=7;S>=5;S--){for(var y=0;y<=24;y+=8)R<<=1,R|=l>>y+S&1;for(y=0;y<=24;y+=8)R<<=1,R|=D>>y+S&1}for(y=0;y<=24;y+=8)R<<=1,R|=l>>y+S&1;for(S=1;S<=3;S++){for(y=0;y<=24;y+=8)h<<=1,h|=l>>y+S&1;for(y=0;y<=24;y+=8)h<<=1,h|=D>>y+S&1}for(y=0;y<=24;y+=8)h<<=1,h|=D>>y+S&1;w[f+0]=R>>>0,w[f+1]=h>>>0},te.r28shl=function(D,l){return D<>>28-l};var g=[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];te.pc2=function(D,l,w,f){for(var R=0,h=0,S=g.length>>>1,y=0;y>>g[y]&1;for(y=S;y>>g[y]&1;w[f+0]=R>>>0,w[f+1]=h>>>0},te.expand=function(D,l,w){var f=0,R=0;f=(1&D)<<5|D>>>27;for(var h=23;h>=15;h-=4)f<<=6,f|=D>>>h&63;for(h=11;h>=3;h-=4)R|=D>>>h&63,R<<=6;R|=(31&D)<<1|D>>>31,l[w+0]=f>>>0,l[w+1]=R>>>0};var e=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];te.substitute=function(D,l){for(var w=0,f=0;f<4;f++)w<<=4,w|=e[64*f+(D>>>18-6*f&63)];for(f=0;f<4;f++)w<<=4,w|=e[256+64*f+(l>>>18-6*f&63)];return w>>>0};var t=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];te.permute=function(D){for(var l=0,w=0;w>>t[w]&1;return l>>>0},te.padSplit=function(D,l,w){for(var f=D.toString(2);f.length{var e=g(2727),t=g(3241),x=g(4593),l={binary:!0,hex:!0,base64:!0};te.DiffieHellmanGroup=te.createDiffieHellmanGroup=te.getDiffieHellman=function D(f){var R=new Buffer(t[f].prime,"hex"),h=new Buffer(t[f].gen,"hex");return new x(R,h)},te.createDiffieHellman=te.DiffieHellman=function w(f,R,h,S){return Buffer.isBuffer(R)||void 0===l[R]?w(f,"binary",R,h):(R=R||"binary",S=S||"binary",h=h||new Buffer([2]),Buffer.isBuffer(h)||(h=new Buffer(h,S)),"number"==typeof f?new x(e(f,h),h,!0):(Buffer.isBuffer(f)||(f=new Buffer(f,R)),new x(f,h,!0)))}},4593:(Qe,te,g)=>{var e=g(8280),x=new(g(3459)),D=new e(24),l=new e(11),w=new e(10),f=new e(3),R=new e(7),h=g(2727),S=g(3342);function y(W,Q){return Q=Q||"utf8",Buffer.isBuffer(W)||(W=new Buffer(W,Q)),this._pub=new e(W),this}function O(W,Q){return Q=Q||"utf8",Buffer.isBuffer(W)||(W=new Buffer(W,Q)),this._priv=new e(W),this}Qe.exports=j;var I={};function j(W,Q,J){this.setGenerator(Q),this.__prime=new e(W),this._prime=e.mont(this.__prime),this._primeLen=W.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,J?(this.setPublicKey=y,this.setPrivateKey=O):this._primeCode=8}function Y(W,Q){var J=new Buffer(W.toArray());return Q?J.toString(Q):J}Object.defineProperty(j.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function V(W,Q){var J=Q.toString("hex"),ie=[J,W.toString(16)].join("_");if(ie in I)return I[ie];var fe,ee=0;if(W.isEven()||!h.simpleSieve||!h.fermatTest(W)||!x.test(W))return ee+=1,I[ie]=ee+="02"===J||"05"===J?8:4,ee;switch(x.test(W.shrn(1))||(ee+=2),J){case"02":W.mod(D).cmp(l)&&(ee+=8);break;case"05":(fe=W.mod(w)).cmp(f)&&fe.cmp(R)&&(ee+=8);break;default:ee+=4}return I[ie]=ee,ee}(this.__prime,this.__gen)),this._primeCode}}),j.prototype.generateKeys=function(){return this._priv||(this._priv=new e(S(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},j.prototype.computeSecret=function(W){var Q=(W=(W=new e(W)).toRed(this._prime)).redPow(this._priv).fromRed(),J=new Buffer(Q.toArray()),ie=this.getPrime();if(J.length{var e=g(3342);Qe.exports=ee,ee.simpleSieve=J,ee.fermatTest=ie;var t=g(8280),x=new t(24),l=new(g(3459)),w=new t(1),f=new t(2),R=new t(5),y=(new t(16),new t(8),new t(10)),O=new t(3),V=(new t(7),new t(11)),j=new t(4),W=(new t(12),null);function J(fe){for(var ne=function Q(){if(null!==W)return W;var ne=[];ne[0]=2;for(var Me=1,Ce=3;Ce<1048576;Ce+=2){for(var le=Math.ceil(Math.sqrt(Ce)),T=0;Tfe;)Me.ishrn(1);if(Me.isEven()&&Me.iadd(w),Me.testn(1)||Me.iadd(f),ne.cmp(f)){if(!ne.cmp(R))for(;Me.mod(y).cmp(O);)Me.iadd(j)}else for(;Me.mod(x).cmp(V);)Me.iadd(j);if(J(Ce=Me.shrn(1))&&J(Me)&&ie(Ce)&&ie(Me)&&l.test(Ce)&&l.test(Me))return Me}}},8280:function(Qe,te,g){!function(e,t){"use strict";function x(T,n){if(!T)throw new Error(n||"Assertion failed")}function D(T,n){T.super_=n;var c=function(){};c.prototype=n.prototype,T.prototype=new c,T.prototype.constructor=T}function l(T,n,c){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(T||0,n||10,c||"be"))}var w;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{w=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:g(6089).Buffer}catch{}function f(T,n){var c=T.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(T,n,c){var m=f(T,c);return c-1>=n&&(m|=f(T,c-1)<<4),m}function h(T,n,c,m){for(var d=0,C=Math.min(T.length,c),A=n;A=49?k-49+10:k>=17?k-17+10:k}return d}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,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),x(c===(0|c)&&c>=2&&c<=36);var d=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(d++,this.negative=1),d=0;d-=3)this.words[C]|=(A=n[d]|n[d-1]<<8|n[d-2]<<16)<>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);else if("le"===m)for(d=0,C=0;d>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var d=0;d=c;d-=2)k=R(n,c,d)<=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;else for(d=(n.length-c)%2==0?c+1:c;d=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var d=0,C=1;C<=67108863;C*=c)d++;d--,C=C/c|0;for(var A=n.length-m,k=A%d,_=Math.min(A,A-k)+m,a=0,b=m;b<_;b+=d)a=h(n,b,b+d,c),this.imuln(C),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==k){var z=1;for(a=h(n,b,n.length,c),b=0;b1&&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?""};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],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],O=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(T,n,c){c.negative=n.negative^T.negative;var m=T.length+n.length|0;c.length=m,m=m-1|0;var d=0|T.words[0],C=0|n.words[0],A=d*C,_=A/67108864|0;c.words[0]=67108863&A;for(var a=1;a>>26,z=67108863&_,N=Math.min(a,n.length-1),q=Math.max(0,a-T.length+1);q<=N;q++)b+=(A=(d=0|T.words[a-q|0])*(C=0|n.words[q])+z)/67108864|0,z=67108863&A;c.words[a]=0|z,_=0|b}return 0!==_?c.words[a]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var d=0,C=0,A=0;A>>24-d&16777215)||A!==this.length-1?S[6-_.length]+_+m:_+m,(d+=2)>=26&&(d-=26,A--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var a=y[n],b=O[n];m="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(b).toString(n);m=(z=z.idivn(b)).isZero()?N+m:S[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}x(!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&&x(!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 x(typeof w<"u"),this.toArrayLike(w,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var d=this.byteLength(),C=m||Math.max(1,d);x(d<=C,"byte array longer than desired length"),x(C>0,"Requested array length <= 0"),this.strip();var _,a,A="le"===c,k=new n(C),b=this.clone();if(A){for(a=0;!b.isZero();a++)_=b.andln(255),b.iushrn(8),k[a]=_;for(;a=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},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;cn.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 m=0;mn.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,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var d=0;dn.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){x("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var d=0;d0&&(this.words[d]=~this.words[d]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){x("number"==typeof n&&n>=0);var m=n/26|0,d=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<n.length?(m=this,d=n):(m=n,d=this);for(var C=0,A=0;A>>26;for(;0!==C&&A>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;An.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 d,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(d=this,C=n):(d=n,C=this);for(var A=0,k=0;k>26,this.words[k]=67108863&c;for(;0!==A&&k>26,this.words[k]=67108863&c;if(0===A&&k>>13,pe=0|d[1],ze=8191&pe,Xe=pe>>>13,We=0|d[2],oe=8191&We,X=We>>>13,se=0|d[3],ae=8191&se,he=se>>>13,Ie=0|d[4],st=8191&Ie,me=Ie>>>13,Ee=0|d[5],ue=8191&Ee,Be=Ee>>>13,Ct=0|d[6],ct=8191&Ct,dt=Ct>>>13,Yt=0|d[7],ve=8191&Yt,_e=Yt>>>13,we=0|d[8],Ue=8191&we,je=we>>>13,vt=0|d[9],$e=8191&vt,nt=vt>>>13,qt=0|C[0],Nt=8191&qt,yt=qt>>>13,jt=0|C[1],Je=8191&jt,et=jt>>>13,Ae=0|C[2],It=8191&Ae,Qt=Ae>>>13,Tt=0|C[3],xt=8191&Tt,Se=Tt>>>13,Te=0|C[4],ce=8191&Te,Z=Te>>>13,Re=0|C[5],Pe=8191&Re,pt=Re>>>13,Ke=0|C[6],Fe=8191&Ke,Ge=Ke>>>13,qe=0|C[7],at=8191&qe,Lt=qe>>>13,pi=0|C[8],$t=8191&pi,Kt=pi>>>13,Ui=0|C[9],ti=8191&Ui,fi=Ui>>>13;m.negative=n.negative^c.negative,m.length=19;var xn=(k+(_=Math.imul(N,Nt))|0)+((8191&(a=(a=Math.imul(N,yt))+Math.imul(q,Nt)|0))<<13)|0;k=((b=Math.imul(q,yt))+(a>>>13)|0)+(xn>>>26)|0,xn&=67108863,_=Math.imul(ze,Nt),a=(a=Math.imul(ze,yt))+Math.imul(Xe,Nt)|0,b=Math.imul(Xe,yt);var tn=(k+(_=_+Math.imul(N,Je)|0)|0)+((8191&(a=(a=a+Math.imul(N,et)|0)+Math.imul(q,Je)|0))<<13)|0;k=((b=b+Math.imul(q,et)|0)+(a>>>13)|0)+(tn>>>26)|0,tn&=67108863,_=Math.imul(oe,Nt),a=(a=Math.imul(oe,yt))+Math.imul(X,Nt)|0,b=Math.imul(X,yt),_=_+Math.imul(ze,Je)|0,a=(a=a+Math.imul(ze,et)|0)+Math.imul(Xe,Je)|0,b=b+Math.imul(Xe,et)|0;var Vi=(k+(_=_+Math.imul(N,It)|0)|0)+((8191&(a=(a=a+Math.imul(N,Qt)|0)+Math.imul(q,It)|0))<<13)|0;k=((b=b+Math.imul(q,Qt)|0)+(a>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,_=Math.imul(ae,Nt),a=(a=Math.imul(ae,yt))+Math.imul(he,Nt)|0,b=Math.imul(he,yt),_=_+Math.imul(oe,Je)|0,a=(a=a+Math.imul(oe,et)|0)+Math.imul(X,Je)|0,b=b+Math.imul(X,et)|0,_=_+Math.imul(ze,It)|0,a=(a=a+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0,b=b+Math.imul(Xe,Qt)|0;var Qi=(k+(_=_+Math.imul(N,xt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Se)|0)+Math.imul(q,xt)|0))<<13)|0;k=((b=b+Math.imul(q,Se)|0)+(a>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(st,Nt),a=(a=Math.imul(st,yt))+Math.imul(me,Nt)|0,b=Math.imul(me,yt),_=_+Math.imul(ae,Je)|0,a=(a=a+Math.imul(ae,et)|0)+Math.imul(he,Je)|0,b=b+Math.imul(he,et)|0,_=_+Math.imul(oe,It)|0,a=(a=a+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,b=b+Math.imul(X,Qt)|0,_=_+Math.imul(ze,xt)|0,a=(a=a+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0,b=b+Math.imul(Xe,Se)|0;var Xt=(k+(_=_+Math.imul(N,ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,Z)|0)+Math.imul(q,ce)|0))<<13)|0;k=((b=b+Math.imul(q,Z)|0)+(a>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(ue,Nt),a=(a=Math.imul(ue,yt))+Math.imul(Be,Nt)|0,b=Math.imul(Be,yt),_=_+Math.imul(st,Je)|0,a=(a=a+Math.imul(st,et)|0)+Math.imul(me,Je)|0,b=b+Math.imul(me,et)|0,_=_+Math.imul(ae,It)|0,a=(a=a+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,b=b+Math.imul(he,Qt)|0,_=_+Math.imul(oe,xt)|0,a=(a=a+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,b=b+Math.imul(X,Se)|0,_=_+Math.imul(ze,ce)|0,a=(a=a+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0,b=b+Math.imul(Xe,Z)|0;var St=(k+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(a=(a=a+Math.imul(N,pt)|0)+Math.imul(q,Pe)|0))<<13)|0;k=((b=b+Math.imul(q,pt)|0)+(a>>>13)|0)+(St>>>26)|0,St&=67108863,_=Math.imul(ct,Nt),a=(a=Math.imul(ct,yt))+Math.imul(dt,Nt)|0,b=Math.imul(dt,yt),_=_+Math.imul(ue,Je)|0,a=(a=a+Math.imul(ue,et)|0)+Math.imul(Be,Je)|0,b=b+Math.imul(Be,et)|0,_=_+Math.imul(st,It)|0,a=(a=a+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,b=b+Math.imul(me,Qt)|0,_=_+Math.imul(ae,xt)|0,a=(a=a+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,b=b+Math.imul(he,Se)|0,_=_+Math.imul(oe,ce)|0,a=(a=a+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,b=b+Math.imul(X,Z)|0,_=_+Math.imul(ze,Pe)|0,a=(a=a+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0,b=b+Math.imul(Xe,pt)|0;var tt=(k+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(a=(a=a+Math.imul(N,Ge)|0)+Math.imul(q,Fe)|0))<<13)|0;k=((b=b+Math.imul(q,Ge)|0)+(a>>>13)|0)+(tt>>>26)|0,tt&=67108863,_=Math.imul(ve,Nt),a=(a=Math.imul(ve,yt))+Math.imul(_e,Nt)|0,b=Math.imul(_e,yt),_=_+Math.imul(ct,Je)|0,a=(a=a+Math.imul(ct,et)|0)+Math.imul(dt,Je)|0,b=b+Math.imul(dt,et)|0,_=_+Math.imul(ue,It)|0,a=(a=a+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,b=b+Math.imul(Be,Qt)|0,_=_+Math.imul(st,xt)|0,a=(a=a+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,b=b+Math.imul(me,Se)|0,_=_+Math.imul(ae,ce)|0,a=(a=a+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,b=b+Math.imul(he,Z)|0,_=_+Math.imul(oe,Pe)|0,a=(a=a+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,b=b+Math.imul(X,pt)|0,_=_+Math.imul(ze,Fe)|0,a=(a=a+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0,b=b+Math.imul(Xe,Ge)|0;var ot=(k+(_=_+Math.imul(N,at)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(q,at)|0))<<13)|0;k=((b=b+Math.imul(q,Lt)|0)+(a>>>13)|0)+(ot>>>26)|0,ot&=67108863,_=Math.imul(Ue,Nt),a=(a=Math.imul(Ue,yt))+Math.imul(je,Nt)|0,b=Math.imul(je,yt),_=_+Math.imul(ve,Je)|0,a=(a=a+Math.imul(ve,et)|0)+Math.imul(_e,Je)|0,b=b+Math.imul(_e,et)|0,_=_+Math.imul(ct,It)|0,a=(a=a+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,b=b+Math.imul(dt,Qt)|0,_=_+Math.imul(ue,xt)|0,a=(a=a+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,b=b+Math.imul(Be,Se)|0,_=_+Math.imul(st,ce)|0,a=(a=a+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,b=b+Math.imul(me,Z)|0,_=_+Math.imul(ae,Pe)|0,a=(a=a+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,b=b+Math.imul(he,pt)|0,_=_+Math.imul(oe,Fe)|0,a=(a=a+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,b=b+Math.imul(X,Ge)|0,_=_+Math.imul(ze,at)|0,a=(a=a+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0,b=b+Math.imul(Xe,Lt)|0;var Mt=(k+(_=_+Math.imul(N,$t)|0)|0)+((8191&(a=(a=a+Math.imul(N,Kt)|0)+Math.imul(q,$t)|0))<<13)|0;k=((b=b+Math.imul(q,Kt)|0)+(a>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul($e,Nt),a=(a=Math.imul($e,yt))+Math.imul(nt,Nt)|0,b=Math.imul(nt,yt),_=_+Math.imul(Ue,Je)|0,a=(a=a+Math.imul(Ue,et)|0)+Math.imul(je,Je)|0,b=b+Math.imul(je,et)|0,_=_+Math.imul(ve,It)|0,a=(a=a+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,b=b+Math.imul(_e,Qt)|0,_=_+Math.imul(ct,xt)|0,a=(a=a+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,b=b+Math.imul(dt,Se)|0,_=_+Math.imul(ue,ce)|0,a=(a=a+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,b=b+Math.imul(Be,Z)|0,_=_+Math.imul(st,Pe)|0,a=(a=a+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,b=b+Math.imul(me,pt)|0,_=_+Math.imul(ae,Fe)|0,a=(a=a+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,b=b+Math.imul(he,Ge)|0,_=_+Math.imul(oe,at)|0,a=(a=a+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,b=b+Math.imul(X,Lt)|0,_=_+Math.imul(ze,$t)|0,a=(a=a+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0,b=b+Math.imul(Xe,Kt)|0;var Bt=(k+(_=_+Math.imul(N,ti)|0)|0)+((8191&(a=(a=a+Math.imul(N,fi)|0)+Math.imul(q,ti)|0))<<13)|0;k=((b=b+Math.imul(q,fi)|0)+(a>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,_=Math.imul($e,Je),a=(a=Math.imul($e,et))+Math.imul(nt,Je)|0,b=Math.imul(nt,et),_=_+Math.imul(Ue,It)|0,a=(a=a+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,b=b+Math.imul(je,Qt)|0,_=_+Math.imul(ve,xt)|0,a=(a=a+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,b=b+Math.imul(_e,Se)|0,_=_+Math.imul(ct,ce)|0,a=(a=a+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,b=b+Math.imul(dt,Z)|0,_=_+Math.imul(ue,Pe)|0,a=(a=a+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,b=b+Math.imul(Be,pt)|0,_=_+Math.imul(st,Fe)|0,a=(a=a+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,b=b+Math.imul(me,Ge)|0,_=_+Math.imul(ae,at)|0,a=(a=a+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,b=b+Math.imul(he,Lt)|0,_=_+Math.imul(oe,$t)|0,a=(a=a+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,b=b+Math.imul(X,Kt)|0;var Ci=(k+(_=_+Math.imul(ze,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;k=((b=b+Math.imul(Xe,fi)|0)+(a>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,_=Math.imul($e,It),a=(a=Math.imul($e,Qt))+Math.imul(nt,It)|0,b=Math.imul(nt,Qt),_=_+Math.imul(Ue,xt)|0,a=(a=a+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,b=b+Math.imul(je,Se)|0,_=_+Math.imul(ve,ce)|0,a=(a=a+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,b=b+Math.imul(_e,Z)|0,_=_+Math.imul(ct,Pe)|0,a=(a=a+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,b=b+Math.imul(dt,pt)|0,_=_+Math.imul(ue,Fe)|0,a=(a=a+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,b=b+Math.imul(Be,Ge)|0,_=_+Math.imul(st,at)|0,a=(a=a+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,b=b+Math.imul(me,Lt)|0,_=_+Math.imul(ae,$t)|0,a=(a=a+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,b=b+Math.imul(he,Kt)|0;var Ti=(k+(_=_+Math.imul(oe,ti)|0)|0)+((8191&(a=(a=a+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0))<<13)|0;k=((b=b+Math.imul(X,fi)|0)+(a>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,_=Math.imul($e,xt),a=(a=Math.imul($e,Se))+Math.imul(nt,xt)|0,b=Math.imul(nt,Se),_=_+Math.imul(Ue,ce)|0,a=(a=a+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,b=b+Math.imul(je,Z)|0,_=_+Math.imul(ve,Pe)|0,a=(a=a+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,b=b+Math.imul(_e,pt)|0,_=_+Math.imul(ct,Fe)|0,a=(a=a+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,b=b+Math.imul(dt,Ge)|0,_=_+Math.imul(ue,at)|0,a=(a=a+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,b=b+Math.imul(Be,Lt)|0,_=_+Math.imul(st,$t)|0,a=(a=a+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,b=b+Math.imul(me,Kt)|0;var Hi=(k+(_=_+Math.imul(ae,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0))<<13)|0;k=((b=b+Math.imul(he,fi)|0)+(a>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul($e,ce),a=(a=Math.imul($e,Z))+Math.imul(nt,ce)|0,b=Math.imul(nt,Z),_=_+Math.imul(Ue,Pe)|0,a=(a=a+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,b=b+Math.imul(je,pt)|0,_=_+Math.imul(ve,Fe)|0,a=(a=a+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,b=b+Math.imul(_e,Ge)|0,_=_+Math.imul(ct,at)|0,a=(a=a+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,b=b+Math.imul(dt,Lt)|0,_=_+Math.imul(ue,$t)|0,a=(a=a+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,b=b+Math.imul(Be,Kt)|0;var Zi=(k+(_=_+Math.imul(st,ti)|0)|0)+((8191&(a=(a=a+Math.imul(st,fi)|0)+Math.imul(me,ti)|0))<<13)|0;k=((b=b+Math.imul(me,fi)|0)+(a>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul($e,Pe),a=(a=Math.imul($e,pt))+Math.imul(nt,Pe)|0,b=Math.imul(nt,pt),_=_+Math.imul(Ue,Fe)|0,a=(a=a+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,b=b+Math.imul(je,Ge)|0,_=_+Math.imul(ve,at)|0,a=(a=a+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,b=b+Math.imul(_e,Lt)|0,_=_+Math.imul(ct,$t)|0,a=(a=a+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,b=b+Math.imul(dt,Kt)|0;var ln=(k+(_=_+Math.imul(ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0))<<13)|0;k=((b=b+Math.imul(Be,fi)|0)+(a>>>13)|0)+(ln>>>26)|0,ln&=67108863,_=Math.imul($e,Fe),a=(a=Math.imul($e,Ge))+Math.imul(nt,Fe)|0,b=Math.imul(nt,Ge),_=_+Math.imul(Ue,at)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,b=b+Math.imul(je,Lt)|0,_=_+Math.imul(ve,$t)|0,a=(a=a+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,b=b+Math.imul(_e,Kt)|0;var mn=(k+(_=_+Math.imul(ct,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0))<<13)|0;k=((b=b+Math.imul(dt,fi)|0)+(a>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul($e,at),a=(a=Math.imul($e,Lt))+Math.imul(nt,at)|0,b=Math.imul(nt,Lt),_=_+Math.imul(Ue,$t)|0,a=(a=a+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,b=b+Math.imul(je,Kt)|0;var Ut=(k+(_=_+Math.imul(ve,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0))<<13)|0;k=((b=b+Math.imul(_e,fi)|0)+(a>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul($e,$t),a=(a=Math.imul($e,Kt))+Math.imul(nt,$t)|0,b=Math.imul(nt,Kt);var lt=(k+(_=_+Math.imul(Ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0))<<13)|0;k=((b=b+Math.imul(je,fi)|0)+(a>>>13)|0)+(lt>>>26)|0,lt&=67108863;var re=(k+(_=Math.imul($e,ti))|0)+((8191&(a=(a=Math.imul($e,fi))+Math.imul(nt,ti)|0))<<13)|0;return k=((b=Math.imul(nt,fi))+(a>>>13)|0)+(re>>>26)|0,re&=67108863,A[0]=xn,A[1]=tn,A[2]=Vi,A[3]=Qi,A[4]=Xt,A[5]=St,A[6]=tt,A[7]=ot,A[8]=Mt,A[9]=Bt,A[10]=Ci,A[11]=Ti,A[12]=Hi,A[13]=Zi,A[14]=ln,A[15]=mn,A[16]=Ut,A[17]=lt,A[18]=re,0!==k&&(A[19]=k,m.length++),m};function W(T,n,c){return(new Q).mulp(T,n,c)}function Q(T,n){this.x=T,this.y=n}Math.imul||(j=V),l.prototype.mulTo=function(n,c){var m,d=this.length+n.length;return m=10===this.length&&10===n.length?j(this,n,c):d<63?V(this,n,c):d<1024?function Y(T,n,c){c.negative=n.negative^T.negative,c.length=T.length+n.length;for(var m=0,d=0,C=0;C>>26)|0)>>>26,A&=67108863}c.words[C]=k,m=A,A=d}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):W(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,d=0;d>=1;return d},Q.prototype.permute=function(n,c,m,d,C,A){for(var k=0;k>>=1)C++;return 1<>>=13),C>>>=13;for(A=2*c;A>=26,c+=d/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,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 I(T){for(var n=new Array(T.bitLength()),c=0;c>>d}return n}(n);if(0===c.length)return new l(1);for(var m=this,d=0;d=0);var C,c=n%26,m=(n-c)/26,d=67108863>>>26-c<<26-c;if(0!==c){var A=0;for(C=0;C>>26-c}A&&(this.words[C]=A,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C=0),d=c?(c-c%26)/26:0;var C=n%26,A=Math.min((n-C)/26,this.length),k=67108863^67108863>>>C<A)for(this.length-=A,a=0;a=0&&(0!==b||a>=d);a--){var z=0|this.words[a];this.words[a]=b<<26-C|z>>>C,b=z&k}return _&&0!==b&&(_.words[_.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return x(0===this.negative),this.iushrn(n,c,m)},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){x("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<=0);var c=n%26,m=(n-c)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>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(x("number"==typeof n),x(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>26)-(_/67108864|0),this.words[C+m]=67108863&A}for(;C>26,this.words[C+m]=67108863&A;if(0===k)return this.strip();for(x(-1===k),k=0,C=0;C>26,this.words[C]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,d=this.clone(),C=n,A=0|C.words[C.length-1];0!=(m=26-this._countBits(A))&&(C=C.ushln(m),d.iushln(m),A=0|C.words[C.length-1]);var a,_=d.length-C.length;if("mod"!==c){(a=new l(null)).length=_+1,a.words=new Array(a.length);for(var b=0;b=0;N--){var q=67108864*(0|d.words[C.length+N])+(0|d.words[C.length+N-1]);for(q=Math.min(q/A|0,67108863),d._ishlnsubmul(C,q,N);0!==d.negative;)q--,d.negative=0,d._ishlnsubmul(C,1,N),d.isZero()||(d.negative^=1);a&&(a.words[N]=q)}return a&&a.strip(),d.strip(),"div"!==c&&0!==m&&d.iushrn(m),{div:a||null,mod:d}},l.prototype.divmod=function(n,c,m){return x(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,c),"mod"!==c&&(d=A.div.neg()),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:d,mod:C}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),c),"mod"!==c&&(d=A.div.neg()),{div:d,mod:A.mod}):this.negative&n.negative?(A=this.neg().divmod(n.neg(),c),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:A.div,mod:C}):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 d,C,A},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 m=0!==c.div.negative?c.mod.isub(n):c.mod,d=n.ushrn(1),C=n.andln(1),A=m.cmp(d);return A<0||1===C&&0===A?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){x(n<=67108863);for(var c=(1<<26)%n,m=0,d=this.length-1;d>=0;d--)m=(c*m+(0|this.words[d]))%n;return m},l.prototype.idivn=function(n){x(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var d=(0|this.words[m])+67108864*c;this.words[m]=d/n|0,c=d%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){x(0===n.negative),x(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=new l(0),k=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var a=m.clone(),b=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;)(d.isOdd()||C.isOdd())&&(d.iadd(a),C.isub(b)),d.iushrn(1),C.iushrn(1);for(var q=0,pe=1;!(m.words[0]&pe)&&q<26;++q,pe<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(a),k.isub(b)),A.iushrn(1),k.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(A),C.isub(k)):(m.isub(c),A.isub(d),k.isub(C))}return{a:A,b:k,gcd:m.iushln(_)}},l.prototype._invmp=function(n){x(0===n.negative),x(!n.isZero());var z,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var k=0,_=1;!(c.words[0]&_)&&k<26;++k,_<<=1);if(k>0)for(c.iushrn(k);k-- >0;)d.isOdd()&&d.iadd(A),d.iushrn(1);for(var a=0,b=1;!(m.words[0]&b)&&a<26;++a,b<<=1);if(a>0)for(m.iushrn(a);a-- >0;)C.isOdd()&&C.iadd(A),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(C)):(m.isub(c),C.isub(d))}return(z=0===c.cmpn(1)?d:C).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(),m=n.clone();c.negative=0,m.negative=0;for(var d=0;c.isEven()&&m.isEven();d++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var A=c;c=m,m=A}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(d)},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){x("number"==typeof n);var c=n%26,m=(n-c)/26,d=1<>>26,this.words[A]=k&=67108863}return 0!==C&&(this.words[A]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),x(n<=67108863,"Number is too big");var d=0|this.words[0];m=d===n?0:dn.length)return 1;if(this.length=0;m--){var d=0|this.words[m],C=0|n.words[m];if(d!==C){dC&&(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 Ce(n)},l.prototype.toRed=function(n){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return x(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 x(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return x(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ie(T,n){this.name=T,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 ee(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Ce(T){if("string"==typeof T){var n=l._prime(T);this.m=n.p,this.prime=n}else x(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function le(T){Ce.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var d=m0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ie.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ie.prototype.imulK=function(n){return n.imul(this.k)},D(ee,ie),ee.prototype.split=function(n,c){for(var m=4194303,d=Math.min(n.length,9),C=0;C>>22,A=k}n.words[C-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ee.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m>>=26,n.words[m]=C,c=d}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ee;else if("p224"===n)c=new fe;else if("p192"===n)c=new ne;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Ce.prototype._verify1=function(n){x(0===n.negative,"red works only with positives"),x(n.red,"red works only with red numbers")},Ce.prototype._verify2=function(n,c){x(!(n.negative|c.negative),"red works only with positives"),x(n.red&&n.red===c.red,"red works only with red numbers")},Ce.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Ce.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Ce.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Ce.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Ce.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Ce.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Ce.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Ce.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Ce.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Ce.prototype.isqr=function(n){return this.imul(n,n.clone())},Ce.prototype.sqr=function(n){return this.mul(n,n)},Ce.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(x(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var d=this.m.subn(1),C=0;!d.isZero()&&0===d.andln(1);)C++,d.iushrn(1);x(!d.isZero());var A=new l(1).toRed(this),k=A.redNeg(),_=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,_).cmp(k);)a.redIAdd(k);for(var b=this.pow(a,d),z=this.pow(n,d.addn(1).iushrn(1)),N=this.pow(n,d),q=C;0!==N.cmp(A);){for(var pe=N,ze=0;0!==pe.cmp(A);ze++)pe=pe.redSqr();x(ze=0;C--){for(var b=c.words[C],z=a-1;z>=0;z--){var N=b>>z&1;A!==d[0]&&(A=this.sqr(A)),0!==N||0!==k?(k<<=1,k|=N,(4==++_||0===C&&0===z)&&(A=this.mul(A,d[k]),_=0,k=0)):_=0}a=26}return A},Ce.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Ce.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new le(n)},D(le,Ce),le.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},le.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},le.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},243:Qe=>{"use strict";var te={single_source_shortest_paths:function(g,e,t){var x={},D={};D[e]=0;var w,f,R,h,S,O,l=te.PriorityQueue.make();for(l.push(e,0);!l.empty();)for(R in h=(w=l.pop()).cost,S=g[f=w.value]||{})S.hasOwnProperty(R)&&(O=h+S[R],(typeof D[R]>"u"||D[R]>O)&&(D[R]=O,l.push(R,O),x[R]=f));if(typeof t<"u"&&typeof D[t]>"u"){var j=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(j)}return x},extract_shortest_path_from_predecessor_list:function(g,e){for(var t=[],x=e;x;)t.push(x),x=g[x];return t.reverse(),t},find_path:function(g,e,t){var x=te.single_source_shortest_paths(g,e,t);return te.extract_shortest_path_from_predecessor_list(x,t)},PriorityQueue:{make:function(g){var x,e=te.PriorityQueue,t={};for(x in g=g||{},e)e.hasOwnProperty(x)&&(t[x]=e[x]);return t.queue=[],t.sorter=g.sorter||e.default_sorter,t},default_sorter:function(g,e){return g.cost-e.cost},push:function(g,e){this.queue.push({value:g,cost:e}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Qe.exports=te},518:(Qe,te,g)=>{"use strict";var e=te;e.version=g(1636).rE,e.utils=g(3136),e.rand=g(5294),e.curve=g(8729),e.curves=g(3401),e.ec=g(9042),e.eddsa=g(3045)},8828:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(3136),x=t.getNAF,D=t.getJSF,l=t.assert;function w(R,h){this.type=R,this.p=new e(h.p,16),this.red=h.prime?e.red(h.prime):e.mont(this.p),this.zero=new e(0).toRed(this.red),this.one=new e(1).toRed(this.red),this.two=new e(2).toRed(this.red),this.n=h.n&&new e(h.n,16),this.g=h.g&&this.pointFromJSON(h.g,h.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var S=this.n&&this.p.div(this.n);!S||S.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function f(R,h){this.curve=R,this.type=h,this.precomputed=null}Qe.exports=w,w.prototype.point=function(){throw new Error("Not implemented")},w.prototype.validate=function(){throw new Error("Not implemented")},w.prototype._fixedNafMul=function(h,S){l(h.precomputed);var y=h._getDoubles(),O=x(S,1,this._bitLength),I=(1<=j;W--)Y=(Y<<1)+O[W];V.push(Y)}for(var Q=this.jpoint(null,null,null),J=this.jpoint(null,null,null),ie=I;ie>0;ie--){for(j=0;j=0;Y--){for(var W=0;Y>=0&&0===V[Y];Y--)W++;if(Y>=0&&W++,j=j.dblp(W),Y<0)break;var Q=V[Y];l(0!==Q),j="affine"===h.type?j.mixedAdd(Q>0?I[Q-1>>1]:I[-Q-1>>1].neg()):j.add(Q>0?I[Q-1>>1]:I[-Q-1>>1].neg())}return"affine"===h.type?j.toP():j},w.prototype._wnafMulAdd=function(h,S,y,O,I){var Q,J,ie,V=this._wnafT1,j=this._wnafT2,Y=this._wnafT3,W=0;for(Q=0;Q=1;Q-=2){var fe=Q-1,ne=Q;if(1===V[fe]&&1===V[ne]){var Me=[S[fe],null,null,S[ne]];0===S[fe].y.cmp(S[ne].y)?(Me[1]=S[fe].add(S[ne]),Me[2]=S[fe].toJ().mixedAdd(S[ne].neg())):0===S[fe].y.cmp(S[ne].y.redNeg())?(Me[1]=S[fe].toJ().mixedAdd(S[ne]),Me[2]=S[fe].add(S[ne].neg())):(Me[1]=S[fe].toJ().mixedAdd(S[ne]),Me[2]=S[fe].toJ().mixedAdd(S[ne].neg()));var Ce=[-3,-1,-5,-7,0,7,5,1,3],le=D(y[fe],y[ne]);for(W=Math.max(le[0].length,W),Y[fe]=new Array(W),Y[ne]=new Array(W),J=0;J=0;Q--){for(var d=0;Q>=0;){var C=!0;for(J=0;J=0&&d++,c=c.dblp(d),Q<0)break;for(J=0;J0?ie=j[J][A-1>>1]:A<0&&(ie=j[J][-A-1>>1].neg()),c="affine"===ie.type?c.mixedAdd(ie):c.add(ie))}}for(Q=0;Q=Math.ceil((h.bitLength()+1)/S.step)},f.prototype._getDoubles=function(h,S){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var y=[this],O=this,I=0;I{"use strict";var e=g(3136),t=g(8723),x=g(1993),D=g(8828),l=e.assert;function w(R){this.twisted=1!=(0|R.a),this.mOneA=this.twisted&&-1==(0|R.a),this.extended=this.mOneA,D.call(this,"edwards",R),this.a=new t(R.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new t(R.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new t(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 f(R,h,S,y,O){D.BasePoint.call(this,R,"projective"),null===h&&null===S&&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 t(h,16),this.y=new t(S,16),this.z=y?new t(y,16):this.curve.one,this.t=O&&new t(O,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}x(w,D),Qe.exports=w,w.prototype._mulA=function(h){return this.mOneA?h.redNeg():this.a.redMul(h)},w.prototype._mulC=function(h){return this.oneC?h:this.c.redMul(h)},w.prototype.jpoint=function(h,S,y,O){return this.point(h,S,y,O)},w.prototype.pointFromX=function(h,S){(h=new t(h,16)).red||(h=h.toRed(this.red));var y=h.redSqr(),O=this.c2.redSub(this.a.redMul(y)),I=this.one.redSub(this.c2.redMul(this.d).redMul(y)),V=O.redMul(I.redInvm()),j=V.redSqrt();if(0!==j.redSqr().redSub(V).cmp(this.zero))throw new Error("invalid point");var Y=j.fromRed().isOdd();return(S&&!Y||!S&&Y)&&(j=j.redNeg()),this.point(h,j)},w.prototype.pointFromY=function(h,S){(h=new t(h,16)).red||(h=h.toRed(this.red));var y=h.redSqr(),O=y.redSub(this.c2),I=y.redMul(this.d).redMul(this.c2).redSub(this.a),V=O.redMul(I.redInvm());if(0===V.cmp(this.zero)){if(S)throw new Error("invalid point");return this.point(this.zero,h)}var j=V.redSqrt();if(0!==j.redSqr().redSub(V).cmp(this.zero))throw new Error("invalid point");return j.fromRed().isOdd()!==S&&(j=j.redNeg()),this.point(j,h)},w.prototype.validate=function(h){if(h.isInfinity())return!0;h.normalize();var S=h.x.redSqr(),y=h.y.redSqr(),O=S.redMul(this.a).redAdd(y),I=this.c2.redMul(this.one.redAdd(this.d.redMul(S).redMul(y)));return 0===O.cmp(I)},x(f,D.BasePoint),w.prototype.pointFromJSON=function(h){return f.fromJSON(this,h)},w.prototype.point=function(h,S,y,O){return new f(this,h,S,y,O)},f.fromJSON=function(h,S){return new f(h,S[0],S[1],S[2])},f.prototype.inspect=function(){return this.isInfinity()?"":""},f.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},f.prototype._extDbl=function(){var h=this.x.redSqr(),S=this.y.redSqr(),y=this.z.redSqr();y=y.redIAdd(y);var O=this.curve._mulA(h),I=this.x.redAdd(this.y).redSqr().redISub(h).redISub(S),V=O.redAdd(S),j=V.redSub(y),Y=O.redSub(S),W=I.redMul(j),Q=V.redMul(Y),J=I.redMul(Y),ie=j.redMul(V);return this.curve.point(W,Q,ie,J)},f.prototype._projDbl=function(){var O,I,V,j,Y,W,h=this.x.redAdd(this.y).redSqr(),S=this.x.redSqr(),y=this.y.redSqr();if(this.curve.twisted){var Q=(j=this.curve._mulA(S)).redAdd(y);this.zOne?(O=h.redSub(S).redSub(y).redMul(Q.redSub(this.curve.two)),I=Q.redMul(j.redSub(y)),V=Q.redSqr().redSub(Q).redSub(Q)):(Y=this.z.redSqr(),W=Q.redSub(Y).redISub(Y),O=h.redSub(S).redISub(y).redMul(W),I=Q.redMul(j.redSub(y)),V=Q.redMul(W))}else j=S.redAdd(y),Y=this.curve._mulC(this.z).redSqr(),W=j.redSub(Y).redSub(Y),O=this.curve._mulC(h.redISub(j)).redMul(W),I=this.curve._mulC(j).redMul(S.redISub(y)),V=j.redMul(W);return this.curve.point(O,I,V)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},f.prototype._extAdd=function(h){var S=this.y.redSub(this.x).redMul(h.y.redSub(h.x)),y=this.y.redAdd(this.x).redMul(h.y.redAdd(h.x)),O=this.t.redMul(this.curve.dd).redMul(h.t),I=this.z.redMul(h.z.redAdd(h.z)),V=y.redSub(S),j=I.redSub(O),Y=I.redAdd(O),W=y.redAdd(S),Q=V.redMul(j),J=Y.redMul(W),ie=V.redMul(W),ee=j.redMul(Y);return this.curve.point(Q,J,ee,ie)},f.prototype._projAdd=function(h){var J,ie,S=this.z.redMul(h.z),y=S.redSqr(),O=this.x.redMul(h.x),I=this.y.redMul(h.y),V=this.curve.d.redMul(O).redMul(I),j=y.redSub(V),Y=y.redAdd(V),W=this.x.redAdd(this.y).redMul(h.x.redAdd(h.y)).redISub(O).redISub(I),Q=S.redMul(j).redMul(W);return this.curve.twisted?(J=S.redMul(Y).redMul(I.redSub(this.curve._mulA(O))),ie=j.redMul(Y)):(J=S.redMul(Y).redMul(I.redSub(O)),ie=this.curve._mulC(j).redMul(Y)),this.curve.point(Q,J,ie)},f.prototype.add=function(h){return this.isInfinity()?h:h.isInfinity()?this:this.curve.extended?this._extAdd(h):this._projAdd(h)},f.prototype.mul=function(h){return this._hasDoubles(h)?this.curve._fixedNafMul(this,h):this.curve._wnafMul(this,h)},f.prototype.mulAdd=function(h,S,y){return this.curve._wnafMulAdd(1,[this,S],[h,y],2,!1)},f.prototype.jmulAdd=function(h,S,y){return this.curve._wnafMulAdd(1,[this,S],[h,y],2,!0)},f.prototype.normalize=function(){if(this.zOne)return this;var h=this.z.redInvm();return this.x=this.x.redMul(h),this.y=this.y.redMul(h),this.t&&(this.t=this.t.redMul(h)),this.z=this.curve.one,this.zOne=!0,this},f.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()},f.prototype.getY=function(){return this.normalize(),this.y.fromRed()},f.prototype.eq=function(h){return this===h||0===this.getX().cmp(h.getX())&&0===this.getY().cmp(h.getY())},f.prototype.eqXToP=function(h){var S=h.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(S))return!0;for(var y=h.clone(),O=this.curve.redN.redMul(this.z);;){if(y.iadd(this.curve.n),y.cmp(this.curve.p)>=0)return!1;if(S.redIAdd(O),0===this.x.cmp(S))return!0}},f.prototype.toP=f.prototype.normalize,f.prototype.mixedAdd=f.prototype.add},8729:(Qe,te,g)=>{"use strict";var e=te;e.base=g(8828),e.short=g(8075),e.mont=g(4947),e.edwards=g(5537)},4947:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(1993),x=g(8828),D=g(3136);function l(f){x.call(this,"mont",f),this.a=new e(f.a,16).toRed(this.red),this.b=new e(f.b,16).toRed(this.red),this.i4=new e(4).toRed(this.red).redInvm(),this.two=new e(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function w(f,R,h){x.BasePoint.call(this,f,"projective"),null===R&&null===h?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(R,16),this.z=new e(h,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}t(l,x),Qe.exports=l,l.prototype.validate=function(R){var h=R.normalize().x,S=h.redSqr(),y=S.redMul(h).redAdd(S.redMul(this.a)).redAdd(h);return 0===y.redSqrt().redSqr().cmp(y)},t(w,x.BasePoint),l.prototype.decodePoint=function(R,h){return this.point(D.toArray(R,h),1)},l.prototype.point=function(R,h){return new w(this,R,h)},l.prototype.pointFromJSON=function(R){return w.fromJSON(this,R)},w.prototype.precompute=function(){},w.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},w.fromJSON=function(R,h){return new w(R,h[0],h[1]||R.one)},w.prototype.inspect=function(){return this.isInfinity()?"":""},w.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},w.prototype.dbl=function(){var h=this.x.redAdd(this.z).redSqr(),y=this.x.redSub(this.z).redSqr(),O=h.redSub(y),I=h.redMul(y),V=O.redMul(y.redAdd(this.curve.a24.redMul(O)));return this.curve.point(I,V)},w.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},w.prototype.diffAdd=function(R,h){var S=this.x.redAdd(this.z),y=this.x.redSub(this.z),O=R.x.redAdd(R.z),V=R.x.redSub(R.z).redMul(S),j=O.redMul(y),Y=h.z.redMul(V.redAdd(j).redSqr()),W=h.x.redMul(V.redISub(j).redSqr());return this.curve.point(Y,W)},w.prototype.mul=function(R){for(var h=R.clone(),S=this,y=this.curve.point(null,null),I=[];0!==h.cmpn(0);h.iushrn(1))I.push(h.andln(1));for(var V=I.length-1;V>=0;V--)0===I[V]?(S=S.diffAdd(y,this),y=y.dbl()):(y=S.diffAdd(y,this),S=S.dbl());return y},w.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},w.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},w.prototype.eq=function(R){return 0===this.getX().cmp(R.getX())},w.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},w.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},8075:(Qe,te,g)=>{"use strict";var e=g(3136),t=g(8723),x=g(1993),D=g(8828),l=e.assert;function w(h){D.call(this,"short",h),this.a=new t(h.a,16).toRed(this.red),this.b=new t(h.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(h),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function f(h,S,y,O){D.BasePoint.call(this,h,"affine"),null===S&&null===y?(this.x=null,this.y=null,this.inf=!0):(this.x=new t(S,16),this.y=new t(y,16),O&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function R(h,S,y,O){D.BasePoint.call(this,h,"jacobian"),null===S&&null===y&&null===O?(this.x=this.curve.one,this.y=this.curve.one,this.z=new t(0)):(this.x=new t(S,16),this.y=new t(y,16),this.z=new t(O,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}x(w,D),Qe.exports=w,w.prototype._getEndomorphism=function(S){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var y,O;if(S.beta)y=new t(S.beta,16).toRed(this.red);else{var I=this._getEndoRoots(this.p);y=(y=I[0].cmp(I[1])<0?I[0]:I[1]).toRed(this.red)}if(S.lambda)O=new t(S.lambda,16);else{var V=this._getEndoRoots(this.n);0===this.g.mul(V[0]).x.cmp(this.g.x.redMul(y))?O=V[0]:l(0===this.g.mul(O=V[1]).x.cmp(this.g.x.redMul(y)))}return{beta:y,lambda:O,basis:S.basis?S.basis.map(function(Y){return{a:new t(Y.a,16),b:new t(Y.b,16)}}):this._getEndoBasis(O)}}},w.prototype._getEndoRoots=function(S){var y=S===this.p?this.red:t.mont(S),O=new t(2).toRed(y).redInvm(),I=O.redNeg(),V=new t(3).toRed(y).redNeg().redSqrt().redMul(O);return[I.redAdd(V).fromRed(),I.redSub(V).fromRed()]},w.prototype._getEndoBasis=function(S){for(var Q,J,ie,ee,fe,ne,Me,le,T,y=this.n.ushrn(Math.floor(this.n.bitLength()/2)),O=S,I=this.n.clone(),V=new t(1),j=new t(0),Y=new t(0),W=new t(1),Ce=0;0!==O.cmpn(0);){var n=I.div(O);le=I.sub(n.mul(O)),T=Y.sub(n.mul(V));var c=W.sub(n.mul(j));if(!ie&&le.cmp(y)<0)Q=Me.neg(),J=V,ie=le.neg(),ee=T;else if(ie&&2==++Ce)break;Me=le,I=O,O=le,Y=V,V=T,W=j,j=c}fe=le.neg(),ne=T;var m=ie.sqr().add(ee.sqr());return fe.sqr().add(ne.sqr()).cmp(m)>=0&&(fe=Q,ne=J),ie.negative&&(ie=ie.neg(),ee=ee.neg()),fe.negative&&(fe=fe.neg(),ne=ne.neg()),[{a:ie,b:ee},{a:fe,b:ne}]},w.prototype._endoSplit=function(S){var y=this.endo.basis,O=y[0],I=y[1],V=I.b.mul(S).divRound(this.n),j=O.b.neg().mul(S).divRound(this.n),Y=V.mul(O.a),W=j.mul(I.a),Q=V.mul(O.b),J=j.mul(I.b);return{k1:S.sub(Y).sub(W),k2:Q.add(J).neg()}},w.prototype.pointFromX=function(S,y){(S=new t(S,16)).red||(S=S.toRed(this.red));var O=S.redSqr().redMul(S).redIAdd(S.redMul(this.a)).redIAdd(this.b),I=O.redSqrt();if(0!==I.redSqr().redSub(O).cmp(this.zero))throw new Error("invalid point");var V=I.fromRed().isOdd();return(y&&!V||!y&&V)&&(I=I.redNeg()),this.point(S,I)},w.prototype.validate=function(S){if(S.inf)return!0;var y=S.x,O=S.y,I=this.a.redMul(y),V=y.redSqr().redMul(y).redIAdd(I).redIAdd(this.b);return 0===O.redSqr().redISub(V).cmpn(0)},w.prototype._endoWnafMulAdd=function(S,y,O){for(var I=this._endoWnafT1,V=this._endoWnafT2,j=0;j":""},f.prototype.isInfinity=function(){return this.inf},f.prototype.add=function(S){if(this.inf)return S;if(S.inf)return this;if(this.eq(S))return this.dbl();if(this.neg().eq(S))return this.curve.point(null,null);if(0===this.x.cmp(S.x))return this.curve.point(null,null);var y=this.y.redSub(S.y);0!==y.cmpn(0)&&(y=y.redMul(this.x.redSub(S.x).redInvm()));var O=y.redSqr().redISub(this.x).redISub(S.x),I=y.redMul(this.x.redSub(O)).redISub(this.y);return this.curve.point(O,I)},f.prototype.dbl=function(){if(this.inf)return this;var S=this.y.redAdd(this.y);if(0===S.cmpn(0))return this.curve.point(null,null);var y=this.curve.a,O=this.x.redSqr(),I=S.redInvm(),V=O.redAdd(O).redIAdd(O).redIAdd(y).redMul(I),j=V.redSqr().redISub(this.x.redAdd(this.x)),Y=V.redMul(this.x.redSub(j)).redISub(this.y);return this.curve.point(j,Y)},f.prototype.getX=function(){return this.x.fromRed()},f.prototype.getY=function(){return this.y.fromRed()},f.prototype.mul=function(S){return S=new t(S,16),this.isInfinity()?this:this._hasDoubles(S)?this.curve._fixedNafMul(this,S):this.curve.endo?this.curve._endoWnafMulAdd([this],[S]):this.curve._wnafMul(this,S)},f.prototype.mulAdd=function(S,y,O){var I=[this,y],V=[S,O];return this.curve.endo?this.curve._endoWnafMulAdd(I,V):this.curve._wnafMulAdd(1,I,V,2)},f.prototype.jmulAdd=function(S,y,O){var I=[this,y],V=[S,O];return this.curve.endo?this.curve._endoWnafMulAdd(I,V,!0):this.curve._wnafMulAdd(1,I,V,2,!0)},f.prototype.eq=function(S){return this===S||this.inf===S.inf&&(this.inf||0===this.x.cmp(S.x)&&0===this.y.cmp(S.y))},f.prototype.neg=function(S){if(this.inf)return this;var y=this.curve.point(this.x,this.y.redNeg());if(S&&this.precomputed){var O=this.precomputed,I=function(V){return V.neg()};y.precomputed={naf:O.naf&&{wnd:O.naf.wnd,points:O.naf.points.map(I)},doubles:O.doubles&&{step:O.doubles.step,points:O.doubles.points.map(I)}}}return y},f.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},x(R,D.BasePoint),w.prototype.jpoint=function(S,y,O){return new R(this,S,y,O)},R.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var S=this.z.redInvm(),y=S.redSqr(),O=this.x.redMul(y),I=this.y.redMul(y).redMul(S);return this.curve.point(O,I)},R.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},R.prototype.add=function(S){if(this.isInfinity())return S;if(S.isInfinity())return this;var y=S.z.redSqr(),O=this.z.redSqr(),I=this.x.redMul(y),V=S.x.redMul(O),j=this.y.redMul(y.redMul(S.z)),Y=S.y.redMul(O.redMul(this.z)),W=I.redSub(V),Q=j.redSub(Y);if(0===W.cmpn(0))return 0!==Q.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var J=W.redSqr(),ie=J.redMul(W),ee=I.redMul(J),fe=Q.redSqr().redIAdd(ie).redISub(ee).redISub(ee),ne=Q.redMul(ee.redISub(fe)).redISub(j.redMul(ie)),Me=this.z.redMul(S.z).redMul(W);return this.curve.jpoint(fe,ne,Me)},R.prototype.mixedAdd=function(S){if(this.isInfinity())return S.toJ();if(S.isInfinity())return this;var y=this.z.redSqr(),O=this.x,I=S.x.redMul(y),V=this.y,j=S.y.redMul(y).redMul(this.z),Y=O.redSub(I),W=V.redSub(j);if(0===Y.cmpn(0))return 0!==W.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var Q=Y.redSqr(),J=Q.redMul(Y),ie=O.redMul(Q),ee=W.redSqr().redIAdd(J).redISub(ie).redISub(ie),fe=W.redMul(ie.redISub(ee)).redISub(V.redMul(J)),ne=this.z.redMul(Y);return this.curve.jpoint(ee,fe,ne)},R.prototype.dblp=function(S){if(0===S)return this;if(this.isInfinity())return this;if(!S)return this.dbl();var y;if(this.curve.zeroA||this.curve.threeA){var O=this;for(y=0;y=0)return!1;if(O.redIAdd(V),0===this.x.cmp(O))return!0}},R.prototype.inspect=function(){return this.isInfinity()?"":""},R.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3401:(Qe,te,g)=>{"use strict";var R,e=te,t=g(2529),x=g(8729),l=g(3136).assert;function w(h){this.curve="short"===h.type?new x.short(h):"edwards"===h.type?new x.edwards(h):new x.mont(h),this.g=this.curve.g,this.n=this.curve.n,this.hash=h.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function f(h,S){Object.defineProperty(e,h,{configurable:!0,enumerable:!0,get:function(){var y=new w(S);return Object.defineProperty(e,h,{configurable:!0,enumerable:!0,value:y}),y}})}e.PresetCurve=w,f("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:t.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),f("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:t.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),f("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:t.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),f("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:t.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),f("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:t.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),f("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["9"]}),f("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{R=g(1416)}catch{R=void 0}f("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:t.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",R]})},9042:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(3556),x=g(3136),D=g(3401),l=g(5294),w=x.assert,f=g(541),R=g(484);function h(S){if(!(this instanceof h))return new h(S);"string"==typeof S&&(w(Object.prototype.hasOwnProperty.call(D,S),"Unknown curve "+S),S=D[S]),S instanceof D.PresetCurve&&(S={curve:S}),this.curve=S.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=S.curve.g,this.g.precompute(S.curve.n.bitLength()+1),this.hash=S.hash||S.curve.hash}Qe.exports=h,h.prototype.keyPair=function(y){return new f(this,y)},h.prototype.keyFromPrivate=function(y,O){return f.fromPrivate(this,y,O)},h.prototype.keyFromPublic=function(y,O){return f.fromPublic(this,y,O)},h.prototype.genKeyPair=function(y){y||(y={});for(var O=new t({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()}),I=this.n.byteLength(),V=this.n.sub(new e(2));;){var j=new e(O.generate(I));if(!(j.cmp(V)>0))return j.iaddn(1),this.keyFromPrivate(j)}},h.prototype._truncateToN=function(y,O,I){var V;if(e.isBN(y)||"number"==typeof y)V=(y=new e(y,16)).byteLength();else if("object"==typeof y)V=y.length,y=new e(y,16);else{var j=y.toString();V=j.length+1>>>1,y=new e(j,16)}"number"!=typeof I&&(I=8*V);var Y=I-this.n.bitLength();return Y>0&&(y=y.ushrn(Y)),!O&&y.cmp(this.n)>=0?y.sub(this.n):y},h.prototype.sign=function(y,O,I,V){"object"==typeof I&&(V=I,I=null),V||(V={}),O=this.keyFromPrivate(O,I),y=this._truncateToN(y,!1,V.msgBitLength);for(var j=this.n.byteLength(),Y=O.getPrivate().toArray("be",j),W=y.toArray("be",j),Q=new t({hash:this.hash,entropy:Y,nonce:W,pers:V.pers,persEnc:V.persEnc||"utf8"}),J=this.n.sub(new e(1)),ie=0;;ie++){var ee=V.k?V.k(ie):new e(Q.generate(this.n.byteLength()));if(!((ee=this._truncateToN(ee,!0)).cmpn(1)<=0||ee.cmp(J)>=0)){var fe=this.g.mul(ee);if(!fe.isInfinity()){var ne=fe.getX(),Me=ne.umod(this.n);if(0!==Me.cmpn(0)){var Ce=ee.invm(this.n).mul(Me.mul(O.getPrivate()).iadd(y));if(0!==(Ce=Ce.umod(this.n)).cmpn(0)){var le=(fe.getY().isOdd()?1:0)|(0!==ne.cmp(Me)?2:0);return V.canonical&&Ce.cmp(this.nh)>0&&(Ce=this.n.sub(Ce),le^=1),new R({r:Me,s:Ce,recoveryParam:le})}}}}}},h.prototype.verify=function(y,O,I,V,j){j||(j={}),y=this._truncateToN(y,!1,j.msgBitLength),I=this.keyFromPublic(I,V);var Y=(O=new R(O,"hex")).r,W=O.s;if(Y.cmpn(1)<0||Y.cmp(this.n)>=0||W.cmpn(1)<0||W.cmp(this.n)>=0)return!1;var ee,Q=W.invm(this.n),J=Q.mul(y).umod(this.n),ie=Q.mul(Y).umod(this.n);return this.curve._maxwellTrick?!(ee=this.g.jmulAdd(J,I.getPublic(),ie)).isInfinity()&&ee.eqXToP(Y):!(ee=this.g.mulAdd(J,I.getPublic(),ie)).isInfinity()&&0===ee.getX().umod(this.n).cmp(Y)},h.prototype.recoverPubKey=function(S,y,O,I){w((3&O)===O,"The recovery param is more than two bits"),y=new R(y,I);var V=this.n,j=new e(S),Y=y.r,W=y.s,Q=1&O,J=O>>1;if(Y.cmp(this.curve.p.umod(this.curve.n))>=0&&J)throw new Error("Unable to find sencond key candinate");Y=this.curve.pointFromX(J?Y.add(this.curve.n):Y,Q);var ie=y.r.invm(V),ee=V.sub(j).mul(ie).umod(V),fe=W.mul(ie).umod(V);return this.g.mulAdd(ee,Y,fe)},h.prototype.getKeyRecoveryParam=function(S,y,O,I){if(null!==(y=new R(y,I)).recoveryParam)return y.recoveryParam;for(var V=0;V<4;V++){var j;try{j=this.recoverPubKey(S,y,V)}catch{continue}if(j.eq(O))return V}throw new Error("Unable to find valid recovery factor")}},541:(Qe,te,g)=>{"use strict";var e=g(8723),x=g(3136).assert;function D(l,w){this.ec=l,this.priv=null,this.pub=null,w.priv&&this._importPrivate(w.priv,w.privEnc),w.pub&&this._importPublic(w.pub,w.pubEnc)}Qe.exports=D,D.fromPublic=function(w,f,R){return f instanceof D?f:new D(w,{pub:f,pubEnc:R})},D.fromPrivate=function(w,f,R){return f instanceof D?f:new D(w,{priv:f,privEnc:R})},D.prototype.validate=function(){var w=this.getPublic();return w.isInfinity()?{result:!1,reason:"Invalid public key"}:w.validate()?w.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"}},D.prototype.getPublic=function(w,f){return"string"==typeof w&&(f=w,w=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),f?this.pub.encode(f,w):this.pub},D.prototype.getPrivate=function(w){return"hex"===w?this.priv.toString(16,2):this.priv},D.prototype._importPrivate=function(w,f){this.priv=new e(w,f||16),this.priv=this.priv.umod(this.ec.curve.n)},D.prototype._importPublic=function(w,f){if(w.x||w.y)return"mont"===this.ec.curve.type?x(w.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&x(w.x&&w.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(w.x,w.y));this.pub=this.ec.curve.decodePoint(w,f)},D.prototype.derive=function(w){return w.validate()||x(w.validate(),"public point not validated"),w.mul(this.priv).getX()},D.prototype.sign=function(w,f,R){return this.ec.sign(w,this,f,R)},D.prototype.verify=function(w,f,R){return this.ec.verify(w,f,this,void 0,R)},D.prototype.inspect=function(){return""}},484:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(3136),x=t.assert;function D(h,S){if(h instanceof D)return h;this._importDER(h,S)||(x(h.r&&h.s,"Signature without r or s"),this.r=new e(h.r,16),this.s=new e(h.s,16),this.recoveryParam=void 0===h.recoveryParam?null:h.recoveryParam)}function l(){this.place=0}function w(h,S){var y=h[S.place++];if(!(128&y))return y;var O=15&y;if(0===O||O>4||0===h[S.place])return!1;for(var I=0,V=0,j=S.place;V>>=0;return!(I<=127)&&(S.place=j,I)}function f(h){for(var S=0,y=h.length-1;!h[S]&&!(128&h[S+1])&&S>>3);for(h.push(128|y);--y;)h.push(S>>>(y<<3)&255);h.push(S)}}Qe.exports=D,D.prototype._importDER=function(S,y){S=t.toArray(S,y);var O=new l;if(48!==S[O.place++])return!1;var I=w(S,O);if(!1===I||I+O.place!==S.length||2!==S[O.place++])return!1;var V=w(S,O);if(!1===V||128&S[O.place])return!1;var j=S.slice(O.place,V+O.place);if(O.place+=V,2!==S[O.place++])return!1;var Y=w(S,O);if(!1===Y||S.length!==Y+O.place||128&S[O.place])return!1;var W=S.slice(O.place,Y+O.place);if(0===j[0]){if(!(128&j[1]))return!1;j=j.slice(1)}if(0===W[0]){if(!(128&W[1]))return!1;W=W.slice(1)}return this.r=new e(j),this.s=new e(W),this.recoveryParam=null,!0},D.prototype.toDER=function(S){var y=this.r.toArray(),O=this.s.toArray();for(128&y[0]&&(y=[0].concat(y)),128&O[0]&&(O=[0].concat(O)),y=f(y),O=f(O);!(O[0]||128&O[1]);)O=O.slice(1);var I=[2];R(I,y.length),(I=I.concat(y)).push(2),R(I,O.length);var V=I.concat(O),j=[48];return R(j,V.length),j=j.concat(V),t.encode(j,S)}},3045:(Qe,te,g)=>{"use strict";var e=g(2529),t=g(3401),x=g(3136),D=x.assert,l=x.parseBytes,w=g(7222),f=g(5451);function R(h){if(D("ed25519"===h,"only tested with ed25519 so far"),!(this instanceof R))return new R(h);this.curve=h=t[h].curve,this.g=h.g,this.g.precompute(h.n.bitLength()+1),this.pointClass=h.point().constructor,this.encodingLength=Math.ceil(h.n.bitLength()/8),this.hash=e.sha512}Qe.exports=R,R.prototype.sign=function(S,y){S=l(S);var O=this.keyFromSecret(y),I=this.hashInt(O.messagePrefix(),S),V=this.g.mul(I),j=this.encodePoint(V),Y=this.hashInt(j,O.pubBytes(),S).mul(O.priv()),W=I.add(Y).umod(this.curve.n);return this.makeSignature({R:V,S:W,Rencoded:j})},R.prototype.verify=function(S,y,O){if(S=l(S),(y=this.makeSignature(y)).S().gte(y.eddsa.curve.n)||y.S().isNeg())return!1;var I=this.keyFromPublic(O),V=this.hashInt(y.Rencoded(),I.pubBytes(),S),j=this.g.mul(y.S());return y.R().add(I.pub().mul(V)).eq(j)},R.prototype.hashInt=function(){for(var S=this.hash(),y=0;y{"use strict";var e=g(3136),t=e.assert,x=e.parseBytes,D=e.cachedProperty;function l(w,f){this.eddsa=w,this._secret=x(f.secret),w.isPoint(f.pub)?this._pub=f.pub:this._pubBytes=x(f.pub)}l.fromPublic=function(f,R){return R instanceof l?R:new l(f,{pub:R})},l.fromSecret=function(f,R){return R instanceof l?R:new l(f,{secret:R})},l.prototype.secret=function(){return this._secret},D(l,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),D(l,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),D(l,"privBytes",function(){var f=this.eddsa,R=this.hash(),h=f.encodingLength-1,S=R.slice(0,f.encodingLength);return S[0]&=248,S[h]&=127,S[h]|=64,S}),D(l,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),D(l,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),D(l,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),l.prototype.sign=function(f){return t(this._secret,"KeyPair can only verify"),this.eddsa.sign(f,this)},l.prototype.verify=function(f,R){return this.eddsa.verify(f,R,this)},l.prototype.getSecret=function(f){return t(this._secret,"KeyPair is public only"),e.encode(this.secret(),f)},l.prototype.getPublic=function(f){return e.encode(this.pubBytes(),f)},Qe.exports=l},5451:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(3136),x=t.assert,D=t.cachedProperty,l=t.parseBytes;function w(f,R){this.eddsa=f,"object"!=typeof R&&(R=l(R)),Array.isArray(R)&&(x(R.length===2*f.encodingLength,"Signature has invalid size"),R={R:R.slice(0,f.encodingLength),S:R.slice(f.encodingLength)}),x(R.R&&R.S,"Signature without R or S"),f.isPoint(R.R)&&(this._R=R.R),R.S instanceof e&&(this._S=R.S),this._Rencoded=Array.isArray(R.R)?R.R:R.Rencoded,this._Sencoded=Array.isArray(R.S)?R.S:R.Sencoded}D(w,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),D(w,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),D(w,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),D(w,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),w.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},w.prototype.toHex=function(){return t.encode(this.toBytes(),"hex").toUpperCase()},Qe.exports=w},1416:Qe=>{Qe.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:(Qe,te,g)=>{"use strict";var e=te,t=g(8723),x=g(9210),D=g(1832);e.assert=x,e.toArray=D.toArray,e.zero2=D.zero2,e.toHex=D.toHex,e.encode=D.encode,e.getNAF=function l(S,y,O){var V,I=new Array(Math.max(S.bitLength(),O)+1);for(V=0;V(j>>1)-1?(j>>1)-Q:Q):W=0,I[V]=W,Y.iushrn(1)}return I},e.getJSF=function w(S,y){var O=[[],[]];S=S.clone(),y=y.clone();for(var j,I=0,V=0;S.cmpn(-I)>0||y.cmpn(-V)>0;){var Q,J,Y=S.andln(3)+I&3,W=y.andln(3)+V&3;3===Y&&(Y=-1),3===W&&(W=-1),Q=1&Y?3!=(j=S.andln(7)+I&7)&&5!==j||2!==W?Y:-Y:0,O[0].push(Q),J=1&W?3!=(j=y.andln(7)+V&7)&&5!==j||2!==Y?W:-W:0,O[1].push(J),2*I===Q+1&&(I=1-I),2*V===J+1&&(V=1-V),S.iushrn(1),y.iushrn(1)}return O},e.cachedProperty=function f(S,y,O){var I="_"+y;S.prototype[y]=function(){return void 0!==this[I]?this[I]:this[I]=O.call(this)}},e.parseBytes=function R(S){return"string"==typeof S?e.toArray(S,"hex"):S},e.intFromLE=function h(S){return new t(S,"hex","le")}},8723:function(Qe,te,g){!function(e,t){"use strict";function x(T,n){if(!T)throw new Error(n||"Assertion failed")}function D(T,n){T.super_=n;var c=function(){};c.prototype=n.prototype,T.prototype=new c,T.prototype.constructor=T}function l(T,n,c){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(T||0,n||10,c||"be"))}var w;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{w=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:g(9368).Buffer}catch{}function f(T,n){var c=T.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(T,n,c){var m=f(T,c);return c-1>=n&&(m|=f(T,c-1)<<4),m}function h(T,n,c,m){for(var d=0,C=Math.min(T.length,c),A=n;A=49?k-49+10:k>=17?k-17+10:k}return d}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,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),x(c===(0|c)&&c>=2&&c<=36);var d=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(d++,this.negative=1),d=0;d-=3)this.words[C]|=(A=n[d]|n[d-1]<<8|n[d-2]<<16)<>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);else if("le"===m)for(d=0,C=0;d>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var d=0;d=c;d-=2)k=R(n,c,d)<=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;else for(d=(n.length-c)%2==0?c+1:c;d=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var d=0,C=1;C<=67108863;C*=c)d++;d--,C=C/c|0;for(var A=n.length-m,k=A%d,_=Math.min(A,A-k)+m,a=0,b=m;b<_;b+=d)a=h(n,b,b+d,c),this.imuln(C),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==k){var z=1;for(a=h(n,b,n.length,c),b=0;b1&&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?""};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],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],O=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(T,n,c){c.negative=n.negative^T.negative;var m=T.length+n.length|0;c.length=m,m=m-1|0;var d=0|T.words[0],C=0|n.words[0],A=d*C,_=A/67108864|0;c.words[0]=67108863&A;for(var a=1;a>>26,z=67108863&_,N=Math.min(a,n.length-1),q=Math.max(0,a-T.length+1);q<=N;q++)b+=(A=(d=0|T.words[a-q|0])*(C=0|n.words[q])+z)/67108864|0,z=67108863&A;c.words[a]=0|z,_=0|b}return 0!==_?c.words[a]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var d=0,C=0,A=0;A>>24-d&16777215)||A!==this.length-1?S[6-_.length]+_+m:_+m,(d+=2)>=26&&(d-=26,A--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var a=y[n],b=O[n];m="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(b).toString(n);m=(z=z.idivn(b)).isZero()?N+m:S[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}x(!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&&x(!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 x(typeof w<"u"),this.toArrayLike(w,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var d=this.byteLength(),C=m||Math.max(1,d);x(d<=C,"byte array longer than desired length"),x(C>0,"Requested array length <= 0"),this.strip();var _,a,A="le"===c,k=new n(C),b=this.clone();if(A){for(a=0;!b.isZero();a++)_=b.andln(255),b.iushrn(8),k[a]=_;for(;a=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},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;cn.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 m=0;mn.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,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var d=0;dn.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){x("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var d=0;d0&&(this.words[d]=~this.words[d]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){x("number"==typeof n&&n>=0);var m=n/26|0,d=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<n.length?(m=this,d=n):(m=n,d=this);for(var C=0,A=0;A>>26;for(;0!==C&&A>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;An.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 d,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(d=this,C=n):(d=n,C=this);for(var A=0,k=0;k>26,this.words[k]=67108863&c;for(;0!==A&&k>26,this.words[k]=67108863&c;if(0===A&&k>>13,pe=0|d[1],ze=8191&pe,Xe=pe>>>13,We=0|d[2],oe=8191&We,X=We>>>13,se=0|d[3],ae=8191&se,he=se>>>13,Ie=0|d[4],st=8191&Ie,me=Ie>>>13,Ee=0|d[5],ue=8191&Ee,Be=Ee>>>13,Ct=0|d[6],ct=8191&Ct,dt=Ct>>>13,Yt=0|d[7],ve=8191&Yt,_e=Yt>>>13,we=0|d[8],Ue=8191&we,je=we>>>13,vt=0|d[9],$e=8191&vt,nt=vt>>>13,qt=0|C[0],Nt=8191&qt,yt=qt>>>13,jt=0|C[1],Je=8191&jt,et=jt>>>13,Ae=0|C[2],It=8191&Ae,Qt=Ae>>>13,Tt=0|C[3],xt=8191&Tt,Se=Tt>>>13,Te=0|C[4],ce=8191&Te,Z=Te>>>13,Re=0|C[5],Pe=8191&Re,pt=Re>>>13,Ke=0|C[6],Fe=8191&Ke,Ge=Ke>>>13,qe=0|C[7],at=8191&qe,Lt=qe>>>13,pi=0|C[8],$t=8191&pi,Kt=pi>>>13,Ui=0|C[9],ti=8191&Ui,fi=Ui>>>13;m.negative=n.negative^c.negative,m.length=19;var xn=(k+(_=Math.imul(N,Nt))|0)+((8191&(a=(a=Math.imul(N,yt))+Math.imul(q,Nt)|0))<<13)|0;k=((b=Math.imul(q,yt))+(a>>>13)|0)+(xn>>>26)|0,xn&=67108863,_=Math.imul(ze,Nt),a=(a=Math.imul(ze,yt))+Math.imul(Xe,Nt)|0,b=Math.imul(Xe,yt);var tn=(k+(_=_+Math.imul(N,Je)|0)|0)+((8191&(a=(a=a+Math.imul(N,et)|0)+Math.imul(q,Je)|0))<<13)|0;k=((b=b+Math.imul(q,et)|0)+(a>>>13)|0)+(tn>>>26)|0,tn&=67108863,_=Math.imul(oe,Nt),a=(a=Math.imul(oe,yt))+Math.imul(X,Nt)|0,b=Math.imul(X,yt),_=_+Math.imul(ze,Je)|0,a=(a=a+Math.imul(ze,et)|0)+Math.imul(Xe,Je)|0,b=b+Math.imul(Xe,et)|0;var Vi=(k+(_=_+Math.imul(N,It)|0)|0)+((8191&(a=(a=a+Math.imul(N,Qt)|0)+Math.imul(q,It)|0))<<13)|0;k=((b=b+Math.imul(q,Qt)|0)+(a>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,_=Math.imul(ae,Nt),a=(a=Math.imul(ae,yt))+Math.imul(he,Nt)|0,b=Math.imul(he,yt),_=_+Math.imul(oe,Je)|0,a=(a=a+Math.imul(oe,et)|0)+Math.imul(X,Je)|0,b=b+Math.imul(X,et)|0,_=_+Math.imul(ze,It)|0,a=(a=a+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0,b=b+Math.imul(Xe,Qt)|0;var Qi=(k+(_=_+Math.imul(N,xt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Se)|0)+Math.imul(q,xt)|0))<<13)|0;k=((b=b+Math.imul(q,Se)|0)+(a>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(st,Nt),a=(a=Math.imul(st,yt))+Math.imul(me,Nt)|0,b=Math.imul(me,yt),_=_+Math.imul(ae,Je)|0,a=(a=a+Math.imul(ae,et)|0)+Math.imul(he,Je)|0,b=b+Math.imul(he,et)|0,_=_+Math.imul(oe,It)|0,a=(a=a+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,b=b+Math.imul(X,Qt)|0,_=_+Math.imul(ze,xt)|0,a=(a=a+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0,b=b+Math.imul(Xe,Se)|0;var Xt=(k+(_=_+Math.imul(N,ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,Z)|0)+Math.imul(q,ce)|0))<<13)|0;k=((b=b+Math.imul(q,Z)|0)+(a>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(ue,Nt),a=(a=Math.imul(ue,yt))+Math.imul(Be,Nt)|0,b=Math.imul(Be,yt),_=_+Math.imul(st,Je)|0,a=(a=a+Math.imul(st,et)|0)+Math.imul(me,Je)|0,b=b+Math.imul(me,et)|0,_=_+Math.imul(ae,It)|0,a=(a=a+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,b=b+Math.imul(he,Qt)|0,_=_+Math.imul(oe,xt)|0,a=(a=a+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,b=b+Math.imul(X,Se)|0,_=_+Math.imul(ze,ce)|0,a=(a=a+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0,b=b+Math.imul(Xe,Z)|0;var St=(k+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(a=(a=a+Math.imul(N,pt)|0)+Math.imul(q,Pe)|0))<<13)|0;k=((b=b+Math.imul(q,pt)|0)+(a>>>13)|0)+(St>>>26)|0,St&=67108863,_=Math.imul(ct,Nt),a=(a=Math.imul(ct,yt))+Math.imul(dt,Nt)|0,b=Math.imul(dt,yt),_=_+Math.imul(ue,Je)|0,a=(a=a+Math.imul(ue,et)|0)+Math.imul(Be,Je)|0,b=b+Math.imul(Be,et)|0,_=_+Math.imul(st,It)|0,a=(a=a+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,b=b+Math.imul(me,Qt)|0,_=_+Math.imul(ae,xt)|0,a=(a=a+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,b=b+Math.imul(he,Se)|0,_=_+Math.imul(oe,ce)|0,a=(a=a+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,b=b+Math.imul(X,Z)|0,_=_+Math.imul(ze,Pe)|0,a=(a=a+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0,b=b+Math.imul(Xe,pt)|0;var tt=(k+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(a=(a=a+Math.imul(N,Ge)|0)+Math.imul(q,Fe)|0))<<13)|0;k=((b=b+Math.imul(q,Ge)|0)+(a>>>13)|0)+(tt>>>26)|0,tt&=67108863,_=Math.imul(ve,Nt),a=(a=Math.imul(ve,yt))+Math.imul(_e,Nt)|0,b=Math.imul(_e,yt),_=_+Math.imul(ct,Je)|0,a=(a=a+Math.imul(ct,et)|0)+Math.imul(dt,Je)|0,b=b+Math.imul(dt,et)|0,_=_+Math.imul(ue,It)|0,a=(a=a+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,b=b+Math.imul(Be,Qt)|0,_=_+Math.imul(st,xt)|0,a=(a=a+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,b=b+Math.imul(me,Se)|0,_=_+Math.imul(ae,ce)|0,a=(a=a+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,b=b+Math.imul(he,Z)|0,_=_+Math.imul(oe,Pe)|0,a=(a=a+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,b=b+Math.imul(X,pt)|0,_=_+Math.imul(ze,Fe)|0,a=(a=a+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0,b=b+Math.imul(Xe,Ge)|0;var ot=(k+(_=_+Math.imul(N,at)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(q,at)|0))<<13)|0;k=((b=b+Math.imul(q,Lt)|0)+(a>>>13)|0)+(ot>>>26)|0,ot&=67108863,_=Math.imul(Ue,Nt),a=(a=Math.imul(Ue,yt))+Math.imul(je,Nt)|0,b=Math.imul(je,yt),_=_+Math.imul(ve,Je)|0,a=(a=a+Math.imul(ve,et)|0)+Math.imul(_e,Je)|0,b=b+Math.imul(_e,et)|0,_=_+Math.imul(ct,It)|0,a=(a=a+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,b=b+Math.imul(dt,Qt)|0,_=_+Math.imul(ue,xt)|0,a=(a=a+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,b=b+Math.imul(Be,Se)|0,_=_+Math.imul(st,ce)|0,a=(a=a+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,b=b+Math.imul(me,Z)|0,_=_+Math.imul(ae,Pe)|0,a=(a=a+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,b=b+Math.imul(he,pt)|0,_=_+Math.imul(oe,Fe)|0,a=(a=a+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,b=b+Math.imul(X,Ge)|0,_=_+Math.imul(ze,at)|0,a=(a=a+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0,b=b+Math.imul(Xe,Lt)|0;var Mt=(k+(_=_+Math.imul(N,$t)|0)|0)+((8191&(a=(a=a+Math.imul(N,Kt)|0)+Math.imul(q,$t)|0))<<13)|0;k=((b=b+Math.imul(q,Kt)|0)+(a>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul($e,Nt),a=(a=Math.imul($e,yt))+Math.imul(nt,Nt)|0,b=Math.imul(nt,yt),_=_+Math.imul(Ue,Je)|0,a=(a=a+Math.imul(Ue,et)|0)+Math.imul(je,Je)|0,b=b+Math.imul(je,et)|0,_=_+Math.imul(ve,It)|0,a=(a=a+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,b=b+Math.imul(_e,Qt)|0,_=_+Math.imul(ct,xt)|0,a=(a=a+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,b=b+Math.imul(dt,Se)|0,_=_+Math.imul(ue,ce)|0,a=(a=a+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,b=b+Math.imul(Be,Z)|0,_=_+Math.imul(st,Pe)|0,a=(a=a+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,b=b+Math.imul(me,pt)|0,_=_+Math.imul(ae,Fe)|0,a=(a=a+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,b=b+Math.imul(he,Ge)|0,_=_+Math.imul(oe,at)|0,a=(a=a+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,b=b+Math.imul(X,Lt)|0,_=_+Math.imul(ze,$t)|0,a=(a=a+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0,b=b+Math.imul(Xe,Kt)|0;var Bt=(k+(_=_+Math.imul(N,ti)|0)|0)+((8191&(a=(a=a+Math.imul(N,fi)|0)+Math.imul(q,ti)|0))<<13)|0;k=((b=b+Math.imul(q,fi)|0)+(a>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,_=Math.imul($e,Je),a=(a=Math.imul($e,et))+Math.imul(nt,Je)|0,b=Math.imul(nt,et),_=_+Math.imul(Ue,It)|0,a=(a=a+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,b=b+Math.imul(je,Qt)|0,_=_+Math.imul(ve,xt)|0,a=(a=a+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,b=b+Math.imul(_e,Se)|0,_=_+Math.imul(ct,ce)|0,a=(a=a+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,b=b+Math.imul(dt,Z)|0,_=_+Math.imul(ue,Pe)|0,a=(a=a+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,b=b+Math.imul(Be,pt)|0,_=_+Math.imul(st,Fe)|0,a=(a=a+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,b=b+Math.imul(me,Ge)|0,_=_+Math.imul(ae,at)|0,a=(a=a+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,b=b+Math.imul(he,Lt)|0,_=_+Math.imul(oe,$t)|0,a=(a=a+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,b=b+Math.imul(X,Kt)|0;var Ci=(k+(_=_+Math.imul(ze,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;k=((b=b+Math.imul(Xe,fi)|0)+(a>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,_=Math.imul($e,It),a=(a=Math.imul($e,Qt))+Math.imul(nt,It)|0,b=Math.imul(nt,Qt),_=_+Math.imul(Ue,xt)|0,a=(a=a+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,b=b+Math.imul(je,Se)|0,_=_+Math.imul(ve,ce)|0,a=(a=a+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,b=b+Math.imul(_e,Z)|0,_=_+Math.imul(ct,Pe)|0,a=(a=a+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,b=b+Math.imul(dt,pt)|0,_=_+Math.imul(ue,Fe)|0,a=(a=a+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,b=b+Math.imul(Be,Ge)|0,_=_+Math.imul(st,at)|0,a=(a=a+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,b=b+Math.imul(me,Lt)|0,_=_+Math.imul(ae,$t)|0,a=(a=a+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,b=b+Math.imul(he,Kt)|0;var Ti=(k+(_=_+Math.imul(oe,ti)|0)|0)+((8191&(a=(a=a+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0))<<13)|0;k=((b=b+Math.imul(X,fi)|0)+(a>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,_=Math.imul($e,xt),a=(a=Math.imul($e,Se))+Math.imul(nt,xt)|0,b=Math.imul(nt,Se),_=_+Math.imul(Ue,ce)|0,a=(a=a+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,b=b+Math.imul(je,Z)|0,_=_+Math.imul(ve,Pe)|0,a=(a=a+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,b=b+Math.imul(_e,pt)|0,_=_+Math.imul(ct,Fe)|0,a=(a=a+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,b=b+Math.imul(dt,Ge)|0,_=_+Math.imul(ue,at)|0,a=(a=a+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,b=b+Math.imul(Be,Lt)|0,_=_+Math.imul(st,$t)|0,a=(a=a+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,b=b+Math.imul(me,Kt)|0;var Hi=(k+(_=_+Math.imul(ae,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0))<<13)|0;k=((b=b+Math.imul(he,fi)|0)+(a>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul($e,ce),a=(a=Math.imul($e,Z))+Math.imul(nt,ce)|0,b=Math.imul(nt,Z),_=_+Math.imul(Ue,Pe)|0,a=(a=a+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,b=b+Math.imul(je,pt)|0,_=_+Math.imul(ve,Fe)|0,a=(a=a+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,b=b+Math.imul(_e,Ge)|0,_=_+Math.imul(ct,at)|0,a=(a=a+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,b=b+Math.imul(dt,Lt)|0,_=_+Math.imul(ue,$t)|0,a=(a=a+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,b=b+Math.imul(Be,Kt)|0;var Zi=(k+(_=_+Math.imul(st,ti)|0)|0)+((8191&(a=(a=a+Math.imul(st,fi)|0)+Math.imul(me,ti)|0))<<13)|0;k=((b=b+Math.imul(me,fi)|0)+(a>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul($e,Pe),a=(a=Math.imul($e,pt))+Math.imul(nt,Pe)|0,b=Math.imul(nt,pt),_=_+Math.imul(Ue,Fe)|0,a=(a=a+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,b=b+Math.imul(je,Ge)|0,_=_+Math.imul(ve,at)|0,a=(a=a+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,b=b+Math.imul(_e,Lt)|0,_=_+Math.imul(ct,$t)|0,a=(a=a+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,b=b+Math.imul(dt,Kt)|0;var ln=(k+(_=_+Math.imul(ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0))<<13)|0;k=((b=b+Math.imul(Be,fi)|0)+(a>>>13)|0)+(ln>>>26)|0,ln&=67108863,_=Math.imul($e,Fe),a=(a=Math.imul($e,Ge))+Math.imul(nt,Fe)|0,b=Math.imul(nt,Ge),_=_+Math.imul(Ue,at)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,b=b+Math.imul(je,Lt)|0,_=_+Math.imul(ve,$t)|0,a=(a=a+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,b=b+Math.imul(_e,Kt)|0;var mn=(k+(_=_+Math.imul(ct,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0))<<13)|0;k=((b=b+Math.imul(dt,fi)|0)+(a>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul($e,at),a=(a=Math.imul($e,Lt))+Math.imul(nt,at)|0,b=Math.imul(nt,Lt),_=_+Math.imul(Ue,$t)|0,a=(a=a+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,b=b+Math.imul(je,Kt)|0;var Ut=(k+(_=_+Math.imul(ve,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0))<<13)|0;k=((b=b+Math.imul(_e,fi)|0)+(a>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul($e,$t),a=(a=Math.imul($e,Kt))+Math.imul(nt,$t)|0,b=Math.imul(nt,Kt);var lt=(k+(_=_+Math.imul(Ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0))<<13)|0;k=((b=b+Math.imul(je,fi)|0)+(a>>>13)|0)+(lt>>>26)|0,lt&=67108863;var re=(k+(_=Math.imul($e,ti))|0)+((8191&(a=(a=Math.imul($e,fi))+Math.imul(nt,ti)|0))<<13)|0;return k=((b=Math.imul(nt,fi))+(a>>>13)|0)+(re>>>26)|0,re&=67108863,A[0]=xn,A[1]=tn,A[2]=Vi,A[3]=Qi,A[4]=Xt,A[5]=St,A[6]=tt,A[7]=ot,A[8]=Mt,A[9]=Bt,A[10]=Ci,A[11]=Ti,A[12]=Hi,A[13]=Zi,A[14]=ln,A[15]=mn,A[16]=Ut,A[17]=lt,A[18]=re,0!==k&&(A[19]=k,m.length++),m};function W(T,n,c){return(new Q).mulp(T,n,c)}function Q(T,n){this.x=T,this.y=n}Math.imul||(j=V),l.prototype.mulTo=function(n,c){var m,d=this.length+n.length;return m=10===this.length&&10===n.length?j(this,n,c):d<63?V(this,n,c):d<1024?function Y(T,n,c){c.negative=n.negative^T.negative,c.length=T.length+n.length;for(var m=0,d=0,C=0;C>>26)|0)>>>26,A&=67108863}c.words[C]=k,m=A,A=d}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):W(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,d=0;d>=1;return d},Q.prototype.permute=function(n,c,m,d,C,A){for(var k=0;k>>=1)C++;return 1<>>=13),C>>>=13;for(A=2*c;A>=26,c+=d/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,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 I(T){for(var n=new Array(T.bitLength()),c=0;c>>d}return n}(n);if(0===c.length)return new l(1);for(var m=this,d=0;d=0);var C,c=n%26,m=(n-c)/26,d=67108863>>>26-c<<26-c;if(0!==c){var A=0;for(C=0;C>>26-c}A&&(this.words[C]=A,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C=0),d=c?(c-c%26)/26:0;var C=n%26,A=Math.min((n-C)/26,this.length),k=67108863^67108863>>>C<A)for(this.length-=A,a=0;a=0&&(0!==b||a>=d);a--){var z=0|this.words[a];this.words[a]=b<<26-C|z>>>C,b=z&k}return _&&0!==b&&(_.words[_.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return x(0===this.negative),this.iushrn(n,c,m)},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){x("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<=0);var c=n%26,m=(n-c)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>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(x("number"==typeof n),x(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>26)-(_/67108864|0),this.words[C+m]=67108863&A}for(;C>26,this.words[C+m]=67108863&A;if(0===k)return this.strip();for(x(-1===k),k=0,C=0;C>26,this.words[C]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,d=this.clone(),C=n,A=0|C.words[C.length-1];0!=(m=26-this._countBits(A))&&(C=C.ushln(m),d.iushln(m),A=0|C.words[C.length-1]);var a,_=d.length-C.length;if("mod"!==c){(a=new l(null)).length=_+1,a.words=new Array(a.length);for(var b=0;b=0;N--){var q=67108864*(0|d.words[C.length+N])+(0|d.words[C.length+N-1]);for(q=Math.min(q/A|0,67108863),d._ishlnsubmul(C,q,N);0!==d.negative;)q--,d.negative=0,d._ishlnsubmul(C,1,N),d.isZero()||(d.negative^=1);a&&(a.words[N]=q)}return a&&a.strip(),d.strip(),"div"!==c&&0!==m&&d.iushrn(m),{div:a||null,mod:d}},l.prototype.divmod=function(n,c,m){return x(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,c),"mod"!==c&&(d=A.div.neg()),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:d,mod:C}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),c),"mod"!==c&&(d=A.div.neg()),{div:d,mod:A.mod}):this.negative&n.negative?(A=this.neg().divmod(n.neg(),c),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:A.div,mod:C}):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 d,C,A},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 m=0!==c.div.negative?c.mod.isub(n):c.mod,d=n.ushrn(1),C=n.andln(1),A=m.cmp(d);return A<0||1===C&&0===A?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){x(n<=67108863);for(var c=(1<<26)%n,m=0,d=this.length-1;d>=0;d--)m=(c*m+(0|this.words[d]))%n;return m},l.prototype.idivn=function(n){x(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var d=(0|this.words[m])+67108864*c;this.words[m]=d/n|0,c=d%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){x(0===n.negative),x(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=new l(0),k=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var a=m.clone(),b=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;)(d.isOdd()||C.isOdd())&&(d.iadd(a),C.isub(b)),d.iushrn(1),C.iushrn(1);for(var q=0,pe=1;!(m.words[0]&pe)&&q<26;++q,pe<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(a),k.isub(b)),A.iushrn(1),k.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(A),C.isub(k)):(m.isub(c),A.isub(d),k.isub(C))}return{a:A,b:k,gcd:m.iushln(_)}},l.prototype._invmp=function(n){x(0===n.negative),x(!n.isZero());var z,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var k=0,_=1;!(c.words[0]&_)&&k<26;++k,_<<=1);if(k>0)for(c.iushrn(k);k-- >0;)d.isOdd()&&d.iadd(A),d.iushrn(1);for(var a=0,b=1;!(m.words[0]&b)&&a<26;++a,b<<=1);if(a>0)for(m.iushrn(a);a-- >0;)C.isOdd()&&C.iadd(A),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(C)):(m.isub(c),C.isub(d))}return(z=0===c.cmpn(1)?d:C).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(),m=n.clone();c.negative=0,m.negative=0;for(var d=0;c.isEven()&&m.isEven();d++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var A=c;c=m,m=A}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(d)},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){x("number"==typeof n);var c=n%26,m=(n-c)/26,d=1<>>26,this.words[A]=k&=67108863}return 0!==C&&(this.words[A]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),x(n<=67108863,"Number is too big");var d=0|this.words[0];m=d===n?0:dn.length)return 1;if(this.length=0;m--){var d=0|this.words[m],C=0|n.words[m];if(d!==C){dC&&(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 Ce(n)},l.prototype.toRed=function(n){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return x(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 x(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return x(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ie(T,n){this.name=T,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 ee(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Ce(T){if("string"==typeof T){var n=l._prime(T);this.m=n.p,this.prime=n}else x(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function le(T){Ce.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var d=m0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ie.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ie.prototype.imulK=function(n){return n.imul(this.k)},D(ee,ie),ee.prototype.split=function(n,c){for(var m=4194303,d=Math.min(n.length,9),C=0;C>>22,A=k}n.words[C-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ee.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m>>=26,n.words[m]=C,c=d}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ee;else if("p224"===n)c=new fe;else if("p192"===n)c=new ne;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Ce.prototype._verify1=function(n){x(0===n.negative,"red works only with positives"),x(n.red,"red works only with red numbers")},Ce.prototype._verify2=function(n,c){x(!(n.negative|c.negative),"red works only with positives"),x(n.red&&n.red===c.red,"red works only with red numbers")},Ce.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Ce.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Ce.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Ce.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Ce.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Ce.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Ce.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Ce.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Ce.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Ce.prototype.isqr=function(n){return this.imul(n,n.clone())},Ce.prototype.sqr=function(n){return this.mul(n,n)},Ce.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(x(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var d=this.m.subn(1),C=0;!d.isZero()&&0===d.andln(1);)C++,d.iushrn(1);x(!d.isZero());var A=new l(1).toRed(this),k=A.redNeg(),_=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,_).cmp(k);)a.redIAdd(k);for(var b=this.pow(a,d),z=this.pow(n,d.addn(1).iushrn(1)),N=this.pow(n,d),q=C;0!==N.cmp(A);){for(var pe=N,ze=0;0!==pe.cmp(A);ze++)pe=pe.redSqr();x(ze=0;C--){for(var b=c.words[C],z=a-1;z>=0;z--){var N=b>>z&1;A!==d[0]&&(A=this.sqr(A)),0!==N||0!==k?(k<<=1,k|=N,(4==++_||0===C&&0===z)&&(A=this.mul(A,d[k]),_=0,k=0)):_=0}a=26}return A},Ce.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Ce.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new le(n)},D(le,Ce),le.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},le.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},le.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},4356:Qe=>{"use strict";var e,te="object"==typeof Reflect?Reflect:null,g=te&&"function"==typeof te.apply?te.apply:function(ie,ee,fe){return Function.prototype.apply.call(ie,ee,fe)};e=te&&"function"==typeof te.ownKeys?te.ownKeys:Object.getOwnPropertySymbols?function(ie){return Object.getOwnPropertyNames(ie).concat(Object.getOwnPropertySymbols(ie))}:function(ie){return Object.getOwnPropertyNames(ie)};var x=Number.isNaN||function(ie){return ie!=ie};function D(){D.init.call(this)}Qe.exports=D,Qe.exports.once=function Y(J,ie){return new Promise(function(ee,fe){function ne(Ce){J.removeListener(ie,Me),fe(Ce)}function Me(){"function"==typeof J.removeListener&&J.removeListener("error",ne),ee([].slice.call(arguments))}Q(J,ie,Me,{once:!0}),"error"!==ie&&function W(J,ie,ee){"function"==typeof J.on&&Q(J,"error",ie,ee)}(J,ne,{once:!0})})},D.EventEmitter=D,D.prototype._events=void 0,D.prototype._eventsCount=0,D.prototype._maxListeners=void 0;var l=10;function w(J){if("function"!=typeof J)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof J)}function f(J){return void 0===J._maxListeners?D.defaultMaxListeners:J._maxListeners}function R(J,ie,ee,fe){var ne,Me,Ce;if(w(ee),void 0===(Me=J._events)?(Me=J._events=Object.create(null),J._eventsCount=0):(void 0!==Me.newListener&&(J.emit("newListener",ie,ee.listener?ee.listener:ee),Me=J._events),Ce=Me[ie]),void 0===Ce)Ce=Me[ie]=ee,++J._eventsCount;else if("function"==typeof Ce?Ce=Me[ie]=fe?[ee,Ce]:[Ce,ee]:fe?Ce.unshift(ee):Ce.push(ee),(ne=f(J))>0&&Ce.length>ne&&!Ce.warned){Ce.warned=!0;var le=new Error("Possible EventEmitter memory leak detected. "+Ce.length+" "+String(ie)+" listeners added. Use emitter.setMaxListeners() to increase limit");le.name="MaxListenersExceededWarning",le.emitter=J,le.type=ie,le.count=Ce.length,function t(J){console&&console.warn&&console.warn(J)}(le)}return J}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function S(J,ie,ee){var fe={fired:!1,wrapFn:void 0,target:J,type:ie,listener:ee},ne=h.bind(fe);return ne.listener=ee,fe.wrapFn=ne,ne}function y(J,ie,ee){var fe=J._events;if(void 0===fe)return[];var ne=fe[ie];return void 0===ne?[]:"function"==typeof ne?ee?[ne.listener||ne]:[ne]:ee?function j(J){for(var ie=new Array(J.length),ee=0;ee0&&(Ce=ee[0]),Ce instanceof Error)throw Ce;var le=new Error("Unhandled error."+(Ce?" ("+Ce.message+")":""));throw le.context=Ce,le}var T=Me[ie];if(void 0===T)return!1;if("function"==typeof T)g(T,this,ee);else{var n=T.length,c=I(T,n);for(fe=0;fe=0;Ce--)if(fe[Ce]===ee||fe[Ce].listener===ee){le=fe[Ce].listener,Me=Ce;break}if(Me<0)return this;0===Me?fe.shift():function V(J,ie){for(;ie+1=0;ne--)this.removeListener(ie,ee[ne]);return this},D.prototype.listeners=function(ie){return y(this,ie,!0)},D.prototype.rawListeners=function(ie){return y(this,ie,!1)},D.listenerCount=function(J,ie){return"function"==typeof J.listenerCount?J.listenerCount(ie):O.call(J,ie)},D.prototype.listenerCount=O,D.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},592:(Qe,te,g)=>{var e=g(7054).Buffer,t=g(4725);Qe.exports=function x(D,l,w,f){if(e.isBuffer(D)||(D=e.from(D,"binary")),l&&(e.isBuffer(l)||(l=e.from(l,"binary")),8!==l.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var R=w/8,h=e.alloc(R),S=e.alloc(f||0),y=e.alloc(0);R>0||f>0;){var O=new t;O.update(y),O.update(D),l&&O.update(l),y=O.digest();var I=0;if(R>0){var V=h.length-R;I=Math.min(R,y.length),y.copy(h,V,0,I),R-=I}if(I0){var j=S.length-f,Y=Math.min(f,y.length-I);y.copy(S,j,I,I+Y),f-=Y}}return y.fill(0),{key:h,iv:S}}},3686:(Qe,te,g)=>{"use strict";var e=g(7054).Buffer,t=g(7045).Transform;function l(w){t.call(this),this._block=e.allocUnsafe(w),this._blockSize=w,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}g(1993)(l,t),l.prototype._transform=function(w,f,R){var h=null;try{this.update(w,f)}catch(S){h=S}R(h)},l.prototype._flush=function(w){var f=null;try{this.push(this.digest())}catch(R){f=R}w(f)},l.prototype.update=function(w,f){if(function D(w,f){if(!e.isBuffer(w)&&"string"!=typeof w)throw new TypeError(f+" must be a string or a buffer")}(w,"Data"),this._finalized)throw new Error("Digest already called");e.isBuffer(w)||(w=e.from(w,f));for(var R=this._block,h=0;this._blockOffset+w.length-h>=this._blockSize;){for(var S=this._blockOffset;S0;++y)this._length[y]+=O,(O=this._length[y]/4294967296|0)>0&&(this._length[y]-=4294967296*O);return this},l.prototype._update=function(){throw new Error("_update is not implemented")},l.prototype.digest=function(w){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var f=this._digest();void 0!==w&&(f=f.toString(w)),this._block.fill(0),this._blockOffset=0;for(var R=0;R<4;++R)this._length[R]=0;return f},l.prototype._digest=function(){throw new Error("_digest is not implemented")},Qe.exports=l},2529:(Qe,te,g)=>{var e=te;e.utils=g(8283),e.common=g(2901),e.sha=g(8528),e.ripemd=g(5283),e.hmac=g(7163),e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160},2901:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(9210);function x(){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}te.BlockHash=x,x.prototype.update=function(l,w){if(l=e.toArray(l,w),this.pending=this.pending?this.pending.concat(l):l,this.pendingTotal+=l.length,this.pending.length>=this._delta8){var f=(l=this.pending).length%this._delta8;this.pending=l.slice(l.length-f,l.length),0===this.pending.length&&(this.pending=null),l=e.join32(l,0,l.length-f,this.endian);for(var R=0;R>>24&255,R[h++]=l>>>16&255,R[h++]=l>>>8&255,R[h++]=255&l}else for(R[h++]=255&l,R[h++]=l>>>8&255,R[h++]=l>>>16&255,R[h++]=l>>>24&255,R[h++]=0,R[h++]=0,R[h++]=0,R[h++]=0,S=8;S{"use strict";var e=g(8283),t=g(9210);function x(D,l,w){if(!(this instanceof x))return new x(D,l,w);this.Hash=D,this.blockSize=D.blockSize/8,this.outSize=D.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(l,w))}Qe.exports=x,x.prototype._init=function(l){l.length>this.blockSize&&(l=(new this.Hash).update(l).digest()),t(l.length<=this.blockSize);for(var w=l.length;w{"use strict";var e=g(8283),t=g(2901),x=e.rotl32,D=e.sum32,l=e.sum32_3,w=e.sum32_4,f=t.BlockHash;function R(){if(!(this instanceof R))return new R;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function h(Y,W,Q,J){return Y<=15?W^Q^J:Y<=31?W&Q|~W&J:Y<=47?(W|~Q)^J:Y<=63?W&J|Q&~J:W^(Q|~J)}function y(Y){return Y<=15?1352829926:Y<=31?1548603684:Y<=47?1836072691:Y<=63?2053994217:0}e.inherits(R,f),te.ripemd160=R,R.blockSize=512,R.outSize=160,R.hmacStrength=192,R.padLength=64,R.prototype._update=function(W,Q){for(var J=this.h[0],ie=this.h[1],ee=this.h[2],fe=this.h[3],ne=this.h[4],Me=J,Ce=ie,le=ee,T=fe,n=ne,c=0;c<80;c++){var m=D(x(w(J,h(c,ie,ee,fe),W[O[c]+Q],(Y=c)<=15?0:Y<=31?1518500249:Y<=47?1859775393:Y<=63?2400959708:2840853838),V[c]),ne);J=ne,ne=fe,fe=x(ee,10),ee=ie,ie=m,m=D(x(w(Me,h(79-c,Ce,le,T),W[I[c]+Q],y(c)),j[c]),n),Me=n,n=T,T=x(le,10),le=Ce,Ce=m}var Y;m=l(this.h[1],ee,T),this.h[1]=l(this.h[2],fe,n),this.h[2]=l(this.h[3],ne,Me),this.h[3]=l(this.h[4],J,Ce),this.h[4]=l(this.h[0],ie,le),this.h[0]=m},R.prototype._digest=function(W){return"hex"===W?e.toHex32(this.h,"little"):e.split32(this.h,"little")};var O=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],I=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],V=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],j=[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:(Qe,te,g)=>{"use strict";te.sha1=g(3468),te.sha224=g(5563),te.sha256=g(7138),te.sha384=g(3898),te.sha512=g(827)},3468:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(2901),x=g(3161),D=e.rotl32,l=e.sum32,w=e.sum32_5,f=x.ft_1,R=t.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function S(){if(!(this instanceof S))return new S;R.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}e.inherits(S,R),Qe.exports=S,S.blockSize=512,S.outSize=160,S.hmacStrength=80,S.padLength=64,S.prototype._update=function(O,I){for(var V=this.W,j=0;j<16;j++)V[j]=O[I+j];for(;j{"use strict";var e=g(8283),t=g(7138);function x(){if(!(this instanceof x))return new x;t.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}e.inherits(x,t),Qe.exports=x,x.blockSize=512,x.outSize=224,x.hmacStrength=192,x.padLength=64,x.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")}},7138:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(2901),x=g(3161),D=g(9210),l=e.sum32,w=e.sum32_4,f=e.sum32_5,R=x.ch32,h=x.maj32,S=x.s0_256,y=x.s1_256,O=x.g0_256,I=x.g1_256,V=t.BlockHash,j=[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 Y(){if(!(this instanceof Y))return new Y;V.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=j,this.W=new Array(64)}e.inherits(Y,V),Qe.exports=Y,Y.blockSize=512,Y.outSize=256,Y.hmacStrength=192,Y.padLength=64,Y.prototype._update=function(Q,J){for(var ie=this.W,ee=0;ee<16;ee++)ie[ee]=Q[J+ee];for(;ee{"use strict";var e=g(8283),t=g(827);function x(){if(!(this instanceof x))return new x;t.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}e.inherits(x,t),Qe.exports=x,x.blockSize=1024,x.outSize=384,x.hmacStrength=192,x.padLength=128,x.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")}},827:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(2901),x=g(9210),D=e.rotr64_hi,l=e.rotr64_lo,w=e.shr64_hi,f=e.shr64_lo,R=e.sum64,h=e.sum64_hi,S=e.sum64_lo,y=e.sum64_4_hi,O=e.sum64_4_lo,I=e.sum64_5_hi,V=e.sum64_5_lo,j=t.BlockHash,Y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function W(){if(!(this instanceof W))return new W;j.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=Y,this.W=new Array(160)}function Q(m,d,C,A,k){var _=m&C^~m&k;return _<0&&(_+=4294967296),_}function J(m,d,C,A,k,_){var a=d&A^~d&_;return a<0&&(a+=4294967296),a}function ie(m,d,C,A,k){var _=m&C^m&k^C&k;return _<0&&(_+=4294967296),_}function ee(m,d,C,A,k,_){var a=d&A^d&_^A&_;return a<0&&(a+=4294967296),a}function fe(m,d){var _=D(m,d,28)^D(d,m,2)^D(d,m,7);return _<0&&(_+=4294967296),_}function ne(m,d){var _=l(m,d,28)^l(d,m,2)^l(d,m,7);return _<0&&(_+=4294967296),_}function Me(m,d){var _=D(m,d,14)^D(m,d,18)^D(d,m,9);return _<0&&(_+=4294967296),_}function Ce(m,d){var _=l(m,d,14)^l(m,d,18)^l(d,m,9);return _<0&&(_+=4294967296),_}function le(m,d){var _=D(m,d,1)^D(m,d,8)^w(m,d,7);return _<0&&(_+=4294967296),_}function T(m,d){var _=l(m,d,1)^l(m,d,8)^f(m,d,7);return _<0&&(_+=4294967296),_}function n(m,d){var _=D(m,d,19)^D(d,m,29)^w(m,d,6);return _<0&&(_+=4294967296),_}function c(m,d){var _=l(m,d,19)^l(d,m,29)^f(m,d,6);return _<0&&(_+=4294967296),_}e.inherits(W,j),Qe.exports=W,W.blockSize=1024,W.outSize=512,W.hmacStrength=192,W.padLength=128,W.prototype._prepareBlock=function(d,C){for(var A=this.W,k=0;k<32;k++)A[k]=d[C+k];for(;k{"use strict";var t=g(8283).rotr32;function D(y,O,I){return y&O^~y&I}function l(y,O,I){return y&O^y&I^O&I}function w(y,O,I){return y^O^I}te.ft_1=function x(y,O,I,V){return 0===y?D(O,I,V):1===y||3===y?w(O,I,V):2===y?l(O,I,V):void 0},te.ch32=D,te.maj32=l,te.p32=w,te.s0_256=function f(y){return t(y,2)^t(y,13)^t(y,22)},te.s1_256=function R(y){return t(y,6)^t(y,11)^t(y,25)},te.g0_256=function h(y){return t(y,7)^t(y,18)^y>>>3},te.g1_256=function S(y){return t(y,17)^t(y,19)^y>>>10}},8283:(Qe,te,g)=>{"use strict";var e=g(9210),t=g(1993);function x(c,m){return!(55296!=(64512&c.charCodeAt(m))||m<0||m+1>=c.length)&&56320==(64512&c.charCodeAt(m+1))}function w(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 h(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}te.inherits=t,te.toArray=function D(c,m){if(Array.isArray(c))return c.slice();if(!c)return[];var d=[];if("string"==typeof c)if(m){if("hex"===m)for((c=c.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(c="0"+c),A=0;A>6|192,d[C++]=63&k|128):x(c,A)?(k=65536+((1023&k)<<10)+(1023&c.charCodeAt(++A)),d[C++]=k>>18|240,d[C++]=k>>12&63|128,d[C++]=k>>6&63|128,d[C++]=63&k|128):(d[C++]=k>>12|224,d[C++]=k>>6&63|128,d[C++]=63&k|128)}else for(A=0;A>>0;return k},te.split32=function y(c,m){for(var d=new Array(4*c.length),C=0,A=0;C>>24,d[A+1]=k>>>16&255,d[A+2]=k>>>8&255,d[A+3]=255&k):(d[A+3]=k>>>24,d[A+2]=k>>>16&255,d[A+1]=k>>>8&255,d[A]=255&k)}return d},te.rotr32=function O(c,m){return c>>>m|c<<32-m},te.rotl32=function I(c,m){return c<>>32-m},te.sum32=function V(c,m){return c+m>>>0},te.sum32_3=function j(c,m,d){return c+m+d>>>0},te.sum32_4=function Y(c,m,d,C){return c+m+d+C>>>0},te.sum32_5=function W(c,m,d,C,A){return c+m+d+C+A>>>0},te.sum64=function Q(c,m,d,C){var _=C+c[m+1]>>>0;c[m]=(_>>0,c[m+1]=_},te.sum64_hi=function J(c,m,d,C){return(m+C>>>0>>0},te.sum64_lo=function ie(c,m,d,C){return m+C>>>0},te.sum64_4_hi=function ee(c,m,d,C,A,k,_,a){var b=0,z=m;return b+=(z=z+C>>>0)>>0)>>0)>>0},te.sum64_4_lo=function fe(c,m,d,C,A,k,_,a){return m+C+k+a>>>0},te.sum64_5_hi=function ne(c,m,d,C,A,k,_,a,b,z){var N=0,q=m;return N+=(q=q+C>>>0)>>0)>>0)>>0)>>0},te.sum64_5_lo=function Me(c,m,d,C,A,k,_,a,b,z){return m+C+k+a+z>>>0},te.rotr64_hi=function Ce(c,m,d){return(m<<32-d|c>>>d)>>>0},te.rotr64_lo=function le(c,m,d){return(c<<32-d|m>>>d)>>>0},te.shr64_hi=function T(c,m,d){return c>>>d},te.shr64_lo=function n(c,m,d){return(c<<32-d|m>>>d)>>>0}},3556:(Qe,te,g)=>{"use strict";var e=g(2529),t=g(1832),x=g(9210);function D(l){if(!(this instanceof D))return new D(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 w=t.toArray(l.entropy,l.entropyEnc||"hex"),f=t.toArray(l.nonce,l.nonceEnc||"hex"),R=t.toArray(l.pers,l.persEnc||"hex");x(w.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(w,f,R)}Qe.exports=D,D.prototype._init=function(w,f,R){var h=w.concat(f).concat(R);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var S=0;S=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(w.concat(R||[])),this._reseed=1},D.prototype.generate=function(w,f,R,h){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof f&&(h=R,R=f,f=null),R&&(R=t.toArray(R,h||"hex"),this._update(R));for(var S=[];S.length{te.read=function(g,e,t,x,D){var l,w,f=8*D-x-1,R=(1<>1,S=-7,y=t?D-1:0,O=t?-1:1,I=g[e+y];for(y+=O,l=I&(1<<-S)-1,I>>=-S,S+=f;S>0;l=256*l+g[e+y],y+=O,S-=8);for(w=l&(1<<-S)-1,l>>=-S,S+=x;S>0;w=256*w+g[e+y],y+=O,S-=8);if(0===l)l=1-h;else{if(l===R)return w?NaN:1/0*(I?-1:1);w+=Math.pow(2,x),l-=h}return(I?-1:1)*w*Math.pow(2,l-x)},te.write=function(g,e,t,x,D,l){var w,f,R,h=8*l-D-1,S=(1<>1,O=23===D?Math.pow(2,-24)-Math.pow(2,-77):0,I=x?0:l-1,V=x?1:-1,j=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=isNaN(e)?1:0,w=S):(w=Math.floor(Math.log(e)/Math.LN2),e*(R=Math.pow(2,-w))<1&&(w--,R*=2),(e+=w+y>=1?O/R:O*Math.pow(2,1-y))*R>=2&&(w++,R/=2),w+y>=S?(f=0,w=S):w+y>=1?(f=(e*R-1)*Math.pow(2,D),w+=y):(f=e*Math.pow(2,y-1)*Math.pow(2,D),w=0));D>=8;g[t+I]=255&f,I+=V,f/=256,D-=8);for(w=w<0;g[t+I]=255&w,I+=V,w/=256,h-=8);g[t+I-V]|=128*j}},1993:Qe=>{Qe.exports="function"==typeof Object.create?function(g,e){e&&(g.super_=e,g.prototype=Object.create(e.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}))}:function(g,e){if(e){g.super_=e;var t=function(){};t.prototype=e.prototype,g.prototype=new t,g.prototype.constructor=g}}},53:Qe=>{var te={}.toString;Qe.exports=Array.isArray||function(g){return"[object Array]"==te.call(g)}},4725:(Qe,te,g)=>{"use strict";var e=g(1993),t=g(3686),x=g(7054).Buffer,D=new Array(16);function l(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function w(y,O){return y<>>32-O}function f(y,O,I,V,j,Y,W){return w(y+(O&I|~O&V)+j+Y|0,W)+O|0}function R(y,O,I,V,j,Y,W){return w(y+(O&V|I&~V)+j+Y|0,W)+O|0}function h(y,O,I,V,j,Y,W){return w(y+(O^I^V)+j+Y|0,W)+O|0}function S(y,O,I,V,j,Y,W){return w(y+(I^(O|~V))+j+Y|0,W)+O|0}e(l,t),l.prototype._update=function(){for(var y=D,O=0;O<16;++O)y[O]=this._block.readInt32LE(4*O);var I=this._a,V=this._b,j=this._c,Y=this._d;I=f(I,V,j,Y,y[0],3614090360,7),Y=f(Y,I,V,j,y[1],3905402710,12),j=f(j,Y,I,V,y[2],606105819,17),V=f(V,j,Y,I,y[3],3250441966,22),I=f(I,V,j,Y,y[4],4118548399,7),Y=f(Y,I,V,j,y[5],1200080426,12),j=f(j,Y,I,V,y[6],2821735955,17),V=f(V,j,Y,I,y[7],4249261313,22),I=f(I,V,j,Y,y[8],1770035416,7),Y=f(Y,I,V,j,y[9],2336552879,12),j=f(j,Y,I,V,y[10],4294925233,17),V=f(V,j,Y,I,y[11],2304563134,22),I=f(I,V,j,Y,y[12],1804603682,7),Y=f(Y,I,V,j,y[13],4254626195,12),j=f(j,Y,I,V,y[14],2792965006,17),I=R(I,V=f(V,j,Y,I,y[15],1236535329,22),j,Y,y[1],4129170786,5),Y=R(Y,I,V,j,y[6],3225465664,9),j=R(j,Y,I,V,y[11],643717713,14),V=R(V,j,Y,I,y[0],3921069994,20),I=R(I,V,j,Y,y[5],3593408605,5),Y=R(Y,I,V,j,y[10],38016083,9),j=R(j,Y,I,V,y[15],3634488961,14),V=R(V,j,Y,I,y[4],3889429448,20),I=R(I,V,j,Y,y[9],568446438,5),Y=R(Y,I,V,j,y[14],3275163606,9),j=R(j,Y,I,V,y[3],4107603335,14),V=R(V,j,Y,I,y[8],1163531501,20),I=R(I,V,j,Y,y[13],2850285829,5),Y=R(Y,I,V,j,y[2],4243563512,9),j=R(j,Y,I,V,y[7],1735328473,14),I=h(I,V=R(V,j,Y,I,y[12],2368359562,20),j,Y,y[5],4294588738,4),Y=h(Y,I,V,j,y[8],2272392833,11),j=h(j,Y,I,V,y[11],1839030562,16),V=h(V,j,Y,I,y[14],4259657740,23),I=h(I,V,j,Y,y[1],2763975236,4),Y=h(Y,I,V,j,y[4],1272893353,11),j=h(j,Y,I,V,y[7],4139469664,16),V=h(V,j,Y,I,y[10],3200236656,23),I=h(I,V,j,Y,y[13],681279174,4),Y=h(Y,I,V,j,y[0],3936430074,11),j=h(j,Y,I,V,y[3],3572445317,16),V=h(V,j,Y,I,y[6],76029189,23),I=h(I,V,j,Y,y[9],3654602809,4),Y=h(Y,I,V,j,y[12],3873151461,11),j=h(j,Y,I,V,y[15],530742520,16),I=S(I,V=h(V,j,Y,I,y[2],3299628645,23),j,Y,y[0],4096336452,6),Y=S(Y,I,V,j,y[7],1126891415,10),j=S(j,Y,I,V,y[14],2878612391,15),V=S(V,j,Y,I,y[5],4237533241,21),I=S(I,V,j,Y,y[12],1700485571,6),Y=S(Y,I,V,j,y[3],2399980690,10),j=S(j,Y,I,V,y[10],4293915773,15),V=S(V,j,Y,I,y[1],2240044497,21),I=S(I,V,j,Y,y[8],1873313359,6),Y=S(Y,I,V,j,y[15],4264355552,10),j=S(j,Y,I,V,y[6],2734768916,15),V=S(V,j,Y,I,y[13],1309151649,21),I=S(I,V,j,Y,y[4],4149444226,6),Y=S(Y,I,V,j,y[11],3174756917,10),j=S(j,Y,I,V,y[2],718787259,15),V=S(V,j,Y,I,y[9],3951481745,21),this._a=this._a+I|0,this._b=this._b+V|0,this._c=this._c+j|0,this._d=this._d+Y|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=x.allocUnsafe(16);return y.writeInt32LE(this._a,0),y.writeInt32LE(this._b,4),y.writeInt32LE(this._c,8),y.writeInt32LE(this._d,12),y},Qe.exports=l},3459:(Qe,te,g)=>{var e=g(7223),t=g(5294);function x(D){this.rand=D||new t.Rand}Qe.exports=x,x.create=function(l){return new x(l)},x.prototype._randbelow=function(l){var w=l.bitLength(),f=Math.ceil(w/8);do{var R=new e(this.rand.generate(f))}while(R.cmp(l)>=0);return R},x.prototype._randrange=function(l,w){var f=w.sub(l);return l.add(this._randbelow(f))},x.prototype.test=function(l,w,f){var R=l.bitLength(),h=e.mont(l),S=new e(1).toRed(h);w||(w=Math.max(1,R/48|0));for(var y=l.subn(1),O=0;!y.testn(O);O++);for(var I=l.shrn(O),V=y.toRed(h);w>0;w--){var Y=this._randrange(new e(2),y);f&&f(Y);var W=Y.toRed(h).redPow(I);if(0!==W.cmp(S)&&0!==W.cmp(V)){for(var Q=1;Q0;w--){var V=this._randrange(new e(2),S),j=l.gcd(V);if(0!==j.cmpn(1))return j;var Y=V.toRed(R).redPow(O);if(0!==Y.cmp(h)&&0!==Y.cmp(I)){for(var W=1;W=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(T,n,c){var m=f(T,c);return c-1>=n&&(m|=f(T,c-1)<<4),m}function h(T,n,c,m){for(var d=0,C=Math.min(T.length,c),A=n;A=49?k-49+10:k>=17?k-17+10:k}return d}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,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),x(c===(0|c)&&c>=2&&c<=36);var d=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(d++,this.negative=1),d=0;d-=3)this.words[C]|=(A=n[d]|n[d-1]<<8|n[d-2]<<16)<>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);else if("le"===m)for(d=0,C=0;d>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var d=0;d=c;d-=2)k=R(n,c,d)<=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;else for(d=(n.length-c)%2==0?c+1:c;d=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var d=0,C=1;C<=67108863;C*=c)d++;d--,C=C/c|0;for(var A=n.length-m,k=A%d,_=Math.min(A,A-k)+m,a=0,b=m;b<_;b+=d)a=h(n,b,b+d,c),this.imuln(C),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==k){var z=1;for(a=h(n,b,n.length,c),b=0;b1&&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?""};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],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],O=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(T,n,c){c.negative=n.negative^T.negative;var m=T.length+n.length|0;c.length=m,m=m-1|0;var d=0|T.words[0],C=0|n.words[0],A=d*C,_=A/67108864|0;c.words[0]=67108863&A;for(var a=1;a>>26,z=67108863&_,N=Math.min(a,n.length-1),q=Math.max(0,a-T.length+1);q<=N;q++)b+=(A=(d=0|T.words[a-q|0])*(C=0|n.words[q])+z)/67108864|0,z=67108863&A;c.words[a]=0|z,_=0|b}return 0!==_?c.words[a]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var d=0,C=0,A=0;A>>24-d&16777215)||A!==this.length-1?S[6-_.length]+_+m:_+m,(d+=2)>=26&&(d-=26,A--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var a=y[n],b=O[n];m="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(b).toString(n);m=(z=z.idivn(b)).isZero()?N+m:S[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}x(!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&&x(!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 x(typeof w<"u"),this.toArrayLike(w,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var d=this.byteLength(),C=m||Math.max(1,d);x(d<=C,"byte array longer than desired length"),x(C>0,"Requested array length <= 0"),this.strip();var _,a,A="le"===c,k=new n(C),b=this.clone();if(A){for(a=0;!b.isZero();a++)_=b.andln(255),b.iushrn(8),k[a]=_;for(;a=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},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;cn.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 m=0;mn.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,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var d=0;dn.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){x("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var d=0;d0&&(this.words[d]=~this.words[d]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){x("number"==typeof n&&n>=0);var m=n/26|0,d=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<n.length?(m=this,d=n):(m=n,d=this);for(var C=0,A=0;A>>26;for(;0!==C&&A>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;An.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 d,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(d=this,C=n):(d=n,C=this);for(var A=0,k=0;k>26,this.words[k]=67108863&c;for(;0!==A&&k>26,this.words[k]=67108863&c;if(0===A&&k>>13,pe=0|d[1],ze=8191&pe,Xe=pe>>>13,We=0|d[2],oe=8191&We,X=We>>>13,se=0|d[3],ae=8191&se,he=se>>>13,Ie=0|d[4],st=8191&Ie,me=Ie>>>13,Ee=0|d[5],ue=8191&Ee,Be=Ee>>>13,Ct=0|d[6],ct=8191&Ct,dt=Ct>>>13,Yt=0|d[7],ve=8191&Yt,_e=Yt>>>13,we=0|d[8],Ue=8191&we,je=we>>>13,vt=0|d[9],$e=8191&vt,nt=vt>>>13,qt=0|C[0],Nt=8191&qt,yt=qt>>>13,jt=0|C[1],Je=8191&jt,et=jt>>>13,Ae=0|C[2],It=8191&Ae,Qt=Ae>>>13,Tt=0|C[3],xt=8191&Tt,Se=Tt>>>13,Te=0|C[4],ce=8191&Te,Z=Te>>>13,Re=0|C[5],Pe=8191&Re,pt=Re>>>13,Ke=0|C[6],Fe=8191&Ke,Ge=Ke>>>13,qe=0|C[7],at=8191&qe,Lt=qe>>>13,pi=0|C[8],$t=8191&pi,Kt=pi>>>13,Ui=0|C[9],ti=8191&Ui,fi=Ui>>>13;m.negative=n.negative^c.negative,m.length=19;var xn=(k+(_=Math.imul(N,Nt))|0)+((8191&(a=(a=Math.imul(N,yt))+Math.imul(q,Nt)|0))<<13)|0;k=((b=Math.imul(q,yt))+(a>>>13)|0)+(xn>>>26)|0,xn&=67108863,_=Math.imul(ze,Nt),a=(a=Math.imul(ze,yt))+Math.imul(Xe,Nt)|0,b=Math.imul(Xe,yt);var tn=(k+(_=_+Math.imul(N,Je)|0)|0)+((8191&(a=(a=a+Math.imul(N,et)|0)+Math.imul(q,Je)|0))<<13)|0;k=((b=b+Math.imul(q,et)|0)+(a>>>13)|0)+(tn>>>26)|0,tn&=67108863,_=Math.imul(oe,Nt),a=(a=Math.imul(oe,yt))+Math.imul(X,Nt)|0,b=Math.imul(X,yt),_=_+Math.imul(ze,Je)|0,a=(a=a+Math.imul(ze,et)|0)+Math.imul(Xe,Je)|0,b=b+Math.imul(Xe,et)|0;var Vi=(k+(_=_+Math.imul(N,It)|0)|0)+((8191&(a=(a=a+Math.imul(N,Qt)|0)+Math.imul(q,It)|0))<<13)|0;k=((b=b+Math.imul(q,Qt)|0)+(a>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,_=Math.imul(ae,Nt),a=(a=Math.imul(ae,yt))+Math.imul(he,Nt)|0,b=Math.imul(he,yt),_=_+Math.imul(oe,Je)|0,a=(a=a+Math.imul(oe,et)|0)+Math.imul(X,Je)|0,b=b+Math.imul(X,et)|0,_=_+Math.imul(ze,It)|0,a=(a=a+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0,b=b+Math.imul(Xe,Qt)|0;var Qi=(k+(_=_+Math.imul(N,xt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Se)|0)+Math.imul(q,xt)|0))<<13)|0;k=((b=b+Math.imul(q,Se)|0)+(a>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(st,Nt),a=(a=Math.imul(st,yt))+Math.imul(me,Nt)|0,b=Math.imul(me,yt),_=_+Math.imul(ae,Je)|0,a=(a=a+Math.imul(ae,et)|0)+Math.imul(he,Je)|0,b=b+Math.imul(he,et)|0,_=_+Math.imul(oe,It)|0,a=(a=a+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,b=b+Math.imul(X,Qt)|0,_=_+Math.imul(ze,xt)|0,a=(a=a+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0,b=b+Math.imul(Xe,Se)|0;var Xt=(k+(_=_+Math.imul(N,ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,Z)|0)+Math.imul(q,ce)|0))<<13)|0;k=((b=b+Math.imul(q,Z)|0)+(a>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(ue,Nt),a=(a=Math.imul(ue,yt))+Math.imul(Be,Nt)|0,b=Math.imul(Be,yt),_=_+Math.imul(st,Je)|0,a=(a=a+Math.imul(st,et)|0)+Math.imul(me,Je)|0,b=b+Math.imul(me,et)|0,_=_+Math.imul(ae,It)|0,a=(a=a+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,b=b+Math.imul(he,Qt)|0,_=_+Math.imul(oe,xt)|0,a=(a=a+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,b=b+Math.imul(X,Se)|0,_=_+Math.imul(ze,ce)|0,a=(a=a+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0,b=b+Math.imul(Xe,Z)|0;var St=(k+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(a=(a=a+Math.imul(N,pt)|0)+Math.imul(q,Pe)|0))<<13)|0;k=((b=b+Math.imul(q,pt)|0)+(a>>>13)|0)+(St>>>26)|0,St&=67108863,_=Math.imul(ct,Nt),a=(a=Math.imul(ct,yt))+Math.imul(dt,Nt)|0,b=Math.imul(dt,yt),_=_+Math.imul(ue,Je)|0,a=(a=a+Math.imul(ue,et)|0)+Math.imul(Be,Je)|0,b=b+Math.imul(Be,et)|0,_=_+Math.imul(st,It)|0,a=(a=a+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,b=b+Math.imul(me,Qt)|0,_=_+Math.imul(ae,xt)|0,a=(a=a+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,b=b+Math.imul(he,Se)|0,_=_+Math.imul(oe,ce)|0,a=(a=a+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,b=b+Math.imul(X,Z)|0,_=_+Math.imul(ze,Pe)|0,a=(a=a+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0,b=b+Math.imul(Xe,pt)|0;var tt=(k+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(a=(a=a+Math.imul(N,Ge)|0)+Math.imul(q,Fe)|0))<<13)|0;k=((b=b+Math.imul(q,Ge)|0)+(a>>>13)|0)+(tt>>>26)|0,tt&=67108863,_=Math.imul(ve,Nt),a=(a=Math.imul(ve,yt))+Math.imul(_e,Nt)|0,b=Math.imul(_e,yt),_=_+Math.imul(ct,Je)|0,a=(a=a+Math.imul(ct,et)|0)+Math.imul(dt,Je)|0,b=b+Math.imul(dt,et)|0,_=_+Math.imul(ue,It)|0,a=(a=a+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,b=b+Math.imul(Be,Qt)|0,_=_+Math.imul(st,xt)|0,a=(a=a+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,b=b+Math.imul(me,Se)|0,_=_+Math.imul(ae,ce)|0,a=(a=a+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,b=b+Math.imul(he,Z)|0,_=_+Math.imul(oe,Pe)|0,a=(a=a+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,b=b+Math.imul(X,pt)|0,_=_+Math.imul(ze,Fe)|0,a=(a=a+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0,b=b+Math.imul(Xe,Ge)|0;var ot=(k+(_=_+Math.imul(N,at)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(q,at)|0))<<13)|0;k=((b=b+Math.imul(q,Lt)|0)+(a>>>13)|0)+(ot>>>26)|0,ot&=67108863,_=Math.imul(Ue,Nt),a=(a=Math.imul(Ue,yt))+Math.imul(je,Nt)|0,b=Math.imul(je,yt),_=_+Math.imul(ve,Je)|0,a=(a=a+Math.imul(ve,et)|0)+Math.imul(_e,Je)|0,b=b+Math.imul(_e,et)|0,_=_+Math.imul(ct,It)|0,a=(a=a+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,b=b+Math.imul(dt,Qt)|0,_=_+Math.imul(ue,xt)|0,a=(a=a+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,b=b+Math.imul(Be,Se)|0,_=_+Math.imul(st,ce)|0,a=(a=a+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,b=b+Math.imul(me,Z)|0,_=_+Math.imul(ae,Pe)|0,a=(a=a+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,b=b+Math.imul(he,pt)|0,_=_+Math.imul(oe,Fe)|0,a=(a=a+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,b=b+Math.imul(X,Ge)|0,_=_+Math.imul(ze,at)|0,a=(a=a+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0,b=b+Math.imul(Xe,Lt)|0;var Mt=(k+(_=_+Math.imul(N,$t)|0)|0)+((8191&(a=(a=a+Math.imul(N,Kt)|0)+Math.imul(q,$t)|0))<<13)|0;k=((b=b+Math.imul(q,Kt)|0)+(a>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul($e,Nt),a=(a=Math.imul($e,yt))+Math.imul(nt,Nt)|0,b=Math.imul(nt,yt),_=_+Math.imul(Ue,Je)|0,a=(a=a+Math.imul(Ue,et)|0)+Math.imul(je,Je)|0,b=b+Math.imul(je,et)|0,_=_+Math.imul(ve,It)|0,a=(a=a+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,b=b+Math.imul(_e,Qt)|0,_=_+Math.imul(ct,xt)|0,a=(a=a+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,b=b+Math.imul(dt,Se)|0,_=_+Math.imul(ue,ce)|0,a=(a=a+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,b=b+Math.imul(Be,Z)|0,_=_+Math.imul(st,Pe)|0,a=(a=a+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,b=b+Math.imul(me,pt)|0,_=_+Math.imul(ae,Fe)|0,a=(a=a+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,b=b+Math.imul(he,Ge)|0,_=_+Math.imul(oe,at)|0,a=(a=a+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,b=b+Math.imul(X,Lt)|0,_=_+Math.imul(ze,$t)|0,a=(a=a+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0,b=b+Math.imul(Xe,Kt)|0;var Bt=(k+(_=_+Math.imul(N,ti)|0)|0)+((8191&(a=(a=a+Math.imul(N,fi)|0)+Math.imul(q,ti)|0))<<13)|0;k=((b=b+Math.imul(q,fi)|0)+(a>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,_=Math.imul($e,Je),a=(a=Math.imul($e,et))+Math.imul(nt,Je)|0,b=Math.imul(nt,et),_=_+Math.imul(Ue,It)|0,a=(a=a+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,b=b+Math.imul(je,Qt)|0,_=_+Math.imul(ve,xt)|0,a=(a=a+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,b=b+Math.imul(_e,Se)|0,_=_+Math.imul(ct,ce)|0,a=(a=a+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,b=b+Math.imul(dt,Z)|0,_=_+Math.imul(ue,Pe)|0,a=(a=a+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,b=b+Math.imul(Be,pt)|0,_=_+Math.imul(st,Fe)|0,a=(a=a+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,b=b+Math.imul(me,Ge)|0,_=_+Math.imul(ae,at)|0,a=(a=a+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,b=b+Math.imul(he,Lt)|0,_=_+Math.imul(oe,$t)|0,a=(a=a+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,b=b+Math.imul(X,Kt)|0;var Ci=(k+(_=_+Math.imul(ze,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;k=((b=b+Math.imul(Xe,fi)|0)+(a>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,_=Math.imul($e,It),a=(a=Math.imul($e,Qt))+Math.imul(nt,It)|0,b=Math.imul(nt,Qt),_=_+Math.imul(Ue,xt)|0,a=(a=a+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,b=b+Math.imul(je,Se)|0,_=_+Math.imul(ve,ce)|0,a=(a=a+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,b=b+Math.imul(_e,Z)|0,_=_+Math.imul(ct,Pe)|0,a=(a=a+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,b=b+Math.imul(dt,pt)|0,_=_+Math.imul(ue,Fe)|0,a=(a=a+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,b=b+Math.imul(Be,Ge)|0,_=_+Math.imul(st,at)|0,a=(a=a+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,b=b+Math.imul(me,Lt)|0,_=_+Math.imul(ae,$t)|0,a=(a=a+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,b=b+Math.imul(he,Kt)|0;var Ti=(k+(_=_+Math.imul(oe,ti)|0)|0)+((8191&(a=(a=a+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0))<<13)|0;k=((b=b+Math.imul(X,fi)|0)+(a>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,_=Math.imul($e,xt),a=(a=Math.imul($e,Se))+Math.imul(nt,xt)|0,b=Math.imul(nt,Se),_=_+Math.imul(Ue,ce)|0,a=(a=a+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,b=b+Math.imul(je,Z)|0,_=_+Math.imul(ve,Pe)|0,a=(a=a+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,b=b+Math.imul(_e,pt)|0,_=_+Math.imul(ct,Fe)|0,a=(a=a+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,b=b+Math.imul(dt,Ge)|0,_=_+Math.imul(ue,at)|0,a=(a=a+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,b=b+Math.imul(Be,Lt)|0,_=_+Math.imul(st,$t)|0,a=(a=a+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,b=b+Math.imul(me,Kt)|0;var Hi=(k+(_=_+Math.imul(ae,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0))<<13)|0;k=((b=b+Math.imul(he,fi)|0)+(a>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul($e,ce),a=(a=Math.imul($e,Z))+Math.imul(nt,ce)|0,b=Math.imul(nt,Z),_=_+Math.imul(Ue,Pe)|0,a=(a=a+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,b=b+Math.imul(je,pt)|0,_=_+Math.imul(ve,Fe)|0,a=(a=a+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,b=b+Math.imul(_e,Ge)|0,_=_+Math.imul(ct,at)|0,a=(a=a+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,b=b+Math.imul(dt,Lt)|0,_=_+Math.imul(ue,$t)|0,a=(a=a+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,b=b+Math.imul(Be,Kt)|0;var Zi=(k+(_=_+Math.imul(st,ti)|0)|0)+((8191&(a=(a=a+Math.imul(st,fi)|0)+Math.imul(me,ti)|0))<<13)|0;k=((b=b+Math.imul(me,fi)|0)+(a>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul($e,Pe),a=(a=Math.imul($e,pt))+Math.imul(nt,Pe)|0,b=Math.imul(nt,pt),_=_+Math.imul(Ue,Fe)|0,a=(a=a+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,b=b+Math.imul(je,Ge)|0,_=_+Math.imul(ve,at)|0,a=(a=a+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,b=b+Math.imul(_e,Lt)|0,_=_+Math.imul(ct,$t)|0,a=(a=a+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,b=b+Math.imul(dt,Kt)|0;var ln=(k+(_=_+Math.imul(ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0))<<13)|0;k=((b=b+Math.imul(Be,fi)|0)+(a>>>13)|0)+(ln>>>26)|0,ln&=67108863,_=Math.imul($e,Fe),a=(a=Math.imul($e,Ge))+Math.imul(nt,Fe)|0,b=Math.imul(nt,Ge),_=_+Math.imul(Ue,at)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,b=b+Math.imul(je,Lt)|0,_=_+Math.imul(ve,$t)|0,a=(a=a+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,b=b+Math.imul(_e,Kt)|0;var mn=(k+(_=_+Math.imul(ct,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0))<<13)|0;k=((b=b+Math.imul(dt,fi)|0)+(a>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul($e,at),a=(a=Math.imul($e,Lt))+Math.imul(nt,at)|0,b=Math.imul(nt,Lt),_=_+Math.imul(Ue,$t)|0,a=(a=a+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,b=b+Math.imul(je,Kt)|0;var Ut=(k+(_=_+Math.imul(ve,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0))<<13)|0;k=((b=b+Math.imul(_e,fi)|0)+(a>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul($e,$t),a=(a=Math.imul($e,Kt))+Math.imul(nt,$t)|0,b=Math.imul(nt,Kt);var lt=(k+(_=_+Math.imul(Ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0))<<13)|0;k=((b=b+Math.imul(je,fi)|0)+(a>>>13)|0)+(lt>>>26)|0,lt&=67108863;var re=(k+(_=Math.imul($e,ti))|0)+((8191&(a=(a=Math.imul($e,fi))+Math.imul(nt,ti)|0))<<13)|0;return k=((b=Math.imul(nt,fi))+(a>>>13)|0)+(re>>>26)|0,re&=67108863,A[0]=xn,A[1]=tn,A[2]=Vi,A[3]=Qi,A[4]=Xt,A[5]=St,A[6]=tt,A[7]=ot,A[8]=Mt,A[9]=Bt,A[10]=Ci,A[11]=Ti,A[12]=Hi,A[13]=Zi,A[14]=ln,A[15]=mn,A[16]=Ut,A[17]=lt,A[18]=re,0!==k&&(A[19]=k,m.length++),m};function W(T,n,c){return(new Q).mulp(T,n,c)}function Q(T,n){this.x=T,this.y=n}Math.imul||(j=V),l.prototype.mulTo=function(n,c){var m,d=this.length+n.length;return m=10===this.length&&10===n.length?j(this,n,c):d<63?V(this,n,c):d<1024?function Y(T,n,c){c.negative=n.negative^T.negative,c.length=T.length+n.length;for(var m=0,d=0,C=0;C>>26)|0)>>>26,A&=67108863}c.words[C]=k,m=A,A=d}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):W(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,d=0;d>=1;return d},Q.prototype.permute=function(n,c,m,d,C,A){for(var k=0;k>>=1)C++;return 1<>>=13),C>>>=13;for(A=2*c;A>=26,c+=d/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,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 I(T){for(var n=new Array(T.bitLength()),c=0;c>>d}return n}(n);if(0===c.length)return new l(1);for(var m=this,d=0;d=0);var C,c=n%26,m=(n-c)/26,d=67108863>>>26-c<<26-c;if(0!==c){var A=0;for(C=0;C>>26-c}A&&(this.words[C]=A,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C=0),d=c?(c-c%26)/26:0;var C=n%26,A=Math.min((n-C)/26,this.length),k=67108863^67108863>>>C<A)for(this.length-=A,a=0;a=0&&(0!==b||a>=d);a--){var z=0|this.words[a];this.words[a]=b<<26-C|z>>>C,b=z&k}return _&&0!==b&&(_.words[_.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return x(0===this.negative),this.iushrn(n,c,m)},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){x("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<=0);var c=n%26,m=(n-c)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>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(x("number"==typeof n),x(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>26)-(_/67108864|0),this.words[C+m]=67108863&A}for(;C>26,this.words[C+m]=67108863&A;if(0===k)return this.strip();for(x(-1===k),k=0,C=0;C>26,this.words[C]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,d=this.clone(),C=n,A=0|C.words[C.length-1];0!=(m=26-this._countBits(A))&&(C=C.ushln(m),d.iushln(m),A=0|C.words[C.length-1]);var a,_=d.length-C.length;if("mod"!==c){(a=new l(null)).length=_+1,a.words=new Array(a.length);for(var b=0;b=0;N--){var q=67108864*(0|d.words[C.length+N])+(0|d.words[C.length+N-1]);for(q=Math.min(q/A|0,67108863),d._ishlnsubmul(C,q,N);0!==d.negative;)q--,d.negative=0,d._ishlnsubmul(C,1,N),d.isZero()||(d.negative^=1);a&&(a.words[N]=q)}return a&&a.strip(),d.strip(),"div"!==c&&0!==m&&d.iushrn(m),{div:a||null,mod:d}},l.prototype.divmod=function(n,c,m){return x(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,c),"mod"!==c&&(d=A.div.neg()),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:d,mod:C}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),c),"mod"!==c&&(d=A.div.neg()),{div:d,mod:A.mod}):this.negative&n.negative?(A=this.neg().divmod(n.neg(),c),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:A.div,mod:C}):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 d,C,A},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 m=0!==c.div.negative?c.mod.isub(n):c.mod,d=n.ushrn(1),C=n.andln(1),A=m.cmp(d);return A<0||1===C&&0===A?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){x(n<=67108863);for(var c=(1<<26)%n,m=0,d=this.length-1;d>=0;d--)m=(c*m+(0|this.words[d]))%n;return m},l.prototype.idivn=function(n){x(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var d=(0|this.words[m])+67108864*c;this.words[m]=d/n|0,c=d%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){x(0===n.negative),x(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=new l(0),k=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var a=m.clone(),b=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;)(d.isOdd()||C.isOdd())&&(d.iadd(a),C.isub(b)),d.iushrn(1),C.iushrn(1);for(var q=0,pe=1;!(m.words[0]&pe)&&q<26;++q,pe<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(a),k.isub(b)),A.iushrn(1),k.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(A),C.isub(k)):(m.isub(c),A.isub(d),k.isub(C))}return{a:A,b:k,gcd:m.iushln(_)}},l.prototype._invmp=function(n){x(0===n.negative),x(!n.isZero());var z,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var k=0,_=1;!(c.words[0]&_)&&k<26;++k,_<<=1);if(k>0)for(c.iushrn(k);k-- >0;)d.isOdd()&&d.iadd(A),d.iushrn(1);for(var a=0,b=1;!(m.words[0]&b)&&a<26;++a,b<<=1);if(a>0)for(m.iushrn(a);a-- >0;)C.isOdd()&&C.iadd(A),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(C)):(m.isub(c),C.isub(d))}return(z=0===c.cmpn(1)?d:C).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(),m=n.clone();c.negative=0,m.negative=0;for(var d=0;c.isEven()&&m.isEven();d++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var A=c;c=m,m=A}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(d)},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){x("number"==typeof n);var c=n%26,m=(n-c)/26,d=1<>>26,this.words[A]=k&=67108863}return 0!==C&&(this.words[A]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),x(n<=67108863,"Number is too big");var d=0|this.words[0];m=d===n?0:dn.length)return 1;if(this.length=0;m--){var d=0|this.words[m],C=0|n.words[m];if(d!==C){dC&&(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 Ce(n)},l.prototype.toRed=function(n){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return x(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 x(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return x(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ie(T,n){this.name=T,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 ee(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Ce(T){if("string"==typeof T){var n=l._prime(T);this.m=n.p,this.prime=n}else x(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function le(T){Ce.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var d=m0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ie.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ie.prototype.imulK=function(n){return n.imul(this.k)},D(ee,ie),ee.prototype.split=function(n,c){for(var m=4194303,d=Math.min(n.length,9),C=0;C>>22,A=k}n.words[C-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ee.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m>>=26,n.words[m]=C,c=d}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ee;else if("p224"===n)c=new fe;else if("p192"===n)c=new ne;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Ce.prototype._verify1=function(n){x(0===n.negative,"red works only with positives"),x(n.red,"red works only with red numbers")},Ce.prototype._verify2=function(n,c){x(!(n.negative|c.negative),"red works only with positives"),x(n.red&&n.red===c.red,"red works only with red numbers")},Ce.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Ce.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Ce.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Ce.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Ce.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Ce.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Ce.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Ce.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Ce.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Ce.prototype.isqr=function(n){return this.imul(n,n.clone())},Ce.prototype.sqr=function(n){return this.mul(n,n)},Ce.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(x(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var d=this.m.subn(1),C=0;!d.isZero()&&0===d.andln(1);)C++,d.iushrn(1);x(!d.isZero());var A=new l(1).toRed(this),k=A.redNeg(),_=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,_).cmp(k);)a.redIAdd(k);for(var b=this.pow(a,d),z=this.pow(n,d.addn(1).iushrn(1)),N=this.pow(n,d),q=C;0!==N.cmp(A);){for(var pe=N,ze=0;0!==pe.cmp(A);ze++)pe=pe.redSqr();x(ze=0;C--){for(var b=c.words[C],z=a-1;z>=0;z--){var N=b>>z&1;A!==d[0]&&(A=this.sqr(A)),0!==N||0!==k?(k<<=1,k|=N,(4==++_||0===C&&0===z)&&(A=this.mul(A,d[k]),_=0,k=0)):_=0}a=26}return A},Ce.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Ce.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new le(n)},D(le,Ce),le.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},le.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},le.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},9210:Qe=>{function te(g,e){if(!g)throw new Error(e||"Assertion failed")}Qe.exports=te,te.equal=function(e,t,x){if(e!=t)throw new Error(x||"Assertion failed: "+e+" != "+t)}},1832:(Qe,te)=>{"use strict";var g=te;function t(D){return 1===D.length?"0"+D:D}function x(D){for(var l="",w=0;w>8,S=255&R;h?w.push(h,S):w.push(S)}return w},g.zero2=t,g.toHex=x,g.encode=function(l,w){return"hex"===w?x(l):l}},1264:(Qe,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var e=g(4478);Object.keys(e).forEach(function(t){"default"!==t&&Object.defineProperty(te,t,{enumerable:!0,get:function(){return e[t]}})})},3138:(Qe,te,g)=>{"use strict";var e=g(1990);te.certificate=g(4772);var t=e.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});te.RSAPrivateKey=t;var x=e.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});te.RSAPublicKey=x;var D=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),l=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(D),this.key("subjectPublicKey").bitstr())});te.PublicKey=l;var w=e.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(D),this.key("subjectPrivateKey").octstr())});te.PrivateKey=w;var f=e.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});te.EncryptedPrivateKey=f;var R=e.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});te.DSAPrivateKey=R,te.DSAparam=e.define("DSAparam",function(){this.int()});var h=e.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),S=e.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())});te.ECPrivateKey=S,te.signature=e.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},4772:(Qe,te,g)=>{"use strict";var e=g(1990),t=e.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),x=e.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),D=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),l=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(D),this.key("subjectPublicKey").bitstr())}),w=e.define("RelativeDistinguishedName",function(){this.setof(x)}),f=e.define("RDNSequence",function(){this.seqof(w)}),R=e.define("Name",function(){this.choice({rdnSequence:this.use(f)})}),h=e.define("Validity",function(){this.seq().obj(this.key("notBefore").use(t),this.key("notAfter").use(t))}),S=e.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),y=e.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(D),this.key("issuer").use(R),this.key("validity").use(h),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(S).optional())}),O=e.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(y),this.key("signatureAlgorithm").use(D),this.key("signatureValue").bitstr())});Qe.exports=O},9472:(Qe,te,g)=>{"use strict";var e=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,t=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,x=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,D=g(592),l=g(3388),w=g(7054).Buffer;Qe.exports=function(f,R){var y,h=f.toString(),S=h.match(e);if(S){var I="aes"+S[1],V=w.from(S[2],"hex"),j=w.from(S[3].replace(/[\r\n]/g,""),"base64"),Y=D(R,V.slice(0,8),parseInt(S[1],10)).key,W=[],Q=l.createDecipheriv(I,Y,V);W.push(Q.update(j)),W.push(Q.final()),y=w.concat(W)}else{var O=h.match(x);y=w.from(O[2].replace(/[\r\n]/g,""),"base64")}return{tag:h.match(t)[1],data:y}}},5667:(Qe,te,g)=>{"use strict";var e=g(3138),t=g(5579),x=g(9472),D=g(3388),l=g(3397),w=g(7054).Buffer;function R(h){var S;"object"==typeof h&&!w.isBuffer(h)&&(S=h.passphrase,h=h.key),"string"==typeof h&&(h=w.from(h));var V,j,y=x(h,S),O=y.tag,I=y.data;switch(O){case"CERTIFICATE":j=e.certificate.decode(I,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(j||(j=e.PublicKey.decode(I,"der")),V=j.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(j.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return j.subjectPrivateKey=j.subjectPublicKey,{type:"ec",data:j};case"1.2.840.10040.4.1":return j.algorithm.params.pub_key=e.DSAparam.decode(j.subjectPublicKey.data,"der"),{type:"dsa",data:j.algorithm.params};default:throw new Error("unknown key id "+V)}case"ENCRYPTED PRIVATE KEY":I=function f(h,S){var y=h.algorithm.decrypt.kde.kdeparams.salt,O=parseInt(h.algorithm.decrypt.kde.kdeparams.iters.toString(),10),I=t[h.algorithm.decrypt.cipher.algo.join(".")],V=h.algorithm.decrypt.cipher.iv,j=h.subjectPrivateKey,Y=parseInt(I.split("-")[1],10)/8,W=l.pbkdf2Sync(S,y,O,Y,"sha1"),Q=D.createDecipheriv(I,W,V),J=[];return J.push(Q.update(j)),J.push(Q.final()),w.concat(J)}(I=e.EncryptedPrivateKey.decode(I,"der"),S);case"PRIVATE KEY":switch(V=(j=e.PrivateKey.decode(I,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(j.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:j.algorithm.curve,privateKey:e.ECPrivateKey.decode(j.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return j.algorithm.params.priv_key=e.DSAparam.decode(j.subjectPrivateKey,"der"),{type:"dsa",params:j.algorithm.params};default:throw new Error("unknown key id "+V)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(I,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(I,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(I,"der")};case"EC PRIVATE KEY":return{curve:(I=e.ECPrivateKey.decode(I,"der")).parameters.value,privateKey:I.privateKey};default:throw new Error("unknown key type "+O)}}R.signature=e.signature,Qe.exports=R},3397:(Qe,te,g)=>{te.pbkdf2=g(2685),te.pbkdf2Sync=g(9111)},2685:(Qe,te,g)=>{var w,y,e=g(7054).Buffer,t=g(6111),x=g(5392),D=g(9111),l=g(6643),f=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"},h=[];function O(){return y||(y=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function I(j,Y,W,Q,J){return f.importKey("raw",j,{name:"PBKDF2"},!1,["deriveBits"]).then(function(ie){return f.deriveBits({name:"PBKDF2",salt:Y,iterations:W,hash:{name:J}},ie,Q<<3)}).then(function(ie){return e.from(ie)})}Qe.exports=function(j,Y,W,Q,J,ie){"function"==typeof J&&(ie=J,J=void 0);var ee=R[(J=J||"sha1").toLowerCase()];if(ee&&"function"==typeof global.Promise){if(t(W,Q),j=l(j,x,"Password"),Y=l(Y,x,"Salt"),"function"!=typeof ie)throw new Error("No callback provided to pbkdf2");!function V(j,Y){j.then(function(W){O()(function(){Y(null,W)})},function(W){O()(function(){Y(W)})})}(function S(j){if(global.process&&!global.process.browser||!f||!f.importKey||!f.deriveBits)return Promise.resolve(!1);if(void 0!==h[j])return h[j];var Y=I(w=w||e.alloc(8),w,10,128,j).then(function(){return!0}).catch(function(){return!1});return h[j]=Y,Y}(ee).then(function(fe){return fe?I(j,Y,W,Q,ee):D(j,Y,W,Q,J)}),ie)}else O()(function(){var fe;try{fe=D(j,Y,W,Q,J)}catch(ne){return ie(ne)}ie(null,fe)})}},5392:Qe=>{var te;te=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",Qe.exports=te},6111:Qe=>{var te=Math.pow(2,30)-1;Qe.exports=function(g,e){if("number"!=typeof g)throw new TypeError("Iterations not a number");if(g<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>te||e!=e)throw new TypeError("Bad key length")}},9111:(Qe,te,g)=>{var e=g(3407),t=g(6636),x=g(5443),D=g(7054).Buffer,l=g(6111),w=g(5392),f=g(6643),R=D.alloc(128),h={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function S(I,V,j){var Y=function y(I){return"rmd160"===I||"ripemd160"===I?function j(Y){return(new t).update(Y).digest()}:"md5"===I?e:function V(Y){return x(I).update(Y).digest()}}(I),W="sha512"===I||"sha384"===I?128:64;V.length>W?V=Y(V):V.length{var e=g(7054).Buffer;Qe.exports=function(t,x,D){if(e.isBuffer(t))return t;if("string"==typeof t)return e.from(t,x);if(ArrayBuffer.isView(t))return e.from(t.buffer);throw new TypeError(D+" must be a string, a Buffer, a typed array or a DataView")}},9656:Qe=>{"use strict";Qe.exports=typeof process>"u"||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?{nextTick:function te(g,e,t,x){if("function"!=typeof g)throw new TypeError('"callback" argument must be a function');var l,w,D=arguments.length;switch(D){case 0:case 1:return process.nextTick(g);case 2:return process.nextTick(function(){g.call(null,e)});case 3:return process.nextTick(function(){g.call(null,e,t)});case 4:return process.nextTick(function(){g.call(null,e,t,x)});default:for(l=new Array(D-1),w=0;w{te.publicEncrypt=g(7267),te.privateDecrypt=g(8613),te.privateEncrypt=function(t,x){return te.publicEncrypt(t,x,!0)},te.publicDecrypt=function(t,x){return te.privateDecrypt(t,x,!0)}},715:(Qe,te,g)=>{var e=g(7211),t=g(7054).Buffer;function x(D){var l=t.allocUnsafe(4);return l.writeUInt32BE(D,0),l}Qe.exports=function(D,l){for(var R,w=t.alloc(0),f=0;w.length=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(T,n,c){var m=f(T,c);return c-1>=n&&(m|=f(T,c-1)<<4),m}function h(T,n,c,m){for(var d=0,C=Math.min(T.length,c),A=n;A=49?k-49+10:k>=17?k-17+10:k}return d}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,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),x(c===(0|c)&&c>=2&&c<=36);var d=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(d++,this.negative=1),d=0;d-=3)this.words[C]|=(A=n[d]|n[d-1]<<8|n[d-2]<<16)<>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);else if("le"===m)for(d=0,C=0;d>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var d=0;d=c;d-=2)k=R(n,c,d)<=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;else for(d=(n.length-c)%2==0?c+1:c;d=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var d=0,C=1;C<=67108863;C*=c)d++;d--,C=C/c|0;for(var A=n.length-m,k=A%d,_=Math.min(A,A-k)+m,a=0,b=m;b<_;b+=d)a=h(n,b,b+d,c),this.imuln(C),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==k){var z=1;for(a=h(n,b,n.length,c),b=0;b1&&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?""};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],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],O=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(T,n,c){c.negative=n.negative^T.negative;var m=T.length+n.length|0;c.length=m,m=m-1|0;var d=0|T.words[0],C=0|n.words[0],A=d*C,_=A/67108864|0;c.words[0]=67108863&A;for(var a=1;a>>26,z=67108863&_,N=Math.min(a,n.length-1),q=Math.max(0,a-T.length+1);q<=N;q++)b+=(A=(d=0|T.words[a-q|0])*(C=0|n.words[q])+z)/67108864|0,z=67108863&A;c.words[a]=0|z,_=0|b}return 0!==_?c.words[a]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var d=0,C=0,A=0;A>>24-d&16777215)||A!==this.length-1?S[6-_.length]+_+m:_+m,(d+=2)>=26&&(d-=26,A--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var a=y[n],b=O[n];m="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(b).toString(n);m=(z=z.idivn(b)).isZero()?N+m:S[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}x(!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&&x(!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 x(typeof w<"u"),this.toArrayLike(w,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var d=this.byteLength(),C=m||Math.max(1,d);x(d<=C,"byte array longer than desired length"),x(C>0,"Requested array length <= 0"),this.strip();var _,a,A="le"===c,k=new n(C),b=this.clone();if(A){for(a=0;!b.isZero();a++)_=b.andln(255),b.iushrn(8),k[a]=_;for(;a=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},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;cn.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 m=0;mn.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,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var d=0;dn.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){x("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var d=0;d0&&(this.words[d]=~this.words[d]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){x("number"==typeof n&&n>=0);var m=n/26|0,d=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<n.length?(m=this,d=n):(m=n,d=this);for(var C=0,A=0;A>>26;for(;0!==C&&A>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;An.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 d,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(d=this,C=n):(d=n,C=this);for(var A=0,k=0;k>26,this.words[k]=67108863&c;for(;0!==A&&k>26,this.words[k]=67108863&c;if(0===A&&k>>13,pe=0|d[1],ze=8191&pe,Xe=pe>>>13,We=0|d[2],oe=8191&We,X=We>>>13,se=0|d[3],ae=8191&se,he=se>>>13,Ie=0|d[4],st=8191&Ie,me=Ie>>>13,Ee=0|d[5],ue=8191&Ee,Be=Ee>>>13,Ct=0|d[6],ct=8191&Ct,dt=Ct>>>13,Yt=0|d[7],ve=8191&Yt,_e=Yt>>>13,we=0|d[8],Ue=8191&we,je=we>>>13,vt=0|d[9],$e=8191&vt,nt=vt>>>13,qt=0|C[0],Nt=8191&qt,yt=qt>>>13,jt=0|C[1],Je=8191&jt,et=jt>>>13,Ae=0|C[2],It=8191&Ae,Qt=Ae>>>13,Tt=0|C[3],xt=8191&Tt,Se=Tt>>>13,Te=0|C[4],ce=8191&Te,Z=Te>>>13,Re=0|C[5],Pe=8191&Re,pt=Re>>>13,Ke=0|C[6],Fe=8191&Ke,Ge=Ke>>>13,qe=0|C[7],at=8191&qe,Lt=qe>>>13,pi=0|C[8],$t=8191&pi,Kt=pi>>>13,Ui=0|C[9],ti=8191&Ui,fi=Ui>>>13;m.negative=n.negative^c.negative,m.length=19;var xn=(k+(_=Math.imul(N,Nt))|0)+((8191&(a=(a=Math.imul(N,yt))+Math.imul(q,Nt)|0))<<13)|0;k=((b=Math.imul(q,yt))+(a>>>13)|0)+(xn>>>26)|0,xn&=67108863,_=Math.imul(ze,Nt),a=(a=Math.imul(ze,yt))+Math.imul(Xe,Nt)|0,b=Math.imul(Xe,yt);var tn=(k+(_=_+Math.imul(N,Je)|0)|0)+((8191&(a=(a=a+Math.imul(N,et)|0)+Math.imul(q,Je)|0))<<13)|0;k=((b=b+Math.imul(q,et)|0)+(a>>>13)|0)+(tn>>>26)|0,tn&=67108863,_=Math.imul(oe,Nt),a=(a=Math.imul(oe,yt))+Math.imul(X,Nt)|0,b=Math.imul(X,yt),_=_+Math.imul(ze,Je)|0,a=(a=a+Math.imul(ze,et)|0)+Math.imul(Xe,Je)|0,b=b+Math.imul(Xe,et)|0;var Vi=(k+(_=_+Math.imul(N,It)|0)|0)+((8191&(a=(a=a+Math.imul(N,Qt)|0)+Math.imul(q,It)|0))<<13)|0;k=((b=b+Math.imul(q,Qt)|0)+(a>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,_=Math.imul(ae,Nt),a=(a=Math.imul(ae,yt))+Math.imul(he,Nt)|0,b=Math.imul(he,yt),_=_+Math.imul(oe,Je)|0,a=(a=a+Math.imul(oe,et)|0)+Math.imul(X,Je)|0,b=b+Math.imul(X,et)|0,_=_+Math.imul(ze,It)|0,a=(a=a+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0,b=b+Math.imul(Xe,Qt)|0;var Qi=(k+(_=_+Math.imul(N,xt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Se)|0)+Math.imul(q,xt)|0))<<13)|0;k=((b=b+Math.imul(q,Se)|0)+(a>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(st,Nt),a=(a=Math.imul(st,yt))+Math.imul(me,Nt)|0,b=Math.imul(me,yt),_=_+Math.imul(ae,Je)|0,a=(a=a+Math.imul(ae,et)|0)+Math.imul(he,Je)|0,b=b+Math.imul(he,et)|0,_=_+Math.imul(oe,It)|0,a=(a=a+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,b=b+Math.imul(X,Qt)|0,_=_+Math.imul(ze,xt)|0,a=(a=a+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0,b=b+Math.imul(Xe,Se)|0;var Xt=(k+(_=_+Math.imul(N,ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,Z)|0)+Math.imul(q,ce)|0))<<13)|0;k=((b=b+Math.imul(q,Z)|0)+(a>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(ue,Nt),a=(a=Math.imul(ue,yt))+Math.imul(Be,Nt)|0,b=Math.imul(Be,yt),_=_+Math.imul(st,Je)|0,a=(a=a+Math.imul(st,et)|0)+Math.imul(me,Je)|0,b=b+Math.imul(me,et)|0,_=_+Math.imul(ae,It)|0,a=(a=a+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,b=b+Math.imul(he,Qt)|0,_=_+Math.imul(oe,xt)|0,a=(a=a+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,b=b+Math.imul(X,Se)|0,_=_+Math.imul(ze,ce)|0,a=(a=a+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0,b=b+Math.imul(Xe,Z)|0;var St=(k+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(a=(a=a+Math.imul(N,pt)|0)+Math.imul(q,Pe)|0))<<13)|0;k=((b=b+Math.imul(q,pt)|0)+(a>>>13)|0)+(St>>>26)|0,St&=67108863,_=Math.imul(ct,Nt),a=(a=Math.imul(ct,yt))+Math.imul(dt,Nt)|0,b=Math.imul(dt,yt),_=_+Math.imul(ue,Je)|0,a=(a=a+Math.imul(ue,et)|0)+Math.imul(Be,Je)|0,b=b+Math.imul(Be,et)|0,_=_+Math.imul(st,It)|0,a=(a=a+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,b=b+Math.imul(me,Qt)|0,_=_+Math.imul(ae,xt)|0,a=(a=a+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,b=b+Math.imul(he,Se)|0,_=_+Math.imul(oe,ce)|0,a=(a=a+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,b=b+Math.imul(X,Z)|0,_=_+Math.imul(ze,Pe)|0,a=(a=a+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0,b=b+Math.imul(Xe,pt)|0;var tt=(k+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(a=(a=a+Math.imul(N,Ge)|0)+Math.imul(q,Fe)|0))<<13)|0;k=((b=b+Math.imul(q,Ge)|0)+(a>>>13)|0)+(tt>>>26)|0,tt&=67108863,_=Math.imul(ve,Nt),a=(a=Math.imul(ve,yt))+Math.imul(_e,Nt)|0,b=Math.imul(_e,yt),_=_+Math.imul(ct,Je)|0,a=(a=a+Math.imul(ct,et)|0)+Math.imul(dt,Je)|0,b=b+Math.imul(dt,et)|0,_=_+Math.imul(ue,It)|0,a=(a=a+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,b=b+Math.imul(Be,Qt)|0,_=_+Math.imul(st,xt)|0,a=(a=a+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,b=b+Math.imul(me,Se)|0,_=_+Math.imul(ae,ce)|0,a=(a=a+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,b=b+Math.imul(he,Z)|0,_=_+Math.imul(oe,Pe)|0,a=(a=a+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,b=b+Math.imul(X,pt)|0,_=_+Math.imul(ze,Fe)|0,a=(a=a+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0,b=b+Math.imul(Xe,Ge)|0;var ot=(k+(_=_+Math.imul(N,at)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(q,at)|0))<<13)|0;k=((b=b+Math.imul(q,Lt)|0)+(a>>>13)|0)+(ot>>>26)|0,ot&=67108863,_=Math.imul(Ue,Nt),a=(a=Math.imul(Ue,yt))+Math.imul(je,Nt)|0,b=Math.imul(je,yt),_=_+Math.imul(ve,Je)|0,a=(a=a+Math.imul(ve,et)|0)+Math.imul(_e,Je)|0,b=b+Math.imul(_e,et)|0,_=_+Math.imul(ct,It)|0,a=(a=a+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,b=b+Math.imul(dt,Qt)|0,_=_+Math.imul(ue,xt)|0,a=(a=a+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,b=b+Math.imul(Be,Se)|0,_=_+Math.imul(st,ce)|0,a=(a=a+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,b=b+Math.imul(me,Z)|0,_=_+Math.imul(ae,Pe)|0,a=(a=a+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,b=b+Math.imul(he,pt)|0,_=_+Math.imul(oe,Fe)|0,a=(a=a+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,b=b+Math.imul(X,Ge)|0,_=_+Math.imul(ze,at)|0,a=(a=a+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0,b=b+Math.imul(Xe,Lt)|0;var Mt=(k+(_=_+Math.imul(N,$t)|0)|0)+((8191&(a=(a=a+Math.imul(N,Kt)|0)+Math.imul(q,$t)|0))<<13)|0;k=((b=b+Math.imul(q,Kt)|0)+(a>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul($e,Nt),a=(a=Math.imul($e,yt))+Math.imul(nt,Nt)|0,b=Math.imul(nt,yt),_=_+Math.imul(Ue,Je)|0,a=(a=a+Math.imul(Ue,et)|0)+Math.imul(je,Je)|0,b=b+Math.imul(je,et)|0,_=_+Math.imul(ve,It)|0,a=(a=a+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,b=b+Math.imul(_e,Qt)|0,_=_+Math.imul(ct,xt)|0,a=(a=a+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,b=b+Math.imul(dt,Se)|0,_=_+Math.imul(ue,ce)|0,a=(a=a+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,b=b+Math.imul(Be,Z)|0,_=_+Math.imul(st,Pe)|0,a=(a=a+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,b=b+Math.imul(me,pt)|0,_=_+Math.imul(ae,Fe)|0,a=(a=a+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,b=b+Math.imul(he,Ge)|0,_=_+Math.imul(oe,at)|0,a=(a=a+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,b=b+Math.imul(X,Lt)|0,_=_+Math.imul(ze,$t)|0,a=(a=a+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0,b=b+Math.imul(Xe,Kt)|0;var Bt=(k+(_=_+Math.imul(N,ti)|0)|0)+((8191&(a=(a=a+Math.imul(N,fi)|0)+Math.imul(q,ti)|0))<<13)|0;k=((b=b+Math.imul(q,fi)|0)+(a>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,_=Math.imul($e,Je),a=(a=Math.imul($e,et))+Math.imul(nt,Je)|0,b=Math.imul(nt,et),_=_+Math.imul(Ue,It)|0,a=(a=a+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,b=b+Math.imul(je,Qt)|0,_=_+Math.imul(ve,xt)|0,a=(a=a+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,b=b+Math.imul(_e,Se)|0,_=_+Math.imul(ct,ce)|0,a=(a=a+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,b=b+Math.imul(dt,Z)|0,_=_+Math.imul(ue,Pe)|0,a=(a=a+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,b=b+Math.imul(Be,pt)|0,_=_+Math.imul(st,Fe)|0,a=(a=a+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,b=b+Math.imul(me,Ge)|0,_=_+Math.imul(ae,at)|0,a=(a=a+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,b=b+Math.imul(he,Lt)|0,_=_+Math.imul(oe,$t)|0,a=(a=a+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,b=b+Math.imul(X,Kt)|0;var Ci=(k+(_=_+Math.imul(ze,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;k=((b=b+Math.imul(Xe,fi)|0)+(a>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,_=Math.imul($e,It),a=(a=Math.imul($e,Qt))+Math.imul(nt,It)|0,b=Math.imul(nt,Qt),_=_+Math.imul(Ue,xt)|0,a=(a=a+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,b=b+Math.imul(je,Se)|0,_=_+Math.imul(ve,ce)|0,a=(a=a+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,b=b+Math.imul(_e,Z)|0,_=_+Math.imul(ct,Pe)|0,a=(a=a+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,b=b+Math.imul(dt,pt)|0,_=_+Math.imul(ue,Fe)|0,a=(a=a+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,b=b+Math.imul(Be,Ge)|0,_=_+Math.imul(st,at)|0,a=(a=a+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,b=b+Math.imul(me,Lt)|0,_=_+Math.imul(ae,$t)|0,a=(a=a+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,b=b+Math.imul(he,Kt)|0;var Ti=(k+(_=_+Math.imul(oe,ti)|0)|0)+((8191&(a=(a=a+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0))<<13)|0;k=((b=b+Math.imul(X,fi)|0)+(a>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,_=Math.imul($e,xt),a=(a=Math.imul($e,Se))+Math.imul(nt,xt)|0,b=Math.imul(nt,Se),_=_+Math.imul(Ue,ce)|0,a=(a=a+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,b=b+Math.imul(je,Z)|0,_=_+Math.imul(ve,Pe)|0,a=(a=a+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,b=b+Math.imul(_e,pt)|0,_=_+Math.imul(ct,Fe)|0,a=(a=a+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,b=b+Math.imul(dt,Ge)|0,_=_+Math.imul(ue,at)|0,a=(a=a+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,b=b+Math.imul(Be,Lt)|0,_=_+Math.imul(st,$t)|0,a=(a=a+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,b=b+Math.imul(me,Kt)|0;var Hi=(k+(_=_+Math.imul(ae,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0))<<13)|0;k=((b=b+Math.imul(he,fi)|0)+(a>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul($e,ce),a=(a=Math.imul($e,Z))+Math.imul(nt,ce)|0,b=Math.imul(nt,Z),_=_+Math.imul(Ue,Pe)|0,a=(a=a+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,b=b+Math.imul(je,pt)|0,_=_+Math.imul(ve,Fe)|0,a=(a=a+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,b=b+Math.imul(_e,Ge)|0,_=_+Math.imul(ct,at)|0,a=(a=a+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,b=b+Math.imul(dt,Lt)|0,_=_+Math.imul(ue,$t)|0,a=(a=a+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,b=b+Math.imul(Be,Kt)|0;var Zi=(k+(_=_+Math.imul(st,ti)|0)|0)+((8191&(a=(a=a+Math.imul(st,fi)|0)+Math.imul(me,ti)|0))<<13)|0;k=((b=b+Math.imul(me,fi)|0)+(a>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul($e,Pe),a=(a=Math.imul($e,pt))+Math.imul(nt,Pe)|0,b=Math.imul(nt,pt),_=_+Math.imul(Ue,Fe)|0,a=(a=a+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,b=b+Math.imul(je,Ge)|0,_=_+Math.imul(ve,at)|0,a=(a=a+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,b=b+Math.imul(_e,Lt)|0,_=_+Math.imul(ct,$t)|0,a=(a=a+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,b=b+Math.imul(dt,Kt)|0;var ln=(k+(_=_+Math.imul(ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0))<<13)|0;k=((b=b+Math.imul(Be,fi)|0)+(a>>>13)|0)+(ln>>>26)|0,ln&=67108863,_=Math.imul($e,Fe),a=(a=Math.imul($e,Ge))+Math.imul(nt,Fe)|0,b=Math.imul(nt,Ge),_=_+Math.imul(Ue,at)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,b=b+Math.imul(je,Lt)|0,_=_+Math.imul(ve,$t)|0,a=(a=a+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,b=b+Math.imul(_e,Kt)|0;var mn=(k+(_=_+Math.imul(ct,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0))<<13)|0;k=((b=b+Math.imul(dt,fi)|0)+(a>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul($e,at),a=(a=Math.imul($e,Lt))+Math.imul(nt,at)|0,b=Math.imul(nt,Lt),_=_+Math.imul(Ue,$t)|0,a=(a=a+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,b=b+Math.imul(je,Kt)|0;var Ut=(k+(_=_+Math.imul(ve,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0))<<13)|0;k=((b=b+Math.imul(_e,fi)|0)+(a>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul($e,$t),a=(a=Math.imul($e,Kt))+Math.imul(nt,$t)|0,b=Math.imul(nt,Kt);var lt=(k+(_=_+Math.imul(Ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0))<<13)|0;k=((b=b+Math.imul(je,fi)|0)+(a>>>13)|0)+(lt>>>26)|0,lt&=67108863;var re=(k+(_=Math.imul($e,ti))|0)+((8191&(a=(a=Math.imul($e,fi))+Math.imul(nt,ti)|0))<<13)|0;return k=((b=Math.imul(nt,fi))+(a>>>13)|0)+(re>>>26)|0,re&=67108863,A[0]=xn,A[1]=tn,A[2]=Vi,A[3]=Qi,A[4]=Xt,A[5]=St,A[6]=tt,A[7]=ot,A[8]=Mt,A[9]=Bt,A[10]=Ci,A[11]=Ti,A[12]=Hi,A[13]=Zi,A[14]=ln,A[15]=mn,A[16]=Ut,A[17]=lt,A[18]=re,0!==k&&(A[19]=k,m.length++),m};function W(T,n,c){return(new Q).mulp(T,n,c)}function Q(T,n){this.x=T,this.y=n}Math.imul||(j=V),l.prototype.mulTo=function(n,c){var m,d=this.length+n.length;return m=10===this.length&&10===n.length?j(this,n,c):d<63?V(this,n,c):d<1024?function Y(T,n,c){c.negative=n.negative^T.negative,c.length=T.length+n.length;for(var m=0,d=0,C=0;C>>26)|0)>>>26,A&=67108863}c.words[C]=k,m=A,A=d}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):W(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,d=0;d>=1;return d},Q.prototype.permute=function(n,c,m,d,C,A){for(var k=0;k>>=1)C++;return 1<>>=13),C>>>=13;for(A=2*c;A>=26,c+=d/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,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 I(T){for(var n=new Array(T.bitLength()),c=0;c>>d}return n}(n);if(0===c.length)return new l(1);for(var m=this,d=0;d=0);var C,c=n%26,m=(n-c)/26,d=67108863>>>26-c<<26-c;if(0!==c){var A=0;for(C=0;C>>26-c}A&&(this.words[C]=A,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C=0),d=c?(c-c%26)/26:0;var C=n%26,A=Math.min((n-C)/26,this.length),k=67108863^67108863>>>C<A)for(this.length-=A,a=0;a=0&&(0!==b||a>=d);a--){var z=0|this.words[a];this.words[a]=b<<26-C|z>>>C,b=z&k}return _&&0!==b&&(_.words[_.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return x(0===this.negative),this.iushrn(n,c,m)},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){x("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<=0);var c=n%26,m=(n-c)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>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(x("number"==typeof n),x(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>26)-(_/67108864|0),this.words[C+m]=67108863&A}for(;C>26,this.words[C+m]=67108863&A;if(0===k)return this.strip();for(x(-1===k),k=0,C=0;C>26,this.words[C]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,d=this.clone(),C=n,A=0|C.words[C.length-1];0!=(m=26-this._countBits(A))&&(C=C.ushln(m),d.iushln(m),A=0|C.words[C.length-1]);var a,_=d.length-C.length;if("mod"!==c){(a=new l(null)).length=_+1,a.words=new Array(a.length);for(var b=0;b=0;N--){var q=67108864*(0|d.words[C.length+N])+(0|d.words[C.length+N-1]);for(q=Math.min(q/A|0,67108863),d._ishlnsubmul(C,q,N);0!==d.negative;)q--,d.negative=0,d._ishlnsubmul(C,1,N),d.isZero()||(d.negative^=1);a&&(a.words[N]=q)}return a&&a.strip(),d.strip(),"div"!==c&&0!==m&&d.iushrn(m),{div:a||null,mod:d}},l.prototype.divmod=function(n,c,m){return x(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,c),"mod"!==c&&(d=A.div.neg()),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:d,mod:C}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),c),"mod"!==c&&(d=A.div.neg()),{div:d,mod:A.mod}):this.negative&n.negative?(A=this.neg().divmod(n.neg(),c),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:A.div,mod:C}):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 d,C,A},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 m=0!==c.div.negative?c.mod.isub(n):c.mod,d=n.ushrn(1),C=n.andln(1),A=m.cmp(d);return A<0||1===C&&0===A?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){x(n<=67108863);for(var c=(1<<26)%n,m=0,d=this.length-1;d>=0;d--)m=(c*m+(0|this.words[d]))%n;return m},l.prototype.idivn=function(n){x(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var d=(0|this.words[m])+67108864*c;this.words[m]=d/n|0,c=d%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){x(0===n.negative),x(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=new l(0),k=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var a=m.clone(),b=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;)(d.isOdd()||C.isOdd())&&(d.iadd(a),C.isub(b)),d.iushrn(1),C.iushrn(1);for(var q=0,pe=1;!(m.words[0]&pe)&&q<26;++q,pe<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(a),k.isub(b)),A.iushrn(1),k.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(A),C.isub(k)):(m.isub(c),A.isub(d),k.isub(C))}return{a:A,b:k,gcd:m.iushln(_)}},l.prototype._invmp=function(n){x(0===n.negative),x(!n.isZero());var z,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var k=0,_=1;!(c.words[0]&_)&&k<26;++k,_<<=1);if(k>0)for(c.iushrn(k);k-- >0;)d.isOdd()&&d.iadd(A),d.iushrn(1);for(var a=0,b=1;!(m.words[0]&b)&&a<26;++a,b<<=1);if(a>0)for(m.iushrn(a);a-- >0;)C.isOdd()&&C.iadd(A),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(C)):(m.isub(c),C.isub(d))}return(z=0===c.cmpn(1)?d:C).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(),m=n.clone();c.negative=0,m.negative=0;for(var d=0;c.isEven()&&m.isEven();d++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var A=c;c=m,m=A}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(d)},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){x("number"==typeof n);var c=n%26,m=(n-c)/26,d=1<>>26,this.words[A]=k&=67108863}return 0!==C&&(this.words[A]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),x(n<=67108863,"Number is too big");var d=0|this.words[0];m=d===n?0:dn.length)return 1;if(this.length=0;m--){var d=0|this.words[m],C=0|n.words[m];if(d!==C){dC&&(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 Ce(n)},l.prototype.toRed=function(n){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return x(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 x(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return x(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ie(T,n){this.name=T,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 ee(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Ce(T){if("string"==typeof T){var n=l._prime(T);this.m=n.p,this.prime=n}else x(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function le(T){Ce.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var d=m0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ie.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ie.prototype.imulK=function(n){return n.imul(this.k)},D(ee,ie),ee.prototype.split=function(n,c){for(var m=4194303,d=Math.min(n.length,9),C=0;C>>22,A=k}n.words[C-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ee.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m>>=26,n.words[m]=C,c=d}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ee;else if("p224"===n)c=new fe;else if("p192"===n)c=new ne;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Ce.prototype._verify1=function(n){x(0===n.negative,"red works only with positives"),x(n.red,"red works only with red numbers")},Ce.prototype._verify2=function(n,c){x(!(n.negative|c.negative),"red works only with positives"),x(n.red&&n.red===c.red,"red works only with red numbers")},Ce.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Ce.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Ce.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Ce.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Ce.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Ce.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Ce.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Ce.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Ce.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Ce.prototype.isqr=function(n){return this.imul(n,n.clone())},Ce.prototype.sqr=function(n){return this.mul(n,n)},Ce.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(x(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var d=this.m.subn(1),C=0;!d.isZero()&&0===d.andln(1);)C++,d.iushrn(1);x(!d.isZero());var A=new l(1).toRed(this),k=A.redNeg(),_=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,_).cmp(k);)a.redIAdd(k);for(var b=this.pow(a,d),z=this.pow(n,d.addn(1).iushrn(1)),N=this.pow(n,d),q=C;0!==N.cmp(A);){for(var pe=N,ze=0;0!==pe.cmp(A);ze++)pe=pe.redSqr();x(ze=0;C--){for(var b=c.words[C],z=a-1;z>=0;z--){var N=b>>z&1;A!==d[0]&&(A=this.sqr(A)),0!==N||0!==k?(k<<=1,k|=N,(4==++_||0===C&&0===z)&&(A=this.mul(A,d[k]),_=0,k=0)):_=0}a=26}return A},Ce.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Ce.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new le(n)},D(le,Ce),le.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},le.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},le.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},8613:(Qe,te,g)=>{var e=g(5667),t=g(715),x=g(7196),D=g(6508),l=g(4105),w=g(7211),f=g(568),R=g(7054).Buffer;Qe.exports=function(I,V,j){var Y;Y=I.padding?I.padding:j?1:4;var J,W=e(I),Q=W.modulus.byteLength();if(V.length>Q||new D(V).cmp(W.modulus)>=0)throw new Error("decryption error");J=j?f(new D(V),W):l(V,W);var ie=R.alloc(Q-J.length);if(J=R.concat([ie,J],Q),4===Y)return function h(O,I){var V=O.modulus.byteLength(),j=w("sha1").update(R.alloc(0)).digest(),Y=j.length;if(0!==I[0])throw new Error("decryption error");var W=I.slice(1,Y+1),Q=I.slice(Y+1),J=x(W,t(Q,Y)),ie=x(Q,t(J,V-Y-1));if(function y(O,I){O=R.from(O),I=R.from(I);var V=0,j=O.length;O.length!==I.length&&(V++,j=Math.min(O.length,I.length));for(var Y=-1;++Y=I.length){W++;break}var Q=I.slice(2,Y-1);if(("0002"!==j.toString("hex")&&!V||"0001"!==j.toString("hex")&&V)&&W++,Q.length<8&&W++,W)throw new Error("decryption error");return I.slice(Y)}(0,J,j);if(3===Y)return J;throw new Error("unknown padding")}},7267:(Qe,te,g)=>{var e=g(5667),t=g(3342),x=g(7211),D=g(715),l=g(7196),w=g(6508),f=g(568),R=g(4105),h=g(7054).Buffer;Qe.exports=function(V,j,Y){var W;W=V.padding?V.padding:Y?1:4;var J,Q=e(V);if(4===W)J=function S(I,V){var j=I.modulus.byteLength(),Y=V.length,W=x("sha1").update(h.alloc(0)).digest(),Q=W.length,J=2*Q;if(Y>j-J-2)throw new Error("message too long");var ie=h.alloc(j-Y-J-2),ee=j-Q-1,fe=t(Q),ne=l(h.concat([W,ie,h.alloc(1,1),V],ee),D(fe,ee)),Me=l(fe,D(ne,Q));return new w(h.concat([h.alloc(1),Me,ne],j))}(Q,j);else if(1===W)J=function y(I,V,j){var Q,Y=V.length,W=I.modulus.byteLength();if(Y>W-11)throw new Error("message too long");return Q=j?h.alloc(W-Y-3,255):function O(I){for(var Q,V=h.allocUnsafe(I),j=0,Y=t(2*I),W=0;j=0)throw new Error("data too long for modulus")}return Y?R(J,Q):f(J,Q)}},568:(Qe,te,g)=>{var e=g(6508),t=g(7054).Buffer;Qe.exports=function x(D,l){return t.from(D.toRed(e.mont(l.modulus)).redPow(new e(l.publicExponent)).fromRed().toArray())}},7196:Qe=>{Qe.exports=function(g,e){for(var t=g.length,x=-1;++x{const e=g(2836),t=g(9460),x=g(7030),D=g(6511);function l(w,f,R,h,S){const y=[].slice.call(arguments,1),O=y.length,I="function"==typeof y[O-1];if(!I&&!e())throw new Error("Callback required as last argument");if(!I){if(O<1)throw new Error("Too few arguments provided");return 1===O?(R=f,f=h=void 0):2===O&&!f.getContext&&(h=R,R=f,f=void 0),new Promise(function(V,j){try{const Y=t.create(R,h);V(w(Y,f,h))}catch(Y){j(Y)}})}if(O<2)throw new Error("Too few arguments provided");2===O?(S=R,R=f,f=h=void 0):3===O&&(f.getContext&&typeof S>"u"?(S=h,h=void 0):(S=h,h=R,R=f,f=void 0));try{const V=t.create(R,h);S(null,w(V,f,h))}catch(V){S(V)}}te.create=t.create,te.toCanvas=l.bind(null,x.render),te.toDataURL=l.bind(null,x.renderToDataURL),te.toString=l.bind(null,function(w,f,R){return D.render(w,R)})},2836:Qe=>{Qe.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6214:(Qe,te,g)=>{const e=g(9089).getSymbolSize;te.getRowColCoords=function(x){if(1===x)return[];const D=Math.floor(x/7)+2,l=e(x),w=145===l?26:2*Math.ceil((l-13)/(2*D-2)),f=[l-7];for(let R=1;R{const e=g(1677),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function x(D){this.mode=e.ALPHANUMERIC,this.data=D}x.getBitsLength=function(l){return 11*Math.floor(l/2)+l%2*6},x.prototype.getLength=function(){return this.data.length},x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)},x.prototype.write=function(l){let w;for(w=0;w+2<=this.data.length;w+=2){let f=45*t.indexOf(this.data[w]);f+=t.indexOf(this.data[w+1]),l.put(f,11)}this.data.length%2&&l.put(t.indexOf(this.data[w]),6)},Qe.exports=x},4662:Qe=>{function te(){this.buffer=[],this.length=0}te.prototype={get:function(g){const e=Math.floor(g/8);return 1==(this.buffer[e]>>>7-g%8&1)},put:function(g,e){for(let t=0;t>>e-t-1&1))},getLengthInBits:function(){return this.length},putBit:function(g){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),g&&(this.buffer[e]|=128>>>this.length%8),this.length++}},Qe.exports=te},8322:Qe=>{function te(g){if(!g||g<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=g,this.data=new Uint8Array(g*g),this.reservedBit=new Uint8Array(g*g)}te.prototype.set=function(g,e,t,x){const D=g*this.size+e;this.data[D]=t,x&&(this.reservedBit[D]=!0)},te.prototype.get=function(g,e){return this.data[g*this.size+e]},te.prototype.xor=function(g,e,t){this.data[g*this.size+e]^=t},te.prototype.isReserved=function(g,e){return this.reservedBit[g*this.size+e]},Qe.exports=te},4969:(Qe,te,g)=>{const e=g(1677);function t(x){this.mode=e.BYTE,this.data="string"==typeof x?(new TextEncoder).encode(x):new Uint8Array(x)}t.getBitsLength=function(D){return 8*D},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(x){for(let D=0,l=this.data.length;D{const e=g(7424),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],x=[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];te.getBlocksCount=function(l,w){switch(w){case e.L:return t[4*(l-1)+0];case e.M:return t[4*(l-1)+1];case e.Q:return t[4*(l-1)+2];case e.H:return t[4*(l-1)+3];default:return}},te.getTotalCodewordsCount=function(l,w){switch(w){case e.L:return x[4*(l-1)+0];case e.M:return x[4*(l-1)+1];case e.Q:return x[4*(l-1)+2];case e.H:return x[4*(l-1)+3];default:return}}},7424:(Qe,te)=>{te.L={bit:1},te.M={bit:0},te.Q={bit:3},te.H={bit:2},te.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4},te.from=function(t,x){if(te.isValid(t))return t;try{return function g(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return te.L;case"m":case"medium":return te.M;case"q":case"quartile":return te.Q;case"h":case"high":return te.H;default:throw new Error("Unknown EC Level: "+e)}}(t)}catch{return x}}},6269:(Qe,te,g)=>{const e=g(9089).getSymbolSize;te.getPositions=function(D){const l=e(D);return[[0,0],[l-7,0],[0,l-7]]}},6254:(Qe,te,g)=>{const e=g(9089),D=e.getBCHDigit(1335);te.getEncodedBits=function(w,f){const R=w.bit<<3|f;let h=R<<10;for(;e.getBCHDigit(h)-D>=0;)h^=1335<{const g=new Uint8Array(512),e=new Uint8Array(256);(function(){let x=1;for(let D=0;D<255;D++)g[D]=x,e[x]=D,x<<=1,256&x&&(x^=285);for(let D=255;D<512;D++)g[D]=g[D-255]})(),te.log=function(x){if(x<1)throw new Error("log("+x+")");return e[x]},te.exp=function(x){return g[x]},te.mul=function(x,D){return 0===x||0===D?0:g[e[x]+e[D]]}},3264:(Qe,te,g)=>{const e=g(1677),t=g(9089);function x(D){this.mode=e.KANJI,this.data=D}x.getBitsLength=function(l){return 13*l},x.prototype.getLength=function(){return this.data.length},x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)},x.prototype.write=function(D){let l;for(l=0;l=33088&&w<=40956)w-=33088;else{if(!(w>=57408&&w<=60351))throw new Error("Invalid SJIS character: "+this.data[l]+"\nMake sure your charset is UTF-8");w-=49472}w=192*(w>>>8&255)+(255&w),D.put(w,13)}},Qe.exports=x},3361:(Qe,te)=>{te.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function e(t,x,D){switch(t){case te.Patterns.PATTERN000:return(x+D)%2==0;case te.Patterns.PATTERN001:return x%2==0;case te.Patterns.PATTERN010:return D%3==0;case te.Patterns.PATTERN011:return(x+D)%3==0;case te.Patterns.PATTERN100:return(Math.floor(x/2)+Math.floor(D/3))%2==0;case te.Patterns.PATTERN101:return x*D%2+x*D%3==0;case te.Patterns.PATTERN110:return(x*D%2+x*D%3)%2==0;case te.Patterns.PATTERN111:return(x*D%3+(x+D)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}te.isValid=function(x){return null!=x&&""!==x&&!isNaN(x)&&x>=0&&x<=7},te.from=function(x){return te.isValid(x)?parseInt(x,10):void 0},te.getPenaltyN1=function(x){const D=x.size;let l=0,w=0,f=0,R=null,h=null;for(let S=0;S=5&&(l+=w-5+3),R=O,w=1),O=x.get(y,S),O===h?f++:(f>=5&&(l+=f-5+3),h=O,f=1)}w>=5&&(l+=w-5+3),f>=5&&(l+=f-5+3)}return l},te.getPenaltyN2=function(x){const D=x.size;let l=0;for(let w=0;w=10&&(1488===w||93===w)&&l++,f=f<<1&2047|x.get(h,R),h>=10&&(1488===f||93===f)&&l++}return 40*l},te.getPenaltyN4=function(x){let D=0;const l=x.data.length;for(let f=0;f{const e=g(377),t=g(9359);te.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},te.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},te.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},te.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},te.MIXED={bit:-1},te.getCharCountIndicator=function(l,w){if(!l.ccBits)throw new Error("Invalid mode: "+l);if(!e.isValid(w))throw new Error("Invalid version: "+w);return w>=1&&w<10?l.ccBits[0]:w<27?l.ccBits[1]:l.ccBits[2]},te.getBestModeForData=function(l){return t.testNumeric(l)?te.NUMERIC:t.testAlphanumeric(l)?te.ALPHANUMERIC:t.testKanji(l)?te.KANJI:te.BYTE},te.toString=function(l){if(l&&l.id)return l.id;throw new Error("Invalid mode")},te.isValid=function(l){return l&&l.bit&&l.ccBits},te.from=function(l,w){if(te.isValid(l))return l;try{return function x(D){if("string"!=typeof D)throw new Error("Param is not a string");switch(D.toLowerCase()){case"numeric":return te.NUMERIC;case"alphanumeric":return te.ALPHANUMERIC;case"kanji":return te.KANJI;case"byte":return te.BYTE;default:throw new Error("Unknown mode: "+D)}}(l)}catch{return w}}},6628:(Qe,te,g)=>{const e=g(1677);function t(x){this.mode=e.NUMERIC,this.data=x.toString()}t.getBitsLength=function(D){return 10*Math.floor(D/3)+(D%3?D%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(D){let l,w,f;for(l=0;l+3<=this.data.length;l+=3)w=this.data.substr(l,3),f=parseInt(w,10),D.put(f,10);const R=this.data.length-l;R>0&&(w=this.data.substr(l),f=parseInt(w,10),D.put(f,3*R+1))},Qe.exports=t},1744:(Qe,te,g)=>{const e=g(6686);te.mul=function(x,D){const l=new Uint8Array(x.length+D.length-1);for(let w=0;w=0;){const w=l[0];for(let R=0;R{const e=g(9089),t=g(7424),x=g(4662),D=g(8322),l=g(6214),w=g(6269),f=g(3361),R=g(3677),h=g(6289),S=g(1252),y=g(6254),O=g(1677),I=g(2868);function Q(ne,Me,Ce){const le=ne.size,T=y.getEncodedBits(Me,Ce);let n,c;for(n=0;n<15;n++)c=1==(T>>n&1),ne.set(n<6?n:n<8?n+1:le-15+n,8,c,!0),ne.set(8,n<8?le-n-1:n<9?15-n-1+1:15-n-1,c,!0);ne.set(le-8,8,1,!0)}function fe(ne,Me,Ce,le){let T;if(Array.isArray(ne))T=I.fromArray(ne);else{if("string"!=typeof ne)throw new Error("Invalid data");{let C=Me;if(!C){const A=I.rawSplit(ne);C=S.getBestVersionForData(A,Ce)}T=I.fromString(ne,C||40)}}const n=S.getBestVersionForData(T,Ce);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(Me){if(Me=0&&m<=6&&(0===d||6===d)||d>=0&&d<=6&&(0===m||6===m)||m>=2&&m<=4&&d>=2&&d<=4,!0)}}(d,Me),function j(ne){const Me=ne.size;for(let Ce=8;Ce=7&&function W(ne,Me){const Ce=ne.size,le=S.getEncodedBits(Me);let T,n,c;for(let m=0;m<18;m++)T=Math.floor(m/3),n=m%3+Ce-8-3,c=1==(le>>m&1),ne.set(T,n,c,!0),ne.set(n,T,c,!0)}(d,Me),function J(ne,Me){const Ce=ne.size;let le=-1,T=Ce-1,n=7,c=0;for(let m=Ce-1;m>0;m-=2)for(6===m&&m--;;){for(let d=0;d<2;d++)if(!ne.isReserved(T,m-d)){let C=!1;c>>n&1)),ne.set(T,m-d,C),n--,-1===n&&(c++,n=7)}if(T+=le,T<0||Ce<=T){T-=le,le=-le;break}}}(d,c),isNaN(le)&&(le=f.getBestMask(d,Q.bind(null,d,Ce))),f.applyMask(le,d),Q(d,Ce,le),{modules:d,version:Me,errorCorrectionLevel:Ce,maskPattern:le,segments:T}}te.create=function(Me,Ce){if(typeof Me>"u"||""===Me)throw new Error("No input text");let T,n,le=t.M;return typeof Ce<"u"&&(le=t.from(Ce.errorCorrectionLevel,t.M),T=S.from(Ce.version),n=f.from(Ce.maskPattern),Ce.toSJISFunc&&e.setToSJISFunction(Ce.toSJISFunc)),fe(Me,T,le,n)}},6289:(Qe,te,g)=>{const e=g(1744);function t(x){this.genPoly=void 0,this.degree=x,this.degree&&this.initialize(this.degree)}t.prototype.initialize=function(D){this.degree=D,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(D){if(!this.genPoly)throw new Error("Encoder not initialized");const l=new Uint8Array(D.length+this.degree);l.set(D);const w=e.mod(l,this.genPoly),f=this.degree-w.length;if(f>0){const R=new Uint8Array(this.degree);return R.set(w,f),R}return w},Qe.exports=t},9359:(Qe,te)=>{const g="[0-9]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const x="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+")(?:.|[\r\n]))+";te.KANJI=new RegExp(t,"g"),te.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),te.BYTE=new RegExp(x,"g"),te.NUMERIC=new RegExp(g,"g"),te.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const D=new RegExp("^"+t+"$"),l=new RegExp("^"+g+"$"),w=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");te.testKanji=function(R){return D.test(R)},te.testNumeric=function(R){return l.test(R)},te.testAlphanumeric=function(R){return w.test(R)}},2868:(Qe,te,g)=>{const e=g(1677),t=g(6628),x=g(1018),D=g(4969),l=g(3264),w=g(9359),f=g(9089),R=g(243);function h(W){return unescape(encodeURIComponent(W)).length}function S(W,Q,J){const ie=[];let ee;for(;null!==(ee=W.exec(J));)ie.push({data:ee[0],index:ee.index,mode:Q,length:ee[0].length});return ie}function y(W){const Q=S(w.NUMERIC,e.NUMERIC,W),J=S(w.ALPHANUMERIC,e.ALPHANUMERIC,W);let ie,ee;return f.isKanjiModeEnabled()?(ie=S(w.BYTE,e.BYTE,W),ee=S(w.KANJI,e.KANJI,W)):(ie=S(w.BYTE_KANJI,e.BYTE,W),ee=[]),Q.concat(J,ie,ee).sort(function(ne,Me){return ne.index-Me.index}).map(function(ne){return{data:ne.data,mode:ne.mode,length:ne.length}})}function O(W,Q){switch(Q){case e.NUMERIC:return t.getBitsLength(W);case e.ALPHANUMERIC:return x.getBitsLength(W);case e.KANJI:return l.getBitsLength(W);case e.BYTE:return D.getBitsLength(W)}}function Y(W,Q){let J;const ie=e.getBestModeForData(W);if(J=e.from(Q,ie),J!==e.BYTE&&J.bit=0?Q[Q.length-1]:null;return ie&&ie.mode===J.mode?(Q[Q.length-1].data+=J.data,Q):(Q.push(J),Q)},[])}(Me))},te.rawSplit=function(Q){return te.fromArray(y(Q,f.isKanjiModeEnabled()))}},9089:(Qe,te)=>{let g;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];te.getSymbolSize=function(x){if(!x)throw new Error('"version" cannot be null or undefined');if(x<1||x>40)throw new Error('"version" should be in range from 1 to 40');return 4*x+17},te.getSymbolTotalCodewords=function(x){return e[x]},te.getBCHDigit=function(t){let x=0;for(;0!==t;)x++,t>>>=1;return x},te.setToSJISFunction=function(x){if("function"!=typeof x)throw new Error('"toSJISFunc" is not a valid function.');g=x},te.isKanjiModeEnabled=function(){return typeof g<"u"},te.toSJIS=function(x){return g(x)}},377:(Qe,te)=>{te.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},1252:(Qe,te,g)=>{const e=g(9089),t=g(3677),x=g(7424),D=g(1677),l=g(377),f=e.getBCHDigit(7973);function h(O,I){return D.getCharCountIndicator(O,I)+4}function S(O,I){let V=0;return O.forEach(function(j){const Y=h(j.mode,I);V+=Y+j.getBitsLength()}),V}te.from=function(I,V){return l.isValid(I)?parseInt(I,10):V},te.getCapacity=function(I,V,j){if(!l.isValid(I))throw new Error("Invalid QR Code version");typeof j>"u"&&(j=D.BYTE);const Q=8*(e.getSymbolTotalCodewords(I)-t.getTotalCodewordsCount(I,V));if(j===D.MIXED)return Q;const J=Q-h(j,I);switch(j){case D.NUMERIC:return Math.floor(J/10*3);case D.ALPHANUMERIC:return Math.floor(J/11*2);case D.KANJI:return Math.floor(J/13);default:return Math.floor(J/8)}},te.getBestVersionForData=function(I,V){let j;const Y=x.from(V,x.M);if(Array.isArray(I)){if(I.length>1)return function y(O,I){for(let V=1;V<=40;V++)if(S(O,V)<=te.getCapacity(V,I,D.MIXED))return V}(I,Y);if(0===I.length)return 1;j=I[0]}else j=I;return function R(O,I,V){for(let j=1;j<=40;j++)if(I<=te.getCapacity(j,V,O))return j}(j.mode,j.getLength(),Y)},te.getEncodedBits=function(I){if(!l.isValid(I)||I<7)throw new Error("Invalid QR Code version");let V=I<<12;for(;e.getBCHDigit(V)-f>=0;)V^=7973<{const e=g(7077);te.render=function(l,w,f){let R=f,h=w;typeof R>"u"&&(!w||!w.getContext)&&(R=w,w=void 0),w||(h=function x(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),R=e.getOptions(R);const S=e.getImageWidth(l.modules.size,R),y=h.getContext("2d"),O=y.createImageData(S,S);return e.qrToImageData(O.data,l,R),function t(D,l,w){D.clearRect(0,0,l.width,l.height),l.style||(l.style={}),l.height=w,l.width=w,l.style.height=w+"px",l.style.width=w+"px"}(y,h,S),y.putImageData(O,0,0),h},te.renderToDataURL=function(l,w,f){let R=f;return typeof R>"u"&&(!w||!w.getContext)&&(R=w,w=void 0),R||(R={}),te.render(l,w,R).toDataURL(R.type||"image/png",(R.rendererOpts||{}).quality)}},6511:(Qe,te,g)=>{const e=g(7077);function t(l,w){const f=l.a/255,R=w+'="'+l.hex+'"';return f<1?R+" "+w+'-opacity="'+f.toFixed(2).slice(1)+'"':R}function x(l,w,f){let R=l+w;return typeof f<"u"&&(R+=" "+f),R}te.render=function(w,f,R){const h=e.getOptions(f),S=w.modules.size,y=w.modules.data,O=S+2*h.margin,I=h.color.light.a?"':"",V="0&&I>0&&l[O-1]||(R+=S?x("M",I+f,.5+V+f):x("m",h,0),h=0,S=!1),I+1',W=''+I+V+"\n";return"function"==typeof R&&R(null,W),W}},7077:(Qe,te)=>{function g(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(D){return[D,D]}))),6===t.length&&t.push("F","F");const x=parseInt(t.join(""),16);return{r:x>>24&255,g:x>>16&255,b:x>>8&255,a:255&x,hex:"#"+t.slice(0,6).join("")}}te.getOptions=function(t){t||(t={}),t.color||(t.color={});const D=t.width&&t.width>=21?t.width:void 0;return{width:D,scale:D?4:t.scale||4,margin:typeof t.margin>"u"||null===t.margin||t.margin<0?4:t.margin,color:{dark:g(t.color.dark||"#000000ff"),light:g(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},te.getScale=function(t,x){return x.width&&x.width>=t+2*x.margin?x.width/(t+2*x.margin):x.scale},te.getImageWidth=function(t,x){const D=te.getScale(t,x);return Math.floor((t+2*x.margin)*D)},te.qrToImageData=function(t,x,D){const l=x.modules.size,w=x.modules.data,f=te.getScale(l,D),R=Math.floor((l+2*D.margin)*f),h=D.margin*f,S=[D.color.light,D.color.dark];for(let y=0;y=h&&O>=h&&y{"use strict";var e=65536,D=g(7054).Buffer,l=global.crypto||global.msCrypto;Qe.exports=l&&l.getRandomValues?function w(f,R){if(f>4294967295)throw new RangeError("requested too many random bytes");var h=D.allocUnsafe(f);if(f>0)if(f>e)for(var S=0;S{"use strict";function e(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var t=g(7054),x=g(3342),D=t.Buffer,l=t.kMaxLength,w=global.crypto||global.msCrypto,f=Math.pow(2,32)-1;function R(I,V){if("number"!=typeof I||I!=I)throw new TypeError("offset must be a number");if(I>f||I<0)throw new TypeError("offset must be a uint32");if(I>l||I>V)throw new RangeError("offset out of range")}function h(I,V,j){if("number"!=typeof I||I!=I)throw new TypeError("size must be a number");if(I>f||I<0)throw new TypeError("size must be a uint32");if(I+V>j||I>l)throw new RangeError("buffer too small")}function y(I,V,j,Y){if(process.browser){var Q=new Uint8Array(I.buffer,V,j);return w.getRandomValues(Q),Y?void process.nextTick(function(){Y(null,I)}):I}if(!Y)return x(j).copy(I,V),I;x(j,function(ie,ee){if(ie)return Y(ie);ee.copy(I,V),Y(null,I)})}w&&w.getRandomValues||!process.browser?(te.randomFill=function S(I,V,j,Y){if(!(D.isBuffer(I)||I instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof V)Y=V,V=0,j=I.length;else if("function"==typeof j)Y=j,j=I.length-V;else if("function"!=typeof Y)throw new TypeError('"cb" argument must be a function');return R(V,I.length),h(j,V,I.length),y(I,V,j,Y)},te.randomFillSync=function O(I,V,j){if(typeof V>"u"&&(V=0),!(D.isBuffer(I)||I instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return R(V,I.length),void 0===j&&(j=I.length-V),h(j,V,I.length),y(I,V,j)}):(te.randomFill=e,te.randomFillSync=e)},4075:(Qe,te,g)=>{"use strict";var e=g(9656),t=Object.keys||function(O){var I=[];for(var V in O)I.push(V);return I};Qe.exports=h;var x=Object.create(g(7637));x.inherits=g(1993);var D=g(9609),l=g(7849);x.inherits(h,D);for(var w=t(l.prototype),f=0;f{"use strict";Qe.exports=x;var e=g(2909),t=Object.create(g(7637));function x(D){if(!(this instanceof x))return new x(D);e.call(this,D)}t.inherits=g(1993),t.inherits(x,e),x.prototype._transform=function(D,l,w){w(null,D)}},9609:(Qe,te,g)=>{"use strict";var e=g(9656);Qe.exports=ie;var x,t=g(53);ie.ReadableState=J,g(4356);var l=function(oe,X){return oe.listeners(X).length},w=g(8342),f=g(2655).Buffer,R=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},y=Object.create(g(7637));y.inherits=g(1993);var O=g(9838),I=void 0;I=O&&O.debuglog?O.debuglog("stream"):function(){};var Y,V=g(7809),j=g(1509);y.inherits(ie,w);var W=["error","close","destroy","pause","resume"];function J(oe,X){var se=X instanceof(x=x||g(4075));this.objectMode=!!(oe=oe||{}).objectMode,se&&(this.objectMode=this.objectMode||!!oe.readableObjectMode);var ae=oe.highWaterMark,he=oe.readableHighWaterMark;this.highWaterMark=ae||0===ae?ae:se&&(he||0===he)?he:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new V,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=oe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,oe.encoding&&(Y||(Y=g(8454).I),this.decoder=new Y(oe.encoding),this.encoding=oe.encoding)}function ie(oe){if(x=x||g(4075),!(this instanceof ie))return new ie(oe);this._readableState=new J(oe,this),this.readable=!0,oe&&("function"==typeof oe.read&&(this._read=oe.read),"function"==typeof oe.destroy&&(this._destroy=oe.destroy)),w.call(this)}function ee(oe,X,se,ae,he){var st,Ie=oe._readableState;return null===X?(Ie.reading=!1,function n(oe,X){if(!X.ended){if(X.decoder){var se=X.decoder.end();se&&se.length&&(X.buffer.push(se),X.length+=X.objectMode?1:se.length)}X.ended=!0,c(oe)}}(oe,Ie)):(he||(st=function ne(oe,X){var se;return!function S(oe){return f.isBuffer(oe)||oe instanceof R}(X)&&"string"!=typeof X&&void 0!==X&&!oe.objectMode&&(se=new TypeError("Invalid non-string/buffer chunk")),se}(Ie,X)),st?oe.emit("error",st):Ie.objectMode||X&&X.length>0?("string"!=typeof X&&!Ie.objectMode&&Object.getPrototypeOf(X)!==f.prototype&&(X=function h(oe){return f.from(oe)}(X)),ae?Ie.endEmitted?oe.emit("error",new Error("stream.unshift() after end event")):fe(oe,Ie,X,!0):Ie.ended?oe.emit("error",new Error("stream.push() after EOF")):(Ie.reading=!1,Ie.decoder&&!se?(X=Ie.decoder.write(X),Ie.objectMode||0!==X.length?fe(oe,Ie,X,!1):d(oe,Ie)):fe(oe,Ie,X,!1))):ae||(Ie.reading=!1)),function Me(oe){return!oe.ended&&(oe.needReadable||oe.lengthX.highWaterMark&&(X.highWaterMark=function le(oe){return oe>=8388608?oe=8388608:(oe--,oe|=oe>>>1,oe|=oe>>>2,oe|=oe>>>4,oe|=oe>>>8,oe|=oe>>>16,oe++),oe}(oe)),oe<=X.length?oe:X.ended?X.length:(X.needReadable=!0,0))}function c(oe){var X=oe._readableState;X.needReadable=!1,X.emittedReadable||(I("emitReadable",X.flowing),X.emittedReadable=!0,X.sync?e.nextTick(m,oe):m(oe))}function m(oe){I("emit readable"),oe.emit("readable"),b(oe)}function d(oe,X){X.readingMore||(X.readingMore=!0,e.nextTick(C,oe,X))}function C(oe,X){for(var se=X.length;!X.reading&&!X.flowing&&!X.ended&&X.length=X.length?(se=X.decoder?X.buffer.join(""):1===X.buffer.length?X.buffer.head.data:X.buffer.concat(X.length),X.buffer.clear()):se=function N(oe,X,se){var ae;return oeIe.length?Ie.length:oe;if(he+=st===Ie.length?Ie:Ie.slice(0,oe),0==(oe-=st)){st===Ie.length?(++ae,X.head=se.next?se.next:X.tail=null):(X.head=se,se.data=Ie.slice(st));break}++ae}return X.length-=ae,he}(oe,X):function pe(oe,X){var se=f.allocUnsafe(oe),ae=X.head,he=1;for(ae.data.copy(se),oe-=ae.data.length;ae=ae.next;){var Ie=ae.data,st=oe>Ie.length?Ie.length:oe;if(Ie.copy(se,se.length-oe,0,st),0==(oe-=st)){st===Ie.length?(++he,X.head=ae.next?ae.next:X.tail=null):(X.head=ae,ae.data=Ie.slice(st));break}++he}return X.length-=he,se}(oe,X),ae}(oe,X.buffer,X.decoder),se);var se}function ze(oe){var X=oe._readableState;if(X.length>0)throw new Error('"endReadable()" called on non-empty stream');X.endEmitted||(X.ended=!0,e.nextTick(Xe,X,oe))}function Xe(oe,X){!oe.endEmitted&&0===oe.length&&(oe.endEmitted=!0,X.readable=!1,X.emit("end"))}function We(oe,X){for(var se=0,ae=oe.length;se=X.highWaterMark||X.ended))return I("read: emitReadable",X.length,X.ended),0===X.length&&X.ended?ze(this):c(this),null;if(0===(oe=T(oe,X))&&X.ended)return 0===X.length&&ze(this),null;var he,ae=X.needReadable;return I("need readable",ae),(0===X.length||X.length-oe0?z(oe,X):null)?(X.needReadable=!0,oe=0):X.length-=oe,0===X.length&&(X.ended||(X.needReadable=!0),se!==oe&&X.ended&&ze(this)),null!==he&&this.emit("data",he),he},ie.prototype._read=function(oe){this.emit("error",new Error("_read() is not implemented"))},ie.prototype.pipe=function(oe,X){var se=this,ae=this._readableState;switch(ae.pipesCount){case 0:ae.pipes=oe;break;case 1:ae.pipes=[ae.pipes,oe];break;default:ae.pipes.push(oe)}ae.pipesCount+=1,I("pipe count=%d opts=%j",ae.pipesCount,X);var Ie=X&&!1===X.end||oe===process.stdout||oe===process.stderr?_e:me;function me(){I("onend"),oe.end()}ae.endEmitted?e.nextTick(Ie):se.once("end",Ie),oe.on("unpipe",function st(we,Ue){I("onunpipe"),we===se&&Ue&&!1===Ue.hasUnpiped&&(Ue.hasUnpiped=!0,function Be(){I("cleanup"),oe.removeListener("close",Yt),oe.removeListener("finish",ve),oe.removeListener("drain",Ee),oe.removeListener("error",dt),oe.removeListener("unpipe",st),se.removeListener("end",me),se.removeListener("end",_e),se.removeListener("data",ct),ue=!0,ae.awaitDrain&&(!oe._writableState||oe._writableState.needDrain)&&Ee()}())});var Ee=function A(oe){return function(){var X=oe._readableState;I("pipeOnDrain",X.awaitDrain),X.awaitDrain&&X.awaitDrain--,0===X.awaitDrain&&l(oe,"data")&&(X.flowing=!0,b(oe))}}(se);oe.on("drain",Ee);var ue=!1,Ct=!1;function ct(we){I("ondata"),Ct=!1,!1===oe.write(we)&&!Ct&&((1===ae.pipesCount&&ae.pipes===oe||ae.pipesCount>1&&-1!==We(ae.pipes,oe))&&!ue&&(I("false write response, pause",ae.awaitDrain),ae.awaitDrain++,Ct=!0),se.pause())}function dt(we){I("onerror",we),_e(),oe.removeListener("error",dt),0===l(oe,"error")&&oe.emit("error",we)}function Yt(){oe.removeListener("finish",ve),_e()}function ve(){I("onfinish"),oe.removeListener("close",Yt),_e()}function _e(){I("unpipe"),se.unpipe(oe)}return se.on("data",ct),function Q(oe,X,se){if("function"==typeof oe.prependListener)return oe.prependListener(X,se);oe._events&&oe._events[X]?t(oe._events[X])?oe._events[X].unshift(se):oe._events[X]=[se,oe._events[X]]:oe.on(X,se)}(oe,"error",dt),oe.once("close",Yt),oe.once("finish",ve),oe.emit("pipe",se),ae.flowing||(I("pipe resume"),se.resume()),oe},ie.prototype.unpipe=function(oe){var X=this._readableState,se={hasUnpiped:!1};if(0===X.pipesCount)return this;if(1===X.pipesCount)return oe&&oe!==X.pipes||(oe||(oe=X.pipes),X.pipes=null,X.pipesCount=0,X.flowing=!1,oe&&oe.emit("unpipe",this,se)),this;if(!oe){var ae=X.pipes,he=X.pipesCount;X.pipes=null,X.pipesCount=0,X.flowing=!1;for(var Ie=0;Ie{"use strict";Qe.exports=D;var e=g(4075),t=Object.create(g(7637));function x(f,R){var h=this._transformState;h.transforming=!1;var S=h.writecb;if(!S)return this.emit("error",new Error("write callback called multiple times"));h.writechunk=null,h.writecb=null,null!=R&&this.push(R),S(f);var y=this._readableState;y.reading=!1,(y.needReadable||y.length{"use strict";var e=g(9656);function x(_){var a=this;this.next=null,this.entry=null,this.finish=function(){!function k(_,a,b){var z=_.entry;for(_.entry=null;z;){var N=z.callback;a.pendingcb--,N(b),z=z.next}a.corkedRequestsFree.next=_}(a,_)}}Qe.exports=W;var l,D=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:e.nextTick;W.WritableState=j;var w=Object.create(g(7637));w.inherits=g(1993);var Y,f={deprecate:g(3398)},R=g(8342),h=g(2655).Buffer,S=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},I=g(1509);function V(){}function j(_,a){l=l||g(4075);var b=a instanceof l;this.objectMode=!!(_=_||{}).objectMode,b&&(this.objectMode=this.objectMode||!!_.writableObjectMode);var z=_.highWaterMark,N=_.writableHighWaterMark;this.highWaterMark=z||0===z?z:b&&(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(ze){!function Ce(_,a){var b=_._writableState,z=b.sync,N=b.writecb;if(function Me(_){_.writing=!1,_.writecb=null,_.length-=_.writelen,_.writelen=0}(b),a)!function ne(_,a,b,z,N){--a.pendingcb,b?(e.nextTick(N,z),e.nextTick(C,_,a),_._writableState.errorEmitted=!0,_.emit("error",z)):(N(z),_._writableState.errorEmitted=!0,_.emit("error",z),C(_,a))}(_,b,z,a,N);else{var q=c(b);!q&&!b.corked&&!b.bufferProcessing&&b.bufferedRequest&&n(_,b),z?D(le,_,b,q,N):le(_,b,q,N)}}(a,ze)},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 x(this)}function W(_){if(l=l||g(4075),!(Y.call(W,this)||this instanceof l))return new W(_);this._writableState=new j(_,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 fe(_,a,b,z,N,q,pe){a.writelen=z,a.writecb=pe,a.writing=!0,a.sync=!0,b?_._writev(N,a.onwrite):_._write(N,q,a.onwrite),a.sync=!1}function le(_,a,b,z){b||function T(_,a){0===a.length&&a.needDrain&&(a.needDrain=!1,_.emit("drain"))}(_,a),a.pendingcb--,z(),C(_,a)}function n(_,a){a.bufferProcessing=!0;var b=a.bufferedRequest;if(_._writev&&b&&b.next){var N=new Array(a.bufferedRequestCount),q=a.corkedRequestsFree;q.entry=b;for(var pe=0,ze=!0;b;)N[pe]=b,b.isBuf||(ze=!1),b=b.next,pe+=1;N.allBuffers=ze,fe(_,a,!0,a.length,N,"",q.finish),a.pendingcb++,a.lastBufferedRequest=null,q.next?(a.corkedRequestsFree=q.next,q.next=null):a.corkedRequestsFree=new x(a),a.bufferedRequestCount=0}else{for(;b;){var Xe=b.chunk;if(fe(_,a,!1,a.objectMode?1:Xe.length,Xe,b.encoding,b.callback),b=b.next,a.bufferedRequestCount--,a.writing)break}null===b&&(a.lastBufferedRequest=null)}a.bufferedRequest=b,a.bufferProcessing=!1}function c(_){return _.ending&&0===_.length&&null===_.bufferedRequest&&!_.finished&&!_.writing}function m(_,a){_._final(function(b){a.pendingcb--,b&&_.emit("error",b),a.prefinished=!0,_.emit("prefinish"),C(_,a)})}function C(_,a){var b=c(a);return b&&(function d(_,a){!a.prefinished&&!a.finalCalled&&("function"==typeof _._final?(a.pendingcb++,a.finalCalled=!0,e.nextTick(m,_,a)):(a.prefinished=!0,_.emit("prefinish")))}(_,a),0===a.pendingcb&&(a.finished=!0,_.emit("finish"))),b}w.inherits(W,R),j.prototype.getBuffer=function(){for(var a=this.bufferedRequest,b=[];a;)b.push(a),a=a.next;return b},function(){try{Object.defineProperty(j.prototype,"buffer",{get:f.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]?(Y=Function.prototype[Symbol.hasInstance],Object.defineProperty(W,Symbol.hasInstance,{value:function(_){return!!Y.call(this,_)||this===W&&_&&_._writableState instanceof j}})):Y=function(_){return _ instanceof this},W.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},W.prototype.write=function(_,a,b){var z=this._writableState,N=!1,q=!z.objectMode&&function O(_){return h.isBuffer(_)||_ instanceof S}(_);return q&&!h.isBuffer(_)&&(_=function y(_){return h.from(_)}(_)),"function"==typeof a&&(b=a,a=null),q?a="buffer":a||(a=z.defaultEncoding),"function"!=typeof b&&(b=V),z.ended?function Q(_,a){var b=new Error("write after end");_.emit("error",b),e.nextTick(a,b)}(this,b):(q||function J(_,a,b,z){var N=!0,q=!1;return null===b?q=new TypeError("May not write null values to stream"):"string"!=typeof b&&void 0!==b&&!a.objectMode&&(q=new TypeError("Invalid non-string/buffer chunk")),q&&(_.emit("error",q),e.nextTick(z,q),N=!1),N}(this,z,_,b))&&(z.pendingcb++,N=function ee(_,a,b,z,N,q){if(!b){var pe=function ie(_,a,b){return!_.objectMode&&!1!==_.decodeStrings&&"string"==typeof a&&(a=h.from(a,b)),a}(a,z,N);z!==pe&&(b=!0,N="buffer",z=pe)}var ze=a.objectMode?1:z.length;a.length+=ze;var Xe=a.length-1))throw new TypeError("Unknown encoding: "+a);return this._writableState.defaultEncoding=a,this},Object.defineProperty(W.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),W.prototype._write=function(_,a,b){b(new Error("_write() is not implemented"))},W.prototype._writev=null,W.prototype.end=function(_,a,b){var z=this._writableState;"function"==typeof _?(b=_,_=null,a=null):"function"==typeof a&&(b=a,a=null),null!=_&&this.write(_,a),z.corked&&(z.corked=1,this.uncork()),z.ending||function A(_,a,b){a.ending=!0,C(_,a),b&&(a.finished?e.nextTick(b):_.once("finish",b)),a.ended=!0,_.writable=!1}(this,z,b)},Object.defineProperty(W.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(_){this._writableState&&(this._writableState.destroyed=_)}}),W.prototype.destroy=I.destroy,W.prototype._undestroy=I.undestroy,W.prototype._destroy=function(_,a){this.end(),a(_)}},7809:(Qe,te,g)=>{"use strict";var t=g(2655).Buffer,x=g(5340);function D(l,w,f){l.copy(w,f)}Qe.exports=function(){function l(){(function e(l,w){if(!(l instanceof w))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(f){var R={data:f,next:null};this.length>0?this.tail.next=R:this.head=R,this.tail=R,++this.length},l.prototype.unshift=function(f){var R={data:f,next:this.head};0===this.length&&(this.tail=R),this.head=R,++this.length},l.prototype.shift=function(){if(0!==this.length){var f=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,f}},l.prototype.clear=function(){this.head=this.tail=null,this.length=0},l.prototype.join=function(f){if(0===this.length)return"";for(var R=this.head,h=""+R.data;R=R.next;)h+=f+R.data;return h},l.prototype.concat=function(f){if(0===this.length)return t.alloc(0);for(var R=t.allocUnsafe(f>>>0),h=this.head,S=0;h;)D(h.data,R,S),S+=h.data.length,h=h.next;return R},l}(),x&&x.inspect&&x.inspect.custom&&(Qe.exports.prototype[x.inspect.custom]=function(){var l=x.inspect({length:this.length});return this.constructor.name+" "+l})},1509:(Qe,te,g)=>{"use strict";var e=g(9656);function D(l,w){l.emit("error",w)}Qe.exports={destroy:function t(l,w){var f=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(w?w(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(D,this,l)):e.nextTick(D,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(S){!w&&S?f._writableState?f._writableState.errorEmitted||(f._writableState.errorEmitted=!0,e.nextTick(D,f,S)):e.nextTick(D,f,S):w&&w(S)}),this)},undestroy:function x(){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:(Qe,te,g)=>{Qe.exports=g(4356).EventEmitter},2655:(Qe,te,g)=>{var e=g(3838),t=e.Buffer;function x(l,w){for(var f in l)w[f]=l[f]}function D(l,w,f){return t(l,w,f)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Qe.exports=e:(x(e,te),te.Buffer=D),x(t,D),D.from=function(l,w,f){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,w,f)},D.alloc=function(l,w,f){if("number"!=typeof l)throw new TypeError("Argument must be a number");var R=t(l);return void 0!==w?"string"==typeof f?R.fill(w,f):R.fill(w):R.fill(0),R},D.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},D.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},5942:(Qe,te,g)=>{(te=Qe.exports=g(9609)).Stream=te,te.Readable=te,te.Writable=g(7849),te.Duplex=g(4075),te.Transform=g(2909),te.PassThrough=g(8823)},6021:Qe=>{"use strict";function te(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}Qe.exports=function g(t){if((t=t||{}).circles)return function e(t){const x=[],D=[],l=new Map;if(l.set(Date,S=>new Date(S)),l.set(Map,(S,y)=>new Map(f(Array.from(S),y))),l.set(Set,(S,y)=>new Set(f(Array.from(S),y))),t.constructorHandlers)for(const S of t.constructorHandlers)l.set(S[0],S[1]);let w=null;return t.proto?function h(S){if("object"!=typeof S||null===S)return S;if(Array.isArray(S))return f(S,h);if(S.constructor!==Object&&(w=l.get(S.constructor)))return w(S,h);const y={};x.push(S),D.push(y);for(const O in S){const I=S[O];if("object"!=typeof I||null===I)y[O]=I;else if(I.constructor!==Object&&(w=l.get(I.constructor)))y[O]=w(I,h);else if(ArrayBuffer.isView(I))y[O]=te(I);else{const V=x.indexOf(I);y[O]=-1!==V?D[V]:h(I)}}return x.pop(),D.pop(),y}:function R(S){if("object"!=typeof S||null===S)return S;if(Array.isArray(S))return f(S,R);if(S.constructor!==Object&&(w=l.get(S.constructor)))return w(S,R);const y={};x.push(S),D.push(y);for(const O in S){if(!1===Object.hasOwnProperty.call(S,O))continue;const I=S[O];if("object"!=typeof I||null===I)y[O]=I;else if(I.constructor!==Object&&(w=l.get(I.constructor)))y[O]=w(I,R);else if(ArrayBuffer.isView(I))y[O]=te(I);else{const V=x.indexOf(I);y[O]=-1!==V?D[V]:R(I)}}return x.pop(),D.pop(),y};function f(S,y){const O=Object.keys(S),I=new Array(O.length);for(let V=0;Vnew Date(R)),x.set(Map,(R,h)=>new Map(l(Array.from(R),h))),x.set(Set,(R,h)=>new Set(l(Array.from(R),h))),t.constructorHandlers)for(const R of t.constructorHandlers)x.set(R[0],R[1]);let D=null;return t.proto?function f(R){if("object"!=typeof R||null===R)return R;if(Array.isArray(R))return l(R,f);if(R.constructor!==Object&&(D=x.get(R.constructor)))return D(R,f);const h={};for(const S in R){const y=R[S];h[S]="object"!=typeof y||null===y?y:y.constructor!==Object&&(D=x.get(y.constructor))?D(y,f):ArrayBuffer.isView(y)?te(y):f(y)}return h}:function w(R){if("object"!=typeof R||null===R)return R;if(Array.isArray(R))return l(R,w);if(R.constructor!==Object&&(D=x.get(R.constructor)))return D(R,w);const h={};for(const S in R){if(!1===Object.hasOwnProperty.call(R,S))continue;const y=R[S];h[S]="object"!=typeof y||null===y?y:y.constructor!==Object&&(D=x.get(y.constructor))?D(y,w):ArrayBuffer.isView(y)?te(y):w(y)}return h};function l(R,h){const S=Object.keys(R),y=new Array(S.length);for(let O=0;O{"use strict";var e=g(3838).Buffer,t=g(1993),x=g(3686),D=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],w=[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],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],h=[0,1518500249,1859775393,2400959708,2840853838],S=[1352829926,1548603684,1836072691,2053994217,0];function y(){x.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function O(Q,J){return Q<>>32-J}function I(Q,J,ie,ee,fe,ne,Me,Ce){return O(Q+(J^ie^ee)+ne+Me|0,Ce)+fe|0}function V(Q,J,ie,ee,fe,ne,Me,Ce){return O(Q+(J&ie|~J&ee)+ne+Me|0,Ce)+fe|0}function j(Q,J,ie,ee,fe,ne,Me,Ce){return O(Q+((J|~ie)^ee)+ne+Me|0,Ce)+fe|0}function Y(Q,J,ie,ee,fe,ne,Me,Ce){return O(Q+(J&ee|ie&~ee)+ne+Me|0,Ce)+fe|0}function W(Q,J,ie,ee,fe,ne,Me,Ce){return O(Q+(J^(ie|~ee))+ne+Me|0,Ce)+fe|0}t(y,x),y.prototype._update=function(){for(var Q=D,J=0;J<16;++J)Q[J]=this._block.readInt32LE(4*J);for(var ie=0|this._a,ee=0|this._b,fe=0|this._c,ne=0|this._d,Me=0|this._e,Ce=0|this._a,le=0|this._b,T=0|this._c,n=0|this._d,c=0|this._e,m=0;m<80;m+=1){var d,C;m<16?(d=I(ie,ee,fe,ne,Me,Q[l[m]],h[0],f[m]),C=W(Ce,le,T,n,c,Q[w[m]],S[0],R[m])):m<32?(d=V(ie,ee,fe,ne,Me,Q[l[m]],h[1],f[m]),C=Y(Ce,le,T,n,c,Q[w[m]],S[1],R[m])):m<48?(d=j(ie,ee,fe,ne,Me,Q[l[m]],h[2],f[m]),C=j(Ce,le,T,n,c,Q[w[m]],S[2],R[m])):m<64?(d=Y(ie,ee,fe,ne,Me,Q[l[m]],h[3],f[m]),C=V(Ce,le,T,n,c,Q[w[m]],S[3],R[m])):(d=W(ie,ee,fe,ne,Me,Q[l[m]],h[4],f[m]),C=I(Ce,le,T,n,c,Q[w[m]],S[4],R[m])),ie=Me,Me=ne,ne=O(fe,10),fe=ee,ee=d,Ce=c,c=n,n=O(T,10),T=le,le=C}var A=this._b+fe+n|0;this._b=this._c+ne+c|0,this._c=this._d+Me+Ce|0,this._d=this._e+ie+le|0,this._e=this._a+ee+T|0,this._a=A},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 Q=e.alloc?e.alloc(20):new e(20);return Q.writeInt32LE(this._a,0),Q.writeInt32LE(this._b,4),Q.writeInt32LE(this._c,8),Q.writeInt32LE(this._d,12),Q.writeInt32LE(this._e,16),Q},Qe.exports=y},4412:(Qe,te,g)=>{"use strict";g.d(te,{t:()=>t});var e=g(1413);class t extends e.B{constructor(D){super(),this._value=D}get value(){return this.getValue()}_subscribe(D){const l=super._subscribe(D);return!l.closed&&D.next(this._value),l}getValue(){const{hasError:D,thrownError:l,_value:w}=this;if(D)throw l;return this._throwIfClosed(),w}next(D){super.next(this._value=D)}}},1985:(Qe,te,g)=>{"use strict";g.d(te,{c:()=>R});var e=g(7707),t=g(8359),x=g(3494),D=g(1203),l=g(1026),w=g(8071),f=g(9786);let R=(()=>{class O{constructor(V){V&&(this._subscribe=V)}lift(V){const j=new O;return j.source=this,j.operator=V,j}subscribe(V,j,Y){const W=function y(O){return O&&O instanceof e.vU||function S(O){return O&&(0,w.T)(O.next)&&(0,w.T)(O.error)&&(0,w.T)(O.complete)}(O)&&(0,t.Uv)(O)}(V)?V:new e.Ms(V,j,Y);return(0,f.Y)(()=>{const{operator:Q,source:J}=this;W.add(Q?Q.call(W,J):J?this._subscribe(W):this._trySubscribe(W))}),W}_trySubscribe(V){try{return this._subscribe(V)}catch(j){V.error(j)}}forEach(V,j){return new(j=h(j))((Y,W)=>{const Q=new e.Ms({next:J=>{try{V(J)}catch(ie){W(ie),Q.unsubscribe()}},error:W,complete:Y});this.subscribe(Q)})}_subscribe(V){var j;return null===(j=this.source)||void 0===j?void 0:j.subscribe(V)}[x.s](){return this}pipe(...V){return(0,D.m)(V)(this)}toPromise(V){return new(V=h(V))((j,Y)=>{let W;this.subscribe(Q=>W=Q,Q=>Y(Q),()=>j(W))})}}return O.create=I=>new O(I),O})();function h(O){var I;return null!==(I=O??l.$.Promise)&&void 0!==I?I:Promise}},2771:(Qe,te,g)=>{"use strict";g.d(te,{m:()=>x});var e=g(1413),t=g(6129);class x extends e.B{constructor(l=1/0,w=1/0,f=t.U){super(),this._bufferSize=l,this._windowTime=w,this._timestampProvider=f,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=w===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,w)}next(l){const{isStopped:w,_buffer:f,_infiniteTimeWindow:R,_timestampProvider:h,_windowTime:S}=this;w||(f.push(l),!R&&f.push(h.now()+S)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const w=this._innerSubscribe(l),{_infiniteTimeWindow:f,_buffer:R}=this,h=R.slice();for(let S=0;S{"use strict";g.d(te,{k:()=>R,B:()=>f});var e=g(1985),t=g(8359);const D=(0,g(1853).L)(h=>function(){h(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=g(7908),w=g(9786);let f=(()=>{class h extends e.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(y){const O=new R(this,this);return O.operator=y,O}_throwIfClosed(){if(this.closed)throw new D}next(y){(0,w.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const O of this.currentObservers)O.next(y)}})}error(y){(0,w.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=y;const{observers:O}=this;for(;O.length;)O.shift().error(y)}})}complete(){(0,w.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:O,isStopped:I,observers:V}=this;return O||I?t.Kn:(this.currentObservers=null,V.push(y),new t.yU(()=>{this.currentObservers=null,(0,l.o)(V,y)}))}_checkFinalizedStatuses(y){const{hasError:O,thrownError:I,isStopped:V}=this;O?y.error(I):V&&y.complete()}asObservable(){const y=new e.c;return y.source=this,y}}return h.create=(S,y)=>new R(S,y),h})();class R extends f{constructor(S,y){super(),this.destination=S,this.source=y}next(S){var y,O;null===(O=null===(y=this.destination)||void 0===y?void 0:y.next)||void 0===O||O.call(y,S)}error(S){var y,O;null===(O=null===(y=this.destination)||void 0===y?void 0:y.error)||void 0===O||O.call(y,S)}complete(){var S,y;null===(y=null===(S=this.destination)||void 0===S?void 0:S.complete)||void 0===y||y.call(S)}_subscribe(S){var y,O;return null!==(O=null===(y=this.source)||void 0===y?void 0:y.subscribe(S))&&void 0!==O?O:t.Kn}}},7707:(Qe,te,g)=>{"use strict";g.d(te,{Ms:()=>Y,vU:()=>O});var e=g(8071),t=g(8359),x=g(1026),D=g(5334),l=g(5343);const w=h("C",void 0,void 0);function h(ee,fe,ne){return{kind:ee,value:fe,error:ne}}var S=g(9270),y=g(9786);class O extends t.yU{constructor(fe){super(),this.isStopped=!1,fe?(this.destination=fe,(0,t.Uv)(fe)&&fe.add(this)):this.destination=ie}static create(fe,ne,Me){return new Y(fe,ne,Me)}next(fe){this.isStopped?J(function R(ee){return h("N",ee,void 0)}(fe),this):this._next(fe)}error(fe){this.isStopped?J(function f(ee){return h("E",void 0,ee)}(fe),this):(this.isStopped=!0,this._error(fe))}complete(){this.isStopped?J(w,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(fe){this.destination.next(fe)}_error(fe){try{this.destination.error(fe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const I=Function.prototype.bind;function V(ee,fe){return I.call(ee,fe)}class j{constructor(fe){this.partialObserver=fe}next(fe){const{partialObserver:ne}=this;if(ne.next)try{ne.next(fe)}catch(Me){W(Me)}}error(fe){const{partialObserver:ne}=this;if(ne.error)try{ne.error(fe)}catch(Me){W(Me)}else W(fe)}complete(){const{partialObserver:fe}=this;if(fe.complete)try{fe.complete()}catch(ne){W(ne)}}}class Y extends O{constructor(fe,ne,Me){let Ce;if(super(),(0,e.T)(fe)||!fe)Ce={next:fe??void 0,error:ne??void 0,complete:Me??void 0};else{let le;this&&x.$.useDeprecatedNextContext?(le=Object.create(fe),le.unsubscribe=()=>this.unsubscribe(),Ce={next:fe.next&&V(fe.next,le),error:fe.error&&V(fe.error,le),complete:fe.complete&&V(fe.complete,le)}):Ce=fe}this.destination=new j(Ce)}}function W(ee){x.$.useDeprecatedSynchronousErrorHandling?(0,y.l)(ee):(0,D.m)(ee)}function J(ee,fe){const{onStoppedNotification:ne}=x.$;ne&&S.f.setTimeout(()=>ne(ee,fe))}const ie={closed:!0,next:l.l,error:function Q(ee){throw ee},complete:l.l}},8359:(Qe,te,g)=>{"use strict";g.d(te,{Kn:()=>w,yU:()=>l,Uv:()=>f});var e=g(8071);const x=(0,g(1853).L)(h=>function(y){h(this),this.message=y?`${y.length} errors occurred during unsubscription:\n${y.map((O,I)=>`${I+1}) ${O.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=y});var D=g(7908);class l{constructor(S){this.initialTeardown=S,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let S;if(!this.closed){this.closed=!0;const{_parentage:y}=this;if(y)if(this._parentage=null,Array.isArray(y))for(const V of y)V.remove(this);else y.remove(this);const{initialTeardown:O}=this;if((0,e.T)(O))try{O()}catch(V){S=V instanceof x?V.errors:[V]}const{_finalizers:I}=this;if(I){this._finalizers=null;for(const V of I)try{R(V)}catch(j){S=S??[],j instanceof x?S=[...S,...j.errors]:S.push(j)}}if(S)throw new x(S)}}add(S){var y;if(S&&S!==this)if(this.closed)R(S);else{if(S instanceof l){if(S.closed||S._hasParent(this))return;S._addParent(this)}(this._finalizers=null!==(y=this._finalizers)&&void 0!==y?y:[]).push(S)}}_hasParent(S){const{_parentage:y}=this;return y===S||Array.isArray(y)&&y.includes(S)}_addParent(S){const{_parentage:y}=this;this._parentage=Array.isArray(y)?(y.push(S),y):y?[y,S]:S}_removeParent(S){const{_parentage:y}=this;y===S?this._parentage=null:Array.isArray(y)&&(0,D.o)(y,S)}remove(S){const{_finalizers:y}=this;y&&(0,D.o)(y,S),S instanceof l&&S._removeParent(this)}}l.EMPTY=(()=>{const h=new l;return h.closed=!0,h})();const w=l.EMPTY;function f(h){return h instanceof l||h&&"closed"in h&&(0,e.T)(h.remove)&&(0,e.T)(h.add)&&(0,e.T)(h.unsubscribe)}function R(h){(0,e.T)(h)?h():h.unsubscribe()}},1026:(Qe,te,g)=>{"use strict";g.d(te,{$:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},17:(Qe,te,g)=>{"use strict";g.d(te,{G:()=>w});var e=g(1985),t=g(8359),x=g(9898),D=g(4360),l=g(9974);class w extends e.c{constructor(R,h){super(),this.source=R,this.subjectFactory=h,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 t.yU;const h=this.getSubject();R.add(this.source.subscribe((0,D._)(h,void 0,()=>{this._teardown(),h.complete()},S=>{this._teardown(),h.error(S)},()=>this._teardown()))),R.closed&&(this._connection=null,R=t.yU.EMPTY)}return R}refCount(){return(0,x.B)()(this)}}},4572:(Qe,te,g)=>{"use strict";g.d(te,{z:()=>S});var e=g(1985),t=g(3073),x=g(2806),D=g(3669),l=g(6450),w=g(9326),f=g(8496),R=g(4360),h=g(5225);function S(...I){const V=(0,w.lI)(I),j=(0,w.ms)(I),{args:Y,keys:W}=(0,t.D)(I);if(0===Y.length)return(0,x.H)([],V);const Q=new e.c(function y(I,V,j=D.D){return Y=>{O(V,()=>{const{length:W}=I,Q=new Array(W);let J=W,ie=W;for(let ee=0;ee{const fe=(0,x.H)(I[ee],V);let ne=!1;fe.subscribe((0,R._)(Y,Me=>{Q[ee]=Me,ne||(ne=!0,ie--),ie||Y.next(j(Q.slice()))},()=>{--J||Y.complete()}))},Y)},Y)}}(Y,V,W?J=>(0,f.e)(W,J):D.D));return j?Q.pipe((0,l.I)(j)):Q}function O(I,V,j){I?(0,h.N)(j,I,V):V()}},8793:(Qe,te,g)=>{"use strict";g.d(te,{x:()=>l});var e=g(6365),x=g(9326),D=g(2806);function l(...w){return function t(){return(0,e.U)(1)}()((0,D.H)(w,(0,x.lI)(w)))}},9030:(Qe,te,g)=>{"use strict";g.d(te,{v:()=>x});var e=g(1985),t=g(8750);function x(D){return new e.c(l=>{(0,t.Tg)(D()).subscribe(l)})}},983:(Qe,te,g)=>{"use strict";g.d(te,{w:()=>t});const t=new(g(1985).c)(l=>l.complete())},7468:(Qe,te,g)=>{"use strict";g.d(te,{p:()=>R});var e=g(1985),t=g(3073),x=g(8750),D=g(9326),l=g(4360),w=g(6450),f=g(8496);function R(...h){const S=(0,D.ms)(h),{args:y,keys:O}=(0,t.D)(h),I=new e.c(V=>{const{length:j}=y;if(!j)return void V.complete();const Y=new Array(j);let W=j,Q=j;for(let J=0;J{ie||(ie=!0,Q--),Y[J]=ee},()=>W--,void 0,()=>{(!W||!ie)&&(Q||V.next(O?(0,f.e)(O,Y):Y),V.complete())}))}});return S?I.pipe((0,w.I)(S)):I}},2806:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>ne});var e=g(8750),t=g(941),x=g(9974);function D(Me,Ce=0){return(0,x.N)((le,T)=>{T.add(Me.schedule(()=>le.subscribe(T),Ce))})}var f=g(1985),h=g(4761),S=g(8071),y=g(5225);function I(Me,Ce){if(!Me)throw new Error("Iterable cannot be null");return new f.c(le=>{(0,y.N)(le,Ce,()=>{const T=Me[Symbol.asyncIterator]();(0,y.N)(le,Ce,()=>{T.next().then(n=>{n.done?le.complete():le.next(n.value)})},0,!0)})})}var V=g(5055),j=g(9858),Y=g(7441),W=g(5397),Q=g(7953),J=g(591),ie=g(5196);function ne(Me,Ce){return Ce?function fe(Me,Ce){if(null!=Me){if((0,V.l)(Me))return function l(Me,Ce){return(0,e.Tg)(Me).pipe(D(Ce),(0,t.Q)(Ce))}(Me,Ce);if((0,Y.X)(Me))return function R(Me,Ce){return new f.c(le=>{let T=0;return Ce.schedule(function(){T===Me.length?le.complete():(le.next(Me[T++]),le.closed||this.schedule())})})}(Me,Ce);if((0,j.y)(Me))return function w(Me,Ce){return(0,e.Tg)(Me).pipe(D(Ce),(0,t.Q)(Ce))}(Me,Ce);if((0,Q.T)(Me))return I(Me,Ce);if((0,W.x)(Me))return function O(Me,Ce){return new f.c(le=>{let T;return(0,y.N)(le,Ce,()=>{T=Me[h.l](),(0,y.N)(le,Ce,()=>{let n,c;try{({value:n,done:c}=T.next())}catch(m){return void le.error(m)}c?le.complete():le.next(n)},0,!0)}),()=>(0,S.T)(T?.return)&&T.return()})}(Me,Ce);if((0,ie.U)(Me))return function ee(Me,Ce){return I((0,ie.C)(Me),Ce)}(Me,Ce)}throw(0,J.L)(Me)}(Me,Ce):(0,e.Tg)(Me)}},3726:(Qe,te,g)=>{"use strict";g.d(te,{R:()=>S});var e=g(8750),t=g(1985),x=g(1397),D=g(7441),l=g(8071),w=g(6450);const f=["addListener","removeListener"],R=["addEventListener","removeEventListener"],h=["on","off"];function S(j,Y,W,Q){if((0,l.T)(W)&&(Q=W,W=void 0),Q)return S(j,Y,W).pipe((0,w.I)(Q));const[J,ie]=function V(j){return(0,l.T)(j.addEventListener)&&(0,l.T)(j.removeEventListener)}(j)?R.map(ee=>fe=>j[ee](Y,fe,W)):function O(j){return(0,l.T)(j.addListener)&&(0,l.T)(j.removeListener)}(j)?f.map(y(j,Y)):function I(j){return(0,l.T)(j.on)&&(0,l.T)(j.off)}(j)?h.map(y(j,Y)):[];if(!J&&(0,D.X)(j))return(0,x.Z)(ee=>S(ee,Y,W))((0,e.Tg)(j));if(!J)throw new TypeError("Invalid event target");return new t.c(ee=>{const fe=(...ne)=>ee.next(1ie(fe)})}function y(j,Y){return W=>Q=>j[W](Y,Q)}},8750:(Qe,te,g)=>{"use strict";g.d(te,{Tg:()=>I});var e=g(1635),t=g(7441),x=g(9858),D=g(1985),l=g(5055),w=g(7953),f=g(591),R=g(5397),h=g(5196),S=g(8071),y=g(5334),O=g(3494);function I(ee){if(ee instanceof D.c)return ee;if(null!=ee){if((0,l.l)(ee))return function V(ee){return new D.c(fe=>{const ne=ee[O.s]();if((0,S.T)(ne.subscribe))return ne.subscribe(fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ee);if((0,t.X)(ee))return function j(ee){return new D.c(fe=>{for(let ne=0;ne{ee.then(ne=>{fe.closed||(fe.next(ne),fe.complete())},ne=>fe.error(ne)).then(null,y.m)})}(ee);if((0,w.T)(ee))return Q(ee);if((0,R.x)(ee))return function W(ee){return new D.c(fe=>{for(const ne of ee)if(fe.next(ne),fe.closed)return;fe.complete()})}(ee);if((0,h.U)(ee))return function J(ee){return Q((0,h.C)(ee))}(ee)}throw(0,f.L)(ee)}function Q(ee){return new D.c(fe=>{(function ie(ee,fe){var ne,Me,Ce,le;return(0,e.sH)(this,void 0,void 0,function*(){try{for(ne=(0,e.xN)(ee);!(Me=yield ne.next()).done;)if(fe.next(Me.value),fe.closed)return}catch(T){Ce={error:T}}finally{try{Me&&!Me.done&&(le=ne.return)&&(yield le.call(ne))}finally{if(Ce)throw Ce.error}}fe.complete()})})(ee,fe).catch(ne=>fe.error(ne))})}},7786:(Qe,te,g)=>{"use strict";g.d(te,{h:()=>w});var e=g(6365),t=g(8750),x=g(983),D=g(9326),l=g(2806);function w(...f){const R=(0,D.lI)(f),h=(0,D.R0)(f,1/0),S=f;return S.length?1===S.length?(0,t.Tg)(S[0]):(0,e.U)(h)((0,l.H)(S,R)):x.w}},7673:(Qe,te,g)=>{"use strict";g.d(te,{of:()=>x});var e=g(9326),t=g(2806);function x(...D){const l=(0,e.lI)(D);return(0,t.H)(D,l)}},8810:(Qe,te,g)=>{"use strict";g.d(te,{$:()=>x});var e=g(1985),t=g(8071);function x(D,l){const w=(0,t.T)(D)?D:()=>D,f=R=>R.error(w());return new e.c(l?R=>l.schedule(f,0,R):f)}},1807:(Qe,te,g)=>{"use strict";g.d(te,{O:()=>l});var e=g(1985),t=g(3236),x=g(9470),D=g(8211);function l(w=0,f,R=t.b){let h=-1;return null!=f&&((0,x.m)(f)?R=f:h=f),new e.c(S=>{let y=(0,D.v)(w)?+w-R.now():w;y<0&&(y=0);let O=0;return R.schedule(function(){S.closed||(S.next(O++),0<=h?this.schedule(void 0,h):S.complete())},y)})}},4360:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>x,_:()=>t});var e=g(7707);function t(D,l,w,f,R){return new x(D,l,w,f,R)}class x extends e.vU{constructor(l,w,f,R,h,S){super(l),this.onFinalize=h,this.shouldUnsubscribe=S,this._next=w?function(y){try{w(y)}catch(O){l.error(O)}}:super._next,this._error=R?function(y){try{R(y)}catch(O){l.error(O)}finally{this.unsubscribe()}}:super._error,this._complete=f?function(){try{f()}catch(y){l.error(y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:w}=this;super.unsubscribe(),!w&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},3798:(Qe,te,g)=>{"use strict";g.d(te,{Z:()=>f});var e=g(3236),t=g(9974),x=g(8750),D=g(4360),w=g(1807);function f(R,h=e.E){return function l(R){return(0,t.N)((h,S)=>{let y=!1,O=null,I=null,V=!1;const j=()=>{if(I?.unsubscribe(),I=null,y){y=!1;const W=O;O=null,S.next(W)}V&&S.complete()},Y=()=>{I=null,V&&S.complete()};h.subscribe((0,D._)(S,W=>{y=!0,O=W,I||(0,x.Tg)(R(W)).subscribe(I=(0,D._)(S,j,Y))},()=>{V=!0,(!y||!I||I.closed)&&S.complete()}))})}(()=>(0,w.O)(R,h))}},9437:(Qe,te,g)=>{"use strict";g.d(te,{W:()=>D});var e=g(8750),t=g(4360),x=g(9974);function D(l){return(0,x.N)((w,f)=>{let S,R=null,h=!1;R=w.subscribe((0,t._)(f,void 0,void 0,y=>{S=(0,e.Tg)(l(y,D(l)(w))),R?(R.unsubscribe(),R=null,S.subscribe(f)):h=!0})),h&&(R.unsubscribe(),R=null,S.subscribe(f))})}},274:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>x});var e=g(1397),t=g(8071);function x(D,l){return(0,t.T)(l)?(0,e.Z)(D,l,1):(0,e.Z)(D,1)}},152:(Qe,te,g)=>{"use strict";g.d(te,{B:()=>D});var e=g(3236),t=g(9974),x=g(4360);function D(l,w=e.E){return(0,t.N)((f,R)=>{let h=null,S=null,y=null;const O=()=>{if(h){h.unsubscribe(),h=null;const V=S;S=null,R.next(V)}};function I(){const V=y+l,j=w.now();if(j{S=V,y=w.now(),h||(h=w.schedule(I,l),R.add(h))},()=>{O(),R.complete()},void 0,()=>{S=h=null}))})}},9901:(Qe,te,g)=>{"use strict";g.d(te,{U:()=>x});var e=g(9974),t=g(4360);function x(D){return(0,e.N)((l,w)=>{let f=!1;l.subscribe((0,t._)(w,R=>{f=!0,w.next(R)},()=>{f||w.next(D),w.complete()}))})}},5335:(Qe,te,g)=>{"use strict";g.d(te,{c:()=>S});var e=g(3236),t=g(8793),x=g(6697),D=g(3557),l=g(3703),w=g(1397),f=g(8750);function R(y,O){return O?I=>(0,t.x)(O.pipe((0,x.s)(1),(0,D.w)()),I.pipe(R(y))):(0,w.Z)((I,V)=>(0,f.Tg)(y(I,V)).pipe((0,x.s)(1),(0,l.u)(I)))}var h=g(1807);function S(y,O=e.E){const I=(0,h.O)(y,O);return R(()=>I)}},3294:(Qe,te,g)=>{"use strict";g.d(te,{F:()=>D});var e=g(3669),t=g(9974),x=g(4360);function D(w,f=e.D){return w=w??l,(0,t.N)((R,h)=>{let S,y=!0;R.subscribe((0,x._)(h,O=>{const I=f(O);(y||!w(S,I))&&(y=!1,S=I,h.next(O))}))})}function l(w,f){return w===f}},5964:(Qe,te,g)=>{"use strict";g.d(te,{p:()=>x});var e=g(9974),t=g(4360);function x(D,l){return(0,e.N)((w,f)=>{let R=0;w.subscribe((0,t._)(f,h=>D.call(l,h,R++)&&f.next(h)))})}},980:(Qe,te,g)=>{"use strict";g.d(te,{j:()=>t});var e=g(9974);function t(x){return(0,e.N)((D,l)=>{try{D.subscribe(l)}finally{l.add(x)}})}},1594:(Qe,te,g)=>{"use strict";g.d(te,{$:()=>f});var e=g(9350),t=g(5964),x=g(6697),D=g(9901),l=g(3774),w=g(3669);function f(R,h){const S=arguments.length>=2;return y=>y.pipe(R?(0,t.p)((O,I)=>R(O,I,y)):w.D,(0,x.s)(1),S?(0,D.U)(h):(0,l.v)(()=>new e.G))}},3557:(Qe,te,g)=>{"use strict";g.d(te,{w:()=>D});var e=g(9974),t=g(4360),x=g(5343);function D(){return(0,e.N)((l,w)=>{l.subscribe((0,t._)(w,x.l))})}},6354:(Qe,te,g)=>{"use strict";g.d(te,{T:()=>x});var e=g(9974),t=g(4360);function x(D,l){return(0,e.N)((w,f)=>{let R=0;w.subscribe((0,t._)(f,h=>{f.next(D.call(l,h,R++))}))})}},3703:(Qe,te,g)=>{"use strict";g.d(te,{u:()=>t});var e=g(6354);function t(x){return(0,e.T)(()=>x)}},6365:(Qe,te,g)=>{"use strict";g.d(te,{U:()=>x});var e=g(1397),t=g(3669);function x(D=1/0){return(0,e.Z)(t.D,D)}},1397:(Qe,te,g)=>{"use strict";g.d(te,{Z:()=>R});var e=g(6354),t=g(8750),x=g(9974),D=g(5225),l=g(4360),f=g(8071);function R(h,S,y=1/0){return(0,f.T)(S)?R((O,I)=>(0,e.T)((V,j)=>S(O,V,I,j))((0,t.Tg)(h(O,I))),y):("number"==typeof S&&(y=S),(0,x.N)((O,I)=>function w(h,S,y,O,I,V,j,Y){const W=[];let Q=0,J=0,ie=!1;const ee=()=>{ie&&!W.length&&!Q&&S.complete()},fe=Me=>Q{V&&S.next(Me),Q++;let Ce=!1;(0,t.Tg)(y(Me,J++)).subscribe((0,l._)(S,le=>{I?.(le),V?fe(le):S.next(le)},()=>{Ce=!0},void 0,()=>{if(Ce)try{for(Q--;W.length&&Qne(le)):ne(le)}ee()}catch(le){S.error(le)}}))};return h.subscribe((0,l._)(S,fe,()=>{ie=!0,ee()})),()=>{Y?.()}}(O,I,h,y)))}},941:(Qe,te,g)=>{"use strict";g.d(te,{Q:()=>D});var e=g(5225),t=g(9974),x=g(4360);function D(l,w=0){return(0,t.N)((f,R)=>{f.subscribe((0,x._)(R,h=>(0,e.N)(R,l,()=>R.next(h),w),()=>(0,e.N)(R,l,()=>R.complete(),w),h=>(0,e.N)(R,l,()=>R.error(h),w)))})}},9898:(Qe,te,g)=>{"use strict";g.d(te,{B:()=>x});var e=g(9974),t=g(4360);function x(){return(0,e.N)((D,l)=>{let w=null;D._refCount++;const f=(0,t._)(l,void 0,void 0,void 0,()=>{if(!D||D._refCount<=0||0<--D._refCount)return void(w=null);const R=D._connection,h=w;w=null,R&&(!h||R===h)&&R.unsubscribe(),l.unsubscribe()});D.subscribe(f),f.closed||(w=D.connect())})}},2816:(Qe,te,g)=>{"use strict";g.d(te,{S:()=>D});var e=g(9974),t=g(4360);function D(l,w){return(0,e.N)(function x(l,w,f,R,h){return(S,y)=>{let O=f,I=w,V=0;S.subscribe((0,t._)(y,j=>{const Y=V++;I=O?l(I,j,Y):(O=!0,j),R&&y.next(I)},h&&(()=>{O&&y.next(I),y.complete()})))}}(l,w,arguments.length>=2,!0))}},7647:(Qe,te,g)=>{"use strict";g.d(te,{u:()=>l});var e=g(8750),t=g(1413),x=g(7707),D=g(9974);function l(f={}){const{connector:R=()=>new t.B,resetOnError:h=!0,resetOnComplete:S=!0,resetOnRefCountZero:y=!0}=f;return O=>{let I,V,j,Y=0,W=!1,Q=!1;const J=()=>{V?.unsubscribe(),V=void 0},ie=()=>{J(),I=j=void 0,W=Q=!1},ee=()=>{const fe=I;ie(),fe?.unsubscribe()};return(0,D.N)((fe,ne)=>{Y++,!Q&&!W&&J();const Me=j=j??R();ne.add(()=>{Y--,0===Y&&!Q&&!W&&(V=w(ee,y))}),Me.subscribe(ne),!I&&Y>0&&(I=new x.Ms({next:Ce=>Me.next(Ce),error:Ce=>{Q=!0,J(),V=w(ie,h,Ce),Me.error(Ce)},complete:()=>{W=!0,J(),V=w(ie,S),Me.complete()}}),(0,e.Tg)(fe).subscribe(I))})(O)}}function w(f,R,...h){if(!0===R)return void f();if(!1===R)return;const S=new x.Ms({next:()=>{S.unsubscribe(),f()}});return(0,e.Tg)(R(...h)).subscribe(S)}},5245:(Qe,te,g)=>{"use strict";g.d(te,{i:()=>t});var e=g(5964);function t(x){return(0,e.p)((D,l)=>x<=l)}},9172:(Qe,te,g)=>{"use strict";g.d(te,{Z:()=>D});var e=g(8793),t=g(9326),x=g(9974);function D(...l){const w=(0,t.lI)(l);return(0,x.N)((f,R)=>{(w?(0,e.x)(l,f,w):(0,e.x)(l,f)).subscribe(R)})}},5558:(Qe,te,g)=>{"use strict";g.d(te,{n:()=>D});var e=g(8750),t=g(9974),x=g(4360);function D(l,w){return(0,t.N)((f,R)=>{let h=null,S=0,y=!1;const O=()=>y&&!h&&R.complete();f.subscribe((0,x._)(R,I=>{h?.unsubscribe();let V=0;const j=S++;(0,e.Tg)(l(I,j)).subscribe(h=(0,x._)(R,Y=>R.next(w?w(I,Y,j,V++):Y),()=>{h=null,O()}))},()=>{y=!0,O()}))})}},6697:(Qe,te,g)=>{"use strict";g.d(te,{s:()=>D});var e=g(983),t=g(9974),x=g(4360);function D(l){return l<=0?()=>e.w:(0,t.N)((w,f)=>{let R=0;w.subscribe((0,x._)(f,h=>{++R<=l&&(f.next(h),l<=R&&f.complete())}))})}},6977:(Qe,te,g)=>{"use strict";g.d(te,{Q:()=>l});var e=g(9974),t=g(4360),x=g(8750),D=g(5343);function l(w){return(0,e.N)((f,R)=>{(0,x.Tg)(w).subscribe((0,t._)(R,()=>R.complete(),D.l)),!R.closed&&f.subscribe(R)})}},8141:(Qe,te,g)=>{"use strict";g.d(te,{M:()=>l});var e=g(8071),t=g(9974),x=g(4360),D=g(3669);function l(w,f,R){const h=(0,e.T)(w)||f||R?{next:w,error:f,complete:R}:w;return h?(0,t.N)((S,y)=>{var O;null===(O=h.subscribe)||void 0===O||O.call(h);let I=!0;S.subscribe((0,x._)(y,V=>{var j;null===(j=h.next)||void 0===j||j.call(h,V),y.next(V)},()=>{var V;I=!1,null===(V=h.complete)||void 0===V||V.call(h),y.complete()},V=>{var j;I=!1,null===(j=h.error)||void 0===j||j.call(h,V),y.error(V)},()=>{var V,j;I&&(null===(V=h.unsubscribe)||void 0===V||V.call(h)),null===(j=h.finalize)||void 0===j||j.call(h)}))}):D.D}},3774:(Qe,te,g)=>{"use strict";g.d(te,{v:()=>D});var e=g(9350),t=g(9974),x=g(4360);function D(w=l){return(0,t.N)((f,R)=>{let h=!1;f.subscribe((0,x._)(R,S=>{h=!0,R.next(S)},()=>h?R.complete():R.error(w())))})}function l(){return new e.G}},3993:(Qe,te,g)=>{"use strict";g.d(te,{E:()=>f});var e=g(9974),t=g(4360),x=g(8750),D=g(3669),l=g(5343),w=g(9326);function f(...R){const h=(0,w.ms)(R);return(0,e.N)((S,y)=>{const O=R.length,I=new Array(O);let V=R.map(()=>!1),j=!1;for(let Y=0;Y{I[Y]=W,!j&&!V[Y]&&(V[Y]=!0,(j=V.every(D.D))&&(V=null))},l.l));S.subscribe((0,t._)(y,Y=>{if(j){const W=[Y,...I];y.next(h?h(...W):W)}}))})}},6780:(Qe,te,g)=>{"use strict";g.d(te,{R:()=>l});var e=g(8359);class t extends e.yU{constructor(f,R){super()}schedule(f,R=0){return this}}const x={setInterval(w,f,...R){const{delegate:h}=x;return h?.setInterval?h.setInterval(w,f,...R):setInterval(w,f,...R)},clearInterval(w){const{delegate:f}=x;return(f?.clearInterval||clearInterval)(w)},delegate:void 0};var D=g(7908);class l extends t{constructor(f,R){super(f,R),this.scheduler=f,this.work=R,this.pending=!1}schedule(f,R=0){var h;if(this.closed)return this;this.state=f;const S=this.id,y=this.scheduler;return null!=S&&(this.id=this.recycleAsyncId(y,S,R)),this.pending=!0,this.delay=R,this.id=null!==(h=this.id)&&void 0!==h?h:this.requestAsyncId(y,this.id,R),this}requestAsyncId(f,R,h=0){return x.setInterval(f.flush.bind(f,this),h)}recycleAsyncId(f,R,h=0){if(null!=h&&this.delay===h&&!1===this.pending)return R;null!=R&&x.clearInterval(R)}execute(f,R){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const h=this._execute(f,R);if(h)return h;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(f,R){let S,h=!1;try{this.work(f)}catch(y){h=!0,S=y||new Error("Scheduled action threw falsy error")}if(h)return this.unsubscribe(),S}unsubscribe(){if(!this.closed){const{id:f,scheduler:R}=this,{actions:h}=R;this.work=this.state=this.scheduler=null,this.pending=!1,(0,D.o)(h,this),null!=f&&(this.id=this.recycleAsyncId(R,f,null)),this.delay=null,super.unsubscribe()}}}},9687:(Qe,te,g)=>{"use strict";g.d(te,{q:()=>x});var e=g(6129);class t{constructor(l,w=t.now){this.schedulerActionCtor=l,this.now=w}schedule(l,w=0,f){return new this.schedulerActionCtor(this,l).schedule(f,w)}}t.now=e.U.now;class x extends t{constructor(l,w=t.now){super(l,w),this.actions=[],this._active=!1}flush(l){const{actions:w}=this;if(this._active)return void w.push(l);let f;this._active=!0;do{if(f=l.execute(l.state,l.delay))break}while(l=w.shift());if(this._active=!1,f){for(;l=w.shift();)l.unsubscribe();throw f}}}},5007:(Qe,te,g)=>{"use strict";g.d(te,{$:()=>V});var e=g(6780);let x,t=1;const D={};function l(Y){return Y in D&&(delete D[Y],!0)}const w={setImmediate(Y){const W=t++;return D[W]=!0,x||(x=Promise.resolve()),x.then(()=>l(W)&&Y()),W},clearImmediate(Y){l(Y)}},{setImmediate:R,clearImmediate:h}=w,S={setImmediate(...Y){const{delegate:W}=S;return(W?.setImmediate||R)(...Y)},clearImmediate(Y){const{delegate:W}=S;return(W?.clearImmediate||h)(Y)},delegate:void 0};var O=g(9687);const V=new class I extends O.q{flush(W){this._active=!0;const Q=this._scheduled;this._scheduled=void 0;const{actions:J}=this;let ie;W=W||J.shift();do{if(ie=W.execute(W.state,W.delay))break}while((W=J[0])&&W.id===Q&&J.shift());if(this._active=!1,ie){for(;(W=J[0])&&W.id===Q&&J.shift();)W.unsubscribe();throw ie}}}(class y extends e.R{constructor(W,Q){super(W,Q),this.scheduler=W,this.work=Q}requestAsyncId(W,Q,J=0){return null!==J&&J>0?super.requestAsyncId(W,Q,J):(W.actions.push(this),W._scheduled||(W._scheduled=S.setImmediate(W.flush.bind(W,void 0))))}recycleAsyncId(W,Q,J=0){var ie;if(null!=J?J>0:this.delay>0)return super.recycleAsyncId(W,Q,J);const{actions:ee}=W;null!=Q&&(null===(ie=ee[ee.length-1])||void 0===ie?void 0:ie.id)!==Q&&(S.clearImmediate(Q),W._scheduled===Q&&(W._scheduled=void 0))}})},3236:(Qe,te,g)=>{"use strict";g.d(te,{E:()=>x,b:()=>D});var e=g(6780);const x=new(g(9687).q)(e.R),D=x},6129:(Qe,te,g)=>{"use strict";g.d(te,{U:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},7242:(Qe,te,g)=>{"use strict";g.d(te,{T:()=>l});var e=g(6780),x=g(9687);const l=new class D extends x.q{}(class t extends e.R{constructor(R,h){super(R,h),this.scheduler=R,this.work=h}schedule(R,h=0){return h>0?super.schedule(R,h):(this.delay=h,this.state=R,this.scheduler.flush(this),this)}execute(R,h){return h>0||this.closed?super.execute(R,h):this._execute(R,h)}requestAsyncId(R,h,S=0){return null!=S&&S>0||null==S&&this.delay>0?super.requestAsyncId(R,h,S):(R.flush(this),0)}})},9270:(Qe,te,g)=>{"use strict";g.d(te,{f:()=>e});const e={setTimeout(t,x,...D){const{delegate:l}=e;return l?.setTimeout?l.setTimeout(t,x,...D):setTimeout(t,x,...D)},clearTimeout(t){const{delegate:x}=e;return(x?.clearTimeout||clearTimeout)(t)},delegate:void 0}},4761:(Qe,te,g)=>{"use strict";g.d(te,{l:()=>t});const t=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Qe,te,g)=>{"use strict";g.d(te,{s:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(Qe,te,g)=>{"use strict";g.d(te,{G:()=>t});const t=(0,g(1853).L)(x=>function(){x(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(Qe,te,g)=>{"use strict";g.d(te,{R0:()=>w,lI:()=>l,ms:()=>D});var e=g(8071),t=g(9470);function x(f){return f[f.length-1]}function D(f){return(0,e.T)(x(f))?f.pop():void 0}function l(f){return(0,t.m)(x(f))?f.pop():void 0}function w(f,R){return"number"==typeof x(f)?f.pop():R}},3073:(Qe,te,g)=>{"use strict";g.d(te,{D:()=>l});const{isArray:e}=Array,{getPrototypeOf:t,prototype:x,keys:D}=Object;function l(f){if(1===f.length){const R=f[0];if(e(R))return{args:R,keys:null};if(function w(f){return f&&"object"==typeof f&&t(f)===x}(R)){const h=D(R);return{args:h.map(S=>R[S]),keys:h}}}return{args:f,keys:null}}},7908:(Qe,te,g)=>{"use strict";function e(t,x){if(t){const D=t.indexOf(x);0<=D&&t.splice(D,1)}}g.d(te,{o:()=>e})},1853:(Qe,te,g)=>{"use strict";function e(t){const D=t(l=>{Error.call(l),l.stack=(new Error).stack});return D.prototype=Object.create(Error.prototype),D.prototype.constructor=D,D}g.d(te,{L:()=>e})},8496:(Qe,te,g)=>{"use strict";function e(t,x){return t.reduce((D,l,w)=>(D[l]=x[w],D),{})}g.d(te,{e:()=>e})},9786:(Qe,te,g)=>{"use strict";g.d(te,{Y:()=>x,l:()=>D});var e=g(1026);let t=null;function x(l){if(e.$.useDeprecatedSynchronousErrorHandling){const w=!t;if(w&&(t={errorThrown:!1,error:null}),l(),w){const{errorThrown:f,error:R}=t;if(t=null,f)throw R}}else l()}function D(l){e.$.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=l)}},5225:(Qe,te,g)=>{"use strict";function e(t,x,D,l=0,w=!1){const f=x.schedule(function(){D(),w?t.add(this.schedule(null,l)):this.unsubscribe()},l);if(t.add(f),!w)return f}g.d(te,{N:()=>e})},3669:(Qe,te,g)=>{"use strict";function e(t){return t}g.d(te,{D:()=>e})},7441:(Qe,te,g)=>{"use strict";g.d(te,{X:()=>e});const e=t=>t&&"number"==typeof t.length&&"function"!=typeof t},7953:(Qe,te,g)=>{"use strict";g.d(te,{T:()=>t});var e=g(8071);function t(x){return Symbol.asyncIterator&&(0,e.T)(x?.[Symbol.asyncIterator])}},8211:(Qe,te,g)=>{"use strict";function e(t){return t instanceof Date&&!isNaN(t)}g.d(te,{v:()=>e})},8071:(Qe,te,g)=>{"use strict";function e(t){return"function"==typeof t}g.d(te,{T:()=>e})},5055:(Qe,te,g)=>{"use strict";g.d(te,{l:()=>x});var e=g(3494),t=g(8071);function x(D){return(0,t.T)(D[e.s])}},5397:(Qe,te,g)=>{"use strict";g.d(te,{x:()=>x});var e=g(4761),t=g(8071);function x(D){return(0,t.T)(D?.[e.l])}},4402:(Qe,te,g)=>{"use strict";g.d(te,{A:()=>x});var e=g(1985),t=g(8071);function x(D){return!!D&&(D instanceof e.c||(0,t.T)(D.lift)&&(0,t.T)(D.subscribe))}},9858:(Qe,te,g)=>{"use strict";g.d(te,{y:()=>t});var e=g(8071);function t(x){return(0,e.T)(x?.then)}},5196:(Qe,te,g)=>{"use strict";g.d(te,{C:()=>x,U:()=>D});var e=g(1635),t=g(8071);function x(l){return(0,e.AQ)(this,arguments,function*(){const f=l.getReader();try{for(;;){const{value:R,done:h}=yield(0,e.N3)(f.read());if(h)return yield(0,e.N3)(void 0);yield yield(0,e.N3)(R)}}finally{f.releaseLock()}})}function D(l){return(0,t.T)(l?.getReader)}},9470:(Qe,te,g)=>{"use strict";g.d(te,{m:()=>t});var e=g(8071);function t(x){return x&&(0,e.T)(x.schedule)}},9974:(Qe,te,g)=>{"use strict";g.d(te,{N:()=>x,S:()=>t});var e=g(8071);function t(D){return(0,e.T)(D?.lift)}function x(D){return l=>{if(t(l))return l.lift(function(w){try{return D(w,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Qe,te,g)=>{"use strict";g.d(te,{I:()=>D});var e=g(6354);const{isArray:t}=Array;function D(l){return(0,e.T)(w=>function x(l,w){return t(w)?l(...w):l(w)}(l,w))}},5343:(Qe,te,g)=>{"use strict";function e(){}g.d(te,{l:()=>e})},1203:(Qe,te,g)=>{"use strict";g.d(te,{F:()=>t,m:()=>x});var e=g(3669);function t(...D){return x(D)}function x(D){return 0===D.length?e.D:1===D.length?D[0]:function(w){return D.reduce((f,R)=>R(f),w)}}},5334:(Qe,te,g)=>{"use strict";g.d(te,{m:()=>x});var e=g(1026),t=g(9270);function x(D){t.f.setTimeout(()=>{const{onUnhandledError:l}=e.$;if(!l)throw D;l(D)})}},591:(Qe,te,g)=>{"use strict";function e(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(te,{L:()=>e})},7054:(Qe,te,g)=>{var e=g(3838),t=e.Buffer;function x(l,w){for(var f in l)w[f]=l[f]}function D(l,w,f){return t(l,w,f)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Qe.exports=e:(x(e,te),te.Buffer=D),D.prototype=Object.create(t.prototype),x(t,D),D.from=function(l,w,f){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,w,f)},D.alloc=function(l,w,f){if("number"!=typeof l)throw new TypeError("Argument must be a number");var R=t(l);return void 0!==w?"string"==typeof f?R.fill(w,f):R.fill(w):R.fill(0),R},D.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},D.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},463:(Qe,te,g)=>{var e=g(7054).Buffer;function t(x,D){this._block=e.alloc(x),this._finalSize=D,this._blockSize=x,this._len=0}t.prototype.update=function(x,D){"string"==typeof x&&(x=e.from(x,D=D||"utf8"));for(var l=this._block,w=this._blockSize,f=x.length,R=this._len,h=0;h=this._finalSize&&(this._update(this._block),this._block.fill(0));var l=8*this._len;if(l<=4294967295)this._block.writeUInt32BE(l,this._blockSize-4);else{var w=(4294967295&l)>>>0;this._block.writeUInt32BE((l-w)/4294967296,this._blockSize-8),this._block.writeUInt32BE(w,this._blockSize-4)}this._update(this._block);var R=this._hash();return x?R.toString(x):R},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Qe.exports=t},5443:(Qe,te,g)=>{var e=Qe.exports=function(x){x=x.toLowerCase();var D=e[x];if(!D)throw new Error(x+" is not supported (we accept pull requests)");return new D};e.sha=g(8585),e.sha1=g(1270),e.sha224=g(2709),e.sha256=g(2148),e.sha384=g(1856),e.sha512=g(3121)},8585:(Qe,te,g)=>{var e=g(1993),t=g(463),x=g(7054).Buffer,D=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function w(){this.init(),this._w=l,t.call(this,64,56)}function f(S){return S<<5|S>>>27}function R(S){return S<<30|S>>>2}function h(S,y,O,I){return 0===S?y&O|~y&I:2===S?y&O|y&I|O&I:y^O^I}e(w,t),w.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},w.prototype._update=function(S){for(var y=this._w,O=0|this._a,I=0|this._b,V=0|this._c,j=0|this._d,Y=0|this._e,W=0;W<16;++W)y[W]=S.readInt32BE(4*W);for(;W<80;++W)y[W]=y[W-3]^y[W-8]^y[W-14]^y[W-16];for(var Q=0;Q<80;++Q){var J=~~(Q/20),ie=f(O)+h(J,I,V,j)+Y+y[Q]+D[J]|0;Y=j,j=V,V=R(I),I=O,O=ie}this._a=O+this._a|0,this._b=I+this._b|0,this._c=V+this._c|0,this._d=j+this._d|0,this._e=Y+this._e|0},w.prototype._hash=function(){var S=x.allocUnsafe(20);return S.writeInt32BE(0|this._a,0),S.writeInt32BE(0|this._b,4),S.writeInt32BE(0|this._c,8),S.writeInt32BE(0|this._d,12),S.writeInt32BE(0|this._e,16),S},Qe.exports=w},1270:(Qe,te,g)=>{var e=g(1993),t=g(463),x=g(7054).Buffer,D=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function w(){this.init(),this._w=l,t.call(this,64,56)}function f(y){return y<<1|y>>>31}function R(y){return y<<5|y>>>27}function h(y){return y<<30|y>>>2}function S(y,O,I,V){return 0===y?O&I|~O&V:2===y?O&I|O&V|I&V:O^I^V}e(w,t),w.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},w.prototype._update=function(y){for(var O=this._w,I=0|this._a,V=0|this._b,j=0|this._c,Y=0|this._d,W=0|this._e,Q=0;Q<16;++Q)O[Q]=y.readInt32BE(4*Q);for(;Q<80;++Q)O[Q]=f(O[Q-3]^O[Q-8]^O[Q-14]^O[Q-16]);for(var J=0;J<80;++J){var ie=~~(J/20),ee=R(I)+S(ie,V,j,Y)+W+O[J]+D[ie]|0;W=Y,Y=j,j=h(V),V=I,I=ee}this._a=I+this._a|0,this._b=V+this._b|0,this._c=j+this._c|0,this._d=Y+this._d|0,this._e=W+this._e|0},w.prototype._hash=function(){var y=x.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},Qe.exports=w},2709:(Qe,te,g)=>{var e=g(1993),t=g(2148),x=g(463),D=g(7054).Buffer,l=new Array(64);function w(){this.init(),this._w=l,x.call(this,64,56)}e(w,t),w.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},w.prototype._hash=function(){var f=D.allocUnsafe(28);return f.writeInt32BE(this._a,0),f.writeInt32BE(this._b,4),f.writeInt32BE(this._c,8),f.writeInt32BE(this._d,12),f.writeInt32BE(this._e,16),f.writeInt32BE(this._f,20),f.writeInt32BE(this._g,24),f},Qe.exports=w},2148:(Qe,te,g)=>{var e=g(1993),t=g(463),x=g(7054).Buffer,D=[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 w(){this.init(),this._w=l,t.call(this,64,56)}function f(I,V,j){return j^I&(V^j)}function R(I,V,j){return I&V|j&(I|V)}function h(I){return(I>>>2|I<<30)^(I>>>13|I<<19)^(I>>>22|I<<10)}function S(I){return(I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7)}function y(I){return(I>>>7|I<<25)^(I>>>18|I<<14)^I>>>3}function O(I){return(I>>>17|I<<15)^(I>>>19|I<<13)^I>>>10}e(w,t),w.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},w.prototype._update=function(I){for(var V=this._w,j=0|this._a,Y=0|this._b,W=0|this._c,Q=0|this._d,J=0|this._e,ie=0|this._f,ee=0|this._g,fe=0|this._h,ne=0;ne<16;++ne)V[ne]=I.readInt32BE(4*ne);for(;ne<64;++ne)V[ne]=O(V[ne-2])+V[ne-7]+y(V[ne-15])+V[ne-16]|0;for(var Me=0;Me<64;++Me){var Ce=fe+S(J)+f(J,ie,ee)+D[Me]+V[Me]|0,le=h(j)+R(j,Y,W)|0;fe=ee,ee=ie,ie=J,J=Q+Ce|0,Q=W,W=Y,Y=j,j=Ce+le|0}this._a=j+this._a|0,this._b=Y+this._b|0,this._c=W+this._c|0,this._d=Q+this._d|0,this._e=J+this._e|0,this._f=ie+this._f|0,this._g=ee+this._g|0,this._h=fe+this._h|0},w.prototype._hash=function(){var I=x.allocUnsafe(32);return I.writeInt32BE(this._a,0),I.writeInt32BE(this._b,4),I.writeInt32BE(this._c,8),I.writeInt32BE(this._d,12),I.writeInt32BE(this._e,16),I.writeInt32BE(this._f,20),I.writeInt32BE(this._g,24),I.writeInt32BE(this._h,28),I},Qe.exports=w},1856:(Qe,te,g)=>{var e=g(1993),t=g(3121),x=g(463),D=g(7054).Buffer,l=new Array(160);function w(){this.init(),this._w=l,x.call(this,128,112)}e(w,t),w.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},w.prototype._hash=function(){var f=D.allocUnsafe(48);function R(h,S,y){f.writeInt32BE(h,y),f.writeInt32BE(S,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),f},Qe.exports=w},3121:(Qe,te,g)=>{var e=g(1993),t=g(463),x=g(7054).Buffer,D=[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 w(){this.init(),this._w=l,t.call(this,128,112)}function f(Y,W,Q){return Q^Y&(W^Q)}function R(Y,W,Q){return Y&W|Q&(Y|W)}function h(Y,W){return(Y>>>28|W<<4)^(W>>>2|Y<<30)^(W>>>7|Y<<25)}function S(Y,W){return(Y>>>14|W<<18)^(Y>>>18|W<<14)^(W>>>9|Y<<23)}function y(Y,W){return(Y>>>1|W<<31)^(Y>>>8|W<<24)^Y>>>7}function O(Y,W){return(Y>>>1|W<<31)^(Y>>>8|W<<24)^(Y>>>7|W<<25)}function I(Y,W){return(Y>>>19|W<<13)^(W>>>29|Y<<3)^Y>>>6}function V(Y,W){return(Y>>>19|W<<13)^(W>>>29|Y<<3)^(Y>>>6|W<<26)}function j(Y,W){return Y>>>0>>0?1:0}e(w,t),w.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},w.prototype._update=function(Y){for(var W=this._w,Q=0|this._ah,J=0|this._bh,ie=0|this._ch,ee=0|this._dh,fe=0|this._eh,ne=0|this._fh,Me=0|this._gh,Ce=0|this._hh,le=0|this._al,T=0|this._bl,n=0|this._cl,c=0|this._dl,m=0|this._el,d=0|this._fl,C=0|this._gl,A=0|this._hl,k=0;k<32;k+=2)W[k]=Y.readInt32BE(4*k),W[k+1]=Y.readInt32BE(4*k+4);for(;k<160;k+=2){var _=W[k-30],a=W[k-30+1],b=y(_,a),z=O(a,_),N=I(_=W[k-4],a=W[k-4+1]),q=V(a,_),Xe=W[k-32],We=W[k-32+1],oe=z+W[k-14+1]|0,X=b+W[k-14]+j(oe,z)|0;X=(X=X+N+j(oe=oe+q|0,q)|0)+Xe+j(oe=oe+We|0,We)|0,W[k]=X,W[k+1]=oe}for(var se=0;se<160;se+=2){X=W[se],oe=W[se+1];var ae=R(Q,J,ie),he=R(le,T,n),Ie=h(Q,le),st=h(le,Q),me=S(fe,m),Ee=S(m,fe),ue=D[se],Be=D[se+1],Ct=f(fe,ne,Me),ct=f(m,d,C),dt=A+Ee|0,Yt=Ce+me+j(dt,A)|0;Yt=(Yt=(Yt=Yt+Ct+j(dt=dt+ct|0,ct)|0)+ue+j(dt=dt+Be|0,Be)|0)+X+j(dt=dt+oe|0,oe)|0;var ve=st+he|0,_e=Ie+ae+j(ve,st)|0;Ce=Me,A=C,Me=ne,C=d,ne=fe,d=m,fe=ee+Yt+j(m=c+dt|0,c)|0,ee=ie,c=n,ie=J,n=T,J=Q,T=le,Q=Yt+_e+j(le=dt+ve|0,dt)|0}this._al=this._al+le|0,this._bl=this._bl+T|0,this._cl=this._cl+n|0,this._dl=this._dl+c|0,this._el=this._el+m|0,this._fl=this._fl+d|0,this._gl=this._gl+C|0,this._hl=this._hl+A|0,this._ah=this._ah+Q+j(this._al,le)|0,this._bh=this._bh+J+j(this._bl,T)|0,this._ch=this._ch+ie+j(this._cl,n)|0,this._dh=this._dh+ee+j(this._dl,c)|0,this._eh=this._eh+fe+j(this._el,m)|0,this._fh=this._fh+ne+j(this._fl,d)|0,this._gh=this._gh+Me+j(this._gl,C)|0,this._hh=this._hh+Ce+j(this._hl,A)|0},w.prototype._hash=function(){var Y=x.allocUnsafe(64);function W(Q,J,ie){Y.writeInt32BE(Q,ie),Y.writeInt32BE(J,ie+4)}return W(this._ah,this._al,0),W(this._bh,this._bl,8),W(this._ch,this._cl,16),W(this._dh,this._dl,24),W(this._eh,this._el,32),W(this._fh,this._fl,40),W(this._gh,this._gl,48),W(this._hh,this._hl,56),Y},Qe.exports=w},2852:function(Qe,te,g){!function(e){"use strict";var t={};Qe.exports?(t.bytesToHex=g(4740).bytesToHex,t.convertString=g(820),Qe.exports=R):(t.bytesToHex=e.convertHex.bytesToHex,t.convertString=e.convertString,e.sha256=R);var x=[];!function(){function h(I){for(var V=Math.sqrt(I),j=2;j<=V;j++)if(!(I%j))return!1;return!0}for(var y=2,O=0;O<64;)h(y)&&(x[O]=4294967296*((I=Math.pow(y,1/3))-(0|I))|0,O++),y++;var I}();var D=function(h){for(var S=[],y=0,O=0;y>>5]|=h[y]<<24-O%32;return S},l=function(h){for(var S=[],y=0;y<32*h.length;y+=8)S.push(h[y>>>5]>>>24-y%32&255);return S},w=[],f=function(h,S,y){for(var O=h[0],I=h[1],V=h[2],j=h[3],Y=h[4],W=h[5],Q=h[6],J=h[7],ie=0;ie<64;ie++){if(ie<16)w[ie]=0|S[y+ie];else{var ee=w[ie-15],ne=w[ie-2];w[ie]=((ee<<25|ee>>>7)^(ee<<14|ee>>>18)^ee>>>3)+w[ie-7]+((ne<<15|ne>>>17)^(ne<<13|ne>>>19)^ne>>>10)+w[ie-16]}var le=O&I^O&V^I&V,c=J+((Y<<26|Y>>>6)^(Y<<21|Y>>>11)^(Y<<7|Y>>>25))+(Y&W^~Y&Q)+x[ie]+w[ie];J=Q,Q=W,W=Y,Y=j+c|0,j=V,V=I,I=O,O=c+(((O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22))+le)|0}h[0]=h[0]+O|0,h[1]=h[1]+I|0,h[2]=h[2]+V|0,h[3]=h[3]+j|0,h[4]=h[4]+Y|0,h[5]=h[5]+W|0,h[6]=h[6]+Q|0,h[7]=h[7]+J|0};function R(h,S){h.constructor===String&&(h=t.convertString.UTF8.stringToBytes(h));var y=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],O=D(h),I=8*h.length;O[I>>5]|=128<<24-I%32,O[15+(I+64>>9<<4)]=I;for(var V=0;V{Qe.exports=x;var e=g(4356).EventEmitter;function x(){e.call(this)}g(1993)(x,e),x.Readable=g(1092),x.Writable=g(5492),x.Duplex=g(1030),x.Transform=g(3410),x.PassThrough=g(3824),x.finished=g(7854),x.pipeline=g(6846),x.Stream=x,x.prototype.pipe=function(D,l){var w=this;function f(V){D.writable&&!1===D.write(V)&&w.pause&&w.pause()}function R(){w.readable&&w.resume&&w.resume()}w.on("data",f),D.on("drain",R),!D._isStdio&&(!l||!1!==l.end)&&(w.on("end",S),w.on("close",y));var h=!1;function S(){h||(h=!0,D.end())}function y(){h||(h=!0,"function"==typeof D.destroy&&D.destroy())}function O(V){if(I(),0===e.listenerCount(this,"error"))throw V}function I(){w.removeListener("data",f),D.removeListener("drain",R),w.removeListener("end",S),w.removeListener("close",y),w.removeListener("error",O),D.removeListener("error",O),w.removeListener("end",I),w.removeListener("close",I),D.removeListener("close",I)}return w.on("error",O),D.on("error",O),w.on("end",I),w.on("close",I),D.on("close",I),D.emit("pipe",w),D}},464:Qe=>{"use strict";var g={};function e(w,f,R){R||(R=Error);var S=function(y){function O(I,V,j){return y.call(this,function h(y,O,I){return"string"==typeof f?f:f(y,O,I)}(I,V,j))||this}return function te(w,f){w.prototype=Object.create(f.prototype),w.prototype.constructor=w,w.__proto__=f}(O,y),O}(R);S.prototype.name=R.name,S.prototype.code=w,g[w]=S}function t(w,f){if(Array.isArray(w)){var R=w.length;return w=w.map(function(h){return String(h)}),R>2?"one of ".concat(f," ").concat(w.slice(0,R-1).join(", "),", or ")+w[R-1]:2===R?"one of ".concat(f," ").concat(w[0]," or ").concat(w[1]):"of ".concat(f," ").concat(w[0])}return"of ".concat(f," ").concat(String(w))}e("ERR_INVALID_OPT_VALUE",function(w,f){return'The value "'+f+'" is invalid for option "'+w+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(w,f,R){var h,S;if("string"==typeof f&&function x(w,f,R){return w.substr(!R||R<0?0:+R,f.length)===f}(f,"not ")?(h="must not be",f=f.replace(/^not /,"")):h="must be",function D(w,f,R){return(void 0===R||R>w.length)&&(R=w.length),w.substring(R-f.length,R)===f}(w," argument"))S="The ".concat(w," ").concat(h," ").concat(t(f,"type"));else{var y=function l(w,f,R){return"number"!=typeof R&&(R=0),!(R+f.length>w.length)&&-1!==w.indexOf(f,R)}(w,".")?"property":"argument";S='The "'.concat(w,'" ').concat(y," ").concat(h," ").concat(t(f,"type"))}return S+". Received type ".concat(typeof R)},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(w){return"The "+w+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(w){return"Cannot call "+w+" after a stream was destroyed"}),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",function(w){return"Unknown encoding: "+w},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Qe.exports.F=g},1030:(Qe,te,g)=>{"use strict";var e=Object.keys||function(S){var y=[];for(var O in S)y.push(O);return y};Qe.exports=f;var t=g(1092),x=g(5492);g(1993)(f,t);for(var D=e(x.prototype),l=0;l{"use strict";Qe.exports=t;var e=g(3410);function t(x){if(!(this instanceof t))return new t(x);e.call(this,x)}g(1993)(t,e),t.prototype._transform=function(x,D,l){l(null,x)}},1092:(Qe,te,g)=>{"use strict";var e;Qe.exports=T,T.ReadableState=le,g(4356);var S,x=function(Ie,st){return Ie.listeners(st).length},D=g(2601),l=g(3838).Buffer,w=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},h=g(7199);S=h&&h.debuglog?h.debuglog("stream"):function(){};var ie,ee,fe,y=g(7606),O=g(8152),V=g(2827).getHighWaterMark,j=g(464).F,Y=j.ERR_INVALID_ARG_TYPE,W=j.ERR_STREAM_PUSH_AFTER_EOF,Q=j.ERR_METHOD_NOT_IMPLEMENTED,J=j.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;g(1993)(T,D);var ne=O.errorOrDestroy,Me=["error","close","destroy","pause","resume"];function le(he,Ie,st){e=e||g(1030),"boolean"!=typeof st&&(st=Ie instanceof e),this.objectMode=!!(he=he||{}).objectMode,st&&(this.objectMode=this.objectMode||!!he.readableObjectMode),this.highWaterMark=V(this,he,"readableHighWaterMark",st),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!==he.emitClose,this.autoDestroy=!!he.autoDestroy,this.destroyed=!1,this.defaultEncoding=he.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,he.encoding&&(ie||(ie=g(8454).I),this.decoder=new ie(he.encoding),this.encoding=he.encoding)}function T(he){if(e=e||g(1030),!(this instanceof T))return new T(he);this._readableState=new le(he,this,this instanceof e),this.readable=!0,he&&("function"==typeof he.read&&(this._read=he.read),"function"==typeof he.destroy&&(this._destroy=he.destroy)),D.call(this)}function n(he,Ie,st,me,Ee){S("readableAddChunk",Ie);var Be,ue=he._readableState;if(null===Ie)ue.reading=!1,function k(he,Ie){if(S("onEofChunk"),!Ie.ended){if(Ie.decoder){var st=Ie.decoder.end();st&&st.length&&(Ie.buffer.push(st),Ie.length+=Ie.objectMode?1:st.length)}Ie.ended=!0,Ie.sync?_(he):(Ie.needReadable=!1,Ie.emittedReadable||(Ie.emittedReadable=!0,a(he)))}}(he,ue);else if(Ee||(Be=function m(he,Ie){var st;return!function R(he){return l.isBuffer(he)||he instanceof w}(Ie)&&"string"!=typeof Ie&&void 0!==Ie&&!he.objectMode&&(st=new Y("chunk",["string","Buffer","Uint8Array"],Ie)),st}(ue,Ie)),Be)ne(he,Be);else if(ue.objectMode||Ie&&Ie.length>0)if("string"!=typeof Ie&&!ue.objectMode&&Object.getPrototypeOf(Ie)!==l.prototype&&(Ie=function f(he){return l.from(he)}(Ie)),me)ue.endEmitted?ne(he,new J):c(he,ue,Ie,!0);else if(ue.ended)ne(he,new W);else{if(ue.destroyed)return!1;ue.reading=!1,ue.decoder&&!st?(Ie=ue.decoder.write(Ie),ue.objectMode||0!==Ie.length?c(he,ue,Ie,!1):b(he,ue)):c(he,ue,Ie,!1)}else me||(ue.reading=!1,b(he,ue));return!ue.ended&&(ue.lengthIe.highWaterMark&&(Ie.highWaterMark=function C(he){return he>=d?he=d:(he--,he|=he>>>1,he|=he>>>2,he|=he>>>4,he|=he>>>8,he|=he>>>16,he++),he}(he)),he<=Ie.length?he:Ie.ended?Ie.length:(Ie.needReadable=!0,0))}function _(he){var Ie=he._readableState;S("emitReadable",Ie.needReadable,Ie.emittedReadable),Ie.needReadable=!1,Ie.emittedReadable||(S("emitReadable",Ie.flowing),Ie.emittedReadable=!0,process.nextTick(a,he))}function a(he){var Ie=he._readableState;S("emitReadable_",Ie.destroyed,Ie.length,Ie.ended),!Ie.destroyed&&(Ie.length||Ie.ended)&&(he.emit("readable"),Ie.emittedReadable=!1),Ie.needReadable=!Ie.flowing&&!Ie.ended&&Ie.length<=Ie.highWaterMark,We(he)}function b(he,Ie){Ie.readingMore||(Ie.readingMore=!0,process.nextTick(z,he,Ie))}function z(he,Ie){for(;!Ie.reading&&!Ie.ended&&(Ie.length0,Ie.resumeScheduled&&!Ie.paused?Ie.flowing=!0:he.listenerCount("data")>0&&he.resume()}function pe(he){S("readable nexttick read 0"),he.read(0)}function Xe(he,Ie){S("resume",Ie.reading),Ie.reading||he.read(0),Ie.resumeScheduled=!1,he.emit("resume"),We(he),Ie.flowing&&!Ie.reading&&he.read(0)}function We(he){var Ie=he._readableState;for(S("flow",Ie.flowing);Ie.flowing&&null!==he.read(););}function oe(he,Ie){return 0===Ie.length?null:(Ie.objectMode?st=Ie.buffer.shift():!he||he>=Ie.length?(st=Ie.decoder?Ie.buffer.join(""):1===Ie.buffer.length?Ie.buffer.first():Ie.buffer.concat(Ie.length),Ie.buffer.clear()):st=Ie.buffer.consume(he,Ie.decoder),st);var st}function X(he){var Ie=he._readableState;S("endReadable",Ie.endEmitted),Ie.endEmitted||(Ie.ended=!0,process.nextTick(se,Ie,he))}function se(he,Ie){if(S("endReadableNT",he.endEmitted,he.length),!he.endEmitted&&0===he.length&&(he.endEmitted=!0,Ie.readable=!1,Ie.emit("end"),he.autoDestroy)){var st=Ie._writableState;(!st||st.autoDestroy&&st.finished)&&Ie.destroy()}}function ae(he,Ie){for(var st=0,me=he.length;st=Ie.highWaterMark:Ie.length>0)||Ie.ended))return S("read: emitReadable",Ie.length,Ie.ended),0===Ie.length&&Ie.ended?X(this):_(this),null;if(0===(he=A(he,Ie))&&Ie.ended)return 0===Ie.length&&X(this),null;var Ee,me=Ie.needReadable;return S("need readable",me),(0===Ie.length||Ie.length-he0?oe(he,Ie):null)?(Ie.needReadable=Ie.length<=Ie.highWaterMark,he=0):(Ie.length-=he,Ie.awaitDrain=0),0===Ie.length&&(Ie.ended||(Ie.needReadable=!0),st!==he&&Ie.ended&&X(this)),null!==Ee&&this.emit("data",Ee),Ee},T.prototype._read=function(he){ne(this,new Q("_read()"))},T.prototype.pipe=function(he,Ie){var st=this,me=this._readableState;switch(me.pipesCount){case 0:me.pipes=he;break;case 1:me.pipes=[me.pipes,he];break;default:me.pipes.push(he)}me.pipesCount+=1,S("pipe count=%d opts=%j",me.pipesCount,Ie);var ue=Ie&&!1===Ie.end||he===process.stdout||he===process.stderr?je:Ct;function Ct(){S("onend"),he.end()}me.endEmitted?process.nextTick(ue):st.once("end",ue),he.on("unpipe",function Be(vt,$e){S("onunpipe"),vt===st&&$e&&!1===$e.hasUnpiped&&($e.hasUnpiped=!0,function Yt(){S("cleanup"),he.removeListener("close",we),he.removeListener("finish",Ue),he.removeListener("drain",ct),he.removeListener("error",_e),he.removeListener("unpipe",Be),st.removeListener("end",Ct),st.removeListener("end",je),st.removeListener("data",ve),dt=!0,me.awaitDrain&&(!he._writableState||he._writableState.needDrain)&&ct()}())});var ct=function N(he){return function(){var st=he._readableState;S("pipeOnDrain",st.awaitDrain),st.awaitDrain&&st.awaitDrain--,0===st.awaitDrain&&x(he,"data")&&(st.flowing=!0,We(he))}}(st);he.on("drain",ct);var dt=!1;function ve(vt){S("ondata");var $e=he.write(vt);S("dest.write",$e),!1===$e&&((1===me.pipesCount&&me.pipes===he||me.pipesCount>1&&-1!==ae(me.pipes,he))&&!dt&&(S("false write response, pause",me.awaitDrain),me.awaitDrain++),st.pause())}function _e(vt){S("onerror",vt),je(),he.removeListener("error",_e),0===x(he,"error")&&ne(he,vt)}function we(){he.removeListener("finish",Ue),je()}function Ue(){S("onfinish"),he.removeListener("close",we),je()}function je(){S("unpipe"),st.unpipe(he)}return st.on("data",ve),function Ce(he,Ie,st){if("function"==typeof he.prependListener)return he.prependListener(Ie,st);he._events&&he._events[Ie]?Array.isArray(he._events[Ie])?he._events[Ie].unshift(st):he._events[Ie]=[st,he._events[Ie]]:he.on(Ie,st)}(he,"error",_e),he.once("close",we),he.once("finish",Ue),he.emit("pipe",st),me.flowing||(S("pipe resume"),st.resume()),he},T.prototype.unpipe=function(he){var Ie=this._readableState,st={hasUnpiped:!1};if(0===Ie.pipesCount)return this;if(1===Ie.pipesCount)return he&&he!==Ie.pipes||(he||(he=Ie.pipes),Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1,he&&he.emit("unpipe",this,st)),this;if(!he){var me=Ie.pipes,Ee=Ie.pipesCount;Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1;for(var ue=0;ue0,!1!==me.flowing&&this.resume()):"readable"===he&&!me.endEmitted&&!me.readableListening&&(me.readableListening=me.needReadable=!0,me.flowing=!1,me.emittedReadable=!1,S("on readable",me.length,me.reading),me.length?_(this):me.reading||process.nextTick(pe,this)),st},T.prototype.removeListener=function(he,Ie){var st=D.prototype.removeListener.call(this,he,Ie);return"readable"===he&&process.nextTick(q,this),st},T.prototype.removeAllListeners=function(he){var Ie=D.prototype.removeAllListeners.apply(this,arguments);return("readable"===he||void 0===he)&&process.nextTick(q,this),Ie},T.prototype.resume=function(){var he=this._readableState;return he.flowing||(S("resume"),he.flowing=!he.readableListening,function ze(he,Ie){Ie.resumeScheduled||(Ie.resumeScheduled=!0,process.nextTick(Xe,he,Ie))}(this,he)),he.paused=!1,this},T.prototype.pause=function(){return S("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(S("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(he){var Ie=this,st=this._readableState,me=!1;for(var Ee in he.on("end",function(){if(S("wrapped end"),st.decoder&&!st.ended){var Be=st.decoder.end();Be&&Be.length&&Ie.push(Be)}Ie.push(null)}),he.on("data",function(Be){S("wrapped data"),st.decoder&&(Be=st.decoder.write(Be)),st.objectMode&&null==Be||!(st.objectMode||Be&&Be.length)||Ie.push(Be)||(me=!0,he.pause())}),he)void 0===this[Ee]&&"function"==typeof he[Ee]&&(this[Ee]=function(Ct){return function(){return he[Ct].apply(he,arguments)}}(Ee));for(var ue=0;ue{"use strict";Qe.exports=R;var e=g(464).F,t=e.ERR_METHOD_NOT_IMPLEMENTED,x=e.ERR_MULTIPLE_CALLBACK,D=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=e.ERR_TRANSFORM_WITH_LENGTH_0,w=g(1030);function f(y,O){var I=this._transformState;I.transforming=!1;var V=I.writecb;if(null===V)return this.emit("error",new x);I.writechunk=null,I.writecb=null,null!=O&&this.push(O),V(y);var j=this._readableState;j.reading=!1,(j.needReadable||j.length{"use strict";function t(We){var oe=this;this.next=null,this.entry=null,this.finish=function(){!function Xe(We,oe,X){var se=We.entry;for(We.entry=null;se;){var ae=se.callback;oe.pendingcb--,ae(X),se=se.next}oe.corkedRequestsFree.next=We}(oe,We)}}var x;Qe.exports=le,le.WritableState=Me;var Ce,D={deprecate:g(3398)},l=g(2601),w=g(3838).Buffer,f=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},S=g(8152),O=g(2827).getHighWaterMark,I=g(464).F,V=I.ERR_INVALID_ARG_TYPE,j=I.ERR_METHOD_NOT_IMPLEMENTED,Y=I.ERR_MULTIPLE_CALLBACK,W=I.ERR_STREAM_CANNOT_PIPE,Q=I.ERR_STREAM_DESTROYED,J=I.ERR_STREAM_NULL_VALUES,ie=I.ERR_STREAM_WRITE_AFTER_END,ee=I.ERR_UNKNOWN_ENCODING,fe=S.errorOrDestroy;function ne(){}function Me(We,oe,X){x=x||g(1030),"boolean"!=typeof X&&(X=oe instanceof x),this.objectMode=!!(We=We||{}).objectMode,X&&(this.objectMode=this.objectMode||!!We.writableObjectMode),this.highWaterMark=O(this,We,"writableHighWaterMark",X),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===We.decodeStrings),this.defaultEncoding=We.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ae){!function k(We,oe){var X=We._writableState,se=X.sync,ae=X.writecb;if("function"!=typeof ae)throw new Y;if(function A(We){We.writing=!1,We.writecb=null,We.length-=We.writelen,We.writelen=0}(X),oe)!function C(We,oe,X,se,ae){--oe.pendingcb,X?(process.nextTick(ae,se),process.nextTick(pe,We,oe),We._writableState.errorEmitted=!0,fe(We,se)):(ae(se),We._writableState.errorEmitted=!0,fe(We,se),pe(We,oe))}(We,X,se,oe,ae);else{var he=z(X)||We.destroyed;!he&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest&&b(We,X),se?process.nextTick(_,We,X,he,ae):_(We,X,he,ae)}}(oe,ae)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==We.emitClose,this.autoDestroy=!!We.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function le(We){var oe=this instanceof(x=x||g(1030));if(!oe&&!Ce.call(le,this))return new le(We);this._writableState=new Me(We,this,oe),this.writable=!0,We&&("function"==typeof We.write&&(this._write=We.write),"function"==typeof We.writev&&(this._writev=We.writev),"function"==typeof We.destroy&&(this._destroy=We.destroy),"function"==typeof We.final&&(this._final=We.final)),l.call(this)}function d(We,oe,X,se,ae,he,Ie){oe.writelen=se,oe.writecb=Ie,oe.writing=!0,oe.sync=!0,oe.destroyed?oe.onwrite(new Q("write")):X?We._writev(ae,oe.onwrite):We._write(ae,he,oe.onwrite),oe.sync=!1}function _(We,oe,X,se){X||function a(We,oe){0===oe.length&&oe.needDrain&&(oe.needDrain=!1,We.emit("drain"))}(We,oe),oe.pendingcb--,se(),pe(We,oe)}function b(We,oe){oe.bufferProcessing=!0;var X=oe.bufferedRequest;if(We._writev&&X&&X.next){var ae=new Array(oe.bufferedRequestCount),he=oe.corkedRequestsFree;he.entry=X;for(var Ie=0,st=!0;X;)ae[Ie]=X,X.isBuf||(st=!1),X=X.next,Ie+=1;ae.allBuffers=st,d(We,oe,!0,oe.length,ae,"",he.finish),oe.pendingcb++,oe.lastBufferedRequest=null,he.next?(oe.corkedRequestsFree=he.next,he.next=null):oe.corkedRequestsFree=new t(oe),oe.bufferedRequestCount=0}else{for(;X;){var me=X.chunk;if(d(We,oe,!1,oe.objectMode?1:me.length,me,X.encoding,X.callback),X=X.next,oe.bufferedRequestCount--,oe.writing)break}null===X&&(oe.lastBufferedRequest=null)}oe.bufferedRequest=X,oe.bufferProcessing=!1}function z(We){return We.ending&&0===We.length&&null===We.bufferedRequest&&!We.finished&&!We.writing}function N(We,oe){We._final(function(X){oe.pendingcb--,X&&fe(We,X),oe.prefinished=!0,We.emit("prefinish"),pe(We,oe)})}function pe(We,oe){var X=z(oe);if(X&&(function q(We,oe){!oe.prefinished&&!oe.finalCalled&&("function"!=typeof We._final||oe.destroyed?(oe.prefinished=!0,We.emit("prefinish")):(oe.pendingcb++,oe.finalCalled=!0,process.nextTick(N,We,oe)))}(We,oe),0===oe.pendingcb&&(oe.finished=!0,We.emit("finish"),oe.autoDestroy))){var se=We._readableState;(!se||se.autoDestroy&&se.endEmitted)&&We.destroy()}return X}g(1993)(le,l),Me.prototype.getBuffer=function(){for(var oe=this.bufferedRequest,X=[];oe;)X.push(oe),oe=oe.next;return X},function(){try{Object.defineProperty(Me.prototype,"buffer",{get:D.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]?(Ce=Function.prototype[Symbol.hasInstance],Object.defineProperty(le,Symbol.hasInstance,{value:function(oe){return!!Ce.call(this,oe)||this===le&&oe&&oe._writableState instanceof Me}})):Ce=function(oe){return oe instanceof this},le.prototype.pipe=function(){fe(this,new W)},le.prototype.write=function(We,oe,X){var se=this._writableState,ae=!1,he=!se.objectMode&&function h(We){return w.isBuffer(We)||We instanceof f}(We);return he&&!w.isBuffer(We)&&(We=function R(We){return w.from(We)}(We)),"function"==typeof oe&&(X=oe,oe=null),he?oe="buffer":oe||(oe=se.defaultEncoding),"function"!=typeof X&&(X=ne),se.ending?function T(We,oe){var X=new ie;fe(We,X),process.nextTick(oe,X)}(this,X):(he||function n(We,oe,X,se){var ae;return null===X?ae=new J:"string"!=typeof X&&!oe.objectMode&&(ae=new V("chunk",["string","Buffer"],X)),!ae||(fe(We,ae),process.nextTick(se,ae),!1)}(this,se,We,X))&&(se.pendingcb++,ae=function m(We,oe,X,se,ae,he){if(!X){var Ie=function c(We,oe,X){return!We.objectMode&&!1!==We.decodeStrings&&"string"==typeof oe&&(oe=w.from(oe,X)),oe}(oe,se,ae);se!==Ie&&(X=!0,ae="buffer",se=Ie)}var st=oe.objectMode?1:se.length;oe.length+=st;var me=oe.length-1))throw new ee(oe);return this._writableState.defaultEncoding=oe,this},Object.defineProperty(le.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(le.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),le.prototype._write=function(We,oe,X){X(new j("_write()"))},le.prototype._writev=null,le.prototype.end=function(We,oe,X){var se=this._writableState;return"function"==typeof We?(X=We,We=null,oe=null):"function"==typeof oe&&(X=oe,oe=null),null!=We&&this.write(We,oe),se.corked&&(se.corked=1,this.uncork()),se.ending||function ze(We,oe,X){oe.ending=!0,pe(We,oe),X&&(oe.finished?process.nextTick(X):We.once("finish",X)),oe.ended=!0,We.writable=!1}(this,se,X),this},Object.defineProperty(le.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(le.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(oe){this._writableState&&(this._writableState.destroyed=oe)}}),le.prototype.destroy=S.destroy,le.prototype._undestroy=S.undestroy,le.prototype._destroy=function(We,oe){oe(We)}},2683:(Qe,te,g)=>{"use strict";var e;function t(ie,ee,fe){return ee=function x(ie){var ee=function D(ie,ee){if("object"!=typeof ie||null===ie)return ie;var fe=ie[Symbol.toPrimitive];if(void 0!==fe){var ne=fe.call(ie,ee||"default");if("object"!=typeof ne)return ne;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===ee?String:Number)(ie)}(ie,"string");return"symbol"==typeof ee?ee:String(ee)}(ee),ee in ie?Object.defineProperty(ie,ee,{value:fe,enumerable:!0,configurable:!0,writable:!0}):ie[ee]=fe,ie}var l=g(7854),w=Symbol("lastResolve"),f=Symbol("lastReject"),R=Symbol("error"),h=Symbol("ended"),S=Symbol("lastPromise"),y=Symbol("handlePromise"),O=Symbol("stream");function I(ie,ee){return{value:ie,done:ee}}function V(ie){var ee=ie[w];if(null!==ee){var fe=ie[O].read();null!==fe&&(ie[S]=null,ie[w]=null,ie[f]=null,ee(I(fe,!1)))}}function j(ie){process.nextTick(V,ie)}var W=Object.getPrototypeOf(function(){}),Q=Object.setPrototypeOf((t(e={get stream(){return this[O]},next:function(){var ee=this,fe=this[R];if(null!==fe)return Promise.reject(fe);if(this[h])return Promise.resolve(I(void 0,!0));if(this[O].destroyed)return new Promise(function(le,T){process.nextTick(function(){ee[R]?T(ee[R]):le(I(void 0,!0))})});var Me,ne=this[S];if(ne)Me=new Promise(function Y(ie,ee){return function(fe,ne){ie.then(function(){ee[h]?fe(I(void 0,!0)):ee[y](fe,ne)},ne)}}(ne,this));else{var Ce=this[O].read();if(null!==Ce)return Promise.resolve(I(Ce,!1));Me=new Promise(this[y])}return this[S]=Me,Me}},Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var ee=this;return new Promise(function(fe,ne){ee[O].destroy(null,function(Me){Me?ne(Me):fe(I(void 0,!0))})})}),e),W);Qe.exports=function(ee){var fe,ne=Object.create(Q,(t(fe={},O,{value:ee,writable:!0}),t(fe,w,{value:null,writable:!0}),t(fe,f,{value:null,writable:!0}),t(fe,R,{value:null,writable:!0}),t(fe,h,{value:ee._readableState.endEmitted,writable:!0}),t(fe,y,{value:function(Ce,le){var T=ne[O].read();T?(ne[S]=null,ne[w]=null,ne[f]=null,Ce(I(T,!1))):(ne[w]=Ce,ne[f]=le)},writable:!0}),fe));return ne[S]=null,l(ee,function(Me){if(Me&&"ERR_STREAM_PREMATURE_CLOSE"!==Me.code){var Ce=ne[f];return null!==Ce&&(ne[S]=null,ne[w]=null,ne[f]=null,Ce(Me)),void(ne[R]=Me)}var le=ne[w];null!==le&&(ne[S]=null,ne[w]=null,ne[f]=null,le(I(void 0,!0))),ne[h]=!0}),ee.on("readable",j.bind(null,ne)),ne}},7606:(Qe,te,g)=>{"use strict";function e(j,Y){var W=Object.keys(j);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(j);Y&&(Q=Q.filter(function(J){return Object.getOwnPropertyDescriptor(j,J).enumerable})),W.push.apply(W,Q)}return W}function t(j){for(var Y=1;Y0?this.tail.next=Q:this.head=Q,this.tail=Q,++this.length}},{key:"unshift",value:function(W){var Q={data:W,next:this.head};0===this.length&&(this.tail=Q),this.head=Q,++this.length}},{key:"shift",value:function(){if(0!==this.length){var W=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,W}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(W){if(0===this.length)return"";for(var Q=this.head,J=""+Q.data;Q=Q.next;)J+=W+Q.data;return J}},{key:"concat",value:function(W){if(0===this.length)return S.alloc(0);for(var Q=S.allocUnsafe(W>>>0),J=this.head,ie=0;J;)V(J.data,Q,ie),ie+=J.data.length,J=J.next;return Q}},{key:"consume",value:function(W,Q){var J;return Wee.length?ee.length:W;if(ie+=fe===ee.length?ee:ee.slice(0,W),0==(W-=fe)){fe===ee.length?(++J,this.head=Q.next?Q.next:this.tail=null):(this.head=Q,Q.data=ee.slice(fe));break}++J}return this.length-=J,ie}},{key:"_getBuffer",value:function(W){var Q=S.allocUnsafe(W),J=this.head,ie=1;for(J.data.copy(Q),W-=J.data.length;J=J.next;){var ee=J.data,fe=W>ee.length?ee.length:W;if(ee.copy(Q,Q.length-W,0,fe),0==(W-=fe)){fe===ee.length?(++ie,this.head=J.next?J.next:this.tail=null):(this.head=J,J.data=ee.slice(fe));break}++ie}return this.length-=ie,Q}},{key:I,value:function(W,Q){return O(this,t(t({},Q),{},{depth:0,customInspect:!1}))}}]),j}()},8152:Qe=>{"use strict";function g(l,w){x(l,w),e(l)}function e(l){l._writableState&&!l._writableState.emitClose||l._readableState&&!l._readableState.emitClose||l.emit("close")}function x(l,w){l.emit("error",w)}Qe.exports={destroy:function te(l,w){var f=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(w?w(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(x,this,l)):process.nextTick(x,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(S){!w&&S?f._writableState?f._writableState.errorEmitted?process.nextTick(e,f):(f._writableState.errorEmitted=!0,process.nextTick(g,f,S)):process.nextTick(g,f,S):w?(process.nextTick(e,f),w(S)):process.nextTick(e,f)}),this)},undestroy:function t(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function D(l,w){var f=l._readableState,R=l._writableState;f&&f.autoDestroy||R&&R.autoDestroy?l.destroy(w):l.emit("error",w)}}},7854:(Qe,te,g)=>{"use strict";var e=g(464).F.ERR_STREAM_PREMATURE_CLOSE;function x(){}Qe.exports=function l(w,f,R){if("function"==typeof f)return l(w,null,f);f||(f={}),R=function t(w){var f=!1;return function(){if(!f){f=!0;for(var R=arguments.length,h=new Array(R),S=0;S{Qe.exports=function(){throw new Error("Readable.from is not available in the browser")}},6846:(Qe,te,g)=>{"use strict";var e,x=g(464).F,D=x.ERR_MISSING_ARGS,l=x.ERR_STREAM_DESTROYED;function w(I){if(I)throw I}function h(I){I()}function S(I,V){return I.pipe(V)}Qe.exports=function O(){for(var I=arguments.length,V=new Array(I),j=0;j0,function(ne){W||(W=ne),ne&&Q.forEach(h),!ee&&(Q.forEach(h),Y(W))})});return V.reduce(S)}},2827:(Qe,te,g)=>{"use strict";var e=g(464).F.ERR_INVALID_OPT_VALUE;Qe.exports={getHighWaterMark:function x(D,l,w,f){var R=function t(D,l,w){return null!=D.highWaterMark?D.highWaterMark:l?D[w]:null}(l,f,w);if(null!=R){if(!isFinite(R)||Math.floor(R)!==R||R<0)throw new e(f?w:"highWaterMark",R);return Math.floor(R)}return D.objectMode?16:16384}}},2601:(Qe,te,g)=>{Qe.exports=g(4356).EventEmitter},8454:(Qe,te,g)=>{"use strict";var e=g(4272).Buffer,t=e.isEncoding||function(Q){switch((Q=""+Q)&&Q.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(Q){var J;switch(this.encoding=function D(Q){var J=function x(Q){if(!Q)return"utf8";for(var J;;)switch(Q){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 Q;default:if(J)return;Q=(""+Q).toLowerCase(),J=!0}}(Q);if("string"!=typeof J&&(e.isEncoding===t||!t(Q)))throw new Error("Unknown encoding: "+Q);return J||Q}(Q),this.encoding){case"utf16le":this.text=O,this.end=I,J=4;break;case"utf8":this.fillLast=h,J=4;break;case"base64":this.text=V,this.end=j,J=3;break;default:return this.write=Y,void(this.end=W)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(J)}function w(Q){return Q<=127?0:Q>>5==6?2:Q>>4==14?3:Q>>3==30?4:Q>>6==2?-1:-2}function h(Q){var J=this.lastTotal-this.lastNeed,ie=function R(Q,J){if(128!=(192&J[0]))return Q.lastNeed=0,"\ufffd";if(Q.lastNeed>1&&J.length>1){if(128!=(192&J[1]))return Q.lastNeed=1,"\ufffd";if(Q.lastNeed>2&&J.length>2&&128!=(192&J[2]))return Q.lastNeed=2,"\ufffd"}}(this,Q);return void 0!==ie?ie:this.lastNeed<=Q.length?(Q.copy(this.lastChar,J,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(Q.copy(this.lastChar,J,0,Q.length),void(this.lastNeed-=Q.length))}function O(Q,J){if((Q.length-J)%2==0){var ie=Q.toString("utf16le",J);if(ie){var ee=ie.charCodeAt(ie.length-1);if(ee>=55296&&ee<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Q[Q.length-2],this.lastChar[1]=Q[Q.length-1],ie.slice(0,-1)}return ie}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Q[Q.length-1],Q.toString("utf16le",J,Q.length-1)}function I(Q){var J=Q&&Q.length?this.write(Q):"";return this.lastNeed?J+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):J}function V(Q,J){var ie=(Q.length-J)%3;return 0===ie?Q.toString("base64",J):(this.lastNeed=3-ie,this.lastTotal=3,1===ie?this.lastChar[0]=Q[Q.length-1]:(this.lastChar[0]=Q[Q.length-2],this.lastChar[1]=Q[Q.length-1]),Q.toString("base64",J,Q.length-ie))}function j(Q){var J=Q&&Q.length?this.write(Q):"";return this.lastNeed?J+this.lastChar.toString("base64",0,3-this.lastNeed):J}function Y(Q){return Q.toString(this.encoding)}function W(Q){return Q&&Q.length?this.write(Q):""}te.I=l,l.prototype.write=function(Q){if(0===Q.length)return"";var J,ie;if(this.lastNeed){if(void 0===(J=this.fillLast(Q)))return"";ie=this.lastNeed,this.lastNeed=0}else ie=0;return ie=0?(fe>0&&(Q.lastNeed=fe-1),fe):--ee=0?(fe>0&&(Q.lastNeed=fe-2),fe):--ee=0?(fe>0&&(2===fe?fe=0:Q.lastNeed=fe-3),fe):0}(this,Q,J);if(!this.lastNeed)return Q.toString("utf8",J);this.lastTotal=ie;var ee=Q.length-(ie-this.lastNeed);return Q.copy(this.lastChar,0,ee),Q.toString("utf8",J,ee)},l.prototype.fillLast=function(Q){if(this.lastNeed<=Q.length)return Q.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Q.copy(this.lastChar,this.lastTotal-this.lastNeed,0,Q.length),this.lastNeed-=Q.length}},4272:(Qe,te,g)=>{var e=g(3838),t=e.Buffer;function x(l,w){for(var f in l)w[f]=l[f]}function D(l,w,f){return t(l,w,f)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Qe.exports=e:(x(e,te),te.Buffer=D),x(t,D),D.from=function(l,w,f){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,w,f)},D.alloc=function(l,w,f){if("number"!=typeof l)throw new TypeError("Argument must be a number");var R=t(l);return void 0!==w?"string"==typeof f?R.fill(w,f):R.fill(w):R.fill(0),R},D.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},D.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},7851:(Qe,te,g)=>{var e=g(1876);te.encode=e.encode,te.decode=e.decode},1876:(Qe,te)=>{"use strict";var e=[255,255,26,27,28,29,30,31,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255];te.encode=function(x){Buffer.isBuffer(x)||(x=new Buffer(x));for(var D=0,l=0,w=0,f=0,R=new Buffer(8*function t(x){var D=Math.floor(x.length/5);return x.length%5==0?D:D+1}(x));D3?(f=(f=h&255>>w)<<(w=(w+5)%8)|(D+1>8-w,D++):(f=h>>8-(w+5)&31,0==(w=(w+5)%8)&&D++),R[l]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(f),l++}for(D=l;D>>(D=(D+5)%8),f++,w=255&l<<8-D)}return R.slice(0,f)}},3398:Qe=>{function g(e){try{if(!global.localStorage)return!1}catch{return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}Qe.exports=function te(e,t){if(g("noDeprecation"))return e;var x=!1;return function D(){if(!x){if(g("throwDeprecation"))throw new Error(t);g("traceDeprecation")?console.trace(t):console.warn(t),x=!0}return e.apply(this,arguments)}}},8326:(__unused_webpack_module,exports)=>{var indexOf=function(Qe,te){if(Qe.indexOf)return Qe.indexOf(te);for(var g=0;g{},7790:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},4688:()=>{},1069:()=>{},5340:()=>{},9838:()=>{},3779:()=>{},7199:()=>{},9969:(Qe,te,g)=>{"use strict";g.d(te,{FX:()=>le,If:()=>e,K2:()=>w,MA:()=>O,Os:()=>l,P:()=>V,hZ:()=>x,i0:()=>D,i7:()=>h,iF:()=>f,kY:()=>S,kp:()=>t,sf:()=>Me,ui:()=>Ce,wk:()=>R});var e=function(T){return T[T.State=0]="State",T[T.Transition=1]="Transition",T[T.Sequence=2]="Sequence",T[T.Group=3]="Group",T[T.Animate=4]="Animate",T[T.Keyframes=5]="Keyframes",T[T.Style=6]="Style",T[T.Trigger=7]="Trigger",T[T.Reference=8]="Reference",T[T.AnimateChild=9]="AnimateChild",T[T.AnimateRef=10]="AnimateRef",T[T.Query=11]="Query",T[T.Stagger=12]="Stagger",T}(e||{});const t="*";function x(T,n){return{type:e.Trigger,name:T,definitions:n,options:{}}}function D(T,n=null){return{type:e.Animate,styles:n,timings:T}}function l(T,n=null){return{type:e.Group,steps:T,options:n}}function w(T,n=null){return{type:e.Sequence,steps:T,options:n}}function f(T){return{type:e.Style,styles:T,offset:null}}function R(T,n,c){return{type:e.State,name:T,styles:n,options:c}}function h(T){return{type:e.Keyframes,steps:T}}function S(T,n,c=null){return{type:e.Transition,expr:T,animation:n,options:c}}function O(T=null){return{type:e.AnimateChild,options:T}}function V(T,n,c=null){return{type:e.Query,selector:T,animation:n,options:c}}class Me{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(m=>m()),c.length=0}}class Ce{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,m=0,d=0;const C=this.players.length;0==C?queueMicrotask(()=>this._onFinish()):this.players.forEach(A=>{A.onDone(()=>{++c==C&&this._onFinish()}),A.onDestroy(()=>{++m==C&&this._onDestroy()}),A.onStart(()=>{++d==C&&this._onStart()})}),this.totalTime=this.players.reduce((A,k)=>Math.max(A,k.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(m=>{const d=m.totalTime?Math.min(1,c/m.totalTime):1;m.setPosition(d)})}getPosition(){const n=this.players.reduce((c,m)=>null===c||m.totalTime>c.totalTime?m: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(m=>m()),c.length=0}}const le="!"},8617:(Qe,te,g)=>{"use strict";g.d(te,{Ae:()=>fe,Ai:()=>nt,Au:()=>C,Bu:()=>A,FN:()=>Je,GX:()=>he,Pd:()=>Se,Q_:()=>xt,Z7:()=>_,_G:()=>Ct,kB:()=>Ie,px:()=>ee,vR:()=>et,vr:()=>n,w6:()=>ct});var e=g(177),t=g(4438),x=g(6860),D=g(1413),l=g(8359),w=g(4412),f=g(7673),R=g(7336),h=g(8141),S=g(152),y=g(5964),O=g(6354),I=g(6697),V=g(5245),j=g(3294),Y=g(6977),W=g(2318),Q=g(4085),J=g(9327);const ie=" ";function ee(Te,ce,Z){const Re=ne(Te,ce);Z=Z.trim(),!Re.some(Pe=>Pe.trim()===Z)&&(Re.push(Z),Te.setAttribute(ce,Re.join(ie)))}function fe(Te,ce,Z){const Re=ne(Te,ce);Z=Z.trim();const Pe=Re.filter(pt=>pt!==Z);Pe.length?Te.setAttribute(ce,Pe.join(ie)):Te.removeAttribute(ce)}function ne(Te,ce){return Te.getAttribute(ce)?.match(/\S+/g)??[]}const Ce="cdk-describedby-message",le="cdk-describedby-host";let T=0,n=(()=>{class Te{constructor(Z,Re){this._platform=Re,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+T++,this._document=Z,this._id=(0,t.WQX)(t.sZ2)+"-"+T++}describe(Z,Re,Pe){if(!this._canBeDescribed(Z,Re))return;const pt=c(Re,Pe);"string"!=typeof Re?(m(Re,this._id),this._messageRegistry.set(pt,{messageElement:Re,referenceCount:0})):this._messageRegistry.has(pt)||this._createMessageElement(Re,Pe),this._isElementDescribedByMessage(Z,pt)||this._addMessageReference(Z,pt)}removeDescription(Z,Re,Pe){if(!Re||!this._isElementNode(Z))return;const pt=c(Re,Pe);if(this._isElementDescribedByMessage(Z,pt)&&this._removeMessageReference(Z,pt),"string"==typeof Re){const Ke=this._messageRegistry.get(pt);Ke&&0===Ke.referenceCount&&this._deleteMessageElement(pt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Z=this._document.querySelectorAll(`[${le}="${this._id}"]`);for(let Re=0;Re0!=Pe.indexOf(Ce));Z.setAttribute("aria-describedby",Re.join(" "))}_addMessageReference(Z,Re){const Pe=this._messageRegistry.get(Re);ee(Z,"aria-describedby",Pe.messageElement.id),Z.setAttribute(le,this._id),Pe.referenceCount++}_removeMessageReference(Z,Re){const Pe=this._messageRegistry.get(Re);Pe.referenceCount--,fe(Z,"aria-describedby",Pe.messageElement.id),Z.removeAttribute(le)}_isElementDescribedByMessage(Z,Re){const Pe=ne(Z,"aria-describedby"),pt=this._messageRegistry.get(Re),Ke=pt&&pt.messageElement.id;return!!Ke&&-1!=Pe.indexOf(Ke)}_canBeDescribed(Z,Re){if(!this._isElementNode(Z))return!1;if(Re&&"object"==typeof Re)return!0;const Pe=null==Re?"":`${Re}`.trim(),pt=Z.getAttribute("aria-label");return!(!Pe||pt&&pt.trim()===Pe)}_isElementNode(Z){return Z.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(Re){return new(Re||Te)(t.KVO(e.qQ),t.KVO(x.OD))}}static{this.\u0275prov=t.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}}return Te})();function c(Te,ce){return"string"==typeof Te?`${ce||""}/${Te}`:Te}function m(Te,ce){Te.id||(Te.id=`${Ce}-${ce}-${T++}`)}class d{constructor(ce,Z){this._items=ce,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new D.B,this._typeaheadSubscription=l.yU.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=Re=>Re.disabled,this._pressedLetters=[],this.tabOut=new D.B,this.change=new D.B,ce instanceof t.rOR?this._itemChangesSubscription=ce.changes.subscribe(Re=>this._itemsChanged(Re.toArray())):(0,t.Hps)(ce)&&(this._effectRef=(0,t.QZP)(()=>this._itemsChanged(ce()),{injector:Z}))}skipPredicate(ce){return this._skipPredicateFn=ce,this}withWrap(ce=!0){return this._wrap=ce,this}withVerticalOrientation(ce=!0){return this._vertical=ce,this}withHorizontalOrientation(ce){return this._horizontal=ce,this}withAllowedModifierKeys(ce){return this._allowedModifierKeys=ce,this}withTypeAhead(ce=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,h.M)(Z=>this._pressedLetters.push(Z)),(0,S.B)(ce),(0,y.p)(()=>this._pressedLetters.length>0),(0,O.T)(()=>this._pressedLetters.join(""))).subscribe(Z=>{const Re=this._getItemsArray();for(let Pe=1;Pe!ce[pt]||this._allowedModifierKeys.indexOf(pt)>-1);switch(Z){case R.wn:return void this.tabOut.next();case R.n6:if(this._vertical&&Pe){this.setNextItemActive();break}return;case R.i7:if(this._vertical&&Pe){this.setPreviousItemActive();break}return;case R.LE:if(this._horizontal&&Pe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case R.UQ:if(this._horizontal&&Pe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case R.yZ:if(this._homeAndEnd&&Pe){this.setFirstItemActive();break}return;case R.Kp:if(this._homeAndEnd&&Pe){this.setLastItemActive();break}return;case R.w_:if(this._pageUpAndDown.enabled&&Pe){const pt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(pt>0?pt:0,1);break}return;case R.dB:if(this._pageUpAndDown.enabled&&Pe){const pt=this._activeItemIndex+this._pageUpAndDown.delta,Ke=this._getItemsArray().length;this._setActiveItemByIndex(pt=R.A&&Z<=R.Z||Z>=R.f2&&Z<=R.bn)&&this._letterKeyStream.next(String.fromCharCode(Z))))}this._pressedLetters=[],ce.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._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(ce){const Z=this._getItemsArray(),Re="number"==typeof ce?ce:Z.indexOf(ce);this._activeItem=Z[Re]??null,this._activeItemIndex=Re}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(ce){this._wrap?this._setActiveInWrapMode(ce):this._setActiveInDefaultMode(ce)}_setActiveInWrapMode(ce){const Z=this._getItemsArray();for(let Re=1;Re<=Z.length;Re++){const Pe=(this._activeItemIndex+ce*Re+Z.length)%Z.length;if(!this._skipPredicateFn(Z[Pe]))return void this.setActiveItem(Pe)}}_setActiveInDefaultMode(ce){this._setActiveItemByIndex(this._activeItemIndex+ce,ce)}_setActiveItemByIndex(ce,Z){const Re=this._getItemsArray();if(Re[ce]){for(;this._skipPredicateFn(Re[ce]);)if(!Re[ce+=Z])return;this.setActiveItem(ce)}}_getItemsArray(){return(0,t.Hps)(this._items)?this._items():this._items instanceof t.rOR?this._items.toArray():this._items}_itemsChanged(ce){if(this._activeItem){const Z=ce.indexOf(this._activeItem);Z>-1&&Z!==this._activeItemIndex&&(this._activeItemIndex=Z)}}}class C extends d{setActiveItem(ce){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(ce),this.activeItem&&this.activeItem.setActiveStyles()}}class A extends d{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(ce){return this._origin=ce,this}setActiveItem(ce){super.setActiveItem(ce),this.activeItem&&this.activeItem.focus(this._origin)}}let _=(()=>{class Te{constructor(Z){this._platform=Z}isDisabled(Z){return Z.hasAttribute("disabled")}isVisible(Z){return function b(Te){return!!(Te.offsetWidth||Te.offsetHeight||"function"==typeof Te.getClientRects&&Te.getClientRects().length)}(Z)&&"visible"===getComputedStyle(Z).visibility}isTabbable(Z){if(!this._platform.isBrowser)return!1;const Re=function a(Te){try{return Te.frameElement}catch{return null}}(function se(Te){return Te.ownerDocument&&Te.ownerDocument.defaultView||window}(Z));if(Re&&(-1===We(Re)||!this.isVisible(Re)))return!1;let Pe=Z.nodeName.toLowerCase(),pt=We(Z);return Z.hasAttribute("contenteditable")?-1!==pt:!("iframe"===Pe||"object"===Pe||this._platform.WEBKIT&&this._platform.IOS&&!function oe(Te){let ce=Te.nodeName.toLowerCase(),Z="input"===ce&&Te.type;return"text"===Z||"password"===Z||"select"===ce||"textarea"===ce}(Z))&&("audio"===Pe?!!Z.hasAttribute("controls")&&-1!==pt:"video"===Pe?-1!==pt&&(null!==pt||this._platform.FIREFOX||Z.hasAttribute("controls")):Z.tabIndex>=0)}isFocusable(Z,Re){return function X(Te){return!function N(Te){return function pe(Te){return"input"==Te.nodeName.toLowerCase()}(Te)&&"hidden"==Te.type}(Te)&&(function z(Te){let ce=Te.nodeName.toLowerCase();return"input"===ce||"select"===ce||"button"===ce||"textarea"===ce}(Te)||function q(Te){return function ze(Te){return"a"==Te.nodeName.toLowerCase()}(Te)&&Te.hasAttribute("href")}(Te)||Te.hasAttribute("contenteditable")||Xe(Te))}(Z)&&!this.isDisabled(Z)&&(Re?.ignoreVisibility||this.isVisible(Z))}static{this.\u0275fac=function(Re){return new(Re||Te)(t.KVO(x.OD))}}static{this.\u0275prov=t.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}}return Te})();function Xe(Te){if(!Te.hasAttribute("tabindex")||void 0===Te.tabIndex)return!1;let ce=Te.getAttribute("tabindex");return!(!ce||isNaN(parseInt(ce,10)))}function We(Te){if(!Xe(Te))return null;const ce=parseInt(Te.getAttribute("tabindex")||"",10);return isNaN(ce)?-1:ce}class ae{get enabled(){return this._enabled}set enabled(ce){this._enabled=ce,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ce,this._startAnchor),this._toggleAnchorTabIndex(ce,this._endAnchor))}constructor(ce,Z,Re,Pe,pt=!1){this._element=ce,this._checker=Z,this._ngZone=Re,this._document=Pe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,pt||this.attachAnchors()}destroy(){const ce=this._startAnchor,Z=this._endAnchor;ce&&(ce.removeEventListener("focus",this.startAnchorListener),ce.remove()),Z&&(Z.removeEventListener("focus",this.endAnchorListener),Z.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(ce){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusInitialElement(ce)))})}focusFirstTabbableElementWhenReady(ce){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusFirstTabbableElement(ce)))})}focusLastTabbableElementWhenReady(ce){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusLastTabbableElement(ce)))})}_getRegionBoundary(ce){const Z=this._element.querySelectorAll(`[cdk-focus-region-${ce}], [cdkFocusRegion${ce}], [cdk-focus-${ce}]`);return"start"==ce?Z.length?Z[0]:this._getFirstTabbableElement(this._element):Z.length?Z[Z.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ce){const Z=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Z){if(!this._checker.isFocusable(Z)){const Re=this._getFirstTabbableElement(Z);return Re?.focus(ce),!!Re}return Z.focus(ce),!0}return this.focusFirstTabbableElement(ce)}focusFirstTabbableElement(ce){const Z=this._getRegionBoundary("start");return Z&&Z.focus(ce),!!Z}focusLastTabbableElement(ce){const Z=this._getRegionBoundary("end");return Z&&Z.focus(ce),!!Z}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ce){if(this._checker.isFocusable(ce)&&this._checker.isTabbable(ce))return ce;const Z=ce.children;for(let Re=0;Re=0;Re--){const Pe=Z[Re].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Z[Re]):null;if(Pe)return Pe}return null}_createAnchor(){const ce=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ce),ce.classList.add("cdk-visually-hidden"),ce.classList.add("cdk-focus-trap-anchor"),ce.setAttribute("aria-hidden","true"),ce}_toggleAnchorTabIndex(ce,Z){ce?Z.setAttribute("tabindex","0"):Z.removeAttribute("tabindex")}toggleAnchors(ce){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ce,this._startAnchor),this._toggleAnchorTabIndex(ce,this._endAnchor))}_executeOnStable(ce){this._ngZone.isStable?ce():this._ngZone.onStable.pipe((0,I.s)(1)).subscribe(ce)}}let he=(()=>{class Te{constructor(Z,Re,Pe){this._checker=Z,this._ngZone=Re,this._document=Pe}create(Z,Re=!1){return new ae(Z,this._checker,this._ngZone,this._document,Re)}static{this.\u0275fac=function(Re){return new(Re||Te)(t.KVO(_),t.KVO(t.SKi),t.KVO(e.qQ))}}static{this.\u0275prov=t.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}}return Te})(),Ie=(()=>{class Te{get enabled(){return this.focusTrap?.enabled||!1}set enabled(Z){this.focusTrap&&(this.focusTrap.enabled=Z)}constructor(Z,Re,Pe){this._elementRef=Z,this._focusTrapFactory=Re,this._previouslyFocusedElement=null,(0,t.WQX)(x.OD).isBrowser&&(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&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(Z){const Re=Z.autoCapture;Re&&!Re.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,x.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static{this.\u0275fac=function(Re){return new(Re||Te)(t.rXU(t.aKT),t.rXU(he),t.rXU(e.qQ))}}static{this.\u0275dir=t.FsC({type:Te,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",t.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",t.L39]},exportAs:["cdkTrapFocus"],standalone:!0,features:[t.GFd,t.OA$]})}}return Te})();function Ct(Te){return 0===Te.buttons||0===Te.detail}function ct(Te){const ce=Te.touches&&Te.touches[0]||Te.changedTouches&&Te.changedTouches[0];return!(!ce||-1!==ce.identifier||null!=ce.radiusX&&1!==ce.radiusX||null!=ce.radiusY&&1!==ce.radiusY)}const dt=new t.nKC("cdk-input-modality-detector-options"),Yt={ignoreKeys:[R.A$,R.W3,R.eg,R.Ge,R.FX]},_e=(0,x.BQ)({passive:!0,capture:!0});let we=(()=>{class Te{get mostRecentModality(){return this._modality.value}constructor(Z,Re,Pe,pt){this._platform=Z,this._mostRecentTarget=null,this._modality=new w.t(null),this._lastTouchMs=0,this._onKeydown=Ke=>{this._options?.ignoreKeys?.some(Fe=>Fe===Ke.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,x.Fb)(Ke))},this._onMousedown=Ke=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ct(Ke)?"keyboard":"mouse"),this._mostRecentTarget=(0,x.Fb)(Ke))},this._onTouchstart=Ke=>{ct(Ke)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,x.Fb)(Ke))},this._options={...Yt,...pt},this.modalityDetected=this._modality.pipe((0,V.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,j.F)()),Z.isBrowser&&Re.runOutsideAngular(()=>{Pe.addEventListener("keydown",this._onKeydown,_e),Pe.addEventListener("mousedown",this._onMousedown,_e),Pe.addEventListener("touchstart",this._onTouchstart,_e)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,_e),document.removeEventListener("mousedown",this._onMousedown,_e),document.removeEventListener("touchstart",this._onTouchstart,_e))}static{this.\u0275fac=function(Re){return new(Re||Te)(t.KVO(x.OD),t.KVO(t.SKi),t.KVO(e.qQ),t.KVO(dt,8))}}static{this.\u0275prov=t.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}}return Te})();const Ue=new t.nKC("liveAnnouncerElement",{providedIn:"root",factory:function je(){return null}}),vt=new t.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let $e=0,nt=(()=>{class Te{constructor(Z,Re,Pe,pt){this._ngZone=Re,this._defaultOptions=pt,this._document=Pe,this._liveElement=Z||this._createLiveElement()}announce(Z,...Re){const Pe=this._defaultOptions;let pt,Ke;return 1===Re.length&&"number"==typeof Re[0]?Ke=Re[0]:[pt,Ke]=Re,this.clear(),clearTimeout(this._previousTimeout),pt||(pt=Pe&&Pe.politeness?Pe.politeness:"polite"),null==Ke&&Pe&&(Ke=Pe.duration),this._liveElement.setAttribute("aria-live",pt),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Fe=>this._currentResolve=Fe)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Z,"number"==typeof Ke&&(this._previousTimeout=setTimeout(()=>this.clear(),Ke)),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 Z="cdk-live-announcer-element",Re=this._document.getElementsByClassName(Z),Pe=this._document.createElement("div");for(let pt=0;pt .cdk-overlay-container [aria-modal="true"]');for(let Pe=0;Pe{class Te{constructor(Z,Re,Pe,pt,Ke){this._ngZone=Z,this._platform=Re,this._inputModalityDetector=Pe,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 D.B,this._rootNodeFocusAndBlurListener=Fe=>{for(let qe=(0,x.Fb)(Fe);qe;qe=qe.parentElement)"focus"===Fe.type?this._onFocus(Fe,qe):this._onBlur(Fe,qe)},this._document=pt,this._detectionMode=Ke?.detectionMode||Nt.IMMEDIATE}monitor(Z,Re=!1){const Pe=(0,Q.i8)(Z);if(!this._platform.isBrowser||1!==Pe.nodeType)return(0,f.of)();const pt=(0,x.KT)(Pe)||this._getDocument(),Ke=this._elementInfo.get(Pe);if(Ke)return Re&&(Ke.checkChildren=!0),Ke.subject;const Fe={checkChildren:Re,subject:new D.B,rootNode:pt};return this._elementInfo.set(Pe,Fe),this._registerGlobalListeners(Fe),Fe.subject}stopMonitoring(Z){const Re=(0,Q.i8)(Z),Pe=this._elementInfo.get(Re);Pe&&(Pe.subject.complete(),this._setClasses(Re),this._elementInfo.delete(Re),this._removeGlobalListeners(Pe))}focusVia(Z,Re,Pe){const pt=(0,Q.i8)(Z);pt===this._getDocument().activeElement?this._getClosestElementsInfo(pt).forEach(([Fe,Ge])=>this._originChanged(Fe,Re,Ge)):(this._setOrigin(Re),"function"==typeof pt.focus&&pt.focus(Pe))}ngOnDestroy(){this._elementInfo.forEach((Z,Re)=>this.stopMonitoring(Re))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Z){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Z)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Z&&this._isLastInteractionFromInputLabel(Z)?"mouse":"program"}_shouldBeAttributedToTouch(Z){return this._detectionMode===Nt.EVENTUAL||!!Z?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Z,Re){Z.classList.toggle("cdk-focused",!!Re),Z.classList.toggle("cdk-touch-focused","touch"===Re),Z.classList.toggle("cdk-keyboard-focused","keyboard"===Re),Z.classList.toggle("cdk-mouse-focused","mouse"===Re),Z.classList.toggle("cdk-program-focused","program"===Re)}_setOrigin(Z,Re=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Z,this._originFromTouchInteraction="touch"===Z&&Re,this._detectionMode===Nt.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Z,Re){const Pe=this._elementInfo.get(Re),pt=(0,x.Fb)(Z);!Pe||!Pe.checkChildren&&Re!==pt||this._originChanged(Re,this._getFocusOrigin(pt),Pe)}_onBlur(Z,Re){const Pe=this._elementInfo.get(Re);!Pe||Pe.checkChildren&&Z.relatedTarget instanceof Node&&Re.contains(Z.relatedTarget)||(this._setClasses(Re),this._emitOrigin(Pe,null))}_emitOrigin(Z,Re){Z.subject.observers.length&&this._ngZone.run(()=>Z.subject.next(Re))}_registerGlobalListeners(Z){if(!this._platform.isBrowser)return;const Re=Z.rootNode,Pe=this._rootNodeFocusListenerCount.get(Re)||0;Pe||this._ngZone.runOutsideAngular(()=>{Re.addEventListener("focus",this._rootNodeFocusAndBlurListener,jt),Re.addEventListener("blur",this._rootNodeFocusAndBlurListener,jt)}),this._rootNodeFocusListenerCount.set(Re,Pe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Y.Q)(this._stopInputModalityDetector)).subscribe(pt=>{this._setOrigin(pt,!0)}))}_removeGlobalListeners(Z){const Re=Z.rootNode;if(this._rootNodeFocusListenerCount.has(Re)){const Pe=this._rootNodeFocusListenerCount.get(Re);Pe>1?this._rootNodeFocusListenerCount.set(Re,Pe-1):(Re.removeEventListener("focus",this._rootNodeFocusAndBlurListener,jt),Re.removeEventListener("blur",this._rootNodeFocusAndBlurListener,jt),this._rootNodeFocusListenerCount.delete(Re))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Z,Re,Pe){this._setClasses(Z,Re),this._emitOrigin(Pe,Re),this._lastFocusOrigin=Re}_getClosestElementsInfo(Z){const Re=[];return this._elementInfo.forEach((Pe,pt)=>{(pt===Z||Pe.checkChildren&&pt.contains(Z))&&Re.push([pt,Pe])}),Re}_isLastInteractionFromInputLabel(Z){const{_mostRecentTarget:Re,mostRecentModality:Pe}=this._inputModalityDetector;if("mouse"!==Pe||!Re||Re===Z||"INPUT"!==Z.nodeName&&"TEXTAREA"!==Z.nodeName||Z.disabled)return!1;const pt=Z.labels;if(pt)for(let Ke=0;Ke{class Te{constructor(Z,Re){this._elementRef=Z,this._focusMonitor=Re,this._focusOrigin=null,this.cdkFocusChange=new t.bkB}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Z=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Z,1===Z.nodeType&&Z.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Re=>{this._focusOrigin=Re,this.cdkFocusChange.emit(Re)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(Re){return new(Re||Te)(t.rXU(t.aKT),t.rXU(Je))}}static{this.\u0275dir=t.FsC({type:Te,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}}return Te})();var Ae=function(Te){return Te[Te.NONE=0]="NONE",Te[Te.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",Te[Te.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",Te}(Ae||{});const It="cdk-high-contrast-black-on-white",Qt="cdk-high-contrast-white-on-black",Tt="cdk-high-contrast-active";let xt=(()=>{class Te{constructor(Z,Re){this._platform=Z,this._document=Re,this._breakpointSubscription=(0,t.WQX)(J.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Ae.NONE;const Z=this._document.createElement("div");Z.style.backgroundColor="rgb(1,2,3)",Z.style.position="absolute",this._document.body.appendChild(Z);const Re=this._document.defaultView||window,Pe=Re&&Re.getComputedStyle?Re.getComputedStyle(Z):null,pt=(Pe&&Pe.backgroundColor||"").replace(/ /g,"");switch(Z.remove(),pt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Ae.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Ae.BLACK_ON_WHITE}return Ae.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Z=this._document.body.classList;Z.remove(Tt,It,Qt),this._hasCheckedHighContrastMode=!0;const Re=this.getHighContrastMode();Re===Ae.BLACK_ON_WHITE?Z.add(Tt,It):Re===Ae.WHITE_ON_BLACK&&Z.add(Tt,Qt)}}static{this.\u0275fac=function(Re){return new(Re||Te)(t.KVO(x.OD),t.KVO(e.qQ))}}static{this.\u0275prov=t.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}}return Te})(),Se=(()=>{class Te{constructor(Z){Z._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(Re){return new(Re||Te)(t.KVO(xt))}}static{this.\u0275mod=t.$C({type:Te})}static{this.\u0275inj=t.G2t({imports:[W.w5]})}}return Te})()},8203:(Qe,te,g)=>{"use strict";g.d(te,{dS:()=>f,jI:()=>h});var e=g(4438),t=g(177);const x=new e.nKC("cdk-dir-doc",{providedIn:"root",factory:function D(){return(0,e.WQX)(t.qQ)}}),l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let f=(()=>{class S{constructor(O){this.value="ltr",this.change=new e.bkB,O&&(this.value=function w(S){const y=S?.toLowerCase()||"";return"auto"===y&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===y?"rtl":"ltr"}((O.body?O.body.dir:null)||(O.documentElement?O.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(I){return new(I||S)(e.KVO(x,8))}}static{this.\u0275prov=e.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})(),h=(()=>{class S{static{this.\u0275fac=function(I){return new(I||S)}}static{this.\u0275mod=e.$C({type:S})}static{this.\u0275inj=e.G2t({})}}return S})()},4085:(Qe,te,g)=>{"use strict";g.d(te,{FG:()=>l,OE:()=>x,a1:()=>w,cc:()=>R,he:()=>t,i8:()=>f,o1:()=>D});var e=g(4438);function t(h){return null!=h&&"false"!=`${h}`}function x(h,S=0){return D(h)?Number(h):S}function D(h){return!isNaN(parseFloat(h))&&!isNaN(Number(h))}function l(h){return Array.isArray(h)?h:[h]}function w(h){return null==h?"":"string"==typeof h?h:`${h}px`}function f(h){return h instanceof e.aKT?h.nativeElement:h}function R(h,S=/\s+/){const y=[];if(null!=h){const O=Array.isArray(h)?h:`${h}`.split(S);for(const I of O){const V=`${I}`.trim();V&&y.push(V)}}return y}},5024:(Qe,te,g)=>{"use strict";g.d(te,{CB:()=>I,DQ:()=>O,Q3:()=>h,qS:()=>w,sL:()=>S,xn:()=>y,y4:()=>f,zP:()=>j});var e=g(17),D=(g(4402),g(7673),g(1413)),l=g(4438);class w{}function f(Y){return Y&&"function"==typeof Y.connect&&!(Y instanceof e.G)}var h=function(Y){return Y[Y.REPLACED=0]="REPLACED",Y[Y.INSERTED=1]="INSERTED",Y[Y.MOVED=2]="MOVED",Y[Y.REMOVED=3]="REMOVED",Y}(h||{});const S=new l.nKC("_ViewRepeater");class y{applyChanges(W,Q,J,ie,ee){W.forEachOperation((fe,ne,Me)=>{let Ce,le;if(null==fe.previousIndex){const T=J(fe,ne,Me);Ce=Q.createEmbeddedView(T.templateRef,T.context,T.index),le=h.INSERTED}else null==Me?(Q.remove(ne),le=h.REMOVED):(Ce=Q.get(ne),Q.move(Ce,Me),le=h.MOVED);ee&&ee({context:Ce?.context,operation:le,record:fe})})}detach(){}}class O{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(W,Q,J,ie,ee){W.forEachOperation((fe,ne,Me)=>{let Ce,le;null==fe.previousIndex?(Ce=this._insertView(()=>J(fe,ne,Me),Me,Q,ie(fe)),le=Ce?h.INSERTED:h.REPLACED):null==Me?(this._detachAndCacheView(ne,Q),le=h.REMOVED):(Ce=this._moveView(ne,Me,Q,ie(fe)),le=h.MOVED),ee&&ee({context:Ce?.context,operation:le,record:fe})})}detach(){for(const W of this._viewCache)W.destroy();this._viewCache=[]}_insertView(W,Q,J,ie){const ee=this._insertViewFromCache(Q,J);if(ee)return void(ee.context.$implicit=ie);const fe=W();return J.createEmbeddedView(fe.templateRef,fe.context,fe.index)}_detachAndCacheView(W,Q){const J=Q.detach(W);this._maybeCacheView(J,Q)}_moveView(W,Q,J,ie){const ee=J.get(W);return J.move(ee,Q),ee.context.$implicit=ie,ee}_maybeCacheView(W,Q){if(this._viewCache.lengththis._markSelected(ee)):this._markSelected(Q[0]),this._selectedToEmit.length=0)}select(...W){this._verifyValueAssignment(W),W.forEach(J=>this._markSelected(J));const Q=this._hasQueuedChanges();return this._emitChangeEvent(),Q}deselect(...W){this._verifyValueAssignment(W),W.forEach(J=>this._unmarkSelected(J));const Q=this._hasQueuedChanges();return this._emitChangeEvent(),Q}setSelection(...W){this._verifyValueAssignment(W);const Q=this.selected,J=new Set(W);W.forEach(ee=>this._markSelected(ee)),Q.filter(ee=>!J.has(this._getConcreteValue(ee,J))).forEach(ee=>this._unmarkSelected(ee));const ie=this._hasQueuedChanges();return this._emitChangeEvent(),ie}toggle(W){return this.isSelected(W)?this.deselect(W):this.select(W)}clear(W=!0){this._unmarkAll();const Q=this._hasQueuedChanges();return W&&this._emitChangeEvent(),Q}isSelected(W){return this._selection.has(this._getConcreteValue(W))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(W){this._multiple&&this.selected&&this._selected.sort(W)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(W){W=this._getConcreteValue(W),this.isSelected(W)||(this._multiple||this._unmarkAll(),this.isSelected(W)||this._selection.add(W),this._emitChanges&&this._selectedToEmit.push(W))}_unmarkSelected(W){W=this._getConcreteValue(W),this.isSelected(W)&&(this._selection.delete(W),this._emitChanges&&this._deselectedToEmit.push(W))}_unmarkAll(){this.isEmpty()||this._selection.forEach(W=>this._unmarkSelected(W))}_verifyValueAssignment(W){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(W,Q){if(this.compareWith){Q=Q??this._selection;for(let J of Q)if(this.compareWith(W,J))return J;return W}return W}}let j=(()=>{class Y{constructor(){this._listeners=[]}notify(Q,J){for(let ie of this._listeners)ie(Q,J)}listen(Q){return this._listeners.push(Q),()=>{this._listeners=this._listeners.filter(J=>Q!==J)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(J){return new(J||Y)}}static{this.\u0275prov=l.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"})}}return Y})()},7336:(Qe,te,g)=>{"use strict";g.d(te,{A:()=>N,A$:()=>R,FX:()=>w,Fm:()=>l,G_:()=>t,Ge:()=>vt,Kp:()=>j,LE:()=>J,SJ:()=>Me,UQ:()=>W,W3:()=>f,Z:()=>je,_f:()=>y,bn:()=>k,dB:()=>V,eg:()=>rt,f2:()=>Ce,i7:()=>Q,n6:()=>ie,rp:()=>ht,t6:()=>O,w_:()=>I,wn:()=>x,yZ:()=>Y});const t=8,x=9,l=13,w=16,f=17,R=18,y=27,O=32,I=33,V=34,j=35,Y=36,W=37,Q=38,J=39,ie=40,Me=46,Ce=48,k=57,N=65,je=90,vt=91,rt=224;function ht(ii,...di){return di.length?di.some(Gi=>ii[Gi]):ii.altKey||ii.shiftKey||ii.ctrlKey||ii.metaKey}},9327:(Qe,te,g)=>{"use strict";g.d(te,{QP:()=>ie,RH:()=>V,Rp:()=>fe});var e=g(4438),t=g(4085),x=g(1413),D=g(4572),l=g(8793),w=g(1985),f=g(6697),R=g(5245),h=g(152),S=g(6354),y=g(9172),O=g(6977),I=g(6860);let V=(()=>{class ne{static{this.\u0275fac=function(le){return new(le||ne)}}static{this.\u0275mod=e.$C({type:ne})}static{this.\u0275inj=e.G2t({})}}return ne})();const j=new Set;let Y,W=(()=>{class ne{constructor(Ce,le){this._platform=Ce,this._nonce=le,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):J}matchMedia(Ce){return(this._platform.WEBKIT||this._platform.BLINK)&&function Q(ne,Me){if(!j.has(ne))try{Y||(Y=document.createElement("style"),Me&&Y.setAttribute("nonce",Me),Y.setAttribute("type","text/css"),document.head.appendChild(Y)),Y.sheet&&(Y.sheet.insertRule(`@media ${ne} {body{ }}`,0),j.add(ne))}catch(Ce){console.error(Ce)}}(Ce,this._nonce),this._matchMedia(Ce)}static{this.\u0275fac=function(le){return new(le||ne)(e.KVO(I.OD),e.KVO(e.BIS,8))}}static{this.\u0275prov=e.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}}return ne})();function J(ne){return{matches:"all"===ne||""===ne,media:ne,addListener:()=>{},removeListener:()=>{}}}let ie=(()=>{class ne{constructor(Ce,le){this._mediaMatcher=Ce,this._zone=le,this._queries=new Map,this._destroySubject=new x.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Ce){return ee((0,t.FG)(Ce)).some(T=>this._registerQuery(T).mql.matches)}observe(Ce){const T=ee((0,t.FG)(Ce)).map(c=>this._registerQuery(c).observable);let n=(0,D.z)(T);return n=(0,l.x)(n.pipe((0,f.s)(1)),n.pipe((0,R.i)(1),(0,h.B)(0))),n.pipe((0,S.T)(c=>{const m={matches:!1,breakpoints:{}};return c.forEach(({matches:d,query:C})=>{m.matches=m.matches||d,m.breakpoints[C]=d}),m}))}_registerQuery(Ce){if(this._queries.has(Ce))return this._queries.get(Ce);const le=this._mediaMatcher.matchMedia(Ce),n={observable:new w.c(c=>{const m=d=>this._zone.run(()=>c.next(d));return le.addListener(m),()=>{le.removeListener(m)}}).pipe((0,y.Z)(le),(0,S.T)(({matches:c})=>({query:Ce,matches:c})),(0,O.Q)(this._destroySubject)),mql:le};return this._queries.set(Ce,n),n}static{this.\u0275fac=function(le){return new(le||ne)(e.KVO(W),e.KVO(e.SKi))}}static{this.\u0275prov=e.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}}return ne})();function ee(ne){return ne.map(Me=>Me.split(",")).reduce((Me,Ce)=>Me.concat(Ce)).map(Me=>Me.trim())}const fe={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:(Qe,te,g)=>{"use strict";g.d(te,{Wv:()=>y,w5:()=>O});var e=g(4085),t=g(4438),x=g(1985),D=g(1413),l=g(6354),w=g(5964),f=g(152);let h=(()=>{class I{create(j){return typeof MutationObserver>"u"?null:new MutationObserver(j)}static{this.\u0275fac=function(Y){return new(Y||I)}}static{this.\u0275prov=t.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})(),S=(()=>{class I{constructor(j){this._mutationObserverFactory=j,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((j,Y)=>this._cleanupObserver(Y))}observe(j){const Y=(0,e.i8)(j);return new x.c(W=>{const J=this._observeElement(Y).pipe((0,l.T)(ie=>ie.filter(ee=>!function R(I){if("characterData"===I.type&&I.target instanceof Comment)return!0;if("childList"===I.type){for(let V=0;V!!ie.length)).subscribe(W);return()=>{J.unsubscribe(),this._unobserveElement(Y)}})}_observeElement(j){if(this._observedElements.has(j))this._observedElements.get(j).count++;else{const Y=new D.B,W=this._mutationObserverFactory.create(Q=>Y.next(Q));W&&W.observe(j,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(j,{observer:W,stream:Y,count:1})}return this._observedElements.get(j).stream}_unobserveElement(j){this._observedElements.has(j)&&(this._observedElements.get(j).count--,this._observedElements.get(j).count||this._cleanupObserver(j))}_cleanupObserver(j){if(this._observedElements.has(j)){const{observer:Y,stream:W}=this._observedElements.get(j);Y&&Y.disconnect(),W.complete(),this._observedElements.delete(j)}}static{this.\u0275fac=function(Y){return new(Y||I)(t.KVO(h))}}static{this.\u0275prov=t.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})(),y=(()=>{class I{get disabled(){return this._disabled}set disabled(j){this._disabled=j,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(j){this._debounce=(0,e.OE)(j),this._subscribe()}constructor(j,Y,W){this._contentObserver=j,this._elementRef=Y,this._ngZone=W,this.event=new t.bkB,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const j=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?j.pipe((0,f.B)(this.debounce)):j).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(Y){return new(Y||I)(t.rXU(S),t.rXU(t.aKT),t.rXU(t.SKi))}}static{this.\u0275dir=t.FsC({type:I,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",t.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[t.GFd]})}}return I})(),O=(()=>{class I{static{this.\u0275fac=function(Y){return new(Y||I)}}static{this.\u0275mod=t.$C({type:I})}static{this.\u0275inj=t.G2t({providers:[h]})}}return I})()},6969:(Qe,te,g)=>{"use strict";g.d(te,{WB:()=>Be,$Q:()=>ue,rW:()=>q,hJ:()=>st,rR:()=>T,Sf:()=>a,z_:()=>dt,yY:()=>b});var e=g(5542),t=g(177),x=g(4438),D=g(4085),l=g(6860),w=g(5964),f=g(6697),R=g(6977),h=g(9974),S=g(4360),O=g(8203),I=g(6939),V=g(1413),j=g(8359),Y=g(7786),W=g(7336);const Q=(0,l.CZ)();class J{constructor(_e,we){this._viewportRuler=_e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=we}attach(){}enable(){if(this._canBeEnabled()){const _e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=_e.style.left||"",this._previousHTMLStyles.top=_e.style.top||"",_e.style.left=(0,D.a1)(-this._previousScrollPosition.left),_e.style.top=(0,D.a1)(-this._previousScrollPosition.top),_e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const _e=this._document.documentElement,Ue=_e.style,je=this._document.body.style,vt=Ue.scrollBehavior||"",$e=je.scrollBehavior||"";this._isEnabled=!1,Ue.left=this._previousHTMLStyles.left,Ue.top=this._previousHTMLStyles.top,_e.classList.remove("cdk-global-scrollblock"),Q&&(Ue.scrollBehavior=je.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Q&&(Ue.scrollBehavior=vt,je.scrollBehavior=$e)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const we=this._document.body,Ue=this._viewportRuler.getViewportSize();return we.scrollHeight>Ue.height||we.scrollWidth>Ue.width}}class ee{constructor(_e,we,Ue,je){this._scrollDispatcher=_e,this._ngZone=we,this._viewportRuler=Ue,this._config=je,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(_e){this._overlayRef=_e}enable(){if(this._scrollSubscription)return;const _e=this._scrollDispatcher.scrolled(0).pipe((0,w.p)(we=>!we||!this._overlayRef.overlayElement.contains(we.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=_e.subscribe(()=>{const we=this._viewportRuler.getViewportScrollPosition().top;Math.abs(we-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=_e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class fe{enable(){}disable(){}attach(){}}function ne(ve,_e){return _e.some(we=>ve.bottomwe.bottom||ve.rightwe.right)}function Me(ve,_e){return _e.some(we=>ve.topwe.bottom||ve.leftwe.right)}class Ce{constructor(_e,we,Ue,je){this._scrollDispatcher=_e,this._viewportRuler=we,this._ngZone=Ue,this._config=je,this._scrollSubscription=null}attach(_e){this._overlayRef=_e}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 we=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ue,height:je}=this._viewportRuler.getViewportSize();ne(we,[{width:Ue,height:je,bottom:je,right:Ue,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 le=(()=>{class ve{constructor(we,Ue,je,vt){this._scrollDispatcher=we,this._viewportRuler=Ue,this._ngZone=je,this.noop=()=>new fe,this.close=$e=>new ee(this._scrollDispatcher,this._ngZone,this._viewportRuler,$e),this.block=()=>new J(this._viewportRuler,this._document),this.reposition=$e=>new Ce(this._scrollDispatcher,this._viewportRuler,this._ngZone,$e),this._document=vt}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.KVO(e.R),x.KVO(e.Xj),x.KVO(x.SKi),x.KVO(t.qQ))}}static{this.\u0275prov=x.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})();class T{constructor(_e){if(this.scrollStrategy=new fe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,_e){const we=Object.keys(_e);for(const Ue of we)void 0!==_e[Ue]&&(this[Ue]=_e[Ue])}}}class m{constructor(_e,we){this.connectionPair=_e,this.scrollableViewProperties=we}}let A=(()=>{class ve{constructor(we){this._attachedOverlays=[],this._document=we}ngOnDestroy(){this.detach()}add(we){this.remove(we),this._attachedOverlays.push(we)}remove(we){const Ue=this._attachedOverlays.indexOf(we);Ue>-1&&this._attachedOverlays.splice(Ue,1),0===this._attachedOverlays.length&&this.detach()}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.KVO(t.qQ))}}static{this.\u0275prov=x.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})(),k=(()=>{class ve extends A{constructor(we,Ue){super(we),this._ngZone=Ue,this._keydownListener=je=>{const vt=this._attachedOverlays;for(let $e=vt.length-1;$e>-1;$e--)if(vt[$e]._keydownEvents.observers.length>0){const nt=vt[$e]._keydownEvents;this._ngZone?this._ngZone.run(()=>nt.next(je)):nt.next(je);break}}}add(we){super.add(we),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(Ue){return new(Ue||ve)(x.KVO(t.qQ),x.KVO(x.SKi,8))}}static{this.\u0275prov=x.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})(),_=(()=>{class ve extends A{constructor(we,Ue,je){super(we),this._platform=Ue,this._ngZone=je,this._cursorStyleIsSet=!1,this._pointerDownListener=vt=>{this._pointerDownEventTarget=(0,l.Fb)(vt)},this._clickListener=vt=>{const $e=(0,l.Fb)(vt),nt="click"===vt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:$e;this._pointerDownEventTarget=null;const qt=this._attachedOverlays.slice();for(let Nt=qt.length-1;Nt>-1;Nt--){const yt=qt[Nt];if(yt._outsidePointerEvents.observers.length<1||!yt.hasAttached())continue;if(yt.overlayElement.contains($e)||yt.overlayElement.contains(nt))break;const jt=yt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>jt.next(vt)):jt.next(vt)}}}add(we){if(super.add(we),!this._isAttached){const Ue=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Ue)):this._addEventListeners(Ue),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ue.style.cursor,Ue.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const we=this._document.body;we.removeEventListener("pointerdown",this._pointerDownListener,!0),we.removeEventListener("click",this._clickListener,!0),we.removeEventListener("auxclick",this._clickListener,!0),we.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(we.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(we){we.addEventListener("pointerdown",this._pointerDownListener,!0),we.addEventListener("click",this._clickListener,!0),we.addEventListener("auxclick",this._clickListener,!0),we.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.KVO(t.qQ),x.KVO(l.OD),x.KVO(x.SKi,8))}}static{this.\u0275prov=x.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})(),a=(()=>{class ve{constructor(we,Ue){this._platform=Ue,this._document=we}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const we="cdk-overlay-container";if(this._platform.isBrowser||(0,l.v8)()){const je=this._document.querySelectorAll(`.${we}[platform="server"], .${we}[platform="test"]`);for(let vt=0;vtthis._backdropClick.next(jt),this._backdropTransitionendHandler=jt=>{this._disposeBackdrop(jt.target)},this._keydownEvents=new V.B,this._outsidePointerEvents=new V.B,je.scrollStrategy&&(this._scrollStrategy=je.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=je.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(_e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const we=this._portalOutlet.attach(_e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,f.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 we?.onDestroy&&we.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),we}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const _e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),_e}dispose(){const _e=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,_e&&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(_e){_e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=_e,this.hasAttached()&&(_e.attach(this),this.updatePosition()))}updateSize(_e){this._config={...this._config,..._e},this._updateElementSize()}setDirection(_e){this._config={...this._config,direction:_e},this._updateElementDirection()}addPanelClass(_e){this._pane&&this._toggleClasses(this._pane,_e,!0)}removePanelClass(_e){this._pane&&this._toggleClasses(this._pane,_e,!1)}getDirection(){const _e=this._config.direction;return _e?"string"==typeof _e?_e:_e.value:"ltr"}updateScrollStrategy(_e){_e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=_e,this.hasAttached()&&(_e.attach(this),_e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const _e=this._pane.style;_e.width=(0,D.a1)(this._config.width),_e.height=(0,D.a1)(this._config.height),_e.minWidth=(0,D.a1)(this._config.minWidth),_e.minHeight=(0,D.a1)(this._config.minHeight),_e.maxWidth=(0,D.a1)(this._config.maxWidth),_e.maxHeight=(0,D.a1)(this._config.maxHeight)}_togglePointerEvents(_e){this._pane.style.pointerEvents=_e?"":"none"}_attachBackdrop(){const _e="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(_e)})}):this._backdropElement.classList.add(_e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const _e=this._backdropElement;if(_e){if(this._animationsDisabled)return void this._disposeBackdrop(_e);_e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{_e.addEventListener("transitionend",this._backdropTransitionendHandler)}),_e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(_e)},500))}}_toggleClasses(_e,we,Ue){const je=(0,D.FG)(we||[]).filter(vt=>!!vt);je.length&&(Ue?_e.classList.add(...je):_e.classList.remove(...je))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const _e=this._ngZone.onStable.pipe((0,R.Q)((0,Y.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()),_e.unsubscribe())})})}_disposeScrollStrategy(){const _e=this._scrollStrategy;_e&&(_e.disable(),_e.detach&&_e.detach())}_disposeBackdrop(_e){_e&&(_e.removeEventListener("click",this._backdropClickHandler),_e.removeEventListener("transitionend",this._backdropTransitionendHandler),_e.remove(),this._backdropElement===_e&&(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 q{get positions(){return this._preferredPositions}constructor(_e,we,Ue,je,vt){this._viewportRuler=we,this._document=Ue,this._platform=je,this._overlayContainer=vt,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new V.B,this._resizeSubscription=j.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(_e)}attach(_e){this._validatePositions(),_e.hostElement.classList.add(z),this._overlayRef=_e,this._boundingBox=_e.hostElement,this._pane=_e.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 _e=this._originRect,we=this._overlayRect,Ue=this._viewportRect,je=this._containerRect,vt=[];let $e;for(let nt of this._preferredPositions){let qt=this._getOriginPoint(_e,je,nt),Nt=this._getOverlayPoint(qt,we,nt),yt=this._getOverlayFit(Nt,we,Ue,nt);if(yt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(nt,qt);this._canFitWithFlexibleDimensions(yt,Nt,Ue)?vt.push({position:nt,origin:qt,overlayRect:we,boundingBoxRect:this._calculateBoundingBoxRect(qt,nt)}):(!$e||$e.overlayFit.visibleAreaqt&&(qt=yt,nt=Nt)}return this._isPushed=!1,void this._applyPosition(nt.position,nt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition($e.position,$e.originPoint);this._applyPosition($e.position,$e.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&pe(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 _e=this._lastPosition;if(_e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const we=this._getOriginPoint(this._originRect,this._containerRect,_e);this._applyPosition(_e,we)}else this.apply()}withScrollableContainers(_e){return this._scrollables=_e,this}withPositions(_e){return this._preferredPositions=_e,-1===_e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(_e){return this._viewportMargin=_e,this}withFlexibleDimensions(_e=!0){return this._hasFlexibleDimensions=_e,this}withGrowAfterOpen(_e=!0){return this._growAfterOpen=_e,this}withPush(_e=!0){return this._canPush=_e,this}withLockedPosition(_e=!0){return this._positionLocked=_e,this}setOrigin(_e){return this._origin=_e,this}withDefaultOffsetX(_e){return this._offsetX=_e,this}withDefaultOffsetY(_e){return this._offsetY=_e,this}withTransformOriginOn(_e){return this._transformOriginSelector=_e,this}_getOriginPoint(_e,we,Ue){let je,vt;if("center"==Ue.originX)je=_e.left+_e.width/2;else{const $e=this._isRtl()?_e.right:_e.left,nt=this._isRtl()?_e.left:_e.right;je="start"==Ue.originX?$e:nt}return we.left<0&&(je-=we.left),vt="center"==Ue.originY?_e.top+_e.height/2:"top"==Ue.originY?_e.top:_e.bottom,we.top<0&&(vt-=we.top),{x:je,y:vt}}_getOverlayPoint(_e,we,Ue){let je,vt;return je="center"==Ue.overlayX?-we.width/2:"start"===Ue.overlayX?this._isRtl()?-we.width:0:this._isRtl()?0:-we.width,vt="center"==Ue.overlayY?-we.height/2:"top"==Ue.overlayY?0:-we.height,{x:_e.x+je,y:_e.y+vt}}_getOverlayFit(_e,we,Ue,je){const vt=Xe(we);let{x:$e,y:nt}=_e,qt=this._getOffset(je,"x"),Nt=this._getOffset(je,"y");qt&&($e+=qt),Nt&&(nt+=Nt);let Je=0-nt,et=nt+vt.height-Ue.height,Ae=this._subtractOverflows(vt.width,0-$e,$e+vt.width-Ue.width),It=this._subtractOverflows(vt.height,Je,et),Qt=Ae*It;return{visibleArea:Qt,isCompletelyWithinViewport:vt.width*vt.height===Qt,fitsInViewportVertically:It===vt.height,fitsInViewportHorizontally:Ae==vt.width}}_canFitWithFlexibleDimensions(_e,we,Ue){if(this._hasFlexibleDimensions){const je=Ue.bottom-we.y,vt=Ue.right-we.x,$e=ze(this._overlayRef.getConfig().minHeight),nt=ze(this._overlayRef.getConfig().minWidth);return(_e.fitsInViewportVertically||null!=$e&&$e<=je)&&(_e.fitsInViewportHorizontally||null!=nt&&nt<=vt)}return!1}_pushOverlayOnScreen(_e,we,Ue){if(this._previousPushAmount&&this._positionLocked)return{x:_e.x+this._previousPushAmount.x,y:_e.y+this._previousPushAmount.y};const je=Xe(we),vt=this._viewportRect,$e=Math.max(_e.x+je.width-vt.width,0),nt=Math.max(_e.y+je.height-vt.height,0),qt=Math.max(vt.top-Ue.top-_e.y,0),Nt=Math.max(vt.left-Ue.left-_e.x,0);let yt=0,jt=0;return yt=je.width<=vt.width?Nt||-$e:_e.xAe&&!this._isInitialRender&&!this._growAfterOpen&&($e=_e.y-Ae/2)}if("end"===we.overlayX&&!je||"start"===we.overlayX&&je)Je=Ue.width-_e.x+2*this._viewportMargin,yt=_e.x-this._viewportMargin;else if("start"===we.overlayX&&!je||"end"===we.overlayX&&je)jt=_e.x,yt=Ue.right-_e.x;else{const et=Math.min(Ue.right-_e.x+Ue.left,_e.x),Ae=this._lastBoundingBoxSize.width;yt=2*et,jt=_e.x-et,yt>Ae&&!this._isInitialRender&&!this._growAfterOpen&&(jt=_e.x-Ae/2)}return{top:$e,left:jt,bottom:nt,right:Je,width:yt,height:vt}}_setBoundingBoxStyles(_e,we){const Ue=this._calculateBoundingBoxRect(_e,we);!this._isInitialRender&&!this._growAfterOpen&&(Ue.height=Math.min(Ue.height,this._lastBoundingBoxSize.height),Ue.width=Math.min(Ue.width,this._lastBoundingBoxSize.width));const je={};if(this._hasExactPosition())je.top=je.left="0",je.bottom=je.right=je.maxHeight=je.maxWidth="",je.width=je.height="100%";else{const vt=this._overlayRef.getConfig().maxHeight,$e=this._overlayRef.getConfig().maxWidth;je.height=(0,D.a1)(Ue.height),je.top=(0,D.a1)(Ue.top),je.bottom=(0,D.a1)(Ue.bottom),je.width=(0,D.a1)(Ue.width),je.left=(0,D.a1)(Ue.left),je.right=(0,D.a1)(Ue.right),je.alignItems="center"===we.overlayX?"center":"end"===we.overlayX?"flex-end":"flex-start",je.justifyContent="center"===we.overlayY?"center":"bottom"===we.overlayY?"flex-end":"flex-start",vt&&(je.maxHeight=(0,D.a1)(vt)),$e&&(je.maxWidth=(0,D.a1)($e))}this._lastBoundingBoxSize=Ue,pe(this._boundingBox.style,je)}_resetBoundingBoxStyles(){pe(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){pe(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(_e,we){const Ue={},je=this._hasExactPosition(),vt=this._hasFlexibleDimensions,$e=this._overlayRef.getConfig();if(je){const yt=this._viewportRuler.getViewportScrollPosition();pe(Ue,this._getExactOverlayY(we,_e,yt)),pe(Ue,this._getExactOverlayX(we,_e,yt))}else Ue.position="static";let nt="",qt=this._getOffset(we,"x"),Nt=this._getOffset(we,"y");qt&&(nt+=`translateX(${qt}px) `),Nt&&(nt+=`translateY(${Nt}px)`),Ue.transform=nt.trim(),$e.maxHeight&&(je?Ue.maxHeight=(0,D.a1)($e.maxHeight):vt&&(Ue.maxHeight="")),$e.maxWidth&&(je?Ue.maxWidth=(0,D.a1)($e.maxWidth):vt&&(Ue.maxWidth="")),pe(this._pane.style,Ue)}_getExactOverlayY(_e,we,Ue){let je={top:"",bottom:""},vt=this._getOverlayPoint(we,this._overlayRect,_e);return this._isPushed&&(vt=this._pushOverlayOnScreen(vt,this._overlayRect,Ue)),"bottom"===_e.overlayY?je.bottom=this._document.documentElement.clientHeight-(vt.y+this._overlayRect.height)+"px":je.top=(0,D.a1)(vt.y),je}_getExactOverlayX(_e,we,Ue){let $e,je={left:"",right:""},vt=this._getOverlayPoint(we,this._overlayRect,_e);return this._isPushed&&(vt=this._pushOverlayOnScreen(vt,this._overlayRect,Ue)),$e=this._isRtl()?"end"===_e.overlayX?"left":"right":"end"===_e.overlayX?"right":"left","right"===$e?je.right=this._document.documentElement.clientWidth-(vt.x+this._overlayRect.width)+"px":je.left=(0,D.a1)(vt.x),je}_getScrollVisibility(){const _e=this._getOriginRect(),we=this._pane.getBoundingClientRect(),Ue=this._scrollables.map(je=>je.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Me(_e,Ue),isOriginOutsideView:ne(_e,Ue),isOverlayClipped:Me(we,Ue),isOverlayOutsideView:ne(we,Ue)}}_subtractOverflows(_e,...we){return we.reduce((Ue,je)=>Ue-Math.max(je,0),_e)}_getNarrowedViewportRect(){const _e=this._document.documentElement.clientWidth,we=this._document.documentElement.clientHeight,Ue=this._viewportRuler.getViewportScrollPosition();return{top:Ue.top+this._viewportMargin,left:Ue.left+this._viewportMargin,right:Ue.left+_e-this._viewportMargin,bottom:Ue.top+we-this._viewportMargin,width:_e-2*this._viewportMargin,height:we-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(_e,we){return"x"===we?null==_e.offsetX?this._offsetX:_e.offsetX:null==_e.offsetY?this._offsetY:_e.offsetY}_validatePositions(){}_addPanelClasses(_e){this._pane&&(0,D.FG)(_e).forEach(we=>{""!==we&&-1===this._appliedPanelClasses.indexOf(we)&&(this._appliedPanelClasses.push(we),this._pane.classList.add(we))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(_e=>{this._pane.classList.remove(_e)}),this._appliedPanelClasses=[])}_getOriginRect(){const _e=this._origin;if(_e instanceof x.aKT)return _e.nativeElement.getBoundingClientRect();if(_e instanceof Element)return _e.getBoundingClientRect();const we=_e.width||0,Ue=_e.height||0;return{top:_e.y,bottom:_e.y+Ue,left:_e.x,right:_e.x+we,height:Ue,width:we}}}function pe(ve,_e){for(let we in _e)_e.hasOwnProperty(we)&&(ve[we]=_e[we]);return ve}function ze(ve){if("number"!=typeof ve&&null!=ve){const[_e,we]=ve.split(N);return we&&"px"!==we?null:parseFloat(_e)}return ve||null}function Xe(ve){return{top:Math.floor(ve.top),right:Math.floor(ve.right),bottom:Math.floor(ve.bottom),left:Math.floor(ve.left),width:Math.floor(ve.width),height:Math.floor(ve.height)}}const se="cdk-global-overlay-wrapper";class ae{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(_e){const we=_e.getConfig();this._overlayRef=_e,this._width&&!we.width&&_e.updateSize({width:this._width}),this._height&&!we.height&&_e.updateSize({height:this._height}),_e.hostElement.classList.add(se),this._isDisposed=!1}top(_e=""){return this._bottomOffset="",this._topOffset=_e,this._alignItems="flex-start",this}left(_e=""){return this._xOffset=_e,this._xPosition="left",this}bottom(_e=""){return this._topOffset="",this._bottomOffset=_e,this._alignItems="flex-end",this}right(_e=""){return this._xOffset=_e,this._xPosition="right",this}start(_e=""){return this._xOffset=_e,this._xPosition="start",this}end(_e=""){return this._xOffset=_e,this._xPosition="end",this}width(_e=""){return this._overlayRef?this._overlayRef.updateSize({width:_e}):this._width=_e,this}height(_e=""){return this._overlayRef?this._overlayRef.updateSize({height:_e}):this._height=_e,this}centerHorizontally(_e=""){return this.left(_e),this._xPosition="center",this}centerVertically(_e=""){return this.top(_e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const _e=this._overlayRef.overlayElement.style,we=this._overlayRef.hostElement.style,Ue=this._overlayRef.getConfig(),{width:je,height:vt,maxWidth:$e,maxHeight:nt}=Ue,qt=!("100%"!==je&&"100vw"!==je||$e&&"100%"!==$e&&"100vw"!==$e),Nt=!("100%"!==vt&&"100vh"!==vt||nt&&"100%"!==nt&&"100vh"!==nt),yt=this._xPosition,jt=this._xOffset,Je="rtl"===this._overlayRef.getConfig().direction;let et="",Ae="",It="";qt?It="flex-start":"center"===yt?(It="center",Je?Ae=jt:et=jt):Je?"left"===yt||"end"===yt?(It="flex-end",et=jt):("right"===yt||"start"===yt)&&(It="flex-start",Ae=jt):"left"===yt||"start"===yt?(It="flex-start",et=jt):("right"===yt||"end"===yt)&&(It="flex-end",Ae=jt),_e.position=this._cssPosition,_e.marginLeft=qt?"0":et,_e.marginTop=Nt?"0":this._topOffset,_e.marginBottom=this._bottomOffset,_e.marginRight=qt?"0":Ae,we.justifyContent=It,we.alignItems=Nt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const _e=this._overlayRef.overlayElement.style,we=this._overlayRef.hostElement,Ue=we.style;we.classList.remove(se),Ue.justifyContent=Ue.alignItems=_e.marginTop=_e.marginBottom=_e.marginLeft=_e.marginRight=_e.position="",this._overlayRef=null,this._isDisposed=!0}}let he=(()=>{class ve{constructor(we,Ue,je,vt){this._viewportRuler=we,this._document=Ue,this._platform=je,this._overlayContainer=vt}global(){return new ae}flexibleConnectedTo(we){return new q(we,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.KVO(e.Xj),x.KVO(t.qQ),x.KVO(l.OD),x.KVO(a))}}static{this.\u0275prov=x.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})(),Ie=0,st=(()=>{class ve{constructor(we,Ue,je,vt,$e,nt,qt,Nt,yt,jt,Je,et){this.scrollStrategies=we,this._overlayContainer=Ue,this._componentFactoryResolver=je,this._positionBuilder=vt,this._keyboardDispatcher=$e,this._injector=nt,this._ngZone=qt,this._document=Nt,this._directionality=yt,this._location=jt,this._outsideClickDispatcher=Je,this._animationsModuleType=et}create(we){const Ue=this._createHostElement(),je=this._createPaneElement(Ue),vt=this._createPortalOutlet(je),$e=new T(we);return $e.direction=$e.direction||this._directionality.value,new b(vt,Ue,je,$e,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(we){const Ue=this._document.createElement("div");return Ue.id="cdk-overlay-"+Ie++,Ue.classList.add("cdk-overlay-pane"),we.appendChild(Ue),Ue}_createHostElement(){const we=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(we),we}_createPortalOutlet(we){return this._appRef||(this._appRef=this._injector.get(x.o8S)),new I.aI(we,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.KVO(le),x.KVO(a),x.KVO(x.OM3),x.KVO(he),x.KVO(k),x.KVO(x.zZn),x.KVO(x.SKi),x.KVO(t.qQ),x.KVO(O.dS),x.KVO(t.aZ),x.KVO(_),x.KVO(x.bc$,8))}}static{this.\u0275prov=x.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})();const me=[{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"}],Ee=new x.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const ve=(0,x.WQX)(st);return()=>ve.scrollStrategies.reposition()}});let ue=(()=>{class ve{constructor(we){this.elementRef=we}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.rXU(x.aKT))}}static{this.\u0275dir=x.FsC({type:ve,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return ve})(),Be=(()=>{class ve{get offsetX(){return this._offsetX}set offsetX(we){this._offsetX=we,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(we){this._offsetY=we,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(we){this._disposeOnNavigation=we}constructor(we,Ue,je,vt,$e){this._overlay=we,this._dir=$e,this._backdropSubscription=j.yU.EMPTY,this._attachSubscription=j.yU.EMPTY,this._detachSubscription=j.yU.EMPTY,this._positionSubscription=j.yU.EMPTY,this._disposeOnNavigation=!1,this._ngZone=(0,x.WQX)(x.SKi),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 x.bkB,this.positionChange=new x.bkB,this.attach=new x.bkB,this.detach=new x.bkB,this.overlayKeydown=new x.bkB,this.overlayOutsideClick=new x.bkB,this._templatePortal=new I.VA(Ue,je),this._scrollStrategyFactory=vt,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(we){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),we.origin&&this.open&&this._position.apply()),we.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=me);const we=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=we.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=we.detachments().subscribe(()=>this.detach.emit()),we.keydownEvents().subscribe(Ue=>{this.overlayKeydown.next(Ue),Ue.keyCode===W._f&&!this.disableClose&&!(0,W.rp)(Ue)&&(Ue.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Ue=>{const je=this._getOriginElement(),vt=(0,l.Fb)(Ue);(!je||je!==vt&&!je.contains(vt))&&this.overlayOutsideClick.next(Ue)})}_buildConfig(){const we=this._position=this.positionStrategy||this._createPositionStrategy(),Ue=new T({direction:this._dir,positionStrategy:we,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(Ue.width=this.width),(this.height||0===this.height)&&(Ue.height=this.height),(this.minWidth||0===this.minWidth)&&(Ue.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Ue.minHeight=this.minHeight),this.backdropClass&&(Ue.backdropClass=this.backdropClass),this.panelClass&&(Ue.panelClass=this.panelClass),Ue}_updatePositionStrategy(we){const Ue=this.positions.map(je=>({originX:je.originX,originY:je.originY,overlayX:je.overlayX,overlayY:je.overlayY,offsetX:je.offsetX||this.offsetX,offsetY:je.offsetY||this.offsetY,panelClass:je.panelClass||void 0}));return we.setOrigin(this._getOrigin()).withPositions(Ue).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const we=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(we),we}_getOrigin(){return this.origin instanceof ue?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof ue?this.origin.elementRef.nativeElement:this.origin instanceof x.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_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(we=>{this.backdropClick.emit(we)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function y(ve,_e=!1){return(0,h.N)((we,Ue)=>{let je=0;we.subscribe((0,S._)(Ue,vt=>{const $e=ve(vt,je++);($e||_e)&&Ue.next(vt),!$e&&Ue.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(we=>{this._ngZone.run(()=>this.positionChange.emit(we)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.rXU(st),x.rXU(x.C4Q),x.rXU(x.c1b),x.rXU(Ee),x.rXU(O.dS,8))}}static{this.\u0275dir=x.FsC({type:ve,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",x.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",x.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",x.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",x.L39],push:[2,"cdkConnectedOverlayPush","push",x.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",x.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[x.GFd,x.OA$]})}}return ve})();const ct={provide:Ee,deps:[st],useFactory:function Ct(ve){return()=>ve.scrollStrategies.reposition()}};let dt=(()=>{class ve{static{this.\u0275fac=function(Ue){return new(Ue||ve)}}static{this.\u0275mod=x.$C({type:ve})}static{this.\u0275inj=x.G2t({providers:[st,ct],imports:[O.jI,I.jc,e.E9,e.E9]})}}return ve})()},6860:(Qe,te,g)=>{"use strict";g.d(te,{BD:()=>Y,BQ:()=>y,CZ:()=>j,Fb:()=>ee,KT:()=>J,MU:()=>R,OD:()=>D,r5:()=>O,v8:()=>fe,vc:()=>ie});var e=g(4438),t=g(177);let x;try{x=typeof Intl<"u"&&Intl.v8BreakIterator}catch{x=!1}let w,D=(()=>{class ne{constructor(Ce){this._platformId=Ce,this.isBrowser=this._platformId?(0,t.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&&!x)&&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(le){return new(le||ne)(e.KVO(e.Agw))}}static{this.\u0275prov=e.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}}return ne})();const f=["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(w)return w;if("object"!=typeof document||!document)return w=new Set(f),w;let ne=document.createElement("input");return w=new Set(f.filter(Me=>(ne.setAttribute("type",Me),ne.type===Me))),w}let h;function y(ne){return function S(){if(null==h&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?ne:!!ne.capture}var O=function(ne){return ne[ne.NORMAL=0]="NORMAL",ne[ne.NEGATED=1]="NEGATED",ne[ne.INVERTED=2]="INVERTED",ne}(O||{});let I,V,W;function j(){if(null==V){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return V=!1,V;if("scrollBehavior"in document.documentElement.style)V=!0;else{const ne=Element.prototype.scrollTo;V=!!ne&&!/\{\s*\[native code\]\s*\}/.test(ne.toString())}}return V}function Y(){if("object"!=typeof document||!document)return O.NORMAL;if(null==I){const ne=document.createElement("div"),Me=ne.style;ne.dir="rtl",Me.width="1px",Me.overflow="auto",Me.visibility="hidden",Me.pointerEvents="none",Me.position="absolute";const Ce=document.createElement("div"),le=Ce.style;le.width="2px",le.height="1px",ne.appendChild(Ce),document.body.appendChild(ne),I=O.NORMAL,0===ne.scrollLeft&&(ne.scrollLeft=1,I=0===ne.scrollLeft?O.NEGATED:O.INVERTED),ne.remove()}return I}function J(ne){if(function Q(){if(null==W){const ne=typeof document<"u"?document.head:null;W=!(!ne||!ne.createShadowRoot&&!ne.attachShadow)}return W}()){const Me=ne.getRootNode?ne.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&Me instanceof ShadowRoot)return Me}return null}function ie(){let ne=typeof document<"u"&&document?document.activeElement:null;for(;ne&&ne.shadowRoot;){const Me=ne.shadowRoot.activeElement;if(Me===ne)break;ne=Me}return ne}function ee(ne){return ne.composedPath?ne.composedPath()[0]:ne.target}function fe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6939:(Qe,te,g)=>{"use strict";g.d(te,{A8:()=>S,I3:()=>J,VA:()=>y,aI:()=>j,bV:()=>W,jc:()=>ee,lb:()=>I});var e=g(4438),t=g(177);class h{attach(Me){return this._attachedHost=Me,Me.attach(this)}detach(){let Me=this._attachedHost;null!=Me&&(this._attachedHost=null,Me.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Me){this._attachedHost=Me}}class S extends h{constructor(Me,Ce,le,T,n){super(),this.component=Me,this.viewContainerRef=Ce,this.injector=le,this.componentFactoryResolver=T,this.projectableNodes=n}}class y extends h{constructor(Me,Ce,le,T){super(),this.templateRef=Me,this.viewContainerRef=Ce,this.context=le,this.injector=T}get origin(){return this.templateRef.elementRef}attach(Me,Ce=this.context){return this.context=Ce,super.attach(Me)}detach(){return this.context=void 0,super.detach()}}class O extends h{constructor(Me){super(),this.element=Me instanceof e.aKT?Me.nativeElement:Me}}class I{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Me){return Me instanceof S?(this._attachedPortal=Me,this.attachComponentPortal(Me)):Me instanceof y?(this._attachedPortal=Me,this.attachTemplatePortal(Me)):this.attachDomPortal&&Me instanceof O?(this._attachedPortal=Me,this.attachDomPortal(Me)):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(Me){this._disposeFn=Me}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class j extends I{constructor(Me,Ce,le,T,n){super(),this.outletElement=Me,this._componentFactoryResolver=Ce,this._appRef=le,this._defaultInjector=T,this.attachDomPortal=c=>{const m=c.element,d=this._document.createComment("dom-portal");m.parentNode.insertBefore(d,m),this.outletElement.appendChild(m),this._attachedPortal=c,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(m,d)})},this._document=n}attachComponentPortal(Me){const le=(Me.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Me.component);let T;return Me.viewContainerRef?(T=Me.viewContainerRef.createComponent(le,Me.viewContainerRef.length,Me.injector||Me.viewContainerRef.injector,Me.projectableNodes||void 0),this.setDisposeFn(()=>T.destroy())):(T=le.create(Me.injector||this._defaultInjector||e.zZn.NULL),this._appRef.attachView(T.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(T.hostView),T.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(T)),this._attachedPortal=Me,T}attachTemplatePortal(Me){let Ce=Me.viewContainerRef,le=Ce.createEmbeddedView(Me.templateRef,Me.context,{injector:Me.injector});return le.rootNodes.forEach(T=>this.outletElement.appendChild(T)),le.detectChanges(),this.setDisposeFn(()=>{let T=Ce.indexOf(le);-1!==T&&Ce.remove(T)}),this._attachedPortal=Me,le}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Me){return Me.hostView.rootNodes[0]}}let W=(()=>{class ne extends y{constructor(Ce,le){super(Ce,le)}static{this.\u0275fac=function(le){return new(le||ne)(e.rXU(e.C4Q),e.rXU(e.c1b))}}static{this.\u0275dir=e.FsC({type:ne,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[e.Vt3]})}}return ne})(),J=(()=>{class ne extends I{constructor(Ce,le,T){super(),this._componentFactoryResolver=Ce,this._viewContainerRef=le,this._isInitialized=!1,this.attached=new e.bkB,this.attachDomPortal=n=>{const c=n.element,m=this._document.createComment("dom-portal");n.setAttachedHost(this),c.parentNode.insertBefore(m,c),this._getRootNode().appendChild(c),this._attachedPortal=n,super.setDisposeFn(()=>{m.parentNode&&m.parentNode.replaceChild(c,m)})},this._document=T}get portal(){return this._attachedPortal}set portal(Ce){this.hasAttached()&&!Ce&&!this._isInitialized||(this.hasAttached()&&super.detach(),Ce&&super.attach(Ce),this._attachedPortal=Ce||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Ce){Ce.setAttachedHost(this);const le=null!=Ce.viewContainerRef?Ce.viewContainerRef:this._viewContainerRef,n=(Ce.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ce.component),c=le.createComponent(n,le.length,Ce.injector||le.injector,Ce.projectableNodes||void 0);return le!==this._viewContainerRef&&this._getRootNode().appendChild(c.hostView.rootNodes[0]),super.setDisposeFn(()=>c.destroy()),this._attachedPortal=Ce,this._attachedRef=c,this.attached.emit(c),c}attachTemplatePortal(Ce){Ce.setAttachedHost(this);const le=this._viewContainerRef.createEmbeddedView(Ce.templateRef,Ce.context,{injector:Ce.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Ce,this._attachedRef=le,this.attached.emit(le),le}_getRootNode(){const Ce=this._viewContainerRef.element.nativeElement;return Ce.nodeType===Ce.ELEMENT_NODE?Ce:Ce.parentNode}static{this.\u0275fac=function(le){return new(le||ne)(e.rXU(e.OM3),e.rXU(e.c1b),e.rXU(t.qQ))}}static{this.\u0275dir=e.FsC({type:ne,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[e.Vt3]})}}return ne})(),ee=(()=>{class ne{static{this.\u0275fac=function(le){return new(le||ne)}}static{this.\u0275mod=e.$C({type:ne})}static{this.\u0275inj=e.G2t({})}}return ne})()},5542:(Qe,te,g)=>{"use strict";g.d(te,{uv:()=>m,Gj:()=>ze,R:()=>c,E9:()=>Xe,Xj:()=>C});var e=g(4085),t=g(4438),x=g(1413),D=g(7673),l=g(1985),w=g(3726),f=g(6780),R=g(8359);const h={schedule(We){let oe=requestAnimationFrame,X=cancelAnimationFrame;const{delegate:se}=h;se&&(oe=se.requestAnimationFrame,X=se.cancelAnimationFrame);const ae=oe(he=>{X=void 0,We(he)});return new R.yU(()=>X?.(ae))},requestAnimationFrame(...We){const{delegate:oe}=h;return(oe?.requestAnimationFrame||requestAnimationFrame)(...We)},cancelAnimationFrame(...We){const{delegate:oe}=h;return(oe?.cancelAnimationFrame||cancelAnimationFrame)(...We)},delegate:void 0};var y=g(9687);new class O extends y.q{flush(oe){this._active=!0;const X=this._scheduled;this._scheduled=void 0;const{actions:se}=this;let ae;oe=oe||se.shift();do{if(ae=oe.execute(oe.state,oe.delay))break}while((oe=se[0])&&oe.id===X&&se.shift());if(this._active=!1,ae){for(;(oe=se[0])&&oe.id===X&&se.shift();)oe.unsubscribe();throw ae}}}(class S extends f.R{constructor(oe,X){super(oe,X),this.scheduler=oe,this.work=X}requestAsyncId(oe,X,se=0){return null!==se&&se>0?super.requestAsyncId(oe,X,se):(oe.actions.push(this),oe._scheduled||(oe._scheduled=h.requestAnimationFrame(()=>oe.flush(void 0))))}recycleAsyncId(oe,X,se=0){var ae;if(null!=se?se>0:this.delay>0)return super.recycleAsyncId(oe,X,se);const{actions:he}=oe;null!=X&&(null===(ae=he[he.length-1])||void 0===ae?void 0:ae.id)!==X&&(h.cancelAnimationFrame(X),oe._scheduled=void 0)}});g(5007);var Y=g(3798),W=g(5964),Q=g(6977),J=g(6860),ie=g(177),ee=g(8203);let c=(()=>{class We{constructor(X,se,ae){this._ngZone=X,this._platform=se,this._scrolled=new x.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ae}register(X){this.scrollContainers.has(X)||this.scrollContainers.set(X,X.elementScrolled().subscribe(()=>this._scrolled.next(X)))}deregister(X){const se=this.scrollContainers.get(X);se&&(se.unsubscribe(),this.scrollContainers.delete(X))}scrolled(X=20){return this._platform.isBrowser?new l.c(se=>{this._globalSubscription||this._addGlobalListener();const ae=X>0?this._scrolled.pipe((0,Y.Z)(X)).subscribe(se):this._scrolled.subscribe(se);return this._scrolledCount++,()=>{ae.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,D.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((X,se)=>this.deregister(se)),this._scrolled.complete()}ancestorScrolled(X,se){const ae=this.getAncestorScrollContainers(X);return this.scrolled(se).pipe((0,W.p)(he=>!he||ae.indexOf(he)>-1))}getAncestorScrollContainers(X){const se=[];return this.scrollContainers.forEach((ae,he)=>{this._scrollableContainsElement(he,X)&&se.push(he)}),se}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(X,se){let ae=(0,e.i8)(se),he=X.getElementRef().nativeElement;do{if(ae==he)return!0}while(ae=ae.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const X=this._getWindow();return(0,w.R)(X.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(se){return new(se||We)(t.KVO(t.SKi),t.KVO(J.OD),t.KVO(ie.qQ,8))}}static{this.\u0275prov=t.jDH({token:We,factory:We.\u0275fac,providedIn:"root"})}}return We})(),m=(()=>{class We{constructor(X,se,ae,he){this.elementRef=X,this.scrollDispatcher=se,this.ngZone=ae,this.dir=he,this._destroyed=new x.B,this._elementScrolled=new l.c(Ie=>this.ngZone.runOutsideAngular(()=>(0,w.R)(this.elementRef.nativeElement,"scroll").pipe((0,Q.Q)(this._destroyed)).subscribe(Ie)))}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(X){const se=this.elementRef.nativeElement,ae=this.dir&&"rtl"==this.dir.value;null==X.left&&(X.left=ae?X.end:X.start),null==X.right&&(X.right=ae?X.start:X.end),null!=X.bottom&&(X.top=se.scrollHeight-se.clientHeight-X.bottom),ae&&(0,J.BD)()!=J.r5.NORMAL?(null!=X.left&&(X.right=se.scrollWidth-se.clientWidth-X.left),(0,J.BD)()==J.r5.INVERTED?X.left=X.right:(0,J.BD)()==J.r5.NEGATED&&(X.left=X.right?-X.right:X.right)):null!=X.right&&(X.left=se.scrollWidth-se.clientWidth-X.right),this._applyScrollToOptions(X)}_applyScrollToOptions(X){const se=this.elementRef.nativeElement;(0,J.CZ)()?se.scrollTo(X):(null!=X.top&&(se.scrollTop=X.top),null!=X.left&&(se.scrollLeft=X.left))}measureScrollOffset(X){const se="left",he=this.elementRef.nativeElement;if("top"==X)return he.scrollTop;if("bottom"==X)return he.scrollHeight-he.clientHeight-he.scrollTop;const Ie=this.dir&&"rtl"==this.dir.value;return"start"==X?X=Ie?"right":se:"end"==X&&(X=Ie?se:"right"),Ie&&(0,J.BD)()==J.r5.INVERTED?X==se?he.scrollWidth-he.clientWidth-he.scrollLeft:he.scrollLeft:Ie&&(0,J.BD)()==J.r5.NEGATED?X==se?he.scrollLeft+he.scrollWidth-he.clientWidth:-he.scrollLeft:X==se?he.scrollLeft:he.scrollWidth-he.clientWidth-he.scrollLeft}static{this.\u0275fac=function(se){return new(se||We)(t.rXU(t.aKT),t.rXU(c),t.rXU(t.SKi),t.rXU(ee.dS,8))}}static{this.\u0275dir=t.FsC({type:We,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return We})(),C=(()=>{class We{constructor(X,se,ae){this._platform=X,this._change=new x.B,this._changeListener=he=>{this._change.next(he)},this._document=ae,se.runOutsideAngular(()=>{if(X.isBrowser){const he=this._getWindow();he.addEventListener("resize",this._changeListener),he.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const X=this._getWindow();X.removeEventListener("resize",this._changeListener),X.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const X={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),X}getViewportRect(){const X=this.getViewportScrollPosition(),{width:se,height:ae}=this.getViewportSize();return{top:X.top,left:X.left,bottom:X.top+ae,right:X.left+se,height:ae,width:se}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const X=this._document,se=this._getWindow(),ae=X.documentElement,he=ae.getBoundingClientRect();return{top:-he.top||X.body.scrollTop||se.scrollY||ae.scrollTop||0,left:-he.left||X.body.scrollLeft||se.scrollX||ae.scrollLeft||0}}change(X=20){return X>0?this._change.pipe((0,Y.Z)(X)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const X=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:X.innerWidth,height:X.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(se){return new(se||We)(t.KVO(J.OD),t.KVO(t.SKi),t.KVO(ie.qQ,8))}}static{this.\u0275prov=t.jDH({token:We,factory:We.\u0275fac,providedIn:"root"})}}return We})(),ze=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275mod=t.$C({type:We})}static{this.\u0275inj=t.G2t({})}}return We})(),Xe=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275mod=t.$C({type:We})}static{this.\u0275inj=t.G2t({imports:[ee.jI,ze,ee.jI,ze]})}}return We})()},7768:(Qe,te,g)=>{"use strict";g.d(te,{FK:()=>ee,Up:()=>J,VI:()=>Q,nb:()=>I,oX:()=>O,uY:()=>fe,v5:()=>ie,x8:()=>W});var e=g(8617),t=g(8203),x=g(7336),D=g(4438),l=g(6860),w=g(1413),f=g(7673),R=g(9172),h=g(6977);const S=["*"];function y(ne,Me){1&ne&&D.SdG(0)}let O=(()=>{class ne{constructor(Ce){this._elementRef=Ce}focus(){this._elementRef.nativeElement.focus()}static{this.\u0275fac=function(le){return new(le||ne)(D.rXU(D.aKT))}}static{this.\u0275dir=D.FsC({type:ne,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0})}}return ne})(),I=(()=>{class ne{constructor(Ce){this.template=Ce}static{this.\u0275fac=function(le){return new(le||ne)(D.rXU(D.C4Q))}}static{this.\u0275dir=D.FsC({type:ne,selectors:[["","cdkStepLabel",""]],standalone:!0})}}return ne})(),V=0;const W=new D.nKC("STEPPER_GLOBAL_OPTIONS");let Q=(()=>{class ne{get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(Ce){this._completedOverride=Ce}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(Ce){this._customError=Ce}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(Ce,le){this._stepper=Ce,this.interacted=!1,this.interactedStream=new D.bkB,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=le||{},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(le){return new(le||ne)(D.rXU((0,D.Rfq)(()=>J)),D.rXU(W,8))}}static{this.\u0275cmp=D.VBU({type:ne,selectors:[["cdk-step"]],contentQueries:function(le,T,n){if(1&le&&D.wni(n,I,5),2&le){let c;D.mGM(c=D.lsd())&&(T.stepLabel=c.first)}},viewQuery:function(le,T){if(1&le&&D.GBs(D.C4Q,7),2&le){let n;D.mGM(n=D.lsd())&&(T.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",D.L39],optional:[2,"optional","optional",D.L39],completed:[2,"completed","completed",D.L39],hasError:[2,"hasError","hasError",D.L39]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[D.GFd,D.OA$,D.aNF],ngContentSelectors:S,decls:1,vars:0,template:function(le,T){1&le&&(D.NAR(),D.DNE(0,y,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}}return ne})(),J=(()=>{class ne{get selectedIndex(){return this._selectedIndex}set selectedIndex(Ce){this.steps&&this._steps?(this._isValidIndex(Ce),this.selected?._markAsInteracted(),this._selectedIndex!==Ce&&!this._anyControlsInvalidOrPending(Ce)&&(Ce>=this._selectedIndex||this.steps.toArray()[Ce].editable)&&this._updateSelectedItemIndex(Ce)):this._selectedIndex=Ce}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(Ce){this.selectedIndex=Ce&&this.steps?this.steps.toArray().indexOf(Ce):-1}get orientation(){return this._orientation}set orientation(Ce){this._orientation=Ce,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===Ce)}constructor(Ce,le,T){this._dir=Ce,this._changeDetectorRef=le,this._elementRef=T,this._destroyed=new w.B,this.steps=new D.rOR,this._sortedHeaders=new D.rOR,this.linear=!1,this._selectedIndex=0,this.selectionChange=new D.bkB,this.selectedIndexChange=new D.bkB,this._orientation="horizontal",this._groupId=V++}ngAfterContentInit(){this._steps.changes.pipe((0,R.Z)(this._steps),(0,h.Q)(this._destroyed)).subscribe(Ce=>{this.steps.reset(Ce.filter(le=>le._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,R.Z)(this._stepHeader),(0,h.Q)(this._destroyed)).subscribe(Ce=>{this._sortedHeaders.reset(Ce.toArray().sort((le,T)=>le._elementRef.nativeElement.compareDocumentPosition(T._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new e.Bu(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,f.of)()).pipe((0,R.Z)(this._layoutDirection()),(0,h.Q)(this._destroyed)).subscribe(Ce=>this._keyManager.withHorizontalOrientation(Ce)),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(Ce=>Ce.reset()),this._stateChanged()}_getStepLabelId(Ce){return`cdk-step-label-${this._groupId}-${Ce}`}_getStepContentId(Ce){return`cdk-step-content-${this._groupId}-${Ce}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(Ce){const le=Ce-this._selectedIndex;return le<0?"rtl"===this._layoutDirection()?"next":"previous":le>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(Ce,le="number"){const T=this.steps.toArray()[Ce],n=this._isCurrentStep(Ce);return T._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(T,n):this._getGuidelineLogic(T,n,le)}_getDefaultIndicatorLogic(Ce,le){return Ce._showError()&&Ce.hasError&&!le?"error":!Ce.completed||le?"number":Ce.editable?"edit":"done"}_getGuidelineLogic(Ce,le,T="number"){return Ce._showError()&&Ce.hasError&&!le?"error":Ce.completed&&!le?"done":Ce.completed&&le?T:Ce.editable&&le?"edit":T}_isCurrentStep(Ce){return this._selectedIndex===Ce}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(Ce){const le=this.steps.toArray();this.selectionChange.emit({selectedIndex:Ce,previouslySelectedIndex:this._selectedIndex,selectedStep:le[Ce],previouslySelectedStep:le[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(Ce):this._keyManager.updateActiveItem(Ce),this._selectedIndex=Ce,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(Ce){const le=(0,x.rp)(Ce),T=Ce.keyCode,n=this._keyManager;null==n.activeItemIndex||le||T!==x.t6&&T!==x.Fm?n.setFocusOrigin("keyboard").onKeydown(Ce):(this.selectedIndex=n.activeItemIndex,Ce.preventDefault())}_anyControlsInvalidOrPending(Ce){return!!(this.linear&&Ce>=0)&&this.steps.toArray().slice(0,Ce).some(le=>{const T=le.stepControl;return(T?T.invalid||T.pending||!le.interacted:!le.completed)&&!le.optional&&!le._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const Ce=this._elementRef.nativeElement,le=(0,l.vc)();return Ce===le||Ce.contains(le)}_isValidIndex(Ce){return Ce>-1&&(!this.steps||Ce{class ne{constructor(Ce){this._stepper=Ce,this.type="submit"}static{this.\u0275fac=function(le){return new(le||ne)(D.rXU(J))}}static{this.\u0275dir=D.FsC({type:ne,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(le,T){1&le&&D.bIt("click",function(){return T._stepper.next()}),2&le&&D.Mr5("type",T.type)},inputs:{type:"type"},standalone:!0})}}return ne})(),ee=(()=>{class ne{constructor(Ce){this._stepper=Ce,this.type="button"}static{this.\u0275fac=function(le){return new(le||ne)(D.rXU(J))}}static{this.\u0275dir=D.FsC({type:ne,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(le,T){1&le&&D.bIt("click",function(){return T._stepper.previous()}),2&le&&D.Mr5("type",T.type)},inputs:{type:"type"},standalone:!0})}}return ne})(),fe=(()=>{class ne{static{this.\u0275fac=function(le){return new(le||ne)}}static{this.\u0275mod=D.$C({type:ne})}static{this.\u0275inj=D.G2t({imports:[t.jI]})}}return ne})()},4109:(Qe,te,g)=>{"use strict";g.d(te,{Dc:()=>C,Hy:()=>m,NL:()=>ne,Sz:()=>W,XO:()=>I,a$:()=>j,aI:()=>c,kZ:()=>V,s3:()=>T,xn:()=>Me});var e=g(5024),t=g(4402),x=g(1413),D=g(4412),l=g(7673),w=g(6697),f=g(5964),R=g(6977),h=g(4438),S=g(8203);class y{constructor(){this.expansionModel=new e.CB(!0)}toggle(k){this.expansionModel.toggle(this._trackByValue(k))}expand(k){this.expansionModel.select(this._trackByValue(k))}collapse(k){this.expansionModel.deselect(this._trackByValue(k))}isExpanded(k){return this.expansionModel.isSelected(this._trackByValue(k))}toggleDescendants(k){this.expansionModel.isSelected(this._trackByValue(k))?this.collapseDescendants(k):this.expandDescendants(k)}collapseAll(){this.expansionModel.clear()}expandDescendants(k){let _=[k];_.push(...this.getDescendants(k)),this.expansionModel.select(..._.map(a=>this._trackByValue(a)))}collapseDescendants(k){let _=[k];_.push(...this.getDescendants(k)),this.expansionModel.deselect(..._.map(a=>this._trackByValue(a)))}_trackByValue(k){return this.trackBy?this.trackBy(k):k}}class I extends y{constructor(k,_){super(),this.getChildren=k,this.options=_,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const k=this.dataNodes.reduce((_,a)=>[..._,...this.getDescendants(a),a],[]);this.expansionModel.select(...k.map(_=>this._trackByValue(_)))}getDescendants(k){const _=[];return this._getDescendants(_,k),_.splice(1)}_getDescendants(k,_){k.push(_);const a=this.getChildren(_);Array.isArray(a)?a.forEach(b=>this._getDescendants(k,b)):(0,t.A)(a)&&a.pipe((0,w.s)(1),(0,f.p)(Boolean)).subscribe(b=>{for(const z of b)this._getDescendants(k,z)})}}const V=new h.nKC("CDK_TREE_NODE_OUTLET_NODE");let j=(()=>{class A{constructor(_,a){this.viewContainer=_,this._node=a}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(h.c1b),h.rXU(V,8))}}static{this.\u0275dir=h.FsC({type:A,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}}return A})();class Y{constructor(k){this.$implicit=k}}let W=(()=>{class A{constructor(_){this.template=_}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(h.C4Q))}}static{this.\u0275dir=h.FsC({type:A,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]},standalone:!0})}}return A})(),ne=(()=>{class A{get dataSource(){return this._dataSource}set dataSource(_){this._dataSource!==_&&this._switchDataSource(_)}constructor(_,a){this._differs=_,this._changeDetectorRef=a,this._onDestroy=new x.B,this._levels=new Map,this.viewChange=new D.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 _=this._nodeDefs.filter(a=>!a.when);this._defaultNodeDef=_[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(_){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),_||this._nodeOutlet.viewContainer.clear(),this._dataSource=_,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let _;(0,e.y4)(this._dataSource)?_=this._dataSource.connect(this):(0,t.A)(this._dataSource)?_=this._dataSource:Array.isArray(this._dataSource)&&(_=(0,l.of)(this._dataSource)),_&&(this._dataSubscription=_.pipe((0,R.Q)(this._onDestroy)).subscribe(a=>this.renderNodeChanges(a)))}renderNodeChanges(_,a=this._dataDiffer,b=this._nodeOutlet.viewContainer,z){const N=a.diff(_);N&&(N.forEachOperation((q,pe,ze)=>{if(null==q.previousIndex)this.insertNode(_[ze],ze,b,z);else if(null==ze)b.remove(pe),this._levels.delete(q.item);else{const Xe=b.get(pe);b.move(Xe,ze)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(_,a){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(z=>z.when&&z.when(a,_))||this._defaultNodeDef}insertNode(_,a,b,z){const N=this._getNodeDef(_,a),q=new Y(_);q.level=this.treeControl.getLevel?this.treeControl.getLevel(_):typeof z<"u"&&this._levels.has(z)?this._levels.get(z)+1:0,this._levels.set(_,q.level),(b||this._nodeOutlet.viewContainer).createEmbeddedView(N.template,q,a),Me.mostRecentTreeNode&&(Me.mostRecentTreeNode.data=_)}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(h._q3),h.rXU(h.gRc))}}static{this.\u0275cmp=h.VBU({type:A,selectors:[["cdk-tree"]],contentQueries:function(a,b,z){if(1&a&&h.wni(z,W,5),2&a){let N;h.mGM(N=h.lsd())&&(b._nodeDefs=N)}},viewQuery:function(a,b){if(1&a&&h.GBs(j,7),2&a){let z;h.mGM(z=h.lsd())&&(b._nodeOutlet=z.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],standalone:!0,features:[h.aNF],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(a,b){1&a&&h.eu8(0,0)},dependencies:[j],encapsulation:2})}}return A})(),Me=(()=>{class A{get role(){return"treeitem"}set role(_){this._elementRef.nativeElement.setAttribute("role",_)}static{this.mostRecentTreeNode=null}get data(){return this._data}set data(_){_!==this._data&&(this._data=_,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(_,a){this._elementRef=_,this._tree=a,this._destroyed=new x.B,this._dataChanges=new x.B,A.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function Ce(A){let k=A.parentElement;for(;k&&!le(k);)k=k.parentElement;return k?k.classList.contains("cdk-nested-tree-node")?(0,h.Udg)(k.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){A.mostRecentTreeNode===this&&(A.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(h.aKT),h.rXU(ne))}}static{this.\u0275dir=h.FsC({type:A,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(a,b){2&a&&h.BMQ("aria-expanded",b.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"],standalone:!0})}}return A})();function le(A){const k=A.classList;return!(!k?.contains("cdk-nested-tree-node")&&!k?.contains("cdk-tree"))}let T=(()=>{class A extends Me{constructor(_,a,b){super(_,a),this._differs=b}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const _=this._tree.treeControl.getChildren(this.data);Array.isArray(_)?this.updateChildrenNodes(_):(0,t.A)(_)&&_.pipe((0,R.Q)(this._destroyed)).subscribe(a=>this.updateChildrenNodes(a)),this.nodeOutlet.changes.pipe((0,R.Q)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(_){const a=this._getNodeOutlet();_&&(this._children=_),a&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,a.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const _=this._getNodeOutlet();_&&(_.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const _=this.nodeOutlet;return _&&_.find(a=>!a._node||a._node===this)}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(h.aKT),h.rXU(ne),h.rXU(h._q3))}}static{this.\u0275dir=h.FsC({type:A,selectors:[["cdk-nested-tree-node"]],contentQueries:function(a,b,z){if(1&a&&h.wni(z,j,5),2&a){let N;h.mGM(N=h.lsd())&&(b.nodeOutlet=N)}},hostAttrs:[1,"cdk-nested-tree-node"],exportAs:["cdkNestedTreeNode"],standalone:!0,features:[h.Jv_([{provide:Me,useExisting:A},{provide:V,useExisting:A}]),h.Vt3]})}}return A})();const n=/([A-Za-z%]+)$/;let c=(()=>{class A{get level(){return this._level}set level(_){this._setLevelInput(_)}get indent(){return this._indent}set indent(_){this._setIndentInput(_)}constructor(_,a,b,z){this._treeNode=_,this._tree=a,this._element=b,this._dir=z,this._destroyed=new x.B,this.indentUnits="px",this._indent=40,this._setPadding(),z&&z.change.pipe((0,R.Q)(this._destroyed)).subscribe(()=>this._setPadding(!0)),_._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const _=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,a=null==this._level?_:this._level;return"number"==typeof a?`${a*this._indent}${this.indentUnits}`:null}_setPadding(_=!1){const a=this._paddingIndent();if(a!==this._currentPadding||_){const b=this._element.nativeElement,z=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",N="paddingLeft"===z?"paddingRight":"paddingLeft";b.style[z]=a||"",b.style[N]="",this._currentPadding=a}}_setLevelInput(_){this._level=isNaN(_)?null:_,this._setPadding()}_setIndentInput(_){let a=_,b="px";if("string"==typeof _){const z=_.split(n);a=z[0],b=z[1]||b}this.indentUnits=b,this._indent=(0,h.Udg)(a),this._setPadding()}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(Me),h.rXU(ne),h.rXU(h.aKT),h.rXU(S.dS,8))}}static{this.\u0275dir=h.FsC({type:A,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",h.Udg],indent:[0,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[h.GFd]})}}return A})(),m=(()=>{class A{constructor(_,a){this._tree=_,this._treeNode=a,this.recursive=!1}_toggle(_){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),_.stopPropagation()}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(ne),h.rXU(Me))}}static{this.\u0275dir=h.FsC({type:A,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(a,b){1&a&&h.bIt("click",function(N){return b._toggle(N)})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",h.L39]},standalone:!0,features:[h.GFd]})}}return A})(),C=(()=>{class A{static{this.\u0275fac=function(a){return new(a||A)}}static{this.\u0275mod=h.$C({type:A})}static{this.\u0275inj=h.G2t({})}}return A})()},177:(Qe,te,g)=>{"use strict";g.d(te,{AJ:()=>Ba,B3:()=>Ai,GH:()=>ir,Jj:()=>On,MD:()=>Do,N0:()=>Ea,P9:()=>ua,PV:()=>Xr,Pc:()=>fr,QT:()=>x,QX:()=>Fr,Sm:()=>Y,Sq:()=>He,T3:()=>Yi,TG:()=>Ds,UE:()=>ea,VF:()=>l,Vy:()=>_o,Xr:()=>ko,YU:()=>mn,ZD:()=>D,_b:()=>Hi,aZ:()=>Q,bT:()=>ht,e1:()=>Hn,fG:()=>Qn,fw:()=>W,hb:()=>V,hj:()=>h,lG:()=>hs,qQ:()=>f,ux:()=>Cn,vh:()=>ds});var e=g(4438);let t=null;function x(){return t}function D(xe){t??=xe}class l{}const f=new e.nKC("");let R=(()=>{class xe{historyGo(Ye){throw new Error("")}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275prov=e.jDH({token:xe,factory:()=>(0,e.WQX)(S),providedIn:"platform"})}}return xe})();const h=new e.nKC("");let S=(()=>{class xe extends R{constructor(){super(),this._doc=(0,e.WQX)(f),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return x().getBaseHref(this._doc)}onPopState(Ye){const gt=x().getGlobalEventTarget(this._doc,"window");return gt.addEventListener("popstate",Ye,!1),()=>gt.removeEventListener("popstate",Ye)}onHashChange(Ye){const gt=x().getGlobalEventTarget(this._doc,"window");return gt.addEventListener("hashchange",Ye,!1),()=>gt.removeEventListener("hashchange",Ye)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(Ye){this._location.pathname=Ye}pushState(Ye,gt,Zt){this._history.pushState(Ye,gt,Zt)}replaceState(Ye,gt,Zt){this._history.replaceState(Ye,gt,Zt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Ye=0){this._history.go(Ye)}getState(){return this._history.state}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275prov=e.jDH({token:xe,factory:()=>new xe,providedIn:"platform"})}}return xe})();function y(xe,bt){if(0==xe.length)return bt;if(0==bt.length)return xe;let Ye=0;return xe.endsWith("/")&&Ye++,bt.startsWith("/")&&Ye++,2==Ye?xe+bt.substring(1):1==Ye?xe+bt:xe+"/"+bt}function O(xe){const bt=xe.match(/#|\?|$/),Ye=bt&&bt.index||xe.length;return xe.slice(0,Ye-("/"===xe[Ye-1]?1:0))+xe.slice(Ye)}function I(xe){return xe&&"?"!==xe[0]?"?"+xe:xe}let V=(()=>{class xe{historyGo(Ye){throw new Error("")}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275prov=e.jDH({token:xe,factory:()=>(0,e.WQX)(Y),providedIn:"root"})}}return xe})();const j=new e.nKC("");let Y=(()=>{class xe extends V{constructor(Ye,gt){super(),this._platformLocation=Ye,this._removeListenerFns=[],this._baseHref=gt??this._platformLocation.getBaseHrefFromDOM()??(0,e.WQX)(f).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ye){this._removeListenerFns.push(this._platformLocation.onPopState(Ye),this._platformLocation.onHashChange(Ye))}getBaseHref(){return this._baseHref}prepareExternalUrl(Ye){return y(this._baseHref,Ye)}path(Ye=!1){const gt=this._platformLocation.pathname+I(this._platformLocation.search),Zt=this._platformLocation.hash;return Zt&&Ye?`${gt}${Zt}`:gt}pushState(Ye,gt,Zt,Si){const Ii=this.prepareExternalUrl(Zt+I(Si));this._platformLocation.pushState(Ye,gt,Ii)}replaceState(Ye,gt,Zt,Si){const Ii=this.prepareExternalUrl(Zt+I(Si));this._platformLocation.replaceState(Ye,gt,Ii)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ye=0){this._platformLocation.historyGo?.(Ye)}static{this.\u0275fac=function(gt){return new(gt||xe)(e.KVO(R),e.KVO(j,8))}}static{this.\u0275prov=e.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}}return xe})(),W=(()=>{class xe extends V{constructor(Ye,gt){super(),this._platformLocation=Ye,this._baseHref="",this._removeListenerFns=[],null!=gt&&(this._baseHref=gt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ye){this._removeListenerFns.push(this._platformLocation.onPopState(Ye),this._platformLocation.onHashChange(Ye))}getBaseHref(){return this._baseHref}path(Ye=!1){const gt=this._platformLocation.hash??"#";return gt.length>0?gt.substring(1):gt}prepareExternalUrl(Ye){const gt=y(this._baseHref,Ye);return gt.length>0?"#"+gt:gt}pushState(Ye,gt,Zt,Si){let Ii=this.prepareExternalUrl(Zt+I(Si));0==Ii.length&&(Ii=this._platformLocation.pathname),this._platformLocation.pushState(Ye,gt,Ii)}replaceState(Ye,gt,Zt,Si){let Ii=this.prepareExternalUrl(Zt+I(Si));0==Ii.length&&(Ii=this._platformLocation.pathname),this._platformLocation.replaceState(Ye,gt,Ii)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ye=0){this._platformLocation.historyGo?.(Ye)}static{this.\u0275fac=function(gt){return new(gt||xe)(e.KVO(R),e.KVO(j,8))}}static{this.\u0275prov=e.jDH({token:xe,factory:xe.\u0275fac})}}return xe})(),Q=(()=>{class xe{constructor(Ye){this._subject=new e.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Ye;const gt=this._locationStrategy.getBaseHref();this._basePath=function fe(xe){if(new RegExp("^(https?:)?//").test(xe)){const[,Ye]=xe.split(/\/\/[^\/]+/);return Ye}return xe}(O(ee(gt))),this._locationStrategy.onPopState(Zt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Zt.state,type:Zt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Ye=!1){return this.normalize(this._locationStrategy.path(Ye))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Ye,gt=""){return this.path()==this.normalize(Ye+I(gt))}normalize(Ye){return xe.stripTrailingSlash(function ie(xe,bt){if(!xe||!bt.startsWith(xe))return bt;const Ye=bt.substring(xe.length);return""===Ye||["/",";","?","#"].includes(Ye[0])?Ye:bt}(this._basePath,ee(Ye)))}prepareExternalUrl(Ye){return Ye&&"/"!==Ye[0]&&(Ye="/"+Ye),this._locationStrategy.prepareExternalUrl(Ye)}go(Ye,gt="",Zt=null){this._locationStrategy.pushState(Zt,"",Ye,gt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ye+I(gt)),Zt)}replaceState(Ye,gt="",Zt=null){this._locationStrategy.replaceState(Zt,"",Ye,gt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ye+I(gt)),Zt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Ye=0){this._locationStrategy.historyGo?.(Ye)}onUrlChange(Ye){return this._urlChangeListeners.push(Ye),this._urlChangeSubscription??=this.subscribe(gt=>{this._notifyUrlChangeListeners(gt.url,gt.state)}),()=>{const gt=this._urlChangeListeners.indexOf(Ye);this._urlChangeListeners.splice(gt,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Ye="",gt){this._urlChangeListeners.forEach(Zt=>Zt(Ye,gt))}subscribe(Ye,gt,Zt){return this._subject.subscribe({next:Ye,error:gt,complete:Zt})}static{this.normalizeQueryParams=I}static{this.joinWithSlash=y}static{this.stripTrailingSlash=O}static{this.\u0275fac=function(gt){return new(gt||xe)(e.KVO(V))}}static{this.\u0275prov=e.jDH({token:xe,factory:()=>function J(){return new Q((0,e.KVO)(V))}(),providedIn:"root"})}}return xe})();function ee(xe){return xe.replace(/\/index.html$/,"")}var Me=function(xe){return xe[xe.Decimal=0]="Decimal",xe[xe.Percent=1]="Percent",xe[xe.Currency=2]="Currency",xe[xe.Scientific=3]="Scientific",xe}(Me||{}),le=function(xe){return xe[xe.Format=0]="Format",xe[xe.Standalone=1]="Standalone",xe}(le||{}),T=function(xe){return xe[xe.Narrow=0]="Narrow",xe[xe.Abbreviated=1]="Abbreviated",xe[xe.Wide=2]="Wide",xe[xe.Short=3]="Short",xe}(T||{}),n=function(xe){return xe[xe.Short=0]="Short",xe[xe.Medium=1]="Medium",xe[xe.Long=2]="Long",xe[xe.Full=3]="Full",xe}(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(xe,bt){return me((0,e.H5H)(xe)[e.KH2.DateFormat],bt)}function N(xe,bt){return me((0,e.H5H)(xe)[e.KH2.TimeFormat],bt)}function q(xe,bt){return me((0,e.H5H)(xe)[e.KH2.DateTimeFormat],bt)}function pe(xe,bt){const Ye=(0,e.H5H)(xe),gt=Ye[e.KH2.NumberSymbols][bt];if(typeof gt>"u"){if(bt===c.CurrencyDecimal)return Ye[e.KH2.NumberSymbols][c.Decimal];if(bt===c.CurrencyGroup)return Ye[e.KH2.NumberSymbols][c.Group]}return gt}function ae(xe){if(!xe[e.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${xe[e.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function me(xe,bt){for(let Ye=bt;Ye>-1;Ye--)if(typeof xe[Ye]<"u")return xe[Ye];throw new Error("Locale data API: locale data undefined")}function Ee(xe){const[bt,Ye]=xe.split(":");return{hours:+bt,minutes:+Ye}}const ct=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,dt={},Yt=/((?:[^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 ve=function(xe){return xe[xe.Short=0]="Short",xe[xe.ShortGMT=1]="ShortGMT",xe[xe.Long=2]="Long",xe[xe.Extended=3]="Extended",xe}(ve||{}),_e=function(xe){return xe[xe.FullYear=0]="FullYear",xe[xe.Month=1]="Month",xe[xe.Date=2]="Date",xe[xe.Hours=3]="Hours",xe[xe.Minutes=4]="Minutes",xe[xe.Seconds=5]="Seconds",xe[xe.FractionalSeconds=6]="FractionalSeconds",xe[xe.Day=7]="Day",xe}(_e||{}),we=function(xe){return xe[xe.DayPeriods=0]="DayPeriods",xe[xe.Days=1]="Days",xe[xe.Months=2]="Months",xe[xe.Eras=3]="Eras",xe}(we||{});function Ue(xe,bt,Ye,gt){let Zt=function pt(xe){if(Fe(xe))return xe;if("number"==typeof xe&&!isNaN(xe))return new Date(xe);if("string"==typeof xe){if(xe=xe.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(xe)){const[Zt,Si=1,Ii=1]=xe.split("-").map(on=>+on);return je(Zt,Si-1,Ii)}const Ye=parseFloat(xe);if(!isNaN(xe-Ye))return new Date(Ye);let gt;if(gt=xe.match(ct))return function Ke(xe){const bt=new Date(0);let Ye=0,gt=0;const Zt=xe[8]?bt.setUTCFullYear:bt.setFullYear,Si=xe[8]?bt.setUTCHours:bt.setHours;xe[9]&&(Ye=Number(xe[9]+xe[10]),gt=Number(xe[9]+xe[11])),Zt.call(bt,Number(xe[1]),Number(xe[2])-1,Number(xe[3]));const Ii=Number(xe[4]||0)-Ye,on=Number(xe[5]||0)-gt,Kn=Number(xe[6]||0),wr=Math.floor(1e3*parseFloat("0."+(xe[7]||0)));return Si.call(bt,Ii,on,Kn,wr),bt}(gt)}const bt=new Date(xe);if(!Fe(bt))throw new Error(`Unable to convert "${xe}" into a date`);return bt}(xe);bt=vt(Ye,bt)||bt;let on,Ii=[];for(;bt;){if(on=Yt.exec(bt),!on){Ii.push(bt);break}{Ii=Ii.concat(on.slice(1));const pr=Ii.pop();if(!pr)break;bt=pr}}let Kn=Zt.getTimezoneOffset();gt&&(Kn=Z(gt,Kn),Zt=function Pe(xe,bt,Ye){const gt=Ye?-1:1,Zt=xe.getTimezoneOffset();return function Re(xe,bt){return(xe=new Date(xe.getTime())).setMinutes(xe.getMinutes()+bt),xe}(xe,gt*(Z(bt,Zt)-Zt))}(Zt,gt,!0));let wr="";return Ii.forEach(pr=>{const Fn=function ce(xe){if(Te[xe])return Te[xe];let bt;switch(xe){case"G":case"GG":case"GGG":bt=jt(we.Eras,T.Abbreviated);break;case"GGGG":bt=jt(we.Eras,T.Wide);break;case"GGGGG":bt=jt(we.Eras,T.Narrow);break;case"y":bt=Nt(_e.FullYear,1,0,!1,!0);break;case"yy":bt=Nt(_e.FullYear,2,0,!0,!0);break;case"yyy":bt=Nt(_e.FullYear,3,0,!1,!0);break;case"yyyy":bt=Nt(_e.FullYear,4,0,!1,!0);break;case"Y":bt=Se(1);break;case"YY":bt=Se(2,!0);break;case"YYY":bt=Se(3);break;case"YYYY":bt=Se(4);break;case"M":case"L":bt=Nt(_e.Month,1,1);break;case"MM":case"LL":bt=Nt(_e.Month,2,1);break;case"MMM":bt=jt(we.Months,T.Abbreviated);break;case"MMMM":bt=jt(we.Months,T.Wide);break;case"MMMMM":bt=jt(we.Months,T.Narrow);break;case"LLL":bt=jt(we.Months,T.Abbreviated,le.Standalone);break;case"LLLL":bt=jt(we.Months,T.Wide,le.Standalone);break;case"LLLLL":bt=jt(we.Months,T.Narrow,le.Standalone);break;case"w":bt=xt(1);break;case"ww":bt=xt(2);break;case"W":bt=xt(1,!0);break;case"d":bt=Nt(_e.Date,1);break;case"dd":bt=Nt(_e.Date,2);break;case"c":case"cc":bt=Nt(_e.Day,1);break;case"ccc":bt=jt(we.Days,T.Abbreviated,le.Standalone);break;case"cccc":bt=jt(we.Days,T.Wide,le.Standalone);break;case"ccccc":bt=jt(we.Days,T.Narrow,le.Standalone);break;case"cccccc":bt=jt(we.Days,T.Short,le.Standalone);break;case"E":case"EE":case"EEE":bt=jt(we.Days,T.Abbreviated);break;case"EEEE":bt=jt(we.Days,T.Wide);break;case"EEEEE":bt=jt(we.Days,T.Narrow);break;case"EEEEEE":bt=jt(we.Days,T.Short);break;case"a":case"aa":case"aaa":bt=jt(we.DayPeriods,T.Abbreviated);break;case"aaaa":bt=jt(we.DayPeriods,T.Wide);break;case"aaaaa":bt=jt(we.DayPeriods,T.Narrow);break;case"b":case"bb":case"bbb":bt=jt(we.DayPeriods,T.Abbreviated,le.Standalone,!0);break;case"bbbb":bt=jt(we.DayPeriods,T.Wide,le.Standalone,!0);break;case"bbbbb":bt=jt(we.DayPeriods,T.Narrow,le.Standalone,!0);break;case"B":case"BB":case"BBB":bt=jt(we.DayPeriods,T.Abbreviated,le.Format,!0);break;case"BBBB":bt=jt(we.DayPeriods,T.Wide,le.Format,!0);break;case"BBBBB":bt=jt(we.DayPeriods,T.Narrow,le.Format,!0);break;case"h":bt=Nt(_e.Hours,1,-12);break;case"hh":bt=Nt(_e.Hours,2,-12);break;case"H":bt=Nt(_e.Hours,1);break;case"HH":bt=Nt(_e.Hours,2);break;case"m":bt=Nt(_e.Minutes,1);break;case"mm":bt=Nt(_e.Minutes,2);break;case"s":bt=Nt(_e.Seconds,1);break;case"ss":bt=Nt(_e.Seconds,2);break;case"S":bt=Nt(_e.FractionalSeconds,1);break;case"SS":bt=Nt(_e.FractionalSeconds,2);break;case"SSS":bt=Nt(_e.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":bt=et(ve.Short);break;case"ZZZZZ":bt=et(ve.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":bt=et(ve.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":bt=et(ve.Long);break;default:return null}return Te[xe]=bt,bt}(pr);wr+=Fn?Fn(Zt,Ye,Kn):"''"===pr?"'":pr.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),wr}function je(xe,bt,Ye){const gt=new Date(0);return gt.setFullYear(xe,bt,Ye),gt.setHours(0,0,0),gt}function vt(xe,bt){const Ye=function d(xe){return(0,e.H5H)(xe)[e.KH2.LocaleId]}(xe);if(dt[Ye]??={},dt[Ye][bt])return dt[Ye][bt];let gt="";switch(bt){case"shortDate":gt=z(xe,n.Short);break;case"mediumDate":gt=z(xe,n.Medium);break;case"longDate":gt=z(xe,n.Long);break;case"fullDate":gt=z(xe,n.Full);break;case"shortTime":gt=N(xe,n.Short);break;case"mediumTime":gt=N(xe,n.Medium);break;case"longTime":gt=N(xe,n.Long);break;case"fullTime":gt=N(xe,n.Full);break;case"short":const Zt=vt(xe,"shortTime"),Si=vt(xe,"shortDate");gt=$e(q(xe,n.Short),[Zt,Si]);break;case"medium":const Ii=vt(xe,"mediumTime"),on=vt(xe,"mediumDate");gt=$e(q(xe,n.Medium),[Ii,on]);break;case"long":const Kn=vt(xe,"longTime"),wr=vt(xe,"longDate");gt=$e(q(xe,n.Long),[Kn,wr]);break;case"full":const pr=vt(xe,"fullTime"),Fn=vt(xe,"fullDate");gt=$e(q(xe,n.Full),[pr,Fn])}return gt&&(dt[Ye][bt]=gt),gt}function $e(xe,bt){return bt&&(xe=xe.replace(/\{([^}]+)}/g,function(Ye,gt){return null!=bt&> in bt?bt[gt]:Ye})),xe}function nt(xe,bt,Ye="-",gt,Zt){let Si="";(xe<0||Zt&&xe<=0)&&(Zt?xe=1-xe:(xe=-xe,Si=Ye));let Ii=String(xe);for(;Ii.length0||on>-Ye)&&(on+=Ye),xe===_e.Hours)0===on&&-12===Ye&&(on=12);else if(xe===_e.FractionalSeconds)return function qt(xe,bt){return nt(xe,3).substring(0,bt)}(on,bt);const Kn=pe(Ii,c.MinusSign);return nt(on,bt,Kn,gt,Zt)}}function jt(xe,bt,Ye=le.Format,gt=!1){return function(Zt,Si){return function Je(xe,bt,Ye,gt,Zt,Si){switch(Ye){case we.Months:return function k(xe,bt,Ye){const gt=(0,e.H5H)(xe),Si=me([gt[e.KH2.MonthsFormat],gt[e.KH2.MonthsStandalone]],bt);return me(Si,Ye)}(bt,Zt,gt)[xe.getMonth()];case we.Days:return function A(xe,bt,Ye){const gt=(0,e.H5H)(xe),Si=me([gt[e.KH2.DaysFormat],gt[e.KH2.DaysStandalone]],bt);return me(Si,Ye)}(bt,Zt,gt)[xe.getDay()];case we.DayPeriods:const Ii=xe.getHours(),on=xe.getMinutes();if(Si){const wr=function he(xe){const bt=(0,e.H5H)(xe);return ae(bt),(bt[e.KH2.ExtraData][2]||[]).map(gt=>"string"==typeof gt?Ee(gt):[Ee(gt[0]),Ee(gt[1])])}(bt),pr=function Ie(xe,bt,Ye){const gt=(0,e.H5H)(xe);ae(gt);const Si=me([gt[e.KH2.ExtraData][0],gt[e.KH2.ExtraData][1]],bt)||[];return me(Si,Ye)||[]}(bt,Zt,gt),Fn=wr.findIndex(Sr=>{if(Array.isArray(Sr)){const[Dn,Fi]=Sr,bn=Ii>=Dn.hours&&on>=Dn.minutes,Tr=Ii0?Math.floor(Zt/60):Math.ceil(Zt/60);switch(xe){case ve.Short:return(Zt>=0?"+":"")+nt(Ii,2,Si)+nt(Math.abs(Zt%60),2,Si);case ve.ShortGMT:return"GMT"+(Zt>=0?"+":"")+nt(Ii,1,Si);case ve.Long:return"GMT"+(Zt>=0?"+":"")+nt(Ii,2,Si)+":"+nt(Math.abs(Zt%60),2,Si);case ve.Extended:return 0===gt?"Z":(Zt>=0?"+":"")+nt(Ii,2,Si)+":"+nt(Math.abs(Zt%60),2,Si);default:throw new Error(`Unknown zone width "${xe}"`)}}}const Ae=0,It=4;function Tt(xe){const bt=xe.getDay(),Ye=0===bt?-3:It-bt;return je(xe.getFullYear(),xe.getMonth(),xe.getDate()+Ye)}function xt(xe,bt=!1){return function(Ye,gt){let Zt;if(bt){const Si=new Date(Ye.getFullYear(),Ye.getMonth(),1).getDay()-1,Ii=Ye.getDate();Zt=1+Math.floor((Ii+Si)/7)}else{const Si=Tt(Ye),Ii=function Qt(xe){const bt=je(xe,Ae,1).getDay();return je(xe,0,1+(bt<=It?It:It+7)-bt)}(Si.getFullYear()),on=Si.getTime()-Ii.getTime();Zt=1+Math.round(on/6048e5)}return nt(Zt,xe,pe(gt,c.MinusSign))}}function Se(xe,bt=!1){return function(Ye,gt){return nt(Tt(Ye).getFullYear(),xe,pe(gt,c.MinusSign),bt)}}const Te={};function Z(xe,bt){xe=xe.replace(/:/g,"");const Ye=Date.parse("Jan 01, 1970 00:00:00 "+xe)/6e4;return isNaN(Ye)?bt:Ye}function Fe(xe){return xe instanceof Date&&!isNaN(xe.valueOf())}const Ge=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ot(xe){const bt=parseInt(xe);if(isNaN(bt))throw new Error("Invalid integer literal when parsing "+xe);return bt}function Hi(xe,bt){bt=encodeURIComponent(bt);for(const Ye of xe.split(";")){const gt=Ye.indexOf("="),[Zt,Si]=-1==gt?[Ye,""]:[Ye.slice(0,gt),Ye.slice(gt+1)];if(Zt.trim()===bt)return decodeURIComponent(Si)}return null}const Zi=/\s+/,ln=[];let mn=(()=>{class xe{constructor(Ye,gt){this._ngEl=Ye,this._renderer=gt,this.initialClasses=ln,this.stateMap=new Map}set klass(Ye){this.initialClasses=null!=Ye?Ye.trim().split(Zi):ln}set ngClass(Ye){this.rawClass="string"==typeof Ye?Ye.trim().split(Zi):Ye}ngDoCheck(){for(const gt of this.initialClasses)this._updateState(gt,!0);const Ye=this.rawClass;if(Array.isArray(Ye)||Ye instanceof Set)for(const gt of Ye)this._updateState(gt,!0);else if(null!=Ye)for(const gt of Object.keys(Ye))this._updateState(gt,!!Ye[gt]);this._applyStateDiff()}_updateState(Ye,gt){const Zt=this.stateMap.get(Ye);void 0!==Zt?(Zt.enabled!==gt&&(Zt.changed=!0,Zt.enabled=gt),Zt.touched=!0):this.stateMap.set(Ye,{enabled:gt,changed:!0,touched:!0})}_applyStateDiff(){for(const Ye of this.stateMap){const gt=Ye[0],Zt=Ye[1];Zt.changed?(this._toggleClass(gt,Zt.enabled),Zt.changed=!1):Zt.touched||(Zt.enabled&&this._toggleClass(gt,!1),this.stateMap.delete(gt)),Zt.touched=!1}}_toggleClass(Ye,gt){(Ye=Ye.trim()).length>0&&Ye.split(Zi).forEach(Zt=>{gt?this._renderer.addClass(this._ngEl.nativeElement,Zt):this._renderer.removeClass(this._ngEl.nativeElement,Zt)})}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.aKT),e.rXU(e.sFG))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return xe})();class re{constructor(bt,Ye,gt,Zt){this.$implicit=bt,this.ngForOf=Ye,this.index=gt,this.count=Zt}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 He=(()=>{class xe{set ngForOf(Ye){this._ngForOf=Ye,this._ngForOfDirty=!0}set ngForTrackBy(Ye){this._trackByFn=Ye}get ngForTrackBy(){return this._trackByFn}constructor(Ye,gt,Zt){this._viewContainer=Ye,this._template=gt,this._differs=Zt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Ye){Ye&&(this._template=Ye)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Ye=this._ngForOf;!this._differ&&Ye&&(this._differ=this._differs.find(Ye).create(this.ngForTrackBy))}if(this._differ){const Ye=this._differ.diff(this._ngForOf);Ye&&this._applyChanges(Ye)}}_applyChanges(Ye){const gt=this._viewContainer;Ye.forEachOperation((Zt,Si,Ii)=>{if(null==Zt.previousIndex)gt.createEmbeddedView(this._template,new re(Zt.item,this._ngForOf,-1,-1),null===Ii?void 0:Ii);else if(null==Ii)gt.remove(null===Si?void 0:Si);else if(null!==Si){const on=gt.get(Si);gt.move(on,Ii),ye(on,Zt)}});for(let Zt=0,Si=gt.length;Zt{ye(gt.get(Zt.currentIndex),Zt)})}static ngTemplateContextGuard(Ye,gt){return!0}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(e._q3))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return xe})();function ye(xe,bt){xe.context.$implicit=bt.item}let ht=(()=>{class xe{constructor(Ye,gt){this._viewContainer=Ye,this._context=new ii,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=gt}set ngIf(Ye){this._context.$implicit=this._context.ngIf=Ye,this._updateView()}set ngIfThen(Ye){di("ngIfThen",Ye),this._thenTemplateRef=Ye,this._thenViewRef=null,this._updateView()}set ngIfElse(Ye){di("ngIfElse",Ye),this._elseTemplateRef=Ye,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Ye,gt){return!0}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.c1b),e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return xe})();class ii{constructor(){this.$implicit=null,this.ngIf=null}}function di(xe,bt){if(bt&&!bt.createEmbeddedView)throw new Error(`${xe} must be a TemplateRef, but received '${(0,e.Tbb)(bt)}'.`)}class Gi{constructor(bt,Ye){this._viewContainerRef=bt,this._templateRef=Ye,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(bt){bt&&!this._created?this.create():!bt&&this._created&&this.destroy()}}let Cn=(()=>{class xe{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Ye){this._ngSwitch=Ye,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Ye){this._defaultViews.push(Ye)}_matchCase(Ye){const gt=Ye===this._ngSwitch;return this._lastCasesMatched||=gt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),gt}_updateDefaultCases(Ye){if(this._defaultViews.length>0&&Ye!==this._defaultUsed){this._defaultUsed=Ye;for(const gt of this._defaultViews)gt.enforceState(Ye)}}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return xe})(),Hn=(()=>{class xe{constructor(Ye,gt,Zt){this.ngSwitch=Zt,Zt._addCase(),this._view=new Gi(Ye,gt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(Cn,9))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return xe})(),Qn=(()=>{class xe{constructor(Ye,gt,Zt){Zt._addDefault(new Gi(Ye,gt))}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(Cn,9))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngSwitchDefault",""]],standalone:!0})}}return xe})(),Ai=(()=>{class xe{constructor(Ye,gt,Zt){this._ngEl=Ye,this._differs=gt,this._renderer=Zt,this._ngStyle=null,this._differ=null}set ngStyle(Ye){this._ngStyle=Ye,!this._differ&&Ye&&(this._differ=this._differs.find(Ye).create())}ngDoCheck(){if(this._differ){const Ye=this._differ.diff(this._ngStyle);Ye&&this._applyChanges(Ye)}}_setStyle(Ye,gt){const[Zt,Si]=Ye.split("."),Ii=-1===Zt.indexOf("-")?void 0:e.czy.DashCase;null!=gt?this._renderer.setStyle(this._ngEl.nativeElement,Zt,Si?`${gt}${Si}`:gt,Ii):this._renderer.removeStyle(this._ngEl.nativeElement,Zt,Ii)}_applyChanges(Ye){Ye.forEachRemovedItem(gt=>this._setStyle(gt.key,null)),Ye.forEachAddedItem(gt=>this._setStyle(gt.key,gt.currentValue)),Ye.forEachChangedItem(gt=>this._setStyle(gt.key,gt.currentValue))}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.aKT),e.rXU(e.MKu),e.rXU(e.sFG))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return xe})(),Yi=(()=>{class xe{constructor(Ye){this._viewContainerRef=Ye,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Ye){if(this._shouldRecreateView(Ye)){const gt=this._viewContainerRef;if(this._viewRef&>.remove(gt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Zt=this._createContextForwardProxy();this._viewRef=gt.createEmbeddedView(this.ngTemplateOutlet,Zt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Ye){return!!Ye.ngTemplateOutlet||!!Ye.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Ye,gt,Zt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,gt,Zt),get:(Ye,gt,Zt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,gt,Zt)}})}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.c1b))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.OA$]})}}return xe})();function mi(xe,bt){return new e.wOt(2100,!1)}class gi{createSubscription(bt,Ye){return(0,e.O8t)(()=>bt.subscribe({next:Ye,error:gt=>{throw gt}}))}dispose(bt){(0,e.O8t)(()=>bt.unsubscribe())}}class xi{createSubscription(bt,Ye){return bt.then(Ye,gt=>{throw gt})}dispose(bt){}}const Ni=new xi,nn=new gi;let On=(()=>{class xe{constructor(Ye){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Ye}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Ye){if(!this._obj){if(Ye)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Ye)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Ye!==this._obj?(this._dispose(),this.transform(Ye)):this._latestValue}_subscribe(Ye){this._obj=Ye,this._strategy=this._selectStrategy(Ye),this._subscription=this._strategy.createSubscription(Ye,gt=>this._updateLatestValue(Ye,gt))}_selectStrategy(Ye){if((0,e.jNT)(Ye))return Ni;if((0,e.zjR)(Ye))return nn;throw mi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ye,gt){Ye===this._obj&&(this._latestValue=gt,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.gRc,16))}}static{this.\u0275pipe=e.EJ8({name:"async",type:xe,pure:!1,standalone:!0})}}return xe})(),ir=(()=>{class xe{transform(Ye){if(null==Ye)return null;if("string"!=typeof Ye)throw mi();return Ye.toLowerCase()}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275pipe=e.EJ8({name:"lowercase",type:xe,pure:!0,standalone:!0})}}return xe})();const gn=/(?:[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 Xr=(()=>{class xe{transform(Ye){if(null==Ye)return null;if("string"!=typeof Ye)throw mi();return Ye.replace(gn,gt=>gt[0].toUpperCase()+gt.slice(1).toLowerCase())}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275pipe=e.EJ8({name:"titlecase",type:xe,pure:!0,standalone:!0})}}return xe})(),fr=(()=>{class xe{transform(Ye){if(null==Ye)return null;if("string"!=typeof Ye)throw mi();return Ye.toUpperCase()}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275pipe=e.EJ8({name:"uppercase",type:xe,pure:!0,standalone:!0})}}return xe})();const wa=new e.nKC(""),Xa=new e.nKC("");let ds=(()=>{class xe{constructor(Ye,gt,Zt){this.locale=Ye,this.defaultTimezone=gt,this.defaultOptions=Zt}transform(Ye,gt,Zt,Si){if(null==Ye||""===Ye||Ye!=Ye)return null;try{return Ue(Ye,gt??this.defaultOptions?.dateFormat??"mediumDate",Si||this.locale,Zt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ii){throw mi()}}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.xe9,16),e.rXU(wa,24),e.rXU(Xa,24))}}static{this.\u0275pipe=e.EJ8({name:"date",type:xe,pure:!0,standalone:!0})}}return xe})(),Ds=(()=>{class xe{transform(Ye){return JSON.stringify(Ye,null,2)}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275pipe=e.EJ8({name:"json",type:xe,pure:!1,standalone:!0})}}return xe})(),hs=(()=>{class xe{constructor(Ye){this.differs=Ye,this.keyValues=[],this.compareFn=za}transform(Ye,gt=za){if(!Ye||!(Ye instanceof Map)&&"object"!=typeof Ye)return null;this.differ??=this.differs.find(Ye).create();const Zt=this.differ.diff(Ye),Si=gt!==this.compareFn;return Zt&&(this.keyValues=[],Zt.forEachItem(Ii=>{this.keyValues.push(function Or(xe,bt){return{key:xe,value:bt}}(Ii.key,Ii.currentValue))})),(Zt||Si)&&(this.keyValues.sort(gt),this.compareFn=gt),this.keyValues}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.MKu,16))}}static{this.\u0275pipe=e.EJ8({name:"keyvalue",type:xe,pure:!1,standalone:!0})}}return xe})();function za(xe,bt){const Ye=xe.key,gt=bt.key;if(Ye===gt)return 0;if(void 0===Ye)return 1;if(void 0===gt)return-1;if(null===Ye)return 1;if(null===gt)return-1;if("string"==typeof Ye&&"string"==typeof gt)return Ye{class xe{constructor(Ye){this._locale=Ye}transform(Ye,gt,Zt){if(!function Ya(xe){return!(null==xe||""===xe||xe!=xe)}(Ye))return null;Zt||=this._locale;try{return function Vi(xe,bt,Ye){return function fi(xe,bt,Ye,gt,Zt,Si,Ii=!1){let on="",Kn=!1;if(isFinite(xe)){let wr=function St(xe){let gt,Zt,Si,Ii,on,bt=Math.abs(xe)+"",Ye=0;for((Zt=bt.indexOf("."))>-1&&(bt=bt.replace(".","")),(Si=bt.search(/e/i))>0?(Zt<0&&(Zt=Si),Zt+=+bt.slice(Si+1),bt=bt.substring(0,Si)):Zt<0&&(Zt=bt.length),Si=0;"0"===bt.charAt(Si);Si++);if(Si===(on=bt.length))gt=[0],Zt=1;else{for(on--;"0"===bt.charAt(on);)on--;for(Zt-=Si,gt=[],Ii=0;Si<=on;Si++,Ii++)gt[Ii]=Number(bt.charAt(Si))}return Zt>22&&(gt=gt.splice(0,21),Ye=Zt-1,Zt=1),{digits:gt,exponent:Ye,integerLen:Zt}}(xe);Ii&&(wr=function Xt(xe){if(0===xe.digits[0])return xe;const bt=xe.digits.length-xe.integerLen;return xe.exponent?xe.exponent+=2:(0===bt?xe.digits.push(0,0):1===bt&&xe.digits.push(0),xe.integerLen+=2),xe}(wr));let pr=bt.minInt,Fn=bt.minFrac,Sr=bt.maxFrac;if(Si){const ra=Si.match(Ge);if(null===ra)throw new Error(`${Si} is not a valid digit info`);const Ja=ra[1],oo=ra[3],hr=ra[5];null!=Ja&&(pr=ot(Ja)),null!=oo&&(Fn=ot(oo)),null!=hr?Sr=ot(hr):null!=oo&&Fn>Sr&&(Sr=Fn)}!function tt(xe,bt,Ye){if(bt>Ye)throw new Error(`The minimum number of digits after fraction (${bt}) is higher than the maximum (${Ye}).`);let gt=xe.digits,Zt=gt.length-xe.integerLen;const Si=Math.min(Math.max(bt,Zt),Ye);let Ii=Si+xe.integerLen,on=gt[Ii];if(Ii>0){gt.splice(Math.max(xe.integerLen,Ii));for(let Fn=Ii;Fn=5)if(Ii-1<0){for(let Fn=0;Fn>Ii;Fn--)gt.unshift(0),xe.integerLen++;gt.unshift(1),xe.integerLen++}else gt[Ii-1]++;for(;Zt=wr?Fi.pop():Kn=!1),Sr>=10?1:0},0);pr&&(gt.unshift(pr),xe.integerLen++)}(wr,Fn,Sr);let Dn=wr.digits,Fi=wr.integerLen;const bn=wr.exponent;let Tr=[];for(Kn=Dn.every(ra=>!ra);Fi0?Tr=Dn.splice(Fi,Dn.length):(Tr=Dn,Dn=[0]);const va=[];for(Dn.length>=bt.lgSize&&va.unshift(Dn.splice(-bt.lgSize,Dn.length).join(""));Dn.length>bt.gSize;)va.unshift(Dn.splice(-bt.gSize,Dn.length).join(""));Dn.length&&va.unshift(Dn.join("")),on=va.join(pe(Ye,gt)),Tr.length&&(on+=pe(Ye,Zt)+Tr.join("")),bn&&(on+=pe(Ye,c.Exponential)+"+"+bn)}else on=pe(Ye,c.Infinity);return on=xe<0&&!Kn?bt.negPre+on+bt.negSuf:bt.posPre+on+bt.posSuf,on}(xe,function Qi(xe,bt="-"){const Ye={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},gt=xe.split(";"),Zt=gt[0],Si=gt[1],Ii=-1!==Zt.indexOf(".")?Zt.split("."):[Zt.substring(0,Zt.lastIndexOf("0")+1),Zt.substring(Zt.lastIndexOf("0")+1)],on=Ii[0],Kn=Ii[1]||"";Ye.posPre=on.substring(0,on.indexOf("#"));for(let pr=0;pr{class xe{transform(Ye,gt,Zt){if(null==Ye)return null;if(!this.supports(Ye))throw mi();return Ye.slice(gt,Zt)}supports(Ye){return"string"==typeof Ye||Array.isArray(Ye)}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275pipe=e.EJ8({name:"slice",type:xe,pure:!1,standalone:!0})}}return xe})(),Do=(()=>{class xe{static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275mod=e.$C({type:xe})}static{this.\u0275inj=e.G2t({})}}return xe})();const Ba="browser",Ao="server";function ea(xe){return xe===Ba}function _o(xe){return xe===Ao}let ko=(()=>{class xe{static{this.\u0275prov=(0,e.jDH)({token:xe,providedIn:"root",factory:()=>ea((0,e.WQX)(e.Agw))?new fo((0,e.WQX)(f),window):new zr})}}return xe})();class fo{constructor(bt,Ye){this.document=bt,this.window=Ye,this.offset=()=>[0,0]}setOffset(bt){this.offset=Array.isArray(bt)?()=>bt:bt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(bt){this.window.scrollTo(bt[0],bt[1])}scrollToAnchor(bt){const Ye=function vo(xe,bt){const Ye=xe.getElementById(bt)||xe.getElementsByName(bt)[0];if(Ye)return Ye;if("function"==typeof xe.createTreeWalker&&xe.body&&"function"==typeof xe.body.attachShadow){const gt=xe.createTreeWalker(xe.body,NodeFilter.SHOW_ELEMENT);let Zt=gt.currentNode;for(;Zt;){const Si=Zt.shadowRoot;if(Si){const Ii=Si.getElementById(bt)||Si.querySelector(`[name="${bt}"]`);if(Ii)return Ii}Zt=gt.nextNode()}}return null}(this.document,bt);Ye&&(this.scrollToElement(Ye),Ye.focus())}setHistoryScrollRestoration(bt){this.window.history.scrollRestoration=bt}scrollToElement(bt){const Ye=bt.getBoundingClientRect(),gt=Ye.left+this.window.pageXOffset,Zt=Ye.top+this.window.pageYOffset,Si=this.offset();this.window.scrollTo(gt-Si[0],Zt-Si[1])}}class zr{setOffset(bt){}getScrollPosition(){return[0,0]}scrollToPosition(bt){}scrollToAnchor(bt){}setHistoryScrollRestoration(bt){}}class Ea{}},1626:(Qe,te,g)=>{"use strict";g.d(te,{Nl:()=>fe,Qq:()=>q,a7:()=>st,q1:()=>Kt});var e=g(467),t=g(4438),x=g(7673),D=g(1985),l=g(2806),w=g(274),f=g(5964),R=g(6354),h=g(980),S=g(5558),y=g(177);class O{}class I{}class V{constructor(re){this.normalizedNames=new Map,this.lazyUpdate=null,re?"string"==typeof re?this.lazyInit=()=>{this.headers=new Map,re.split("\n").forEach(He=>{const ye=He.indexOf(":");if(ye>0){const rt=He.slice(0,ye),ht=rt.toLowerCase(),ii=He.slice(ye+1).trim();this.maybeSetNormalizedName(rt,ht),this.headers.has(ht)?this.headers.get(ht).push(ii):this.headers.set(ht,[ii])}})}:typeof Headers<"u"&&re instanceof Headers?(this.headers=new Map,re.forEach((He,ye)=>{this.setHeaderEntries(ye,He)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(re).forEach(([He,ye])=>{this.setHeaderEntries(He,ye)})}:this.headers=new Map}has(re){return this.init(),this.headers.has(re.toLowerCase())}get(re){this.init();const He=this.headers.get(re.toLowerCase());return He&&He.length>0?He[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(re){return this.init(),this.headers.get(re.toLowerCase())||null}append(re,He){return this.clone({name:re,value:He,op:"a"})}set(re,He){return this.clone({name:re,value:He,op:"s"})}delete(re,He){return this.clone({name:re,value:He,op:"d"})}maybeSetNormalizedName(re,He){this.normalizedNames.has(He)||this.normalizedNames.set(He,re)}init(){this.lazyInit&&(this.lazyInit instanceof V?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(re=>this.applyUpdate(re)),this.lazyUpdate=null))}copyFrom(re){re.init(),Array.from(re.headers.keys()).forEach(He=>{this.headers.set(He,re.headers.get(He)),this.normalizedNames.set(He,re.normalizedNames.get(He))})}clone(re){const He=new V;return He.lazyInit=this.lazyInit&&this.lazyInit instanceof V?this.lazyInit:this,He.lazyUpdate=(this.lazyUpdate||[]).concat([re]),He}applyUpdate(re){const He=re.name.toLowerCase();switch(re.op){case"a":case"s":let ye=re.value;if("string"==typeof ye&&(ye=[ye]),0===ye.length)return;this.maybeSetNormalizedName(re.name,He);const rt=("a"===re.op?this.headers.get(He):void 0)||[];rt.push(...ye),this.headers.set(He,rt);break;case"d":const ht=re.value;if(ht){let ii=this.headers.get(He);if(!ii)return;ii=ii.filter(di=>-1===ht.indexOf(di)),0===ii.length?(this.headers.delete(He),this.normalizedNames.delete(He)):this.headers.set(He,ii)}else this.headers.delete(He),this.normalizedNames.delete(He)}}setHeaderEntries(re,He){const ye=(Array.isArray(He)?He:[He]).map(ht=>ht.toString()),rt=re.toLowerCase();this.headers.set(rt,ye),this.maybeSetNormalizedName(re,rt)}forEach(re){this.init(),Array.from(this.normalizedNames.keys()).forEach(He=>re(this.normalizedNames.get(He),this.headers.get(He)))}}class Y{encodeKey(re){return ie(re)}encodeValue(re){return ie(re)}decodeKey(re){return decodeURIComponent(re)}decodeValue(re){return decodeURIComponent(re)}}const Q=/%(\d[a-f0-9])/gi,J={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ie(lt){return encodeURIComponent(lt).replace(Q,(re,He)=>J[He]??re)}function ee(lt){return`${lt}`}class fe{constructor(re={}){if(this.updates=null,this.cloneFrom=null,this.encoder=re.encoder||new Y,re.fromString){if(re.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function W(lt,re){const He=new Map;return lt.length>0&<.replace(/^\?/,"").split("&").forEach(rt=>{const ht=rt.indexOf("="),[ii,di]=-1==ht?[re.decodeKey(rt),""]:[re.decodeKey(rt.slice(0,ht)),re.decodeValue(rt.slice(ht+1))],Gi=He.get(ii)||[];Gi.push(di),He.set(ii,Gi)}),He}(re.fromString,this.encoder)}else re.fromObject?(this.map=new Map,Object.keys(re.fromObject).forEach(He=>{const ye=re.fromObject[He],rt=Array.isArray(ye)?ye.map(ee):[ee(ye)];this.map.set(He,rt)})):this.map=null}has(re){return this.init(),this.map.has(re)}get(re){this.init();const He=this.map.get(re);return He?He[0]:null}getAll(re){return this.init(),this.map.get(re)||null}keys(){return this.init(),Array.from(this.map.keys())}append(re,He){return this.clone({param:re,value:He,op:"a"})}appendAll(re){const He=[];return Object.keys(re).forEach(ye=>{const rt=re[ye];Array.isArray(rt)?rt.forEach(ht=>{He.push({param:ye,value:ht,op:"a"})}):He.push({param:ye,value:rt,op:"a"})}),this.clone(He)}set(re,He){return this.clone({param:re,value:He,op:"s"})}delete(re,He){return this.clone({param:re,value:He,op:"d"})}toString(){return this.init(),this.keys().map(re=>{const He=this.encoder.encodeKey(re);return this.map.get(re).map(ye=>He+"="+this.encoder.encodeValue(ye)).join("&")}).filter(re=>""!==re).join("&")}clone(re){const He=new fe({encoder:this.encoder});return He.cloneFrom=this.cloneFrom||this,He.updates=(this.updates||[]).concat(re),He}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(re=>this.map.set(re,this.cloneFrom.map.get(re))),this.updates.forEach(re=>{switch(re.op){case"a":case"s":const He=("a"===re.op?this.map.get(re.param):void 0)||[];He.push(ee(re.value)),this.map.set(re.param,He);break;case"d":if(void 0===re.value){this.map.delete(re.param);break}{let ye=this.map.get(re.param)||[];const rt=ye.indexOf(ee(re.value));-1!==rt&&ye.splice(rt,1),ye.length>0?this.map.set(re.param,ye):this.map.delete(re.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(re,He){return this.map.set(re,He),this}get(re){return this.map.has(re)||this.map.set(re,re.defaultValue()),this.map.get(re)}delete(re){return this.map.delete(re),this}has(re){return this.map.has(re)}keys(){return this.map.keys()}}function le(lt){return typeof ArrayBuffer<"u"&< instanceof ArrayBuffer}function T(lt){return typeof Blob<"u"&< instanceof Blob}function n(lt){return typeof FormData<"u"&< instanceof FormData}class m{constructor(re,He,ye,rt){let ht;if(this.url=He,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=re.toUpperCase(),function Ce(lt){switch(lt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||rt?(this.body=void 0!==ye?ye:null,ht=rt):ht=ye,ht&&(this.reportProgress=!!ht.reportProgress,this.withCredentials=!!ht.withCredentials,ht.responseType&&(this.responseType=ht.responseType),ht.headers&&(this.headers=ht.headers),ht.context&&(this.context=ht.context),ht.params&&(this.params=ht.params),this.transferCache=ht.transferCache),this.headers??=new V,this.context??=new Me,this.params){const ii=this.params.toString();if(0===ii.length)this.urlWithParams=He;else{const di=He.indexOf("?");this.urlWithParams=He+(-1===di?"?":diJn.set(nr,re.setHeaders[nr]),Cn)),re.setParams&&(Hn=Object.keys(re.setParams).reduce((Jn,nr)=>Jn.set(nr,re.setParams[nr]),Hn)),new m(He,ye,ii,{params:Hn,headers:Cn,context:Qn,reportProgress:Gi,responseType:rt,withCredentials:di,transferCache:ht})}}var d=function(lt){return lt[lt.Sent=0]="Sent",lt[lt.UploadProgress=1]="UploadProgress",lt[lt.ResponseHeader=2]="ResponseHeader",lt[lt.DownloadProgress=3]="DownloadProgress",lt[lt.Response=4]="Response",lt[lt.User=5]="User",lt}(d||{});class C{constructor(re,He=200,ye="OK"){this.headers=re.headers||new V,this.status=void 0!==re.status?re.status:He,this.statusText=re.statusText||ye,this.url=re.url||null,this.ok=this.status>=200&&this.status<300}}class A extends C{constructor(re={}){super(re),this.type=d.ResponseHeader}clone(re={}){return new A({headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class k extends C{constructor(re={}){super(re),this.type=d.Response,this.body=void 0!==re.body?re.body:null}clone(re={}){return new k({body:void 0!==re.body?re.body:this.body,headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class _ extends C{constructor(re){super(re,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${re.url||"(unknown url)"}`:`Http failure response for ${re.url||"(unknown url)"}: ${re.status} ${re.statusText}`,this.error=re.error||null}}function N(lt,re){return{body:re,headers:lt.headers,context:lt.context,observe:lt.observe,params:lt.params,reportProgress:lt.reportProgress,responseType:lt.responseType,withCredentials:lt.withCredentials,transferCache:lt.transferCache}}let q=(()=>{class lt{constructor(He){this.handler=He}request(He,ye,rt={}){let ht;if(He instanceof m)ht=He;else{let Gi,Cn;Gi=rt.headers instanceof V?rt.headers:new V(rt.headers),rt.params&&(Cn=rt.params instanceof fe?rt.params:new fe({fromObject:rt.params})),ht=new m(He,ye,void 0!==rt.body?rt.body:null,{headers:Gi,context:rt.context,params:Cn,reportProgress:rt.reportProgress,responseType:rt.responseType||"json",withCredentials:rt.withCredentials,transferCache:rt.transferCache})}const ii=(0,x.of)(ht).pipe((0,w.H)(Gi=>this.handler.handle(Gi)));if(He instanceof m||"events"===rt.observe)return ii;const di=ii.pipe((0,f.p)(Gi=>Gi instanceof k));switch(rt.observe||"body"){case"body":switch(ht.responseType){case"arraybuffer":return di.pipe((0,R.T)(Gi=>{if(null!==Gi.body&&!(Gi.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Gi.body}));case"blob":return di.pipe((0,R.T)(Gi=>{if(null!==Gi.body&&!(Gi.body instanceof Blob))throw new Error("Response is not a Blob.");return Gi.body}));case"text":return di.pipe((0,R.T)(Gi=>{if(null!==Gi.body&&"string"!=typeof Gi.body)throw new Error("Response is not a string.");return Gi.body}));default:return di.pipe((0,R.T)(Gi=>Gi.body))}case"response":return di;default:throw new Error(`Unreachable: unhandled observe type ${rt.observe}}`)}}delete(He,ye={}){return this.request("DELETE",He,ye)}get(He,ye={}){return this.request("GET",He,ye)}head(He,ye={}){return this.request("HEAD",He,ye)}jsonp(He,ye){return this.request("JSONP",He,{params:(new fe).append(ye,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(He,ye={}){return this.request("OPTIONS",He,ye)}patch(He,ye,rt={}){return this.request("PATCH",He,N(rt,ye))}post(He,ye,rt={}){return this.request("POST",He,N(rt,ye))}put(He,ye,rt={}){return this.request("PUT",He,N(rt,ye))}static{this.\u0275fac=function(ye){return new(ye||lt)(t.KVO(O))}}static{this.\u0275prov=t.jDH({token:lt,factory:lt.\u0275fac})}}return lt})();const pe=/^\)\]\}',?\n/;function Xe(lt){if(lt.url)return lt.url;const re="X-Request-URL".toLocaleLowerCase();return lt.headers.get(re)}let We=(()=>{class lt{constructor(){this.fetchImpl=(0,t.WQX)(oe,{optional:!0})?.fetch??((...He)=>globalThis.fetch(...He)),this.ngZone=(0,t.WQX)(t.SKi)}handle(He){return new D.c(ye=>{const rt=new AbortController;return this.doRequest(He,rt.signal,ye).then(X,ht=>ye.error(new _({error:ht}))),()=>rt.abort()})}doRequest(He,ye,rt){var ht=this;return(0,e.A)(function*(){const ii=ht.createRequestInit(He);let di;try{const dr=ht.ngZone.runOutsideAngular(()=>ht.fetchImpl(He.urlWithParams,{signal:ye,...ii}));(function se(lt){lt.then(X,X)})(dr),rt.next({type:d.Sent}),di=yield dr}catch(dr){return void rt.error(new _({error:dr,status:dr.status??0,statusText:dr.statusText,url:He.urlWithParams,headers:dr.headers}))}const Gi=new V(di.headers),Cn=di.statusText,Hn=Xe(di)??He.urlWithParams;let Qn=di.status,Jn=null;if(He.reportProgress&&rt.next(new A({headers:Gi,status:Qn,statusText:Cn,url:Hn})),di.body){const dr=di.headers.get("content-length"),wn=[],Ai=di.body.getReader();let Ft,mi,Yi=0;const gi=typeof Zone<"u"&&Zone.current;yield ht.ngZone.runOutsideAngular((0,e.A)(function*(){for(;;){const{done:Ni,value:nn}=yield Ai.read();if(Ni)break;if(wn.push(nn),Yi+=nn.length,He.reportProgress){mi="text"===He.responseType?(mi??"")+(Ft??=new TextDecoder).decode(nn,{stream:!0}):void 0;const On=()=>rt.next({type:d.DownloadProgress,total:dr?+dr:void 0,loaded:Yi,partialText:mi});gi?gi.run(On):On()}}}));const xi=ht.concatChunks(wn,Yi);try{const Ni=di.headers.get("Content-Type")??"";Jn=ht.parseBody(He,xi,Ni)}catch(Ni){return void rt.error(new _({error:Ni,headers:new V(di.headers),status:di.status,statusText:di.statusText,url:Xe(di)??He.urlWithParams}))}}0===Qn&&(Qn=Jn?200:0),Qn>=200&&Qn<300?(rt.next(new k({body:Jn,headers:Gi,status:Qn,statusText:Cn,url:Hn})),rt.complete()):rt.error(new _({error:Jn,headers:Gi,status:Qn,statusText:Cn,url:Hn}))})()}parseBody(He,ye,rt){switch(He.responseType){case"json":const ht=(new TextDecoder).decode(ye).replace(pe,"");return""===ht?null:JSON.parse(ht);case"text":return(new TextDecoder).decode(ye);case"blob":return new Blob([ye],{type:rt});case"arraybuffer":return ye.buffer}}createRequestInit(He){const ye={},rt=He.withCredentials?"include":void 0;if(He.headers.forEach((ht,ii)=>ye[ht]=ii.join(",")),He.headers.has("Accept")||(ye.Accept="application/json, text/plain, */*"),!He.headers.has("Content-Type")){const ht=He.detectContentTypeHeader();null!==ht&&(ye["Content-Type"]=ht)}return{body:He.serializeBody(),method:He.method,headers:ye,credentials:rt}}concatChunks(He,ye){const rt=new Uint8Array(ye);let ht=0;for(const ii of He)rt.set(ii,ht),ht+=ii.length;return rt}static{this.\u0275fac=function(ye){return new(ye||lt)}}static{this.\u0275prov=t.jDH({token:lt,factory:lt.\u0275fac})}}return lt})();class oe{}function X(){}function ae(lt,re){return re(lt)}function he(lt,re){return(He,ye)=>re.intercept(He,{handle:rt=>lt(rt,ye)})}const st=new t.nKC(""),me=new t.nKC(""),Ee=new t.nKC(""),ue=new t.nKC("",{providedIn:"root",factory:()=>!0});function Be(){let lt=null;return(re,He)=>{null===lt&&(lt=((0,t.WQX)(st,{optional:!0})??[]).reduceRight(he,ae));const ye=(0,t.WQX)(t.TgB);if((0,t.WQX)(ue)){const ht=ye.add();return lt(re,He).pipe((0,h.j)(()=>ye.remove(ht)))}return lt(re,He)}}let dt=(()=>{class lt extends O{constructor(He,ye){super(),this.backend=He,this.injector=ye,this.chain=null,this.pendingTasks=(0,t.WQX)(t.TgB),this.contributeToStability=(0,t.WQX)(ue)}handle(He){if(null===this.chain){const ye=Array.from(new Set([...this.injector.get(me),...this.injector.get(Ee,[])]));this.chain=ye.reduceRight((rt,ht)=>function Ie(lt,re,He){return(ye,rt)=>(0,t.N4e)(He,()=>re(ye,ht=>lt(ht,rt)))}(rt,ht,this.injector),ae)}if(this.contributeToStability){const ye=this.pendingTasks.add();return this.chain(He,rt=>this.backend.handle(rt)).pipe((0,h.j)(()=>this.pendingTasks.remove(ye)))}return this.chain(He,ye=>this.backend.handle(ye))}static{this.\u0275fac=function(ye){return new(ye||lt)(t.KVO(I),t.KVO(t.uvJ))}}static{this.\u0275prov=t.jDH({token:lt,factory:lt.\u0275fac})}}return lt})();const yt=/^\)\]\}',?\n/;let Je=(()=>{class lt{constructor(He){this.xhrFactory=He}handle(He){if("JSONP"===He.method)throw new t.wOt(-2800,!1);const ye=this.xhrFactory;return(ye.\u0275loadImpl?(0,l.H)(ye.\u0275loadImpl()):(0,x.of)(null)).pipe((0,S.n)(()=>new D.c(ht=>{const ii=ye.build();if(ii.open(He.method,He.urlWithParams),He.withCredentials&&(ii.withCredentials=!0),He.headers.forEach((wn,Ai)=>ii.setRequestHeader(wn,Ai.join(","))),He.headers.has("Accept")||ii.setRequestHeader("Accept","application/json, text/plain, */*"),!He.headers.has("Content-Type")){const wn=He.detectContentTypeHeader();null!==wn&&ii.setRequestHeader("Content-Type",wn)}if(He.responseType){const wn=He.responseType.toLowerCase();ii.responseType="json"!==wn?wn:"text"}const di=He.serializeBody();let Gi=null;const Cn=()=>{if(null!==Gi)return Gi;const wn=ii.statusText||"OK",Ai=new V(ii.getAllResponseHeaders()),Yi=function jt(lt){return"responseURL"in lt&<.responseURL?lt.responseURL:/^X-Request-URL:/m.test(lt.getAllResponseHeaders())?lt.getResponseHeader("X-Request-URL"):null}(ii)||He.url;return Gi=new A({headers:Ai,status:ii.status,statusText:wn,url:Yi}),Gi},Hn=()=>{let{headers:wn,status:Ai,statusText:Yi,url:Ft}=Cn(),mi=null;204!==Ai&&(mi=typeof ii.response>"u"?ii.responseText:ii.response),0===Ai&&(Ai=mi?200:0);let gi=Ai>=200&&Ai<300;if("json"===He.responseType&&"string"==typeof mi){const xi=mi;mi=mi.replace(yt,"");try{mi=""!==mi?JSON.parse(mi):null}catch(Ni){mi=xi,gi&&(gi=!1,mi={error:Ni,text:mi})}}gi?(ht.next(new k({body:mi,headers:wn,status:Ai,statusText:Yi,url:Ft||void 0})),ht.complete()):ht.error(new _({error:mi,headers:wn,status:Ai,statusText:Yi,url:Ft||void 0}))},Qn=wn=>{const{url:Ai}=Cn(),Yi=new _({error:wn,status:ii.status||0,statusText:ii.statusText||"Unknown Error",url:Ai||void 0});ht.error(Yi)};let Jn=!1;const nr=wn=>{Jn||(ht.next(Cn()),Jn=!0);let Ai={type:d.DownloadProgress,loaded:wn.loaded};wn.lengthComputable&&(Ai.total=wn.total),"text"===He.responseType&&ii.responseText&&(Ai.partialText=ii.responseText),ht.next(Ai)},dr=wn=>{let Ai={type:d.UploadProgress,loaded:wn.loaded};wn.lengthComputable&&(Ai.total=wn.total),ht.next(Ai)};return ii.addEventListener("load",Hn),ii.addEventListener("error",Qn),ii.addEventListener("timeout",Qn),ii.addEventListener("abort",Qn),He.reportProgress&&(ii.addEventListener("progress",nr),null!==di&&ii.upload&&ii.upload.addEventListener("progress",dr)),ii.send(di),ht.next({type:d.Sent}),()=>{ii.removeEventListener("error",Qn),ii.removeEventListener("abort",Qn),ii.removeEventListener("load",Hn),ii.removeEventListener("timeout",Qn),He.reportProgress&&(ii.removeEventListener("progress",nr),null!==di&&ii.upload&&ii.upload.removeEventListener("progress",dr)),ii.readyState!==ii.DONE&&ii.abort()}})))}static{this.\u0275fac=function(ye){return new(ye||lt)(t.KVO(y.N0))}}static{this.\u0275prov=t.jDH({token:lt,factory:lt.\u0275fac})}}return lt})();const et=new t.nKC(""),It=new t.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Tt=new t.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class xt{}let Se=(()=>{class lt{constructor(He,ye,rt){this.doc=He,this.platform=ye,this.cookieName=rt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const He=this.doc.cookie||"";return He!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,y._b)(He,this.cookieName),this.lastCookieString=He),this.lastToken}static{this.\u0275fac=function(ye){return new(ye||lt)(t.KVO(y.qQ),t.KVO(t.Agw),t.KVO(It))}}static{this.\u0275prov=t.jDH({token:lt,factory:lt.\u0275fac})}}return lt})();function Te(lt,re){const He=lt.url.toLowerCase();if(!(0,t.WQX)(et)||"GET"===lt.method||"HEAD"===lt.method||He.startsWith("http://")||He.startsWith("https://"))return re(lt);const ye=(0,t.WQX)(xt).getToken(),rt=(0,t.WQX)(Tt);return null!=ye&&!lt.headers.has(rt)&&(lt=lt.clone({headers:lt.headers.set(rt,ye)})),re(lt)}var Z=function(lt){return lt[lt.Interceptors=0]="Interceptors",lt[lt.LegacyInterceptors=1]="LegacyInterceptors",lt[lt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",lt[lt.NoXsrfProtection=3]="NoXsrfProtection",lt[lt.JsonpSupport=4]="JsonpSupport",lt[lt.RequestsMadeViaParent=5]="RequestsMadeViaParent",lt[lt.Fetch=6]="Fetch",lt}(Z||{});function Re(lt,re){return{\u0275kind:lt,\u0275providers:re}}function Pe(...lt){const re=[q,Je,dt,{provide:O,useExisting:dt},{provide:I,useFactory:()=>(0,t.WQX)(We,{optional:!0})??(0,t.WQX)(Je)},{provide:me,useValue:Te,multi:!0},{provide:et,useValue:!0},{provide:xt,useClass:Se}];for(const He of lt)re.push(...He.\u0275providers);return(0,t.EmA)(re)}const Ke=new t.nKC("");let Kt=(()=>{class lt{static{this.\u0275fac=function(ye){return new(ye||lt)}}static{this.\u0275mod=t.$C({type:lt})}static{this.\u0275inj=t.G2t({providers:[Pe(Re(Z.LegacyInterceptors,[{provide:Ke,useFactory:Be},{provide:me,useExisting:Ke,multi:!0}]))]})}}return lt})()},4438:(Qe,te,g)=>{"use strict";function e(i,r){return Object.is(i,r)}g.d(te,{bc$:()=>Lf,iLQ:()=>bp,sZ2:()=>I0,hnV:()=>pv,Hbi:()=>Fw,o8S:()=>fd,BIS:()=>Df,gRc:()=>Av,Ql9:()=>bv,OM3:()=>Rn,Ocv:()=>uw,abz:()=>Gl,Z63:()=>ia,aKT:()=>jl,uvJ:()=>Za,zcH:()=>Ac,bkB:()=>fc,y_5:()=>ko,$GK:()=>gn,nKC:()=>Ut,zZn:()=>Ho,_q3:()=>B8,MKu:()=>V8,xe9:()=>D8,Co$:()=>W6,Vns:()=>f2,SKi:()=>Da,Xx1:()=>fo,Agw:()=>io,PLl:()=>Sf,rOR:()=>Xl,sFG:()=>ya,_9s:()=>Zr,czy:()=>qf,WPN:()=>G,kdw:()=>zr,C4Q:()=>su,NYb:()=>ew,giA:()=>fv,RxE:()=>rv,c1b:()=>$o,gXe:()=>ni,mal:()=>Um,Af3:()=>pn,tdH:()=>C7,L39:()=>aM,EWP:()=>dM,a0P:()=>ZE,Ol2:()=>K6,w6W:()=>Wb,oH4:()=>k8,QZP:()=>mM,Rfq:()=>Se,WQX:()=>hn,naY:()=>xw,Hps:()=>Pm,QuC:()=>ca,EmA:()=>xo,Udg:()=>oM,fpN:()=>G8,HJs:()=>qE,N4e:()=>Oi,vPA:()=>K5,O8t:()=>hb,H3F:()=>b8,H8p:()=>Xs,KH2:()=>Du,TgB:()=>jc,wOt:()=>Be,WHO:()=>w8,e01:()=>uv,lNU:()=>ue,h9k:()=>B,$MX:()=>Vd,ZF7:()=>Bd,Kcf:()=>A4,e5t:()=>k4,UyX:()=>Uf,cWb:()=>Vf,osQ:()=>Gf,H5H:()=>Ag,Zy3:()=>Ct,mq5:()=>T_,JZv:()=>yt,LfX:()=>Mt,plB:()=>Na,jNT:()=>vp,zjR:()=>mv,TL$:()=>Ef,Tbb:()=>It,rcV:()=>rs,Vt3:()=>G6,GFd:()=>j6,OA$:()=>Ll,Jv_:()=>L9,aNF:()=>D9,R7$:()=>tm,BMQ:()=>Ym,HbH:()=>a_,ZvI:()=>Jm,AVh:()=>vg,vxM:()=>v_,wni:()=>o9,VBU:()=>Uo,FsC:()=>vs,jDH:()=>Xt,G2t:()=>tt,$C:()=>Jo,EJ8:()=>Us,rXU:()=>Gd,nrm:()=>Sg,eu8:()=>Tg,bVm:()=>C2,qex:()=>tp,k0s:()=>P3,j41:()=>ep,RV6:()=>E_,xGo:()=>_1,Mr5:()=>Lg,KVO:()=>xr,kS0:()=>v1,QTQ:()=>$p,bIt:()=>Ug,lsd:()=>c9,joV:()=>N2,qSk:()=>sl,XpG:()=>Hg,nI1:()=>U9,bMT:()=>G9,i5U:()=>H9,brH:()=>j9,SdG:()=>cp,NAR:()=>e9,Y8G:()=>pg,FS9:()=>jg,Mz_:()=>lp,FCK:()=>dp,lJ4:()=>s8,eq3:()=>I9,l_i:()=>R9,sMw:()=>O9,mGM:()=>Yg,sdS:()=>$g,Dyx:()=>Mg,Z7z:()=>x_,fX1:()=>b_,Njj:()=>A2,tSv:()=>Hh,eBV:()=>D2,npT:()=>Oe,n$t:()=>Mn,xc7:()=>_g,Kam:()=>sp,zvX:()=>Dg,DNE:()=>Z6,C5r:()=>c8,EFF:()=>qg,JRh:()=>e8,SpI:()=>ku,Lme:()=>t8,E5c:()=>i8,LHq:()=>n8,DH7:()=>M9,mxI:()=>fp,R50:()=>up,GBs:()=>s9});let t=null,x=!1,D=1;const l=Symbol("SIGNAL");function w(i){const r=t;return t=i,r}function f(){return t}const S={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(x)throw new Error("");if(null===t)return;t.consumerOnSignalRead(i);const r=t.nextProducerIndex++;Me(t),ri.nextProducerIndex;)i.producerNode.pop(),i.producerLastReadVersion.pop(),i.producerIndexOfThis.pop()}}function J(i){Me(i);for(let r=0;r0}function Me(i){i.producerNode??=[],i.producerIndexOfThis??=[],i.producerLastReadVersion??=[]}function Ce(i){i.liveConsumerNode??=[],i.liveConsumerIndexOfThis??=[]}function le(i){return void 0!==i.producerNode}const n=Symbol("UNSET"),c=Symbol("COMPUTING"),m=Symbol("ERRORED"),d={...S,value:n,dirty:!0,error:null,equal:e,producerMustRecompute:i=>i.value===n||i.value===c,producerRecomputeValue(i){if(i.value===c)throw new Error("Detected cycle in computations.");const r=i.value;i.value=c;const o=W(i);let p;try{p=i.computation()}catch(E){p=m,i.error=E}finally{Q(i,o)}r!==n&&r!==m&&p!==m&&i.equal(r,p)?i.value=r:(i.value=p,i.version++)}};let A=function C(){throw new Error};function k(){A()}let a=null;function q(i,r){j()||k(),i.equal(i.value,r)||(i.value=r,function We(i){i.version++,function O(){D++}(),V(i),a?.()}(i))}const Xe={...S,equal:e,value:void 0};const X=()=>{},se={...S,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:i=>{null!==i.schedule&&i.schedule(i.ref)},hasRun:!1,cleanupFn:X};var he=g(4412),Ie=g(1413),st=g(8359),me=g(6354);const ue="https://g.co/ng/security#xss";class Be extends Error{constructor(r,o){super(Ct(r,o)),this.code=r}}function Ct(i,r){return`NG0${Math.abs(i)}${r?": "+r:""}`}function we(i){return{toString:i}.toString()}const je="__parameters__";function qt(i,r,o){return we(()=>{const p=function nt(i){return function(...o){if(i){const p=i(...o);for(const E in p)this[E]=p[E]}}}(r);function E(...P){if(this instanceof E)return p.apply(this,P),this;const $=new E(...P);return de.annotation=$,de;function de(Le,Ze,_t){const zt=Le.hasOwnProperty(je)?Le[je]:Object.defineProperty(Le,je,{value:[]})[je];for(;zt.length<=_t;)zt.push(null);return(zt[_t]=zt[_t]||[]).push($),Le}}return o&&(E.prototype=Object.create(o.prototype)),E.prototype.ngMetadataName=i,E.annotationCls=E,E})}const yt=globalThis;function et(i){for(let r in i)if(i[r]===et)return r;throw Error("Could not find renamed property on target object.")}function Ae(i,r){for(const o in r)r.hasOwnProperty(o)&&!i.hasOwnProperty(o)&&(i[o]=r[o])}function It(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(It).join(", ")+"]";if(null==i)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;const r=i.toString();if(null==r)return""+r;const o=r.indexOf("\n");return-1===o?r:r.substring(0,o)}function Qt(i,r){return null==i||""===i?null===r?"":r:null==r||""===r?i:i+" "+r}const xt=et({__forward_ref__:et});function Se(i){return i.__forward_ref__=Se,i.toString=function(){return It(this())},i}function Te(i){return ce(i)?i():i}function ce(i){return"function"==typeof i&&i.hasOwnProperty(xt)&&i.__forward_ref__===Se}function Xt(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function tt(i){return{providers:i.providers||[],imports:i.imports||[]}}function ot(i){return Bt(i,Hi)||Bt(i,ln)}function Mt(i){return null!==ot(i)}function Bt(i,r){return i.hasOwnProperty(r)?i[r]:null}function Ti(i){return i&&(i.hasOwnProperty(Zi)||i.hasOwnProperty(mn))?i[Zi]:null}const Hi=et({\u0275prov:et}),Zi=et({\u0275inj:et}),ln=et({ngInjectableDef:et}),mn=et({ngInjectorDef:et});class Ut{constructor(r,o){this._desc=r,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof o?this.__NG_ELEMENT_ID__=o:void 0!==o&&(this.\u0275prov=Xt({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Hn(i){return i&&!!i.\u0275providers}const Qn=et({\u0275cmp:et}),Jn=et({\u0275dir:et}),nr=et({\u0275pipe:et}),dr=et({\u0275mod:et}),wn=et({\u0275fac:et}),Ai=et({__NG_ELEMENT_ID__:et}),Yi=et({__NG_ENV_ID__:et});function Ft(i){return"string"==typeof i?i:null==i?"":String(i)}function ir(i,r){throw new Be(-201,!1)}var gn=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}(gn||{});let Xr;function fr(){return Xr}function mr(i){const r=Xr;return Xr=i,r}function wa(i,r,o){const p=ot(i);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:o&gn.Optional?null:void 0!==r?r:void ir()}const qr={},_s="__NG_DI_FLAG__",Ma="ngTempTokenPath",Or=/\n/gm,za="__source";let Fr;function yr(i){const r=Fr;return Fr=i,r}function Ya(i,r=gn.Default){if(void 0===Fr)throw new Be(-203,!1);return null===Fr?wa(i,void 0,r):Fr.get(i,r&gn.Optional?null:void 0,r)}function xr(i,r=gn.Default){return(fr()||Ya)(Te(i),r)}function hn(i,r=gn.Default){return xr(i,Do(r))}function Do(i){return typeof i>"u"||"number"==typeof i?i:(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function Ba(i){const r=[];for(let o=0;o({token:i})),-1),fo=Ao(qt("Optional"),8),zr=Ao(qt("SkipSelf"),4);function fa(i,r){return i.hasOwnProperty(wn)?i[wn]:null}function Io(i,r){i.forEach(o=>Array.isArray(o)?Io(o,r):r(o))}function Ua(i,r,o){r>=i.length?i.push(o):i.splice(r,0,o)}function ma(i,r){return r>=i.length-1?i.pop():i.splice(r,1)[0]}function $r(i,r,o){let p=yo(i,r);return p>=0?i[1|p]=o:(p=~p,function As(i,r,o,p){let E=i.length;if(E==r)i.push(o,p);else if(1===E)i.push(p,i[0]),i[0]=o;else{for(E--,i.push(i[E-1],i[E]);E>r;)i[E]=i[E-2],E--;i[r]=o,i[r+1]=p}}(i,p,r,o)),p}function pa(i,r){const o=yo(i,r);if(o>=0)return i[1|o]}function yo(i,r){return function Ka(i,r,o){let p=0,E=i.length>>o;for(;E!==p;){const P=p+(E-p>>1),$=i[P<r?E=P:p=P+1}return~(E<r){$=P-1;break}}}for(;P-1){let P;for(;++EP?"":E[_t+1].toLowerCase(),2&p&&Ze!==zt){if(ut(p))return!1;$=!0}}}}else{if(!$&&!ut(p)&&!ut(Le))return!1;if($&&ut(Le))continue;$=!1,p=Le|1&p}}return ut(p)||$}function ut(i){return!(1&i)}function Ve(i,r,o,p){if(null===r)return-1;let E=0;if(p||!o){let P=!1;for(;E-1)for(o++;o0?'="'+de+'"':"")+"]"}else 8&p?E+="."+$:4&p&&(E+=" "+$);else""!==E&&!ut($)&&(r+=Cr(P,E),E=""),p=$,P=P||!ut(p);o++}return""!==E&&(r+=Cr(P,E)),r}function Uo(i){return we(()=>{const r=dn(i),o={...r,decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection===wt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&i.dependencies||null,getStandaloneInjector:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||ni.Emulated,styles:i.styles||sr,_:null,schemas:i.schemas||null,tView:null,id:""};Is(o);const p=i.dependencies;return o.directiveDefs=qo(p,!1),o.pipeDefs=qo(p,!0),o.id=function rc(i){let r=0;const o=[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 E of o)r=Math.imul(31,r)+E.charCodeAt(0)|0;return r+=2147483648,"c"+r}(o),o})}function Vs(i){return jn(i)||na(i)}function nc(i){return null!==i}function Jo(i){return we(()=>({type:i.type,bootstrap:i.bootstrap||sr,declarations:i.declarations||sr,imports:i.imports||sr,exports:i.exports||sr,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function us(i,r){if(null==i)return Ga;const o={};for(const p in i)if(i.hasOwnProperty(p)){const E=i[p];let P,$,de=Ei.None;Array.isArray(E)?(de=E[0],P=E[1],$=E[2]??P):(P=E,$=E),r?(o[P]=de!==Ei.None?[p,de]:p,r[P]=$):o[P]=p}return o}function vs(i){return we(()=>{const r=dn(i);return Is(r),r})}function Us(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 jn(i){return i[Qn]||null}function na(i){return i[Jn]||null}function Nr(i){return i[nr]||null}function ca(i){const r=jn(i)||na(i)||Nr(i);return null!==r&&r.standalone}function _a(i,r){const o=i[dr]||null;if(!o&&!0===r)throw new Error(`Type ${It(i)} does not have '\u0275mod' property.`);return o}function dn(i){const r={};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:r,inputTransforms:null,inputConfig:i.inputs||Ga,exportAs:i.exportAs||null,standalone:!0===i.standalone,signals:!0===i.signals,selectors:i.selectors||sr,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:us(i.inputs,r),outputs:us(i.outputs),debugInfo:null}}function Is(i){i.features?.forEach(r=>r(i))}function qo(i,r){if(!i)return null;const o=r?Nr:Vs;return()=>("function"==typeof i?i():i).map(p=>o(p)).filter(nc)}function xo(i){return{\u0275providers:i}}function md(...i){return{\u0275providers:bs(0,i),\u0275fromNgModule:!0}}function bs(i,...r){const o=[],p=new Set;let E;const P=$=>{o.push($)};return Io(r,$=>{const de=$;ac(de,P,[],p)&&(E||=[],E.push(de))}),void 0!==E&&Fc(E,P),o}function Fc(i,r){for(let o=0;o{r(P,p)})}}function ac(i,r,o,p){if(!(i=Te(i)))return!1;let E=null,P=Ti(i);const $=!P&&jn(i);if(P||$){if($&&!$.standalone)return!1;E=i}else{const Le=i.ngModule;if(P=Ti(Le),!P)return!1;E=Le}const de=p.has(E);if($){if(de)return!1;if(p.add(E),$.dependencies){const Le="function"==typeof $.dependencies?$.dependencies():$.dependencies;for(const Ze of Le)ac(Ze,r,o,p)}}else{if(!P)return!1;{if(null!=P.imports&&!de){let Ze;p.add(E);try{Io(P.imports,_t=>{ac(_t,r,o,p)&&(Ze||=[],Ze.push(_t))})}finally{}void 0!==Ze&&Fc(Ze,r)}if(!de){const Ze=fa(E)||(()=>new E);r({provide:E,useFactory:Ze,deps:sr},E),r({provide:Ot,useValue:E,multi:!0},E),r({provide:ia,useValue:()=>xr(E),multi:!0},E)}const Le=P.providers;if(null!=Le&&!de){const Ze=i;Nc(Le,_t=>{r(_t,Ze)})}}}return E!==i&&void 0!==i.providers}function Nc(i,r){for(let o of i)Hn(o)&&(o=o.\u0275providers),Array.isArray(o)?Nc(o,r):r(o)}const Gs=et({provide:String,useValue:et});function Hs(i){return null!==i&&"object"==typeof i&&Gs in i}function es(i){return"function"==typeof i}const Xs=new Ut(""),oc={},ys={};let sc;function zc(){return void 0===sc&&(sc=new si),sc}class Za{}class Rs extends Za{get destroyed(){return this._destroyed}constructor(r,o,p,E){super(),this.parent=o,this.source=p,this.scopes=E,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,yi(r,$=>this.processProvider($)),this.records.set(Bo,Vt(void 0,this)),E.has("environment")&&this.records.set(Za,Vt(void 0,this));const P=this.records.get(Xs);null!=P&&"string"==typeof P.value&&this.scopes.add(P.value),this.injectorDefTypes=new Set(this.get(Ot,sr,gn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const r=w(null);try{for(const p of this._ngOnDestroyHooks)p.ngOnDestroy();const o=this._onDestroyHooks;this._onDestroyHooks=[];for(const p of o)p()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),w(r)}}onDestroy(r){return this.assertNotDestroyed(),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){this.assertNotDestroyed();const o=yr(this),p=mr(void 0);try{return r()}finally{yr(o),mr(p)}}get(r,o=qr,p=gn.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(Yi))return r[Yi](this);p=Do(p);const P=yr(this),$=mr(void 0);try{if(!(p&gn.SkipSelf)){let Le=this.records.get(r);if(void 0===Le){const Ze=function ci(i){return"function"==typeof i||"object"==typeof i&&i instanceof Ut}(r)&&ot(r);Le=Ze&&this.injectableDefInScope(Ze)?Vt(bc(r),oc):null,this.records.set(r,Le)}if(null!=Le)return this.hydrate(r,Le)}return(p&gn.Self?zc():this.parent).get(r,o=p&gn.Optional&&o===qr?null:o)}catch(de){if("NullInjectorError"===de.name){if((de[Ma]=de[Ma]||[]).unshift(It(r)),P)throw de;return function _o(i,r,o,p){const E=i[Ma];throw r[za]&&E.unshift(r[za]),i.message=function Va(i,r,o,p=null){i=i&&"\n"===i.charAt(0)&&"\u0275"==i.charAt(1)?i.slice(2):i;let E=It(r);if(Array.isArray(r))E=r.map(It).join(" -> ");else if("object"==typeof r){let P=[];for(let $ in r)if(r.hasOwnProperty($)){let de=r[$];P.push($+":"+("string"==typeof de?JSON.stringify(de):It(de)))}E=`{${P.join(", ")}}`}return`${o}${p?"("+p+")":""}[${E}]: ${i.replace(Or,"\n ")}`}("\n"+i.message,E,o,p),i.ngTokenPath=E,i[Ma]=null,i}(de,r,"R3InjectorError",this.source)}throw de}finally{mr($),yr(P)}}resolveInjectorInitializers(){const r=w(null),o=yr(this),p=mr(void 0);try{const P=this.get(ia,sr,gn.Self);for(const $ of P)$()}finally{yr(o),mr(p),w(r)}}toString(){const r=[],o=this.records;for(const p of o.keys())r.push(It(p));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Be(205,!1)}processProvider(r){let o=es(r=Te(r))?r:Te(r&&r.provide);const p=function tl(i){return Hs(i)?Vt(void 0,i.useValue):Vt(mt(i),oc)}(r);if(!es(r)&&!0===r.multi){let E=this.records.get(o);E||(E=Vt(void 0,oc,!0),E.factory=()=>Ba(E.multi),this.records.set(o,E)),o=r,E.multi.push(r)}this.records.set(o,p)}hydrate(r,o){const p=w(null);try{return o.value===oc&&(o.value=ys,o.value=o.factory()),"object"==typeof o.value&&o.value&&function ei(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}finally{w(p)}}injectableDefInScope(r){if(!r.providedIn)return!1;const o=Te(r.providedIn);return"string"==typeof o?"any"===o||this.scopes.has(o):this.injectorDefTypes.has(o)}removeOnDestroy(r){const o=this._onDestroyHooks.indexOf(r);-1!==o&&this._onDestroyHooks.splice(o,1)}}function bc(i){const r=ot(i),o=null!==r?r.factory:fa(i);if(null!==o)return o;if(i instanceof Ut)throw new Be(204,!1);if(i instanceof Function)return function Ys(i){if(i.length>0)throw new Be(204,!1);const o=function Ci(i){return i&&(i[Hi]||i[ln])||null}(i);return null!==o?()=>o.factory(i):()=>new i}(i);throw new Be(204,!1)}function mt(i,r,o){let p;if(es(i)){const E=Te(i);return fa(E)||bc(E)}if(Hs(i))p=()=>Te(i.useValue);else if(function Ws(i){return!(!i||!i.useFactory)}(i))p=()=>i.useFactory(...Ba(i.deps||[]));else if(function js(i){return!(!i||!i.useExisting)}(i))p=()=>xr(Te(i.useExisting));else{const E=Te(i&&(i.useClass||i.provide));if(!function Ht(i){return!!i.deps}(i))return fa(E)||bc(E);p=()=>new E(...Ba(i.deps))}return p}function Vt(i,r,o=!1){return{factory:i,value:r,multi:o?[]:void 0}}function yi(i,r){for(const o of i)Array.isArray(o)?yi(o,r):o&&Hn(o)?yi(o.\u0275providers,r):r(o)}function Oi(i,r){i instanceof Rs&&i.assertNotDestroyed();const p=yr(i),E=mr(void 0);try{return r()}finally{yr(p),mr(E)}}function ji(){return void 0!==fr()||null!=function Ur(){return Fr}()}function pn(i){if(!ji())throw new Be(-203,!1)}const Dn=0,Fi=1,bn=2,Tr=3,va=4,ra=5,Ja=6,oo=7,hr=8,aa=9,ts=10,Bn=11,Co=12,pd=13,il=14,Lr=15,Bc=16,cc=17,so=18,Xi=19,gd=20,lc=21,El=22,Fo=23,En=25,Sl=1,Os=7,yc=9,ba=10;var xs=function(i){return i[i.None=0]="None",i[i.HasTransplantedViews=2]="HasTransplantedViews",i}(xs||{});function Yr(i){return Array.isArray(i)&&"object"==typeof i[Sl]}function mo(i){return Array.isArray(i)&&!0===i[Sl]}function po(i){return!!(4&i.flags)}function Nn(i){return i.componentOffset>-1}function qi(i){return!(1&~i.flags)}function vr(i){return!!i.template}function Qr(i){return!!(512&i[bn])}class Ta{constructor(r,o,p){this.previousValue=r,this.currentValue=o,this.firstChange=p}isFirstChange(){return this.firstChange}}function wo(i,r,o,p){null!==r?r.applyValueToInputSignal(r,p):i[o]=p}function Ll(){return Cc}function Cc(i){return i.type.prototype.ngOnChanges&&(i.setInput=wc),e0}function e0(){const i=dc(this),r=i?.current;if(r){const o=i.previous;if(o===Ga)i.previous=r;else for(let p in r)o[p]=r[p];i.current=null,this.ngOnChanges(r)}}function wc(i,r,o,p,E){const P=this.declaredInputs[p],$=dc(i)||function Mc(i,r){return i[ws]=r}(i,{previous:Ga,current:null}),de=$.current||($.current={}),Le=$.previous,Ze=Le[P];de[P]=new Ta(Ze&&Ze.currentValue,o,Le===Ga),wo(i,r,E,o)}Ll.ngInherit=!0;const ws="__ngSimpleChanges__";function dc(i){return i[ws]||null}const Fs=function(i,r,o){},e1="svg";function Un(i){for(;Array.isArray(i);)i=i[Dn];return i}function bd(i,r){return Un(r[i])}function co(i,r){return Un(r[i.index])}function nl(i,r){return i.data[r]}function Al(i,r){return i[r]}function fs(i,r){const o=r[i];return Yr(o)?o:o[Dn]}function $s(i){return!(128&~i[bn])}function Ms(i,r){return null==r?null:i[r]}function zu(i){i[cc]=0}function n1(i){1024&i[bn]||(i[bn]|=1024,$s(i)&&hc(i))}function t0(i){return!!(9216&i[bn]||i[Fo]?.dirty)}function n0(i){i[ts].changeDetectionScheduler?.notify(8),64&i[bn]&&(i[bn]|=1024),t0(i)&&hc(i)}function hc(i){i[ts].changeDetectionScheduler?.notify(0);let r=Qs(i);for(;null!==r&&!(8192&r[bn])&&(r[bn]|=8192,$s(r));)r=Qs(r)}function r1(i,r){if(!(256&~i[bn]))throw new Be(911,!1);null===i[lc]&&(i[lc]=[]),i[lc].push(r)}function Qs(i){const r=i[Tr];return mo(r)?r[Tr]:r}const Zn={lFrame:c1(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let yd=!1;function Gu(){return Zn.bindingsEnabled}function kl(){return null!==Zn.skipHydrationRootTNode}function Ri(){return Zn.lFrame.lView}function ur(){return Zn.lFrame.tView}function D2(i){return Zn.lFrame.contextLView=i,i[hr]}function A2(i){return Zn.lFrame.contextLView=null,i}function Hr(){let i=is();for(;null!==i&&64===i.type;)i=i.parent;return i}function is(){return Zn.lFrame.currentTNode}function Br(i,r){const o=Zn.lFrame;o.currentTNode=i,o.isParent=r}function Il(){return Zn.lFrame.isParent}function Rl(){Zn.lFrame.isParent=!1}function Wu(){return yd}function a0(i){yd=i}function ms(){const i=Zn.lFrame;let r=i.bindingRootIndex;return-1===r&&(r=i.bindingRootIndex=i.tView.bindingStartIndex),r}function Ns(){return Zn.lFrame.bindingIndex}function ns(){return Zn.lFrame.bindingIndex++}function uc(i){const r=Zn.lFrame,o=r.bindingIndex;return r.bindingIndex=r.bindingIndex+i,o}function Xu(i,r){const o=Zn.lFrame;o.bindingIndex=o.bindingRootIndex=i,Vc(r)}function Vc(i){Zn.lFrame.currentDirectiveIndex=i}function Sc(i){const r=Zn.lFrame.currentDirectiveIndex;return-1===r?null:i[r]}function Uc(){return Zn.lFrame.currentQueryIndex}function Es(i){Zn.lFrame.currentQueryIndex=i}function l4(i){const r=i[Fi];return 2===r.type?r.declTNode:1===r.type?i[ra]:null}function s1(i,r,o){if(o&gn.SkipSelf){let E=r,P=i;for(;!(E=E.parent,null!==E||o&gn.Host||(E=l4(P),null===E||(P=P[il],10&E.type))););if(null===E)return!1;r=E,i=P}const p=Zn.lFrame=Ol();return p.currentTNode=r,p.lView=i,!0}function I2(i){const r=Ol(),o=i[Fi];Zn.lFrame=r,r.currentTNode=o.firstChild,r.lView=i,r.tView=o,r.contextLView=i,r.bindingIndex=o.bindingStartIndex,r.inI18n=!1}function Ol(){const i=Zn.lFrame,r=null===i?null:i.child;return null===r?c1(i):r}function c1(i){const r={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=r),r}function Yu(){const i=Zn.lFrame;return Zn.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const R2=Yu;function Tc(){const i=Yu();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 qa(){return Zn.lFrame.selectedIndex}function ol(i){Zn.lFrame.selectedIndex=i}function oa(){const i=Zn.lFrame;return nl(i.tView,i.selectedIndex)}function sl(){Zn.lFrame.currentNamespace=e1}function N2(){!function d4(){Zn.lFrame.currentNamespace=null}()}let $u=!0;function l1(){return $u}function Lc(i){$u=i}function o0(i,r){for(let o=r.directiveStart,p=r.directiveEnd;o=p)break}else r[Le]<0&&(i[cc]+=65536),(de>14>16&&(3&i[bn])===r&&(i[bn]+=16384,d1(de,P)):d1(de,P)}const cl=-1;class wd{constructor(r,o,p){this.factory=r,this.resolving=!1,this.canSeeViewProviders=o,this.injectImpl=p}}const Ed={};class Fl{constructor(r,o){this.injector=r,this.parentInjector=o}get(r,o,p){p=Do(p);const E=this.injector.get(r,Ed,p);return E!==Ed||o===Ed?E:this.parentInjector.get(r,o,p)}}function f1(i){return i!==cl}function Nl(i){return 32767&i}function dl(i,r){let o=function l0(i){return i>>16}(i),p=r;for(;o>0;)p=p[il],o--;return p}let V2=!0;function hl(i){const r=V2;return V2=i,r}const Qu=255,p1=5;let d0=0;const ps={};function Sd(i,r){const o=U2(i,r);if(-1!==o)return o;const p=r[Fi];p.firstCreatePass&&(i.injectorIndex=r.length,eo(p.data,i),eo(r,null),eo(p.blueprint,null));const E=Td(i,r),P=i.injectorIndex;if(f1(E)){const $=Nl(E),de=dl(E,r),Le=de[Fi].data;for(let Ze=0;Ze<8;Ze++)r[P+Ze]=de[$+Ze]|Le[$+Ze]}return r[P+8]=E,P}function eo(i,r){i.push(0,0,0,0,0,0,0,0,r)}function U2(i,r){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===r[i.injectorIndex+8]?-1:i.injectorIndex}function Td(i,r){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let o=0,p=null,E=r;for(;null!==E;){if(p=Y2(E),null===p)return cl;if(o++,E=E[il],-1!==p.injectorIndex)return p.injectorIndex|o<<16}return cl}function Dr(i,r,o){!function Zu(i,r,o){let p;"string"==typeof o?p=o.charCodeAt(0)||0:o.hasOwnProperty(Ai)&&(p=o[Ai]),null==p&&(p=o[Ai]=d0++);const E=p&Qu;r.data[i+(E>>p1)]|=1<=0?r&Qu:qu:r}(o);if("function"==typeof P){if(!s1(r,i,p))return p&gn.Host?zl(E,0,p):Bl(r,o,p,E);try{let $;if($=P(p),null!=$||p&gn.Optional)return $;ir()}finally{R2()}}else if("number"==typeof P){let $=null,de=U2(i,r),Le=cl,Ze=p&gn.Host?r[Lr][ra]:null;for((-1===de||p&gn.SkipSelf)&&(Le=-1===de?Td(i,r):r[de+8],Le!==cl&&W2(p,!1)?($=r[Fi],de=Nl(Le),r=dl(Le,r)):de=-1);-1!==de;){const _t=r[Fi];if(g1(P,de,_t.data)){const zt=Ju(de,r,o,$,p,Ze);if(zt!==ps)return zt}Le=r[de+8],Le!==cl&&W2(p,r[Fi].data[de+8]===Ze)&&g1(P,de,r)?($=_t,de=Nl(Le),r=dl(Le,r)):de=-1}}return E}function Ju(i,r,o,p,E,P){const $=r[Fi],de=$.data[i+8],_t=Ld(de,$,o,null==p?Nn(de)&&V2:p!=$&&!!(3&de.type),E&gn.Host&&P===de);return null!==_t?ul(r,$,_t,de):ps}function Ld(i,r,o,p,E){const P=i.providerIndexes,$=r.data,de=1048575&P,Le=i.directiveStart,_t=P>>20,ri=E?de+_t:i.directiveEnd;for(let hi=p?de:de+_t;hi=Le&&vi.type===o)return hi}if(E){const hi=$[Le];if(hi&&vr(hi)&&hi.type===o)return Le}return null}function ul(i,r,o,p){let E=i[o];const P=r.data;if(function ll(i){return i instanceof wd}(E)){const $=E;$.resolving&&function Ni(i,r){throw r&&r.join(" > "),new Be(-200,i)}(function mi(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():Ft(i)}(P[o]));const de=hl($.canSeeViewProviders);$.resolving=!0;const Ze=$.injectImpl?mr($.injectImpl):null;s1(i,p,gn.Default);try{E=i[o]=$.factory(void 0,P,i,p),r.firstCreatePass&&o>=p.directiveStart&&function h4(i,r,o){const{ngOnChanges:p,ngOnInit:E,ngDoCheck:P}=r.type.prototype;if(p){const $=Cc(r);(o.preOrderHooks??=[]).push(i,$),(o.preOrderCheckHooks??=[]).push(i,$)}E&&(o.preOrderHooks??=[]).push(0-i,E),P&&((o.preOrderHooks??=[]).push(i,P),(o.preOrderCheckHooks??=[]).push(i,P))}(o,P[o],r)}finally{null!==Ze&&mr(Ze),hl(de),$.resolving=!1,R2()}}return E}function g1(i,r,o){return!!(o[r+(i>>p1)]&1<{const r=i.prototype.constructor,o=r[wn]||u0(r),p=Object.prototype;let E=Object.getPrototypeOf(i.prototype).constructor;for(;E&&E!==p;){const P=E[wn]||u0(E);if(P&&P!==o)return P;E=Object.getPrototypeOf(E)}return P=>new P})}function u0(i){return ce(i)?()=>{const r=u0(Te(i));return r&&r()}:fa(i)}function Y2(i){const r=i[Fi],o=r.type;return 2===o?r.declTNode:1===o?i[ra]:null}function v1(i){return function G2(i,r){if("class"===r)return i.classes;if("style"===r)return i.styles;const o=i.attrs;if(o){const p=o.length;let E=0;for(;Exr(Bo)})}static{this.__NG_ELEMENT_ID__=-1}}new Ut("").__NG_ELEMENT_ID__=i=>{const r=Hr();if(null===r)throw new Be(204,!1);if(2&r.type)return r.value;if(i&gn.Optional)return null;throw new Be(204,!1)};function x1(i){return i.ngOriginalError}const Hc=!0;let Gl=(()=>{class i{static{this.__NG_ELEMENT_ID__=ih}static{this.__NG_ENV_ID__=o=>o}}return i})();class af extends Gl{constructor(r){super(),this._lView=r}onDestroy(r){return r1(this._lView,r),()=>function Ec(i,r){if(null===i[lc])return;const o=i[lc].indexOf(r);-1!==o&&i[lc].splice(o,1)}(this._lView,r)}}function ih(){return new af(Ri())}let jc=(()=>{class i{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new he.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const o=this.taskId++;return this.pendingTasks.add(o),o}remove(o){this.pendingTasks.delete(o),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=Xt({token:i,providedIn:"root",factory:()=>new i})}}return i})();const fc=class sf extends Ie.B{constructor(r=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=r,ji()&&(this.destroyRef=hn(Gl,{optional:!0})??void 0,this.pendingTasks=hn(jc,{optional:!0})??void 0)}emit(r){const o=w(null);try{super.next(r)}finally{w(o)}}subscribe(r,o,p){let E=r,P=o||(()=>null),$=p;if(r&&"object"==typeof r){const Le=r;E=Le.next?.bind(Le),P=Le.error?.bind(Le),$=Le.complete?.bind(Le)}this.__isAsync&&(P=this.wrapInTimeout(P),E&&(E=this.wrapInTimeout(E)),$&&($=this.wrapInTimeout($)));const de=super.subscribe({next:E,error:P,complete:$});return r instanceof st.yU&&r.add(de),de}wrapInTimeout(r){return o=>{const p=this.pendingTasks?.add();setTimeout(()=>{r(o),void 0!==p&&this.pendingTasks?.remove(p)})}}};function Wc(...i){}function nh(i){let r,o;function p(){i=Wc;try{void 0!==o&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(o),void 0!==r&&clearTimeout(r)}catch{}}return r=setTimeout(()=>{i(),p()}),"function"==typeof requestAnimationFrame&&(o=requestAnimationFrame(()=>{i(),p()})),()=>p()}function rh(i){return queueMicrotask(()=>i()),()=>{i=Wc}}const C1="isAngularZone",w1=C1+"_ID";let ah=0;class Da{constructor(r){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fc(!1),this.onMicrotaskEmpty=new fc(!1),this.onStable=new fc(!1),this.onError=new fc(!1);const{enableLongStackTrace:o=!1,shouldCoalesceEventChangeDetection:p=!1,shouldCoalesceRunChangeDetection:E=!1,scheduleInRootZone:P=Hc}=r;if(typeof Zone>"u")throw new Be(908,!1);Zone.assertZonePatched();const $=this;$._nesting=0,$._outer=$._inner=Zone.current,Zone.TaskTrackingZoneSpec&&($._inner=$._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&($._inner=$._inner.fork(Zone.longStackTraceZoneSpec)),$.shouldCoalesceEventChangeDetection=!E&&p,$.shouldCoalesceRunChangeDetection=E,$.callbackScheduled=!1,$.scheduleInRootZone=P,function hf(i){const r=()=>{!function df(i){function r(){nh(()=>{i.callbackScheduled=!1,Ad(i),i.isCheckStableRunning=!0,M1(i),i.isCheckStableRunning=!1})}i.isCheckStableRunning||i.callbackScheduled||(i.callbackScheduled=!0,i.scheduleInRootZone?Zone.root.run(()=>{r()}):i._outer.run(()=>{r()}),Ad(i))}(i)},o=ah++;i._inner=i._inner.fork({name:"angular",properties:{[C1]:!0,[w1]:o,[w1+o]:!0},onInvokeTask:(p,E,P,$,de,Le)=>{if(function oh(i){return sh(i,"__ignore_ng_zone__")}(Le))return p.invokeTask(P,$,de,Le);try{return m0(i),p.invokeTask(P,$,de,Le)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===$.type||i.shouldCoalesceRunChangeDetection)&&r(),p0(i)}},onInvoke:(p,E,P,$,de,Le,Ze)=>{try{return m0(i),p.invoke(P,$,de,Le,Ze)}finally{i.shouldCoalesceRunChangeDetection&&!i.callbackScheduled&&!function uf(i){return sh(i,"__scheduler_tick__")}(Le)&&r(),p0(i)}},onHasTask:(p,E,P,$)=>{p.hasTask(P,$),E===P&&("microTask"==$.change?(i._hasPendingMicrotasks=$.microTask,Ad(i),M1(i)):"macroTask"==$.change&&(i.hasPendingMacrotasks=$.macroTask))},onHandleError:(p,E,P,$)=>(p.handleError(P,$),i.runOutsideAngular(()=>i.onError.emit($)),!1)})}($)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(C1)}static assertInAngularZone(){if(!Da.isInAngularZone())throw new Be(909,!1)}static assertNotInAngularZone(){if(Da.isInAngularZone())throw new Be(909,!1)}run(r,o,p){return this._inner.run(r,o,p)}runTask(r,o,p,E){const P=this._inner,$=P.scheduleEventTask("NgZoneEvent: "+E,r,lf,Wc,Wc);try{return P.runTask($,o,p)}finally{P.cancelTask($)}}runGuarded(r,o,p){return this._inner.runGuarded(r,o,p)}runOutsideAngular(r){return this._outer.run(r)}}const lf={};function M1(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 Ad(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&!0===i.callbackScheduled)}function m0(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function p0(i){i._nesting--,M1(i)}class Xc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fc,this.onMicrotaskEmpty=new fc,this.onStable=new fc,this.onError=new fc}run(r,o,p){return r.apply(o,p)}runGuarded(r,o,p){return r.apply(o,p)}runOutsideAngular(r){return r()}runTask(r,o,p,E){return r.apply(o,p)}}function sh(i,r){return!(!Array.isArray(i)||1!==i.length)&&!0===i[0]?.data?.[r]}class Ac{constructor(){this._console=console}handleError(r){const o=this._findOriginalError(r);this._console.error("ERROR",r),o&&this._console.error("ORIGINAL ERROR",o)}_findOriginalError(r){let o=r&&x1(r);for(;o&&x1(o);)o=x1(o);return o||null}}const g0=new Ut("",{providedIn:"root",factory:()=>{const i=hn(Da),r=hn(Ac);return o=>i.runOutsideAngular(()=>r.handleError(o))}});function _0(){return Hl(Hr(),Ri())}function Hl(i,r){return new jl(co(i,r))}let jl=(()=>{class i{constructor(o){this.nativeElement=o}static{this.__NG_ELEMENT_ID__=_0}}return i})();function v0(i){return i instanceof jl?i.nativeElement:i}function Wl(){return this._results[Symbol.iterator]()}class Xl{get changes(){return this._changes??=new fc}constructor(r=!1){this._emitDistinctChangesOnly=r,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 o=Xl.prototype;o[Symbol.iterator]||(o[Symbol.iterator]=Wl)}get(r){return this._results[r]}map(r){return this._results.map(r)}filter(r){return this._results.filter(r)}find(r){return this._results.find(r)}reduce(r,o){return this._results.reduce(r,o)}forEach(r){this._results.forEach(r)}some(r){return this._results.some(r)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(r,o){this.dirty=!1;const p=function Ar(i){return i.flat(Number.POSITIVE_INFINITY)}(r);(this._changesDetected=!function Bs(i,r,o){if(i.length!==r.length)return!1;for(let p=0;px4}),x4="ng",Sf=new Ut(""),io=new Ut("",{providedIn:"platform",factory:()=>"unknown"}),Lf=new Ut(""),Df=new Ut("",{providedIn:"root",factory:()=>_l().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Mh=()=>null;function P0(i,r,o=!1){return Mh(i,r,o)}const U0=new Ut("",{providedIn:"root",factory:()=>!1});let z1,nd;function id(i){return function B1(){if(void 0===z1&&(z1=null,yt.trustedTypes))try{z1=yt.trustedTypes.createPolicy("angular",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return z1}()?.createHTML(i)||i}function H0(){if(void 0===nd&&(nd=null,yt.trustedTypes))try{nd=yt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return nd}function Ah(i){return H0()?.createHTML(i)||i}function kh(i){return H0()?.createScriptURL(i)||i}class vl{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ue})`}}class zf extends vl{getTypeName(){return"HTML"}}class Ih extends vl{getTypeName(){return"Style"}}class L4 extends vl{getTypeName(){return"Script"}}class U1 extends vl{getTypeName(){return"URL"}}class D4 extends vl{getTypeName(){return"ResourceURL"}}function rs(i){return i instanceof vl?i.changingThisBreaksApplicationSecurity:i}function Bd(i,r){const o=function Bf(i){return i instanceof vl&&i.getTypeName()||null}(i);if(null!=o&&o!==r){if("ResourceURL"===o&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${o} (see ${ue})`)}return o===r}function A4(i){return new zf(i)}function Vf(i){return new Ih(i)}function Uf(i){return new L4(i)}function Gf(i){return new U1(i)}function k4(i){return new D4(i)}class I4{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const o=(new window.DOMParser).parseFromString(id(r),"text/html").body;return null===o?this.inertDocumentHelper.getInertBodyElement(r):(o.firstChild?.remove(),o)}catch{return null}}}class Rh{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const o=this.inertDocument.createElement("template");return o.innerHTML=id(r),o}}const R4=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Vd(i){return(i=String(i)).match(R4)?i:"unsafe:"+i}function Kc(i){const r={};for(const o of i.split(","))r[o]=!0;return r}function bl(...i){const r={};for(const o of i)for(const p in o)o.hasOwnProperty(p)&&(r[p]=!0);return r}const Wf=Kc("area,br,col,hr,img,wbr"),Oh=Kc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xf=Kc("rp,rt"),j0=bl(Wf,bl(Oh,Kc("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),bl(Xf,Kc("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),bl(Xf,Oh)),W0=Kc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Nh=bl(W0,Kc("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"),Kc("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")),N4=Kc("script,style,template");class Ph{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let o=r.firstChild,p=!0,E=[];for(;o;)if(o.nodeType===Node.ELEMENT_NODE?p=this.startElement(o):o.nodeType===Node.TEXT_NODE?this.chars(o.nodeValue):this.sanitizedSomething=!0,p&&o.firstChild)E.push(o),o=P4(o);else for(;o;){o.nodeType===Node.ELEMENT_NODE&&this.endElement(o);let P=$f(o);if(P){o=P;break}o=E.pop()}return this.buf.join("")}startElement(r){const o=zh(r).toLowerCase();if(!j0.hasOwnProperty(o))return this.sanitizedSomething=!0,!N4.hasOwnProperty(o);this.buf.push("<"),this.buf.push(o);const p=r.attributes;for(let E=0;E"),!0}endElement(r){const o=zh(r).toLowerCase();j0.hasOwnProperty(o)&&!Wf.hasOwnProperty(o)&&(this.buf.push(""))}chars(r){this.buf.push(Uh(r))}}function $f(i){const r=i.nextSibling;if(r&&i!==r.previousSibling)throw Bh(r);return r}function P4(i){const r=i.firstChild;if(r&&function Kf(i,r){return(i.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(i,r))throw Bh(r);return r}function zh(i){const r=i.nodeName;return"string"==typeof r?r:"FORM"}function Bh(i){return new Error(`Failed to sanitize html because the element is clobbered: ${i.outerHTML}`)}const Vh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Qf=/([^\#-~ |!])/g;function Uh(i){return i.replace(/&/g,"&").replace(Vh,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(Qf,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let F;function B(i,r){let o=null;try{F=F||function Hf(i){const r=new Rh(i);return function jf(){try{return!!(new window.DOMParser).parseFromString(id(""),"text/html")}catch{return!1}}()?new I4(r):r}(i);let p=r?String(r):"";o=F.getInertBodyElement(p);let E=5,P=p;do{if(0===E)throw new Error("Failed to sanitize html because the input is unstable");E--,p=P,P=o.innerHTML,o=F.getInertBodyElement(p)}while(p!==P);return id((new Ph).sanitizeChildren(v(o)||o))}finally{if(o){const p=v(o)||o;for(;p.firstChild;)p.firstChild.remove()}}}function v(i){return"content"in i&&function H(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var G=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}(G||{});function Oe(i){const r=Xn();return r?Ah(r.sanitize(G.HTML,i)||""):Bd(i,"HTML")?Ah(rs(i)):B(_l(),Ft(i))}function At(i){const r=Xn();return r?r.sanitize(G.URL,i)||"":Bd(i,"URL")?rs(i):Vd(Ft(i))}function oi(i){const r=Xn();if(r)return kh(r.sanitize(G.RESOURCE_URL,i)||"");if(Bd(i,"ResourceURL"))return kh(rs(i));throw new Be(904,!1)}function Mn(i,r,o){return function fn(i,r){return"src"===r&&("embed"===i||"frame"===i||"iframe"===i||"media"===i||"script"===i)||"href"===r&&("base"===i||"link"===i)?oi:At}(r,o)(i)}function Xn(){const i=Ri();return i&&i[ts].sanitizer}const gr=/^>|^->||--!>|)/g,da="\u200b$1\u200b";function Hh(i){return i.ownerDocument.defaultView}function Yo(i){return i instanceof Function?i():i}var qf=function(i){return i[i.Important=1]="Important",i[i.DashCase=2]="DashCase",i}(qf||{});let G4;function e3(i,r){return G4(i,r)}function Y0(i,r,o,p,E){if(null!=p){let P,$=!1;mo(p)?P=p:Yr(p)&&($=!0,p=p[Dn]);const de=Un(p);0===i&&null!==o?null==E?Xh(r,o,de):j1(r,o,de,E||null,!0):1===i&&null!==o?j1(r,o,de,E||null,!0):2===i?function $h(i,r,o){i.removeChild(null,r,o)}(r,de,$):3===i&&r.destroyNode(de),null!=P&&function Xp(i,r,o,p,E){const P=o[Os];P!==Un(o)&&Y0(r,i,p,P,E);for(let de=ba;der.replace(jr,da))}(r))}function jh(i,r,o){return i.createElement(r,o)}function Pp(i,r){r[ts].changeDetectionScheduler?.notify(9),Qh(i,r,r[Bn],2,null,null)}function X4(i,r){const o=i[yc],p=r[Tr];(Yr(p)||r[Lr]!==p[Tr][Lr])&&(i[bn]|=xs.HasTransplantedViews),null===o?i[yc]=[r]:o.push(r)}function t3(i,r){const o=i[yc],p=o.indexOf(r);o.splice(p,1)}function K0(i,r){if(i.length<=ba)return;const o=ba+r,p=i[o];if(p){const E=p[Bc];null!==E&&E!==i&&t3(E,p),r>0&&(i[o-1][va]=p[va]);const P=ma(i,ba+r);!function K8(i,r){Pp(i,r),r[Dn]=null,r[ra]=null}(p[Fi],p);const $=P[so];null!==$&&$.detachView(P[Fi]),p[Tr]=null,p[va]=null,p[bn]&=-129}return p}function $0(i,r){if(!(256&r[bn])){const o=r[Bn];o.destroyNode&&Qh(i,r,o,3,null,null),function Q8(i){let r=i[Co];if(!r)return Y4(i[Fi],i);for(;r;){let o=null;if(Yr(r))o=r[Co];else{const p=r[ba];p&&(o=p)}if(!o){for(;r&&!r[va]&&r!==i;)Yr(r)&&Y4(r[Fi],r),r=r[Tr];null===r&&(r=i),Yr(r)&&Y4(r[Fi],r),o=r&&r[va]}r=o}}(r)}}function Y4(i,r){if(256&r[bn])return;const o=w(null);try{r[bn]&=-129,r[bn]|=256,r[Fo]&&ie(r[Fo]),function J8(i,r){let o;if(null!=i&&null!=(o=i.destroyHooks))for(let p=0;p=0?p[$]():p[-$].unsubscribe(),P+=2}else o[P].call(p[o[P+1]]);null!==p&&(r[oo]=null);const E=r[lc];if(null!==E){r[lc]=null;for(let P=0;P-1){const{encapsulation:P}=i.data[p.directiveStart+E];if(P===ni.None||P===ni.Emulated)return null}return co(p,o)}}(i,r.parent,o)}function j1(i,r,o,p,E){i.insertBefore(r,o,p,E)}function Xh(i,r,o){i.appendChild(r,o)}function Vp(i,r,o,p,E){null!==p?j1(i,r,o,p,E):Xh(i,r,o)}function K4(i,r){return i.parentNode(r)}function Gp(i,r,o){return Hp(i,r,o)}let Q4,Hp=function $4(i,r,o){return 40&i.type?co(i,o):null};function Yh(i,r,o,p){const E=Wh(i,p,r),P=r[Bn],de=Gp(p.parent||r[ra],p,r);if(null!=E)if(Array.isArray(o))for(let Le=0;LeEn&&Kp(i,r,En,!1),Fs($?2:0,E),o(p,E)}finally{ol(P),Fs($?3:1,E)}}function n3(i,r,o){if(po(r)){const p=w(null);try{const P=r.directiveEnd;for(let $=r.directiveStart;$null;function r6(i,r,o,p,E){for(let P in r){if(!r.hasOwnProperty(P))continue;const $=r[P];if(void 0===$)continue;p??={};let de,Le=Ei.None;Array.isArray($)?(de=$[0],Le=$[1]):de=$;let Ze=P;if(null!==E){if(!E.hasOwnProperty(P))continue;Ze=E[P]}0===i?a6(p,o,Ze,de,Le):a6(p,o,Ze,de)}return p}function a6(i,r,o,p,E){let P;i.hasOwnProperty(o)?(P=i[o]).push(r,p):P=i[o]=[r,p],void 0!==E&&P.push(E)}function Ps(i,r,o,p,E,P,$,de){const Le=co(r,o);let _t,Ze=r.inputs;!de&&null!=Ze&&(_t=Ze[p])?(e2(i,o,_t,p,E),Nn(r)&&function o5(i,r){const o=fs(r,i);16&o[bn]||(o[bn]|=64)}(o,r.index)):3&r.type&&(p=function a5(i){return"class"===i?"className":"for"===i?"htmlFor":"formaction"===i?"formAction":"innerHtml"===i?"innerHTML":"readonly"===i?"readOnly":"tabindex"===i?"tabIndex":i}(p),E=null!=$?$(E,r.value||"",p):E,P.setProperty(Le,p,E))}function Jh(i,r,o,p){if(Gu()){const E=null===p?null:{"":-1},P=function s6(i,r){const o=i.directiveRegistry;let p=null,E=null;if(o)for(let P=0;P0;){const o=i[--r];if("number"==typeof o&&o<0)return o}return 0})($)!=de&&$.push(de),$.push(o,p,P)}}(i,r,p,Q0(i,o,E.hostVars,ar),E)}function In(i,r,o,p,E,P){const $=co(i,r);!function tu(i,r,o,p,E,P,$){if(null==P)i.removeAttribute(r,E,o);else{const de=null==$?Ft(P):$(P,p||"",E);i.setAttribute(r,E,de,o)}}(r[Bn],$,P,i.value,o,p,E)}function J0(i,r,o,p,E,P){const $=P[r];if(null!==$)for(let de=0;de<$.length;)Qp(p,o,$[de++],$[de++],$[de++],$[de++])}function o3(i,r,o){let p=null,E=0;for(;E0&&(o[E-1][va]=r),p{hc(i.lView)},consumerOnSignalRead(){this.lView[Fo]=this}},au={...S,consumerIsAlwaysLive:!0,consumerMarkedDirty:i=>{let r=Qs(i.lView);for(;r&&!u3(r[Fi]);)r=Qs(r);r&&n1(r)},consumerOnSignalRead(){this.lView[Fo]=this}};function u3(i){return 2!==i.type}const um=100;function jd(i,r=!0,o=0){const p=i[ts],E=p.rendererFactory;E.begin?.();try{!function fm(i,r){const o=Wu();try{a0(!0),a2(i,r);let p=0;for(;t0(i);){if(p===um)throw new Be(103,!1);p++,a2(i,1)}}finally{a0(o)}}(i,o)}catch($){throw r&&q0(i,$),$}finally{E.end?.(),p.inlineEffectRunner?.flush()}}function h6(i,r,o,p){const E=r[bn];if(!(256&~E))return;r[ts].inlineEffectRunner?.flush(),I2(r);let de=!0,Le=null,Ze=null;u3(i)?(Ze=function h3(i){return i[Fo]??function n2(i){const r=d3.pop()??Object.create(r2);return r.lView=i,r}(i)}(r),Le=W(Ze)):null===f()?(de=!1,Ze=function hm(i){const r=i[Fo]??Object.create(au);return r.lView=i,r}(r),Le=W(Ze)):r[Fo]&&(ie(r[Fo]),r[Fo]=null);try{zu(r),function k2(i){return Zn.lFrame.bindingIndex=i}(i.bindingStartIndex),null!==o&&nm(i,r,o,2,p);const _t=!(3&~E);if(_t){const hi=i.preOrderCheckHooks;null!==hi&&xd(r,hi,null)}else{const hi=i.preOrderHooks;null!==hi&&Cd(r,hi,0,null),s0(r,0)}if(function mm(i){for(let r=S0(i);null!==r;r=gh(r)){if(!(r[bn]&xs.HasTransplantedViews))continue;const o=r[yc];for(let p=0;p-1&&(K0(r,p),ma(o,p))}this._attachedToViewContainer=!1}$0(this._lView[Fi],this._lView)}onDestroy(r){r1(this._lView,r)}markForCheck(){cd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[bn]&=-129}reattach(){n0(this._lView),this._lView[bn]|=128}detectChanges(){this._lView[bn]|=1024,jd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Be(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const r=Qr(this._lView),o=this._lView[Bc];null!==o&&!r&&t3(o,this._lView),Pp(this._lView[Fi],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new Be(902,!1);this._appRef=r;const o=Qr(this._lView),p=this._lView[Bc];null!==p&&!o&&X4(p,this._lView),n0(this._lView)}}let su=(()=>{class i{static{this.__NG_ELEMENT_ID__=ec}}return i})();const f6=su,s5=class extends f6{constructor(r,o,p){super(),this._declarationLView=r,this._declarationTContainer=o,this.elementRef=p}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,o){return this.createEmbeddedViewImpl(r,o)}createEmbeddedViewImpl(r,o,p){const E=qs(this._declarationLView,this._declarationTContainer,r,{embeddedViewInjector:o,dehydratedView:p});return new ou(E)}};function ec(){return o2(Hr(),Ri())}function o2(i,r){return 4&i.type?new s5(r,i,Hl(i,r)):null}let Et=()=>null;function li(i,r){return Et(i,r)}class _i{}const wi=new Ut("",{providedIn:"root",factory:()=>!1}),sn=new Ut(""),kn=new Ut("");class ki{}class Tn{}class tr{resolveComponentFactory(r){throw function Yn(i){const r=Error(`No component factory found for ${It(i)}.`);return r.ngComponent=i,r}(r)}}class Rn{static{this.NULL=new tr}}class Zr{}let ya=(()=>{class i{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function Ts(){const i=Ri(),o=fs(Hr().index,i);return(Yr(o)?o:i)[Bn]}()}}return i})(),xa=(()=>{class i{static{this.\u0275prov=Xt({token:i,providedIn:"root",factory:()=>null})}}return i})();function Na(i){return!!_a(i)}function dd(i,r,o){let p=o?i.styles:null,E=o?i.classes:null,P=0;if(null!==r)for(let $=0;$0&&em(i,o,P.join(" "))}}(ri,ls,vi,p),void 0!==o&&function sa(i,r,o){const p=i.projection=[];for(let E=0;E{class i{static{this.__NG_ELEMENT_ID__=$n}}return i})();function $n(){return k6(Hr(),Ri())}const uo=$o,Kd=class extends uo{constructor(r,o,p){super(),this._lContainer=r,this._hostTNode=o,this._hostLView=p}get element(){return Hl(this._hostTNode,this._hostLView)}get injector(){return new to(this._hostTNode,this._hostLView)}get parentInjector(){const r=Td(this._hostTNode,this._hostLView);if(f1(r)){const o=dl(r,this._hostLView),p=Nl(r);return new to(o[Fi].data[p+8],o)}return new to(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const o=Cl(this._lContainer);return null!==o&&o[r]||null}get length(){return this._lContainer.length-ba}createEmbeddedView(r,o,p){let E,P;"number"==typeof p?E=p:null!=p&&(E=p.index,P=p.injector);const $=li(this._lContainer,r.ssrId),de=r.createEmbeddedViewImpl(o||{},P,$);return this.insertImpl(de,E,od(this._hostTNode,$)),de}createComponent(r,o,p,E,P){const $=r&&!function Zt(i){return"function"==typeof i}(r);let de;if($)de=o;else{const vi=o||{};de=vi.index,p=vi.injector,E=vi.projectableNodes,P=vi.environmentInjector||vi.ngModuleRef}const Le=$?r:new So(jn(r)),Ze=p||this.parentInjector;if(!P&&null==Le.ngModule){const Bi=($?Ze:this.parentInjector).get(Za,null);Bi&&(P=Bi)}const _t=jn(Le.componentType??{}),zt=li(this._lContainer,_t?.id??null),hi=Le.create(Ze,E,zt?.firstChild??null,P);return this.insertImpl(hi.hostView,de,od(this._hostTNode,zt)),hi}insert(r,o){return this.insertImpl(r,o,!0)}insertImpl(r,o,p){const E=r._lView;if(function rl(i){return mo(i[Tr])}(E)){const de=this.indexOf(r);if(-1!==de)this.detach(de);else{const Le=E[Tr],Ze=new Kd(Le,Le[ra],Le[Tr]);Ze.detach(Ze.indexOf(r))}}const P=this._adjustIndex(o),$=this._lContainer;return Hd($,E,P,p),r.attachToViewContainerRef(),Ua(A6($),P,r),r}move(r,o){return this.insert(r,o)}indexOf(r){const o=Cl(this._lContainer);return null!==o?o.indexOf(r):-1}remove(r){const o=this._adjustIndex(r,-1),p=K0(this._lContainer,o);p&&(ma(A6(this._lContainer),o),$0(p[Fi],p))}detach(r){const o=this._adjustIndex(r,-1),p=K0(this._lContainer,o);return p&&null!=ma(A6(this._lContainer),o)?new ou(p):null}_adjustIndex(r,o=0){return r??this.length+o}};function Cl(i){return i[8]}function A6(i){return i[8]||(i[8]=[])}function k6(i,r){let o;const p=r[i.index];return mo(p)?o=p:(o=s3(p,r,null,i),r[i.index]=o,Y1(r,o)),O5(o,r,i,p),new Kd(o,i,r)}let O5=function N5(i,r,o,p){if(i[Os])return;let E;E=8&o.type?Un(p):function bb(i,r){const o=i[Bn],p=o.createComment(""),E=co(r,i);return j1(o,K4(o,E),p,function Up(i,r){return i.nextSibling(r)}(o,E),!1),p}(r,o),i[Os]=E},Om=()=>!1;class I6{constructor(r){this.queryList=r,this.matches=null}clone(){return new I6(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fm{constructor(r=[]){this.queries=r}createEmbeddedView(r){const o=r.queries;if(null!==o){const p=null!==r.contentQueries?r.contentQueries[0]:o.length,E=[];for(let P=0;Pr.trim())}(r):r}}class Nm{constructor(r=[]){this.queries=r}elementStart(r,o){for(let p=0;p0)p.push($[de/2]);else{const Ze=P[de+1],_t=r[-Le];for(let zt=ba;zt<_t.length;zt++){const ri=_t[zt];ri[Bc]===ri[Tr]&&O6(ri[Fi],ri,Ze,p)}if(null!==_t[yc]){const zt=_t[yc];for(let ri=0;ri(y(r),r.value);return o[l]=r,o}(i),p=o[l];return r?.equal&&(p.equal=r.equal),o.set=E=>q(p,E),o.update=E=>function pe(i,r){j()||k(),q(i,r(i.value))}(p,E),o.asReadonly=$5.bind(o),o}function $5(){const i=this[l];if(void 0===i.readonlyFn){const r=()=>this();r[l]=i,i.readonlyFn=r}return i.readonlyFn}function z6(i){return Pm(i)&&"function"==typeof i.set}function G6(i){let r=function o7(i){return Object.getPrototypeOf(i.prototype).constructor}(i.type),o=!0;const p=[i];for(;r;){let E;if(vr(i))E=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new Be(903,!1);E=r.\u0275dir}if(E){if(o){p.push(E);const $=i;$.inputs=E3(i.inputs),$.inputTransforms=E3(i.inputTransforms),$.declaredInputs=E3(i.declaredInputs),$.outputs=E3(i.outputs);const de=E.hostBindings;de&&Ub(i,de);const Le=E.viewQuery,Ze=E.contentQueries;if(Le&&Vb(i,Le),Ze&&s7(i,Ze),zb(i,E),Ae(i.outputs,E.outputs),vr(E)&&E.data.animation){const _t=i.data;_t.animation=(_t.animation||[]).concat(E.data.animation)}}const P=E.features;if(P)for(let $=0;$=0;p--){const E=i[p];E.hostVars=r+=E.hostVars,E.hostAttrs=ao(E.hostAttrs,o=ao(o,E.hostAttrs))}}(p)}function zb(i,r){for(const o in r.inputs){if(!r.inputs.hasOwnProperty(o)||i.inputs.hasOwnProperty(o))continue;const p=r.inputs[o];if(void 0!==p&&(i.inputs[o]=p,i.declaredInputs[o]=r.declaredInputs[o],null!==r.inputTransforms)){const E=Array.isArray(p)?p[0]:p;if(!r.inputTransforms.hasOwnProperty(E))continue;i.inputTransforms??={},i.inputTransforms[E]=r.inputTransforms[E]}}}function E3(i){return i===Ga?{}:i===sr?[]:i}function Vb(i,r){const o=i.viewQuery;i.viewQuery=o?(p,E)=>{r(p,E),o(p,E)}:r}function s7(i,r){const o=i.contentQueries;i.contentQueries=o?(p,E,P)=>{r(p,E,P),o(p,E,P)}:r}function Ub(i,r){const o=i.hostBindings;i.hostBindings=o?(p,E)=>{r(p,E),o(p,E)}:r}function j6(i){const r=i.inputConfig,o={};for(const p in r)if(r.hasOwnProperty(p)){const E=r[p];Array.isArray(E)&&E[3]&&(o[p]=E[3])}i.inputTransforms=o}class f2{}class W6{}function Wb(i,r){return new pu(i,r??null,[])}class pu extends f2{constructor(r,o,p,E=!0){super(),this.ngModuleType=r,this._parent=o,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wd(this);const P=_a(r);this._bootstrapComponents=Yo(P.bootstrap),this._r3Injector=eh(r,o,[{provide:f2,useValue:this},{provide:Rn,useValue:this.componentFactoryResolver},...p],It(r),new Set(["environment"])),E&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const r=this._r3Injector;!r.destroyed&&r.destroy(),this.destroyCbs.forEach(o=>o()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class X6 extends W6{constructor(r){super(),this.moduleType=r}create(r){return new pu(this.moduleType,r,[])}}class Y6 extends f2{constructor(r){super(),this.componentFactoryResolver=new Wd(this),this.instance=null;const o=new Rs([...r.providers,{provide:f2,useValue:this},{provide:Rn,useValue:this.componentFactoryResolver}],r.parent||zc(),r.debugName,new Set(["environment"]));this.injector=o,r.runEnvironmentInitializers&&o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function K6(i,r,o=null){return new Y6({providers:i,parent:r,debugName:o,runEnvironmentInitializers:!0}).injector}function S3(i){return!!Q6(i)&&(Array.isArray(i)||!(i instanceof Map)&&Symbol.iterator in i)}function Q6(i){return null!==i&&("function"==typeof i||"object"==typeof i)}function hd(i,r,o){return i[r]=o}function To(i,r,o){return!Object.is(i[r],o)&&(i[r]=o,!0)}function m2(i,r,o,p){const E=To(i,r,o);return To(i,r+1,p)||E}function Bm(i,r,o,p,E){const P=m2(i,r,o,p);return To(i,r+2,E)||P}function Q1(i,r,o,p,E,P,$,de,Le,Ze){const _t=o+En,zt=r.firstCreatePass?function Qb(i,r,o,p,E,P,$,de,Le){const Ze=r.consts,_t=X1(r,i,4,$||null,de||null);Jh(r,o,_t,Ms(Ze,Le)),o0(r,_t);const zt=_t.tView=am(2,_t,p,E,P,r.directiveRegistry,r.pipeRegistry,null,r.schemas,Ze,null);return null!==r.queries&&(r.queries.template(r,_t),zt.queries=r.queries.embeddedTView(_t)),_t}(_t,r,i,p,E,P,$,de,Le):r.data[_t];Br(zt,!1);const ri=f7(r,i,zt,o);l1()&&Yh(r,i,ri,zt),jo(ri,i);const hi=s3(ri,i,ri,zt);return i[_t]=hi,Y1(i,hi),function F5(i,r,o){return Om(i,r,o)}(hi,zt,i),qi(zt)&&r3(r,i,zt),null!=Le&&rm(i,zt,Ze),zt}function Z6(i,r,o,p,E,P,$,de){const Le=Ri(),Ze=ur();return Q1(Le,Ze,i,r,o,p,E,Ms(Ze.consts,P),$,de),Z6}let f7=function m7(i,r,o,p){return Lc(!0),r[Bn].createComment("")};function C7(i,r){if(null!==f())throw new Be(-602,!1)}var _u=function(i){return i[i.EarlyRead=0]="EarlyRead",i[i.Write=1]="Write",i[i.MixedReadWrite=2]="MixedReadWrite",i[i.Read=3]="Read",i}(_u||{});let q6=(()=>{class i{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=Xt({token:i,providedIn:"root",factory:()=>new i})}}return i})();class I3{constructor(){this.ngZone=hn(Da),this.scheduler=hn(_i),this.errorHandler=hn(Ac,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[_u.EarlyRead,_u.Write,_u.MixedReadWrite,_u.Read]}execute(){this.executing=!0;for(const r of I3.PHASES)for(const o of this.sequences)if(!o.erroredOrDestroyed&&o.hooks[r])try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>o.hooks[r](o.pipelinedValue))}catch(p){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(p)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(r){this.executing?this.deferredRegistrations.add(r):(this.sequences.add(r),this.scheduler.notify(6))}unregister(r){this.executing&&this.sequences.has(r)?(r.erroredOrDestroyed=!0,r.pipelinedValue=void 0,r.once=!0):(this.sequences.delete(r),this.deferredRegistrations.delete(r))}static{this.\u0275prov=Xt({token:I3,providedIn:"root",factory:()=>new I3})}}class w7{constructor(r,o,p,E){this.impl=r,this.hooks=o,this.once=p,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=E?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Um(i,r){!r?.injector&&pn();const o=r?.injector??hn(Ho);return function os(i){return"browser"===(i??hn(Ho)).get(io)}(o)?(zs("NgAfterNextRender"),function M7(i,r,o,p){const E=r.get(q6);E.impl??=r.get(I3);const P=o?.phase??_u.MixedReadWrite,$=!0!==o?.manualCleanup?r.get(Gl):null,de=new w7(E.impl,function qb(i,r){if(i instanceof Function){const o=[void 0,void 0,void 0,void 0];return o[r]=i,o}return[i.earlyRead,i.write,i.mixedReadWrite,i.read]}(i,P),p,$);return E.impl.register(de),de}(i,o,r,!0)):E7}const E7={destroy(){}};function Ym(i,r,o,p){const E=Ri();return To(E,ns(),r)&&(ur(),In(oa(),E,i,r,o,p)),Ym}function Cu(i,r,o,p){return To(i,ns(),o)?r+Ft(o)+p:ar}function v2(i,r,o,p,E,P){const de=m2(i,Ns(),o,E);return uc(2),de?r+Ft(o)+p+Ft(E)+P:ar}function b2(i,r,o,p,E,P,$,de,Le,Ze){const zt=function Jc(i,r,o,p,E,P){const $=m2(i,r,o,p);return m2(i,r+2,E,P)||$}(i,Ns(),o,E,$,Le);return uc(4),zt?r+Ft(o)+p+Ft(E)+P+Ft($)+de+Ft(Le)+Ze:ar}function Km(i,r){return i<<17|r<<2}function Qd(i){return i>>17&32767}function ug(i){return 2|i}function x2(i){return(131068&i)>>2}function $m(i,r){return-131069&i|r<<2}function Qm(i){return 1|i}function fg(i,r,o,p){const E=i[o+1],P=null===r;let $=p?Qd(E):x2(E),de=!1;for(;0!==$&&(!1===de||P);){const Ze=i[$+1];Ty(i[$],r)&&(de=!0,i[$+1]=p?Qm(Ze):ug(Ze)),$=p?Qd(Ze):x2(Ze)}de&&(i[o+1]=p?ug(E):Qm(E))}function Ty(i,r){return null===i||null==r||(Array.isArray(i)?i[1]:i)===r||!(!Array.isArray(i)||"string"!=typeof r)&&yo(i,r)>=0}const cs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function mg(i){return i.substring(cs.key,cs.keyEnd)}function J7(i,r){const o=cs.textEnd;return o===r?-1:(r=cs.keyEnd=function ky(i,r,o){for(;r32;)r++;return r}(i,cs.key=r,o),Tu(i,r,o))}function Tu(i,r,o){for(;r=0;o=J7(r,o))$r(i,mg(r),!0)}function wl(i,r,o,p){const E=Ri(),P=ur(),$=uc(2);P.firstUpdatePass&&s_(P,i,$,p),r!==ar&&To(E,$,r)&&d_(P,P.data[qa()],E,E[Bn],i,E[$+1]=function h_(i,r){return null==i||""===i||("string"==typeof r?i+=r:"object"==typeof i&&(i=It(rs(i)))),i}(r,o),p,$)}function Ml(i,r,o,p){const E=ur(),P=uc(2);E.firstUpdatePass&&s_(E,null,P,p);const $=Ri();if(o!==ar&&To($,P,o)){const de=E.data[qa()];if(u_(de,p)&&!o_(E,P)){let Le=p?de.classesWithoutHost:de.stylesWithoutHost;null!==Le&&(o=Qt(Le,o||"")),gg(E,de,$,o,p)}else!function zy(i,r,o,p,E,P,$,de){E===ar&&(E=sr);let Le=0,Ze=0,_t=0=i.expandoStartIndex}function s_(i,r,o,p){const E=i.data;if(null===E[o+1]){const P=E[qa()],$=o_(i,o);u_(P,p)&&null===r&&!$&&(r=!1),r=function F3(i,r,o,p){const E=Sc(i);let P=p?r.residualClasses:r.residualStyles;if(null===E)0===(p?r.classBindings:r.styleBindings)&&(o=N3(o=bg(null,i,r,o,p),r.attrs,p),P=null);else{const $=r.directiveStylingLast;if(-1===$||i[$]!==E)if(o=bg(E,i,r,o,p),null===P){let Le=function Oy(i,r,o){const p=o?r.classBindings:r.styleBindings;if(0!==x2(p))return i[Qd(p)]}(i,r,p);void 0!==Le&&Array.isArray(Le)&&(Le=bg(null,i,r,Le[1],p),Le=N3(Le,r.attrs,p),function Fy(i,r,o,p){i[Qd(o?r.classBindings:r.styleBindings)]=p}(i,r,p,Le))}else P=function Ny(i,r,o){let p;const E=r.directiveEnd;for(let P=1+r.directiveStylingLast;P0)&&(Ze=!0)):_t=o,E)if(0!==Le){const ri=Qd(i[de+1]);i[p+1]=Km(ri,de),0!==ri&&(i[ri+1]=$m(i[ri+1],p)),i[de+1]=function hg(i,r){return 131071&i|r<<17}(i[de+1],p)}else i[p+1]=Km(de,0),0!==de&&(i[de+1]=$m(i[de+1],p)),de=p;else i[p+1]=Km(Le,0),0===de?de=p:i[Le+1]=$m(i[Le+1],p),Le=p;Ze&&(i[p+1]=ug(i[p+1])),fg(i,_t,p,!0),fg(i,_t,p,!1),function Sy(i,r,o,p,E){const P=E?i.residualClasses:i.residualStyles;null!=P&&"string"==typeof r&&yo(P,r)>=0&&(o[p+1]=Qm(o[p+1]))}(r,_t,i,p,P),$=Km(de,Le),P?r.classBindings=$:r.styleBindings=$}(E,P,r,o,$,p)}}function bg(i,r,o,p,E){let P=null;const $=o.directiveEnd;let de=o.directiveStylingLast;for(-1===de?de=o.directiveStart:de++;de<$&&(P=r[de],p=N3(p,P.hostAttrs,E),P!==i);)de++;return null!==i&&(o.directiveStylingLast=de),p}function N3(i,r,o){const p=o?1:2;let E=-1;if(null!==r)for(let P=0;P0;){const Le=i[E],Ze=Array.isArray(Le),_t=Ze?Le[1]:Le,zt=null===_t;let ri=o[E+1];ri===ar&&(ri=zt?sr:void 0);let hi=zt?pa(ri,p):_t===p?ri:void 0;if(Ze&&!Zm(hi)&&(hi=pa(Le,p)),Zm(hi)&&(de=hi,$))return de;const vi=i[E+1];E=$?Qd(vi):x2(vi)}if(null!==r){let Le=P?r.residualClasses:r.residualStyles;null!=Le&&(de=pa(Le,p))}return de}function Zm(i){return void 0!==i}function u_(i,r){return!!(i.flags&(r?8:16))}function Jm(i,r,o){Ml($r,tc,Cu(Ri(),i,r,o),!0)}class m_{destroy(r){}updateValue(r,o){}swap(r,o){const p=Math.min(r,o),E=Math.max(r,o),P=this.detach(E);if(E-p>1){const $=this.detach(p);this.attach(p,P),this.attach(E,$)}else this.attach(p,P)}move(r,o){this.attach(o,this.detach(r))}}function xg(i,r,o,p,E){return i===o&&Object.is(r,p)?1:Object.is(E(i,r),E(o,p))?-1:0}function Cg(i,r,o,p){return!(void 0===r||!r.has(p)||(i.attach(o,r.get(p)),r.delete(p),0))}function g_(i,r,o,p,E){if(Cg(i,r,p,o(p,E)))i.updateValue(p,E);else{const P=i.create(p,E);i.attach(p,P)}}function wg(i,r,o,p){const E=new Set;for(let P=r;P<=o;P++)E.add(p(P,i.at(P)));return E}class __{constructor(){this.kvMap=new Map,this._vMap=void 0}has(r){return this.kvMap.has(r)}delete(r){if(!this.has(r))return!1;const o=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(o)?(this.kvMap.set(r,this._vMap.get(o)),this._vMap.delete(o)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,o){if(this.kvMap.has(r)){let p=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const E=this._vMap;for(;E.has(p);)p=E.get(p);E.set(p,o)}else this.kvMap.set(r,o)}forEach(r){for(let[o,p]of this.kvMap)if(r(p,o),void 0!==this._vMap){const E=this._vMap;for(;E.has(p);)p=E.get(p),r(p,o)}}}function v_(i,r){zs("NgControlFlow");const o=Ri(),p=ns(),E=o[p]!==ar?o[p]:-1,P=-1!==E?qm(o,En+E):void 0;if(To(o,p,i)){const de=w(null);try{if(void 0!==P&&sd(P,0),-1!==i){const Le=En+i,Ze=qm(o,Le),_t=Eg(o[Fi],Le),zt=li(Ze,_t.tView.ssrId);Hd(Ze,qs(o,_t,r,{dehydratedView:zt}),0,od(_t,zt))}}finally{w(de)}}else if(void 0!==P){const de=ru(P,0);void 0!==de&&(de[hr]=r)}}class Yy{constructor(r,o,p){this.lContainer=r,this.$implicit=o,this.$index=p}get $count(){return this.lContainer.length-ba}}function b_(i,r){return r}class y_{constructor(r,o,p){this.hasEmptyBlock=r,this.trackByFn=o,this.liveCollection=p}}function x_(i,r,o,p,E,P,$,de,Le,Ze,_t,zt,ri){zs("NgControlFlow");const hi=Ri(),vi=ur(),Bi=void 0!==Le,rn=Ri(),un=de?$.bind(rn[Lr][hr]):$,zi=new y_(Bi,un);rn[En+i]=zi,Q1(hi,vi,i+1,r,o,p,E,Ms(vi.consts,P)),Bi&&Q1(hi,vi,i+2,Le,Ze,_t,zt,Ms(vi.consts,ri))}class Qy extends m_{constructor(r,o,p){super(),this.lContainer=r,this.hostLView=o,this.templateTNode=p,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ba}at(r){return this.getLView(r)[hr].$implicit}attach(r,o){const p=o[Ja];this.needsIndexUpdate||=r!==this.length,Hd(this.lContainer,o,r,od(this.templateTNode,p))}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function Zy(i,r){return K0(i,r)}(this.lContainer,r)}create(r,o){const p=li(this.lContainer,this.templateTNode.tView.ssrId),E=qs(this.hostLView,this.templateTNode,new Yy(this.lContainer,o,r),{dehydratedView:p});return this.operationsCounter?.recordCreate(),E}destroy(r){$0(r[Fi],r),this.operationsCounter?.recordDestroy()}updateValue(r,o){this.getLView(r)[hr].$implicit=o}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r{i.destroy(Le)})}(Le,i,P.trackByFn),Le.updateIndexes(),P.hasEmptyBlock){const Ze=ns(),_t=0===Le.length;if(To(p,Ze,_t)){const zt=o+2,ri=qm(p,zt);if(_t){const hi=Eg(E,zt),vi=li(ri,hi.tView.ssrId);Hd(ri,qs(p,hi,void 0,{dehydratedView:vi}),0,od(hi,vi))}else sd(ri,0)}}}finally{w(r)}}function qm(i,r){return i[r]}function Eg(i,r){return nl(i,r)}function ep(i,r,o,p){const E=Ri(),P=ur(),$=En+i,de=E[Bn],Le=P.firstCreatePass?function qy(i,r,o,p,E,P){const $=r.consts,Le=X1(r,i,2,p,Ms($,E));return Jh(r,o,Le,Ms($,P)),null!==Le.attrs&&dd(Le,Le.attrs,!1),null!==Le.mergedAttrs&&dd(Le,Le.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,Le),Le}($,P,E,r,o,p):P.data[$],Ze=C_(P,E,Le,de,r,i);E[$]=Ze;const _t=qi(Le);return Br(Le,!0),i3(de,Ze,Le),!function p2(i){return!(32&~i.flags)}(Le)&&l1()&&Yh(P,E,Ze,Le),0===function Vu(){return Zn.lFrame.elementDepthCount}()&&jo(Ze,E),function o4(){Zn.lFrame.elementDepthCount++}(),_t&&(r3(P,E,Le),n3(P,Le,E)),null!==p&&rm(E,Le),ep}function P3(){let i=Hr();Il()?Rl():(i=i.parent,Br(i,!1));const r=i;(function Hu(i){return Zn.skipHydrationRootTNode===i})(r)&&function L2(){Zn.skipHydrationRootTNode=null}(),function Uu(){Zn.lFrame.elementDepthCount--}();const o=ur();return o.firstCreatePass&&(o0(o,i),po(i)&&o.queries.elementEnd(i)),null!=r.classesWithoutHost&&function B2(i){return!!(8&i.flags)}(r)&&gg(o,r,Ri(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function Md(i){return!!(16&i.flags)}(r)&&gg(o,r,Ri(),r.stylesWithoutHost,!1),P3}function Sg(i,r,o,p){return ep(i,r,o,p),P3(),Sg}let C_=(i,r,o,p,E,P)=>(Lc(!0),jh(p,E,function Ku(){return Zn.lFrame.currentNamespace}()));function tp(i,r,o){const p=Ri(),E=ur(),P=i+En,$=E.firstCreatePass?function tx(i,r,o,p,E){const P=r.consts,$=Ms(P,p),de=X1(r,i,8,"ng-container",$);return null!==$&&dd(de,$,!0),Jh(r,o,de,Ms(P,E)),null!==r.queries&&r.queries.elementStart(r,de),de}(P,E,p,r,o):E.data[P];Br($,!0);const de=M_(E,p,$,i);return p[P]=de,l1()&&Yh(E,p,de,$),jo(de,p),qi($)&&(r3(E,p,$),n3(E,$,p)),null!=o&&rm(p,$),tp}function C2(){let i=Hr();const r=ur();return Il()?Rl():(i=i.parent,Br(i,!1)),r.firstCreatePass&&(o0(r,i),po(i)&&r.queries.elementEnd(i)),C2}function Tg(i,r,o){return tp(i,r,o),C2(),Tg}let M_=(i,r,o,p)=>(Lc(!0),W4(r[Bn],""));function E_(){return Ri()}function Lg(i,r,o){const p=Ri();return To(p,ns(),r)&&Ps(ur(),oa(),p,i,r,p[Bn],o,!0),Lg}function Dg(i,r,o){const p=Ri();if(To(p,ns(),r)){const P=ur(),$=oa();Ps(P,$,p,i,r,Po(Sc(P.data),$,p),o,!0)}return Dg}const w2=void 0;var S_=["en",[["a","p"],["AM","PM"],w2],[["AM","PM"],w2,w2],[["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"]],w2,[["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"]],w2,[["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}",w2,"{1} 'at' {0}",w2],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function rx(i){const o=Math.floor(Math.abs(i)),p=i.toString().replace(/^[^.]*\.?/,"").length;return 1===o&&0===p?1:5}];let Lu={};function Ag(i){const r=function L_(i){return i.toLowerCase().replace(/_/g,"-")}(i);let o=kg(r);if(o)return o;const p=r.split("-")[0];if(o=kg(p),o)return o;if("en"===p)return S_;throw new Be(701,!1)}function T_(i){return Ag(i)[Du.PluralCase]}function kg(i){return i in Lu||(Lu[i]=yt.ng&&yt.ng.common&&yt.ng.common.locales&&yt.ng.common.locales[i]),Lu[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 M2="en-US";let D_=M2,Q_=(i,r,o)=>{};function Ug(i,r,o,p){const E=Ri(),P=ur(),$=Hr();return Gg(P,E,E[Bn],$,i,r,p),Ug}function sp(i,r){const o=Hr(),p=Ri(),E=ur();return Gg(E,p,Po(Sc(E.data),o,p),o,i,r),sp}function Gg(i,r,o,p,E,P,$){const de=qi(p),Ze=i.firstCreatePass&&iu(i),_t=r[hr],zt=d6(r);let ri=!0;if(3&p.type||$){const Bi=co(p,r),rn=$?$(Bi):Bi,un=zt.length,zi=$?Wr=>$(Un(Wr[p.index])):p.index;let lr=null;if(!$&&de&&(lr=function Fx(i,r,o,p){const E=i.cleanup;if(null!=E)for(let P=0;PLe?de[Le]:null}"string"==typeof $&&(P+=2)}return null}(i,r,E,p.index)),null!==lr)(lr.__ngLastListenerFn__||lr).__ngNextListenerFn__=P,lr.__ngLastListenerFn__=P,ri=!1;else{P=q_(p,r,_t,P),Q_(Bi,E,P);const Wr=o.listen(rn,E,P);zt.push(P,Wr),Ze&&Ze.push(E,zi,un,un+1)}}else P=q_(p,r,_t,P);const hi=p.outputs;let vi;if(ri&&null!==hi&&(vi=hi[E])){const Bi=vi.length;if(Bi)for(let rn=0;rn-1?fs(i.index,r):r,5);let de=J_(r,o,p,P),Le=E.__ngNextListenerFn__;for(;Le;)de=J_(r,o,Le,P)&&de,Le=Le.__ngNextListenerFn__;return de}}function Hg(i=1){return function O2(i){return(Zn.lFrame.contextLView=function Bu(i,r){for(;i>0;)r=r[il],i--;return r}(i,Zn.lFrame.contextLView))[hr]}(i)}function Px(i,r){let o=null;const p=function ai(i){const r=i.attrs;if(null!=r){const o=r.indexOf(5);if(!(1&o))return r[o+1]}return null}(i);for(let E=0;E(Lc(!0),function H4(i,r){return i.createText(r)}(r[Bn],p));function e8(i){return ku("",i,""),e8}function ku(i,r,o){const p=Ri(),E=Cu(p,i,r,o);return E!==ar&&Rc(p,qa(),E),ku}function t8(i,r,o,p,E){const P=Ri(),$=v2(P,i,r,o,p,E);return $!==ar&&Rc(P,qa(),$),t8}function i8(i,r,o,p,E,P,$){const de=Ri(),Le=function wu(i,r,o,p,E,P,$,de){const Ze=Bm(i,Ns(),o,E,$);return uc(3),Ze?r+Ft(o)+p+Ft(E)+P+Ft($)+de:ar}(de,i,r,o,p,E,P,$);return Le!==ar&&Rc(de,qa(),Le),i8}function n8(i,r,o,p,E,P,$,de,Le){const Ze=Ri(),_t=b2(Ze,i,r,o,p,E,P,$,de,Le);return _t!==ar&&Rc(Ze,qa(),_t),n8}function up(i,r,o){z6(r)&&(r=r());const p=Ri();return To(p,ns(),r)&&Ps(ur(),oa(),p,i,r,p[Bn],o,!1),up}function M9(i,r){const o=z6(i);return o&&i.set(r),o}function fp(i,r){const o=Ri(),p=ur(),E=Hr();return Gg(p,o,o[Bn],E,i,r),fp}function mp(i,r,o,p,E){if(i=Te(i),Array.isArray(i))for(let P=0;P>20;if(es(i)||!i.multi){const hi=new wd(Ze,E,Gd),vi=pp(Le,r,E?_t:_t+ri,zt);-1===vi?(Dr(Sd(de,$),P,Le),a8(P,i,r.length),r.push(Le),de.directiveStart++,de.directiveEnd++,E&&(de.providerIndexes+=1048576),o.push(hi),$.push(hi)):(o[vi]=hi,$[vi]=hi)}else{const hi=pp(Le,r,_t+ri,zt),vi=pp(Le,r,_t,_t+ri),rn=vi>=0&&o[vi];if(E&&!rn||!E&&!(hi>=0&&o[hi])){Dr(Sd(de,$),P,Le);const un=function Jx(i,r,o,p,E){const P=new wd(i,o,Gd);return P.multi=[],P.index=r,P.componentProviders=0,T9(P,E,p&&!o),P}(E?Zx:Qx,o.length,E,p,Ze);!E&&rn&&(o[vi].providerFactory=un),a8(P,i,r.length,0),r.push(Le),de.directiveStart++,de.directiveEnd++,E&&(de.providerIndexes+=1048576),o.push(un),$.push(un)}else a8(P,i,hi>-1?hi:vi,T9(o[E?vi:hi],Ze,!E&&p));!E&&p&&rn&&o[vi].componentProviders++}}}function a8(i,r,o,p){const E=es(r),P=function Pc(i){return!!i.useClass}(r);if(E||P){const Le=(P?Te(r.useClass):r).prototype.ngOnDestroy;if(Le){const Ze=i.destroyHooks||(i.destroyHooks=[]);if(!E&&r.multi){const _t=Ze.indexOf(o);-1===_t?Ze.push(o,[p,Le]):Ze[_t+1].push(p,Le)}else Ze.push(o,Le)}}}function T9(i,r,o){return o&&i.componentProviders++,i.multi.push(r)-1}function pp(i,r,o,p){for(let E=o;E{o.providersResolver=(p,E)=>function $x(i,r,o){const p=ur();if(p.firstCreatePass){const E=vr(i);mp(o,p.data,p.blueprint,E,!0),mp(r,p.data,p.blueprint,E,!1)}}(p,E?E(i):i,r)}}let qx=(()=>{class i{constructor(o){this._injector=o,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(o){if(!o.standalone)return null;if(!this.cachedInjectors.has(o)){const p=bs(0,o.type),E=p.length>0?K6([p],this._injector,`Standalone[${o.type.name}]`):null;this.cachedInjectors.set(o,E)}return this.cachedInjectors.get(o)}ngOnDestroy(){try{for(const o of this.cachedInjectors.values())null!==o&&o.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=Xt({token:i,providedIn:"environment",factory:()=>new i(xr(Za))})}}return i})();function D9(i){zs("NgStandalone"),i.getStandaloneInjector=r=>r.get(qx).getOrCreateStandaloneInjector(i)}function s8(i,r,o){const p=ms()+i,E=Ri();return E[p]===ar?hd(E,p,o?r.call(o):r()):function T3(i,r){return i[r]}(E,p)}function I9(i,r,o,p){return N9(Ri(),ms(),i,r,o,p)}function R9(i,r,o,p,E){return P9(Ri(),ms(),i,r,o,p,E)}function O9(i,r,o,p,E,P){return z9(Ri(),ms(),i,r,o,p,E,P)}function Ru(i,r){const o=i[r];return o===ar?void 0:o}function N9(i,r,o,p,E,P){const $=r+o;return To(i,$,E)?hd(i,$+1,P?p.call(P,E):p(E)):Ru(i,$+1)}function P9(i,r,o,p,E,P,$){const de=r+o;return m2(i,de,E,P)?hd(i,de+2,$?p.call($,E,P):p(E,P)):Ru(i,de+2)}function z9(i,r,o,p,E,P,$,de){const Le=r+o;return Bm(i,Le,E,P,$)?hd(i,Le+3,de?p.call(de,E,P,$):p(E,P,$)):Ru(i,Le+3)}function U9(i,r){const o=ur();let p;const E=i+En;o.firstCreatePass?(p=function sC(i,r){if(r)for(let o=r.length-1;o>=0;o--){const p=r[o];if(i===p.name)return p}}(r,o.pipeRegistry),o.data[E]=p,p.onDestroy&&(o.destroyHooks??=[]).push(E,p.onDestroy)):p=o.data[E];const P=p.factory||(p.factory=fa(p.type)),de=mr(Gd);try{const Le=hl(!1),Ze=P();return hl(Le),function Kg(i,r,o,p){o>=i.data.length&&(i.data[o]=null,i.blueprint[o]=null),r[o]=p}(o,Ri(),E,Ze),Ze}finally{mr(de)}}function G9(i,r,o){const p=i+En,E=Ri(),P=Al(E,p);return j3(E,p)?N9(E,ms(),r,P.transform,o,P):P.transform(o)}function H9(i,r,o,p){const E=i+En,P=Ri(),$=Al(P,E);return j3(P,E)?P9(P,ms(),r,$.transform,o,p,$):$.transform(o,p)}function j9(i,r,o,p,E){const P=i+En,$=Ri(),de=Al($,P);return j3($,P)?z9($,ms(),r,de.transform,o,p,E,de):de.transform(o,p,E)}function j3(i,r){return i[Fi].data[r].pure}function c8(i,r){return o2(i,r)}class rv{constructor(r){this.full=r;const o=r.split(".");this.major=o[0],this.minor=o[1],this.patch=o.slice(2).join(".")}}let b8=(()=>{class i{log(o){console.log(o)}warn(o){console.warn(o)}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"platform"})}}return i})();const w8=new Ut(""),uv=new Ut("");let M8,ew=(()=>{class i{constructor(o,p,E){this._ngZone=o,this.registry=p,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,M8||(function tw(i){M8=i}(E),E.addToWindow(p)),this._watchAngularEvents(),o.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:()=>{Da.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 o=this._callbacks.pop();clearTimeout(o.timeoutId),o.doneCb()}});else{let o=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(o)||(clearTimeout(p.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(o=>({source:o.source,creationLocation:o.creationLocation,data:o.data})):[]}addCallback(o,p,E){let P=-1;p&&p>0&&(P=setTimeout(()=>{this._callbacks=this._callbacks.filter($=>$.timeoutId!==P),o()},p)),this._callbacks.push({doneCb:o,timeoutId:P,updateCb:E})}whenStable(o,p,E){if(E&&!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(o,p,E),this._runCallbacksIfReady()}registerApplication(o){this.registry.registerApplication(o,this)}unregisterApplication(o){this.registry.unregisterApplication(o)}findProviders(o,p,E){return[]}static{this.\u0275fac=function(p){return new(p||i)(xr(Da),xr(fv),xr(uv))}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac})}}return i})(),fv=(()=>{class i{constructor(){this._applications=new Map}registerApplication(o,p){this._applications.set(o,p)}unregisterApplication(o){this._applications.delete(o)}unregisterAllApplications(){this._applications.clear()}getTestability(o){return this._applications.get(o)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(o,p=!0){return M8?.findTestabilityInTree(this,o,p)??null}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"platform"})}}return i})();function vp(i){return!!i&&"function"==typeof i.then}function mv(i){return!!i&&"function"==typeof i.subscribe}const pv=new Ut("");let gv=(()=>{class i{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,p)=>{this.resolve=o,this.reject=p}),this.appInits=hn(pv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const o=[];for(const E of this.appInits){const P=E();if(vp(P))o.push(P);else if(mv(P)){const $=new Promise((de,Le)=>{P.subscribe({complete:de,error:Le})});o.push($)}}const p=()=>{this.done=!0,this.resolve()};Promise.all(o).then(()=>{p()}).catch(E=>{this.reject(E)}),0===o.length&&p(),this.initialized=!0}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();const bp=new Ut("");function S8(i,r){return Array.isArray(r)?r.reduce(S8,i):{...i,...r}}let fd=(()=>{class i{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=hn(g0),this.afterRenderManager=hn(q6),this.zonelessEnabled=hn(wi),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Ie.B,this.afterTick=new Ie.B,this.componentTypes=[],this.components=[],this.isStable=hn(jc).hasPendingTasks.pipe((0,me.T)(o=>!o)),this._injector=hn(Za)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let o;return new Promise(p=>{o=this.isStable.subscribe({next:E=>{E&&p()}})}).finally(()=>{o.unsubscribe()})}get injector(){return this._injector}bootstrap(o,p){const E=o instanceof Tn;if(!this._injector.get(gv).done)throw!E&&ca(o),new Be(405,!1);let $;$=E?o:this._injector.get(Rn).resolveComponentFactory(o),this.componentTypes.push($.componentType);const de=function iw(i){return i.isBoundToModule}($)?void 0:this._injector.get(f2),Ze=$.create(Ho.NULL,[],p||$.selector,de),_t=Ze.location.nativeElement,zt=Ze.injector.get(w8,null);return zt?.registerApplication(_t),Ze.onDestroy(()=>{this.detachView(Ze.hostView),yp(this.components,Ze),zt?.unregisterApplication(_t)}),this._loadComponent(Ze),Ze}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Be(101,!1);const o=w(null);try{this._runningTick=!0,this.synchronize()}catch(p){this.internalErrorHandler(p)}finally{this._runningTick=!1,w(o),this.afterTick.next()}}synchronize(){let o=null;this._injector.destroyed||(o=this._injector.get(Zr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let p=0;for(;0!==this.dirtyFlags&&p++<10;)this.synchronizeOnce(o)}synchronizeOnce(o){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const p=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(p);for(let{_lView:E,notifyErrorHandler:P}of this._views)vv(E,P,p,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else o?.begin?.(),o?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:o})=>t0(o))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(o){const p=o;this._views.push(p),p.attachToAppRef(this)}detachView(o){const p=o;yp(this._views,p),p.detachFromAppRef()}_loadComponent(o){this.attachView(o.hostView),this.tick(),this.components.push(o);const p=this._injector.get(bp,[]);[...this._bootstrapListeners,...p].forEach(E=>E(o))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(o=>o()),this._views.slice().forEach(o=>o.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(o){return this._destroyListeners.push(o),()=>yp(this._destroyListeners,o)}destroy(){if(this._destroyed)throw new Be(406,!1);const o=this._injector;o.destroy&&!o.destroyed&&o.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function yp(i,r){const o=i.indexOf(r);o>-1&&i.splice(o,1)}function vv(i,r,o,p){(o||t0(i))&&jd(i,r,o&&!p?0:1)}class aw{constructor(r,o){this.ngModuleFactory=r,this.componentFactories=o}}let bv=(()=>{class i{compileModuleSync(o){return new X6(o)}compileModuleAsync(o){return Promise.resolve(this.compileModuleSync(o))}compileModuleAndAllComponentsSync(o){const p=this.compileModuleSync(o),P=Yo(_a(o).declarations).reduce(($,de)=>{const Le=jn(de);return Le&&$.push(new So(Le)),$},[]);return new aw(p,P)}compileModuleAndAllComponentsAsync(o){return Promise.resolve(this.compileModuleAndAllComponentsSync(o))}clearCache(){}clearCacheFor(o){}getModuleId(o){}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),cw=(()=>{class i{constructor(){this.zone=hn(Da),this.changeDetectionScheduler=hn(_i),this.applicationRef=hn(fd)}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(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function T8({ngZoneFactory:i,ignoreChangesOutsideZone:r,scheduleInRootZone:o}){return i??=()=>new Da({...L8(),scheduleInRootZone:o}),[{provide:Da,useFactory:i},{provide:ia,multi:!0,useFactory:()=>{const p=hn(cw,{optional:!0});return()=>p.initialize()}},{provide:ia,multi:!0,useFactory:()=>{const p=hn(yv);return()=>{p.initialize()}}},!0===r?{provide:sn,useValue:!0}:[],{provide:kn,useValue:o??Hc}]}function L8(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:i?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:i?.runCoalescing??!1}}let yv=(()=>{class i{constructor(){this.subscription=new st.yU,this.initialized=!1,this.zone=hn(Da),this.pendingTasks=hn(jc)}initialize(){if(this.initialized)return;this.initialized=!0;let o=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(o=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Da.assertNotInAngularZone(),queueMicrotask(()=>{null!==o&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(o),o=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Da.assertInAngularZone(),o??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Q3=(()=>{class i{constructor(){this.appRef=hn(fd),this.taskService=hn(jc),this.ngZone=hn(Da),this.zonelessEnabled=hn(wi),this.disableScheduling=hn(sn,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new st.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(w1):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(hn(kn,{optional:!0})??!1),this.cancelScheduledCallback=null,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 Xc||!this.zoneIsDefined)}notify(o){if(!this.zonelessEnabled&&5===o)return;switch(o){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const p=this.useMicrotaskScheduler?rh:nh;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>p(()=>this.tick())):this.ngZone.runOutsideAngular(()=>p(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(w1+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(p){throw this.taskService.remove(o),p}finally{this.cleanup()}this.useMicrotaskScheduler=!0,rh(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const o=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(o)}}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();const D8=new Ut("",{providedIn:"root",factory:()=>hn(D8,gn.Optional|gn.SkipSelf)||function hw(){return typeof $localize<"u"&&$localize.locale||M2}()}),uw=new Ut("",{providedIn:"root",factory:()=>"USD"}),Z3=new Ut("");function Fu(i){return!i.moduleRef}let Ev=(()=>{class i{constructor(o){this._injector=o,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(o,p){const E=p?.scheduleInRootZone,$=p?.ignoreChangesOutsideZone,de=[T8({ngZoneFactory:()=>function ff(i="zone.js",r){return"noop"===i?new Xc:"zone.js"===i?new Da(r):i}(p?.ngZone,{...L8({eventCoalescing:p?.ngZoneEventCoalescing,runCoalescing:p?.ngZoneRunCoalescing}),scheduleInRootZone:E}),ignoreChangesOutsideZone:$}),{provide:_i,useExisting:Q3}],Le=function Xb(i,r,o){return new pu(i,r,o,!1)}(o.moduleType,this.injector,de);return function Mv(i){const r=Fu(i)?i.r3Injector:i.moduleRef.injector,o=r.get(Da);return o.run(()=>{Fu(i)?i.r3Injector.resolveInjectorInitializers():i.moduleRef.resolveInjectorInitializers();const p=r.get(Ac,null);let E;if(o.runOutsideAngular(()=>{E=o.onError.subscribe({next:P=>{p.handleError(P)}})}),Fu(i)){const P=()=>r.destroy(),$=i.platformInjector.get(Z3);$.add(P),r.onDestroy(()=>{E.unsubscribe(),$.delete(P)})}else{const P=()=>i.moduleRef.destroy(),$=i.platformInjector.get(Z3);$.add(P),i.moduleRef.onDestroy(()=>{yp(i.allPlatformModules,i.moduleRef),E.unsubscribe(),$.delete(P)})}return function rw(i,r,o){try{const p=o();return vp(p)?p.catch(E=>{throw r.runOutsideAngular(()=>i.handleError(E)),E}):p}catch(p){throw r.runOutsideAngular(()=>i.handleError(p)),p}}(p,o,()=>{const P=r.get(gv);return P.runInitializers(),P.donePromise.then(()=>{if(function A_(i){"string"==typeof i&&(D_=i.toLowerCase().replace(/_/g,"-"))}(r.get(D8,M2)||M2),Fu(i)){const de=r.get(fd);return void 0!==i.rootComponent&&de.bootstrap(i.rootComponent),de}return function _w(i,r){const o=i.injector.get(fd);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(p=>o.bootstrap(p));else{if(!i.instance.ngDoBootstrap)throw new Be(-403,!1);i.instance.ngDoBootstrap(o)}r.push(i)}(i.moduleRef,i.allPlatformModules),i.moduleRef})})})}({moduleRef:Le,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(o,p=[]){const E=S8({},p);return function sw(i,r,o){const p=new X6(o);return Promise.resolve(p)}(0,0,o).then(P=>this.bootstrapModuleFactory(P,E))}onDestroy(o){this._destroyListeners.push(o)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Be(404,!1);this._modules.slice().forEach(p=>p.destroy()),this._destroyListeners.forEach(p=>p());const o=this._injector.get(Z3,null);o&&(o.forEach(p=>p()),o.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(p){return new(p||i)(xr(Ho))}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"platform"})}}return i})(),Zd=null;const Sv=new Ut("");function k8(i,r,o=[]){const p=`Platform: ${r}`,E=new Ut(p);return(P=[])=>{let $=I8();if(!$||$.injector.get(Sv,!1)){const de=[...o,...P,{provide:E,useValue:!0}];i?i(de):function vw(i){if(Zd&&!Zd.get(Sv,!1))throw new Be(400,!1);(function E8(){!function _(i){A=i}(()=>{throw new Be(600,!1)})})(),Zd=i;const r=i.get(Ev);(function Dv(i){i.get(Sf,null)?.forEach(o=>o())})(i)}(function Tv(i=[],r){return Ho.create({name:r,providers:[{provide:Xs,useValue:"platform"},{provide:Z3,useValue:new Set([()=>Zd=null])},...i]})}(de,p))}return function Lv(){const r=I8();if(!r)throw new Be(401,!1);return r}()}}function I8(){return Zd?.get(Ev)??null}function xw(){return!1}let Av=(()=>{class i{static{this.__NG_ELEMENT_ID__=Cw}}return i})();function Cw(i){return function ww(i,r,o){if(Nn(i)&&!o){const p=fs(i.index,r);return new ou(p,p)}return 175&i.type?new ou(r[Lr],r):null}(Hr(),Ri(),!(16&~i))}class Ov{constructor(){}supports(r){return S3(r)}create(r){return new Lw(r)}}const Fv=(i,r)=>r;class Lw{constructor(r){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=r||Fv}forEachItem(r){let o;for(o=this._itHead;null!==o;o=o._next)r(o)}forEachOperation(r){let o=this._itHead,p=this._removalsHead,E=0,P=null;for(;o||p;){const $=!p||o&&o.currentIndex{$=this._trackByFn(E,de),null!==o&&Object.is(o.trackById,$)?(p&&(o=this._verifyReinsertion(o,de,$,E)),Object.is(o.item,de)||this._addIdentityChange(o,de)):(o=this._mismatch(o,de,$,E),p=!0),o=o._next,E++}),this.length=E;return this._truncate(o),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,o,p,E){let P;return null===r?P=this._itTail:(P=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(r.item,o)||this._addIdentityChange(r,o),this._reinsertAfter(r,P,E)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(p,E))?(Object.is(r.item,o)||this._addIdentityChange(r,o),this._moveAfter(r,P,E)):r=this._addAfter(new Dw(o,p),P,E),r}_verifyReinsertion(r,o,p,E){let P=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==P?r=this._reinsertAfter(P,r._prev,E):r.currentIndex!=E&&(r.currentIndex=E,this._addToMoves(r,E)),r}_truncate(r){for(;null!==r;){const o=r._next;this._addToRemovals(this._unlink(r)),r=o}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(r,o,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const E=r._prevRemoved,P=r._nextRemoved;return null===E?this._removalsHead=P:E._nextRemoved=P,null===P?this._removalsTail=E:P._prevRemoved=E,this._insertAfter(r,o,p),this._addToMoves(r,p),r}_moveAfter(r,o,p){return this._unlink(r),this._insertAfter(r,o,p),this._addToMoves(r,p),r}_addAfter(r,o,p){return this._insertAfter(r,o,p),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,o,p){const E=null===o?this._itHead:o._next;return r._next=E,r._prev=o,null===E?this._itTail=r:E._prev=r,null===o?this._itHead=r:o._next=r,null===this._linkedRecords&&(this._linkedRecords=new Nv),this._linkedRecords.put(r),r.currentIndex=p,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const o=r._prev,p=r._next;return null===o?this._itHead=p:o._next=p,null===p?this._itTail=o:p._prev=o,r}_addToMoves(r,o){return r.previousIndex===o||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Nv),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,o){return r.item=o,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class Dw{constructor(r,o){this.item=r,this.trackById=o,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 Aw{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,o){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===o||o<=p.currentIndex)&&Object.is(p.trackById,r))return p;return null}remove(r){const o=r._prevDup,p=r._nextDup;return null===o?this._head=p:o._nextDup=p,null===p?this._tail=o:p._prevDup=o,null===this._head}}class Nv{constructor(){this.map=new Map}put(r){const o=r.trackById;let p=this.map.get(o);p||(p=new Aw,this.map.set(o,p)),p.add(r)}get(r,o){const E=this.map.get(r);return E?E.get(r,o):null}remove(r){const o=r.trackById;return this.map.get(o).remove(r)&&this.map.delete(o),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function P8(i,r,o){const p=i.previousIndex;if(null===p)return p;let E=0;return o&&p{if(o&&o.key===E)this._maybeAddToChanges(o,p),this._appendAfter=o,o=o._next;else{const P=this._getOrCreateRecordForKey(E,p);o=this._insertBeforeOrAppend(o,P)}}),o){o._prev&&(o._prev._next=null),this._removalsHead=o;for(let p=o;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,o){if(r){const p=r._prev;return o._next=r,o._prev=p,r._prev=o,p&&(p._next=o),r===this._mapHead&&(this._mapHead=o),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=o,o._prev=this._appendAfter):this._mapHead=o,this._appendAfter=o,null}_getOrCreateRecordForKey(r,o){if(this._records.has(r)){const E=this._records.get(r);this._maybeAddToChanges(E,o);const P=E._prev,$=E._next;return P&&(P._next=$),$&&($._prev=P),E._next=null,E._prev=null,E}const p=new Iw(r);return this._records.set(r,p),p.currentValue=o,this._addToAdditions(p),p}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,o){Object.is(o,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=o,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,o){r instanceof Map?r.forEach(o):Object.keys(r).forEach(p=>o(r[p],p))}}class Iw{constructor(r){this.key=r,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 Pv(){return new B8([new Ov])}let B8=(()=>{class i{static{this.\u0275prov=Xt({token:i,providedIn:"root",factory:Pv})}constructor(o){this.factories=o}static create(o,p){if(null!=p){const E=p.factories.slice();o=o.concat(E)}return new i(o)}static extend(o){return{provide:i,useFactory:p=>i.create(o,p||Pv()),deps:[[i,new zr,new fo]]}}find(o){const p=this.factories.find(E=>E.supports(o));if(null!=p)return p;throw new Be(901,!1)}}return i})();function zv(){return new V8([new z8])}let V8=(()=>{class i{static{this.\u0275prov=Xt({token:i,providedIn:"root",factory:zv})}constructor(o){this.factories=o}static create(o,p){if(p){const E=p.factories.slice();o=o.concat(E)}return new i(o)}static extend(o){return{provide:i,useFactory:p=>i.create(o,p||zv()),deps:[[i,new zr,new fo]]}}find(o){const p=this.factories.find(E=>E.supports(o));if(p)return p;throw new Be(901,!1)}}return i})();const G8=k8(null,"core",[]);let Fw=(()=>{class i{constructor(o){}static{this.\u0275fac=function(p){return new(p||i)(xr(fd))}}static{this.\u0275mod=Jo({type:i})}static{this.\u0275inj=tt({})}}return i})();function aM(i){return"boolean"==typeof i?i:null!=i&&"false"!==i}function oM(i,r=NaN){return isNaN(parseFloat(i))||isNaN(Number(i))?r:Number(i)}function dM(i,r){zs("NgSignals");const o=function T(i){const r=Object.create(d);r.computation=i;const o=()=>{if(I(r),y(r),r.value===m)throw r.error;return r.value};return o[l]=r,o}(i);return r?.equal&&(o[l].equal=r.equal),o}function hb(i){const r=w(null);try{return i()}finally{w(r)}}const hM=new Ut("",{providedIn:"root",factory:()=>hn(uM)});let uM=(()=>{class i{static{this.\u0275prov=Xt({token:i,providedIn:"root",factory:()=>new fM})}}return i})();class fM{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=hn(jc),this.taskId=null}scheduleEffect(r){if(this.enqueue(r),null===this.taskId){const o=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(o),this.taskId=null})}}enqueue(r){const o=r.creationZone;this.queues.has(o)||this.queues.set(o,new Set);const p=this.queues.get(o);p.has(r)||(this.queuedEffectCount++,p.add(r))}flush(){for(;this.queuedEffectCount>0;)for(const[r,o]of this.queues)null===r?this.flushQueue(o):r.run(()=>this.flushQueue(o))}flushQueue(r){for(const o of r)r.delete(o),this.queuedEffectCount--,o.run()}}class ub{constructor(r,o,p,E,P,$){this.scheduler=r,this.effectFn=o,this.creationZone=p,this.injector=P,this.watcher=function oe(i,r,o){const p=Object.create(se);o&&(p.consumerAllowSignalWrites=!0),p.fn=i,p.schedule=r;const E=Le=>{p.cleanupFn=Le};return p.ref={notify:()=>Y(p),run:()=>{if(null===p.fn)return;if(function R(){return x}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(p.dirty=!1,p.hasRun&&!J(p))return;p.hasRun=!0;const Le=W(p);try{p.cleanupFn(),p.cleanupFn=X,p.fn(E)}finally{Q(p,Le)}},cleanup:()=>p.cleanupFn(),destroy:()=>function $(Le){(function P(Le){return null===Le.fn&&null===Le.schedule})(Le)||(ie(Le),Le.cleanupFn(),Le.fn=null,Le.schedule=null,Le.cleanupFn=X)}(p),[l]:p},p.ref}(de=>this.runEffect(de),()=>this.schedule(),$),this.unregisterOnDestroy=E?.onDestroy(()=>this.destroy())}runEffect(r){try{this.effectFn(r)}catch(o){this.injector.get(Ac,null,{optional:!0})?.handleError(o)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function mM(i,r){zs("NgSignals"),!r?.injector&&pn();const o=r?.injector??hn(Ho),p=!0!==r?.manualCleanup?o.get(Gl):null,E=new ub(o.get(hM),i,typeof Zone>"u"?null:Zone.current,p,o,r?.allowSignalWrites??!1),P=o.get(Av,null,{optional:!0});return P&&8&P._lView[bn]?(P._lView[El]??=[]).push(E.watcher.notify):E.watcher.notify(),E}function ZE(i,r){const o=jn(i),p=r.elementInjector||zc();return new So(o).create(p,r.projectableNodes,r.hostElement,r.environmentInjector)}function qE(i){const r=jn(i);if(!r)return null;const o=new So(r);return{get selector(){return o.selector},get type(){return o.componentType},get inputs(){return o.inputs},get outputs(){return o.outputs},get ngContentSelectors(){return o.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}},9079:(Qe,te,g)=>{"use strict";g.d(te,{ot:()=>f});var e=g(4438);function f(h,S){const y=!S?.manualCleanup;y&&!S?.injector&&(0,e.Af3)(f);const O=y?S?.injector?.get(e.abz)??(0,e.WQX)(e.abz):null,I=function R(h=Object.is){return(S,y)=>1===S.kind&&1===y.kind&&h(S.value,y.value)}(S?.equal);let V;V=(0,e.vPA)(S?.requireSync?{kind:0}:{kind:1,value:S?.initialValue},{equal:I});const j=h.subscribe({next:Y=>V.set({kind:1,value:Y}),error:Y=>{if(S?.rejectErrors)throw Y;V.set({kind:2,error:Y})}});if(S?.requireSync&&0===V().kind)throw new e.wOt(601,!1);return O?.onDestroy(j.unsubscribe.bind(j)),(0,e.EWP)(()=>{const Y=V();switch(Y.kind){case 1:return Y.value;case 2:throw Y.error;case 0:throw new e.wOt(601,!1)}},{equal:S?.equal})}},4545:(Qe,te,g)=>{"use strict";function e(S){for(let y in S){let O=S[y]??"";switch(y){case"display":S.display="flex"===O?["-webkit-flex","flex"]:"inline-flex"===O?["-webkit-inline-flex","inline-flex"]:O;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":S["-webkit-"+y]=O;break;case"flex-direction":S["-webkit-flex-direction"]=O,S["flex-direction"]=O;break;case"order":S.order=S["-webkit-"+y]=isNaN(+O)?"0":O}}return S}g.d(te,{C5:()=>h,O5:()=>e,Uo:()=>x,Vc:()=>w,uG:()=>D});const t="inline",x=["row","column","row-reverse","column-reverse"];function D(S){let[y,O,I]=l(S);return function R(S,y=null,O=!1){return{display:O?"inline-flex":"flex","box-sizing":"border-box","flex-direction":S,"flex-wrap":y||null}}(y,O,I)}function l(S){S=S?.toLowerCase()??"";let[y,O,I]=S.split(" ");return x.find(V=>V===y)||(y=x[0]),O===t&&(O=I!==t?I:"",I=t),[y,f(O),!!I]}function w(S){let[y]=l(S);return y.indexOf("row")>-1}function f(S){if(S)switch(S.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":S="wrap-reverse";break;case"no":case"none":case"nowrap":S="nowrap";break;default:S="wrap"}return S}function h(S,...y){if(null==S)throw TypeError("Cannot convert undefined or null to object");for(let O of y)if(null!=O)for(let I in O)O.hasOwnProperty(I)&&(S[I]=O[I]);return S}},9340:(Qe,te,g)=>{"use strict";g.d(te,{Ce:()=>Q,DJ:()=>ct,EA:()=>W,PV:()=>Y,SL:()=>J,Ui:()=>I,ZH:()=>fe,cL:()=>Nt,hN:()=>$e,qH:()=>Be,r3:()=>ee});var e=g(4438),t=g(177),x=g(4412),D=g(1985),l=g(7786),w=g(1413),f=g(4545),R=g(5964),h=g(8141);const y={provide:e.iLQ,useFactory:function S(yt,jt){return()=>{if((0,t.UE)(jt)){const Je=Array.from(yt.querySelectorAll(`[class*=${O}]`)),et=/\bflex-layout-.+?\b/g;Je.forEach(Ae=>{Ae.classList.contains(`${O}ssr`)&&Ae.parentNode?Ae.parentNode.removeChild(Ae):Ae.className.replace(et,"")})}}},deps:[t.qQ,e.Agw],multi:!0},O="flex-layout-";let I=(()=>{class yt{}return yt.\u0275fac=function(Je){return new(Je||yt)},yt.\u0275mod=e.$C({type:yt}),yt.\u0275inj=e.G2t({providers:[y]}),yt})();class V{constructor(jt=!1,Je="all",et="",Ae="",It=0){this.matches=jt,this.mediaQuery=Je,this.mqAlias=et,this.suffix=Ae,this.priority=It,this.property=""}clone(){return new V(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let j=(()=>{class yt{constructor(){this.stylesheet=new Map}addStyleToElement(Je,et,Ae){const It=this.stylesheet.get(Je);It?It.set(et,Ae):this.stylesheet.set(Je,new Map([[et,Ae]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(Je,et){const Ae=this.stylesheet.get(Je);let It="";if(Ae){const Qt=Ae.get(et);("number"==typeof Qt||"string"==typeof Qt)&&(It=Qt+"")}return It}}return yt.\u0275fac=function(Je){return new(Je||yt)},yt.\u0275prov=e.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const Y={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},W=new e.nKC("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Y}),Q=new e.nKC("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),J=new e.nKC("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function ie(yt,jt){return yt=yt?.clone()??new V,jt&&(yt.mqAlias=jt.alias,yt.mediaQuery=jt.mediaQuery,yt.suffix=jt.suffix,yt.priority=jt.priority),yt}class ee{constructor(){this.shouldCache=!0}sideEffect(jt,Je,et){}}let fe=(()=>{class yt{constructor(Je,et,Ae,It){this._serverStylesheet=Je,this._serverModuleLoaded=et,this._platformId=Ae,this.layoutConfig=It}applyStyleToElement(Je,et,Ae=null){let It={};"string"==typeof et&&(It[et]=Ae,et=It),It=this.layoutConfig.disableVendorPrefixes?et:(0,f.O5)(et),this._applyMultiValueStyleToElement(It,Je)}applyStyleToElements(Je,et=[]){const Ae=this.layoutConfig.disableVendorPrefixes?Je:(0,f.O5)(Je);et.forEach(It=>{this._applyMultiValueStyleToElement(Ae,It)})}getFlowDirection(Je){const et="flex-direction";let Ae=this.lookupStyle(Je,et);return[Ae||"row",this.lookupInlineStyle(Je,et)||(0,t.Vy)(this._platformId)&&this._serverModuleLoaded?Ae:""]}hasWrap(Je){return"wrap"===this.lookupStyle(Je,"flex-wrap")}lookupAttributeValue(Je,et){return Je.getAttribute(et)??""}lookupInlineStyle(Je,et){return(0,t.UE)(this._platformId)?Je.style.getPropertyValue(et):function ne(yt,jt){return le(yt)[jt]??""}(Je,et)}lookupStyle(Je,et,Ae=!1){let It="";return Je&&((It=this.lookupInlineStyle(Je,et))||((0,t.UE)(this._platformId)?Ae||(It=getComputedStyle(Je).getPropertyValue(et)):this._serverModuleLoaded&&(It=this._serverStylesheet.getStyleForElement(Je,et)))),It?It.trim():""}_applyMultiValueStyleToElement(Je,et){Object.keys(Je).sort().forEach(Ae=>{const It=Je[Ae],Qt=Array.isArray(It)?It:[It];Qt.sort();for(let Tt of Qt)Tt=Tt?Tt+"":"",(0,t.UE)(this._platformId)||!this._serverModuleLoaded?(0,t.UE)(this._platformId)?et.style.setProperty(Ae,Tt):Me(et,Ae,Tt):this._serverStylesheet.addStyleToElement(et,Ae,Tt)})}}return yt.\u0275fac=function(Je){return new(Je||yt)(e.KVO(j),e.KVO(Q),e.KVO(e.Agw),e.KVO(W))},yt.\u0275prov=e.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();function Me(yt,jt,Je){jt=jt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const et=le(yt);et[jt]=Je??"",function Ce(yt,jt){let Je="";for(const et in jt)jt[et]&&(Je+=`${et}:${jt[et]};`);yt.setAttribute("style",Je)}(yt,et)}function le(yt){const jt={},Je=yt.getAttribute("style");if(Je){const et=Je.split(/;+/g);for(let Ae=0;Ae0){const Qt=It.indexOf(":");if(-1===Qt)throw new Error(`Invalid CSS style: ${It}`);jt[It.substr(0,Qt).trim()]=It.substr(Qt+1).trim()}}}return jt}function T(yt,jt){return(jt&&jt.priority||0)-(yt&&yt.priority||0)}function n(yt,jt){return(yt.priority||0)-(jt.priority||0)}let c=(()=>{class yt{constructor(Je,et,Ae){this._zone=Je,this._platformId=et,this._document=Ae,this.source=new x.t(new V(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const Je=[];return this.registry.forEach((et,Ae)=>{et.matches&&Je.push(Ae)}),Je}isActive(Je){return this.registry.get(Je)?.matches??this.registerQuery(Je).some(Ae=>Ae.matches)}observe(Je,et=!1){if(Je&&Je.length){const Ae=this._observable$.pipe((0,R.p)(Qt=>!et||Je.indexOf(Qt.mediaQuery)>-1)),It=new D.c(Qt=>{const Tt=this.registerQuery(Je);if(Tt.length){const xt=Tt.pop();Tt.forEach(Se=>{Qt.next(Se)}),this.source.next(xt)}Qt.complete()});return(0,l.h)(It,Ae)}return this._observable$}registerQuery(Je){const et=Array.isArray(Je)?Je:[Je],Ae=[];return function d(yt,jt){const Je=yt.filter(et=>!m[et]);if(Je.length>0){const et=Je.join(", ");try{const Ae=jt.createElement("style");Ae.setAttribute("type","text/css"),Ae.styleSheet||Ae.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 ${et} {.fx-query-test{ }}\n`)),jt.head.appendChild(Ae),Je.forEach(It=>m[It]=Ae)}catch(Ae){console.error(Ae)}}}(et,this._document),et.forEach(It=>{const Qt=xt=>{this._zone.run(()=>this.source.next(new V(xt.matches,It)))};let Tt=this.registry.get(It);Tt||(Tt=this.buildMQL(It),Tt.addListener(Qt),this.pendingRemoveListenerFns.push(()=>Tt.removeListener(Qt)),this.registry.set(It,Tt)),Tt.matches&&Ae.push(new V(!0,It))}),Ae}ngOnDestroy(){let Je;for(;Je=this.pendingRemoveListenerFns.pop();)Je()}buildMQL(Je){return function A(yt,jt){return jt&&window.matchMedia("all").addListener?window.matchMedia(yt):function C(yt){const jt=new EventTarget;return jt.matches="all"===yt||""===yt,jt.media=yt,jt.addListener=()=>{},jt.removeListener=()=>{},jt.addEventListener=()=>{},jt.dispatchEvent=()=>!1,jt.onchange=null,jt}(yt)}(Je,(0,t.UE)(this._platformId))}}return yt.\u0275fac=function(Je){return new(Je||yt)(e.KVO(e.SKi),e.KVO(e.Agw),e.KVO(t.qQ))},yt.\u0275prov=e.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const m={},k=[{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)",a="(orientation: landscape) and (max-width: 959.98px)",b="(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)",q="(orientation: landscape) and (min-width: 1280px)",pe={HANDSET:`${_}, ${a}`,TABLET:`${b} , ${z}`,WEB:`${N}, ${q} `,HANDSET_PORTRAIT:`${_}`,TABLET_PORTRAIT:`${b} `,WEB_PORTRAIT:`${N}`,HANDSET_LANDSCAPE:`${a}`,TABLET_LANDSCAPE:`${z}`,WEB_LANDSCAPE:`${q}`},ze=[{alias:"handset",priority:2e3,mediaQuery:pe.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:pe.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:pe.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:pe.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:pe.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:pe.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:pe.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:pe.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:pe.WEB_PORTRAIT,overlapping:!0}],Xe=/(\.|-|_)/g;function We(yt){let jt=yt.length>0?yt.charAt(0):"",Je=yt.length>1?yt.slice(1):"";return jt.toUpperCase()+Je}const ae=new e.nKC("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const yt=(0,e.WQX)(J),jt=(0,e.WQX)(W),Je=[].concat.apply([],(yt||[]).map(Ae=>Array.isArray(Ae)?Ae:[Ae]));return function se(yt,jt=[]){const Je={};return yt.forEach(et=>{Je[et.alias]=et}),jt.forEach(et=>{Je[et.alias]?(0,f.C5)(Je[et.alias],et):Je[et.alias]=et}),function X(yt){return yt.forEach(jt=>{jt.suffix||(jt.suffix=function oe(yt){return yt.replace(Xe,"|").split("|").map(We).join("")}(jt.alias),jt.overlapping=!!jt.overlapping)}),yt}(Object.keys(Je).map(et=>Je[et]))}((jt.disableDefaultBps?[]:k).concat(jt.addOrientationBps?ze:[]),Je)}});let he=(()=>{class yt{constructor(Je){this.findByMap=new Map,this.items=[...Je].sort(n)}findByAlias(Je){return Je?this.findWithPredicate(Je,et=>et.alias===Je):null}findByQuery(Je){return this.findWithPredicate(Je,et=>et.mediaQuery===Je)}get overlappings(){return this.items.filter(Je=>Je.overlapping)}get aliases(){return this.items.map(Je=>Je.alias)}get suffixes(){return this.items.map(Je=>Je?.suffix??"")}findWithPredicate(Je,et){let Ae=this.findByMap.get(Je);return Ae||(Ae=this.items.find(et)??null,this.findByMap.set(Je,Ae)),Ae??null}}return yt.\u0275fac=function(Je){return new(Je||yt)(e.KVO(ae))},yt.\u0275prov=e.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const Ie="print",st={alias:Ie,mediaQuery:Ie,priority:1e3};let me=(()=>{class yt{constructor(Je,et,Ae){this.breakpoints=Je,this.layoutConfig=et,this._document=Ae,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new Ee,this.deactivations=[]}withPrintQuery(Je){return[...Je,Ie]}isPrintEvent(Je){return Je.mediaQuery.startsWith(Ie)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(Je=>this.breakpoints.findByAlias(Je)).filter(Je=>null!==Je)}getEventBreakpoints({mediaQuery:Je}){const et=this.breakpoints.findByQuery(Je);return(et?[...this.printBreakPoints,et]:this.printBreakPoints).sort(T)}updateEvent(Je){let et=this.breakpoints.findByQuery(Je.mediaQuery);return this.isPrintEvent(Je)&&(et=this.getEventBreakpoints(Je)[0],Je.mediaQuery=et?.mediaQuery??""),ie(Je,et)}registerBeforeAfterPrintHooks(Je){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const et=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(Je,this.getEventBreakpoints(new V(!0,Ie))),Je.updateStyles())},Ae=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(Je),Je.updateStyles())};this._document.defaultView.addEventListener("beforeprint",et),this._document.defaultView.addEventListener("afterprint",Ae),this.beforePrintEventListeners.push(et),this.afterPrintEventListeners.push(Ae)}interceptEvents(Je){return et=>{this.isPrintEvent(et)?et.matches&&!this.isPrinting?(this.startPrinting(Je,this.getEventBreakpoints(et)),Je.updateStyles()):!et.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(Je),Je.updateStyles()):this.collectActivations(Je,et)}}blockPropagation(){return Je=>!(this.isPrinting||this.isPrintEvent(Je))}startPrinting(Je,et){this.isPrinting=!0,this.formerActivations=Je.activatedBreakpoints,Je.activatedBreakpoints=this.queue.addPrintBreakpoints(et)}stopPrinting(Je){Je.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(Je,et){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!et.matches){const Ae=this.breakpoints.findByQuery(et.mediaQuery);if(Ae){const It=this.formerActivations&&this.formerActivations.includes(Ae),Qt=!this.formerActivations&&Je.activatedBreakpoints.includes(Ae);(It||Qt)&&(this.deactivations.push(Ae),this.deactivations.sort(T))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(Je=>this._document.defaultView.removeEventListener("beforeprint",Je)),this.afterPrintEventListeners.forEach(Je=>this._document.defaultView.removeEventListener("afterprint",Je)))}}return yt.\u0275fac=function(Je){return new(Je||yt)(e.KVO(he),e.KVO(W),e.KVO(t.qQ))},yt.\u0275prov=e.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();class Ee{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(jt){return jt.push(st),jt.sort(T),jt.forEach(Je=>this.addBreakpoint(Je)),this.printBreakpoints}addBreakpoint(jt){jt&&void 0===this.printBreakpoints.find(et=>et.mediaQuery===jt.mediaQuery)&&(this.printBreakpoints=function ue(yt){return yt?.mediaQuery.startsWith(Ie)??!1}(jt)?[jt,...this.printBreakpoints]:[...this.printBreakpoints,jt])}clear(){this.printBreakpoints=[]}}let Be=(()=>{class yt{constructor(Je,et,Ae){this.matchMedia=Je,this.breakpoints=et,this.hook=Ae,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 w.B,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(Je){this._activatedBreakpoints=[...Je]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(Je){this._useFallbacks=Je}onMediaChange(Je){const et=this.findByQuery(Je.mediaQuery);if(et){Je=ie(Je,et);const Ae=this.activatedBreakpoints.indexOf(et);Je.matches&&-1===Ae?(this._activatedBreakpoints.push(et),this._activatedBreakpoints.sort(T),this.updateStyles()):!Je.matches&&-1!==Ae&&(this._activatedBreakpoints.splice(Ae,1),this._activatedBreakpoints.sort(T),this.updateStyles())}}init(Je,et,Ae,It,Qt=[]){Ct(this.updateMap,Je,et,Ae),Ct(this.clearMap,Je,et,It),this.buildElementKeyMap(Je,et),this.watchExtraTriggers(Je,et,Qt)}getValue(Je,et,Ae){const It=this.elementMap.get(Je);if(It){const Qt=void 0!==Ae?It.get(Ae):this.getActivatedValues(It,et);if(Qt)return Qt.get(et)}}hasValue(Je,et){const Ae=this.elementMap.get(Je);if(Ae){const It=this.getActivatedValues(Ae,et);if(It)return void 0!==It.get(et)||!1}return!1}setValue(Je,et,Ae,It){let Qt=this.elementMap.get(Je);if(Qt){const xt=(Qt.get(It)??new Map).set(et,Ae);Qt.set(It,xt),this.elementMap.set(Je,Qt)}else Qt=(new Map).set(It,(new Map).set(et,Ae)),this.elementMap.set(Je,Qt);const Tt=this.getValue(Je,et);void 0!==Tt&&this.updateElement(Je,et,Tt)}trackValue(Je,et){return this.subject.asObservable().pipe((0,R.p)(Ae=>Ae.element===Je&&Ae.key===et))}updateStyles(){this.elementMap.forEach((Je,et)=>{const Ae=new Set(this.elementKeyMap.get(et));let It=this.getActivatedValues(Je);It&&It.forEach((Qt,Tt)=>{this.updateElement(et,Tt,Qt),Ae.delete(Tt)}),Ae.forEach(Qt=>{if(It=this.getActivatedValues(Je,Qt),It){const Tt=It.get(Qt);this.updateElement(et,Qt,Tt)}else this.clearElement(et,Qt)})})}clearElement(Je,et){const Ae=this.clearMap.get(Je);if(Ae){const It=Ae.get(et);It&&(It(),this.subject.next({element:Je,key:et,value:""}))}}updateElement(Je,et,Ae){const It=this.updateMap.get(Je);if(It){const Qt=It.get(et);Qt&&(Qt(Ae),this.subject.next({element:Je,key:et,value:Ae}))}}releaseElement(Je){const et=this.watcherMap.get(Je);et&&(et.forEach(It=>It.unsubscribe()),this.watcherMap.delete(Je));const Ae=this.elementMap.get(Je);Ae&&(Ae.forEach((It,Qt)=>Ae.delete(Qt)),this.elementMap.delete(Je))}triggerUpdate(Je,et){const Ae=this.elementMap.get(Je);if(Ae){const It=this.getActivatedValues(Ae,et);It&&(et?this.updateElement(Je,et,It.get(et)):It.forEach((Qt,Tt)=>this.updateElement(Je,Tt,Qt)))}}buildElementKeyMap(Je,et){let Ae=this.elementKeyMap.get(Je);Ae||(Ae=new Set,this.elementKeyMap.set(Je,Ae)),Ae.add(et)}watchExtraTriggers(Je,et,Ae){if(Ae&&Ae.length){let It=this.watcherMap.get(Je);if(It||(It=new Map,this.watcherMap.set(Je,It)),!It.get(et)){const Tt=(0,l.h)(...Ae).subscribe(()=>{const xt=this.getValue(Je,et);this.updateElement(Je,et,xt)});It.set(et,Tt)}}}findByQuery(Je){return this.breakpoints.findByQuery(Je)}getActivatedValues(Je,et){for(let It=0;Itet.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(Je)).pipe((0,h.M)(this.hook.interceptEvents(this)),(0,R.p)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return yt.\u0275fac=function(Je){return new(Je||yt)(e.KVO(c),e.KVO(he),e.KVO(me))},yt.\u0275prov=e.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();function Ct(yt,jt,Je,et){if(void 0!==et){const Ae=yt.get(jt)??new Map;Ae.set(Je,et),yt.set(jt,Ae)}}let ct=(()=>{class yt{constructor(Je,et,Ae,It){this.elementRef=Je,this.styleBuilder=et,this.styler=Ae,this.marshal=It,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new w.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(Je){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Je,this.marshal.activatedAlias)}ngOnChanges(Je){Object.keys(Je).forEach(et=>{if(-1!==this.inputs.indexOf(et)){const Ae=et.split(".").slice(1).join(".");this.setValue(Je[et].currentValue,Ae)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(Je=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),Je)}addStyles(Je,et){const Ae=this.styleBuilder,It=Ae.shouldCache;let Qt=this.styleCache.get(Je);(!Qt||!It)&&(Qt=Ae.buildStyles(Je,et),It&&this.styleCache.set(Je,Qt)),this.mru={...Qt},this.applyStyleToElement(Qt),Ae.sideEffect(Je,Qt,et)}clearStyles(){Object.keys(this.mru).forEach(Je=>{this.mru[Je]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(Je,et=!1){if(Je){const[Ae,It]=this.styler.getFlowDirection(Je);if(!It&&et){const Qt=(0,f.uG)(Ae);this.styler.applyStyleToElements(Qt,[Je])}return Ae.trim()}return"row"}hasWrap(Je){return this.styler.hasWrap(Je)}applyStyleToElement(Je,et,Ae=this.nativeElement){this.styler.applyStyleToElement(Ae,Je,et)}setValue(Je,et){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Je,et)}updateWithValue(Je){this.currentValue!==Je&&(this.addStyles(Je),this.currentValue=Je)}}return yt.\u0275fac=function(Je){return new(Je||yt)(e.rXU(e.aKT),e.rXU(ee),e.rXU(fe),e.rXU(Be))},yt.\u0275dir=e.FsC({type:yt,features:[e.OA$]}),yt})();function $e(yt,jt="1",Je="1"){let et=[jt,Je,yt],Ae=yt.indexOf("calc");if(Ae>0){et[2]=nt(yt.substring(Ae).trim());let It=yt.substr(0,Ae).trim().split(" ");2==It.length&&(et[0]=It[0],et[1]=It[1])}else if(0==Ae)et[2]=nt(yt.trim());else{let It=yt.split(" ");et=3===It.length?It:[jt,Je,yt]}return et}function nt(yt){return yt.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}EventTarget;const qt="x";function Nt(yt,jt){if(void 0===jt)return yt;const Je=et=>{const Ae=+et.slice(0,-qt.length);return yt.endsWith(qt)&&!isNaN(Ae)?`${Ae*jt.value}${jt.unit}`:yt};return yt.includes(" ")?yt.split(" ").map(Je).join(" "):Je(yt)}},6038:(Qe,te,g)=>{"use strict";g.d(te,{Cc:()=>a,PW:()=>Y,eI:()=>A});var e=g(4438),t=g(9340),x=g(177),w=(g(4085),g(6977),g(345));let I=(()=>{class b extends t.DJ{constructor(N,q,pe,ze,Xe,We,oe){super(N,null,q,pe),this.ngClassInstance=oe,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new x.YU(ze,Xe,N,We)),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 b.\u0275fac=function(N){return new(N||b)(e.rXU(e.aKT),e.rXU(t.ZH),e.rXU(t.qH),e.rXU(e._q3),e.rXU(e.MKu),e.rXU(e.sFG),e.rXU(x.YU,10))},b.\u0275dir=e.FsC({type:b,inputs:{klass:[0,"class","klass"]},features:[e.Vt3]}),b})();const V=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let Y=(()=>{class b extends I{constructor(){super(...arguments),this.inputs=V}}return b.\u0275fac=(()=>{let z;return function(q){return(z||(z=e.xGo(b)))(q||b)}})(),b.\u0275dir=e.FsC({type:b,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[e.Vt3]}),b})();class ne{constructor(z,N,q=!0){this.key=z,this.value=N,this.key=q?z.replace(/['"]/g,"").trim():z.trim(),this.value=q?N.replace(/['"]/g,"").trim():N.trim(),this.value=this.value.replace(/;/,"")}}function Me(b){let z=typeof b;return"object"===z?b.constructor===Array?"array":b.constructor===Set?"set":"object":z}function n(b){const[z,...N]=b.split(":");return new ne(z,N.join(":"))}function c(b,z){return z.key&&(b[z.key]=z.value),b}let m=(()=>{class b extends t.DJ{constructor(N,q,pe,ze,Xe,We,oe,X,se){super(N,null,q,pe),this.sanitizer=ze,this.ngStyleInstance=oe,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new x.B3(N,Xe,We)),this.init();const ae=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(ae),this.isServer=X&&(0,x.Vy)(se)}updateWithValue(N){const q=this.buildStyleMap(N);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...q},this.isServer&&this.applyStyleToElement(q),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(N){const q=pe=>this.sanitizer.sanitize(e.WPN.STYLE,pe)??"";if(N)switch(Me(N)){case"string":return k(function Ce(b,z=";"){return String(b).trim().split(z).map(N=>N.trim()).filter(N=>""!==N)}(N),q);case"array":return k(N,q);default:return function T(b,z){let N=[];return"set"===Me(b)?b.forEach(q=>N.push(q)):Object.keys(b).forEach(q=>{N.push(`${q}:${b[q]}`)}),function le(b,z){return b.map(n).filter(q=>!!q).map(q=>(z&&(q.value=z(q.value)),q)).reduce(c,{})}(N,z)}(N,q)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return b.\u0275fac=function(N){return new(N||b)(e.rXU(e.aKT),e.rXU(t.ZH),e.rXU(t.qH),e.rXU(w.up),e.rXU(e.MKu),e.rXU(e.sFG),e.rXU(x.B3,10),e.rXU(t.Ce),e.rXU(e.Agw))},b.\u0275dir=e.FsC({type:b,features:[e.Vt3]}),b})();const d=["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 A=(()=>{class b extends m{constructor(){super(...arguments),this.inputs=d}}return b.\u0275fac=(()=>{let z;return function(q){return(z||(z=e.xGo(b)))(q||b)}})(),b.\u0275dir=e.FsC({type:b,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[e.Vt3]}),b})();function k(b,z){return b.map(n).filter(q=>!!q).map(q=>(z&&(q.value=z(q.value)),q)).reduce(c,{})}let a=(()=>{class b{}return b.\u0275fac=function(N){return new(N||b)},b.\u0275mod=e.$C({type:b}),b.\u0275inj=e.G2t({imports:[t.Ui]}),b})()},2920:(Qe,te,g)=>{"use strict";g.d(te,{DJ:()=>y,UI:()=>C,sA:()=>$e,w2:()=>Qt});var e=g(4438),t=g(8203),x=g(9340),D=g(4545),w=(g(1413),g(6977));let f=(()=>{class Tt extends x.r3{buildStyles(Se,{display:Te}){const ce=(0,D.uG)(Se);return{...ce,display:"none"===Te?Te:ce.display}}}return Tt.\u0275fac=(()=>{let xt;return function(Te){return(xt||(xt=e.xGo(Tt)))(Te||Tt)}})(),Tt.\u0275prov=e.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"}),Tt})();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 S=(()=>{class Tt extends x.DJ{constructor(Se,Te,ce,Z,Re){super(Se,ce,Te,Z),this._config=Re,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(Se){const ce=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=O.get(ce)??new Map,O.set(ce,this.styleCache),this.currentValue!==Se&&(this.addStyles(Se,{display:ce}),this.currentValue=Se)}}return Tt.\u0275fac=function(Se){return new(Se||Tt)(e.rXU(e.aKT),e.rXU(x.ZH),e.rXU(f),e.rXU(x.qH),e.rXU(x.EA))},Tt.\u0275dir=e.FsC({type:Tt,features:[e.Vt3]}),Tt})(),y=(()=>{class Tt extends S{constructor(){super(...arguments),this.inputs=R}}return Tt.\u0275fac=(()=>{let xt;return function(Te){return(xt||(xt=e.xGo(Tt)))(Te||Tt)}})(),Tt.\u0275dir=e.FsC({type:Tt,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[e.Vt3]}),Tt})();const O=new Map;let n=(()=>{class Tt extends x.r3{constructor(Se){super(),this.layoutConfig=Se}buildStyles(Se,Te){let[ce,Z,...Re]=Se.split(" "),Pe=Re.join(" ");const pt=Te.direction.indexOf("column")>-1?"column":"row",Ke=(0,D.Vc)(pt)?"max-width":"max-height",Fe=(0,D.Vc)(pt)?"min-width":"min-height",Ge=String(Pe).indexOf("calc")>-1,qe=Ge||"auto"===Pe,at=String(Pe).indexOf("%")>-1&&!Ge,Lt=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 pi=Ge||Lt;ce="0"==ce?0:ce,Z="0"==Z?0:Z;const $t=!ce&&!Z;let Kt={};const Ui={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Pe||""){case"":Pe="row"===pt?"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":Z=0,Pe="auto";break;case"auto":break;case"none":ce=0,Z=0,Pe="auto";break;default:!pi&&!at&&!isNaN(Pe)&&(Pe+="%"),"0%"===Pe&&(pi=!0),"0px"===Pe&&(Pe="0%"),Kt=(0,D.C5)(Ui,Ge?{"flex-grow":ce,"flex-shrink":Z,"flex-basis":pi?Pe:"100%"}:{flex:`${ce} ${Z} ${pi?Pe:"100%"}`})}return Kt.flex||Kt["flex-grow"]||(Kt=(0,D.C5)(Ui,Ge?{"flex-grow":ce,"flex-shrink":Z,"flex-basis":Pe}:{flex:`${ce} ${Z} ${Pe}`})),"0%"!==Pe&&"0px"!==Pe&&"0.000000001px"!==Pe&&"auto"!==Pe&&(Kt[Fe]=$t||pi&&ce?Pe:null,Kt[Ke]=$t||!qe&&Z?Pe:null),Kt[Fe]||Kt[Ke]?Te.hasWrap&&(Kt[Ge?"flex-basis":"flex"]=Kt[Ke]?Ge?Kt[Ke]:`${ce} ${Z} ${Kt[Ke]}`:Ge?Kt[Fe]:`${ce} ${Z} ${Kt[Fe]}`):Kt=(0,D.C5)(Ui,Ge?{"flex-grow":ce,"flex-shrink":Z,"flex-basis":Pe}:{flex:`${ce} ${Z} ${Pe}`}),(0,D.C5)(Kt,{"box-sizing":"border-box"})}}return Tt.\u0275fac=function(Se){return new(Se||Tt)(e.KVO(x.EA))},Tt.\u0275prov=e.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"}),Tt})();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 d=(()=>{class Tt extends x.DJ{constructor(Se,Te,ce,Z,Re){super(Se,Z,Te,Re),this.layoutConfig=ce,this.marshal=Re,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(Se){this.flexShrink=Se||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(Se){this.flexGrow=Se||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,w.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,w.Q)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(Se){const ce=Se.value.split(" ");this.direction=ce[0],this.wrap=void 0!==ce[1]&&"wrap"===ce[1],this.triggerUpdate()}updateWithValue(Se){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,Z=ce.startsWith("row"),Re=this.wrap;Z&&Re?this.styleCache=_:Z&&!Re?this.styleCache=A:!Z&&Re?this.styleCache=a:!Z&&!Re&&(this.styleCache=k);const Pe=String(Se).replace(";",""),pt=(0,x.hN)(Pe,this.flexGrow,this.flexShrink);this.addStyles(pt.join(" "),{direction:ce,hasWrap:Re})}triggerReflow(){const Se=this.activatedValue;if(void 0!==Se){const Te=(0,x.hN)(Se+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,Te.join(" "))}}}return Tt.\u0275fac=function(Se){return new(Se||Tt)(e.rXU(e.aKT),e.rXU(x.ZH),e.rXU(x.EA),e.rXU(n),e.rXU(x.qH))},Tt.\u0275dir=e.FsC({type:Tt,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},features:[e.Vt3]}),Tt})(),C=(()=>{class Tt extends d{constructor(){super(...arguments),this.inputs=c}}return Tt.\u0275fac=(()=>{let xt;return function(Te){return(xt||(xt=e.xGo(Tt)))(Te||Tt)}})(),Tt.\u0275dir=e.FsC({type:Tt,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[e.Vt3]}),Tt})();const A=new Map,k=new Map,_=new Map,a=new Map;let we=(()=>{class Tt extends x.r3{buildStyles(Se,Te){const ce={},[Z,Re]=Se.split(" ");switch(Z){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(Re){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,D.C5)(ce,{display:Te.inline?"inline-flex":"flex","flex-direction":Te.layout,"box-sizing":"border-box","max-width":"stretch"===Re?(0,D.Vc)(Te.layout)?null:"100%":null,"max-height":"stretch"===Re&&(0,D.Vc)(Te.layout)?"100%":null})}}return Tt.\u0275fac=(()=>{let xt;return function(Te){return(xt||(xt=e.xGo(Tt)))(Te||Tt)}})(),Tt.\u0275prov=e.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"}),Tt})();const Ue=["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 vt=(()=>{class Tt extends x.DJ{constructor(Se,Te,ce,Z){super(Se,ce,Te,Z),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,w.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(Se){const Te=this.layout||"row",ce=this.inline;"row"===Te&&ce?this.styleCache=jt:"row"!==Te||ce?"row-reverse"===Te&&ce?this.styleCache=et:"row-reverse"!==Te||ce?"column"===Te&&ce?this.styleCache=Je:"column"!==Te||ce?"column-reverse"===Te&&ce?this.styleCache=Ae:"column-reverse"===Te&&!ce&&(this.styleCache=yt):this.styleCache=qt:this.styleCache=Nt:this.styleCache=nt,this.addStyles(Se,{layout:Te,inline:ce})}onLayoutChange(Se){const Te=Se.value.split(" ");this.layout=Te[0],this.inline=Se.value.includes("inline"),D.Uo.find(ce=>ce===this.layout)||(this.layout="row"),this.triggerUpdate()}}return Tt.\u0275fac=function(Se){return new(Se||Tt)(e.rXU(e.aKT),e.rXU(x.ZH),e.rXU(we),e.rXU(x.qH))},Tt.\u0275dir=e.FsC({type:Tt,features:[e.Vt3]}),Tt})(),$e=(()=>{class Tt extends vt{constructor(){super(...arguments),this.inputs=Ue}}return Tt.\u0275fac=(()=>{let xt;return function(Te){return(xt||(xt=e.xGo(Tt)))(Te||Tt)}})(),Tt.\u0275dir=e.FsC({type:Tt,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[e.Vt3]}),Tt})();const nt=new Map,qt=new Map,Nt=new Map,yt=new Map,jt=new Map,Je=new Map,et=new Map,Ae=new Map;let Qt=(()=>{class Tt{}return Tt.\u0275fac=function(Se){return new(Se||Tt)},Tt.\u0275mod=e.$C({type:Tt}),Tt.\u0275inj=e.G2t({imports:[x.Ui,t.jI]}),Tt})()},9417:(Qe,te,g)=>{"use strict";g.d(te,{BC:()=>ue,JD:()=>Ba,Q0:()=>wa,VZ:()=>Ro,X1:()=>Pi,YN:()=>Gr,YS:()=>$r,cV:()=>Jn,cb:()=>Be,cz:()=>Q,hs:()=>Ai,j4:()=>Ur,k0:()=>ee,kq:()=>h,l_:()=>za,me:()=>j,ok:()=>ao,qT:()=>fr,vO:()=>Ie,vS:()=>Xr,xq:()=>pa,zX:()=>no,ze:()=>$a});var e=g(4438),t=g(177),x=g(2806),D=g(7468),l=g(1413),w=g(6354);let f=(()=>{class it{constructor(Ve,Dt){this._renderer=Ve,this._elementRef=Dt,this.onChange=ai=>{},this.onTouched=()=>{}}setProperty(Ve,Dt){this._renderer.setProperty(this._elementRef.nativeElement,Ve,Dt)}registerOnTouched(Ve){this.onTouched=Ve}registerOnChange(Ve){this.onChange=Ve}setDisabledState(Ve){this.setProperty("disabled",Ve)}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(e.sFG),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:it})}}return it})(),R=(()=>{class it extends f{static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275dir=e.FsC({type:it,features:[e.Vt3]})}}return it})();const h=new e.nKC(""),O={provide:h,useExisting:(0,e.Rfq)(()=>j),multi:!0},V=new e.nKC("");let j=(()=>{class it extends f{constructor(Ve,Dt,ai){super(Ve,Dt),this._compositionMode=ai,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function I(){const it=(0,t.QT)()?(0,t.QT)().getUserAgent():"";return/android (\d+)/.test(it.toLowerCase())}())}writeValue(Ve){this.setProperty("value",Ve??"")}_handleInput(Ve){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ve)}_compositionStart(){this._composing=!0}_compositionEnd(Ve){this._composing=!1,this._compositionMode&&this.onChange(Ve)}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(V,8))}}static{this.\u0275dir=e.FsC({type:it,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(Dt,ai){1&Dt&&e.bIt("input",function(er){return ai._handleInput(er.target.value)})("blur",function(){return ai.onTouched()})("compositionstart",function(){return ai._compositionStart()})("compositionend",function(er){return ai._compositionEnd(er.target.value)})},features:[e.Jv_([O]),e.Vt3]})}}return it})();function Y(it){return null==it||("string"==typeof it||Array.isArray(it))&&0===it.length}function W(it){return null!=it&&"number"==typeof it.length}const Q=new e.nKC(""),J=new e.nKC(""),ie=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ee{static min(ut){return fe(ut)}static max(ut){return ne(ut)}static required(ut){return Me(ut)}static requiredTrue(ut){return Ce(ut)}static email(ut){return function le(it){return Y(it.value)||ie.test(it.value)?null:{email:!0}}(ut)}static minLength(ut){return function T(it){return ut=>Y(ut.value)||!W(ut.value)?null:ut.value.lengthW(ut.value)&&ut.value.length>it?{maxlength:{requiredLength:it,actualLength:ut.value.length}}:null}(ut)}static pattern(ut){return function c(it){if(!it)return m;let ut,Ve;return"string"==typeof it?(Ve="","^"!==it.charAt(0)&&(Ve+="^"),Ve+=it,"$"!==it.charAt(it.length-1)&&(Ve+="$"),ut=new RegExp(Ve)):(Ve=it.toString(),ut=it),Dt=>{if(Y(Dt.value))return null;const ai=Dt.value;return ut.test(ai)?null:{pattern:{requiredPattern:Ve,actualValue:ai}}}}(ut)}static nullValidator(ut){return null}static compose(ut){return b(ut)}static composeAsync(ut){return N(ut)}}function fe(it){return ut=>{if(Y(ut.value)||Y(it))return null;const Ve=parseFloat(ut.value);return!isNaN(Ve)&&Ve{if(Y(ut.value)||Y(it))return null;const Ve=parseFloat(ut.value);return!isNaN(Ve)&&Ve>it?{max:{max:it,actual:ut.value}}:null}}function Me(it){return Y(it.value)?{required:!0}:null}function Ce(it){return!0===it.value?null:{required:!0}}function m(it){return null}function d(it){return null!=it}function C(it){return(0,e.jNT)(it)?(0,x.H)(it):it}function A(it){let ut={};return it.forEach(Ve=>{ut=null!=Ve?{...ut,...Ve}:ut}),0===Object.keys(ut).length?null:ut}function k(it,ut){return ut.map(Ve=>Ve(it))}function a(it){return it.map(ut=>function _(it){return!it.validate}(ut)?ut:Ve=>ut.validate(Ve))}function b(it){if(!it)return null;const ut=it.filter(d);return 0==ut.length?null:function(Ve){return A(k(Ve,ut))}}function z(it){return null!=it?b(a(it)):null}function N(it){if(!it)return null;const ut=it.filter(d);return 0==ut.length?null:function(Ve){const Dt=k(Ve,ut).map(C);return(0,D.p)(Dt).pipe((0,w.T)(A))}}function q(it){return null!=it?N(a(it)):null}function pe(it,ut){return null===it?[ut]:Array.isArray(it)?[...it,ut]:[it,ut]}function ze(it){return it._rawValidators}function Xe(it){return it._rawAsyncValidators}function We(it){return it?Array.isArray(it)?it:[it]:[]}function oe(it,ut){return Array.isArray(it)?it.includes(ut):it===ut}function X(it,ut){const Ve=We(ut);return We(it).forEach(ai=>{oe(Ve,ai)||Ve.push(ai)}),Ve}function se(it,ut){return We(ut).filter(Ve=>!oe(it,Ve))}class ae{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ut){this._rawValidators=ut||[],this._composedValidatorFn=z(this._rawValidators)}_setAsyncValidators(ut){this._rawAsyncValidators=ut||[],this._composedAsyncValidatorFn=q(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ut){this._onDestroyCallbacks.push(ut)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ut=>ut()),this._onDestroyCallbacks=[]}reset(ut=void 0){this.control&&this.control.reset(ut)}hasError(ut,Ve){return!!this.control&&this.control.hasError(ut,Ve)}getError(ut,Ve){return this.control?this.control.getError(ut,Ve):null}}class he extends ae{get formDirective(){return null}get path(){return null}}class Ie extends ae{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class st{constructor(ut){this._cd=ut}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let ue=(()=>{class it extends st{constructor(Ve){super(Ve)}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(Ie,2))}}static{this.\u0275dir=e.FsC({type:it,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Dt,ai){2&Dt&&e.AVh("ng-untouched",ai.isUntouched)("ng-touched",ai.isTouched)("ng-pristine",ai.isPristine)("ng-dirty",ai.isDirty)("ng-valid",ai.isValid)("ng-invalid",ai.isInvalid)("ng-pending",ai.isPending)},features:[e.Vt3]})}}return it})(),Be=(()=>{class it extends st{constructor(Ve){super(Ve)}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(he,10))}}static{this.\u0275dir=e.FsC({type:it,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Dt,ai){2&Dt&&e.AVh("ng-untouched",ai.isUntouched)("ng-touched",ai.isTouched)("ng-pristine",ai.isPristine)("ng-dirty",ai.isDirty)("ng-valid",ai.isValid)("ng-invalid",ai.isInvalid)("ng-pending",ai.isPending)("ng-submitted",ai.isSubmitted)},features:[e.Vt3]})}}return it})();const Ae="VALID",It="INVALID",Qt="PENDING",Tt="DISABLED";class xt{}class Se extends xt{constructor(ut,Ve){super(),this.value=ut,this.source=Ve}}class Te extends xt{constructor(ut,Ve){super(),this.pristine=ut,this.source=Ve}}class ce extends xt{constructor(ut,Ve){super(),this.touched=ut,this.source=Ve}}class Z extends xt{constructor(ut,Ve){super(),this.status=ut,this.source=Ve}}class Re extends xt{constructor(ut){super(),this.source=ut}}class Pe extends xt{constructor(ut){super(),this.source=ut}}function pt(it){return(qe(it)?it.validators:it)||null}function Fe(it,ut){return(qe(ut)?ut.asyncValidators:it)||null}function qe(it){return null!=it&&!Array.isArray(it)&&"object"==typeof it}function at(it,ut,Ve){const Dt=it.controls;if(!(ut?Object.keys(Dt):Dt).length)throw new e.wOt(1e3,"");if(!Dt[Ve])throw new e.wOt(1001,"")}function Lt(it,ut,Ve){it._forEachChild((Dt,ai)=>{if(void 0===Ve[ai])throw new e.wOt(1002,"")})}class pi{constructor(ut,Ve){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,e.EWP)(()=>this.statusReactive()),this.statusReactive=(0,e.vPA)(void 0),this._pristine=(0,e.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,e.vPA)(!0),this._touched=(0,e.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,e.vPA)(!1),this._events=new l.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(ut),this._assignAsyncValidators(Ve)}get validator(){return this._composedValidatorFn}set validator(ut){this._rawValidators=this._composedValidatorFn=ut}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ut){this._rawAsyncValidators=this._composedAsyncValidatorFn=ut}get parent(){return this._parent}get status(){return(0,e.O8t)(this.statusReactive)}set status(ut){(0,e.O8t)(()=>this.statusReactive.set(ut))}get valid(){return this.status===Ae}get invalid(){return this.status===It}get pending(){return this.status==Qt}get disabled(){return this.status===Tt}get enabled(){return this.status!==Tt}get pristine(){return(0,e.O8t)(this.pristineReactive)}set pristine(ut){(0,e.O8t)(()=>this.pristineReactive.set(ut))}get dirty(){return!this.pristine}get touched(){return(0,e.O8t)(this.touchedReactive)}set touched(ut){(0,e.O8t)(()=>this.touchedReactive.set(ut))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ut){this._assignValidators(ut)}setAsyncValidators(ut){this._assignAsyncValidators(ut)}addValidators(ut){this.setValidators(X(ut,this._rawValidators))}addAsyncValidators(ut){this.setAsyncValidators(X(ut,this._rawAsyncValidators))}removeValidators(ut){this.setValidators(se(ut,this._rawValidators))}removeAsyncValidators(ut){this.setAsyncValidators(se(ut,this._rawAsyncValidators))}hasValidator(ut){return oe(this._rawValidators,ut)}hasAsyncValidator(ut){return oe(this._rawAsyncValidators,ut)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ut={}){const Ve=!1===this.touched;this.touched=!0;const Dt=ut.sourceControl??this;this._parent&&!ut.onlySelf&&this._parent.markAsTouched({...ut,sourceControl:Dt}),Ve&&!1!==ut.emitEvent&&this._events.next(new ce(!0,Dt))}markAllAsTouched(ut={}){this.markAsTouched({onlySelf:!0,emitEvent:ut.emitEvent,sourceControl:this}),this._forEachChild(Ve=>Ve.markAllAsTouched(ut))}markAsUntouched(ut={}){const Ve=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Dt=ut.sourceControl??this;this._forEachChild(ai=>{ai.markAsUntouched({onlySelf:!0,emitEvent:ut.emitEvent,sourceControl:Dt})}),this._parent&&!ut.onlySelf&&this._parent._updateTouched(ut,Dt),Ve&&!1!==ut.emitEvent&&this._events.next(new ce(!1,Dt))}markAsDirty(ut={}){const Ve=!0===this.pristine;this.pristine=!1;const Dt=ut.sourceControl??this;this._parent&&!ut.onlySelf&&this._parent.markAsDirty({...ut,sourceControl:Dt}),Ve&&!1!==ut.emitEvent&&this._events.next(new Te(!1,Dt))}markAsPristine(ut={}){const Ve=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Dt=ut.sourceControl??this;this._forEachChild(ai=>{ai.markAsPristine({onlySelf:!0,emitEvent:ut.emitEvent})}),this._parent&&!ut.onlySelf&&this._parent._updatePristine(ut,Dt),Ve&&!1!==ut.emitEvent&&this._events.next(new Te(!0,Dt))}markAsPending(ut={}){this.status=Qt;const Ve=ut.sourceControl??this;!1!==ut.emitEvent&&(this._events.next(new Z(this.status,Ve)),this.statusChanges.emit(this.status)),this._parent&&!ut.onlySelf&&this._parent.markAsPending({...ut,sourceControl:Ve})}disable(ut={}){const Ve=this._parentMarkedDirty(ut.onlySelf);this.status=Tt,this.errors=null,this._forEachChild(ai=>{ai.disable({...ut,onlySelf:!0})}),this._updateValue();const Dt=ut.sourceControl??this;!1!==ut.emitEvent&&(this._events.next(new Se(this.value,Dt)),this._events.next(new Z(this.status,Dt)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ut,skipPristineCheck:Ve},this),this._onDisabledChange.forEach(ai=>ai(!0))}enable(ut={}){const Ve=this._parentMarkedDirty(ut.onlySelf);this.status=Ae,this._forEachChild(Dt=>{Dt.enable({...ut,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ut.emitEvent}),this._updateAncestors({...ut,skipPristineCheck:Ve},this),this._onDisabledChange.forEach(Dt=>Dt(!1))}_updateAncestors(ut,Ve){this._parent&&!ut.onlySelf&&(this._parent.updateValueAndValidity(ut),ut.skipPristineCheck||this._parent._updatePristine({},Ve),this._parent._updateTouched({},Ve))}setParent(ut){this._parent=ut}getRawValue(){return this.value}updateValueAndValidity(ut={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Dt=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ae||this.status===Qt)&&this._runAsyncValidator(Dt,ut.emitEvent)}const Ve=ut.sourceControl??this;!1!==ut.emitEvent&&(this._events.next(new Se(this.value,Ve)),this._events.next(new Z(this.status,Ve)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ut.onlySelf&&this._parent.updateValueAndValidity({...ut,sourceControl:Ve})}_updateTreeValidity(ut={emitEvent:!0}){this._forEachChild(Ve=>Ve._updateTreeValidity(ut)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ut.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Tt:Ae}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ut,Ve){if(this.asyncValidator){this.status=Qt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==Ve};const Dt=C(this.asyncValidator(this));this._asyncValidationSubscription=Dt.subscribe(ai=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(ai,{emitEvent:Ve,shouldHaveEmitted:ut})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const ut=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,ut}return!1}setErrors(ut,Ve={}){this.errors=ut,this._updateControlsErrors(!1!==Ve.emitEvent,this,Ve.shouldHaveEmitted)}get(ut){let Ve=ut;return null==Ve||(Array.isArray(Ve)||(Ve=Ve.split(".")),0===Ve.length)?null:Ve.reduce((Dt,ai)=>Dt&&Dt._find(ai),this)}getError(ut,Ve){const Dt=Ve?this.get(Ve):this;return Dt&&Dt.errors?Dt.errors[ut]:null}hasError(ut,Ve){return!!this.getError(ut,Ve)}get root(){let ut=this;for(;ut._parent;)ut=ut._parent;return ut}_updateControlsErrors(ut,Ve,Dt){this.status=this._calculateStatus(),ut&&this.statusChanges.emit(this.status),(ut||Dt)&&this._events.next(new Z(this.status,Ve)),this._parent&&this._parent._updateControlsErrors(ut,Ve,Dt)}_initObservables(){this.valueChanges=new e.bkB,this.statusChanges=new e.bkB}_calculateStatus(){return this._allControlsDisabled()?Tt:this.errors?It:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Qt)?Qt:this._anyControlsHaveStatus(It)?It:Ae}_anyControlsHaveStatus(ut){return this._anyControls(Ve=>Ve.status===ut)}_anyControlsDirty(){return this._anyControls(ut=>ut.dirty)}_anyControlsTouched(){return this._anyControls(ut=>ut.touched)}_updatePristine(ut,Ve){const Dt=!this._anyControlsDirty(),ai=this.pristine!==Dt;this.pristine=Dt,this._parent&&!ut.onlySelf&&this._parent._updatePristine(ut,Ve),ai&&this._events.next(new Te(this.pristine,Ve))}_updateTouched(ut={},Ve){this.touched=this._anyControlsTouched(),this._events.next(new ce(this.touched,Ve)),this._parent&&!ut.onlySelf&&this._parent._updateTouched(ut,Ve)}_registerOnCollectionChange(ut){this._onCollectionChange=ut}_setUpdateStrategy(ut){qe(ut)&&null!=ut.updateOn&&(this._updateOn=ut.updateOn)}_parentMarkedDirty(ut){return!ut&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ut){return null}_assignValidators(ut){this._rawValidators=Array.isArray(ut)?ut.slice():ut,this._composedValidatorFn=function Ke(it){return Array.isArray(it)?z(it):it||null}(this._rawValidators)}_assignAsyncValidators(ut){this._rawAsyncValidators=Array.isArray(ut)?ut.slice():ut,this._composedAsyncValidatorFn=function Ge(it){return Array.isArray(it)?q(it):it||null}(this._rawAsyncValidators)}}class $t extends pi{constructor(ut,Ve,Dt){super(pt(Ve),Fe(Dt,Ve)),this.controls=ut,this._initObservables(),this._setUpdateStrategy(Ve),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ut,Ve){return this.controls[ut]?this.controls[ut]:(this.controls[ut]=Ve,Ve.setParent(this),Ve._registerOnCollectionChange(this._onCollectionChange),Ve)}addControl(ut,Ve,Dt={}){this.registerControl(ut,Ve),this.updateValueAndValidity({emitEvent:Dt.emitEvent}),this._onCollectionChange()}removeControl(ut,Ve={}){this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),delete this.controls[ut],this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}setControl(ut,Ve,Dt={}){this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),delete this.controls[ut],Ve&&this.registerControl(ut,Ve),this.updateValueAndValidity({emitEvent:Dt.emitEvent}),this._onCollectionChange()}contains(ut){return this.controls.hasOwnProperty(ut)&&this.controls[ut].enabled}setValue(ut,Ve={}){Lt(this,0,ut),Object.keys(ut).forEach(Dt=>{at(this,!0,Dt),this.controls[Dt].setValue(ut[Dt],{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve)}patchValue(ut,Ve={}){null!=ut&&(Object.keys(ut).forEach(Dt=>{const ai=this.controls[Dt];ai&&ai.patchValue(ut[Dt],{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve))}reset(ut={},Ve={}){this._forEachChild((Dt,ai)=>{Dt.reset(ut?ut[ai]:null,{onlySelf:!0,emitEvent:Ve.emitEvent})}),this._updatePristine(Ve,this),this._updateTouched(Ve,this),this.updateValueAndValidity(Ve)}getRawValue(){return this._reduceChildren({},(ut,Ve,Dt)=>(ut[Dt]=Ve.getRawValue(),ut))}_syncPendingControls(){let ut=this._reduceChildren(!1,(Ve,Dt)=>!!Dt._syncPendingControls()||Ve);return ut&&this.updateValueAndValidity({onlySelf:!0}),ut}_forEachChild(ut){Object.keys(this.controls).forEach(Ve=>{const Dt=this.controls[Ve];Dt&&ut(Dt,Ve)})}_setUpControls(){this._forEachChild(ut=>{ut.setParent(this),ut._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ut){for(const[Ve,Dt]of Object.entries(this.controls))if(this.contains(Ve)&&ut(Dt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ve,Dt,ai)=>((Dt.enabled||this.disabled)&&(Ve[ai]=Dt.value),Ve))}_reduceChildren(ut,Ve){let Dt=ut;return this._forEachChild((ai,vn)=>{Dt=Ve(Dt,ai,vn)}),Dt}_allControlsDisabled(){for(const ut of Object.keys(this.controls))if(this.controls[ut].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ut){return this.controls.hasOwnProperty(ut)?this.controls[ut]:null}}class fi extends $t{}const tn=new e.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Vi}),Vi="always";function Qi(it,ut){return[...ut.path,it]}function Xt(it,ut,Ve=Vi){Mt(it,ut),ut.valueAccessor.writeValue(it.value),(it.disabled||"always"===Ve)&&ut.valueAccessor.setDisabledState?.(it.disabled),function Ci(it,ut){ut.valueAccessor.registerOnChange(Ve=>{it._pendingValue=Ve,it._pendingChange=!0,it._pendingDirty=!0,"change"===it.updateOn&&Hi(it,ut)})}(it,ut),function Zi(it,ut){const Ve=(Dt,ai)=>{ut.valueAccessor.writeValue(Dt),ai&&ut.viewToModelUpdate(Dt)};it.registerOnChange(Ve),ut._registerOnDestroy(()=>{it._unregisterOnChange(Ve)})}(it,ut),function Ti(it,ut){ut.valueAccessor.registerOnTouched(()=>{it._pendingTouched=!0,"blur"===it.updateOn&&it._pendingChange&&Hi(it,ut),"submit"!==it.updateOn&&it.markAsTouched()})}(it,ut),function ot(it,ut){if(ut.valueAccessor.setDisabledState){const Ve=Dt=>{ut.valueAccessor.setDisabledState(Dt)};it.registerOnDisabledChange(Ve),ut._registerOnDestroy(()=>{it._unregisterOnDisabledChange(Ve)})}}(it,ut)}function St(it,ut,Ve=!0){const Dt=()=>{};ut.valueAccessor&&(ut.valueAccessor.registerOnChange(Dt),ut.valueAccessor.registerOnTouched(Dt)),Bt(it,ut),it&&(ut._invokeOnDestroyCallbacks(),it._registerOnCollectionChange(()=>{}))}function tt(it,ut){it.forEach(Ve=>{Ve.registerOnValidatorChange&&Ve.registerOnValidatorChange(ut)})}function Mt(it,ut){const Ve=ze(it);null!==ut.validator?it.setValidators(pe(Ve,ut.validator)):"function"==typeof Ve&&it.setValidators([Ve]);const Dt=Xe(it);null!==ut.asyncValidator?it.setAsyncValidators(pe(Dt,ut.asyncValidator)):"function"==typeof Dt&&it.setAsyncValidators([Dt]);const ai=()=>it.updateValueAndValidity();tt(ut._rawValidators,ai),tt(ut._rawAsyncValidators,ai)}function Bt(it,ut){let Ve=!1;if(null!==it){if(null!==ut.validator){const ai=ze(it);if(Array.isArray(ai)&&ai.length>0){const vn=ai.filter(er=>er!==ut.validator);vn.length!==ai.length&&(Ve=!0,it.setValidators(vn))}}if(null!==ut.asyncValidator){const ai=Xe(it);if(Array.isArray(ai)&&ai.length>0){const vn=ai.filter(er=>er!==ut.asyncValidator);vn.length!==ai.length&&(Ve=!0,it.setAsyncValidators(vn))}}}const Dt=()=>{};return tt(ut._rawValidators,Dt),tt(ut._rawAsyncValidators,Dt),Ve}function Hi(it,ut){it._pendingDirty&&it.markAsDirty(),it.setValue(it._pendingValue,{emitModelToViewChange:!1}),ut.viewToModelUpdate(it._pendingValue),it._pendingChange=!1}function ln(it,ut){Mt(it,ut)}function rt(it,ut){if(!it.hasOwnProperty("model"))return!1;const Ve=it.model;return!!Ve.isFirstChange()||!Object.is(ut,Ve.currentValue)}function ii(it,ut){it._syncPendingControls(),ut.forEach(Ve=>{const Dt=Ve.control;"submit"===Dt.updateOn&&Dt._pendingChange&&(Ve.viewToModelUpdate(Dt._pendingValue),Dt._pendingChange=!1)})}function di(it,ut){if(!ut)return null;let Ve,Dt,ai;return Array.isArray(ut),ut.forEach(vn=>{vn.constructor===j?Ve=vn:function ht(it){return Object.getPrototypeOf(it.constructor)===R}(vn)?Dt=vn:ai=vn}),ai||Dt||Ve||null}const Hn={provide:he,useExisting:(0,e.Rfq)(()=>Jn)},Qn=Promise.resolve();let Jn=(()=>{class it extends he{get submitted(){return(0,e.O8t)(this.submittedReactive)}constructor(Ve,Dt,ai){super(),this.callSetDisabledState=ai,this._submitted=(0,e.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,e.vPA)(!1),this._directives=new Set,this.ngSubmit=new e.bkB,this.form=new $t({},z(Ve),q(Dt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Ve){Qn.then(()=>{const Dt=this._findContainer(Ve.path);Ve.control=Dt.registerControl(Ve.name,Ve.control),Xt(Ve.control,Ve,this.callSetDisabledState),Ve.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Ve)})}getControl(Ve){return this.form.get(Ve.path)}removeControl(Ve){Qn.then(()=>{const Dt=this._findContainer(Ve.path);Dt&&Dt.removeControl(Ve.name),this._directives.delete(Ve)})}addFormGroup(Ve){Qn.then(()=>{const Dt=this._findContainer(Ve.path),ai=new $t({});ln(ai,Ve),Dt.registerControl(Ve.name,ai),ai.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Ve){Qn.then(()=>{const Dt=this._findContainer(Ve.path);Dt&&Dt.removeControl(Ve.name)})}getFormGroup(Ve){return this.form.get(Ve.path)}updateModel(Ve,Dt){Qn.then(()=>{this.form.get(Ve.path).setValue(Dt)})}setValue(Ve){this.control.setValue(Ve)}onSubmit(Ve){return this.submittedReactive.set(!0),ii(this.form,this._directives),this.ngSubmit.emit(Ve),"dialog"===Ve?.target?.method}onReset(){this.resetForm()}resetForm(Ve=void 0){this.form.reset(Ve),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Ve){return Ve.pop(),Ve.length?this.form.get(Ve):this.form}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(Q,10),e.rXU(J,10),e.rXU(tn,8))}}static{this.\u0275dir=e.FsC({type:it,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Dt,ai){1&Dt&&e.bIt("submit",function(er){return ai.onSubmit(er)})("reset",function(){return ai.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.Jv_([Hn]),e.Vt3]})}}return it})();function nr(it,ut){const Ve=it.indexOf(ut);Ve>-1&&it.splice(Ve,1)}function dr(it){return"object"==typeof it&&null!==it&&2===Object.keys(it).length&&"value"in it&&"disabled"in it}const wn=class extends pi{constructor(ut=null,Ve,Dt){super(pt(Ve),Fe(Dt,Ve)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ut),this._setUpdateStrategy(Ve),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),qe(Ve)&&(Ve.nonNullable||Ve.initialValueIsDefault)&&(this.defaultValue=dr(ut)?ut.value:ut)}setValue(ut,Ve={}){this.value=this._pendingValue=ut,this._onChange.length&&!1!==Ve.emitModelToViewChange&&this._onChange.forEach(Dt=>Dt(this.value,!1!==Ve.emitViewToModelChange)),this.updateValueAndValidity(Ve)}patchValue(ut,Ve={}){this.setValue(ut,Ve)}reset(ut=this.defaultValue,Ve={}){this._applyFormState(ut),this.markAsPristine(Ve),this.markAsUntouched(Ve),this.setValue(this.value,Ve),this._pendingChange=!1}_updateValue(){}_anyControls(ut){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ut){this._onChange.push(ut)}_unregisterOnChange(ut){nr(this._onChange,ut)}registerOnDisabledChange(ut){this._onDisabledChange.push(ut)}_unregisterOnDisabledChange(ut){nr(this._onDisabledChange,ut)}_forEachChild(ut){}_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(ut){dr(ut)?(this.value=this._pendingValue=ut.value,ut.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ut}},Ai=wn,ir={provide:Ie,useExisting:(0,e.Rfq)(()=>Xr)},gn=Promise.resolve();let Xr=(()=>{class it extends Ie{constructor(Ve,Dt,ai,vn,er,Oo){super(),this._changeDetectorRef=er,this.callSetDisabledState=Oo,this.control=new wn,this._registered=!1,this.name="",this.update=new e.bkB,this._parent=Ve,this._setValidators(Dt),this._setAsyncValidators(ai),this.valueAccessor=di(0,vn)}ngOnChanges(Ve){if(this._checkForErrors(),!this._registered||"name"in Ve){if(this._registered&&(this._checkName(),this.formDirective)){const Dt=Ve.name.previousValue;this.formDirective.removeControl({name:Dt,path:this._getPath(Dt)})}this._setUpControl()}"isDisabled"in Ve&&this._updateDisabled(Ve),rt(Ve,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(Ve){this.viewModel=Ve,this.update.emit(Ve)}_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(){Xt(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(Ve){gn.then(()=>{this.control.setValue(Ve,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ve){const Dt=Ve.isDisabled.currentValue,ai=0!==Dt&&(0,e.L39)(Dt);gn.then(()=>{ai&&!this.control.disabled?this.control.disable():!ai&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ve){return this._parent?Qi(Ve,this._parent):[Ve]}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(he,9),e.rXU(Q,10),e.rXU(J,10),e.rXU(h,10),e.rXU(e.gRc,8),e.rXU(tn,8))}}static{this.\u0275dir=e.FsC({type:it,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:[e.Jv_([ir]),e.Vt3,e.OA$]})}}return it})(),fr=(()=>{class it{static{this.\u0275fac=function(Dt){return new(Dt||it)}}static{this.\u0275dir=e.FsC({type:it,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return it})();const mr={provide:h,useExisting:(0,e.Rfq)(()=>wa),multi:!0};let wa=(()=>{class it extends R{writeValue(Ve){this.setProperty("value",Ve??"")}registerOnChange(Ve){this.onChange=Dt=>{Ve(""==Dt?null:parseFloat(Dt))}}static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275dir=e.FsC({type:it,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Dt,ai){1&Dt&&e.bIt("input",function(er){return ai.onChange(er.target.value)})("blur",function(){return ai.onTouched()})},features:[e.Jv_([mr]),e.Vt3]})}}return it})();const Or=new e.nKC(""),hs={provide:Ie,useExisting:(0,e.Rfq)(()=>za)};let za=(()=>{class it extends Ie{set isDisabled(Ve){}static{this._ngModelWarningSentOnce=!1}constructor(Ve,Dt,ai,vn,er){super(),this._ngModelWarningConfig=vn,this.callSetDisabledState=er,this.update=new e.bkB,this._ngModelWarningSent=!1,this._setValidators(Ve),this._setAsyncValidators(Dt),this.valueAccessor=di(0,ai)}ngOnChanges(Ve){if(this._isControlChanged(Ve)){const Dt=Ve.form.previousValue;Dt&&St(Dt,this,!1),Xt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}rt(Ve,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&St(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ve){this.viewModel=Ve,this.update.emit(Ve)}_isControlChanged(Ve){return Ve.hasOwnProperty("form")}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(Q,10),e.rXU(J,10),e.rXU(h,10),e.rXU(Or,8),e.rXU(tn,8))}}static{this.\u0275dir=e.FsC({type:it,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e.Jv_([hs]),e.Vt3,e.OA$]})}}return it})();const Fr={provide:he,useExisting:(0,e.Rfq)(()=>Ur)};let Ur=(()=>{class it extends he{get submitted(){return(0,e.O8t)(this._submittedReactive)}set submitted(Ve){this._submittedReactive.set(Ve)}constructor(Ve,Dt,ai){super(),this.callSetDisabledState=ai,this._submitted=(0,e.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,e.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.bkB,this._setValidators(Ve),this._setAsyncValidators(Dt)}ngOnChanges(Ve){this._checkFormPresent(),Ve.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Bt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ve){const Dt=this.form.get(Ve.path);return Xt(Dt,Ve,this.callSetDisabledState),Dt.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ve),Dt}getControl(Ve){return this.form.get(Ve.path)}removeControl(Ve){St(Ve.control||null,Ve,!1),function Gi(it,ut){const Ve=it.indexOf(ut);Ve>-1&&it.splice(Ve,1)}(this.directives,Ve)}addFormGroup(Ve){this._setUpFormContainer(Ve)}removeFormGroup(Ve){this._cleanUpFormContainer(Ve)}getFormGroup(Ve){return this.form.get(Ve.path)}addFormArray(Ve){this._setUpFormContainer(Ve)}removeFormArray(Ve){this._cleanUpFormContainer(Ve)}getFormArray(Ve){return this.form.get(Ve.path)}updateModel(Ve,Dt){this.form.get(Ve.path).setValue(Dt)}onSubmit(Ve){return this._submittedReactive.set(!0),ii(this.form,this.directives),this.ngSubmit.emit(Ve),this.form._events.next(new Re(this.control)),"dialog"===Ve?.target?.method}onReset(){this.resetForm()}resetForm(Ve=void 0){this.form.reset(Ve),this._submittedReactive.set(!1),this.form._events.next(new Pe(this.form))}_updateDomValue(){this.directives.forEach(Ve=>{const Dt=Ve.control,ai=this.form.get(Ve.path);Dt!==ai&&(St(Dt||null,Ve),(it=>it instanceof wn)(ai)&&(Xt(ai,Ve,this.callSetDisabledState),Ve.control=ai))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ve){const Dt=this.form.get(Ve.path);ln(Dt,Ve),Dt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ve){if(this.form){const Dt=this.form.get(Ve.path);Dt&&function mn(it,ut){return Bt(it,ut)}(Dt,Ve)&&Dt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Mt(this.form,this),this._oldForm&&Bt(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(Q,10),e.rXU(J,10),e.rXU(tn,8))}}static{this.\u0275dir=e.FsC({type:it,selectors:[["","formGroup",""]],hostBindings:function(Dt,ai){1&Dt&&e.bIt("submit",function(er){return ai.onSubmit(er)})("reset",function(){return ai.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.Jv_([Fr]),e.Vt3,e.OA$]})}}return it})();const Do={provide:Ie,useExisting:(0,e.Rfq)(()=>Ba)};let Ba=(()=>{class it extends Ie{set isDisabled(Ve){}static{this._ngModelWarningSentOnce=!1}constructor(Ve,Dt,ai,vn,er){super(),this._ngModelWarningConfig=er,this._added=!1,this.name=null,this.update=new e.bkB,this._ngModelWarningSent=!1,this._parent=Ve,this._setValidators(Dt),this._setAsyncValidators(ai),this.valueAccessor=di(0,vn)}ngOnChanges(Ve){this._added||this._setUpControl(),rt(Ve,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ve){this.viewModel=Ve,this.update.emit(Ve)}get path(){return Qi(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(Dt){return new(Dt||it)(e.rXU(he,13),e.rXU(Q,10),e.rXU(J,10),e.rXU(h,10),e.rXU(Or,8))}}static{this.\u0275dir=e.FsC({type:it,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[e.Jv_([Do]),e.Vt3,e.OA$]})}}return it})();function Io(it){return"number"==typeof it?it:parseFloat(it)}let Ua=(()=>{class it{constructor(){this._validator=m}ngOnChanges(Ve){if(this.inputName in Ve){const Dt=this.normalizeInput(Ve[this.inputName].currentValue);this._enabled=this.enabled(Dt),this._validator=this._enabled?this.createValidator(Dt):m,this._onChange&&this._onChange()}}validate(Ve){return this._validator(Ve)}registerOnValidatorChange(Ve){this._onChange=Ve}enabled(Ve){return null!=Ve}static{this.\u0275fac=function(Dt){return new(Dt||it)}}static{this.\u0275dir=e.FsC({type:it,features:[e.OA$]})}}return it})();const ma={provide:Q,useExisting:(0,e.Rfq)(()=>no),multi:!0};let no=(()=>{class it extends Ua{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ve=>Io(Ve),this.createValidator=Ve=>ne(Ve)}static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275dir=e.FsC({type:it,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Dt,ai){2&Dt&&e.BMQ("max",ai._enabled?ai.max:null)},inputs:{max:"max"},features:[e.Jv_([ma]),e.Vt3]})}}return it})();const ta={provide:Q,useExisting:(0,e.Rfq)(()=>Ro),multi:!0};let Ro=(()=>{class it extends Ua{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ve=>Io(Ve),this.createValidator=Ve=>fe(Ve)}static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275dir=e.FsC({type:it,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Dt,ai){2&Dt&&e.BMQ("min",ai._enabled?ai.min:null)},inputs:{min:"min"},features:[e.Jv_([ta]),e.Vt3]})}}return it})();const As={provide:Q,useExisting:(0,e.Rfq)(()=>$r),multi:!0},bo={provide:Q,useExisting:(0,e.Rfq)(()=>pa),multi:!0};let $r=(()=>{class it extends Ua{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.L39,this.createValidator=Ve=>Me}enabled(Ve){return Ve}static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275dir=e.FsC({type:it,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Dt,ai){2&Dt&&e.BMQ("required",ai._enabled?"":null)},inputs:{required:"required"},features:[e.Jv_([As]),e.Vt3]})}}return it})(),pa=(()=>{class it extends $r{constructor(){super(...arguments),this.createValidator=Ve=>Ce}static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275dir=e.FsC({type:it,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Dt,ai){2&Dt&&e.BMQ("required",ai._enabled?"":null)},features:[e.Jv_([bo]),e.Vt3]})}}return it})(),Ei=(()=>{class it{static{this.\u0275fac=function(Dt){return new(Dt||it)}}static{this.\u0275mod=e.$C({type:it})}static{this.\u0275inj=e.G2t({})}}return it})();class Ji extends pi{constructor(ut,Ve,Dt){super(pt(Ve),Fe(Dt,Ve)),this.controls=ut,this._initObservables(),this._setUpdateStrategy(Ve),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ut){return this.controls[this._adjustIndex(ut)]}push(ut,Ve={}){this.controls.push(ut),this._registerControl(ut),this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}insert(ut,Ve,Dt={}){this.controls.splice(ut,0,Ve),this._registerControl(Ve),this.updateValueAndValidity({emitEvent:Dt.emitEvent})}removeAt(ut,Ve={}){let Dt=this._adjustIndex(ut);Dt<0&&(Dt=0),this.controls[Dt]&&this.controls[Dt]._registerOnCollectionChange(()=>{}),this.controls.splice(Dt,1),this.updateValueAndValidity({emitEvent:Ve.emitEvent})}setControl(ut,Ve,Dt={}){let ai=this._adjustIndex(ut);ai<0&&(ai=0),this.controls[ai]&&this.controls[ai]._registerOnCollectionChange(()=>{}),this.controls.splice(ai,1),Ve&&(this.controls.splice(ai,0,Ve),this._registerControl(Ve)),this.updateValueAndValidity({emitEvent:Dt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ut,Ve={}){Lt(this,0,ut),ut.forEach((Dt,ai)=>{at(this,!1,ai),this.at(ai).setValue(Dt,{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve)}patchValue(ut,Ve={}){null!=ut&&(ut.forEach((Dt,ai)=>{this.at(ai)&&this.at(ai).patchValue(Dt,{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve))}reset(ut=[],Ve={}){this._forEachChild((Dt,ai)=>{Dt.reset(ut[ai],{onlySelf:!0,emitEvent:Ve.emitEvent})}),this._updatePristine(Ve,this),this._updateTouched(Ve,this),this.updateValueAndValidity(Ve)}getRawValue(){return this.controls.map(ut=>ut.getRawValue())}clear(ut={}){this.controls.length<1||(this._forEachChild(Ve=>Ve._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ut.emitEvent}))}_adjustIndex(ut){return ut<0?ut+this.length:ut}_syncPendingControls(){let ut=this.controls.reduce((Ve,Dt)=>!!Dt._syncPendingControls()||Ve,!1);return ut&&this.updateValueAndValidity({onlySelf:!0}),ut}_forEachChild(ut){this.controls.forEach((Ve,Dt)=>{ut(Ve,Dt)})}_updateValue(){this.value=this.controls.filter(ut=>ut.enabled||this.disabled).map(ut=>ut.value)}_anyControls(ut){return this.controls.some(Ve=>Ve.enabled&&ut(Ve))}_setUpControls(){this._forEachChild(ut=>this._registerControl(ut))}_allControlsDisabled(){for(const ut of this.controls)if(ut.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ut){ut.setParent(this),ut._registerOnCollectionChange(this._onCollectionChange)}_find(ut){return this.at(ut)??null}}function Ra(it){return!!it&&(void 0!==it.asyncValidators||void 0!==it.validators||void 0!==it.updateOn)}let ao=(()=>{class it{constructor(){this.useNonNullable=!1}get nonNullable(){const Ve=new it;return Ve.useNonNullable=!0,Ve}group(Ve,Dt=null){const ai=this._reduceControls(Ve);let vn={};return Ra(Dt)?vn=Dt:null!==Dt&&(vn.validators=Dt.validator,vn.asyncValidators=Dt.asyncValidator),new $t(ai,vn)}record(Ve,Dt=null){const ai=this._reduceControls(Ve);return new fi(ai,Dt)}control(Ve,Dt,ai){let vn={};return this.useNonNullable?(Ra(Dt)?vn=Dt:(vn.validators=Dt,vn.asyncValidators=ai),new wn(Ve,{...vn,nonNullable:!0})):new wn(Ve,Dt,ai)}array(Ve,Dt,ai){const vn=Ve.map(er=>this._createControl(er));return new Ji(vn,Dt,ai)}_reduceControls(Ve){const Dt={};return Object.keys(Ve).forEach(ai=>{Dt[ai]=this._createControl(Ve[ai])}),Dt}_createControl(Ve){return Ve instanceof wn||Ve instanceof pi?Ve:Array.isArray(Ve)?this.control(Ve[0],Ve.length>1?Ve[1]:null,Ve.length>2?Ve[2]:null):this.control(Ve)}static{this.\u0275fac=function(Dt){return new(Dt||it)}}static{this.\u0275prov=e.jDH({token:it,factory:it.\u0275fac,providedIn:"root"})}}return it})(),$a=(()=>{class it extends ao{group(Ve,Dt=null){return super.group(Ve,Dt)}control(Ve,Dt,ai){return super.control(Ve,Dt,ai)}array(Ve,Dt,ai){return super.array(Ve,Dt,ai)}static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275prov=e.jDH({token:it,factory:it.\u0275fac,providedIn:"root"})}}return it})(),Gr=(()=>{class it{static withConfig(Ve){return{ngModule:it,providers:[{provide:tn,useValue:Ve.callSetDisabledState??Vi}]}}static{this.\u0275fac=function(Dt){return new(Dt||it)}}static{this.\u0275mod=e.$C({type:it})}static{this.\u0275inj=e.G2t({imports:[Ei]})}}return it})(),Pi=(()=>{class it{static withConfig(Ve){return{ngModule:it,providers:[{provide:Or,useValue:Ve.warnOnNgModelWithFormControl??"always"},{provide:tn,useValue:Ve.callSetDisabledState??Vi}]}}static{this.\u0275fac=function(Dt){return new(Dt||it)}}static{this.\u0275mod=e.$C({type:it})}static{this.\u0275inj=e.G2t({imports:[Ei]})}}return it})()},850:(Qe,te,g)=>{"use strict";g.d(te,{$3:()=>_,jL:()=>Xe,pN:()=>ze});var e=g(4438),t=g(6600),x=g(177),D=g(5542),l=g(6969),w=g(8617),f=g(6860),R=g(9969),h=g(8359),S=g(1413),y=g(9030),O=g(7786),I=g(7673),V=g(3726),j=g(7336),Y=g(6939),W=g(9417),Q=g(6467),J=g(9172),ie=g(5558),ee=g(6697),fe=g(5964),ne=g(6354),Me=g(8141),Ce=g(5335),le=g(8203);const T=["panel"],n=["*"];function c(We,oe){if(1&We){const X=e.RV6();e.j41(0,"div",1,0),e.bIt("@panelAnimation.done",function(ae){e.eBV(X);const he=e.XpG();return e.Njj(he._animationDone.next(ae))}),e.SdG(2),e.k0s()}if(2&We){const X=oe.id,se=e.XpG();e.HbH(se._classList),e.AVh("mat-mdc-autocomplete-visible",se.showPanel)("mat-mdc-autocomplete-hidden",!se.showPanel)("mat-primary","primary"===se._color)("mat-accent","accent"===se._color)("mat-warn","warn"===se._color),e.Y8G("id",se.id)("@panelAnimation",se.isOpen?"visible":"hidden"),e.BMQ("aria-label",se.ariaLabel||null)("aria-labelledby",se._getPanelAriaLabelledby(X))}}const m=(0,R.hZ)("panelAnimation",[(0,R.wk)("void, hidden",(0,R.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,R.kY)(":enter, hidden => visible",[(0,R.Os)([(0,R.i0)("0.03s linear",(0,R.iF)({opacity:1})),(0,R.i0)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,R.iF)({transform:"scaleY(1)"}))])]),(0,R.kY)(":leave, visible => hidden",[(0,R.i0)("0.075s linear",(0,R.iF)({opacity:0}))])]);let d=0;class C{constructor(oe,X){this.source=oe,this.option=X}}const A=new e.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function k(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let _=(()=>{class We{get isOpen(){return this._isOpen&&this.showPanel}_setColor(X){this._color=X,this._changeDetectorRef.markForCheck()}set classList(X){this._classList=X,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(X){this._hideSingleSelectionIndicator=X,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const X of this.options)X._changeDetectorRef.markForCheck()}constructor(X,se,ae,he){this._changeDetectorRef=X,this._elementRef=se,this._defaults=ae,this._activeOptionChanges=h.yU.EMPTY,this._animationDone=new e.bkB,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new e.bkB,this.opened=new e.bkB,this.closed=new e.bkB,this.optionActivated=new e.bkB,this.id="mat-autocomplete-"+d++,this.inertGroups=he?.SAFARI||!1,this.autoActiveFirstOption=!!ae.autoActiveFirstOption,this.autoSelectActiveOption=!!ae.autoSelectActiveOption,this.requireSelection=!!ae.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new w.Au(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(X=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[X]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(X){this.panel&&(this.panel.nativeElement.scrollTop=X)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(X){const se=new C(this,X);this.optionSelected.emit(se)}_getPanelAriaLabelledby(X){return this.ariaLabel?null:this.ariaLabelledby?(X?X+" ":"")+this.ariaLabelledby:X}_skipPredicate(){return!1}static{this.\u0275fac=function(se){return new(se||We)(e.rXU(e.gRc),e.rXU(e.aKT),e.rXU(A),e.rXU(f.OD))}}static{this.\u0275cmp=e.VBU({type:We,selectors:[["mat-autocomplete"]],contentQueries:function(se,ae,he){if(1&se&&(e.wni(he,t.wT,5),e.wni(he,t.QC,5)),2&se){let Ie;e.mGM(Ie=e.lsd())&&(ae.options=Ie),e.mGM(Ie=e.lsd())&&(ae.optionGroups=Ie)}},viewQuery:function(se,ae){if(1&se&&(e.GBs(e.C4Q,7),e.GBs(T,5)),2&se){let he;e.mGM(he=e.lsd())&&(ae.template=he.first),e.mGM(he=e.lsd())&&(ae.panel=he.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",e.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",e.L39],requireSelection:[2,"requireSelection","requireSelection",e.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",e.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",e.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[e.Jv_([{provide:t.is,useExisting:We}]),e.GFd,e.aNF],ngContentSelectors:n,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(se,ae){1&se&&(e.NAR(),e.DNE(0,c,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);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;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[m]},changeDetection:0})}}return We})();const b={provide:W.kq,useExisting:(0,e.Rfq)(()=>ze),multi:!0},N=new e.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const We=(0,e.WQX)(l.hJ);return()=>We.scrollStrategies.reposition()}}),pe={provide:N,deps:[l.hJ],useFactory:function q(We){return()=>We.scrollStrategies.reposition()}};let ze=(()=>{class We{constructor(X,se,ae,he,Ie,st,me,Ee,ue,Be,Ct){this._element=X,this._overlay=se,this._viewContainerRef=ae,this._zone=he,this._changeDetectorRef=Ie,this._dir=me,this._formField=Ee,this._document=ue,this._viewportRuler=Be,this._defaults=Ct,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=h.yU.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new S.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,y.v)(()=>{const ct=this.autocomplete?this.autocomplete.options:null;return ct?ct.changes.pipe((0,J.Z)(ct),(0,ie.n)(()=>(0,O.h)(...ct.map(dt=>dt.onSelectionChange)))):this._zone.onStable.pipe((0,ee.s)(1),(0,ie.n)(()=>this.optionSelections))}),this._handlePanelKeydown=ct=>{(ct.keyCode===j._f&&!(0,j.rp)(ct)||ct.keyCode===j.i7&&(0,j.rp)(ct,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),ct.stopPropagation(),ct.preventDefault())},this._trackedModal=null,this._scrollStrategy=st}ngAfterViewInit(){const X=this._getWindow();typeof X<"u"&&this._zone.runOutsideAngular(()=>X.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(X){X.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const X=this._getWindow();typeof X<"u"&&X.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._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),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,w.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,O.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,fe.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,fe.p)(()=>this._overlayAttached)):(0,I.of)()).pipe((0,ne.T)(X=>X instanceof t.MI?X:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,O.h)((0,V.R)(this._document,"click"),(0,V.R)(this._document,"auxclick"),(0,V.R)(this._document,"touchend")).pipe((0,fe.p)(X=>{const se=(0,f.Fb)(X),ae=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,he=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&se!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!ae||!ae.contains(se))&&(!he||!he.contains(se))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(se)}))}writeValue(X){Promise.resolve(null).then(()=>this._assignOptionValue(X))}registerOnChange(X){this._onChange=X}registerOnTouched(X){this._onTouched=X}setDisabledState(X){this._element.nativeElement.disabled=X}_handleKeydown(X){const se=X.keyCode,ae=(0,j.rp)(X);if(se===j._f&&!ae&&X.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&se===j.Fm&&this.panelOpen&&!ae)this.activeOption._selectViaInteraction(),this._resetActiveItem(),X.preventDefault();else if(this.autocomplete){const he=this.autocomplete._keyManager.activeItem,Ie=se===j.i7||se===j.n6;se===j.wn||Ie&&!ae&&this.panelOpen?this.autocomplete._keyManager.onKeydown(X):Ie&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(Ie||this.autocomplete._keyManager.activeItem!==he)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(X){let se=X.target,ae=se.value;if("number"===se.type&&(ae=""==ae?null:parseFloat(ae)),this._previousValue!==ae){if(this._previousValue=ae,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(ae),ae){if(this.panelOpen&&!this.autocomplete.requireSelection){const he=this.autocomplete.options?.find(Ie=>Ie.selected);he&&ae!==this._getDisplayValue(he.value)&&he.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._document.activeElement===X.target){const he=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(he)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(X=!1){this._formField&&"auto"===this._formField.floatLabel&&(X?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const X=this._zone.onStable.pipe((0,ee.s)(1)),se=this.autocomplete.options.changes.pipe((0,Me.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,Ce.c)(0));return(0,O.h)(X,se).pipe((0,ie.n)(()=>(this._zone.run(()=>{const ae=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),ae!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,ee.s)(1)).subscribe(ae=>this._setValueAndClose(ae))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(X){const se=this.autocomplete;return se&&se.displayWith?se.displayWith(X):X}_assignOptionValue(X){const se=this._getDisplayValue(X);null==X&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(se??"")}_updateNativeInputValue(X){this._formField?this._formField._control.value=X:this._element.nativeElement.value=X,this._previousValue=X}_setValueAndClose(X){const se=this.autocomplete,ae=X?X.source:this._pendingAutoselectedOption;ae?(this._clearPreviousSelectedOption(ae),this._assignOptionValue(ae.value),this._onChange(ae.value),se._emitSelectEvent(ae),this._element.nativeElement.focus()):se.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),se._animationDone?se._animationDone.pipe((0,ee.s)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(X,se){this.autocomplete?.options?.forEach(ae=>{ae!==X&&ae.selected&&ae.deselect(se)})}_openPanelInternal(X=this._element.nativeElement.value){this._attachOverlay(X),this._floatLabel(),this._trackedModal&&(0,w.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(X){let se=this._overlayRef;se?(this._positionStrategy.setOrigin(this._getConnectedElement()),se.updateSize({width:this._getPanelWidth()})):(this._portal=new Y.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),se=this._overlay.create(this._getOverlayConfig()),this._overlayRef=se,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&se&&se.updateSize({width:this._getPanelWidth()})})),se&&!se.hasAttached()&&(se.attach(this._portal),this._valueOnAttach=X,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const ae=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ae!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const X=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=X.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=X.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 X=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(X),this._positionStrategy=X,X}_setStrategyPositions(X){const se=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ae=this._aboveClass,he=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:ae},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:ae}];let Ie;Ie="above"===this.position?he:"below"===this.position?se:[...se,...he],X.withPositions(Ie)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const X=this.autocomplete;if(X.autoActiveFirstOption){let se=-1;for(let ae=0;ae .cdk-overlay-container [aria-modal="true"]');if(!X)return;const se=this.autocomplete.id;this._trackedModal&&(0,w.Ae)(this._trackedModal,"aria-owns",se),(0,w.px)(X,"aria-owns",se),this._trackedModal=X}_clearFromModal(){this._trackedModal&&((0,w.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static{this.\u0275fac=function(se){return new(se||We)(e.rXU(e.aKT),e.rXU(l.hJ),e.rXU(e.c1b),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(N),e.rXU(le.dS,8),e.rXU(Q.xb,9),e.rXU(x.qQ,8),e.rXU(D.Xj),e.rXU(A,8))}}static{this.\u0275dir=e.FsC({type:We,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(se,ae){1&se&&e.bIt("focusin",function(){return ae._handleFocus()})("blur",function(){return ae._onTouched()})("input",function(Ie){return ae._handleInput(Ie)})("keydown",function(Ie){return ae._handleKeydown(Ie)})("click",function(){return ae._handleClick()}),2&se&&e.BMQ("autocomplete",ae.autocompleteAttribute)("role",ae.autocompleteDisabled?null:"combobox")("aria-autocomplete",ae.autocompleteDisabled?null:"list")("aria-activedescendant",ae.panelOpen&&ae.activeOption?ae.activeOption.id:null)("aria-expanded",ae.autocompleteDisabled?null:ae.panelOpen.toString())("aria-controls",ae.autocompleteDisabled||!ae.panelOpen||null==ae.autocomplete?null:ae.autocomplete.id)("aria-haspopup",ae.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",e.L39]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[e.Jv_([b]),e.GFd,e.OA$]})}}return We})(),Xe=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275mod=e.$C({type:We})}static{this.\u0275inj=e.G2t({providers:[pe],imports:[l.z_,t.Sy,t.yE,x.MD,D.Gj,t.Sy,t.yE]})}}return We})()},1975:(Qe,te,g)=>{"use strict";g.d(te,{Y:()=>S,k:()=>h});var e=g(4438),t=g(6600),x=g(8617),D=g(177);let l=0;const w="mat-badge-content",f=new Set;let R=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275cmp=e.VBU({type:y,selectors:[["ng-component"]],standalone:!0,features:[e.aNF],decls:0,vars:0,template:function(V,j){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}"],encapsulation:2,changeDetection:0})}}return y})(),h=(()=>{class y{get color(){return this._color}set color(I){this._setColor(I),this._color=I}get content(){return this._content}set content(I){this._updateRenderedContent(I)}get description(){return this._description}set description(I){this._updateDescription(I)}constructor(I,V,j,Y,W){this._ngZone=I,this._elementRef=V,this._ariaDescriber=j,this._renderer=Y,this._animationMode=W,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=l++,this._isInitialized=!1,this._interactivityChecker=(0,e.WQX)(x.Z7),this._document=(0,e.WQX)(D.qQ);const Q=(0,e.WQX)(e.o8S);if(!f.has(Q)){f.add(Q);const J=(0,e.a0P)(R,{environmentInjector:(0,e.WQX)(e.uvJ)});Q.onDestroy(()=>{f.delete(Q),0===f.size&&J.destroy()})}}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 I=this._renderer.createElement("span"),V="mat-badge-active";return I.setAttribute("id",`mat-badge-content-${this._id}`),I.setAttribute("aria-hidden","true"),I.classList.add(w),"NoopAnimations"===this._animationMode&&I.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(I),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{I.classList.add(V)})}):I.classList.add(V),I}_updateRenderedContent(I){const V=`${I??""}`.trim();this._isInitialized&&V&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=V),this._content=V}_updateDescription(I){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!I||this._isHostInteractive())&&this._removeInlineDescription(),this._description=I,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,I):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(I){const V=this._elementRef.nativeElement.classList;V.remove(`mat-badge-${this._color}`),I&&V.add(`mat-badge-${I}`)}_clearExistingBadges(){const I=this._elementRef.nativeElement.querySelectorAll(`:scope > .${w}`);for(const V of Array.from(I))V!==this._badgeElement&&V.remove()}static{this.\u0275fac=function(V){return new(V||y)(e.rXU(e.SKi),e.rXU(e.aKT),e.rXU(x.vr),e.rXU(e.sFG),e.rXU(e.bc$,8))}}static{this.\u0275dir=e.FsC({type:y,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(V,j){2&V&&e.AVh("mat-badge-overlap",j.overlap)("mat-badge-above",j.isAbove())("mat-badge-below",!j.isAbove())("mat-badge-before",!j.isAfter())("mat-badge-after",j.isAfter())("mat-badge-small","small"===j.size)("mat-badge-medium","medium"===j.size)("mat-badge-large","large"===j.size)("mat-badge-hidden",j.hidden||!j.content)("mat-badge-disabled",j.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",e.L39],disabled:[2,"matBadgeDisabled","disabled",e.L39],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",e.L39]},standalone:!0,features:[e.GFd]})}}return y})(),S=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275mod=e.$C({type:y})}static{this.\u0275inj=e.G2t({imports:[x.Pd,t.yE,t.yE]})}}return y})()},8834:(Qe,te,g)=>{"use strict";g.d(te,{$0:()=>n,$z:()=>fe,Hl:()=>A,iY:()=>d});var e=g(6860),t=g(4438),x=g(8617),D=g(6600);const l=["mat-button",""],w=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],f=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],y=["mat-mini-fab",""],I=["mat-icon-button",""],V=["*"],Y=new t.nKC("MAT_BUTTON_CONFIG"),Q=[{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 J=(()=>{class k{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(a){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,a)}get disableRipple(){return this._disableRipple}set disableRipple(a){this._disableRipple=a,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(a){this._disabled=a,this._updateRippleDisabled()}constructor(a,b,z,N){this._elementRef=a,this._platform=b,this._ngZone=z,this._animationMode=N,this._focusMonitor=(0,t.WQX)(x.FN),this._rippleLoader=(0,t.WQX)(D.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const q=(0,t.WQX)(Y,{optional:!0}),pe=a.nativeElement,ze=pe.classList;this.disabledInteractive=q?.disabledInteractive??!1,this._rippleLoader?.configureRipple(pe,{className:"mat-mdc-button-ripple"});for(const{attribute:Xe,mdcClasses:We}of Q)pe.hasAttribute(Xe)&&ze.add(...We)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(a="program",b){a?this._focusMonitor.focusVia(this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(b){t.QTQ()}}static{this.\u0275dir=t.FsC({type:k,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",t.L39],disabled:[2,"disabled","disabled",t.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",t.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",t.L39]},features:[t.GFd]})}}return k})(),fe=(()=>{class k extends J{constructor(a,b,z,N){super(a,b,z,N)}static{this.\u0275fac=function(b){return new(b||k)(t.rXU(t.aKT),t.rXU(e.OD),t.rXU(t.SKi),t.rXU(t.bc$,8))}}static{this.\u0275cmp=t.VBU({type:k,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(b,z){2&b&&(t.BMQ("disabled",z._getDisabledAttribute())("aria-disabled",z._getAriaDisabled()),t.HbH(z.color?"mat-"+z.color:""),t.AVh("mat-mdc-button-disabled",z.disabled)("mat-mdc-button-disabled-interactive",z.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===z._animationMode)("mat-unthemed",!z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[t.Vt3,t.aNF],attrs:l,ngContentSelectors:f,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(b,z){1&b&&(t.NAR(w),t.nrm(0,"span",0),t.SdG(1),t.j41(2,"span",1),t.SdG(3,1),t.k0s(),t.SdG(4,2),t.nrm(5,"span",2)(6,"span",3)),2&b&&t.AVh("mdc-button__ripple",!z._isFab)("mdc-fab__ripple",z._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{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.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:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-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,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.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-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-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,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-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-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.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-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-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,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-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].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);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);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.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-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-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,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-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-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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-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,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.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 k})();const Me=new t.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:Ce});function Ce(){return{color:"accent"}}const le=Ce();let n=(()=>{class k extends J{constructor(a,b,z,N,q){super(a,b,z,N),this._options=q,this._isFab=!0,this._options=this._options||le,this.color=this._options.color||le.color}static{this.\u0275fac=function(b){return new(b||k)(t.rXU(t.aKT),t.rXU(e.OD),t.rXU(t.SKi),t.rXU(t.bc$,8),t.rXU(Me,8))}}static{this.\u0275cmp=t.VBU({type:k,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(b,z){2&b&&(t.BMQ("disabled",z._getDisabledAttribute())("aria-disabled",z._getAriaDisabled()),t.HbH(z.color?"mat-"+z.color:""),t.AVh("mat-mdc-button-disabled",z.disabled)("mat-mdc-button-disabled-interactive",z.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===z._animationMode)("mat-unthemed",!z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[t.Vt3,t.aNF],attrs:y,ngContentSelectors:f,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(b,z){1&b&&(t.NAR(w),t.nrm(0,"span",0),t.SdG(1),t.j41(2,"span",1),t.SdG(3,1),t.k0s(),t.SdG(4,2),t.nrm(5,"span",2)(6,"span",3)),2&b&&t.AVh("mdc-button__ripple",!z._isFab)("mdc-fab__ripple",z._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)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(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{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-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){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);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-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-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-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-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-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.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,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.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 .mat-mdc-button-touch-target{width:100%}.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}'],encapsulation:2,changeDetection:0})}}return k})(),d=(()=>{class k extends J{constructor(a,b,z,N){super(a,b,z,N),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(b){return new(b||k)(t.rXU(t.aKT),t.rXU(e.OD),t.rXU(t.SKi),t.rXU(t.bc$,8))}}static{this.\u0275cmp=t.VBU({type:k,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(b,z){2&b&&(t.BMQ("disabled",z._getDisabledAttribute())("aria-disabled",z._getAriaDisabled()),t.HbH(z.color?"mat-"+z.color:""),t.AVh("mat-mdc-button-disabled",z.disabled)("mat-mdc-button-disabled-interactive",z.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===z._animationMode)("mat-unthemed",!z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[t.Vt3,t.aNF],attrs:I,ngContentSelectors:V,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(b,z){1&b&&(t.NAR(),t.nrm(0,"span",0),t.SdG(1),t.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{color:var(--mdc-icon-button-icon-color)}.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{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);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],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-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,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .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%);display:var(--mat-icon-button-touch-target-display)}.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 k})(),A=(()=>{class k{static{this.\u0275fac=function(b){return new(b||k)}}static{this.\u0275mod=t.$C({type:k})}static{this.\u0275inj=t.G2t({imports:[D.yE,D.pZ,D.yE]})}}return k})()},5596:(Qe,te,g)=>{"use strict";g.d(te,{Hu:()=>Ce,Lc:()=>V,MM:()=>Y,RN:()=>S,dh:()=>y,m2:()=>I});var e=g(4438),t=g(177),x=g(6600);const D=["*"],f=[[["","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]","*"],h=new e.nKC("MAT_CARD_CONFIG");let S=(()=>{class le{constructor(n){this.appearance=n?.appearance||"raised"}static{this.\u0275fac=function(c){return new(c||le)(e.rXU(h,8))}}static{this.\u0275cmp=e.VBU({type:le,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(c,m){2&c&&e.AVh("mat-mdc-card-outlined","outlined"===m.appearance)("mdc-card--outlined","outlined"===m.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[e.aNF],ngContentSelectors:D,decls:1,vars:0,template:function(c,m){1&c&&(e.NAR(),e.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 le})(),y=(()=>{class le{static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275dir=e.FsC({type:le,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0})}}return le})(),I=(()=>{class le{static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275dir=e.FsC({type:le,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}}return le})(),V=(()=>{class le{static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275dir=e.FsC({type:le,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"],standalone:!0})}}return le})(),Y=(()=>{class le{static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275cmp=e.VBU({type:le,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[e.aNF],ngContentSelectors:R,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(c,m){1&c&&(e.NAR(f),e.SdG(0),e.j41(1,"div",0),e.SdG(2,1),e.k0s(),e.SdG(3,2))},encapsulation:2,changeDetection:0})}}return le})(),Ce=(()=>{class le{static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275mod=e.$C({type:le})}static{this.\u0275inj=e.G2t({imports:[x.yE,t.MD,x.yE]})}}return le})()},2765:(Qe,te,g)=>{"use strict";g.d(te,{So:()=>V,g7:()=>Q});var e=g(4438),t=g(9417),x=g(6600);const D=["input"],l=["label"],w=["*"],f=new e.nKC("mat-checkbox-default-options",{providedIn:"root",factory:R});function R(){return{color:"accent",clickAction:"check-indeterminate"}}var h=function(J){return J[J.Init=0]="Init",J[J.Checked=1]="Checked",J[J.Unchecked=2]="Unchecked",J[J.Indeterminate=3]="Indeterminate",J}(h||{});const S={provide:t.kq,useExisting:(0,e.Rfq)(()=>V),multi:!0};class y{}let O=0;const I=R();let V=(()=>{class J{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(ee){const fe=new y;return fe.source=this,fe.checked=ee,fe}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ee,fe,ne,Me,Ce,le){this._elementRef=ee,this._changeDetectorRef=fe,this._ngZone=ne,this._animationMode=Ce,this._options=le,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.bkB,this.indeterminateChange=new e.bkB,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=h.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||I,this.color=this._options.color||I.color,this.tabIndex=parseInt(Me)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++O}ngOnChanges(ee){ee.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(ee){ee!=this.checked&&(this._checked=ee,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ee){ee!==this.disabled&&(this._disabled=ee,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(ee){const fe=ee!=this._indeterminate;this._indeterminate=ee,fe&&(this._transitionCheckState(this._indeterminate?h.Indeterminate:this.checked?h.Checked:h.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(ee){this.checked=!!ee}registerOnChange(ee){this._controlValueAccessorChangeFn=ee}registerOnTouched(ee){this._onTouched=ee}setDisabledState(ee){this.disabled=ee}validate(ee){return this.required&&!0!==ee.value?{required:!0}:null}registerOnValidatorChange(ee){this._validatorChangeFn=ee}_transitionCheckState(ee){let fe=this._currentCheckState,ne=this._getAnimationTargetElement();if(fe!==ee&&ne&&(this._currentAnimationClass&&ne.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(fe,ee),this._currentCheckState=ee,this._currentAnimationClass.length>0)){ne.classList.add(this._currentAnimationClass);const Me=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{ne.classList.remove(Me)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const ee=this._options?.clickAction;this.disabled||"noop"===ee?!this.disabled&&"noop"===ee&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ee&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?h.Checked:h.Unchecked),this._emitChangeEvent())}_onInteractionEvent(ee){ee.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(ee,fe){if("NoopAnimations"===this._animationMode)return"";switch(ee){case h.Init:if(fe===h.Checked)return this._animationClasses.uncheckedToChecked;if(fe==h.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case h.Unchecked:return fe===h.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case h.Checked:return fe===h.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case h.Indeterminate:return fe===h.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(ee){const fe=this._inputElement;fe&&(fe.nativeElement.indeterminate=ee)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(ee){ee.target&&this._labelElement.nativeElement.contains(ee.target)&&ee.stopPropagation()}static{this.\u0275fac=function(fe){return new(fe||J)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(e.SKi),e.kS0("tabindex"),e.rXU(e.bc$,8),e.rXU(f,8))}}static{this.\u0275cmp=e.VBU({type:J,selectors:[["mat-checkbox"]],viewQuery:function(fe,ne){if(1&fe&&(e.GBs(D,5),e.GBs(l,5),e.GBs(x.r6,5)),2&fe){let Me;e.mGM(Me=e.lsd())&&(ne._inputElement=Me.first),e.mGM(Me=e.lsd())&&(ne._labelElement=Me.first),e.mGM(Me=e.lsd())&&(ne.ripple=Me.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(fe,ne){2&fe&&(e.Mr5("id",ne.id),e.BMQ("tabindex",null)("aria-label",null)("aria-labelledby",null),e.HbH(ne.color?"mat-"+ne.color:"mat-accent"),e.AVh("_mat-animation-noopable","NoopAnimations"===ne._animationMode)("mdc-checkbox--disabled",ne.disabled)("mat-mdc-checkbox-disabled",ne.disabled)("mat-mdc-checkbox-checked",ne.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",e.L39],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",ee=>null==ee?void 0:(0,e.Udg)(ee)],color:"color",checked:[2,"checked","checked",e.L39],disabled:[2,"disabled","disabled",e.L39],indeterminate:[2,"indeterminate","indeterminate",e.L39]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[e.Jv_([S,{provide:t.cz,useExisting:J,multi:!0}]),e.GFd,e.OA$,e.aNF],ngContentSelectors:w,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[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(fe,ne){if(1&fe){const Me=e.RV6();e.NAR(),e.j41(0,"div",3),e.bIt("click",function(le){return e.eBV(Me),e.Njj(ne._preventBubblingFromLabel(le))}),e.j41(1,"div",4,0)(3,"div",5),e.bIt("click",function(){return e.eBV(Me),e.Njj(ne._onTouchTargetClick())}),e.k0s(),e.j41(4,"input",6,1),e.bIt("blur",function(){return e.eBV(Me),e.Njj(ne._onBlur())})("click",function(){return e.eBV(Me),e.Njj(ne._onInputClick())})("change",function(le){return e.eBV(Me),e.Njj(ne._onInteractionEvent(le))}),e.k0s(),e.nrm(6,"div",7),e.j41(7,"div",8),e.qSk(),e.j41(8,"svg",9),e.nrm(9,"path",10),e.k0s(),e.joV(),e.nrm(10,"div",11),e.k0s(),e.nrm(11,"div",12),e.k0s(),e.j41(12,"label",13,2),e.SdG(14),e.k0s()()}if(2&fe){const Me=e.sdS(2);e.Y8G("labelPosition",ne.labelPosition),e.R7$(4),e.AVh("mdc-checkbox--selected",ne.checked),e.Y8G("checked",ne.checked)("indeterminate",ne.indeterminate)("disabled",ne.disabled)("id",ne.inputId)("required",ne.required)("tabIndex",ne.disabled?-1:ne.tabIndex),e.BMQ("aria-label",ne.ariaLabel||null)("aria-labelledby",ne.ariaLabelledby)("aria-describedby",ne.ariaDescribedby)("aria-checked",ne.indeterminate?"mixed":null)("name",ne.name)("value",ne.value),e.R7$(7),e.Y8G("matRippleTrigger",Me)("matRippleDisabled",ne.disableRipple||ne.disabled)("matRippleCentered",!0),e.R7$(),e.Y8G("for",ne.inputId)}},dependencies:[x.r6,x.tO],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-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;color:var(--mat-checkbox-disabled-label-color)}.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%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return J})(),Q=(()=>{class J{static{this.\u0275fac=function(fe){return new(fe||J)}}static{this.\u0275mod=e.$C({type:J})}static{this.\u0275inj=e.G2t({imports:[V,x.yE,x.yE]})}}return J})()},6471:(Qe,te,g)=>{"use strict";g.d(te,{Jl:()=>Xe,YN:()=>ct});var e=g(4438),t=g(177),x=g(6600),D=g(8617),l=g(1413),w=g(7786),f=g(6697),y=(g(6977),g(9172),g(5558),g(7336));g(8203),g(9417),g(6467);const j=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Y=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function W(dt,Yt){1&dt&&(e.j41(0,"span",3),e.SdG(1,1),e.k0s())}function Q(dt,Yt){1&dt&&(e.j41(0,"span",6),e.SdG(1,2),e.k0s())}const A=new e.nKC("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[y.Fm]})}),k=new e.nKC("MatChipAvatar"),_=new e.nKC("MatChipTrailingIcon"),a=new e.nKC("MatChipRemove"),b=new e.nKC("MatChip");let z=(()=>{class dt{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(ve){this._disabled=ve}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(ve,_e){this._elementRef=ve,this._parentChip=_e,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,"BUTTON"===ve.nativeElement.nodeName&&ve.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(ve){!this.disabled&&this.isInteractive&&this._isPrimary&&(ve.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(ve){(ve.keyCode===y.Fm||ve.keyCode===y.t6)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(ve.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static{this.\u0275fac=function(_e){return new(_e||dt)(e.rXU(e.aKT),e.rXU(b))}}static{this.\u0275dir=e.FsC({type:dt,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(_e,we){1&_e&&e.bIt("click",function(je){return we._handleClick(je)})("keydown",function(je){return we._handleKeydown(je)}),2&_e&&(e.BMQ("tabindex",we._getTabindex())("disabled",we._getDisabledAttribute())("aria-disabled",we.disabled),e.AVh("mdc-evolution-chip__action--primary",we._isPrimary)("mdc-evolution-chip__action--presentational",!we.isInteractive)("mdc-evolution-chip__action--trailing",!we._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",e.L39],tabIndex:[2,"tabIndex","tabIndex",ve=>null==ve?-1:(0,e.Udg)(ve)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[e.GFd]})}}return dt})(),ze=0,Xe=(()=>{class dt{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(ve){this._value=ve}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(ve){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,ve)}constructor(ve,_e,we,Ue,je,vt,$e,nt){this._changeDetectorRef=ve,this._elementRef=_e,this._ngZone=we,this._focusMonitor=Ue,this._globalRippleOptions=$e,this._onFocus=new l.B,this._onBlur=new l.B,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+ze++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this.disabled=!1,this.tabIndex=-1,this.removed=new e.bkB,this.destroyed=new e.bkB,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,e.WQX)(x.Ej),this._document=je,this._animationsDisabled="NoopAnimations"===vt,null!=nt&&(this.tabIndex=parseInt(nt)??-1),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const ve=this._elementRef.nativeElement;this._isBasicChip=ve.hasAttribute(this.basicChipAttrName)||ve.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,w.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._rippleLoader?.destroyRipple(this._elementRef.nativeElement),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(ve){(ve.keyCode===y.G_&&!ve.repeat||ve.keyCode===y.SJ)&&(ve.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(ve){return this._getActions().find(_e=>{const we=_e._elementRef.nativeElement;return we===ve||we.contains(ve)})}_getActions(){const ve=[];return this.primaryAction&&ve.push(this.primaryAction),this.removeIcon&&ve.push(this.removeIcon),this.trailingIcon&&ve.push(this.trailingIcon),ve}_handlePrimaryActionInteraction(){}_getTabIndex(){return this.role?this.disabled?-1:this.tabIndex:null}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ve=>{const _e=null!==ve;_e!==this._hasFocusInternal&&(this._hasFocusInternal=_e,_e?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,f.s)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static{this.\u0275fac=function(_e){return new(_e||dt)(e.rXU(e.gRc),e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(D.FN),e.rXU(t.qQ),e.rXU(e.bc$,8),e.rXU(x.$E,8),e.kS0("tabindex"))}}static{this.\u0275cmp=e.VBU({type:dt,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(_e,we,Ue){if(1&_e&&(e.wni(Ue,k,5),e.wni(Ue,_,5),e.wni(Ue,a,5),e.wni(Ue,k,5),e.wni(Ue,_,5),e.wni(Ue,a,5)),2&_e){let je;e.mGM(je=e.lsd())&&(we.leadingIcon=je.first),e.mGM(je=e.lsd())&&(we.trailingIcon=je.first),e.mGM(je=e.lsd())&&(we.removeIcon=je.first),e.mGM(je=e.lsd())&&(we._allLeadingIcons=je),e.mGM(je=e.lsd())&&(we._allTrailingIcons=je),e.mGM(je=e.lsd())&&(we._allRemoveIcons=je)}},viewQuery:function(_e,we){if(1&_e&&e.GBs(z,5),2&_e){let Ue;e.mGM(Ue=e.lsd())&&(we.primaryAction=Ue.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(_e,we){1&_e&&e.bIt("keydown",function(je){return we._handleKeydown(je)}),2&_e&&(e.Mr5("id",we.id),e.BMQ("role",we.role)("tabindex",we._getTabIndex())("aria-label",we.ariaLabel),e.HbH("mat-"+(we.color||"primary")),e.AVh("mdc-evolution-chip",!we._isBasicChip)("mdc-evolution-chip--disabled",we.disabled)("mdc-evolution-chip--with-trailing-action",we._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",we.leadingIcon)("mdc-evolution-chip--with-primary-icon",we.leadingIcon)("mdc-evolution-chip--with-avatar",we.leadingIcon)("mat-mdc-chip-with-avatar",we.leadingIcon)("mat-mdc-chip-highlighted",we.highlighted)("mat-mdc-chip-disabled",we.disabled)("mat-mdc-basic-chip",we._isBasicChip)("mat-mdc-standard-chip",!we._isBasicChip)("mat-mdc-chip-with-trailing-icon",we._hasTrailingIcon())("_mat-animation-noopable",we._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",e.L39],highlighted:[2,"highlighted","highlighted",e.L39],disableRipple:[2,"disableRipple","disableRipple",e.L39],disabled:[2,"disabled","disabled",e.L39],tabIndex:[2,"tabIndex","tabIndex",ve=>null==ve?void 0:(0,e.Udg)(ve)]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[e.Jv_([{provide:b,useExisting:dt}]),e.GFd,e.aNF],ngContentSelectors:Y,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(_e,we){1&_e&&(e.NAR(j),e.nrm(0,"span",0),e.j41(1,"span",1)(2,"span",2),e.DNE(3,W,2,0,"span",3),e.j41(4,"span",4),e.SdG(5),e.nrm(6,"span",5),e.k0s()()(),e.DNE(7,Q,2,0,"span",6)),2&_e&&(e.R7$(2),e.Y8G("isInteractive",!1),e.R7$(),e.vxM(we.leadingIcon?3:-1),e.R7$(4),e.vxM(we._hasTrailingIcon()?7:-1))},dependencies:[z],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) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus:before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.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:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-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--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-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:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-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-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.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-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.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}.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__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 .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::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;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 dt})(),ct=(()=>{class dt{static{this.\u0275fac=function(_e){return new(_e||dt)}}static{this.\u0275mod=e.$C({type:dt})}static{this.\u0275inj=e.G2t({providers:[x.es,{provide:A,useValue:{separatorKeyCodes:[y.Fm]}}],imports:[x.yE,x.pZ,x.yE]})}}return dt})()},6600:(Qe,te,g)=>{"use strict";g.d(te,{r5:()=>ee,ed:()=>fe,MJ:()=>z,es:()=>ae,de:()=>N,Ju:()=>a,QC:()=>jt,is:()=>Nt,$E:()=>je,yE:()=>Ce,Np:()=>me,WX:()=>oe,wT:()=>It,Sy:()=>xt,MI:()=>Ae,wg:()=>nt,O5:()=>qt,r6:()=>vt,Ej:()=>pt,pZ:()=>$e,xW:()=>ze,ug:()=>we,X0:()=>A,tO:()=>Ke,jb:()=>Qt,TL:()=>Tt});var e=g(4438),t=g(8617),x=g(8203),l=g(177),w=g(6860),f=g(4085),R=g(1413),h=g(7336);const O=["text"],I=[[["mat-icon"]],"*"],V=["mat-icon","*"];function j(Fe,Ge){if(1&Fe&&e.nrm(0,"mat-pseudo-checkbox",1),2&Fe){const qe=e.XpG();e.Y8G("disabled",qe.disabled)("state",qe.selected?"checked":"unchecked")}}function Y(Fe,Ge){if(1&Fe&&e.nrm(0,"mat-pseudo-checkbox",3),2&Fe){const qe=e.XpG();e.Y8G("disabled",qe.disabled)}}function W(Fe,Ge){if(1&Fe&&(e.j41(0,"span",4),e.EFF(1),e.k0s()),2&Fe){const qe=e.XpG();e.R7$(),e.SpI("(",qe.group.label,")")}}const Q=["mat-internal-form-field",""],J=["*"];let ee=(()=>{class Fe{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 Fe})(),fe=(()=>{class Fe{static{this.COMPLEX="375ms"}static{this.ENTERING="225ms"}static{this.EXITING="195ms"}}return Fe})();const Me=new e.nKC("mat-sanity-checks",{providedIn:"root",factory:function ne(){return!0}});let Ce=(()=>{class Fe{constructor(qe,at,Lt){this._sanityChecks=at,this._document=Lt,this._hasDoneGlobalChecks=!1,qe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(qe){return!(0,w.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[qe])}static{this.\u0275fac=function(at){return new(at||Fe)(e.KVO(t.Q_),e.KVO(Me,8),e.KVO(l.qQ))}}static{this.\u0275mod=e.$C({type:Fe})}static{this.\u0275inj=e.G2t({imports:[x.jI,x.jI]})}}return Fe})();class A{constructor(Ge,qe,at,Lt,pi){this._defaultMatcher=Ge,this.ngControl=qe,this._parentFormGroup=at,this._parentForm=Lt,this._stateChanges=pi,this.errorState=!1}updateErrorState(){const Ge=this.errorState,qe=this._parentFormGroup||this._parentForm,at=this.matcher||this._defaultMatcher,Lt=this.ngControl?this.ngControl.control:null,pi=at?.isErrorState(Lt,qe)??!1;pi!==Ge&&(this.errorState=pi,this._stateChanges.next())}}const a=new e.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function b(){return(0,e.WQX)(e.xe9)}});class z{constructor(){this._localeChanges=new R.B,this.localeChanges=this._localeChanges}getValidDateOrNull(Ge){return this.isDateInstance(Ge)&&this.isValid(Ge)?Ge:null}deserialize(Ge){return null==Ge||this.isDateInstance(Ge)&&this.isValid(Ge)?Ge:this.invalid()}setLocale(Ge){this.locale=Ge,this._localeChanges.next()}compareDate(Ge,qe){return this.getYear(Ge)-this.getYear(qe)||this.getMonth(Ge)-this.getMonth(qe)||this.getDate(Ge)-this.getDate(qe)}sameDate(Ge,qe){if(Ge&&qe){let at=this.isValid(Ge),Lt=this.isValid(qe);return at&&Lt?!this.compareDate(Ge,qe):at==Lt}return Ge==qe}clampDate(Ge,qe,at){return qe&&this.compareDate(Ge,qe)<0?qe:at&&this.compareDate(Ge,at)>0?at:Ge}}const N=new e.nKC("mat-date-formats"),q=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function pe(Fe,Ge){const qe=Array(Fe);for(let at=0;at{class Fe extends z{constructor(qe){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,e.WQX)(a,{optional:!0}),void 0!==qe&&(this._matDateLocale=qe),super.setLocale(this._matDateLocale)}getYear(qe){return qe.getFullYear()}getMonth(qe){return qe.getMonth()}getDate(qe){return qe.getDate()}getDayOfWeek(qe){return qe.getDay()}getMonthNames(qe){const at=new Intl.DateTimeFormat(this.locale,{month:qe,timeZone:"utc"});return pe(12,Lt=>this._format(at,new Date(2017,Lt,1)))}getDateNames(){const qe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return pe(31,at=>this._format(qe,new Date(2017,0,at+1)))}getDayOfWeekNames(qe){const at=new Intl.DateTimeFormat(this.locale,{weekday:qe,timeZone:"utc"});return pe(7,Lt=>this._format(at,new Date(2017,0,Lt+1)))}getYearName(qe){const at=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(at,qe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(qe){return this.getDate(this._createDateWithOverflow(this.getYear(qe),this.getMonth(qe)+1,0))}clone(qe){return new Date(qe.getTime())}createDate(qe,at,Lt){let pi=this._createDateWithOverflow(qe,at,Lt);return pi.getMonth(),pi}today(){return new Date}parse(qe,at){return"number"==typeof qe?new Date(qe):qe?new Date(Date.parse(qe)):null}format(qe,at){if(!this.isValid(qe))throw Error("NativeDateAdapter: Cannot format invalid date.");const Lt=new Intl.DateTimeFormat(this.locale,{...at,timeZone:"utc"});return this._format(Lt,qe)}addCalendarYears(qe,at){return this.addCalendarMonths(qe,12*at)}addCalendarMonths(qe,at){let Lt=this._createDateWithOverflow(this.getYear(qe),this.getMonth(qe)+at,this.getDate(qe));return this.getMonth(Lt)!=((this.getMonth(qe)+at)%12+12)%12&&(Lt=this._createDateWithOverflow(this.getYear(Lt),this.getMonth(Lt),0)),Lt}addCalendarDays(qe,at){return this._createDateWithOverflow(this.getYear(qe),this.getMonth(qe),this.getDate(qe)+at)}toIso8601(qe){return[qe.getUTCFullYear(),this._2digit(qe.getUTCMonth()+1),this._2digit(qe.getUTCDate())].join("-")}deserialize(qe){if("string"==typeof qe){if(!qe)return null;if(q.test(qe)){let at=new Date(qe);if(this.isValid(at))return at}}return super.deserialize(qe)}isDateInstance(qe){return qe instanceof Date}isValid(qe){return!isNaN(qe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(qe,at,Lt){const pi=new Date;return pi.setFullYear(qe,at,Lt),pi.setHours(0,0,0,0),pi}_2digit(qe){return("00"+qe).slice(-2)}_format(qe,at){const Lt=new Date;return Lt.setUTCFullYear(at.getFullYear(),at.getMonth(),at.getDate()),Lt.setUTCHours(at.getHours(),at.getMinutes(),at.getSeconds(),at.getMilliseconds()),qe.format(Lt)}static{this.\u0275fac=function(at){return new(at||Fe)(e.KVO(a,8))}}static{this.\u0275prov=e.jDH({token:Fe,factory:Fe.\u0275fac})}}return Fe})();const Xe={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 oe=(()=>{class Fe{static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275mod=e.$C({type:Fe})}static{this.\u0275inj=e.G2t({providers:[X()]})}}return Fe})();function X(Fe=Xe){return[{provide:z,useClass:ze},{provide:N,useValue:Fe}]}let ae=(()=>{class Fe{isErrorState(qe,at){return!!(qe&&qe.invalid&&(qe.touched||at&&at.submitted))}static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275prov=e.jDH({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}}return Fe})(),me=(()=>{class Fe{static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275mod=e.$C({type:Fe})}static{this.\u0275inj=e.G2t({imports:[Ce,Ce]})}}return Fe})();var Ee=function(Fe){return Fe[Fe.FADING_IN=0]="FADING_IN",Fe[Fe.VISIBLE=1]="VISIBLE",Fe[Fe.FADING_OUT=2]="FADING_OUT",Fe[Fe.HIDDEN=3]="HIDDEN",Fe}(Ee||{});class ue{constructor(Ge,qe,at,Lt=!1){this._renderer=Ge,this.element=qe,this.config=at,this._animationForciblyDisabledThroughCss=Lt,this.state=Ee.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const Be=(0,w.BQ)({passive:!0,capture:!0});class Ct{constructor(){this._events=new Map,this._delegateEventHandler=Ge=>{const qe=(0,w.Fb)(Ge);qe&&this._events.get(Ge.type)?.forEach((at,Lt)=>{(Lt===qe||Lt.contains(qe))&&at.forEach(pi=>pi.handleEvent(Ge))})}}addHandler(Ge,qe,at,Lt){const pi=this._events.get(qe);if(pi){const $t=pi.get(at);$t?$t.add(Lt):pi.set(at,new Set([Lt]))}else this._events.set(qe,new Map([[at,new Set([Lt])]])),Ge.runOutsideAngular(()=>{document.addEventListener(qe,this._delegateEventHandler,Be)})}removeHandler(Ge,qe,at){const Lt=this._events.get(Ge);if(!Lt)return;const pi=Lt.get(qe);pi&&(pi.delete(at),0===pi.size&&Lt.delete(qe),0===Lt.size&&(this._events.delete(Ge),document.removeEventListener(Ge,this._delegateEventHandler,Be)))}}const ct={enterDuration:225,exitDuration:150},Yt=(0,w.BQ)({passive:!0,capture:!0}),ve=["mousedown","touchstart"],_e=["mouseup","mouseleave","touchend","touchcancel"];class we{static{this._eventManager=new Ct}constructor(Ge,qe,at,Lt){this._target=Ge,this._ngZone=qe,this._platform=Lt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Lt.isBrowser&&(this._containerElement=(0,f.i8)(at))}fadeInRipple(Ge,qe,at={}){const Lt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),pi={...ct,...at.animation};at.centered&&(Ge=Lt.left+Lt.width/2,qe=Lt.top+Lt.height/2);const $t=at.radius||function Ue(Fe,Ge,qe){const at=Math.max(Math.abs(Fe-qe.left),Math.abs(Fe-qe.right)),Lt=Math.max(Math.abs(Ge-qe.top),Math.abs(Ge-qe.bottom));return Math.sqrt(at*at+Lt*Lt)}(Ge,qe,Lt),Kt=Ge-Lt.left,Ui=qe-Lt.top,ti=pi.enterDuration,fi=document.createElement("div");fi.classList.add("mat-ripple-element"),fi.style.left=Kt-$t+"px",fi.style.top=Ui-$t+"px",fi.style.height=2*$t+"px",fi.style.width=2*$t+"px",null!=at.color&&(fi.style.backgroundColor=at.color),fi.style.transitionDuration=`${ti}ms`,this._containerElement.appendChild(fi);const xn=window.getComputedStyle(fi),Vi=xn.transitionDuration,Qi="none"===xn.transitionProperty||"0s"===Vi||"0s, 0s"===Vi||0===Lt.width&&0===Lt.height,Xt=new ue(this,fi,at,Qi);fi.style.transform="scale3d(1, 1, 1)",Xt.state=Ee.FADING_IN,at.persistent||(this._mostRecentTransientRipple=Xt);let St=null;return!Qi&&(ti||pi.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const tt=()=>this._finishRippleTransition(Xt),ot=()=>this._destroyRipple(Xt);fi.addEventListener("transitionend",tt),fi.addEventListener("transitioncancel",ot),St={onTransitionEnd:tt,onTransitionCancel:ot}}),this._activeRipples.set(Xt,St),(Qi||!ti)&&this._finishRippleTransition(Xt),Xt}fadeOutRipple(Ge){if(Ge.state===Ee.FADING_OUT||Ge.state===Ee.HIDDEN)return;const qe=Ge.element,at={...ct,...Ge.config.animation};qe.style.transitionDuration=`${at.exitDuration}ms`,qe.style.opacity="0",Ge.state=Ee.FADING_OUT,(Ge._animationForciblyDisabledThroughCss||!at.exitDuration)&&this._finishRippleTransition(Ge)}fadeOutAll(){this._getActiveRipples().forEach(Ge=>Ge.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ge=>{Ge.config.persistent||Ge.fadeOut()})}setupTriggerEvents(Ge){const qe=(0,f.i8)(Ge);!this._platform.isBrowser||!qe||qe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=qe,ve.forEach(at=>{we._eventManager.addHandler(this._ngZone,at,qe,this)}))}handleEvent(Ge){"mousedown"===Ge.type?this._onMousedown(Ge):"touchstart"===Ge.type?this._onTouchStart(Ge):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{_e.forEach(qe=>{this._triggerElement.addEventListener(qe,this,Yt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ge){Ge.state===Ee.FADING_IN?this._startFadeOutTransition(Ge):Ge.state===Ee.FADING_OUT&&this._destroyRipple(Ge)}_startFadeOutTransition(Ge){const qe=Ge===this._mostRecentTransientRipple,{persistent:at}=Ge.config;Ge.state=Ee.VISIBLE,!at&&(!qe||!this._isPointerDown)&&Ge.fadeOut()}_destroyRipple(Ge){const qe=this._activeRipples.get(Ge)??null;this._activeRipples.delete(Ge),this._activeRipples.size||(this._containerRect=null),Ge===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ge.state=Ee.HIDDEN,null!==qe&&(Ge.element.removeEventListener("transitionend",qe.onTransitionEnd),Ge.element.removeEventListener("transitioncancel",qe.onTransitionCancel)),Ge.element.remove()}_onMousedown(Ge){const qe=(0,t._G)(Ge),at=this._lastTouchStartEvent&&Date.now(){!Ge.config.persistent&&(Ge.state===Ee.VISIBLE||Ge.config.terminateOnPointerUp&&Ge.state===Ee.FADING_IN)&&Ge.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Ge=this._triggerElement;Ge&&(ve.forEach(qe=>we._eventManager.removeHandler(qe,Ge,this)),this._pointerUpEventsRegistered&&(_e.forEach(qe=>Ge.removeEventListener(qe,this,Yt)),this._pointerUpEventsRegistered=!1))}}const je=new e.nKC("mat-ripple-global-options");let vt=(()=>{class Fe{get disabled(){return this._disabled}set disabled(qe){qe&&this.fadeOutAllNonPersistent(),this._disabled=qe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(qe){this._trigger=qe,this._setupTriggerEventsIfEnabled()}constructor(qe,at,Lt,pi,$t){this._elementRef=qe,this._animationMode=$t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=pi||{},this._rippleRenderer=new we(this,at,qe,Lt)}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(qe,at=0,Lt){return"number"==typeof qe?this._rippleRenderer.fadeInRipple(qe,at,{...this.rippleConfig,...Lt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...qe})}static{this.\u0275fac=function(at){return new(at||Fe)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(w.OD),e.rXU(je,8),e.rXU(e.bc$,8))}}static{this.\u0275dir=e.FsC({type:Fe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(at,Lt){2&at&&e.AVh("mat-ripple-unbounded",Lt.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"],standalone:!0})}}return Fe})(),$e=(()=>{class Fe{static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275mod=e.$C({type:Fe})}static{this.\u0275inj=e.G2t({imports:[Ce,Ce]})}}return Fe})(),nt=(()=>{class Fe{constructor(qe){this._animationMode=qe,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(at){return new(at||Fe)(e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:Fe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(at,Lt){2&at&&e.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===Lt.state)("mat-pseudo-checkbox-checked","checked"===Lt.state)("mat-pseudo-checkbox-disabled",Lt.disabled)("mat-pseudo-checkbox-minimal","minimal"===Lt.appearance)("mat-pseudo-checkbox-full","full"===Lt.appearance)("_mat-animation-noopable","NoopAnimations"===Lt._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[e.aNF],decls:0,vars:0,template:function(at,Lt){},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-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.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 Fe})(),qt=(()=>{class Fe{static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275mod=e.$C({type:Fe})}static{this.\u0275inj=e.G2t({imports:[Ce]})}}return Fe})();const Nt=new e.nKC("MAT_OPTION_PARENT_COMPONENT"),jt=new e.nKC("MatOptgroup");let et=0;class Ae{constructor(Ge,qe=!1){this.source=Ge,this.isUserInput=qe}}let It=(()=>{class Fe{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(qe){this._disabled=qe}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(qe,at,Lt,pi){this._element=qe,this._changeDetectorRef=at,this._parent=Lt,this.group=pi,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+et++,this.onSelectionChange=new e.bkB,this._stateChanges=new R.B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(qe=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),qe&&this._emitSelectionChangeEvent())}deselect(qe=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),qe&&this._emitSelectionChangeEvent())}focus(qe,at){const Lt=this._getHostElement();"function"==typeof Lt.focus&&Lt.focus(at)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(qe){(qe.keyCode===h.Fm||qe.keyCode===h.t6)&&!(0,h.rp)(qe)&&(this._selectViaInteraction(),qe.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 qe=this.viewValue;qe!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=qe)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(qe=!1){this.onSelectionChange.emit(new Ae(this,qe))}static{this.\u0275fac=function(at){return new(at||Fe)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(Nt,8),e.rXU(jt,8))}}static{this.\u0275cmp=e.VBU({type:Fe,selectors:[["mat-option"]],viewQuery:function(at,Lt){if(1&at&&e.GBs(O,7),2&at){let pi;e.mGM(pi=e.lsd())&&(Lt._text=pi.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(at,Lt){1&at&&e.bIt("click",function(){return Lt._selectViaInteraction()})("keydown",function($t){return Lt._handleKeydown($t)}),2&at&&(e.Mr5("id",Lt.id),e.BMQ("aria-selected",Lt.selected)("aria-disabled",Lt.disabled.toString()),e.AVh("mdc-list-item--selected",Lt.selected)("mat-mdc-option-multiple",Lt.multiple)("mat-mdc-option-active",Lt.active)("mdc-list-item--disabled",Lt.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",e.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[e.GFd,e.aNF],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(at,Lt){1&at&&(e.NAR(I),e.DNE(0,j,1,2,"mat-pseudo-checkbox",1),e.SdG(1),e.j41(2,"span",2,0),e.SdG(4,1),e.k0s(),e.DNE(5,Y,1,1,"mat-pseudo-checkbox",3)(6,W,2,1,"span",4),e.nrm(7,"div",5)),2&at&&(e.vxM(Lt.multiple?0:-1),e.R7$(5),e.vxM(Lt.multiple||!Lt.selected||Lt.hideSingleSelectionIndicator?-1:5),e.R7$(),e.vxM(Lt.group&&Lt.group._inert?6:-1),e.R7$(),e.Y8G("matRippleTrigger",Lt._getHostElement())("matRippleDisabled",Lt.disabled||Lt.disableRipple))},dependencies:[nt,vt],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;background:rgba(0,0,0,0)}.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-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return Fe})();function Qt(Fe,Ge,qe){if(qe.length){let at=Ge.toArray(),Lt=qe.toArray(),pi=0;for(let $t=0;$tqe+at?Math.max(0,Fe-at+Ge):qe}let xt=(()=>{class Fe{static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275mod=e.$C({type:Fe})}static{this.\u0275inj=e.G2t({imports:[$e,Ce,qt]})}}return Fe})();const Se={capture:!0},Te=["focus","click","mouseenter","touchstart"],ce="mat-ripple-loader-uninitialized",Z="mat-ripple-loader-class-name",Re="mat-ripple-loader-centered",Pe="mat-ripple-loader-disabled";let pt=(()=>{class Fe{constructor(){this._document=(0,e.WQX)(l.qQ,{optional:!0}),this._animationMode=(0,e.WQX)(e.bc$,{optional:!0}),this._globalRippleOptions=(0,e.WQX)(je,{optional:!0}),this._platform=(0,e.WQX)(w.OD),this._ngZone=(0,e.WQX)(e.SKi),this._hosts=new Map,this._onInteraction=qe=>{if(!(qe.target instanceof HTMLElement))return;const Lt=qe.target.closest(`[${ce}]`);Lt&&this._createRipple(Lt)},this._ngZone.runOutsideAngular(()=>{for(const qe of Te)this._document?.addEventListener(qe,this._onInteraction,Se)})}ngOnDestroy(){const qe=this._hosts.keys();for(const at of qe)this.destroyRipple(at);for(const at of Te)this._document?.removeEventListener(at,this._onInteraction,Se)}configureRipple(qe,at){qe.setAttribute(ce,""),(at.className||!qe.hasAttribute(Z))&&qe.setAttribute(Z,at.className||""),at.centered&&qe.setAttribute(Re,""),at.disabled&&qe.setAttribute(Pe,"")}getRipple(qe){return this._hosts.get(qe)||this._createRipple(qe)}setDisabled(qe,at){const Lt=this._hosts.get(qe);Lt?Lt.disabled=at:at?qe.setAttribute(Pe,""):qe.removeAttribute(Pe)}_createRipple(qe){if(!this._document)return;const at=this._hosts.get(qe);if(at)return at;qe.querySelector(".mat-ripple")?.remove();const Lt=this._document.createElement("span");Lt.classList.add("mat-ripple",qe.getAttribute(Z)),qe.append(Lt);const pi=new vt(new e.aKT(Lt),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return pi._isInitialized=!0,pi.trigger=qe,pi.centered=qe.hasAttribute(Re),pi.disabled=qe.hasAttribute(Pe),this.attachRipple(qe,pi),pi}attachRipple(qe,at){qe.removeAttribute(ce),this._hosts.set(qe,at)}destroyRipple(qe){const at=this._hosts.get(qe);at&&(at.ngOnDestroy(),this._hosts.delete(qe))}static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275prov=e.jDH({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}}return Fe})(),Ke=(()=>{class Fe{static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275cmp=e.VBU({type:Fe,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(at,Lt){2&at&&e.AVh("mdc-form-field--align-end","before"===Lt.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[e.aNF],attrs:Q,ngContentSelectors:J,decls:1,vars:0,template:function(at,Lt){1&at&&(e.NAR(),e.SdG(0))},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-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0})}}return Fe})()},5084:(Qe,te,g)=>{"use strict";g.d(te,{Vh:()=>qe,X6:()=>mn,bU:()=>fi,bZ:()=>Ui});var e=g(8617),t=g(6969),x=g(6939),D=g(177),l=g(4438),w=g(8834),f=g(5542),R=g(6600),h=g(1413),S=g(8359),y=g(7786),O=g(7673),I=g(7336),V=g(8203),j=g(6860),Y=g(6697),W=g(9172),Q=g(5964),J=g(4085),ie=g(9969),ee=g(9417),fe=g(6467),ne=g(9631);const Me=["mat-calendar-body",""];function Ce(Ut,lt){if(1&Ut&&(l.j41(0,"tr",0)(1,"td",3),l.EFF(2),l.k0s()()),2&Ut){const re=l.XpG();l.R7$(),l.xc7("padding-top",re._cellPadding)("padding-bottom",re._cellPadding),l.BMQ("colspan",re.numCols),l.R7$(),l.SpI(" ",re.label," ")}}function le(Ut,lt){if(1&Ut&&(l.j41(0,"td",3),l.EFF(1),l.k0s()),2&Ut){const re=l.XpG(2);l.xc7("padding-top",re._cellPadding)("padding-bottom",re._cellPadding),l.BMQ("colspan",re._firstRowOffset),l.R7$(),l.SpI(" ",re._firstRowOffset>=re.labelMinRequiredCells?re.label:""," ")}}function T(Ut,lt){if(1&Ut){const re=l.RV6();l.j41(0,"td",6)(1,"button",7),l.bIt("click",function(ye){const rt=l.eBV(re).$implicit,ht=l.XpG(2);return l.Njj(ht._cellClicked(rt,ye))})("focus",function(ye){const rt=l.eBV(re).$implicit,ht=l.XpG(2);return l.Njj(ht._emitActiveDateChange(rt,ye))}),l.j41(2,"span",8),l.EFF(3),l.k0s(),l.nrm(4,"span",9),l.k0s()()}if(2&Ut){const re=lt.$implicit,He=lt.$index,ye=l.XpG().$index,rt=l.XpG();l.xc7("width",rt._cellWidth)("padding-top",rt._cellPadding)("padding-bottom",rt._cellPadding),l.BMQ("data-mat-row",ye)("data-mat-col",He),l.R7$(),l.AVh("mat-calendar-body-disabled",!re.enabled)("mat-calendar-body-active",rt._isActiveCell(ye,He))("mat-calendar-body-range-start",rt._isRangeStart(re.compareValue))("mat-calendar-body-range-end",rt._isRangeEnd(re.compareValue))("mat-calendar-body-in-range",rt._isInRange(re.compareValue))("mat-calendar-body-comparison-bridge-start",rt._isComparisonBridgeStart(re.compareValue,ye,He))("mat-calendar-body-comparison-bridge-end",rt._isComparisonBridgeEnd(re.compareValue,ye,He))("mat-calendar-body-comparison-start",rt._isComparisonStart(re.compareValue))("mat-calendar-body-comparison-end",rt._isComparisonEnd(re.compareValue))("mat-calendar-body-in-comparison-range",rt._isInComparisonRange(re.compareValue))("mat-calendar-body-preview-start",rt._isPreviewStart(re.compareValue))("mat-calendar-body-preview-end",rt._isPreviewEnd(re.compareValue))("mat-calendar-body-in-preview",rt._isInPreview(re.compareValue)),l.Y8G("ngClass",re.cssClasses)("tabindex",rt._isActiveCell(ye,He)?0:-1),l.BMQ("aria-label",re.ariaLabel)("aria-disabled",!re.enabled||null)("aria-pressed",rt._isSelected(re.compareValue))("aria-current",rt.todayValue===re.compareValue?"date":null)("aria-describedby",rt._getDescribedby(re.compareValue)),l.R7$(),l.AVh("mat-calendar-body-selected",rt._isSelected(re.compareValue))("mat-calendar-body-comparison-identical",rt._isComparisonIdentical(re.compareValue))("mat-calendar-body-today",rt.todayValue===re.compareValue),l.R7$(),l.SpI(" ",re.displayValue," ")}}function n(Ut,lt){if(1&Ut&&(l.j41(0,"tr",1),l.DNE(1,le,2,6,"td",4),l.Z7z(2,T,5,48,"td",5,l.fX1),l.k0s()),2&Ut){const re=lt.$implicit,He=lt.$index,ye=l.XpG();l.R7$(),l.vxM(0===He&&ye._firstRowOffset?1:-1),l.R7$(),l.Dyx(re)}}function c(Ut,lt){if(1&Ut&&(l.j41(0,"th",2)(1,"span",6),l.EFF(2),l.k0s(),l.j41(3,"span",3),l.EFF(4),l.k0s()()),2&Ut){const re=lt.$implicit;l.R7$(2),l.JRh(re.long),l.R7$(2),l.JRh(re.narrow)}}const m=["*"];function d(Ut,lt){}function C(Ut,lt){if(1&Ut){const re=l.RV6();l.j41(0,"mat-month-view",4),l.mxI("activeDateChange",function(ye){l.eBV(re);const rt=l.XpG();return l.DH7(rt.activeDate,ye)||(rt.activeDate=ye),l.Njj(ye)}),l.bIt("_userSelection",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._dateSelected(ye))})("dragStarted",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._dragStarted(ye))})("dragEnded",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._dragEnded(ye))}),l.k0s()}if(2&Ut){const re=l.XpG();l.R50("activeDate",re.activeDate),l.Y8G("selected",re.selected)("dateFilter",re.dateFilter)("maxDate",re.maxDate)("minDate",re.minDate)("dateClass",re.dateClass)("comparisonStart",re.comparisonStart)("comparisonEnd",re.comparisonEnd)("startDateAccessibleName",re.startDateAccessibleName)("endDateAccessibleName",re.endDateAccessibleName)("activeDrag",re._activeDrag)}}function A(Ut,lt){if(1&Ut){const re=l.RV6();l.j41(0,"mat-year-view",5),l.mxI("activeDateChange",function(ye){l.eBV(re);const rt=l.XpG();return l.DH7(rt.activeDate,ye)||(rt.activeDate=ye),l.Njj(ye)}),l.bIt("monthSelected",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._monthSelectedInYearView(ye))})("selectedChange",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._goToDateInView(ye,"month"))}),l.k0s()}if(2&Ut){const re=l.XpG();l.R50("activeDate",re.activeDate),l.Y8G("selected",re.selected)("dateFilter",re.dateFilter)("maxDate",re.maxDate)("minDate",re.minDate)("dateClass",re.dateClass)}}function k(Ut,lt){if(1&Ut){const re=l.RV6();l.j41(0,"mat-multi-year-view",6),l.mxI("activeDateChange",function(ye){l.eBV(re);const rt=l.XpG();return l.DH7(rt.activeDate,ye)||(rt.activeDate=ye),l.Njj(ye)}),l.bIt("yearSelected",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._yearSelectedInMultiYearView(ye))})("selectedChange",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._goToDateInView(ye,"year"))}),l.k0s()}if(2&Ut){const re=l.XpG();l.R50("activeDate",re.activeDate),l.Y8G("selected",re.selected)("dateFilter",re.dateFilter)("maxDate",re.maxDate)("minDate",re.minDate)("dateClass",re.dateClass)}}function _(Ut,lt){}const a=["button"],b=[[["","matDatepickerToggleIcon",""]]],z=["[matDatepickerToggleIcon]"];function N(Ut,lt){1&Ut&&(l.qSk(),l.j41(0,"svg",2),l.nrm(1,"path",3),l.k0s())}let We=(()=>{class Ut{constructor(){this.changes=new h.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(re,He){return`${re} \u2013 ${He}`}formatYearRangeLabel(re,He){return`${re} to ${He}`}static{this.\u0275fac=function(He){return new(He||Ut)}}static{this.\u0275prov=l.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}}return Ut})();class oe{constructor(lt,re,He,ye,rt={},ht=lt,ii){this.value=lt,this.displayValue=re,this.ariaLabel=He,this.enabled=ye,this.cssClasses=rt,this.compareValue=ht,this.rawValue=ii}}let X=1;const se=(0,j.BQ)({passive:!1,capture:!0}),ae=(0,j.BQ)({passive:!0,capture:!0}),he=(0,j.BQ)({passive:!0});let Ie=(()=>{class Ut{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(re,He){this._elementRef=re,this._ngZone=He,this._platform=(0,l.WQX)(j.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=ye=>{if(this._skipNextFocus&&"focus"===ye.type)this._skipNextFocus=!1;else if(ye.target&&this.isRange){const rt=this._getCellFromElement(ye.target);rt&&this._ngZone.run(()=>this.previewChange.emit({value:rt.enabled?rt:null,event:ye}))}},this._touchmoveHandler=ye=>{if(!this.isRange)return;const rt=Ct(ye),ht=rt?this._getCellFromElement(rt):null;rt!==ye.target&&(this._didDragSinceMouseDown=!0),me(ye.target)&&ye.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:ht?.enabled?ht:null,event:ye}))},this._leaveHandler=ye=>{null!==this.previewEnd&&this.isRange&&("blur"!==ye.type&&(this._didDragSinceMouseDown=!0),ye.target&&this._getCellFromElement(ye.target)&&(!ye.relatedTarget||!this._getCellFromElement(ye.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:ye})))},this._mousedownHandler=ye=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const rt=ye.target&&this._getCellFromElement(ye.target);!rt||!this._isInRange(rt.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:rt.rawValue,event:ye})})},this._mouseupHandler=ye=>{if(!this.isRange)return;const rt=me(ye.target);rt?rt.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const ht=this._getCellFromElement(rt);this.dragEnded.emit({value:ht?.rawValue??null,event:ye})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:ye})})},this._touchendHandler=ye=>{const rt=Ct(ye);rt&&this._mouseupHandler({target:rt})},this._id="mat-calendar-body-"+X++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,He.runOutsideAngular(()=>{const ye=re.nativeElement;ye.addEventListener("touchmove",this._touchmoveHandler,se),ye.addEventListener("mouseenter",this._enterHandler,ae),ye.addEventListener("focus",this._enterHandler,ae),ye.addEventListener("mouseleave",this._leaveHandler,ae),ye.addEventListener("blur",this._leaveHandler,ae),ye.addEventListener("mousedown",this._mousedownHandler,he),ye.addEventListener("touchstart",this._mousedownHandler,he),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(re,He){this._didDragSinceMouseDown||re.enabled&&this.selectedValueChange.emit({value:re.value,event:He})}_emitActiveDateChange(re,He){re.enabled&&this.activeDateChange.emit({value:re.value,event:He})}_isSelected(re){return this.startValue===re||this.endValue===re}ngOnChanges(re){const He=re.numCols,{rows:ye,numCols:rt}=this;(re.rows||He)&&(this._firstRowOffset=ye&&ye.length&&ye[0].length?rt-ye[0].length:0),(re.cellAspectRatio||He||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/rt+"%"),(He||!this._cellWidth)&&(this._cellWidth=100/rt+"%")}ngOnDestroy(){const re=this._elementRef.nativeElement;re.removeEventListener("touchmove",this._touchmoveHandler,se),re.removeEventListener("mouseenter",this._enterHandler,ae),re.removeEventListener("focus",this._enterHandler,ae),re.removeEventListener("mouseleave",this._leaveHandler,ae),re.removeEventListener("blur",this._leaveHandler,ae),re.removeEventListener("mousedown",this._mousedownHandler,he),re.removeEventListener("touchstart",this._mousedownHandler,he),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(re,He){let ye=re*this.numCols+He;return re&&(ye-=this._firstRowOffset),ye==this.activeCell}_focusActiveCell(re=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Y.s)(1)).subscribe(()=>{setTimeout(()=>{const He=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");He&&(re||(this._skipNextFocus=!0),He.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(re){return Ee(re,this.startValue,this.endValue)}_isRangeEnd(re){return ue(re,this.startValue,this.endValue)}_isInRange(re){return Be(re,this.startValue,this.endValue,this.isRange)}_isComparisonStart(re){return Ee(re,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(re,He,ye){if(!this._isComparisonStart(re)||this._isRangeStart(re)||!this._isInRange(re))return!1;let rt=this.rows[He][ye-1];if(!rt){const ht=this.rows[He-1];rt=ht&&ht[ht.length-1]}return rt&&!this._isRangeEnd(rt.compareValue)}_isComparisonBridgeEnd(re,He,ye){if(!this._isComparisonEnd(re)||this._isRangeEnd(re)||!this._isInRange(re))return!1;let rt=this.rows[He][ye+1];if(!rt){const ht=this.rows[He+1];rt=ht&&ht[0]}return rt&&!this._isRangeStart(rt.compareValue)}_isComparisonEnd(re){return ue(re,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(re){return Be(re,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(re){return this.comparisonStart===this.comparisonEnd&&re===this.comparisonStart}_isPreviewStart(re){return Ee(re,this.previewStart,this.previewEnd)}_isPreviewEnd(re){return ue(re,this.previewStart,this.previewEnd)}_isInPreview(re){return Be(re,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(re){return this.isRange?this.startValue===re&&this.endValue===re?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===re?this._startDateLabelId:this.endValue===re?this._endDateLabelId:null:null}_getCellFromElement(re){const He=me(re);if(He){const ye=He.getAttribute("data-mat-row"),rt=He.getAttribute("data-mat-col");if(ye&&rt)return this.rows[parseInt(ye)][parseInt(rt)]}return null}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(l.aKT),l.rXU(l.SKi))}}static{this.\u0275cmp=l.VBU({type:Ut,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"],standalone:!0,features:[l.OA$,l.aNF],attrs:Me,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(He,ye){1&He&&(l.DNE(0,Ce,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&He&&(l.vxM(ye._firstRowOffset.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}'],encapsulation:2,changeDetection:0})}}return Ut})();function st(Ut){return"TD"===Ut?.nodeName}function me(Ut){let lt;return st(Ut)?lt=Ut:st(Ut.parentNode)?lt=Ut.parentNode:st(Ut.parentNode?.parentNode)&&(lt=Ut.parentNode.parentNode),null!=lt?.getAttribute("data-mat-row")?lt:null}function Ee(Ut,lt,re){return null!==re&<!==re&&Ut=lt&&Ut===re}function Be(Ut,lt,re,He){return He&&null!==lt&&null!==re&<!==re&&Ut>=lt&&Ut<=re}function Ct(Ut){const lt=Ut.changedTouches[0];return document.elementFromPoint(lt.clientX,lt.clientY)}class ct{constructor(lt,re){this.start=lt,this.end=re}}let dt=(()=>{class Ut{constructor(re,He){this.selection=re,this._adapter=He,this._selectionChanged=new h.B,this.selectionChanged=this._selectionChanged,this.selection=re}updateSelection(re,He){const ye=this.selection;this.selection=re,this._selectionChanged.next({selection:re,source:He,oldValue:ye})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(re){return this._adapter.isDateInstance(re)&&this._adapter.isValid(re)}static{this.\u0275fac=function(He){l.QTQ()}}static{this.\u0275prov=l.jDH({token:Ut,factory:Ut.\u0275fac})}}return Ut})(),Yt=(()=>{class Ut extends dt{constructor(re){super(null,re)}add(re){super.updateSelection(re,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const re=new Ut(this._adapter);return re.updateSelection(this.selection,this),re}static{this.\u0275fac=function(He){return new(He||Ut)(l.KVO(R.MJ))}}static{this.\u0275prov=l.jDH({token:Ut,factory:Ut.\u0275fac})}}return Ut})();const we={provide:dt,deps:[[new l.Xx1,new l.kdw,dt],R.MJ],useFactory:function _e(Ut,lt){return Ut||new Yt(lt)}},vt=new l.nKC("MAT_DATE_RANGE_SELECTION_STRATEGY");let yt=(()=>{class Ut{get activeDate(){return this._activeDate}set activeDate(re){const He=this._activeDate,ye=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ye,this.minDate,this.maxDate),this._hasSameMonthAndYear(He,this._activeDate)||this._init()}get selected(){return this._selected}set selected(re){this._selected=re instanceof ct?re:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(re){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get maxDate(){return this._maxDate}set maxDate(re){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}constructor(re,He,ye,rt,ht){this._changeDetectorRef=re,this._dateFormats=He,this._dateAdapter=ye,this._dir=rt,this._rangeStrategy=ht,this._rerenderSubscription=S.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,W.Z)(null)).subscribe(()=>this._init())}ngOnChanges(re){const He=re.comparisonStart||re.comparisonEnd;He&&!He.firstChange&&this._setRanges(this.selected),re.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(re){const He=re.value,ye=this._getDateFromDayOfMonth(He);let rt,ht;this._selected instanceof ct?(rt=this._getDateInCurrentMonth(this._selected.start),ht=this._getDateInCurrentMonth(this._selected.end)):rt=ht=this._getDateInCurrentMonth(this._selected),(rt!==He||ht!==He)&&this.selectedChange.emit(ye),this._userSelection.emit({value:ye,event:re.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(re){const ye=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(re.value),this._dateAdapter.compareDate(ye,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(re){const He=this._activeDate,ye=this._isRtl();switch(re.keyCode){case I.UQ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ye?1:-1);break;case I.LE:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ye?-1:1);break;case I.i7:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case I.n6:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case I.yZ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case I.Kp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case I.w_:this.activeDate=re.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case I.dB:this.activeDate=re.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case I.Fm:case I.t6:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&re.preventDefault());case I._f:return void(null!=this._previewEnd&&!(0,I.rp)(re)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:re}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:re})),re.preventDefault(),re.stopPropagation()));default:return}this._dateAdapter.compareDate(He,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),re.preventDefault()}_handleCalendarBodyKeyup(re){(re.keyCode===I.t6||re.keyCode===I.Fm)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:re}),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 re=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(re)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(re){this._matCalendarBody._focusActiveCell(re)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:re,value:He}){if(this._rangeStrategy){const ye=He?He.rawValue:null,rt=this._rangeStrategy.createPreview(ye,this.selected,re);if(this._previewStart=this._getCellCompareValue(rt.start),this._previewEnd=this._getCellCompareValue(rt.end),this.activeDrag&&ye){const ht=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,ye,re);ht&&(this._previewStart=this._getCellCompareValue(ht.start),this._previewEnd=this._getCellCompareValue(ht.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(re){if(this.activeDrag)if(re.value){const He=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,re.value,re.event);this.dragEnded.emit({value:He??null,event:re.event})}else this.dragEnded.emit({value:null,event:re.event})}_getDateFromDayOfMonth(re){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),re)}_initWeekdays(){const re=this._dateAdapter.getFirstDayOfWeek(),He=this._dateAdapter.getDayOfWeekNames("narrow");let rt=this._dateAdapter.getDayOfWeekNames("long").map((ht,ii)=>({long:ht,narrow:He[ii]}));this._weekdays=rt.slice(re).concat(rt.slice(0,re))}_createWeekCells(){const re=this._dateAdapter.getNumDaysInMonth(this.activeDate),He=this._dateAdapter.getDateNames();this._weeks=[[]];for(let ye=0,rt=this._firstWeekOffset;ye=0)&&(!this.maxDate||this._dateAdapter.compareDate(re,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(re))}_getDateInCurrentMonth(re){return re&&this._hasSameMonthAndYear(re,this.activeDate)?this._dateAdapter.getDate(re):null}_hasSameMonthAndYear(re,He){return!(!re||!He||this._dateAdapter.getMonth(re)!=this._dateAdapter.getMonth(He)||this._dateAdapter.getYear(re)!=this._dateAdapter.getYear(He))}_getCellCompareValue(re){if(re){const He=this._dateAdapter.getYear(re),ye=this._dateAdapter.getMonth(re),rt=this._dateAdapter.getDate(re);return new Date(He,ye,rt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(re){re instanceof ct?(this._rangeStart=this._getCellCompareValue(re.start),this._rangeEnd=this._getCellCompareValue(re.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(re),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(re){return!this.dateFilter||this.dateFilter(re)}_clearPreview(){this._previewStart=this._previewEnd=null}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(l.gRc),l.rXU(R.de,8),l.rXU(R.MJ,8),l.rXU(V.dS,8),l.rXU(vt,8))}}static{this.\u0275cmp=l.VBU({type:Ut,selectors:[["mat-month-view"]],viewQuery:function(He,ye){if(1&He&&l.GBs(Ie,5),2&He){let rt;l.mGM(rt=l.lsd())&&(ye._matCalendarBody=rt.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"],standalone:!0,features:[l.OA$,l.aNF],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"]],template:function(He,ye){1&He&&(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",3),l.nrm(6,"th",4),l.k0s()(),l.j41(7,"tbody",5),l.bIt("selectedValueChange",function(ht){return ye._dateSelected(ht)})("activeDateChange",function(ht){return ye._updateActiveDate(ht)})("previewChange",function(ht){return ye._previewChanged(ht)})("dragStarted",function(ht){return ye.dragStarted.emit(ht)})("dragEnded",function(ht){return ye._dragEnded(ht)})("keyup",function(ht){return ye._handleCalendarBodyKeyup(ht)})("keydown",function(ht){return ye._handleCalendarBodyKeydown(ht)}),l.k0s()()),2&He&&(l.R7$(3),l.Dyx(ye._weekdays),l.R7$(4),l.Y8G("label",ye._monthLabel)("rows",ye._weeks)("todayValue",ye._todayDate)("startValue",ye._rangeStart)("endValue",ye._rangeEnd)("comparisonStart",ye._comparisonRangeStart)("comparisonEnd",ye._comparisonRangeEnd)("previewStart",ye._previewStart)("previewEnd",ye._previewEnd)("isRange",ye._isRange)("labelMinRequiredCells",3)("activeCell",ye._dateAdapter.getDate(ye.activeDate)-1)("startDateAccessibleName",ye.startDateAccessibleName)("endDateAccessibleName",ye.endDateAccessibleName))},dependencies:[Ie],encapsulation:2,changeDetection:0})}}return Ut})();const jt=24;let et=(()=>{class Ut{get activeDate(){return this._activeDate}set activeDate(re){let He=this._activeDate;const ye=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ye,this.minDate,this.maxDate),Ae(this._dateAdapter,He,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(re){this._selected=re instanceof ct?re:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re)),this._setSelectedYear(re)}get minDate(){return this._minDate}set minDate(re){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get maxDate(){return this._maxDate}set maxDate(re){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}constructor(re,He,ye){this._changeDetectorRef=re,this._dateAdapter=He,this._dir=ye,this._rerenderSubscription=S.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,W.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const He=this._dateAdapter.getYear(this._activeDate)-It(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let ye=0,rt=[];yethis._createCellForYear(ht))),rt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(re){const He=re.value,ye=this._dateAdapter.createDate(He,0,1),rt=this._getDateFromYear(He);this.yearSelected.emit(ye),this.selectedChange.emit(rt)}_updateActiveDate(re){const ye=this._activeDate;this.activeDate=this._getDateFromYear(re.value),this._dateAdapter.compareDate(ye,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(re){const He=this._activeDate,ye=this._isRtl();switch(re.keyCode){case I.UQ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ye?1:-1);break;case I.LE:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ye?-1:1);break;case I.i7:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case I.n6:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case I.yZ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-It(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case I.Kp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,jt-It(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case I.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,re.altKey?10*-jt:-jt);break;case I.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,re.altKey?10*jt:jt);break;case I.Fm:case I.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(He,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),re.preventDefault()}_handleCalendarBodyKeyup(re){(re.keyCode===I.t6||re.keyCode===I.Fm)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:re}),this._selectionKeyPressed=!1)}_getActiveCell(){return It(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(re){const He=this._dateAdapter.getMonth(this.activeDate),ye=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(re,He,1));return this._dateAdapter.createDate(re,He,Math.min(this._dateAdapter.getDate(this.activeDate),ye))}_createCellForYear(re){const He=this._dateAdapter.createDate(re,0,1),ye=this._dateAdapter.getYearName(He),rt=this.dateClass?this.dateClass(He,"multi-year"):void 0;return new oe(re,ye,ye,this._shouldEnableYear(re),rt)}_shouldEnableYear(re){if(null==re||this.maxDate&&re>this._dateAdapter.getYear(this.maxDate)||this.minDate&&re{class Ut{get activeDate(){return this._activeDate}set activeDate(re){let He=this._activeDate;const ye=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ye,this.minDate,this.maxDate),this._dateAdapter.getYear(He)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(re){this._selected=re instanceof ct?re:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re)),this._setSelectedMonth(re)}get minDate(){return this._minDate}set minDate(re){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get maxDate(){return this._maxDate}set maxDate(re){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}constructor(re,He,ye,rt){this._changeDetectorRef=re,this._dateFormats=He,this._dateAdapter=ye,this._dir=rt,this._rerenderSubscription=S.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,W.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(re){const He=re.value,ye=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),He,1);this.monthSelected.emit(ye);const rt=this._getDateFromMonth(He);this.selectedChange.emit(rt)}_updateActiveDate(re){const ye=this._activeDate;this.activeDate=this._getDateFromMonth(re.value),this._dateAdapter.compareDate(ye,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(re){const He=this._activeDate,ye=this._isRtl();switch(re.keyCode){case I.UQ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ye?1:-1);break;case I.LE:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ye?-1:1);break;case I.i7:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case I.n6:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case I.yZ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case I.Kp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case I.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,re.altKey?-10:-1);break;case I.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,re.altKey?10:1);break;case I.Fm:case I.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(He,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),re.preventDefault()}_handleCalendarBodyKeyup(re){(re.keyCode===I.t6||re.keyCode===I.Fm)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:re}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let re=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(He=>He.map(ye=>this._createCellForMonth(ye,re[ye]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(re){return re&&this._dateAdapter.getYear(re)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(re):null}_getDateFromMonth(re){const He=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),re,1),ye=this._dateAdapter.getNumDaysInMonth(He);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),re,Math.min(this._dateAdapter.getDate(this.activeDate),ye))}_createCellForMonth(re,He){const ye=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),re,1),rt=this._dateAdapter.format(ye,this._dateFormats.display.monthYearA11yLabel),ht=this.dateClass?this.dateClass(ye,"year"):void 0;return new oe(re,He.toLocaleUpperCase(),rt,this._shouldEnableMonth(re),ht)}_shouldEnableMonth(re){const He=this._dateAdapter.getYear(this.activeDate);if(null==re||this._isYearAndMonthAfterMaxDate(He,re)||this._isYearAndMonthBeforeMinDate(He,re))return!1;if(!this.dateFilter)return!0;for(let rt=this._dateAdapter.createDate(He,re,1);this._dateAdapter.getMonth(rt)==re;rt=this._dateAdapter.addCalendarDays(rt,1))if(this.dateFilter(rt))return!0;return!1}_isYearAndMonthAfterMaxDate(re,He){if(this.maxDate){const ye=this._dateAdapter.getYear(this.maxDate),rt=this._dateAdapter.getMonth(this.maxDate);return re>ye||re===ye&&He>rt}return!1}_isYearAndMonthBeforeMinDate(re,He){if(this.minDate){const ye=this._dateAdapter.getYear(this.minDate),rt=this._dateAdapter.getMonth(this.minDate);return re{class Ut{constructor(re,He,ye,rt,ht){this._intl=re,this.calendar=He,this._dateAdapter=ye,this._dateFormats=rt,this._id="mat-calendar-header-"+Se++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>ht.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(re,He){return"month"==this.calendar.currentView?this._dateAdapter.getYear(re)==this._dateAdapter.getYear(He)&&this._dateAdapter.getMonth(re)==this._dateAdapter.getMonth(He):"year"==this.calendar.currentView?this._dateAdapter.getYear(re)==this._dateAdapter.getYear(He):Ae(this._dateAdapter,re,He,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const He=this._dateAdapter.getYear(this.calendar.activeDate)-It(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ye=He+jt-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(He,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(ye,0,1))]}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(We),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:Ut,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[l.aNF],ngContentSelectors:m,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],[1,"cdk-visually-hidden",3,"id"],["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"]],template:function(He,ye){1&He&&(l.NAR(),l.j41(0,"div",0)(1,"div",1)(2,"label",2),l.EFF(3),l.k0s(),l.j41(4,"button",3),l.bIt("click",function(){return ye.currentPeriodClicked()}),l.j41(5,"span",4),l.EFF(6),l.k0s(),l.qSk(),l.j41(7,"svg",5),l.nrm(8,"polygon",6),l.k0s()(),l.joV(),l.nrm(9,"div",7),l.SdG(10),l.j41(11,"button",8),l.bIt("click",function(){return ye.previousClicked()}),l.k0s(),l.j41(12,"button",9),l.bIt("click",function(){return ye.nextClicked()}),l.k0s()()()),2&He&&(l.R7$(2),l.Y8G("id",ye._periodButtonLabelId),l.R7$(),l.JRh(ye.periodButtonDescription),l.R7$(),l.BMQ("aria-label",ye.periodButtonLabel)("aria-describedby",ye._periodButtonLabelId),l.R7$(2),l.JRh(ye.periodButtonText),l.R7$(),l.AVh("mat-calendar-invert","month"!==ye.calendar.currentView),l.R7$(4),l.Y8G("disabled",!ye.previousEnabled()),l.BMQ("aria-label",ye.prevButtonLabel),l.R7$(),l.Y8G("disabled",!ye.nextEnabled()),l.BMQ("aria-label",ye.nextButtonLabel))},dependencies:[w.$z,w.iY],encapsulation:2,changeDetection:0})}}return Ut})(),ce=(()=>{class Ut{get startAt(){return this._startAt}set startAt(re){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get selected(){return this._selected}set selected(re){this._selected=re instanceof ct?re:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get minDate(){return this._minDate}set minDate(re){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get maxDate(){return this._maxDate}set maxDate(re){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get activeDate(){return this._clampedActiveDate}set activeDate(re){this._clampedActiveDate=this._dateAdapter.clampDate(re,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(re){const He=this._currentView!==re?re:null;this._currentView=re,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),He&&this.viewChanged.emit(He)}constructor(re,He,ye,rt){this._dateAdapter=He,this._dateFormats=ye,this._changeDetectorRef=rt,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 h.B,this._intlChanges=re.changes.subscribe(()=>{rt.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new x.A8(this.headerComponent||Te),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(re){const He=re.minDate&&!this._dateAdapter.sameDate(re.minDate.previousValue,re.minDate.currentValue)?re.minDate:void 0,ye=re.maxDate&&!this._dateAdapter.sameDate(re.maxDate.previousValue,re.maxDate.currentValue)?re.maxDate:void 0,rt=He||ye||re.dateFilter;if(rt&&!rt.firstChange){const ht=this._getCurrentViewComponent();ht&&(this._changeDetectorRef.detectChanges(),ht._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(re){const He=re.value;(this.selected instanceof ct||He&&!this._dateAdapter.sameDate(He,this.selected))&&this.selectedChange.emit(He),this._userSelection.emit(re)}_yearSelectedInMultiYearView(re){this.yearSelected.emit(re)}_monthSelectedInYearView(re){this.monthSelected.emit(re)}_goToDateInView(re,He){this.activeDate=re,this.currentView=He}_dragStarted(re){this._activeDrag=re}_dragEnded(re){this._activeDrag&&(re.value&&this._userDragDrop.emit(re),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(We),l.rXU(R.MJ,8),l.rXU(R.de,8),l.rXU(l.gRc))}}static{this.\u0275cmp=l.VBU({type:Ut,selectors:[["mat-calendar"]],viewQuery:function(He,ye){if(1&He&&(l.GBs(yt,5),l.GBs(xt,5),l.GBs(et,5)),2&He){let rt;l.mGM(rt=l.lsd())&&(ye.monthView=rt.first),l.mGM(rt=l.lsd())&&(ye.yearView=rt.first),l.mGM(rt=l.lsd())&&(ye.multiYearView=rt.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"],standalone:!0,features:[l.Jv_([we]),l.OA$,l.aNF],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(He,ye){if(1&He&&(l.DNE(0,d,0,0,"ng-template",0),l.j41(1,"div",1),l.DNE(2,C,1,11,"mat-month-view",2)(3,A,1,6,"mat-year-view",3)(4,k,1,6,"mat-multi-year-view",3),l.k0s()),2&He){let rt;l.Y8G("cdkPortalOutlet",ye._calendarHeaderPortal),l.R7$(2),l.vxM("month"===(rt=ye.currentView)?2:"year"===rt?3:"multi-year"===rt?4:-1)}},dependencies:[x.I3,e.vR,yt,xt,et],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);--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color)}.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:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){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:""}'],encapsulation:2,changeDetection:0})}}return Ut})();const Z={transformPanel:(0,ie.hZ)("transformPanel",[(0,ie.kY)("void => enter-dropdown",(0,ie.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.i7)([(0,ie.iF)({opacity:0,transform:"scale(1, 0.8)"}),(0,ie.iF)({opacity:1,transform:"scale(1, 1)"})]))),(0,ie.kY)("void => enter-dialog",(0,ie.i0)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.i7)([(0,ie.iF)({opacity:0,transform:"scale(0.7)"}),(0,ie.iF)({transform:"none",opacity:1})]))),(0,ie.kY)("* => void",(0,ie.i0)("100ms linear",(0,ie.iF)({opacity:0})))]),fadeInCalendar:(0,ie.hZ)("fadeInCalendar",[(0,ie.wk)("void",(0,ie.iF)({opacity:0})),(0,ie.wk)("enter",(0,ie.iF)({opacity:1})),(0,ie.kY)("void => *",(0,ie.i0)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Re=0;const Pe=new l.nKC("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const Ut=(0,l.WQX)(t.hJ);return()=>Ut.scrollStrategies.reposition()}}),Ke={provide:Pe,deps:[t.hJ],useFactory:function pt(Ut){return()=>Ut.scrollStrategies.reposition()}};let Fe=(()=>{class Ut{constructor(re,He,ye,rt,ht,ii){this._elementRef=re,this._changeDetectorRef=He,this._globalModel=ye,this._dateAdapter=rt,this._rangeSelectionStrategy=ht,this._subscriptions=new S.yU,this._animationDone=new h.B,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=ii.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(re){const He=this._model.selection,ye=re.value,rt=He instanceof ct;if(rt&&this._rangeSelectionStrategy){const ht=this._rangeSelectionStrategy.selectionFinished(ye,He,re.event);this._model.updateSelection(ht,this)}else ye&&(rt||!this._dateAdapter.sameDate(ye,He))&&this._model.add(ye);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(re){this._model.updateSelection(re.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(re){this._isAnimating="start"===re.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(re,He){this._model=re?this._globalModel.clone():this._globalModel,this._actionsPortal=re,He&&this._changeDetectorRef.detectChanges()}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(l.aKT),l.rXU(l.gRc),l.rXU(dt),l.rXU(R.MJ),l.rXU(vt,8),l.rXU(We))}}static{this.\u0275cmp=l.VBU({type:Ut,selectors:[["mat-datepicker-content"]],viewQuery:function(He,ye){if(1&He&&l.GBs(ce,5),2&He){let rt;l.mGM(rt=l.lsd())&&(ye._calendar=rt.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(He,ye){1&He&&l.Kam("@transformPanel.start",function(ht){return ye._handleAnimationEvent(ht)})("@transformPanel.done",function(ht){return ye._handleAnimationEvent(ht)}),2&He&&(l.zvX("@transformPanel",ye._animationState),l.HbH(ye.color?"mat-"+ye.color:""),l.AVh("mat-datepicker-content-touch",ye.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[l.aNF],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","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(He,ye){if(1&He&&(l.j41(0,"div",0)(1,"mat-calendar",1),l.bIt("yearSelected",function(ht){return ye.datepicker._selectYear(ht)})("monthSelected",function(ht){return ye.datepicker._selectMonth(ht)})("viewChanged",function(ht){return ye.datepicker._viewChanged(ht)})("_userSelection",function(ht){return ye._handleUserSelection(ht)})("_userDragDrop",function(ht){return ye._handleUserDragDrop(ht)}),l.k0s(),l.DNE(2,_,0,0,"ng-template",2),l.j41(3,"button",3),l.bIt("focus",function(){return ye._closeButtonFocused=!0})("blur",function(){return ye._closeButtonFocused=!1})("click",function(){return ye.datepicker.close()}),l.EFF(4),l.k0s()()),2&He){let rt;l.AVh("mat-datepicker-content-container-with-custom-header",ye.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",ye._actionsPortal),l.BMQ("aria-modal",!0)("aria-labelledby",null!==(rt=ye._dialogLabelId)&&void 0!==rt?rt:void 0),l.R7$(),l.HbH(ye.datepicker.panelClass),l.Y8G("id",ye.datepicker.id)("startAt",ye.datepicker.startAt)("startView",ye.datepicker.startView)("minDate",ye.datepicker._getMinDate())("maxDate",ye.datepicker._getMaxDate())("dateFilter",ye.datepicker._getDateFilter())("headerComponent",ye.datepicker.calendarHeaderComponent)("selected",ye._getSelected())("dateClass",ye.datepicker.dateClass)("comparisonStart",ye.comparisonStart)("comparisonEnd",ye.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",ye.startDateAccessibleName)("endDateAccessibleName",ye.endDateAccessibleName),l.R7$(),l.Y8G("cdkPortalOutlet",ye._actionsPortal),l.R7$(),l.AVh("cdk-visually-hidden",!ye._closeButtonFocused),l.Y8G("color",ye.color||"primary"),l.R7$(),l.JRh(ye._closeButtonText)}},dependencies:[e.kB,ce,x.I3,w.$z],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color);box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-touch-shape);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:[Z.transformPanel,Z.fadeInCalendar]},changeDetection:0})}}return Ut})(),Ge=(()=>{class Ut{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(re){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(re){this._color=re}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(re){re!==this._disabled&&(this._disabled=re,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(re){this._panelClass=(0,J.cc)(re)}get opened(){return this._opened}set opened(re){re?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(re,He,ye,rt,ht,ii,di){this._overlay=re,this._ngZone=He,this._viewContainerRef=ye,this._dateAdapter=ht,this._dir=ii,this._model=di,this._inputStateChanges=S.yU.EMPTY,this._document=(0,l.WQX)(D.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-"+Re++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new h.B,this._scrollStrategy=rt}ngOnChanges(re){const He=re.xPosition||re.yPosition;if(He&&!He.firstChange&&this._overlayRef){const ye=this._overlayRef.getConfig().positionStrategy;ye instanceof t.rW&&(this._setConnectedPositions(ye),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(re){this._model.add(re)}_selectYear(re){this.yearSelected.emit(re)}_selectMonth(re){this.monthSelected.emit(re)}_viewChanged(re){this.viewChanged.emit(re)}registerInput(re){return this._inputStateChanges.unsubscribe(),this.datepickerInput=re,this._inputStateChanges=re.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(re){this._actionsPortal=re,this._componentRef?.instance._assignActions(re,!0)}removeActions(re){re===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,j.vc)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const re=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,He=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:ye,location:rt}=this._componentRef;ye._startExitAnimation(),ye._animationDone.pipe((0,Y.s)(1)).subscribe(()=>{const ht=this._document.activeElement;re&&(!ht||ht===this._document.activeElement||rt.nativeElement.contains(ht))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}re?setTimeout(He):He()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(re){re.datepicker=this,re.color=this.color,re._dialogLabelId=this.datepickerInput.getOverlayLabelId(),re._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const re=this.touchUi,He=new x.A8(Fe,this._viewContainerRef),ye=this._overlayRef=this._overlay.create(new t.rR({positionStrategy:re?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[re?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:re?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(re?"dialog":"popup")}));this._getCloseStream(ye).subscribe(rt=>{rt&&rt.preventDefault(),this.close()}),ye.keydownEvents().subscribe(rt=>{const ht=rt.keyCode;(ht===I.i7||ht===I.n6||ht===I.UQ||ht===I.LE||ht===I.w_||ht===I.dB)&&rt.preventDefault()}),this._componentRef=ye.attach(He),this._forwardContentValues(this._componentRef.instance),re||this._ngZone.onStable.pipe((0,Y.s)(1)).subscribe(()=>ye.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const re=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(re)}_setConnectedPositions(re){const He="end"===this.xPosition?"end":"start",ye="start"===He?"end":"start",rt="above"===this.yPosition?"bottom":"top",ht="top"===rt?"bottom":"top";return re.withPositions([{originX:He,originY:ht,overlayX:He,overlayY:rt},{originX:He,originY:rt,overlayX:He,overlayY:ht},{originX:ye,originY:ht,overlayX:ye,overlayY:rt},{originX:ye,originY:rt,overlayX:ye,overlayY:ht}])}_getCloseStream(re){const He=["ctrlKey","shiftKey","metaKey"];return(0,y.h)(re.backdropClick(),re.detachments(),re.keydownEvents().pipe((0,Q.p)(ye=>ye.keyCode===I._f&&!(0,I.rp)(ye)||this.datepickerInput&&(0,I.rp)(ye,"altKey")&&ye.keyCode===I.i7&&He.every(rt=>!(0,I.rp)(ye,rt)))))}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(t.hJ),l.rXU(l.SKi),l.rXU(l.c1b),l.rXU(Pe),l.rXU(R.MJ,8),l.rXU(V.dS,8),l.rXU(dt))}}static{this.\u0275dir=l.FsC({type:Ut,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",l.L39],disabled:[2,"disabled","disabled",l.L39],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",l.L39],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",l.L39]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[l.GFd,l.OA$]})}}return Ut})(),qe=(()=>{class Ut extends Ge{static{this.\u0275fac=(()=>{let re;return function(ye){return(re||(re=l.xGo(Ut)))(ye||Ut)}})()}static{this.\u0275cmp=l.VBU({type:Ut,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],standalone:!0,features:[l.Jv_([we,{provide:Ge,useExisting:Ut}]),l.Vt3,l.aNF],decls:0,vars:0,template:function(He,ye){},encapsulation:2,changeDetection:0})}}return Ut})();class at{constructor(lt,re){this.target=lt,this.targetElement=re,this.value=this.target.value}}let Lt=(()=>{class Ut{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(re){this._assignValueProgrammatically(re)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(re){const He=re,ye=this._elementRef.nativeElement;this._disabled!==He&&(this._disabled=He,this.stateChanges.next(void 0)),He&&this._isInitialized&&ye.blur&&ye.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(re){this._model=re,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(He=>{if(this._shouldHandleChangeEvent(He)){const ye=this._getValueFromModel(He.selection);this._lastValueValid=this._isValidValue(ye),this._cvaOnChange(ye),this._onTouched(),this._formatValue(ye),this.dateInput.emit(new at(this,this._elementRef.nativeElement)),this.dateChange.emit(new at(this,this._elementRef.nativeElement))}})}constructor(re,He,ye){this._elementRef=re,this._dateAdapter=He,this._dateFormats=ye,this.dateChange=new l.bkB,this.dateInput=new l.bkB,this.stateChanges=new h.B,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=S.yU.EMPTY,this._localeSubscription=S.yU.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=rt=>{const ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rt.value));return!ht||this._matchesFilter(ht)?null:{matDatepickerFilter:!0}},this._minValidator=rt=>{const ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rt.value)),ii=this._getMinDate();return!ii||!ht||this._dateAdapter.compareDate(ii,ht)<=0?null:{matDatepickerMin:{min:ii,actual:ht}}},this._maxValidator=rt=>{const ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rt.value)),ii=this._getMaxDate();return!ii||!ht||this._dateAdapter.compareDate(ii,ht)>=0?null:{matDatepickerMax:{max:ii,actual:ht}}},this._lastValueValid=!1,this._localeSubscription=He.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(re){(function pi(Ut,lt){const re=Object.keys(Ut);for(let He of re){const{previousValue:ye,currentValue:rt}=Ut[He];if(!lt.isDateInstance(ye)||!lt.isDateInstance(rt))return!0;if(!lt.sameDate(ye,rt))return!0}return!1})(re,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(re){this._validatorOnChange=re}validate(re){return this._validator?this._validator(re):null}writeValue(re){this._assignValueProgrammatically(re)}registerOnChange(re){this._cvaOnChange=re}registerOnTouched(re){this._onTouched=re}setDisabledState(re){this.disabled=re}_onKeydown(re){(0,I.rp)(re,"altKey")&&re.keyCode===I.n6&&["ctrlKey","shiftKey","metaKey"].every(rt=>!(0,I.rp)(re,rt))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),re.preventDefault())}_onInput(re){const He=this._lastValueValid;let ye=this._dateAdapter.parse(re,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ye),ye=this._dateAdapter.getValidDateOrNull(ye);const rt=!this._dateAdapter.sameDate(ye,this.value);!ye||rt?this._cvaOnChange(ye):(re&&!this.value&&this._cvaOnChange(ye),He!==this._lastValueValid&&this._validatorOnChange()),rt&&(this._assignValue(ye),this.dateInput.emit(new at(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new at(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(re){this._elementRef.nativeElement.value=null!=re?this._dateAdapter.format(re,this._dateFormats.display.dateInput):""}_assignValue(re){this._model?(this._assignValueToModel(re),this._pendingValue=null):this._pendingValue=re}_isValidValue(re){return!re||this._dateAdapter.isValid(re)}_parentDisabled(){return!1}_assignValueProgrammatically(re){re=this._dateAdapter.deserialize(re),this._lastValueValid=this._isValidValue(re),re=this._dateAdapter.getValidDateOrNull(re),this._assignValue(re),this._formatValue(re)}_matchesFilter(re){const He=this._getDateFilter();return!He||He(re)}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(l.aKT),l.rXU(R.MJ,8),l.rXU(R.de,8))}}static{this.\u0275dir=l.FsC({type:Ut,inputs:{value:"value",disabled:[2,"disabled","disabled",l.L39]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[l.GFd,l.OA$]})}}return Ut})();const $t={provide:ee.kq,useExisting:(0,l.Rfq)(()=>Ui),multi:!0},Kt={provide:ee.cz,useExisting:(0,l.Rfq)(()=>Ui),multi:!0};let Ui=(()=>{class Ut extends Lt{set matDatepicker(re){re&&(this._datepicker=re,this._closedSubscription=re.closedStream.subscribe(()=>this._onTouched()),this._registerModel(re.registerInput(this)))}get min(){return this._min}set min(re){const He=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re));this._dateAdapter.sameDate(He,this._min)||(this._min=He,this._validatorOnChange())}get max(){return this._max}set max(re){const He=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re));this._dateAdapter.sameDate(He,this._max)||(this._max=He,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(re){const He=this._matchesFilter(this.value);this._dateFilter=re,this._matchesFilter(this.value)!==He&&this._validatorOnChange()}constructor(re,He,ye,rt){super(re,He,ye),this._formField=rt,this._closedSubscription=S.yU.EMPTY,this._validator=ee.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(re){return re}_assignValueToModel(re){this._model&&this._model.updateSelection(re,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(re){return re.source!==this}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(l.aKT),l.rXU(R.MJ,8),l.rXU(R.de,8),l.rXU(fe.xb,8))}}static{this.\u0275dir=l.FsC({type:Ut,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(He,ye){1&He&&l.bIt("input",function(ht){return ye._onInput(ht.target.value)})("change",function(){return ye._onChange()})("blur",function(){return ye._onBlur()})("keydown",function(ht){return ye._onKeydown(ht)}),2&He&&(l.Mr5("disabled",ye.disabled),l.BMQ("aria-haspopup",ye._datepicker?"dialog":null)("aria-owns",(null==ye._datepicker?null:ye._datepicker.opened)&&ye._datepicker.id||null)("min",ye.min?ye._dateAdapter.toIso8601(ye.min):null)("max",ye.max?ye._dateAdapter.toIso8601(ye.max):null)("data-mat-calendar",ye._datepicker?ye._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],standalone:!0,features:[l.Jv_([$t,Kt,{provide:ne.Oh,useExisting:Ut}]),l.Vt3]})}}return Ut})(),ti=(()=>{class Ut{static{this.\u0275fac=function(He){return new(He||Ut)}}static{this.\u0275dir=l.FsC({type:Ut,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0})}}return Ut})(),fi=(()=>{class Ut{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(re){this._disabled=re}constructor(re,He,ye){this._intl=re,this._changeDetectorRef=He,this._stateChanges=S.yU.EMPTY;const rt=Number(ye);this.tabIndex=rt||0===rt?rt:null}ngOnChanges(re){re.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(re){this.datepicker&&!this.disabled&&(this.datepicker.open(),re.stopPropagation())}_watchStateChanges(){const re=this.datepicker?this.datepicker.stateChanges:(0,O.of)(),He=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,O.of)(),ye=this.datepicker?(0,y.h)(this.datepicker.openedStream,this.datepicker.closedStream):(0,O.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,y.h)(this._intl.changes,re,He,ye).subscribe(()=>this._changeDetectorRef.markForCheck())}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(We),l.rXU(l.gRc),l.kS0("tabindex"))}}static{this.\u0275cmp=l.VBU({type:Ut,selectors:[["mat-datepicker-toggle"]],contentQueries:function(He,ye,rt){if(1&He&&l.wni(rt,ti,5),2&He){let ht;l.mGM(ht=l.lsd())&&(ye._customIcon=ht.first)}},viewQuery:function(He,ye){if(1&He&&l.GBs(a,5),2&He){let rt;l.mGM(rt=l.lsd())&&(ye._button=rt.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(He,ye){1&He&&l.bIt("click",function(ht){return ye._open(ht)}),2&He&&(l.BMQ("tabindex",null)("data-mat-calendar",ye.datepicker?ye.datepicker.id:null),l.AVh("mat-datepicker-toggle-active",ye.datepicker&&ye.datepicker.opened)("mat-accent",ye.datepicker&&"accent"===ye.datepicker.color)("mat-warn",ye.datepicker&&"warn"===ye.datepicker.color))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",l.L39],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[l.GFd,l.OA$,l.aNF],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(He,ye){1&He&&(l.NAR(b),l.j41(0,"button",1,0),l.DNE(2,N,2,0,":svg:svg",2),l.SdG(3),l.k0s()),2&He&&(l.Y8G("disabled",ye.disabled)("disableRipple",ye.disableRipple),l.BMQ("aria-haspopup",ye.datepicker?"dialog":null)("aria-label",ye.ariaLabel||ye._intl.openCalendarLabel)("tabindex",ye.disabled?-1:ye.tabIndex),l.R7$(2),l.vxM(ye._customIcon?-1:2))},dependencies:[w.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 Ut})(),mn=(()=>{class Ut{static{this.\u0275fac=function(He){return new(He||Ut)}}static{this.\u0275mod=l.$C({type:Ut})}static{this.\u0275inj=l.G2t({providers:[We,Ke],imports:[D.MD,w.Hl,t.z_,e.Pd,x.jc,R.yE,Fe,fi,Te,f.Gj]})}}return Ut})()},5351:(Qe,te,g)=>{"use strict";g.d(te,{Vh:()=>X,di:()=>se,bZ:()=>me,tx:()=>ue,hM:()=>_e,CP:()=>We});var e=g(6969),t=g(177),x=g(4438),D=g(8617),l=g(6860),w=g(6939),f=g(7336),R=g(1413),h=g(9030),S=g(7673),y=g(8203),O=g(9172);function I(je,vt){}class V{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let Y=(()=>{class je extends w.lb{constructor($e,nt,qt,Nt,yt,jt,Je,et){super(),this._elementRef=$e,this._focusTrapFactory=nt,this._config=Nt,this._interactivityChecker=yt,this._ngZone=jt,this._overlayRef=Je,this._focusMonitor=et,this._platform=(0,x.WQX)(l.OD),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=(0,x.WQX)(x.gRc),this.attachDomPortal=Ae=>{this._portalOutlet.hasAttached();const It=this._portalOutlet.attachDomPortal(Ae);return this._contentAttached(),It},this._document=qt,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy($e){this._ariaLabelledByQueue.push($e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy($e){const nt=this._ariaLabelledByQueue.indexOf($e);nt>-1&&(this._ariaLabelledByQueue.splice(nt,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal($e){this._portalOutlet.hasAttached();const nt=this._portalOutlet.attachComponentPortal($e);return this._contentAttached(),nt}attachTemplatePortal($e){this._portalOutlet.hasAttached();const nt=this._portalOutlet.attachTemplatePortal($e);return this._contentAttached(),nt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus($e,nt){this._interactivityChecker.isFocusable($e)||($e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const qt=()=>{$e.removeEventListener("blur",qt),$e.removeEventListener("mousedown",qt),$e.removeAttribute("tabindex")};$e.addEventListener("blur",qt),$e.addEventListener("mousedown",qt)})),$e.focus(nt)}_focusByCssSelector($e,nt){let qt=this._elementRef.nativeElement.querySelector($e);qt&&this._forceFocus(qt,nt)}_trapFocus(){const $e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||$e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(nt=>{nt||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 $e=this._config.restoreFocus;let nt=null;if("string"==typeof $e?nt=this._document.querySelector($e):"boolean"==typeof $e?nt=$e?this._elementFocusedBeforeDialogWasOpened:null:$e&&(nt=$e),this._config.restoreFocus&&nt&&"function"==typeof nt.focus){const qt=(0,l.vc)(),Nt=this._elementRef.nativeElement;(!qt||qt===this._document.body||qt===Nt||Nt.contains(qt))&&(this._focusMonitor?(this._focusMonitor.focusVia(nt,this._closeInteractionType),this._closeInteractionType=null):nt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const $e=this._elementRef.nativeElement,nt=(0,l.vc)();return $e===nt||$e.contains(nt)}_initializeFocusTrap(){this._platform.isBrowser&&(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(nt){return new(nt||je)(x.rXU(x.aKT),x.rXU(D.GX),x.rXU(t.qQ,8),x.rXU(V),x.rXU(D.Z7),x.rXU(x.SKi),x.rXU(e.yY),x.rXU(D.FN))}}static{this.\u0275cmp=x.VBU({type:je,selectors:[["cdk-dialog-container"]],viewQuery:function(nt,qt){if(1&nt&&x.GBs(w.I3,7),2&nt){let Nt;x.mGM(Nt=x.lsd())&&(qt._portalOutlet=Nt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(nt,qt){2&nt&&x.BMQ("id",qt._config.id||null)("role",qt._config.role)("aria-modal",qt._config.ariaModal)("aria-labelledby",qt._config.ariaLabel?null:qt._ariaLabelledByQueue[0])("aria-label",qt._config.ariaLabel)("aria-describedby",qt._config.ariaDescribedBy||null)},standalone:!0,features:[x.Vt3,x.aNF],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(nt,qt){1&nt&&x.DNE(0,I,0,0,"ng-template",0)},dependencies:[w.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return je})();class W{constructor(vt,$e){this.overlayRef=vt,this.config=$e,this.closed=new R.B,this.disableClose=$e.disableClose,this.backdropClick=vt.backdropClick(),this.keydownEvents=vt.keydownEvents(),this.outsidePointerEvents=vt.outsidePointerEvents(),this.id=$e.id,this.keydownEvents.subscribe(nt=>{nt.keyCode===f._f&&!this.disableClose&&!(0,f.rp)(nt)&&(nt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=vt.detachments().subscribe(()=>{!1!==$e.closeOnOverlayDetachments&&this.close()})}close(vt,$e){if(this.containerInstance){const nt=this.closed;this.containerInstance._closeInteractionType=$e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),nt.next(vt),nt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(vt="",$e=""){return this.overlayRef.updateSize({width:vt,height:$e}),this}addPanelClass(vt){return this.overlayRef.addPanelClass(vt),this}removePanelClass(vt){return this.overlayRef.removePanelClass(vt),this}}const Q=new x.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const je=(0,x.WQX)(e.hJ);return()=>je.scrollStrategies.block()}}),J=new x.nKC("DialogData"),ie=new x.nKC("DefaultDialogConfig");let ne=0,Me=(()=>{class je{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor($e,nt,qt,Nt,yt,jt){this._overlay=$e,this._injector=nt,this._defaultOptions=qt,this._parentDialog=Nt,this._overlayContainer=yt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R.B,this._afterOpenedAtThisLevel=new R.B,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,h.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,O.Z)(void 0))),this._scrollStrategy=jt}open($e,nt){(nt={...this._defaultOptions||new V,...nt}).id=nt.id||"cdk-dialog-"+ne++,nt.id&&this.getDialogById(nt.id);const Nt=this._getOverlayConfig(nt),yt=this._overlay.create(Nt),jt=new W(yt,nt),Je=this._attachContainer(yt,jt,nt);return jt.containerInstance=Je,this._attachDialogContent($e,jt,Je,nt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(jt),jt.closed.subscribe(()=>this._removeOpenDialog(jt,!0)),this.afterOpened.next(jt),jt}closeAll(){Ce(this.openDialogs,$e=>$e.close())}getDialogById($e){return this.openDialogs.find(nt=>nt.id===$e)}ngOnDestroy(){Ce(this._openDialogsAtThisLevel,$e=>{!1===$e.config.closeOnDestroy&&this._removeOpenDialog($e,!1)}),Ce(this._openDialogsAtThisLevel,$e=>$e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig($e){const nt=new e.rR({positionStrategy:$e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:$e.scrollStrategy||this._scrollStrategy(),panelClass:$e.panelClass,hasBackdrop:$e.hasBackdrop,direction:$e.direction,minWidth:$e.minWidth,minHeight:$e.minHeight,maxWidth:$e.maxWidth,maxHeight:$e.maxHeight,width:$e.width,height:$e.height,disposeOnNavigation:$e.closeOnNavigation});return $e.backdropClass&&(nt.backdropClass=$e.backdropClass),nt}_attachContainer($e,nt,qt){const Nt=qt.injector||qt.viewContainerRef?.injector,yt=[{provide:V,useValue:qt},{provide:W,useValue:nt},{provide:e.yY,useValue:$e}];let jt;qt.container?"function"==typeof qt.container?jt=qt.container:(jt=qt.container.type,yt.push(...qt.container.providers(qt))):jt=Y;const Je=new w.A8(jt,qt.viewContainerRef,x.zZn.create({parent:Nt||this._injector,providers:yt}),qt.componentFactoryResolver);return $e.attach(Je).instance}_attachDialogContent($e,nt,qt,Nt){if($e instanceof x.C4Q){const yt=this._createInjector(Nt,nt,qt,void 0);let jt={$implicit:Nt.data,dialogRef:nt};Nt.templateContext&&(jt={...jt,..."function"==typeof Nt.templateContext?Nt.templateContext():Nt.templateContext}),qt.attachTemplatePortal(new w.VA($e,null,jt,yt))}else{const yt=this._createInjector(Nt,nt,qt,this._injector),jt=qt.attachComponentPortal(new w.A8($e,Nt.viewContainerRef,yt,Nt.componentFactoryResolver));nt.componentRef=jt,nt.componentInstance=jt.instance}}_createInjector($e,nt,qt,Nt){const yt=$e.injector||$e.viewContainerRef?.injector,jt=[{provide:J,useValue:$e.data},{provide:W,useValue:nt}];return $e.providers&&("function"==typeof $e.providers?jt.push(...$e.providers(nt,$e,qt)):jt.push(...$e.providers)),$e.direction&&(!yt||!yt.get(y.dS,null,{optional:!0}))&&jt.push({provide:y.dS,useValue:{value:$e.direction,change:(0,S.of)()}}),x.zZn.create({parent:yt||Nt,providers:jt})}_removeOpenDialog($e,nt){const qt=this.openDialogs.indexOf($e);qt>-1&&(this.openDialogs.splice(qt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Nt,yt)=>{Nt?yt.setAttribute("aria-hidden",Nt):yt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),nt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const $e=this._overlayContainer.getContainerElement();if($e.parentElement){const nt=$e.parentElement.children;for(let qt=nt.length-1;qt>-1;qt--){const Nt=nt[qt];Nt!==$e&&"SCRIPT"!==Nt.nodeName&&"STYLE"!==Nt.nodeName&&!Nt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Nt,Nt.getAttribute("aria-hidden")),Nt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const $e=this._parentDialog;return $e?$e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(nt){return new(nt||je)(x.KVO(e.hJ),x.KVO(x.zZn),x.KVO(ie,8),x.KVO(je,12),x.KVO(e.Sf),x.KVO(Q))}}static{this.\u0275prov=x.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})();function Ce(je,vt){let $e=je.length;for(;$e--;)vt(je[$e])}let le=(()=>{class je{static{this.\u0275fac=function(nt){return new(nt||je)}}static{this.\u0275mod=x.$C({type:je})}static{this.\u0275inj=x.G2t({providers:[Me],imports:[e.z_,w.jc,D.Pd,w.jc]})}}return je})();var T=g(4085),n=g(7786),c=g(5964),m=g(6697),d=g(6600);function A(je,vt){}g(9969);class k{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const _="mdc-dialog--open",a="mdc-dialog--opening",b="mdc-dialog--closing";let q=(()=>{class je extends Y{constructor($e,nt,qt,Nt,yt,jt,Je,et,Ae){super($e,nt,qt,Nt,yt,jt,Je,Ae),this._animationMode=et,this._animationStateChanged=new x.bkB,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?ze(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?ze(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(pe,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(a,_)),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(pe,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(b)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount($e){this._actionSectionCount+=$e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(a,b)}_waitForAnimationToComplete($e,nt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(nt,$e)}_requestAnimationFrame($e){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame($e):$e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone($e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:$e})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal($e){const nt=super.attachComponentPortal($e);return nt.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),nt}static{this.\u0275fac=function(nt){return new(nt||je)(x.rXU(x.aKT),x.rXU(D.GX),x.rXU(t.qQ,8),x.rXU(k),x.rXU(D.Z7),x.rXU(x.SKi),x.rXU(e.yY),x.rXU(x.bc$,8),x.rXU(D.FN))}}static{this.\u0275cmp=x.VBU({type:je,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(nt,qt){2&nt&&(x.Mr5("id",qt._config.id),x.BMQ("aria-modal",qt._config.ariaModal)("role",qt._config.role)("aria-labelledby",qt._config.ariaLabel?null:qt._ariaLabelledByQueue[0])("aria-label",qt._config.ariaLabel)("aria-describedby",qt._config.ariaDescribedBy||null),x.AVh("_mat-animation-noopable",!qt._animationsEnabled)("mat-mdc-dialog-container-with-actions",qt._actionSectionCount>0))},standalone:!0,features:[x.Vt3,x.aNF],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(nt,qt){1&nt&&(x.j41(0,"div",0)(1,"div",1),x.DNE(2,A,0,0,"ng-template",2),x.k0s()())},dependencies:[w.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%;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;transform:scale(0.8)}.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--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.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:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{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 je})();const pe="--mat-dialog-transition-duration";function ze(je){return null==je?null:"number"==typeof je?je:je.endsWith("ms")?(0,T.OE)(je.substring(0,je.length-2)):je.endsWith("s")?1e3*(0,T.OE)(je.substring(0,je.length-1)):"0"===je?0:null}var Xe=function(je){return je[je.OPEN=0]="OPEN",je[je.CLOSING=1]="CLOSING",je[je.CLOSED=2]="CLOSED",je}(Xe||{});class We{constructor(vt,$e,nt){this._ref=vt,this._containerInstance=nt,this._afterOpened=new R.B,this._beforeClosed=new R.B,this._state=Xe.OPEN,this.disableClose=$e.disableClose,this.id=vt.id,vt.addPanelClass("mat-mdc-dialog-panel"),nt._animationStateChanged.pipe((0,c.p)(qt=>"opened"===qt.state),(0,m.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),nt._animationStateChanged.pipe((0,c.p)(qt=>"closed"===qt.state),(0,m.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),vt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,n.h)(this.backdropClick(),this.keydownEvents().pipe((0,c.p)(qt=>qt.keyCode===f._f&&!this.disableClose&&!(0,f.rp)(qt)))).subscribe(qt=>{this.disableClose||(qt.preventDefault(),oe(this,"keydown"===qt.type?"keyboard":"mouse"))})}close(vt){this._result=vt,this._containerInstance._animationStateChanged.pipe((0,c.p)($e=>"closing"===$e.state),(0,m.s)(1)).subscribe($e=>{this._beforeClosed.next(vt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),$e.totalTime+100)}),this._state=Xe.CLOSING,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(vt){let $e=this._ref.config.positionStrategy;return vt&&(vt.left||vt.right)?vt.left?$e.left(vt.left):$e.right(vt.right):$e.centerHorizontally(),vt&&(vt.top||vt.bottom)?vt.top?$e.top(vt.top):$e.bottom(vt.bottom):$e.centerVertically(),this._ref.updatePosition(),this}updateSize(vt="",$e=""){return this._ref.updateSize(vt,$e),this}addPanelClass(vt){return this._ref.addPanelClass(vt),this}removePanelClass(vt){return this._ref.removePanelClass(vt),this}getState(){return this._state}_finishDialogClose(){this._state=Xe.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function oe(je,vt,$e){return je._closeInteractionType=vt,je.close($e)}const X=new x.nKC("MatMdcDialogData"),se=new x.nKC("mat-mdc-dialog-default-options"),ae=new x.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const je=(0,x.WQX)(e.hJ);return()=>je.scrollStrategies.block()}});let st=0,me=(()=>{class je{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const $e=this._parentDialog;return $e?$e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor($e,nt,qt,Nt,yt,jt,Je,et){this._overlay=$e,this._defaultOptions=Nt,this._scrollStrategy=yt,this._parentDialog=jt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R.B,this._afterOpenedAtThisLevel=new R.B,this.dialogConfigClass=k,this.afterAllClosed=(0,h.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,O.Z)(void 0))),this._dialog=nt.get(Me),this._dialogRefConstructor=We,this._dialogContainerType=q,this._dialogDataToken=X}open($e,nt){let qt;(nt={...this._defaultOptions||new k,...nt}).id=nt.id||"mat-mdc-dialog-"+st++,nt.scrollStrategy=nt.scrollStrategy||this._scrollStrategy();const Nt=this._dialog.open($e,{...nt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:nt},{provide:V,useValue:nt}]},templateContext:()=>({dialogRef:qt}),providers:(yt,jt,Je)=>(qt=new this._dialogRefConstructor(yt,nt,Je),qt.updatePosition(nt?.position),[{provide:this._dialogContainerType,useValue:Je},{provide:this._dialogDataToken,useValue:jt.data},{provide:this._dialogRefConstructor,useValue:qt}])});return qt.componentRef=Nt.componentRef,qt.componentInstance=Nt.componentInstance,this.openDialogs.push(qt),this.afterOpened.next(qt),qt.afterClosed().subscribe(()=>{const yt=this.openDialogs.indexOf(qt);yt>-1&&(this.openDialogs.splice(yt,1),this.openDialogs.length||this._getAfterAllClosed().next())}),qt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById($e){return this.openDialogs.find(nt=>nt.id===$e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs($e){let nt=$e.length;for(;nt--;)$e[nt].close()}static{this.\u0275fac=function(nt){return new(nt||je)(x.KVO(e.hJ),x.KVO(x.zZn),x.KVO(t.aZ,8),x.KVO(se,8),x.KVO(ae),x.KVO(je,12),x.KVO(e.Sf),x.KVO(x.bc$,8))}}static{this.\u0275prov=x.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})(),ue=(()=>{class je{constructor($e,nt,qt){this.dialogRef=$e,this._elementRef=nt,this._dialog=qt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function Yt(je,vt){let $e=je.nativeElement.parentElement;for(;$e&&!$e.classList.contains("mat-mdc-dialog-container");)$e=$e.parentElement;return $e?vt.find(nt=>nt.id===$e.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges($e){const nt=$e._matDialogClose||$e._matDialogCloseResult;nt&&(this.dialogResult=nt.currentValue)}_onButtonClick($e){oe(this.dialogRef,0===$e.screenX&&0===$e.screenY?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(nt){return new(nt||je)(x.rXU(We,8),x.rXU(x.aKT),x.rXU(me))}}static{this.\u0275dir=x.FsC({type:je,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(nt,qt){1&nt&&x.bIt("click",function(yt){return qt._onButtonClick(yt)}),2&nt&&x.BMQ("aria-label",qt.ariaLabel||null)("type",qt.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[x.OA$]})}}return je})();let _e=(()=>{class je{static{this.\u0275fac=function(nt){return new(nt||je)}}static{this.\u0275mod=x.$C({type:je})}static{this.\u0275inj=x.G2t({providers:[me],imports:[le,e.z_,w.jc,d.yE,d.yE]})}}return je})()},1997:(Qe,te,g)=>{"use strict";g.d(te,{q:()=>D,w:()=>l});var e=g(4438),t=g(4085),x=g(6600);let D=(()=>{class w{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(R){this._vertical=(0,t.he)(R)}get inset(){return this._inset}set inset(R){this._inset=(0,t.he)(R)}static{this.\u0275fac=function(h){return new(h||w)}}static{this.\u0275cmp=e.VBU({type:w,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(h,S){2&h&&(e.BMQ("aria-orientation",S.vertical?"vertical":"horizontal"),e.AVh("mat-divider-vertical",S.vertical)("mat-divider-horizontal",!S.vertical)("mat-divider-inset",S.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[e.aNF],decls:0,vars:0,template:function(h,S){},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 w})(),l=(()=>{class w{static{this.\u0275fac=function(h){return new(h||w)}}static{this.\u0275mod=e.$C({type:w})}static{this.\u0275inj=e.G2t({imports:[x.yE,x.yE]})}}return w})()},9454:(Qe,te,g)=>{"use strict";g.d(te,{BS:()=>ze,MY:()=>Xe,GK:()=>a,Q6:()=>q,Z2:()=>N,WN:()=>pe});var e=g(4438),t=g(5024),x=g(1413),D=g(8359);let l=0;const w=new e.nKC("CdkAccordion");let f=(()=>{class We{constructor(){this._stateChanges=new x.B,this._openCloseAllActions=new x.B,this.id="cdk-accordion-"+l++,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(X){this._stateChanges.next(X)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275dir=e.FsC({type:We,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",e.L39]},exportAs:["cdkAccordion"],standalone:!0,features:[e.Jv_([{provide:w,useExisting:We}]),e.GFd,e.OA$]})}}return We})(),R=0,h=(()=>{class We{get expanded(){return this._expanded}set expanded(X){this._expanded!==X&&(this._expanded=X,this.expandedChange.emit(X),X?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}constructor(X,se,ae){this.accordion=X,this._changeDetectorRef=se,this._expansionDispatcher=ae,this._openCloseAllSubscription=D.yU.EMPTY,this.closed=new e.bkB,this.opened=new e.bkB,this.destroyed=new e.bkB,this.expandedChange=new e.bkB,this.id="cdk-accordion-child-"+R++,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=ae.listen((he,Ie)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===Ie&&this.id!==he&&(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(X=>{this.disabled||(this.expanded=X)})}static{this.\u0275fac=function(se){return new(se||We)(e.rXU(w,12),e.rXU(e.gRc),e.rXU(t.zP))}}static{this.\u0275dir=e.FsC({type:We,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",e.L39],disabled:[2,"disabled","disabled",e.L39]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[e.Jv_([{provide:w,useValue:void 0}]),e.GFd]})}}return We})(),S=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275mod=e.$C({type:We})}static{this.\u0275inj=e.G2t({})}}return We})();var y=g(6939),O=g(6600),I=g(8617),V=g(9172),j=g(5964),Y=g(6697),W=g(7336),Q=g(983),J=g(7786),ie=g(9969),ee=g(177);const fe=["body"],ne=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Me=["mat-expansion-panel-header","*","mat-action-row"];function Ce(We,oe){}const le=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],T=["mat-panel-title","mat-panel-description","*"];function n(We,oe){if(1&We&&(e.j41(0,"span",1),e.qSk(),e.j41(1,"svg",2),e.nrm(2,"path",3),e.k0s()()),2&We){const X=e.XpG();e.Y8G("@indicatorRotate",X._getExpandedState())}}const c=new e.nKC("MAT_ACCORDION"),m="225ms cubic-bezier(0.4,0.0,0.2,1)",d={indicatorRotate:(0,ie.hZ)("indicatorRotate",[(0,ie.wk)("collapsed, void",(0,ie.iF)({transform:"rotate(0deg)"})),(0,ie.wk)("expanded",(0,ie.iF)({transform:"rotate(180deg)"})),(0,ie.kY)("expanded <=> collapsed, void => collapsed",(0,ie.i0)(m))]),bodyExpansion:(0,ie.hZ)("bodyExpansion",[(0,ie.wk)("collapsed, void",(0,ie.iF)({height:"0px",visibility:"hidden"})),(0,ie.wk)("expanded",(0,ie.iF)({height:"*",visibility:""})),(0,ie.kY)("expanded <=> collapsed, void => collapsed",(0,ie.i0)(m))])},C=new e.nKC("MAT_EXPANSION_PANEL");let A=(()=>{class We{constructor(X,se){this._template=X,this._expansionPanel=se}static{this.\u0275fac=function(se){return new(se||We)(e.rXU(e.C4Q),e.rXU(C,8))}}static{this.\u0275dir=e.FsC({type:We,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0})}}return We})(),k=0;const _=new e.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let a=(()=>{class We extends h{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(X){this._hideToggle=X}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(X){this._togglePosition=X}constructor(X,se,ae,he,Ie,st,me){super(X,se,ae),this._viewContainerRef=he,this._animationMode=st,this._hideToggle=!1,this.afterExpand=new e.bkB,this.afterCollapse=new e.bkB,this._inputChanges=new x.B,this._headerId="mat-expansion-panel-header-"+k++,this.accordion=X,this._document=Ie,this._animationsDisabled="NoopAnimations"===st,me&&(this.hideToggle=me.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,V.Z)(null),(0,j.p)(()=>this.expanded&&!this._portal),(0,Y.s)(1)).subscribe(()=>{this._portal=new y.VA(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(X){this._inputChanges.next(X)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){const X=this._document.activeElement,se=this._body.nativeElement;return X===se||se.contains(X)}return!1}_animationStarted(X){!b(X)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(X){b(X)||("expanded"===X.toState?this.afterExpand.emit():"collapsed"===X.toState&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static{this.\u0275fac=function(se){return new(se||We)(e.rXU(c,12),e.rXU(e.gRc),e.rXU(t.zP),e.rXU(e.c1b),e.rXU(ee.qQ),e.rXU(e.bc$,8),e.rXU(_,8))}}static{this.\u0275cmp=e.VBU({type:We,selectors:[["mat-expansion-panel"]],contentQueries:function(se,ae,he){if(1&se&&e.wni(he,A,5),2&se){let Ie;e.mGM(Ie=e.lsd())&&(ae._lazyContent=Ie.first)}},viewQuery:function(se,ae){if(1&se&&e.GBs(fe,5),2&se){let he;e.mGM(he=e.lsd())&&(ae._body=he.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(se,ae){2&se&&e.AVh("mat-expanded",ae.expanded)("_mat-animation-noopable",ae._animationsDisabled)("mat-expansion-panel-spacing",ae._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",e.L39],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[e.Jv_([{provide:c,useValue:void 0},{provide:C,useExisting:We}]),e.GFd,e.Vt3,e.OA$,e.aNF],ngContentSelectors:Me,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(se,ae){if(1&se){const he=e.RV6();e.NAR(ne),e.SdG(0),e.j41(1,"div",1,0),e.bIt("@bodyExpansion.start",function(st){return e.eBV(he),e.Njj(ae._animationStarted(st))})("@bodyExpansion.done",function(st){return e.eBV(he),e.Njj(ae._animationDone(st))}),e.j41(3,"div",2),e.SdG(4,1),e.DNE(5,Ce,0,0,"ng-template",3),e.k0s(),e.SdG(6,2),e.k0s()}2&se&&(e.R7$(),e.Y8G("@bodyExpansion",ae._getExpandedState())("id",ae.id),e.BMQ("aria-labelledby",ae._headerId),e.R7$(4),e.Y8G("cdkPortalOutlet",ae._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:[d.bodyExpansion]},changeDetection:0})}}return We})();function b(We){return"void"===We.fromState}let N=(()=>{class We{constructor(X,se,ae,he,Ie,st,me){this.panel=X,this._element=se,this._focusMonitor=ae,this._changeDetectorRef=he,this._animationMode=st,this._parentChangeSubscription=D.yU.EMPTY,this.tabIndex=0;const Ee=X.accordion?X.accordion._stateChanges.pipe((0,j.p)(ue=>!(!ue.hideToggle&&!ue.togglePosition))):Q.w;this.tabIndex=parseInt(me||"")||0,this._parentChangeSubscription=(0,J.h)(X.opened,X.closed,Ee,X._inputChanges.pipe((0,j.p)(ue=>!!(ue.hideToggle||ue.disabled||ue.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),X.closed.pipe((0,j.p)(()=>X._containsFocus())).subscribe(()=>ae.focusVia(se,"program")),Ie&&(this.expandedHeight=Ie.expandedHeight,this.collapsedHeight=Ie.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 X=this._isExpanded();return X&&this.expandedHeight?this.expandedHeight:!X&&this.collapsedHeight?this.collapsedHeight:null}_keydown(X){switch(X.keyCode){case W.t6:case W.Fm:(0,W.rp)(X)||(X.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(X))}}focus(X,se){X?this._focusMonitor.focusVia(this._element,X,se):this._element.nativeElement.focus(se)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(X=>{X&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static{this.\u0275fac=function(se){return new(se||We)(e.rXU(a,1),e.rXU(e.aKT),e.rXU(I.FN),e.rXU(e.gRc),e.rXU(_,8),e.rXU(e.bc$,8),e.kS0("tabindex"))}}static{this.\u0275cmp=e.VBU({type:We,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(se,ae){1&se&&e.bIt("click",function(){return ae._toggle()})("keydown",function(Ie){return ae._keydown(Ie)}),2&se&&(e.BMQ("id",ae.panel._headerId)("tabindex",ae.disabled?-1:ae.tabIndex)("aria-controls",ae._getPanelId())("aria-expanded",ae._isExpanded())("aria-disabled",ae.panel.disabled),e.xc7("height",ae._getHeaderHeight()),e.AVh("mat-expanded",ae._isExpanded())("mat-expansion-toggle-indicator-after","after"===ae._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===ae._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===ae._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",X=>null==X?0:(0,e.Udg)(X)]},standalone:!0,features:[e.GFd,e.aNF],ngContentSelectors:T,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(se,ae){1&se&&(e.NAR(le),e.j41(0,"span",0),e.SdG(1),e.SdG(2,1),e.SdG(3,2),e.k0s(),e.DNE(4,n,3,1,"span",1)),2&se&&(e.AVh("mat-content-hide-toggle",!ae._showToggle()),e.R7$(4),e.vxM(ae._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);display:inline-block;display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:none;display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[d.indicatorRotate]},changeDetection:0})}}return We})(),q=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275dir=e.FsC({type:We,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"],standalone:!0})}}return We})(),pe=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275dir=e.FsC({type:We,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0})}}return We})(),ze=(()=>{class We extends f{constructor(){super(...arguments),this._ownHeaders=new e.rOR,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe((0,V.Z)(this._headers)).subscribe(X=>{this._ownHeaders.reset(X.filter(se=>se.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new I.Bu(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(X){this._keyManager.onKeydown(X)}_handleHeaderFocus(X){this._keyManager.updateActiveItem(X)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static{this.\u0275fac=(()=>{let X;return function(ae){return(X||(X=e.xGo(We)))(ae||We)}})()}static{this.\u0275dir=e.FsC({type:We,selectors:[["mat-accordion"]],contentQueries:function(se,ae,he){if(1&se&&e.wni(he,N,5),2&se){let Ie;e.mGM(Ie=e.lsd())&&(ae._headers=Ie)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(se,ae){2&se&&e.AVh("mat-accordion-multi",ae.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",e.L39],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[e.Jv_([{provide:c,useExisting:We}]),e.GFd,e.Vt3]})}}return We})(),Xe=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275mod=e.$C({type:We})}static{this.\u0275inj=e.G2t({imports:[O.yE,S,y.jc]})}}return We})()},6467:(Qe,te,g)=>{"use strict";g.d(te,{xb:()=>qt,TL:()=>he,rl:()=>It,qT:()=>je,RG:()=>Qt,MV:()=>st,nJ:()=>X,yw:()=>Be});var e=g(4438),t=g(8203),x=g(6860),D=g(8359),l=g(1413),w=g(7786),f=g(6977),R=g(1985),h=g(5964),S=g(2771),y=g(7647);class V{constructor(xt){this._box=xt,this._destroyed=new l.B,this._resizeSubject=new l.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Se=>this._resizeSubject.next(Se)))}observe(xt){return this._elementObservables.has(xt)||this._elementObservables.set(xt,new R.c(Se=>{const Te=this._resizeSubject.subscribe(Se);return this._resizeObserver?.observe(xt,{box:this._box}),()=>{this._resizeObserver?.unobserve(xt),Te.unsubscribe(),this._elementObservables.delete(xt)}}).pipe((0,h.p)(Se=>Se.some(Te=>Te.target===xt)),function O(Tt,xt,Se){let Te,ce=!1;return Tt&&"object"==typeof Tt?({bufferSize:Te=1/0,windowTime:xt=1/0,refCount:ce=!1,scheduler:Se}=Tt):Te=Tt??1/0,(0,y.u)({connector:()=>new S.m(Te,xt,Se),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ce})}({bufferSize:1,refCount:!0}),(0,f.Q)(this._destroyed))),this._elementObservables.get(xt)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let j=(()=>{class Tt{constructor(){this._observers=new Map,this._ngZone=(0,e.WQX)(e.SKi)}ngOnDestroy(){for(const[,Se]of this._observers)Se.destroy();this._observers.clear()}observe(Se,Te){const ce=Te?.box||"content-box";return this._observers.has(ce)||this._observers.set(ce,new V(ce)),this._observers.get(ce).observe(Se)}static{this.\u0275fac=function(Te){return new(Te||Tt)}}static{this.\u0275prov=e.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"})}}return Tt})();var Y=g(4085),W=g(9969),Q=g(177),J=g(2318),ie=g(6600);const ee=["notch"],fe=["matFormFieldNotchedOutline",""],ne=["*"],Me=["textField"],Ce=["iconPrefixContainer"],le=["textPrefixContainer"],T=["*",[["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(Tt,xt){1&Tt&&e.nrm(0,"span",19)}function m(Tt,xt){if(1&Tt&&(e.j41(0,"label",18),e.SdG(1,1),e.DNE(2,c,1,0,"span",19),e.k0s()),2&Tt){const Se=e.XpG(2);e.Y8G("floating",Se._shouldLabelFloat())("monitorResize",Se._hasOutline())("id",Se._labelId),e.BMQ("for",Se._control.disableAutomaticLabeling?null:Se._control.id),e.R7$(2),e.vxM(!Se.hideRequiredMarker&&Se._control.required?2:-1)}}function d(Tt,xt){if(1&Tt&&e.DNE(0,m,3,5,"label",18),2&Tt){const Se=e.XpG();e.vxM(Se._hasFloatingLabel()?0:-1)}}function C(Tt,xt){1&Tt&&e.nrm(0,"div",5)}function A(Tt,xt){}function k(Tt,xt){if(1&Tt&&e.DNE(0,A,0,0,"ng-template",11),2&Tt){e.XpG(2);const Se=e.sdS(1);e.Y8G("ngTemplateOutlet",Se)}}function _(Tt,xt){if(1&Tt&&(e.j41(0,"div",7),e.DNE(1,k,1,1,null,11),e.k0s()),2&Tt){const Se=e.XpG();e.Y8G("matFormFieldNotchedOutlineOpen",Se._shouldLabelFloat()),e.R7$(),e.vxM(Se._forceDisplayInfixLabel()?-1:1)}}function a(Tt,xt){1&Tt&&(e.j41(0,"div",8,2),e.SdG(2,2),e.k0s())}function b(Tt,xt){1&Tt&&(e.j41(0,"div",9,3),e.SdG(2,3),e.k0s())}function z(Tt,xt){}function N(Tt,xt){if(1&Tt&&e.DNE(0,z,0,0,"ng-template",11),2&Tt){e.XpG();const Se=e.sdS(1);e.Y8G("ngTemplateOutlet",Se)}}function q(Tt,xt){1&Tt&&(e.j41(0,"div",12),e.SdG(1,4),e.k0s())}function pe(Tt,xt){1&Tt&&(e.j41(0,"div",13),e.SdG(1,5),e.k0s())}function ze(Tt,xt){1&Tt&&e.nrm(0,"div",14)}function Xe(Tt,xt){if(1&Tt&&(e.j41(0,"div",16),e.SdG(1,6),e.k0s()),2&Tt){const Se=e.XpG();e.Y8G("@transitionMessages",Se._subscriptAnimationState)}}function We(Tt,xt){if(1&Tt&&(e.j41(0,"mat-hint",20),e.EFF(1),e.k0s()),2&Tt){const Se=e.XpG(2);e.Y8G("id",Se._hintLabelId),e.R7$(),e.JRh(Se.hintLabel)}}function oe(Tt,xt){if(1&Tt&&(e.j41(0,"div",17),e.DNE(1,We,2,2,"mat-hint",20),e.SdG(2,7),e.nrm(3,"div",21),e.SdG(4,8),e.k0s()),2&Tt){const Se=e.XpG();e.Y8G("@transitionMessages",Se._subscriptAnimationState),e.R7$(),e.vxM(Se.hintLabel?1:-1)}}let X=(()=>{class Tt{static{this.\u0275fac=function(Te){return new(Te||Tt)}}static{this.\u0275dir=e.FsC({type:Tt,selectors:[["mat-label"]],standalone:!0})}}return Tt})(),se=0;const ae=new e.nKC("MatError");let he=(()=>{class Tt{constructor(Se,Te){this.id="mat-mdc-error-"+se++,Se||Te.nativeElement.setAttribute("aria-live","polite")}static{this.\u0275fac=function(Te){return new(Te||Tt)(e.kS0("aria-live"),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:Tt,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(Te,ce){2&Te&&e.Mr5("id",ce.id)},inputs:{id:"id"},standalone:!0,features:[e.Jv_([{provide:ae,useExisting:Tt}])]})}}return Tt})(),Ie=0,st=(()=>{class Tt{constructor(){this.align="start",this.id="mat-mdc-hint-"+Ie++}static{this.\u0275fac=function(Te){return new(Te||Tt)}}static{this.\u0275dir=e.FsC({type:Tt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Te,ce){2&Te&&(e.Mr5("id",ce.id),e.BMQ("align",null),e.AVh("mat-mdc-form-field-hint-end","end"===ce.align))},inputs:{align:"align",id:"id"},standalone:!0})}}return Tt})();const me=new e.nKC("MatPrefix"),ue=new e.nKC("MatSuffix");let Be=(()=>{class Tt{constructor(){this._isText=!1}set _isTextSelector(Se){this._isText=!0}static{this.\u0275fac=function(Te){return new(Te||Tt)}}static{this.\u0275dir=e.FsC({type:Tt,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[e.Jv_([{provide:ue,useExisting:Tt}])]})}}return Tt})();const Ct=new e.nKC("FloatingLabelParent");let ct=(()=>{class Tt{get floating(){return this._floating}set floating(Se){this._floating=Se,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(Se){this._monitorResize=Se,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(Se){this._elementRef=Se,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,e.WQX)(j),this._ngZone=(0,e.WQX)(e.SKi),this._parent=(0,e.WQX)(Ct),this._resizeSubscription=new D.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function dt(Tt){if(null!==Tt.offsetParent)return Tt.scrollWidth;const Se=Tt.cloneNode(!0);Se.style.setProperty("position","absolute"),Se.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Se);const Te=Se.scrollWidth;return Se.remove(),Te}(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(Te){return new(Te||Tt)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:Tt,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Te,ce){2&Te&&e.AVh("mdc-floating-label--float-above",ce.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return Tt})();const Yt="mdc-line-ripple--active",ve="mdc-line-ripple--deactivating";let _e=(()=>{class Tt{constructor(Se,Te){this._elementRef=Se,this._handleTransitionEnd=ce=>{const Z=this._elementRef.nativeElement.classList,Re=Z.contains(ve);"opacity"===ce.propertyName&&Re&&Z.remove(Yt,ve)},Te.runOutsideAngular(()=>{Se.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Se=this._elementRef.nativeElement.classList;Se.remove(ve),Se.add(Yt)}deactivate(){this._elementRef.nativeElement.classList.add(ve)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(Te){return new(Te||Tt)(e.rXU(e.aKT),e.rXU(e.SKi))}}static{this.\u0275dir=e.FsC({type:Tt,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return Tt})(),we=(()=>{class Tt{constructor(Se,Te){this._elementRef=Se,this._ngZone=Te,this.open=!1}ngAfterViewInit(){const Se=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Se?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Se.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Se.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Se){this._notch.nativeElement.style.width=this.open&&Se?`calc(${Se}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static{this.\u0275fac=function(Te){return new(Te||Tt)(e.rXU(e.aKT),e.rXU(e.SKi))}}static{this.\u0275cmp=e.VBU({type:Tt,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Te,ce){if(1&Te&&e.GBs(ee,5),2&Te){let Z;e.mGM(Z=e.lsd())&&(ce._notch=Z.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Te,ce){2&Te&&e.AVh("mdc-notched-outline--notched",ce.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[e.aNF],attrs:fe,ngContentSelectors:ne,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(Te,ce){1&Te&&(e.NAR(),e.nrm(0,"div",1),e.j41(1,"div",2,0),e.SdG(3),e.k0s(),e.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}}return Tt})();const Ue={transitionMessages:(0,W.hZ)("transitionMessages",[(0,W.wk)("enter",(0,W.iF)({opacity:1,transform:"translateY(0%)"})),(0,W.kY)("void => enter",[(0,W.iF)({opacity:0,transform:"translateY(-5px)"}),(0,W.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let je=(()=>{class Tt{static{this.\u0275fac=function(Te){return new(Te||Tt)}}static{this.\u0275dir=e.FsC({type:Tt})}}return Tt})();const qt=new e.nKC("MatFormField"),Nt=new e.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let yt=0,It=(()=>{class Tt{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Se){this._hideRequiredMarker=(0,Y.he)(Se)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Se){Se!==this._floatLabel&&(this._floatLabel=Se,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Se){const Te=this._appearance;this._appearance=Se||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Te&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Se){this._subscriptSizing=Se||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Se){this._hintLabel=Se,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Se){this._explicitFormFieldControl=Se}constructor(Se,Te,ce,Z,Re,Pe,pt,Ke){this._elementRef=Se,this._changeDetectorRef=Te,this._ngZone=ce,this._dir=Z,this._platform=Re,this._defaults=Pe,this._animationMode=pt,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-"+yt++,this._hintLabelId="mat-mdc-hint-"+yt++,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 Se=this._control;Se.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Se.controlType}`),Se.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Se.ngControl&&Se.ngControl.valueChanges&&Se.ngControl.valueChanges.pipe((0,f.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Se=>!Se._isText),this._hasTextPrefix=!!this._prefixChildren.find(Se=>Se._isText),this._hasIconSuffix=!!this._suffixChildren.find(Se=>!Se._isText),this._hasTextSuffix=!!this._suffixChildren.find(Se=>Se._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,w.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,f.Q)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,f.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(Se){const Te=this._control?this._control.ngControl:null;return Te&&Te[Se]}_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 Se=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Se.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Te=this._hintChildren?this._hintChildren.find(Z=>"start"===Z.align):null,ce=this._hintChildren?this._hintChildren.find(Z=>"end"===Z.align):null;Te?Se.push(Te.id):this._hintLabel&&Se.push(this._hintLabelId),ce&&Se.push(ce.id)}else this._errorChildren&&Se.push(...this._errorChildren.map(Te=>Te.id));this._control.setDescribedByIds(Se)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Se=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Se.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Te=this._iconPrefixContainer?.nativeElement,ce=this._textPrefixContainer?.nativeElement,Z=Te?.getBoundingClientRect().width??0,Re=ce?.getBoundingClientRect().width??0;Se.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Z+Re}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Se=this._elementRef.nativeElement;if(Se.getRootNode){const Te=Se.getRootNode();return Te&&Te!==Se}return document.documentElement.contains(Se)}static{this.\u0275fac=function(Te){return new(Te||Tt)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(t.dS),e.rXU(x.OD),e.rXU(Nt,8),e.rXU(e.bc$,8),e.rXU(Q.qQ))}}static{this.\u0275cmp=e.VBU({type:Tt,selectors:[["mat-form-field"]],contentQueries:function(Te,ce,Z){if(1&Te&&(e.wni(Z,X,5),e.wni(Z,X,7),e.wni(Z,je,5),e.wni(Z,me,5),e.wni(Z,ue,5),e.wni(Z,ae,5),e.wni(Z,st,5)),2&Te){let Re;e.mGM(Re=e.lsd())&&(ce._labelChildNonStatic=Re.first),e.mGM(Re=e.lsd())&&(ce._labelChildStatic=Re.first),e.mGM(Re=e.lsd())&&(ce._formFieldControl=Re.first),e.mGM(Re=e.lsd())&&(ce._prefixChildren=Re),e.mGM(Re=e.lsd())&&(ce._suffixChildren=Re),e.mGM(Re=e.lsd())&&(ce._errorChildren=Re),e.mGM(Re=e.lsd())&&(ce._hintChildren=Re)}},viewQuery:function(Te,ce){if(1&Te&&(e.GBs(Me,5),e.GBs(Ce,5),e.GBs(le,5),e.GBs(ct,5),e.GBs(we,5),e.GBs(_e,5)),2&Te){let Z;e.mGM(Z=e.lsd())&&(ce._textField=Z.first),e.mGM(Z=e.lsd())&&(ce._iconPrefixContainer=Z.first),e.mGM(Z=e.lsd())&&(ce._textPrefixContainer=Z.first),e.mGM(Z=e.lsd())&&(ce._floatingLabel=Z.first),e.mGM(Z=e.lsd())&&(ce._notchedOutline=Z.first),e.mGM(Z=e.lsd())&&(ce._lineRipple=Z.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Te,ce){2&Te&&e.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"],standalone:!0,features:[e.Jv_([{provide:qt,useExisting:Tt},{provide:Ct,useExisting:Tt}]),e.aNF],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(Te,ce){if(1&Te){const Z=e.RV6();e.NAR(T),e.DNE(0,d,1,1,"ng-template",null,0,e.C5r),e.j41(2,"div",4,1),e.bIt("click",function(Pe){return e.eBV(Z),e.Njj(ce._control.onContainerClick(Pe))}),e.DNE(4,C,1,0,"div",5),e.j41(5,"div",6),e.DNE(6,_,2,2,"div",7)(7,a,3,0,"div",8)(8,b,3,0,"div",9),e.j41(9,"div",10),e.DNE(10,N,1,1,null,11),e.SdG(11),e.k0s(),e.DNE(12,q,2,0,"div",12)(13,pe,2,0,"div",13),e.k0s(),e.DNE(14,ze,1,0,"div",14),e.k0s(),e.j41(15,"div",15),e.DNE(16,Xe,2,1,"div",16)(17,oe,5,2,"div",17),e.k0s()}if(2&Te){let Z;e.R7$(2),e.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),e.R7$(2),e.vxM(ce._hasOutline()||ce._control.disabled?-1:4),e.R7$(2),e.vxM(ce._hasOutline()?6:-1),e.R7$(),e.vxM(ce._hasIconPrefix?7:-1),e.R7$(),e.vxM(ce._hasTextPrefix?8:-1),e.R7$(2),e.vxM(!ce._hasOutline()||ce._forceDisplayInfixLabel()?10:-1),e.R7$(2),e.vxM(ce._hasTextSuffix?12:-1),e.R7$(),e.vxM(ce._hasIconSuffix?13:-1),e.R7$(),e.vxM(ce._hasOutline()?-1:14),e.R7$(),e.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===ce.subscriptSizing),e.R7$(),e.vxM("error"===(Z=ce._getDisplayedMessages())?16:"hint"===Z?17:-1)}},dependencies:[ct,we,Q.T3,_e,st],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-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-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{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-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-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{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-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-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{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:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-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-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-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:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-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-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-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-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.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;will-change:auto}.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;will-change: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-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.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%;z-index:0}.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>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.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-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:[Ue.transitionMessages]},changeDetection:0})}}return Tt})(),Qt=(()=>{class Tt{static{this.\u0275fac=function(Te){return new(Te||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=e.G2t({imports:[ie.yE,Q.MD,J.w5,ie.yE]})}}return Tt})()},6195:(Qe,te,g)=>{"use strict";g.d(te,{B_:()=>Ce,Fe:()=>le,NS:()=>O});var e=g(4438),t=g(6600),x=g(4085),D=g(8203);const l=["*"];class h{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,m){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(c),this.tracker.fill(0,0,this.tracker.length),this.positions=m.map(d=>this._trackTile(d))}_trackTile(c){const m=this._findMatchingGap(c.colspan);return this._markTilePosition(m,c),this.columnIndex=m+c.colspan,new S(this.rowIndex,m)}_findMatchingGap(c){let m=-1,d=-1;do{this.columnIndex+c>this.tracker.length?(this._nextRow(),m=this.tracker.indexOf(0,this.columnIndex),d=this._findGapEndIndex(m)):(m=this.tracker.indexOf(0,this.columnIndex),-1!=m?(d=this._findGapEndIndex(m),this.columnIndex=m+1):(this._nextRow(),m=this.tracker.indexOf(0,this.columnIndex),d=this._findGapEndIndex(m)))}while(d-m{class n{constructor(m,d){this._element=m,this._gridList=d,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(m){this._rowspan=Math.round((0,x.OE)(m))}get colspan(){return this._colspan}set colspan(m){this._colspan=Math.round((0,x.OE)(m))}_setStyle(m,d){this._element.nativeElement.style[m]=d}static{this.\u0275fac=function(d){return new(d||n)(e.rXU(e.aKT),e.rXU(y,8))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(d,C){2&d&&e.BMQ("rowspan",C.rowspan)("colspan",C.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],standalone:!0,features:[e.aNF],ngContentSelectors:l,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(d,C){1&d&&(e.NAR(),e.j41(0,"div",0),e.SdG(1),e.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 W=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class Q{constructor(){this._rows=0,this._rowspan=0}init(c,m,d,C){this._gutterSize=ne(c),this._rows=m.rowCount,this._rowspan=m.rowspan,this._cols=d,this._direction=C}getBaseTileSize(c,m){return`(${c}% - (${this._gutterSize} * ${m}))`}getTilePosition(c,m){return 0===m?"0":fe(`(${c} + ${this._gutterSize}) * ${m}`)}getTileSize(c,m){return`(${c} * ${m}) + (${m-1} * ${this._gutterSize})`}setStyle(c,m,d){let C=100/this._cols,A=(this._cols-1)/this._cols;this.setColStyles(c,d,C,A),this.setRowStyles(c,m,C,A)}setColStyles(c,m,d,C){let A=this.getBaseTileSize(d,C);c._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(A,m)),c._setStyle("width",fe(this.getTileSize(A,c.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(c){return`${this._rowspan} * ${this.getTileSize(c,1)}`}getComputedHeight(){return null}}class J extends Q{constructor(c){super(),this.fixedRowHeight=c}init(c,m,d,C){super.init(c,m,d,C),this.fixedRowHeight=ne(this.fixedRowHeight),W.test(this.fixedRowHeight)}setRowStyles(c,m){c._setStyle("top",this.getTilePosition(this.fixedRowHeight,m)),c._setStyle("height",fe(this.getTileSize(this.fixedRowHeight,c.rowspan)))}getComputedHeight(){return["height",fe(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(c){c._setListStyle(["height",null]),c._tiles&&c._tiles.forEach(m=>{m._setStyle("top",null),m._setStyle("height",null)})}}class ie extends Q{constructor(c){super(),this._parseRatio(c)}setRowStyles(c,m,d,C){this.baseTileHeight=this.getBaseTileSize(d/this.rowHeightRatio,C),c._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,m)),c._setStyle("paddingTop",fe(this.getTileSize(this.baseTileHeight,c.rowspan)))}getComputedHeight(){return["paddingBottom",fe(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(c){c._setListStyle(["paddingBottom",null]),c._tiles.forEach(m=>{m._setStyle("marginTop",null),m._setStyle("paddingTop",null)})}_parseRatio(c){const m=c.split(":");this.rowHeightRatio=parseFloat(m[0])/parseFloat(m[1])}}class ee extends Q{setRowStyles(c,m){let A=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);c._setStyle("top",this.getTilePosition(A,m)),c._setStyle("height",fe(this.getTileSize(A,c.rowspan)))}reset(c){c._tiles&&c._tiles.forEach(m=>{m._setStyle("top",null),m._setStyle("height",null)})}}function fe(n){return`calc(${n})`}function ne(n){return n.match(/([A-Za-z%]+)$/)?n:`${n}px`}let Ce=(()=>{class n{constructor(m,d){this._element=m,this._dir=d,this._gutter="1px"}get cols(){return this._cols}set cols(m){this._cols=Math.max(1,Math.round((0,x.OE)(m)))}get gutterSize(){return this._gutter}set gutterSize(m){this._gutter=`${m??""}`}get rowHeight(){return this._rowHeight}set rowHeight(m){const d=`${m??""}`;d!==this._rowHeight&&(this._rowHeight=d,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(m){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===m?new ee:m&&m.indexOf(":")>-1?new ie(m):new J(m)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new h);const m=this._tileCoordinator,d=this._tiles.filter(A=>!A._gridList||A._gridList===this),C=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,d),this._tileStyler.init(this.gutterSize,m,this.cols,C),d.forEach((A,k)=>{const _=m.positions[k];this._tileStyler.setStyle(A,_.row,_.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(m){m&&(this._element.nativeElement.style[m[0]]=m[1])}static{this.\u0275fac=function(d){return new(d||n)(e.rXU(e.aKT),e.rXU(D.dS,8))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["mat-grid-list"]],contentQueries:function(d,C,A){if(1&d&&e.wni(A,O,5),2&d){let k;e.mGM(k=e.lsd())&&(C._tiles=k)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(d,C){2&d&&e.BMQ("cols",C.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],standalone:!0,features:[e.Jv_([{provide:y,useExisting:n}]),e.aNF],ngContentSelectors:l,decls:2,vars:0,template:function(d,C){1&d&&(e.NAR(),e.j41(0,"div"),e.SdG(1),e.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})(),le=(()=>{class n{static{this.\u0275fac=function(d){return new(d||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[t.Np,t.yE,t.Np,t.yE]})}}return n})()},9213:(Qe,te,g)=>{"use strict";g.d(te,{An:()=>b,m_:()=>z});var e=g(4438),t=g(6600),x=g(177),D=g(7673),l=g(8810),w=g(7468),f=g(8359),R=g(8141),h=g(6354),S=g(9437),y=g(980),O=g(7647),I=g(6697),V=g(1626),j=g(345);const Y=["*"];let W;function J(N){return function Q(){if(void 0===W&&(W=null,typeof window<"u")){const N=window;void 0!==N.trustedTypes&&(W=N.trustedTypes.createPolicy("angular#components",{createHTML:q=>q}))}return W}()?.createHTML(N)||N}function ie(N){return Error(`Unable to find icon with the name "${N}"`)}function fe(N){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${N}".`)}function ne(N){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${N}".`)}class Me{constructor(q,pe,ze){this.url=q,this.svgText=pe,this.options=ze}}let Ce=(()=>{class N{constructor(pe,ze,Xe,We){this._httpClient=pe,this._sanitizer=ze,this._errorHandler=We,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=Xe}addSvgIcon(pe,ze,Xe){return this.addSvgIconInNamespace("",pe,ze,Xe)}addSvgIconLiteral(pe,ze,Xe){return this.addSvgIconLiteralInNamespace("",pe,ze,Xe)}addSvgIconInNamespace(pe,ze,Xe,We){return this._addSvgIconConfig(pe,ze,new Me(Xe,null,We))}addSvgIconResolver(pe){return this._resolvers.push(pe),this}addSvgIconLiteralInNamespace(pe,ze,Xe,We){const oe=this._sanitizer.sanitize(e.WPN.HTML,Xe);if(!oe)throw ne(Xe);const X=J(oe);return this._addSvgIconConfig(pe,ze,new Me("",X,We))}addSvgIconSet(pe,ze){return this.addSvgIconSetInNamespace("",pe,ze)}addSvgIconSetLiteral(pe,ze){return this.addSvgIconSetLiteralInNamespace("",pe,ze)}addSvgIconSetInNamespace(pe,ze,Xe){return this._addSvgIconSetConfig(pe,new Me(ze,null,Xe))}addSvgIconSetLiteralInNamespace(pe,ze,Xe){const We=this._sanitizer.sanitize(e.WPN.HTML,ze);if(!We)throw ne(ze);const oe=J(We);return this._addSvgIconSetConfig(pe,new Me("",oe,Xe))}registerFontClassAlias(pe,ze=pe){return this._fontCssClassesByAlias.set(pe,ze),this}classNameForFontAlias(pe){return this._fontCssClassesByAlias.get(pe)||pe}setDefaultFontSetClass(...pe){return this._defaultFontSetClass=pe,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(pe){const ze=this._sanitizer.sanitize(e.WPN.RESOURCE_URL,pe);if(!ze)throw fe(pe);const Xe=this._cachedIconsByUrl.get(ze);return Xe?(0,D.of)(n(Xe)):this._loadSvgIconFromConfig(new Me(pe,null)).pipe((0,R.M)(We=>this._cachedIconsByUrl.set(ze,We)),(0,h.T)(We=>n(We)))}getNamedSvgIcon(pe,ze=""){const Xe=c(ze,pe);let We=this._svgIconConfigs.get(Xe);if(We)return this._getSvgFromConfig(We);if(We=this._getIconConfigFromResolvers(ze,pe),We)return this._svgIconConfigs.set(Xe,We),this._getSvgFromConfig(We);const oe=this._iconSetConfigs.get(ze);return oe?this._getSvgFromIconSetConfigs(pe,oe):(0,l.$)(ie(Xe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(pe){return pe.svgText?(0,D.of)(n(this._svgElementFromConfig(pe))):this._loadSvgIconFromConfig(pe).pipe((0,h.T)(ze=>n(ze)))}_getSvgFromIconSetConfigs(pe,ze){const Xe=this._extractIconWithNameFromAnySet(pe,ze);if(Xe)return(0,D.of)(Xe);const We=ze.filter(oe=>!oe.svgText).map(oe=>this._loadSvgIconSetFromConfig(oe).pipe((0,S.W)(X=>{const ae=`Loading icon set URL: ${this._sanitizer.sanitize(e.WPN.RESOURCE_URL,oe.url)} failed: ${X.message}`;return this._errorHandler.handleError(new Error(ae)),(0,D.of)(null)})));return(0,w.p)(We).pipe((0,h.T)(()=>{const oe=this._extractIconWithNameFromAnySet(pe,ze);if(!oe)throw ie(pe);return oe}))}_extractIconWithNameFromAnySet(pe,ze){for(let Xe=ze.length-1;Xe>=0;Xe--){const We=ze[Xe];if(We.svgText&&We.svgText.toString().indexOf(pe)>-1){const oe=this._svgElementFromConfig(We),X=this._extractSvgIconFromSet(oe,pe,We.options);if(X)return X}}return null}_loadSvgIconFromConfig(pe){return this._fetchIcon(pe).pipe((0,R.M)(ze=>pe.svgText=ze),(0,h.T)(()=>this._svgElementFromConfig(pe)))}_loadSvgIconSetFromConfig(pe){return pe.svgText?(0,D.of)(null):this._fetchIcon(pe).pipe((0,R.M)(ze=>pe.svgText=ze))}_extractSvgIconFromSet(pe,ze,Xe){const We=pe.querySelector(`[id="${ze}"]`);if(!We)return null;const oe=We.cloneNode(!0);if(oe.removeAttribute("id"),"svg"===oe.nodeName.toLowerCase())return this._setSvgAttributes(oe,Xe);if("symbol"===oe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(oe),Xe);const X=this._svgElementFromString(J(""));return X.appendChild(oe),this._setSvgAttributes(X,Xe)}_svgElementFromString(pe){const ze=this._document.createElement("DIV");ze.innerHTML=pe;const Xe=ze.querySelector("svg");if(!Xe)throw Error(" tag not found");return Xe}_toSvgElement(pe){const ze=this._svgElementFromString(J("")),Xe=pe.attributes;for(let We=0;WeJ(ae)),(0,y.j)(()=>this._inProgressUrlFetches.delete(oe)),(0,O.u)());return this._inProgressUrlFetches.set(oe,se),se}_addSvgIconConfig(pe,ze,Xe){return this._svgIconConfigs.set(c(pe,ze),Xe),this}_addSvgIconSetConfig(pe,ze){const Xe=this._iconSetConfigs.get(pe);return Xe?Xe.push(ze):this._iconSetConfigs.set(pe,[ze]),this}_svgElementFromConfig(pe){if(!pe.svgElement){const ze=this._svgElementFromString(pe.svgText);this._setSvgAttributes(ze,pe.options),pe.svgElement=ze}return pe.svgElement}_getIconConfigFromResolvers(pe,ze){for(let Xe=0;Xeq?q.pathname+q.search:""}}}),k=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],_=k.map(N=>`[${N}]`).join(", "),a=/^url\(['"]?#(.*?)['"]?\)$/;let b=(()=>{class N{get color(){return this._color||this._defaultColor}set color(pe){this._color=pe}get svgIcon(){return this._svgIcon}set svgIcon(pe){pe!==this._svgIcon&&(pe?this._updateSvgIcon(pe):this._svgIcon&&this._clearSvgElement(),this._svgIcon=pe)}get fontSet(){return this._fontSet}set fontSet(pe){const ze=this._cleanupFontValue(pe);ze!==this._fontSet&&(this._fontSet=ze,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(pe){const ze=this._cleanupFontValue(pe);ze!==this._fontIcon&&(this._fontIcon=ze,this._updateFontIconClasses())}constructor(pe,ze,Xe,We,oe,X){this._elementRef=pe,this._iconRegistry=ze,this._location=We,this._errorHandler=oe,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=f.yU.EMPTY,X&&(X.color&&(this.color=this._defaultColor=X.color),X.fontSet&&(this.fontSet=X.fontSet)),Xe||pe.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(pe){if(!pe)return["",""];const ze=pe.split(":");switch(ze.length){case 1:return["",ze[0]];case 2:return ze;default:throw Error(`Invalid icon name: "${pe}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const pe=this._elementsWithExternalReferences;if(pe&&pe.size){const ze=this._location.getPathname();ze!==this._previousPath&&(this._previousPath=ze,this._prependPathToReferences(ze))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(pe){this._clearSvgElement();const ze=this._location.getPathname();this._previousPath=ze,this._cacheChildrenWithExternalReferences(pe),this._prependPathToReferences(ze),this._elementRef.nativeElement.appendChild(pe)}_clearSvgElement(){const pe=this._elementRef.nativeElement;let ze=pe.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ze--;){const Xe=pe.childNodes[ze];(1!==Xe.nodeType||"svg"===Xe.nodeName.toLowerCase())&&Xe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const pe=this._elementRef.nativeElement,ze=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Xe=>Xe.length>0);this._previousFontSetClass.forEach(Xe=>pe.classList.remove(Xe)),ze.forEach(Xe=>pe.classList.add(Xe)),this._previousFontSetClass=ze,this.fontIcon!==this._previousFontIconClass&&!ze.includes("mat-ligature-font")&&(this._previousFontIconClass&&pe.classList.remove(this._previousFontIconClass),this.fontIcon&&pe.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(pe){return"string"==typeof pe?pe.trim().split(" ")[0]:pe}_prependPathToReferences(pe){const ze=this._elementsWithExternalReferences;ze&&ze.forEach((Xe,We)=>{Xe.forEach(oe=>{We.setAttribute(oe.name,`url('${pe}#${oe.value}')`)})})}_cacheChildrenWithExternalReferences(pe){const ze=pe.querySelectorAll(_),Xe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let We=0;We{const X=ze[We],se=X.getAttribute(oe),ae=se?se.match(a):null;if(ae){let he=Xe.get(X);he||(he=[],Xe.set(X,he)),he.push({name:oe,value:ae[1]})}})}_updateSvgIcon(pe){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),pe){const[ze,Xe]=this._splitIconName(pe);ze&&(this._svgNamespace=ze),Xe&&(this._svgName=Xe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Xe,ze).pipe((0,I.s)(1)).subscribe(We=>this._setSvgElement(We),We=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ze}:${Xe}! ${We.message}`))})}}static{this.\u0275fac=function(ze){return new(ze||N)(e.rXU(e.aKT),e.rXU(Ce),e.kS0("aria-hidden"),e.rXU(C),e.rXU(e.zcH),e.rXU(d,8))}}static{this.\u0275cmp=e.VBU({type:N,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(ze,Xe){2&ze&&(e.BMQ("data-mat-icon-type",Xe._usingFontIcon()?"font":"svg")("data-mat-icon-name",Xe._svgName||Xe.fontIcon)("data-mat-icon-namespace",Xe._svgNamespace||Xe.fontSet)("fontIcon",Xe._usingFontIcon()?Xe.fontIcon:null),e.HbH(Xe.color?"mat-"+Xe.color:""),e.AVh("mat-icon-inline",Xe.inline)("mat-icon-no-color","primary"!==Xe.color&&"accent"!==Xe.color&&"warn"!==Xe.color))},inputs:{color:"color",inline:[2,"inline","inline",e.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[e.GFd,e.aNF],ngContentSelectors:Y,decls:1,vars:0,template:function(ze,Xe){1&ze&&(e.NAR(),e.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 N})(),z=(()=>{class N{static{this.\u0275fac=function(ze){return new(ze||N)}}static{this.\u0275mod=e.$C({type:N})}static{this.\u0275inj=e.G2t({imports:[t.yE,t.yE]})}}return N})()},9631:(Qe,te,g)=>{"use strict";g.d(te,{Oh:()=>j,fg:()=>Q,fS:()=>J});var e=g(4085),t=g(6860),x=g(4438),D=g(983),l=g(1413);const w=(0,t.BQ)({passive:!0});let f=(()=>{class ie{constructor(fe,ne){this._platform=fe,this._ngZone=ne,this._monitoredElements=new Map}monitor(fe){if(!this._platform.isBrowser)return D.w;const ne=(0,e.i8)(fe),Me=this._monitoredElements.get(ne);if(Me)return Me.subject;const Ce=new l.B,le="cdk-text-field-autofilled",T=n=>{"cdk-text-field-autofill-start"!==n.animationName||ne.classList.contains(le)?"cdk-text-field-autofill-end"===n.animationName&&ne.classList.contains(le)&&(ne.classList.remove(le),this._ngZone.run(()=>Ce.next({target:n.target,isAutofilled:!1}))):(ne.classList.add(le),this._ngZone.run(()=>Ce.next({target:n.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{ne.addEventListener("animationstart",T,w),ne.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(ne,{subject:Ce,unlisten:()=>{ne.removeEventListener("animationstart",T,w)}}),Ce}stopMonitoring(fe){const ne=(0,e.i8)(fe),Me=this._monitoredElements.get(ne);Me&&(Me.unlisten(),Me.subject.complete(),ne.classList.remove("cdk-text-field-autofill-monitored"),ne.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ne))}ngOnDestroy(){this._monitoredElements.forEach((fe,ne)=>this.stopMonitoring(ne))}static{this.\u0275fac=function(ne){return new(ne||ie)(x.KVO(t.OD),x.KVO(x.SKi))}}static{this.\u0275prov=x.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}}return ie})(),S=(()=>{class ie{static{this.\u0275fac=function(ne){return new(ne||ie)}}static{this.\u0275mod=x.$C({type:ie})}static{this.\u0275inj=x.G2t({})}}return ie})();var y=g(9417),O=g(6600),I=g(6467);const j=new x.nKC("MAT_INPUT_VALUE_ACCESSOR"),Y=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let W=0,Q=(()=>{class ie{get disabled(){return this._disabled}set disabled(fe){this._disabled=(0,e.he)(fe),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(fe){this._id=fe||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(y.k0.required)??!1}set required(fe){this._required=(0,e.he)(fe)}get type(){return this._type}set type(fe){this._type=fe||"text",this._validateType(),!this._isTextarea&&(0,t.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(fe){this._errorStateTracker.matcher=fe}get value(){return this._inputValueAccessor.value}set value(fe){fe!==this.value&&(this._inputValueAccessor.value=fe,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(fe){this._readonly=(0,e.he)(fe)}get errorState(){return this._errorStateTracker.errorState}set errorState(fe){this._errorStateTracker.errorState=fe}constructor(fe,ne,Me,Ce,le,T,n,c,m,d){this._elementRef=fe,this._platform=ne,this.ngControl=Me,this._autofillMonitor=c,this._formField=d,this._uid="mat-input-"+W++,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(k=>(0,t.MU)().has(k)),this._iOSKeyupListener=k=>{const _=k.target;!_.value&&0===_.selectionStart&&0===_.selectionEnd&&(_.setSelectionRange(1,1),_.setSelectionRange(0,0))};const C=this._elementRef.nativeElement,A=C.nodeName.toLowerCase();this._inputValueAccessor=n||C,this._previousNativeValue=this.value,this.id=this.id,ne.IOS&&m.runOutsideAngular(()=>{fe.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new O.X0(T,Me,le,Ce,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===A,this._isTextarea="textarea"===A,this._isInFormField=!!d,this._isNativeSelect&&(this.controlType=C.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(fe=>{this.autofilled=fe.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(fe){this._elementRef.nativeElement.focus(fe)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(fe){fe!==this.focused&&(this.focused=fe,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const fe=this._elementRef.nativeElement.value;this._previousNativeValue!==fe&&(this._previousNativeValue=fe,this.stateChanges.next())}_dirtyCheckPlaceholder(){const fe=this._getPlaceholder();if(fe!==this._previousPlaceholder){const ne=this._elementRef.nativeElement;this._previousPlaceholder=fe,fe?ne.setAttribute("placeholder",fe):ne.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Y.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let fe=this._elementRef.nativeElement.validity;return fe&&fe.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const fe=this._elementRef.nativeElement,ne=fe.options[0];return this.focused||fe.multiple||!this.empty||!!(fe.selectedIndex>-1&&ne&&ne.label)}return this.focused||!this.empty}setDescribedByIds(fe){fe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",fe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const fe=this._elementRef.nativeElement;return this._isNativeSelect&&(fe.multiple||fe.size>1)}static{this.\u0275fac=function(ne){return new(ne||ie)(x.rXU(x.aKT),x.rXU(t.OD),x.rXU(y.vO,10),x.rXU(y.cV,8),x.rXU(y.j4,8),x.rXU(O.es),x.rXU(j,10),x.rXU(f),x.rXU(x.SKi),x.rXU(I.xb,8))}}static{this.\u0275dir=x.FsC({type:ie,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ne,Me){1&ne&&x.bIt("focus",function(){return Me._focusChanged(!0)})("blur",function(){return Me._focusChanged(!1)})("input",function(){return Me._onInput()}),2&ne&&(x.Mr5("id",Me.id)("disabled",Me.disabled)("required",Me.required),x.BMQ("name",Me.name||null)("readonly",Me.readonly&&!Me._isNativeSelect||null)("aria-invalid",Me.empty&&Me.required?null:Me.errorState)("aria-required",Me.required)("id",Me.id),x.AVh("mat-input-server",Me._isServer)("mat-mdc-form-field-textarea-control",Me._isInFormField&&Me._isTextarea)("mat-mdc-form-field-input-control",Me._isInFormField)("mdc-text-field__input",Me._isInFormField)("mat-mdc-native-select-inline",Me._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"],standalone:!0,features:[x.Jv_([{provide:I.qT,useExisting:ie}]),x.OA$]})}}return ie})(),J=(()=>{class ie{static{this.\u0275fac=function(ne){return new(ne||ie)}}static{this.\u0275mod=x.$C({type:ie})}static{this.\u0275inj=x.G2t({imports:[O.yE,I.RG,I.RG,S,O.yE]})}}return ie})()},3902:(Qe,te,g)=>{"use strict";g.d(te,{Fg:()=>we,YE:()=>Ee,jt:()=>me});var e=g(4438),t=g(4085),x=g(6860),D=g(6600),l=g(8359),w=g(7786),R=(g(1413),g(2318)),h=g(177),S=g(1997);g(8617),g(5024),g(7336),g(9417),g(6977);const Y=["*"],Q=["unscopedContent"],J=["text"],ie=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],ee=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],N=new e.nKC("ListOption");let q=(()=>{class Ue{constructor(vt){this._elementRef=vt}static{this.\u0275fac=function($e){return new($e||Ue)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:Ue,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"],standalone:!0})}}return Ue})(),pe=(()=>{class Ue{constructor(vt){this._elementRef=vt}static{this.\u0275fac=function($e){return new($e||Ue)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:Ue,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"],standalone:!0})}}return Ue})(),ze=(()=>{class Ue{static{this.\u0275fac=function($e){return new($e||Ue)}}static{this.\u0275dir=e.FsC({type:Ue,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"],standalone:!0})}}return Ue})(),Xe=(()=>{class Ue{constructor(vt){this._listOption=vt}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static{this.\u0275fac=function($e){return new($e||Ue)(e.rXU(N,8))}}static{this.\u0275dir=e.FsC({type:Ue,hostVars:4,hostBindings:function($e,nt){2&$e&&e.AVh("mdc-list-item__start",nt._isAlignedAtStart())("mdc-list-item__end",!nt._isAlignedAtStart())},standalone:!0})}}return Ue})(),We=(()=>{class Ue extends Xe{static{this.\u0275fac=(()=>{let vt;return function(nt){return(vt||(vt=e.xGo(Ue)))(nt||Ue)}})()}static{this.\u0275dir=e.FsC({type:Ue,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],standalone:!0,features:[e.Vt3]})}}return Ue})(),oe=(()=>{class Ue extends Xe{static{this.\u0275fac=(()=>{let vt;return function(nt){return(vt||(vt=e.xGo(Ue)))(nt||Ue)}})()}static{this.\u0275dir=e.FsC({type:Ue,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],standalone:!0,features:[e.Vt3]})}}return Ue})();const X=new e.nKC("MAT_LIST_CONFIG");let se=(()=>{class Ue{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,e.WQX)(X,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(vt){this._disableRipple=(0,t.he)(vt)}get disabled(){return this._disabled}set disabled(vt){this._disabled=(0,t.he)(vt)}static{this.\u0275fac=function($e){return new($e||Ue)}}static{this.\u0275dir=e.FsC({type:Ue,hostVars:1,hostBindings:function($e,nt){2&$e&&e.BMQ("aria-disabled",nt.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},standalone:!0})}}return Ue})(),ae=(()=>{class Ue{set lines(vt){this._explicitLines=(0,t.OE)(vt,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(vt){this._disableRipple=(0,t.he)(vt)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(vt){this._disabled=(0,t.he)(vt)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(vt,$e,nt,qt,Nt,yt){this._elementRef=vt,this._ngZone=$e,this._listBase=nt,this._platform=qt,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new l.yU,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=Nt||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===yt,nt&&!nt._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 D.ug(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,w.h)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(vt){if(!this._lines||!this._titles||!this._unscopedContent)return;vt&&this._checkDomForUnscopedTextContent();const $e=this._explicitLines??this._inferLinesFromContent(),nt=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",$e<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",$e<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===$e),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===$e),this._hasUnscopedTextContent){const qt=0===this._titles.length&&1===$e;nt.classList.toggle("mdc-list-item__primary-text",qt),nt.classList.toggle("mdc-list-item__secondary-text",!qt)}else nt.classList.remove("mdc-list-item__primary-text"),nt.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let vt=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(vt+=1),vt}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(vt=>vt.nodeType!==vt.COMMENT_NODE).some(vt=>!(!vt.textContent||!vt.textContent.trim()))}static{this.\u0275fac=function($e){return new($e||Ue)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(se,8),e.rXU(x.OD),e.rXU(D.$E,8),e.rXU(e.bc$,8))}}static{this.\u0275dir=e.FsC({type:Ue,contentQueries:function($e,nt,qt){if(1&$e&&(e.wni(qt,We,4),e.wni(qt,oe,4)),2&$e){let Nt;e.mGM(Nt=e.lsd())&&(nt._avatars=Nt),e.mGM(Nt=e.lsd())&&(nt._icons=Nt)}},hostVars:4,hostBindings:function($e,nt){2&$e&&(e.BMQ("aria-disabled",nt.disabled)("disabled",nt._isButtonElement&&nt.disabled||null),e.AVh("mdc-list-item--disabled",nt.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"},standalone:!0})}}return Ue})(),me=(()=>{class Ue extends se{static{this.\u0275fac=(()=>{let vt;return function(nt){return(vt||(vt=e.xGo(Ue)))(nt||Ue)}})()}static{this.\u0275cmp=e.VBU({type:Ue,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],standalone:!0,features:[e.Jv_([{provide:se,useExisting:Ue}]),e.Vt3,e.aNF],ngContentSelectors:Y,decls:1,vars:0,template:function($e,nt){1&$e&&(e.NAR(),e.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)}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.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:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape);--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape)}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color)}'],encapsulation:2,changeDetection:0})}}return Ue})(),Ee=(()=>{class Ue extends ae{get activated(){return this._activated}set activated(vt){this._activated=(0,t.he)(vt)}constructor(vt,$e,nt,qt,Nt,yt){super(vt,$e,nt,qt,Nt,yt),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}static{this.\u0275fac=function($e){return new($e||Ue)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(se,8),e.rXU(x.OD),e.rXU(D.$E,8),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:Ue,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function($e,nt,qt){if(1&$e&&(e.wni(qt,pe,5),e.wni(qt,q,5),e.wni(qt,ze,5)),2&$e){let Nt;e.mGM(Nt=e.lsd())&&(nt._lines=Nt),e.mGM(Nt=e.lsd())&&(nt._titles=Nt),e.mGM(Nt=e.lsd())&&(nt._meta=Nt)}},viewQuery:function($e,nt){if(1&$e&&(e.GBs(Q,5),e.GBs(J,5)),2&$e){let qt;e.mGM(qt=e.lsd())&&(nt._unscopedContent=qt.first),e.mGM(qt=e.lsd())&&(nt._itemText=qt.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function($e,nt){2&$e&&(e.BMQ("aria-current",nt._getAriaCurrent()),e.AVh("mdc-list-item--activated",nt.activated)("mdc-list-item--with-leading-avatar",0!==nt._avatars.length)("mdc-list-item--with-leading-icon",0!==nt._icons.length)("mdc-list-item--with-trailing-meta",0!==nt._meta.length)("_mat-animation-noopable",nt._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],standalone:!0,features:[e.Vt3,e.aNF],ngContentSelectors:ee,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($e,nt){if(1&$e){const qt=e.RV6();e.NAR(ie),e.SdG(0),e.j41(1,"span",1),e.SdG(2,1),e.SdG(3,2),e.j41(4,"span",2,0),e.bIt("cdkObserveContent",function(){return e.eBV(qt),e.Njj(nt._updateItemLines(!0))}),e.SdG(6,3),e.k0s()(),e.SdG(7,4),e.SdG(8,5),e.nrm(9,"div",3)}},dependencies:[R.Wv],encapsulation:2,changeDetection:0})}}return Ue})(),we=(()=>{class Ue{static{this.\u0275fac=function($e){return new($e||Ue)}}static{this.\u0275mod=e.$C({type:Ue})}static{this.\u0275inj=e.G2t({imports:[R.w5,h.MD,D.yE,D.pZ,D.O5,S.w]})}}return Ue})()},9115:(Qe,te,g)=>{"use strict";g.d(te,{Cn:()=>he,Cp:()=>ae,fb:()=>m,kk:()=>ze});var e=g(4438),t=g(8617),x=g(7336),D=g(1413),l=g(7786),w=g(8359),f=g(7673),R=g(5007),h=g(9172),S=g(5558),y=g(6697),O=g(6977),I=g(5964),V=g(5335),j=g(177),Y=g(6600),W=g(6939),Q=g(9969),J=g(8203),ie=g(6969),ee=g(6860),fe=g(5542);const ne=["mat-menu-item",""],Me=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Ce=["mat-icon, [matMenuItemIcon]","*"];function le(Ie,st){1&Ie&&(e.qSk(),e.j41(0,"svg",2),e.nrm(1,"polygon",3),e.k0s())}const T=["*"];function n(Ie,st){if(1&Ie){const me=e.RV6();e.j41(0,"div",0),e.bIt("keydown",function(ue){e.eBV(me);const Be=e.XpG();return e.Njj(Be._handleKeydown(ue))})("click",function(){e.eBV(me);const ue=e.XpG();return e.Njj(ue.closed.emit("click"))})("@transformMenu.start",function(ue){e.eBV(me);const Be=e.XpG();return e.Njj(Be._onAnimationStart(ue))})("@transformMenu.done",function(ue){e.eBV(me);const Be=e.XpG();return e.Njj(Be._onAnimationDone(ue))}),e.j41(1,"div",1),e.SdG(2),e.k0s()()}if(2&Ie){const me=e.XpG();e.HbH(me._classList),e.Y8G("id",me.panelId)("@transformMenu",me._panelAnimationState),e.BMQ("aria-label",me.ariaLabel||null)("aria-labelledby",me.ariaLabelledby||null)("aria-describedby",me.ariaDescribedby||null)}}const c=new e.nKC("MAT_MENU_PANEL");let m=(()=>{class Ie{constructor(me,Ee,ue,Be,Ct){this._elementRef=me,this._document=Ee,this._focusMonitor=ue,this._parentMenu=Be,this._changeDetectorRef=Ct,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new D.B,this._focused=new D.B,this._highlighted=!1,this._triggersSubmenu=!1,Be?.addItem?.(this)}focus(me,Ee){this._focusMonitor&&me?this._focusMonitor.focusVia(this._getHostElement(),me,Ee):this._getHostElement().focus(Ee),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(me){this.disabled&&(me.preventDefault(),me.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const me=this._elementRef.nativeElement.cloneNode(!0),Ee=me.querySelectorAll("mat-icon, .material-icons");for(let ue=0;ue enter",(0,Q.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Q.iF)({opacity:1,transform:"scale(1)"}))),(0,Q.kY)("* => void",(0,Q.i0)("100ms 25ms linear",(0,Q.iF)({opacity:0})))]),fadeInItems:(0,Q.hZ)("fadeInItems",[(0,Q.wk)("showing",(0,Q.iF)({opacity:1})),(0,Q.kY)("void => *",[(0,Q.iF)({opacity:0}),(0,Q.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let N=0;const q=new e.nKC("mat-menu-default-options",{providedIn:"root",factory:function pe(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ze=(()=>{class Ie{get xPosition(){return this._xPosition}set xPosition(me){this._xPosition=me,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(me){this._yPosition=me,this.setPositionClasses()}set panelClass(me){const Ee=this._previousPanelClass,ue={...this._classList};Ee&&Ee.length&&Ee.split(" ").forEach(Be=>{ue[Be]=!1}),this._previousPanelClass=me,me&&me.length&&(me.split(" ").forEach(Be=>{ue[Be]=!0}),this._elementRef.nativeElement.className=""),this._classList=ue}get classList(){return this.panelClass}set classList(me){this.panelClass=me}constructor(me,Ee,ue,Be){this._elementRef=me,this._ngZone=Ee,this._changeDetectorRef=Be,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new e.rOR,this._classList={},this._panelAnimationState="void",this._animationDone=new D.B,this.closed=new e.bkB,this.close=this.closed,this.panelId="mat-menu-panel-"+N++,this.overlayPanelClass=ue.overlayPanelClass||"",this._xPosition=ue.xPosition,this._yPosition=ue.yPosition,this.backdropClass=ue.backdropClass,this.overlapTrigger=ue.overlapTrigger,this.hasBackdrop=ue.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new t.Bu(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,h.Z)(this._directDescendantItems),(0,S.n)(me=>(0,l.h)(...me.map(Ee=>Ee._focused)))).subscribe(me=>this._keyManager.updateActiveItem(me)),this._directDescendantItems.changes.subscribe(me=>{const Ee=this._keyManager;if("enter"===this._panelAnimationState&&Ee.activeItem?._hasFocus()){const ue=me.toArray(),Be=Math.max(0,Math.min(ue.length-1,Ee.activeItemIndex||0));ue[Be]&&!ue[Be].disabled?Ee.setActiveItem(Be):Ee.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,h.Z)(this._directDescendantItems),(0,S.n)(Ee=>(0,l.h)(...Ee.map(ue=>ue._hovered))))}addItem(me){}removeItem(me){}_handleKeydown(me){const Ee=me.keyCode,ue=this._keyManager;switch(Ee){case x._f:(0,x.rp)(me)||(me.preventDefault(),this.closed.emit("keydown"));break;case x.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case x.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Ee===x.i7||Ee===x.n6)&&ue.setFocusOrigin("keyboard"),void ue.onKeydown(me)}me.stopPropagation()}focusFirstItem(me="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,y.s)(1)).subscribe(()=>{let Ee=null;if(this._directDescendantItems.length&&(Ee=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Ee||!Ee.contains(document.activeElement)){const ue=this._keyManager;ue.setFocusOrigin(me).setFirstItemActive(),!ue.activeItem&&Ee&&Ee.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(me){const Ee=Math.min(this._baseElevation+me,24),ue=`${this._elevationPrefix}${Ee}`,Be=Object.keys(this._classList).find(Ct=>Ct.startsWith(this._elevationPrefix));if(!Be||Be===this._previousElevation){const Ct={...this._classList};this._previousElevation&&(Ct[this._previousElevation]=!1),Ct[ue]=!0,this._previousElevation=ue,this._classList=Ct}}setPositionClasses(me=this.xPosition,Ee=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===me,"mat-menu-after":"after"===me,"mat-menu-above":"above"===Ee,"mat-menu-below":"below"===Ee},this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(me){this._animationDone.next(me),this._isAnimating=!1}_onAnimationStart(me){this._isAnimating=!0,"enter"===me.toState&&0===this._keyManager.activeItemIndex&&(me.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,h.Z)(this._allItems)).subscribe(me=>{this._directDescendantItems.reset(me.filter(Ee=>Ee._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(Ee){return new(Ee||Ie)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(q),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:Ie,selectors:[["mat-menu"]],contentQueries:function(Ee,ue,Be){if(1&Ee&&(e.wni(Be,k,5),e.wni(Be,m,5),e.wni(Be,m,4)),2&Ee){let Ct;e.mGM(Ct=e.lsd())&&(ue.lazyContent=Ct.first),e.mGM(Ct=e.lsd())&&(ue._allItems=Ct),e.mGM(Ct=e.lsd())&&(ue.items=Ct)}},viewQuery:function(Ee,ue){if(1&Ee&&e.GBs(e.C4Q,5),2&Ee){let Be;e.mGM(Be=e.lsd())&&(ue.templateRef=Be.first)}},hostVars:3,hostBindings:function(Ee,ue){2&Ee&&e.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",e.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",me=>null==me?null:(0,e.L39)(me)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[e.Jv_([{provide:c,useExisting:Ie}]),e.GFd,e.aNF],ngContentSelectors:T,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(Ee,ue){1&Ee&&(e.NAR(),e.DNE(0,n,3,7,"ng-template"))},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;flex:1;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-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-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:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.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{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.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{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform: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:[a.transformMenu,a.fadeInItems]},changeDetection:0})}}return Ie})();const Xe=new e.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Ie=(0,e.WQX)(ie.hJ);return()=>Ie.scrollStrategies.reposition()}}),oe={provide:Xe,deps:[ie.hJ],useFactory:function We(Ie){return()=>Ie.scrollStrategies.reposition()}},X=(0,ee.BQ)({passive:!0});let ae=(()=>{class Ie{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(me){this.menu=me}get menu(){return this._menu}set menu(me){me!==this._menu&&(this._menu=me,this._menuCloseSubscription.unsubscribe(),me&&(this._menuCloseSubscription=me.close.subscribe(Ee=>{this._destroyMenu(Ee),("click"===Ee||"tab"===Ee)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Ee)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(me,Ee,ue,Be,Ct,ct,dt,Yt,ve){this._overlay=me,this._element=Ee,this._viewContainerRef=ue,this._menuItemInstance=ct,this._dir=dt,this._focusMonitor=Yt,this._ngZone=ve,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=w.yU.EMPTY,this._hoverSubscription=w.yU.EMPTY,this._menuCloseSubscription=w.yU.EMPTY,this._changeDetectorRef=(0,e.WQX)(e.gRc),this._handleTouchStart=_e=>{(0,t.w6)(_e)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new e.bkB,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.bkB,this.onMenuClose=this.menuClosed,this._scrollStrategy=Be,this._parentMaterialMenu=Ct instanceof ze?Ct:void 0,Ee.nativeElement.addEventListener("touchstart",this._handleTouchStart,X)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,X),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 me=this.menu;if(this._menuOpen||!me)return;const Ee=this._createOverlay(me),ue=Ee.getConfig(),Be=ue.positionStrategy;this._setPosition(me,Be),ue.hasBackdrop=null==me.hasBackdrop?!this.triggersSubmenu():me.hasBackdrop,Ee.attach(this._getPortal(me)),me.lazyContent&&me.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(me),me instanceof ze&&(me._startAnimation(),me._directDescendantItems.changes.pipe((0,O.Q)(me.close)).subscribe(()=>{Be.withLockedPosition(!1).reapplyLastPosition(),Be.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(me,Ee){this._focusMonitor&&me?this._focusMonitor.focusVia(this._element,me,Ee):this._element.nativeElement.focus(Ee)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(me){if(!this._overlayRef||!this.menuOpen)return;const Ee=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===me||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Ee instanceof ze?(Ee._resetAnimation(),Ee.lazyContent?Ee._animationDone.pipe((0,I.p)(ue=>"void"===ue.toState),(0,y.s)(1),(0,O.Q)(Ee.lazyContent._attached)).subscribe({next:()=>Ee.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Ee?.lazyContent?.detach())}_initMenu(me){me.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,me.direction=this.dir,this._setMenuElevation(me),me.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(me){if(me.setElevation){let Ee=0,ue=me.parentMenu;for(;ue;)Ee++,ue=ue.parentMenu;me.setElevation(Ee)}}_setIsMenuOpen(me){me!==this._menuOpen&&(this._menuOpen=me,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(me),this._changeDetectorRef.markForCheck())}_createOverlay(me){if(!this._overlayRef){const Ee=this._getOverlayConfig(me);this._subscribeToPositions(me,Ee.positionStrategy),this._overlayRef=this._overlay.create(Ee),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(me){return new ie.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:me.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:me.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(me,Ee){me.setPositionClasses&&Ee.positionChanges.subscribe(ue=>{const Be="start"===ue.connectionPair.overlayX?"after":"before",Ct="top"===ue.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>me.setPositionClasses(Be,Ct)):me.setPositionClasses(Be,Ct)})}_setPosition(me,Ee){let[ue,Be]="before"===me.xPosition?["end","start"]:["start","end"],[Ct,ct]="above"===me.yPosition?["bottom","top"]:["top","bottom"],[dt,Yt]=[Ct,ct],[ve,_e]=[ue,Be],we=0;if(this.triggersSubmenu()){if(_e=ue="before"===me.xPosition?"start":"end",Be=ve="end"===ue?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ue=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ue?Ue._getHostElement().offsetTop:0}we="bottom"===Ct?this._parentInnerPadding:-this._parentInnerPadding}}else me.overlapTrigger||(dt="top"===Ct?"bottom":"top",Yt="top"===ct?"bottom":"top");Ee.withPositions([{originX:ue,originY:dt,overlayX:ve,overlayY:Ct,offsetY:we},{originX:Be,originY:dt,overlayX:_e,overlayY:Ct,offsetY:we},{originX:ue,originY:Yt,overlayX:ve,overlayY:ct,offsetY:-we},{originX:Be,originY:Yt,overlayX:_e,overlayY:ct,offsetY:-we}])}_menuClosingActions(){const me=this._overlayRef.backdropClick(),Ee=this._overlayRef.detachments(),ue=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,f.of)(),Be=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,I.p)(Ct=>Ct!==this._menuItemInstance),(0,I.p)(()=>this._menuOpen)):(0,f.of)();return(0,l.h)(me,ue,Be,Ee)}_handleMousedown(me){(0,t._G)(me)||(this._openedBy=0===me.button?"mouse":void 0,this.triggersSubmenu()&&me.preventDefault())}_handleKeydown(me){const Ee=me.keyCode;(Ee===x.Fm||Ee===x.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Ee===x.LE&&"ltr"===this.dir||Ee===x.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(me){this.triggersSubmenu()?(me.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,I.p)(me=>me===this._menuItemInstance&&!me.disabled),(0,V.c)(0,R.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ze&&this.menu._isAnimating?this.menu._animationDone.pipe((0,y.s)(1),(0,V.c)(0,R.$),(0,O.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(me){return(!this._portal||this._portal.templateRef!==me.templateRef)&&(this._portal=new W.VA(me.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(Ee){return new(Ee||Ie)(e.rXU(ie.hJ),e.rXU(e.aKT),e.rXU(e.c1b),e.rXU(Xe),e.rXU(c,8),e.rXU(m,10),e.rXU(J.dS,8),e.rXU(t.FN),e.rXU(e.SKi))}}static{this.\u0275dir=e.FsC({type:Ie,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Ee,ue){1&Ee&&e.bIt("click",function(Ct){return ue._handleClick(Ct)})("mousedown",function(Ct){return ue._handleMousedown(Ct)})("keydown",function(Ct){return ue._handleKeydown(Ct)}),2&Ee&&e.BMQ("aria-haspopup",ue.menu?"menu":null)("aria-expanded",ue.menuOpen)("aria-controls",ue.menuOpen?ue.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"],standalone:!0})}}return Ie})(),he=(()=>{class Ie{static{this.\u0275fac=function(Ee){return new(Ee||Ie)}}static{this.\u0275mod=e.$C({type:Ie})}static{this.\u0275inj=e.G2t({providers:[oe],imports:[j.MD,Y.pZ,Y.yE,ie.z_,fe.Gj,Y.yE]})}}return Ie})()},6695:(Qe,te,g)=>{"use strict";g.d(te,{Ou:()=>ne,iy:()=>fe,xX:()=>j});var e=g(4438),t=g(1413),x=g(2771),D=g(8834),l=g(2798),w=g(4823),f=g(6600),R=g(6467);function h(Me,Ce){if(1&Me&&(e.j41(0,"mat-option",16),e.EFF(1),e.k0s()),2&Me){const le=Ce.$implicit;e.Y8G("value",le),e.R7$(),e.SpI(" ",le," ")}}function S(Me,Ce){if(1&Me){const le=e.RV6();e.j41(0,"mat-form-field",13)(1,"mat-select",15),e.bIt("selectionChange",function(n){e.eBV(le);const c=e.XpG(2);return e.Njj(c._changePageSize(n.value))}),e.Z7z(2,h,2,2,"mat-option",16,e.fX1),e.k0s()()}if(2&Me){const le=e.XpG(2);e.Y8G("appearance",le._formFieldAppearance)("color",le.color),e.R7$(),e.Y8G("value",le.pageSize)("disabled",le.disabled)("aria-labelledby",le._pageSizeLabelId)("panelClass",le.selectConfig.panelClass||"")("disableOptionCentering",le.selectConfig.disableOptionCentering),e.R7$(),e.Dyx(le._displayedPageSizeOptions)}}function y(Me,Ce){if(1&Me&&(e.j41(0,"div",14),e.EFF(1),e.k0s()),2&Me){const le=e.XpG(2);e.R7$(),e.JRh(le.pageSize)}}function O(Me,Ce){if(1&Me&&(e.j41(0,"div",2)(1,"div",12),e.EFF(2),e.k0s(),e.DNE(3,S,4,7,"mat-form-field",13)(4,y,2,1,"div",14),e.k0s()),2&Me){const le=e.XpG();e.R7$(),e.BMQ("id",le._pageSizeLabelId),e.R7$(),e.SpI(" ",le._intl.itemsPerPageLabel," "),e.R7$(),e.vxM(le._displayedPageSizeOptions.length>1?3:-1),e.R7$(),e.vxM(le._displayedPageSizeOptions.length<=1?4:-1)}}function I(Me,Ce){if(1&Me){const le=e.RV6();e.j41(0,"button",17),e.bIt("click",function(){e.eBV(le);const n=e.XpG();return e.Njj(n.firstPage())}),e.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",18),e.k0s()()}if(2&Me){const le=e.XpG();e.Y8G("matTooltip",le._intl.firstPageLabel)("matTooltipDisabled",le._previousButtonsDisabled())("matTooltipPosition","above")("disabled",le._previousButtonsDisabled()),e.BMQ("aria-label",le._intl.firstPageLabel)}}function V(Me,Ce){if(1&Me){const le=e.RV6();e.j41(0,"button",19),e.bIt("click",function(){e.eBV(le);const n=e.XpG();return e.Njj(n.lastPage())}),e.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",20),e.k0s()()}if(2&Me){const le=e.XpG();e.Y8G("matTooltip",le._intl.lastPageLabel)("matTooltipDisabled",le._nextButtonsDisabled())("matTooltipPosition","above")("disabled",le._nextButtonsDisabled()),e.BMQ("aria-label",le._intl.lastPageLabel)}}let j=(()=>{class Me{constructor(){this.changes=new t.B,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(le,T,n)=>{if(0==n||0==T)return`0 of ${n}`;const c=le*T;return`${c+1} \u2013 ${c<(n=Math.max(n,0))?Math.min(c+T,n):c+T} of ${n}`}}static{this.\u0275fac=function(T){return new(T||Me)}}static{this.\u0275prov=e.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}}return Me})();const W={provide:j,deps:[[new e.Xx1,new e.kdw,j]],useFactory:function Y(Me){return Me||new j}},ie=new e.nKC("MAT_PAGINATOR_DEFAULT_OPTIONS");let ee=0,fe=(()=>{class Me{get pageIndex(){return this._pageIndex}set pageIndex(le){this._pageIndex=Math.max(le||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(le){this._length=le||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(le){this._pageSize=Math.max(le||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(le){this._pageSizeOptions=(le||[]).map(T=>(0,e.Udg)(T,0)),this._updateDisplayedPageSizeOptions()}constructor(le,T,n){if(this._intl=le,this._changeDetectorRef=T,this._pageSizeLabelId="mat-paginator-page-size-label-"+ee++,this._isInitialized=!1,this._initializedStream=new x.m(1),this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this.hidePageSize=!1,this.showFirstLastButtons=!1,this.selectConfig={},this.disabled=!1,this.page=new e.bkB,this.initialized=this._initializedStream,this._intlChanges=le.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){const{pageSize:c,pageSizeOptions:m,hidePageSize:d,showFirstLastButtons:C}=n;null!=c&&(this._pageSize=c),null!=m&&(this._pageSizeOptions=m),null!=d&&(this.hidePageSize=d),null!=C&&(this.showFirstLastButtons=C)}this._formFieldAppearance=n?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const le=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(le)}previousPage(){if(!this.hasPreviousPage())return;const le=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(le)}firstPage(){if(!this.hasPreviousPage())return;const le=this.pageIndex;this.pageIndex=0,this._emitPageEvent(le)}lastPage(){if(!this.hasNextPage())return;const le=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(le)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const le=this.getNumberOfPages()-1;return this.pageIndexle-T),this._changeDetectorRef.markForCheck())}_emitPageEvent(le){this.page.emit({previousPageIndex:le,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static{this.\u0275fac=function(T){return new(T||Me)(e.rXU(j),e.rXU(e.gRc),e.rXU(ie,8))}}static{this.\u0275cmp=e.VBU({type:Me,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",e.Udg],length:[2,"length","length",e.Udg],pageSize:[2,"pageSize","pageSize",e.Udg],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",e.L39],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",e.L39],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",e.L39]},outputs:{page:"page"},exportAs:["matPaginator"],standalone:!0,features:[e.GFd,e.aNF],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(T,n){1&T&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,O,5,4,"div",2),e.j41(3,"div",3)(4,"div",4),e.EFF(5),e.k0s(),e.DNE(6,I,3,5,"button",5),e.j41(7,"button",6),e.bIt("click",function(){return n.previousPage()}),e.qSk(),e.j41(8,"svg",7),e.nrm(9,"path",8),e.k0s()(),e.joV(),e.j41(10,"button",9),e.bIt("click",function(){return n.nextPage()}),e.qSk(),e.j41(11,"svg",7),e.nrm(12,"path",10),e.k0s()(),e.DNE(13,V,3,5,"button",11),e.k0s()()()),2&T&&(e.R7$(2),e.vxM(n.hidePageSize?-1:2),e.R7$(3),e.SpI(" ",n._intl.getRangeLabel(n.pageIndex,n.pageSize,n.length)," "),e.R7$(),e.vxM(n.showFirstLastButtons?6:-1),e.R7$(),e.Y8G("matTooltip",n._intl.previousPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("matTooltipPosition","above")("disabled",n._previousButtonsDisabled()),e.BMQ("aria-label",n._intl.previousPageLabel),e.R7$(3),e.Y8G("matTooltip",n._intl.nextPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("matTooltipPosition","above")("disabled",n._nextButtonsDisabled()),e.BMQ("aria-label",n._intl.nextPageLabel),e.R7$(3),e.vxM(n.showFirstLastButtons?13:-1))},dependencies:[R.rl,l.VO,f.wT,D.iY,w.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-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.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;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 Me})(),ne=(()=>{class Me{static{this.\u0275fac=function(T){return new(T||Me)}}static{this.\u0275mod=e.$C({type:Me})}static{this.\u0275inj=e.G2t({providers:[W],imports:[D.Hl,l.Ve,w.uc,fe]})}}return Me})()},7575:(Qe,te,g)=>{"use strict";g.d(te,{HM:()=>R,PO:()=>S});var e=g(4438),x=(g(177),g(6600));function D(y,O){1&y&&e.nrm(0,"div",2)}const l=new e.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let R=(()=>{class y{constructor(I,V,j,Y,W){this._elementRef=I,this._ngZone=V,this._changeDetectorRef=j,this._animationMode=Y,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new e.bkB,this._mode="determinate",this._transitionendHandler=Q=>{0===this.animationEnd.observers.length||!Q.target||!Q.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===Y,W&&(W.color&&(this.color=this._defaultColor=W.color),this.mode=W.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(I){this._color=I}get value(){return this._value}set value(I){this._value=h(I||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(I){this._bufferValue=h(I||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(I){this._mode=I,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||y)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(e.bc$,8),e.rXU(l,8))}}static{this.\u0275cmp=e.VBU({type:y,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(V,j){2&V&&(e.BMQ("aria-valuenow",j._isIndeterminate()?null:j.value)("mode",j.mode),e.HbH("mat-"+j.color),e.AVh("_mat-animation-noopable",j._isNoopAnimation)("mdc-linear-progress--animation-ready",!j._isNoopAnimation)("mdc-linear-progress--indeterminate",j._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",e.Udg],bufferValue:[2,"bufferValue","bufferValue",e.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[e.GFd,e.aNF],decls:7,vars:5,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,j){1&V&&(e.j41(0,"div",0),e.nrm(1,"div",1),e.DNE(2,D,1,0,"div",2),e.k0s(),e.j41(3,"div",3),e.nrm(4,"span",4),e.k0s(),e.j41(5,"div",5),e.nrm(6,"span",4),e.k0s()),2&V&&(e.R7$(),e.xc7("flex-basis",j._getBufferBarFlexBasis()),e.R7$(),e.vxM("buffer"===j.mode?2:-1),e.R7$(),e.xc7("transform",j._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}.mdc-linear-progress__buffer-dots{background-color:var(--mdc-linear-progress-track-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='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E\")}}.mdc-linear-progress__buffer-bar{background-color:var(--mdc-linear-progress-track-color)}.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:start;--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%}.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 y})();function h(y,O=0,I=100){return Math.max(O,Math.min(I,y))}let S=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275mod=e.$C({type:y})}static{this.\u0275inj=e.G2t({imports:[x.yE]})}}return y})()},9183:(Qe,te,g)=>{"use strict";g.d(te,{D6:()=>O,LG:()=>S});var e=g(4438),t=g(177),x=g(6600);const D=["determinateSpinner"];function l(I,V){if(1&I&&(e.qSk(),e.j41(0,"svg",11),e.nrm(1,"circle",12),e.k0s()),2&I){const j=e.XpG();e.BMQ("viewBox",j._viewBox()),e.R7$(),e.xc7("stroke-dasharray",j._strokeCircumference(),"px")("stroke-dashoffset",j._strokeCircumference()/2,"px")("stroke-width",j._circleStrokeWidth(),"%"),e.BMQ("r",j._circleRadius())}}const w=new e.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:function f(){return{diameter:R}}}),R=100;let S=(()=>{class I{get color(){return this._color||this._defaultColor}set color(j){this._color=j}constructor(j,Y,W){this._elementRef=j,this._defaultColor="primary",this._value=0,this._diameter=R,this._noopAnimations="NoopAnimations"===Y&&!!W&&!W._forceAnimations,this.mode="mat-spinner"===j.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",W&&(W.color&&(this.color=this._defaultColor=W.color),W.diameter&&(this.diameter=W.diameter),W.strokeWidth&&(this.strokeWidth=W.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(j){this._value=Math.max(0,Math.min(100,j||0))}get diameter(){return this._diameter}set diameter(j){this._diameter=j||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(j){this._strokeWidth=j||0}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const j=2*this._circleRadius()+this.strokeWidth;return`0 0 ${j} ${j}`}_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||I)(e.rXU(e.aKT),e.rXU(e.bc$,8),e.rXU(w))}}static{this.\u0275cmp=e.VBU({type:I,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(Y,W){if(1&Y&&e.GBs(D,5),2&Y){let Q;e.mGM(Q=e.lsd())&&(W._determinateCircle=Q.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(Y,W){2&Y&&(e.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===W.mode?W.value:null)("mode",W.mode),e.HbH("mat-"+W.color),e.xc7("width",W.diameter,"px")("height",W.diameter,"px")("--mdc-circular-progress-size",W.diameter+"px")("--mdc-circular-progress-active-indicator-width",W.diameter+"px"),e.AVh("_mat-animation-noopable",W._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===W.mode))},inputs:{color:"color",mode:"mode",value:[2,"value","value",e.Udg],diameter:[2,"diameter","diameter",e.Udg],strokeWidth:[2,"strokeWidth","strokeWidth",e.Udg]},exportAs:["matProgressSpinner"],standalone:!0,features:[e.GFd,e.aNF],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,W){if(1&Y&&(e.DNE(0,l,2,8,"ng-template",null,0,e.C5r),e.j41(2,"div",2,1),e.qSk(),e.j41(4,"svg",3),e.nrm(5,"circle",4),e.k0s()(),e.joV(),e.j41(6,"div",5)(7,"div",6)(8,"div",7),e.eu8(9,8),e.k0s(),e.j41(10,"div",9),e.eu8(11,8),e.k0s(),e.j41(12,"div",10),e.eu8(13,8),e.k0s()()()),2&Y){const Q=e.sdS(1);e.R7$(4),e.BMQ("viewBox",W._viewBox()),e.R7$(),e.xc7("stroke-dasharray",W._strokeCircumference(),"px")("stroke-dashoffset",W._strokeDashOffset(),"px")("stroke-width",W._circleStrokeWidth(),"%"),e.BMQ("r",W._circleRadius()),e.R7$(4),e.Y8G("ngTemplateOutlet",Q),e.R7$(2),e.Y8G("ngTemplateOutlet",Q),e.R7$(2),e.Y8G("ngTemplateOutlet",Q)}},dependencies:[t.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 I})(),O=(()=>{class I{static{this.\u0275fac=function(Y){return new(Y||I)}}static{this.\u0275mod=e.$C({type:I})}static{this.\u0275inj=e.G2t({imports:[t.MD,x.yE]})}}return I})()},5951:(Qe,te,g)=>{"use strict";g.d(te,{VT:()=>Y,Wk:()=>Q,_g:()=>W});var e=g(4438),t=g(6600),x=g(8617),D=g(5024),l=g(9417),w=g(177);const f=["input"],R=["formField"],h=["*"];let S=0;class y{constructor(ie,ee){this.source=ie,this.value=ee}}const O={provide:l.kq,useExisting:(0,e.Rfq)(()=>Y),multi:!0},I=new e.nKC("MatRadioGroup"),V=new e.nKC("mat-radio-default-options",{providedIn:"root",factory:function j(){return{color:"accent"}}});let Y=(()=>{class J{get name(){return this._name}set name(ee){this._name=ee,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(ee){this._labelPosition="before"===ee?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(ee){this._value!==ee&&(this._value=ee,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(ee){this._selected=ee,this.value=ee?ee.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(ee){this._disabled=ee,this._markRadiosForCheck()}get required(){return this._required}set required(ee){this._required=ee,this._markRadiosForCheck()}constructor(ee){this._changeDetector=ee,this._value=null,this._name="mat-radio-group-"+S++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.bkB}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(ee=>ee===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(ee=>{ee.name=this.name,ee._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(fe=>{fe.checked=this.value===fe.value,fe.checked&&(this._selected=fe)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new y(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(ee=>ee._markForCheck())}writeValue(ee){this.value=ee,this._changeDetector.markForCheck()}registerOnChange(ee){this._controlValueAccessorChangeFn=ee}registerOnTouched(ee){this.onTouched=ee}setDisabledState(ee){this.disabled=ee,this._changeDetector.markForCheck()}static{this.\u0275fac=function(fe){return new(fe||J)(e.rXU(e.gRc))}}static{this.\u0275dir=e.FsC({type:J,selectors:[["mat-radio-group"]],contentQueries:function(fe,ne,Me){if(1&fe&&e.wni(Me,W,5),2&fe){let Ce;e.mGM(Ce=e.lsd())&&(ne._radios=Ce)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",e.L39],required:[2,"required","required",e.L39]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[e.Jv_([O,{provide:I,useExisting:J}]),e.GFd]})}}return J})(),W=(()=>{class J{get checked(){return this._checked}set checked(ee){this._checked!==ee&&(this._checked=ee,ee&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!ee&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),ee&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(ee){this._value!==ee&&(this._value=ee,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===ee),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(ee){this._labelPosition=ee}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(ee){this._setDisabled(ee)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(ee){this._required=ee}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(ee){this._color=ee}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ee,fe,ne,Me,Ce,le,T,n){this._elementRef=fe,this._changeDetector=ne,this._focusMonitor=Me,this._radioDispatcher=Ce,this._providerOverride=T,this._uniqueId="mat-radio-"+ ++S,this.id=this._uniqueId,this.disableRipple=!1,this.tabIndex=0,this.change=new e.bkB,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=ee,this._noopAnimations="NoopAnimations"===le,n&&(this.tabIndex=(0,e.Udg)(n,0))}focus(ee,fe){fe?this._focusMonitor.focusVia(this._inputElement,fe,ee):this._inputElement.nativeElement.focus(ee)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((ee,fe)=>{ee!==this.id&&fe===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(ee=>{!ee&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new y(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(ee){ee.stopPropagation()}_onInputInteraction(ee){if(ee.stopPropagation(),!this.checked&&!this.disabled){const fe=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),fe&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(ee){this._onInputInteraction(ee),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(ee){this._disabled!==ee&&(this._disabled=ee,this._changeDetector.markForCheck())}_updateTabIndex(){const ee=this.radioGroup;let fe;if(fe=ee&&ee.selected&&!this.disabled?ee.selected===this?this.tabIndex:-1:this.tabIndex,fe!==this._previousTabIndex){const ne=this._inputElement?.nativeElement;ne&&(ne.setAttribute("tabindex",fe+""),this._previousTabIndex=fe)}}static{this.\u0275fac=function(fe){return new(fe||J)(e.rXU(I,8),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(x.FN),e.rXU(D.zP),e.rXU(e.bc$,8),e.rXU(V,8),e.kS0("tabindex"))}}static{this.\u0275cmp=e.VBU({type:J,selectors:[["mat-radio-button"]],viewQuery:function(fe,ne){if(1&fe&&(e.GBs(f,5),e.GBs(R,7,e.aKT)),2&fe){let Me;e.mGM(Me=e.lsd())&&(ne._inputElement=Me.first),e.mGM(Me=e.lsd())&&(ne._rippleTrigger=Me.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(fe,ne){1&fe&&e.bIt("focus",function(){return ne._inputElement.nativeElement.focus()}),2&fe&&(e.BMQ("id",ne.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.AVh("mat-primary","primary"===ne.color)("mat-accent","accent"===ne.color)("mat-warn","warn"===ne.color)("mat-mdc-radio-checked",ne.checked)("_mat-animation-noopable",ne._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",ee=>null==ee?0:(0,e.Udg)(ee)],checked:[2,"checked","checked",e.L39],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",e.L39],required:[2,"required","required",e.L39],color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[e.GFd,e.aNF],ngContentSelectors:h,decls:13,vars:16,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[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(fe,ne){if(1&fe){const Me=e.RV6();e.NAR(),e.j41(0,"div",2,0)(2,"div",3)(3,"div",4),e.bIt("click",function(le){return e.eBV(Me),e.Njj(ne._onTouchTargetClick(le))}),e.k0s(),e.j41(4,"input",5,1),e.bIt("change",function(le){return e.eBV(Me),e.Njj(ne._onInputInteraction(le))}),e.k0s(),e.j41(6,"div",6),e.nrm(7,"div",7)(8,"div",8),e.k0s(),e.j41(9,"div",9),e.nrm(10,"div",10),e.k0s()(),e.j41(11,"label",11),e.SdG(12),e.k0s()()}2&fe&&(e.Y8G("labelPosition",ne.labelPosition),e.R7$(2),e.AVh("mdc-radio--disabled",ne.disabled),e.R7$(2),e.Y8G("id",ne.inputId)("checked",ne.checked)("disabled",ne.disabled)("required",ne.required),e.BMQ("name",ne.name)("value",ne.value)("aria-label",ne.ariaLabel)("aria-labelledby",ne.ariaLabelledby)("aria-describedby",ne.ariaDescribedby),e.R7$(5),e.Y8G("matRippleTrigger",ne._rippleTrigger.nativeElement)("matRippleDisabled",ne._isRippleDisabled())("matRippleCentered",!0),e.R7$(2),e.Y8G("for",ne.inputId))},dependencies:[t.r6,t.tO],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)}.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%);display:var(--mat-radio-touch-target-display)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}}return J})(),Q=(()=>{class J{static{this.\u0275fac=function(fe){return new(fe||J)}}static{this.\u0275mod=e.$C({type:J})}static{this.\u0275inj=e.G2t({imports:[t.yE,w.MD,t.pZ,W,t.yE]})}}return J})()},2798:(Qe,te,g)=>{"use strict";g.d(te,{$2:()=>We,JO:()=>N,VO:()=>Xe,Ve:()=>oe});var e=g(6969),t=g(177),x=g(4438),D=g(6600),l=g(6467),w=g(5542),f=g(8617),R=g(8203),h=g(5024),S=g(7336),y=g(9417),O=g(1413),I=g(9030),V=g(7786),j=g(9172),Y=g(5558),W=g(5964),Q=g(6354),J=g(3294),ie=g(6977),ee=g(6697),fe=g(9969);const ne=["trigger"],Me=["panel"],Ce=[[["mat-select-trigger"]],"*"],le=["mat-select-trigger","*"];function T(X,se){if(1&X&&(x.j41(0,"span",4),x.EFF(1),x.k0s()),2&X){const ae=x.XpG();x.R7$(),x.JRh(ae.placeholder)}}function n(X,se){1&X&&x.SdG(0)}function c(X,se){if(1&X&&(x.j41(0,"span",11),x.EFF(1),x.k0s()),2&X){const ae=x.XpG(2);x.R7$(),x.JRh(ae.triggerValue)}}function m(X,se){if(1&X&&(x.j41(0,"span",5),x.DNE(1,n,1,0)(2,c,2,1,"span",11),x.k0s()),2&X){const ae=x.XpG();x.R7$(),x.vxM(ae.customTrigger?1:2)}}function d(X,se){if(1&X){const ae=x.RV6();x.j41(0,"div",12,1),x.bIt("@transformPanel.done",function(Ie){x.eBV(ae);const st=x.XpG();return x.Njj(st._panelDoneAnimatingStream.next(Ie.toState))})("keydown",function(Ie){x.eBV(ae);const st=x.XpG();return x.Njj(st._handleKeydown(Ie))}),x.SdG(2,1),x.k0s()}if(2&X){const ae=x.XpG();x.ZvI("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",ae._getPanelTheme(),""),x.Y8G("ngClass",ae.panelClass)("@transformPanel","showing"),x.BMQ("id",ae.id+"-panel")("aria-multiselectable",ae.multiple)("aria-label",ae.ariaLabel||null)("aria-labelledby",ae._getPanelAriaLabelledby())}}const C={transformPanelWrap:(0,fe.hZ)("transformPanelWrap",[(0,fe.kY)("* => void",(0,fe.P)("@transformPanel",[(0,fe.MA)()],{optional:!0}))]),transformPanel:(0,fe.hZ)("transformPanel",[(0,fe.wk)("void",(0,fe.iF)({opacity:0,transform:"scale(1, 0.8)"})),(0,fe.kY)("void => showing",(0,fe.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,fe.iF)({opacity:1,transform:"scale(1, 1)"}))),(0,fe.kY)("* => void",(0,fe.i0)("100ms linear",(0,fe.iF)({opacity:0})))])};let a=0;const b=new x.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const X=(0,x.WQX)(e.hJ);return()=>X.scrollStrategies.reposition()}}),N=new x.nKC("MAT_SELECT_CONFIG"),q={provide:b,deps:[e.hJ],useFactory:function z(X){return()=>X.scrollStrategies.reposition()}},pe=new x.nKC("MatSelectTrigger");class ze{constructor(se,ae){this.source=se,this.value=ae}}let Xe=(()=>{class X{_scrollOptionIntoView(ae){const he=this.options.toArray()[ae];if(he){const Ie=this.panel.nativeElement,st=(0,D.jb)(ae,this.options,this.optionGroups),me=he._getHostElement();Ie.scrollTop=0===ae&&1===st?0:(0,D.TL)(me.offsetTop,me.offsetHeight,Ie.scrollTop,Ie.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(ae){return new ze(this,ae)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(ae){this._hideSingleSelectionIndicator=ae,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(ae){this._placeholder=ae,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(y.k0.required)??!1}set required(ae){this._required=ae,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(ae){this._multiple=ae}get compareWith(){return this._compareWith}set compareWith(ae){this._compareWith=ae,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(ae){this._assignValue(ae)&&this._onChange(ae)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(ae){this._errorStateTracker.matcher=ae}get id(){return this._id}set id(ae){this._id=ae||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(ae){this._errorStateTracker.errorState=ae}constructor(ae,he,Ie,st,me,Ee,ue,Be,Ct,ct,dt,Yt,ve,_e){this._viewportRuler=ae,this._changeDetectorRef=he,this._elementRef=me,this._dir=Ee,this._parentFormField=Ct,this.ngControl=ct,this._liveAnnouncer=ve,this._defaultOptions=_e,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=(we,Ue)=>we===Ue,this._uid="mat-select-"+a++,this._triggerAriaLabelledBy=null,this._destroy=new O.B,this.stateChanges=new O.B,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+a++,this._panelDoneAnimatingStream=new O.B,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,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._initialized=new O.B,this.optionSelectionChanges=(0,I.v)(()=>{const we=this.options;return we?we.changes.pipe((0,j.Z)(we),(0,Y.n)(()=>(0,V.h)(...we.map(Ue=>Ue.onSelectionChange)))):this._initialized.pipe((0,Y.n)(()=>this.optionSelectionChanges))}),this.openedChange=new x.bkB,this._openedStream=this.openedChange.pipe((0,W.p)(we=>we),(0,Q.T)(()=>{})),this._closedStream=this.openedChange.pipe((0,W.p)(we=>!we),(0,Q.T)(()=>{})),this.selectionChange=new x.bkB,this.valueChange=new x.bkB,this._trackedModal=null,this._skipPredicate=we=>!this.panelOpen&&we.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=_e?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=_e.typeaheadDebounceInterval),this._errorStateTracker=new D.X0(st,ct,Be,ue,this.stateChanges),this._scrollStrategyFactory=Yt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(dt)||0,this.id=this.id}ngOnInit(){this._selectionModel=new h.CB(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,J.F)(),(0,ie.Q)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,ie.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,ie.Q)(this._destroy)).subscribe(ae=>{ae.added.forEach(he=>he.select()),ae.removed.forEach(he=>he.deselect())}),this.options.changes.pipe((0,j.Z)(null),(0,ie.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const ae=this._getTriggerAriaLabelledby(),he=this.ngControl;if(ae!==this._triggerAriaLabelledBy){const Ie=this._elementRef.nativeElement;this._triggerAriaLabelledBy=ae,ae?Ie.setAttribute("aria-labelledby",ae):Ie.removeAttribute("aria-labelledby")}he&&(this._previousControl!==he.control&&(void 0!==this._previousControl&&null!==he.disabled&&he.disabled!==this.disabled&&(this.disabled=he.disabled),this._previousControl=he.control),this.updateErrorState())}ngOnChanges(ae){(ae.disabled||ae.userAriaDescribedBy)&&this.stateChanges.next(),ae.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const ae=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!ae)return;const he=`${this.id}-panel`;this._trackedModal&&(0,f.Ae)(this._trackedModal,"aria-owns",he),(0,f.px)(ae,"aria-owns",he),this._trackedModal=ae}_clearFromModal(){this._trackedModal&&((0,f.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(ae){this._assignValue(ae)}registerOnChange(ae){this._onChange=ae}registerOnTouched(ae){this._onTouched=ae}setDisabledState(ae){this.disabled=ae,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const ae=this._selectionModel.selected.map(he=>he.viewValue);return this._isRtl()&&ae.reverse(),ae.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(ae){this.disabled||(this.panelOpen?this._handleOpenKeydown(ae):this._handleClosedKeydown(ae))}_handleClosedKeydown(ae){const he=ae.keyCode,Ie=he===S.n6||he===S.i7||he===S.UQ||he===S.LE,st=he===S.Fm||he===S.t6,me=this._keyManager;if(!me.isTyping()&&st&&!(0,S.rp)(ae)||(this.multiple||ae.altKey)&&Ie)ae.preventDefault(),this.open();else if(!this.multiple){const Ee=this.selected;me.onKeydown(ae);const ue=this.selected;ue&&Ee!==ue&&this._liveAnnouncer.announce(ue.viewValue,1e4)}}_handleOpenKeydown(ae){const he=this._keyManager,Ie=ae.keyCode,st=Ie===S.n6||Ie===S.i7,me=he.isTyping();if(st&&ae.altKey)ae.preventDefault(),this.close();else if(me||Ie!==S.Fm&&Ie!==S.t6||!he.activeItem||(0,S.rp)(ae))if(!me&&this._multiple&&Ie===S.A&&ae.ctrlKey){ae.preventDefault();const Ee=this.options.some(ue=>!ue.disabled&&!ue.selected);this.options.forEach(ue=>{ue.disabled||(Ee?ue.select():ue.deselect())})}else{const Ee=he.activeItemIndex;he.onKeydown(ae),this._multiple&&st&&ae.shiftKey&&he.activeItem&&he.activeItemIndex!==Ee&&he.activeItem._selectViaInteraction()}else ae.preventDefault(),he.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,ee.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(ae){if(this.options.forEach(he=>he.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&ae)Array.isArray(ae),ae.forEach(he=>this._selectOptionByValue(he)),this._sortValues();else{const he=this._selectOptionByValue(ae);he?this._keyManager.updateActiveItem(he):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(ae){const he=this.options.find(Ie=>{if(this._selectionModel.isSelected(Ie))return!1;try{return null!=Ie.value&&this._compareWith(Ie.value,ae)}catch{return!1}});return he&&this._selectionModel.select(he),he}_assignValue(ae){return!!(ae!==this._value||this._multiple&&Array.isArray(ae))&&(this.options&&this._setSelectionByValue(ae),this._value=ae,!0)}_getOverlayWidth(ae){return"auto"===this.panelWidth?(ae instanceof e.$Q?ae.elementRef:ae||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const ae of this.options)ae._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new f.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 ae=(0,V.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ie.Q)(ae)).subscribe(he=>{this._onSelect(he.source,he.isUserInput),he.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,V.h)(...this.options.map(he=>he._stateChanges)).pipe((0,ie.Q)(ae)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(ae,he){const Ie=this._selectionModel.isSelected(ae);null!=ae.value||this._multiple?(Ie!==ae.selected&&(ae.selected?this._selectionModel.select(ae):this._selectionModel.deselect(ae)),he&&this._keyManager.setActiveItem(ae),this.multiple&&(this._sortValues(),he&&this.focus())):(ae.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(ae.value)),Ie!==this._selectionModel.isSelected(ae)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const ae=this.options.toArray();this._selectionModel.sort((he,Ie)=>this.sortComparator?this.sortComparator(he,Ie,ae):ae.indexOf(he)-ae.indexOf(Ie)),this.stateChanges.next()}}_propagateChanges(ae){let he;he=this.multiple?this.selected.map(Ie=>Ie.value):this.selected?this.selected.value:ae,this._value=he,this.valueChange.emit(he),this._onChange(he),this.selectionChange.emit(this._getChangeEvent(he)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let ae=-1;for(let he=0;he0}focus(ae){this._elementRef.nativeElement.focus(ae)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const ae=this._parentFormField?.getLabelId();return this.ariaLabelledby?(ae?ae+" ":"")+this.ariaLabelledby:ae}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const ae=this._parentFormField?.getLabelId();let he=(ae?ae+" ":"")+this._valueId;return this.ariaLabelledby&&(he+=" "+this.ariaLabelledby),he}_panelDoneAnimating(ae){this.openedChange.emit(ae)}setDescribedByIds(ae){ae.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ae.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(he){return new(he||X)(x.rXU(w.Xj),x.rXU(x.gRc),x.rXU(x.SKi),x.rXU(D.es),x.rXU(x.aKT),x.rXU(R.dS,8),x.rXU(y.cV,8),x.rXU(y.j4,8),x.rXU(l.xb,8),x.rXU(y.vO,10),x.kS0("tabindex"),x.rXU(b),x.rXU(f.Ai),x.rXU(N,8))}}static{this.\u0275cmp=x.VBU({type:X,selectors:[["mat-select"]],contentQueries:function(he,Ie,st){if(1&he&&(x.wni(st,pe,5),x.wni(st,D.wT,5),x.wni(st,D.QC,5)),2&he){let me;x.mGM(me=x.lsd())&&(Ie.customTrigger=me.first),x.mGM(me=x.lsd())&&(Ie.options=me),x.mGM(me=x.lsd())&&(Ie.optionGroups=me)}},viewQuery:function(he,Ie){if(1&he&&(x.GBs(ne,5),x.GBs(Me,5),x.GBs(e.WB,5)),2&he){let st;x.mGM(st=x.lsd())&&(Ie.trigger=st.first),x.mGM(st=x.lsd())&&(Ie.panel=st.first),x.mGM(st=x.lsd())&&(Ie._overlayDir=st.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(he,Ie){1&he&&x.bIt("keydown",function(me){return Ie._handleKeydown(me)})("focus",function(){return Ie._onFocus()})("blur",function(){return Ie._onBlur()}),2&he&&(x.BMQ("id",Ie.id)("tabindex",Ie.disabled?-1:Ie.tabIndex)("aria-controls",Ie.panelOpen?Ie.id+"-panel":null)("aria-expanded",Ie.panelOpen)("aria-label",Ie.ariaLabel||null)("aria-required",Ie.required.toString())("aria-disabled",Ie.disabled.toString())("aria-invalid",Ie.errorState)("aria-activedescendant",Ie._getAriaActiveDescendant()),x.AVh("mat-mdc-select-disabled",Ie.disabled)("mat-mdc-select-invalid",Ie.errorState)("mat-mdc-select-required",Ie.required)("mat-mdc-select-empty",Ie.empty)("mat-mdc-select-multiple",Ie.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",x.L39],disableRipple:[2,"disableRipple","disableRipple",x.L39],tabIndex:[2,"tabIndex","tabIndex",ae=>null==ae?0:(0,x.Udg)(ae)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",x.L39],placeholder:"placeholder",required:[2,"required","required",x.L39],multiple:[2,"multiple","multiple",x.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",x.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",x.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[x.Jv_([{provide:l.qT,useExisting:X},{provide:D.is,useExisting:X}]),x.GFd,x.OA$,x.aNF],ngContentSelectors:le,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(he,Ie){if(1&he){const st=x.RV6();x.NAR(Ce),x.j41(0,"div",2,0),x.bIt("click",function(){return x.eBV(st),x.Njj(Ie.open())}),x.j41(3,"div",3),x.DNE(4,T,2,1,"span",4)(5,m,3,1,"span",5),x.k0s(),x.j41(6,"div",6)(7,"div",7),x.qSk(),x.j41(8,"svg",8),x.nrm(9,"path",9),x.k0s()()()(),x.DNE(10,d,3,9,"ng-template",10),x.bIt("backdropClick",function(){return x.eBV(st),x.Njj(Ie.close())})("attach",function(){return x.eBV(st),x.Njj(Ie._onAttached())})("detach",function(){return x.eBV(st),x.Njj(Ie.close())})}if(2&he){const st=x.sdS(1);x.R7$(3),x.BMQ("id",Ie._valueId),x.R7$(),x.vxM(Ie.empty?4:5),x.R7$(6),x.Y8G("cdkConnectedOverlayPanelClass",Ie._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Ie._scrollStrategy)("cdkConnectedOverlayOrigin",Ie._preferredOverlayOrigin||st)("cdkConnectedOverlayOpen",Ie.panelOpen)("cdkConnectedOverlayPositions",Ie._positions)("cdkConnectedOverlayWidth",Ie._overlayWidth)}},dependencies:[e.$Q,e.WB,t.YU],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)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.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 .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.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-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{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}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.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}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[C.transformPanel]},changeDetection:0})}}return X})(),We=(()=>{class X{static{this.\u0275fac=function(he){return new(he||X)}}static{this.\u0275dir=x.FsC({type:X,selectors:[["mat-select-trigger"]],standalone:!0,features:[x.Jv_([{provide:pe,useExisting:X}])]})}}return X})(),oe=(()=>{class X{static{this.\u0275fac=function(he){return new(he||X)}}static{this.\u0275mod=x.$C({type:X})}static{this.\u0275inj=x.G2t({providers:[q],imports:[t.MD,e.z_,D.Sy,D.yE,w.Gj,l.RG,D.Sy,D.yE]})}}return X})()},882:(Qe,te,g)=>{"use strict";g.d(te,{El:()=>pe,LG:()=>ze,US:()=>Xe,vg:()=>We});var e=g(5542),t=g(4438),x=g(6600),D=g(8617),l=g(8203),w=g(4085),f=g(7336),R=g(6860),h=g(177),S=g(1413),y=g(3726),O=g(7786),I=g(5964),V=g(6354),j=g(3703),Y=g(6977),W=g(3294),Q=g(6697),J=g(9172),ie=g(152),ee=g(9969);const fe=["*"],ne=["content"],Me=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Ce=["mat-drawer","mat-drawer-content","*"];function le(oe,X){if(1&oe){const se=t.RV6();t.j41(0,"div",1),t.bIt("click",function(){t.eBV(se);const he=t.XpG();return t.Njj(he._onBackdropClicked())}),t.k0s()}if(2&oe){const se=t.XpG();t.AVh("mat-drawer-shown",se._isShowingBackdrop())}}function T(oe,X){1&oe&&(t.j41(0,"mat-drawer-content"),t.SdG(1,2),t.k0s())}const n=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],c=["mat-sidenav","mat-sidenav-content","*"];function m(oe,X){if(1&oe){const se=t.RV6();t.j41(0,"div",1),t.bIt("click",function(){t.eBV(se);const he=t.XpG();return t.Njj(he._onBackdropClicked())}),t.k0s()}if(2&oe){const se=t.XpG();t.AVh("mat-drawer-shown",se._isShowingBackdrop())}}function d(oe,X){1&oe&&(t.j41(0,"mat-sidenav-content"),t.SdG(1,2),t.k0s())}const A={transformDrawer:(0,ee.hZ)("transform",[(0,ee.wk)("open, open-instant",(0,ee.iF)({transform:"none",visibility:"visible"})),(0,ee.wk)("void",(0,ee.iF)({"box-shadow":"none",visibility:"hidden"})),(0,ee.kY)("void => open-instant",(0,ee.i0)("0ms")),(0,ee.kY)("void <=> open, open-instant => void",(0,ee.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},_=new t.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function b(){return!1}}),a=new t.nKC("MAT_DRAWER_CONTAINER");let z=(()=>{class oe extends e.uv{constructor(se,ae,he,Ie,st){super(he,Ie,st),this._changeDetectorRef=se,this._container=ae}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(ae){return new(ae||oe)(t.rXU(t.gRc),t.rXU((0,t.Rfq)(()=>q)),t.rXU(t.aKT),t.rXU(e.R),t.rXU(t.SKi))}}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(ae,he){2&ae&&t.xc7("margin-left",he._container._contentMargins.left,"px")("margin-right",he._container._contentMargins.right,"px")},standalone:!0,features:[t.Jv_([{provide:e.uv,useExisting:oe}]),t.Vt3,t.aNF],ngContentSelectors:fe,decls:1,vars:0,template:function(ae,he){1&ae&&(t.NAR(),t.SdG(0))},encapsulation:2,changeDetection:0})}}return oe})(),N=(()=>{class oe{get position(){return this._position}set position(se){(se="end"===se?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(se),this._position=se,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(se){this._mode=se,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(se){this._disableClose=(0,w.he)(se)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(se){("true"===se||"false"===se||null==se)&&(se=(0,w.he)(se)),this._autoFocus=se}get opened(){return this._opened}set opened(se){this.toggle((0,w.he)(se))}constructor(se,ae,he,Ie,st,me,Ee,ue){this._elementRef=se,this._focusTrapFactory=ae,this._focusMonitor=he,this._platform=Ie,this._ngZone=st,this._interactivityChecker=me,this._doc=Ee,this._container=ue,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new S.B,this._animationEnd=new S.B,this._animationState="void",this.openedChange=new t.bkB(!0),this._openedStream=this.openedChange.pipe((0,I.p)(Be=>Be),(0,V.T)(()=>{})),this.openedStart=this._animationStarted.pipe((0,I.p)(Be=>Be.fromState!==Be.toState&&0===Be.toState.indexOf("open")),(0,j.u)(void 0)),this._closedStream=this.openedChange.pipe((0,I.p)(Be=>!Be),(0,V.T)(()=>{})),this.closedStart=this._animationStarted.pipe((0,I.p)(Be=>Be.fromState!==Be.toState&&"void"===Be.toState),(0,j.u)(void 0)),this._destroyed=new S.B,this.onPositionChanged=new t.bkB,this._modeChanged=new S.B,this.openedChange.subscribe(Be=>{Be?(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,I.p)(Be=>Be.keyCode===f._f&&!this.disableClose&&!(0,f.rp)(Be)),(0,Y.Q)(this._destroyed)).subscribe(Be=>this._ngZone.run(()=>{this.close(),Be.stopPropagation(),Be.preventDefault()}))}),this._animationEnd.pipe((0,W.F)((Be,Ct)=>Be.fromState===Ct.fromState&&Be.toState===Ct.toState)).subscribe(Be=>{const{fromState:Ct,toState:ct}=Be;(0===ct.indexOf("open")&&"void"===Ct||"void"===ct&&0===Ct.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(se,ae){this._interactivityChecker.isFocusable(se)||(se.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const he=()=>{se.removeEventListener("blur",he),se.removeEventListener("mousedown",he),se.removeAttribute("tabindex")};se.addEventListener("blur",he),se.addEventListener("mousedown",he)})),se.focus(ae)}_focusByCssSelector(se,ae){let he=this._elementRef.nativeElement.querySelector(se);he&&this._forceFocus(he,ae)}_takeFocus(){if(!this._focusTrap)return;const se=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ae=>{!ae&&"function"==typeof this._elementRef.nativeElement.focus&&se.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(se){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,se):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const se=this._doc.activeElement;return!!se&&this._elementRef.nativeElement.contains(se)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){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(se){return this.toggle(!0,se)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(se=!this.opened,ae){se&&ae&&(this._openedVia=ae);const he=this._setOpen(se,!se&&this._isFocusWithinDrawer(),this._openedVia||"program");return se||(this._openedVia=null),he}_setOpen(se,ae,he){return this._opened=se,se?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",ae&&this._restoreFocus(he)),this._updateFocusTrapState(),new Promise(Ie=>{this.openedChange.pipe((0,Q.s)(1)).subscribe(st=>Ie(st?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(se){if(!this._platform.isBrowser)return;const ae=this._elementRef.nativeElement,he=ae.parentNode;"end"===se?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),he.insertBefore(this._anchor,ae)),he.appendChild(ae)):this._anchor&&this._anchor.parentNode.insertBefore(ae,this._anchor)}static{this.\u0275fac=function(ae){return new(ae||oe)(t.rXU(t.aKT),t.rXU(D.GX),t.rXU(D.FN),t.rXU(R.OD),t.rXU(t.SKi),t.rXU(D.Z7),t.rXU(h.qQ,8),t.rXU(a,8))}}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-drawer"]],viewQuery:function(ae,he){if(1&ae&&t.GBs(ne,5),2&ae){let Ie;t.mGM(Ie=t.lsd())&&(he._content=Ie.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(ae,he){1&ae&&t.Kam("@transform.start",function(st){return he._animationStarted.next(st)})("@transform.done",function(st){return he._animationEnd.next(st)}),2&ae&&(t.zvX("@transform",he._animationState),t.BMQ("align",null),t.AVh("mat-drawer-end","end"===he.position)("mat-drawer-over","over"===he.mode)("mat-drawer-push","push"===he.mode)("mat-drawer-side","side"===he.mode)("mat-drawer-opened",he.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"],standalone:!0,features:[t.aNF],ngContentSelectors:fe,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(ae,he){1&ae&&(t.NAR(),t.j41(0,"div",1,0),t.SdG(2),t.k0s())},dependencies:[e.uv],encapsulation:2,data:{animation:[A.transformDrawer]},changeDetection:0})}}return oe})(),q=(()=>{class oe{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(se){this._autosize=(0,w.he)(se)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(se){this._backdropOverride=null==se?null:(0,w.he)(se)}get scrollable(){return this._userContent||this._content}constructor(se,ae,he,Ie,st,me=!1,Ee){this._dir=se,this._element=ae,this._ngZone=he,this._changeDetectorRef=Ie,this._animationMode=Ee,this._drawers=new t.rOR,this.backdropClick=new t.bkB,this._destroyed=new S.B,this._doCheckSubject=new S.B,this._contentMargins={left:null,right:null},this._contentMarginChanges=new S.B,se&&se.change.pipe((0,Y.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),st.change().pipe((0,Y.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=me}ngAfterContentInit(){this._allDrawers.changes.pipe((0,J.Z)(this._allDrawers),(0,Y.Q)(this._destroyed)).subscribe(se=>{this._drawers.reset(se.filter(ae=>!ae._container||ae._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,J.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(se=>{this._watchDrawerToggle(se),this._watchDrawerPosition(se),this._watchDrawerMode(se)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,ie.B)(10),(0,Y.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(se=>se.open())}close(){this._drawers.forEach(se=>se.close())}updateContentMargins(){let se=0,ae=0;if(this._left&&this._left.opened)if("side"==this._left.mode)se+=this._left._getWidth();else if("push"==this._left.mode){const he=this._left._getWidth();se+=he,ae-=he}if(this._right&&this._right.opened)if("side"==this._right.mode)ae+=this._right._getWidth();else if("push"==this._right.mode){const he=this._right._getWidth();ae+=he,se-=he}se=se||null,ae=ae||null,(se!==this._contentMargins.left||ae!==this._contentMargins.right)&&(this._contentMargins={left:se,right:ae},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(se){se._animationStarted.pipe((0,I.p)(ae=>ae.fromState!==ae.toState),(0,Y.Q)(this._drawers.changes)).subscribe(ae=>{"open-instant"!==ae.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==se.mode&&se.openedChange.pipe((0,Y.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(se.opened))}_watchDrawerPosition(se){se&&se.onPositionChanged.pipe((0,Y.Q)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Q.s)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(se){se&&se._modeChanged.pipe((0,Y.Q)((0,O.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(se){const ae=this._element.nativeElement.classList,he="mat-drawer-container-has-open";se?ae.add(he):ae.remove(he)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(se=>{"end"==se.position?this._end=se:this._start=se}),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(se=>se&&!se.disableClose&&this._drawerHasBackdrop(se)).forEach(se=>se._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(se){return null!=se&&se.opened}_drawerHasBackdrop(se){return null==this._backdropOverride?!!se&&"side"!==se.mode:this._backdropOverride}static{this.\u0275fac=function(ae){return new(ae||oe)(t.rXU(l.dS,8),t.rXU(t.aKT),t.rXU(t.SKi),t.rXU(t.gRc),t.rXU(e.Xj),t.rXU(_),t.rXU(t.bc$,8))}}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-drawer-container"]],contentQueries:function(ae,he,Ie){if(1&ae&&(t.wni(Ie,z,5),t.wni(Ie,N,5)),2&ae){let st;t.mGM(st=t.lsd())&&(he._content=st.first),t.mGM(st=t.lsd())&&(he._allDrawers=st)}},viewQuery:function(ae,he){if(1&ae&&t.GBs(z,5),2&ae){let Ie;t.mGM(Ie=t.lsd())&&(he._userContent=Ie.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(ae,he){2&ae&&t.AVh("mat-drawer-container-explicit-backdrop",he._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[t.Jv_([{provide:a,useExisting:oe}]),t.aNF],ngContentSelectors:Ce,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ae,he){1&ae&&(t.NAR(Me),t.DNE(0,le,1,2,"div",0),t.SdG(1),t.SdG(2,1),t.DNE(3,T,2,0,"mat-drawer-content")),2&ae&&(t.vxM(he.hasBackdrop?0:-1),t.R7$(3),t.vxM(he._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{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);box-shadow:var(--mat-sidenav-container-elevation-shadow);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);width:var(--mat-sidenav-container-width);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 oe})(),pe=(()=>{class oe extends z{constructor(se,ae,he,Ie,st){super(se,ae,he,Ie,st)}static{this.\u0275fac=function(ae){return new(ae||oe)(t.rXU(t.gRc),t.rXU((0,t.Rfq)(()=>Xe)),t.rXU(t.aKT),t.rXU(e.R),t.rXU(t.SKi))}}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(ae,he){2&ae&&t.xc7("margin-left",he._container._contentMargins.left,"px")("margin-right",he._container._contentMargins.right,"px")},standalone:!0,features:[t.Jv_([{provide:e.uv,useExisting:oe}]),t.Vt3,t.aNF],ngContentSelectors:fe,decls:1,vars:0,template:function(ae,he){1&ae&&(t.NAR(),t.SdG(0))},encapsulation:2,changeDetection:0})}}return oe})(),ze=(()=>{class oe extends N{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(se){this._fixedInViewport=(0,w.he)(se)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(se){this._fixedTopGap=(0,w.OE)(se)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(se){this._fixedBottomGap=(0,w.OE)(se)}static{this.\u0275fac=(()=>{let se;return function(he){return(se||(se=t.xGo(oe)))(he||oe)}})()}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(ae,he){2&ae&&(t.BMQ("align",null),t.xc7("top",he.fixedInViewport?he.fixedTopGap:null,"px")("bottom",he.fixedInViewport?he.fixedBottomGap:null,"px"),t.AVh("mat-drawer-end","end"===he.position)("mat-drawer-over","over"===he.mode)("mat-drawer-push","push"===he.mode)("mat-drawer-side","side"===he.mode)("mat-drawer-opened",he.opened)("mat-sidenav-fixed",he.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],standalone:!0,features:[t.Vt3,t.aNF],ngContentSelectors:fe,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(ae,he){1&ae&&(t.NAR(),t.j41(0,"div",1,0),t.SdG(2),t.k0s())},dependencies:[e.uv],encapsulation:2,data:{animation:[A.transformDrawer]},changeDetection:0})}}return oe})(),Xe=(()=>{class oe extends q{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static{this.\u0275fac=(()=>{let se;return function(he){return(se||(se=t.xGo(oe)))(he||oe)}})()}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-sidenav-container"]],contentQueries:function(ae,he,Ie){if(1&ae&&(t.wni(Ie,pe,5),t.wni(Ie,ze,5)),2&ae){let st;t.mGM(st=t.lsd())&&(he._content=st.first),t.mGM(st=t.lsd())&&(he._allDrawers=st)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(ae,he){2&ae&&t.AVh("mat-drawer-container-explicit-backdrop",he._backdropOverride)},exportAs:["matSidenavContainer"],standalone:!0,features:[t.Jv_([{provide:a,useExisting:oe}]),t.Vt3,t.aNF],ngContentSelectors:c,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ae,he){1&ae&&(t.NAR(n),t.DNE(0,m,1,2,"div",0),t.SdG(1),t.SdG(2,1),t.DNE(3,d,2,0,"mat-sidenav-content")),2&ae&&(t.vxM(he.hasBackdrop?0:-1),t.R7$(3),t.vxM(he._content?-1:3))},dependencies:[pe],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{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);box-shadow:var(--mat-sidenav-container-elevation-shadow);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);width:var(--mat-sidenav-container-width);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 oe})(),We=(()=>{class oe{static{this.\u0275fac=function(ae){return new(ae||oe)}}static{this.\u0275mod=t.$C({type:oe})}static{this.\u0275inj=t.G2t({imports:[x.yE,e.Gj,e.Gj,x.yE]})}}return oe})()},450:(Qe,te,g)=>{"use strict";g.d(te,{mV:()=>Y,sG:()=>O});var e=g(4438),t=g(9417),x=g(8617),D=g(6600);const l=["switch"],w=["*"];function f(W,Q){1&W&&(e.j41(0,"div",10),e.qSk(),e.j41(1,"svg",12),e.nrm(2,"path",13),e.k0s(),e.j41(3,"svg",14),e.nrm(4,"path",15),e.k0s()())}const R=new e.nKC("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),h={provide:t.kq,useExisting:(0,e.Rfq)(()=>O),multi:!0};class S{constructor(Q,J){this.source=Q,this.checked=J}}let y=0,O=(()=>{class W{_createChangeEvent(J){return new S(this,J)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(J){this._checked=J,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(J,ie,ee,fe,ne,Me){this._elementRef=J,this._focusMonitor=ie,this._changeDetectorRef=ee,this.defaults=ne,this._onChange=Ce=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new e.bkB,this.toggleChange=new e.bkB,this.tabIndex=parseInt(fe)||0,this.color=ne.color||"accent",this._noopAnimations="NoopAnimations"===Me,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++y,this.hideIcon=ne.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(J=>{"keyboard"===J||"program"===J?(this._focused=!0,this._changeDetectorRef.markForCheck()):J||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(J){J.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(J){this.checked=!!J}registerOnChange(J){this._onChange=J}registerOnTouched(J){this._onTouched=J}validate(J){return this.required&&!0!==J.value?{required:!0}:null}registerOnValidatorChange(J){this._validatorOnChange=J}setDisabledState(J){this.disabled=J,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 S(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static{this.\u0275fac=function(ie){return new(ie||W)(e.rXU(e.aKT),e.rXU(x.FN),e.rXU(e.gRc),e.kS0("tabindex"),e.rXU(R),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:W,selectors:[["mat-slide-toggle"]],viewQuery:function(ie,ee){if(1&ie&&e.GBs(l,5),2&ie){let fe;e.mGM(fe=e.lsd())&&(ee._switchElement=fe.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(ie,ee){2&ie&&(e.Mr5("id",ee.id),e.BMQ("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.HbH(ee.color?"mat-"+ee.color:""),e.AVh("mat-mdc-slide-toggle-focused",ee._focused)("mat-mdc-slide-toggle-checked",ee.checked)("_mat-animation-noopable",ee._noopAnimations))},inputs:{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",e.L39],color:"color",disabled:[2,"disabled","disabled",e.L39],disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",J=>null==J?0:(0,e.Udg)(J)],checked:[2,"checked","checked",e.L39],hideIcon:[2,"hideIcon","hideIcon",e.L39]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[e.Jv_([h,{provide:t.cz,useExisting:W,multi:!0}]),e.GFd,e.OA$,e.aNF],ngContentSelectors:w,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["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(ie,ee){if(1&ie){const fe=e.RV6();e.NAR(),e.j41(0,"div",1)(1,"button",2,0),e.bIt("click",function(){return e.eBV(fe),e.Njj(ee._handleClick())}),e.nrm(3,"div",3),e.j41(4,"div",4)(5,"div",5)(6,"div",6),e.nrm(7,"div",7),e.k0s(),e.j41(8,"div",8),e.nrm(9,"div",9),e.k0s(),e.DNE(10,f,5,0,"div",10),e.k0s()()(),e.j41(11,"label",11),e.bIt("click",function(Me){return e.eBV(fe),e.Njj(Me.stopPropagation())}),e.SdG(12),e.k0s()()}if(2&ie){const fe=e.sdS(2);e.Y8G("labelPosition",ee.labelPosition),e.R7$(),e.AVh("mdc-switch--selected",ee.checked)("mdc-switch--unselected",!ee.checked)("mdc-switch--checked",ee.checked)("mdc-switch--disabled",ee.disabled),e.Y8G("tabIndex",ee.disabled?-1:ee.tabIndex)("disabled",ee.disabled),e.BMQ("id",ee.buttonId)("name",ee.name)("aria-label",ee.ariaLabel)("aria-labelledby",ee._getAriaLabelledBy())("aria-describedby",ee.ariaDescribedby)("aria-required",ee.required||null)("aria-checked",ee.checked),e.R7$(8),e.Y8G("matRippleTrigger",fe)("matRippleDisabled",ee.disableRipple||ee.disabled)("matRippleCentered",!0),e.R7$(),e.vxM(ee.hideIcon?-1:10),e.R7$(),e.Y8G("for",ee.buttonId),e.BMQ("id",ee._labelId)}},dependencies:[D.r6,D.tO],styles:['.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)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.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 .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{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}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0})}}return W})(),Y=(()=>{class W{static{this.\u0275fac=function(ie){return new(ie||W)}}static{this.\u0275mod=e.$C({type:W})}static{this.\u0275inj=e.G2t({imports:[O,D.yE,D.yE]})}}return W})()},5416:(Qe,te,g)=>{"use strict";g.d(te,{UG:()=>c,_T:()=>d,x6:()=>n});var e=g(4438),t=g(8834),x=g(1413),D=g(177),l=g(9969),w=g(6939),f=g(6860),R=g(8617),h=g(9327),S=g(6969),y=g(6977),O=g(6600);function I(C,A){if(1&C){const k=e.RV6();e.j41(0,"div",1)(1,"button",2),e.bIt("click",function(){e.eBV(k);const a=e.XpG();return e.Njj(a.action())}),e.EFF(2),e.k0s()()}if(2&C){const k=e.XpG();e.R7$(2),e.SpI(" ",k.data.action," ")}}const V=["label"];function j(C,A){}const Y=Math.pow(2,31)-1;class W{constructor(A,k){this._overlayRef=k,this._afterDismissed=new x.B,this._afterOpened=new x.B,this._onAction=new x.B,this._dismissedByAction=!1,this.containerInstance=A,A._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(A){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(A,Y))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const Q=new e.nKC("MatSnackBarData");class J{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let ie=(()=>{class C{static{this.\u0275fac=function(_){return new(_||C)}}static{this.\u0275dir=e.FsC({type:C,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return C})(),ee=(()=>{class C{static{this.\u0275fac=function(_){return new(_||C)}}static{this.\u0275dir=e.FsC({type:C,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return C})(),fe=(()=>{class C{static{this.\u0275fac=function(_){return new(_||C)}}static{this.\u0275dir=e.FsC({type:C,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return C})(),ne=(()=>{class C{constructor(k,_){this.snackBarRef=k,this.data=_}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(_){return new(_||C)(e.rXU(W),e.rXU(Q))}}static{this.\u0275cmp=e.VBU({type:C,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[e.aNF],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(_,a){1&_&&(e.j41(0,"div",0),e.EFF(1),e.k0s(),e.DNE(2,I,3,1,"div",1)),2&_&&(e.R7$(),e.SpI(" ",a.data.message,"\n"),e.R7$(),e.vxM(a.hasAction?2:-1))},dependencies:[t.$z,ie,ee,fe],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return C})();const Me={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 Ce=0,le=(()=>{class C extends w.lb{constructor(k,_,a,b,z){super(),this._ngZone=k,this._elementRef=_,this._changeDetectorRef=a,this._platform=b,this.snackBarConfig=z,this._document=(0,e.WQX)(D.qQ),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new x.B,this._onExit=new x.B,this._onEnter=new x.B,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+Ce++,this.attachDomPortal=N=>{this._assertNotAttached();const q=this._portalOutlet.attachDomPortal(N);return this._afterPortalAttached(),q},this._live="assertive"!==z.politeness||z.announcementMessage?"off"===z.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(k){this._assertNotAttached();const _=this._portalOutlet.attachComponentPortal(k);return this._afterPortalAttached(),_}attachTemplatePortal(k){this._assertNotAttached();const _=this._portalOutlet.attachTemplatePortal(k);return this._afterPortalAttached(),_}onAnimationEnd(k){const{fromState:_,toState:a}=k;if(("void"===a&&"void"!==_||"hidden"===a)&&this._completeExit(),"visible"===a){const b=this._onEnter;this._ngZone.run(()=>{b.next(),b.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const k=this._elementRef.nativeElement,_=this.snackBarConfig.panelClass;_&&(Array.isArray(_)?_.forEach(z=>k.classList.add(z)):k.classList.add(_)),this._exposeToModals();const a=this._label.nativeElement,b="mdc-snackbar__label";a.classList.toggle(b,!a.querySelector(`.${b}`))}_exposeToModals(){const k=this._liveElementId,_=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let a=0;a<_.length;a++){const b=_[a],z=b.getAttribute("aria-owns");this._trackedModals.add(b),z?-1===z.indexOf(k)&&b.setAttribute("aria-owns",z+" "+k):b.setAttribute("aria-owns",k)}}_clearFromModals(){this._trackedModals.forEach(k=>{const _=k.getAttribute("aria-owns");if(_){const a=_.replace(this._liveElementId,"").trim();a.length>0?k.setAttribute("aria-owns",a):k.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const k=this._elementRef.nativeElement.querySelector("[aria-hidden]"),_=this._elementRef.nativeElement.querySelector("[aria-live]");if(k&&_){let a=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&k.contains(document.activeElement)&&(a=document.activeElement),k.removeAttribute("aria-hidden"),_.appendChild(k),a?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(_){return new(_||C)(e.rXU(e.SKi),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(f.OD),e.rXU(J))}}static{this.\u0275cmp=e.VBU({type:C,selectors:[["mat-snack-bar-container"]],viewQuery:function(_,a){if(1&_&&(e.GBs(w.I3,7),e.GBs(V,7)),2&_){let b;e.mGM(b=e.lsd())&&(a._portalOutlet=b.first),e.mGM(b=e.lsd())&&(a._label=b.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(_,a){1&_&&e.Kam("@state.done",function(z){return a.onAnimationEnd(z)}),2&_&&e.zvX("@state",a._animationState)},standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(_,a){1&_&&(e.j41(0,"div",1)(1,"div",2,0)(3,"div",3),e.DNE(4,j,0,0,"ng-template",4),e.k0s(),e.nrm(5,"div"),e.k0s()()),2&_&&(e.R7$(5),e.BMQ("aria-live",a._live)("role",a._role)("id",a._liveElementId))},dependencies:[w.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:[Me.snackBarState]}})}}return C})();const n=new e.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function T(){return new J}});let c=(()=>{class C{get _openedSnackBarRef(){const k=this._parentSnackBar;return k?k._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(k){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=k:this._snackBarRefAtThisLevel=k}constructor(k,_,a,b,z,N){this._overlay=k,this._live=_,this._injector=a,this._breakpointObserver=b,this._parentSnackBar=z,this._defaultConfig=N,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=ne,this.snackBarContainerComponent=le,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(k,_){return this._attach(k,_)}openFromTemplate(k,_){return this._attach(k,_)}open(k,_="",a){const b={...this._defaultConfig,...a};return b.data={message:k,action:_},b.announcementMessage===k&&(b.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,b)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(k,_){const b=e.zZn.create({parent:_&&_.viewContainerRef&&_.viewContainerRef.injector||this._injector,providers:[{provide:J,useValue:_}]}),z=new w.A8(this.snackBarContainerComponent,_.viewContainerRef,b),N=k.attach(z);return N.instance.snackBarConfig=_,N.instance}_attach(k,_){const a={...new J,...this._defaultConfig,..._},b=this._createOverlay(a),z=this._attachSnackBarContainer(b,a),N=new W(z,b);if(k instanceof e.C4Q){const q=new w.VA(k,null,{$implicit:a.data,snackBarRef:N});N.instance=z.attachTemplatePortal(q)}else{const q=this._createInjector(a,N),pe=new w.A8(k,void 0,q),ze=z.attachComponentPortal(pe);N.instance=ze.instance}return this._breakpointObserver.observe(h.Rp.HandsetPortrait).pipe((0,y.Q)(b.detachments())).subscribe(q=>{b.overlayElement.classList.toggle(this.handsetCssClass,q.matches)}),a.announcementMessage&&z._onAnnounce.subscribe(()=>{this._live.announce(a.announcementMessage,a.politeness)}),this._animateSnackBar(N,a),this._openedSnackBarRef=N,this._openedSnackBarRef}_animateSnackBar(k,_){k.afterDismissed().subscribe(()=>{this._openedSnackBarRef==k&&(this._openedSnackBarRef=null),_.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{k.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):k.containerInstance.enter(),_.duration&&_.duration>0&&k.afterOpened().subscribe(()=>k._dismissAfter(_.duration))}_createOverlay(k){const _=new S.rR;_.direction=k.direction;let a=this._overlay.position().global();const b="rtl"===k.direction,z="left"===k.horizontalPosition||"start"===k.horizontalPosition&&!b||"end"===k.horizontalPosition&&b,N=!z&&"center"!==k.horizontalPosition;return z?a.left("0"):N?a.right("0"):a.centerHorizontally(),"top"===k.verticalPosition?a.top("0"):a.bottom("0"),_.positionStrategy=a,this._overlay.create(_)}_createInjector(k,_){return e.zZn.create({parent:k&&k.viewContainerRef&&k.viewContainerRef.injector||this._injector,providers:[{provide:W,useValue:_},{provide:Q,useValue:k.data}]})}static{this.\u0275fac=function(_){return new(_||C)(e.KVO(S.hJ),e.KVO(R.Ai),e.KVO(e.zZn),e.KVO(h.QP),e.KVO(C,12),e.KVO(n))}}static{this.\u0275prov=e.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})(),d=(()=>{class C{static{this.\u0275fac=function(_){return new(_||C)}}static{this.\u0275mod=e.$C({type:C})}static{this.\u0275inj=e.G2t({providers:[c],imports:[S.z_,w.jc,t.Hl,O.yE,ne,O.yE]})}}return C})()},2042:(Qe,te,g)=>{"use strict";g.d(te,{B4:()=>W,NQ:()=>Ce,aE:()=>Me});var e=g(4438),t=g(8617),x=g(7336),D=g(2771),l=g(1413),w=g(7786),f=g(9969),R=g(6600);const h=["mat-sort-header",""],S=["*"];function y(le,T){if(1&le){const n=e.RV6();e.j41(0,"div",2),e.bIt("@arrowPosition.start",function(){e.eBV(n);const m=e.XpG();return e.Njj(m._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.eBV(n);const m=e.XpG();return e.Njj(m._disableViewStateAnimation=!1)}),e.nrm(1,"div",3),e.j41(2,"div",4),e.nrm(3,"div",5)(4,"div",6)(5,"div",7),e.k0s()()}if(2&le){const n=e.XpG();e.Y8G("@arrowOpacity",n._getArrowViewState())("@arrowPosition",n._getArrowViewState())("@allowChildren",n._getArrowDirectionState()),e.R7$(2),e.Y8G("@indicator",n._getArrowDirectionState()),e.R7$(),e.Y8G("@leftPointer",n._getArrowDirectionState()),e.R7$(),e.Y8G("@rightPointer",n._getArrowDirectionState())}}const Y=new e.nKC("MAT_SORT_DEFAULT_OPTIONS");let W=(()=>{class le{get direction(){return this._direction}set direction(n){this._direction=n}constructor(n){this._defaultOptions=n,this._initializedStream=new D.m(1),this.sortables=new Map,this._stateChanges=new l.B,this.start="asc",this._direction="",this.disabled=!1,this.sortChange=new e.bkB,this.initialized=this._initializedStream}register(n){this.sortables.set(n.id,n)}deregister(n){this.sortables.delete(n.id)}sort(n){this.active!=n.id?(this.active=n.id,this.direction=n.start?n.start:this.start):this.direction=this.getNextSortDirection(n),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(n){if(!n)return"";let m=function Q(le,T){let n=["asc","desc"];return"desc"==le&&n.reverse(),T||n.push(""),n}(n.start||this.start,n?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),d=m.indexOf(this.direction)+1;return d>=m.length&&(d=0),m[d]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static{this.\u0275fac=function(c){return new(c||le)(e.rXU(Y,8))}}static{this.\u0275dir=e.FsC({type:le,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",e.L39],disabled:[2,"matSortDisabled","disabled",e.L39]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[e.GFd,e.OA$]})}}return le})();const J=R.ed.ENTERING+" "+R.r5.STANDARD_CURVE,ie={indicator:(0,f.hZ)("indicator",[(0,f.wk)("active-asc, asc",(0,f.iF)({transform:"translateY(0px)"})),(0,f.wk)("active-desc, desc",(0,f.iF)({transform:"translateY(10px)"})),(0,f.kY)("active-asc <=> active-desc",(0,f.i0)(J))]),leftPointer:(0,f.hZ)("leftPointer",[(0,f.wk)("active-asc, asc",(0,f.iF)({transform:"rotate(-45deg)"})),(0,f.wk)("active-desc, desc",(0,f.iF)({transform:"rotate(45deg)"})),(0,f.kY)("active-asc <=> active-desc",(0,f.i0)(J))]),rightPointer:(0,f.hZ)("rightPointer",[(0,f.wk)("active-asc, asc",(0,f.iF)({transform:"rotate(45deg)"})),(0,f.wk)("active-desc, desc",(0,f.iF)({transform:"rotate(-45deg)"})),(0,f.kY)("active-asc <=> active-desc",(0,f.i0)(J))]),arrowOpacity:(0,f.hZ)("arrowOpacity",[(0,f.wk)("desc-to-active, asc-to-active, active",(0,f.iF)({opacity:1})),(0,f.wk)("desc-to-hint, asc-to-hint, hint",(0,f.iF)({opacity:.54})),(0,f.wk)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,f.iF)({opacity:0})),(0,f.kY)("* => asc, * => desc, * => active, * => hint, * => void",(0,f.i0)("0ms")),(0,f.kY)("* <=> *",(0,f.i0)(J))]),arrowPosition:(0,f.hZ)("arrowPosition",[(0,f.kY)("* => desc-to-hint, * => desc-to-active",(0,f.i0)(J,(0,f.i7)([(0,f.iF)({transform:"translateY(-25%)"}),(0,f.iF)({transform:"translateY(0)"})]))),(0,f.kY)("* => hint-to-desc, * => active-to-desc",(0,f.i0)(J,(0,f.i7)([(0,f.iF)({transform:"translateY(0)"}),(0,f.iF)({transform:"translateY(25%)"})]))),(0,f.kY)("* => asc-to-hint, * => asc-to-active",(0,f.i0)(J,(0,f.i7)([(0,f.iF)({transform:"translateY(25%)"}),(0,f.iF)({transform:"translateY(0)"})]))),(0,f.kY)("* => hint-to-asc, * => active-to-asc",(0,f.i0)(J,(0,f.i7)([(0,f.iF)({transform:"translateY(0)"}),(0,f.iF)({transform:"translateY(-25%)"})]))),(0,f.wk)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,f.iF)({transform:"translateY(0)"})),(0,f.wk)("hint-to-desc, active-to-desc, desc",(0,f.iF)({transform:"translateY(-25%)"})),(0,f.wk)("hint-to-asc, active-to-asc, asc",(0,f.iF)({transform:"translateY(25%)"}))]),allowChildren:(0,f.hZ)("allowChildren",[(0,f.kY)("* <=> *",[(0,f.P)("@*",(0,f.MA)(),{optional:!0})])])};let ee=(()=>{class le{constructor(){this.changes=new l.B}static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275prov=e.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}}return le})();const ne={provide:ee,deps:[[new e.Xx1,new e.kdw,ee]],useFactory:function fe(le){return le||new ee}};let Me=(()=>{class le{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(n){this._updateSortActionDescription(n)}constructor(n,c,m,d,C,A,k,_){this._intl=n,this._changeDetectorRef=c,this._sort=m,this._columnDef=d,this._focusMonitor=C,this._elementRef=A,this._ariaDescriber=k,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this.disabled=!1,this._sortActionDescription="Sort",_?.arrowPosition&&(this.arrowPosition=_?.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(n=>{const c=!!n;c!==this._showIndicatorHint&&(this._setIndicatorHintVisible(c),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(n){this._isDisabled()&&n||(this._showIndicatorHint=n,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(n){this._viewState=n||{},this._disableViewStateAnimation&&(this._viewState={toState:n.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(n){!this._isDisabled()&&(n.keyCode===x.t6||n.keyCode===x.Fm)&&(n.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 n=this._viewState.fromState;return(n?`${n}-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(n){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,n)),this._sortActionDescription=n}_handleStateChanges(){this._rerenderSubscription=(0,w.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(c){return new(c||le)(e.rXU(ee),e.rXU(e.gRc),e.rXU(W,8),e.rXU("MAT_SORT_HEADER_COLUMN_DEF",8),e.rXU(t.FN),e.rXU(e.aKT),e.rXU(t.vr,8),e.rXU(Y,8))}}static{this.\u0275cmp=e.VBU({type:le,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(c,m){1&c&&e.bIt("click",function(){return m._handleClick()})("keydown",function(C){return m._handleKeydown(C)})("mouseenter",function(){return m._setIndicatorHintVisible(!0)})("mouseleave",function(){return m._setIndicatorHintVisible(!1)}),2&c&&(e.BMQ("aria-sort",m._getAriaSortAttribute()),e.AVh("mat-sort-header-disabled",m._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",e.L39],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",e.L39]},exportAs:["matSortHeader"],standalone:!0,features:[e.GFd,e.aNF],attrs:h,ngContentSelectors:S,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(c,m){1&c&&(e.NAR(),e.j41(0,"div",0)(1,"div",1),e.SdG(2),e.k0s(),e.DNE(3,y,6,6,"div",2),e.k0s()),2&c&&(e.AVh("mat-sort-header-sorted",m._isSorted())("mat-sort-header-position-before","before"===m.arrowPosition),e.BMQ("tabindex",m._isDisabled()?null:0)("role",m._isDisabled()?null:"button"),e.R7$(3),e.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 le})(),Ce=(()=>{class le{static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275mod=e.$C({type:le})}static{this.\u0275inj=e.G2t({providers:[ne],imports:[R.yE]})}}return le})()},6013:(Qe,te,g)=>{"use strict";g.d(te,{F7:()=>ue,FR:()=>Be,M6:()=>Ee,Ti:()=>ze,V5:()=>me,aP:()=>Ct,xJ:()=>Ie});var e=g(6939),t=g(7768),x=g(177),D=g(4438),l=g(6600),w=g(9213),f=g(8617),R=g(1413),h=g(8359),S=g(8203),y=g(5558),O=g(6354),I=g(9172),V=g(6977),j=g(3294),Y=g(9969),W=g(6860);function Q(ct,dt){if(1&ct&&D.eu8(0,2),2&ct){const Yt=D.XpG();D.Y8G("ngTemplateOutlet",Yt.iconOverrides[Yt.state])("ngTemplateOutletContext",Yt._getIconContext())}}function J(ct,dt){if(1&ct&&(D.j41(0,"span",7),D.EFF(1),D.k0s()),2&ct){const Yt=D.XpG(2);D.R7$(),D.JRh(Yt._getDefaultTextForState(Yt.state))}}function ie(ct,dt){if(1&ct&&(D.j41(0,"span",8),D.EFF(1),D.k0s()),2&ct){const Yt=D.XpG(3);D.R7$(),D.JRh(Yt._intl.completedLabel)}}function ee(ct,dt){if(1&ct&&(D.j41(0,"span",8),D.EFF(1),D.k0s()),2&ct){const Yt=D.XpG(3);D.R7$(),D.JRh(Yt._intl.editableLabel)}}function fe(ct,dt){if(1&ct&&(D.DNE(0,ie,2,1,"span",8)(1,ee,2,1,"span",8),D.j41(2,"mat-icon",7),D.EFF(3),D.k0s()),2&ct){const Yt=D.XpG(2);D.vxM("done"===Yt.state?0:"edit"===Yt.state?1:-1),D.R7$(3),D.JRh(Yt._getDefaultTextForState(Yt.state))}}function ne(ct,dt){if(1&ct&&D.DNE(0,J,2,1,"span",7)(1,fe,4,2,"mat-icon",7),2&ct){let Yt;const ve=D.XpG();D.vxM("number"===(Yt=ve.state)?0:1)}}function Me(ct,dt){1&ct&&(D.j41(0,"div",4),D.eu8(1,9),D.k0s()),2&ct&&(D.R7$(),D.Y8G("ngTemplateOutlet",dt.template))}function Ce(ct,dt){if(1&ct&&(D.j41(0,"div",4),D.EFF(1),D.k0s()),2&ct){const Yt=D.XpG();D.R7$(),D.JRh(Yt.label)}}function le(ct,dt){if(1&ct&&(D.j41(0,"div",5),D.EFF(1),D.k0s()),2&ct){const Yt=D.XpG();D.R7$(),D.JRh(Yt._intl.optionalLabel)}}function T(ct,dt){if(1&ct&&(D.j41(0,"div",6),D.EFF(1),D.k0s()),2&ct){const Yt=D.XpG();D.R7$(),D.JRh(Yt.errorMessage)}}const n=["*"];function c(ct,dt){}function m(ct,dt){if(1&ct&&(D.SdG(0),D.DNE(1,c,0,0,"ng-template",0)),2&ct){const Yt=D.XpG();D.R7$(),D.Y8G("cdkPortalOutlet",Yt._portal)}}const d=(ct,dt)=>({step:ct,i:dt}),C=ct=>({animationDuration:ct}),A=(ct,dt)=>({value:ct,params:dt});function k(ct,dt){1&ct&&D.SdG(0)}function _(ct,dt){1&ct&&D.nrm(0,"div",6)}function a(ct,dt){if(1&ct&&(D.eu8(0,5),D.DNE(1,_,1,0,"div",6)),2&ct){const Yt=dt.$implicit,ve=dt.$index,_e=dt.$count;D.XpG(2);const we=D.sdS(4);D.Y8G("ngTemplateOutlet",we)("ngTemplateOutletContext",D.l_i(3,d,Yt,ve)),D.R7$(),D.vxM(ve!==_e-1?1:-1)}}function b(ct,dt){if(1&ct){const Yt=D.RV6();D.j41(0,"div",7),D.bIt("@horizontalStepTransition.done",function(_e){D.eBV(Yt);const we=D.XpG(2);return D.Njj(we._animationDone.next(_e))}),D.eu8(1,8),D.k0s()}if(2&ct){const Yt=dt.$implicit,ve=dt.$index,_e=D.XpG(2);D.AVh("mat-horizontal-stepper-content-inactive",_e.selectedIndex!==ve),D.Y8G("@horizontalStepTransition",D.l_i(8,A,_e._getAnimationDirection(ve),D.eq3(6,C,_e._getAnimationDuration())))("id",_e._getStepContentId(ve)),D.BMQ("aria-labelledby",_e._getStepLabelId(ve)),D.R7$(),D.Y8G("ngTemplateOutlet",Yt.content)}}function z(ct,dt){if(1&ct&&(D.j41(0,"div",1)(1,"div",2),D.Z7z(2,a,2,6,null,null,D.fX1),D.k0s(),D.j41(4,"div",3),D.Z7z(5,b,2,11,"div",4,D.fX1),D.k0s()()),2&ct){const Yt=D.XpG();D.R7$(2),D.Dyx(Yt.steps),D.R7$(3),D.Dyx(Yt.steps)}}function N(ct,dt){if(1&ct){const Yt=D.RV6();D.j41(0,"div",9),D.eu8(1,5),D.j41(2,"div",10)(3,"div",11),D.bIt("@verticalStepTransition.done",function(_e){D.eBV(Yt);const we=D.XpG(2);return D.Njj(we._animationDone.next(_e))}),D.j41(4,"div",12),D.eu8(5,8),D.k0s()()()()}if(2&ct){const Yt=dt.$implicit,ve=dt.$index,_e=dt.$count,we=D.XpG(2),Ue=D.sdS(4);D.R7$(),D.Y8G("ngTemplateOutlet",Ue)("ngTemplateOutletContext",D.l_i(10,d,Yt,ve)),D.R7$(),D.AVh("mat-stepper-vertical-line",ve!==_e-1),D.R7$(),D.AVh("mat-vertical-stepper-content-inactive",we.selectedIndex!==ve),D.Y8G("@verticalStepTransition",D.l_i(15,A,we._getAnimationDirection(ve),D.eq3(13,C,we._getAnimationDuration())))("id",we._getStepContentId(ve)),D.BMQ("aria-labelledby",we._getStepLabelId(ve)),D.R7$(2),D.Y8G("ngTemplateOutlet",Yt.content)}}function q(ct,dt){if(1&ct&&D.Z7z(0,N,6,18,"div",9,D.fX1),2&ct){const Yt=D.XpG();D.Dyx(Yt.steps)}}function pe(ct,dt){if(1&ct){const Yt=D.RV6();D.j41(0,"mat-step-header",13),D.bIt("click",function(){const _e=D.eBV(Yt).step;return D.Njj(_e.select())})("keydown",function(_e){D.eBV(Yt);const we=D.XpG();return D.Njj(we._onKeydown(_e))}),D.k0s()}if(2&ct){const Yt=dt.step,ve=dt.i,_e=D.XpG();D.AVh("mat-horizontal-stepper-header","horizontal"===_e.orientation)("mat-vertical-stepper-header","vertical"===_e.orientation),D.Y8G("tabIndex",_e._getFocusIndex()===ve?0:-1)("id",_e._getStepLabelId(ve))("index",ve)("state",_e._getIndicatorType(ve,Yt.state))("label",Yt.stepLabel||Yt.label)("selected",_e.selectedIndex===ve)("active",_e._stepIsNavigable(ve,Yt))("optional",Yt.optional)("errorMessage",Yt.errorMessage)("iconOverrides",_e._iconOverrides)("disableRipple",_e.disableRipple||!_e._stepIsNavigable(ve,Yt))("color",Yt.color||_e.color),D.BMQ("aria-posinset",ve+1)("aria-setsize",_e.steps.length)("aria-controls",_e._getStepContentId(ve))("aria-selected",_e.selectedIndex==ve)("aria-label",Yt.ariaLabel||null)("aria-labelledby",!Yt.ariaLabel&&Yt.ariaLabelledby?Yt.ariaLabelledby:null)("aria-disabled",!_e._stepIsNavigable(ve,Yt)||null)}}let ze=(()=>{class ct extends t.nb{static{this.\u0275fac=(()=>{let Yt;return function(_e){return(Yt||(Yt=D.xGo(ct)))(_e||ct)}})()}static{this.\u0275dir=D.FsC({type:ct,selectors:[["","matStepLabel",""]],standalone:!0,features:[D.Vt3]})}}return ct})(),Xe=(()=>{class ct{constructor(){this.changes=new R.B,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static{this.\u0275fac=function(ve){return new(ve||ct)}}static{this.\u0275prov=D.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}}return ct})();const oe={provide:Xe,deps:[[new D.Xx1,new D.kdw,Xe]],useFactory:function We(ct){return ct||new Xe}};let X=(()=>{class ct extends t.oX{constructor(Yt,ve,_e,we){super(_e),this._intl=Yt,this._focusMonitor=ve,this._intlSubscription=Yt.changes.subscribe(()=>we.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(Yt,ve){Yt?this._focusMonitor.focusVia(this._elementRef,Yt,ve):this._elementRef.nativeElement.focus(ve)}_stringLabel(){return this.label instanceof ze?null:this.label}_templateLabel(){return this.label instanceof ze?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(Yt){return"number"==Yt?`${this.index+1}`:"edit"==Yt?"create":"error"==Yt?"warning":Yt}static{this.\u0275fac=function(ve){return new(ve||ct)(D.rXU(Xe),D.rXU(f.FN),D.rXU(D.aKT),D.rXU(D.gRc))}}static{this.\u0275cmp=D.VBU({type:ct,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(ve,_e){2&ve&&D.HbH("mat-"+(_e.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[D.Vt3,D.aNF],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(ve,_e){if(1&ve&&(D.nrm(0,"div",0),D.j41(1,"div")(2,"div",1),D.DNE(3,Q,1,2,"ng-container",2)(4,ne,2,1),D.k0s()(),D.j41(5,"div",3),D.DNE(6,Me,2,1,"div",4)(7,Ce,2,1,"div",4)(8,le,2,1,"div",5)(9,T,2,1,"div",6),D.k0s()),2&ve){let we;D.Y8G("matRippleTrigger",_e._getHostElement())("matRippleDisabled",_e.disableRipple),D.R7$(),D.ZvI("mat-step-icon-state-",_e.state," mat-step-icon"),D.AVh("mat-step-icon-selected",_e.selected),D.R7$(2),D.vxM(_e.iconOverrides&&_e.iconOverrides[_e.state]?3:4),D.R7$(2),D.AVh("mat-step-label-active",_e.active)("mat-step-label-selected",_e.selected)("mat-step-label-error","error"==_e.state),D.R7$(),D.vxM((we=_e._templateLabel())?6:_e._stringLabel()?7:-1,we),D.R7$(2),D.vxM(_e.optional&&"error"!=_e.state?8:-1),D.R7$(),D.vxM("error"===_e.state?9:-1)}},dependencies:[l.r6,x.T3,w.An],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);border-radius:var(--mat-stepper-header-hover-state-layer-shape)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape)}@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 ct})();const he={horizontalStepTransition:(0,Y.hZ)("horizontalStepTransition",[(0,Y.wk)("previous",(0,Y.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,Y.wk)("current",(0,Y.iF)({transform:"none",visibility:"inherit"})),(0,Y.wk)("next",(0,Y.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,Y.kY)("* => *",(0,Y.Os)([(0,Y.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),(0,Y.P)("@*",(0,Y.MA)(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,Y.hZ)("verticalStepTransition",[(0,Y.wk)("previous",(0,Y.iF)({height:"0px",visibility:"hidden"})),(0,Y.wk)("next",(0,Y.iF)({height:"0px",visibility:"hidden"})),(0,Y.wk)("current",(0,Y.iF)({height:"*",visibility:"inherit"})),(0,Y.kY)("* <=> current",(0,Y.Os)([(0,Y.i0)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),(0,Y.P)("@*",(0,Y.MA)(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let Ie=(()=>{class ct{constructor(Yt){this.templateRef=Yt}static{this.\u0275fac=function(ve){return new(ve||ct)(D.rXU(D.C4Q))}}static{this.\u0275dir=D.FsC({type:ct,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0})}}return ct})(),st=(()=>{class ct{constructor(Yt){this._template=Yt}static{this.\u0275fac=function(ve){return new(ve||ct)(D.rXU(D.C4Q))}}static{this.\u0275dir=D.FsC({type:ct,selectors:[["ng-template","matStepContent",""]],standalone:!0})}}return ct})(),me=(()=>{class ct extends t.VI{constructor(Yt,ve,_e,we){super(Yt,we),this._errorStateMatcher=ve,this._viewContainerRef=_e,this._isSelected=h.yU.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,y.n)(()=>this._stepper.selectionChange.pipe((0,O.T)(Yt=>Yt.selectedStep===this),(0,I.Z)(this._stepper.selected===this)))).subscribe(Yt=>{Yt&&this._lazyContent&&!this._portal&&(this._portal=new e.VA(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(Yt,ve){return this._errorStateMatcher.isErrorState(Yt,ve)||!!(Yt&&Yt.invalid&&this.interacted)}static{this.\u0275fac=function(ve){return new(ve||ct)(D.rXU((0,D.Rfq)(()=>Ee)),D.rXU(l.es,4),D.rXU(D.c1b),D.rXU(t.x8,8))}}static{this.\u0275cmp=D.VBU({type:ct,selectors:[["mat-step"]],contentQueries:function(ve,_e,we){if(1&ve&&(D.wni(we,ze,5),D.wni(we,st,5)),2&ve){let Ue;D.mGM(Ue=D.lsd())&&(_e.stepLabel=Ue.first),D.mGM(Ue=D.lsd())&&(_e._lazyContent=Ue.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[D.Jv_([{provide:l.es,useExisting:ct},{provide:t.VI,useExisting:ct}]),D.Vt3,D.aNF],ngContentSelectors:n,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(ve,_e){1&ve&&(D.NAR(),D.DNE(0,m,2,1,"ng-template"))},dependencies:[e.I3],encapsulation:2,changeDetection:0})}}return ct})(),Ee=(()=>{class ct extends t.Up{get animationDuration(){return this._animationDuration}set animationDuration(Yt){this._animationDuration=/^\d+$/.test(Yt)?Yt+"ms":Yt}constructor(Yt,ve,_e){super(Yt,ve,_e),this._stepHeader=void 0,this._steps=void 0,this.steps=new D.rOR,this.animationDone=new D.bkB,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new R.B,this._animationDuration="",this._isServer=!(0,D.WQX)(W.OD).isBrowser;const we=_e.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===we?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:Yt,templateRef:ve})=>this._iconOverrides[Yt]=ve),this.steps.changes.pipe((0,V.Q)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,j.F)((Yt,ve)=>Yt.fromState===ve.fromState&&Yt.toState===ve.toState),(0,V.Q)(this._destroyed)).subscribe(Yt=>{"current"===Yt.toState&&this.animationDone.emit()})}_stepIsNavigable(Yt,ve){return ve.completed||this.selectedIndex===Yt||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static{this.\u0275fac=function(ve){return new(ve||ct)(D.rXU(S.dS,8),D.rXU(D.gRc),D.rXU(D.aKT))}}static{this.\u0275cmp=D.VBU({type:ct,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(ve,_e,we){if(1&ve&&(D.wni(we,me,5),D.wni(we,Ie,5)),2&ve){let Ue;D.mGM(Ue=D.lsd())&&(_e._steps=Ue),D.mGM(Ue=D.lsd())&&(_e._icons=Ue)}},viewQuery:function(ve,_e){if(1&ve&&D.GBs(X,5),2&ve){let we;D.mGM(we=D.lsd())&&(_e._stepHeader=we)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(ve,_e){2&ve&&(D.BMQ("aria-orientation",_e.orientation),D.AVh("mat-stepper-horizontal","horizontal"===_e.orientation)("mat-stepper-vertical","vertical"===_e.orientation)("mat-stepper-label-position-end","horizontal"===_e.orientation&&"end"==_e.labelPosition)("mat-stepper-label-position-bottom","horizontal"===_e.orientation&&"bottom"==_e.labelPosition)("mat-stepper-header-position-bottom","bottom"===_e.headerPosition))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[D.Jv_([{provide:t.Up,useExisting:ct}]),D.Vt3,D.aNF],ngContentSelectors:n,decls:5,vars:2,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(ve,_e){if(1&ve&&(D.NAR(),D.DNE(0,k,1,0)(1,z,7,0,"div",1)(2,q,2,0)(3,pe,1,23,"ng-template",null,0,D.C5r)),2&ve){let we;D.vxM(_e._isServer?0:-1),D.R7$(),D.vxM("horizontal"===(we=_e.orientation)?1:"vertical"===we?2:-1)}},dependencies:[x.T3,X],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:[he.horizontalStepTransition,he.verticalStepTransition]},changeDetection:0})}}return ct})(),ue=(()=>{class ct extends t.v5{static{this.\u0275fac=(()=>{let Yt;return function(_e){return(Yt||(Yt=D.xGo(ct)))(_e||ct)}})()}static{this.\u0275dir=D.FsC({type:ct,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(ve,_e){2&ve&&D.Mr5("type",_e.type)},standalone:!0,features:[D.Vt3]})}}return ct})(),Be=(()=>{class ct extends t.FK{static{this.\u0275fac=(()=>{let Yt;return function(_e){return(Yt||(Yt=D.xGo(ct)))(_e||ct)}})()}static{this.\u0275dir=D.FsC({type:ct,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(ve,_e){2&ve&&D.Mr5("type",_e.type)},standalone:!0,features:[D.Vt3]})}}return ct})(),Ct=(()=>{class ct{static{this.\u0275fac=function(ve){return new(ve||ct)}}static{this.\u0275mod=D.$C({type:ct})}static{this.\u0275inj=D.G2t({providers:[oe,l.es],imports:[l.yE,x.MD,e.jc,t.uY,w.m_,l.pZ,Ee,X,l.yE]})}}return ct})()},9159:(Qe,te,g)=>{"use strict";g.d(te,{$R:()=>qe,YV:()=>Re,cC:()=>Ke,Qo:()=>Ge,Zq:()=>pt,iF:()=>Ui,xW:()=>pi,KS:()=>Fe,tL:()=>Pe,YZ:()=>Kt,ji:()=>Lt,NB:()=>ti,iL:()=>$t,Zl:()=>Z,I6:()=>Xt,tP:()=>Vi});var e=g(4438),t=g(8203),x=g(5024),D=g(6860),l=g(5542),w=g(177),f=g(1413),R=g(2806),h=g(4412),S=g(4402),y=g(7673),O=g(6977),I=g(6697);const V=[[["caption"]],[["colgroup"],["col"]],"*"],j=["caption","colgroup, col","*"];function Y(St,tt){1&St&&e.SdG(0,2)}function W(St,tt){1&St&&(e.j41(0,"thead",0),e.eu8(1,1),e.k0s(),e.j41(2,"tbody",0),e.eu8(3,2)(4,3),e.k0s(),e.j41(5,"tfoot",0),e.eu8(6,4),e.k0s())}function Q(St,tt){1&St&&e.eu8(0,1)(1,2)(2,3)(3,4)}const ee=new e.nKC("CDK_TABLE");let ne=(()=>{class St{constructor(ot){this.template=ot}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkCellDef",""]],standalone:!0})}}return St})(),Me=(()=>{class St{constructor(ot){this.template=ot}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}}return St})(),Ce=(()=>{class St{constructor(ot){this.template=ot}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}}return St})(),le=(()=>{class St{get name(){return this._name}set name(ot){this._setNameInput(ot)}get sticky(){return this._sticky}set sticky(ot){ot!==this._sticky&&(this._sticky=ot,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ot){ot!==this._stickyEnd&&(this._stickyEnd=ot,this._hasStickyChanged=!0)}constructor(ot){this._table=ot,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){const ot=this._hasStickyChanged;return this.resetStickyChanged(),ot}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ot){ot&&(this._name=ot,this.cssClassFriendlyName=ot.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(ee,8))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkColumnDef",""]],contentQueries:function(Mt,Bt,Ci){if(1&Mt&&(e.wni(Ci,ne,5),e.wni(Ci,Me,5),e.wni(Ci,Ce,5)),2&Mt){let Ti;e.mGM(Ti=e.lsd())&&(Bt.cell=Ti.first),e.mGM(Ti=e.lsd())&&(Bt.headerCell=Ti.first),e.mGM(Ti=e.lsd())&&(Bt.footerCell=Ti.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",e.L39],stickyEnd:[2,"stickyEnd","stickyEnd",e.L39]},standalone:!0,features:[e.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:St}]),e.GFd]})}}return St})();class T{constructor(tt,ot){ot.nativeElement.classList.add(...tt._columnCssClassName)}}let n=(()=>{class St extends T{constructor(ot,Mt){super(ot,Mt)}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(le),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[e.Vt3]})}}return St})(),c=(()=>{class St extends T{constructor(ot,Mt){super(ot,Mt);const Bt=ot._table?._getCellRole();Bt&&Mt.nativeElement.setAttribute("role",Bt)}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(le),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[e.Vt3]})}}return St})(),m=(()=>{class St extends T{constructor(ot,Mt){super(ot,Mt);const Bt=ot._table?._getCellRole();Bt&&Mt.nativeElement.setAttribute("role",Bt)}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(le),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[e.Vt3]})}}return St})();class d{constructor(){this.tasks=[],this.endTasks=[]}}const C=new e.nKC("_COALESCED_STYLE_SCHEDULER");let A=(()=>{class St{constructor(ot){this._ngZone=ot,this._currentSchedule=null,this._destroyed=new f.B}schedule(ot){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ot)}scheduleEnd(ot){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ot)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new d,this._getScheduleObservable().pipe((0,O.Q)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ot=this._currentSchedule;this._currentSchedule=new d;for(const Mt of ot.tasks)Mt();for(const Mt of ot.endTasks)Mt()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,R.H)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,I.s)(1))}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.KVO(e.SKi))}}static{this.\u0275prov=e.jDH({token:St,factory:St.\u0275fac})}}return St})(),_=(()=>{class St{constructor(ot,Mt){this.template=ot,this._differs=Mt}ngOnChanges(ot){if(!this._columnsDiffer){const Mt=ot.columns&&ot.columns.currentValue||[];this._columnsDiffer=this._differs.find(Mt).create(),this._columnsDiffer.diff(Mt)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ot){return this instanceof a?ot.headerCell.template:this instanceof b?ot.footerCell.template:ot.cell.template}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q),e.rXU(e._q3))}}static{this.\u0275dir=e.FsC({type:St,features:[e.OA$]})}}return St})(),a=(()=>{class St extends _{get sticky(){return this._sticky}set sticky(ot){ot!==this._sticky&&(this._sticky=ot,this._hasStickyChanged=!0)}constructor(ot,Mt,Bt){super(ot,Mt),this._table=Bt,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(ot){super.ngOnChanges(ot)}hasStickyChanged(){const ot=this._hasStickyChanged;return this.resetStickyChanged(),ot}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q),e.rXU(e._q3),e.rXU(ee,8))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.GFd,e.Vt3,e.OA$]})}}return St})(),b=(()=>{class St extends _{get sticky(){return this._sticky}set sticky(ot){ot!==this._sticky&&(this._sticky=ot,this._hasStickyChanged=!0)}constructor(ot,Mt,Bt){super(ot,Mt),this._table=Bt,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(ot){super.ngOnChanges(ot)}hasStickyChanged(){const ot=this._hasStickyChanged;return this.resetStickyChanged(),ot}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q),e.rXU(e._q3),e.rXU(ee,8))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.GFd,e.Vt3,e.OA$]})}}return St})(),z=(()=>{class St extends _{constructor(ot,Mt,Bt){super(ot,Mt),this._table=Bt}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q),e.rXU(e._q3),e.rXU(ee,8))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[e.Vt3]})}}return St})(),N=(()=>{class St{static{this.mostRecentCellOutlet=null}constructor(ot){this._viewContainer=ot,St.mostRecentCellOutlet=this}ngOnDestroy(){St.mostRecentCellOutlet===this&&(St.mostRecentCellOutlet=null)}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.c1b))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkCellOutlet",""]],standalone:!0})}}return St})(),q=(()=>{class St{static{this.\u0275fac=function(Mt){return new(Mt||St)}}static{this.\u0275cmp=e.VBU({type:St,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Bt){1&Mt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}}return St})(),pe=(()=>{class St{static{this.\u0275fac=function(Mt){return new(Mt||St)}}static{this.\u0275cmp=e.VBU({type:St,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Bt){1&Mt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}}return St})(),ze=(()=>{class St{static{this.\u0275fac=function(Mt){return new(Mt||St)}}static{this.\u0275cmp=e.VBU({type:St,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Bt){1&Mt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}}return St})(),Xe=(()=>{class St{constructor(ot){this.templateRef=ot,this._contentClassName="cdk-no-data-row"}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}}return St})();const We=["top","bottom","left","right"];class oe{constructor(tt,ot,Mt,Bt,Ci=!0,Ti=!0,Hi){this._isNativeHtmlTable=tt,this._stickCellCss=ot,this.direction=Mt,this._coalescedStyleScheduler=Bt,this._isBrowser=Ci,this._needsPositionStickyOnElement=Ti,this._positionListener=Hi,this._cachedCellWidths=[],this._borderCellCss={top:`${ot}-border-elem-top`,bottom:`${ot}-border-elem-bottom`,left:`${ot}-border-elem-left`,right:`${ot}-border-elem-right`}}clearStickyPositioning(tt,ot){const Mt=[];for(const Bt of tt)if(Bt.nodeType===Bt.ELEMENT_NODE){Mt.push(Bt);for(let Ci=0;Ci{for(const Bt of Mt)this._removeStickyStyle(Bt,ot)})}updateStickyColumns(tt,ot,Mt,Bt=!0){tt.length&&this._isBrowser&&(ot.some(Ci=>Ci)||Mt.some(Ci=>Ci))?this._coalescedStyleScheduler.schedule(()=>{const Ci=tt[0],Ti=Ci.children.length,Hi=this._getCellWidths(Ci,Bt),Zi=this._getStickyStartColumnPositions(Hi,ot),ln=this._getStickyEndColumnPositions(Hi,Mt),mn=ot.lastIndexOf(!0),Ut=Mt.indexOf(!0),lt="rtl"===this.direction,re=lt?"right":"left",He=lt?"left":"right";for(const ye of tt)for(let rt=0;rtot[rt]?ye:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ut?[]:Hi.slice(Ut).map((ye,rt)=>Mt[rt+Ut]?ye:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(tt,ot,Mt){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const Bt="bottom"===Mt?tt.slice().reverse():tt,Ci="bottom"===Mt?ot.slice().reverse():ot,Ti=[],Hi=[],Zi=[];for(let mn=0,Ut=0;mn{const Mt=tt.querySelector("tfoot");Mt&&(ot.some(Bt=>!Bt)?this._removeStickyStyle(Mt,["bottom"]):this._addStickyStyle(Mt,"bottom",0,!1))})}_removeStickyStyle(tt,ot){for(const Bt of ot)tt.style[Bt]="",tt.classList.remove(this._borderCellCss[Bt]);We.some(Bt=>-1===ot.indexOf(Bt)&&tt.style[Bt])?tt.style.zIndex=this._getCalculatedZIndex(tt):(tt.style.zIndex="",this._needsPositionStickyOnElement&&(tt.style.position=""),tt.classList.remove(this._stickCellCss))}_addStickyStyle(tt,ot,Mt,Bt){tt.classList.add(this._stickCellCss),Bt&&tt.classList.add(this._borderCellCss[ot]),tt.style[ot]=`${Mt}px`,tt.style.zIndex=this._getCalculatedZIndex(tt),this._needsPositionStickyOnElement&&(tt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(tt){const ot={top:100,bottom:10,left:1,right:1};let Mt=0;for(const Bt of We)tt.style[Bt]&&(Mt+=ot[Bt]);return Mt?`${Mt}`:""}_getCellWidths(tt,ot=!0){if(!ot&&this._cachedCellWidths.length)return this._cachedCellWidths;const Mt=[],Bt=tt.children;for(let Ci=0;Ci0;Ci--)ot[Ci]&&(Mt[Ci]=Bt,Bt+=tt[Ci]);return Mt}}const ue=new e.nKC("CDK_SPL");let Ct=(()=>{class St{constructor(ot,Mt){this.viewContainer=ot,this.elementRef=Mt;const Bt=(0,e.WQX)(ee);Bt._rowOutlet=this,Bt._outletAssigned()}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.c1b),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","rowOutlet",""]],standalone:!0})}}return St})(),ct=(()=>{class St{constructor(ot,Mt){this.viewContainer=ot,this.elementRef=Mt;const Bt=(0,e.WQX)(ee);Bt._headerRowOutlet=this,Bt._outletAssigned()}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.c1b),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","headerRowOutlet",""]],standalone:!0})}}return St})(),dt=(()=>{class St{constructor(ot,Mt){this.viewContainer=ot,this.elementRef=Mt;const Bt=(0,e.WQX)(ee);Bt._footerRowOutlet=this,Bt._outletAssigned()}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.c1b),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","footerRowOutlet",""]],standalone:!0})}}return St})(),Yt=(()=>{class St{constructor(ot,Mt){this.viewContainer=ot,this.elementRef=Mt;const Bt=(0,e.WQX)(ee);Bt._noDataRowOutlet=this,Bt._outletAssigned()}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.c1b),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","noDataRowOutlet",""]],standalone:!0})}}return St})(),we=(()=>{class St{_getCellRole(){if(void 0===this._cellRoleInternal){const ot=this._elementRef.nativeElement.getAttribute("role"),Mt="grid"===ot||"treegrid"===ot?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===Mt?null:Mt}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(ot){this._trackByFn=ot}get dataSource(){return this._dataSource}set dataSource(ot){this._dataSource!==ot&&this._switchDataSource(ot)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ot){this._multiTemplateDataRows=ot,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ot){this._fixedLayout=ot,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(ot,Mt,Bt,Ci,Ti,Hi,Zi,ln,mn,Ut,lt,re){this._differs=ot,this._changeDetectorRef=Mt,this._elementRef=Bt,this._dir=Ti,this._platform=Zi,this._viewRepeater=ln,this._coalescedStyleScheduler=mn,this._viewportRuler=Ut,this._stickyPositioningListener=lt,this._ngZone=re,this._onDestroy=new f.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._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.bkB,this.viewChange=new h.t({start:0,end:Number.MAX_VALUE}),Ci||Bt.nativeElement.setAttribute("role","table"),this._document=Hi,this._isServer=!Zi.isBrowser,this._isNativeHtmlTable="TABLE"===Bt.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((ot,Mt)=>this.trackBy?this.trackBy(Mt.dataIndex,Mt.data):Mt),this._viewportRuler.change().pipe((0,O.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(ot=>{ot?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,x.y4)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const ot=this._dataDiffer.diff(this._renderRows);if(!ot)return this._updateNoDataRow(),void this.contentChanged.next();const Mt=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ot,Mt,(Bt,Ci,Ti)=>this._getEmbeddedViewArgs(Bt.item,Ti),Bt=>Bt.item.data,Bt=>{Bt.operation===x.Q3.INSERTED&&Bt.context&&this._renderCellTemplateForItem(Bt.record.item.rowDef,Bt.context)}),this._updateRowIndexContext(),ot.forEachIdentityChange(Bt=>{Mt.get(Bt.currentIndex).context.$implicit=Bt.item.data}),this._updateNoDataRow(),this._ngZone&&e.SKi.isInAngularZone()?this._ngZone.onStable.pipe((0,I.s)(1),(0,O.Q)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ot){this._customColumnDefs.add(ot)}removeColumnDef(ot){this._customColumnDefs.delete(ot)}addRowDef(ot){this._customRowDefs.add(ot)}removeRowDef(ot){this._customRowDefs.delete(ot)}addHeaderRowDef(ot){this._customHeaderRowDefs.add(ot),this._headerRowDefChanged=!0}removeHeaderRowDef(ot){this._customHeaderRowDefs.delete(ot),this._headerRowDefChanged=!0}addFooterRowDef(ot){this._customFooterRowDefs.add(ot),this._footerRowDefChanged=!0}removeFooterRowDef(ot){this._customFooterRowDefs.delete(ot),this._footerRowDefChanged=!0}setNoDataRow(ot){this._customNoDataRow=ot}updateStickyHeaderRowStyles(){const ot=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const Bt=je(this._headerRowOutlet,"thead");Bt&&(Bt.style.display=ot.length?"":"none")}const Mt=this._headerRowDefs.map(Bt=>Bt.sticky);this._stickyStyler.clearStickyPositioning(ot,["top"]),this._stickyStyler.stickRows(ot,Mt,"top"),this._headerRowDefs.forEach(Bt=>Bt.resetStickyChanged())}updateStickyFooterRowStyles(){const ot=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const Bt=je(this._footerRowOutlet,"tfoot");Bt&&(Bt.style.display=ot.length?"":"none")}const Mt=this._footerRowDefs.map(Bt=>Bt.sticky);this._stickyStyler.clearStickyPositioning(ot,["bottom"]),this._stickyStyler.stickRows(ot,Mt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Mt),this._footerRowDefs.forEach(Bt=>Bt.resetStickyChanged())}updateStickyColumnStyles(){const ot=this._getRenderedRows(this._headerRowOutlet),Mt=this._getRenderedRows(this._rowOutlet),Bt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ot,...Mt,...Bt],["left","right"]),this._stickyColumnStylesNeedReset=!1),ot.forEach((Ci,Ti)=>{this._addStickyColumnStyles([Ci],this._headerRowDefs[Ti])}),this._rowDefs.forEach(Ci=>{const Ti=[];for(let Hi=0;Hi{this._addStickyColumnStyles([Ci],this._footerRowDefs[Ti])}),Array.from(this._columnDefsByName.values()).forEach(Ci=>Ci.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){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()}_getAllRenderRows(){const ot=[],Mt=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Bt=0;Bt{const Hi=Bt&&Bt.has(Ti)?Bt.get(Ti):[];if(Hi.length){const Zi=Hi.shift();return Zi.dataIndex=Mt,Zi}return{data:ot,rowDef:Ti,dataIndex:Mt}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ue(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Mt=>{this._columnDefsByName.has(Mt.name),this._columnDefsByName.set(Mt.name,Mt)})}_cacheRowDefs(){this._headerRowDefs=Ue(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ue(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ue(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ot=this._rowDefs.filter(Mt=>!Mt.when);this._defaultRowDef=ot[0]}_renderUpdatedColumns(){const ot=(Ti,Hi)=>Ti||!!Hi.getColumnsDiff(),Mt=this._rowDefs.reduce(ot,!1);Mt&&this._forceRenderDataRows();const Bt=this._headerRowDefs.reduce(ot,!1);Bt&&this._forceRenderHeaderRows();const Ci=this._footerRowDefs.reduce(ot,!1);return Ci&&this._forceRenderFooterRows(),Mt||Bt||Ci}_switchDataSource(ot){this._data=[],(0,x.y4)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ot||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=ot}_observeRenderChanges(){if(!this.dataSource)return;let ot;(0,x.y4)(this.dataSource)?ot=this.dataSource.connect(this):(0,S.A)(this.dataSource)?ot=this.dataSource:Array.isArray(this.dataSource)&&(ot=(0,y.of)(this.dataSource)),this._renderChangeSubscription=ot.pipe((0,O.Q)(this._onDestroy)).subscribe(Mt=>{this._data=Mt||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ot,Mt)=>this._renderRow(this._headerRowOutlet,ot,Mt)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ot,Mt)=>this._renderRow(this._footerRowOutlet,ot,Mt)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ot,Mt){const Bt=Array.from(Mt.columns||[]).map(Hi=>this._columnDefsByName.get(Hi)),Ci=Bt.map(Hi=>Hi.sticky),Ti=Bt.map(Hi=>Hi.stickyEnd);this._stickyStyler.updateStickyColumns(ot,Ci,Ti,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ot){const Mt=[];for(let Bt=0;Bt!Ci.when||Ci.when(Mt,ot));else{let Ci=this._rowDefs.find(Ti=>Ti.when&&Ti.when(Mt,ot))||this._defaultRowDef;Ci&&Bt.push(Ci)}return Bt}_getEmbeddedViewArgs(ot,Mt){return{templateRef:ot.rowDef.template,context:{$implicit:ot.data},index:Mt}}_renderRow(ot,Mt,Bt,Ci={}){const Ti=ot.viewContainer.createEmbeddedView(Mt.template,Ci,Bt);return this._renderCellTemplateForItem(Mt,Ci),Ti}_renderCellTemplateForItem(ot,Mt){for(let Bt of this._getCellTemplates(ot))N.mostRecentCellOutlet&&N.mostRecentCellOutlet._viewContainer.createEmbeddedView(Bt,Mt);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ot=this._rowOutlet.viewContainer;for(let Mt=0,Bt=ot.length;Mt{const Bt=this._columnDefsByName.get(Mt);return ot.extractCellTemplate(Bt)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ot=(Mt,Bt)=>Mt||Bt.hasStickyChanged();this._headerRowDefs.reduce(ot,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ot,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ot,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new oe(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,O.Q)(this._onDestroy)).subscribe(Mt=>{this._stickyStyler.direction=Mt,this.updateStickyColumnStyles()})}_getOwnDefs(ot){return ot.filter(Mt=>!Mt._table||Mt._table===this)}_updateNoDataRow(){const ot=this._customNoDataRow||this._noDataRow;if(!ot)return;const Mt=0===this._rowOutlet.viewContainer.length;if(Mt===this._isShowingNoDataRow)return;const Bt=this._noDataRowOutlet.viewContainer;if(Mt){const Ci=Bt.createEmbeddedView(ot.templateRef),Ti=Ci.rootNodes[0];1===Ci.rootNodes.length&&Ti?.nodeType===this._document.ELEMENT_NODE&&(Ti.setAttribute("role","row"),Ti.classList.add(ot._contentClassName))}else Bt.clear();this._isShowingNoDataRow=Mt,this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e._q3),e.rXU(e.gRc),e.rXU(e.aKT),e.kS0("role"),e.rXU(t.dS,8),e.rXU(w.qQ),e.rXU(D.OD),e.rXU(x.sL),e.rXU(C),e.rXU(l.Xj),e.rXU(ue,12),e.rXU(e.SKi,8))}}static{this.\u0275cmp=e.VBU({type:St,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(Mt,Bt,Ci){if(1&Mt&&(e.wni(Ci,Xe,5),e.wni(Ci,le,5),e.wni(Ci,z,5),e.wni(Ci,a,5),e.wni(Ci,b,5)),2&Mt){let Ti;e.mGM(Ti=e.lsd())&&(Bt._noDataRow=Ti.first),e.mGM(Ti=e.lsd())&&(Bt._contentColumnDefs=Ti),e.mGM(Ti=e.lsd())&&(Bt._contentRowDefs=Ti),e.mGM(Ti=e.lsd())&&(Bt._contentHeaderRowDefs=Ti),e.mGM(Ti=e.lsd())&&(Bt._contentFooterRowDefs=Ti)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(Mt,Bt){2&Mt&&e.AVh("cdk-table-fixed-layout",Bt.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",e.L39],fixedLayout:[2,"fixedLayout","fixedLayout",e.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[e.Jv_([{provide:ee,useExisting:St},{provide:x.sL,useClass:x.xn},{provide:C,useClass:A},{provide:ue,useValue:null}]),e.GFd,e.aNF],ngContentSelectors:j,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Mt,Bt){1&Mt&&(e.NAR(V),e.SdG(0),e.SdG(1,1),e.DNE(2,Y,1,0)(3,W,7,0)(4,Q,4,0)),2&Mt&&(e.R7$(2),e.vxM(Bt._isServer?2:-1),e.R7$(),e.vxM(Bt._isNativeHtmlTable?3:4))},dependencies:[ct,Ct,Yt,dt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}}return St})();function Ue(St,tt){return St.concat(Array.from(tt))}function je(St,tt){const ot=tt.toUpperCase();let Mt=St.viewContainer.element.nativeElement;for(;Mt;){const Bt=1===Mt.nodeType?Mt.nodeName:null;if(Bt===ot)return Mt;if("TABLE"===Bt)break;Mt=Mt.parentNode}return null}let nt=(()=>{class St{static{this.\u0275fac=function(Mt){return new(Mt||St)}}static{this.\u0275mod=e.$C({type:St})}static{this.\u0275inj=e.G2t({imports:[l.E9]})}}return St})();var Nt=g(6600),yt=g(7786),jt=g(4572),Je=g(4085),et=g(6354);const Ae=[[["caption"]],[["colgroup"],["col"]],"*"],It=["caption","colgroup, col","*"];function Qt(St,tt){1&St&&e.SdG(0,2)}function Tt(St,tt){1&St&&(e.j41(0,"thead",0),e.eu8(1,1),e.k0s(),e.j41(2,"tbody",2),e.eu8(3,3)(4,4),e.k0s(),e.j41(5,"tfoot",0),e.eu8(6,5),e.k0s())}function xt(St,tt){1&St&&e.eu8(0,1)(1,3)(2,4)(3,5)}let Z=(()=>{class St extends we{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275cmp=e.VBU({type:St,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(Mt,Bt){2&Mt&&e.AVh("mdc-table-fixed-layout",Bt.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[e.Jv_([{provide:we,useExisting:St},{provide:ee,useExisting:St},{provide:C,useClass:A},{provide:x.sL,useClass:x.xn},{provide:ue,useValue:null}]),e.Vt3,e.aNF],ngContentSelectors:It,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Mt,Bt){1&Mt&&(e.NAR(Ae),e.SdG(0),e.SdG(1,1),e.DNE(2,Qt,1,0)(3,Tt,7,0)(4,xt,4,0)),2&Mt&&(e.R7$(2),e.vxM(Bt._isServer?2:-1),e.R7$(),e.vxM(Bt._isNativeHtmlTable?3:4))},dependencies:[ct,Ct,Yt,dt],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})(),Re=(()=>{class St extends ne{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matCellDef",""]],standalone:!0,features:[e.Jv_([{provide:ne,useExisting:St}]),e.Vt3]})}}return St})(),Pe=(()=>{class St extends Me{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[e.Jv_([{provide:Me,useExisting:St}]),e.Vt3]})}}return St})(),pt=(()=>{class St extends Ce{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[e.Jv_([{provide:Ce,useExisting:St}]),e.Vt3]})}}return St})(),Ke=(()=>{class St extends le{get name(){return this._name}set name(ot){this._setNameInput(ot)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[e.Jv_([{provide:le,useExisting:St},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:St}]),e.Vt3]})}}return St})(),Fe=(()=>{class St extends n{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[e.Vt3]})}}return St})(),Ge=(()=>{class St extends c{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[e.Vt3]})}}return St})(),qe=(()=>{class St extends m{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[e.Vt3]})}}return St})(),Lt=(()=>{class St extends a{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.Jv_([{provide:a,useExisting:St}]),e.GFd,e.Vt3]})}}return St})(),pi=(()=>{class St extends b{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.Jv_([{provide:b,useExisting:St}]),e.GFd,e.Vt3]})}}return St})(),$t=(()=>{class St extends z{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[e.Jv_([{provide:z,useExisting:St}]),e.Vt3]})}}return St})(),Kt=(()=>{class St extends q{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275cmp=e.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"],standalone:!0,features:[e.Jv_([{provide:q,useExisting:St}]),e.Vt3,e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Bt){1&Mt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}}return St})(),Ui=(()=>{class St extends pe{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275cmp=e.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"],standalone:!0,features:[e.Jv_([{provide:pe,useExisting:St}]),e.Vt3,e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Bt){1&Mt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}}return St})(),ti=(()=>{class St extends ze{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275cmp=e.VBU({type:St,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[e.Jv_([{provide:ze,useExisting:St}]),e.Vt3,e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Bt){1&Mt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}}return St})(),Vi=(()=>{class St{static{this.\u0275fac=function(Mt){return new(Mt||St)}}static{this.\u0275mod=e.$C({type:St})}static{this.\u0275inj=e.G2t({imports:[Nt.yE,nt,Nt.yE]})}}return St})();class Xt extends x.qS{get data(){return this._data.value}set data(tt){tt=Array.isArray(tt)?tt:[],this._data.next(tt),this._renderChangesSubscription||this._filterData(tt)}get filter(){return this._filter.value}set filter(tt){this._filter.next(tt),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(tt){this._sort=tt,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(tt){this._paginator=tt,this._updateChangeSubscription()}constructor(tt=[]){super(),this._renderData=new h.t([]),this._filter=new h.t(""),this._internalPageChanges=new f.B,this._renderChangesSubscription=null,this.sortingDataAccessor=(ot,Mt)=>{const Bt=ot[Mt];if((0,Je.o1)(Bt)){const Ci=Number(Bt);return Ci<9007199254740991?Ci:Bt}return Bt},this.sortData=(ot,Mt)=>{const Bt=Mt.active,Ci=Mt.direction;return Bt&&""!=Ci?ot.sort((Ti,Hi)=>{let Zi=this.sortingDataAccessor(Ti,Bt),ln=this.sortingDataAccessor(Hi,Bt);const mn=typeof Zi,Ut=typeof ln;mn!==Ut&&("number"===mn&&(Zi+=""),"number"===Ut&&(ln+=""));let lt=0;return null!=Zi&&null!=ln?Zi>ln?lt=1:Zi{const Bt=Object.keys(ot).reduce((Ti,Hi)=>Ti+ot[Hi]+"\u25ec","").toLowerCase(),Ci=Mt.trim().toLowerCase();return-1!=Bt.indexOf(Ci)},this._data=new h.t(tt),this._updateChangeSubscription()}_updateChangeSubscription(){const tt=this._sort?(0,yt.h)(this._sort.sortChange,this._sort.initialized):(0,y.of)(null),ot=this._paginator?(0,yt.h)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,y.of)(null),Bt=(0,jt.z)([this._data,this._filter]).pipe((0,et.T)(([Hi])=>this._filterData(Hi))),Ci=(0,jt.z)([Bt,tt]).pipe((0,et.T)(([Hi])=>this._orderData(Hi))),Ti=(0,jt.z)([Ci,ot]).pipe((0,et.T)(([Hi])=>this._pageData(Hi)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Ti.subscribe(Hi=>this._renderData.next(Hi))}_filterData(tt){return this.filteredData=null==this.filter||""===this.filter?tt:tt.filter(ot=>this.filterPredicate(ot,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(tt){return this.sort?this.sortData(tt.slice(),this.sort):tt}_pageData(tt){if(!this.paginator)return tt;const ot=this.paginator.pageIndex*this.paginator.pageSize;return tt.slice(ot,ot+this.paginator.pageSize)}_updatePaginator(tt){Promise.resolve().then(()=>{const ot=this.paginator;if(ot&&(ot.length=tt,ot.pageIndex>0)){const Mt=Math.ceil(ot.length/ot.pageSize)-1||0,Bt=Math.min(ot.pageIndex,Mt);Bt!==ot.pageIndex&&(ot.pageIndex=Bt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},6850:(Qe,te,g)=>{"use strict";g.d(te,{Bu:()=>Qt,ES:()=>me,Ql:()=>Tt,RI:()=>Se,T8:()=>et,hQ:()=>xt,mq:()=>ue});var e=g(4438),t=g(6600),x=g(6939),D=g(1413),l=g(3726),w=g(7673),f=g(7786),R=g(983),h=g(1985),S=g(1807),y=g(8359),O=g(4412),I=g(5542),V=g(6860),j=g(8203),Y=g(8617),W=g(7336),Q=g(6977),J=g(6697),ie=g(9172),ee=g(5558),fe=g(5245),ne=g(5964),Me=g(3294),Ce=g(2318),le=g(177),T=g(9969);const n=["*"];function c(Te,ce){1&Te&&e.SdG(0)}const m=["tabListContainer"],d=["tabList"],C=["tabListInner"],A=["nextPaginator"],k=["previousPaginator"],_=Te=>({animationDuration:Te}),a=(Te,ce)=>({value:Te,params:ce});function b(Te,ce){}const z=["tabBodyWrapper"],N=["tabHeader"];function q(Te,ce){}function pe(Te,ce){if(1&Te&&e.DNE(0,q,0,0,"ng-template",12),2&Te){const Z=e.XpG().$implicit;e.Y8G("cdkPortalOutlet",Z.templateLabel)}}function ze(Te,ce){if(1&Te&&e.EFF(0),2&Te){const Z=e.XpG().$implicit;e.JRh(Z.textLabel)}}function Xe(Te,ce){if(1&Te){const Z=e.RV6();e.j41(0,"div",7,2),e.bIt("click",function(){const Pe=e.eBV(Z),pt=Pe.$implicit,Ke=Pe.$index,Fe=e.XpG(),Ge=e.sdS(1);return e.Njj(Fe._handleClick(pt,Ge,Ke))})("cdkFocusChange",function(Pe){const pt=e.eBV(Z).$index,Ke=e.XpG();return e.Njj(Ke._tabFocusChanged(Pe,pt))}),e.nrm(2,"span",8)(3,"div",9),e.j41(4,"span",10)(5,"span",11),e.DNE(6,pe,1,1,null,12)(7,ze,1,1),e.k0s()()()}if(2&Te){const Z=ce.$implicit,Re=ce.$index,Pe=e.sdS(1),pt=e.XpG();e.HbH(Z.labelClass),e.AVh("mdc-tab--active",pt.selectedIndex===Re),e.Y8G("id",pt._getTabLabelId(Re))("disabled",Z.disabled)("fitInkBarToContent",pt.fitInkBarToContent),e.BMQ("tabIndex",pt._getTabIndex(Re))("aria-posinset",Re+1)("aria-setsize",pt._tabs.length)("aria-controls",pt._getTabContentId(Re))("aria-selected",pt.selectedIndex===Re)("aria-label",Z.ariaLabel||null)("aria-labelledby",!Z.ariaLabel&&Z.ariaLabelledby?Z.ariaLabelledby:null),e.R7$(3),e.Y8G("matRippleTrigger",Pe)("matRippleDisabled",Z.disabled||pt.disableRipple),e.R7$(3),e.vxM(Z.templateLabel?6:7)}}function We(Te,ce){1&Te&&e.SdG(0)}function oe(Te,ce){if(1&Te){const Z=e.RV6();e.j41(0,"mat-tab-body",13),e.bIt("_onCentered",function(){e.eBV(Z);const Pe=e.XpG();return e.Njj(Pe._removeTabBodyWrapperHeight())})("_onCentering",function(Pe){e.eBV(Z);const pt=e.XpG();return e.Njj(pt._setTabBodyWrapperHeight(Pe))}),e.k0s()}if(2&Te){const Z=ce.$implicit,Re=ce.$index,Pe=e.XpG();e.HbH(Z.bodyClass),e.AVh("mat-mdc-tab-body-active",Pe.selectedIndex===Re),e.Y8G("id",Pe._getTabContentId(Re))("content",Z.content)("position",Z.position)("origin",Z.origin)("animationDuration",Pe.animationDuration)("preserveContent",Pe.preserveContent),e.BMQ("tabindex",null!=Pe.contentTabIndex&&Pe.selectedIndex===Re?Pe.contentTabIndex:null)("aria-labelledby",Pe._getTabLabelId(Re))("aria-hidden",Pe.selectedIndex!==Re)}}const X=["mat-tab-nav-bar",""],se=["mat-tab-link",""],ae=new e.nKC("MatTabContent");let he=(()=>{class Te{constructor(Z){this.template=Z}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:Te,selectors:[["","matTabContent",""]],standalone:!0,features:[e.Jv_([{provide:ae,useExisting:Te}])]})}}return Te})();const Ie=new e.nKC("MatTabLabel"),st=new e.nKC("MAT_TAB");let me=(()=>{class Te extends x.bV{constructor(Z,Re,Pe){super(Z,Re),this._closestTab=Pe}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.C4Q),e.rXU(e.c1b),e.rXU(st,8))}}static{this.\u0275dir=e.FsC({type:Te,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[e.Jv_([{provide:Ie,useExisting:Te}]),e.Vt3]})}}return Te})();const Ee=new e.nKC("MAT_TAB_GROUP");let ue=(()=>{class Te{get templateLabel(){return this._templateLabel}set templateLabel(Z){this._setTemplateLabelInput(Z)}get content(){return this._contentPortal}constructor(Z,Re){this._viewContainerRef=Z,this._closestTabGroup=Re,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new D.B,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(Z){(Z.hasOwnProperty("textLabel")||Z.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new x.VA(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Z){Z&&Z._closestTab===this&&(this._templateLabel=Z)}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.c1b),e.rXU(Ee,8))}}static{this.\u0275cmp=e.VBU({type:Te,selectors:[["mat-tab"]],contentQueries:function(Re,Pe,pt){if(1&Re&&(e.wni(pt,me,5),e.wni(pt,he,7,e.C4Q)),2&Re){let Ke;e.mGM(Ke=e.lsd())&&(Pe.templateLabel=Ke.first),e.mGM(Ke=e.lsd())&&(Pe._explicitContent=Ke.first)}},viewQuery:function(Re,Pe){if(1&Re&&e.GBs(e.C4Q,7),2&Re){let pt;e.mGM(pt=e.lsd())&&(Pe._implicitContent=pt.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",e.L39],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[e.Jv_([{provide:st,useExisting:Te}]),e.GFd,e.OA$,e.aNF],ngContentSelectors:n,decls:1,vars:0,template:function(Re,Pe){1&Re&&(e.NAR(),e.DNE(0,c,1,0,"ng-template"))},encapsulation:2})}}return Te})();const Be="mdc-tab-indicator--active",Ct="mdc-tab-indicator--no-transition";class ct{constructor(ce){this._items=ce}hide(){this._items.forEach(ce=>ce.deactivateInkBar())}alignToElement(ce){const Z=this._items.find(Pe=>Pe.elementRef.nativeElement===ce),Re=this._currentItem;if(Z!==Re&&(Re?.deactivateInkBar(),Z)){const Pe=Re?.elementRef.nativeElement.getBoundingClientRect?.();Z.activateInkBar(Pe),this._currentItem=Z}}}let dt=(()=>{class Te{constructor(){this._elementRef=(0,e.WQX)(e.aKT),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Z){this._fitToContent!==Z&&(this._fitToContent=Z,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Z){const Re=this._elementRef.nativeElement;if(!Z||!Re.getBoundingClientRect||!this._inkBarContentElement)return void Re.classList.add(Be);const Pe=Re.getBoundingClientRect(),pt=Z.width/Pe.width,Ke=Z.left-Pe.left;Re.classList.add(Ct),this._inkBarContentElement.style.setProperty("transform",`translateX(${Ke}px) scaleX(${pt})`),Re.getBoundingClientRect(),Re.classList.remove(Ct),Re.classList.add(Be),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Be)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const Z=this._elementRef.nativeElement.ownerDocument||document,Re=this._inkBarElement=Z.createElement("span"),Pe=this._inkBarContentElement=Z.createElement("span");Re.className="mdc-tab-indicator",Pe.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",Re.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static{this.\u0275fac=function(Re){return new(Re||Te)}}static{this.\u0275dir=e.FsC({type:Te,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",e.L39]},features:[e.GFd]})}}return Te})(),_e=(()=>{class Te extends dt{constructor(Z){super(),this.elementRef=Z,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:Te,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Re,Pe){2&Re&&(e.BMQ("aria-disabled",!!Pe.disabled),e.AVh("mat-mdc-tab-disabled",Pe.disabled))},inputs:{disabled:[2,"disabled","disabled",e.L39]},standalone:!0,features:[e.GFd,e.Vt3]})}}return Te})();const we=(0,V.BQ)({passive:!0});let vt=(()=>{class Te{get selectedIndex(){return this._selectedIndex}set selectedIndex(Z){const Re=isNaN(Z)?0:Z;this._selectedIndex!=Re&&(this._selectedIndexChanged=!0,this._selectedIndex=Re,this._keyManager&&this._keyManager.updateActiveItem(Re))}constructor(Z,Re,Pe,pt,Ke,Fe,Ge){this._elementRef=Z,this._changeDetectorRef=Re,this._viewportRuler=Pe,this._dir=pt,this._ngZone=Ke,this._platform=Fe,this._animationMode=Ge,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,Ke.runOutsideAngular(()=>{(0,l.R)(Z.nativeElement,"mouseleave").pipe((0,Q.Q)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,l.R)(this._previousPaginator.nativeElement,"touchstart",we).pipe((0,Q.Q)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,l.R)(this._nextPaginator.nativeElement,"touchstart",we).pipe((0,Q.Q)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Z=this._dir?this._dir.change:(0,w.of)("ltr"),Re=this._viewportRuler.change(150),Pe=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Y.Bu(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,J.s)(1)).subscribe(Pe),(0,f.h)(Z,Re,this._items.changes,this._itemsResized()).pipe((0,Q.Q)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Pe()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(pt=>{this.indexFocused.emit(pt),this._setTabFocus(pt)})}_itemsResized(){return"function"!=typeof ResizeObserver?R.w:this._items.changes.pipe((0,ie.Z)(this._items),(0,ee.n)(Z=>new h.c(Re=>this._ngZone.runOutsideAngular(()=>{const Pe=new ResizeObserver(pt=>Re.next(pt));return Z.forEach(pt=>Pe.observe(pt.elementRef.nativeElement)),()=>{Pe.disconnect()}}))),(0,fe.i)(1),(0,ne.p)(Z=>Z.some(Re=>Re.contentRect.width>0&&Re.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(Z){if(!(0,W.rp)(Z))switch(Z.keyCode){case W.Fm:case W.t6:if(this.focusIndex!==this.selectedIndex){const Re=this._items.get(this.focusIndex);Re&&!Re.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Z))}break;default:this._keyManager.onKeydown(Z)}}_onContentChanges(){const Z=this._elementRef.nativeElement.textContent;Z!==this._currentTextContent&&(this._currentTextContent=Z||"",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(Z){!this._isValidIndex(Z)||this.focusIndex===Z||!this._keyManager||this._keyManager.setActiveItem(Z)}_isValidIndex(Z){return!this._items||!!this._items.toArray()[Z]}_setTabFocus(Z){if(this._showPaginationControls&&this._scrollToLabel(Z),this._items&&this._items.length){this._items.toArray()[Z].focus();const Re=this._tabListContainer.nativeElement;Re.scrollLeft="ltr"==this._getLayoutDirection()?0:Re.scrollWidth-Re.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Z=this.scrollDistance,Re="ltr"===this._getLayoutDirection()?-Z:Z;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Re)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Z){this._scrollTo(Z)}_scrollHeader(Z){return this._scrollTo(this._scrollDistance+("before"==Z?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Z){this._stopInterval(),this._scrollHeader(Z)}_scrollToLabel(Z){if(this.disablePagination)return;const Re=this._items?this._items.toArray()[Z]:null;if(!Re)return;const Pe=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:pt,offsetWidth:Ke}=Re.elementRef.nativeElement;let Fe,Ge;"ltr"==this._getLayoutDirection()?(Fe=pt,Ge=Fe+Ke):(Ge=this._tabListInner.nativeElement.offsetWidth-pt,Fe=Ge-Ke);const qe=this.scrollDistance,at=this.scrollDistance+Pe;Feat&&(this.scrollDistance+=Math.min(Ge-at,Fe-qe))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Z=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Z||(this.scrollDistance=0),Z!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Z}}_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 Z=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Re=Z?Z.elementRef.nativeElement:null;Re?this._inkBar.alignToElement(Re):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Z,Re){Re&&null!=Re.button&&0!==Re.button||(this._stopInterval(),(0,S.O)(650,100).pipe((0,Q.Q)((0,f.h)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Pe,distance:pt}=this._scrollHeader(Z);(0===pt||pt>=Pe)&&this._stopInterval()}))}_scrollTo(Z){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Re=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Re,Z)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Re,distance:this._scrollDistance}}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(I.Xj),e.rXU(j.dS,8),e.rXU(e.SKi),e.rXU(V.OD),e.rXU(e.bc$,8))}}static{this.\u0275dir=e.FsC({type:Te,inputs:{disablePagination:[2,"disablePagination","disablePagination",e.L39],selectedIndex:[2,"selectedIndex","selectedIndex",e.Udg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[e.GFd]})}}return Te})(),$e=(()=>{class Te extends vt{constructor(Z,Re,Pe,pt,Ke,Fe,Ge){super(Z,Re,Pe,pt,Ke,Fe,Ge),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new ct(this._items),super.ngAfterContentInit()}_itemSelected(Z){Z.preventDefault()}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(I.Xj),e.rXU(j.dS,8),e.rXU(e.SKi),e.rXU(V.OD),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:Te,selectors:[["mat-tab-header"]],contentQueries:function(Re,Pe,pt){if(1&Re&&e.wni(pt,_e,4),2&Re){let Ke;e.mGM(Ke=e.lsd())&&(Pe._items=Ke)}},viewQuery:function(Re,Pe){if(1&Re&&(e.GBs(m,7),e.GBs(d,7),e.GBs(C,7),e.GBs(A,5),e.GBs(k,5)),2&Re){let pt;e.mGM(pt=e.lsd())&&(Pe._tabListContainer=pt.first),e.mGM(pt=e.lsd())&&(Pe._tabList=pt.first),e.mGM(pt=e.lsd())&&(Pe._tabListInner=pt.first),e.mGM(pt=e.lsd())&&(Pe._nextPaginator=pt.first),e.mGM(pt=e.lsd())&&(Pe._previousPaginator=pt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(Re,Pe){2&Re&&e.AVh("mat-mdc-tab-header-pagination-controls-enabled",Pe._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Pe._getLayoutDirection())},inputs:{disableRipple:[2,"disableRipple","disableRipple",e.L39]},standalone:!0,features:[e.GFd,e.Vt3,e.aNF],ngContentSelectors:n,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(Re,Pe){if(1&Re){const pt=e.RV6();e.NAR(),e.j41(0,"button",5,0),e.bIt("click",function(){return e.eBV(pt),e.Njj(Pe._handlePaginatorClick("before"))})("mousedown",function(Fe){return e.eBV(pt),e.Njj(Pe._handlePaginatorPress("before",Fe))})("touchend",function(){return e.eBV(pt),e.Njj(Pe._stopInterval())}),e.nrm(2,"div",6),e.k0s(),e.j41(3,"div",7,1),e.bIt("keydown",function(Fe){return e.eBV(pt),e.Njj(Pe._handleKeydown(Fe))}),e.j41(5,"div",8,2),e.bIt("cdkObserveContent",function(){return e.eBV(pt),e.Njj(Pe._onContentChanges())}),e.j41(7,"div",9,3),e.SdG(9),e.k0s()()(),e.j41(10,"button",10,4),e.bIt("mousedown",function(Fe){return e.eBV(pt),e.Njj(Pe._handlePaginatorPress("after",Fe))})("click",function(){return e.eBV(pt),e.Njj(Pe._handlePaginatorClick("after"))})("touchend",function(){return e.eBV(pt),e.Njj(Pe._stopInterval())}),e.nrm(12,"div",6),e.k0s()}2&Re&&(e.AVh("mat-mdc-tab-header-pagination-disabled",Pe._disableScrollBefore),e.Y8G("matRippleDisabled",Pe._disableScrollBefore||Pe.disableRipple)("disabled",Pe._disableScrollBefore||null),e.R7$(3),e.AVh("_mat-animation-noopable","NoopAnimations"===Pe._animationMode),e.R7$(7),e.AVh("mat-mdc-tab-header-pagination-disabled",Pe._disableScrollAfter),e.Y8G("matRippleDisabled",Pe._disableScrollAfter||Pe.disableRipple)("disabled",Pe._disableScrollAfter||null))},dependencies:[t.r6,Ce.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;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.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 Te})();const nt=new e.nKC("MAT_TABS_CONFIG"),qt={translateTab:(0,T.hZ)("translateTab",[(0,T.wk)("center, void, left-origin-center, right-origin-center",(0,T.iF)({transform:"none"})),(0,T.wk)("left",(0,T.iF)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,T.wk)("right",(0,T.iF)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,T.kY)("* => left, * => right, left => center, right => center",(0,T.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,T.kY)("void => left-origin-center",[(0,T.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,T.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,T.kY)("void => right-origin-center",[(0,T.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,T.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Nt=(()=>{class Te extends x.I3{constructor(Z,Re,Pe,pt){super(Z,Re,pt),this._host=Pe,this._centeringSub=y.yU.EMPTY,this._leavingSub=y.yU.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,ie.Z)(this._host._isCenterPosition(this._host._position))).subscribe(Z=>{Z&&!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(Re){return new(Re||Te)(e.rXU(e.OM3),e.rXU(e.c1b),e.rXU((0,e.Rfq)(()=>yt)),e.rXU(le.qQ))}}static{this.\u0275dir=e.FsC({type:Te,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[e.Vt3]})}}return Te})(),yt=(()=>{class Te{set position(Z){this._positionIndex=Z,this._computePositionAnimationState()}constructor(Z,Re,Pe){this._elementRef=Z,this._dir=Re,this._dirChangeSubscription=y.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,Re&&(this._dirChangeSubscription=Re.change.subscribe(pt=>{this._computePositionAnimationState(pt),Pe.markForCheck()})),this._translateTabComplete.pipe((0,Me.F)((pt,Ke)=>pt.fromState===Ke.fromState&&pt.toState===Ke.toState)).subscribe(pt=>{this._isCenterPosition(pt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(pt.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(Z){const Re=this._isCenterPosition(Z.toState);this._beforeCentering.emit(Re),Re&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Z){return"center"==Z||"left-origin-center"==Z||"right-origin-center"==Z}_computePositionAnimationState(Z=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Z?"left":"right":this._positionIndex>0?"ltr"==Z?"right":"left":"center"}_computePositionFromOrigin(Z){const Re=this._getLayoutDirection();return"ltr"==Re&&Z<=0||"rtl"==Re&&Z>0?"left-origin-center":"right-origin-center"}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.aKT),e.rXU(j.dS,8),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:Te,selectors:[["mat-tab-body"]],viewQuery:function(Re,Pe){if(1&Re&&e.GBs(x.I3,5),2&Re){let pt;e.mGM(pt=e.lsd())&&(Pe._portalHost=pt.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"},standalone:!0,features:[e.aNF],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(Re,Pe){if(1&Re){const pt=e.RV6();e.j41(0,"div",1,0),e.bIt("@translateTab.start",function(Fe){return e.eBV(pt),e.Njj(Pe._onTranslateTabStarted(Fe))})("@translateTab.done",function(Fe){return e.eBV(pt),e.Njj(Pe._translateTabComplete.next(Fe))}),e.DNE(2,b,0,0,"ng-template",2),e.k0s()}2&Re&&e.Y8G("@translateTab",e.l_i(3,a,Pe._position,e.eq3(1,_,Pe.animationDuration)))},dependencies:[Nt,I.uv],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:[qt.translateTab]}})}}return Te})(),jt=0,et=(()=>{class Te{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(Z){this._fitInkBarToContent=Z,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(Z){this._indexToSelect=isNaN(Z)?null:Z}get animationDuration(){return this._animationDuration}set animationDuration(Z){const Re=Z+"";this._animationDuration=/^\d+$/.test(Re)?Z+"ms":Re}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Z){this._contentTabIndex=isNaN(Z)?null:Z}get backgroundColor(){return this._backgroundColor}set backgroundColor(Z){const Re=this._elementRef.nativeElement.classList;Re.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Z&&Re.add("mat-tabs-with-background",`mat-background-${Z}`),this._backgroundColor=Z}constructor(Z,Re,Pe,pt){this._elementRef=Z,this._changeDetectorRef=Re,this._animationMode=pt,this._tabs=new e.rOR,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=y.yU.EMPTY,this._tabLabelSubscription=y.yU.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!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._isServer=!(0,e.WQX)(V.OD).isBrowser,this._groupId=jt++,this.animationDuration=Pe&&Pe.animationDuration?Pe.animationDuration:"500ms",this.disablePagination=!(!Pe||null==Pe.disablePagination)&&Pe.disablePagination,this.dynamicHeight=!(!Pe||null==Pe.dynamicHeight)&&Pe.dynamicHeight,null!=Pe?.contentTabIndex&&(this.contentTabIndex=Pe.contentTabIndex),this.preserveContent=!!Pe?.preserveContent,this.fitInkBarToContent=!(!Pe||null==Pe.fitInkBarToContent)&&Pe.fitInkBarToContent,this.stretchTabs=!Pe||null==Pe.stretchTabs||Pe.stretchTabs}ngAfterContentChecked(){const Z=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Z){const Re=null==this._selectedIndex;if(!Re){this.selectedTabChange.emit(this._createChangeEvent(Z));const Pe=this._tabBodyWrapper.nativeElement;Pe.style.minHeight=Pe.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Pe,pt)=>Pe.isActive=pt===Z),Re||(this.selectedIndexChange.emit(Z),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Re,Pe)=>{Re.position=Pe-Z,null!=this._selectedIndex&&0==Re.position&&!Re.origin&&(Re.origin=Z-this._selectedIndex)}),this._selectedIndex!==Z&&(this._selectedIndex=Z,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Z=this._clampTabIndex(this._indexToSelect);if(Z===this._selectedIndex){const Re=this._tabs.toArray();let Pe;for(let pt=0;pt{Re[Z].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Z))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,ie.Z)(this._allTabs)).subscribe(Z=>{this._tabs.reset(Z.filter(Re=>Re._closestTabGroup===this||!Re._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(Z){const Re=this._tabHeader;Re&&(Re.focusIndex=Z)}_focusChanged(Z){this._lastFocusedTabIndex=Z,this.focusChange.emit(this._createChangeEvent(Z))}_createChangeEvent(Z){const Re=new Ae;return Re.index=Z,this._tabs&&this._tabs.length&&(Re.tab=this._tabs.toArray()[Z]),Re}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,f.h)(...this._tabs.map(Z=>Z._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Z){return Math.min(this._tabs.length-1,Math.max(Z||0,0))}_getTabLabelId(Z){return`mat-tab-label-${this._groupId}-${Z}`}_getTabContentId(Z){return`mat-tab-content-${this._groupId}-${Z}`}_setTabBodyWrapperHeight(Z){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;const Re=this._tabBodyWrapper.nativeElement;Re.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Re.style.height=Z+"px")}_removeTabBodyWrapperHeight(){const Z=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Z.clientHeight,Z.style.height="",this.animationDone.emit()}_handleClick(Z,Re,Pe){Re.focusIndex=Pe,Z.disabled||(this.selectedIndex=Pe)}_getTabIndex(Z){return Z===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Z,Re){Z&&"mouse"!==Z&&"touch"!==Z&&(this._tabHeader.focusIndex=Re)}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(nt,8),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:Te,selectors:[["mat-tab-group"]],contentQueries:function(Re,Pe,pt){if(1&Re&&e.wni(pt,ue,5),2&Re){let Ke;e.mGM(Ke=e.lsd())&&(Pe._allTabs=Ke)}},viewQuery:function(Re,Pe){if(1&Re&&(e.GBs(z,5),e.GBs(N,5)),2&Re){let pt;e.mGM(pt=e.lsd())&&(Pe._tabBodyWrapper=pt.first),e.mGM(pt=e.lsd())&&(Pe._tabHeader=pt.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(Re,Pe){2&Re&&(e.HbH("mat-"+(Pe.color||"primary")),e.xc7("--mat-tab-animation-duration",Pe.animationDuration),e.AVh("mat-mdc-tab-group-dynamic-height",Pe.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Pe.headerPosition)("mat-mdc-tab-group-stretch-tabs",Pe.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",e.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",e.L39],dynamicHeight:[2,"dynamicHeight","dynamicHeight",e.L39],selectedIndex:[2,"selectedIndex","selectedIndex",e.Udg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",e.Udg],disablePagination:[2,"disablePagination","disablePagination",e.L39],disableRipple:[2,"disableRipple","disableRipple",e.L39],preserveContent:[2,"preserveContent","preserveContent",e.L39],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[e.Jv_([{provide:Ee,useExisting:Te}]),e.GFd,e.aNF],ngContentSelectors:n,decls:9,vars:6,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","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","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","content","position","origin","animationDuration","preserveContent"]],template:function(Re,Pe){if(1&Re){const pt=e.RV6();e.NAR(),e.j41(0,"mat-tab-header",3,0),e.bIt("indexFocused",function(Fe){return e.eBV(pt),e.Njj(Pe._focusChanged(Fe))})("selectFocusedIndex",function(Fe){return e.eBV(pt),e.Njj(Pe.selectedIndex=Fe)}),e.Z7z(2,Xe,8,17,"div",4,e.fX1),e.k0s(),e.DNE(4,We,1,0),e.j41(5,"div",5,1),e.Z7z(7,oe,1,13,"mat-tab-body",6,e.fX1),e.k0s()}2&Re&&(e.Y8G("selectedIndex",Pe.selectedIndex||0)("disableRipple",Pe.disableRipple)("disablePagination",Pe.disablePagination),e.R7$(2),e.Dyx(Pe._tabs),e.R7$(2),e.vxM(Pe._isServer?4:-1),e.R7$(),e.AVh("_mat-animation-noopable","NoopAnimations"===Pe._animationMode),e.R7$(2),e.Dyx(Pe._tabs))},dependencies:[$e,_e,Y.vR,t.r6,x.I3,yt],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 Te})();class Ae{}let It=0,Qt=(()=>{class Te extends vt{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(Z){this._fitInkBarToContent.next(Z),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(Z){const Re=Z+"";this._animationDuration=/^\d+$/.test(Re)?Z+"ms":Re}get backgroundColor(){return this._backgroundColor}set backgroundColor(Z){const Re=this._elementRef.nativeElement.classList;Re.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Z&&Re.add("mat-tabs-with-background",`mat-background-${Z}`),this._backgroundColor=Z}constructor(Z,Re,Pe,pt,Ke,Fe,Ge,qe){super(Z,pt,Ke,Re,Pe,Fe,Ge),this._fitInkBarToContent=new O.t(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=!(!qe||null==qe.disablePagination)&&qe.disablePagination,this.fitInkBarToContent=!(!qe||null==qe.fitInkBarToContent)&&qe.fitInkBarToContent,this.stretchTabs=!qe||null==qe.stretchTabs||qe.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new ct(this._items),this._items.changes.pipe((0,ie.Z)(null),(0,Q.Q)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const Z=this._items.toArray();for(let Re=0;Re.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;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.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 Te})(),Tt=(()=>{class Te extends dt{get active(){return this._isActive}set active(Z){Z!==this._isActive&&(this._isActive=Z,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(Z,Re,Pe,pt,Ke,Fe){super(),this._tabNavBar=Z,this.elementRef=Re,this._focusMonitor=Ke,this._destroyed=new D.B,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id="mat-tab-link-"+It++,this.rippleConfig=Pe||{},this.tabIndex=parseInt(pt)||0,"NoopAnimations"===Fe&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),Z._fitInkBarToContent.pipe((0,Q.Q)(this._destroyed)).subscribe(Ge=>{this.fitInkBarToContent=Ge})}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(Z){(Z.keyCode===W.t6||Z.keyCode===W.Fm)&&(this.disabled?Z.preventDefault():this._tabNavBar.tabPanel&&(Z.keyCode===W.t6&&Z.preventDefault(),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.disabled?-1:this.tabIndex}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(Qt),e.rXU(e.aKT),e.rXU(t.$E,8),e.kS0("tabindex"),e.rXU(Y.FN),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:Te,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(Re,Pe){1&Re&&e.bIt("focus",function(){return Pe._handleFocus()})("keydown",function(Ke){return Pe._handleKeydown(Ke)}),2&Re&&(e.BMQ("aria-controls",Pe._getAriaControls())("aria-current",Pe._getAriaCurrent())("aria-disabled",Pe.disabled)("aria-selected",Pe._getAriaSelected())("id",Pe.id)("tabIndex",Pe._getTabIndex())("role",Pe._getRole()),e.AVh("mat-mdc-tab-disabled",Pe.disabled)("mdc-tab--active",Pe.active))},inputs:{active:[2,"active","active",e.L39],disabled:[2,"disabled","disabled",e.L39],disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",Z=>null==Z?0:(0,e.Udg)(Z)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[e.GFd,e.Vt3,e.aNF],attrs:se,ngContentSelectors:n,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(Re,Pe){1&Re&&(e.NAR(),e.nrm(0,"span",0)(1,"div",1),e.j41(2,"span",2)(3,"span",3),e.SdG(4),e.k0s()()),2&Re&&(e.R7$(),e.Y8G("matRippleTrigger",Pe.elementRef.nativeElement)("matRippleDisabled",Pe.rippleDisabled))},dependencies:[t.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 Te})(),xt=(()=>{class Te{constructor(){this.id="mat-tab-nav-panel-"+It++}static{this.\u0275fac=function(Re){return new(Re||Te)}}static{this.\u0275cmp=e.VBU({type:Te,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(Re,Pe){2&Re&&e.BMQ("aria-labelledby",Pe._activeTabId)("id",Pe.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[e.aNF],ngContentSelectors:n,decls:1,vars:0,template:function(Re,Pe){1&Re&&(e.NAR(),e.SdG(0))},encapsulation:2,changeDetection:0})}}return Te})(),Se=(()=>{class Te{static{this.\u0275fac=function(Re){return new(Re||Te)}}static{this.\u0275mod=e.$C({type:Te})}static{this.\u0275inj=e.G2t({imports:[t.yE,t.yE]})}}return Te})()},5911:(Qe,te,g)=>{"use strict";g.d(te,{KQ:()=>R,s5:()=>S});var e=g(4438),t=g(6600),x=g(6860),D=g(177);const l=["*",[["mat-toolbar-row"]]],w=["*","mat-toolbar-row"];let f=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275dir=e.FsC({type:y,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0})}}return y})(),R=(()=>{class y{constructor(I,V,j){this._elementRef=I,this._platform=V,this._document=j}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static{this.\u0275fac=function(V){return new(V||y)(e.rXU(e.aKT),e.rXU(x.OD),e.rXU(D.qQ))}}static{this.\u0275cmp=e.VBU({type:y,selectors:[["mat-toolbar"]],contentQueries:function(V,j,Y){if(1&V&&e.wni(Y,f,5),2&V){let W;e.mGM(W=e.lsd())&&(j._toolbarRows=W)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(V,j){2&V&&(e.HbH(j.color?"mat-"+j.color:""),e.AVh("mat-toolbar-multiple-rows",j._toolbarRows.length>0)("mat-toolbar-single-row",0===j._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[e.aNF],ngContentSelectors:w,decls:2,vars:0,template:function(V,j){1&V&&(e.NAR(l),e.SdG(0),e.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:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.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 y})(),S=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275mod=e.$C({type:y})}static{this.\u0275inj=e.G2t({imports:[t.yE,t.yE]})}}return y})()},4823:(Qe,te,g)=>{"use strict";g.d(te,{oV:()=>d,uc:()=>k});var e=g(6977),t=g(6697),x=g(4085),D=g(7336),l=g(4438),w=g(177),f=g(6860),R=g(8617),h=g(8203),S=g(6969),y=g(5542),O=g(6939),I=g(1413),j=(g(9969),g(6600));const Y=["tooltip"],J=new l.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const _=(0,l.WQX)(S.hJ);return()=>_.scrollStrategies.reposition({scrollThrottle:20})}}),ee={provide:J,deps:[S.hJ],useFactory:function ie(_){return()=>_.scrollStrategies.reposition({scrollThrottle:20})}},ne=new l.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function fe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Ce="tooltip-panel",le=(0,f.BQ)({passive:!0});let d=(()=>{class _{get position(){return this._position}set position(b){b!==this._position&&(this._position=b,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(b){this._positionAtOrigin=(0,x.he)(b),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(b){this._disabled=(0,x.he)(b),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(b){this._showDelay=(0,x.OE)(b)}get hideDelay(){return this._hideDelay}set hideDelay(b){this._hideDelay=(0,x.OE)(b),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(b){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=b?String(b).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(b){this._tooltipClass=b,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(b,z,N,q,pe,ze,Xe,We,oe,X,se,ae){this._overlay=b,this._elementRef=z,this._scrollDispatcher=N,this._viewContainerRef=q,this._ngZone=pe,this._platform=ze,this._ariaDescriber=Xe,this._focusMonitor=We,this._dir=X,this._defaultOptions=se,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=C,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new I.B,this._scrollStrategy=oe,this._document=ae,se&&(this._showDelay=se.showDelay,this._hideDelay=se.hideDelay,se.position&&(this.position=se.position),se.positionAtOrigin&&(this.positionAtOrigin=se.positionAtOrigin),se.touchGestures&&(this.touchGestures=se.touchGestures)),X.change.pipe((0,e.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,e.Q)(this._destroyed)).subscribe(b=>{b?"keyboard"===b&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const b=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([z,N])=>{b.removeEventListener(z,N,le)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(b,this.message,"tooltip"),this._focusMonitor.stopMonitoring(b)}show(b=this.showDelay,z){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const N=this._createOverlay(z);this._detach(),this._portal=this._portal||new O.A8(this._tooltipComponent,this._viewContainerRef);const q=this._tooltipInstance=N.attach(this._portal).instance;q._triggerElement=this._elementRef.nativeElement,q._mouseLeaveHideDelay=this._hideDelay,q.afterHidden().pipe((0,e.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),q.show(b)}hide(b=this.hideDelay){const z=this._tooltipInstance;z&&(z.isVisible()?z.hide(b):(z._cancelPendingAnimations(),this._detach()))}toggle(b){this._isTooltipVisible()?this.hide():this.show(void 0,b)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(b){if(this._overlayRef){const q=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!b)&&q._origin instanceof l.aKT)return this._overlayRef;this._detach()}const z=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),N=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&b||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(z);return N.positionChanges.pipe((0,e.Q)(this._destroyed)).subscribe(q=>{this._updateCurrentPositionClass(q.connectionPair),this._tooltipInstance&&q.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:N,panelClass:`${this._cssClassPrefix}-${Ce}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,e.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,e.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,e.Q)(this._destroyed)).subscribe(q=>{this._isTooltipVisible()&&q.keyCode===D._f&&!(0,D.rp)(q)&&(q.preventDefault(),q.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(b){const z=b.getConfig().positionStrategy,N=this._getOrigin(),q=this._getOverlayPosition();z.withPositions([this._addOffset({...N.main,...q.main}),this._addOffset({...N.fallback,...q.fallback})])}_addOffset(b){const N=!this._dir||"ltr"==this._dir.value;return"top"===b.originY?b.offsetY=-8:"bottom"===b.originY?b.offsetY=8:"start"===b.originX?b.offsetX=N?-8:8:"end"===b.originX&&(b.offsetX=N?8:-8),b}_getOrigin(){const b=!this._dir||"ltr"==this._dir.value,z=this.position;let N;"above"==z||"below"==z?N={originX:"center",originY:"above"==z?"top":"bottom"}:"before"==z||"left"==z&&b||"right"==z&&!b?N={originX:"start",originY:"center"}:("after"==z||"right"==z&&b||"left"==z&&!b)&&(N={originX:"end",originY:"center"});const{x:q,y:pe}=this._invertPosition(N.originX,N.originY);return{main:N,fallback:{originX:q,originY:pe}}}_getOverlayPosition(){const b=!this._dir||"ltr"==this._dir.value,z=this.position;let N;"above"==z?N={overlayX:"center",overlayY:"bottom"}:"below"==z?N={overlayX:"center",overlayY:"top"}:"before"==z||"left"==z&&b||"right"==z&&!b?N={overlayX:"end",overlayY:"center"}:("after"==z||"right"==z&&b||"left"==z&&!b)&&(N={overlayX:"start",overlayY:"center"});const{x:q,y:pe}=this._invertPosition(N.overlayX,N.overlayY);return{main:N,fallback:{overlayX:q,overlayY:pe}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,t.s)(1),(0,e.Q)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(b){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=b,this._tooltipInstance._markForCheck())}_invertPosition(b,z){return"above"===this.position||"below"===this.position?"top"===z?z="bottom":"bottom"===z&&(z="top"):"end"===b?b="start":"start"===b&&(b="end"),{x:b,y:z}}_updateCurrentPositionClass(b){const{overlayY:z,originX:N,originY:q}=b;let pe;if(pe="center"===z?this._dir&&"rtl"===this._dir.value?"end"===N?"left":"right":"start"===N?"left":"right":"bottom"===z&&"top"===q?"above":"below",pe!==this._currentPosition){const ze=this._overlayRef;if(ze){const Xe=`${this._cssClassPrefix}-${Ce}-`;ze.removePanelClass(Xe+this._currentPosition),ze.addPanelClass(Xe+pe)}this._currentPosition=pe}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",b=>{let z;this._setupPointerExitEventsIfNeeded(),void 0!==b.x&&void 0!==b.y&&(z=b),this.show(void 0,z)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",b=>{const z=b.targetTouches?.[0],N=z?{x:z.clientX,y:z.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,N),this._defaultOptions.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const b=[];if(this._platformSupportsMouseEvents())b.push(["mouseleave",z=>{const N=z.relatedTarget;(!N||!this._overlayRef?.overlayElement.contains(N))&&this.hide()}],["wheel",z=>this._wheelListener(z)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const z=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};b.push(["touchend",z],["touchcancel",z])}this._addListeners(b),this._passiveListeners.push(...b)}_addListeners(b){b.forEach(([z,N])=>{this._elementRef.nativeElement.addEventListener(z,N,le)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(b){if(this._isTooltipVisible()){const z=this._document.elementFromPoint(b.clientX,b.clientY),N=this._elementRef.nativeElement;z!==N&&!N.contains(z)&&this.hide()}}_disableNativeGesturesIfNecessary(){const b=this.touchGestures;if("off"!==b){const z=this._elementRef.nativeElement,N=z.style;("on"===b||"INPUT"!==z.nodeName&&"TEXTAREA"!==z.nodeName)&&(N.userSelect=N.msUserSelect=N.webkitUserSelect=N.MozUserSelect="none"),("on"===b||!z.draggable)&&(N.webkitUserDrag="none"),N.touchAction="none",N.webkitTapHighlightColor="transparent"}}static{this.\u0275fac=function(z){return new(z||_)(l.rXU(S.hJ),l.rXU(l.aKT),l.rXU(y.R),l.rXU(l.c1b),l.rXU(l.SKi),l.rXU(f.OD),l.rXU(R.vr),l.rXU(R.FN),l.rXU(J),l.rXU(h.dS),l.rXU(ne,8),l.rXU(w.qQ))}}static{this.\u0275dir=l.FsC({type:_,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(z,N){2&z&&l.AVh("mat-mdc-tooltip-disabled",N.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"],standalone:!0})}}return _})(),C=(()=>{class _{constructor(b,z,N){this._changeDetectorRef=b,this._elementRef=z,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new I.B,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===N}show(b){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},b)}hide(b){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},b)}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:b}){(!b||!this._triggerElement.contains(b))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const b=this._elementRef.nativeElement.getBoundingClientRect();return b.height>24&&b.width>=200}_handleAnimationEnd({animationName:b}){(b===this._showAnimation||b===this._hideAnimation)&&this._finalizeAnimation(b===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(b){b?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(b){const z=this._tooltip.nativeElement,N=this._showAnimation,q=this._hideAnimation;if(z.classList.remove(b?q:N),z.classList.add(b?N:q),this._isVisible!==b&&(this._isVisible=b,this._changeDetectorRef.markForCheck()),b&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const pe=getComputedStyle(z);("0s"===pe.getPropertyValue("animation-duration")||"none"===pe.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}b&&this._onShow(),this._animationsDisabled&&(z.classList.add("_mat-animation-noopable"),this._finalizeAnimation(b))}static{this.\u0275fac=function(z){return new(z||_)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.bc$,8))}}static{this.\u0275cmp=l.VBU({type:_,selectors:[["mat-tooltip-component"]],viewQuery:function(z,N){if(1&z&&l.GBs(Y,7),2&z){let q;l.mGM(q=l.lsd())&&(N._tooltip=q.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(z,N){1&z&&l.bIt("mouseleave",function(pe){return N._handleMouseLeave(pe)}),2&z&&l.xc7("zoom",N.isVisible()?1:null)},standalone:!0,features:[l.aNF],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(z,N){if(1&z){const q=l.RV6();l.j41(0,"div",1,0),l.bIt("animationend",function(ze){return l.eBV(q),l.Njj(N._handleAnimationEnd(ze))}),l.j41(2,"div",2),l.EFF(3),l.k0s()()}2&z&&(l.AVh("mdc-tooltip--multiline",N._isMultiline),l.Y8G("ngClass",N.tooltipClass),l.R7$(3),l.JRh(N.message))},dependencies:[w.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.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 _})(),k=(()=>{class _{static{this.\u0275fac=function(z){return new(z||_)}}static{this.\u0275mod=l.$C({type:_})}static{this.\u0275inj=l.G2t({providers:[ee],imports:[R.Pd,w.MD,S.z_,j.yE,j.yE,y.Gj]})}}return _})()},7358:(Qe,te,g)=>{"use strict";g.d(te,{Zh:()=>J,d6:()=>R,jH:()=>Y,lQ:()=>I,pO:()=>V,q1:()=>S,wx:()=>O,yI:()=>h});var e=g(4109),t=g(4438),x=g(6600),D=g(5024),l=g(4412),w=g(7786),f=g(6354);let R=(()=>{class ie extends e.xn{constructor(fe,ne,Me){super(fe,ne),this.disabled=!1,this.tabIndex=Number(Me)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(ne){return new(ne||ie)(t.rXU(t.aKT),t.rXU(e.NL),t.kS0("tabindex"))}}static{this.\u0275dir=t.FsC({type:ie,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{disabled:[2,"disabled","disabled",t.L39],tabIndex:[2,"tabIndex","tabIndex",fe=>null==fe?0:(0,t.Udg)(fe)]},exportAs:["matTreeNode"],standalone:!0,features:[t.Jv_([{provide:e.xn,useExisting:ie}]),t.GFd,t.Vt3]})}}return ie})(),h=(()=>{class ie extends e.Sz{static{this.\u0275fac=(()=>{let fe;return function(Me){return(fe||(fe=t.xGo(ie)))(Me||ie)}})()}static{this.\u0275dir=t.FsC({type:ie,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},standalone:!0,features:[t.Jv_([{provide:e.Sz,useExisting:ie}]),t.Vt3]})}}return ie})(),S=(()=>{class ie extends e.s3{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(fe){this._tabIndex=fe??0}constructor(fe,ne,Me,Ce){super(fe,ne,Me),this.disabled=!1,this.tabIndex=Number(Ce)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(ne){return new(ne||ie)(t.rXU(t.aKT),t.rXU(e.NL),t.rXU(t._q3),t.kS0("tabindex"))}}static{this.\u0275dir=t.FsC({type:ie,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{node:[0,"matNestedTreeNode","node"],disabled:[2,"disabled","disabled",t.L39],tabIndex:"tabIndex"},exportAs:["matNestedTreeNode"],standalone:!0,features:[t.Jv_([{provide:e.s3,useExisting:ie},{provide:e.xn,useExisting:ie},{provide:e.kZ,useExisting:ie}]),t.GFd,t.Vt3]})}}return ie})(),O=(()=>{class ie{constructor(fe,ne){this.viewContainer=fe,this._node=ne}static{this.\u0275fac=function(ne){return new(ne||ie)(t.rXU(t.c1b),t.rXU(e.kZ,8))}}static{this.\u0275dir=t.FsC({type:ie,selectors:[["","matTreeNodeOutlet",""]],standalone:!0,features:[t.Jv_([{provide:e.a$,useExisting:ie}])]})}}return ie})(),I=(()=>{class ie extends e.NL{constructor(){super(...arguments),this._nodeOutlet=void 0}static{this.\u0275fac=(()=>{let fe;return function(Me){return(fe||(fe=t.xGo(ie)))(Me||ie)}})()}static{this.\u0275cmp=t.VBU({type:ie,selectors:[["mat-tree"]],viewQuery:function(ne,Me){if(1&ne&&t.GBs(O,7),2&ne){let Ce;t.mGM(Ce=t.lsd())&&(Me._nodeOutlet=Ce.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],standalone:!0,features:[t.Jv_([{provide:e.NL,useExisting:ie}]),t.Vt3,t.aNF],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(ne,Me){1&ne&&t.eu8(0,0)},dependencies:[O],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 ie})(),V=(()=>{class ie extends e.Hy{static{this.\u0275fac=(()=>{let fe;return function(Me){return(fe||(fe=t.xGo(ie)))(Me||ie)}})()}static{this.\u0275dir=t.FsC({type:ie,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[t.Jv_([{provide:e.Hy,useExisting:ie}]),t.Vt3]})}}return ie})(),Y=(()=>{class ie{static{this.\u0275fac=function(ne){return new(ne||ie)}}static{this.\u0275mod=t.$C({type:ie})}static{this.\u0275inj=t.G2t({imports:[e.Dc,x.yE,x.yE]})}}return ie})();class J extends D.qS{constructor(){super(...arguments),this._data=new l.t([])}get data(){return this._data.value}set data(ee){this._data.next(ee)}connect(ee){return(0,w.h)(ee.viewChange,this._data).pipe((0,f.T)(()=>this.data))}disconnect(){}}},345:(Qe,te,g)=>{"use strict";g.d(te,{B7:()=>Ce,Bb:()=>Ie,fM:()=>nt,hE:()=>Ee,sG:()=>X,up:()=>qt});var e=g(177),t=g(4438);class x extends e.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class D extends x{static makeCurrent(){(0,e.ZD)(new D)}onAndCancel(Te,ce,Z){return Te.addEventListener(ce,Z),()=>{Te.removeEventListener(ce,Z)}}dispatchEvent(Te,ce){Te.dispatchEvent(ce)}remove(Te){Te.remove()}createElement(Te,ce){return(ce=ce||this.getDefaultDocument()).createElement(Te)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Te){return Te.nodeType===Node.ELEMENT_NODE}isShadowRoot(Te){return Te instanceof DocumentFragment}getGlobalEventTarget(Te,ce){return"window"===ce?window:"document"===ce?Te:"body"===ce?Te.body:null}getBaseHref(Te){const ce=function w(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==ce?null:function f(Se){return new URL(Se,document.baseURI).pathname}(ce)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(Te){return(0,e._b)(document.cookie,Te)}}let l=null,h=(()=>{class Se{build(){return new XMLHttpRequest}static{this.\u0275fac=function(Z){return new(Z||Se)}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})();const S=new t.nKC("");let y=(()=>{class Se{constructor(ce,Z){this._zone=Z,this._eventNameToPlugin=new Map,ce.forEach(Re=>{Re.manager=this}),this._plugins=ce.slice().reverse()}addEventListener(ce,Z,Re){return this._findPluginFor(Z).addEventListener(ce,Z,Re)}getZone(){return this._zone}_findPluginFor(ce){let Z=this._eventNameToPlugin.get(ce);if(Z)return Z;if(Z=this._plugins.find(Pe=>Pe.supports(ce)),!Z)throw new t.wOt(5101,!1);return this._eventNameToPlugin.set(ce,Z),Z}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(S),t.KVO(t.SKi))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})();class O{constructor(Te){this._doc=Te}}const I="ng-app-id";let V=(()=>{class Se{constructor(ce,Z,Re,Pe={}){this.doc=ce,this.appId=Z,this.nonce=Re,this.platformId=Pe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,e.Vy)(Pe),this.resetHostNodes()}addStyles(ce){for(const Z of ce)1===this.changeUsageCount(Z,1)&&this.onStyleAdded(Z)}removeStyles(ce){for(const Z of ce)this.changeUsageCount(Z,-1)<=0&&this.onStyleRemoved(Z)}ngOnDestroy(){const ce=this.styleNodesInDOM;ce&&(ce.forEach(Z=>Z.remove()),ce.clear());for(const Z of this.getAllStyles())this.onStyleRemoved(Z);this.resetHostNodes()}addHost(ce){this.hostNodes.add(ce);for(const Z of this.getAllStyles())this.addStyleToHost(ce,Z)}removeHost(ce){this.hostNodes.delete(ce)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(ce){for(const Z of this.hostNodes)this.addStyleToHost(Z,ce)}onStyleRemoved(ce){const Z=this.styleRef;Z.get(ce)?.elements?.forEach(Re=>Re.remove()),Z.delete(ce)}collectServerRenderedStyles(){const ce=this.doc.head?.querySelectorAll(`style[${I}="${this.appId}"]`);if(ce?.length){const Z=new Map;return ce.forEach(Re=>{null!=Re.textContent&&Z.set(Re.textContent,Re)}),Z}return null}changeUsageCount(ce,Z){const Re=this.styleRef;if(Re.has(ce)){const Pe=Re.get(ce);return Pe.usage+=Z,Pe.usage}return Re.set(ce,{usage:Z,elements:[]}),Z}getStyleElement(ce,Z){const Re=this.styleNodesInDOM,Pe=Re?.get(Z);if(Pe?.parentNode===ce)return Re.delete(Z),Pe.removeAttribute(I),Pe;{const pt=this.doc.createElement("style");return this.nonce&&pt.setAttribute("nonce",this.nonce),pt.textContent=Z,this.platformIsServer&&pt.setAttribute(I,this.appId),ce.appendChild(pt),pt}}addStyleToHost(ce,Z){const Re=this.getStyleElement(ce,Z),Pe=this.styleRef,pt=Pe.get(Z)?.elements;pt?pt.push(Re):Pe.set(Z,{elements:[Re],usage:1})}resetHostNodes(){const ce=this.hostNodes;ce.clear(),ce.add(this.doc.head)}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(e.qQ),t.KVO(t.sZ2),t.KVO(t.BIS,8),t.KVO(t.Agw))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})();const j={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Y=/%COMP%/g,W="%COMP%",Q=`_nghost-${W}`,J=`_ngcontent-${W}`,ee=new t.nKC("",{providedIn:"root",factory:()=>!0});function Me(Se,Te){return Te.map(ce=>ce.replace(Y,Se))}let Ce=(()=>{class Se{constructor(ce,Z,Re,Pe,pt,Ke,Fe,Ge=null){this.eventManager=ce,this.sharedStylesHost=Z,this.appId=Re,this.removeStylesOnCompDestroy=Pe,this.doc=pt,this.platformId=Ke,this.ngZone=Fe,this.nonce=Ge,this.rendererByCompId=new Map,this.platformIsServer=(0,e.Vy)(Ke),this.defaultRenderer=new le(ce,pt,Fe,this.platformIsServer)}createRenderer(ce,Z){if(!ce||!Z)return this.defaultRenderer;this.platformIsServer&&Z.encapsulation===t.gXe.ShadowDom&&(Z={...Z,encapsulation:t.gXe.Emulated});const Re=this.getOrCreateRenderer(ce,Z);return Re instanceof C?Re.applyToHost(ce):Re instanceof d&&Re.applyStyles(),Re}getOrCreateRenderer(ce,Z){const Re=this.rendererByCompId;let Pe=Re.get(Z.id);if(!Pe){const pt=this.doc,Ke=this.ngZone,Fe=this.eventManager,Ge=this.sharedStylesHost,qe=this.removeStylesOnCompDestroy,at=this.platformIsServer;switch(Z.encapsulation){case t.gXe.Emulated:Pe=new C(Fe,Ge,Z,this.appId,qe,pt,Ke,at);break;case t.gXe.ShadowDom:return new m(Fe,Ge,ce,Z,pt,Ke,this.nonce,at);default:Pe=new d(Fe,Ge,Z,qe,pt,Ke,at)}Re.set(Z.id,Pe)}return Pe}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(y),t.KVO(V),t.KVO(t.sZ2),t.KVO(ee),t.KVO(e.qQ),t.KVO(t.Agw),t.KVO(t.SKi),t.KVO(t.BIS))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})();class le{constructor(Te,ce,Z,Re){this.eventManager=Te,this.doc=ce,this.ngZone=Z,this.platformIsServer=Re,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Te,ce){return ce?this.doc.createElementNS(j[ce]||ce,Te):this.doc.createElement(Te)}createComment(Te){return this.doc.createComment(Te)}createText(Te){return this.doc.createTextNode(Te)}appendChild(Te,ce){(c(Te)?Te.content:Te).appendChild(ce)}insertBefore(Te,ce,Z){Te&&(c(Te)?Te.content:Te).insertBefore(ce,Z)}removeChild(Te,ce){ce.remove()}selectRootElement(Te,ce){let Z="string"==typeof Te?this.doc.querySelector(Te):Te;if(!Z)throw new t.wOt(-5104,!1);return ce||(Z.textContent=""),Z}parentNode(Te){return Te.parentNode}nextSibling(Te){return Te.nextSibling}setAttribute(Te,ce,Z,Re){if(Re){ce=Re+":"+ce;const Pe=j[Re];Pe?Te.setAttributeNS(Pe,ce,Z):Te.setAttribute(ce,Z)}else Te.setAttribute(ce,Z)}removeAttribute(Te,ce,Z){if(Z){const Re=j[Z];Re?Te.removeAttributeNS(Re,ce):Te.removeAttribute(`${Z}:${ce}`)}else Te.removeAttribute(ce)}addClass(Te,ce){Te.classList.add(ce)}removeClass(Te,ce){Te.classList.remove(ce)}setStyle(Te,ce,Z,Re){Re&(t.czy.DashCase|t.czy.Important)?Te.style.setProperty(ce,Z,Re&t.czy.Important?"important":""):Te.style[ce]=Z}removeStyle(Te,ce,Z){Z&t.czy.DashCase?Te.style.removeProperty(ce):Te.style[ce]=""}setProperty(Te,ce,Z){null!=Te&&(Te[ce]=Z)}setValue(Te,ce){Te.nodeValue=ce}listen(Te,ce,Z){if("string"==typeof Te&&!(Te=(0,e.QT)().getGlobalEventTarget(this.doc,Te)))throw new Error(`Unsupported event target ${Te} for event ${ce}`);return this.eventManager.addEventListener(Te,ce,this.decoratePreventDefault(Z))}decoratePreventDefault(Te){return ce=>{if("__ngUnwrap__"===ce)return Te;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Te(ce)):Te(ce))&&ce.preventDefault()}}}function c(Se){return"TEMPLATE"===Se.tagName&&void 0!==Se.content}class m extends le{constructor(Te,ce,Z,Re,Pe,pt,Ke,Fe){super(Te,Pe,pt,Fe),this.sharedStylesHost=ce,this.hostEl=Z,this.shadowRoot=Z.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ge=Me(Re.id,Re.styles);for(const qe of Ge){const at=document.createElement("style");Ke&&at.setAttribute("nonce",Ke),at.textContent=qe,this.shadowRoot.appendChild(at)}}nodeOrShadowRoot(Te){return Te===this.hostEl?this.shadowRoot:Te}appendChild(Te,ce){return super.appendChild(this.nodeOrShadowRoot(Te),ce)}insertBefore(Te,ce,Z){return super.insertBefore(this.nodeOrShadowRoot(Te),ce,Z)}removeChild(Te,ce){return super.removeChild(null,ce)}parentNode(Te){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Te)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class d extends le{constructor(Te,ce,Z,Re,Pe,pt,Ke,Fe){super(Te,Pe,pt,Ke),this.sharedStylesHost=ce,this.removeStylesOnCompDestroy=Re,this.styles=Fe?Me(Fe,Z.styles):Z.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class C extends d{constructor(Te,ce,Z,Re,Pe,pt,Ke,Fe){const Ge=Re+"-"+Z.id;super(Te,ce,Z,Pe,pt,Ke,Fe,Ge),this.contentAttr=function fe(Se){return J.replace(Y,Se)}(Ge),this.hostAttr=function ne(Se){return Q.replace(Y,Se)}(Ge)}applyToHost(Te){this.applyStyles(),this.setAttribute(Te,this.hostAttr,"")}createElement(Te,ce){const Z=super.createElement(Te,ce);return super.setAttribute(Z,this.contentAttr,""),Z}}let A=(()=>{class Se extends O{constructor(ce){super(ce)}supports(ce){return!0}addEventListener(ce,Z,Re){return ce.addEventListener(Z,Re,!1),()=>this.removeEventListener(ce,Z,Re)}removeEventListener(ce,Z,Re){return ce.removeEventListener(Z,Re)}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(e.qQ))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})();const k=["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"},a={alt:Se=>Se.altKey,control:Se=>Se.ctrlKey,meta:Se=>Se.metaKey,shift:Se=>Se.shiftKey};let b=(()=>{class Se extends O{constructor(ce){super(ce)}supports(ce){return null!=Se.parseEventName(ce)}addEventListener(ce,Z,Re){const Pe=Se.parseEventName(Z),pt=Se.eventCallback(Pe.fullKey,Re,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.QT)().onAndCancel(ce,Pe.domEventName,pt))}static parseEventName(ce){const Z=ce.toLowerCase().split("."),Re=Z.shift();if(0===Z.length||"keydown"!==Re&&"keyup"!==Re)return null;const Pe=Se._normalizeKey(Z.pop());let pt="",Ke=Z.indexOf("code");if(Ke>-1&&(Z.splice(Ke,1),pt="code."),k.forEach(Ge=>{const qe=Z.indexOf(Ge);qe>-1&&(Z.splice(qe,1),pt+=Ge+".")}),pt+=Pe,0!=Z.length||0===Pe.length)return null;const Fe={};return Fe.domEventName=Re,Fe.fullKey=pt,Fe}static matchEventFullKeyCode(ce,Z){let Re=_[ce.key]||ce.key,Pe="";return Z.indexOf("code.")>-1&&(Re=ce.code,Pe="code."),!(null==Re||!Re)&&(Re=Re.toLowerCase()," "===Re?Re="space":"."===Re&&(Re="dot"),k.forEach(pt=>{pt!==Re&&(0,a[pt])(ce)&&(Pe+=pt+".")}),Pe+=Re,Pe===Z)}static eventCallback(ce,Z,Re){return Pe=>{Se.matchEventFullKeyCode(Pe,ce)&&Re.runGuarded(()=>Z(Pe))}}static _normalizeKey(ce){return"esc"===ce?"escape":ce}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(e.qQ))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})();const X=(0,t.oH4)(t.fpN,"browser",[{provide:t.Agw,useValue:e.AJ},{provide:t.PLl,useValue:function ze(){D.makeCurrent()},multi:!0},{provide:e.qQ,useFactory:function We(){return(0,t.TL$)(document),document},deps:[]}]),se=new t.nKC(""),ae=[{provide:t.e01,useClass:class R{addToWindow(Te){t.JZv.getAngularTestability=(Z,Re=!0)=>{const Pe=Te.findTestabilityInTree(Z,Re);if(null==Pe)throw new t.wOt(5103,!1);return Pe},t.JZv.getAllAngularTestabilities=()=>Te.getAllTestabilities(),t.JZv.getAllAngularRootElements=()=>Te.getAllRootElements(),t.JZv.frameworkStabilizers||(t.JZv.frameworkStabilizers=[]),t.JZv.frameworkStabilizers.push(Z=>{const Re=t.JZv.getAllAngularTestabilities();let Pe=Re.length;const pt=function(){Pe--,0==Pe&&Z()};Re.forEach(Ke=>{Ke.whenStable(pt)})})}findTestabilityInTree(Te,ce,Z){return null==ce?null:Te.getTestability(ce)??(Z?(0,e.QT)().isShadowRoot(ce)?this.findTestabilityInTree(Te,ce.host,!0):this.findTestabilityInTree(Te,ce.parentElement,!0):null)}},deps:[]},{provide:t.WHO,useClass:t.NYb,deps:[t.SKi,t.giA,t.e01]},{provide:t.NYb,useClass:t.NYb,deps:[t.SKi,t.giA,t.e01]}],he=[{provide:t.H8p,useValue:"root"},{provide:t.zcH,useFactory:function Xe(){return new t.zcH},deps:[]},{provide:S,useClass:A,multi:!0,deps:[e.qQ,t.SKi,t.Agw]},{provide:S,useClass:b,multi:!0,deps:[e.qQ]},Ce,V,y,{provide:t._9s,useExisting:Ce},{provide:e.N0,useClass:h,deps:[]},[]];let Ie=(()=>{class Se{constructor(ce){}static withServerTransition(ce){return{ngModule:Se,providers:[{provide:t.sZ2,useValue:ce.appId}]}}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(se,12))}}static{this.\u0275mod=t.$C({type:Se})}static{this.\u0275inj=t.G2t({providers:[...he,...ae],imports:[e.MD,t.Hbi]})}}return Se})(),Ee=(()=>{class Se{constructor(ce){this._doc=ce}getTitle(){return this._doc.title}setTitle(ce){this._doc.title=ce||""}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(e.qQ))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac,providedIn:"root"})}}return Se})();const we={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Ue=new t.nKC("HammerGestureConfig"),je=new t.nKC("HammerLoader");let vt=(()=>{class Se{constructor(){this.events=[],this.overrides={}}buildHammer(ce){const Z=new Hammer(ce,this.options);Z.get("pinch").set({enable:!0}),Z.get("rotate").set({enable:!0});for(const Re in this.overrides)Z.get(Re).set(this.overrides[Re]);return Z}static{this.\u0275fac=function(Z){return new(Z||Se)}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})(),$e=(()=>{class Se extends O{constructor(ce,Z,Re,Pe){super(ce),this._config=Z,this.console=Re,this.loader=Pe,this._loaderPromise=null}supports(ce){return!(!we.hasOwnProperty(ce.toLowerCase())&&!this.isCustomEvent(ce)||!window.Hammer&&!this.loader)}addEventListener(ce,Z,Re){const Pe=this.manager.getZone();if(Z=Z.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Pe.runOutsideAngular(()=>this.loader());let pt=!1,Ke=()=>{pt=!0};return Pe.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?pt||(Ke=this.addEventListener(ce,Z,Re)):Ke=()=>{}}).catch(()=>{Ke=()=>{}})),()=>{Ke()}}return Pe.runOutsideAngular(()=>{const pt=this._config.buildHammer(ce),Ke=function(Fe){Pe.runGuarded(function(){Re(Fe)})};return pt.on(Z,Ke),()=>{pt.off(Z,Ke),"function"==typeof pt.destroy&&pt.destroy()}})}isCustomEvent(ce){return this._config.events.indexOf(ce)>-1}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(e.qQ),t.KVO(Ue),t.KVO(t.H3F),t.KVO(je,8))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})(),nt=(()=>{class Se{static{this.\u0275fac=function(Z){return new(Z||Se)}}static{this.\u0275mod=t.$C({type:Se})}static{this.\u0275inj=t.G2t({providers:[{provide:S,useClass:$e,multi:!0,deps:[e.qQ,Ue,t.H3F,[new t.Xx1,je]]},{provide:Ue,useClass:vt,deps:[]}]})}}return Se})(),qt=(()=>{class Se{static{this.\u0275fac=function(Z){return new(Z||Se)}}static{this.\u0275prov=t.jDH({token:Se,factory:function(Z){let Re=null;return Re=Z?new(Z||Se):t.KVO(Nt),Re},providedIn:"root"})}}return Se})(),Nt=(()=>{class Se extends qt{constructor(ce){super(),this._doc=ce}sanitize(ce,Z){if(null==Z)return null;switch(ce){case t.WPN.NONE:return Z;case t.WPN.HTML:return(0,t.ZF7)(Z,"HTML")?(0,t.rcV)(Z):(0,t.h9k)(this._doc,String(Z)).toString();case t.WPN.STYLE:return(0,t.ZF7)(Z,"Style")?(0,t.rcV)(Z):Z;case t.WPN.SCRIPT:if((0,t.ZF7)(Z,"Script"))return(0,t.rcV)(Z);throw new t.wOt(5200,!1);case t.WPN.URL:return(0,t.ZF7)(Z,"URL")?(0,t.rcV)(Z):(0,t.$MX)(String(Z));case t.WPN.RESOURCE_URL:if((0,t.ZF7)(Z,"ResourceURL"))return(0,t.rcV)(Z);throw new t.wOt(5201,!1);default:throw new t.wOt(5202,!1)}}bypassSecurityTrustHtml(ce){return(0,t.Kcf)(ce)}bypassSecurityTrustStyle(ce){return(0,t.cWb)(ce)}bypassSecurityTrustScript(ce){return(0,t.UyX)(ce)}bypassSecurityTrustUrl(ce){return(0,t.osQ)(ce)}bypassSecurityTrustResourceUrl(ce){return(0,t.e5t)(ce)}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(e.qQ))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac,providedIn:"root"})}}return Se})()},1188:(Qe,te,g)=>{"use strict";g.d(te,{nX:()=>hn,j5:()=>ii,wF:()=>ye,L6:()=>Gi,Z:()=>He,gx:()=>nr,Ix:()=>Fn,Wk:()=>Fi,wQ:()=>bn,iI:()=>mo,n3:()=>vo});var e=g(4438),t=g(4402),x=g(2806),D=g(7673),l=g(4412),w=g(4572),f=g(9350),R=g(8793),h=g(9030),S=g(1203),y=g(8810),O=g(983),I=g(17),V=g(1413),j=g(8359),Y=g(177),W=g(6354),Q=g(5558),J=g(6697),ie=g(9172),ee=g(5964),fe=g(1397),ne=g(1594),Me=g(274),Ce=g(8141),le=g(9437),T=g(2816),n=g(9901),c=g(9974),m=g(4360);function d(ge){return ge<=0?()=>O.w:(0,c.N)((De,be)=>{let Ne=[];De.subscribe((0,m._)(be,ft=>{Ne.push(ft),ge{for(const ft of Ne)be.next(ft);be.complete()},void 0,()=>{Ne=null}))})}var C=g(3774),A=g(3669),_=g(3703),a=g(980),b=g(9898),z=g(6977),N=g(6365),q=g(345);const pe="primary",ze=Symbol("RouteTitle");class Xe{constructor(De){this.params=De||{}}has(De){return Object.prototype.hasOwnProperty.call(this.params,De)}get(De){if(this.has(De)){const be=this.params[De];return Array.isArray(be)?be[0]:be}return null}getAll(De){if(this.has(De)){const be=this.params[De];return Array.isArray(be)?be:[be]}return[]}get keys(){return Object.keys(this.params)}}function We(ge){return new Xe(ge)}function oe(ge,De,be){const Ne=be.path.split("/");if(Ne.length>ge.length||"full"===be.pathMatch&&(De.hasChildren()||Ne.lengthNe[Rt]===ft)}return ge===De}function Ie(ge){return ge.length>0?ge[ge.length-1]:null}function st(ge){return(0,t.A)(ge)?ge:(0,e.jNT)(ge)?(0,x.H)(Promise.resolve(ge)):(0,D.of)(ge)}const me={exact:function Ct(ge,De,be){if(!vt(ge.segments,De.segments)||!ve(ge.segments,De.segments,be)||ge.numberOfChildren!==De.numberOfChildren)return!1;for(const Ne in De.children)if(!ge.children[Ne]||!Ct(ge.children[Ne],De.children[Ne],be))return!1;return!0},subset:dt},Ee={exact:function Be(ge,De){return se(ge,De)},subset:function ct(ge,De){return Object.keys(De).length<=Object.keys(ge).length&&Object.keys(De).every(be=>he(ge[be],De[be]))},ignored:()=>!0};function ue(ge,De,be){return me[be.paths](ge.root,De.root,be.matrixParams)&&Ee[be.queryParams](ge.queryParams,De.queryParams)&&!("exact"===be.fragment&&ge.fragment!==De.fragment)}function dt(ge,De,be){return Yt(ge,De,De.segments,be)}function Yt(ge,De,be,Ne){if(ge.segments.length>be.length){const ft=ge.segments.slice(0,be.length);return!(!vt(ft,be)||De.hasChildren()||!ve(ft,be,Ne))}if(ge.segments.length===be.length){if(!vt(ge.segments,be)||!ve(ge.segments,be,Ne))return!1;for(const ft in De.children)if(!ge.children[ft]||!dt(ge.children[ft],De.children[ft],Ne))return!1;return!0}{const ft=be.slice(0,ge.segments.length),Rt=be.slice(ge.segments.length);return!!(vt(ge.segments,ft)&&ve(ge.segments,ft,Ne)&&ge.children[pe])&&Yt(ge.children[pe],De,Rt,Ne)}}function ve(ge,De,be){return De.every((Ne,ft)=>Ee[be](ge[ft].parameters,Ne.parameters))}class _e{constructor(De=new we([],{}),be={},Ne=null){this.root=De,this.queryParams=be,this.fragment=Ne}get queryParamMap(){return this._queryParamMap??=We(this.queryParams),this._queryParamMap}toString(){return Nt.serialize(this)}}class we{constructor(De,be){this.segments=De,this.children=be,this.parent=null,Object.values(be).forEach(Ne=>Ne.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return yt(this)}}class Ue{constructor(De,be){this.path=De,this.parameters=be}get parameterMap(){return this._parameterMap??=We(this.parameters),this._parameterMap}toString(){return xt(this)}}function vt(ge,De){return ge.length===De.length&&ge.every((be,Ne)=>be.path===De[Ne].path)}let nt=(()=>{class ge{static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>new qt,providedIn:"root"})}}return ge})();class qt{parse(De){const be=new qe(De);return new _e(be.parseRootSegment(),be.parseQueryParams(),be.parseFragment())}serialize(De){const be=`/${jt(De.root,!0)}`,Ne=function Te(ge){const De=Object.entries(ge).map(([be,Ne])=>Array.isArray(Ne)?Ne.map(ft=>`${et(be)}=${et(ft)}`).join("&"):`${et(be)}=${et(Ne)}`).filter(be=>be);return De.length?`?${De.join("&")}`:""}(De.queryParams);return`${be}${Ne}${"string"==typeof De.fragment?`#${function Ae(ge){return encodeURI(ge)}(De.fragment)}`:""}`}}const Nt=new qt;function yt(ge){return ge.segments.map(De=>xt(De)).join("/")}function jt(ge,De){if(!ge.hasChildren())return yt(ge);if(De){const be=ge.children[pe]?jt(ge.children[pe],!1):"",Ne=[];return Object.entries(ge.children).forEach(([ft,Rt])=>{ft!==pe&&Ne.push(`${ft}:${jt(Rt,!1)}`)}),Ne.length>0?`${be}(${Ne.join("//")})`:be}{const be=function $e(ge,De){let be=[];return Object.entries(ge.children).forEach(([Ne,ft])=>{Ne===pe&&(be=be.concat(De(ft,Ne)))}),Object.entries(ge.children).forEach(([Ne,ft])=>{Ne!==pe&&(be=be.concat(De(ft,Ne)))}),be}(ge,(Ne,ft)=>ft===pe?[jt(ge.children[pe],!1)]:[`${ft}:${jt(Ne,!1)}`]);return 1===Object.keys(ge.children).length&&null!=ge.children[pe]?`${yt(ge)}/${be[0]}`:`${yt(ge)}/(${be.join("//")})`}}function Je(ge){return encodeURIComponent(ge).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function et(ge){return Je(ge).replace(/%3B/gi,";")}function It(ge){return Je(ge).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qt(ge){return decodeURIComponent(ge)}function Tt(ge){return Qt(ge.replace(/\+/g,"%20"))}function xt(ge){return`${It(ge.path)}${function Se(ge){return Object.entries(ge).map(([De,be])=>`;${It(De)}=${It(be)}`).join("")}(ge.parameters)}`}const ce=/^[^\/()?;#]+/;function Z(ge){const De=ge.match(ce);return De?De[0]:""}const Re=/^[^\/()?;=#]+/,pt=/^[^=?&#]+/,Fe=/^[^&#]+/;class qe{constructor(De){this.url=De,this.remaining=De}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new we([],{}):new we([],this.parseChildren())}parseQueryParams(){const De={};if(this.consumeOptional("?"))do{this.parseQueryParam(De)}while(this.consumeOptional("&"));return De}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const De=[];for(this.peekStartsWith("(")||De.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),De.push(this.parseSegment());let be={};this.peekStartsWith("/(")&&(this.capture("/"),be=this.parseParens(!0));let Ne={};return this.peekStartsWith("(")&&(Ne=this.parseParens(!1)),(De.length>0||Object.keys(be).length>0)&&(Ne[pe]=new we(De,be)),Ne}parseSegment(){const De=Z(this.remaining);if(""===De&&this.peekStartsWith(";"))throw new e.wOt(4009,!1);return this.capture(De),new Ue(Qt(De),this.parseMatrixParams())}parseMatrixParams(){const De={};for(;this.consumeOptional(";");)this.parseParam(De);return De}parseParam(De){const be=function Pe(ge){const De=ge.match(Re);return De?De[0]:""}(this.remaining);if(!be)return;this.capture(be);let Ne="";if(this.consumeOptional("=")){const ft=Z(this.remaining);ft&&(Ne=ft,this.capture(Ne))}De[Qt(be)]=Qt(Ne)}parseQueryParam(De){const be=function Ke(ge){const De=ge.match(pt);return De?De[0]:""}(this.remaining);if(!be)return;this.capture(be);let Ne="";if(this.consumeOptional("=")){const Jt=function Ge(ge){const De=ge.match(Fe);return De?De[0]:""}(this.remaining);Jt&&(Ne=Jt,this.capture(Ne))}const ft=Tt(be),Rt=Tt(Ne);if(De.hasOwnProperty(ft)){let Jt=De[ft];Array.isArray(Jt)||(Jt=[Jt],De[ft]=Jt),Jt.push(Rt)}else De[ft]=Rt}parseParens(De){const be={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Ne=Z(this.remaining),ft=this.remaining[Ne.length];if("/"!==ft&&")"!==ft&&";"!==ft)throw new e.wOt(4010,!1);let Rt;Ne.indexOf(":")>-1?(Rt=Ne.slice(0,Ne.indexOf(":")),this.capture(Rt),this.capture(":")):De&&(Rt=pe);const Jt=this.parseChildren();be[Rt]=1===Object.keys(Jt).length?Jt[pe]:new we([],Jt),this.consumeOptional("//")}return be}peekStartsWith(De){return this.remaining.startsWith(De)}consumeOptional(De){return!!this.peekStartsWith(De)&&(this.remaining=this.remaining.substring(De.length),!0)}capture(De){if(!this.consumeOptional(De))throw new e.wOt(4011,!1)}}function at(ge){return ge.segments.length>0?new we([],{[pe]:ge}):ge}function Lt(ge){const De={};for(const[Ne,ft]of Object.entries(ge.children)){const Rt=Lt(ft);if(Ne===pe&&0===Rt.segments.length&&Rt.hasChildren())for(const[Jt,Mi]of Object.entries(Rt.children))De[Jt]=Mi;else(Rt.segments.length>0||Rt.hasChildren())&&(De[Ne]=Rt)}return function pi(ge){if(1===ge.numberOfChildren&&ge.children[pe]){const De=ge.children[pe];return new we(ge.segments.concat(De.segments),De.children)}return ge}(new we(ge.segments,De))}function $t(ge){return ge instanceof _e}function Ui(ge){let De;const ft=at(function be(Rt){const Jt={};for(const bi of Rt.children){const cn=be(bi);Jt[bi.outlet]=cn}const Mi=new we(Rt.url,Jt);return Rt===ge&&(De=Mi),Mi}(ge.root));return De??ft}function ti(ge,De,be,Ne){let ft=ge;for(;ft.parent;)ft=ft.parent;if(0===De.length)return tn(ft,ft,ft,be,Ne);const Rt=function Xt(ge){if("string"==typeof ge[0]&&1===ge.length&&"/"===ge[0])return new Qi(!0,0,ge);let De=0,be=!1;const Ne=ge.reduce((ft,Rt,Jt)=>{if("object"==typeof Rt&&null!=Rt){if(Rt.outlets){const Mi={};return Object.entries(Rt.outlets).forEach(([bi,cn])=>{Mi[bi]="string"==typeof cn?cn.split("/"):cn}),[...ft,{outlets:Mi}]}if(Rt.segmentPath)return[...ft,Rt.segmentPath]}return"string"!=typeof Rt?[...ft,Rt]:0===Jt?(Rt.split("/").forEach((Mi,bi)=>{0==bi&&"."===Mi||(0==bi&&""===Mi?be=!0:".."===Mi?De++:""!=Mi&&ft.push(Mi))}),ft):[...ft,Rt]},[]);return new Qi(be,De,Ne)}(De);if(Rt.toRoot())return tn(ft,ft,new we([],{}),be,Ne);const Jt=function tt(ge,De,be){if(ge.isAbsolute)return new St(De,!0,0);if(!be)return new St(De,!1,NaN);if(null===be.parent)return new St(be,!0,0);const Ne=fi(ge.commands[0])?0:1;return function ot(ge,De,be){let Ne=ge,ft=De,Rt=be;for(;Rt>ft;){if(Rt-=ft,Ne=Ne.parent,!Ne)throw new e.wOt(4005,!1);ft=Ne.segments.length}return new St(Ne,!1,ft-Rt)}(be,be.segments.length-1+Ne,ge.numberOfDoubleDots)}(Rt,ft,ge),Mi=Jt.processChildren?Ci(Jt.segmentGroup,Jt.index,Rt.commands):Bt(Jt.segmentGroup,Jt.index,Rt.commands);return tn(ft,Jt.segmentGroup,Mi,be,Ne)}function fi(ge){return"object"==typeof ge&&null!=ge&&!ge.outlets&&!ge.segmentPath}function xn(ge){return"object"==typeof ge&&null!=ge&&ge.outlets}function tn(ge,De,be,Ne,ft){let Jt,Rt={};Ne&&Object.entries(Ne).forEach(([bi,cn])=>{Rt[bi]=Array.isArray(cn)?cn.map(Pn=>`${Pn}`):`${cn}`}),Jt=ge===De?be:Vi(ge,De,be);const Mi=at(Lt(Jt));return new _e(Mi,Rt,ft)}function Vi(ge,De,be){const Ne={};return Object.entries(ge.children).forEach(([ft,Rt])=>{Ne[ft]=Rt===De?be:Vi(Rt,De,be)}),new we(ge.segments,Ne)}class Qi{constructor(De,be,Ne){if(this.isAbsolute=De,this.numberOfDoubleDots=be,this.commands=Ne,De&&Ne.length>0&&fi(Ne[0]))throw new e.wOt(4003,!1);const ft=Ne.find(xn);if(ft&&ft!==Ie(Ne))throw new e.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class St{constructor(De,be,Ne){this.segmentGroup=De,this.processChildren=be,this.index=Ne}}function Bt(ge,De,be){if(ge??=new we([],{}),0===ge.segments.length&&ge.hasChildren())return Ci(ge,De,be);const Ne=function Ti(ge,De,be){let Ne=0,ft=De;const Rt={match:!1,pathIndex:0,commandIndex:0};for(;ft=be.length)return Rt;const Jt=ge.segments[ft],Mi=be[Ne];if(xn(Mi))break;const bi=`${Mi}`,cn=Ne0&&void 0===bi)break;if(bi&&cn&&"object"==typeof cn&&void 0===cn.outlets){if(!mn(bi,cn,Jt))return Rt;Ne+=2}else{if(!mn(bi,{},Jt))return Rt;Ne++}ft++}return{match:!0,pathIndex:ft,commandIndex:Ne}}(ge,De,be),ft=be.slice(Ne.commandIndex);if(Ne.match&&Ne.pathIndexRt!==pe)&&ge.children[pe]&&1===ge.numberOfChildren&&0===ge.children[pe].segments.length){const Rt=Ci(ge.children[pe],De,be);return new we(ge.segments,Rt.children)}return Object.entries(Ne).forEach(([Rt,Jt])=>{"string"==typeof Jt&&(Jt=[Jt]),null!==Jt&&(ft[Rt]=Bt(ge.children[Rt],De,Jt))}),Object.entries(ge.children).forEach(([Rt,Jt])=>{void 0===Ne[Rt]&&(ft[Rt]=Jt)}),new we(ge.segments,ft)}}function Hi(ge,De,be){const Ne=ge.segments.slice(0,De);let ft=0;for(;ft{"string"==typeof Ne&&(Ne=[Ne]),null!==Ne&&(De[be]=Hi(new we([],{}),0,Ne))}),De}function ln(ge){const De={};return Object.entries(ge).forEach(([be,Ne])=>De[be]=`${Ne}`),De}function mn(ge,De,be){return ge==be.path&&se(De,be.parameters)}const Ut="imperative";var lt=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}(lt||{});class re{constructor(De,be){this.id=De,this.url=be}}class He extends re{constructor(De,be,Ne="imperative",ft=null){super(De,be),this.type=lt.NavigationStart,this.navigationTrigger=Ne,this.restoredState=ft}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ye extends re{constructor(De,be,Ne){super(De,be),this.urlAfterRedirects=Ne,this.type=lt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var rt=function(ge){return ge[ge.Redirect=0]="Redirect",ge[ge.SupersededByNewNavigation=1]="SupersededByNewNavigation",ge[ge.NoDataFromResolver=2]="NoDataFromResolver",ge[ge.GuardRejected=3]="GuardRejected",ge}(rt||{}),ht=function(ge){return ge[ge.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",ge[ge.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",ge}(ht||{});class ii extends re{constructor(De,be,Ne,ft){super(De,be),this.reason=Ne,this.code=ft,this.type=lt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class di extends re{constructor(De,be,Ne,ft){super(De,be),this.reason=Ne,this.code=ft,this.type=lt.NavigationSkipped}}class Gi extends re{constructor(De,be,Ne,ft){super(De,be),this.error=Ne,this.target=ft,this.type=lt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Cn extends re{constructor(De,be,Ne,ft){super(De,be),this.urlAfterRedirects=Ne,this.state=ft,this.type=lt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hn extends re{constructor(De,be,Ne,ft){super(De,be),this.urlAfterRedirects=Ne,this.state=ft,this.type=lt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qn extends re{constructor(De,be,Ne,ft,Rt){super(De,be),this.urlAfterRedirects=Ne,this.state=ft,this.shouldActivate=Rt,this.type=lt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Jn extends re{constructor(De,be,Ne,ft){super(De,be),this.urlAfterRedirects=Ne,this.state=ft,this.type=lt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nr extends re{constructor(De,be,Ne,ft){super(De,be),this.urlAfterRedirects=Ne,this.state=ft,this.type=lt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dr{constructor(De){this.route=De,this.type=lt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class wn{constructor(De){this.route=De,this.type=lt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ai{constructor(De){this.snapshot=De,this.type=lt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yi{constructor(De){this.snapshot=De,this.type=lt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ft{constructor(De){this.snapshot=De,this.type=lt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mi{constructor(De){this.snapshot=De,this.type=lt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gi{constructor(De,be,Ne){this.routerEvent=De,this.position=be,this.anchor=Ne,this.type=lt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class xi{}class Ni{constructor(De,be){this.url=De,this.navigationBehaviorOptions=be}}function qr(ge){return ge.outlet||pe}function Ma(ge){if(!ge)return null;if(ge.routeConfig?._injector)return ge.routeConfig._injector;for(let De=ge.parent;De;De=De.parent){const be=De.routeConfig;if(be?._loadedInjector)return be._loadedInjector;if(be?._injector)return be._injector}return null}class Ds{get injector(){return Ma(this.route?.snapshot)??this.rootInjector}set injector(De){}constructor(De){this.rootInjector=De,this.outlet=null,this.route=null,this.children=new Or(this.rootInjector),this.attachRef=null}}let Or=(()=>{class ge{constructor(be){this.rootInjector=be,this.contexts=new Map}onChildOutletCreated(be,Ne){const ft=this.getOrCreateContext(be);ft.outlet=Ne,this.contexts.set(be,ft)}onChildOutletDestroyed(be){const Ne=this.getContext(be);Ne&&(Ne.outlet=null,Ne.attachRef=null)}onOutletDeactivated(){const be=this.contexts;return this.contexts=new Map,be}onOutletReAttached(be){this.contexts=be}getOrCreateContext(be){let Ne=this.getContext(be);return Ne||(Ne=new Ds(this.rootInjector),this.contexts.set(be,Ne)),Ne}getContext(be){return this.contexts.get(be)||null}static{this.\u0275fac=function(Ne){return new(Ne||ge)(e.KVO(e.uvJ))}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();class hs{constructor(De){this._root=De}get root(){return this._root.value}parent(De){const be=this.pathFromRoot(De);return be.length>1?be[be.length-2]:null}children(De){const be=za(De,this._root);return be?be.children.map(Ne=>Ne.value):[]}firstChild(De){const be=za(De,this._root);return be&&be.children.length>0?be.children[0].value:null}siblings(De){const be=Fr(De,this._root);return be.length<2?[]:be[be.length-2].children.map(ft=>ft.value).filter(ft=>ft!==De)}pathFromRoot(De){return Fr(De,this._root).map(be=>be.value)}}function za(ge,De){if(ge===De.value)return De;for(const be of De.children){const Ne=za(ge,be);if(Ne)return Ne}return null}function Fr(ge,De){if(ge===De.value)return[De];for(const be of De.children){const Ne=Fr(ge,be);if(Ne.length)return Ne.unshift(De),Ne}return[]}class Ur{constructor(De,be){this.value=De,this.children=be}toString(){return`TreeNode(${this.value})`}}function yr(ge){const De={};return ge&&ge.children.forEach(be=>De[be.value.outlet]=be),De}class Ya extends hs{constructor(De,be){super(De),this.snapshot=be,ea(this,De)}toString(){return this.snapshot.toString()}}function xr(ge){const De=function ua(ge){const Rt=new Ba([],{},{},"",{},pe,ge,null,{});return new Ao("",new Ur(Rt,[]))}(ge),be=new l.t([new Ue("",{})]),Ne=new l.t({}),ft=new l.t({}),Rt=new l.t({}),Jt=new l.t(""),Mi=new hn(be,Ne,Rt,Jt,ft,pe,ge,De.root);return Mi.snapshot=De.root,new Ya(new Ur(Mi,[]),De)}class hn{constructor(De,be,Ne,ft,Rt,Jt,Mi,bi){this.urlSubject=De,this.paramsSubject=be,this.queryParamsSubject=Ne,this.fragmentSubject=ft,this.dataSubject=Rt,this.outlet=Jt,this.component=Mi,this._futureSnapshot=bi,this.title=this.dataSubject?.pipe((0,W.T)(cn=>cn[ze]))??(0,D.of)(void 0),this.url=De,this.params=be,this.queryParams=Ne,this.fragment=ft,this.data=Rt}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,W.T)(De=>We(De))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,W.T)(De=>We(De))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Do(ge,De,be="emptyOnly"){let Ne;const{routeConfig:ft}=ge;return Ne=null===De||"always"!==be&&""!==ft?.path&&(De.component||De.routeConfig?.loadComponent)?{params:{...ge.params},data:{...ge.data},resolve:{...ge.data,...ge._resolvedData??{}}}:{params:{...De.params,...ge.params},data:{...De.data,...ge.data},resolve:{...ge.data,...De.data,...ft?.data,...ge._resolvedData}},ft&&fo(ft)&&(Ne.resolve[ze]=ft.title),Ne}class Ba{get title(){return this.data?.[ze]}constructor(De,be,Ne,ft,Rt,Jt,Mi,bi,cn){this.url=De,this.params=be,this.queryParams=Ne,this.fragment=ft,this.data=Rt,this.outlet=Jt,this.component=Mi,this.routeConfig=bi,this._resolve=cn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=We(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=We(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Ne=>Ne.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ao extends hs{constructor(De,be){super(be),this.url=De,ea(this,be)}toString(){return _o(this._root)}}function ea(ge,De){De.value._routerState=ge,De.children.forEach(be=>ea(ge,be))}function _o(ge){const De=ge.children.length>0?` { ${ge.children.map(_o).join(", ")} } `:"";return`${ge.value}${De}`}function Va(ge){if(ge.snapshot){const De=ge.snapshot,be=ge._futureSnapshot;ge.snapshot=be,se(De.queryParams,be.queryParams)||ge.queryParamsSubject.next(be.queryParams),De.fragment!==be.fragment&&ge.fragmentSubject.next(be.fragment),se(De.params,be.params)||ge.paramsSubject.next(be.params),function X(ge,De){if(ge.length!==De.length)return!1;for(let be=0;bese(be.parameters,De[Ne].parameters))}(ge.url,De.url);return be&&!(!ge.parent!=!De.parent)&&(!ge.parent||ko(ge.parent,De.parent))}function fo(ge){return"string"==typeof ge.title||null===ge.title}let vo=(()=>{class ge{constructor(){this.activated=null,this._activatedRoute=null,this.name=pe,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)(Or),this.location=(0,e.WQX)(e.c1b),this.changeDetector=(0,e.WQX)(e.gRc),this.inputBinder=(0,e.WQX)(Ea,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(be){if(be.name){const{firstChange:Ne,previousValue:ft}=be.name;if(Ne)return;this.isTrackedInParentContexts(ft)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ft)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(be){return this.parentContexts.getContext(be)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const be=this.parentContexts.getContext(this.name);be?.route&&(be.attachRef?this.attach(be.attachRef,be.route):this.activateWith(be.route,be.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 be=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(be.instance),be}attach(be,Ne){this.activated=be,this._activatedRoute=Ne,this.location.insert(be.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(be.instance)}deactivate(){if(this.activated){const be=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(be)}}activateWith(be,Ne){if(this.isActivated)throw new e.wOt(4013,!1);this._activatedRoute=be;const ft=this.location,Jt=be.snapshot.component,Mi=this.parentContexts.getOrCreateContext(this.name).children,bi=new zr(be,Mi,ft.injector);this.activated=ft.createComponent(Jt,{index:ft.length,injector:bi,environmentInjector:Ne}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(Ne){return new(Ne||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 zr{__ngOutletInjector(De){return new zr(this.route,this.childContexts,De)}constructor(De,be,Ne){this.route=De,this.childContexts=be,this.parent=Ne}get(De,be){return De===hn?this.route:De===Or?this.childContexts:this.parent.get(De,be)}}const Ea=new e.nKC("");let fa=(()=>{class ge{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(be){this.unsubscribeFromRouteData(be),this.subscribeToRouteData(be)}unsubscribeFromRouteData(be){this.outletDataSubscriptions.get(be)?.unsubscribe(),this.outletDataSubscriptions.delete(be)}subscribeToRouteData(be){const{activatedRoute:Ne}=be,ft=(0,w.z)([Ne.queryParams,Ne.params,Ne.data]).pipe((0,Q.n)(([Rt,Jt,Mi],bi)=>(Mi={...Rt,...Jt,...Mi},0===bi?(0,D.of)(Mi):Promise.resolve(Mi)))).subscribe(Rt=>{if(!be.isActivated||!be.activatedComponentRef||be.activatedRoute!==Ne||null===Ne.component)return void this.unsubscribeFromRouteData(be);const Jt=(0,e.HJs)(Ne.component);if(Jt)for(const{templateName:Mi}of Jt.inputs)be.activatedComponentRef.setInput(Mi,Rt[Mi]);else this.unsubscribeFromRouteData(be)});this.outletDataSubscriptions.set(be,ft)}static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac})}}return ge})();function Ar(ge,De,be){if(be&&ge.shouldReuseRoute(De.value,be.value.snapshot)){const Ne=be.value;Ne._futureSnapshot=De.value;const ft=function Io(ge,De,be){return De.children.map(Ne=>{for(const ft of be.children)if(ge.shouldReuseRoute(Ne.value,ft.value.snapshot))return Ar(ge,Ne,ft);return Ar(ge,Ne)})}(ge,De,be);return new Ur(Ne,ft)}{if(ge.shouldAttach(De.value)){const Rt=ge.retrieve(De.value);if(null!==Rt){const Jt=Rt.route;return Jt.value._futureSnapshot=De.value,Jt.children=De.children.map(Mi=>Ar(ge,Mi)),Jt}}const Ne=function Ua(ge){return new hn(new l.t(ge.url),new l.t(ge.params),new l.t(ge.queryParams),new l.t(ge.fragment),new l.t(ge.data),ge.outlet,ge.component,ge)}(De.value),ft=De.children.map(Rt=>Ar(ge,Rt));return new Ur(Ne,ft)}}class ma{constructor(De,be){this.redirectTo=De,this.navigationBehaviorOptions=be}}const no="ngNavigationCancelingError";function ta(ge,De){const{redirectTo:be,navigationBehaviorOptions:Ne}=$t(De)?{redirectTo:De,navigationBehaviorOptions:void 0}:De,ft=Ro(!1,rt.Redirect);return ft.url=be,ft.navigationBehaviorOptions=Ne,ft}function Ro(ge,De){const be=new Error(`NavigationCancelingError: ${ge||""}`);return be[no]=!0,be.cancellationCode=De,be}function bo(ge){return!!ge&&ge[no]}class yo{constructor(De,be,Ne,ft,Rt){this.routeReuseStrategy=De,this.futureState=be,this.currState=Ne,this.forwardEvent=ft,this.inputBindingEnabled=Rt}activate(De){const be=this.futureState._root,Ne=this.currState?this.currState._root:null;this.deactivateChildRoutes(be,Ne,De),Va(this.futureState.root),this.activateChildRoutes(be,Ne,De)}deactivateChildRoutes(De,be,Ne){const ft=yr(be);De.children.forEach(Rt=>{const Jt=Rt.value.outlet;this.deactivateRoutes(Rt,ft[Jt],Ne),delete ft[Jt]}),Object.values(ft).forEach(Rt=>{this.deactivateRouteAndItsChildren(Rt,Ne)})}deactivateRoutes(De,be,Ne){const ft=De.value,Rt=be?be.value:null;if(ft===Rt)if(ft.component){const Jt=Ne.getContext(ft.outlet);Jt&&this.deactivateChildRoutes(De,be,Jt.children)}else this.deactivateChildRoutes(De,be,Ne);else Rt&&this.deactivateRouteAndItsChildren(be,Ne)}deactivateRouteAndItsChildren(De,be){De.value.component&&this.routeReuseStrategy.shouldDetach(De.value.snapshot)?this.detachAndStoreRouteSubtree(De,be):this.deactivateRouteAndOutlet(De,be)}detachAndStoreRouteSubtree(De,be){const Ne=be.getContext(De.value.outlet),ft=Ne&&De.value.component?Ne.children:be,Rt=yr(De);for(const Jt of Object.values(Rt))this.deactivateRouteAndItsChildren(Jt,ft);if(Ne&&Ne.outlet){const Jt=Ne.outlet.detach(),Mi=Ne.children.onOutletDeactivated();this.routeReuseStrategy.store(De.value.snapshot,{componentRef:Jt,route:De,contexts:Mi})}}deactivateRouteAndOutlet(De,be){const Ne=be.getContext(De.value.outlet),ft=Ne&&De.value.component?Ne.children:be,Rt=yr(De);for(const Jt of Object.values(Rt))this.deactivateRouteAndItsChildren(Jt,ft);Ne&&(Ne.outlet&&(Ne.outlet.deactivate(),Ne.children.onOutletDeactivated()),Ne.attachRef=null,Ne.route=null)}activateChildRoutes(De,be,Ne){const ft=yr(be);De.children.forEach(Rt=>{this.activateRoutes(Rt,ft[Rt.value.outlet],Ne),this.forwardEvent(new mi(Rt.value.snapshot))}),De.children.length&&this.forwardEvent(new Yi(De.value.snapshot))}activateRoutes(De,be,Ne){const ft=De.value,Rt=be?be.value:null;if(Va(ft),ft===Rt)if(ft.component){const Jt=Ne.getOrCreateContext(ft.outlet);this.activateChildRoutes(De,be,Jt.children)}else this.activateChildRoutes(De,be,Ne);else if(ft.component){const Jt=Ne.getOrCreateContext(ft.outlet);if(this.routeReuseStrategy.shouldAttach(ft.snapshot)){const Mi=this.routeReuseStrategy.retrieve(ft.snapshot);this.routeReuseStrategy.store(ft.snapshot,null),Jt.children.onOutletReAttached(Mi.contexts),Jt.attachRef=Mi.componentRef,Jt.route=Mi.route.value,Jt.outlet&&Jt.outlet.attach(Mi.componentRef,Mi.route.value),Va(Mi.route.value),this.activateChildRoutes(De,null,Jt.children)}else Jt.attachRef=null,Jt.route=ft,Jt.outlet&&Jt.outlet.activateWith(ft,Jt.injector),this.activateChildRoutes(De,null,Jt.children)}else this.activateChildRoutes(De,null,Ne)}}class ro{constructor(De){this.path=De,this.route=this.path[this.path.length-1]}}class Ka{constructor(De,be){this.component=De,this.route=be}}function Ga(ge,De,be){const Ne=ge._root;return Bo(Ne,De?De._root:null,be,[Ne.value])}function ia(ge,De){const be=Symbol(),Ne=De.get(ge,be);return Ne===be?"function"!=typeof ge||(0,e.LfX)(ge)?De.get(ge):ge:Ne}function Bo(ge,De,be,Ne,ft={canDeactivateChecks:[],canActivateChecks:[]}){const Rt=yr(De);return ge.children.forEach(Jt=>{(function Ot(ge,De,be,Ne,ft={canDeactivateChecks:[],canActivateChecks:[]}){const Rt=ge.value,Jt=De?De.value:null,Mi=be?be.getContext(ge.value.outlet):null;if(Jt&&Rt.routeConfig===Jt.routeConfig){const bi=function si(ge,De,be){if("function"==typeof be)return be(ge,De);switch(be){case"pathParamsChange":return!vt(ge.url,De.url);case"pathParamsOrQueryParamsChange":return!vt(ge.url,De.url)||!se(ge.queryParams,De.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ko(ge,De)||!se(ge.queryParams,De.queryParams);default:return!ko(ge,De)}}(Jt,Rt,Rt.routeConfig.runGuardsAndResolvers);bi?ft.canActivateChecks.push(new ro(Ne)):(Rt.data=Jt.data,Rt._resolvedData=Jt._resolvedData),Bo(ge,De,Rt.component?Mi?Mi.children:null:be,Ne,ft),bi&&Mi&&Mi.outlet&&Mi.outlet.isActivated&&ft.canDeactivateChecks.push(new Ka(Mi.outlet.component,Jt))}else Jt&&wt(De,Mi,ft),ft.canActivateChecks.push(new ro(Ne)),Bo(ge,null,Rt.component?Mi?Mi.children:null:be,Ne,ft)})(Jt,Rt[Jt.value.outlet],be,Ne.concat([Jt.value]),ft),delete Rt[Jt.value.outlet]}),Object.entries(Rt).forEach(([Jt,Mi])=>wt(Mi,be.getContext(Jt),ft)),ft}function wt(ge,De,be){const Ne=yr(ge),ft=ge.value;Object.entries(Ne).forEach(([Rt,Jt])=>{wt(Jt,ft.component?De?De.children.getContext(Rt):null:De,be)}),be.canDeactivateChecks.push(new Ka(ft.component&&De&&De.outlet&&De.outlet.isActivated?De.outlet.component:null,ft))}function ni(ge){return"function"==typeof ge}function Zo(ge){return ge instanceof f.G||"EmptyError"===ge?.name}const $a=Symbol("INITIAL_VALUE");function Vo(){return(0,Q.n)(ge=>(0,w.z)(ge.map(De=>De.pipe((0,J.s)(1),(0,ie.Z)($a)))).pipe((0,W.T)(De=>{for(const be of De)if(!0!==be){if(be===$a)return $a;if(!1===be||Gr(be))return be}return!0}),(0,ee.p)(De=>De!==$a),(0,J.s)(1)))}function Gr(ge){return $t(ge)||ge instanceof ma}function Cr(ge){return(0,S.F)((0,Ce.M)(De=>{if("boolean"!=typeof De)throw ta(0,De)}),(0,W.T)(De=>!0===De))}class _c{constructor(De){this.segmentGroup=De||null}}class ks extends Error{constructor(De){super(),this.urlTree=De}}function Uo(ge){return(0,y.$)(new _c(ge))}class us{constructor(De,be){this.urlSerializer=De,this.urlTree=be}lineralizeSegments(De,be){let Ne=[],ft=be.root;for(;;){if(Ne=Ne.concat(ft.segments),0===ft.numberOfChildren)return(0,D.of)(Ne);if(ft.numberOfChildren>1||!ft.children[pe])return(0,y.$)(new e.wOt(4e3,!1));ft=ft.children[pe]}}applyRedirectCommands(De,be,Ne,ft,Rt){if("string"!=typeof be){const Mi=be,{queryParams:bi,fragment:cn,routeConfig:Pn,url:zn,outlet:Er,params:Cs,data:Sa,title:xc}=ft,Ta=(0,e.N4e)(Rt,()=>Mi({params:Cs,data:Sa,queryParams:bi,fragment:cn,routeConfig:Pn,url:zn,outlet:Er,title:xc}));if(Ta instanceof _e)throw new ks(Ta);be=Ta}const Jt=this.applyRedirectCreateUrlTree(be,this.urlSerializer.parse(be),De,Ne);if("/"===be[0])throw new ks(Jt);return Jt}applyRedirectCreateUrlTree(De,be,Ne,ft){const Rt=this.createSegmentGroup(De,be.root,Ne,ft);return new _e(Rt,this.createQueryParams(be.queryParams,this.urlTree.queryParams),be.fragment)}createQueryParams(De,be){const Ne={};return Object.entries(De).forEach(([ft,Rt])=>{if("string"==typeof Rt&&":"===Rt[0]){const Mi=Rt.substring(1);Ne[ft]=be[Mi]}else Ne[ft]=Rt}),Ne}createSegmentGroup(De,be,Ne,ft){const Rt=this.createSegments(De,be.segments,Ne,ft);let Jt={};return Object.entries(be.children).forEach(([Mi,bi])=>{Jt[Mi]=this.createSegmentGroup(De,bi,Ne,ft)}),new we(Rt,Jt)}createSegments(De,be,Ne,ft){return be.map(Rt=>":"===Rt.path[0]?this.findPosParam(De,Rt,ft):this.findOrReturn(Rt,Ne))}findPosParam(De,be,Ne){const ft=Ne[be.path.substring(1)];if(!ft)throw new e.wOt(4001,!1);return ft}findOrReturn(De,be){let Ne=0;for(const ft of be){if(ft.path===De.path)return be.splice(Ne),ft;Ne++}return De}}const vs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Us(ge,De,be,Ne,ft){const Rt=jn(ge,De,be);return Rt.matched?(Ne=function On(ge,De){return ge.providers&&!ge._injector&&(ge._injector=(0,e.Ol2)(ge.providers,De,`Route: ${ge.path}`)),ge._injector??De}(De,Ne),function Qa(ge,De,be,Ne){const ft=De.canMatch;if(!ft||0===ft.length)return(0,D.of)(!0);const Rt=ft.map(Jt=>{const Mi=ia(Jt,ge);return st(function ao(ge){return ge&&ni(ge.canMatch)}(Mi)?Mi.canMatch(De,be):(0,e.N4e)(ge,()=>Mi(De,be)))});return(0,D.of)(Rt).pipe(Vo(),Cr())}(Ne,De,be).pipe((0,W.T)(Jt=>!0===Jt?Rt:{...vs}))):(0,D.of)(Rt)}function jn(ge,De,be){if("**"===De.path)return function na(ge){return{matched:!0,parameters:ge.length>0?Ie(ge).parameters:{},consumedSegments:ge,remainingSegments:[],positionalParamSegments:{}}}(be);if(""===De.path)return"full"===De.pathMatch&&(ge.hasChildren()||be.length>0)?{...vs}:{matched:!0,consumedSegments:[],remainingSegments:be,parameters:{},positionalParamSegments:{}};const ft=(De.matcher||oe)(be,ge,De);if(!ft)return{...vs};const Rt={};Object.entries(ft.posParams??{}).forEach(([Mi,bi])=>{Rt[Mi]=bi.path});const Jt=ft.consumed.length>0?{...Rt,...ft.consumed[ft.consumed.length-1].parameters}:Rt;return{matched:!0,consumedSegments:ft.consumed,remainingSegments:be.slice(ft.consumed.length),parameters:Jt,positionalParamSegments:ft.posParams??{}}}function Nr(ge,De,be,Ne){return be.length>0&&function dn(ge,De,be){return be.some(Ne=>qo(ge,De,Ne)&&qr(Ne)!==pe)}(ge,be,Ne)?{segmentGroup:new we(De,_a(Ne,new we(be,ge.children))),slicedSegments:[]}:0===be.length&&function Is(ge,De,be){return be.some(Ne=>qo(ge,De,Ne))}(ge,be,Ne)?{segmentGroup:new we(ge.segments,ca(ge,be,Ne,ge.children)),slicedSegments:be}:{segmentGroup:new we(ge.segments,ge.children),slicedSegments:be}}function ca(ge,De,be,Ne){const ft={};for(const Rt of be)if(qo(ge,De,Rt)&&!Ne[qr(Rt)]){const Jt=new we([],{});ft[qr(Rt)]=Jt}return{...Ne,...ft}}function _a(ge,De){const be={};be[pe]=De;for(const Ne of ge)if(""===Ne.path&&qr(Ne)!==pe){const ft=new we([],{});be[qr(Ne)]=ft}return be}function qo(ge,De,be){return(!(ge.hasChildren()||De.length>0)||"full"!==be.pathMatch)&&""===be.path}class rc{}class bs{constructor(De,be,Ne,ft,Rt,Jt,Mi){this.injector=De,this.configLoader=be,this.rootComponentType=Ne,this.config=ft,this.urlTree=Rt,this.paramsInheritanceStrategy=Jt,this.urlSerializer=Mi,this.applyRedirects=new us(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(De){return new e.wOt(4002,`'${De.segmentGroup}'`)}recognize(){const De=Nr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(De).pipe((0,W.T)(({children:be,rootSnapshot:Ne})=>{const ft=new Ur(Ne,be),Rt=new Ao("",ft),Jt=function Kt(ge,De,be=null,Ne=null){return ti(Ui(ge),De,be,Ne)}(Ne,[],this.urlTree.queryParams,this.urlTree.fragment);return Jt.queryParams=this.urlTree.queryParams,Rt.url=this.urlSerializer.serialize(Jt),{state:Rt,tree:Jt}}))}match(De){const be=new Ba([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),pe,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,De,pe,be).pipe((0,W.T)(Ne=>({children:Ne,rootSnapshot:be})),(0,le.W)(Ne=>{if(Ne instanceof ks)return this.urlTree=Ne.urlTree,this.match(Ne.urlTree.root);throw Ne instanceof _c?this.noMatchError(Ne):Ne}))}processSegmentGroup(De,be,Ne,ft,Rt){return 0===Ne.segments.length&&Ne.hasChildren()?this.processChildren(De,be,Ne,Rt):this.processSegment(De,be,Ne,Ne.segments,ft,!0,Rt).pipe((0,W.T)(Jt=>Jt instanceof Ur?[Jt]:[]))}processChildren(De,be,Ne,ft){const Rt=[];for(const Jt of Object.keys(Ne.children))"primary"===Jt?Rt.unshift(Jt):Rt.push(Jt);return(0,x.H)(Rt).pipe((0,Me.H)(Jt=>{const Mi=Ne.children[Jt],bi=function _s(ge,De){const be=ge.filter(Ne=>qr(Ne)===De);return be.push(...ge.filter(Ne=>qr(Ne)!==De)),be}(be,Jt);return this.processSegmentGroup(De,bi,Mi,Jt,ft)}),(0,T.S)((Jt,Mi)=>(Jt.push(...Mi),Jt)),(0,n.U)(null),function k(ge,De){const be=arguments.length>=2;return Ne=>Ne.pipe(ge?(0,ee.p)((ft,Rt)=>ge(ft,Rt,Ne)):A.D,d(1),be?(0,n.U)(De):(0,C.v)(()=>new f.G))}(),(0,fe.Z)(Jt=>{if(null===Jt)return Uo(Ne);const Mi=el(Jt);return function Fc(ge){ge.sort((De,be)=>De.value.outlet===pe?-1:be.value.outlet===pe?1:De.value.outlet.localeCompare(be.value.outlet))}(Mi),(0,D.of)(Mi)}))}processSegment(De,be,Ne,ft,Rt,Jt,Mi){return(0,x.H)(be).pipe((0,Me.H)(bi=>this.processSegmentAgainstRoute(bi._injector??De,be,bi,Ne,ft,Rt,Jt,Mi).pipe((0,le.W)(cn=>{if(cn instanceof _c)return(0,D.of)(null);throw cn}))),(0,ne.$)(bi=>!!bi),(0,le.W)(bi=>{if(Zo(bi))return function vc(ge,De,be){return 0===De.length&&!ge.children[be]}(Ne,ft,Rt)?(0,D.of)(new rc):Uo(Ne);throw bi}))}processSegmentAgainstRoute(De,be,Ne,ft,Rt,Jt,Mi,bi){return qr(Ne)===Jt||Jt!==pe&&qo(ft,Rt,Ne)?void 0===Ne.redirectTo?this.matchSegmentAgainstRoute(De,ft,Ne,Rt,Jt,bi):this.allowRedirects&&Mi?this.expandSegmentAgainstRouteUsingRedirect(De,ft,be,Ne,Rt,Jt,bi):Uo(ft):Uo(ft)}expandSegmentAgainstRouteUsingRedirect(De,be,Ne,ft,Rt,Jt,Mi){const{matched:bi,parameters:cn,consumedSegments:Pn,positionalParamSegments:zn,remainingSegments:Er}=jn(be,ft,Rt);if(!bi)return Uo(be);"string"==typeof ft.redirectTo&&"/"===ft.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Cs=new Ba(Rt,cn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Gs(ft),qr(ft),ft.component??ft._loadedComponent??null,ft,Hs(ft)),Sa=Do(Cs,Mi,this.paramsInheritanceStrategy);Cs.params=Object.freeze(Sa.params),Cs.data=Object.freeze(Sa.data);const xc=this.applyRedirects.applyRedirectCommands(Pn,ft.redirectTo,zn,Cs,De);return this.applyRedirects.lineralizeSegments(ft,xc).pipe((0,fe.Z)(Ta=>this.processSegment(De,Ne,be,Ta.concat(Er),Jt,!1,Mi)))}matchSegmentAgainstRoute(De,be,Ne,ft,Rt,Jt){const Mi=Us(be,Ne,ft,De);return"**"===Ne.path&&(be.children={}),Mi.pipe((0,Q.n)(bi=>bi.matched?this.getChildConfig(De=Ne._injector??De,Ne,ft).pipe((0,Q.n)(({routes:cn})=>{const Pn=Ne._loadedInjector??De,{parameters:zn,consumedSegments:Er,remainingSegments:Cs}=bi,Sa=new Ba(Er,zn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Gs(Ne),qr(Ne),Ne.component??Ne._loadedComponent??null,Ne,Hs(Ne)),xc=Do(Sa,Jt,this.paramsInheritanceStrategy);Sa.params=Object.freeze(xc.params),Sa.data=Object.freeze(xc.data);const{segmentGroup:Ta,slicedSegments:wo}=Nr(be,Er,Cs,cn);if(0===wo.length&&Ta.hasChildren())return this.processChildren(Pn,cn,Ta,Sa).pipe((0,W.T)(Cc=>new Ur(Sa,Cc)));if(0===cn.length&&0===wo.length)return(0,D.of)(new Ur(Sa,[]));const Ll=qr(Ne)===Rt;return this.processSegment(Pn,cn,Ta,wo,Ll?pe:Rt,!0,Sa).pipe((0,W.T)(Cc=>new Ur(Sa,Cc instanceof Ur?[Cc]:[])))})):Uo(be)))}getChildConfig(De,be,Ne){return be.children?(0,D.of)({routes:be.children,injector:De}):be.loadChildren?void 0!==be._loadedRoutes?(0,D.of)({routes:be._loadedRoutes,injector:be._loadedInjector}):function Oo(ge,De,be,Ne){const ft=De.canLoad;if(void 0===ft||0===ft.length)return(0,D.of)(!0);const Rt=ft.map(Jt=>{const Mi=ia(Jt,ge);return st(function Ji(ge){return ge&&ni(ge.canLoad)}(Mi)?Mi.canLoad(De,be):(0,e.N4e)(ge,()=>Mi(De,be)))});return(0,D.of)(Rt).pipe(Vo(),Cr())}(De,be,Ne).pipe((0,fe.Z)(ft=>ft?this.configLoader.loadChildren(De,be).pipe((0,Ce.M)(Rt=>{be._loadedRoutes=Rt.routes,be._loadedInjector=Rt.injector})):function Jo(){return(0,y.$)(Ro(!1,rt.GuardRejected))}())):(0,D.of)({routes:[],injector:De})}}function ac(ge){const De=ge.value.routeConfig;return De&&""===De.path}function el(ge){const De=[],be=new Set;for(const Ne of ge){if(!ac(Ne)){De.push(Ne);continue}const ft=De.find(Rt=>Ne.value.routeConfig===Rt.value.routeConfig);void 0!==ft?(ft.children.push(...Ne.children),be.add(ft)):De.push(Ne)}for(const Ne of be){const ft=el(Ne.children);De.push(new Ur(Ne.value,ft))}return De.filter(Ne=>!be.has(Ne))}function Gs(ge){return ge.data||{}}function Hs(ge){return ge.resolve||{}}function es(ge){const De=ge.children.map(be=>es(be)).flat();return[ge,...De]}function ys(ge){return(0,Q.n)(De=>{const be=ge(De);return be?(0,x.H)(be).pipe((0,W.T)(()=>De)):(0,D.of)(De)})}let sc=(()=>{class ge{buildTitle(be){let Ne,ft=be.root;for(;void 0!==ft;)Ne=this.getResolvedTitleForRoute(ft)??Ne,ft=ft.children.find(Rt=>Rt.outlet===pe);return Ne}getResolvedTitleForRoute(be){return be.data[ze]}static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>(0,e.WQX)(zc),providedIn:"root"})}}return ge})(),zc=(()=>{class ge extends sc{constructor(be){super(),this.title=be}updateTitle(be){const Ne=this.buildTitle(be);void 0!==Ne&&this.title.setTitle(Ne)}static{this.\u0275fac=function(Ne){return new(Ne||ge)(e.KVO(q.hE))}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();const Za=new e.nKC("",{providedIn:"root",factory:()=>({})});let Rs=(()=>{class ge{static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275cmp=e.VBU({type:ge,selectors:[["ng-component"]],standalone:!0,features:[e.aNF],decls:1,vars:0,template:function(Ne,ft){1&Ne&&e.nrm(0,"router-outlet")},dependencies:[vo],encapsulation:2})}}return ge})();function bc(ge){const De=ge.children&&ge.children.map(bc),be=De?{...ge,children:De}:{...ge};return!be.component&&!be.loadComponent&&(De||be.loadChildren)&&be.outlet&&be.outlet!==pe&&(be.component=Rs),be}const Ys=new e.nKC("");let tl=(()=>{class ge{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.WQX)(e.Ql9)}loadComponent(be){if(this.componentLoaders.get(be))return this.componentLoaders.get(be);if(be._loadedComponent)return(0,D.of)(be._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(be);const Ne=st(be.loadComponent()).pipe((0,W.T)(Ht),(0,Ce.M)(Rt=>{this.onLoadEndListener&&this.onLoadEndListener(be),be._loadedComponent=Rt}),(0,a.j)(()=>{this.componentLoaders.delete(be)})),ft=new I.G(Ne,()=>new V.B).pipe((0,b.B)());return this.componentLoaders.set(be,ft),ft}loadChildren(be,Ne){if(this.childrenLoaders.get(Ne))return this.childrenLoaders.get(Ne);if(Ne._loadedRoutes)return(0,D.of)({routes:Ne._loadedRoutes,injector:Ne._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Ne);const Rt=function mt(ge,De,be,Ne){return st(ge.loadChildren()).pipe((0,W.T)(Ht),(0,fe.Z)(ft=>ft instanceof e.Co$||Array.isArray(ft)?(0,D.of)(ft):(0,x.H)(De.compileModuleAsync(ft))),(0,W.T)(ft=>{Ne&&Ne(ge);let Rt,Jt,Mi=!1;return Array.isArray(ft)?(Jt=ft,!0):(Rt=ft.create(be).injector,Jt=Rt.get(Ys,[],{optional:!0,self:!0}).flat()),{routes:Jt.map(bc),injector:Rt}}))}(Ne,this.compiler,be,this.onLoadEndListener).pipe((0,a.j)(()=>{this.childrenLoaders.delete(Ne)})),Jt=new I.G(Rt,()=>new V.B).pipe((0,b.B)());return this.childrenLoaders.set(Ne,Jt),Jt}static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();function Ht(ge){return function Vt(ge){return ge&&"object"==typeof ge&&"default"in ge}(ge)?ge.default:ge}let ei=(()=>{class ge{static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>(0,e.WQX)(ci),providedIn:"root"})}}return ge})(),ci=(()=>{class ge{shouldProcessUrl(be){return!0}extract(be){return be}merge(be,Ne){return be}static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();const yi=new e.nKC(""),Oi=new e.nKC("");function ji(ge,De,be){const Ne=ge.get(Oi),ft=ge.get(Y.qQ);return ge.get(e.SKi).runOutsideAngular(()=>{if(!ft.startViewTransition||Ne.skipNextTransition)return Ne.skipNextTransition=!1,new Promise(cn=>setTimeout(cn));let Rt;const Jt=new Promise(cn=>{Rt=cn}),Mi=ft.startViewTransition(()=>(Rt(),function pn(ge){return new Promise(De=>{(0,e.mal)({read:()=>setTimeout(De)},{injector:ge})})}(ge))),{onViewTransitionCreated:bi}=Ne;return bi&&(0,e.N4e)(ge,()=>bi({transition:Mi,from:De,to:be})),Jt})}const _n=new e.nKC("");let Wn=(()=>{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)(tl),this.environmentInjector=(0,e.WQX)(e.uvJ),this.urlSerializer=(0,e.WQX)(nt),this.rootContexts=(0,e.WQX)(Or),this.location=(0,e.WQX)(Y.aZ),this.inputBindingEnabled=null!==(0,e.WQX)(Ea,{optional:!0}),this.titleStrategy=(0,e.WQX)(sc),this.options=(0,e.WQX)(Za,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,e.WQX)(ei),this.createViewTransition=(0,e.WQX)(yi,{optional:!0}),this.navigationErrorHandler=(0,e.WQX)(_n,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,D.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ft=>this.events.next(new wn(ft)),this.configLoader.onLoadStartListener=ft=>this.events.next(new dr(ft))}complete(){this.transitions?.complete()}handleNavigationRequest(be){const Ne=++this.navigationId;this.transitions?.next({...this.transitions.value,...be,id:Ne})}setupNavigations(be,Ne,ft){return this.transitions=new l.t({id:0,currentUrlTree:Ne,currentRawUrl:Ne,extractedUrl:this.urlHandlingStrategy.extract(Ne),urlAfterRedirects:this.urlHandlingStrategy.extract(Ne),rawUrl:Ne,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Ut,restoredState:null,currentSnapshot:ft.snapshot,targetSnapshot:null,currentRouterState:ft,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ee.p)(Rt=>0!==Rt.id),(0,W.T)(Rt=>({...Rt,extractedUrl:this.urlHandlingStrategy.extract(Rt.rawUrl)})),(0,Q.n)(Rt=>{let Jt=!1,Mi=!1;return(0,D.of)(Rt).pipe((0,Q.n)(bi=>{if(this.navigationId>Rt.id)return this.cancelNavigationTransition(Rt,"",rt.SupersededByNewNavigation),O.w;this.currentTransition=Rt,this.currentNavigation={id:bi.id,initialUrl:bi.rawUrl,extractedUrl:bi.extractedUrl,targetBrowserUrl:"string"==typeof bi.extras.browserUrl?this.urlSerializer.parse(bi.extras.browserUrl):bi.extras.browserUrl,trigger:bi.source,extras:bi.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const cn=!be.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!cn&&"reload"!==(bi.extras.onSameUrlNavigation??be.onSameUrlNavigation)){const zn="";return this.events.next(new di(bi.id,this.urlSerializer.serialize(bi.rawUrl),zn,ht.IgnoredSameUrlNavigation)),bi.resolve(!1),O.w}if(this.urlHandlingStrategy.shouldProcessUrl(bi.rawUrl))return(0,D.of)(bi).pipe((0,Q.n)(zn=>{const Er=this.transitions?.getValue();return this.events.next(new He(zn.id,this.urlSerializer.serialize(zn.extractedUrl),zn.source,zn.restoredState)),Er!==this.transitions?.getValue()?O.w:Promise.resolve(zn)}),function js(ge,De,be,Ne,ft,Rt){return(0,fe.Z)(Jt=>function xo(ge,De,be,Ne,ft,Rt,Jt="emptyOnly"){return new bs(ge,De,be,Ne,ft,Jt,Rt).recognize()}(ge,De,be,Ne,Jt.extractedUrl,ft,Rt).pipe((0,W.T)(({state:Mi,tree:bi})=>({...Jt,targetSnapshot:Mi,urlAfterRedirects:bi}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,be.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Ce.M)(zn=>{Rt.targetSnapshot=zn.targetSnapshot,Rt.urlAfterRedirects=zn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:zn.urlAfterRedirects};const Er=new Cn(zn.id,this.urlSerializer.serialize(zn.extractedUrl),this.urlSerializer.serialize(zn.urlAfterRedirects),zn.targetSnapshot);this.events.next(Er)}));if(cn&&this.urlHandlingStrategy.shouldProcessUrl(bi.currentRawUrl)){const{id:zn,extractedUrl:Er,source:Cs,restoredState:Sa,extras:xc}=bi,Ta=new He(zn,this.urlSerializer.serialize(Er),Cs,Sa);this.events.next(Ta);const wo=xr(this.rootComponentType).snapshot;return this.currentTransition=Rt={...bi,targetSnapshot:wo,urlAfterRedirects:Er,extras:{...xc,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Er,(0,D.of)(Rt)}{const zn="";return this.events.next(new di(bi.id,this.urlSerializer.serialize(bi.extractedUrl),zn,ht.IgnoredByUrlHandlingStrategy)),bi.resolve(!1),O.w}}),(0,Ce.M)(bi=>{const cn=new Hn(bi.id,this.urlSerializer.serialize(bi.extractedUrl),this.urlSerializer.serialize(bi.urlAfterRedirects),bi.targetSnapshot);this.events.next(cn)}),(0,W.T)(bi=>(this.currentTransition=Rt={...bi,guards:Ga(bi.targetSnapshot,bi.currentSnapshot,this.rootContexts)},Rt)),function Pi(ge,De){return(0,fe.Z)(be=>{const{targetSnapshot:Ne,currentSnapshot:ft,guards:{canActivateChecks:Rt,canDeactivateChecks:Jt}}=be;return 0===Jt.length&&0===Rt.length?(0,D.of)({...be,guardsResult:!0}):function it(ge,De,be,Ne){return(0,x.H)(ge).pipe((0,fe.Z)(ft=>function er(ge,De,be,Ne,ft){const Rt=De&&De.routeConfig?De.routeConfig.canDeactivate:null;if(!Rt||0===Rt.length)return(0,D.of)(!0);const Jt=Rt.map(Mi=>{const bi=Ma(De)??ft,cn=ia(Mi,bi);return st(function Ra(ge){return ge&&ni(ge.canDeactivate)}(cn)?cn.canDeactivate(ge,De,be,Ne):(0,e.N4e)(bi,()=>cn(ge,De,be,Ne))).pipe((0,ne.$)())});return(0,D.of)(Jt).pipe(Vo())}(ft.component,ft.route,be,De,Ne)),(0,ne.$)(ft=>!0!==ft,!0))}(Jt,Ne,ft,ge).pipe((0,fe.Z)(Mi=>Mi&&function Ei(ge){return"boolean"==typeof ge}(Mi)?function ut(ge,De,be,Ne){return(0,x.H)(De).pipe((0,Me.H)(ft=>(0,R.x)(function Dt(ge,De){return null!==ge&&De&&De(new Ai(ge)),(0,D.of)(!0)}(ft.route.parent,Ne),function Ve(ge,De){return null!==ge&&De&&De(new Ft(ge)),(0,D.of)(!0)}(ft.route,Ne),function vn(ge,De,be){const Ne=De[De.length-1],Rt=De.slice(0,De.length-1).reverse().map(Jt=>function sr(ge){const De=ge.routeConfig?ge.routeConfig.canActivateChild:null;return De&&0!==De.length?{node:ge,guards:De}:null}(Jt)).filter(Jt=>null!==Jt).map(Jt=>(0,h.v)(()=>{const Mi=Jt.guards.map(bi=>{const cn=Ma(Jt.node)??be,Pn=ia(bi,cn);return st(function ga(ge){return ge&&ni(ge.canActivateChild)}(Pn)?Pn.canActivateChild(Ne,ge):(0,e.N4e)(cn,()=>Pn(Ne,ge))).pipe((0,ne.$)())});return(0,D.of)(Mi).pipe(Vo())}));return(0,D.of)(Rt).pipe(Vo())}(ge,ft.path,be),function ai(ge,De,be){const Ne=De.routeConfig?De.routeConfig.canActivate:null;if(!Ne||0===Ne.length)return(0,D.of)(!0);const ft=Ne.map(Rt=>(0,h.v)(()=>{const Jt=Ma(De)??be,Mi=ia(Rt,Jt);return st(function cr(ge){return ge&&ni(ge.canActivate)}(Mi)?Mi.canActivate(De,ge):(0,e.N4e)(Jt,()=>Mi(De,ge))).pipe((0,ne.$)())}));return(0,D.of)(ft).pipe(Vo())}(ge,ft.route,be))),(0,ne.$)(ft=>!0!==ft,!0))}(Ne,Rt,ge,De):(0,D.of)(Mi)),(0,W.T)(Mi=>({...be,guardsResult:Mi})))})}(this.environmentInjector,bi=>this.events.next(bi)),(0,Ce.M)(bi=>{if(Rt.guardsResult=bi.guardsResult,bi.guardsResult&&"boolean"!=typeof bi.guardsResult)throw ta(0,bi.guardsResult);const cn=new Qn(bi.id,this.urlSerializer.serialize(bi.extractedUrl),this.urlSerializer.serialize(bi.urlAfterRedirects),bi.targetSnapshot,!!bi.guardsResult);this.events.next(cn)}),(0,ee.p)(bi=>!!bi.guardsResult||(this.cancelNavigationTransition(bi,"",rt.GuardRejected),!1)),ys(bi=>{if(bi.guards.canActivateChecks.length)return(0,D.of)(bi).pipe((0,Ce.M)(cn=>{const Pn=new Jn(cn.id,this.urlSerializer.serialize(cn.extractedUrl),this.urlSerializer.serialize(cn.urlAfterRedirects),cn.targetSnapshot);this.events.next(Pn)}),(0,Q.n)(cn=>{let Pn=!1;return(0,D.of)(cn).pipe(function Ws(ge,De){return(0,fe.Z)(be=>{const{targetSnapshot:Ne,guards:{canActivateChecks:ft}}=be;if(!ft.length)return(0,D.of)(be);const Rt=new Set(ft.map(bi=>bi.route)),Jt=new Set;for(const bi of Rt)if(!Jt.has(bi))for(const cn of es(bi))Jt.add(cn);let Mi=0;return(0,x.H)(Jt).pipe((0,Me.H)(bi=>Rt.has(bi)?function Pc(ge,De,be,Ne){const ft=ge.routeConfig,Rt=ge._resolve;return void 0!==ft?.title&&!fo(ft)&&(Rt[ze]=ft.title),function Xs(ge,De,be,Ne){const ft=ae(ge);if(0===ft.length)return(0,D.of)({});const Rt={};return(0,x.H)(ft).pipe((0,fe.Z)(Jt=>function oc(ge,De,be,Ne){const ft=Ma(De)??Ne,Rt=ia(ge,ft);return st(Rt.resolve?Rt.resolve(De,be):(0,e.N4e)(ft,()=>Rt(De,be)))}(ge[Jt],De,be,Ne).pipe((0,ne.$)(),(0,Ce.M)(Mi=>{if(Mi instanceof ma)throw ta(new qt,Mi);Rt[Jt]=Mi}))),d(1),(0,_.u)(Rt),(0,le.W)(Jt=>Zo(Jt)?O.w:(0,y.$)(Jt)))}(Rt,ge,De,Ne).pipe((0,W.T)(Jt=>(ge._resolvedData=Jt,ge.data=Do(ge,ge.parent,be).resolve,null)))}(bi,Ne,ge,De):(bi.data=Do(bi,bi.parent,ge).resolve,(0,D.of)(void 0))),(0,Ce.M)(()=>Mi++),d(1),(0,fe.Z)(bi=>Mi===Jt.size?(0,D.of)(be):O.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Ce.M)({next:()=>Pn=!0,complete:()=>{Pn||this.cancelNavigationTransition(cn,"",rt.NoDataFromResolver)}}))}),(0,Ce.M)(cn=>{const Pn=new nr(cn.id,this.urlSerializer.serialize(cn.extractedUrl),this.urlSerializer.serialize(cn.urlAfterRedirects),cn.targetSnapshot);this.events.next(Pn)}))}),ys(bi=>{const cn=Pn=>{const zn=[];Pn.routeConfig?.loadComponent&&!Pn.routeConfig._loadedComponent&&zn.push(this.configLoader.loadComponent(Pn.routeConfig).pipe((0,Ce.M)(Er=>{Pn.component=Er}),(0,W.T)(()=>{})));for(const Er of Pn.children)zn.push(...cn(Er));return zn};return(0,w.z)(cn(bi.targetSnapshot.root)).pipe((0,n.U)(null),(0,J.s)(1))}),ys(()=>this.afterPreactivation()),(0,Q.n)(()=>{const{currentSnapshot:bi,targetSnapshot:cn}=Rt,Pn=this.createViewTransition?.(this.environmentInjector,bi.root,cn.root);return Pn?(0,x.H)(Pn).pipe((0,W.T)(()=>Rt)):(0,D.of)(Rt)}),(0,W.T)(bi=>{const cn=function Bs(ge,De,be){const Ne=Ar(ge,De._root,be?be._root:void 0);return new Ya(Ne,De)}(be.routeReuseStrategy,bi.targetSnapshot,bi.currentRouterState);return this.currentTransition=Rt={...bi,targetRouterState:cn},this.currentNavigation.targetRouterState=cn,Rt}),(0,Ce.M)(()=>{this.events.next(new xi)}),((ge,De,be,Ne)=>(0,W.T)(ft=>(new yo(De,ft.targetRouterState,ft.currentRouterState,be,Ne).activate(ge),ft)))(this.rootContexts,be.routeReuseStrategy,bi=>this.events.next(bi),this.inputBindingEnabled),(0,J.s)(1),(0,Ce.M)({next:bi=>{Jt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ye(bi.id,this.urlSerializer.serialize(bi.extractedUrl),this.urlSerializer.serialize(bi.urlAfterRedirects))),this.titleStrategy?.updateTitle(bi.targetRouterState.snapshot),bi.resolve(!0)},complete:()=>{Jt=!0}}),(0,z.Q)(this.transitionAbortSubject.pipe((0,Ce.M)(bi=>{throw bi}))),(0,a.j)(()=>{!Jt&&!Mi&&this.cancelNavigationTransition(Rt,"",rt.SupersededByNewNavigation),this.currentTransition?.id===Rt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,le.W)(bi=>{if(Mi=!0,bo(bi))this.events.next(new ii(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),bi.message,bi.cancellationCode)),function As(ge){return bo(ge)&&$t(ge.url)}(bi)?this.events.next(new Ni(bi.url,bi.navigationBehaviorOptions)):Rt.resolve(!1);else{const cn=new Gi(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),bi,Rt.targetSnapshot??void 0);try{const Pn=(0,e.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(cn));if(Pn instanceof ma){const{message:zn,cancellationCode:Er}=ta(0,Pn);this.events.next(new ii(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),zn,Er)),this.events.next(new Ni(Pn.redirectTo,Pn.navigationBehaviorOptions))}else{this.events.next(cn);const zn=be.errorHandler(bi);Rt.resolve(!!zn)}}catch(Pn){this.options.resolveNavigationPromiseOnError?Rt.resolve(!1):Rt.reject(Pn)}}return O.w}))}))}cancelNavigationTransition(be,Ne,ft){const Rt=new ii(be.id,this.urlSerializer.serialize(be.extractedUrl),Ne,ft);this.events.next(Rt),be.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const be=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),Ne=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return be.toString()!==Ne?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();function xe(ge){return ge!==Ut}let bt=(()=>{class ge{static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>(0,e.WQX)(gt),providedIn:"root"})}}return ge})();class Ye{shouldDetach(De){return!1}store(De,be){}shouldAttach(De){return!1}retrieve(De){return null}shouldReuseRoute(De,be){return De.routeConfig===be.routeConfig}}let gt=(()=>{class ge extends Ye{static{this.\u0275fac=(()=>{let be;return function(ft){return(be||(be=e.xGo(ge)))(ft||ge)}})()}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})(),Zt=(()=>{class ge{static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>(0,e.WQX)(Si),providedIn:"root"})}}return ge})(),Si=(()=>{class ge extends Zt{constructor(){super(...arguments),this.location=(0,e.WQX)(Y.aZ),this.urlSerializer=(0,e.WQX)(nt),this.options=(0,e.WQX)(Za,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,e.WQX)(ei),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new _e,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=xr(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(be){return this.location.subscribe(Ne=>{"popstate"===Ne.type&&be(Ne.url,Ne.state)})}handleRouterEvent(be,Ne){if(be instanceof He)this.stateMemento=this.createStateMemento();else if(be instanceof di)this.rawUrlTree=Ne.initialUrl;else if(be instanceof Cn){if("eager"===this.urlUpdateStrategy&&!Ne.extras.skipLocationChange){const ft=this.urlHandlingStrategy.merge(Ne.finalUrl,Ne.initialUrl);this.setBrowserUrl(Ne.targetBrowserUrl??ft,Ne)}}else be instanceof xi?(this.currentUrlTree=Ne.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Ne.finalUrl,Ne.initialUrl),this.routerState=Ne.targetRouterState,"deferred"===this.urlUpdateStrategy&&!Ne.extras.skipLocationChange&&this.setBrowserUrl(Ne.targetBrowserUrl??this.rawUrlTree,Ne)):be instanceof ii&&(be.code===rt.GuardRejected||be.code===rt.NoDataFromResolver)?this.restoreHistory(Ne):be instanceof Gi?this.restoreHistory(Ne,!0):be instanceof ye&&(this.lastSuccessfulId=be.id,this.currentPageId=this.browserPageId)}setBrowserUrl(be,Ne){const ft=be instanceof _e?this.urlSerializer.serialize(be):be;if(this.location.isCurrentPathEqualTo(ft)||Ne.extras.replaceUrl){const Jt={...Ne.extras.state,...this.generateNgRouterState(Ne.id,this.browserPageId)};this.location.replaceState(ft,"",Jt)}else{const Rt={...Ne.extras.state,...this.generateNgRouterState(Ne.id,this.browserPageId+1)};this.location.go(ft,"",Rt)}}restoreHistory(be,Ne=!1){if("computed"===this.canceledNavigationResolution){const Rt=this.currentPageId-this.browserPageId;0!==Rt?this.location.historyGo(Rt):this.currentUrlTree===be.finalUrl&&0===Rt&&(this.resetState(be),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Ne&&this.resetState(be),this.resetUrlToCurrentUrlTree())}resetState(be){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,be.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(be,Ne){return"computed"===this.canceledNavigationResolution?{navigationId:be,\u0275routerPageId:Ne}:{navigationId:be}}static{this.\u0275fac=(()=>{let be;return function(ft){return(be||(be=e.xGo(ge)))(ft||ge)}})()}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();var Ii=function(ge){return ge[ge.COMPLETE=0]="COMPLETE",ge[ge.FAILED=1]="FAILED",ge[ge.REDIRECTING=2]="REDIRECTING",ge}(Ii||{});function on(ge,De){ge.events.pipe((0,ee.p)(be=>be instanceof ye||be instanceof ii||be instanceof Gi||be instanceof di),(0,W.T)(be=>be instanceof ye||be instanceof di?Ii.COMPLETE:be instanceof ii&&(be.code===rt.Redirect||be.code===rt.SupersededByNewNavigation)?Ii.REDIRECTING:Ii.FAILED),(0,ee.p)(be=>be!==Ii.REDIRECTING),(0,J.s)(1)).subscribe(()=>{De()})}function Kn(ge){throw ge}const wr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},pr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Fn=(()=>{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)(Zt),this.options=(0,e.WQX)(Za,{optional:!0})||{},this.pendingTasks=(0,e.WQX)(e.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,e.WQX)(Wn),this.urlSerializer=(0,e.WQX)(nt),this.location=(0,e.WQX)(Y.aZ),this.urlHandlingStrategy=(0,e.WQX)(ei),this._events=new V.B,this.errorHandler=this.options.errorHandler||Kn,this.navigated=!1,this.routeReuseStrategy=(0,e.WQX)(bt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,e.WQX)(Ys,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,e.WQX)(Ea,{optional:!0}),this.eventsSubscription=new j.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:be=>{this.console.warn(be)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const be=this.navigationTransitions.events.subscribe(Ne=>{try{const ft=this.navigationTransitions.currentTransition,Rt=this.navigationTransitions.currentNavigation;if(null!==ft&&null!==Rt)if(this.stateManager.handleRouterEvent(Ne,Rt),Ne instanceof ii&&Ne.code!==rt.Redirect&&Ne.code!==rt.SupersededByNewNavigation)this.navigated=!0;else if(Ne instanceof ye)this.navigated=!0;else if(Ne instanceof Ni){const Jt=Ne.navigationBehaviorOptions,Mi=this.urlHandlingStrategy.merge(Ne.url,ft.currentRawUrl),bi={browserUrl:ft.extras.browserUrl,info:ft.extras.info,skipLocationChange:ft.extras.skipLocationChange,replaceUrl:ft.extras.replaceUrl||"eager"===this.urlUpdateStrategy||xe(ft.source),...Jt};this.scheduleNavigation(Mi,Ut,null,bi,{resolve:ft.resolve,reject:ft.reject,promise:ft.promise})}(function Dn(ge){return!(ge instanceof xi||ge instanceof Ni)})(Ne)&&this._events.next(Ne)}catch(ft){this.navigationTransitions.transitionAbortSubject.next(ft)}});this.eventsSubscription.add(be)}resetRootComponentType(be){this.routerState.root.component=be,this.navigationTransitions.rootComponentType=be}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ut,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((be,Ne)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(be,"popstate",Ne)},0)})}navigateToSyncWithBrowser(be,Ne,ft){const Rt={replaceUrl:!0},Jt=ft?.navigationId?ft:null;if(ft){const bi={...ft};delete bi.navigationId,delete bi.\u0275routerPageId,0!==Object.keys(bi).length&&(Rt.state=bi)}const Mi=this.parseUrl(be);this.scheduleNavigation(Mi,Ne,Jt,Rt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(be){this.config=be.map(bc),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(be,Ne={}){const{relativeTo:ft,queryParams:Rt,fragment:Jt,queryParamsHandling:Mi,preserveFragment:bi}=Ne,cn=bi?this.currentUrlTree.fragment:Jt;let zn,Pn=null;switch(Mi??this.options.defaultQueryParamsHandling){case"merge":Pn={...this.currentUrlTree.queryParams,...Rt};break;case"preserve":Pn=this.currentUrlTree.queryParams;break;default:Pn=Rt||null}null!==Pn&&(Pn=this.removeEmptyProps(Pn));try{zn=Ui(ft?ft.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof be[0]||"/"!==be[0][0])&&(be=[]),zn=this.currentUrlTree.root}return ti(zn,be,Pn,cn??null)}navigateByUrl(be,Ne={skipLocationChange:!1}){const ft=$t(be)?be:this.parseUrl(be),Rt=this.urlHandlingStrategy.merge(ft,this.rawUrlTree);return this.scheduleNavigation(Rt,Ut,null,Ne)}navigate(be,Ne={skipLocationChange:!1}){return function Sr(ge){for(let De=0;De(null!=Rt&&(Ne[ft]=Rt),Ne),{})}scheduleNavigation(be,Ne,ft,Rt,Jt){if(this.disposed)return Promise.resolve(!1);let Mi,bi,cn;Jt?(Mi=Jt.resolve,bi=Jt.reject,cn=Jt.promise):cn=new Promise((zn,Er)=>{Mi=zn,bi=Er});const Pn=this.pendingTasks.add();return on(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Pn))}),this.navigationTransitions.handleNavigationRequest({source:Ne,restoredState:ft,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:be,extras:Rt,resolve:Mi,reject:bi,promise:cn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),cn.catch(zn=>Promise.reject(zn))}static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})(),Fi=(()=>{class ge{constructor(be,Ne,ft,Rt,Jt,Mi){this.router=be,this.route=Ne,this.tabIndexAttribute=ft,this.renderer=Rt,this.el=Jt,this.locationStrategy=Mi,this.href=null,this.onChanges=new V.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const bi=Jt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===bi||"area"===bi,this.isAnchorElement?this.subscription=be.events.subscribe(cn=>{cn instanceof ye&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(be){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",be)}ngOnChanges(be){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(be){null==be?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=$t(be)||Array.isArray(be)?be:[be],this.setTabIndexIfNotOnNativeEl("0"))}onClick(be,Ne,ft,Rt,Jt){const Mi=this.urlTree;return!!(null===Mi||this.isAnchorElement&&(0!==be||Ne||ft||Rt||Jt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Mi,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const be=this.urlTree;this.href=null!==be&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(be)):null;const Ne=null===this.href?null:(0,e.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Ne)}applyAttributeValue(be,Ne){const ft=this.renderer,Rt=this.el.nativeElement;null!==Ne?ft.setAttribute(Rt,be,Ne):ft.removeAttribute(Rt,be)}get urlTree(){return null===this.routerLinkInput?null:$t(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{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(Ne){return new(Ne||ge)(e.rXU(Fn),e.rXU(hn),e.kS0("tabindex"),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(Y.hb))}}static{this.\u0275dir=e.FsC({type:ge,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Ne,ft){1&Ne&&e.bIt("click",function(Jt){return ft.onClick(Jt.button,Jt.ctrlKey,Jt.shiftKey,Jt.altKey,Jt.metaKey)}),2&Ne&&e.BMQ("target",ft.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})(),bn=(()=>{class ge{get isActive(){return this._isActive}constructor(be,Ne,ft,Rt,Jt){this.router=be,this.element=Ne,this.renderer=ft,this.cdr=Rt,this.link=Jt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.bkB,this.routerEventsSubscription=be.events.subscribe(Mi=>{Mi instanceof ye&&this.update()})}ngAfterContentInit(){(0,D.of)(this.links.changes,(0,D.of)(null)).pipe((0,N.U)()).subscribe(be=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const be=[...this.links.toArray(),this.link].filter(Ne=>!!Ne).map(Ne=>Ne.onChanges);this.linkInputChangesSubscription=(0,x.H)(be).pipe((0,N.U)()).subscribe(Ne=>{this._isActive!==this.isLinkActive(this.router)(Ne)&&this.update()})}set routerLinkActive(be){const Ne=Array.isArray(be)?be:be.split(" ");this.classes=Ne.filter(ft=>!!ft)}ngOnChanges(be){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const be=this.hasActiveLinks();this.classes.forEach(Ne=>{be?this.renderer.addClass(this.element.nativeElement,Ne):this.renderer.removeClass(this.element.nativeElement,Ne)}),be&&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!==be&&(this._isActive=be,this.cdr.markForCheck(),this.isActiveChange.emit(be))})}isLinkActive(be){const Ne=function Tr(ge){return!!ge.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ft=>{const Rt=ft.urlTree;return!!Rt&&be.isActive(Rt,Ne)}}hasActiveLinks(){const be=this.isLinkActive(this.router);return this.link&&be(this.link)||this.links.some(be)}static{this.\u0275fac=function(Ne){return new(Ne||ge)(e.rXU(Fn),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(Fi,8))}}static{this.\u0275dir=e.FsC({type:ge,selectors:[["","routerLinkActive",""]],contentQueries:function(Ne,ft,Rt){if(1&Ne&&e.wni(Rt,Fi,5),2&Ne){let Jt;e.mGM(Jt=e.lsd())&&(ft.links=Jt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.OA$]})}}return ge})();class va{}let oo=(()=>{class ge{constructor(be,Ne,ft,Rt,Jt){this.router=be,this.injector=ft,this.preloadingStrategy=Rt,this.loader=Jt}setUpPreloading(){this.subscription=this.router.events.pipe((0,ee.p)(be=>be instanceof ye),(0,Me.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(be,Ne){const ft=[];for(const Rt of Ne){Rt.providers&&!Rt._injector&&(Rt._injector=(0,e.Ol2)(Rt.providers,be,`Route: ${Rt.path}`));const Jt=Rt._injector??be,Mi=Rt._loadedInjector??Jt;(Rt.loadChildren&&!Rt._loadedRoutes&&void 0===Rt.canLoad||Rt.loadComponent&&!Rt._loadedComponent)&&ft.push(this.preloadConfig(Jt,Rt)),(Rt.children||Rt._loadedRoutes)&&ft.push(this.processRoutes(Mi,Rt.children??Rt._loadedRoutes))}return(0,x.H)(ft).pipe((0,N.U)())}preloadConfig(be,Ne){return this.preloadingStrategy.preload(Ne,()=>{let ft;ft=Ne.loadChildren&&void 0===Ne.canLoad?this.loader.loadChildren(be,Ne):(0,D.of)(null);const Rt=ft.pipe((0,fe.Z)(Jt=>null===Jt?(0,D.of)(void 0):(Ne._loadedRoutes=Jt.routes,Ne._loadedInjector=Jt.injector,this.processRoutes(Jt.injector??be,Jt.routes))));if(Ne.loadComponent&&!Ne._loadedComponent){const Jt=this.loader.loadComponent(Ne);return(0,x.H)([Rt,Jt]).pipe((0,N.U)())}return Rt})}static{this.\u0275fac=function(Ne){return new(Ne||ge)(e.KVO(Fn),e.KVO(e.Ql9),e.KVO(e.uvJ),e.KVO(va),e.KVO(tl))}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();const hr=new e.nKC("");let aa=(()=>{class ge{constructor(be,Ne,ft,Rt,Jt={}){this.urlSerializer=be,this.transitions=Ne,this.viewportScroller=ft,this.zone=Rt,this.options=Jt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},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(be=>{be instanceof He?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=be.navigationTrigger,this.restoredId=be.restoredState?be.restoredState.navigationId:0):be instanceof ye?(this.lastId=be.id,this.scheduleScrollEvent(be,this.urlSerializer.parse(be.urlAfterRedirects).fragment)):be instanceof di&&be.code===ht.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(be,this.urlSerializer.parse(be.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(be=>{be instanceof gi&&(be.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(be.position):be.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(be.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(be,Ne){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new gi(be,"popstate"===this.lastSource?this.store[this.restoredId]:null,Ne))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(Ne){e.QTQ()}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac})}}return ge})();function Co(ge,De){return{\u0275kind:ge,\u0275providers:De}}function cc(){const ge=(0,e.WQX)(e.zZn);return De=>{const be=ge.get(e.o8S);if(De!==be.components[0])return;const Ne=ge.get(Fn),ft=ge.get(so);1===ge.get(Xi)&&Ne.initialNavigation(),ge.get(Fo,null,e.$GK.Optional)?.setUpPreloading(),ge.get(hr,null,e.$GK.Optional)?.init(),Ne.resetRootComponentType(be.componentTypes[0]),ft.closed||(ft.next(),ft.complete(),ft.unsubscribe())}}const so=new e.nKC("",{factory:()=>new V.B}),Xi=new e.nKC("",{providedIn:"root",factory:()=>1}),Fo=new e.nKC("");function En(ge){return Co(0,[{provide:Fo,useExisting:oo},{provide:va,useExisting:ge}])}function yc(ge){return Co(9,[{provide:yi,useValue:ji},{provide:Oi,useValue:{skipNextTransition:!!ge?.skipInitialTransition,...ge}}])}const xs=new e.nKC("ROUTER_FORROOT_GUARD"),Yr=[Y.aZ,{provide:nt,useClass:qt},Fn,Or,{provide:hn,useFactory:function Bn(ge){return ge.routerState.root},deps:[Fn]},tl,[]];let mo=(()=>{class ge{constructor(be){}static forRoot(be,Ne){return{ngModule:ge,providers:[Yr,[],{provide:Ys,multi:!0,useValue:be},{provide:xs,useFactory:vr,deps:[[Fn,new e.Xx1,new e.kdw]]},{provide:Za,useValue:Ne||{}},Ne?.useHash?{provide:Y.hb,useClass:Y.fw}:{provide:Y.hb,useClass:Y.Sm},{provide:hr,useFactory:()=>{const ge=(0,e.WQX)(Y.Xr),De=(0,e.WQX)(e.SKi),be=(0,e.WQX)(Za),Ne=(0,e.WQX)(Wn),ft=(0,e.WQX)(nt);return be.scrollOffset&&ge.setOffset(be.scrollOffset),new aa(ft,Ne,ge,De,be)}},Ne?.preloadingStrategy?En(Ne.preloadingStrategy).\u0275providers:[],Ne?.initialNavigation?Qr(Ne):[],Ne?.bindToComponentInputs?Co(8,[fa,{provide:Ea,useExisting:fa}]).\u0275providers:[],Ne?.enableViewTransitions?yc().\u0275providers:[],[{provide:$i,useFactory:cc},{provide:e.iLQ,multi:!0,useExisting:$i}]]}}static forChild(be){return{ngModule:ge,providers:[{provide:Ys,multi:!0,useValue:be}]}}static{this.\u0275fac=function(Ne){return new(Ne||ge)(e.KVO(xs,8))}}static{this.\u0275mod=e.$C({type:ge})}static{this.\u0275inj=e.G2t({})}}return ge})();function vr(ge){return"guarded"}function Qr(ge){return["disabled"===ge.initialNavigation?Co(3,[{provide:e.hnV,multi:!0,useFactory:()=>{const De=(0,e.WQX)(Fn);return()=>{De.setUpLocationChangeListener()}}},{provide:Xi,useValue:2}]).\u0275providers:[],"enabledBlocking"===ge.initialNavigation?Co(2,[{provide:Xi,useValue:0},{provide:e.hnV,multi:!0,deps:[e.zZn],useFactory:De=>{const be=De.get(Y.hj,Promise.resolve());return()=>be.then(()=>new Promise(Ne=>{const ft=De.get(Fn),Rt=De.get(so);on(ft,()=>{Ne(!0)}),De.get(Wn).afterPreactivation=()=>(Ne(!0),Rt.closed?(0,D.of)(void 0):Rt),ft.initialNavigation()}))}}]).\u0275providers:[]]}const $i=new e.nKC("")},60:(Qe,te,g)=>{"use strict";g.d(te,{aY:()=>sc,dX:()=>tl});var e=g(4438),t=g(177);const x=()=>{};let D={},l={},w=null,f={mark:x,measure:x};try{typeof window<"u"&&(D=window),typeof document<"u"&&(l=document),typeof MutationObserver<"u"&&(w=MutationObserver),typeof performance<"u"&&(f=performance)}catch{}const{userAgent:R=""}=D.navigator||{},h=D,S=l,y=w,O=f,V=!!S.documentElement&&!!S.head&&"function"==typeof S.addEventListener&&"function"==typeof S.createElement,j=~R.indexOf("MSIE")||~R.indexOf("Trident/");var Y="classic",W="duotone",Q="sharp",J="sharp-duotone",ie=[Y,W,Q,J],C={classic:{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"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},k=[1,2,3,4,5,6,7,8,9,10],_=k.concat([11,12,13,14,15,16,17,18,19,20]),a={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},b=[...Object.keys({classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]}),"solid","regular","light","thin","duotone","brands","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",a.GROUP,a.SWAP_OPACITY,a.PRIMARY,a.SECONDARY].concat(k.map(mt=>"".concat(mt,"x"))).concat(_.map(mt=>"w-".concat(mt)));const ze="___FONT_AWESOME___",Xe=16,We="fa",oe="svg-inline--fa",X="data-fa-i2svg",se="data-fa-pseudo-element",ae="data-fa-pseudo-element-pending",he="data-prefix",Ie="data-icon",st="fontawesome-i2svg",me="async",Ee=["HTML","HEAD","STYLE","SCRIPT"],ue=(()=>{try{return!0}catch{return!1}})(),Be=[Y,Q,J];function Ct(mt){return new Proxy(mt,{get:(Vt,Ht)=>Ht in Vt?Vt[Ht]:Vt[Y]})}const ct={...C};ct[Y]={...C[Y],fak:"kit","fa-kit":"kit",fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"};const dt=Ct(ct),Yt={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}};Yt[Y]={...Yt[Y],kit:"fak","kit-duotone":"fakd"};const ve=Ct(Yt),_e={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}};_e[Y]={..._e[Y],fak:"fa-kit"};const we=Ct(_e),Ue={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}};Ue[Y]={...Ue[Y],"fa-kit":"fak"};const je=Ct(Ue),vt=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,$e="fa-layers-text",nt=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,yt=(Ct({classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}}),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),jt=a,Je=new Set;Object.keys(ve[Y]).map(Je.add.bind(Je)),Object.keys(ve[Q]).map(Je.add.bind(Je)),Object.keys(ve[J]).map(Je.add.bind(Je));const et=["kit",...b],Ae=h.FontAwesomeConfig||{};S&&"function"==typeof S.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(Vt=>{let[Ht,ei]=Vt;const ci=function Qt(mt){return""===mt||"false"!==mt&&("true"===mt||mt)}(function It(mt){var Vt=S.querySelector("script["+mt+"]");if(Vt)return Vt.getAttribute(mt)}(Ht));null!=ci&&(Ae[ei]=ci)});const Tt={styleDefault:"solid",familyDefault:"classic",cssPrefix:We,replacementClass:oe,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ae.familyPrefix&&(Ae.cssPrefix=Ae.familyPrefix);const xt={...Tt,...Ae};xt.autoReplaceSvg||(xt.observeMutations=!1);const Se={};Object.keys(Tt).forEach(mt=>{Object.defineProperty(Se,mt,{enumerable:!0,set:function(Vt){xt[mt]=Vt,Te.forEach(Ht=>Ht(Se))},get:function(){return xt[mt]}})}),Object.defineProperty(Se,"familyPrefix",{enumerable:!0,set:function(mt){xt.cssPrefix=mt,Te.forEach(Vt=>Vt(Se))},get:function(){return xt.cssPrefix}}),h.FontAwesomeConfig=Se;const Te=[],Z=Xe,Re={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},pt="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ke(){let mt=12,Vt="";for(;mt-- >0;)Vt+=pt[62*Math.random()|0];return Vt}function Fe(mt){const Vt=[];for(let Ht=(mt||[]).length>>>0;Ht--;)Vt[Ht]=mt[Ht];return Vt}function Ge(mt){return mt.classList?Fe(mt.classList):(mt.getAttribute("class")||"").split(" ").filter(Vt=>Vt)}function qe(mt){return"".concat(mt).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Lt(mt){return Object.keys(mt||{}).reduce((Vt,Ht)=>Vt+"".concat(Ht,": ").concat(mt[Ht].trim(),";"),"")}function pi(mt){return mt.size!==Re.size||mt.x!==Re.x||mt.y!==Re.y||mt.rotate!==Re.rotate||mt.flipX||mt.flipY}var Ui=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\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-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\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 transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\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 transform: scale(var(--fa-counter-scale, 0.25));\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 transform: scale(var(--fa-layers-scale, 0.25));\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 transform: scale(var(--fa-layers-scale, 0.25));\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 transform: scale(var(--fa-layers-scale, 0.25));\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 transform: scale(var(--fa-layers-scale, 0.25));\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(-1 * var(--fa-li-width, 2em));\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 animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\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 animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\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 animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\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 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 transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\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-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\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 ti(){const mt=We,Vt=oe,Ht=Se.cssPrefix,ei=Se.replacementClass;let ci=Ui;if(Ht!==mt||ei!==Vt){const yi=new RegExp("\\.".concat(mt,"\\-"),"g"),Oi=new RegExp("\\--".concat(mt,"\\-"),"g"),ji=new RegExp("\\.".concat(Vt),"g");ci=ci.replace(yi,".".concat(Ht,"-")).replace(Oi,"--".concat(Ht,"-")).replace(ji,".".concat(ei))}return ci}let fi=!1;function xn(){Se.autoAddCss&&!fi&&(function Pe(mt){if(!mt||!V)return;const Vt=S.createElement("style");Vt.setAttribute("type","text/css"),Vt.innerHTML=mt;const Ht=S.head.childNodes;let ei=null;for(let ci=Ht.length-1;ci>-1;ci--){const yi=Ht[ci],Oi=(yi.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(Oi)>-1&&(ei=yi)}S.head.insertBefore(Vt,ei)}(ti()),fi=!0)}var tn={mixout:()=>({dom:{css:ti,insertCss:xn}}),hooks:()=>({beforeDOMElementCreation(){xn()},beforeI2svg(){xn()}})};const Vi=h||{};Vi[ze]||(Vi[ze]={}),Vi[ze].styles||(Vi[ze].styles={}),Vi[ze].hooks||(Vi[ze].hooks={}),Vi[ze].shims||(Vi[ze].shims=[]);var Qi=Vi[ze];const Xt=[],St=function(){S.removeEventListener("DOMContentLoaded",St),tt=1,Xt.map(mt=>mt())};let tt=!1;function Mt(mt){const{tag:Vt,attributes:Ht={},children:ei=[]}=mt;return"string"==typeof mt?qe(mt):"<".concat(Vt," ").concat(function at(mt){return Object.keys(mt||{}).reduce((Vt,Ht)=>Vt+"".concat(Ht,'="').concat(qe(mt[Ht]),'" '),"").trim()}(Ht),">").concat(ei.map(Mt).join(""),"")}function Bt(mt,Vt,Ht){if(mt&&mt[Vt]&&mt[Vt][Ht])return{prefix:Vt,iconName:Ht,icon:mt[Vt][Ht]}}V&&(tt=(S.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(S.readyState),tt||S.addEventListener("DOMContentLoaded",St));var Ti=function(Vt,Ht,ei,ci){var pn,_n,Wn,yi=Object.keys(Vt),Oi=yi.length,ji=void 0!==ci?function(Vt,Ht){return function(ei,ci,yi,Oi){return Vt.call(Ht,ei,ci,yi,Oi)}}(Ht,ci):Ht;for(void 0===ei?(pn=1,Wn=Vt[yi[0]]):(pn=0,Wn=ei);pn=55296&&ci<=56319&&Ht{const ei=mt[Ht];return ei.icon?Vt[ei.iconName]=ei.icon:Vt[Ht]=ei,Vt},{})}function Ut(mt,Vt){let Ht=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:ei=!1}=Ht,ci=mn(Vt);"function"!=typeof Qi.hooks.addPack||ei?Qi.styles[mt]={...Qi.styles[mt]||{},...ci}:Qi.hooks.addPack(mt,mn(Vt)),"fas"===mt&&Ut("fa",Vt)}const{styles:lt,shims:re}=Qi,He={[Y]:Object.values(we[Y]),[Q]:Object.values(we[Q]),[J]:Object.values(we[J])};let ye=null,rt={},ht={},ii={},di={},Gi={};const Cn={[Y]:Object.keys(dt[Y]),[Q]:Object.keys(dt[Q]),[J]:Object.keys(dt[J])};const Jn=()=>{const mt=ei=>Ti(lt,(ci,yi,Oi)=>(ci[Oi]=Ti(yi,ei,{}),ci),{});rt=mt((ei,ci,yi)=>(ci[3]&&(ei[ci[3]]=yi),ci[2]&&ci[2].filter(ji=>"number"==typeof ji).forEach(ji=>{ei[ji.toString(16)]=yi}),ei)),ht=mt((ei,ci,yi)=>(ei[yi]=yi,ci[2]&&ci[2].filter(ji=>"string"==typeof ji).forEach(ji=>{ei[ji]=yi}),ei)),Gi=mt((ei,ci,yi)=>{const Oi=ci[2];return ei[yi]=yi,Oi.forEach(ji=>{ei[ji]=yi}),ei});const Vt="far"in lt||Se.autoFetchSvg,Ht=Ti(re,(ei,ci)=>{const yi=ci[0];let Oi=ci[1];const ji=ci[2];return"far"===Oi&&!Vt&&(Oi="fas"),"string"==typeof yi&&(ei.names[yi]={prefix:Oi,iconName:ji}),"number"==typeof yi&&(ei.unicodes[yi.toString(16)]={prefix:Oi,iconName:ji}),ei},{names:{},unicodes:{}});ii=Ht.names,di=Ht.unicodes,ye=gi(Se.styleDefault,{family:Se.familyDefault})};function nr(mt,Vt){return(rt[mt]||{})[Vt]}function wn(mt,Vt){return(Gi[mt]||{})[Vt]}function Ai(mt){return ii[mt]||{prefix:null,iconName:null}}function Ft(){return ye}(function ce(mt){Te.push(mt)})(mt=>{ye=gi(mt.styleDefault,{family:Se.familyDefault})}),Jn();const mi=()=>({prefix:null,iconName:null,rest:[]});function gi(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:Ht=Y}=Vt;return ve[Ht][mt]||ve[Ht][dt[Ht][mt]]||(mt in Qi.styles?mt:null)||null}const xi={[Y]:Object.keys(we[Y]),[Q]:Object.keys(we[Q]),[J]:Object.keys(we[J])};function Ni(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:Ht=!1}=Vt,ei={[Y]:"".concat(Se.cssPrefix,"-").concat(Y),[Q]:"".concat(Se.cssPrefix,"-").concat(Q),[J]:"".concat(Se.cssPrefix,"-").concat(J)};let ci=null,yi=Y;const Oi=ie.filter(pn=>pn!==W);Oi.forEach(pn=>{(mt.includes(ei[pn])||mt.some(_n=>xi[pn].includes(_n)))&&(yi=pn)});const ji=mt.reduce((pn,_n)=>{const Wn=function Qn(mt,Vt){const Ht=Vt.split("-"),ei=Ht[0],ci=Ht.slice(1).join("-");return ei!==mt||""===ci||function Hn(mt){return~et.indexOf(mt)}(ci)?null:ci}(Se.cssPrefix,_n);if(lt[_n]?(_n=He[yi].includes(_n)?je[yi][_n]:_n,ci=_n,pn.prefix=_n):Cn[yi].indexOf(_n)>-1?(ci=_n,pn.prefix=gi(_n,{family:yi})):Wn?pn.iconName=Wn:_n!==Se.replacementClass&&!Oi.some(xe=>_n===ei[xe])&&pn.rest.push(_n),!Ht&&pn.prefix&&pn.iconName){const xe="fa"===ci?Ai(pn.iconName):{},bt=wn(pn.prefix,pn.iconName);xe.prefix&&(ci=null),pn.iconName=xe.iconName||bt||pn.iconName,pn.prefix=xe.prefix||pn.prefix,"far"===pn.prefix&&!lt.far&<.fas&&!Se.autoFetchSvg&&(pn.prefix="fas")}return pn},mi());return(mt.includes("fa-brands")||mt.includes("fab"))&&(ji.prefix="fab"),(mt.includes("fa-duotone")||mt.includes("fad"))&&(ji.prefix="fad"),!ji.prefix&&yi===Q&&(lt.fass||Se.autoFetchSvg)&&(ji.prefix="fass",ji.iconName=wn(ji.prefix,ji.iconName)||ji.iconName),!ji.prefix&&yi===J&&(lt.fasds||Se.autoFetchSvg)&&(ji.prefix="fasds",ji.iconName=wn(ji.prefix,ji.iconName)||ji.iconName),("fa"===ji.prefix||"fa"===ci)&&(ji.prefix=Ft()||"fas"),ji}let On=[],ir={};const gn={},Xr=Object.keys(gn);function mr(mt,Vt){for(var Ht=arguments.length,ei=new Array(Ht>2?Ht-2:0),ci=2;ci{Vt=Oi.apply(null,[Vt,...ei])}),Vt}function wa(mt){for(var Vt=arguments.length,Ht=new Array(Vt>1?Vt-1:0),ei=1;ei{yi.apply(null,Ht)})}function Xa(){const mt=arguments[0],Vt=Array.prototype.slice.call(arguments,1);return gn[mt]?gn[mt].apply(null,Vt):void 0}function ds(mt){"fa"===mt.prefix&&(mt.prefix="fas");let{iconName:Vt}=mt;const Ht=mt.prefix||Ft();if(Vt)return Vt=wn(Ht,Vt)||Vt,Bt(qr.definitions,Ht,Vt)||Bt(Qi.styles,Ht,Vt)}const qr=new class nn{constructor(){this.definitions={}}add(){for(var Vt=arguments.length,Ht=new Array(Vt),ei=0;ei{this.definitions[yi]={...this.definitions[yi]||{},...ci[yi]},Ut(yi,ci[yi]);const Oi=we[Y][yi];Oi&&Ut(Oi,ci[yi]),Jn()})}reset(){this.definitions={}}_pullDefinitions(Vt,Ht){const ei=Ht.prefix&&Ht.iconName&&Ht.icon?{0:Ht}:Ht;return Object.keys(ei).map(ci=>{const{prefix:yi,iconName:Oi,icon:ji}=ei[ci],pn=ji[2];Vt[yi]||(Vt[yi]={}),pn.length>0&&pn.forEach(_n=>{"string"==typeof _n&&(Vt[yi][_n]=ji)}),Vt[yi][Oi]=ji}),Vt}},Or={noAuto:()=>{Se.autoReplaceSvg=!1,Se.observeMutations=!1,wa("noAuto")},config:Se,dom:{i2svg:function(){let mt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return V?(wa("beforeI2svg",mt),Xa("pseudoElements2svg",mt),Xa("i2svg",mt)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let mt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:Vt}=mt;!1===Se.autoReplaceSvg&&(Se.autoReplaceSvg=!0),Se.observeMutations=!0,function ot(mt){V&&(tt?setTimeout(mt,0):Xt.push(mt))}(()=>{hs({autoReplaceSvgRoot:Vt}),wa("watch",mt)})}},parse:{icon:mt=>{if(null===mt)return null;if("object"==typeof mt&&mt.prefix&&mt.iconName)return{prefix:mt.prefix,iconName:wn(mt.prefix,mt.iconName)||mt.iconName};if(Array.isArray(mt)&&2===mt.length){const Vt=0===mt[1].indexOf("fa-")?mt[1].slice(3):mt[1],Ht=gi(mt[0]);return{prefix:Ht,iconName:wn(Ht,Vt)||Vt}}if("string"==typeof mt&&(mt.indexOf("".concat(Se.cssPrefix,"-"))>-1||mt.match(vt))){const Vt=Ni(mt.split(" "),{skipLookups:!0});return{prefix:Vt.prefix||Ft(),iconName:wn(Vt.prefix,Vt.iconName)||Vt.iconName}}if("string"==typeof mt){const Vt=Ft();return{prefix:Vt,iconName:wn(Vt,mt)||mt}}}},library:qr,findIconDefinition:ds,toHtml:Mt},hs=function(){let mt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:Vt=S}=mt;(Object.keys(Qi.styles).length>0||Se.autoFetchSvg)&&V&&Se.autoReplaceSvg&&Or.dom.i2svg({node:Vt})};function za(mt,Vt){return Object.defineProperty(mt,"abstract",{get:Vt}),Object.defineProperty(mt,"html",{get:function(){return mt.abstract.map(Ht=>Mt(Ht))}}),Object.defineProperty(mt,"node",{get:function(){if(!V)return;const Ht=S.createElement("div");return Ht.innerHTML=mt.html,Ht.children}}),mt}function yr(mt){const{icons:{main:Vt,mask:Ht},prefix:ei,iconName:ci,transform:yi,symbol:Oi,title:ji,maskId:pn,titleId:_n,extra:Wn,watchable:xe=!1}=mt,{width:bt,height:Ye}=Ht.found?Ht:Vt,gt="fak"===ei,Zt=[Se.replacementClass,ci?"".concat(Se.cssPrefix,"-").concat(ci):""].filter(pr=>-1===Wn.classes.indexOf(pr)).filter(pr=>""!==pr||!!pr).concat(Wn.classes).join(" ");let Si={children:[],attributes:{...Wn.attributes,"data-prefix":ei,"data-icon":ci,class:Zt,role:Wn.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(bt," ").concat(Ye)}};const Ii=gt&&!~Wn.classes.indexOf("fa-fw")?{width:"".concat(bt/Ye*16*.0625,"em")}:{};xe&&(Si.attributes[X]=""),ji&&(Si.children.push({tag:"title",attributes:{id:Si.attributes["aria-labelledby"]||"title-".concat(_n||Ke())},children:[ji]}),delete Si.attributes.title);const on={...Si,prefix:ei,iconName:ci,main:Vt,mask:Ht,maskId:pn,transform:yi,symbol:Oi,styles:{...Ii,...Wn.styles}},{children:Kn,attributes:wr}=Ht.found&&Vt.found?Xa("generateAbstractMask",on)||{children:[],attributes:{}}:Xa("generateAbstractIcon",on)||{children:[],attributes:{}};return on.children=Kn,on.attributes=wr,Oi?function Ur(mt){let{prefix:Vt,iconName:Ht,children:ei,attributes:ci,symbol:yi}=mt;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:{...ci,id:!0===yi?"".concat(Vt,"-").concat(Se.cssPrefix,"-").concat(Ht):yi},children:ei}]}]}(on):function Fr(mt){let{children:Vt,main:Ht,mask:ei,attributes:ci,styles:yi,transform:Oi}=mt;if(pi(Oi)&&Ht.found&&!ei.found){const{width:ji,height:pn}=Ht,_n={x:ji/pn/2,y:.5};ci.style=Lt({...yi,"transform-origin":"".concat(_n.x+Oi.x/16,"em ").concat(_n.y+Oi.y/16,"em")})}return[{tag:"svg",attributes:ci,children:Vt}]}(on)}function Ya(mt){const{content:Vt,width:Ht,height:ei,transform:ci,title:yi,extra:Oi,watchable:ji=!1}=mt,pn={...Oi.attributes,...yi?{title:yi}:{},class:Oi.classes.join(" ")};ji&&(pn[X]="");const _n={...Oi.styles};pi(ci)&&(_n.transform=function Kt(mt){let{transform:Vt,width:Ht=Xe,height:ei=Xe,startCentered:ci=!1}=mt,yi="";return yi+=ci&&j?"translate(".concat(Vt.x/Z-Ht/2,"em, ").concat(Vt.y/Z-ei/2,"em) "):ci?"translate(calc(-50% + ".concat(Vt.x/Z,"em), calc(-50% + ").concat(Vt.y/Z,"em)) "):"translate(".concat(Vt.x/Z,"em, ").concat(Vt.y/Z,"em) "),yi+="scale(".concat(Vt.size/Z*(Vt.flipX?-1:1),", ").concat(Vt.size/Z*(Vt.flipY?-1:1),") "),yi+="rotate(".concat(Vt.rotate,"deg) "),yi}({transform:ci,startCentered:!0,width:Ht,height:ei}),_n["-webkit-transform"]=_n.transform);const Wn=Lt(_n);Wn.length>0&&(pn.style=Wn);const xe=[];return xe.push({tag:"span",attributes:pn,children:[Vt]}),yi&&xe.push({tag:"span",attributes:{class:"sr-only"},children:[yi]}),xe}const{styles:ua}=Qi;function hn(mt){const Vt=mt[0],Ht=mt[1],[ei]=mt.slice(4);let ci=null;return ci=Array.isArray(ei)?{tag:"g",attributes:{class:"".concat(Se.cssPrefix,"-").concat(jt.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Se.cssPrefix,"-").concat(jt.SECONDARY),fill:"currentColor",d:ei[0]}},{tag:"path",attributes:{class:"".concat(Se.cssPrefix,"-").concat(jt.PRIMARY),fill:"currentColor",d:ei[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:ei}},{found:!0,width:Vt,height:Ht,icon:ci}}const Do={found:!1,width:512,height:512};function Ao(mt,Vt){let Ht=Vt;return"fa"===Vt&&null!==Se.styleDefault&&(Vt=Ft()),new Promise((ei,ci)=>{if("fa"===Ht){const yi=Ai(mt)||{};mt=yi.iconName||mt,Vt=yi.prefix||Vt}if(mt&&Vt&&ua[Vt]&&ua[Vt][mt])return ei(hn(ua[Vt][mt]));(function Ba(mt,Vt){!ue&&!Se.showMissingIcons&&mt&&console.error('Icon with name "'.concat(mt,'" and prefix "').concat(Vt,'" is missing.'))})(mt,Vt),ei({...Do,icon:Se.showMissingIcons&&mt&&Xa("missingIconAbstract")||{}})})}const ea=()=>{},_o=Se.measurePerformance&&O&&O.mark&&O.measure?O:{mark:ea,measure:ea},Va='FA "6.6.0"',fo=mt=>{_o.mark("".concat(Va," ").concat(mt," ends")),_o.measure("".concat(Va," ").concat(mt),"".concat(Va," ").concat(mt," begins"),"".concat(Va," ").concat(mt," ends"))};var vo={begin:mt=>(_o.mark("".concat(Va," ").concat(mt," begins")),()=>fo(mt)),end:fo};const zr=()=>{};function Ea(mt){return"string"==typeof(mt.getAttribute?mt.getAttribute(X):null)}function Io(mt){return S.createElementNS("http://www.w3.org/2000/svg",mt)}function Ua(mt){return S.createElement(mt)}function ma(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:Ht=("svg"===mt.tag?Io:Ua)}=Vt;if("string"==typeof mt)return S.createTextNode(mt);const ei=Ht(mt.tag);return Object.keys(mt.attributes||[]).forEach(function(yi){ei.setAttribute(yi,mt.attributes[yi])}),(mt.children||[]).forEach(function(yi){ei.appendChild(ma(yi,{ceFn:Ht}))}),ei}const ta={replace:function(mt){const Vt=mt[0];if(Vt.parentNode)if(mt[1].forEach(Ht=>{Vt.parentNode.insertBefore(ma(Ht),Vt)}),null===Vt.getAttribute(X)&&Se.keepOriginalSource){let Ht=S.createComment(function no(mt){let Vt=" ".concat(mt.outerHTML," ");return Vt="".concat(Vt,"Font Awesome fontawesome.com "),Vt}(Vt));Vt.parentNode.replaceChild(Ht,Vt)}else Vt.remove()},nest:function(mt){const Vt=mt[0],Ht=mt[1];if(~Ge(Vt).indexOf(Se.replacementClass))return ta.replace(mt);const ei=new RegExp("".concat(Se.cssPrefix,"-.*"));if(delete Ht[0].attributes.id,Ht[0].attributes.class){const yi=Ht[0].attributes.class.split(" ").reduce((Oi,ji)=>(ji===Se.replacementClass||ji.match(ei)?Oi.toSvg.push(ji):Oi.toNode.push(ji),Oi),{toNode:[],toSvg:[]});Ht[0].attributes.class=yi.toSvg.join(" "),0===yi.toNode.length?Vt.removeAttribute("class"):Vt.setAttribute("class",yi.toNode.join(" "))}const ci=Ht.map(yi=>Mt(yi)).join("\n");Vt.setAttribute(X,""),Vt.innerHTML=ci}};function Ro(mt){mt()}function As(mt,Vt){const Ht="function"==typeof Vt?Vt:zr;if(0===mt.length)Ht();else{let ei=Ro;Se.mutateApproach===me&&(ei=h.requestAnimationFrame||Ro),ei(()=>{const ci=function Ar(){return!0===Se.autoReplaceSvg?ta.replace:ta[Se.autoReplaceSvg]||ta.replace}(),yi=vo.begin("mutate");mt.map(ci),yi(),Ht()})}}let bo=!1;function $r(){bo=!0}function pa(){bo=!1}let yo=null;function ro(mt){if(!y||!Se.observeMutations)return;const{treeCallback:Vt=zr,nodeCallback:Ht=zr,pseudoElementsCallback:ei=zr,observeMutationsRoot:ci=S}=mt;yo=new y(yi=>{if(bo)return;const Oi=Ft();Fe(yi).forEach(ji=>{if("childList"===ji.type&&ji.addedNodes.length>0&&!Ea(ji.addedNodes[0])&&(Se.searchPseudoElements&&ei(ji.target),Vt(ji.target)),"attributes"===ji.type&&ji.target.parentNode&&Se.searchPseudoElements&&ei(ji.target.parentNode),"attributes"===ji.type&&Ea(ji.target)&&~yt.indexOf(ji.attributeName))if("class"===ji.attributeName&&function fa(mt){const Vt=mt.getAttribute?mt.getAttribute(he):null,Ht=mt.getAttribute?mt.getAttribute(Ie):null;return Vt&&Ht}(ji.target)){const{prefix:pn,iconName:_n}=Ni(Ge(ji.target));ji.target.setAttribute(he,pn||Oi),_n&&ji.target.setAttribute(Ie,_n)}else(function Bs(mt){return mt&&mt.classList&&mt.classList.contains&&mt.classList.contains(Se.replacementClass)})(ji.target)&&Ht(ji.target)})}),V&&yo.observe(ci,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Ot(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:Ht,prefix:ei,rest:ci}=function sr(mt){const Vt=mt.getAttribute("data-prefix"),Ht=mt.getAttribute("data-icon"),ei=void 0!==mt.innerText?mt.innerText.trim():"";let ci=Ni(Ge(mt));return ci.prefix||(ci.prefix=Ft()),Vt&&Ht&&(ci.prefix=Vt,ci.iconName=Ht),ci.iconName&&ci.prefix||(ci.prefix&&ei.length>0&&(ci.iconName=function dr(mt,Vt){return(ht[mt]||{})[Vt]}(ci.prefix,mt.innerText)||nr(ci.prefix,Zi(mt.innerText))),!ci.iconName&&Se.autoFetchSvg&&mt.firstChild&&mt.firstChild.nodeType===Node.TEXT_NODE&&(ci.iconName=mt.firstChild.data)),ci}(mt),yi=function ia(mt){const Vt=Fe(mt.attributes).reduce((ci,yi)=>("class"!==ci.name&&"style"!==ci.name&&(ci[yi.name]=yi.value),ci),{}),Ht=mt.getAttribute("title"),ei=mt.getAttribute("data-fa-title-id");return Se.autoA11y&&(Ht?Vt["aria-labelledby"]="".concat(Se.replacementClass,"-title-").concat(ei||Ke()):(Vt["aria-hidden"]="true",Vt.focusable="false")),Vt}(mt),Oi=mr("parseNodeAttributes",{},mt);let ji=Vt.styleParser?function Ga(mt){const Vt=mt.getAttribute("style");let Ht=[];return Vt&&(Ht=Vt.split(";").reduce((ei,ci)=>{const yi=ci.split(":"),Oi=yi[0],ji=yi.slice(1);return Oi&&ji.length>0&&(ei[Oi]=ji.join(":").trim()),ei},{})),Ht}(mt):[];return{iconName:Ht,title:mt.getAttribute("title"),titleId:mt.getAttribute("data-fa-title-id"),prefix:ei,transform:Re,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:ci,styles:ji,attributes:yi},...Oi}}const{styles:si}=Qi;function wt(mt){const Vt="nest"===Se.autoReplaceSvg?Ot(mt,{styleParser:!1}):Ot(mt);return~Vt.extra.classes.indexOf($e)?Xa("generateLayersText",mt,Vt):Xa("generateSvgReplacementMutation",mt,Vt)}let ni=new Set;function Ei(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!V)return Promise.resolve();const Ht=S.documentElement.classList,ei=Wn=>Ht.add("".concat(st,"-").concat(Wn)),ci=Wn=>Ht.remove("".concat(st,"-").concat(Wn)),yi=Se.autoFetchSvg?ni:Be.map(Wn=>"fa-".concat(Wn)).concat(Object.keys(si));yi.includes("fa")||yi.push("fa");const Oi=[".".concat($e,":not([").concat(X,"])")].concat(yi.map(Wn=>".".concat(Wn,":not([").concat(X,"])"))).join(", ");if(0===Oi.length)return Promise.resolve();let ji=[];try{ji=Fe(mt.querySelectorAll(Oi))}catch{}if(!(ji.length>0))return Promise.resolve();ei("pending"),ci("complete");const pn=vo.begin("onTree"),_n=ji.reduce((Wn,xe)=>{try{const bt=wt(xe);bt&&Wn.push(bt)}catch(bt){ue||"MissingIcon"===bt.name&&console.error(bt)}return Wn},[]);return new Promise((Wn,xe)=>{Promise.all(_n).then(bt=>{As(bt,()=>{ei("active"),ei("complete"),ci("pending"),"function"==typeof Vt&&Vt(),pn(),Wn()})}).catch(bt=>{pn(),xe(bt)})})}function Ji(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;wt(mt).then(Ht=>{Ht&&As([Ht],Vt)})}Be.map(mt=>{ni.add("fa-".concat(mt))}),Object.keys(dt[Y]).map(ni.add.bind(ni)),Object.keys(dt[Q]).map(ni.add.bind(ni)),Object.keys(dt[J]).map(ni.add.bind(ni)),ni=[...ni];const ga=function(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:Ht=Re,symbol:ei=!1,mask:ci=null,maskId:yi=null,title:Oi=null,titleId:ji=null,classes:pn=[],attributes:_n={},styles:Wn={}}=Vt;if(!mt)return;const{prefix:xe,iconName:bt,icon:Ye}=mt;return za({type:"icon",...mt},()=>(wa("beforeDOMElementCreation",{iconDefinition:mt,params:Vt}),Se.autoA11y&&(Oi?_n["aria-labelledby"]="".concat(Se.replacementClass,"-title-").concat(ji||Ke()):(_n["aria-hidden"]="true",_n.focusable="false")),yr({icons:{main:hn(Ye),mask:ci?hn(ci.icon):{found:!1,width:null,height:null,icon:{}}},prefix:xe,iconName:bt,transform:{...Re,...Ht},symbol:ei,title:Oi,maskId:yi,titleId:ji,extra:{attributes:_n,styles:Wn,classes:pn}})))};var Ra={mixout(){return{icon:(mt=ga,function(Vt){let Ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const ei=(Vt||{}).icon?Vt:ds(Vt||{});let{mask:ci}=Ht;return ci&&(ci=(ci||{}).icon?ci:ds(ci||{})),mt(ei,{...Ht,mask:ci})})};var mt},hooks:()=>({mutationObserverCallbacks:mt=>(mt.treeCallback=Ei,mt.nodeCallback=Ji,mt)}),provides(mt){mt.i2svg=function(Vt){const{node:Ht=S,callback:ei=()=>{}}=Vt;return Ei(Ht,ei)},mt.generateSvgReplacementMutation=function(Vt,Ht){const{iconName:ei,title:ci,titleId:yi,prefix:Oi,transform:ji,symbol:pn,mask:_n,maskId:Wn,extra:xe}=Ht;return new Promise((bt,Ye)=>{Promise.all([Ao(ei,Oi),_n.iconName?Ao(_n.iconName,_n.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(gt=>{let[Zt,Si]=gt;bt([Vt,yr({icons:{main:Zt,mask:Si},prefix:Oi,iconName:ei,transform:ji,symbol:pn,maskId:Wn,title:ci,titleId:yi,extra:xe,watchable:!0})])}).catch(Ye)})},mt.generateAbstractIcon=function(Vt){let{children:Ht,attributes:ei,main:ci,transform:yi,styles:Oi}=Vt;const ji=Lt(Oi);let pn;return ji.length>0&&(ei.style=ji),pi(yi)&&(pn=Xa("generateAbstractTransformGrouping",{main:ci,transform:yi,containerWidth:ci.width,iconWidth:ci.width})),Ht.push(pn||ci.icon),{children:Ht,attributes:ei}}}},ao={mixout:()=>({layer(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:Ht=[]}=Vt;return za({type:"layer"},()=>{wa("beforeDOMElementCreation",{assembler:mt,params:Vt});let ei=[];return mt(ci=>{Array.isArray(ci)?ci.map(yi=>{ei=ei.concat(yi.abstract)}):ei=ei.concat(ci.abstract)}),[{tag:"span",attributes:{class:["".concat(Se.cssPrefix,"-layers"),...Ht].join(" ")},children:ei}]})}})},Zo={mixout:()=>({counter(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:Ht=null,classes:ei=[],attributes:ci={},styles:yi={}}=Vt;return za({type:"counter",content:mt},()=>(wa("beforeDOMElementCreation",{content:mt,params:Vt}),function xr(mt){const{content:Vt,title:Ht,extra:ei}=mt,ci={...ei.attributes,...Ht?{title:Ht}:{},class:ei.classes.join(" ")},yi=Lt(ei.styles);yi.length>0&&(ci.style=yi);const Oi=[];return Oi.push({tag:"span",attributes:ci,children:[Vt]}),Ht&&Oi.push({tag:"span",attributes:{class:"sr-only"},children:[Ht]}),Oi}({content:mt.toString(),title:Ht,extra:{attributes:ci,styles:yi,classes:["".concat(Se.cssPrefix,"-layers-counter"),...ei]}})))}})},$a={mixout:()=>({text(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:Ht=Re,title:ei=null,classes:ci=[],attributes:yi={},styles:Oi={}}=Vt;return za({type:"text",content:mt},()=>(wa("beforeDOMElementCreation",{content:mt,params:Vt}),Ya({content:mt,transform:{...Re,...Ht},title:ei,extra:{attributes:yi,styles:Oi,classes:["".concat(Se.cssPrefix,"-layers-text"),...ci]}})))}}),provides(mt){mt.generateLayersText=function(Vt,Ht){const{title:ei,transform:ci,extra:yi}=Ht;let Oi=null,ji=null;if(j){const pn=parseInt(getComputedStyle(Vt).fontSize,10),_n=Vt.getBoundingClientRect();Oi=_n.width/pn,ji=_n.height/pn}return Se.autoA11y&&!ei&&(yi.attributes["aria-hidden"]="true"),Promise.resolve([Vt,Ya({content:Vt.innerHTML,width:Oi,height:ji,transform:ci,title:ei,extra:yi,watchable:!0})])}}};const Vo=new RegExp('"',"ug"),Gr=[1105920,1112319],Pi={FontAwesome:{normal:"fas",400:"fas"},"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"},"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"},"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},it=Object.keys(Pi).reduce((mt,Vt)=>(mt[Vt.toLowerCase()]=Pi[Vt],mt),{}),ut=Object.keys(it).reduce((mt,Vt)=>{const Ht=it[Vt];return mt[Vt]=Ht[900]||[...Object.entries(Ht)][0][1],mt},{});function ai(mt,Vt){const Ht="".concat(ae).concat(Vt.replace(":","-"));return new Promise((ei,ci)=>{if(null!==mt.getAttribute(Ht))return ei();const Oi=Fe(mt.children).filter(bt=>bt.getAttribute(se)===Vt)[0],ji=h.getComputedStyle(mt,Vt),pn=ji.getPropertyValue("font-family"),_n=pn.match(nt),Wn=ji.getPropertyValue("font-weight"),xe=ji.getPropertyValue("content");if(Oi&&!_n)return mt.removeChild(Oi),ei();if(_n&&"none"!==xe&&""!==xe){const bt=ji.getPropertyValue("content");let Ye=function Dt(mt,Vt){const Ht=mt.replace(/^['"]|['"]$/g,"").toLowerCase(),ei=parseInt(Vt),ci=isNaN(ei)?"normal":ei;return(it[Ht]||{})[ci]||ut[Ht]}(pn,Wn);const{value:gt,isSecondary:Zt}=function Ve(mt){const Vt=mt.replace(Vo,""),Ht=function ln(mt,Vt){const Ht=mt.length;let ci,ei=mt.charCodeAt(Vt);return ei>=55296&&ei<=56319&&Ht>Vt+1&&(ci=mt.charCodeAt(Vt+1),ci>=56320&&ci<=57343)?1024*(ei-55296)+ci-56320+65536:ei}(Vt,0),ei=Ht>=Gr[0]&&Ht<=Gr[1],ci=2===Vt.length&&Vt[0]===Vt[1];return{value:Zi(ci?Vt[0]:Vt),isSecondary:ei||ci}}(bt),Si=_n[0].startsWith("FontAwesome");let Ii=nr(Ye,gt),on=Ii;if(Si){const Kn=function Yi(mt){const Vt=di[mt],Ht=nr("fas",mt);return Vt||(Ht?{prefix:"fas",iconName:Ht}:null)||{prefix:null,iconName:null}}(gt);Kn.iconName&&Kn.prefix&&(Ii=Kn.iconName,Ye=Kn.prefix)}if(!Ii||Zt||Oi&&Oi.getAttribute(he)===Ye&&Oi.getAttribute(Ie)===on)ei();else{mt.setAttribute(Ht,on),Oi&&mt.removeChild(Oi);const Kn=function Bo(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Re,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),{extra:wr}=Kn;wr.attributes[se]=Vt,Ao(Ii,Ye).then(pr=>{const Fn=yr({...Kn,icons:{main:pr,mask:mi()},prefix:Ye,iconName:on,extra:wr,watchable:!0}),Sr=S.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===Vt?mt.insertBefore(Sr,mt.firstChild):mt.appendChild(Sr),Sr.outerHTML=Fn.map(Dn=>Mt(Dn)).join("\n"),mt.removeAttribute(Ht),ei()}).catch(ci)}}else ei()})}function vn(mt){return Promise.all([ai(mt,"::before"),ai(mt,"::after")])}function er(mt){return!(mt.parentNode===document.head||~Ee.indexOf(mt.tagName.toUpperCase())||mt.getAttribute(se)||mt.parentNode&&"svg"===mt.parentNode.tagName)}function Oo(mt){if(V)return new Promise((Vt,Ht)=>{const ei=Fe(mt.querySelectorAll("*")).filter(er).map(vn),ci=vo.begin("searchPseudoElements");$r(),Promise.all(ei).then(()=>{ci(),pa(),Vt()}).catch(()=>{ci(),pa(),Ht()})})}let Qa=!1;const ks=mt=>mt.toLowerCase().split(" ").reduce((Ht,ei)=>{const ci=ei.toLowerCase().split("-"),yi=ci[0];let Oi=ci.slice(1).join("-");if(yi&&"h"===Oi)return Ht.flipX=!0,Ht;if(yi&&"v"===Oi)return Ht.flipY=!0,Ht;if(Oi=parseFloat(Oi),isNaN(Oi))return Ht;switch(yi){case"grow":Ht.size=Ht.size+Oi;break;case"shrink":Ht.size=Ht.size-Oi;break;case"left":Ht.x=Ht.x-Oi;break;case"right":Ht.x=Ht.x+Oi;break;case"up":Ht.y=Ht.y-Oi;break;case"down":Ht.y=Ht.y+Oi;break;case"rotate":Ht.rotate=Ht.rotate+Oi}return Ht},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0}),Vs={x:0,y:0,width:"100%",height:"100%"};function nc(mt){return mt.attributes&&(mt.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(mt.attributes.fill="black"),mt}function Jo(mt){return"g"===mt.tag?mt.children:[mt]}!function fr(mt,Vt){let{mixoutsTo:Ht}=Vt;On=mt,ir={},Object.keys(gn).forEach(ei=>{-1===Xr.indexOf(ei)&&delete gn[ei]}),On.forEach(ei=>{const ci=ei.mixout?ei.mixout():{};if(Object.keys(ci).forEach(yi=>{"function"==typeof ci[yi]&&(Ht[yi]=ci[yi]),"object"==typeof ci[yi]&&Object.keys(ci[yi]).forEach(Oi=>{Ht[yi]||(Ht[yi]={}),Ht[yi][Oi]=ci[yi][Oi]})}),ei.hooks){const yi=ei.hooks();Object.keys(yi).forEach(Oi=>{ir[Oi]||(ir[Oi]=[]),ir[Oi].push(yi[Oi])})}ei.provides&&ei.provides(gn)})}([tn,Ra,ao,Zo,$a,{hooks:()=>({mutationObserverCallbacks:mt=>(mt.pseudoElementsCallback=Oo,mt)}),provides(mt){mt.pseudoElements2svg=function(Vt){const{node:Ht=S}=Vt;Se.searchPseudoElements&&Oo(Ht)}}},{mixout:()=>({dom:{unwatch(){$r(),Qa=!0}}}),hooks:()=>({bootstrap(){ro(mr("mutationObserverCallbacks",{}))},noAuto(){!function Ka(){yo&&yo.disconnect()}()},watch(mt){const{observeMutationsRoot:Vt}=mt;Qa?pa():ro(mr("mutationObserverCallbacks",{observeMutationsRoot:Vt}))}})},{mixout:()=>({parse:{transform:mt=>ks(mt)}}),hooks:()=>({parseNodeAttributes(mt,Vt){const Ht=Vt.getAttribute("data-fa-transform");return Ht&&(mt.transform=ks(Ht)),mt}}),provides(mt){mt.generateAbstractTransformGrouping=function(Vt){let{main:Ht,transform:ei,containerWidth:ci,iconWidth:yi}=Vt;const Oi={transform:"translate(".concat(ci/2," 256)")},ji="translate(".concat(32*ei.x,", ").concat(32*ei.y,") "),pn="scale(".concat(ei.size/16*(ei.flipX?-1:1),", ").concat(ei.size/16*(ei.flipY?-1:1),") "),_n="rotate(".concat(ei.rotate," 0 0)"),Wn={transform:"".concat(ji," ").concat(pn," ").concat(_n)},xe={transform:"translate(".concat(yi/2*-1," -256)")};return{tag:"g",attributes:{...Oi},children:[{tag:"g",attributes:{...Wn},children:[{tag:Ht.icon.tag,children:Ht.icon.children,attributes:{...Ht.icon.attributes,...xe}}]}]}}}},{hooks:()=>({parseNodeAttributes(mt,Vt){const Ht=Vt.getAttribute("data-fa-mask"),ei=Ht?Ni(Ht.split(" ").map(ci=>ci.trim())):mi();return ei.prefix||(ei.prefix=Ft()),mt.mask=ei,mt.maskId=Vt.getAttribute("data-fa-mask-id"),mt}}),provides(mt){mt.generateAbstractMask=function(Vt){let{children:Ht,attributes:ei,main:ci,mask:yi,maskId:Oi,transform:ji}=Vt;const{width:pn,icon:_n}=ci,{width:Wn,icon:xe}=yi,bt=function $t(mt){let{transform:Vt,containerWidth:Ht,iconWidth:ei}=mt;const ci={transform:"translate(".concat(Ht/2," 256)")},yi="translate(".concat(32*Vt.x,", ").concat(32*Vt.y,") "),Oi="scale(".concat(Vt.size/16*(Vt.flipX?-1:1),", ").concat(Vt.size/16*(Vt.flipY?-1:1),") "),ji="rotate(".concat(Vt.rotate," 0 0)");return{outer:ci,inner:{transform:"".concat(yi," ").concat(Oi," ").concat(ji)},path:{transform:"translate(".concat(ei/2*-1," -256)")}}}({transform:ji,containerWidth:Wn,iconWidth:pn}),Ye={tag:"rect",attributes:{...Vs,fill:"white"}},gt=_n.children?{children:_n.children.map(nc)}:{},Zt={tag:"g",attributes:{...bt.inner},children:[nc({tag:_n.tag,attributes:{..._n.attributes,...bt.path},...gt})]},Si={tag:"g",attributes:{...bt.outer},children:[Zt]},Ii="mask-".concat(Oi||Ke()),on="clip-".concat(Oi||Ke()),Kn={tag:"mask",attributes:{...Vs,id:Ii,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"},children:[Ye,Si]},wr={tag:"defs",children:[{tag:"clipPath",attributes:{id:on},children:Jo(xe)},Kn]};return Ht.push(wr,{tag:"rect",attributes:{fill:"currentColor","clip-path":"url(#".concat(on,")"),mask:"url(#".concat(Ii,")"),...Vs}}),{children:Ht,attributes:ei}}}},{provides(mt){let Vt=!1;h.matchMedia&&(Vt=h.matchMedia("(prefers-reduced-motion: reduce)").matches),mt.missingIconAbstract=function(){const Ht=[],ei={fill:"currentColor"},ci={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Ht.push({tag:"path",attributes:{...ei,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"}});const yi={...ci,attributeName:"opacity"},Oi={tag:"circle",attributes:{...ei,cx:"256",cy:"364",r:"28"},children:[]};return Vt||Oi.children.push({tag:"animate",attributes:{...ci,attributeName:"r",values:"28;14;28;28;14;28;"}},{tag:"animate",attributes:{...yi,values:"1;0;1;1;0;1;"}}),Ht.push(Oi),Ht.push({tag:"path",attributes:{...ei,opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"},children:Vt?[]:[{tag:"animate",attributes:{...yi,values:"1;0;0;0;0;1;"}}]}),Vt||Ht.push({tag:"path",attributes:{...ei,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:{...yi,values:"0;0;1;1;0;0;"}}]}),{tag:"g",attributes:{class:"missing"},children:Ht}}}},{hooks:()=>({parseNodeAttributes(mt,Vt){const Ht=Vt.getAttribute("data-fa-symbol");return mt.symbol=null!==Ht&&(""===Ht||Ht),mt}})}],{mixoutsTo:Or});const Nr=Or.config,_a=Or.dom,dn=Or.parse,vc=Or.icon;var bs=g(345);const Fc=["*"],Nc=mt=>{const Vt={[`fa-${mt.animation}`]:null!=mt.animation&&!mt.animation.startsWith("spin"),"fa-spin":"spin"===mt.animation||"spin-reverse"===mt.animation,"fa-spin-pulse":"spin-pulse"===mt.animation||"spin-pulse-reverse"===mt.animation,"fa-spin-reverse":"spin-reverse"===mt.animation||"spin-pulse-reverse"===mt.animation,"fa-pulse":"spin-pulse"===mt.animation||"spin-pulse-reverse"===mt.animation,"fa-fw":mt.fixedWidth,"fa-border":mt.border,"fa-inverse":mt.inverse,"fa-layers-counter":mt.counter,"fa-flip-horizontal":"horizontal"===mt.flip||"both"===mt.flip,"fa-flip-vertical":"vertical"===mt.flip||"both"===mt.flip,[`fa-${mt.size}`]:null!==mt.size,[`fa-rotate-${mt.rotate}`]:null!==mt.rotate,[`fa-pull-${mt.pull}`]:null!==mt.pull,[`fa-stack-${mt.stackItemSize}`]:null!=mt.stackItemSize};return Object.keys(Vt).map(Ht=>Vt[Ht]?Ht:null).filter(Ht=>Ht)},Gs=new WeakSet,Hs="fa-auto-css";let Pc=(()=>{class mt{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null,this._autoAddCss=!0}set autoAddCss(Ht){Nr.autoAddCss=Ht,this._autoAddCss=Ht}get autoAddCss(){return this._autoAddCss}static{this.\u0275fac=function(ei){return new(ei||mt)}}static{this.\u0275prov=e.jDH({token:mt,factory:mt.\u0275fac,providedIn:"root"})}}return mt})(),Xs=(()=>{class mt{constructor(){this.definitions={}}addIcons(...Ht){for(const ei of Ht){ei.prefix in this.definitions||(this.definitions[ei.prefix]={}),this.definitions[ei.prefix][ei.iconName]=ei;for(const ci of ei.icon[2])"string"==typeof ci&&(this.definitions[ei.prefix][ci]=ei)}}addIconPacks(...Ht){for(const ei of Ht){const ci=Object.keys(ei).map(yi=>ei[yi]);this.addIcons(...ci)}}getIconDefinition(Ht,ei){return Ht in this.definitions&&ei in this.definitions[Ht]?this.definitions[Ht][ei]:null}static{this.\u0275fac=function(ei){return new(ei||mt)}}static{this.\u0275prov=e.jDH({token:mt,factory:mt.\u0275fac,providedIn:"root"})}}return mt})(),oc=(()=>{class mt{constructor(){this.stackItemSize="1x"}ngOnChanges(Ht){if("size"in Ht)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static{this.\u0275fac=function(ei){return new(ei||mt)}}static{this.\u0275dir=e.FsC({type:mt,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[e.OA$]})}}return mt})(),ys=(()=>{class mt{constructor(Ht,ei){this.renderer=Ht,this.elementRef=ei}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(Ht){"size"in Ht&&(null!=Ht.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${Ht.size.currentValue}`),null!=Ht.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${Ht.size.previousValue}`))}static{this.\u0275fac=function(ei){return new(ei||mt)(e.rXU(e.sFG),e.rXU(e.aKT))}}static{this.\u0275cmp=e.VBU({type:mt,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[e.OA$,e.aNF],ngContentSelectors:Fc,decls:1,vars:0,template:function(ei,ci){1&ei&&(e.NAR(),e.SdG(0))},encapsulation:2})}}return mt})(),sc=(()=>{class mt{constructor(Ht,ei,ci,yi,Oi){this.sanitizer=Ht,this.config=ei,this.iconLibrary=ci,this.stackItem=yi,this.document=(0,e.WQX)(t.qQ),null!=Oi&&null==yi&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(Ht){if(null!=this.icon||null!=this.config.fallbackIcon){if(Ht){const ei=this.findIconDefinition(this.icon??this.config.fallbackIcon);if(null!=ei){const ci=this.buildParams();!function js(mt,Vt){if(!Vt.autoAddCss||Gs.has(mt))return;if(null!=mt.getElementById(Hs))return Vt.autoAddCss=!1,void Gs.add(mt);const Ht=mt.createElement("style");Ht.setAttribute("type","text/css"),Ht.setAttribute("id",Hs),Ht.innerHTML=_a.css();const ei=mt.head.childNodes;let ci=null;for(let yi=ei.length-1;yi>-1;yi--){const Oi=ei[yi],ji=Oi.nodeName.toUpperCase();["STYLE","LINK"].indexOf(ji)>-1&&(ci=Oi)}mt.head.insertBefore(Ht,ci),Vt.autoAddCss=!1,Gs.add(mt)}(this.document,this.config);const yi=vc(ei,ci);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(yi.html.join("\n"))}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(Ht){const ei=((mt,Vt)=>(mt=>void 0!==mt.prefix&&void 0!==mt.iconName)(mt)?mt:Array.isArray(mt)&&2===mt.length?{prefix:mt[0],iconName:mt[1]}:{prefix:Vt,iconName:mt})(Ht,this.config.defaultPrefix);return"icon"in ei?ei:this.iconLibrary.getIconDefinition(ei.prefix,ei.iconName)??((mt=>{throw new Error(`Could not find icon with iconName=${mt.iconName} and prefix=${mt.prefix} in the icon library.`)})(ei),null)}buildParams(){const Ht={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},ei="string"==typeof this.transform?dn.transform(this.transform):this.transform;return{title:this.title,transform:ei,classes:Nc(Ht),mask:null!=this.mask?this.findIconDefinition(this.mask):null,symbol:this.symbol,attributes:{role:this.a11yRole}}}static{this.\u0275fac=function(ei){return new(ei||mt)(e.rXU(bs.up),e.rXU(Pc),e.rXU(Xs),e.rXU(oc,8),e.rXU(ys,8))}}static{this.\u0275cmp=e.VBU({type:mt,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(ei,ci){2&ei&&(e.Mr5("innerHTML",ci.renderedIconHTML,e.npT),e.BMQ("title",ci.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:[e.OA$,e.aNF],decls:0,vars:0,template:function(ei,ci){},encapsulation:2})}}return mt})(),tl=(()=>{class mt{static{this.\u0275fac=function(ei){return new(ei||mt)}}static{this.\u0275mod=e.$C({type:mt})}static{this.\u0275inj=e.G2t({})}}return mt})()},5383:(Qe,te,g)=>{"use strict";g.d(te,{$$g:()=>ea,$Fj:()=>_0,$sC:()=>Pm,BA1:()=>r2,C8j:()=>vp,CQO:()=>Ng,Ccf:()=>$6,D6w:()=>ll,DW4:()=>_n,EvL:()=>j4,FYJ:()=>pu,GR4:()=>Z3,GRI:()=>r8,HEq:()=>Vs,If6:()=>h_,Int:()=>AC,JKM:()=>Xh,Kcb:()=>Mp,M29:()=>P1,McB:()=>_i,Mf0:()=>X_,MjD:()=>U_,Oh6:()=>mi,QLR:()=>ku,TBz:()=>c5,Tq9:()=>Nx,Vpi:()=>J1,VwO:()=>c7,W1p:()=>Kh,WKo:()=>W9,WxX:()=>Je,Xbc:()=>cd,_eQ:()=>pn,_qq:()=>z8,aAJ:()=>f_,aFw:()=>Kl,cbP:()=>sg,dB:()=>g7,e4L:()=>Il,eGi:()=>rg,f6_:()=>F3,gdJ:()=>Co,hb3:()=>r4,iW_:()=>Db,iy8:()=>Yb,jPR:()=>Qg,jTw:()=>K0,k02:()=>$n,k6j:()=>pd,knH:()=>e6,ld_:()=>Wv,njF:()=>Zp,nsx:()=>n6,o97:()=>rp,pCJ:()=>ii,pS3:()=>d2,peG:()=>Ih,qFF:()=>f9,qIE:()=>fn,s5m:()=>Od,vfE:()=>Ql,xiI:()=>Rg,ymQ:()=>k2,zPk:()=>tc,zjW:()=>p2,zm_:()=>r_,zpE:()=>Tw});const Je={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"]},ii={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 304l91.4 0C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7L29.7 512C13.3 512 0 498.7 0 482.3zM625 177L497 305c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L591 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},mi={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M32 32l448 0c17.7 0 32 14.3 32 32l0 32c0 17.7-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96L0 64C0 46.3 14.3 32 32 32zm0 128l448 0 0 256c0 35.3-28.7 64-64 64L96 480c-35.3 0-64-28.7-64-64l0-256zm128 80c0 8.8 7.2 16 16 16l160 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-160 0c-8.8 0-16 7.2-16 16z"]},ea={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"]},Vs={prefix:"fas",iconName:"unlock-keyhole",icon:[448,512,["unlock-alt"],"f13e","M224 64c-44.2 0-80 35.8-80 80l0 48 240 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0 0-48C80 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-32l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0z"]},pn={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 448L64 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0c61.9 0 112-50.1 112-112c0-2.5-.1-5-.2-7.5z"]},_n={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144l0 48 160 0 0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192l0-48C80 64.5 144.5 0 224 0s144 64.5 144 144l0 48 16 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0z"]},Co={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 192l42.7 0c15.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 0L21.3 320C9.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.7l42.7 0C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3l-213.3 0zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352l117.3 0C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7l-330.7 0c-14.7 0-26.7-11.9-26.7-26.7z"]},pd={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"]},Il={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 75l-8.7 0-32 0-96 0c-35.3 0-64 28.7-64 64l0 96c0 35.3 28.7 64 64 64l0 128c0 17.7 14.3 32 32 32l64 0c17.7 0 32-14.3 32-32l0-128 8.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.6l0-147.6c18.6-8.8 32-32.5 32-60.4s-13.4-51.6-32-60.4L480 32zm-64 76.7L416 240l0 131.3C357.2 317.8 280.5 288 200.7 288l-8.7 0 0-96 8.7 0c79.8 0 156.5-29.8 215.3-83.3z"]},k2={prefix:"fas",iconName:"money-bill-wave",icon:[576,512,[],"f53a","M0 112.5L0 422.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.4l0-309.9c0-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 64l-64 0 0-64zm64-208c0 35.3-28.7 64-64 64l0-64 64 0zM512 304l0 64-64 0c0-35.3 28.7-64 64-64zM448 96l64 0 0 64c-35.3 0-64-28.7-64-64z"]},ll={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96l0 64c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 32zm280 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 64l0 64c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 288zm280 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"]},_0={prefix:"fas",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 32c17.7 0 32 14.3 32 32l0 336c0 8.8 7.2 16 16 16l400 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L80 480c-44.2 0-80-35.8-80-80L0 64C0 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 64l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 96l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},Kl={prefix:"fas",iconName:"window-restore",icon:[512,512,[],"f2d2","M432 64L208 64c-8.8 0-16 7.2-16 16l0 16-64 0 0-16c0-44.2 35.8-80 80-80L432 0c44.2 0 80 35.8 80 80l0 224c0 44.2-35.8 80-80 80l-16 0 0-64 16 0c8.8 0 16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zM0 192c0-35.3 28.7-64 64-64l256 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 192zm64 32c0 17.7 14.3 32 32 32l192 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 192c-17.7 0-32 14.3-32 32z"]},Od={prefix:"fas",iconName:"euro-sign",icon:[320,512,[8364,"eur","euro"],"f153","M48.1 240c-.1 2.7-.1 5.3-.1 8l0 16c0 2.7 0 5.3 .1 8L32 272c-17.7 0-32 14.3-32 32s14.3 32 32 32l28.3 0C89.9 419.9 170 480 264 480l24 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-24 0c-57.9 0-108.2-32.4-133.9-80L256 336c17.7 0 32-14.3 32-32s-14.3-32-32-32l-143.8 0c-.1-2.6-.2-5.3-.2-8l0-16c0-2.7 .1-5.4 .2-8L256 240c17.7 0 32-14.3 32-32s-14.3-32-32-32l-125.9 0c25.7-47.6 76-80 133.9-80l24 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-24 0C170 32 89.9 92.1 60.3 176L32 176c-17.7 0-32 14.3-32 32s14.3 32 32 32l16.1 0z"]},Ql={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.4L48 224l-16 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l16 0 0 44.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 480l256 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L88.5 416l.7-1.1C104.1 390 112 361.5 112 332.5l0-44.5 112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-112 0 0-63.6z"]},P1={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"]},Ih={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 160 128 160c-35.3 0-64 28.7-64 64l0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32C0 153.3 57.3 96 128 96l210.7 0L297.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 416 96 416c-17.7 0-32 14.3-32 32l0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32c0-53 43-96 96-96l146.7 0-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]},fn={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"]},j4={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M80 160c0-35.3 28.7-64 64-64l32 0c35.3 0 64 28.7 64 64l0 3.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 74l0 1.4c0 17.7 14.3 32 32 32s32-14.3 32-32l0-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7l0-3.6c0-70.7-57.3-128-128-128l-32 0C73.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"]},K0={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"]},Xh={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 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l40.9 0 56.7 170.1c4.5 13.5 17.4 22.4 31.6 21.9s26.4-10.4 29.8-24.2L233 288l46 0L321 455.8c3.4 13.8 15.6 23.7 29.8 24.2s27.1-8.4 31.6-21.9L439.1 288l40.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-19.6 0 50-149.9c5.6-16.8-3.5-34.9-20.2-40.5s-34.9 3.5-40.5 20.2L392.9 224l-64 0L287 56.2C283.5 42 270.7 32 256 32s-27.5 10-31 24.2L183 224l-64 0L62.4 53.9zm78 234.1l26.6 0-11.4 45.6L140.4 288zM249 224l7-28.1 7 28.1-14 0zm96 64l26.6 0-15.2 45.6L345 288z"]},Kh={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 240l0-223.4c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16L304 240zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4L256 288 412.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 288l238.4 0z"]},Zp={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 320L48 320c-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-48l352 0c26.5 0 48 21.5 48 48s-21.5 48-48 48L48 480c-26.5 0-48-21.5-48-48z"]},e6={prefix:"fas",iconName:"signs-post",icon:[512,512,["map-signs"],"f277","M224 32L64 32C46.3 32 32 46.3 32 64l0 64c0 17.7 14.3 32 32 32l377.4 0c4.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.7L288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32zM480 256c0-17.7-14.3-32-32-32l-160 0 0-32-64 0 0 32L70.6 224c-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.7L448 352c17.7 0 32-14.3 32-32l0-64zM288 480l0-96-64 0 0 96c0 17.7 14.3 32 32 32s32-14.3 32-32z"]},n6={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.4l54.1 0 109 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-109 0-54.1c0-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.7L352 176c-8.8 0-16-7.2-16-16l0-57.4c0-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"]},r2={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64L80 128c-8.8 0-16-7.2-16-16s7.2-16 16-16l368 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L64 32zM416 272a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},cd={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.3l0 87.8c18.8-10.9 40.7-17.1 64-17.1l96 0c35.3 0 64-28.7 64-64l0-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.3l0 6.7c0 70.7-57.3 128-128 128l-96 0c-35.3 0-64 28.7-64 64l0 6.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.3l0-6.7 0-198.7C19.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"]},c5={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 5L320 256c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c53 0 96 43 96 96s-43 96-96 96l-276.4 0c8.7-9.9 19.3-22.6 30-36.8c6.3-8.4 12.8-17.6 19-27.2L416 448c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0c-53 0-96-43-96-96s43-96 96-96l39.8 0c-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"]},d2={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"]},_i={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 304l91.4 0c11.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.7l0 .9c0 9.2 2.7 18.5 7.9 26.3L29.7 512C13.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.8l0 30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-25 14.4c.4 4 .7 8.1 .7 12.3s-.2 8.2-.7 12.3l25 14.4c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4l-24.9-14.3c-6.9 5.1-14.3 9.4-22.3 12.8l0 30.6c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8l0-30.5c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3 .7-12.4L343.8 325c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9l0-30.5zm92.1 133.5a48.1 48.1 0 1 0 -96.1 0 48.1 48.1 0 1 0 96.1 0z"]},$n={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.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},Pm={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"]},Db={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 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-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"]},c7={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M96 64c0-17.7 14.3-32 32-32l32 0c17.7 0 32 14.3 32 32l0 160 0 64 0 160c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32l0-64c-17.7 0-32-14.3-32-32s14.3-32 32-32l0-64c0-17.7 14.3-32 32-32l32 0 0-64zm448 0l0 64 32 0c17.7 0 32 14.3 32 32l0 64c17.7 0 32 14.3 32 32s-14.3 32-32 32l0 64c0 17.7-14.3 32-32 32l-32 0 0 64c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32l0-160 0-64 0-160c0-17.7 14.3-32 32-32l32 0c17.7 0 32 14.3 32 32zM416 224l0 64-192 0 0-64 192 0z"]},pu={prefix:"fas",iconName:"indian-rupee-sign",icon:[320,512,["indian-rupee","inr"],"e1bc","M0 64C0 46.3 14.3 32 32 32l64 0 16 0 176 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-56.2 0c9.6 14.4 16.7 30.6 20.7 48l35.6 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-35.6 0c-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 256l80 0c32.8 0 61-19.7 73.3-48L32 208c-17.7 0-32-14.3-32-32s14.3-32 32-32l153.3 0C173 115.7 144.8 96 112 96L96 96 32 96C14.3 96 0 81.7 0 64z"]},$6={prefix:"fas",iconName:"money-bill-1",icon:[576,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zm64 320l-64 0 0-64c35.3 0 64 28.7 64 64zM64 192l0-64 64 0c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64l0 64-64 0zm64-192c-35.3 0-64-28.7-64-64l64 0 0 64zM176 256a112 112 0 1 1 224 0 112 112 0 1 1 -224 0zm76-48c0 9.7 6.9 17.7 16 19.6l0 48.4-4 0c-11 0-20 9-20 20s9 20 20 20l24 0 24 0c11 0 20-9 20-20s-9-20-20-20l-4 0 0-68c0-11-9-20-20-20l-16 0c-11 0-20 9-20 20z"]},Yb=$6,p2={prefix:"fas",iconName:"franc-sign",icon:[320,512,[],"e18f","M80 32C62.3 32 48 46.3 48 64l0 160 0 96-16 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l16 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-80 0 0-64 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-96 176 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},g7={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"]},rg={prefix:"fas",iconName:"network-wired",icon:[640,512,[],"f6ff","M256 64l128 0 0 64-128 0 0-64zM240 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l48 0 0 32L32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0 0 32-48 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l160 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-48 0 0-32 256 0 0 32-48 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l160 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-48 0 0-32 96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-256 0 0-32 48 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48L240 0zM96 448l0-64 128 0 0 64L96 448zm320-64l128 0 0 64-128 0 0-64z"]},sg={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-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.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},r_={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 288l111.5 0L98.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.7l-111.5 0L349.4 44.6z"]},tc={prefix:"fas",iconName:"yen-sign",icon:[320,512,[165,"cny","jpy","rmb","yen"],"f157","M58.6 46.3C48.8 31.5 29 27.6 14.2 37.4S-4.4 67 5.4 81.8L100.2 224 48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 32-80 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-80 0 0-32 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-52.2 0L314.6 81.8c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.3z"]},F3={prefix:"fas",iconName:"ruble-sign",icon:[384,512,[8381,"rouble","rub","ruble"],"f158","M96 32C78.3 32 64 46.3 64 64l0 192-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0 0 32-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0 0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-32 112 0c79.5 0 144-64.5 144-144s-64.5-144-144-144L96 32zM240 256l-112 0 0-160 112 0c44.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 96l0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32c0-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 32l0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32c0-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"]},f_={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 512l362.8 0c-5.4-9.4-8.6-20.3-8.6-32l0-128c0-2.1 .1-4.2 .3-6.3c-31-26-71-41.7-114.6-41.7l-91.4 0zM528 240c17.7 0 32 14.3 32 32l0 48-64 0 0-48c0-17.7 14.3-32 32-32zm-80 32l0 48c-17.7 0-32 14.3-32 32l0 128c0 17.7 14.3 32 32 32l160 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32l0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]},Rg={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"]},rp={prefix:"fas",iconName:"bars-staggered",icon:[512,512,["reorder","stream"],"f550","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},Ng={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"]},U_={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"]},X_={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.8l0 464c0 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 488L0 24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16l192 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L96 144zM80 352c0 8.8 7.2 16 16 16l192 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L96 336c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l192 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L96 240z"]},Nx={prefix:"fas",iconName:"brazilian-real-sign",icon:[512,512,[],"e46c","M400 0c17.7 0 32 14.3 32 32l0 18.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.5l-1.7 0c-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.4l0 3.4c0 51.2-33.6 94.6-80 109.2l0 21.3c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-19.4c-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.5l0-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.2L368 32c0-17.7 14.3-32 32-32zM0 64C0 46.3 14.3 32 32 32l80 0c79.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 320 64 320l0 128c0 17.7-14.3 32-32 32s-32-14.3-32-32L0 288 0 64zM64 256l48 0c44.2 0 80-35.8 80-80s-35.8-80-80-80L64 96l0 160z"]},f9={prefix:"fas",iconName:"diagram-project",icon:[576,512,["project-diagram"],"f542","M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 16 192 0 0-16c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-16-192 0 0 16c0 1.7-.1 3.4-.3 5L272 288l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-1.7 .1-3.4 .3-5L144 224l-96 0c-26.5 0-48-21.5-48-48L0 80z"]},Qg={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"]},ku={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},r8={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"]},W9={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"]},AC={prefix:"fas",iconName:"clock-rotate-left",icon:[512,512,["history"],"f1da","M75 75L41 41C25.9 25.9 0 36.6 0 57.9L0 168c0 13.3 10.7 24 24 24l110.1 0c21.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 24l0 104c0 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-65 0-94.1c0-13.3-10.7-24-24-24z"]},vp={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.1l0 29.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.9l0-29.7zM274.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.1l0 29.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.1l0-29.7c0-44.8-36.3-81.1-81.1-81.1c-21.5 0-42.2 8.5-57.4 23.8L365.3 256z"]},Z3={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L398.4 96c-5.2 25.8-22.9 47.1-46.4 57.3L352 448l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0-192 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0 0-294.7c-23.5-10.3-41.2-31.6-46.4-57.3L128 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l128 0c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288l144.9 0L512 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 320l144.9 0L126.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"]},Mp={prefix:"fas",iconName:"baht-sign",icon:[320,512,[],"e0ac","M144 0c-17.7 0-32 14.3-32 32l0 32L37.6 64C16.8 64 0 80.8 0 101.6L0 224l0 41.7L0 288 0 406.3c0 23 18.7 41.7 41.7 41.7l70.3 0 0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32 32 0c61.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-112l0-32c0-17.7-14.3-32-32-32zM112 128l0 96-48 0 0-96 48 0zm64 96l0-96c26.5 0 48 21.5 48 48s-21.5 48-48 48zm-64 64l0 96-48 0 0-96 48 0zm64 96l0-96 32 0c26.5 0 48 21.5 48 48s-21.5 48-48 48l-32 0z"]},Tw={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 480L40 480c-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 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},z8={prefix:"fas",iconName:"right-left",icon:[512,512,["exchange-alt"],"f362","M32 96l320 0 0-64c0-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.6l0-64L32 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 32l-320 0 0 64c0 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 64 320 0z"]},Wv={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304l91.4 0c20.6 0 40.4 3.5 58.8 9.9C323 331 320 349.1 320 368c0 59.5 29.5 112.1 74.8 144L29.7 512C13.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 16l0 64c0 8.8 7.2 16 16 16l48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-48c0-8.8-7.2-16-16-16z"]},r4={prefix:"fas",iconName:"turkish-lira-sign",icon:[384,512,["try","turkish-lira"],"e2bb","M96 32c17.7 0 32 14.3 32 32l0 35.3L247.2 65.2c17-4.9 34.7 5 39.6 22s-5 34.7-22 39.6L128 165.9l0 29.4 119.2-34.1c17-4.9 34.7 5 39.6 22s-5 34.7-22 39.6L128 261.9 128 416l63.8 0c68.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 480L96 480c-17.7 0-32-14.3-32-32l0-167.9-23.2 6.6c-17 4.9-34.7-5-39.6-22s5-34.7 22-39.6L64 213.6l0-29.4-23.2 6.6c-17 4.9-34.7-5-39.6-22s5-34.7 22-39.6L64 117.6 64 64c0-17.7 14.3-32 32-32z"]},J1={prefix:"fas",iconName:"dollar-sign",icon:[320,512,[128178,61781,"dollar","usd"],"24","M160 0c17.7 0 32 14.3 32 32l0 35.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 11l0 33.4c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-34.9c-.4-.1-.9-.1-1.3-.2l-.2 0s0 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-.7s0 0 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-11L128 32c0-17.7 14.3-32 32-32z"]}},4054:(Qe,te,g)=>{"use strict";g.d(te,{En:()=>We,Vm:()=>Je,EH:()=>C,gp:()=>oe});var e=g(7673);g(274),g(3993);var w=g(7786),f=g(1985),R=g(1413),h=g(3557),S=g(983),y=g(8810),O=g(8071);class V{constructor(Se,Te,ce){this.kind=Se,this.value=Te,this.error=ce,this.hasValue="N"===Se}observe(Se){return j(this,Se)}do(Se,Te,ce){const{kind:Z,value:Re,error:Pe}=this;return"N"===Z?Se?.(Re):"E"===Z?Te?.(Pe):ce?.()}accept(Se,Te,ce){var Z;return(0,O.T)(null===(Z=Se)||void 0===Z?void 0:Z.next)?this.observe(Se):this.do(Se,Te,ce)}toObservable(){const{kind:Se,value:Te,error:ce}=this,Z="N"===Se?(0,e.of)(Te):"E"===Se?(0,y.$)(()=>ce):"C"===Se?S.w:0;if(!Z)throw new TypeError(`Unexpected notification kind ${Se}`);return Z}static createNext(Se){return new V("N",Se)}static createError(Se){return new V("E",void 0,Se)}static createComplete(){return V.completeNotification}}function j(xt,Se){var Te,ce,Z;const{kind:Re,value:Pe,error:pt}=xt;if("string"!=typeof Re)throw new TypeError('Invalid notification, missing "kind"');"N"===Re?null===(Te=Se.next)||void 0===Te||Te.call(Se,Pe):"E"===Re?null===(ce=Se.error)||void 0===ce||ce.call(Se,pt):null===(Z=Se.complete)||void 0===Z||Z.call(Se)}V.completeNotification=new V("C");var Y=g(9974),W=g(4360),J=g(6354),ie=g(9437),ee=g(5964),fe=g(8750);function ne(xt,Se,Te,ce){return(0,Y.N)((Z,Re)=>{let Pe;Se&&"function"!=typeof Se?({duration:Te,element:Pe,connector:ce}=Se):Pe=Se;const pt=new Map,Ke=pi=>{pt.forEach(pi),pi(Re)},Fe=pi=>Ke($t=>$t.error(pi));let Ge=0,qe=!1;const at=new W.H(Re,pi=>{try{const $t=xt(pi);let Kt=pt.get($t);if(!Kt){pt.set($t,Kt=ce?ce():new R.B);const Ui=function Lt(pi,$t){const Kt=new f.c(Ui=>{Ge++;const ti=$t.subscribe(Ui);return()=>{ti.unsubscribe(),0==--Ge&&qe&&at.unsubscribe()}});return Kt.key=pi,Kt}($t,Kt);if(Re.next(Ui),Te){const ti=(0,W._)(Kt,()=>{Kt.complete(),ti?.unsubscribe()},void 0,void 0,()=>pt.delete($t));at.add((0,fe.Tg)(Te(Ui)).subscribe(ti))}}Kt.next(Pe?Pe(pi):pi)}catch($t){Fe($t)}},()=>Ke(pi=>pi.complete()),Fe,()=>pt.clear(),()=>(qe=!0,0===Ge));Z.subscribe(at)})}var Me=g(1397);function Ce(xt,Se){return Se?Te=>Te.pipe(Ce((ce,Z)=>(0,fe.Tg)(xt(ce,Z)).pipe((0,J.T)((Re,Pe)=>Se(ce,Re,Z,Pe))))):(0,Y.N)((Te,ce)=>{let Z=0,Re=null,Pe=!1;Te.subscribe((0,W._)(ce,pt=>{Re||(Re=(0,W._)(ce,void 0,()=>{Re=null,Pe&&ce.complete()}),(0,fe.Tg)(xt(pt,Z++)).subscribe(Re))},()=>{Pe=!0,!Re&&ce.complete()}))})}var T=g(6697),n=g(4438),c=g(9640);const m={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},d="__@ngrx/effects_create__";function C(xt,Se={}){const Te=Se.functional?xt:xt(),ce={...m,...Se};return Object.defineProperty(Te,d,{value:ce}),Te}function a(xt){return Object.getPrototypeOf(xt)}function z(xt){return"function"==typeof xt}function N(xt){return xt.filter(z)}function pe(xt,Se,Te){const ce=a(xt),Re=ce&&"Object"!==ce.constructor.name?ce.constructor.name:null,Pe=function _(xt){return function A(xt){return Object.getOwnPropertyNames(xt).filter(ce=>!(!xt[ce]||!xt[ce].hasOwnProperty(d))&&xt[ce][d].hasOwnProperty("dispatch")).map(ce=>({propertyName:ce,...xt[ce][d]}))}(xt)}(xt).map(({propertyName:pt,dispatch:Ke,useEffectsErrorHandler:Fe})=>{const Ge="function"==typeof xt[pt]?xt[pt]():xt[pt],qe=Fe?Te(Ge,Se):Ge;return!1===Ke?qe.pipe((0,h.w)()):qe.pipe(function Q(){return(0,Y.N)((xt,Se)=>{xt.subscribe((0,W._)(Se,Te=>{Se.next(V.createNext(Te))},()=>{Se.next(V.createComplete()),Se.complete()},Te=>{Se.next(V.createError(Te)),Se.complete()}))})}()).pipe((0,J.T)(Lt=>({effect:xt[pt],notification:Lt,propertyName:pt,sourceName:Re,sourceInstance:xt})))});return(0,w.h)(...Pe)}function Xe(xt,Se,Te=10){return xt.pipe((0,ie.W)(ce=>(Se&&Se.handleError(ce),Te<=1?xt:Xe(xt,Se,Te-1))))}let We=(()=>{class xt extends f.c{constructor(Te){super(),Te&&(this.source=Te)}lift(Te){const ce=new xt;return ce.source=this,ce.operator=Te,ce}static{this.\u0275fac=function(ce){return new(ce||xt)(n.KVO(c.sA))}}static{this.\u0275prov=n.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}}return xt})();function oe(...xt){return(0,ee.p)(Se=>xt.some(Te=>"string"==typeof Te?Te===Se.type:Te.type===Se.type))}const X=new n.nKC("@ngrx/effects Internal Root Guard"),se=new n.nKC("@ngrx/effects User Provided Effects"),ae=new n.nKC("@ngrx/effects Internal Root Effects"),he=new n.nKC("@ngrx/effects Internal Root Effects Instances"),Ie=new n.nKC("@ngrx/effects Internal Feature Effects"),st=new n.nKC("@ngrx/effects Internal Feature Effects Instance Groups"),me=new n.nKC("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>Xe}),Ee="@ngrx/effects/init";(0,c.VP)(Ee);function je(xt){return vt(xt,"ngrxOnInitEffects")}function vt(xt,Se){return xt&&Se in xt&&"function"==typeof xt[Se]}let $e=(()=>{class xt extends R.B{constructor(Te,ce){super(),this.errorHandler=Te,this.effectsErrorHandler=ce}addEffects(Te){this.next(Te)}toActions(){return this.pipe(ne(Te=>function b(xt){return!!xt.constructor&&"Object"!==xt.constructor.name&&"Function"!==xt.constructor.name}(Te)?a(Te):Te),(0,Me.Z)(Te=>Te.pipe(ne(nt))),(0,Me.Z)(Te=>{const ce=Te.pipe(Ce(Re=>function qt(xt,Se){return Te=>{const ce=pe(Te,xt,Se);return function we(xt){return vt(xt,"ngrxOnRunEffects")}(Te)?Te.ngrxOnRunEffects(ce):ce}}(this.errorHandler,this.effectsErrorHandler)(Re)),(0,J.T)(Re=>(function Be(xt,Se){if("N"===xt.notification.kind){const Te=xt.notification.value;!function Ct(xt){return"function"!=typeof xt&&xt&&xt.type&&"string"==typeof xt.type}(Te)&&Se.handleError(new Error(`Effect ${function ct({propertyName:xt,sourceInstance:Se,sourceName:Te}){const ce="function"==typeof Se[xt];return Te?`"${Te}.${String(xt)}${ce?"()":""}"`:`"${String(xt)}()"`}(xt)} dispatched an invalid action: ${function dt(xt){try{return JSON.stringify(xt)}catch{return xt}}(Te)}`))}}(Re,this.errorHandler),Re.notification)),(0,ee.p)(Re=>"N"===Re.kind&&null!=Re.value),function le(){return(0,Y.N)((xt,Se)=>{xt.subscribe((0,W._)(Se,Te=>j(Te,Se)))})}()),Z=Te.pipe((0,T.s)(1),(0,ee.p)(je),(0,J.T)(Re=>Re.ngrxOnInitEffects()));return(0,w.h)(ce,Z)}))}static{this.\u0275fac=function(ce){return new(ce||xt)(n.KVO(n.zcH),n.KVO(me))}}static{this.\u0275prov=n.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}}return xt})();function nt(xt){return function ve(xt){return vt(xt,"ngrxOnIdentifyEffects")}(xt)?xt.ngrxOnIdentifyEffects():""}let Nt=(()=>{class xt{get isStarted(){return!!this.effectsSubscription}constructor(Te,ce){this.effectSources=Te,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||xt)(n.KVO($e),n.KVO(c.il))}}static{this.\u0275prov=n.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}}return xt})(),yt=(()=>{class xt{constructor(Te,ce,Z,Re,Pe,pt,Ke){this.sources=Te,ce.start();for(const Fe of Re)Te.addEffects(Fe);Z.dispatch({type:Ee})}addEffects(Te){this.sources.addEffects(Te)}static{this.\u0275fac=function(ce){return new(ce||xt)(n.KVO($e),n.KVO(Nt),n.KVO(c.il),n.KVO(he),n.KVO(c.wc,8),n.KVO(c.ae,8),n.KVO(X,8))}}static{this.\u0275mod=n.$C({type:xt})}static{this.\u0275inj=n.G2t({})}}return xt})(),jt=(()=>{class xt{constructor(Te,ce,Z,Re){const Pe=ce.flat();for(const pt of Pe)Te.addEffects(pt)}static{this.\u0275fac=function(ce){return new(ce||xt)(n.KVO(yt),n.KVO(st),n.KVO(c.wc,8),n.KVO(c.ae,8))}}static{this.\u0275mod=n.$C({type:xt})}static{this.\u0275inj=n.G2t({})}}return xt})(),Je=(()=>{class xt{static forFeature(...Te){const ce=Te.flat(),Z=N(ce);return{ngModule:jt,providers:[Z,{provide:Ie,multi:!0,useValue:ce},{provide:se,multi:!0,useValue:[]},{provide:st,multi:!0,useFactory:et,deps:[Ie,se]}]}}static forRoot(...Te){const ce=Te.flat(),Z=N(ce);return{ngModule:yt,providers:[Z,{provide:ae,useValue:[ce]},{provide:X,useFactory:Ae},{provide:se,multi:!0,useValue:[]},{provide:he,useFactory:et,deps:[ae,se]}]}}static{this.\u0275fac=function(ce){return new(ce||xt)}}static{this.\u0275mod=n.$C({type:xt})}static{this.\u0275inj=n.G2t({})}}return xt})();function et(xt,Se){const Te=[];for(const ce of xt)Te.push(...ce);for(const ce of Se)Te.push(...ce);return Te.map(ce=>function q(xt){return xt instanceof n.nKC||z(xt)}(ce)?(0,n.WQX)(ce):ce)}function Ae(){const xt=(0,n.WQX)(Nt,{optional:!0,skipSelf:!0}),Se=(0,n.WQX)(ae,{self:!0});if((1!==Se.length||0!==Se[0].length)&&xt)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},9640:(Qe,te,g)=>{"use strict";g.d(te,{SS:()=>le,Zz:()=>Ce,N_:()=>m,Bh:()=>ct,QU:()=>Ct,sA:()=>_e,h1:()=>Ue,il:()=>nt,ae:()=>dr,md:()=>wn,wc:()=>nr,q6:()=>dt,VP:()=>j,UX:()=>$t,vy:()=>Yi,Mz:()=>at,on:()=>Ai,xk:()=>Y});var e=g(4438),t=g(4412),x=g(1985),D=g(1413),l=g(7242),w=g(941),f=g(3993),R=g(2816),h=g(6354),y=g(3294),O=g(9079);const I={};function j(Ft,mi){if(I[Ft]=(I[Ft]||0)+1,"function"==typeof mi)return Q(Ft,(...xi)=>({...mi(...xi),type:Ft}));switch(mi?mi._as:"empty"){case"empty":return Q(Ft,()=>({type:Ft}));case"props":return Q(Ft,xi=>({...xi,type:Ft}));default:throw new Error("Unexpected config.")}}function Y(){return{_as:"props",_p:void 0}}function Q(Ft,mi){return Object.defineProperty(mi,"type",{value:Ft,writable:!1})}const Ce="@ngrx/store/init";let le=(()=>{class Ft extends t.t{constructor(){super({type:Ce})}next(gi){if("function"==typeof gi)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof gi>"u")throw new TypeError("Actions must be objects");if(typeof gi.type>"u")throw new TypeError("Actions must have a type property");super.next(gi)}complete(){}ngOnDestroy(){super.complete()}static{this.\u0275fac=function(xi){return new(xi||Ft)}}static{this.\u0275prov=e.jDH({token:Ft,factory:Ft.\u0275fac})}}return Ft})();const T=[le],n=new e.nKC("@ngrx/store Internal Root Guard"),c=new e.nKC("@ngrx/store Internal Initial State"),m=new e.nKC("@ngrx/store Initial State"),d=new e.nKC("@ngrx/store Reducer Factory"),C=new e.nKC("@ngrx/store Internal Reducer Factory Provider"),A=new e.nKC("@ngrx/store Initial Reducers"),k=new e.nKC("@ngrx/store Internal Initial Reducers"),_=new e.nKC("@ngrx/store Store Features"),a=new e.nKC("@ngrx/store Internal Store Reducers"),b=new e.nKC("@ngrx/store Internal Feature Reducers"),z=new e.nKC("@ngrx/store Internal Feature Configs"),N=new e.nKC("@ngrx/store Internal Store Features"),q=new e.nKC("@ngrx/store Internal Feature Reducers Token"),pe=new e.nKC("@ngrx/store Feature Reducers"),ze=new e.nKC("@ngrx/store User Provided Meta Reducers"),Xe=new e.nKC("@ngrx/store Meta Reducers"),We=new e.nKC("@ngrx/store Internal Resolved Meta Reducers"),oe=new e.nKC("@ngrx/store User Runtime Checks Config"),X=new e.nKC("@ngrx/store Internal User Runtime Checks Config"),se=new e.nKC("@ngrx/store Internal Runtime Checks"),ae=new e.nKC("@ngrx/store Check if Action types are unique");function st(Ft,mi={}){const gi=Object.keys(Ft),xi={};for(let nn=0;nnnn(Ni),gi(mi))}}function ue(Ft,mi){return Array.isArray(mi)&&mi.length>0&&(Ft=Ee.apply(null,[...mi,Ft])),(gi,xi)=>{const Ni=Ft(gi);return(nn,On)=>Ni(nn=void 0===nn?xi:nn,On)}}new e.nKC("@ngrx/store Root Store Provider"),new e.nKC("@ngrx/store Feature State Provider");class Ct extends x.c{}class ct extends le{}const dt="@ngrx/store/update-reducers";let Yt=(()=>{class Ft extends t.t{get currentReducers(){return this.reducers}constructor(gi,xi,Ni,nn){super(nn(Ni,xi)),this.dispatcher=gi,this.initialState=xi,this.reducers=Ni,this.reducerFactory=nn}addFeature(gi){this.addFeatures([gi])}addFeatures(gi){const xi=gi.reduce((Ni,{reducers:nn,reducerFactory:On,metaReducers:ir,initialState:gn,key:Xr})=>{const fr="function"==typeof nn?function Be(Ft){const mi=Array.isArray(Ft)&&Ft.length>0?Ee(...Ft):gi=>gi;return(gi,xi)=>(gi=mi(gi),(Ni,nn)=>gi(Ni=void 0===Ni?xi:Ni,nn))}(ir)(nn,gn):ue(On,ir)(nn,gn);return Ni[Xr]=fr,Ni},{});this.addReducers(xi)}removeFeature(gi){this.removeFeatures([gi])}removeFeatures(gi){this.removeReducers(gi.map(xi=>xi.key))}addReducer(gi,xi){this.addReducers({[gi]:xi})}addReducers(gi){this.reducers={...this.reducers,...gi},this.updateReducers(Object.keys(gi))}removeReducer(gi){this.removeReducers([gi])}removeReducers(gi){gi.forEach(xi=>{this.reducers=function me(Ft,mi){return Object.keys(Ft).filter(gi=>gi!==mi).reduce((gi,xi)=>Object.assign(gi,{[xi]:Ft[xi]}),{})}(this.reducers,xi)}),this.updateReducers(gi)}updateReducers(gi){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:dt,features:gi})}ngOnDestroy(){this.complete()}static{this.\u0275fac=function(xi){return new(xi||Ft)(e.KVO(ct),e.KVO(m),e.KVO(A),e.KVO(d))}}static{this.\u0275prov=e.jDH({token:Ft,factory:Ft.\u0275fac})}}return Ft})();const ve=[Yt,{provide:Ct,useExisting:Yt},{provide:ct,useExisting:le}];let _e=(()=>{class Ft extends D.B{ngOnDestroy(){this.complete()}static{this.\u0275fac=(()=>{let gi;return function(Ni){return(gi||(gi=e.xGo(Ft)))(Ni||Ft)}})()}static{this.\u0275prov=e.jDH({token:Ft,factory:Ft.\u0275fac})}}return Ft})();const we=[_e];class Ue extends x.c{}let je=(()=>{class Ft extends t.t{static{this.INIT=Ce}constructor(gi,xi,Ni,nn){super(nn);const Xr=gi.pipe((0,w.Q)(l.T)).pipe((0,f.E)(xi)).pipe((0,R.S)(vt,{state:nn}));this.stateSubscription=Xr.subscribe(({state:fr,action:mr})=>{this.next(fr),Ni.next(mr)}),this.state=(0,O.ot)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static{this.\u0275fac=function(xi){return new(xi||Ft)(e.KVO(le),e.KVO(Ct),e.KVO(_e),e.KVO(m))}}static{this.\u0275prov=e.jDH({token:Ft,factory:Ft.\u0275fac})}}return Ft})();function vt(Ft={state:void 0},[mi,gi]){const{state:xi}=Ft;return{state:gi(xi,mi),action:mi}}const $e=[je,{provide:Ue,useExisting:je}];let nt=(()=>{class Ft extends x.c{constructor(gi,xi,Ni){super(),this.actionsObserver=xi,this.reducerManager=Ni,this.source=gi,this.state=gi.state}select(gi,...xi){return Nt.call(null,gi,...xi)(this)}selectSignal(gi,xi){return(0,e.EWP)(()=>gi(this.state()),xi)}lift(gi){const xi=new Ft(this,this.actionsObserver,this.reducerManager);return xi.operator=gi,xi}dispatch(gi){this.actionsObserver.next(gi)}next(gi){this.actionsObserver.next(gi)}error(gi){this.actionsObserver.error(gi)}complete(){this.actionsObserver.complete()}addReducer(gi,xi){this.reducerManager.addReducer(gi,xi)}removeReducer(gi){this.reducerManager.removeReducer(gi)}static{this.\u0275fac=function(xi){return new(xi||Ft)(e.KVO(Ue),e.KVO(le),e.KVO(Yt))}}static{this.\u0275prov=e.jDH({token:Ft,factory:Ft.\u0275fac})}}return Ft})();const qt=[nt];function Nt(Ft,mi,...gi){return function(Ni){let nn;if("string"==typeof Ft){const On=[mi,...gi].filter(Boolean);nn=Ni.pipe(function S(...Ft){const mi=Ft.length;if(0===mi)throw new Error("list of properties cannot be empty.");return(0,h.T)(gi=>{let xi=gi;for(let Ni=0;NiFt(On,mi)))}return nn.pipe((0,y.F)())}}const yt="https://ngrx.io/guide/store/configuration/runtime-checks";function jt(Ft){return void 0===Ft}function Je(Ft){return null===Ft}function et(Ft){return Array.isArray(Ft)}function Tt(Ft){return"object"==typeof Ft&&null!==Ft}function Te(Ft){return"function"==typeof Ft}let Re=!1;function Ke(Ft,mi){return Ft===mi}function qe(Ft,mi=Ke,gi=Ke){let nn,xi=null,Ni=null;return{memoized:function Xr(){if(void 0!==nn)return nn.result;if(!xi)return Ni=Ft.apply(null,arguments),xi=arguments,Ni;if(!function Fe(Ft,mi,gi){for(let xi=0;xi"function"==typeof mi)}(xi[0])&&(xi=function Ui(Ft){const mi=Object.values(Ft),gi=Object.keys(Ft);return[...mi,(...Ni)=>gi.reduce((nn,On,ir)=>({...nn,[On]:Ni[ir]}),{})]}(xi[0]));const Ni=xi.slice(0,xi.length-1),nn=xi[xi.length-1],On=Ni.filter(fr=>fr.release&&"function"==typeof fr.release),ir=Ft(function(...fr){return nn.apply(null,fr)}),gn=qe(function(fr,mr){return mi.stateFn.apply(null,[fr,Ni,mr,ir])});return Object.assign(gn.memoized,{release:function Xr(){gn.reset(),ir.reset(),On.forEach(fr=>fr.release())},projector:ir.memoized,setResult:gn.setResult,clearResult:gn.clearResult})}}(qe)(...Ft)}function Lt(Ft,mi,gi,xi){if(void 0===gi){const nn=mi.map(On=>On(Ft));return xi.memoized.apply(null,nn)}const Ni=mi.map(nn=>nn(Ft,gi));return xi.memoized.apply(null,[...Ni,gi])}function $t(Ft){return at(mi=>{const gi=mi[Ft];return!function pt(){return Re}()&&(0,e.naY)()&&!(Ft in mi)&&console.warn(`@ngrx/store: The feature name "${Ft}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${Ft}', ...) or StoreModule.forFeature('${Ft}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),gi},mi=>mi)}function tn(Ft){return Ft instanceof e.nKC?(0,e.WQX)(Ft):Ft}function Vi(Ft,mi){return mi.map((gi,xi)=>{if(Ft[xi]instanceof e.nKC){const Ni=(0,e.WQX)(Ft[xi]);return{key:gi.key,reducerFactory:Ni.reducerFactory?Ni.reducerFactory:st,metaReducers:Ni.metaReducers?Ni.metaReducers:[],initialState:Ni.initialState}}return gi})}function Qi(Ft){return Ft.map(mi=>mi instanceof e.nKC?(0,e.WQX)(mi):mi)}function Xt(Ft){return"function"==typeof Ft?Ft():Ft}function St(Ft,mi){return Ft.concat(mi)}function tt(){if((0,e.WQX)(nt,{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 Mt(Ft){Object.freeze(Ft);const mi=Te(Ft);return Object.getOwnPropertyNames(Ft).forEach(gi=>{if(!gi.startsWith("\u0275")&&function Z(Ft,mi){return Object.prototype.hasOwnProperty.call(Ft,mi)}(Ft,gi)&&(!mi||"caller"!==gi&&"callee"!==gi&&"arguments"!==gi)){const xi=Ft[gi];(Tt(xi)||Te(xi))&&!Object.isFrozen(xi)&&Mt(xi)}}),Ft}function Ci(Ft,mi=[]){return(jt(Ft)||Je(Ft))&&0===mi.length?{path:["root"],value:Ft}:Object.keys(Ft).reduce((xi,Ni)=>{if(xi)return xi;const nn=Ft[Ni];return function ce(Ft){return Te(Ft)&&Ft.hasOwnProperty("\u0275cmp")}(nn)?xi:!(jt(nn)||Je(nn)||function Qt(Ft){return"number"==typeof Ft}(nn)||function It(Ft){return"boolean"==typeof Ft}(nn)||function Ae(Ft){return"string"==typeof Ft}(nn)||et(nn))&&(function Se(Ft){if(!function xt(Ft){return Tt(Ft)&&!et(Ft)}(Ft))return!1;const mi=Object.getPrototypeOf(Ft);return mi===Object.prototype||null===mi}(nn)?Ci(nn,[...mi,Ni]):{path:[...mi,Ni],value:nn})},!1)}function Ti(Ft,mi){if(!1===Ft)return;const gi=Ft.path.join("."),xi=new Error(`Detected unserializable ${mi} at "${gi}". ${yt}#strict${mi}serializability`);throw xi.value=Ft.value,xi.unserializablePath=gi,xi}function Zi(Ft){return(0,e.naY)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...Ft}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function ln({strictActionSerializability:Ft,strictStateSerializability:mi}){return gi=>Ft||mi?function Bt(Ft,mi){return function(gi,xi){mi.action(xi)&&Ti(Ci(xi),"action");const Ni=Ft(gi,xi);return mi.state()&&Ti(Ci(Ni),"state"),Ni}}(gi,{action:xi=>Ft&&!Ut(xi),state:()=>mi}):gi}function mn({strictActionImmutability:Ft,strictStateImmutability:mi}){return gi=>Ft||mi?function ot(Ft,mi){return function(gi,xi){const Ni=mi.action(xi)?Mt(xi):xi,nn=Ft(gi,Ni);return mi.state()?Mt(nn):nn}}(gi,{action:xi=>Ft&&!Ut(xi),state:()=>mi}):gi}function Ut(Ft){return Ft.type.startsWith("@ngrx")}function lt({strictActionWithinNgZone:Ft}){return mi=>Ft?function Hi(Ft,mi){return function(gi,xi){if(mi.action(xi)&&!e.SKi.isInAngularZone())throw new Error(`Action '${xi.type}' running outside NgZone. ${yt}#strictactionwithinngzone`);return Ft(gi,xi)}}(mi,{action:gi=>Ft&&!Ut(gi)}):mi}function re(Ft){return[{provide:X,useValue:Ft},{provide:oe,useFactory:ye,deps:[X]},{provide:se,deps:[oe],useFactory:Zi},{provide:Xe,multi:!0,deps:[se],useFactory:mn},{provide:Xe,multi:!0,deps:[se],useFactory:ln},{provide:Xe,multi:!0,deps:[se],useFactory:lt}]}function He(){return[{provide:ae,multi:!0,deps:[se],useFactory:rt}]}function ye(Ft){return Ft}function rt(Ft){if(!Ft.strictActionTypeUniqueness)return;const mi=Object.entries(I).filter(([,gi])=>gi>1).map(([gi])=>gi);if(mi.length)throw new Error(`Action types are registered more than once, ${mi.map(gi=>`"${gi}"`).join(", ")}. ${yt}#strictactiontypeuniqueness`)}function ii(Ft={},mi={}){return[{provide:n,useFactory:tt},{provide:c,useValue:mi.initialState},{provide:m,useFactory:Xt,deps:[c]},{provide:k,useValue:Ft},{provide:a,useExisting:Ft instanceof e.nKC?Ft:k},{provide:A,deps:[k,[new e.y_5(a)]],useFactory:tn},{provide:ze,useValue:mi.metaReducers?mi.metaReducers:[]},{provide:We,deps:[Xe,ze],useFactory:St},{provide:C,useValue:mi.reducerFactory?mi.reducerFactory:st},{provide:d,deps:[C,We],useFactory:ue},T,ve,we,$e,qt,re(mi.runtimeChecks),He()]}function Jn(Ft,mi,gi={}){return[{provide:z,multi:!0,useValue:Ft instanceof Object?{}:gi},{provide:_,multi:!0,useValue:{key:Ft instanceof Object?Ft.name:Ft,reducerFactory:gi instanceof e.nKC||!gi.reducerFactory?st:gi.reducerFactory,metaReducers:gi instanceof e.nKC||!gi.metaReducers?[]:gi.metaReducers,initialState:gi instanceof e.nKC||!gi.initialState?void 0:gi.initialState}},{provide:N,deps:[z,_],useFactory:Vi},{provide:b,multi:!0,useValue:Ft instanceof Object?Ft.reducer:mi},{provide:q,multi:!0,useExisting:mi instanceof e.nKC?mi:b},{provide:pe,multi:!0,deps:[b,[new e.y_5(q)]],useFactory:Qi},He()]}let nr=(()=>{class Ft{constructor(gi,xi,Ni,nn,On,ir){}static{this.\u0275fac=function(xi){return new(xi||Ft)(e.KVO(le),e.KVO(Ct),e.KVO(_e),e.KVO(nt),e.KVO(n,8),e.KVO(ae,8))}}static{this.\u0275mod=e.$C({type:Ft})}static{this.\u0275inj=e.G2t({})}}return Ft})(),dr=(()=>{class Ft{constructor(gi,xi,Ni,nn,On){this.features=gi,this.featureReducers=xi,this.reducerManager=Ni;const ir=gi.map((gn,Xr)=>{const mr=xi.shift()[Xr];return{...gn,reducers:mr,initialState:Xt(gn.initialState)}});Ni.addFeatures(ir)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static{this.\u0275fac=function(xi){return new(xi||Ft)(e.KVO(N),e.KVO(pe),e.KVO(Yt),e.KVO(nr),e.KVO(ae,8))}}static{this.\u0275mod=e.$C({type:Ft})}static{this.\u0275inj=e.G2t({})}}return Ft})(),wn=(()=>{class Ft{static forRoot(gi,xi){return{ngModule:nr,providers:[...ii(gi,xi)]}}static forFeature(gi,xi,Ni={}){return{ngModule:dr,providers:[...Jn(gi,xi,Ni)]}}static{this.\u0275fac=function(xi){return new(xi||Ft)}}static{this.\u0275mod=e.$C({type:Ft})}static{this.\u0275inj=e.G2t({})}}return Ft})();function Ai(...Ft){return{reducer:Ft.pop(),types:Ft.map(xi=>xi.type)}}function Yi(Ft,...mi){const gi=new Map;for(const xi of mi)for(const Ni of xi.types){const nn=gi.get(Ni);gi.set(Ni,nn?(ir,gn)=>xi.reducer(nn(ir,gn),gn):xi.reducer)}return function(xi=Ft,Ni){const nn=gi.get(Ni.type);return nn?nn(xi,Ni):xi}}},6064:(Qe,te,g)=>{"use strict";g.d(te,{Dl:()=>vm,L8:()=>_m,dV:()=>D6});var e=g(4438),t=g(177),x=g(1635),D=g(6939),l=g(3726),w=g(152),f=g(9969);function R(){}function h(u){return null==u?R:function(){return this.querySelector(u)}}function O(){return[]}function I(u){return null==u?O:function(){return this.querySelectorAll(u)}}function Y(u){return function(){return this.matches(u)}}function W(u){return function(L){return L.matches(u)}}var Q=Array.prototype.find;function ie(){return this.firstElementChild}var fe=Array.prototype.filter;function ne(){return Array.from(this.children)}function T(u){return new Array(u.length)}function c(u,L){this.ownerDocument=u.ownerDocument,this.namespaceURI=u.namespaceURI,this._next=null,this._parent=u,this.__data__=L}function d(u,L,s,M,U,K){for(var Et,ke=0,Gt=L.length,Pt=K.length;keL?1:u>=L?0:NaN}c.prototype={constructor:c,appendChild:function(u){return this._parent.insertBefore(u,this._next)},insertBefore:function(u,L){return this._parent.insertBefore(u,L)},querySelector:function(u){return this._parent.querySelector(u)},querySelectorAll:function(u){return this._parent.querySelectorAll(u)}};var ae="http://www.w3.org/1999/xhtml";const he={svg:"http://www.w3.org/2000/svg",xhtml:ae,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ie(u){var L=u+="",s=L.indexOf(":");return s>=0&&"xmlns"!==(L=u.slice(0,s))&&(u=u.slice(s+1)),he.hasOwnProperty(L)?{space:he[L],local:u}:u}function st(u){return function(){this.removeAttribute(u)}}function me(u){return function(){this.removeAttributeNS(u.space,u.local)}}function Ee(u,L){return function(){this.setAttribute(u,L)}}function ue(u,L){return function(){this.setAttributeNS(u.space,u.local,L)}}function Be(u,L){return function(){var s=L.apply(this,arguments);null==s?this.removeAttribute(u):this.setAttribute(u,s)}}function Ct(u,L){return function(){var s=L.apply(this,arguments);null==s?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,s)}}function dt(u){return u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView}function Yt(u){return function(){this.style.removeProperty(u)}}function ve(u,L,s){return function(){this.style.setProperty(u,L,s)}}function _e(u,L,s){return function(){var M=L.apply(this,arguments);null==M?this.style.removeProperty(u):this.style.setProperty(u,M,s)}}function Ue(u,L){return u.style.getPropertyValue(L)||dt(u).getComputedStyle(u,null).getPropertyValue(L)}function je(u){return function(){delete this[u]}}function vt(u,L){return function(){this[u]=L}}function $e(u,L){return function(){var s=L.apply(this,arguments);null==s?delete this[u]:this[u]=s}}function qt(u){return u.trim().split(/^|\s+/)}function Nt(u){return u.classList||new yt(u)}function yt(u){this._node=u,this._names=qt(u.getAttribute("class")||"")}function jt(u,L){for(var s=Nt(u),M=-1,U=L.length;++M=0&&(this._names.splice(L,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(u){return this._names.indexOf(u)>=0}};var Zi=[null];function ln(u,L){this._groups=u,this._parents=L}function mn(){return new ln([[document.documentElement]],Zi)}ln.prototype=mn.prototype={constructor:ln,select:function S(u){"function"!=typeof u&&(u=h(u));for(var L=this._groups,s=L.length,M=new Array(s),U=0;U=yn&&(yn=Yn+1);!(tr=ki[yn])&&++yn=0;)(ke=M[U])&&(K&&4^ke.compareDocumentPosition(K)&&K.parentNode.insertBefore(ke,K),K=ke);return this},sort:function q(u){function L(_i,wi){return _i&&wi?u(_i.__data__,wi.__data__):!_i-!wi}u||(u=pe);for(var s=this._groups,M=s.length,U=new Array(M),K=0;K1?this.each((null==L?Yt:"function"==typeof L?_e:ve)(u,L,s??"")):Ue(this.node(),u)},property:function nt(u,L){return arguments.length>1?this.each((null==L?je:"function"==typeof L?$e:vt)(u,L)):this.node()[u]},classed:function Qt(u,L){var s=qt(u+"");if(arguments.length<2){for(var M=Nt(this.node()),U=-1,K=s.length;++U=0&&(s=L.slice(M+1),L=L.slice(0,M)),{type:L,name:s}})}(u+""),K=M.length;if(!(arguments.length<2)){for(Et=L?tt:St,U=0;U{}};function ye(){for(var M,u=0,L=arguments.length,s={};u=0&&(M=s.slice(U+1),s=s.slice(0,U)),s&&!L.hasOwnProperty(s))throw new Error("unknown type: "+s);return{type:s,name:M}})}(u+"",s),K=-1,ke=M.length;if(!(arguments.length<2)){if(null!=L&&"function"!=typeof L)throw new Error("invalid callback: "+L);for(;++K0)for(var U,K,s=new Array(U),M=0;M>8&15|L>>4&240,L>>4&15|240&L,(15&L)<<4|15&L,1):8===s?Or(L>>24&255,L>>16&255,L>>8&255,(255&L)/255):4===s?Or(L>>12&15|L>>8&240,L>>8&15|L>>4&240,L>>4&15|240&L,((15&L)<<4|15&L)/255):null):(L=On.exec(u))?new Fr(L[1],L[2],L[3],1):(L=ir.exec(u))?new Fr(255*L[1]/100,255*L[2]/100,255*L[3]/100,1):(L=gn.exec(u))?Or(L[1],L[2],L[3],L[4]):(L=Xr.exec(u))?Or(255*L[1]/100,255*L[2]/100,255*L[3]/100,L[4]):(L=fr.exec(u))?Do(L[1],L[2]/100,L[3]/100,1):(L=mr.exec(u))?Do(L[1],L[2]/100,L[3]/100,L[4]):wa.hasOwnProperty(u)?Ds(wa[u]):"transparent"===u?new Fr(NaN,NaN,NaN,0):null}function Ds(u){return new Fr(u>>16&255,u>>8&255,255&u,1)}function Or(u,L,s,M){return M<=0&&(u=L=s=NaN),new Fr(u,L,s,M)}function za(u,L,s,M){return 1===arguments.length?function hs(u){return u instanceof Yi||(u=Ma(u)),u?new Fr((u=u.rgb()).r,u.g,u.b,u.opacity):new Fr}(u):new Fr(u,L,s,M??1)}function Fr(u,L,s,M){this.r=+u,this.g=+L,this.b=+s,this.opacity=+M}function Ur(){return`#${hn(this.r)}${hn(this.g)}${hn(this.b)}`}function Ya(){const u=xr(this.opacity);return`${1===u?"rgb(":"rgba("}${ua(this.r)}, ${ua(this.g)}, ${ua(this.b)}${1===u?")":`, ${u})`}`}function xr(u){return isNaN(u)?1:Math.max(0,Math.min(1,u))}function ua(u){return Math.max(0,Math.min(255,Math.round(u)||0))}function hn(u){return((u=ua(u))<16?"0":"")+u.toString(16)}function Do(u,L,s,M){return M<=0?u=L=s=NaN:s<=0||s>=1?u=L=NaN:L<=0&&(u=NaN),new ea(u,L,s,M)}function Ba(u){if(u instanceof ea)return new ea(u.h,u.s,u.l,u.opacity);if(u instanceof Yi||(u=Ma(u)),!u)return new ea;if(u instanceof ea)return u;var L=(u=u.rgb()).r/255,s=u.g/255,M=u.b/255,U=Math.min(L,s,M),K=Math.max(L,s,M),ke=NaN,Et=K-U,Gt=(K+U)/2;return Et?(ke=L===K?(s-M)/Et+6*(s0&&Gt<1?0:ke,new ea(ke,Et,Gt,u.opacity)}function ea(u,L,s,M){this.h=+u,this.s=+L,this.l=+s,this.opacity=+M}function _o(u){return(u=(u||0)%360)<0?u+360:u}function Va(u){return Math.max(0,Math.min(1,u||0))}function ko(u,L,s){return 255*(u<60?L+(s-L)*u/60:u<180?s:u<240?L+(s-L)*(240-u)/60:L)}function fo(u,L,s,M,U){var K=u*u,ke=K*u;return((1-3*u+3*K-ke)*L+(4-6*K+3*ke)*s+(1+3*u+3*K-3*ke)*M+ke*U)/6}wn(Yi,Ma,{copy(u){return Object.assign(new this.constructor,this,u)},displayable(){return this.rgb().displayable()},hex:Xa,formatHex:Xa,formatHex8:function ds(){return this.rgb().formatHex8()},formatHsl:function qr(){return Ba(this).formatHsl()},formatRgb:_s,toString:_s}),wn(Fr,za,Ai(Yi,{brighter(u){return u=null==u?mi:Math.pow(mi,u),new Fr(this.r*u,this.g*u,this.b*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new Fr(this.r*u,this.g*u,this.b*u,this.opacity)},rgb(){return this},clamp(){return new Fr(ua(this.r),ua(this.g),ua(this.b),xr(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:Ur,formatHex:Ur,formatHex8:function yr(){return`#${hn(this.r)}${hn(this.g)}${hn(this.b)}${hn(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ya,toString:Ya})),wn(ea,function Ao(u,L,s,M){return 1===arguments.length?Ba(u):new ea(u,L,s,M??1)},Ai(Yi,{brighter(u){return u=null==u?mi:Math.pow(mi,u),new ea(this.h,this.s,this.l*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new ea(this.h,this.s,this.l*u,this.opacity)},rgb(){var u=this.h%360+360*(this.h<0),L=isNaN(u)||isNaN(this.s)?0:this.s,s=this.l,M=s+(s<.5?s:1-s)*L,U=2*s-M;return new Fr(ko(u>=240?u-240:u+120,U,M),ko(u,U,M),ko(u<120?u+240:u-120,U,M),this.opacity)},clamp(){return new ea(_o(this.h),Va(this.s),Va(this.l),xr(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=xr(this.opacity);return`${1===u?"hsl(":"hsla("}${_o(this.h)}, ${100*Va(this.s)}%, ${100*Va(this.l)}%${1===u?")":`, ${u})`}`}}));const Ea=u=>()=>u;function Ua(u,L){var s=L-u;return s?function fa(u,L){return function(s){return u+s*L}}(u,s):Ea(isNaN(u)?L:u)}const ma=function u(L){var s=function Io(u){return 1==(u=+u)?Ua:function(L,s){return s-L?function Bs(u,L,s){return u=Math.pow(u,s),L=Math.pow(L,s)-u,s=1/s,function(M){return Math.pow(u+M*L,s)}}(L,s,u):Ea(isNaN(L)?s:L)}}(L);function M(U,K){var ke=s((U=za(U)).r,(K=za(K)).r),Et=s(U.g,K.g),Gt=s(U.b,K.b),Pt=Ua(U.opacity,K.opacity);return function(li){return U.r=ke(li),U.g=Et(li),U.b=Gt(li),U.opacity=Pt(li),U+""}}return M.gamma=u,M}(1);function no(u){return function(L){var ke,Et,s=L.length,M=new Array(s),U=new Array(s),K=new Array(s);for(ke=0;ke=1?(s=1,L-1):Math.floor(s*L),U=u[M],K=u[M+1];return fo((s-M/L)*L,M>0?u[M-1]:2*U-K,U,K,Ms&&(K=L.slice(s,K),Et[ke]?Et[ke]+=K:Et[++ke]=K),(M=M[0])===(U=U[0])?Et[ke]?Et[ke]+=U:Et[++ke]=U:(Et[++ke]=null,Gt.push({i:ke,x:pa(M,U)})),s=Ka.lastIndex;return s=0&&u._call.call(void 0,L),u=u._next;--Ei}()}finally{Ei=0,function Oo(){for(var u,s,L=Ra,M=1/0;L;)L._call?(M>L._time&&(M=L._time),u=L,L=L._next):(s=L._next,L._next=null,L=u?u._next=s:Ra=s);ao=u,Cr(M)}(),$a=0}}function er(){var u=Gr.now(),L=u-Zo;L>ga&&(Vo-=L,Zo=u)}function Cr(u){Ei||(Ji&&(Ji=clearTimeout(Ji)),u-$a>24?(u<1/0&&(Ji=setTimeout(vn,u-Gr.now()-Vo)),cr&&(cr=clearInterval(cr))):(cr||(Zo=Gr.now(),cr=setInterval(er,ga)),Ei=1,Pi(vn)))}function Qa(u,L,s){var M=new Ve;return M.restart(U=>{M.stop(),u(U+L)},L=null==L?0:+L,s),M}Ve.prototype=Dt.prototype={constructor:Ve,restart:function(u,L,s){if("function"!=typeof u)throw new TypeError("callback is not a function");s=(null==s?it():+s)+(null==L?0:+L),!this._next&&ao!==this&&(ao?ao._next=this:Ra=this,ao=this),this._call=u,this._time=s,Cr()},stop:function(){this._call&&(this._call=null,this._time=1/0,Cr())}};var _c=Gi("start","end","cancel","interrupt"),ks=[],Uo=0,Jo=3;function jn(u,L,s,M,U,K){var ke=u.__transition;if(ke){if(s in ke)return}else u.__transition={};!function _a(u,L,s){var U,M=u.__transition;function ke(Pt){var li,_i,wi,Di;if(1!==s.state)return Gt();for(li in M)if((Di=M[li]).name===s.name){if(Di.state===Jo)return Qa(ke);4===Di.state?(Di.state=6,Di.timer.stop(),Di.on.call("interrupt",u,u.__data__,Di.index,Di.group),delete M[li]):+liUo)throw new Error("too late; already scheduled");return s}function Nr(u,L){var s=ca(u,L);if(s.state>Jo)throw new Error("too late; already running");return s}function ca(u,L){var s=u.__transition;if(!s||!(s=s[L]))throw new Error("transition not found");return s}var xo,qo=180/Math.PI,vc={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function rc(u,L,s,M,U,K){var ke,Et,Gt;return(ke=Math.sqrt(u*u+L*L))&&(u/=ke,L/=ke),(Gt=u*s+L*M)&&(s-=u*Gt,M-=L*Gt),(Et=Math.sqrt(s*s+M*M))&&(s/=Et,M/=Et,Gt/=Et),u*M180?li+=360:li-Pt>180&&(Pt+=360),wi.push({i:_i.push(U(_i)+"rotate(",null,M)-2,x:pa(Pt,li)})):li&&_i.push(U(_i)+"rotate("+li+M)}(Pt.rotate,li.rotate,_i,wi),function Et(Pt,li,_i,wi){Pt!==li?wi.push({i:_i.push(U(_i)+"skewX(",null,M)-2,x:pa(Pt,li)}):li&&_i.push(U(_i)+"skewX("+li+M)}(Pt.skewX,li.skewX,_i,wi),function Gt(Pt,li,_i,wi,Di,sn){if(Pt!==_i||li!==wi){var kn=Di.push(U(Di)+"scale(",null,",",null,")");sn.push({i:kn-4,x:pa(Pt,_i)},{i:kn-2,x:pa(li,wi)})}else(1!==_i||1!==wi)&&Di.push(U(Di)+"scale("+_i+","+wi+")")}(Pt.scaleX,Pt.scaleY,li.scaleX,li.scaleY,_i,wi),Pt=li=null,function(Di){for(var ki,sn=-1,kn=wi.length;++sn=0&&(L=L.slice(0,s)),!L||"start"===L})}(L)?na:Nr;return function(){var ke=K(this,u),Et=ke.on;Et!==M&&(U=(M=Et).copy()).on(L,s),ke.on=U}}(s,u,L))},attr:function zc(u,L){var s=Ie(u),M="transform"===s?el:Ws;return this.attrTween(u,"function"==typeof L?(s.local?sc:ys)(s,M,js(this,"attr."+u,L)):null==L?(s.local?Pc:es)(s):(s.local?oc:Xs)(s,M,L))},attrTween:function tl(u,L){var s="attr."+u;if(arguments.length<2)return(s=this.tween(s))&&s._value;if(null==L)return this.tween(s,null);if("function"!=typeof L)throw new Error;var M=Ie(u);return this.tween(s,(M.local?bc:Ys)(M,L))},style:function bn(u,L,s){var M="transform"==(u+="")?ac:Ws;return null==L?this.styleTween(u,function pr(u,L){var s,M,U;return function(){var K=Ue(this,u),ke=(this.style.removeProperty(u),Ue(this,u));return K===ke?null:K===s&&ke===M?U:U=L(s=K,M=ke)}}(u,M)).on("end.style."+u,Fn(u)):"function"==typeof L?this.styleTween(u,function Dn(u,L,s){var M,U,K;return function(){var ke=Ue(this,u),Et=s(this),Gt=Et+"";return null==Et&&(this.style.removeProperty(u),Gt=Et=Ue(this,u)),ke===Gt?null:ke===M&&Gt===U?K:(U=Gt,K=L(M=ke,Et))}}(u,M,js(this,"style."+u,L))).each(function Fi(u,L){var s,M,U,Et,K="style."+L,ke="end."+K;return function(){var Gt=Nr(this,u),Pt=Gt.on,li=null==Gt.value[K]?Et||(Et=Fn(L)):void 0;(Pt!==s||U!==li)&&(M=(s=Pt).copy()).on(ke,U=li),Gt.on=M}}(this._id,u)):this.styleTween(u,function Sr(u,L,s){var M,K,U=s+"";return function(){var ke=Ue(this,u);return ke===U?null:ke===M?K:K=L(M=ke,s)}}(u,M,L),s).on("end.style."+u,null)},styleTween:function ra(u,L,s){var M="style."+(u+="");if(arguments.length<2)return(M=this.tween(M))&&M._value;if(null==L)return this.tween(M,null);if("function"!=typeof L)throw new Error;return this.tween(M,function va(u,L,s){var M,U;function K(){var ke=L.apply(this,arguments);return ke!==U&&(M=(U=ke)&&function Tr(u,L,s){return function(M){this.style.setProperty(u,L.call(this,M),s)}}(u,ke,s)),M}return K._value=L,K}(u,L,s??""))},text:function hr(u){return this.tween("text","function"==typeof u?function oo(u){return function(){var L=u(this);this.textContent=L??""}}(js(this,"text",u)):function Ja(u){return function(){this.textContent=u}}(null==u?"":u+""))},textTween:function Bn(u){var L="text";if(arguments.length<1)return(L=this.tween(L))&&L._value;if(null==u)return this.tween(L,null);if("function"!=typeof u)throw new Error;return this.tween(L,function ts(u){var L,s;function M(){var U=u.apply(this,arguments);return U!==s&&(L=(s=U)&&function aa(u){return function(L){this.textContent=u.call(this,L)}}(U)),L}return M._value=u,M}(u))},remove:function Si(){return this.on("end.remove",function Zt(u){return function(){var L=this.parentNode;for(var s in this.__transition)if(+s!==u)return;L&&L.removeChild(this)}}(this._id))},tween:function Hs(u,L){var s=this._id;if(u+="",arguments.length<2){for(var ke,M=ca(this.node(),s).tween,U=0,K=M.length;U2&&M.state<5,M.state=6,M.timer.stop(),M.on.call(U?"interrupt":"cancel",u,u.__data__,M.index,M.group),delete s[ke]):K=!1;K&&delete u.__transition}}(this,u)})},lt.prototype.transition=function En(u){var L,s;u instanceof Lr?(L=u._id,u=u._name):(L=cc(),(s=El).time=it(),u=null==u?null:u+"");for(var M=this._groups,U=M.length,K=0;KL?1:u>=L?0:NaN}function zn(u,L){return null==u||null==L?NaN:Lu?1:L>=u?0:NaN}function Er(u){let L,s,M;function U(Et,Gt,Pt=0,li=Et.length){if(Pt>>1;s(Et[_i],Gt)<0?Pt=_i+1:li=_i}while(PtPn(u(Et),Gt),M=(Et,Gt)=>u(Et)-Gt):(L=u===Pn||u===zn?u:Cs,s=u,M=u),{left:U,center:function ke(Et,Gt,Pt=0,li=Et.length){const _i=U(Et,Gt,Pt,li-1);return _i>Pt&&M(Et[_i-1],Gt)>-M(Et[_i],Gt)?_i-1:_i},right:function K(Et,Gt,Pt=0,li=Et.length){if(Pt>>1;s(Et[_i],Gt)<=0?Pt=_i+1:li=_i}while(Pt=Sa?10:K>=xc?5:K>=Ta?2:1;let Et,Gt,Pt;return U<0?(Pt=Math.pow(10,-U)/ke,Et=Math.round(u*Pt),Gt=Math.round(L*Pt),Et/PtL&&--Gt,Pt=-Pt):(Pt=Math.pow(10,U)*ke,Et=Math.round(u/Pt),Gt=Math.round(L/Pt),Et*PtL&&--Gt),Gt(u(K=new Date(+K)),K),U.ceil=K=>(u(K=new Date(K-1)),L(K,1),u(K),K),U.round=K=>{const ke=U(K),Et=U.ceil(K);return K-ke(L(K=new Date(+K),null==ke?1:Math.floor(ke)),K),U.range=(K,ke,Et)=>{const Gt=[];if(K=U.ceil(K),Et=null==Et?1:Math.floor(Et),!(K0))return Gt;let Pt;do{Gt.push(Pt=new Date(+K)),L(K,Et),u(K)}while(PtUn(ke=>{if(ke>=ke)for(;u(ke),!K(ke);)ke.setTime(ke-1)},(ke,Et)=>{if(ke>=ke)if(Et<0)for(;++Et<=0;)for(;L(ke,-1),!K(ke););else for(;--Et>=0;)for(;L(ke,1),!K(ke););}),s&&(U.count=(K,ke)=>(e1.setTime(+K),t1.setTime(+ke),u(e1),u(t1),Math.floor(s(e1,t1))),U.every=K=>(K=Math.floor(K),isFinite(K)&&K>0?K>1?U.filter(M?ke=>M(ke)%K==0:ke=>U.count(0,ke)%K==0):U:null)),U}const Dl=Un(()=>{},(u,L)=>{u.setTime(+u+L)},(u,L)=>L-u);Dl.every=u=>(u=Math.floor(u),isFinite(u)&&u>0?u>1?Un(L=>{L.setTime(Math.floor(L/u)*u)},(L,s)=>{L.setTime(+L+s*u)},(L,s)=>(s-L)/u):Dl:null);const co=Un(u=>{u.setTime(u-u.getMilliseconds())},(u,L)=>{u.setTime(+u+L*wc)},(u,L)=>(L-u)/wc,u=>u.getUTCSeconds()),nl=Un(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*wc)},(u,L)=>{u.setTime(+u+L*ws)},(u,L)=>(L-u)/ws,u=>u.getMinutes()),fs=Un(u=>{u.setUTCSeconds(0,0)},(u,L)=>{u.setTime(+u+L*ws)},(u,L)=>(L-u)/ws,u=>u.getUTCMinutes()),$s=Un(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*wc-u.getMinutes()*ws)},(u,L)=>{u.setTime(+u+L*dc)},(u,L)=>(L-u)/dc,u=>u.getHours()),Ms=Un(u=>{u.setUTCMinutes(0,0,0)},(u,L)=>{u.setTime(+u+L*dc)},(u,L)=>(L-u)/dc,u=>u.getUTCHours()),n1=Un(u=>u.setHours(0,0,0,0),(u,L)=>u.setDate(u.getDate()+L),(u,L)=>(L-u-(L.getTimezoneOffset()-u.getTimezoneOffset())*ws)/Mc,u=>u.getDate()-1),hc=(Un(u=>{u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCDate(u.getUTCDate()+L)},(u,L)=>(L-u)/Mc,u=>u.getUTCDate()-1),Un(u=>{u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCDate(u.getUTCDate()+L)},(u,L)=>(L-u)/Mc,u=>Math.floor(u/Mc)));function Ec(u){return Un(L=>{L.setDate(L.getDate()-(L.getDay()+7-u)%7),L.setHours(0,0,0,0)},(L,s)=>{L.setDate(L.getDate()+7*s)},(L,s)=>(s-L-(s.getTimezoneOffset()-L.getTimezoneOffset())*ws)/_d)}const Qs=Ec(0);function al(u){return Un(L=>{L.setUTCDate(L.getUTCDate()-(L.getUTCDay()+7-u)%7),L.setUTCHours(0,0,0,0)},(L,s)=>{L.setUTCDate(L.getUTCDate()+7*s)},(L,s)=>(s-L)/_d)}Ec(1),Ec(2),Ec(3),Ec(4),Ec(5),Ec(6);const L2=al(0),o1=(al(1),al(2),al(3),al(4),al(5),al(6),Un(u=>{u.setDate(1),u.setHours(0,0,0,0)},(u,L)=>{u.setMonth(u.getMonth()+L)},(u,L)=>L.getMonth()-u.getMonth()+12*(L.getFullYear()-u.getFullYear()),u=>u.getMonth())),a0=Un(u=>{u.setUTCDate(1),u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCMonth(u.getUTCMonth()+L)},(u,L)=>L.getUTCMonth()-u.getUTCMonth()+12*(L.getUTCFullYear()-u.getUTCFullYear()),u=>u.getUTCMonth()),Ns=Un(u=>{u.setMonth(0,1),u.setHours(0,0,0,0)},(u,L)=>{u.setFullYear(u.getFullYear()+L)},(u,L)=>L.getFullYear()-u.getFullYear(),u=>u.getFullYear());Ns.every=u=>isFinite(u=Math.floor(u))&&u>0?Un(L=>{L.setFullYear(Math.floor(L.getFullYear()/u)*u),L.setMonth(0,1),L.setHours(0,0,0,0)},(L,s)=>{L.setFullYear(L.getFullYear()+s*u)}):null;const ns=Un(u=>{u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCFullYear(u.getUTCFullYear()+L)},(u,L)=>L.getUTCFullYear()-u.getUTCFullYear(),u=>u.getUTCFullYear());function La(u,L,s,M,U,K){const ke=[[co,1,wc],[co,5,5e3],[co,15,15e3],[co,30,3e4],[K,1,ws],[K,5,5*ws],[K,15,15*ws],[K,30,30*ws],[U,1,dc],[U,3,3*dc],[U,6,6*dc],[U,12,12*dc],[M,1,Mc],[M,2,2*Mc],[s,1,_d],[L,1,vd],[L,3,3*vd],[u,1,Fs]];function Gt(Pt,li,_i){const wi=Math.abs(li-Pt)/_i,Di=Er(([,,ki])=>ki).right(ke,wi);if(Di===ke.length)return u.every(e0(Pt/Fs,li/Fs,_i));if(0===Di)return Dl.every(Math.max(e0(Pt,li,_i),1));const[sn,kn]=ke[wi/ke[Di-1][2]isFinite(u=Math.floor(u))&&u>0?Un(L=>{L.setUTCFullYear(Math.floor(L.getUTCFullYear()/u)*u),L.setUTCMonth(0,1),L.setUTCHours(0,0,0,0)},(L,s)=>{L.setUTCFullYear(L.getUTCFullYear()+s*u)}):null;const[Oa,Xu]=La(ns,a0,L2,hc,Ms,fs),[Ha,Vc]=La(Ns,o1,Qs,n1,$s,nl);var Sc=new Date,Uc=new Date;function Es(u,L,s,M){function U(K){return u(K=0===arguments.length?new Date:new Date(+K)),K}return U.floor=function(K){return u(K=new Date(+K)),K},U.ceil=function(K){return u(K=new Date(K-1)),L(K,1),u(K),K},U.round=function(K){var ke=U(K),Et=U.ceil(K);return K-ke0))return Gt;do{Gt.push(Pt=new Date(+K)),L(K,Et),u(K)}while(Pt=ke)for(;u(ke),!K(ke);)ke.setTime(ke-1)},function(ke,Et){if(ke>=ke)if(Et<0)for(;++Et<=0;)for(;L(ke,-1),!K(ke););else for(;--Et>=0;)for(;L(ke,1),!K(ke););})},s&&(U.count=function(K,ke){return Sc.setTime(+K),Uc.setTime(+ke),u(Sc),u(Uc),Math.floor(s(Sc,Uc))},U.every=function(K){return K=Math.floor(K),isFinite(K)&&K>0?K>1?U.filter(M?function(ke){return M(ke)%K==0}:function(ke){return U.count(0,ke)%K==0}):U:null}),U}const Ol=864e5,c1=7*Ol;function Tc(u){return Es(function(L){L.setUTCDate(L.getUTCDate()-(L.getUTCDay()+7-u)%7),L.setUTCHours(0,0,0,0)},function(L,s){L.setUTCDate(L.getUTCDate()+7*s)},function(L,s){return(s-L)/c1})}var O2=Tc(0),qa=Tc(1),sl=(Tc(2),Tc(3),Tc(4));const Cd=(Tc(5),Tc(6),Es(function(u){u.setUTCHours(0,0,0,0)},function(u,L){u.setUTCDate(u.getUTCDate()+L)},function(u,L){return(L-u)/Ol},function(u){return u.getUTCDate()-1}));function Gc(u){return Es(function(L){L.setDate(L.getDate()-(L.getDay()+7-u)%7),L.setHours(0,0,0,0)},function(L,s){L.setDate(L.getDate()+7*s)},function(L,s){return(s-L-6e4*(s.getTimezoneOffset()-L.getTimezoneOffset()))/c1})}var d1=Gc(0),h1=Gc(1),ll=(Gc(2),Gc(3),Gc(4));const Nl=(Gc(5),Gc(6),Es(u=>u.setHours(0,0,0,0),(u,L)=>u.setDate(u.getDate()+L),(u,L)=>(L-u-6e4*(L.getTimezoneOffset()-u.getTimezoneOffset()))/Ol,u=>u.getDate()-1));var dl=Es(function(u){u.setMonth(0,1),u.setHours(0,0,0,0)},function(u,L){u.setFullYear(u.getFullYear()+L)},function(u,L){return L.getFullYear()-u.getFullYear()},function(u){return u.getFullYear()});dl.every=function(u){return isFinite(u=Math.floor(u))&&u>0?Es(function(L){L.setFullYear(Math.floor(L.getFullYear()/u)*u),L.setMonth(0,1),L.setHours(0,0,0,0)},function(L,s){L.setFullYear(L.getFullYear()+s*u)}):null};const Pl=dl;var hl=Es(function(u){u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},function(u,L){u.setUTCFullYear(u.getUTCFullYear()+L)},function(u,L){return L.getUTCFullYear()-u.getUTCFullYear()},function(u){return u.getUTCFullYear()});hl.every=function(u){return isFinite(u=Math.floor(u))&&u>0?Es(function(L){L.setUTCFullYear(Math.floor(L.getUTCFullYear()/u)*u),L.setUTCMonth(0,1),L.setUTCHours(0,0,0,0)},function(L,s){L.setUTCFullYear(L.getUTCFullYear()+s*u)}):null};const m1=hl;function p1(u){if(0<=u.y&&u.y<100){var L=new Date(-1,u.m,u.d,u.H,u.M,u.S,u.L);return L.setFullYear(u.y),L}return new Date(u.y,u.m,u.d,u.H,u.M,u.S,u.L)}function d0(u){if(0<=u.y&&u.y<100){var L=new Date(Date.UTC(-1,u.m,u.d,u.H,u.M,u.S,u.L));return L.setUTCFullYear(u.y),L}return new Date(Date.UTC(u.y,u.m,u.d,u.H,u.M,u.S,u.L))}function ps(u,L,s){return{y:u,m:L,d:s,H:0,M:0,S:0,L:0}}var Sd={"-":"",_:" ",0:"0"},eo=/^\s*\d+/,U2=/^%/,Td=/[\\^$*+?|[\]().{}]/g;function Dr(u,L,s){var M=u<0?"-":"",U=(M?-u:u)+"",K=U.length;return M+(K[L.toLowerCase(),s]))}function h0(u,L,s){var M=eo.exec(L.slice(s,s+1));return M?(u.w=+M[0],s+M[0].length):-1}function H2(u,L,s){var M=eo.exec(L.slice(s,s+1));return M?(u.u=+M[0],s+M[0].length):-1}function Ju(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.U=+M[0],s+M[0].length):-1}function Ld(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.V=+M[0],s+M[0].length):-1}function ul(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.W=+M[0],s+M[0].length):-1}function j2(u,L,s){var M=eo.exec(L.slice(s,s+4));return M?(u.y=+M[0],s+M[0].length):-1}function g1(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.y=+M[0]+(+M[0]>68?1900:2e3),s+M[0].length):-1}function W2(u,L,s){var M=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(L.slice(s,s+6));return M?(u.Z=M[1]?0:-(M[2]+(M[3]||"00")),s+M[0].length):-1}function Vl(u,L,s){var M=eo.exec(L.slice(s,s+1));return M?(u.q=3*M[0]-3,s+M[0].length):-1}function Ul(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.m=M[0]-1,s+M[0].length):-1}function to(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.d=+M[0],s+M[0].length):-1}function qu(u,L,s){var M=eo.exec(L.slice(s,s+3));return M?(u.m=0,u.d=+M[0],s+M[0].length):-1}function _1(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.H=+M[0],s+M[0].length):-1}function u0(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.M=+M[0],s+M[0].length):-1}function X2(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.S=+M[0],s+M[0].length):-1}function Y2(u,L,s){var M=eo.exec(L.slice(s,s+3));return M?(u.L=+M[0],s+M[0].length):-1}function v1(u,L,s){var M=eo.exec(L.slice(s,s+6));return M?(u.L=Math.floor(M[0]/1e3),s+M[0].length):-1}function K2(u,L,s){var M=U2.exec(L.slice(s,s+1));return M?s+M[0].length:-1}function $2(u,L,s){var M=eo.exec(L.slice(s));return M?(u.Q=+M[0],s+M[0].length):-1}function Dd(u,L,s){var M=eo.exec(L.slice(s));return M?(u.s=+M[0],s+M[0].length):-1}function Dc(u,L){return Dr(u.getDate(),L,2)}function f0(u,L){return Dr(u.getHours(),L,2)}function ef(u,L){return Dr(u.getHours()%12||12,L,2)}function tf(u,L){return Dr(1+Nl.count(Pl(u),u),L,3)}function Q2(u,L){return Dr(u.getMilliseconds(),L,3)}function Z2(u,L){return Q2(u,L)+"000"}function nf(u,L){return Dr(u.getMonth()+1,L,2)}function J2(u,L){return Dr(u.getMinutes(),L,2)}function rf(u,L){return Dr(u.getSeconds(),L,2)}function q2(u){var L=u.getDay();return 0===L?7:L}function u4(u,L){return Dr(d1.count(Pl(u)-1,u),L,2)}function b1(u){var L=u.getDay();return L>=4||0===L?ll(u):ll.ceil(u)}function eh(u,L){return u=b1(u),Dr(ll.count(Pl(u),u)+(4===Pl(u).getDay()),L,2)}function Ho(u){return u.getDay()}function f4(u,L){return Dr(h1.count(Pl(u)-1,u),L,2)}function th(u,L){return Dr(u.getFullYear()%100,L,2)}function m4(u,L){return Dr((u=b1(u)).getFullYear()%100,L,2)}function y1(u,L){return Dr(u.getFullYear()%1e4,L,4)}function p4(u,L){var s=u.getDay();return Dr((u=s>=4||0===s?ll(u):ll.ceil(u)).getFullYear()%1e4,L,4)}function x1(u){var L=u.getTimezoneOffset();return(L>0?"-":(L*=-1,"+"))+Dr(L/60|0,"0",2)+Dr(L%60,"0",2)}function Hc(u,L){return Dr(u.getUTCDate(),L,2)}function Gl(u,L){return Dr(u.getUTCHours(),L,2)}function af(u,L){return Dr(u.getUTCHours()%12||12,L,2)}function ih(u,L){return Dr(1+Cd.count(m1(u),u),L,3)}function jc(u,L){return Dr(u.getUTCMilliseconds(),L,3)}function g4(u,L){return jc(u,L)+"000"}function sf(u,L){return Dr(u.getUTCMonth()+1,L,2)}function fc(u,L){return Dr(u.getUTCMinutes(),L,2)}function Wc(u,L){return Dr(u.getUTCSeconds(),L,2)}function nh(u){var L=u.getUTCDay();return 0===L?7:L}function rh(u,L){return Dr(O2.count(m1(u)-1,u),L,2)}function cf(u){var L=u.getUTCDay();return L>=4||0===L?sl(u):sl.ceil(u)}function C1(u,L){return u=cf(u),Dr(sl.count(m1(u),u)+(4===m1(u).getUTCDay()),L,2)}function w1(u){return u.getUTCDay()}function ah(u,L){return Dr(qa.count(m1(u)-1,u),L,2)}function Da(u,L){return Dr(u.getUTCFullYear()%100,L,2)}function lf(u,L){return Dr((u=cf(u)).getUTCFullYear()%100,L,2)}function M1(u,L){return Dr(u.getUTCFullYear()%1e4,L,4)}function df(u,L){var s=u.getUTCDay();return Dr((u=s>=4||0===s?sl(u):sl.ceil(u)).getUTCFullYear()%1e4,L,4)}function hf(){return"+0000"}function Ad(){return"%"}function m0(u){return+u}function p0(u){return Math.floor(+u/1e3)}function g0(u){return null===u?NaN:+u}!function Ac(u){(function Zu(u){var L=u.dateTime,s=u.date,M=u.time,U=u.periods,K=u.days,ke=u.shortDays,Et=u.months,Gt=u.shortMonths,Pt=zl(U),li=Bl(U),_i=zl(K),wi=Bl(K),Di=zl(ke),sn=Bl(ke),kn=zl(Et),ki=Bl(Et),Tn=zl(Gt),Yn=Bl(Gt),yn={a:function ka(Ln){return ke[Ln.getDay()]},A:function ss(Ln){return K[Ln.getDay()]},b:function Jr(Ln){return Gt[Ln.getMonth()]},B:function Ia(Ln){return Et[Ln.getMonth()]},c:null,d:Dc,e:Dc,f:Z2,g:m4,G:p4,H:f0,I:ef,j:tf,L:Q2,m:nf,M:J2,p:function Pa(Ln){return U[+(Ln.getHours()>=12)]},q:function go(Ln){return 1+~~(Ln.getMonth()/3)},Q:m0,s:p0,S:rf,u:q2,U:u4,V:eh,w:Ho,W:f4,x:null,X:null,y:th,Y:y1,Z:x1,"%":Ad},or={a:function dd(Ln){return ke[Ln.getUTCDay()]},A:function Wd(Ln){return K[Ln.getUTCDay()]},b:function Xd(Ln){return Gt[Ln.getUTCMonth()]},B:function $1(Ln){return Et[Ln.getUTCMonth()]},c:null,d:Hc,e:Hc,f:g4,g:lf,G:df,H:Gl,I:af,j:ih,L:jc,m:sf,M:fc,p:function So(Ln){return U[+(Ln.getUTCHours()>=12)]},q:function Yd(Ln){return 1+~~(Ln.getUTCMonth()/3)},Q:m0,s:p0,S:Wc,u:nh,U:rh,V:C1,w:w1,W:ah,x:null,X:null,y:Da,Y:M1,Z:hf,"%":Ad},tr={a:function xa(Ln,_r,Rr){var en=Di.exec(_r.slice(Rr));return en?(Ln.w=sn.get(en[0].toLowerCase()),Rr+en[0].length):-1},A:function Vn(Ln,_r,Rr){var en=_i.exec(_r.slice(Rr));return en?(Ln.w=wi.get(en[0].toLowerCase()),Rr+en[0].length):-1},b:function Na(Ln,_r,Rr){var en=Tn.exec(_r.slice(Rr));return en?(Ln.m=Yn.get(en[0].toLowerCase()),Rr+en[0].length):-1},B:function Ir(Ln,_r,Rr){var en=kn.exec(_r.slice(Rr));return en?(Ln.m=ki.get(en[0].toLowerCase()),Rr+en[0].length):-1},c:function Ca(Ln,_r,Rr){return ya(Ln,L,_r,Rr)},d:to,e:to,f:v1,g:g1,G:j2,H:_1,I:_1,j:qu,L:Y2,m:Ul,M:u0,p:function Ts(Ln,_r,Rr){var en=Pt.exec(_r.slice(Rr));return en?(Ln.p=li.get(en[0].toLowerCase()),Rr+en[0].length):-1},q:Vl,Q:$2,s:Dd,S:X2,u:H2,U:Ju,V:Ld,w:h0,W:ul,x:function Ko(Ln,_r,Rr){return ya(Ln,s,_r,Rr)},X:function ja(Ln,_r,Rr){return ya(Ln,M,_r,Rr)},y:g1,Y:j2,Z:W2,"%":K2};function Rn(Ln,_r){return function(Rr){var $o,$n,uo,en=[],ho=-1,sa=0,Ls=Ln.length;for(Rr instanceof Date||(Rr=new Date(+Rr));++ho53)return null;"w"in en||(en.w=1),"Z"in en?(Ls=(sa=d0(ps(en.y,0,1))).getUTCDay(),sa=Ls>4||0===Ls?qa.ceil(sa):qa(sa),sa=Cd.offset(sa,7*(en.V-1)),en.y=sa.getUTCFullYear(),en.m=sa.getUTCMonth(),en.d=sa.getUTCDate()+(en.w+6)%7):(Ls=(sa=p1(ps(en.y,0,1))).getDay(),sa=Ls>4||0===Ls?h1.ceil(sa):h1(sa),sa=Nl.offset(sa,7*(en.V-1)),en.y=sa.getFullYear(),en.m=sa.getMonth(),en.d=sa.getDate()+(en.w+6)%7)}else("W"in en||"U"in en)&&("w"in en||(en.w="u"in en?en.u%7:"W"in en?1:0),Ls="Z"in en?d0(ps(en.y,0,1)).getUTCDay():p1(ps(en.y,0,1)).getDay(),en.m=0,en.d="W"in en?(en.w+6)%7+7*en.W-(Ls+5)%7:en.w+7*en.U-(Ls+6)%7);return"Z"in en?(en.H+=en.Z/100|0,en.M+=en.Z%100,d0(en)):p1(en)}}function ya(Ln,_r,Rr,en){for(var $o,$n,ho=0,sa=_r.length,Ls=Rr.length;ho=Ls)return-1;if(37===($o=_r.charCodeAt(ho++))){if($o=_r.charAt(ho++),!($n=tr[$o in Sd?_r.charAt(ho++):$o])||(en=$n(Ln,Rr,en))<0)return-1}else if($o!=Rr.charCodeAt(en++))return-1}return en}return yn.x=Rn(s,yn),yn.X=Rn(M,yn),yn.c=Rn(L,yn),or.x=Rn(s,or),or.X=Rn(M,or),or.c=Rn(L,or),{format:function(Ln){var _r=Rn(Ln+="",yn);return _r.toString=function(){return Ln},_r},parse:function(Ln){var _r=Zr(Ln+="",!1);return _r.toString=function(){return Ln},_r},utcFormat:function(Ln){var _r=Rn(Ln+="",or);return _r.toString=function(){return Ln},_r},utcParse:function(Ln){var _r=Zr(Ln+="",!0);return _r.toString=function(){return Ln},_r}}})(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 _4=Er(Pn).right,pf=(Er(g0),_4);function _0(u,L){return u=+u,L=+L,function(s){return Math.round(u*(1-s)+L*s)}}function jl(u){return+u}var v0=[0,1];function Wl(u){return u}function Xl(u,L){return(L-=u=+u)?function(s){return(s-u)/L}:function Hl(u){return function(){return u}}(isNaN(L)?NaN:.5)}function gf(u,L,s){var M=u[0],U=u[1],K=L[0],ke=L[1];return UL&&(s=u,u=L,L=s),function(M){return Math.max(u,Math.min(L,M))}}(u[0],u[wi-1])),Et=wi>2?b0:gf,Gt=Pt=null,_i}function _i(wi){return null==wi||isNaN(wi=+wi)?K:(Gt||(Gt=Et(u.map(M),L,s)))(M(ke(wi)))}return _i.invert=function(wi){return ke(U((Pt||(Pt=Et(L,u.map(M),pa)))(wi)))},_i.domain=function(wi){return arguments.length?(u=Array.from(wi,jl),li()):u.slice()},_i.range=function(wi){return arguments.length?(L=Array.from(wi),li()):L.slice()},_i.rangeRound=function(wi){return L=Array.from(wi),s=_0,li()},_i.clamp=function(wi){return arguments.length?(ke=!!wi||Wl,li()):ke!==Wl},_i.interpolate=function(wi){return arguments.length?(s=wi,li()):s},_i.unknown=function(wi){return arguments.length?(K=wi,_i):K},function(wi,Di){return M=wi,U=Di,li()}}()(Wl,Wl)}function $l(u,L){switch(arguments.length){case 0:break;case 1:this.range(u);break;default:this.range(L).domain(u)}return this}var w0,bf=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function No(u){if(!(L=bf.exec(u)))throw new Error("invalid format: "+u);var L;return new kd({fill:L[1],align:L[2],sign:L[3],symbol:L[4],zero:L[5],width:L[6],comma:L[7],precision:L[8]&&L[8].slice(1),trim:L[9],type:L[10]})}function kd(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 pl(u,L){if((s=(u=L?u.toExponential(L-1):u.toExponential()).indexOf("e"))<0)return null;var s,M=u.slice(0,s);return[M.length>1?M[0]+M.slice(2):M,+u.slice(s+1)]}function Id(u){return(u=pl(Math.abs(u)))?u[1]:NaN}function E1(u,L){var s=pl(u,L);if(!s)return u+"";var M=s[0],U=s[1];return U<0?"0."+new Array(-U).join("0")+M:M.length>U+1?M.slice(0,U+1)+"."+M.slice(U+1):M+new Array(U-M.length+2).join("0")}No.prototype=kd.prototype,kd.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 uh={"%":(u,L)=>(100*u).toFixed(L),b:u=>Math.round(u).toString(2),c:u=>u+"",d:function dh(u){return Math.abs(u=Math.round(u))>=1e21?u.toLocaleString("en").replace(/,/g,""):u.toString(10)},e:(u,L)=>u.toExponential(L),f:(u,L)=>u.toFixed(L),g:(u,L)=>u.toPrecision(L),o:u=>Math.round(u).toString(8),p:(u,L)=>E1(100*u,L),r:E1,s:function xf(u,L){var s=pl(u,L);if(!s)return u+"";var M=s[0],U=s[1],K=U-(w0=3*Math.max(-8,Math.min(8,Math.floor(U/3))))+1,ke=M.length;return K===ke?M:K>ke?M+new Array(K-ke+1).join("0"):K>0?M.slice(0,K)+"."+M.slice(K):"0."+new Array(1-K).join("0")+pl(u,Math.max(0,L+K-1))[0]},X:u=>Math.round(u).toString(16).toUpperCase(),x:u=>Math.round(u).toString(16)};function M0(u){return u}var Rd,mh,ph,fh=Array.prototype.map,E0=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function T0(u){var L=u.domain;return u.ticks=function(s){var M=L();return function Ll(u,L,s){if(!((s=+s)>0))return[];if((u=+u)==(L=+L))return[u];const M=L=U))return[];const Et=K-U+1,Gt=new Array(Et);if(M)if(ke<0)for(let Pt=0;Pt0;){if((Pt=Cc(ke,Et,s))===Gt)return M[U]=ke,M[K]=Et,L(M);if(Pt>0)ke=Math.floor(ke/Pt)*Pt,Et=Math.ceil(Et/Pt)*Pt;else{if(!(Pt<0))break;ke=Math.ceil(ke*Pt)/Pt,Et=Math.floor(Et*Pt)/Pt}Gt=Pt}return u},u}function Yc(){var u=fl();return u.copy=function(){return function y0(u,L){return L.domain(u.domain()).range(u.range()).interpolate(u.interpolate()).clamp(u.clamp()).unknown(u.unknown())}(u,Yc())},$l.apply(u,arguments),T0(u)}function L0(u,L,s){u=+u,L=+L,s=(U=arguments.length)<2?(L=u,u=0,1):U<3?1:+s;for(var M=-1,U=0|Math.max(0,Math.ceil((L-u)/s)),K=new Array(U);++M0&&Et>0&&(Gt+Et+1>M&&(Et=Math.max(1,M-Gt)),K.push(s.substring(U-=Et,U+Et)),!((Gt+=Et+1)>M));)Et=u[ke=(ke+1)%u.length];return K.reverse().join(L)}}(fh.call(u.grouping,Number),u.thousands+""),s=void 0===u.currency?"":u.currency[0]+"",M=void 0===u.currency?"":u.currency[1]+"",U=void 0===u.decimal?".":u.decimal+"",K=void 0===u.numerals?M0:function kc(u){return function(L){return L.replace(/[0-9]/g,function(s){return u[+s]})}}(fh.call(u.numerals,String)),ke=void 0===u.percent?"%":u.percent+"",Et=void 0===u.minus?"\u2212":u.minus+"",Gt=void 0===u.nan?"NaN":u.nan+"";function Pt(_i){var wi=(_i=No(_i)).fill,Di=_i.align,sn=_i.sign,kn=_i.symbol,ki=_i.zero,Tn=_i.width,Yn=_i.comma,yn=_i.precision,or=_i.trim,tr=_i.type;"n"===tr?(Yn=!0,tr="g"):uh[tr]||(void 0===yn&&(yn=12),or=!0,tr="g"),(ki||"0"===wi&&"="===Di)&&(ki=!0,wi="0",Di="=");var Rn="$"===kn?s:"#"===kn&&/[boxX]/.test(tr)?"0"+tr.toLowerCase():"",Zr="$"===kn?M:/[%p]/.test(tr)?ke:"",ya=uh[tr],Ts=/[defgprs%]/.test(tr);function xa(Vn){var Ca,Ko,ja,Na=Rn,Ir=Zr;if("c"===tr)Ir=ya(Vn)+Ir,Vn="";else{var ka=(Vn=+Vn)<0||1/Vn<0;if(Vn=isNaN(Vn)?Gt:ya(Math.abs(Vn),yn),or&&(Vn=function hh(u){e:for(var U,L=u.length,s=1,M=-1;s0&&(M=0)}return M>0?u.slice(0,M)+u.slice(U+1):u}(Vn)),ka&&0==+Vn&&"+"!==sn&&(ka=!1),Na=(ka?"("===sn?sn:Et:"-"===sn||"("===sn?"":sn)+Na,Ir=("s"===tr?E0[8+w0/3]:"")+Ir+(ka&&"("===sn?")":""),Ts)for(Ca=-1,Ko=Vn.length;++Ca(ja=Vn.charCodeAt(Ca))||ja>57){Ir=(46===ja?U+Vn.slice(Ca+1):Vn.slice(Ca))+Ir,Vn=Vn.slice(0,Ca);break}}Yn&&!ki&&(Vn=L(Vn,1/0));var ss=Na.length+Vn.length+Ir.length,Jr=ss>1)+Na+Vn+Ir+Jr.slice(ss);break;default:Vn=Jr+Na+Vn+Ir}return K(Vn)}return yn=void 0===yn?6:/[gprs]/.test(tr)?Math.max(1,Math.min(21,yn)):Math.max(0,Math.min(20,yn)),xa.toString=function(){return _i+""},xa}return{format:Pt,formatPrefix:function li(_i,wi){var Di=Pt(((_i=No(_i)).type="f",_i)),sn=3*Math.max(-8,Math.min(8,Math.floor(Id(wi)/3))),kn=Math.pow(10,-sn),ki=E0[8+sn/3];return function(Tn){return Di(kn*Tn)+ki}}}}(u),mh=Rd.format,ph=Rd.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});class T1 extends Map{constructor(L,s=A0){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:s}}),null!=L)for(const[M,U]of L)this.set(M,U)}get(L){return super.get(D0(this,L))}has(L){return super.has(D0(this,L))}set(L,s){return super.set(function vh({_intern:u,_key:L},s){const M=L(s);return u.has(M)?u.get(M):(u.set(M,s),s)}(this,L),s)}delete(L){return super.delete(function Od({_intern:u,_key:L},s){const M=L(s);return u.has(M)&&(s=u.get(M),u.delete(M)),s}(this,L))}}function D0({_intern:u,_key:L},s){const M=L(s);return u.has(M)?u.get(M):s}function A0(u){return null!==u&&"object"==typeof u?u.valueOf():u}Set;const wf=Symbol("implicit");function L1(){var u=new T1,L=[],s=[],M=wf;function U(K){let ke=u.get(K);if(void 0===ke){if(M!==wf)return M;u.set(K,ke=L.push(K)-1)}return s[ke%s.length]}return U.domain=function(K){if(!arguments.length)return L.slice();L=[],u=new T1;for(const ke of K)u.has(ke)||u.set(ke,L.push(ke)-1);return U},U.range=function(K){return arguments.length?(s=Array.from(K),U):s.slice()},U.unknown=function(K){return arguments.length?(M=K,U):M},U.copy=function(){return L1(L,s).unknown(M)},$l.apply(U,arguments),U}function gl(){var K,ke,u=L1().unknown(void 0),L=u.domain,s=u.range,M=0,U=1,Et=!1,Gt=0,Pt=0,li=.5;function _i(){var wi=L().length,Di=U=1)return+s(u[M-1],M-1,u);var M,U=(M-1)*L,K=Math.floor(U),ke=+s(u[K],K,u);return ke+(+s(u[K+1],K+1,u)-ke)*(U-K)}}function Ef(){var M,u=[],L=[],s=[];function U(){var ke=0,Et=Math.max(1,L.length);for(s=new Array(Et-1);++ke0?s[Et-1]:u[0],Et({model:u});function Sf(u,L){}function io(u,L){if(1&u&&(e.j41(0,"span"),e.DNE(1,Sf,0,0,"ng-template",5),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",s.template)("ngTemplateOutletContext",e.eq3(2,x4,s.context))}}function Tf(u,L){if(1&u&&e.nrm(0,"span",6),2&u){const s=e.XpG();e.Y8G("innerHTML",s.title,e.npT)}}function Lf(u,L){if(1&u&&(e.j41(0,"header",4)(1,"span",5),e.EFF(2),e.k0s()()),2&u){const s=e.XpG();e.R7$(2),e.JRh(s.title)}}function Df(u,L){if(1&u){const s=e.RV6();e.j41(0,"li",6)(1,"ngx-charts-legend-entry",7),e.bIt("select",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.labelClick.emit(U))})("activate",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.activate(U))})("deactivate",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.deactivate(U))}),e.k0s()()}if(2&u){const s=L.$implicit,M=e.XpG();e.R7$(),e.Y8G("label",s.label)("formattedLabel",s.formattedLabel)("color",s.color)("isActive",M.isActive(s))}}const xh=["*"];function Ch(u,L){if(1&u&&e.nrm(0,"ngx-charts-scale-legend",4),2&u){const s=e.XpG();e.Y8G("horizontal",s.legendOptions&&s.legendOptions.position===s.LegendPosition.Below)("valueRange",s.legendOptions.domain)("colors",s.legendOptions.colors)("height",s.view[1])("width",s.legendWidth)}}function C4(u,L){if(1&u){const s=e.RV6();e.j41(0,"ngx-charts-legend",5),e.bIt("labelClick",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.legendLabelClick.emit(U))})("labelActivate",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.legendLabelActivate.emit(U))})("labelDeactivate",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.legendLabelDeactivate.emit(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("horizontal",s.legendOptions&&s.legendOptions.position===s.LegendPosition.Below)("data",s.legendOptions.domain)("title",s.legendOptions.title)("colors",s.legendOptions.colors)("height",s.view[1])("width",s.legendWidth)("activeEntries",s.activeEntries)}}const w4=["ngx-charts-axis-label",""],Fd=["ticksel"],Af=["ngx-charts-x-axis-ticks",""];function Ql(u,L){1&u&&(e.qSk(),e.eu8(0))}function R0(u,L){if(1&u&&(e.qSk(),e.j41(0,"tspan",10),e.EFF(1),e.k0s()),2&u){const s=L.$implicit;e.BMQ("y",12*L.index),e.R7$(),e.SpI(" ",s," ")}}function Zl(u,L){if(1&u&&(e.qSk(),e.qex(0),e.DNE(1,R0,2,2,"tspan",9),e.bVm()),2&u){const s=L.ngIf;e.R7$(),e.Y8G("ngForOf",s)}}function D1(u,L){if(1&u&&e.DNE(0,Zl,2,1,"ng-container",6),2&u){const s=e.XpG(2).$implicit,M=e.XpG();e.Y8G("ngIf",M.tickChunks(s))}}function O0(u,L){if(1&u&&e.EFF(0),2&u){const s=e.XpG().ngIf,M=e.XpG(2);e.SpI(" ",M.tickTrim(s)," ")}}function lo(u,L){if(1&u&&(e.qSk(),e.qex(0),e.j41(1,"title"),e.EFF(2),e.k0s(),e.j41(3,"text",7),e.DNE(4,Ql,1,0,"ng-container",8),e.k0s(),e.DNE(5,D1,1,1,"ng-template",null,1,e.C5r)(7,O0,1,1,"ng-template",null,2,e.C5r),e.bVm()),2&u){const s=L.ngIf,M=e.sdS(6),U=e.sdS(8),K=e.XpG(2);e.R7$(2),e.JRh(s),e.R7$(),e.BMQ("text-anchor",K.textAnchor)("transform",K.textTransform),e.R7$(),e.Y8G("ngIf",K.isWrapTicksSupported)("ngIfThen",M)("ngIfElse",U)}}function Jl(u,L){if(1&u&&(e.qSk(),e.j41(0,"g",5),e.DNE(1,lo,9,6,"ng-container",6),e.k0s()),2&u){const s=L.$implicit,M=e.XpG();e.BMQ("transform",M.tickTransform(s)),e.R7$(),e.Y8G("ngIf",M.tickFormat(s))}}function ql(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.nrm(1,"line",11),e.k0s()),2&u){const s=e.XpG(2);e.BMQ("transform",s.gridLineTransform()),e.R7$(),e.BMQ("y1",-s.gridLineHeight)}}function F0(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,ql,2,2,"g",6),e.k0s()),2&u){const s=L.$implicit,M=e.XpG();e.BMQ("transform",M.tickTransform(s)),e.R7$(),e.Y8G("ngIf",M.showGridLines)}}const A1=["ngx-charts-x-axis",""];function ed(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",2),e.bIt("dimensionsChanged",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.emitTicksHeight(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("trimTicks",s.trimTicks)("rotateTicks",s.rotateTicks)("maxTickLength",s.maxTickLength)("tickFormatting",s.tickFormatting)("tickArguments",s.tickArguments)("tickStroke",s.tickStroke)("scale",s.xScale)("orient",s.xOrient)("showGridLines",s.showGridLines)("gridLineHeight",s.dims.height)("width",s.dims.width)("tickValues",s.ticks)("wrapTicks",s.wrapTicks)}}function N0(u,L){if(1&u&&(e.qSk(),e.nrm(0,"g",3)),2&u){const s=e.XpG();e.Y8G("label",s.labelText)("offset",s.labelOffset)("orient",s.orientation.Bottom)("height",s.dims.height)("width",s.dims.width)}}const M4=["ngx-charts-y-axis-ticks",""];function k1(u,L){1&u&&(e.qSk(),e.eu8(0))}function Nd(u,L){if(1&u&&(e.qSk(),e.j41(0,"tspan",12),e.EFF(1),e.k0s()),2&u){const s=L.$implicit,M=L.index,U=e.XpG(6);e.BMQ("y",M*(8+U.tickSpacing)),e.R7$(),e.SpI(" ",s," ")}}function wh(u,L){if(1&u&&(e.qSk(),e.qex(0),e.DNE(1,Nd,2,2,"tspan",11),e.bVm()),2&u){const s=e.XpG().ngIf;e.R7$(),e.Y8G("ngForOf",s)}}function Mh(u,L){if(1&u&&(e.qSk(),e.qex(0),e.DNE(1,wh,2,1,"ng-container",10),e.bVm()),2&u){const s=L.ngIf;e.XpG(2);const M=e.sdS(8);e.R7$(),e.Y8G("ngIf",s.length>1)("ngIfElse",M)}}function kf(u,L){if(1&u&&e.DNE(0,Mh,2,2,"ng-container",7),2&u){const s=e.XpG(2).$implicit,M=e.XpG();e.Y8G("ngIf",M.tickChunks(s))}}function Eh(u,L){if(1&u&&e.EFF(0),2&u){const s=e.XpG().ngIf,M=e.XpG(2);e.SpI(" ",M.tickTrim(s)," ")}}function P0(u,L){if(1&u&&(e.qSk(),e.qex(0),e.j41(1,"title"),e.EFF(2),e.k0s(),e.j41(3,"text",8),e.DNE(4,k1,1,0,"ng-container",9),e.k0s(),e.DNE(5,kf,1,1,"ng-template",null,1,e.C5r)(7,Eh,1,1,"ng-template",null,2,e.C5r),e.bVm()),2&u){const s=L.ngIf,M=e.sdS(6),U=e.sdS(8),K=e.XpG(2);e.R7$(2),e.JRh(s),e.R7$(),e.xc7("font-size","12px"),e.BMQ("dy",K.dy)("x",K.x1)("y",K.y1)("text-anchor",K.textAnchor),e.R7$(),e.Y8G("ngIf",K.wrapTicks)("ngIfThen",M)("ngIfElse",U)}}function z0(u,L){if(1&u&&(e.qSk(),e.j41(0,"g",6),e.DNE(1,P0,9,10,"ng-container",7),e.k0s()),2&u){const s=L.$implicit,M=e.XpG();e.BMQ("transform",M.transform(s)),e.R7$(),e.Y8G("ngIf",M.tickFormat(s))}}function If(u,L){if(1&u&&(e.qSk(),e.nrm(0,"path",13)),2&u){const s=e.XpG();e.BMQ("d",s.referenceAreaPath)("transform",s.gridLineTransform())}}function Sh(u,L){if(1&u&&(e.qSk(),e.nrm(0,"line",15)),2&u){const s=e.XpG(3);e.BMQ("x2",s.gridLineWidth)}}function Pd(u,L){if(1&u&&(e.qSk(),e.nrm(0,"line",15)),2&u){const s=e.XpG(3);e.BMQ("x2",-s.gridLineWidth)}}function Th(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,Sh,1,1,"line",14)(2,Pd,1,1,"line",14),e.k0s()),2&u){const s=e.XpG(2);e.BMQ("transform",s.gridLineTransform()),e.R7$(),e.Y8G("ngIf",s.orient===s.Orientation.Left),e.R7$(),e.Y8G("ngIf",s.orient===s.Orientation.Right)}}function B0(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,Th,3,3,"g",7),e.k0s()),2&u){const s=L.$implicit,M=e.XpG();e.BMQ("transform",M.transform(s)),e.R7$(),e.Y8G("ngIf",M.showGridLines)}}function Rf(u,L){if(1&u&&(e.qSk(),e.j41(0,"g")(1,"title"),e.EFF(2),e.k0s(),e.j41(3,"text",17),e.EFF(4),e.k0s()()),2&u){const s=e.XpG(2).$implicit,M=e.XpG();e.R7$(2),e.JRh(M.tickTrim(M.tickFormat(s.value))),e.R7$(),e.BMQ("dy",M.dy)("y",-6)("x",M.gridLineWidth)("text-anchor",M.textAnchor),e.R7$(),e.SpI(" ",s.name," ")}}function E4(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.nrm(1,"line",16),e.DNE(2,Rf,5,6,"g",7),e.k0s()),2&u){const s=e.XpG().$implicit,M=e.XpG();e.BMQ("transform",M.transform(s.value)),e.R7$(),e.BMQ("x2",M.gridLineWidth)("transform",M.gridLineTransform()),e.R7$(),e.Y8G("ngIf",M.showRefLabels)}}function S4(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,E4,3,4,"g",7),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngIf",s.showRefLines)}}const zd=["ngx-charts-y-axis",""];function I1(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",2),e.bIt("dimensionsChanged",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.emitTicksWidth(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("trimTicks",s.trimTicks)("maxTickLength",s.maxTickLength)("tickFormatting",s.tickFormatting)("tickArguments",s.tickArguments)("tickValues",s.ticks)("tickStroke",s.tickStroke)("scale",s.yScale)("orient",s.yOrient)("showGridLines",s.showGridLines)("gridLineWidth",s.dims.width)("referenceLines",s.referenceLines)("showRefLines",s.showRefLines)("showRefLabels",s.showRefLabels)("height",s.dims.height)("wrapTicks",s.wrapTicks)}}function R1(u,L){if(1&u&&(e.qSk(),e.nrm(0,"g",3)),2&u){const s=e.XpG();e.Y8G("label",s.labelText)("offset",s.labelOffset)("orient",s.yOrient)("height",s.dims.height)("width",s.dims.width)}}const V0=["ngx-charts-svg-linear-gradient",""];function O1(u,L){if(1&u&&(e.qSk(),e.nrm(0,"stop")),2&u){const s=L.$implicit;e.xc7("stop-color",s.color)("stop-opacity",s.opacity),e.BMQ("offset",s.offset+"%")}}const N1=["ngx-charts-grid-panel",""],Lh=["ngx-charts-grid-panel-series",""];function U0(u,L){if(1&u&&(e.qSk(),e.nrm(0,"g",1)),2&u){const s=L.$implicit;e.AVh("grid-panel",!0)("odd","odd"===s.class)("even","even"===s.class),e.Y8G("height",s.height)("width",s.width)("x",s.x)("y",s.y)}}const U1=["tooltipTemplate"],rs=(u,L)=>[u,L],bl=".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",W0=["ngx-charts-bar",""];function X0(u,L){if(1&u&&(e.qSk(),e.j41(0,"defs"),e.nrm(1,"g",2),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("orientation",s.orientation)("name",s.gradientId)("stops",s.gradientStops)}}const Yf=["ngx-charts-bar-label",""],Mn=["ngx-charts-series-vertical",""];function Ki(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",2),e.bIt("select",function(U){e.eBV(s);const K=e.XpG(2);return e.Njj(K.onClick(U))})("activate",function(U){e.eBV(s);const K=e.XpG(2);return e.Njj(K.activate.emit(U))})("deactivate",function(U){e.eBV(s);const K=e.XpG(2);return e.Njj(K.deactivate.emit(U))}),e.k0s()}if(2&u){const s=L.$implicit,M=e.XpG(2);e.Y8G("@animationState","active")("@.disabled",!M.animations)("width",s.width)("height",s.height)("x",s.x)("y",s.y)("fill",s.color)("stops",s.gradientStops)("data",s.data)("orientation",M.barOrientation.Vertical)("roundEdges",s.roundEdges)("gradient",M.gradient)("ariaLabel",s.ariaLabel)("isActive",M.isActive(s.data))("tooltipDisabled",M.tooltipDisabled)("tooltipPlacement",M.tooltipPlacement)("tooltipType",M.tooltipType)("tooltipTitle",M.tooltipTemplate?void 0:s.tooltipText)("tooltipTemplate",M.tooltipTemplate)("tooltipContext",s.data)("noBarWhenZero",M.noBarWhenZero)("animations",M.animations)}}function an(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,Ki,1,22,"g",1),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngForOf",s.bars)("ngForTrackBy",s.trackBy)}}function Xn(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",2),e.bIt("select",function(U){e.eBV(s);const K=e.XpG(2);return e.Njj(K.onClick(U))})("activate",function(U){e.eBV(s);const K=e.XpG(2);return e.Njj(K.activate.emit(U))})("deactivate",function(U){e.eBV(s);const K=e.XpG(2);return e.Njj(K.deactivate.emit(U))}),e.k0s()}if(2&u){const s=L.$implicit,M=e.XpG(2);e.Y8G("width",s.width)("height",s.height)("x",s.x)("y",s.y)("fill",s.color)("stops",s.gradientStops)("data",s.data)("orientation",M.barOrientation.Vertical)("roundEdges",s.roundEdges)("gradient",M.gradient)("ariaLabel",s.ariaLabel)("isActive",M.isActive(s.data))("tooltipDisabled",M.tooltipDisabled)("tooltipPlacement",M.tooltipPlacement)("tooltipType",M.tooltipType)("tooltipTitle",M.tooltipTemplate?void 0:s.tooltipText)("tooltipTemplate",M.tooltipTemplate)("tooltipContext",s.data)("noBarWhenZero",M.noBarWhenZero)("animations",M.animations)}}function gr(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,Xn,1,20,"g",1),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngForOf",s.bars)("ngForTrackBy",s.trackBy)}}function jr(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",4),e.bIt("dimensionsChanged",function(U){const K=e.eBV(s).index,ke=e.XpG(2);return e.Njj(ke.dataLabelHeightChanged.emit({size:U,index:K}))}),e.k0s()}if(2&u){const s=L.$implicit,M=e.XpG(2);e.Y8G("barX",s.x)("barY",s.y)("barWidth",s.width)("barHeight",s.height)("value",s.total)("valueFormatting",M.dataLabelFormatting)("orientation",M.barOrientation.Vertical)}}function da(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,jr,1,7,"g",3),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngForOf",s.barsForDataLabels)("ngForTrackBy",s.trackDataLabelBy)}}function rr(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",5),e.bIt("dimensionsChanged",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.updateXAxisHeight(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("xScale",s.xScale)("dims",s.dims)("showGridLines",s.showGridLines)("showLabel",s.showXAxisLabel)("labelText",s.xAxisLabel)("trimTicks",s.trimXAxisTicks)("rotateTicks",s.rotateXAxisTicks)("maxTickLength",s.maxXAxisTickLength)("tickFormatting",s.xAxisTickFormatting)("ticks",s.xAxisTicks)("xAxisOffset",s.dataLabelMaxHeight.negative)("wrapTicks",s.wrapTicks)}}function Kr(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",6),e.bIt("dimensionsChanged",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.updateYAxisWidth(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("yScale",s.yScale)("dims",s.dims)("showGridLines",s.showGridLines)("showLabel",s.showYAxisLabel)("labelText",s.yAxisLabel)("trimTicks",s.trimYAxisTicks)("maxTickLength",s.maxYAxisTickLength)("tickFormatting",s.yAxisTickFormatting)("ticks",s.yAxisTicks)("wrapTicks",s.wrapTicks)}}function kr(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",6),e.bIt("dimensionsChanged",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.updateXAxisHeight(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("xScale",s.groupScale)("dims",s.dims)("showLabel",s.showXAxisLabel)("labelText",s.xAxisLabel)("trimTicks",s.trimXAxisTicks)("rotateTicks",s.rotateXAxisTicks)("maxTickLength",s.maxXAxisTickLength)("tickFormatting",s.xAxisTickFormatting)("ticks",s.xAxisTicks)("xAxisOffset",s.dataLabelMaxHeight.negative)("wrapTicks",s.wrapTicks)}}function Aa(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",7),e.bIt("dimensionsChanged",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.updateYAxisWidth(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("yScale",s.valueScale)("dims",s.dims)("showGridLines",s.showGridLines)("showLabel",s.showYAxisLabel)("labelText",s.yAxisLabel)("trimTicks",s.trimYAxisTicks)("maxTickLength",s.maxYAxisTickLength)("tickFormatting",s.yAxisTickFormatting)("ticks",s.yAxisTicks)("wrapTicks",s.wrapTicks)}}function ha(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",9),e.bIt("select",function(U){const K=e.eBV(s).$implicit,ke=e.XpG(2);return e.Njj(ke.onClick(U,K))})("activate",function(U){const K=e.eBV(s).$implicit,ke=e.XpG(2);return e.Njj(ke.onActivate(U,K))})("deactivate",function(U){const K=e.eBV(s).$implicit,ke=e.XpG(2);return e.Njj(ke.onDeactivate(U,K))})("dataLabelHeightChanged",function(U){const K=e.eBV(s).index,ke=e.XpG(2);return e.Njj(ke.onDataLabelMaxHeightChanged(U,K))}),e.k0s()}if(2&u){const s=L.$implicit,M=e.XpG(2);e.Y8G("@animationState","active")("activeEntries",M.activeEntries)("xScale",M.innerScale)("yScale",M.valueScale)("colors",M.colors)("series",s.series)("dims",M.dims)("gradient",M.gradient)("tooltipDisabled",M.tooltipDisabled)("tooltipTemplate",M.tooltipTemplate)("showDataLabel",M.showDataLabel)("dataLabelFormatting",M.dataLabelFormatting)("seriesName",s.name)("roundEdges",M.roundEdges)("animations",M.animations)("noBarWhenZero",M.noBarWhenZero),e.BMQ("transform",M.groupTransform(s))}}function Zs(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,ha,1,17,"g",8),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngForOf",s.results)("ngForTrackBy",s.trackBy)}}function rd(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",9),e.bIt("select",function(U){const K=e.eBV(s).$implicit,ke=e.XpG(2);return e.Njj(ke.onClick(U,K))})("activate",function(U){const K=e.eBV(s).$implicit,ke=e.XpG(2);return e.Njj(ke.onActivate(U,K))})("deactivate",function(U){const K=e.eBV(s).$implicit,ke=e.XpG(2);return e.Njj(ke.onDeactivate(U,K))})("dataLabelHeightChanged",function(U){const K=e.eBV(s).index,ke=e.XpG(2);return e.Njj(ke.onDataLabelMaxHeightChanged(U,K))}),e.k0s()}if(2&u){const s=L.$implicit,M=e.XpG(2);e.Y8G("activeEntries",M.activeEntries)("xScale",M.innerScale)("yScale",M.valueScale)("colors",M.colors)("series",s.series)("dims",M.dims)("gradient",M.gradient)("tooltipDisabled",M.tooltipDisabled)("tooltipTemplate",M.tooltipTemplate)("showDataLabel",M.showDataLabel)("dataLabelFormatting",M.dataLabelFormatting)("seriesName",s.name)("roundEdges",M.roundEdges)("animations",M.animations)("noBarWhenZero",M.noBarWhenZero),e.BMQ("transform",M.groupTransform(s))}}function G1(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,rd,1,16,"g",8),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngForOf",s.results)("ngForTrackBy",s.trackBy)}}function Jh(u,L,s){s=s||{};let M,U,K,ke=null,Et=0;function Gt(){Et=!1===s.leading?0:+new Date,ke=null,K=u.apply(M,U)}return function(){const Pt=+new Date;!Et&&!1===s.leading&&(Et=Pt);const li=L-(Pt-Et);return M=this,U=arguments,li<=0?(clearTimeout(ke),ke=null,Et=Pt,K=u.apply(M,U)):!ke&&!1!==s.trailing&&(ke=setTimeout(Gt,li)),K}}function om(u,L){return function(M,U,K){return{configurable:!0,enumerable:K.enumerable,get:function(){return Object.defineProperty(this,U,{configurable:!0,enumerable:K.enumerable,value:Jh(K.value,u,L)}),this[U]}}}}var br=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u.Center="center",u}(br||{});function sm(u,L,s){return s===br.Top?u.top-7:s===br.Bottom?u.top+u.height-L.height+7:s===br.Center?u.top+u.height/2-L.height/2:void 0}function qh(u,L,s){return s===br.Left?u.left-7:s===br.Right?u.left+u.width-L.width+7:s===br.Center?u.left+u.width/2-L.width/2:void 0}class Js{static calculateVerticalAlignment(L,s,M){let U=sm(L,s,M);return U+s.height>window.innerHeight&&(U=window.innerHeight-s.height),U}static calculateVerticalCaret(L,s,M,U){let K;U===br.Top&&(K=L.height/2-M.height/2+7),U===br.Bottom&&(K=s.height-L.height/2-M.height/2-7),U===br.Center&&(K=s.height/2-M.height/2);const ke=sm(L,s,U);return ke+s.height>window.innerHeight&&(K+=ke+s.height-window.innerHeight),K}static calculateHorizontalAlignment(L,s,M){let U=qh(L,s,M);return U+s.width>window.innerWidth&&(U=window.innerWidth-s.width),U}static calculateHorizontalCaret(L,s,M,U){let K;U===br.Left&&(K=L.width/2-M.width/2+7),U===br.Right&&(K=s.width-L.width/2-M.width/2-7),U===br.Center&&(K=s.width/2-M.width/2);const ke=qh(L,s,U);return ke+s.width>window.innerWidth&&(K+=ke+s.width-window.innerWidth),K}static shouldFlip(L,s,M,U){let K=!1;return M===br.Right&&L.left+L.width+s.width+U>window.innerWidth&&(K=!0),M===br.Left&&L.left-s.width-U<0&&(K=!0),M===br.Top&&L.top-s.height-U<0&&(K=!0),M===br.Bottom&&L.top+L.height+s.height+U>window.innerHeight&&(K=!0),K}static positionCaret(L,s,M,U,K){let ke=0,Et=0;return L===br.Right?(Et=-7,ke=Js.calculateVerticalCaret(M,s,U,K)):L===br.Left?(Et=s.width,ke=Js.calculateVerticalCaret(M,s,U,K)):L===br.Top?(ke=s.height,Et=Js.calculateHorizontalCaret(M,s,U,K)):L===br.Bottom&&(ke=-7,Et=Js.calculateHorizontalCaret(M,s,U,K)),{top:ke,left:Et}}static positionContent(L,s,M,U,K){let ke=0,Et=0;return L===br.Right?(Et=M.left+M.width+U,ke=Js.calculateVerticalAlignment(M,s,K)):L===br.Left?(Et=M.left-s.width-U,ke=Js.calculateVerticalAlignment(M,s,K)):L===br.Top?(ke=M.top-s.height-U,Et=Js.calculateHorizontalAlignment(M,s,K)):L===br.Bottom&&(ke=M.top+M.height+U,Et=Js.calculateHorizontalAlignment(M,s,K)),{top:ke,left:Et}}static determinePlacement(L,s,M,U){if(Js.shouldFlip(M,s,L,U)){if(L===br.Right)return br.Left;if(L===br.Left)return br.Right;if(L===br.Top)return br.Bottom;if(L===br.Bottom)return br.Top}return L}}let s6=(()=>{class u{constructor(s,M,U){this.element=s,this.renderer=M,this.platformId=U}get cssClasses(){let s="ngx-charts-tooltip-content";return s+=` position-${this.placement}`,s+=` type-${this.type}`,s+=` ${this.cssClass}`,s}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,t.UE)(this.platformId))return;const s=this.element.nativeElement,M=this.host.nativeElement.getBoundingClientRect();if(!M.height&&!M.width)return;const U=s.getBoundingClientRect();this.checkFlip(M,U),this.positionContent(s,M,U),this.showCaret&&this.positionCaret(M,U),setTimeout(()=>this.renderer.addClass(s,"animate"),1)}positionContent(s,M,U){const{top:K,left:ke}=Js.positionContent(this.placement,U,M,this.spacing,this.alignment);this.renderer.setStyle(s,"top",`${K}px`),this.renderer.setStyle(s,"left",`${ke}px`)}positionCaret(s,M){const U=this.caretElm.nativeElement,K=U.getBoundingClientRect(),{top:ke,left:Et}=Js.positionCaret(this.placement,M,s,K,this.alignment);this.renderer.setStyle(U,"top",`${ke}px`),this.renderer.setStyle(U,"left",`${Et}px`)}checkFlip(s,M){this.placement=Js.determinePlacement(this.placement,M,s,this.spacing)}onWindowResize(){this.position()}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.Agw))},u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-tooltip-content"]],viewQuery:function(s,M){if(1&s&&e.GBs(I0,5),2&s){let U;e.mGM(U=e.lsd())&&(M.caretElm=U.first)}},hostVars:2,hostBindings:function(s,M){1&s&&e.bIt("resize",function(){return M.onWindowResize()},!1,e.tSv),2&s&&e.HbH(M.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(s,M){1&s&&(e.j41(0,"div"),e.nrm(1,"span",1,0),e.j41(3,"div",2),e.DNE(4,io,2,4,"span",3)(5,Tf,1,1,"span",4),e.k0s()()),2&s&&(e.R7$(),e.ZvI("tooltip-caret position-",M.placement,""),e.Y8G("hidden",!M.showCaret),e.R7$(3),e.Y8G("ngIf",!M.title),e.R7$(),e.Y8G("ngIf",M.title))},dependencies:[t.bT,t.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,x.Cg)([om(100)],u.prototype,"onWindowResize",null),u})();class eu{constructor(L){this.injectionService=L,this.defaults={},this.components=new Map}getByType(L=this.type){return this.components.get(L)}create(L){return this.createByType(this.type,L)}createByType(L,s){s=this.assignDefaults(s);const M=this.injectComponent(L,s);return this.register(L,M),M}destroy(L){const s=this.components.get(L.componentType);if(s&&s.length){const M=s.indexOf(L);M>-1&&(s[M].destroy(),s.splice(M,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(L){const s=this.components.get(L);if(s&&s.length){let M=s.length-1;for(;M>=0;)this.destroy(s[M--])}}injectComponent(L,s){return this.injectionService.appendComponent(L,s)}assignDefaults(L){const s={...this.defaults.inputs},M={...this.defaults.outputs};return!L.inputs&&!L.outputs&&(L={inputs:L}),s&&(L.inputs={...s,...L.inputs}),M&&(L.outputs={...M,...L.outputs}),L}register(L,s){this.components.has(L)||this.components.set(L,[]),this.components.get(L).push(s)}}let cm=(()=>{class u{constructor(s,M,U){this.applicationRef=s,this.componentFactoryResolver=M,this.injector=U}static setGlobalRootViewContainer(s){u.globalRootViewContainer=s}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(s){this._container=s}getComponentRootNode(s){return function c6(u){return u.element}(s)?s.element.nativeElement:s.hostView&&s.hostView.rootNodes.length>0?s.hostView.rootNodes[0]:s.location.nativeElement}getRootViewContainerNode(s){return this.getComponentRootNode(s)}projectComponentBindings(s,M){if(M){if(void 0!==M.inputs){const U=Object.getOwnPropertyNames(M.inputs);for(const K of U)s.instance[K]=M.inputs[K]}if(void 0!==M.outputs){const U=Object.getOwnPropertyNames(M.outputs);for(const K of U)s.instance[K]=M.outputs[K]}}return s}appendComponent(s,M={},U){U||(U=this.getRootViewContainer());const K=this.getComponentRootNode(U),ke=new D.aI(K,this.componentFactoryResolver,this.applicationRef,this.injector),Et=new D.A8(s),Gt=ke.attach(Et);return this.projectComponentBindings(Gt,M),Gt}}return u.globalRootViewContainer=null,u.\u0275fac=function(s){return new(s||u)(e.KVO(e.o8S),e.KVO(e.OM3),e.KVO(e.zZn))},u.\u0275prov=e.jDH({token:u,factory:u.\u0275fac}),u})(),a3=(()=>{class u extends eu{constructor(s){super(s),this.type=s6}}return u.\u0275fac=function(s){return new(s||u)(e.KVO(cm))},u.\u0275prov=e.jDH({token:u,factory:u.\u0275fac}),u})();var Ic=function(u){return u.Right="right",u.Below="below",u}(Ic||{}),Z0=function(u){return u.ScaleLegend="scaleLegend",u.Legend="legend",u}(Z0||{}),In=function(u){return u.Time="time",u.Linear="linear",u.Ordinal="ordinal",u.Quantile="quantile",u}(In||{});let tu=(()=>{class u{constructor(){this.horizontal=!1}ngOnChanges(s){const M=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${M})`}gradientString(s,M){M.push(1);const U=[];return s.reverse().forEach((K,ke)=>{U.push(`${K} ${Math.round(100*M[ke])}%`)}),U.join(", ")}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[e.OA$],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(s,M){1&s&&(e.j41(0,"div",0)(1,"div",1)(2,"span"),e.EFF(3),e.k0s()(),e.nrm(4,"div",2),e.j41(5,"div",1)(6,"span"),e.EFF(7),e.k0s()()()),2&s&&(e.xc7("height",M.horizontal?void 0:M.height,"px")("width",M.width,"px"),e.AVh("horizontal-legend",M.horizontal),e.R7$(3),e.JRh(M.valueRange[1].toLocaleString()),e.R7$(),e.xc7("background",M.gradient),e.R7$(3),e.JRh(M.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 J0(u){return u instanceof Date?u.toLocaleDateString():u.toLocaleString()}let s3=(()=>{class u{constructor(){this.isActive=!1,this.select=new e.bkB,this.activate=new e.bkB,this.deactivate=new e.bkB,this.toggle=new e.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(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(s,M){1&s&&e.bIt("mouseenter",function(){return M.onMouseEnter()})("mouseleave",function(){return M.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(s,M){1&s&&(e.j41(0,"span",0),e.bIt("click",function(){return M.select.emit(M.formattedLabel)}),e.j41(1,"span",1),e.bIt("click",function(){return M.toggle.emit(M.formattedLabel)}),e.k0s(),e.j41(2,"span",2),e.EFF(3),e.k0s()()),2&s&&(e.AVh("active",M.isActive),e.Y8G("title",M.formattedLabel),e.R7$(),e.xc7("background-color",M.color),e.R7$(2),e.SpI(" ",M.trimmedLabel," "))},encapsulation:2,changeDetection:0}),u})(),c3=(()=>{class u{constructor(s){this.cd=s,this.horizontal=!1,this.labelClick=new e.bkB,this.labelActivate=new e.bkB,this.labelDeactivate=new e.bkB,this.legendEntries=[]}ngOnChanges(s){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const s=[];for(const M of this.data){const U=J0(M);-1===s.findIndex(ke=>ke.label===U)&&s.push({label:M,formattedLabel:U,color:this.colors.getColor(M)})}return s}isActive(s){return!!this.activeEntries&&void 0!==this.activeEntries.find(U=>s.label===U.name)}activate(s){this.labelActivate.emit(s)}deactivate(s){this.labelDeactivate.emit(s)}trackBy(s,M){return M.label}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.gRc))},u.\u0275cmp=e.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:[e.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(s,M){1&s&&(e.j41(0,"div"),e.DNE(1,Lf,3,1,"header",0),e.j41(2,"div",1)(3,"ul",2),e.DNE(4,Df,2,4,"li",3),e.k0s()()()),2&s&&(e.xc7("width",M.width,"px"),e.R7$(),e.Y8G("ngIf",(null==M.title?null:M.title.length)>0),e.R7$(2),e.xc7("max-height",M.height-45,"px"),e.AVh("horizontal-legend",M.horizontal),e.R7$(),e.Y8G("ngForOf",M.legendEntries)("ngForTrackBy",M.trackBy))},dependencies:[s3,t.bT,t.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})(),Y1=(()=>{class u{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new e.bkB,this.legendLabelActivate=new e.bkB,this.legendLabelDeactivate=new e.bkB,this.LegendPosition=Ic,this.LegendType=Z0}ngOnChanges(s){this.update()}update(){let s=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===Ic.Right)&&(s=this.legendType===Z0.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-s)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==Ic.Right?this.chartWidth:Math.floor(this.view[0]*s/12)}getLegendType(){return this.legendOptions.scaleType===In.Linear?Z0.ScaleLegend:Z0.Legend}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.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:[e.Jv_([a3]),e.OA$],ngContentSelectors:xh,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(s,M){1&s&&(e.NAR(),e.j41(0,"div",0),e.qSk(),e.j41(1,"svg",1),e.SdG(2),e.k0s(),e.DNE(3,Ch,1,5,"ngx-charts-scale-legend",2)(4,C4,1,7,"ngx-charts-legend",3),e.k0s()),2&s&&(e.xc7("width",M.view[0],"px")("height",M.view[1],"px"),e.R7$(),e.BMQ("width",M.chartWidth)("height",M.view[1]),e.R7$(2),e.Y8G("ngIf",M.showLegend&&M.legendType===M.LegendType.ScaleLegend),e.R7$(),e.Y8G("ngIf",M.showLegend&&M.legendType===M.LegendType.Legend))},dependencies:[tu,c3,t.bT],encapsulation:2,changeDetection:0}),u})(),l3=(()=>{class u{constructor(s,M){this.element=s,this.zone=M,this.visible=new e.bkB,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const s=()=>{if(!this.element)return;const{offsetHeight:M,offsetWidth:U}=this.element.nativeElement;M&&U?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>s(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>s())})}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.aKT),e.rXU(e.SKi))},u.\u0275dir=e.FsC({type:u,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),u})();function l6(u){return"[object Date]"===toString.call(u)}let iu=(()=>{class u{constructor(s,M,U,K){this.chartElement=s,this.zone=M,this.cd=U,this.platformId=K,this.scheme="cool",this.schemeType=In.Ordinal,this.animations=!0,this.select=new e.bkB}ngOnInit(){(0,t.Vy)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new l3(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(s){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 s=this.getContainerDims();s&&(this.width=s.width,this.height=s.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 s,M;const U=this.chartElement.nativeElement;if((0,t.UE)(this.platformId)&&null!==U.parentNode){const K=U.parentNode.getBoundingClientRect();s=K.width,M=K.height}return s&&M?{width:s,height:M}:null}formatDates(){for(let s=0;s{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=M}cloneData(s){const M=[];for(const U of s){const K={};if(void 0!==U.name&&(K.name=U.name),void 0!==U.value&&(K.value=U.value),void 0!==U.series){K.series=[];for(const ke of U.series){const Et=Object.assign({},ke);K.series.push(Et)}}void 0!==U.extra&&(K.extra=JSON.parse(JSON.stringify(U.extra))),void 0!==U.source&&(K.source=U.source),void 0!==U.target&&(K.target=U.target),M.push(K)}return M}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(e.Agw))},u.\u0275cmp=e.VBU({type:u,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[e.OA$],decls:1,vars:0,template:function(s,M){1&s&&e.nrm(0,"div")},encapsulation:2}),u})();var Po=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u}(Po||{});let q0=(()=>{class u{constructor(s){this.textHeight=25,this.margin=5,this.element=s.nativeElement}ngOnChanges(s){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case Po.Top:case Po.Bottom:this.y=this.offset,this.x=this.width/2;break;case Po.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case Po.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.aKT))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[e.OA$],attrs:w4,decls:2,vars:6,template:function(s,M){1&s&&(e.qSk(),e.j41(0,"text"),e.EFF(1),e.k0s()),2&s&&(e.BMQ("stroke-width",M.strokeWidth)("x",M.x)("y",M.y)("text-anchor",M.textAnchor)("transform",M.transform),e.R7$(),e.SpI(" ",M.label," "))},encapsulation:2,changeDetection:0}),u})();function e2(u,L=16){return"string"!=typeof u?"number"==typeof u?u+"":"":(u=u.trim()).length<=L?u:`${u.slice(0,L)}...`}function Rc(u,L){if(u.length>L){const s=[],M=Math.floor(u.length/L);for(let U=0;U{const Et=(K.pop()||"")+" ";return Et.length+ke.length>L?[...K,Et.trim(),ke.trim()]:[...K,Et+ke]},[]);else{let K=0;for(;Ks&&(U=U.splice(0,s),U[U.length-1]+="..."),U}var yl=function(u){return u.Start="start",u.Middle="middle",u.End="end",u}(yl||{});let nu=(()=>{class u{constructor(s){this.platformId=s,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.wrapTicks=!1,this.dimensionsChanged=new e.bkB,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=yl.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(s){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.UE)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const s=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);s!==this.height&&(this.height=s,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const s=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:s.tickFormat?s.tickFormat.apply(s,this.tickArguments):function(U){return"Date"===U.constructor.name?U.toLocaleDateString():U.toLocaleString()};const M=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(U){return this.scale(U)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",M&&0!==M?(this.textTransform=`rotate(${M})`,this.textAnchor=yl.End,this.verticalSpacing=10):this.textAnchor=yl.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(s){let M=0;this.maxTicksLength=0;for(let _i=0;_ithis.maxTicksLength&&(this.maxTicksLength=Di)}const ke=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let Et=ke;const Gt=Math.floor(this.width/s.length);for(;Et>Gt&&M>-90;)M-=30,Et=Math.cos(M*(Math.PI/180))*ke;let Pt=14;if(this.isWrapTicksSupported){const _i=this.ticks.reduce((Di,sn)=>sn.length>Di.length?sn:Di,"");Pt=14*(this.tickChunks(_i).length||1),this.maxPossibleLengthForTickIfWrapped=this.getMaxPossibleLengthForTick(_i)}const li=0!==M?Math.max(Math.abs(Math.sin(M*Math.PI/180))*this.maxTickLength*7,10):Pt;return this.approxHeight=Math.min(li,200),M}getTicks(){let s;const M=this.getMaxTicks(20),U=this.getMaxTicks(100);return this.tickValues?s=this.tickValues:this.scale.ticks?s=this.scale.ticks.apply(this.scale,[U]):(s=this.scale.domain(),s=Rc(s,M)),s}getMaxTicks(s){return Math.floor(this.width/s)}tickTransform(s){return"translate("+this.adjustedScale(s)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(s){return this.trimTicks?e2(s,this.maxTickLength):s}getMaxPossibleLengthForTick(s){if(this.scale.bandwidth){const U=Math.floor(this.scale.bandwidth()/7),K=s.slice(0,U);return Math.max(K.length,this.maxTickLength)}return this.maxTickLength}tickChunks(s){if(s.toString().length>this.maxTickLength&&this.scale.bandwidth){let U=this.rotateTicks?Math.floor(this.scale.step()/14):5;if(U<=1)return[this.tickTrim(s)];let K=Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength);return(0,t.UE)(this.platformId)||(K=Math.floor(Math.min(this.approxHeight/5,Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength)))),U=Math.min(U,5),lm(s,K,U<1?1:U)}return[this.tickTrim(s)]}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.Agw))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(s,M){if(1&s&&e.GBs(Fd,5),2&s){let U;e.mGM(U=e.lsd())&&(M.ticksElement=U.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.OA$],attrs:Af,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(s,M){1&s&&(e.qSk(),e.j41(0,"g",null,0),e.DNE(2,Jl,2,2,"g",3),e.k0s(),e.DNE(3,F0,2,2,"g",4)),2&s&&(e.R7$(2),e.Y8G("ngForOf",M.ticks),e.R7$(),e.Y8G("ngForOf",M.ticks))},dependencies:[t.Sq,t.bT],encapsulation:2,changeDetection:0}),u})(),dm=(()=>{class u{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=Po.Bottom,this.xAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new e.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=Po}ngOnChanges(s){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:s}){const M=s+25+5;M!==this.labelOffset&&(this.labelOffset=M,setTimeout(()=>{this.dimensionsChanged.emit({height:s})},0))}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(s,M){if(1&s&&e.GBs(nu,5),2&s){let U;e.mGM(U=e.lsd())&&(M.ticksComponent=U.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",xAxisOffset:"xAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.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(s,M){1&s&&(e.qSk(),e.j41(0,"g"),e.DNE(1,ed,1,13,"g",0)(2,N0,1,5,"g",1),e.k0s()),2&s&&(e.BMQ("class",M.xAxisClassName)("transform",M.transform),e.R7$(),e.Y8G("ngIf",M.xScale),e.R7$(),e.Y8G("ngIf",M.showLabel))},dependencies:[nu,q0,t.bT],encapsulation:2,changeDetection:0}),u})();function qs(u,L,s,M,U,[K,ke,Et,Gt]){let Pt="";return Pt=`M${[u+U,L]}`,Pt+="h"+((s=0===(s=Math.floor(s))?1:s)-2*U),Pt+=ke?`a${[U,U]} 0 0 1 ${[U,U]}`:`h${U}v${U}`,Pt+="v"+((M=0===(M=Math.floor(M))?1:M)-2*U),Pt+=Gt?`a${[U,U]} 0 0 1 ${[-U,U]}`:`v${U}h${-U}`,Pt+="h"+(2*U-s),Pt+=Et?`a${[U,U]} 0 0 1 ${[-U,-U]}`:`h${-U}v${-U}`,Pt+="v"+(2*U-M),Pt+=K?`a${[U,U]} 0 0 1 ${[U,-U]}`:`v${-U}h${U}`,Pt+="z",Pt}let ru=(()=>{class u{constructor(s){this.platformId=s,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.wrapTicks=!1,this.dimensionsChanged=new e.bkB,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=yl.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=Po}ngOnChanges(s){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.UE)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const s=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);s!==this.width&&(this.width=s,this.dimensionsChanged.emit({width:s}),setTimeout(()=>this.updateDims()))}update(){const s=this.scale,M=this.orient===Po.Top||this.orient===Po.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:s.tickFormat?s.tickFormat.apply(s,this.tickArguments):function(U){return"Date"===U.constructor.name?U.toLocaleDateString():U.toLocaleString()},this.adjustedScale=s.bandwidth?U=>{const K=s(U)+.5*s.bandwidth();if(this.wrapTicks&&U.toString().length>this.maxTickLength){const ke=this.tickChunks(U).length;if(1===ke)return K;const Pt=.5*s.bandwidth()-8*ke*.5;return s(U)+Pt}return K}:s,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case Po.Top:case Po.Bottom:this.transform=function(U){return"translate("+this.adjustedScale(U)+",0)"},this.textAnchor=yl.Middle,this.y2=this.innerTickSize*M,this.y1=this.tickSpacing*M,this.dy=M<0?"0em":".71em";break;case Po.Left:this.transform=function(U){return"translate(0,"+this.adjustedScale(U)+")"},this.textAnchor=yl.End,this.x2=this.innerTickSize*-M,this.x1=this.tickSpacing*-M,this.dy=".32em";break;case Po.Right:this.transform=function(U){return"translate(0,"+this.adjustedScale(U)+")"},this.textAnchor=yl.Start,this.x2=this.innerTickSize*-M,this.x1=this.tickSpacing*-M,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(s=>s.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(s=>s.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=qs(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let s;const M=this.getMaxTicks(20),U=this.getMaxTicks(50);return this.tickValues?s=this.tickValues:this.scale.ticks?s=this.scale.ticks.apply(this.scale,[U]):(s=this.scale.domain(),s=Rc(s,M)),s}getMaxTicks(s){return Math.floor(this.height/s)}tickTransform(s){return`translate(${this.adjustedScale(s)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(s){return this.trimTicks?e2(s,this.maxTickLength):s}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(U=>this.tickTrim(this.tickFormat(U)).length))}tickChunks(s){if(s.toString().length>this.maxTickLength&&this.scale.bandwidth){const M=this.maxTickLength,U=Math.floor(this.scale.bandwidth()/15);return U<=1?[this.tickTrim(s)]:lm(s,M,Math.min(U,5))}return[this.tickFormat(s)]}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.Agw))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(s,M){if(1&s&&e.GBs(Fd,5),2&s){let U;e.mGM(U=e.lsd())&&(M.ticksElement=U.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.OA$],attrs:M4,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(s,M){1&s&&(e.qSk(),e.j41(0,"g",null,0),e.DNE(2,z0,2,2,"g",3),e.k0s(),e.DNE(3,If,1,2,"path",4)(4,B0,2,2,"g",5)(5,S4,2,1,"g",5)),2&s&&(e.R7$(2),e.Y8G("ngForOf",M.ticks),e.R7$(),e.Y8G("ngIf",M.referenceLineLength>1&&M.refMax&&M.refMin&&M.showRefLines),e.R7$(),e.Y8G("ngForOf",M.ticks),e.R7$(),e.Y8G("ngForOf",M.referenceLines))},dependencies:[t.Sq,t.bT],encapsulation:2,changeDetection:0}),u})(),od=(()=>{class u{constructor(){this.showGridLines=!1,this.yOrient=Po.Left,this.yAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new e.bkB,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(s){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===Po.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:s}){s!==this.labelOffset&&this.yOrient===Po.Right?(this.labelOffset=s+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:s})},0)):s!==this.labelOffset&&(this.labelOffset=s,setTimeout(()=>{this.dimensionsChanged.emit({width:s})},0))}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(s,M){if(1&s&&e.GBs(ru,5),2&s){let U;e.mGM(U=e.lsd())&&(M.ticksComponent=U.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.OA$],attrs:zd,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(s,M){1&s&&(e.qSk(),e.j41(0,"g"),e.DNE(1,I1,1,15,"g",0)(2,R1,1,5,"g",1),e.k0s()),2&s&&(e.BMQ("class",M.yAxisClassName)("transform",M.transform),e.R7$(),e.Y8G("ngIf",M.yScale),e.R7$(),e.Y8G("ngIf",M.showLabel))},dependencies:[ru,q0,t.bT],encapsulation:2,changeDetection:0}),u})(),Hd=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[t.MD]]}),u})();var sd=function(u){return u.popover="popover",u.tooltip="tooltip",u}(sd||{}),Zc=function(u){return u[u.all="all"]="all",u[u.focus="focus"]="focus",u[u.mouseover="mouseover"]="mouseover",u}(Zc||{});let t2=(()=>{class u{constructor(s,M,U){this.tooltipService=s,this.viewContainerRef=M,this.renderer=U,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=br.Top,this.tooltipAlignment=br.Center,this.tooltipType=sd.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=Zc.all,this.tooltipImmediateExit=!1,this.show=new e.bkB,this.hide=new e.bkB}get listensForFocus(){return this.tooltipShowEvent===Zc.all||this.tooltipShowEvent===Zc.focus}get listensForHover(){return this.tooltipShowEvent===Zc.all||this.tooltipShowEvent===Zc.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(s){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(s))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(s){if(this.component||this.tooltipDisabled)return;const M=s?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const U=this.createBoundOptions();this.component=this.tooltipService.create(U),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},M)}addHideListeners(s){this.mouseEnterContentEvent=this.renderer.listen(s,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(s,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",M=>{s.contains(M.target)||this.hideTooltip()}))}hideTooltip(s=!1){if(!this.component)return;const M=()=>{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),s?M():this.timeout=setTimeout(M,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(s){return new(s||u)(e.rXU(a3),e.rXU(e.c1b),e.rXU(e.sFG))},u.\u0275dir=e.FsC({type:u,selectors:[["","ngx-tooltip",""]],hostBindings:function(s,M){1&s&&e.bIt("focusin",function(){return M.onFocus()})("blur",function(){return M.onBlur()})("mouseenter",function(){return M.onMouseEnter()})("mouseleave",function(K){return M.onMouseLeave(K.target)})("click",function(){return M.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})(),d3=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({providers:[cm,a3],imports:[[t.MD]]}),u})();const h3={};function n2(){let u=("0000"+(Math.random()*Math.pow(36,4)|0).toString(36)).slice(-4);return u=`a${u}`,h3[u]?n2():(h3[u]=!0,u)}var Eo=function(u){return u.Vertical="vertical",u.Horizontal="horizontal",u}(Eo||{});let r2=(()=>{class u{constructor(){this.orientation=Eo.Vertical}ngOnChanges(s){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===Eo.Horizontal?this.x2="100%":this.orientation===Eo.Vertical&&(this.y1="100%")}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[e.OA$],attrs:V0,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(s,M){1&s&&(e.qSk(),e.j41(0,"linearGradient",0),e.DNE(1,O1,1,5,"stop",1),e.k0s()),2&s&&(e.Y8G("id",M.name),e.BMQ("x1",M.x1)("y1",M.y1)("x2",M.x2)("y2",M.y2),e.R7$(),e.Y8G("ngForOf",M.stops))},dependencies:[t.Sq],encapsulation:2,changeDetection:0}),u})(),um=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:N1,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(s,M){1&s&&(e.qSk(),e.nrm(0,"rect",0)),2&s&&e.BMQ("height",M.height)("width",M.width)("x",M.x)("y",M.y)},encapsulation:2,changeDetection:0}),u})();var jd=function(u){return u.Odd="odd",u.Even="even",u}(jd||{});let a2,fm=(()=>{class u{ngOnChanges(s){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(s=>{let M,U,K,ke,Et,Gt=jd.Odd;if(this.orient===Eo.Vertical){const Pt=this.xScale(s.name);Number.parseInt((Pt/this.xScale.step()).toString(),10)%2==1&&(Gt=jd.Even),M=this.xScale.bandwidth()*this.xScale.paddingInner(),U=this.xScale.bandwidth()+M,K=this.dims.height,ke=this.xScale(s.name)-M/2,Et=0}else if(this.orient===Eo.Horizontal){const Pt=this.yScale(s.name);Number.parseInt((Pt/this.yScale.step()).toString(),10)%2==1&&(Gt=jd.Even),M=this.yScale.bandwidth()*this.yScale.paddingInner(),U=this.dims.width,K=this.yScale.bandwidth()+M,ke=0,Et=this.yScale(s.name)-M/2}return{name:s.name,class:Gt,height:K,width:U,x:ke,y:Et}})}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[e.OA$],attrs:Lh,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(s,M){1&s&&e.DNE(0,U0,1,10,"g",0),2&s&&e.Y8G("ngForOf",M.gridPanels)},dependencies:[um,t.Sq],encapsulation:2,changeDetection:0}),u})();typeof window<"u"?a2=window:typeof global<"u"&&(a2=global);let ec=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[t.MD,Hd,d3],t.MD,Hd,d3]}),u})();function o2({width:u,height:L,margins:s,showXAxis:M=!1,showYAxis:U=!1,xAxisHeight:K=0,yAxisWidth:ke=0,showXLabel:Et=!1,showYLabel:Gt=!1,showLegend:Pt=!1,legendType:li=In.Ordinal,legendPosition:_i=Ic.Right,columns:wi=12}){let Di=s[3],sn=u,kn=L-s[0]-s[2];return Pt&&_i===Ic.Right&&(wi-=li===In.Ordinal?2:1),sn=sn*wi/12,sn=sn-s[1]-s[3],M&&(kn-=5,kn-=K,Et&&(kn-=30)),U&&(sn-=5,sn-=ke,Di+=ke,Di+=10,Gt&&(sn-=30,Di+=30)),sn=Math.max(0,sn),kn=Math.max(0,kn),{width:Math.floor(sn),height:Math.floor(kn),xOffset:Math.floor(Di)}}const cu=[{name:"vivid",selectable:!0,group:In.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:In.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:In.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:In.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:In.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:In.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:In.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:In.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:In.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:In.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:In.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:In.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:In.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:In.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:In.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class pm{constructor(L,s,M,U){"string"==typeof L&&(L=cu.find(K=>K.name===L)),this.colorDomain=L.domain,this.scaleType=s,this.domain=M,this.customColors=U,this.scale=this.generateColorScheme(L,s,this.domain)}generateColorScheme(L,s,M){let U;switch("string"==typeof L&&(L=cu.find(K=>K.name===L)),s){case In.Quantile:U=Ef().range(L.domain).domain(M);break;case In.Ordinal:U=L1().range(L.domain).domain(M);break;case In.Linear:{const K=[...L.domain];1===K.length&&(K.push(K[0]),this.colorDomain=K);const ke=L0(0,1,1/K.length);U=Yc().range(K).domain(ke)}}return U}getColor(L){if(null==L)throw new Error("Value can not be null");if(this.scaleType===In.Linear){const s=Yc().domain(this.domain).range([0,1]);return this.scale(s(L))}{if("function"==typeof this.customColors)return this.customColors(L);const s=L.toString();let M;return this.customColors&&this.customColors.length>0&&(M=this.customColors.find(U=>U.name.toLowerCase()===s.toLowerCase())),M?M.value:this.scale(L)}}getLinearGradientStops(L,s){void 0===s&&(s=this.domain[0]);const M=Yc().domain(this.domain).range([0,1]),U=gl().domain(this.colorDomain).range([0,1]),K=this.getColor(L),ke=M(s),Et=this.getColor(s),Gt=M(L);let Pt=1,li=ke;const _i=[];for(_i.push({color:Et,offset:ke,originalOffset:ke,opacity:1});li=(Gt-U.bandwidth()).toFixed(4))break;_i.push({color:wi,offset:Di,opacity:1}),li=Di,Pt++}}if(_i[_i.length-1].offset<100&&_i.push({color:K,offset:Gt,opacity:1}),Gt===ke)_i[0].offset=0,_i[1].offset=100;else if(100!==_i[_i.length-1].offset)for(const wi of _i)wi.offset=(wi.offset-ke)/(Gt-ke)*100;return _i}}let lu=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),s2=(()=>{class u{constructor(s){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new e.bkB,this.activate=new e.bkB,this.deactivate=new e.bkB,this.hasGradient=!1,this.hideBar=!1,this.element=s.nativeElement}ngOnChanges(s){s.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+n2().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 s=function re(u){return"string"==typeof u?new ln([[document.querySelector(u)]],[document.documentElement]):new ln([[u]],Zi)}(this.element).select(".bar"),M=this.getPath();this.animations?s.transition().duration(500).attr("d",M):s.attr("d",M)}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 M,s=this.getRadius();return this.roundEdges?this.orientation===Eo.Vertical?(s=Math.min(this.height,s),M=qs(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===Eo.Horizontal&&(s=Math.min(this.width,s),M=qs(this.x,this.y,1,this.height,0,this.edges)):this.orientation===Eo.Vertical?M=qs(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===Eo.Horizontal&&(M=qs(this.x,this.y,1,this.height,0,this.edges)),M}getPath(){let M,s=this.getRadius();return this.roundEdges?this.orientation===Eo.Vertical?(s=Math.min(this.height,s),M=qs(this.x,this.y,this.width,this.height,s,this.edges)):this.orientation===Eo.Horizontal&&(s=Math.min(this.width,s),M=qs(this.x,this.y,this.width,this.height,s,this.edges)):M=qs(this.x,this.y,this.width,this.height,s,this.edges),M}getRadius(){let s=0;return this.roundEdges&&this.height>5&&this.width>5&&(s=Math.floor(Math.min(5,this.height/2,this.width/2))),s}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let s=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===Eo.Vertical?s=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===Eo.Horizontal&&(s=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),s}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===Eo.Vertical&&0===this.height||this.orientation===Eo.Horizontal&&0===this.width)}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.aKT))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(s,M){1&s&&e.bIt("mouseenter",function(){return M.onMouseEnter()})("mouseleave",function(){return M.onMouseLeave()})},inputs:{fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",orientation:"orientation",roundEdges:"roundEdges",gradient:"gradient",offset:"offset",isActive:"isActive",stops:"stops",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.OA$],attrs:W0,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(s,M){1&s&&(e.DNE(0,X0,2,3,"defs",0),e.qSk(),e.j41(1,"path",1),e.bIt("click",function(){return M.select.emit(M.data)}),e.k0s()),2&s&&(e.Y8G("ngIf",M.hasGradient),e.R7$(),e.AVh("active",M.isActive)("hidden",M.hideBar),e.BMQ("d",M.path)("aria-label",M.ariaLabel)("fill",M.hasGradient?M.gradientFill:M.fill))},dependencies:[r2,t.bT],encapsulation:2,changeDetection:0}),u})();var Oc=function(u){return u.Standard="standard",u.Normalized="normalized",u.Stacked="stacked",u}(Oc||{}),xl=function(u){return u.positive="positive",u.negative="negative",u}(xl||{});let gm=(()=>{class u{constructor(s){this.dimensionsChanged=new e.bkB,this.horizontalPadding=2,this.verticalPadding=5,this.element=s.nativeElement}ngOnChanges(s){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):J0(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(s){return new(s||u)(e.rXU(e.aKT))},u.\u0275cmp=e.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:[e.OA$],attrs:Yf,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(s,M){1&s&&(e.qSk(),e.j41(0,"text",0),e.EFF(1),e.k0s()),2&s&&(e.BMQ("text-anchor",M.textAnchor)("transform",M.transform)("x",M.x)("y",M.y),e.R7$(),e.SpI(" ",M.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}),u})(),du=(()=>{class u{constructor(s){this.platformId=s,this.type=Oc.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new e.bkB,this.activate=new e.bkB,this.deactivate=new e.bkB,this.dataLabelHeightChanged=new e.bkB,this.barsForDataLabels=[],this.barOrientation=Eo,this.isSSR=!1}ngOnInit(){(0,t.Vy)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(s){this.update()}update(){let s;this.updateTooltipSettings(),this.series.length&&(s=this.xScale.bandwidth()),s=Math.round(s);const M=Math.max(this.yScale.domain()[0],0),U={[xl.positive]:0,[xl.negative]:0};let ke,K=xl.positive;this.type===Oc.Normalized&&(ke=this.series.map(Et=>Et.value).reduce((Et,Gt)=>Et+Gt,0)),this.bars=this.series.map((Et,Gt)=>{let Pt=Et.value;const li=this.getLabel(Et),_i=J0(li);K=Pt>0?xl.positive:xl.negative;const Di={value:Pt,label:li,roundEdges:this.roundEdges,data:Et,width:s,formattedLabel:_i,height:0,x:0,y:0};if(this.type===Oc.Standard)Di.height=Math.abs(this.yScale(Pt)-this.yScale(M)),Di.x=this.xScale(li),Di.y=this.yScale(Pt<0?0:Pt);else if(this.type===Oc.Stacked){const kn=U[K],ki=kn+Pt;U[K]+=Pt,Di.height=this.yScale(kn)-this.yScale(ki),Di.x=0,Di.y=this.yScale(ki),Di.offset0=kn,Di.offset1=ki}else if(this.type===Oc.Normalized){let kn=U[K],ki=kn+Pt;U[K]+=Pt,ke>0?(kn=100*kn/ke,ki=100*ki/ke):(kn=0,ki=0),Di.height=this.yScale(kn)-this.yScale(ki),Di.x=0,Di.y=this.yScale(ki),Di.offset0=kn,Di.offset1=ki,Pt=(ki-kn).toFixed(2)+"%"}this.colors.scaleType===In.Ordinal?Di.color=this.colors.getColor(li):this.type===Oc.Standard?(Di.color=this.colors.getColor(Pt),Di.gradientStops=this.colors.getLinearGradientStops(Pt)):(Di.color=this.colors.getColor(Di.offset1),Di.gradientStops=this.colors.getLinearGradientStops(Di.offset1,Di.offset0));let sn=_i;return Di.ariaLabel=_i+" "+Pt.toLocaleString(),null!=this.seriesName&&(sn=`${this.seriesName} \u2022 ${_i}`,Di.data.series=this.seriesName,Di.ariaLabel=this.seriesName+" "+Di.ariaLabel),Di.tooltipText=this.tooltipDisabled?void 0:`\n ${function o3(u){return u.toLocaleString().replace(/[&'`"<>]/g,L=>({"&":"&","'":"'","`":"`",'"':""","<":"<",">":">"}[L]))}(sn)}\n ${this.dataLabelFormatting?this.dataLabelFormatting(Pt):Pt.toLocaleString()}\n `,Di}),this.updateDataLabels()}updateDataLabels(){if(this.type===Oc.Stacked){this.barsForDataLabels=[];const s={};s.series=this.seriesName;const M=this.series.map(K=>K.value).reduce((K,ke)=>ke>0?K+ke:K,0),U=this.series.map(K=>K.value).reduce((K,ke)=>ke<0?K+ke:K,0);s.total=M+U,s.x=0,s.y=0,s.height=this.yScale(s.total>0?M:U),s.width=this.xScale.bandwidth(),this.barsForDataLabels.push(s)}else this.barsForDataLabels=this.series.map(s=>{const M={};return M.series=this.seriesName??s.label,M.total=s.value,M.x=this.xScale(s.label),M.y=this.yScale(0),M.height=this.yScale(M.total)-this.yScale(0),M.width=this.xScale.bandwidth(),M})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:br.Top,this.tooltipType=this.tooltipDisabled?void 0:sd.tooltip}isActive(s){return!!this.activeEntries&&void 0!==this.activeEntries.find(U=>s.name===U.name&&s.value===U.value)}onClick(s){this.select.emit(s)}getLabel(s){return s.label?s.label:s.name}trackBy(s,M){return M.label}trackDataLabelBy(s,M){return s+"#"+M.series+"#"+M.total}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.Agw))},u.\u0275cmp=e.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:[e.OA$],attrs:Mn,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(s,M){1&s&&e.DNE(0,an,2,2,"g",0)(1,gr,2,2,"g",0)(2,da,2,2,"g",0),2&s&&(e.Y8G("ngIf",!M.isSSR),e.R7$(),e.Y8G("ngIf",M.isSSR),e.R7$(),e.Y8G("ngIf",M.showDataLabel))},dependencies:[s2,gm,t.bT,t.Sq,t2],encapsulation:2,data:{animation:[(0,f.hZ)("animationState",[(0,f.kY)(":leave",[(0,f.iF)({opacity:1}),(0,f.i0)(500,(0,f.iF)({opacity:0}))])])]},changeDetection:0}),u})(),_m=(()=>{class u extends iu{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Ic.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.bkB,this.deactivate=new e.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=o2({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 s=this.xDomain.length/(this.dims.width/this.barPadding+1);return gl().range([0,this.dims.width]).paddingInner(s).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const s=Yc().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?s.nice():s}getXDomain(){return this.results.map(s=>s.label)}getYDomain(){const s=this.results.map(K=>K.value);let M=this.yScaleMin?Math.min(this.yScaleMin,...s):Math.min(0,...s);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(M=Math.min(M,...this.yAxisTicks));let U=this.yScaleMax?Math.max(this.yScaleMax,...s):Math.max(0,...s);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(U=Math.max(U,...this.yAxisTicks)),[M,U]}onClick(s){this.select.emit(s)}setColors(){let s;s=this.schemeType===In.Ordinal?this.xDomain:this.yDomain,this.colors=new pm(this.scheme,this.schemeType,s,this.customColors)}getLegendOptions(){const s={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return s.scaleType===In.Ordinal?(s.domain=this.xDomain,s.colors=this.colors,s.title=this.legendTitle):(s.domain=this.yDomain,s.colors=this.colors.scale),s}updateYAxisWidth({width:s}){this.yAxisWidth=s,this.update()}updateXAxisHeight({height:s}){this.xAxisHeight=s,this.update()}onDataLabelMaxHeightChanged(s){s.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,s.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,s.size.height),s.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(s,M=!1){s=this.results.find(K=>M?K.label===s.name:K.name===s.name),!(this.activeEntries.findIndex(K=>K.name===s.name&&K.value===s.value&&K.series===s.series)>-1)&&(this.activeEntries=[s,...this.activeEntries],this.activate.emit({value:s,entries:this.activeEntries}))}onDeactivate(s,M=!1){s=this.results.find(K=>M?K.label===s.name:K.name===s.name);const U=this.activeEntries.findIndex(K=>K.name===s.name&&K.value===s.value&&K.series===s.series);this.activeEntries.splice(U,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:s,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let L;return function(M){return(L||(L=e.xGo(u)))(M||u)}})(),u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(s,M,U){if(1&s&&e.wni(U,U1,5),2&s){let K;e.mGM(K=e.lsd())&&(M.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:[e.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(s,M){1&s&&(e.j41(0,"ngx-charts-chart",0),e.bIt("legendLabelClick",function(K){return M.onClick(K)})("legendLabelActivate",function(K){return M.onActivate(K,!0)})("legendLabelDeactivate",function(K){return M.onDeactivate(K,!0)}),e.qSk(),e.j41(1,"g",1),e.DNE(2,rr,1,12,"g",2)(3,Kr,1,10,"g",3),e.j41(4,"g",4),e.bIt("activate",function(K){return M.onActivate(K)})("deactivate",function(K){return M.onDeactivate(K)})("select",function(K){return M.onClick(K)})("dataLabelHeightChanged",function(K){return M.onDataLabelMaxHeightChanged(K)}),e.k0s()()()),2&s&&(e.Y8G("view",e.l_i(22,rs,M.width,M.height))("showLegend",M.legend)("legendOptions",M.legendOptions)("activeEntries",M.activeEntries)("animations",M.animations),e.R7$(),e.BMQ("transform",M.transform),e.R7$(),e.Y8G("ngIf",M.xAxis),e.R7$(),e.Y8G("ngIf",M.yAxis),e.R7$(),e.Y8G("xScale",M.xScale)("yScale",M.yScale)("colors",M.colors)("series",M.results)("dims",M.dims)("gradient",M.gradient)("tooltipDisabled",M.tooltipDisabled)("tooltipTemplate",M.tooltipTemplate)("showDataLabel",M.showDataLabel)("dataLabelFormatting",M.dataLabelFormatting)("activeEntries",M.activeEntries)("roundEdges",M.roundEdges)("animations",M.animations)("noBarWhenZero",M.noBarWhenZero))},dependencies:[Y1,dm,od,du,t.bT],styles:[bl],encapsulation:2,changeDetection:0}),u})(),vm=(()=>{class u extends iu{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Ic.Right,this.tooltipDisabled=!1,this.scaleType=In.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.bkB,this.deactivate=new e.bkB,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=Eo,this.trackBy=(s,M)=>M.name}ngOnInit(){(0,t.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=o2({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(s,M){s.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,s.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,s.size.height),M===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const s=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return gl().rangeRound([0,this.dims.width]).paddingInner(s).paddingOuter(s/2).domain(this.groupDomain)}getInnerScale(){const s=this.groupScale.bandwidth(),M=this.innerDomain.length/(s/this.barPadding+1);return gl().rangeRound([0,s]).paddingInner(M).domain(this.innerDomain)}getValueScale(){const s=Yc().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?s.nice():s}getGroupDomain(){const s=[];for(const M of this.results)s.includes(M.label)||s.push(M.label);return s}getInnerDomain(){const s=[];for(const M of this.results)for(const U of M.series)s.includes(U.label)||s.push(U.label);return s}getValueDomain(){const s=[];for(const K of this.results)for(const ke of K.series)s.includes(ke.value)||s.push(ke.value);return[Math.min(0,...s),this.yScaleMax?Math.max(this.yScaleMax,...s):Math.max(0,...s)]}groupTransform(s){return`translate(${this.groupScale(s.label)}, 0)`}onClick(s,M){M&&(s.series=M.name),this.select.emit(s)}setColors(){let s;s=this.schemeType===In.Ordinal?this.innerDomain:this.valueDomain,this.colors=new pm(this.scheme,this.schemeType,s,this.customColors)}getLegendOptions(){const s={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return s.scaleType===In.Ordinal?(s.domain=this.innerDomain,s.colors=this.colors,s.title=this.legendTitle):(s.domain=this.valueDomain,s.colors=this.colors.scale),s}updateYAxisWidth({width:s}){this.yAxisWidth=s,this.update()}updateXAxisHeight({height:s}){this.xAxisHeight=s,this.update()}onActivate(s,M,U=!1){const K=Object.assign({},s);M&&(K.series=M.name);const ke=this.results.map(Et=>Et.series).flat().filter(Et=>U?Et.label===K.name:Et.name===K.name&&Et.series===K.series);this.activeEntries=[...ke],this.activate.emit({value:K,entries:this.activeEntries})}onDeactivate(s,M,U=!1){const K=Object.assign({},s);M&&(K.series=M.name),this.activeEntries=this.activeEntries.filter(ke=>U?ke.label!==K.name:!(ke.name===K.name&&ke.series===K.series)),this.deactivate.emit({value:K,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let L;return function(M){return(L||(L=e.xGo(u)))(M||u)}})(),u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(s,M,U){if(1&s&&e.wni(U,U1,5),2&s){let K;e.mGM(K=e.lsd())&&(M.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:[e.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(s,M){1&s&&(e.j41(0,"ngx-charts-chart",0),e.bIt("legendLabelActivate",function(K){return M.onActivate(K,void 0,!0)})("legendLabelDeactivate",function(K){return M.onDeactivate(K,void 0,!0)})("legendLabelClick",function(K){return M.onClick(K)}),e.qSk(),e.j41(1,"g",1),e.nrm(2,"g",2),e.DNE(3,kr,1,11,"g",3)(4,Aa,1,10,"g",4)(5,Zs,2,2,"g",5),e.k0s(),e.DNE(6,G1,2,2,"g",5),e.k0s()),2&s&&(e.Y8G("view",e.l_i(15,rs,M.width,M.height))("showLegend",M.legend)("legendOptions",M.legendOptions)("activeEntries",M.activeEntries)("animations",M.animations),e.R7$(),e.BMQ("transform",M.transform),e.R7$(),e.Y8G("xScale",M.groupScale)("yScale",M.valueScale)("data",M.results)("dims",M.dims)("orient",M.barOrientation.Vertical),e.R7$(),e.Y8G("ngIf",M.xAxis),e.R7$(),e.Y8G("ngIf",M.yAxis),e.R7$(),e.Y8G("ngIf",!M.isSSR),e.R7$(),e.Y8G("ngIf",M.isSSR))},dependencies:[Y1,fm,dm,od,du,t.bT,t.Sq],styles:[bl],encapsulation:2,data:{animation:[(0,f.hZ)("animationState",[(0,f.kY)(":leave",[(0,f.iF)({opacity:1,transform:"*"}),(0,f.i0)(500,(0,f.iF)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}),u})(),_3=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})();_l();let d2=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),ym=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),y6=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),wm=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})();Math;let x3=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),C3=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec,x3,wm]]}),u})(),T6=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),L6=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),K1=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec,x3,_3]]}),u})(),Rm=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),D6=(()=>{class u{constructor(){!function Im(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[ec,lu,_3,d2,ym,y6,Rm,wm,C3,T6,x3,L6,K1]}),u})()},8288:(Qe,te,g)=>{"use strict";g.d(te,{Um:()=>h,XK:()=>S});var e=g(467),t=g(4438),x=g(177),D=g(8314);function l(y,O){if(1&y&&t.nrm(0,"canvas",1),2&y){const I=t.XpG();t.HbH(I.styleClass),t.Y8G("qrCode",I.value)("qrCodeErrorCorrectionLevel",I.errorCorrectionLevel)("qrCodeCenterImageSrc",I.centerImageSrc)("qrCodeCenterImageWidth",I.centerImageSize)("qrCodeCenterImageHeight",I.centerImageSize)("qrCodeMargin",I.margin)("width",I.size)("height",I.size)("ngStyle",I.style)("darkColor",I.darkColor)("lightColor",I.lightColor)}}const w=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let f=(()=>{class y{static{this.DEFAULT_ERROR_CORRECTION_LEVEL="M"}static{this.DEFAULT_CENTER_IMAGE_SIZE=40}constructor(I){this.viewContainerRef=I,this.errorCorrectionLevel=y.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var I=this;return(0,e.A)(function*(){if(!I.value)return;I.version&&I.version>40?(console.warn("[qrCode] max version is 40, clamping"),I.version=40):I.version&&I.version<1?(console.warn("[qrCode] min version is 1, clamping"),I.version=1):void 0!==I.version&&isNaN(I.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),I.version=void 0);const V=I.viewContainerRef.element.nativeElement;if(!V)return;const j=V.getContext("2d");j&&j.clearRect(0,0,j.canvas.width,j.canvas.height);const Y=I.errorCorrectionLevel??y.DEFAULT_ERROR_CORRECTION_LEVEL,W=w.test(I.darkColor)?I.darkColor:void 0,Q=w.test(I.lightColor)?I.lightColor:void 0;(0,t.naY)()&&(!W&&I.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!Q&&I.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield D.toCanvas(V,I.value,{version:I.version,errorCorrectionLevel:Y,width:I.width,margin:I.margin,color:{dark:W,light:Q}});const J=I.centerImageSrc,ie=R(I.centerImageWidth,y.DEFAULT_CENTER_IMAGE_SIZE),ee=R(I.centerImageHeight,y.DEFAULT_CENTER_IMAGE_SIZE);if(J&&j){I.centerImage||(I.centerImage=new Image(ie,ee));const fe=I.centerImage;J!==I.centerImage.src&&(fe.src=J),ie!==I.centerImage.width&&(fe.width=ie),ee!==I.centerImage.height&&(fe.height=ee);const ne=()=>{j.drawImage(fe,V.width/2-ie/2,V.height/2-ee/2,ie,ee)};fe.onload=ne,fe.complete&&ne()}})()}static{this.\u0275fac=function(V){return new(V||y)(t.rXU(t.c1b))}}static{this.\u0275dir=t.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:[t.OA$]})}}return y})();function R(y,O){return void 0===y||""===y?O:"string"==typeof y?parseInt(y,10):y}let h=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275cmp=t.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(V,j){1&V&&t.DNE(0,l,1,13,"canvas",0),2&V&&t.vxM(j.value?0:-1)},dependencies:[x.B3,f],encapsulation:2})}}return y})(),S=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275mod=t.$C({type:y})}static{this.\u0275inj=t.G2t({imports:[x.MD]})}}return y})()},497:(Qe,te,g)=>{"use strict";g.d(te,{kU:()=>Tt,ZF:()=>Re,Ld:()=>Z,U$:()=>pt});var e=g(1413),t=g(3726),x=g(7786),D=g(3798),l=g(6977),w=g(3294),f=g(3703),R=g(4438),h=g(177);function S(Ke){return getComputedStyle(Ke)}function y(Ke,Fe){for(var Ge in Fe){var qe=Fe[Ge];"number"==typeof qe&&(qe+="px"),Ke.style[Ge]=qe}return Ke}function O(Ke){var Fe=document.createElement("div");return Fe.className=Ke,Fe}var I=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function V(Ke,Fe){if(!I)throw new Error("No element matching method supported");return I.call(Ke,Fe)}function j(Ke){Ke.remove?Ke.remove():Ke.parentNode&&Ke.parentNode.removeChild(Ke)}function Y(Ke,Fe){return Array.prototype.filter.call(Ke.children,function(Ge){return V(Ge,Fe)})}var W={main:"ps",rtl:"ps__rtl",element:{thumb:function(Ke){return"ps__thumb-"+Ke},rail:function(Ke){return"ps__rail-"+Ke},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(Ke){return"ps--active-"+Ke},scrolling:function(Ke){return"ps--scrolling-"+Ke}}},Q={x:null,y:null};function J(Ke,Fe){var Ge=Ke.element.classList,qe=W.state.scrolling(Fe);Ge.contains(qe)?clearTimeout(Q[Fe]):Ge.add(qe)}function ie(Ke,Fe){Q[Fe]=setTimeout(function(){return Ke.isAlive&&Ke.element.classList.remove(W.state.scrolling(Fe))},Ke.settings.scrollingThreshold)}var fe=function(Fe){this.element=Fe,this.handlers={}},ne={isEmpty:{configurable:!0}};fe.prototype.bind=function(Fe,Ge){typeof this.handlers[Fe]>"u"&&(this.handlers[Fe]=[]),this.handlers[Fe].push(Ge),this.element.addEventListener(Fe,Ge,!1)},fe.prototype.unbind=function(Fe,Ge){var qe=this;this.handlers[Fe]=this.handlers[Fe].filter(function(at){return!(!Ge||at===Ge)||(qe.element.removeEventListener(Fe,at,!1),!1)})},fe.prototype.unbindAll=function(){for(var Fe in this.handlers)this.unbind(Fe)},ne.isEmpty.get=function(){var Ke=this;return Object.keys(this.handlers).every(function(Fe){return 0===Ke.handlers[Fe].length})},Object.defineProperties(fe.prototype,ne);var Me=function(){this.eventElements=[]};function Ce(Ke){if("function"==typeof window.CustomEvent)return new CustomEvent(Ke);var Fe=document.createEvent("CustomEvent");return Fe.initCustomEvent(Ke,!1,!1,void 0),Fe}function le(Ke,Fe,Ge,qe,at){var Lt;if(void 0===qe&&(qe=!0),void 0===at&&(at=!1),"top"===Fe)Lt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==Fe)throw new Error("A proper axis should be provided");Lt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function T(Ke,Fe,Ge,qe,at){var Lt=Ge[0],pi=Ge[1],$t=Ge[2],Kt=Ge[3],Ui=Ge[4],ti=Ge[5];void 0===qe&&(qe=!0),void 0===at&&(at=!1);var fi=Ke.element;Ke.reach[Kt]=null,fi[$t]<1&&(Ke.reach[Kt]="start"),fi[$t]>Ke[Lt]-Ke[pi]-1&&(Ke.reach[Kt]="end"),Fe&&(fi.dispatchEvent(Ce("ps-scroll-"+Kt)),Fe<0?fi.dispatchEvent(Ce("ps-scroll-"+Ui)):Fe>0&&fi.dispatchEvent(Ce("ps-scroll-"+ti)),qe&&function ee(Ke,Fe){J(Ke,Fe),ie(Ke,Fe)}(Ke,Kt)),Ke.reach[Kt]&&(Fe||at)&&fi.dispatchEvent(Ce("ps-"+Kt+"-reach-"+Ke.reach[Kt]))}(Ke,Ge,Lt,qe,at)}function n(Ke){return parseInt(Ke,10)||0}Me.prototype.eventElement=function(Fe){var Ge=this.eventElements.filter(function(qe){return qe.element===Fe})[0];return Ge||(Ge=new fe(Fe),this.eventElements.push(Ge)),Ge},Me.prototype.bind=function(Fe,Ge,qe){this.eventElement(Fe).bind(Ge,qe)},Me.prototype.unbind=function(Fe,Ge,qe){var at=this.eventElement(Fe);at.unbind(Ge,qe),at.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(at),1)},Me.prototype.unbindAll=function(){this.eventElements.forEach(function(Fe){return Fe.unbindAll()}),this.eventElements=[]},Me.prototype.once=function(Fe,Ge,qe){var at=this.eventElement(Fe),Lt=function(pi){at.unbind(Ge,Lt),qe(pi)};at.bind(Ge,Lt)};var d={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 C(Ke){var Fe=Ke.element,Ge=Math.floor(Fe.scrollTop),qe=Fe.getBoundingClientRect();Ke.containerWidth=Math.round(qe.width),Ke.containerHeight=Math.round(qe.height),Ke.contentWidth=Fe.scrollWidth,Ke.contentHeight=Fe.scrollHeight,Fe.contains(Ke.scrollbarXRail)||(Y(Fe,W.element.rail("x")).forEach(function(at){return j(at)}),Fe.appendChild(Ke.scrollbarXRail)),Fe.contains(Ke.scrollbarYRail)||(Y(Fe,W.element.rail("y")).forEach(function(at){return j(at)}),Fe.appendChild(Ke.scrollbarYRail)),!Ke.settings.suppressScrollX&&Ke.containerWidth+Ke.settings.scrollXMarginOffset=Ke.railXWidth-Ke.scrollbarXWidth&&(Ke.scrollbarXLeft=Ke.railXWidth-Ke.scrollbarXWidth),Ke.scrollbarYTop>=Ke.railYHeight-Ke.scrollbarYHeight&&(Ke.scrollbarYTop=Ke.railYHeight-Ke.scrollbarYHeight),function k(Ke,Fe){var Ge={width:Fe.railXWidth},qe=Math.floor(Ke.scrollTop);Ge.left=Fe.isRtl?Fe.negativeScrollAdjustment+Ke.scrollLeft+Fe.containerWidth-Fe.contentWidth:Ke.scrollLeft,Fe.isScrollbarXUsingBottom?Ge.bottom=Fe.scrollbarXBottom-qe:Ge.top=Fe.scrollbarXTop+qe,y(Fe.scrollbarXRail,Ge);var at={top:qe,height:Fe.railYHeight};Fe.isScrollbarYUsingRight?at.right=Fe.isRtl?Fe.contentWidth-(Fe.negativeScrollAdjustment+Ke.scrollLeft)-Fe.scrollbarYRight-Fe.scrollbarYOuterWidth-9:Fe.scrollbarYRight-Ke.scrollLeft:at.left=Fe.isRtl?Fe.negativeScrollAdjustment+Ke.scrollLeft+2*Fe.containerWidth-Fe.contentWidth-Fe.scrollbarYLeft-Fe.scrollbarYOuterWidth:Fe.scrollbarYLeft+Ke.scrollLeft,y(Fe.scrollbarYRail,at),y(Fe.scrollbarX,{left:Fe.scrollbarXLeft,width:Fe.scrollbarXWidth-Fe.railBorderXWidth}),y(Fe.scrollbarY,{top:Fe.scrollbarYTop,height:Fe.scrollbarYHeight-Fe.railBorderYWidth})}(Fe,Ke),Ke.scrollbarXActive?Fe.classList.add(W.state.active("x")):(Fe.classList.remove(W.state.active("x")),Ke.scrollbarXWidth=0,Ke.scrollbarXLeft=0,Fe.scrollLeft=!0===Ke.isRtl?Ke.contentWidth:0),Ke.scrollbarYActive?Fe.classList.add(W.state.active("y")):(Fe.classList.remove(W.state.active("y")),Ke.scrollbarYHeight=0,Ke.scrollbarYTop=0,Fe.scrollTop=0)}function A(Ke,Fe){return Ke.settings.minScrollbarLength&&(Fe=Math.max(Fe,Ke.settings.minScrollbarLength)),Ke.settings.maxScrollbarLength&&(Fe=Math.min(Fe,Ke.settings.maxScrollbarLength)),Fe}function b(Ke,Fe){var Ge=Fe[0],qe=Fe[1],at=Fe[2],Lt=Fe[3],pi=Fe[4],$t=Fe[5],Kt=Fe[6],Ui=Fe[7],ti=Fe[8],fi=Ke.element,xn=null,tn=null,Vi=null;function Qi(tt){tt.touches&&tt.touches[0]&&(tt[at]=tt.touches[0].pageY),fi[Kt]=xn+Vi*(tt[at]-tn),J(Ke,Ui),C(Ke),tt.stopPropagation(),tt.type.startsWith("touch")&&tt.changedTouches.length>1&&tt.preventDefault()}function Xt(){ie(Ke,Ui),Ke[ti].classList.remove(W.state.clicking),Ke.event.unbind(Ke.ownerDocument,"mousemove",Qi)}function St(tt,ot){xn=fi[Kt],ot&&tt.touches&&(tt[at]=tt.touches[0].pageY),tn=tt[at],Vi=(Ke[qe]-Ke[Ge])/(Ke[Lt]-Ke[$t]),ot?Ke.event.bind(Ke.ownerDocument,"touchmove",Qi):(Ke.event.bind(Ke.ownerDocument,"mousemove",Qi),Ke.event.once(Ke.ownerDocument,"mouseup",Xt),tt.preventDefault()),Ke[ti].classList.add(W.state.clicking),tt.stopPropagation()}Ke.event.bind(Ke[pi],"mousedown",function(tt){St(tt)}),Ke.event.bind(Ke[pi],"touchstart",function(tt){St(tt,!0)})}var ze={"click-rail":function _(Ke){Ke.event.bind(Ke.scrollbarY,"mousedown",function(Ge){return Ge.stopPropagation()}),Ke.event.bind(Ke.scrollbarYRail,"mousedown",function(Ge){var qe=Ge.pageY-window.pageYOffset-Ke.scrollbarYRail.getBoundingClientRect().top;Ke.element.scrollTop+=(qe>Ke.scrollbarYTop?1:-1)*Ke.containerHeight,C(Ke),Ge.stopPropagation()}),Ke.event.bind(Ke.scrollbarX,"mousedown",function(Ge){return Ge.stopPropagation()}),Ke.event.bind(Ke.scrollbarXRail,"mousedown",function(Ge){var qe=Ge.pageX-window.pageXOffset-Ke.scrollbarXRail.getBoundingClientRect().left;Ke.element.scrollLeft+=(qe>Ke.scrollbarXLeft?1:-1)*Ke.containerWidth,C(Ke),Ge.stopPropagation()})},"drag-thumb":function a(Ke){b(Ke,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),b(Ke,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function z(Ke){var Fe=Ke.element;Ke.event.bind(Ke.ownerDocument,"keydown",function(Lt){if(!(Lt.isDefaultPrevented&&Lt.isDefaultPrevented()||Lt.defaultPrevented)&&(V(Fe,":hover")||V(Ke.scrollbarX,":focus")||V(Ke.scrollbarY,":focus"))){var pi=document.activeElement?document.activeElement:Ke.ownerDocument.activeElement;if(pi){if("IFRAME"===pi.tagName)pi=pi.contentDocument.activeElement;else for(;pi.shadowRoot;)pi=pi.shadowRoot.activeElement;if(function c(Ke){return V(Ke,"input,[contenteditable]")||V(Ke,"select,[contenteditable]")||V(Ke,"textarea,[contenteditable]")||V(Ke,"button,[contenteditable]")}(pi))return}var $t=0,Kt=0;switch(Lt.which){case 37:$t=Lt.metaKey?-Ke.contentWidth:Lt.altKey?-Ke.containerWidth:-30;break;case 38:Kt=Lt.metaKey?Ke.contentHeight:Lt.altKey?Ke.containerHeight:30;break;case 39:$t=Lt.metaKey?Ke.contentWidth:Lt.altKey?Ke.containerWidth:30;break;case 40:Kt=Lt.metaKey?-Ke.contentHeight:Lt.altKey?-Ke.containerHeight:-30;break;case 32:Kt=Lt.shiftKey?Ke.containerHeight:-Ke.containerHeight;break;case 33:Kt=Ke.containerHeight;break;case 34:Kt=-Ke.containerHeight;break;case 36:Kt=Ke.contentHeight;break;case 35:Kt=-Ke.contentHeight;break;default:return}Ke.settings.suppressScrollX&&0!==$t||Ke.settings.suppressScrollY&&0!==Kt||(Fe.scrollTop-=Kt,Fe.scrollLeft+=$t,C(Ke),function at(Lt,pi){var $t=Math.floor(Fe.scrollTop);if(0===Lt){if(!Ke.scrollbarYActive)return!1;if(0===$t&&pi>0||$t>=Ke.contentHeight-Ke.containerHeight&&pi<0)return!Ke.settings.wheelPropagation}var Kt=Fe.scrollLeft;if(0===pi){if(!Ke.scrollbarXActive)return!1;if(0===Kt&&Lt<0||Kt>=Ke.contentWidth-Ke.containerWidth&&Lt>0)return!Ke.settings.wheelPropagation}return!0}($t,Kt)&&Lt.preventDefault())}})},wheel:function N(Ke){var Fe=Ke.element;function Lt(pi){var $t=function qe(pi){var $t=pi.deltaX,Kt=-1*pi.deltaY;return(typeof $t>"u"||typeof Kt>"u")&&($t=-1*pi.wheelDeltaX/6,Kt=pi.wheelDeltaY/6),pi.deltaMode&&1===pi.deltaMode&&($t*=10,Kt*=10),$t!=$t&&Kt!=Kt&&($t=0,Kt=pi.wheelDelta),pi.shiftKey?[-Kt,-$t]:[$t,Kt]}(pi),Kt=$t[0],Ui=$t[1];if(!function at(pi,$t,Kt){if(!d.isWebKit&&Fe.querySelector("select:focus"))return!0;if(!Fe.contains(pi))return!1;for(var Ui=pi;Ui&&Ui!==Fe;){if(Ui.classList.contains(W.element.consuming))return!0;var ti=S(Ui);if(Kt&&ti.overflowY.match(/(scroll|auto)/)){var fi=Ui.scrollHeight-Ui.clientHeight;if(fi>0&&(Ui.scrollTop>0&&Kt<0||Ui.scrollTop0))return!0}if($t&&ti.overflowX.match(/(scroll|auto)/)){var xn=Ui.scrollWidth-Ui.clientWidth;if(xn>0&&(Ui.scrollLeft>0&&$t<0||Ui.scrollLeft0))return!0}Ui=Ui.parentNode}return!1}(pi.target,Kt,Ui)){var ti=!1;Ke.settings.useBothWheelAxes?Ke.scrollbarYActive&&!Ke.scrollbarXActive?(Ui?Fe.scrollTop-=Ui*Ke.settings.wheelSpeed:Fe.scrollTop+=Kt*Ke.settings.wheelSpeed,ti=!0):Ke.scrollbarXActive&&!Ke.scrollbarYActive&&(Kt?Fe.scrollLeft+=Kt*Ke.settings.wheelSpeed:Fe.scrollLeft-=Ui*Ke.settings.wheelSpeed,ti=!0):(Fe.scrollTop-=Ui*Ke.settings.wheelSpeed,Fe.scrollLeft+=Kt*Ke.settings.wheelSpeed),C(Ke),ti=ti||function Ge(pi,$t){var Kt=Math.floor(Fe.scrollTop),Ui=0===Fe.scrollTop,ti=Kt+Fe.offsetHeight===Fe.scrollHeight,fi=0===Fe.scrollLeft,xn=Fe.scrollLeft+Fe.offsetWidth===Fe.scrollWidth;return!(Math.abs($t)>Math.abs(pi)?Ui||ti:fi||xn)||!Ke.settings.wheelPropagation}(Kt,Ui),ti&&!pi.ctrlKey&&(pi.stopPropagation(),pi.preventDefault())}}typeof window.onwheel<"u"?Ke.event.bind(Fe,"wheel",Lt):typeof window.onmousewheel<"u"&&Ke.event.bind(Fe,"mousewheel",Lt)},touch:function q(Ke){if(d.supportsTouch||d.supportsIePointer){var Fe=Ke.element,at={},Lt=0,pi={},$t=null;d.supportsTouch?(Ke.event.bind(Fe,"touchstart",ti),Ke.event.bind(Fe,"touchmove",xn),Ke.event.bind(Fe,"touchend",tn)):d.supportsIePointer&&(window.PointerEvent?(Ke.event.bind(Fe,"pointerdown",ti),Ke.event.bind(Fe,"pointermove",xn),Ke.event.bind(Fe,"pointerup",tn)):window.MSPointerEvent&&(Ke.event.bind(Fe,"MSPointerDown",ti),Ke.event.bind(Fe,"MSPointerMove",xn),Ke.event.bind(Fe,"MSPointerUp",tn)))}function qe(Vi,Qi){Fe.scrollTop-=Qi,Fe.scrollLeft-=Vi,C(Ke)}function Kt(Vi){return Vi.targetTouches?Vi.targetTouches[0]:Vi}function Ui(Vi){return!(Vi.pointerType&&"pen"===Vi.pointerType&&0===Vi.buttons||!(Vi.targetTouches&&1===Vi.targetTouches.length||Vi.pointerType&&"mouse"!==Vi.pointerType&&Vi.pointerType!==Vi.MSPOINTER_TYPE_MOUSE))}function ti(Vi){if(Ui(Vi)){var Qi=Kt(Vi);at.pageX=Qi.pageX,at.pageY=Qi.pageY,Lt=(new Date).getTime(),null!==$t&&clearInterval($t)}}function xn(Vi){if(Ui(Vi)){var Qi=Kt(Vi),Xt={pageX:Qi.pageX,pageY:Qi.pageY},St=Xt.pageX-at.pageX,tt=Xt.pageY-at.pageY;if(function fi(Vi,Qi,Xt){if(!Fe.contains(Vi))return!1;for(var St=Vi;St&&St!==Fe;){if(St.classList.contains(W.element.consuming))return!0;var tt=S(St);if(Xt&&tt.overflowY.match(/(scroll|auto)/)){var ot=St.scrollHeight-St.clientHeight;if(ot>0&&(St.scrollTop>0&&Xt<0||St.scrollTop0))return!0}if(Qi&&tt.overflowX.match(/(scroll|auto)/)){var Mt=St.scrollWidth-St.clientWidth;if(Mt>0&&(St.scrollLeft>0&&Qi<0||St.scrollLeft0))return!0}St=St.parentNode}return!1}(Vi.target,St,tt))return;qe(St,tt),at=Xt;var ot=(new Date).getTime(),Mt=ot-Lt;Mt>0&&(pi.x=St/Mt,pi.y=tt/Mt,Lt=ot),function Ge(Vi,Qi){var Xt=Math.floor(Fe.scrollTop),St=Fe.scrollLeft,tt=Math.abs(Vi),ot=Math.abs(Qi);if(ot>tt){if(Qi<0&&Xt===Ke.contentHeight-Ke.containerHeight||Qi>0&&0===Xt)return 0===window.scrollY&&Qi>0&&d.isChrome}else if(tt>ot&&(Vi<0&&St===Ke.contentWidth-Ke.containerWidth||Vi>0&&0===St))return!0;return!0}(St,tt)&&Vi.preventDefault()}}function tn(){Ke.settings.swipeEasing&&(clearInterval($t),$t=setInterval(function(){Ke.isInitialized?clearInterval($t):pi.x||pi.y?Math.abs(pi.x)<.01&&Math.abs(pi.y)<.01?clearInterval($t):Ke.element?(qe(30*pi.x,30*pi.y),pi.x*=.8,pi.y*=.8):clearInterval($t):clearInterval($t)},10))}}},Xe=function(Fe,Ge){var qe=this;if(void 0===Ge&&(Ge={}),"string"==typeof Fe&&(Fe=document.querySelector(Fe)),!Fe||!Fe.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var at in this.element=Fe,Fe.classList.add(W.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},Ge)this.settings[at]=Ge[at];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var ti,Ui,Lt=function(){return Fe.classList.add(W.state.focus)},pi=function(){return Fe.classList.remove(W.state.focus)};this.isRtl="rtl"===S(Fe).direction,!0===this.isRtl&&Fe.classList.add(W.rtl),this.isNegativeScroll=(Ui=Fe.scrollLeft,Fe.scrollLeft=-1,ti=Fe.scrollLeft<0,Fe.scrollLeft=Ui,ti),this.negativeScrollAdjustment=this.isNegativeScroll?Fe.scrollWidth-Fe.clientWidth:0,this.event=new Me,this.ownerDocument=Fe.ownerDocument||document,this.scrollbarXRail=O(W.element.rail("x")),Fe.appendChild(this.scrollbarXRail),this.scrollbarX=O(W.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Lt),this.event.bind(this.scrollbarX,"blur",pi),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var $t=S(this.scrollbarXRail);this.scrollbarXBottom=parseInt($t.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=n($t.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=n($t.borderLeftWidth)+n($t.borderRightWidth),y(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=n($t.marginLeft)+n($t.marginRight),y(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=O(W.element.rail("y")),Fe.appendChild(this.scrollbarYRail),this.scrollbarY=O(W.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Lt),this.event.bind(this.scrollbarY,"blur",pi),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var Kt=S(this.scrollbarYRail);this.scrollbarYRight=parseInt(Kt.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=n(Kt.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function m(Ke){var Fe=S(Ke);return n(Fe.width)+n(Fe.paddingLeft)+n(Fe.paddingRight)+n(Fe.borderLeftWidth)+n(Fe.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=n(Kt.borderTopWidth)+n(Kt.borderBottomWidth),y(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=n(Kt.marginTop)+n(Kt.marginBottom),y(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:Fe.scrollLeft<=0?"start":Fe.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:Fe.scrollTop<=0?"start":Fe.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Ui){return ze[Ui](qe)}),this.lastScrollTop=Math.floor(Fe.scrollTop),this.lastScrollLeft=Fe.scrollLeft,this.event.bind(this.element,"scroll",function(Ui){return qe.onScroll(Ui)}),C(this)};Xe.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(S(this.scrollbarXRail).marginLeft)+n(S(this.scrollbarXRail).marginRight),this.railYMarginHeight=n(S(this.scrollbarYRail).marginTop)+n(S(this.scrollbarYRail).marginBottom),y(this.scrollbarXRail,{display:"none"}),y(this.scrollbarYRail,{display:"none"}),C(this),le(this,"top",0,!1,!0),le(this,"left",0,!1,!0),y(this.scrollbarXRail,{display:""}),y(this.scrollbarYRail,{display:""}))},Xe.prototype.onScroll=function(Fe){this.isAlive&&(C(this),le(this,"top",this.element.scrollTop-this.lastScrollTop),le(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Xe.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),j(this.scrollbarX),j(this.scrollbarY),j(this.scrollbarXRail),j(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Xe.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(Fe){return!Fe.match(/^ps([-_].+|)$/)}).join(" ")};const We=Xe;var oe=function(){if(typeof Map<"u")return Map;function Ke(Fe,Ge){var qe=-1;return Fe.some(function(at,Lt){return at[0]===Ge&&(qe=Lt,!0)}),qe}return function(){function Fe(){this.__entries__=[]}return Object.defineProperty(Fe.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),Fe.prototype.get=function(Ge){var qe=Ke(this.__entries__,Ge),at=this.__entries__[qe];return at&&at[1]},Fe.prototype.set=function(Ge,qe){var at=Ke(this.__entries__,Ge);~at?this.__entries__[at][1]=qe:this.__entries__.push([Ge,qe])},Fe.prototype.delete=function(Ge){var qe=this.__entries__,at=Ke(qe,Ge);~at&&qe.splice(at,1)},Fe.prototype.has=function(Ge){return!!~Ke(this.__entries__,Ge)},Fe.prototype.clear=function(){this.__entries__.splice(0)},Fe.prototype.forEach=function(Ge,qe){void 0===qe&&(qe=null);for(var at=0,Lt=this.__entries__;at0},Ke.prototype.connect_=function(){!X||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ee?(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)},Ke.prototype.disconnect_=function(){!X||!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)},Ke.prototype.onTransitionEnd_=function(Fe){var Ge=Fe.propertyName,qe=void 0===Ge?"":Ge;me.some(function(Lt){return!!~qe.indexOf(Lt)})&&this.refresh()},Ke.getInstance=function(){return this.instance_||(this.instance_=new Ke),this.instance_},Ke.instance_=null,Ke}(),Be=function(Ke,Fe){for(var Ge=0,qe=Object.keys(Fe);Ge"u")&&Element instanceof Object){if(!(Fe instanceof Ct(Fe).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ge=this.observations_;Ge.has(Fe)||(Ge.set(Fe,new qt(Fe)),this.controller_.addObserver(this),this.controller_.refresh())}},Ke.prototype.unobserve=function(Fe){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(Fe instanceof Ct(Fe).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ge=this.observations_;Ge.has(Fe)&&(Ge.delete(Fe),Ge.size||this.controller_.removeObserver(this))}},Ke.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},Ke.prototype.gatherActive=function(){var Fe=this;this.clearActive(),this.observations_.forEach(function(Ge){Ge.isActive()&&Fe.activeObservations_.push(Ge)})},Ke.prototype.broadcastActive=function(){if(this.hasActive()){var Fe=this.callbackCtx_,Ge=this.activeObservations_.map(function(qe){return new Nt(qe.target,qe.broadcastRect())});this.callback_.call(Fe,Ge,Fe),this.clearActive()}},Ke.prototype.clearActive=function(){this.activeObservations_.splice(0)},Ke.prototype.hasActive=function(){return this.activeObservations_.length>0},Ke}(),jt=typeof WeakMap<"u"?new WeakMap:new oe,Je=function(){return function Ke(Fe){if(!(this instanceof Ke))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Ge=ue.getInstance(),qe=new yt(Fe,Ge,this);jt.set(this,qe)}}();["observe","unobserve","disconnect"].forEach(function(Ke){Je.prototype[Ke]=function(){var Fe;return(Fe=jt.get(this))[Ke].apply(Fe,arguments)}});const Ae=typeof se.ResizeObserver<"u"?se.ResizeObserver:Je,It=["*"];function Qt(Ke,Fe){if(1&Ke&&(R.j41(0,"div",3),R.nrm(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),R.k0s()),2&Ke){const Ge=R.XpG();R.AVh("ps-at-top",Ge.states.top)("ps-at-left",Ge.states.left)("ps-at-right",Ge.states.right)("ps-at-bottom",Ge.states.bottom),R.R7$(),R.AVh("ps-indicator-show",Ge.indicatorY&&Ge.interaction),R.R7$(),R.AVh("ps-indicator-show",Ge.indicatorX&&Ge.interaction),R.R7$(),R.AVh("ps-indicator-show",Ge.indicatorX&&Ge.interaction),R.R7$(),R.AVh("ps-indicator-show",Ge.indicatorY&&Ge.interaction)}}const Tt=new R.nKC("PERFECT_SCROLLBAR_CONFIG");class xt{constructor(Fe,Ge,qe,at){this.x=Fe,this.y=Ge,this.w=qe,this.h=at}}class Se{constructor(Fe,Ge){this.x=Fe,this.y=Ge}}const Te=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class ce{constructor(Fe={}){this.assign(Fe)}assign(Fe={}){for(const Ge in Fe)this[Ge]=Fe[Ge]}}let Z=(()=>{class Ke{constructor(Ge,qe,at,Lt,pi){this.zone=Ge,this.differs=qe,this.elementRef=at,this.platformId=Lt,this.defaults=pi,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new e.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,h.UE)(this.platformId)){const Ge=new ce(this.defaults);Ge.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new We(this.elementRef.nativeElement,Ge)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new Ae(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{Te.forEach(qe=>{const at=qe.replace(/([A-Z])/g,Lt=>`-${Lt.toLowerCase()}`);(0,t.R)(this.elementRef.nativeElement,at).pipe((0,D.Z)(20),(0,l.Q)(this.ngDestroy)).subscribe(Lt=>{this[qe].emit(Lt)})})})}}ngOnDestroy(){(0,h.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,h.UE)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(Ge){Ge.disabled&&!Ge.disabled.isFirstChange()&&(0,h.UE)(this.platformId)&&Ge.disabled.currentValue!==Ge.disabled.previousValue&&(!0===Ge.disabled.currentValue?this.ngOnDestroy():!1===Ge.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(Ge="scroll"){return new xt(this.elementRef.nativeElement[Ge+"Left"],this.elementRef.nativeElement[Ge+"Top"],this.elementRef.nativeElement[Ge+"Width"],this.elementRef.nativeElement[Ge+"Height"])}position(Ge=!1){return!Ge&&this.instance?new Se(this.instance.reach.x||0,this.instance.reach.y||0):new Se(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(Ge="any"){const qe=this.elementRef.nativeElement;return"any"===Ge?qe.classList.contains("ps--active-x")||qe.classList.contains("ps--active-y"):"both"===Ge?qe.classList.contains("ps--active-x")&&qe.classList.contains("ps--active-y"):qe.classList.contains("ps--active-"+Ge)}scrollTo(Ge,qe,at){this.disabled||(null==qe&&null==at?this.animateScrolling("scrollTop",Ge,at):(null!=Ge&&this.animateScrolling("scrollLeft",Ge,at),null!=qe&&this.animateScrolling("scrollTop",qe,at)))}scrollToX(Ge,qe){this.animateScrolling("scrollLeft",Ge,qe)}scrollToY(Ge,qe){this.animateScrolling("scrollTop",Ge,qe)}scrollToTop(Ge,qe){this.animateScrolling("scrollTop",Ge||0,qe)}scrollToLeft(Ge,qe){this.animateScrolling("scrollLeft",Ge||0,qe)}scrollToRight(Ge,qe){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(Ge||0),qe)}scrollToBottom(Ge,qe){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(Ge||0),qe)}scrollToElement(Ge,qe,at){if("string"==typeof Ge&&(Ge=this.elementRef.nativeElement.querySelector(Ge)),Ge){const Lt=Ge.getBoundingClientRect(),pi=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",Lt.left-pi.left+this.elementRef.nativeElement.scrollLeft+(qe||0),at),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",Lt.top-pi.top+this.elementRef.nativeElement.scrollTop+(qe||0),at)}}animateScrolling(Ge,qe,at){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!at||typeof window>"u")this.elementRef.nativeElement[Ge]=qe;else if(qe!==this.elementRef.nativeElement[Ge]){let Lt=0,pi=0,$t=performance.now(),Kt=this.elementRef.nativeElement[Ge];const Ui=(Kt-qe)/2,ti=fi=>{pi+=Math.PI/(at/(fi-$t)),Lt=Math.round(qe+Ui+Ui*Math.cos(pi)),this.elementRef.nativeElement[Ge]===Kt&&(pi>=Math.PI?this.animateScrolling(Ge,qe,0):(this.elementRef.nativeElement[Ge]=Lt,Kt=this.elementRef.nativeElement[Ge],$t=fi,this.animation=window.requestAnimationFrame(ti)))};window.requestAnimationFrame(ti)}}}return Ke.\u0275fac=function(Ge){return new(Ge||Ke)(R.rXU(R.SKi),R.rXU(R.MKu),R.rXU(R.aKT),R.rXU(R.Agw),R.rXU(Tt,8))},Ke.\u0275dir=R.FsC({type:Ke,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$]}),Ke})(),Re=(()=>{class Ke{constructor(Ge,qe,at){this.zone=Ge,this.cdRef=qe,this.platformId=at,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new e.B,this.stateUpdate=new e.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,h.UE)(this.platformId)&&(this.stateUpdate.pipe((0,l.Q)(this.ngDestroy),(0,w.F)((Ge,qe)=>Ge===qe&&!this.stateTimeout)).subscribe(Ge=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===Ge||"y"===Ge?(this.interaction=!1,"x"===Ge?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===Ge&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===Ge||"right"===Ge?(this.states.left=!1,this.states.right=!1,this.states[Ge]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===Ge||"bottom"===Ge)&&(this.states.top=!1,this.states.bottom=!1,this.states[Ge]=!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 Ge=this.directiveRef.elementRef.nativeElement;(0,t.R)(Ge,"wheel").pipe((0,l.Q)(this.ngDestroy)).subscribe(qe=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(qe,qe.deltaX,qe.deltaY)}),(0,t.R)(Ge,"touchmove").pipe((0,l.Q)(this.ngDestroy)).subscribe(qe=>{if(!this.disabled&&this.autoPropagation){const at=qe.touches[0].clientX,Lt=qe.touches[0].clientY;this.checkPropagation(qe,at-this.scrollPositionX,Lt-this.scrollPositionY),this.scrollPositionX=at,this.scrollPositionY=Lt}}),(0,x.h)((0,t.R)(Ge,"ps-scroll-x").pipe((0,f.u)("x")),(0,t.R)(Ge,"ps-scroll-y").pipe((0,f.u)("y")),(0,t.R)(Ge,"ps-x-reach-end").pipe((0,f.u)("right")),(0,t.R)(Ge,"ps-y-reach-end").pipe((0,f.u)("bottom")),(0,t.R)(Ge,"ps-x-reach-start").pipe((0,f.u)("left")),(0,t.R)(Ge,"ps-y-reach-start").pipe((0,f.u)("top"))).pipe((0,l.Q)(this.ngDestroy)).subscribe(qe=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(qe)})}}),window.setTimeout(()=>{Te.forEach(Ge=>{this.directiveRef&&(this.directiveRef[Ge]=this[Ge])})},0))}ngOnDestroy(){(0,h.UE)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,h.UE)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const Ge=this.directiveRef.elementRef.nativeElement;this.usePropagationX=Ge.classList.contains("ps--active-x"),this.usePropagationY=Ge.classList.contains("ps--active-y")}}checkPropagation(Ge,qe,at){this.interaction=!0;const Lt=qe<0?-1:1,pi=at<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Lt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==pi))&&(Ge.preventDefault(),Ge.stopPropagation()),qe&&(this.scrollDirectionX=Lt),at&&(this.scrollDirectionY=pi),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return Ke.\u0275fac=function(Ge){return new(Ge||Ke)(R.rXU(R.SKi),R.rXU(R.gRc),R.rXU(R.Agw))},Ke.\u0275cmp=R.VBU({type:Ke,selectors:[["perfect-scrollbar"]],viewQuery:function(Ge,qe){if(1&Ge&&R.GBs(Z,7),2&Ge){let at;R.mGM(at=R.lsd())&&(qe.directiveRef=at.first)}},hostVars:4,hostBindings:function(Ge,qe){2&Ge&&R.AVh("ps-show-limits",qe.autoPropagation)("ps-show-active",qe.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:It,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(Ge,qe){1&Ge&&(R.NAR(),R.j41(0,"div",0)(1,"div",1),R.SdG(2),R.k0s(),R.DNE(3,Qt,5,16,"div",2),R.k0s()),2&Ge&&(R.AVh("ps",qe.usePSClass),R.Y8G("perfectScrollbar",qe.config)("disabled",qe.disabled),R.R7$(3),R.Y8G("ngIf",qe.scrollIndicators))},dependencies:[Z,h.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}),Ke})(),pt=(()=>{class Ke{}return Ke.\u0275fac=function(Ge){return new(Ge||Ke)},Ke.\u0275mod=R.$C({type:Ke}),Ke.\u0275inj=R.G2t({imports:[[h.MD],h.MD]}),Ke})()},467:(Qe,te,g)=>{"use strict";function e(x,D,l,w,f,R,h){try{var S=x[R](h),y=S.value}catch(O){return void l(O)}S.done?D(y):Promise.resolve(y).then(w,f)}function t(x){return function(){var D=this,l=arguments;return new Promise(function(w,f){var R=x.apply(D,l);function h(y){e(R,w,f,h,S,"next",y)}function S(y){e(R,w,f,h,S,"throw",y)}h(void 0)})}}g.d(te,{A:()=>t})},1635:(Qe,te,g)=>{"use strict";function l(z,N,q,pe){var We,ze=arguments.length,Xe=ze<3?N:null===pe?pe=Object.getOwnPropertyDescriptor(N,q):pe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Xe=Reflect.decorate(z,N,q,pe);else for(var oe=z.length-1;oe>=0;oe--)(We=z[oe])&&(Xe=(ze<3?We(Xe):ze>3?We(N,q,Xe):We(N,q))||Xe);return ze>3&&Xe&&Object.defineProperty(N,q,Xe),Xe}function O(z,N,q,pe){return new(q||(q=Promise))(function(Xe,We){function oe(ae){try{se(pe.next(ae))}catch(he){We(he)}}function X(ae){try{se(pe.throw(ae))}catch(he){We(he)}}function se(ae){ae.done?Xe(ae.value):function ze(Xe){return Xe instanceof q?Xe:new q(function(We){We(Xe)})}(ae.value).then(oe,X)}se((pe=pe.apply(z,N||[])).next())})}function ee(z){return this instanceof ee?(this.v=z,this):new ee(z)}function fe(z,N,q){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ze,pe=q.apply(z,N||[]),Xe=[];return ze=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),oe("next"),oe("throw"),oe("return",function We(st){return function(me){return Promise.resolve(me).then(st,he)}}),ze[Symbol.asyncIterator]=function(){return this},ze;function oe(st,me){pe[st]&&(ze[st]=function(Ee){return new Promise(function(ue,Be){Xe.push([st,Ee,ue,Be])>1||X(st,Ee)})},me&&(ze[st]=me(ze[st])))}function X(st,me){try{!function se(st){st.value instanceof ee?Promise.resolve(st.value.v).then(ae,he):Ie(Xe[0][2],st)}(pe[st](me))}catch(Ee){Ie(Xe[0][3],Ee)}}function ae(st){X("next",st)}function he(st){X("throw",st)}function Ie(st,me){st(me),Xe.shift(),Xe.length&&X(Xe[0][0],Xe[0][1])}}function Me(z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var q,N=z[Symbol.asyncIterator];return N?N.call(z):(z=function Y(z){var N="function"==typeof Symbol&&Symbol.iterator,q=N&&z[N],pe=0;if(q)return q.call(z);if(z&&"number"==typeof z.length)return{next:function(){return z&&pe>=z.length&&(z=void 0),{value:z&&z[pe++],done:!z}}};throw new TypeError(N?"Object is not iterable.":"Symbol.iterator is not defined.")}(z),q={},pe("next"),pe("throw"),pe("return"),q[Symbol.asyncIterator]=function(){return this},q);function pe(Xe){q[Xe]=z[Xe]&&function(We){return new Promise(function(oe,X){!function ze(Xe,We,oe,X){Promise.resolve(X).then(function(se){Xe({value:se,done:oe})},We)}(oe,X,(We=z[Xe](We)).done,We.value)})}}}g.d(te,{AQ:()=>fe,Cg:()=>l,N3:()=>ee,sH:()=>O,xN:()=>Me}),"function"==typeof SuppressedError&&SuppressedError},3219:Qe=>{"use strict";Qe.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:Qe=>{"use strict";Qe.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:Qe=>{"use strict";Qe.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:Qe=>{"use strict";Qe.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:Qe=>{"use strict";Qe.exports={rE:"6.6.0"}},5579:Qe=>{"use strict";Qe.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"}')}},Qe=>{Qe(Qe.s=3471)}]); \ No newline at end of file diff --git a/frontend/main.ca6488a35864127e.js b/frontend/main.ca6488a35864127e.js deleted file mode 100644 index 95edd11fb..000000000 --- a/frontend/main.ca6488a35864127e.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[792],{8430:(Qe,te,g)=>{"use strict";g.d(te,{$6:()=>q,$J:()=>a,$Q:()=>T,Aw:()=>R,C2:()=>y,CK:()=>ee,Db:()=>Yt,Do:()=>N,Dq:()=>Xe,ED:()=>ve,EM:()=>ae,Eb:()=>st,Ew:()=>he,Fd:()=>ne,GZ:()=>Ie,Gy:()=>V,Gz:()=>Ct,Hm:()=>le,Jx:()=>ze,Ml:()=>ct,N4:()=>Me,NS:()=>w,NU:()=>_e,Qj:()=>j,Qv:()=>dt,Sn:()=>f,T4:()=>Ce,Uj:()=>fe,VK:()=>pe,We:()=>Q,XT:()=>O,Yi:()=>_,Zi:()=>ie,a5:()=>We,aB:()=>oe,cR:()=>C,dv:()=>n,ed:()=>J,fy:()=>c,g6:()=>se,gf:()=>D,ij:()=>k,jQ:()=>Be,kQ:()=>ue,kX:()=>S,kv:()=>z,lg:()=>l,no:()=>x,qw:()=>me,sq:()=>Y,uK:()=>b,vL:()=>m,w0:()=>d,x1:()=>h,y0:()=>Ee,zU:()=>A});var e=g(9640),t=g(4416);const x=(0,e.VP)(t.TC.UPDATE_API_CALL_STATUS_CLN,(0,e.xk)()),D=(0,e.VP)(t.TC.RESET_CLN_STORE),l=(0,e.VP)(t.TC.FETCH_PAGE_SETTINGS_CLN),w=(0,e.VP)(t.TC.SET_PAGE_SETTINGS_CLN,(0,e.xk)()),f=(0,e.VP)(t.TC.SAVE_PAGE_SETTINGS_CLN,(0,e.xk)()),R=(0,e.VP)(t.TC.FETCH_INFO_CLN,(0,e.xk)()),h=(0,e.VP)(t.TC.SET_INFO_CLN,(0,e.xk)()),S=(0,e.VP)(t.TC.FETCH_FEE_RATES_CLN,(0,e.xk)()),y=(0,e.VP)(t.TC.SET_FEE_RATES_CLN,(0,e.xk)()),O=(0,e.VP)(t.TC.GET_NEW_ADDRESS_CLN,(0,e.xk)()),V=((0,e.VP)(t.TC.SET_NEW_ADDRESS_CLN,(0,e.xk)()),(0,e.VP)(t.TC.FETCH_PEERS_CLN)),j=(0,e.VP)(t.TC.SET_PEERS_CLN,(0,e.xk)()),Y=(0,e.VP)(t.TC.SAVE_NEW_PEER_CLN,(0,e.xk)()),Q=((0,e.VP)(t.TC.NEWLY_ADDED_PEER_CLN,(0,e.xk)()),(0,e.VP)(t.TC.ADD_PEER_CLN,(0,e.xk)())),J=(0,e.VP)(t.TC.DETACH_PEER_CLN,(0,e.xk)()),ie=(0,e.VP)(t.TC.REMOVE_PEER_CLN,(0,e.xk)()),ee=(0,e.VP)(t.TC.FETCH_PAYMENTS_CLN),fe=(0,e.VP)(t.TC.SET_PAYMENTS_CLN,(0,e.xk)()),ne=(0,e.VP)(t.TC.SEND_PAYMENT_CLN,(0,e.xk)()),Me=(0,e.VP)(t.TC.SEND_PAYMENT_STATUS_CLN,(0,e.xk)()),Ce=(0,e.VP)(t.TC.GET_QUERY_ROUTES_CLN,(0,e.xk)()),le=(0,e.VP)(t.TC.SET_QUERY_ROUTES_CLN,(0,e.xk)()),T=(0,e.VP)(t.TC.FETCH_CHANNELS_CLN),n=(0,e.VP)(t.TC.SET_CHANNELS_CLN,(0,e.xk)()),c=(0,e.VP)(t.TC.UPDATE_CHANNEL_CLN,(0,e.xk)()),m=(0,e.VP)(t.TC.SAVE_NEW_CHANNEL_CLN,(0,e.xk)()),d=(0,e.VP)(t.TC.CLOSE_CHANNEL_CLN,(0,e.xk)()),C=(0,e.VP)(t.TC.REMOVE_CHANNEL_CLN,(0,e.xk)()),A=(0,e.VP)(t.TC.PEER_LOOKUP_CLN,(0,e.xk)()),k=(0,e.VP)(t.TC.CHANNEL_LOOKUP_CLN,(0,e.xk)()),_=(0,e.VP)(t.TC.INVOICE_LOOKUP_CLN,(0,e.xk)()),a=(0,e.VP)(t.TC.SET_LOOKUP_CLN,(0,e.xk)()),b=(0,e.VP)(t.TC.GET_FORWARDING_HISTORY_CLN,(0,e.xk)()),z=(0,e.VP)(t.TC.SET_FORWARDING_HISTORY_CLN,(0,e.xk)()),N=(0,e.VP)(t.TC.FETCH_INVOICES_CLN),q=(0,e.VP)(t.TC.SET_INVOICES_CLN,(0,e.xk)()),pe=(0,e.VP)(t.TC.SAVE_NEW_INVOICE_CLN,(0,e.xk)()),ze=(0,e.VP)(t.TC.ADD_INVOICE_CLN,(0,e.xk)()),Xe=(0,e.VP)(t.TC.UPDATE_INVOICE_CLN,(0,e.xk)()),We=(0,e.VP)(t.TC.DELETE_EXPIRED_INVOICE_CLN,(0,e.xk)()),oe=(0,e.VP)(t.TC.SET_CHANNEL_TRANSACTION_CLN,(0,e.xk)()),se=((0,e.VP)(t.TC.SET_CHANNEL_TRANSACTION_RES_CLN,(0,e.xk)()),(0,e.VP)(t.TC.FETCH_UTXO_BALANCES_CLN)),ae=(0,e.VP)(t.TC.SET_UTXO_BALANCES_CLN,(0,e.xk)()),he=(0,e.VP)(t.TC.FETCH_OFFER_INVOICE_CLN,(0,e.xk)()),Ie=(0,e.VP)(t.TC.SET_OFFER_INVOICE_CLN,(0,e.xk)()),st=(0,e.VP)(t.TC.FETCH_OFFERS_CLN),me=(0,e.VP)(t.TC.SET_OFFERS_CLN,(0,e.xk)()),Ee=(0,e.VP)(t.TC.SAVE_NEW_OFFER_CLN,(0,e.xk)()),ue=(0,e.VP)(t.TC.ADD_OFFER_CLN,(0,e.xk)()),Be=(0,e.VP)(t.TC.DISABLE_OFFER_CLN,(0,e.xk)()),Ct=(0,e.VP)(t.TC.UPDATE_OFFER_CLN,(0,e.xk)()),ct=(0,e.VP)(t.TC.FETCH_OFFER_BOOKMARKS_CLN),dt=(0,e.VP)(t.TC.SET_OFFER_BOOKMARKS_CLN,(0,e.xk)()),Yt=(0,e.VP)(t.TC.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,e.xk)()),ve=(0,e.VP)(t.TC.DELETE_OFFER_BOOKMARK_CLN,(0,e.xk)()),_e=(0,e.VP)(t.TC.REMOVE_OFFER_BOOKMARK_CLN,(0,e.xk)())},283:(Qe,te,g)=>{"use strict";g.d(te,{i:()=>Me});var e=g(4054),t=g(1413),x=g(7673),D=g(1397),l=g(6977),w=g(6354),f=g(9437),R=g(2462),h=g(8321),S=g(4416),y=g(1771),O=g(8430),I=g(9584),V=g(2142),j=g(4438),Y=g(1626),W=g(9640),Q=g(3202),J=g(2571),ie=g(8570),ee=g(1188),fe=g(7879),ne=g(177);let Me=(()=>{class Ce{constructor(T,n,c,m,d,C,A,k,_){this.actions=T,this.httpClient=n,this.store=c,this.sessionService=m,this.commonService=d,this.logger=C,this.router=A,this.wsService=k,this.location=_,this.CHILD_API_URL=S.H$+"/cln",this.CLN_VERISON="",this.flgInitialized=!1,this.unSubs=[new t.B,new t.B,new t.B],this.infoFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_INFO_CLN),(0,D.Z)(a=>(this.flgInitialized=!1,this.store.dispatch((0,y.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,O.no)({payload:{action:"FetchInfo",status:S.wn.INITIATED}})),this.store.dispatch((0,y.mt)({payload:S.MZ.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+S.rl.GETINFO_API).pipe((0,l.Q)(this.actions.pipe((0,e.gp)(S.aU.SET_SELECTED_NODE))),(0,w.T)(b=>(this.logger.info(b),this.CLN_VERISON=b.version||"",b.chains&&b.chains.length&&b.chains[0]&&"object"==typeof b.chains[0]&&b.chains[0].hasOwnProperty("chain")&&b?.chains[0].chain&&b?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&b?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,O.no)({payload:{action:"FetchInfo",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.GET_NODE_INFO})),this.store.dispatch((0,y.Jh)()),setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{type:S.A$.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:S.aU.LOGOUT,payload:"Sorry Not Sorry, RTL is Bitcoin Only!"}):(this.initializeRemainingData(b,a.payload.loadPage),this.store.dispatch((0,O.no)({payload:{action:"FetchInfo",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.GET_NODE_INFO})),{type:S.TC.SET_INFO_CLN,payload:b||{}}))),(0,f.W)(b=>{const z=this.commonService.extractErrorCode(b),N=503===z?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(b);return this.router.navigate(["/error"],{state:{errorCode:z,errorMessage:N}}),this.handleErrorWithoutAlert("FetchInfo",S.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:z,error:N}),(0,x.of)({type:S.aU.VOID})})))))),this.fetchFeeRatesCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_FEE_RATES_CLN),(0,D.Z)(a=>(this.store.dispatch((0,O.no)({payload:{action:"FetchFeeRates"+a.payload,status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.NETWORK_API+"/feeRates",{style:a.payload}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"FetchFeeRates"+a.payload,status:S.wn.COMPLETED}})),{type:S.TC.SET_FEE_RATES_CLN,payload:b||{}})),(0,f.W)(b=>(this.handleErrorWithoutAlert("FetchFeeRates"+a.payload,S.MZ.NO_SPINNER,"Fetching Fee Rates Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.getNewAddressCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.GET_NEW_ADDRESS_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.post(this.CHILD_API_URL+S.rl.ON_CHAIN_API+"/newaddr",{addresstype:a.payload.addressCode}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,y.y0)({payload:S.MZ.GENERATE_NEW_ADDRESS})),{type:S.TC.SET_NEW_ADDRESS_CLN,payload:b&&b[a.payload.addressCode]?b[a.payload.addressCode]:{}})),(0,f.W)(b=>(this.handleErrorWithAlert("GenerateNewAddress",S.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+S.rl.ON_CHAIN_API,b),(0,x.of)({type:S.aU.VOID})))))))),this.setNewAddressCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SET_NEW_ADDRESS_CLN),(0,w.T)(a=>(this.logger.info(a.payload),a.payload))),{dispatch:!1}),this.peersFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_PEERS_CLN),(0,D.Z)(()=>(this.store.dispatch((0,O.no)({payload:{action:"FetchPeers",status:S.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.rl.PEERS_API).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.no)({payload:{action:"FetchPeers",status:S.wn.COMPLETED}})),{type:S.TC.SET_PEERS_CLN,payload:a||[]})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchPeers",S.MZ.NO_SPINNER,"Fetching Peers Failed.",a),(0,x.of)({type:S.aU.VOID})))))))),this.saveNewPeerCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SAVE_NEW_PEER_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.CONNECT_PEER})),this.store.dispatch((0,O.no)({payload:{action:"SaveNewPeer",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.PEERS_API,{id:a.payload.id}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"SaveNewPeer",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.CONNECT_PEER})),this.store.dispatch((0,O.Qj)({payload:b||[]})),{type:S.TC.NEWLY_ADDED_PEER_CLN,payload:{peer:b.find(z=>0===a.payload.id.indexOf(z.id?z.id:""))}})),(0,f.W)(b=>(this.handleErrorWithoutAlert("SaveNewPeer",S.MZ.CONNECT_PEER,"Peer Connection Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.detachPeerCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.DETACH_PEER_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.DISCONNECT_PEER})),this.httpClient.post(this.CHILD_API_URL+S.rl.PEERS_API+"/disconnect",{id:a.payload.id,force:a.payload.force}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,y.y0)({payload:S.MZ.DISCONNECT_PEER})),this.store.dispatch((0,y.UI)({payload:"Peer Disconnected Successfully!"})),{type:S.TC.REMOVE_PEER_CLN,payload:{id:a.payload.id}})),(0,f.W)(b=>(this.handleErrorWithAlert("PeerDisconnect",S.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+S.rl.PEERS_API+"/"+a.payload.id,b),(0,x.of)({type:S.aU.VOID})))))))),this.channelsFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_CHANNELS_CLN),(0,D.Z)(()=>(this.store.dispatch((0,O.no)({payload:{action:"FetchChannels",status:S.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.rl.CHANNELS_API+"/listPeerChannels"))),(0,w.T)(a=>{this.logger.info(a),this.store.dispatch((0,O.no)({payload:{action:"FetchChannels",status:S.wn.COMPLETED}}));const b={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return a.forEach(z=>{"CHANNELD_NORMAL"===z.state?z.peer_connected?b.activeChannels.push(z):b.inactiveChannels.push(z):b.pendingChannels.push(z)}),{type:S.TC.SET_CHANNELS_CLN,payload:b}}),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchChannels",S.MZ.NO_SPINNER,"Fetching Channels Failed.",a),(0,x.of)({type:S.aU.VOID}))))),this.openNewChannelCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SAVE_NEW_CHANNEL_CLN),(0,D.Z)(a=>{this.store.dispatch((0,y.mt)({payload:S.MZ.OPEN_CHANNEL})),this.store.dispatch((0,O.no)({payload:{action:"SaveNewChannel",status:S.wn.INITIATED}}));const b={id:a.payload.peerId,amount:a.payload.amount,feerate:a.payload.feeRate,announce:a.payload.announce};return a.payload.minconf&&(b.minconf=a.payload.minconf),a.payload.utxos&&(b.utxos=a.payload.utxos),a.payload.requestAmount&&(b.request_amt=a.payload.requestAmount),a.payload.compactLease&&(b.compact_lease=a.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+S.rl.CHANNELS_API,b).pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,O.no)({payload:{action:"SaveNewChannel",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.OPEN_CHANNEL})),this.store.dispatch((0,y.UI)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,O.g6)()),{type:S.TC.FETCH_CHANNELS_CLN})),(0,f.W)(z=>(this.handleErrorWithoutAlert("SaveNewChannel",S.MZ.OPEN_CHANNEL,"Opening Channel Failed.",z),(0,x.of)({type:S.aU.VOID}))))}))),this.updateChannelCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.UPDATE_CHANNEL_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+S.rl.CHANNELS_API+"/setChannelFee",a.payload).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,y.y0)({payload:S.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,y.UI)("all"===a.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:S.TC.FETCH_CHANNELS_CLN})),(0,f.W)(b=>(this.handleErrorWithAlert("UpdateChannel",S.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+S.rl.CHANNELS_API,b),(0,x.of)({type:S.aU.VOID})))))))),this.closeChannelCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.CLOSE_CHANNEL_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:a.payload.force?S.MZ.FORCE_CLOSE_CHANNEL:S.MZ.CLOSE_CHANNEL})),this.httpClient.post(this.CHILD_API_URL+S.rl.CHANNELS_API+"/close",{id:a.payload.channelId,unilateraltimeout:a.payload.force?1:null}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,y.y0)({payload:a.payload.force?S.MZ.FORCE_CLOSE_CHANNEL:S.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,O.$Q)()),this.store.dispatch((0,O.g6)()),this.store.dispatch((0,y.UI)({payload:"Channel Closed Successfully!"})),{type:S.TC.REMOVE_CHANNEL_CLN,payload:a.payload})),(0,f.W)(b=>(this.handleErrorWithAlert("CloseChannel",a.payload.force?S.MZ.FORCE_CLOSE_CHANNEL:S.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+S.rl.CHANNELS_API,b),(0,x.of)({type:S.aU.VOID})))))))),this.paymentsFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_PAYMENTS_CLN),(0,D.Z)(()=>(this.store.dispatch((0,O.no)({payload:{action:"FetchPayments",status:S.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.rl.PAYMENTS_API))),(0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.no)({payload:{action:"FetchPayments",status:S.wn.COMPLETED}})),{type:S.TC.SET_PAYMENTS_CLN,payload:a||[]})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchPayments",S.MZ.NO_SPINNER,"Fetching Payments Failed.",a),(0,x.of)({type:S.aU.VOID}))))),this.fetchOfferInvoiceCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_OFFER_INVOICE_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.FETCH_INVOICE})),this.store.dispatch((0,O.no)({payload:{action:"FetchOfferInvoice",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.OFFERS_API+"/fetchOfferInvoice",a.payload).pipe((0,w.T)(b=>{this.logger.info(b),setTimeout(()=>{this.store.dispatch((0,O.no)({payload:{action:"FetchOfferInvoice",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.FETCH_INVOICE})),this.store.dispatch((0,O.GZ)({payload:b||{}}))},500)}),(0,f.W)(b=>(this.handleErrorWithoutAlert("FetchOfferInvoice",S.MZ.FETCH_INVOICE,"Offer Invoice Fetch Failed",b),(0,x.of)({type:S.aU.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SET_OFFER_INVOICE_CLN),(0,w.T)(a=>(this.logger.info(a.payload),a.payload))),{dispatch:!1}),this.sendPaymentCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SEND_PAYMENT_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:a.payload.uiMessage})),this.store.dispatch((0,O.no)({payload:{action:"SendPayment",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.PAYMENTS_API,a.payload).pipe((0,w.T)(b=>{this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"SendPayment",status:S.wn.COMPLETED}}));let z="Payment Sent Successfully!";b.saveToDBError&&(z="Payment Sent Successfully but Offer Saving to Database Failed."),b.saveToDBResponse&&"NA"!==b.saveToDBResponse&&(this.store.dispatch((0,O.Db)({payload:b.saveToDBResponse})),z="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,O.$Q)()),this.store.dispatch((0,O.g6)()),this.store.dispatch((0,O.CK)()),this.store.dispatch((0,y.y0)({payload:a.payload.uiMessage})),this.store.dispatch((0,y.UI)({payload:z})),this.store.dispatch((0,O.N4)({payload:b.paymentResponse}))},1e3)}),(0,f.W)(b=>(this.logger.error("Error: "+JSON.stringify(b)),a.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",a.payload.uiMessage,"Send Payment Failed.",b):this.handleErrorWithAlert("SendPayment",a.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+S.rl.PAYMENTS_API,b),(0,x.of)({type:S.aU.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.GET_QUERY_ROUTES_CLN),(0,D.Z)(a=>(this.store.dispatch((0,O.no)({payload:{action:"GetQueryRoutes",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.NETWORK_API+"/getRoute",{id:a.payload.destPubkey,amount_msat:a.payload.amount,riskfactor:0}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"GetQueryRoutes",status:S.wn.COMPLETED}})),{type:S.TC.SET_QUERY_ROUTES_CLN,payload:b})),(0,f.W)(b=>(this.store.dispatch((0,O.Hm)({payload:{route:[]}})),this.handleErrorWithAlert("GetQueryRoutes",S.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+S.rl.NETWORK_API+"/getRoute",b),(0,x.of)({type:S.aU.VOID})))))))),this.setQueryRoutesCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SET_QUERY_ROUTES_CLN),(0,w.T)(a=>a.payload)),{dispatch:!1}),this.peerLookupCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.PEER_LOOKUP_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.SEARCHING_NODE})),this.store.dispatch((0,O.no)({payload:{action:"Lookup",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.NETWORK_API+"/listNodes",{id:a.payload}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"Lookup",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.SEARCHING_NODE})),{type:S.TC.SET_LOOKUP_CLN,payload:b})),(0,f.W)(b=>(this.handleErrorWithAlert("Lookup",S.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+S.rl.NETWORK_API+"/listNodes/"+a.payload,b),(0,x.of)({type:S.aU.VOID})))))))),this.channelLookupCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.CHANNEL_LOOKUP_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:a.payload.uiMessage})),this.store.dispatch((0,O.no)({payload:{action:"Lookup",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.NETWORK_API+"/listChannels",{short_channel_id:a.payload.shortChannelID}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"Lookup",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:a.payload.uiMessage})),{type:S.TC.SET_LOOKUP_CLN,payload:b})),(0,f.W)(b=>(a.payload.showError?this.handleErrorWithAlert("Lookup",a.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+S.rl.NETWORK_API+"/listChannels/"+a.payload.shortChannelID,b):this.store.dispatch((0,y.y0)({payload:a.payload.uiMessage})),this.store.dispatch((0,O.$J)({payload:[]})),(0,x.of)({type:S.aU.VOID})))))))),this.invoiceLookupCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.INVOICE_LOOKUP_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,O.no)({payload:{action:"Lookup",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.INVOICES_API+"/lookup",{label:a.payload}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"Lookup",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.SEARCHING_INVOICE})),b.invoices&&b.invoices.length&&b.invoices.length>0&&this.store.dispatch((0,O.Dq)({payload:b.invoices[0]})),{type:S.TC.SET_LOOKUP_CLN,payload:b.invoices&&b.invoices.length&&b.invoices.length>0?b.invoices[0]:b})),(0,f.W)(b=>(this.handleErrorWithoutAlert("Lookup",S.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",b),this.store.dispatch((0,y.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,x.of)({type:S.aU.VOID})))))))),this.setLookupCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SET_LOOKUP_CLN),(0,w.T)(a=>(this.logger.info(a.payload),a.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.GET_FORWARDING_HISTORY_CLN),(0,D.Z)(a=>{const b=a.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,O.no)({payload:{action:"FetchForwardingHistory"+b,status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.CHANNELS_API+"/listForwards",a.payload).pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,O.no)({payload:{action:"FetchForwardingHistory"+b,status:S.wn.COMPLETED}})),a.payload.status===S.xk.FAILED?this.store.dispatch((0,O.kv)({payload:{status:S.xk.FAILED,totalForwards:z.length,listForwards:z}})):a.payload.status===S.xk.LOCAL_FAILED?this.store.dispatch((0,O.kv)({payload:{status:S.xk.LOCAL_FAILED,totalForwards:z.length,listForwards:z}})):a.payload.status===S.xk.SETTLED&&this.store.dispatch((0,O.kv)({payload:{status:S.xk.SETTLED,totalForwards:z.length,listForwards:z}})),{type:S.aU.VOID})),(0,f.W)(z=>(this.handleErrorWithAlert("FetchForwardingHistory"+b,S.MZ.NO_SPINNER,"Get "+a.payload.status+" Forwarding History Failed",this.CHILD_API_URL+S.rl.CHANNELS_API+"/listForwards",z),(0,x.of)({type:S.aU.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.DELETE_EXPIRED_INVOICE_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.DELETE_INVOICE})),this.httpClient.post(this.CHILD_API_URL+S.rl.INVOICES_API+"/delete",{subsystem:"expiredinvoices",age:S.NG}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,y.y0)({payload:S.MZ.DELETE_INVOICE})),this.store.dispatch((0,y.UI)({payload:b.status})),{type:S.TC.FETCH_INVOICES_CLN})),(0,f.W)(b=>(this.handleErrorWithAlert("DeleteInvoices",S.MZ.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+S.rl.INVOICES_API,b),(0,x.of)({type:S.aU.VOID})))))))),this.saveNewInvoiceCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SAVE_NEW_INVOICE_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.ADD_INVOICE})),this.store.dispatch((0,O.no)({payload:{action:"SaveNewInvoice",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.INVOICES_API,a.payload).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"SaveNewInvoice",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.ADD_INVOICE})),b.amount_msat=a.payload.amount_msat,b.label=a.payload.label,b.expires_at=Math.round((new Date).getTime()/1e3+a.payload.expiry),b.description=a.payload.description,b.status="unpaid",setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{invoice:b,newlyAdded:!0,component:h.y}}}))},200),{type:S.TC.ADD_INVOICE_CLN,payload:b})),(0,f.W)(b=>(this.handleErrorWithoutAlert("SaveNewInvoice",S.MZ.ADD_INVOICE,"Add Invoice Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.saveNewOfferCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SAVE_NEW_OFFER_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.CREATE_OFFER})),this.store.dispatch((0,O.no)({payload:{action:"SaveNewOffer",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.OFFERS_API,a.payload).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"SaveNewOffer",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{offer:b,newlyAdded:!0,component:V.f}}}))},100),{type:S.TC.ADD_OFFER_CLN,payload:b})),(0,f.W)(b=>(this.handleErrorWithoutAlert("SaveNewOffer",S.MZ.CREATE_OFFER,"Create Offer Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.invoicesFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_INVOICES_CLN),(0,D.Z)(()=>(this.store.dispatch((0,O.no)({payload:{action:"FetchInvoices",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.INVOICES_API+"/lookup",null))),(0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.no)({payload:{action:"FetchInvoices",status:S.wn.COMPLETED}})),{type:S.TC.SET_INVOICES_CLN,payload:a})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchInvoices",S.MZ.NO_SPINNER,"Fetching Invoices Failed.",a),(0,x.of)({type:S.aU.VOID}))))),this.offersFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_OFFERS_CLN),(0,D.Z)(a=>(this.store.dispatch((0,O.no)({payload:{action:"FetchOffers",status:S.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.rl.OFFERS_API).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"FetchOffers",status:S.wn.COMPLETED}})),{type:S.TC.SET_OFFERS_CLN,payload:b.offers?b.offers:[]})),(0,f.W)(b=>(this.handleErrorWithoutAlert("FetchOffers",S.MZ.NO_SPINNER,"Fetching Offers Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.offersDisableCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.DISABLE_OFFER_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.DISABLE_OFFER})),this.store.dispatch((0,O.no)({payload:{action:"DisableOffer",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.OFFERS_API+"/disableOffer",{offer_id:a.payload.offer_id}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"DisableOffer",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.DISABLE_OFFER})),this.store.dispatch((0,y.UI)({payload:"Offer Disabled Successfully!"})),{type:S.TC.UPDATE_OFFER_CLN,payload:{offer:b}})),(0,f.W)(b=>(this.handleErrorWithoutAlert("DisableOffer",S.MZ.DISABLE_OFFER,"Disabling Offer Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.offerBookmarksFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_OFFER_BOOKMARKS_CLN),(0,D.Z)(a=>(this.store.dispatch((0,O.no)({payload:{action:"FetchOfferBookmarks",status:S.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.rl.OFFERS_API+"/offerbookmarks").pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"FetchOfferBookmarks",status:S.wn.COMPLETED}})),{type:S.TC.SET_OFFER_BOOKMARKS_CLN,payload:b||[]})),(0,f.W)(b=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",S.MZ.NO_SPINNER,"Fetching Offer Bookmarks Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.peidOffersDeleteCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.DELETE_OFFER_BOOKMARK_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,O.no)({payload:{action:"DeleteOfferBookmark",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.OFFERS_API+"/offerbookmark/delete",{offer_str:a.payload.bolt12}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"DeleteOfferBookmark",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,y.UI)({payload:"Offer Bookmark Deleted Successfully!"})),{type:S.TC.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:a.payload.bolt12}})),(0,f.W)(b=>(this.handleErrorWithAlert("DeleteOfferBookmark",S.MZ.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+S.rl.OFFERS_API+"/offerbookmark/"+a.payload.bolt12,b),(0,x.of)({type:S.aU.VOID})))))))),this.SetChannelTransactionCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SET_CHANNEL_TRANSACTION_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.SEND_FUNDS})),this.store.dispatch((0,O.no)({payload:{action:"SetChannelTransaction",status:S.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.rl.ON_CHAIN_API,a.payload).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"SetChannelTransaction",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.SEND_FUNDS})),this.store.dispatch((0,O.g6)()),{type:S.TC.SET_CHANNEL_TRANSACTION_RES_CLN,payload:b})),(0,f.W)(b=>(this.handleErrorWithoutAlert("SetChannelTransaction",S.MZ.SEND_FUNDS,"Sending Fund Failed.",b),(0,x.of)({type:S.aU.VOID})))))))),this.utxoBalancesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_UTXO_BALANCES_CLN),(0,D.Z)(()=>(this.store.dispatch((0,O.no)({payload:{action:"FetchUTXOBalances",status:S.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.rl.ON_CHAIN_API+"/utxos"))),(0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.no)({payload:{action:"FetchUTXOBalances",status:S.wn.COMPLETED}})),{type:S.TC.SET_UTXO_BALANCES_CLN,payload:a})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchUTXOBalances",S.MZ.NO_SPINNER,"Fetching UTXO and Balances Failed.",a),(0,x.of)({type:S.aU.VOID}))))),this.pageSettingsFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.FETCH_PAGE_SETTINGS_CLN),(0,D.Z)(()=>(this.store.dispatch((0,O.no)({payload:{action:"FetchPageSettings",status:S.wn.INITIATED}})),this.httpClient.get(S.rl.PAGE_SETTINGS_API).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.no)({payload:{action:"FetchPageSettings",status:S.wn.COMPLETED}})),{type:S.TC.SET_PAGE_SETTINGS_CLN,payload:a||[]})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchPageSettings",S.MZ.NO_SPINNER,"Fetching Page Settings Failed.",a),(0,x.of)({type:S.aU.VOID})))))))),this.savePageSettingsCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(S.TC.SAVE_PAGE_SETTINGS_CLN),(0,D.Z)(a=>(this.store.dispatch((0,y.mt)({payload:S.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,O.no)({payload:{action:"SavePageSettings",status:S.wn.INITIATED}})),this.httpClient.post(S.rl.PAGE_SETTINGS_API,a.payload).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.no)({payload:{action:"SavePageSettings",status:S.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:S.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,y.UI)({payload:"Page Layout Updated Successfully!"})),{type:S.TC.SET_PAGE_SETTINGS_CLN,payload:b||[]})),(0,f.W)(b=>(this.handleErrorWithAlert("SavePageSettings",S.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",S.rl.PAGE_SETTINGS_API,b),(0,x.of)({type:S.aU.VOID})))))))),this.store.select(I.ru).pipe((0,l.Q)(this.unSubs[0])).subscribe(a=>{a.FetchInfo.status!==S.wn.COMPLETED&&a.FetchInfo.status!==S.wn.ERROR||a.FetchChannels.status!==S.wn.COMPLETED&&a.FetchChannels.status!==S.wn.ERROR||a.FetchUTXOBalances.status!==S.wn.COMPLETED&&a.FetchUTXOBalances.status!==S.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,y.y0)({payload:S.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,l.Q)(this.unSubs[1])).subscribe(a=>{this.logger.info("Received new message from the service: "+JSON.stringify(a)),a&&a.data&&a.data[S.Jr.INVOICE_PAYMENT]&&a.data[S.Jr.INVOICE_PAYMENT].label&&this.store.dispatch((0,O.Dq)({payload:a.data[S.Jr.INVOICE_PAYMENT]}))})}initializeRemainingData(T,n){this.sessionService.setItem("clnUnlocked","true");const c={identity_pubkey:T.id,alias:T.alias,testnet:"testnet"===T.network.toLowerCase(),chains:T.chains,uris:T.uris,version:T.version,api_version:T.api_version,numberOfPendingChannels:T.num_pending_channels};this.store.dispatch((0,y.mt)({payload:S.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,y.Fl)({payload:c}));let m=this.location.path();m.includes("/lnd/")?m=m?.replace("/lnd/","/cln/"):m.includes("/ecl/")&&(m=m?.replace("/ecl/","/cln/")),(m.includes("/login")||m.includes("/error")||""===m||"HOME"===n||m.includes("?access-key="))&&(m="/cln/home"),this.router.navigate([m]),this.store.dispatch((0,O.Do)()),this.store.dispatch((0,O.$Q)()),this.store.dispatch((0,O.g6)()),this.store.dispatch((0,O.kX)({payload:"perkw"})),this.store.dispatch((0,O.kX)({payload:"perkb"})),this.store.dispatch((0,O.Gy)()),this.store.dispatch((0,O.CK)())}handleErrorWithoutAlert(T,n,c,m){if(this.logger.error("ERROR IN: "+T+"\n"+JSON.stringify(m)),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.Jh)()),this.store.dispatch((0,y.ri)({payload:"Authentication Failed: "+JSON.stringify(m.error)}));else{this.store.dispatch((0,y.y0)({payload:n}));const d=this.commonService.extractErrorMessage(m,c);this.store.dispatch((0,O.no)({payload:{action:T,status:S.wn.ERROR,statusCode:m.status.toString(),message:d}}))}}handleErrorWithAlert(T,n,c,m,d){if(this.logger.error(d),401===d.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.Jh)()),this.store.dispatch((0,y.ri)({payload:"Authentication Failed: "+JSON.stringify(d.error)})),this.store.dispatch((0,y.UI)({payload:"Authentication Failed: "+d.error}));else{this.store.dispatch((0,y.y0)({payload:n}));const C=this.commonService.extractErrorMessage(d);this.store.dispatch((0,y.xO)({payload:{data:{type:"ERROR",alertTitle:c,message:{code:d.status,message:C,URL:m},component:R.f}}})),this.store.dispatch((0,O.no)({payload:{action:T,status:S.wn.ERROR,statusCode:d.status.toString(),message:C,URL:m}}))}}ngOnDestroy(){this.unSubs.forEach(T=>{T.next(null),T.complete()})}static{this.\u0275fac=function(n){return new(n||Ce)(j.KVO(e.En),j.KVO(Y.Qq),j.KVO(W.il),j.KVO(Q.Q),j.KVO(J.h),j.KVO(ie.gP),j.KVO(ee.Ix),j.KVO(fe.I),j.KVO(ne.aZ))}}static{this.\u0275prov=j.jDH({token:Ce,factory:Ce.\u0275fac})}}return Ce})()},9584:(Qe,te,g)=>{"use strict";g.d(te,{Al:()=>O,BM:()=>I,Dv:()=>j,GX:()=>W,Ie:()=>V,KT:()=>f,O5:()=>ie,Pj:()=>y,RB:()=>S,RQ:()=>J,aJ:()=>Y,av:()=>x,ip:()=>ee,kQ:()=>Q,kr:()=>h,mH:()=>D,os:()=>R,ru:()=>w});var e=g(9640);const t=(0,e.UX)("cln"),x=(0,e.Mz)(t,ne=>({pageSettings:ne.pageSettings,apiCallStatus:ne.apisCallStatus.FetchPageSettings})),D=(0,e.Mz)(t,ne=>ne.information),w=((0,e.Mz)(t,ne=>ne.apisCallStatus.FetchInfo),(0,e.Mz)(t,ne=>ne.apisCallStatus)),f=(0,e.Mz)(t,ne=>({payments:ne.payments,apiCallStatus:ne.apisCallStatus.FetchPayments})),R=(0,e.Mz)(t,ne=>({peers:ne.peers,apiCallStatus:ne.apisCallStatus.FetchPeers})),h=(0,e.Mz)(t,ne=>({feeRatesPerKB:ne.feeRatesPerKB,apiCallStatus:ne.apisCallStatus.FetchFeeRatesperkb})),S=(0,e.Mz)(t,ne=>({feeRatesPerKW:ne.feeRatesPerKW,apiCallStatus:ne.apisCallStatus.FetchFeeRatesperkw})),y=(0,e.Mz)(t,ne=>({listInvoices:ne.invoices,apiCallStatus:ne.apisCallStatus.FetchInvoices})),O=(0,e.Mz)(t,ne=>({utxos:ne.utxos,balance:ne.balance,localRemoteBalance:ne.localRemoteBalance,apiCallStatus:ne.apisCallStatus.FetchUTXOBalances})),I=(0,e.Mz)(t,ne=>({activeChannels:ne.activeChannels,pendingChannels:ne.pendingChannels,inactiveChannels:ne.inactiveChannels,apiCallStatus:ne.apisCallStatus.FetchChannels})),V=(0,e.Mz)(t,ne=>({forwardingHistory:ne.forwardingHistory,apiCallStatus:ne.apisCallStatus.FetchForwardingHistoryS})),j=(0,e.Mz)(t,ne=>({failedForwardingHistory:ne.failedForwardingHistory,apiCallStatus:ne.apisCallStatus.FetchForwardingHistoryF})),Y=(0,e.Mz)(t,ne=>({localFailedForwardingHistory:ne.localFailedForwardingHistory,apiCallStatus:ne.apisCallStatus.FetchForwardingHistoryL})),W=(0,e.Mz)(t,ne=>({information:ne.information,balance:ne.balance,numPeers:ne.peers.length})),Q=(0,e.Mz)(t,ne=>({information:ne.information,balance:ne.balance})),J=(0,e.Mz)(t,ne=>({information:ne.information,fees:ne.fees,apisCallStatus:[ne.apisCallStatus.FetchInfo,ne.apisCallStatus.FetchForwardingHistoryS]})),ie=(0,e.Mz)(t,ne=>({offers:ne.offers,apiCallStatus:ne.apisCallStatus.FetchOffers})),ee=(0,e.Mz)(t,ne=>({offersBookmarks:ne.offersBookmarks,apiCallStatus:ne.apisCallStatus.FetchOfferBookmarks}))},8321:(Qe,te,g)=>{"use strict";g.d(te,{y:()=>st});var e=g(5351),t=g(5383),x=g(1413),D=g(6977),l=g(4416),w=g(9584),f=g(4438),R=g(8570),h=g(2571),S=g(5416),y=g(9640),O=g(177),I=g(60),V=g(2920),j=g(6038),Y=g(8834),W=g(5596),Q=g(1997),J=g(9183),ie=g(4823),ee=g(8288),fe=g(9157),ne=g(9587);const Me=me=>({"display-none":me}),Ce=me=>({"xs-scroll-y":me}),le=(me,Ee)=>({"mt-2":me,"mt-1":Ee}),T=me=>({"mr-0":me}),n=()=>[];function c(me,Ee){if(1&me&&f.nrm(0,"qr-code",33),2&me){const ue=f.XpG();f.Y8G("value",(null==ue.invoice?null:ue.invoice.bolt11)||(null==ue.invoice?null:ue.invoice.bolt12))("size",ue.qrWidth)("errorCorrectionLevel","L")}}function m(me,Ee){1&me&&(f.j41(0,"span",34),f.EFF(1,"N/A"),f.k0s())}function d(me,Ee){if(1&me&&f.nrm(0,"span",35),2&me){const ue=f.XpG();f.Y8G("ngClass",f.eq3(1,T,ue.screenSize===ue.screenSizeEnum.XS))}}function C(me,Ee){if(1&me&&f.nrm(0,"span",36),2&me){const ue=f.XpG();f.Y8G("ngClass",f.eq3(1,T,ue.screenSize===ue.screenSizeEnum.XS))}}function A(me,Ee){if(1&me&&f.nrm(0,"span",37),2&me){const ue=f.XpG();f.Y8G("ngClass",f.eq3(1,T,ue.screenSize===ue.screenSizeEnum.XS))}}function k(me,Ee){if(1&me&&f.nrm(0,"qr-code",33),2&me){const ue=f.XpG();f.Y8G("value",(null==ue.invoice?null:ue.invoice.bolt11)||(null==ue.invoice?null:ue.invoice.bolt12))("size",ue.qrWidth)("errorCorrectionLevel","L")}}function _(me,Ee){1&me&&(f.j41(0,"span",38),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function a(me,Ee){1&me&&f.nrm(0,"mat-divider",39)}function b(me,Ee){if(1&me&&(f.j41(0,"div",20)(1,"div",40),f.nrm(2,"fa-icon",41),f.j41(3,"span"),f.EFF(4),f.k0s()()()),2&me){const ue=f.XpG();f.R7$(2),f.Y8G("icon",ue.faExclamationTriangle),f.R7$(2),f.JRh(null==ue.invoice?null:ue.invoice.warning_capacity)}}function z(me,Ee){1&me&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function N(me,Ee){1&me&&f.nrm(0,"span",47)}function q(me,Ee){if(1&me&&(f.j41(0,"div",43)(1,"div",44)(2,"span",45),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,N,1,0,"span",46),f.k0s()()),2&me){const ue=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,(null==ue.invoice?null:ue.invoice.amount_received_msat)/1e3)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,n).constructor(35))}}function pe(me,Ee){if(1&me&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&me){const ue=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,(null==ue.invoice?null:ue.invoice.amount_received_msat)/1e3)," Sats")}}function ze(me,Ee){if(1&me&&(f.qex(0),f.DNE(1,q,6,5,"div",42)(2,pe,3,3,"div",24),f.bVm()),2&me){const ue=f.XpG();f.R7$(),f.Y8G("ngIf",ue.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!ue.flgInvoicePaid)}}function Xe(me,Ee){1&me&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function We(me,Ee){1&me&&f.nrm(0,"mat-spinner",49),2&me&&f.Y8G("diameter",20)}function oe(me,Ee){if(1&me&&(f.qex(0),f.DNE(1,Xe,2,0,"span",24)(2,We,1,1,"mat-spinner",48),f.bVm()),2&me){const ue=f.XpG();f.R7$(),f.Y8G("ngIf","unpaid"!==(null==ue.invoice?null:ue.invoice.status)),f.R7$(),f.Y8G("ngIf","unpaid"===(null==ue.invoice?null:ue.invoice.status))}}function X(me,Ee){if(1&me&&(f.j41(0,"div"),f.nrm(1,"mat-divider",26),f.j41(2,"div",20)(3,"div",27)(4,"h4",22),f.EFF(5,"Payment Hash"),f.k0s(),f.j41(6,"span",25),f.EFF(7),f.k0s()()(),f.nrm(8,"mat-divider",26),f.j41(9,"div",20)(10,"div",27)(11,"h4",22),f.EFF(12,"Label"),f.k0s(),f.j41(13,"span",25),f.EFF(14),f.k0s()()(),f.nrm(15,"mat-divider",26),f.k0s()),2&me){const ue=f.XpG();f.R7$(7),f.JRh(null==ue.invoice?null:ue.invoice.payment_hash),f.R7$(7),f.JRh(null==ue.invoice?null:ue.invoice.label)}}function se(me,Ee){1&me&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function ae(me,Ee){1&me&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function he(me,Ee){if(1&me){const ue=f.RV6();f.j41(0,"button",50),f.bIt("copied",function(Ct){f.eBV(ue);const ct=f.XpG();return f.Njj(ct.onCopyPayment(Ct))}),f.EFF(1,"Copy Invoice"),f.k0s()}if(2&me){const ue=f.XpG();f.Y8G("payload",(null==ue.invoice?null:ue.invoice.bolt11)||(null==ue.invoice?null:ue.invoice.bolt12))}}function Ie(me,Ee){if(1&me){const ue=f.RV6();f.j41(0,"button",51),f.bIt("click",function(){f.eBV(ue);const Ct=f.XpG();return f.Njj(Ct.onClose())}),f.EFF(1,"OK"),f.k0s()}}let st=(()=>{class me{constructor(ue,Be,Ct,ct,dt,Yt){this.dialogRef=ue,this.data=Be,this.logger=Ct,this.commonService=ct,this.snackBar=dt,this.store=Yt,this.faReceipt=t.Mf0,this.faExclamationTriangle=t.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.invoiceStatus="",this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.f7,this.flgInvoicePaid=!1,this.unSubs=[new x.B,new x.B,new x.B,new x.B,new x.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(w.Pj).pipe((0,D.Q)(this.unSubs[1])).subscribe(ue=>{const Ct=(ue.listInvoices.invoices||[])?.find(ct=>ct.payment_hash===this.invoice.payment_hash)||null;Ct&&(this.invoice=Ct),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(Ct),this.logger.info(ue)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(ue){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+ue)}ngOnDestroy(){this.unSubs.forEach(ue=>{ue.next(null),ue.complete()})}static{this.\u0275fac=function(Be){return new(Be||me)(f.rXU(e.CP),f.rXU(e.Vh),f.rXU(R.gP),f.rXU(h.h),f.rXU(S.UG),f.rXU(y.il))}}static{this.\u0275cmp=f.VBU({type:me,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(Be,Ct){if(1&Be){const ct=f.RV6();f.j41(0,"div",1)(1,"div",2),f.DNE(2,c,1,3,"qr-code",3)(3,m,2,0,"span",4),f.k0s(),f.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),f.nrm(7,"fa-icon",8),f.j41(8,"span",9),f.EFF(9),f.DNE(10,d,1,3,"span",10)(11,C,1,3,"span",11)(12,A,1,3,"span",12),f.k0s()(),f.j41(13,"button",13),f.bIt("click",function(){return f.eBV(ct),f.Njj(Ct.onClose())}),f.EFF(14,"X"),f.k0s()(),f.j41(15,"mat-card-content",14)(16,"div",15)(17,"div",16),f.DNE(18,k,1,3,"qr-code",3)(19,_,2,0,"span",17),f.k0s(),f.DNE(20,a,1,0,"mat-divider",18)(21,b,5,2,"div",19),f.j41(22,"div",20)(23,"div",21)(24,"h4",22),f.EFF(25),f.k0s(),f.j41(26,"span",23),f.EFF(27),f.nI1(28,"number"),f.DNE(29,z,2,0,"ng-container",24),f.k0s()(),f.j41(30,"div",21)(31,"h4",22),f.EFF(32,"Amount Received"),f.k0s(),f.j41(33,"span",25),f.DNE(34,ze,3,2,"ng-container",24)(35,oe,3,2,"ng-container",24),f.k0s()()(),f.nrm(36,"mat-divider",26),f.j41(37,"div",20)(38,"div",21)(39,"h4",22),f.EFF(40,"Date Expiry"),f.k0s(),f.j41(41,"span",23),f.EFF(42),f.nI1(43,"date"),f.k0s()(),f.j41(44,"div",21)(45,"h4",22),f.EFF(46,"Date Settled"),f.k0s(),f.j41(47,"span",23),f.EFF(48),f.nI1(49,"date"),f.k0s()()(),f.nrm(50,"mat-divider",26),f.j41(51,"div",20)(52,"div",27)(53,"h4",22),f.EFF(54,"Description"),f.k0s(),f.j41(55,"span",23),f.EFF(56),f.k0s()()(),f.nrm(57,"mat-divider",26),f.j41(58,"div",20)(59,"div",27)(60,"h4",22),f.EFF(61),f.k0s(),f.j41(62,"span",25),f.EFF(63),f.k0s()()(),f.DNE(64,X,16,2,"div",24),f.j41(65,"div",28)(66,"button",29),f.bIt("click",function(){return f.eBV(ct),f.Njj(Ct.onShowAdvanced())}),f.DNE(67,se,2,0,"p",30)(68,ae,2,0,"ng-template",null,0,f.C5r),f.k0s(),f.DNE(70,he,2,1,"button",31)(71,Ie,2,0,"button",32),f.k0s()()()()()}if(2&Be){const ct=f.sdS(69);f.R7$(),f.Y8G("fxLayoutAlign",null!=Ct.invoice&&Ct.invoice.bolt11&&""!==(null==Ct.invoice?null:Ct.invoice.bolt11)||null!=Ct.invoice&&Ct.invoice.bolt12&&""!==(null==Ct.invoice?null:Ct.invoice.bolt12)?"center start":"center center")("ngClass",f.eq3(40,Me,Ct.screenSize===Ct.screenSizeEnum.XS||Ct.screenSize===Ct.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Ct.invoice?null:Ct.invoice.bolt11)&&""!==(null==Ct.invoice?null:Ct.invoice.bolt11)||(null==Ct.invoice?null:Ct.invoice.bolt12)&&""!==(null==Ct.invoice?null:Ct.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=Ct.invoice&&Ct.invoice.bolt11||null!=Ct.invoice&&Ct.invoice.bolt12)),f.R7$(4),f.Y8G("icon",Ct.faReceipt),f.R7$(2),f.SpI(" ",Ct.screenSize===Ct.screenSizeEnum.XS?Ct.newlyAdded?"Created":"Invoice":Ct.newlyAdded?"Invoice Created":"Invoice Information"," "),f.R7$(),f.Y8G("ngIf","paid"===(null==Ct.invoice?null:Ct.invoice.status)),f.R7$(),f.Y8G("ngIf","unpaid"===(null==Ct.invoice?null:Ct.invoice.status)),f.R7$(),f.Y8G("ngIf","expired"===(null==Ct.invoice?null:Ct.invoice.status)),f.R7$(3),f.Y8G("ngClass",f.eq3(42,Ce,Ct.screenSize===Ct.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=Ct.invoice&&Ct.invoice.bolt11&&""!==(null==Ct.invoice?null:Ct.invoice.bolt11)||null!=Ct.invoice&&Ct.invoice.bolt12&&""!==(null==Ct.invoice?null:Ct.invoice.bolt12)?"center start":"center center")("ngClass",f.eq3(44,Me,Ct.screenSize!==Ct.screenSizeEnum.XS&&Ct.screenSize!==Ct.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Ct.invoice?null:Ct.invoice.bolt11)&&""!==(null==Ct.invoice?null:Ct.invoice.bolt11)||(null==Ct.invoice?null:Ct.invoice.bolt12)&&""!==(null==Ct.invoice?null:Ct.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=Ct.invoice&&Ct.invoice.bolt11||null!=Ct.invoice&&Ct.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",Ct.screenSize===Ct.screenSizeEnum.XS||Ct.screenSize===Ct.screenSizeEnum.SM),f.R7$(),f.Y8G("ngIf",null==Ct.invoice?null:Ct.invoice.warning_capacity),f.R7$(4),f.JRh(Ct.screenSize===Ct.screenSizeEnum.XS?"Amount":"Amount Requested"),f.R7$(2),f.SpI(" ",f.bMT(28,32,(null==Ct.invoice?null:Ct.invoice.amount_msat)/1e3||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=Ct.invoice&&Ct.invoice.amount_msat)||"0"===(null==Ct.invoice?null:Ct.invoice.amount_msat)||"any"===(null==Ct.invoice?null:Ct.invoice.amount_msat)),f.R7$(5),f.Y8G("ngIf","paid"===(null==Ct.invoice?null:Ct.invoice.status)),f.R7$(),f.Y8G("ngIf","paid"!==(null==Ct.invoice?null:Ct.invoice.status)),f.R7$(7),f.JRh(f.i5U(43,34,1e3*(null==Ct.invoice?null:Ct.invoice.expires_at),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.i5U(49,37,1e3*(null==Ct.invoice?null:Ct.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),f.R7$(8),f.JRh((null==Ct.invoice?null:Ct.invoice.description)||"-"),f.R7$(5),f.SpI("",null!=Ct.invoice&&Ct.invoice.bolt12?"Bolt12":null!=Ct.invoice&&Ct.invoice.bolt11&&!Ct.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),f.R7$(2),f.JRh((null==Ct.invoice?null:Ct.invoice.bolt11)||(null==Ct.invoice?null:Ct.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",Ct.showAdvanced),f.R7$(),f.Y8G("ngClass",f.l_i(46,le,!Ct.showAdvanced,Ct.showAdvanced)),f.R7$(2),f.Y8G("ngIf",!Ct.showAdvanced)("ngIfElse",ct),f.R7$(3),f.Y8G("ngIf",(null==Ct.invoice?null:Ct.invoice.bolt11)&&""!==(null==Ct.invoice?null:Ct.invoice.bolt11)||(null==Ct.invoice?null:Ct.invoice.bolt12)&&""!==(null==Ct.invoice?null:Ct.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=Ct.invoice&&Ct.invoice.bolt11||null!=Ct.invoice&&Ct.invoice.bolt12))}},dependencies:[O.YU,O.Sq,O.bT,I.aY,V.DJ,V.sA,V.UI,j.PW,Y.$z,W.m2,W.MM,Q.q,J.LG,ie.oV,ee.Um,fe.U,ne.N,O.QX,O.vh]})}}return me})()},2142:(Qe,te,g)=>{"use strict";g.d(te,{f:()=>q});var e=g(5351),t=g(5383),x=g(1413),D=g(6977),l=g(4416),w=g(4438),f=g(8570),R=g(2571),h=g(5416),S=g(1534),y=g(177),O=g(60),I=g(2920),V=g(6038),j=g(8834),Y=g(5596),W=g(1997),Q=g(8288),J=g(9157),ie=g(9587);const ee=pe=>({"display-none":pe}),fe=pe=>({"xs-scroll-y":pe}),ne=(pe,ze)=>({"mt-2":pe,"mt-1":ze});function Me(pe,ze){if(1&pe&&w.nrm(0,"qr-code",28),2&pe){const Xe=w.XpG();w.Y8G("value",null==Xe.offer?null:Xe.offer.bolt12)("size",Xe.qrWidth)("errorCorrectionLevel","L")}}function Ce(pe,ze){1&pe&&(w.j41(0,"span",29),w.EFF(1,"N/A"),w.k0s())}function le(pe,ze){if(1&pe&&w.nrm(0,"qr-code",28),2&pe){const Xe=w.XpG();w.Y8G("value",null==Xe.offer?null:Xe.offer.bolt12)("size",Xe.qrWidth)("errorCorrectionLevel","L")}}function T(pe,ze){1&pe&&(w.j41(0,"span",30),w.EFF(1,"QR Code Not Applicable"),w.k0s())}function n(pe,ze){1&pe&&w.nrm(0,"mat-divider",31),2&pe&&w.Y8G("inset",!0)}function c(pe,ze){1&pe&&w.nrm(0,"mat-divider",20)}function m(pe,ze){if(1&pe&&(w.j41(0,"div",16)(1,"div",17)(2,"h4",18),w.EFF(3,"Used"),w.k0s(),w.j41(4,"span",19),w.EFF(5),w.k0s()(),w.j41(6,"div",17)(7,"h4",18),w.EFF(8,"Single Use"),w.k0s(),w.j41(9,"span",19),w.EFF(10),w.k0s()()()),2&pe){const Xe=w.XpG(2);w.R7$(5),w.SpI(" ",null!=Xe.offer&&Xe.offer.used?null!=Xe.offer&&Xe.offer.used?"Yes":"No":"N/K"," "),w.R7$(5),w.SpI(" ",null!=Xe.offer&&Xe.offer.single_use?null!=Xe.offer&&Xe.offer.single_use?"Yes":"No":"N/K"," ")}}function d(pe,ze){1&pe&&w.nrm(0,"mat-divider",20)}function C(pe,ze){if(1&pe&&(w.j41(0,"div",16)(1,"div",21)(2,"h4",18),w.EFF(3,"Issuer"),w.k0s(),w.j41(4,"span",34),w.EFF(5),w.k0s()()()),2&pe){const Xe=w.XpG(2);w.R7$(5),w.JRh(null==Xe.offerDecoded?null:Xe.offerDecoded.offer_issuer)}}function A(pe,ze){1&pe&&w.nrm(0,"mat-divider",20)}function k(pe,ze){if(1&pe&&(w.j41(0,"div",16)(1,"div",21)(2,"h4",18),w.EFF(3,"Label"),w.k0s(),w.j41(4,"span",19),w.EFF(5),w.k0s()()()),2&pe){const Xe=w.XpG(2);w.R7$(5),w.JRh(Xe.offer.label)}}function _(pe,ze){if(1&pe&&(w.j41(0,"div"),w.DNE(1,c,1,0,"mat-divider",32)(2,m,11,2,"div",33)(3,d,1,0,"mat-divider",32)(4,C,6,1,"div",33)(5,A,1,0,"mat-divider",32)(6,k,6,1,"div",33),w.nrm(7,"mat-divider",20),w.j41(8,"div",16)(9,"div",21)(10,"h4",18),w.EFF(11,"Offer ID"),w.k0s(),w.j41(12,"span",19),w.EFF(13),w.k0s()()(),w.nrm(14,"mat-divider",20),w.j41(15,"div",16)(16,"div",21)(17,"h4",18),w.EFF(18,"Offer Node ID"),w.k0s(),w.j41(19,"span",19),w.EFF(20),w.k0s()()(),w.nrm(21,"mat-divider",20),w.k0s()),2&pe){const Xe=w.XpG();w.R7$(),w.Y8G("ngIf",(null==Xe.offer?null:Xe.offer.used)||(null==Xe.offer?null:Xe.offer.single_use)),w.R7$(),w.Y8G("ngIf",(null==Xe.offer?null:Xe.offer.used)||(null==Xe.offer?null:Xe.offer.single_use)),w.R7$(),w.Y8G("ngIf",null==Xe.offerDecoded?null:Xe.offerDecoded.issuer),w.R7$(),w.Y8G("ngIf",null==Xe.offerDecoded?null:Xe.offerDecoded.issuer),w.R7$(),w.Y8G("ngIf",Xe.offer.label),w.R7$(),w.Y8G("ngIf",Xe.offer.label),w.R7$(7),w.JRh(Xe.offerDecoded.offer_id),w.R7$(7),w.JRh(null==Xe.offerDecoded?null:Xe.offerDecoded.offer_node_id)}}function a(pe,ze){1&pe&&(w.j41(0,"p"),w.EFF(1,"Show Advanced"),w.k0s())}function b(pe,ze){1&pe&&(w.j41(0,"p"),w.EFF(1,"Hide Advanced"),w.k0s())}function z(pe,ze){if(1&pe){const Xe=w.RV6();w.j41(0,"button",35),w.bIt("copied",function(oe){w.eBV(Xe);const X=w.XpG();return w.Njj(X.onCopyOffer(oe))}),w.EFF(1,"Copy Offer"),w.k0s()}if(2&pe){const Xe=w.XpG();w.Y8G("payload",null==Xe.offer?null:Xe.offer.bolt12)}}function N(pe,ze){if(1&pe){const Xe=w.RV6();w.j41(0,"button",36),w.bIt("click",function(){w.eBV(Xe);const oe=w.XpG();return w.Njj(oe.onClose())}),w.EFF(1,"OK"),w.k0s()}}let q=(()=>{class pe{constructor(Xe,We,oe,X,se,ae){this.dialogRef=Xe,this.data=We,this.logger=oe,this.commonService=X,this.snackBar=se,this.dataService=ae,this.faReceipt=t.Mf0,this.faExclamationTriangle=t.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.f7,this.flgOfferPaid=!1,this.unSubs=[new x.B,new x.B,new x.B,new x.B,new x.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,D.Q)(this.unSubs[1])).subscribe(Xe=>{this.offerDecoded=Xe,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(Xe){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+Xe)}ngOnDestroy(){this.unSubs.forEach(Xe=>{Xe.next(null),Xe.complete()})}static{this.\u0275fac=function(We){return new(We||pe)(w.rXU(e.CP),w.rXU(e.Vh),w.rXU(f.gP),w.rXU(R.h),w.rXU(h.UG),w.rXU(S.u))}}static{this.\u0275cmp=w.VBU({type:pe,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(We,oe){if(1&We){const X=w.RV6();w.j41(0,"div",1)(1,"div",2),w.DNE(2,Me,1,3,"qr-code",3)(3,Ce,2,0,"span",4),w.k0s(),w.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),w.nrm(7,"fa-icon",8),w.j41(8,"span",9),w.EFF(9),w.k0s()(),w.j41(10,"button",10),w.bIt("click",function(){return w.eBV(X),w.Njj(oe.onClose())}),w.EFF(11,"X"),w.k0s()(),w.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),w.DNE(15,le,1,3,"qr-code",3)(16,T,2,0,"span",14),w.k0s(),w.DNE(17,n,1,1,"mat-divider",15),w.j41(18,"div",16)(19,"div",17)(20,"h4",18),w.EFF(21,"Amount Requested (Sats)"),w.k0s(),w.j41(22,"span",19),w.EFF(23),w.nI1(24,"number"),w.k0s()(),w.j41(25,"div",17)(26,"h4",18),w.EFF(27,"Valid"),w.k0s(),w.j41(28,"span",19),w.EFF(29),w.k0s()()(),w.nrm(30,"mat-divider",20),w.j41(31,"div",16)(32,"div",21)(33,"h4",18),w.EFF(34,"Description"),w.k0s(),w.j41(35,"span",19),w.EFF(36),w.k0s()()(),w.nrm(37,"mat-divider",20),w.j41(38,"div",16)(39,"div",21)(40,"h4",18),w.EFF(41,"Offer"),w.k0s(),w.j41(42,"span",19),w.EFF(43),w.k0s()()(),w.DNE(44,_,22,8,"div",22),w.j41(45,"div",23)(46,"button",24),w.bIt("click",function(){return w.eBV(X),w.Njj(oe.onShowAdvanced())}),w.DNE(47,a,2,0,"p",25)(48,b,2,0,"ng-template",null,0,w.C5r),w.k0s(),w.DNE(50,z,2,1,"button",26)(51,N,2,0,"button",27),w.k0s()()()()()}if(2&We){const X=w.sdS(49);w.R7$(),w.Y8G("fxLayoutAlign",null!=oe.offer&&oe.offer.bolt12&&""!==(null==oe.offer?null:oe.offer.bolt12)?"center start":"center center")("ngClass",w.eq3(24,ee,oe.screenSize===oe.screenSizeEnum.XS||oe.screenSize===oe.screenSizeEnum.SM)),w.R7$(),w.Y8G("ngIf",(null==oe.offer?null:oe.offer.bolt12)&&""!==(null==oe.offer?null:oe.offer.bolt12)),w.R7$(),w.Y8G("ngIf",!(null!=oe.offer&&oe.offer.bolt12)||""===(null==oe.offer?null:oe.offer.bolt12)),w.R7$(4),w.Y8G("icon",oe.faReceipt),w.R7$(2),w.JRh(oe.screenSize===oe.screenSizeEnum.XS?oe.newlyAdded?"Created":"Offer":oe.newlyAdded?"Offer Created":"Offer Information"),w.R7$(3),w.Y8G("ngClass",w.eq3(26,fe,oe.screenSize===oe.screenSizeEnum.XS)),w.R7$(2),w.Y8G("fxLayoutAlign",null!=oe.offer&&oe.offer.bolt12&&""!==(null==oe.offer?null:oe.offer.bolt12)?"center start":"center center")("ngClass",w.eq3(28,ee,oe.screenSize!==oe.screenSizeEnum.XS&&oe.screenSize!==oe.screenSizeEnum.SM)),w.R7$(),w.Y8G("ngIf",(null==oe.offer?null:oe.offer.bolt12)&&""!==(null==oe.offer?null:oe.offer.bolt12)),w.R7$(),w.Y8G("ngIf",!(null!=oe.offer&&oe.offer.bolt12)||""===(null==oe.offer?null:oe.offer.bolt12)),w.R7$(),w.Y8G("ngIf",oe.screenSize===oe.screenSizeEnum.XS||oe.screenSize===oe.screenSizeEnum.SM),w.R7$(6),w.SpI(" ",null!=oe.offerDecoded&&oe.offerDecoded.offer_amount_msat&&0!==(null==oe.offerDecoded?null:oe.offerDecoded.offer_amount_msat)?w.bMT(24,22,(null==oe.offerDecoded?null:oe.offerDecoded.offer_amount_msat)/1e3):"Open Offer"," "),w.R7$(6),w.SpI(" ",null!=oe.offerDecoded&&oe.offerDecoded.valid?null!=oe.offerDecoded&&oe.offerDecoded.valid?"Yes":"No":"N/K"," "),w.R7$(7),w.SpI(" ",null==oe.offerDecoded?null:oe.offerDecoded.offer_description," "),w.R7$(7),w.JRh(null==oe.offer?null:oe.offer.bolt12),w.R7$(),w.Y8G("ngIf",oe.showAdvanced),w.R7$(),w.Y8G("ngClass",w.l_i(30,ne,!oe.showAdvanced,oe.showAdvanced)),w.R7$(2),w.Y8G("ngIf",!oe.showAdvanced)("ngIfElse",X),w.R7$(3),w.Y8G("ngIf",(null==oe.offer?null:oe.offer.bolt12)&&""!==(null==oe.offer?null:oe.offer.bolt12)),w.R7$(),w.Y8G("ngIf",!(null!=oe.offer&&oe.offer.bolt12)||""===(null==oe.offer?null:oe.offer.bolt12))}},dependencies:[y.YU,y.bT,O.aY,I.DJ,I.sA,I.UI,V.PW,j.$z,Y.m2,Y.MM,W.q,Q.Um,J.U,ie.N,y.QX]})}}return pe})()},5428:(Qe,te,g)=>{"use strict";g.d(te,{$6:()=>We,$Q:()=>O,As:()=>q,CK:()=>A,Do:()=>Xe,Dq:()=>se,Fd:()=>b,Gy:()=>ie,Hh:()=>D,Hm:()=>a,I6:()=>j,Jx:()=>X,Lc:()=>Ce,Lz:()=>pe,N4:()=>z,N8:()=>Q,NS:()=>w,Qj:()=>ee,Sn:()=>f,T4:()=>_,Tp:()=>I,Uj:()=>k,Uo:()=>y,XT:()=>T,Xx:()=>W,Yi:()=>he,ZE:()=>J,Zi:()=>le,cR:()=>C,cU:()=>V,fy:()=>m,gZ:()=>st,iO:()=>oe,jJ:()=>Y,lg:()=>l,mh:()=>N,sq:()=>fe,uL:()=>x,vL:()=>c,w0:()=>d,x1:()=>h,yn:()=>me,yp:()=>S,zR:()=>R,zU:()=>ae});var e=g(9640),t=g(4416);const x=(0,e.VP)(t.Uu.UPDATE_API_CALL_STATUS_ECL,(0,e.xk)()),D=(0,e.VP)(t.Uu.RESET_ECL_STORE),l=(0,e.VP)(t.Uu.FETCH_PAGE_SETTINGS_ECL),w=(0,e.VP)(t.Uu.SET_PAGE_SETTINGS_ECL,(0,e.xk)()),f=(0,e.VP)(t.Uu.SAVE_PAGE_SETTINGS_ECL,(0,e.xk)()),R=(0,e.VP)(t.Uu.FETCH_INFO_ECL,(0,e.xk)()),h=(0,e.VP)(t.Uu.SET_INFO_ECL,(0,e.xk)()),S=(0,e.VP)(t.Uu.FETCH_FEES_ECL),y=(0,e.VP)(t.Uu.SET_FEES_ECL,(0,e.xk)()),O=(0,e.VP)(t.Uu.FETCH_CHANNELS_ECL),I=(0,e.VP)(t.Uu.SET_ACTIVE_CHANNELS_ECL,(0,e.xk)()),V=(0,e.VP)(t.Uu.SET_PENDING_CHANNELS_ECL,(0,e.xk)()),j=(0,e.VP)(t.Uu.SET_INACTIVE_CHANNELS_ECL,(0,e.xk)()),Y=(0,e.VP)(t.Uu.FETCH_ONCHAIN_BALANCE_ECL),W=(0,e.VP)(t.Uu.SET_ONCHAIN_BALANCE_ECL,(0,e.xk)()),Q=(0,e.VP)(t.Uu.SET_LIGHTNING_BALANCE_ECL,(0,e.xk)()),J=(0,e.VP)(t.Uu.SET_CHANNELS_STATUS_ECL,(0,e.xk)()),ie=(0,e.VP)(t.Uu.FETCH_PEERS_ECL),ee=(0,e.VP)(t.Uu.SET_PEERS_ECL,(0,e.xk)()),fe=(0,e.VP)(t.Uu.SAVE_NEW_PEER_ECL,(0,e.xk)()),Ce=((0,e.VP)(t.Uu.NEWLY_ADDED_PEER_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.ADD_PEER_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.DETACH_PEER_ECL,(0,e.xk)())),le=(0,e.VP)(t.Uu.REMOVE_PEER_ECL,(0,e.xk)()),T=(0,e.VP)(t.Uu.GET_NEW_ADDRESS_ECL),c=((0,e.VP)(t.Uu.SET_NEW_ADDRESS_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.SAVE_NEW_CHANNEL_ECL,(0,e.xk)())),m=(0,e.VP)(t.Uu.UPDATE_CHANNEL_ECL,(0,e.xk)()),d=(0,e.VP)(t.Uu.CLOSE_CHANNEL_ECL,(0,e.xk)()),C=(0,e.VP)(t.Uu.REMOVE_CHANNEL_ECL,(0,e.xk)()),A=(0,e.VP)(t.Uu.FETCH_PAYMENTS_ECL,(0,e.xk)()),k=(0,e.VP)(t.Uu.SET_PAYMENTS_ECL,(0,e.xk)()),_=(0,e.VP)(t.Uu.GET_QUERY_ROUTES_ECL,(0,e.xk)()),a=(0,e.VP)(t.Uu.SET_QUERY_ROUTES_ECL,(0,e.xk)()),b=(0,e.VP)(t.Uu.SEND_PAYMENT_ECL,(0,e.xk)()),z=(0,e.VP)(t.Uu.SEND_PAYMENT_STATUS_ECL,(0,e.xk)()),N=(0,e.VP)(t.Uu.FETCH_TRANSACTIONS_ECL,(0,e.xk)()),q=(0,e.VP)(t.Uu.SET_TRANSACTIONS_ECL,(0,e.xk)()),pe=(0,e.VP)(t.Uu.SEND_ONCHAIN_FUNDS_ECL,(0,e.xk)()),Xe=((0,e.VP)(t.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.FETCH_INVOICES_ECL,(0,e.xk)())),We=(0,e.VP)(t.Uu.SET_INVOICES_ECL,(0,e.xk)()),oe=(0,e.VP)(t.Uu.CREATE_INVOICE_ECL,(0,e.xk)()),X=(0,e.VP)(t.Uu.ADD_INVOICE_ECL,(0,e.xk)()),se=(0,e.VP)(t.Uu.UPDATE_INVOICE_ECL,(0,e.xk)()),ae=(0,e.VP)(t.Uu.PEER_LOOKUP_ECL,(0,e.xk)()),he=(0,e.VP)(t.Uu.INVOICE_LOOKUP_ECL,(0,e.xk)()),st=((0,e.VP)(t.Uu.SET_LOOKUP_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.UPDATE_CHANNEL_STATE_ECL,(0,e.xk)())),me=(0,e.VP)(t.Uu.UPDATE_RELAYED_PAYMENT_ECL,(0,e.xk)())},3017:(Qe,te,g)=>{"use strict";g.d(te,{B:()=>ne});var e=g(4054),t=g(1413),x=g(7673),D=g(1397),l=g(6977),w=g(6354),f=g(9437),R=g(2462),h=g(4416),S=g(1771),y=g(6439),O=g(5428),I=g(2730),V=g(4438),j=g(1626),Y=g(9640),W=g(3202),Q=g(2571),J=g(8570),ie=g(1188),ee=g(7879),fe=g(177);let ne=(()=>{class Me{constructor(le,T,n,c,m,d,C,A,k){this.actions=le,this.httpClient=T,this.store=n,this.sessionService=c,this.commonService=m,this.logger=d,this.router=C,this.wsService=A,this.location=k,this.CHILD_API_URL=h.H$+"/ecl",this.invoicesPageSettings=h.X8.find(_=>"transactions"===_.pageId)?.tables.find(_=>"invoices"===_.tableId),this.paymentsPageSettings=h.X8.find(_=>"transactions"===_.pageId)?.tables.find(_=>"payments"===_.tableId),this.flgInitialized=!1,this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.rawChannelsList=[],this.unSubs=[new t.B,new t.B,new t.B],this.infoFetchECL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_INFO_ECL),(0,D.Z)(_=>(this.flgInitialized=!1,this.store.dispatch((0,S.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,S.mt)({payload:h.MZ.GET_NODE_INFO})),this.store.dispatch((0,O.uL)({payload:{action:"FetchInfo",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.GETINFO_API).pipe((0,l.Q)(this.actions.pipe((0,e.gp)(h.aU.SET_SELECTED_NODE))),(0,w.T)(a=>(this.logger.info(a),this.initializeRemainingData(a,_.payload.loadPage),this.store.dispatch((0,O.uL)({payload:{action:"FetchInfo",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.GET_NODE_INFO})),{type:h.Uu.SET_INFO_ECL,payload:a||{}})),(0,f.W)(a=>{const b=this.commonService.extractErrorCode(a),z=503===b?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(a);return this.router.navigate(["/error"],{state:{errorCode:b,errorMessage:z}}),this.handleErrorWithoutAlert("FetchInfo",h.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:b,error:z}),(0,x.of)({type:h.aU.VOID})})))))),this.fetchFees=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_FEES_ECL),(0,D.Z)(()=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchFees",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.FEES_API+"/fees").pipe((0,w.T)(_=>(this.logger.info(_),this.store.dispatch((0,O.uL)({payload:{action:"FetchFees",status:h.wn.COMPLETED}})),{type:h.Uu.SET_FEES_ECL,payload:_||{}})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchFees",h.MZ.NO_SPINNER,"Fetching Fees Failed.",_),(0,x.of)({type:h.aU.VOID})))))))),this.fetchPayments=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_PAYMENTS_ECL),(0,D.Z)(_=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchPayments",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.FEES_API+"/payments?count="+_.payload.count+"&skip="+_.payload.skip).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"FetchPayments",status:h.wn.COMPLETED}})),{type:h.Uu.SET_PAYMENTS_ECL,payload:a||{}})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchPayments",h.MZ.NO_SPINNER,"Fetching Payments Failed.",a),(0,x.of)({type:h.aU.VOID})))))))),this.channelsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_CHANNELS_ECL),(0,D.Z)(_=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchChannels",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.CHANNELS_API).pipe((0,w.T)(a=>(this.logger.info(a),this.rawChannelsList=a,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,O.uL)({payload:{action:"FetchChannels",status:h.wn.COMPLETED}})),{type:h.aU.VOID})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchChannels",h.MZ.NO_SPINNER,"Fetching Channels Failed.",a),(0,x.of)({type:h.aU.VOID})))))))),this.fetchOnchainBalance=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_ONCHAIN_BALANCE_ECL),(0,D.Z)(()=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchOnchainBalance",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.ON_CHAIN_API+"/balance"))),(0,w.T)(_=>(this.logger.info(_),this.store.dispatch((0,O.uL)({payload:{action:"FetchOnchainBalance",status:h.wn.COMPLETED}})),{type:h.Uu.SET_ONCHAIN_BALANCE_ECL,payload:_||{}})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchOnchainBalance",h.MZ.NO_SPINNER,"Fetching Onchain Balances Failed.",_),(0,x.of)({type:h.aU.VOID}))))),this.peersFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_PEERS_ECL),(0,D.Z)(()=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchPeers",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.PEERS_API).pipe((0,w.T)(_=>(this.logger.info(_),this.store.dispatch((0,O.uL)({payload:{action:"FetchPeers",status:h.wn.COMPLETED}})),{type:h.Uu.SET_PEERS_ECL,payload:_||[]})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchPeers",h.MZ.NO_SPINNER,"Fetching Peers Failed.",_),(0,x.of)({type:h.aU.VOID})))))))),this.getNewAddress=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.GET_NEW_ADDRESS_ECL),(0,D.Z)(()=>(this.store.dispatch((0,S.mt)({payload:h.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+h.rl.ON_CHAIN_API).pipe((0,w.T)(_=>(this.logger.info(_),this.store.dispatch((0,S.y0)({payload:h.MZ.GENERATE_NEW_ADDRESS})),{type:h.Uu.SET_NEW_ADDRESS_ECL,payload:_})),(0,f.W)(_=>(this.handleErrorWithAlert("GetNewAddress",h.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+h.rl.ON_CHAIN_API,_),(0,x.of)({type:h.aU.VOID})))))))),this.setNewAddress=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SET_NEW_ADDRESS_ECL),(0,w.T)(_=>(this.logger.info(_.payload),_.payload))),{dispatch:!1}),this.saveNewPeer=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SAVE_NEW_PEER_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.CONNECT_PEER})),this.store.dispatch((0,O.uL)({payload:{action:"SaveNewPeer",status:h.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+h.rl.PEERS_API+(_.payload.id.includes("@")?"?uri=":"?nodeId=")+_.payload.id,{}).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"SaveNewPeer",status:h.wn.COMPLETED}})),a=a||[],this.store.dispatch((0,S.y0)({payload:h.MZ.CONNECT_PEER})),this.store.dispatch((0,O.Qj)({payload:a})),{type:h.Uu.NEWLY_ADDED_PEER_ECL,payload:{peer:a.find(b=>b.nodeId===(_.payload.id.includes("@")?_.payload.id.substring(0,_.payload.id.indexOf("@")):_.payload.id))}})),(0,f.W)(a=>(this.handleErrorWithoutAlert("SaveNewPeer",h.MZ.CONNECT_PEER,"Peer Connection Failed.",a),(0,x.of)({type:h.aU.VOID})))))))),this.detachPeer=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.DETACH_PEER_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+h.rl.PEERS_API+"/"+_.payload.nodeId).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,S.y0)({payload:h.MZ.DISCONNECT_PEER})),this.store.dispatch((0,S.UI)({payload:"Disconnecting Peer!"})),{type:h.Uu.REMOVE_PEER_ECL,payload:{nodeId:_.payload.nodeId}})),(0,f.W)(a=>(this.handleErrorWithAlert("DisconnectPeer",h.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+h.rl.PEERS_API+"/"+_.payload.nodeId,a),(0,x.of)({type:h.aU.VOID})))))))),this.openNewChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SAVE_NEW_CHANNEL_ECL),(0,D.Z)(_=>{this.store.dispatch((0,S.mt)({payload:h.MZ.OPEN_CHANNEL})),this.store.dispatch((0,O.uL)({payload:{action:"SaveNewChannel",status:h.wn.INITIATED}}));const a={nodeId:_.payload.nodeId,fundingSatoshis:_.payload.amount,announceChannel:!_.payload.private};return _.payload.feeRate&&_.payload.feeRate>0&&(a.fundingFeerateSatByte=_.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+h.rl.CHANNELS_API,a).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,O.uL)({payload:{action:"SaveNewChannel",status:h.wn.COMPLETED}})),this.store.dispatch((0,O.Gy)()),this.store.dispatch((0,O.jJ)()),this.store.dispatch((0,S.y0)({payload:h.MZ.OPEN_CHANNEL})),this.store.dispatch((0,S.UI)({payload:"Channel Added Successfully!"})),{type:h.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,f.W)(b=>(this.handleErrorWithoutAlert("SaveNewChannel",h.MZ.OPEN_CHANNEL,"Opening Channel Failed.",b),(0,x.of)({type:h.aU.VOID}))))}))),this.updateChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.UPDATE_CHANNEL_ECL),(0,D.Z)(_=>{this.store.dispatch((0,S.mt)({payload:h.MZ.UPDATE_CHAN_POLICY}));let a="?feeBaseMsat="+_.payload.baseFeeMsat+"&feeProportionalMillionths="+_.payload.feeRate;return a=_.payload.nodeIds?a+"&nodeIds="+_.payload.nodeIds:_.payload.nodeId?a+"&nodeId="+_.payload.nodeId:_.payload.channelIds?a+"&channelIds="+_.payload.channelIds:a+"&channelId="+_.payload.channelId,this.httpClient.post(this.CHILD_API_URL+h.rl.CHANNELS_API+"/updateRelayFee"+a,{}).pipe((0,w.T)(b=>(this.logger.info(b),this.store.dispatch((0,S.y0)({payload:h.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,S.UI)(_.payload.nodeIds||_.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:h.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,f.W)(b=>(this.handleErrorWithAlert("UpdateChannels",h.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+h.rl.CHANNELS_API,b),(0,x.of)({type:h.aU.VOID}))))}))),this.closeChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.CLOSE_CHANNEL_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:_.payload.force?h.MZ.FORCE_CLOSE_CHANNEL:h.MZ.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+h.rl.CHANNELS_API+"?channelId="+_.payload.channelId+"&force="+_.payload.force).pipe((0,w.T)(a=>(this.logger.info(a),setTimeout(()=>{this.store.dispatch((0,S.y0)({payload:_.payload.force?h.MZ.FORCE_CLOSE_CHANNEL:h.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,S.UI)({payload:_.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:h.aU.VOID})),(0,f.W)(a=>(this.handleErrorWithAlert("CloseChannel",_.payload.force?h.MZ.FORCE_CLOSE_CHANNEL:h.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+h.rl.CHANNELS_API,a),(0,x.of)({type:h.aU.VOID})))))))),this.queryRoutesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.GET_QUERY_ROUTES_ECL),(0,D.Z)(_=>this.httpClient.get(this.CHILD_API_URL+h.rl.PAYMENTS_API+"/route?nodeId="+_.payload.nodeId+"&amountMsat="+_.payload.amount).pipe((0,w.T)(a=>(this.logger.info(a),{type:h.Uu.SET_QUERY_ROUTES_ECL,payload:a})),(0,f.W)(a=>(this.store.dispatch((0,O.Hm)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",h.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+h.rl.PAYMENTS_API+"/route?nodeId="+_.payload.nodeId+"&amountMsat="+_.payload.amount,a),(0,x.of)({type:h.aU.VOID}))))))),this.setQueryRoutes=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SET_QUERY_ROUTES_ECL),(0,w.T)(_=>_.payload)),{dispatch:!1}),this.sendPayment=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SEND_PAYMENT_ECL),(0,D.Z)(_=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,S.mt)({payload:h.MZ.SEND_PAYMENT})),this.store.dispatch((0,O.uL)({payload:{action:"SendPayment",status:h.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+h.rl.PAYMENTS_API,_.payload).pipe((0,w.T)(a=>(this.logger.info(a),this.latestPaymentRes=a,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:h.aU.VOID})),(0,f.W)(a=>(this.logger.error("Error: "+JSON.stringify(a)),_.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",h.MZ.SEND_PAYMENT,"Send Payment Failed.",a):this.handleErrorWithAlert("SendPayment",h.MZ.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+h.rl.PAYMENTS_API,a),(0,x.of)({type:h.aU.VOID})))))))),this.transactionsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_TRANSACTIONS_ECL),(0,D.Z)(_=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchTransactions",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.ON_CHAIN_API+"/transactions?count="+_.payload.count+"&skip="+_.payload.skip))),(0,w.T)(_=>(this.logger.info(_),this.store.dispatch((0,O.uL)({payload:{action:"FetchTransactions",status:h.wn.COMPLETED}})),{type:h.Uu.SET_TRANSACTIONS_ECL,payload:_||[]})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchTransactions",h.MZ.NO_SPINNER,"Fetching Transactions Failed.",_),(0,x.of)({type:h.aU.VOID}))))),this.SendOnchainFunds=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SEND_ONCHAIN_FUNDS_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.SEND_FUNDS})),this.store.dispatch((0,O.uL)({payload:{action:"SendOnchainFunds",status:h.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+h.rl.ON_CHAIN_API,_.payload).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"SendOnchainFunds",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.SEND_FUNDS})),this.store.dispatch((0,O.jJ)()),{type:h.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,payload:a})),(0,f.W)(a=>(this.handleErrorWithoutAlert("SendOnchainFunds",h.MZ.SEND_FUNDS,"Sending Fund Failed.",a),(0,x.of)({type:h.aU.VOID})))))))),this.createInvoice=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.CREATE_INVOICE_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.CREATE_INVOICE})),this.store.dispatch((0,O.uL)({payload:{action:"CreateInvoice",status:h.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+h.rl.INVOICES_API,_.payload).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"CreateInvoice",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.CREATE_INVOICE})),a.timestamp=Math.round((new Date).getTime()/1e3),a.expiresAt=Math.round(a.timestamp+_.payload.expireIn),a.description=_.payload.description,a.status="unpaid",setTimeout(()=>{this.store.dispatch((0,S.xO)({payload:{data:{invoice:a,newlyAdded:!0,component:y.Z}}}))},200),{type:h.Uu.ADD_INVOICE_ECL,payload:a})),(0,f.W)(a=>(this.handleErrorWithoutAlert("CreateInvoice",h.MZ.CREATE_INVOICE,"Create Invoice Failed.",a),(0,x.of)({type:h.aU.VOID})))))))),this.invoicesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_INVOICES_ECL),(0,D.Z)(_=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchInvoices",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.INVOICES_API+"?count="+_.payload.count+"&skip="+_.payload.skip).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"FetchInvoices",status:h.wn.COMPLETED}})),{type:h.Uu.SET_INVOICES_ECL,payload:a})),(0,f.W)(a=>(this.handleErrorWithoutAlert("FetchInvoices",h.MZ.NO_SPINNER,"Fetching Invoices Failed.",a),(0,x.of)({type:h.aU.VOID})))))))),this.peerLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.PEER_LOOKUP_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.SEARCHING_NODE})),this.store.dispatch((0,O.uL)({payload:{action:"Lookup",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.NETWORK_API+"/nodes/"+_.payload).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"Lookup",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.SEARCHING_NODE})),{type:h.Uu.SET_LOOKUP_ECL,payload:a})),(0,f.W)(a=>(this.handleErrorWithAlert("Lookup",h.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+h.rl.NETWORK_API+"/nodes/"+_.payload,a),(0,x.of)({type:h.aU.VOID})))))))),this.invoiceLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.INVOICE_LOOKUP_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,O.uL)({payload:{action:"Lookup",status:h.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+h.rl.INVOICES_API+"/"+_.payload).pipe((0,w.T)(a=>(this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"Lookup",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,O.Dq)({payload:a})),{type:h.Uu.SET_LOOKUP_ECL,payload:a})),(0,f.W)(a=>(this.handleErrorWithoutAlert("Lookup",h.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",a),this.store.dispatch((0,S.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,x.of)({type:h.aU.VOID})))))))),this.setLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SET_LOOKUP_ECL),(0,w.T)(_=>(this.logger.info(_.payload),_.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.FETCH_PAGE_SETTINGS_ECL),(0,D.Z)(()=>(this.store.dispatch((0,O.uL)({payload:{action:"FetchPageSettings",status:h.wn.INITIATED}})),this.httpClient.get(h.rl.PAGE_SETTINGS_API).pipe((0,w.T)(_=>(this.logger.info(_),this.store.dispatch((0,O.uL)({payload:{action:"FetchPageSettings",status:h.wn.COMPLETED}})),this.invoicesPageSettings=_&&Object.keys(_).length>0?_.find(a=>"transactions"===a.pageId)?.tables.find(a=>"invoices"===a.tableId):h.X8.find(a=>"transactions"===a.pageId)?.tables.find(a=>"invoices"===a.tableId),this.paymentsPageSettings=_&&Object.keys(_).length>0?_.find(a=>"transactions"===a.pageId)?.tables.find(a=>"payments"===a.tableId):h.X8.find(a=>"transactions"===a.pageId)?.tables.find(a=>"payments"===a.tableId),{type:h.Uu.SET_PAGE_SETTINGS_ECL,payload:_||[]})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchPageSettings",h.MZ.NO_SPINNER,"Fetching Page Settings Failed.",_),(0,x.of)({type:h.aU.VOID})))))))),this.savePageSettingsCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(h.Uu.SAVE_PAGE_SETTINGS_ECL),(0,D.Z)(_=>(this.store.dispatch((0,S.mt)({payload:h.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,O.uL)({payload:{action:"SavePageSettings",status:h.wn.INITIATED}})),this.httpClient.post(h.rl.PAGE_SETTINGS_API,_.payload).pipe((0,w.T)(a=>{this.logger.info(a),this.store.dispatch((0,O.uL)({payload:{action:"SavePageSettings",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,S.UI)({payload:"Page Layout Updated Successfully!"}));const b=(a.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId)||h.X8.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId))?.recordsPerPage,z=(a.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId)||h.X8.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId))?.recordsPerPage;return this.invoicesPageSettings&&b!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=b),this.paymentsPageSettings&&z!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=z),{type:h.Uu.SET_PAGE_SETTINGS_ECL,payload:a||[]}}),(0,f.W)(a=>(this.handleErrorWithAlert("SavePageSettings",h.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",h.rl.PAGE_SETTINGS_API,a),(0,x.of)({type:h.aU.VOID})))))))),this.handleSendPaymentStatus=_=>{this.store.dispatch((0,O.uL)({payload:{action:"SendPayment",status:h.wn.COMPLETED}})),this.store.dispatch((0,S.y0)({payload:h.MZ.SEND_PAYMENT})),this.store.dispatch((0,O.N4)({payload:this.latestPaymentRes})),this.store.dispatch((0,S.UI)({payload:_}))},this.store.select(I.ru).pipe((0,l.Q)(this.unSubs[0])).subscribe(_=>{_.FetchInfo.status!==h.wn.COMPLETED&&_.FetchInfo.status!==h.wn.ERROR||_.FetchFees.status!==h.wn.COMPLETED&&_.FetchFees.status!==h.wn.ERROR||_.FetchOnchainBalance.status!==h.wn.COMPLETED&&_.FetchOnchainBalance.status!==h.wn.ERROR||_.FetchChannels.status!==h.wn.COMPLETED&&_.FetchChannels.status!==h.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,S.y0)({payload:h.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 a="";if(_)switch(_.type){case h.ck.PAYMENT_SENT:_&&_.id&&this.latestPaymentRes===_.id&&(this.flgReceivedPaymentUpdateFromWS=!0,a="Payment Sent: "+(_.paymentHash?"with payment hash "+_.paymentHash:JSON.stringify(_)),this.handleSendPaymentStatus(a));break;case h.ck.PAYMENT_FAILED:_&&_.id&&this.latestPaymentRes===_.id&&(this.flgReceivedPaymentUpdateFromWS=!0,a="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(a));break;case h.ck.PAYMENT_RECEIVED:this.store.dispatch((0,O.Dq)({payload:_}));break;case h.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,O.yn)({payload:_}));break;case h.ck.CHANNEL_STATE_CHANGED:"NORMAL"===_.currentState||"CLOSED"===_.currentState?(this.rawChannelsList=this.rawChannelsList?.map(b=>(b.channelId===_.channelId&&b.nodeId===_.remoteNodeId&&(b.state=_.currentState),b)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,O.gZ)({payload:_}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(_))}})}setChannelsAndStatusAndBalances(){let le=0,T=0,n=0,c={localBalance:0,remoteBalance:0},m=[];const d=[],C=[],A={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((k,_)=>{k&&("NORMAL"===k.state?(le=(k.toLocal||0)+(k.toRemote||0),T+=k.toLocal||0,n+=k.toRemote||0,k.balancedness=0===le?1:+(1-Math.abs(((k.toLocal||0)-(k.toRemote||0))/le)).toFixed(3),m.push(k),A.active.channels=A.active.channels+1,A.active.capacity=A.active.capacity+(k.toLocal||0)):k.state?.includes("WAIT")||k.state?.includes("CLOSING")||k.state?.includes("SYNCING")?(k.state=k.state?.replace(/_/g," "),d.push(k),A.pending.channels=A.pending.channels+1,A.pending.capacity=A.pending.capacity+(k.toLocal||0)):(k.state=k.state?.replace(/_/g," "),C.push(k),A.inactive.channels=A.inactive.channels+1,A.inactive.capacity=A.inactive.capacity+(k.toLocal||0)))}),c={localBalance:T,remoteBalance:n},m=this.commonService.sortDescByKey(m,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(m)),this.logger.info("Pending Channels: "+JSON.stringify(d)),this.logger.info("Inactive Channels: "+JSON.stringify(C)),this.logger.info("Lightning Balances: "+JSON.stringify(c)),this.logger.info("Channels Status: "+JSON.stringify(A)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:m,pending:d,inactive:C,balances:c,status:A})),this.store.dispatch((0,O.Tp)({payload:m})),this.store.dispatch((0,O.cU)({payload:d})),this.store.dispatch((0,O.I6)({payload:C})),this.store.dispatch((0,O.N8)({payload:c})),this.store.dispatch((0,O.ZE)({payload:A}))}initializeRemainingData(le,T){this.sessionService.setItem("eclUnlocked","true");const n={identity_pubkey:le.nodeId,alias:le.alias,testnet:"testnet"===le.network,chains:le.publicAddresses,uris:le.uris,version:le.version,numberOfPendingChannels:0};this.store.dispatch((0,S.mt)({payload:h.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,S.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"===T||c.includes("?access-key="))&&(c="/ecl/home"),this.router.navigate([c]),this.store.dispatch((0,O.$Q)()),this.store.dispatch((0,O.yp)()),this.store.dispatch((0,O.jJ)()),this.store.dispatch((0,O.Gy)())}handleErrorWithoutAlert(le,T,n,c){this.logger.error("ERROR IN: "+le+"\n"+JSON.stringify(c)),401===c.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,S.Jh)()),this.store.dispatch((0,S.ri)({payload:"Authentication Failed: "+JSON.stringify(c.error)}))):(this.store.dispatch((0,S.y0)({payload:T})),this.store.dispatch((0,O.uL)({payload:{action:le,status:h.wn.ERROR,statusCode:c.status.toString(),message:this.commonService.extractErrorMessage(c,n)}})))}handleErrorWithAlert(le,T,n,c,m){if(this.logger.error(m),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,S.Jh)()),this.store.dispatch((0,S.ri)({payload:"Authentication Failed: "+JSON.stringify(m.error)}));else{this.store.dispatch((0,S.y0)({payload:T}));const d=this.commonService.extractErrorMessage(m);this.store.dispatch((0,S.xO)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:m.status,message:d,URL:c},component:R.f}}})),this.store.dispatch((0,O.uL)({payload:{action:le,status:h.wn.ERROR,statusCode:m.status.toString(),message:d,URL:c}}))}}ngOnDestroy(){this.unSubs.forEach(le=>{le.next(null),le.complete()})}static{this.\u0275fac=function(T){return new(T||Me)(V.KVO(e.En),V.KVO(j.Qq),V.KVO(Y.il),V.KVO(W.Q),V.KVO(Q.h),V.KVO(J.gP),V.KVO(ie.Ix),V.KVO(ee.I),V.KVO(fe.aZ))}}static{this.\u0275prov=V.jDH({token:Me,factory:Me.\u0275fac})}}return Me})()},2730:(Qe,te,g)=>{"use strict";g.d(te,{DW:()=>W,KT:()=>R,Ou:()=>I,b_:()=>l,gN:()=>V,jZ:()=>x,oR:()=>h,os:()=>Y,p3:()=>D,rN:()=>j,ru:()=>f});var e=g(9640);const t=(0,e.UX)("ecl"),x=(0,e.Mz)(t,Q=>({pageSettings:Q.pageSettings,apiCallStatus:Q.apisCallStatus.FetchPageSettings})),D=(0,e.Mz)(t,Q=>Q.information),l=(0,e.Mz)(t,Q=>({information:Q.information,apiCallStatus:Q.apisCallStatus.FetchInfo})),f=((0,e.Mz)(t,Q=>Q.apisCallStatus.FetchInfo),(0,e.Mz)(t,Q=>Q.apisCallStatus)),R=(0,e.Mz)(t,Q=>({payments:Q.payments,apiCallStatus:Q.apisCallStatus.FetchPayments})),h=(0,e.Mz)(t,Q=>({fees:Q.fees,apiCallStatus:Q.apisCallStatus.FetchFees})),I=((0,e.Mz)(t,Q=>({activeChannels:Q.activeChannels,apiCallStatus:Q.apisCallStatus.FetchChannels})),(0,e.Mz)(t,Q=>({pendingChannels:Q.pendingChannels,apiCallStatus:Q.apisCallStatus.FetchChannels})),(0,e.Mz)(t,Q=>({inactiveChannels:Q.inactiveChannels,apiCallStatus:Q.apisCallStatus.FetchChannels})),(0,e.Mz)(t,Q=>({activeChannels:Q.activeChannels,pendingChannels:Q.pendingChannels,inactiveChannels:Q.inactiveChannels,lightningBalance:Q.lightningBalance,channelsStatus:Q.channelsStatus,apiCallStatus:Q.apisCallStatus.FetchChannels}))),V=(0,e.Mz)(t,Q=>({transactions:Q.transactions,apiCallStatus:Q.apisCallStatus.FetchTransactions})),j=(0,e.Mz)(t,Q=>({invoices:Q.invoices,apiCallStatus:Q.apisCallStatus.FetchInvoices})),Y=(0,e.Mz)(t,Q=>({peers:Q.peers,apiCallStatus:Q.apisCallStatus.FetchPeers})),W=(0,e.Mz)(t,Q=>({onchainBalance:Q.onchainBalance,apiCallStatus:Q.apisCallStatus.FetchOnchainBalance}))},6439:(Qe,te,g)=>{"use strict";g.d(te,{Z:()=>oe});var e=g(5351),t=g(5383),x=g(1413),D=g(6977),l=g(4416),w=g(2730),f=g(4438),R=g(8570),h=g(2571),S=g(5416),y=g(9640),O=g(177),I=g(60),V=g(2920),j=g(6038),Y=g(8834),W=g(5596),Q=g(1997),J=g(9183),ie=g(8288),ee=g(9157),fe=g(9587);const ne=X=>({"display-none":X}),Me=X=>({"xs-scroll-y":X}),Ce=(X,se)=>({"mt-2":X,"mt-1":se}),le=()=>[];function T(X,se){if(1&X&&f.nrm(0,"qr-code",29),2&X){const ae=f.XpG();f.Y8G("value",null==ae.invoice?null:ae.invoice.serialized)("size",ae.qrWidth)("errorCorrectionLevel","L")}}function n(X,se){1&X&&(f.j41(0,"span",30),f.EFF(1,"N/A"),f.k0s())}function c(X,se){if(1&X&&f.nrm(0,"qr-code",29),2&X){const ae=f.XpG();f.Y8G("value",null==ae.invoice?null:ae.invoice.serialized)("size",ae.qrWidth)("errorCorrectionLevel","L")}}function m(X,se){1&X&&(f.j41(0,"span",31),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function d(X,se){1&X&&f.nrm(0,"mat-divider",32),2&X&&f.Y8G("inset",!0)}function C(X,se){1&X&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function A(X,se){1&X&&f.nrm(0,"span",38)}function k(X,se){if(1&X&&(f.j41(0,"div",34)(1,"div",35)(2,"span",36),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,A,1,0,"span",37),f.k0s()()),2&X){const ae=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,null==ae.invoice?null:ae.invoice.amountSettled)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,le).constructor(35))}}function _(X,se){if(1&X&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&X){const ae=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,null==ae.invoice?null:ae.invoice.amountSettled)," Sats")}}function a(X,se){if(1&X&&(f.qex(0),f.DNE(1,k,6,5,"div",33)(2,_,3,3,"div",20),f.bVm()),2&X){const ae=f.XpG();f.R7$(),f.Y8G("ngIf",ae.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!ae.flgInvoicePaid)}}function b(X,se){1&X&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function z(X,se){1&X&&f.nrm(0,"mat-spinner",40),2&X&&f.Y8G("diameter",20)}function N(X,se){if(1&X&&(f.qex(0),f.DNE(1,b,2,0,"span",20)(2,z,1,1,"mat-spinner",39),f.bVm()),2&X){const ae=f.XpG();f.R7$(),f.Y8G("ngIf","unpaid"!==(null==ae.invoice?null:ae.invoice.status)||!ae.flgVersionCompatible),f.R7$(),f.Y8G("ngIf","unpaid"===(null==ae.invoice?null:ae.invoice.status)&&ae.flgVersionCompatible)}}function q(X,se){if(1&X&&(f.j41(0,"div"),f.nrm(1,"mat-divider",21),f.j41(2,"div",16)(3,"div",41)(4,"h4",18),f.EFF(5,"Date Expiry"),f.k0s(),f.j41(6,"span",19),f.EFF(7),f.nI1(8,"date"),f.k0s()(),f.j41(9,"div",42)(10,"h4",18),f.EFF(11,"Date Settled"),f.k0s(),f.j41(12,"span",22),f.EFF(13),f.nI1(14,"date"),f.k0s()()(),f.nrm(15,"mat-divider",21),f.j41(16,"div",16)(17,"div",23)(18,"h4",18),f.EFF(19,"Payment Hash"),f.k0s(),f.j41(20,"span",22),f.EFF(21),f.k0s()()(),f.nrm(22,"mat-divider",21),f.j41(23,"div",16)(24,"div",23)(25,"h4",18),f.EFF(26,"Node ID"),f.k0s(),f.j41(27,"span",22),f.EFF(28),f.k0s()()(),f.nrm(29,"mat-divider",21),f.k0s()),2&X){const ae=f.XpG();f.R7$(7),f.JRh(f.i5U(8,4,1e3*(null==ae.invoice?null:ae.invoice.expiresAt),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.i5U(14,7,1e3*(null==ae.invoice?null:ae.invoice.receivedAt),"dd/MMM/y HH:mm")),f.R7$(8),f.JRh(null==ae.invoice?null:ae.invoice.paymentHash),f.R7$(7),f.JRh(null==ae.invoice?null:ae.invoice.nodeId)}}function pe(X,se){1&X&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function ze(X,se){1&X&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function Xe(X,se){if(1&X){const ae=f.RV6();f.j41(0,"button",43),f.bIt("copied",function(Ie){f.eBV(ae);const st=f.XpG();return f.Njj(st.onCopyPayment(Ie))}),f.EFF(1,"Copy Invoice"),f.k0s()}if(2&X){const ae=f.XpG();f.Y8G("payload",null==ae.invoice?null:ae.invoice.serialized)}}function We(X,se){if(1&X){const ae=f.RV6();f.j41(0,"button",44),f.bIt("click",function(){f.eBV(ae);const Ie=f.XpG();return f.Njj(Ie.onClose())}),f.EFF(1,"OK"),f.k0s()}}let oe=(()=>{class X{constructor(ae,he,Ie,st,me,Ee){this.dialogRef=ae,this.data=he,this.logger=Ie,this.commonService=st,this.snackBar=me,this.store=Ee,this.faReceipt=t.Mf0,this.faExclamationTriangle=t.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 x.B,new x.B,new x.B,new x.B,new x.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(w.p3).pipe((0,D.Q)(this.unSubs[0])).subscribe(ae=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(ae.version,"0.5.0")}),this.store.select(w.rN).pipe((0,D.Q)(this.unSubs[1])).subscribe(ae=>{const he=this.invoice.status,st=(ae.invoices&&ae.invoices.length>0?ae.invoices:[])?.find(me=>me.paymentHash===this.invoice.paymentHash)||null;st&&(this.invoice=st),he!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(ae)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(ae){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+ae)}ngOnDestroy(){this.unSubs.forEach(ae=>{ae.next(null),ae.complete()})}static{this.\u0275fac=function(he){return new(he||X)(f.rXU(e.CP),f.rXU(e.Vh),f.rXU(R.gP),f.rXU(h.h),f.rXU(S.UG),f.rXU(y.il))}}static{this.\u0275cmp=f.VBU({type:X,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(he,Ie){if(1&he){const st=f.RV6();f.j41(0,"div",1)(1,"div",2),f.DNE(2,T,1,3,"qr-code",3)(3,n,2,0,"span",4),f.k0s(),f.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),f.nrm(7,"fa-icon",8),f.j41(8,"span",9),f.EFF(9),f.k0s()(),f.j41(10,"button",10),f.bIt("click",function(){return f.eBV(st),f.Njj(Ie.onClose())}),f.EFF(11,"X"),f.k0s()(),f.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),f.DNE(15,c,1,3,"qr-code",3)(16,m,2,0,"span",14),f.k0s(),f.DNE(17,d,1,1,"mat-divider",15),f.j41(18,"div",16)(19,"div",17)(20,"h4",18),f.EFF(21,"Amount Requested"),f.k0s(),f.j41(22,"span",19),f.EFF(23),f.nI1(24,"number"),f.DNE(25,C,2,0,"ng-container",20),f.k0s()(),f.j41(26,"div",17)(27,"h4",18),f.EFF(28,"Amount Settled"),f.k0s(),f.j41(29,"span",19),f.DNE(30,a,3,2,"ng-container",20)(31,N,3,2,"ng-container",20),f.k0s()()(),f.nrm(32,"mat-divider",21),f.j41(33,"div",16)(34,"div",17)(35,"h4",18),f.EFF(36,"Date Created"),f.k0s(),f.j41(37,"span",22),f.EFF(38),f.nI1(39,"date"),f.k0s()(),f.j41(40,"div",17)(41,"h4",18),f.EFF(42,"Status"),f.k0s(),f.j41(43,"span",22),f.EFF(44),f.nI1(45,"titlecase"),f.k0s()()(),f.nrm(46,"mat-divider",21),f.j41(47,"div",16)(48,"div",23)(49,"h4",18),f.EFF(50,"Description"),f.k0s(),f.j41(51,"span",19),f.EFF(52),f.k0s()()(),f.nrm(53,"mat-divider",21),f.j41(54,"div",16)(55,"div",23)(56,"h4",18),f.EFF(57,"Invoice"),f.k0s(),f.j41(58,"span",22),f.EFF(59),f.k0s()()(),f.DNE(60,q,30,10,"div",20),f.j41(61,"div",24)(62,"button",25),f.bIt("click",function(){return f.eBV(st),f.Njj(Ie.onShowAdvanced())}),f.DNE(63,pe,2,0,"p",26)(64,ze,2,0,"ng-template",null,0,f.C5r),f.k0s(),f.DNE(66,Xe,2,1,"button",27)(67,We,2,0,"button",28),f.k0s()()()()()}if(2&he){const st=f.sdS(65);f.R7$(),f.Y8G("fxLayoutAlign",null!=Ie.invoice&&Ie.invoice.serialized&&""!==(null==Ie.invoice?null:Ie.invoice.serialized)?"center start":"center center")("ngClass",f.eq3(33,ne,Ie.screenSize===Ie.screenSizeEnum.XS||Ie.screenSize===Ie.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Ie.invoice?null:Ie.invoice.serialized)&&""!==(null==Ie.invoice?null:Ie.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.serialized)||""===(null==Ie.invoice?null:Ie.invoice.serialized)),f.R7$(4),f.Y8G("icon",Ie.faReceipt),f.R7$(2),f.JRh(Ie.screenSize===Ie.screenSizeEnum.XS?Ie.newlyAdded?"Created":"Invoice":Ie.newlyAdded?"Invoice Created":"Invoice Information"),f.R7$(3),f.Y8G("ngClass",f.eq3(35,Me,Ie.screenSize===Ie.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=Ie.invoice&&Ie.invoice.serialized&&""!==(null==Ie.invoice?null:Ie.invoice.serialized)?"center start":"center center")("ngClass",f.eq3(37,ne,Ie.screenSize!==Ie.screenSizeEnum.XS&&Ie.screenSize!==Ie.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Ie.invoice?null:Ie.invoice.serialized)&&""!==(null==Ie.invoice?null:Ie.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.serialized)||""===(null==Ie.invoice?null:Ie.invoice.serialized)),f.R7$(),f.Y8G("ngIf",Ie.screenSize===Ie.screenSizeEnum.XS||Ie.screenSize===Ie.screenSizeEnum.SM),f.R7$(6),f.SpI("",f.bMT(24,26,(null==Ie.invoice?null:Ie.invoice.amount)||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.amount)||"0"===(null==Ie.invoice?null:Ie.invoice.amount)),f.R7$(5),f.Y8G("ngIf",null==Ie.invoice?null:Ie.invoice.amountSettled),f.R7$(),f.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.amountSettled)),f.R7$(7),f.JRh(f.i5U(39,28,1e3*(null==Ie.invoice?null:Ie.invoice.timestamp),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.bMT(45,31,null==Ie.invoice?null:Ie.invoice.status)),f.R7$(8),f.JRh((null==Ie.invoice?null:Ie.invoice.description)||"-"),f.R7$(7),f.JRh((null==Ie.invoice?null:Ie.invoice.serialized)||"N/A"),f.R7$(),f.Y8G("ngIf",Ie.showAdvanced),f.R7$(),f.Y8G("ngClass",f.l_i(39,Ce,!Ie.showAdvanced,Ie.showAdvanced)),f.R7$(2),f.Y8G("ngIf",!Ie.showAdvanced)("ngIfElse",st),f.R7$(3),f.Y8G("ngIf",(null==Ie.invoice?null:Ie.invoice.serialized)&&""!==(null==Ie.invoice?null:Ie.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.serialized)||""===(null==Ie.invoice?null:Ie.invoice.serialized))}},dependencies:[O.YU,O.Sq,O.bT,I.aY,V.DJ,V.sA,V.UI,j.PW,Y.$z,W.m2,W.MM,Q.q,J.LG,ie.Um,ee.U,fe.N,O.QX,O.PV,O.vh]})}}return X})()},190:(Qe,te,g)=>{"use strict";g.d(te,{$6:()=>oe,$J:()=>q,$Q:()=>le,As:()=>he,Br:()=>h,CK:()=>me,DI:()=>ne,DY:()=>fe,Do:()=>We,Dq:()=>X,Fd:()=>ue,GZ:()=>je,Gy:()=>y,H2:()=>a,Hm:()=>It,J9:()=>Ce,Jx:()=>J,L:()=>b,Lf:()=>ze,NS:()=>f,O8:()=>st,Qj:()=>O,SM:()=>Ie,Sn:()=>R,T4:()=>Ae,Uj:()=>Ee,Uo:()=>ee,VK:()=>W,WE:()=>$e,X9:()=>w,XT:()=>dt,Yi:()=>Nt,Zi:()=>Y,_$:()=>se,aB:()=>ve,ar:()=>n,b1:()=>Tt,cR:()=>_,cU:()=>c,dv:()=>T,e8:()=>x,ed:()=>j,fy:()=>C,ij:()=>qt,jk:()=>yt,kv:()=>et,lg:()=>l,mh:()=>ae,oX:()=>we,p1:()=>D,pL:()=>m,sq:()=>I,t0:()=>Ct,t5:()=>pe,tG:()=>Qt,tf:()=>Me,uK:()=>Je,vL:()=>A,w0:()=>k,x1:()=>S,yp:()=>ie,z2:()=>d,zU:()=>nt});var e=g(9640),t=g(4416);const x=(0,e.VP)(t.QP.UPDATE_API_CALL_STATUS_LND,(0,e.xk)()),D=(0,e.VP)(t.QP.RESET_LND_STORE),l=(0,e.VP)(t.QP.FETCH_PAGE_SETTINGS_LND),w=(0,e.VP)(t.QP.UPDATE_SELECTED_NODE_OPTIONS),f=(0,e.VP)(t.QP.SET_PAGE_SETTINGS_LND,(0,e.xk)()),R=(0,e.VP)(t.QP.SAVE_PAGE_SETTINGS_LND,(0,e.xk)()),h=(0,e.VP)(t.QP.FETCH_INFO_LND,(0,e.xk)()),S=(0,e.VP)(t.QP.SET_INFO_LND,(0,e.xk)()),y=(0,e.VP)(t.QP.FETCH_PEERS_LND),O=(0,e.VP)(t.QP.SET_PEERS_LND,(0,e.xk)()),I=(0,e.VP)(t.QP.SAVE_NEW_PEER_LND,(0,e.xk)()),j=((0,e.VP)(t.QP.NEWLY_ADDED_PEER_LND,(0,e.xk)()),(0,e.VP)(t.QP.DETACH_PEER_LND,(0,e.xk)())),Y=(0,e.VP)(t.QP.REMOVE_PEER_LND,(0,e.xk)()),W=(0,e.VP)(t.QP.SAVE_NEW_INVOICE_LND,(0,e.xk)()),J=((0,e.VP)(t.QP.NEWLY_SAVED_INVOICE_LND,(0,e.xk)()),(0,e.VP)(t.QP.ADD_INVOICE_LND,(0,e.xk)())),ie=(0,e.VP)(t.QP.FETCH_FEES_LND),ee=(0,e.VP)(t.QP.SET_FEES_LND,(0,e.xk)()),fe=(0,e.VP)(t.QP.FETCH_BLOCKCHAIN_BALANCE_LND),ne=(0,e.VP)(t.QP.SET_BLOCKCHAIN_BALANCE_LND,(0,e.xk)()),Me=(0,e.VP)(t.QP.FETCH_NETWORK_LND),Ce=(0,e.VP)(t.QP.SET_NETWORK_LND,(0,e.xk)()),le=(0,e.VP)(t.QP.FETCH_CHANNELS_LND),T=(0,e.VP)(t.QP.SET_CHANNELS_LND,(0,e.xk)()),n=(0,e.VP)(t.QP.FETCH_PENDING_CHANNELS_LND),c=(0,e.VP)(t.QP.SET_PENDING_CHANNELS_LND,(0,e.xk)()),m=(0,e.VP)(t.QP.FETCH_CLOSED_CHANNELS_LND),d=(0,e.VP)(t.QP.SET_CLOSED_CHANNELS_LND,(0,e.xk)()),C=(0,e.VP)(t.QP.UPDATE_CHANNEL_LND,(0,e.xk)()),A=(0,e.VP)(t.QP.SAVE_NEW_CHANNEL_LND,(0,e.xk)()),k=(0,e.VP)(t.QP.CLOSE_CHANNEL_LND,(0,e.xk)()),_=(0,e.VP)(t.QP.REMOVE_CHANNEL_LND,(0,e.xk)()),a=(0,e.VP)(t.QP.BACKUP_CHANNELS_LND,(0,e.xk)()),b=(0,e.VP)(t.QP.VERIFY_CHANNEL_LND,(0,e.xk)()),q=((0,e.VP)(t.QP.BACKUP_CHANNELS_RES_LND,(0,e.xk)()),(0,e.VP)(t.QP.VERIFY_CHANNEL_RES_LND,(0,e.xk)()),(0,e.VP)(t.QP.RESTORE_CHANNELS_LIST_LND)),pe=(0,e.VP)(t.QP.SET_RESTORE_CHANNELS_LIST_LND,(0,e.xk)()),ze=(0,e.VP)(t.QP.RESTORE_CHANNELS_LND,(0,e.xk)()),We=((0,e.VP)(t.QP.RESTORE_CHANNELS_RES_LND,(0,e.xk)()),(0,e.VP)(t.QP.FETCH_INVOICES_LND,(0,e.xk)())),oe=(0,e.VP)(t.QP.SET_INVOICES_LND,(0,e.xk)()),X=(0,e.VP)(t.QP.UPDATE_INVOICE_LND,(0,e.xk)()),se=(0,e.VP)(t.QP.UPDATE_PAYMENT_LND,(0,e.xk)()),ae=(0,e.VP)(t.QP.FETCH_TRANSACTIONS_LND),he=(0,e.VP)(t.QP.SET_TRANSACTIONS_LND,(0,e.xk)()),Ie=(0,e.VP)(t.QP.FETCH_UTXOS_LND),st=(0,e.VP)(t.QP.SET_UTXOS_LND,(0,e.xk)()),me=(0,e.VP)(t.QP.FETCH_PAYMENTS_LND,(0,e.xk)()),Ee=(0,e.VP)(t.QP.SET_PAYMENTS_LND,(0,e.xk)()),ue=(0,e.VP)(t.QP.SEND_PAYMENT_LND,(0,e.xk)()),Ct=((0,e.VP)(t.QP.SEND_PAYMENT_STATUS_LND,(0,e.xk)()),(0,e.VP)(t.QP.FETCH_GRAPH_NODE_LND,(0,e.xk)())),dt=((0,e.VP)(t.QP.SET_GRAPH_NODE_LND,(0,e.xk)()),(0,e.VP)(t.QP.GET_NEW_ADDRESS_LND,(0,e.xk)())),ve=((0,e.VP)(t.QP.SET_NEW_ADDRESS_LND,(0,e.xk)()),(0,e.VP)(t.QP.SET_CHANNEL_TRANSACTION_LND,(0,e.xk)())),we=((0,e.VP)(t.QP.SET_CHANNEL_TRANSACTION_RES_LND,(0,e.xk)()),(0,e.VP)(t.QP.GEN_SEED_LND,(0,e.xk)())),je=((0,e.VP)(t.QP.GEN_SEED_RESPONSE_LND,(0,e.xk)()),(0,e.VP)(t.QP.INIT_WALLET_LND,(0,e.xk)())),$e=((0,e.VP)(t.QP.INIT_WALLET_RESPONSE_LND,(0,e.xk)()),(0,e.VP)(t.QP.UNLOCK_WALLET_LND,(0,e.xk)())),nt=(0,e.VP)(t.QP.PEER_LOOKUP_LND,(0,e.xk)()),qt=(0,e.VP)(t.QP.CHANNEL_LOOKUP_LND,(0,e.xk)()),Nt=(0,e.VP)(t.QP.INVOICE_LOOKUP_LND,(0,e.xk)()),yt=(0,e.VP)(t.QP.PAYMENT_LOOKUP_LND,(0,e.xk)()),Je=((0,e.VP)(t.QP.SET_LOOKUP_LND,(0,e.xk)()),(0,e.VP)(t.QP.GET_FORWARDING_HISTORY_LND,(0,e.xk)())),et=(0,e.VP)(t.QP.SET_FORWARDING_HISTORY_LND,(0,e.xk)()),Ae=(0,e.VP)(t.QP.GET_QUERY_ROUTES_LND,(0,e.xk)()),It=(0,e.VP)(t.QP.SET_QUERY_ROUTES_LND,(0,e.xk)()),Qt=(0,e.VP)(t.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),Tt=(0,e.VP)(t.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,e.xk)())},9579:(Qe,te,g)=>{"use strict";g.d(te,{L:()=>Ce});var e=g(4054),t=g(1413),x=g(7673),D=g(1397),l=g(6977),w=g(6354),f=g(9437),R=g(3993),h=g(6391),S=g(2462),y=g(4416),O=g(1771),I=g(190),V=g(3536),j=g(4438),Y=g(1626),W=g(9640),Q=g(8570),J=g(2571),ie=g(3202),ee=g(5351),fe=g(1188),ne=g(7879),Me=g(177);let Ce=(()=>{class le{constructor(n,c,m,d,C,A,k,_,a,b){this.actions=n,this.httpClient=c,this.store=m,this.logger=d,this.commonService=C,this.sessionService=A,this.dialog=k,this.router=_,this.wsService=a,this.location=b,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 t.B,new t.B],this.infoFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_INFO_LND),(0,D.Z)(z=>(this.flgInitialized=!1,this.store.dispatch((0,O.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,O.Jh)()),this.store.dispatch((0,O.mt)({payload:y.MZ.GET_NODE_INFO})),this.store.dispatch((0,I.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,e.gp)(y.aU.SET_SELECTED_NODE))),(0,w.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,I.e8)({payload:{action:"FetchInfo",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.Jh)()),this.store.dispatch((0,O.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,I.e8)({payload:{action:"FetchInfo",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.Jh)()),{type:y.QP.SET_INFO_LND,payload:N||{}}):(this.store.dispatch((0,I.e8)({payload:{action:"FetchInfo",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.Jh)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:y.QP.SET_INFO_LND,payload:{}}))),(0,f.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,I.Br)({payload:{loadPage:"HOME"}}))},2e3);else{const q=this.commonService.extractErrorCode(N),pe=503===q?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(N);this.router.navigate(["/error"],{state:{errorCode:q,errorMessage:pe}}),this.handleErrorWithoutAlert("FetchInfo",y.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:q,error:pe})}return(0,x.of)({type:y.aU.VOID})})))))),this.peersFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_PEERS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchPeers",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PEERS_API).pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchPeers",status:y.wn.COMPLETED}})),{type:y.QP.SET_PEERS_LND,payload:z||[]})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchPeers",y.MZ.NO_SPINNER,"Fetching Peers Failed.",z),(0,x.of)({type:y.aU.VOID})))))))),this.saveNewPeer=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SAVE_NEW_PEER_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.CONNECT_PEER})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"SaveNewPeer",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:y.MZ.CONNECT_PEER})),this.store.dispatch((0,I.Qj)({payload:N||[]})),{type:y.QP.NEWLY_ADDED_PEER_LND,payload:{peer:N[0]}})),(0,f.W)(N=>(this.handleErrorWithoutAlert("SaveNewPeer",y.MZ.CONNECT_PEER,"Peer Connection Failed.",N),(0,x.of)({type:y.aU.VOID})))))))),this.detachPeer=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.DETACH_PEER_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+y.rl.PEERS_API+"/"+z.payload.pubkey).pipe((0,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.DISCONNECT_PEER})),this.store.dispatch((0,O.UI)({payload:"Peer Disconnected Successfully."})),{type:y.QP.REMOVE_PEER_LND,payload:{pubkey:z.payload.pubkey}})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.saveNewInvoice=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SAVE_NEW_INVOICE_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"SaveNewInvoice",status:y.wn.COMPLETED}})),this.store.dispatch((0,I.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,O.xO)({payload:{data:{invoice:N,newlyAdded:!0,component:h.H}}}))},200),{type:y.aU.CLOSE_SPINNER,payload:z.payload.uiMessage}):{type:y.QP.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:N.payment_request}})),(0,f.W)(N=>(this.handleErrorWithoutAlert("SaveNewInvoice",z.payload.uiMessage,"Add Invoice Failed.",N),(0,x.of)({type:y.aU.VOID})))))))),this.openNewChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SAVE_NEW_CHANNEL_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.OPEN_CHANNEL})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"SaveNewChannel",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:y.MZ.OPEN_CHANNEL})),this.store.dispatch((0,I.DY)()),this.store.dispatch((0,I.$Q)()),this.store.dispatch((0,I.H2)({payload:{uiMessage:y.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:y.QP.FETCH_PENDING_CHANNELS_LND})),(0,f.W)(N=>(this.handleErrorWithoutAlert("SaveNewChannel",y.MZ.OPEN_CHANNEL,"Opening Channel Failed.",N),(0,x.of)({type:y.aU.VOID})))))))),this.updateChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.UPDATE_CHANNEL_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,O.UI)("all"===z.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:y.QP.FETCH_CHANNELS_LND})),(0,f.W)(N=>(this.handleErrorWithAlert("UpdateChannels",y.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+y.rl.CHANNELS_API+"/chanPolicy",N),(0,x.of)({type:y.aU.VOID})))))))),this.closeChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.CLOSE_CHANNEL_LND),(0,D.Z)(z=>{this.store.dispatch((0,O.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,w.T)(q=>(this.logger.info(q),this.store.dispatch((0,O.y0)({payload:z.payload.forcibly?y.MZ.FORCE_CLOSE_CHANNEL:y.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,I.$Q)()),this.store.dispatch((0,I.ar)()),this.store.dispatch((0,I.H2)({payload:{uiMessage:y.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:q.message}})),{type:y.aU.VOID})),(0,f.W)(q=>(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,q),(0,x.of)({type:y.aU.VOID}))))}))),this.backupChannels=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.BACKUP_CHANNELS_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"BackupChannels",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:z.payload.uiMessage})),this.store.dispatch((0,O.UI)({payload:z.payload.showMessage+" "+N.message})),{type:y.QP.BACKUP_CHANNELS_RES_LND,payload:N.message})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.verifyChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.VERIFY_CHANNEL_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"VerifyChannel",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:y.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,O.UI)({payload:N.message})),{type:y.QP.VERIFY_CHANNEL_RES_LND,payload:N.message})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.restoreChannels=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.RESTORE_CHANNELS_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"RestoreChannels",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:y.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,O.UI)({payload:N.message})),this.store.dispatch((0,I.t5)({payload:N.list})),{type:y.QP.RESTORE_CHANNELS_RES_LND,payload:N.message})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.fetchFees=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_FEES_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchFees",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.FEES_API))),(0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchFees",status:y.wn.COMPLETED}})),z.forwarding_events_history&&(this.store.dispatch((0,I.kv)({payload:z.forwarding_events_history})),delete z.forwarding_events_history),{type:y.QP.SET_FEES_LND,payload:z||{}})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchFees",y.MZ.NO_SPINNER,"Fetching Fees Failed.",z),(0,x.of)({type:y.aU.VOID}))))),this.balanceBlockchainFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_BLOCKCHAIN_BALANCE_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchBalance",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.BALANCE_API))),(0,w.T)(z=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchBalance",status:y.wn.COMPLETED}})),this.logger.info(z),{type:y.QP.SET_BLOCKCHAIN_BALANCE_LND,payload:z||{total_balance:""}})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchBalance",y.MZ.NO_SPINNER,"Fetching Blockchain Balance Failed.",z),(0,x.of)({type:y.aU.VOID}))))),this.networkInfoFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_NETWORK_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchNetwork",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.NETWORK_API+"/info"))),(0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchNetwork",status:y.wn.COMPLETED}})),{type:y.QP.SET_NETWORK_LND,payload:z||{}})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchNetwork",y.MZ.NO_SPINNER,"Fetching Network Failed.",z),(0,x.of)({type:y.aU.VOID}))))),this.channelsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_CHANNELS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_API).pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchChannels",status:y.wn.COMPLETED}})),{type:y.QP.SET_CHANNELS_LND,payload:z.channels||[]})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchChannels",y.MZ.NO_SPINNER,"Fetching Channels Failed.",z),(0,x.of)({type:y.aU.VOID})))))))),this.channelsPendingFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_PENDING_CHANNELS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchPendingChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_API+"/pending").pipe((0,w.T)(z=>{this.logger.info(z),this.store.dispatch((0,I.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(q=>{N.closing.limbo_balance=+N.closing.limbo_balance+(q.channel.local_balance?+q.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(q=>{N.force_closing.limbo_balance=+N.force_closing.limbo_balance+(q.channel.local_balance?+q.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(q=>{N.open.limbo_balance=+N.open.limbo_balance+(q.channel.local_balance?+q.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(q=>{N.waiting_close.limbo_balance=+N.waiting_close.limbo_balance+(q.channel.local_balance?+q.channel.local_balance:0)}))),{type:y.QP.SET_PENDING_CHANNELS_LND,payload:z?{pendingChannels:z,pendingChannelsSummary:N}:{pendingChannels:{},pendingChannelsSummary:N}}}),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchPendingChannels",y.MZ.NO_SPINNER,"Fetching Pending Channels Failed.",z),(0,x.of)({type:y.aU.VOID})))))))),this.channelsClosedFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_CLOSED_CHANNELS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchClosedChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_API+"/closed").pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchClosedChannels",status:y.wn.COMPLETED}})),{type:y.QP.SET_CLOSED_CHANNELS_LND,payload:z.channels||[]})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchClosedChannels",y.MZ.NO_SPINNER,"Fetching Closed Channels Failed.",z),(0,x.of)({type:y.aU.VOID})))))))),this.invoicesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_INVOICES_LND),(0,D.Z)(z=>(this.store.dispatch((0,I.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,w.T)(ze=>(this.logger.info(ze),this.store.dispatch((0,I.e8)({payload:{action:"FetchInvoices",status:y.wn.COMPLETED}})),z.payload.reversed&&!z.payload.index_offset&&(ze.total_invoices=+(ze.last_index_offset||0)),{type:y.QP.SET_INVOICES_LND,payload:ze})),(0,f.W)(ze=>(this.handleErrorWithoutAlert("FetchInvoices",y.MZ.NO_SPINNER,"Fetching Invoices Failed.",ze),(0,x.of)({type:y.aU.VOID})))))))),this.transactionsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_TRANSACTIONS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchTransactions",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.TRANSACTIONS_API))),(0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchTransactions",status:y.wn.COMPLETED}})),{type:y.QP.SET_TRANSACTIONS_LND,payload:z||[]})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchTransactions",y.MZ.NO_SPINNER,"Fetching Transactions Failed.",z),(0,x.of)({type:y.aU.VOID}))))),this.utxosFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_UTXOS_LND),(0,R.E)(this.store.select(V.pI)),(0,D.Z)(([z,N])=>(this.store.dispatch((0,I.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,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchUTXOs",status:y.wn.COMPLETED}})),{type:y.QP.SET_UTXOS_LND,payload:z||[]})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchUTXOs",y.MZ.NO_SPINNER,"Fetching UTXOs Failed.",z),(0,x.of)({type:y.aU.VOID}))))),this.paymentsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_PAYMENTS_LND),(0,D.Z)(z=>(this.store.dispatch((0,I.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,w.T)(ze=>(this.logger.info(ze),this.store.dispatch((0,I.e8)({payload:{action:"FetchPayments",status:y.wn.COMPLETED}})),this.commonService.sortByKey(ze.payments||[],this.paymentsPageSettings?.sortBy||"creation_date","number",this.paymentsPageSettings?.sortOrder),{type:y.QP.SET_PAYMENTS_LND,payload:ze})),(0,f.W)(ze=>(this.handleErrorWithoutAlert("FetchPayments",y.MZ.NO_SPINNER,"Fetching Payments Failed.",ze),(0,x.of)({type:y.QP.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SEND_PAYMENT_LND),(0,D.Z)(z=>{this.store.dispatch((0,O.mt)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.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,w.T)(q=>{if(this.logger.info(q),this.store.dispatch((0,O.y0)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.e8)({payload:{action:"SendPayment",status:y.wn.COMPLETED}})),q.payment_error)return z.payload.allow_self_payment?(this.store.dispatch((0,I.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),{type:y.QP.SEND_PAYMENT_STATUS_LND,payload:q}):(z.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed.",q.payment_error):this.handleErrorWithAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+y.rl.CHANNELS_API+"/transactions",q.payment_error),{type:y.aU.VOID});if(this.store.dispatch((0,O.y0)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.e8)({payload:{action:"SendPayment",status:y.wn.COMPLETED}})),this.store.dispatch((0,I.$Q)()),this.store.dispatch((0,I.CK)({payload:{max_payments:this.paymentsPageSettings?.recordsPerPage,reversed:!0}})),z.payload.allow_self_payment)this.store.dispatch((0,I.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}));else{let pe="Payment Sent Successfully.";q.payment_route&&q.payment_route.total_fees_msat&&(pe="Payment sent successfully with the total fee "+q.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,O.UI)({payload:pe}))}return{type:y.QP.SEND_PAYMENT_STATUS_LND,payload:q}}),(0,f.W)(q=>(this.logger.error("Error: "+JSON.stringify(q)),z.payload.allow_self_payment?(this.handleErrorWithoutAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed.",q),this.store.dispatch((0,I.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),(0,x.of)({type:y.QP.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(q)}})):(z.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed.",q):this.handleErrorWithAlert("SendPayment",z.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+y.rl.CHANNELS_API+"/transactions",q),(0,x.of)({type:y.aU.VOID})))))}))),this.graphNodeFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_GRAPH_NODE_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,I.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,f.W)(N=>(this.handleErrorWithoutAlert("FetchGraphNode",y.MZ.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",N),(0,x.of)({type:y.aU.VOID})))))))),this.setGraphNode=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_GRAPH_NODE_LND),(0,w.T)(z=>(this.logger.info(z.payload),z.payload))),{dispatch:!1}),this.getNewAddress=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GET_NEW_ADDRESS_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.GENERATE_NEW_ADDRESS})),{type:y.QP.SET_NEW_ADDRESS_LND,payload:N&&N.address?N.address:{}})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.setNewAddress=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_NEW_ADDRESS_LND),(0,w.T)(z=>(this.logger.info(z.payload),z.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_CHANNEL_TRANSACTION_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.SEND_FUNDS})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"SetChannelTransaction",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:y.MZ.SEND_FUNDS})),this.store.dispatch((0,I.mh)()),this.store.dispatch((0,I.DY)()),this.store.dispatch((0,I.$Q)()),{type:y.QP.SET_CHANNEL_TRANSACTION_RES_LND,payload:N})),(0,f.W)(N=>(this.handleErrorWithoutAlert("SetChannelTransaction",y.MZ.SEND_FUNDS,"Sending Fund Failed.",N),(0,x.of)({type:y.aU.VOID})))))))),this.fetchForwardingHistory=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GET_FORWARDING_HISTORY_LND),(0,D.Z)(z=>(this.store.dispatch((0,I.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,w.T)(q=>(this.logger.info(q),this.store.dispatch((0,I.e8)({payload:{action:"FetchForwardingHistory",status:y.wn.COMPLETED}})),{type:y.QP.SET_FORWARDING_HISTORY_LND,payload:q})),(0,f.W)(q=>(this.handleErrorWithAlert("FetchForwardingHistory",y.MZ.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+y.rl.SWITCH_API,q),(0,x.of)({type:y.aU.VOID})))))))),this.queryRoutesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GET_QUERY_ROUTES_LND),(0,D.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,w.T)(q=>(this.logger.info(q),{type:y.QP.SET_QUERY_ROUTES_LND,payload:q})),(0,f.W)(q=>(this.store.dispatch((0,I.Hm)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",y.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+y.rl.NETWORK_API,q),(0,x.of)({type:y.aU.VOID}))))}))),this.setQueryRoutes=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_QUERY_ROUTES_LND),(0,w.T)(z=>z.payload)),{dispatch:!1}),this.genSeed=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GEN_SEED_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+y.rl.WALLET_API+"/genseed/"+z.payload).pipe((0,w.T)(N=>(this.logger.info("Generated GenSeed!"),this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.GEN_SEED})),{type:y.QP.GEN_SEED_RESPONSE_LND,payload:N.cipher_seed_mnemonic})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.updateSelNodeOptions=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.UPDATE_SELECTED_NODE_OPTIONS),(0,D.Z)(()=>this.httpClient.get(this.CHILD_API_URL+y.rl.WALLET_API+"/updateSelNodeOptions").pipe((0,w.T)(z=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(z),{type:y.aU.VOID})),(0,f.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,x.of)({type:y.aU.VOID}))))))),this.genSeedResponse=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GEN_SEED_RESPONSE_LND),(0,w.T)(z=>z.payload)),{dispatch:!1}),this.initWalletRes=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.INIT_WALLET_RESPONSE_LND),(0,w.T)(z=>z.payload)),{dispatch:!1}),this.initWallet=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.INIT_WALLET_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.INITIALIZE_WALLET})),{type:y.QP.INIT_WALLET_RESPONSE_LND,payload:N})),(0,f.W)(N=>(this.handleErrorWithAlert("InitWallet",y.MZ.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+y.rl.WALLET_API+"/initwallet",N),(0,x.of)({type:y.aU.VOID})))))))),this.unlockWallet=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.UNLOCK_WALLET_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.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,w.T)(N=>(this.logger.info(N),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,O.y0)({payload:y.MZ.UNLOCK_WALLET})),this.store.dispatch((0,O.mt)({payload:y.MZ.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,O.y0)({payload:y.MZ.WAIT_SYNC_NODE})),this.store.dispatch((0,I.Br)({payload:{loadPage:"HOME"}}))},5e3),{type:y.aU.VOID})),(0,f.W)(N=>(this.handleErrorWithAlert("UnlockWallet",y.MZ.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+y.rl.WALLET_API+"/unlockwallet",N),(0,x.of)({type:y.aU.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.PEER_LOOKUP_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.SEARCHING_NODE})),this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.NETWORK_API+"/node/"+z.payload).pipe((0,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.SEARCHING_NODE})),this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),{type:y.QP.SET_LOOKUP_LND,payload:N})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.channelLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.CHANNEL_LOOKUP_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.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,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:z.payload.uiMessage})),this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),{type:y.QP.SET_LOOKUP_LND,payload:N})),(0,f.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,x.of)({type:y.aU.VOID})))))))),this.invoiceLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.INVOICE_LOOKUP_LND),(0,D.Z)(z=>{this.store.dispatch((0,O.mt)({payload:y.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,I.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,w.T)(q=>(this.logger.info(q),this.store.dispatch((0,O.y0)({payload:y.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),this.store.dispatch((0,I.Dq)({payload:q})),{type:y.QP.SET_LOOKUP_LND,payload:q})),(0,f.W)(q=>(this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",y.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",q),z.payload.openSnackBar&&this.store.dispatch((0,O.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,x.of)({type:y.QP.SET_LOOKUP_LND,payload:{error:q}}))))}))),this.paymentLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.PAYMENT_LOOKUP_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PAYMENTS_API+"/lookup/"+z.payload).pipe((0,w.T)(N=>(this.logger.info(N),this.store.dispatch((0,O.y0)({payload:y.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),this.store.dispatch((0,I._$)({payload:N})),{type:y.QP.SET_LOOKUP_LND,payload:N})),(0,f.W)(N=>(this.store.dispatch((0,I.e8)({payload:{action:"Lookup",status:y.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",y.MZ.SEARCHING_PAYMENT,"Payment Lookup Failed",N),(0,x.of)({type:y.QP.SET_LOOKUP_LND,payload:{error:N}})))))))),this.setLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_LOOKUP_LND),(0,w.T)(z=>(this.logger.info(z.payload),z.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.RESTORE_CHANNELS_LIST_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"RestoreChannelsList",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/restore/list").pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"RestoreChannelsList",status:y.wn.COMPLETED}})),{type:y.QP.SET_RESTORE_CHANNELS_LIST_LND,payload:z||{all_restore_exists:!1,files:[]}})),(0,f.W)(z=>(this.handleErrorWithAlert("RestoreChannelsList",y.MZ.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API,z),(0,x.of)({type:y.aU.VOID})))))))),this.setRestoreChannelList=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_RESTORE_CHANNELS_LIST_LND),(0,w.T)(z=>(this.logger.info(z.payload),z.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchLightningTransactions",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PAYMENTS_API+"/alltransactions").pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.e8)({payload:{action:"FetchLightningTransactions",status:y.wn.COMPLETED}})),{type:y.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:z})),(0,f.W)(z=>(this.handleErrorWithoutAlert("FetchLightningTransactions",y.MZ.NO_SPINNER,"Fetching All Lightning Transaction Failed.",z),(0,x.of)({type:y.aU.VOID})))))))),this.pageSettingsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_PAGE_SETTINGS_LND),(0,D.Z)(()=>(this.store.dispatch((0,I.e8)({payload:{action:"FetchPageSettings",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.PAGE_SETTINGS_API).pipe((0,w.T)(z=>(this.logger.info(z),this.store.dispatch((0,I.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,f.W)(z=>(this.handleErrorWithoutAlert("FetchPageSettings",y.MZ.NO_SPINNER,"Fetching Page Settings Failed.",z),(0,x.of)({type:y.aU.VOID})))))))),this.savePageSettings=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SAVE_PAGE_SETTINGS_LND),(0,D.Z)(z=>(this.store.dispatch((0,O.mt)({payload:y.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.e8)({payload:{action:"SavePageSettings",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.PAGE_SETTINGS_API,z.payload).pipe((0,w.T)(N=>{this.logger.info(N),this.store.dispatch((0,I.e8)({payload:{action:"SavePageSettings",status:y.wn.COMPLETED}})),this.store.dispatch((0,O.y0)({payload:y.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,O.UI)({payload:"Page Layout Updated Successfully!"}));const q=(N.find(ze=>"transactions"===ze.pageId)?.tables.find(ze=>"invoices"===ze.tableId)||y.ZC.find(ze=>"transactions"===ze.pageId)?.tables.find(ze=>"invoices"===ze.tableId)).recordsPerPage,pe=(N.find(ze=>"transactions"===ze.pageId)?.tables.find(ze=>"payments"===ze.tableId)||y.ZC.find(ze=>"transactions"===ze.pageId)?.tables.find(ze=>"payments"===ze.tableId)).recordsPerPage;return this.invoicesPageSettings&&q!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=q,this.store.dispatch((0,I.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))),this.paymentsPageSettings&&pe!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=pe),{type:y.QP.SET_PAGE_SETTINGS_LND,payload:N||[]}}),(0,f.W)(N=>(this.handleErrorWithAlert("SavePageSettings",y.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",y.rl.PAGE_SETTINGS_API,N),(0,x.of)({type:y.aU.VOID})))))))),this.store.select(V.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,O.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,I.Dq)({payload:z.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(z)))})}initializeRemainingData(n,c){this.sessionService.setItem("lndUnlocked","true");const m={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,O.mt)({payload:y.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,O.Fl)({payload:m}));let d=this.location.path();d.includes("/cln/")?d=d?.replace("/cln/","/lnd/"):d.includes("/ecl/")&&(d=d?.replace("/ecl/","/lnd/")),(d.includes("/unlock")||d.includes("/login")||d.includes("/error")||""===d||"HOME"===c||d.includes("?access-key="))&&(d="/lnd/home"),this.router.navigate([d]),this.store.dispatch((0,I.DY)()),this.store.dispatch((0,I.$Q)()),this.store.dispatch((0,I.ar)()),this.store.dispatch((0,I.pL)()),this.store.dispatch((0,I.Gy)()),this.store.dispatch((0,I.tf)()),this.store.dispatch((0,I.yp)()),this.store.dispatch((0,I.CK)({payload:{max_payments:1e5,reversed:!0}})),this.store.dispatch((0,I.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))}handleErrorWithoutAlert(n,c,m,d){this.logger.error("ERROR IN: "+n+"\n"+JSON.stringify(d)),401===d.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,O.Jh)()),this.store.dispatch((0,O.ri)({payload:"Authentication Failed: "+JSON.stringify(d.error)}))):(this.store.dispatch((0,O.y0)({payload:c})),this.store.dispatch((0,I.e8)({payload:{action:n,status:y.wn.ERROR,statusCode:d.status.toString(),message:this.commonService.extractErrorMessage(d,m)}})))}handleErrorWithAlert(n,c,m,d,C){if(this.logger.error(C),401===C.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,O.Jh)()),this.store.dispatch((0,O.ri)({payload:"Authentication Failed: "+JSON.stringify(C.error)}));else{this.store.dispatch((0,O.y0)({payload:c}));const A=this.commonService.extractErrorMessage(C);this.store.dispatch((0,O.xO)({payload:{data:{type:"ERROR",alertTitle:m,message:{code:C.status,message:A,URL:d},component:S.f}}})),this.store.dispatch((0,I.e8)({payload:{action:n,status:y.wn.ERROR,statusCode:C.status.toString(),message:A,URL:d}}))}}ngOnDestroy(){this.unSubs.forEach(n=>{n.next(null),n.complete()})}static{this.\u0275fac=function(c){return new(c||le)(j.KVO(e.En),j.KVO(Y.Qq),j.KVO(W.il),j.KVO(Q.gP),j.KVO(J.h),j.KVO(ie.Q),j.KVO(ee.bZ),j.KVO(fe.Ix),j.KVO(ne.I),j.KVO(Me.aZ))}}static{this.\u0275prov=j.jDH({token:le,factory:le.\u0275fac})}}return le})()},3536:(Qe,te,g)=>{"use strict";g.d(te,{$7:()=>W,$G:()=>x,BM:()=>I,Bw:()=>Y,Ie:()=>f,KT:()=>R,Uv:()=>j,ah:()=>J,eO:()=>fe,gN:()=>y,gj:()=>ne,n_:()=>ee,oR:()=>h,os:()=>S,pI:()=>D,rN:()=>O,ru:()=>w,tA:()=>ie});var e=g(9640);const t=(0,e.UX)("lnd"),x=(0,e.Mz)(t,Me=>({pageSettings:Me.pageSettings,apiCallStatus:Me.apisCallStatus.FetchPageSettings})),D=(0,e.Mz)(t,Me=>Me.information),w=((0,e.Mz)(t,Me=>({information:Me.information,apiCallStatus:Me.apisCallStatus.FetchInfo})),(0,e.Mz)(t,Me=>Me.apisCallStatus)),f=(0,e.Mz)(t,Me=>({forwardingHistory:Me.forwardingHistory,apiCallStatus:Me.apisCallStatus.FetchForwardingHistory})),R=(0,e.Mz)(t,Me=>({listPayments:Me.listPayments,apiCallStatus:Me.apisCallStatus.FetchPayments})),h=(0,e.Mz)(t,Me=>({fees:Me.fees,apiCallStatus:Me.apisCallStatus.FetchFees})),S=(0,e.Mz)(t,Me=>({peers:Me.peers,apiCallStatus:Me.apisCallStatus.FetchPeers})),y=(0,e.Mz)(t,Me=>({transactions:Me.transactions,apiCallStatus:Me.apisCallStatus.FetchTransactions})),O=(0,e.Mz)(t,Me=>({listInvoices:Me.listInvoices,apiCallStatus:Me.apisCallStatus.FetchInvoices})),I=(0,e.Mz)(t,Me=>({channels:Me.channels,channelsSummary:Me.channelsSummary,lightningBalance:Me.lightningBalance,apiCallStatus:Me.apisCallStatus.FetchAllChannels})),j=((0,e.Mz)(t,Me=>({channelsSummary:Me.channelsSummary,pendingChannels:Me.pendingChannels,closedChannels:Me.closedChannels,apiCallStatus:Me.apisCallStatus.FetchAllChannels})),(0,e.Mz)(t,Me=>({pendingChannels:Me.pendingChannels,pendingChannelsSummary:Me.pendingChannelsSummary,apiCallStatus:Me.apisCallStatus.FetchPendingChannels}))),Y=(0,e.Mz)(t,Me=>({closedChannels:Me.closedChannels,apiCallStatus:Me.apisCallStatus.FetchClosedChannels})),W=(0,e.Mz)(t,Me=>({blockchainBalance:Me.blockchainBalance,apiCallStatus:Me.apisCallStatus.FetchBalanceBlockchain})),J=((0,e.Mz)(t,Me=>({lightningBalance:Me.lightningBalance,apiCallStatus:Me.apisCallStatus.FetchAllChannels})),(0,e.Mz)(t,Me=>({utxos:Me.utxos,apiCallStatus:Me.apisCallStatus.FetchUTXOs}))),ie=(0,e.Mz)(t,Me=>({networkInfo:Me.networkInfo,apiCallStatus:Me.apisCallStatus.FetchNetwork})),ee=(0,e.Mz)(t,Me=>({allLightningTransactions:Me.allLightningTransactions,apiCallStatus:Me.apisCallStatus.FetchLightningTransactions})),fe=(0,e.Mz)(t,Me=>({channels:Me.channels,pendingChannels:Me.pendingChannels,closedChannels:Me.closedChannels})),ne=(0,e.Mz)(t,Me=>({information:Me.information,apiCallStatus:Me.apisCallStatus.FetchInfo}))},6391:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>Yt});var e=g(5351),t=g(5383),x=g(1413),D=g(6977),l=g(4416),w=g(3536),f=g(4438),R=g(8570),h=g(2571),S=g(5416),y=g(9640),O=g(177),I=g(60),V=g(2920),j=g(6038),Y=g(8834),W=g(5596),Q=g(9454),J=g(9213),ie=g(1997),ee=g(9183),fe=g(4823),ne=g(8288),Me=g(9157),Ce=g(9587);const le=["scrollContainer"],T=ve=>({"display-none":ve}),n=ve=>({"xs-scroll-y":ve}),c=ve=>({"h-50":ve}),m=()=>[],d=ve=>({"mr-0":ve});function C(ve,_e){if(1&ve&&f.nrm(0,"qr-code",33),2&ve){const we=f.XpG();f.Y8G("value",null==we.invoice?null:we.invoice.payment_request)("size",we.qrWidth)("errorCorrectionLevel","L")}}function A(ve,_e){1&ve&&(f.j41(0,"span",34),f.EFF(1,"N/A"),f.k0s())}function k(ve,_e){if(1&ve&&f.nrm(0,"qr-code",33),2&ve){const we=f.XpG();f.Y8G("value",null==we.invoice?null:we.invoice.payment_request)("size",we.qrWidth)("errorCorrectionLevel","L")}}function _(ve,_e){1&ve&&(f.j41(0,"span",35),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function a(ve,_e){1&ve&&f.nrm(0,"mat-divider",24),2&ve&&f.Y8G("inset",!0)}function b(ve,_e){1&ve&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function z(ve,_e){1&ve&&f.nrm(0,"span",41)}function N(ve,_e){if(1&ve&&(f.j41(0,"div",37)(1,"div",38)(2,"span",39),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,z,1,0,"span",40),f.k0s()()),2&ve){const we=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,null==we.invoice?null:we.invoice.amt_paid_sat)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,m).constructor(35))}}function q(ve,_e){if(1&ve&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&ve){const we=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,null==we.invoice?null:we.invoice.amt_paid_sat)," Sats")}}function pe(ve,_e){if(1&ve&&(f.qex(0),f.DNE(1,N,6,5,"div",36)(2,q,3,3,"div",23),f.bVm()),2&ve){const we=f.XpG();f.R7$(),f.Y8G("ngIf",we.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!we.flgInvoicePaid)}}function ze(ve,_e){1&ve&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function Xe(ve,_e){1&ve&&f.nrm(0,"mat-spinner",43),2&ve&&f.Y8G("diameter",20)}function We(ve,_e){if(1&ve&&(f.qex(0),f.DNE(1,ze,2,0,"span",23)(2,Xe,1,1,"mat-spinner",42),f.bVm()),2&ve){const we=f.XpG();f.R7$(),f.Y8G("ngIf","OPEN"!==(null==we.invoice?null:we.invoice.state)||!we.flgVersionCompatible),f.R7$(),f.Y8G("ngIf","OPEN"===(null==we.invoice?null:we.invoice.state)&&we.flgVersionCompatible)}}function oe(ve,_e){1&ve&&f.eu8(0)}function X(ve,_e){if(1&ve&&(f.j41(0,"div"),f.DNE(1,oe,1,0,"ng-container",44),f.k0s()),2&ve){f.XpG();const we=f.sdS(79);f.R7$(),f.Y8G("ngTemplateOutlet",we)}}function se(ve,_e){if(1&ve){const we=f.RV6();f.j41(0,"div",45)(1,"button",46),f.bIt("click",function(){f.eBV(we);const je=f.XpG();return f.Njj(je.onScrollDown())}),f.j41(2,"mat-icon",47),f.EFF(3,"arrow_downward"),f.k0s()()()}}function ae(ve,_e){1&ve&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function he(ve,_e){1&ve&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function Ie(ve,_e){if(1&ve){const we=f.RV6();f.j41(0,"button",48),f.bIt("copied",function(je){f.eBV(we);const vt=f.XpG();return f.Njj(vt.onCopyPayment(je))}),f.EFF(1),f.k0s()}if(2&ve){const we=f.XpG();f.Y8G("payload",null==we.invoice?null:we.invoice.payment_request),f.R7$(),f.JRh(we.screenSize===we.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function st(ve,_e){if(1&ve){const we=f.RV6();f.j41(0,"button",49),f.bIt("click",function(){f.eBV(we);const je=f.XpG();return f.Njj(je.onClose())}),f.EFF(1,"OK"),f.k0s()}}function me(ve,_e){if(1&ve&&f.nrm(0,"span",64),2&ve){const we=f.XpG(4);f.Y8G("ngClass",f.eq3(1,d,we.screenSize===we.screenSizeEnum.XS))}}function Ee(ve,_e){if(1&ve&&f.nrm(0,"span",65),2&ve){const we=f.XpG(4);f.Y8G("ngClass",f.eq3(1,d,we.screenSize===we.screenSizeEnum.XS))}}function ue(ve,_e){if(1&ve&&f.nrm(0,"span",66),2&ve){const we=f.XpG(4);f.Y8G("ngClass",f.eq3(1,d,we.screenSize===we.screenSizeEnum.XS))}}function Be(ve,_e){if(1&ve&&(f.j41(0,"div",53)(1,"div",58)(2,"span",59),f.DNE(3,me,1,3,"span",60)(4,Ee,1,3,"span",61)(5,ue,1,3,"span",62),f.EFF(6),f.k0s(),f.j41(7,"span",63),f.EFF(8),f.nI1(9,"number"),f.k0s()(),f.nrm(10,"mat-divider",24),f.k0s()),2&ve){const we=_e.$implicit,Ue=f.XpG(3);f.R7$(3),f.Y8G("ngIf","SETTLED"===we.state),f.R7$(),f.Y8G("ngIf","ACCEPTED"===we.state),f.R7$(),f.Y8G("ngIf","CANCELED"===we.state),f.R7$(),f.SpI(" ",we.chan_id," "),f.R7$(2),f.JRh(f.i5U(9,6,+we.amt_msat/1e3||0,Ue.getDecimalFormat(we))),f.R7$(2),f.Y8G("inset",!0)}}function Ct(ve,_e){if(1&ve){const we=f.RV6();f.j41(0,"div",19)(1,"mat-expansion-panel",51),f.bIt("opened",function(){f.eBV(we);const je=f.XpG(2);return f.Njj(je.flgOpened=!0)})("closed",function(){f.eBV(we);const je=f.XpG(2);return f.Njj(je.onExpansionClosed())}),f.j41(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),f.EFF(5,"HTLCs"),f.k0s()()(),f.j41(6,"div",53)(7,"div",54)(8,"span",55),f.EFF(9,"Channel ID"),f.k0s(),f.j41(10,"span",56),f.EFF(11,"Amount (Sats)"),f.k0s()(),f.nrm(12,"mat-divider",24),f.DNE(13,Be,11,9,"div",57),f.k0s()()()}if(2&ve){const we=f.XpG(2);f.R7$(12),f.Y8G("inset",!0),f.R7$(),f.Y8G("ngForOf",null==we.invoice?null:we.invoice.htlcs)}}function ct(ve,_e){1&ve&&f.nrm(0,"mat-divider",24),2&ve&&f.Y8G("inset",!0)}function dt(ve,_e){if(1&ve&&(f.nrm(0,"mat-divider",24),f.j41(1,"div",19)(2,"div",25)(3,"h4",21),f.EFF(4,"Preimage"),f.k0s(),f.j41(5,"span",26),f.EFF(6),f.k0s()()(),f.nrm(7,"mat-divider",24),f.j41(8,"div",19)(9,"div",20)(10,"h4",21),f.EFF(11,"State"),f.k0s(),f.j41(12,"span",26),f.EFF(13),f.k0s()(),f.j41(14,"div",20)(15,"h4",21),f.EFF(16,"Expiry"),f.k0s(),f.j41(17,"span",26),f.EFF(18),f.nI1(19,"date"),f.k0s()()(),f.nrm(20,"mat-divider",24),f.j41(21,"div",19)(22,"div",20)(23,"h4",21),f.EFF(24,"Private Routing Hints"),f.k0s(),f.j41(25,"span",26),f.EFF(26),f.k0s()(),f.j41(27,"div",20)(28,"h4",21),f.EFF(29,"AMP Invoice"),f.k0s(),f.j41(30,"span",26),f.EFF(31),f.k0s()()(),f.nrm(32,"mat-divider",24),f.DNE(33,Ct,14,2,"div",50)(34,ct,1,1,"mat-divider",17)),2&ve){const we=f.XpG();f.Y8G("inset",!0),f.R7$(6),f.JRh((null==we.invoice?null:we.invoice.r_preimage)||"-"),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh(null==we.invoice?null:we.invoice.state),f.R7$(5),f.JRh(f.i5U(19,11,1e3*(+(null==we.invoice?null:we.invoice.creation_date)+ +(null==we.invoice?null:we.invoice.expiry)),"dd/MMM/y HH:mm")),f.R7$(2),f.Y8G("inset",!0),f.R7$(6),f.JRh(null!=we.invoice&&we.invoice.private?"Yes":"No"),f.R7$(5),f.JRh(null!=we.invoice&&we.invoice.is_amp?"Yes":"No"),f.R7$(),f.Y8G("inset",!0),f.R7$(),f.Y8G("ngIf",(null==we.invoice?null:we.invoice.htlcs)&&(null==we.invoice?null:we.invoice.htlcs.length)>0),f.R7$(),f.Y8G("ngIf",(null==we.invoice?null:we.invoice.htlcs)&&(null==we.invoice?null:we.invoice.htlcs.length)>0)}}let Yt=(()=>{class ve{set container(we){we&&(this.scrollContainer=we)}constructor(we,Ue,je,vt,$e,nt){this.dialogRef=we,this.data=Ue,this.logger=je,this.commonService=vt,this.snackBar=$e,this.store=nt,this.faReceipt=t.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 x.B,new x.B,new x.B,new x.B,new x.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(w.pI).pipe((0,D.Q)(this.unSubs[0])).subscribe(Ue=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(Ue.version,"0.11.0")});const we=JSON.parse(JSON.stringify(this.invoice));this.store.select(w.rN).pipe((0,D.Q)(this.unSubs[1])).subscribe(Ue=>{const je=this.invoice?.state,$e=(Ue.listInvoices.invoices||[]).find(nt=>nt.r_hash===we.r_hash)||null;$e&&(this.invoice=$e),je!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(Ue)})}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(we){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+we)}getDecimalFormat(we){return we.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(we=>{we.next(null),we.complete()})}static{this.\u0275fac=function(Ue){return new(Ue||ve)(f.rXU(e.CP),f.rXU(e.Vh),f.rXU(R.gP),f.rXU(h.h),f.rXU(S.UG),f.rXU(y.il))}}static{this.\u0275cmp=f.VBU({type:ve,selectors:[["rtl-invoice-information"]],viewQuery:function(Ue,je){if(1&Ue&&f.GBs(le,5),2&Ue){let vt;f.mGM(vt=f.lsd())&&(je.container=vt.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(Ue,je){if(1&Ue){const vt=f.RV6();f.j41(0,"div",3)(1,"div",4),f.DNE(2,C,1,3,"qr-code",5)(3,A,2,0,"span",6),f.k0s(),f.j41(4,"div",7)(5,"mat-card-header",8)(6,"div",9),f.nrm(7,"fa-icon",10),f.j41(8,"span",11),f.EFF(9),f.k0s()(),f.j41(10,"button",12),f.bIt("click",function(){return f.eBV(vt),f.Njj(je.onClose())}),f.EFF(11,"X"),f.k0s()(),f.j41(12,"mat-card-content",13)(13,"div",14)(14,"div",15),f.DNE(15,k,1,3,"qr-code",5)(16,_,2,0,"span",16),f.k0s(),f.DNE(17,a,1,1,"mat-divider",17),f.j41(18,"div",18,0)(20,"div",19)(21,"div",20)(22,"h4",21),f.EFF(23),f.k0s(),f.j41(24,"span",22),f.EFF(25),f.nI1(26,"number"),f.DNE(27,b,2,0,"ng-container",23),f.k0s()(),f.j41(28,"div",20)(29,"h4",21),f.EFF(30,"Amount Settled"),f.k0s(),f.j41(31,"span",22),f.DNE(32,pe,3,2,"ng-container",23)(33,We,3,2,"ng-container",23),f.k0s()()(),f.nrm(34,"mat-divider",24),f.j41(35,"div",19)(36,"div",20)(37,"h4",21),f.EFF(38,"Date Created"),f.k0s(),f.j41(39,"span",22),f.EFF(40),f.nI1(41,"date"),f.k0s()(),f.j41(42,"div",20)(43,"h4",21),f.EFF(44,"Date Settled"),f.k0s(),f.j41(45,"span",22),f.EFF(46),f.nI1(47,"date"),f.k0s()()(),f.nrm(48,"mat-divider",24),f.j41(49,"div",19)(50,"div",25)(51,"h4",21),f.EFF(52,"Memo"),f.k0s(),f.j41(53,"span",22),f.EFF(54),f.k0s()()(),f.nrm(55,"mat-divider",24),f.j41(56,"div",19)(57,"div",25)(58,"h4",21),f.EFF(59,"Payment Request"),f.k0s(),f.j41(60,"span",26),f.EFF(61),f.k0s()()(),f.nrm(62,"mat-divider",24),f.j41(63,"div",19)(64,"div",25)(65,"h4",21),f.EFF(66,"Payment Hash"),f.k0s(),f.j41(67,"span",26),f.EFF(68),f.k0s()()(),f.DNE(69,X,2,1,"div",23),f.k0s()()(),f.DNE(70,se,4,0,"div",27),f.j41(71,"div",28)(72,"button",29),f.bIt("click",function(){return f.eBV(vt),f.Njj(je.onShowAdvanced())}),f.DNE(73,ae,2,0,"p",30)(74,he,2,0,"ng-template",null,1,f.C5r),f.k0s(),f.DNE(76,Ie,2,2,"button",31)(77,st,2,0,"button",32),f.k0s()()(),f.DNE(78,dt,35,14,"ng-template",null,2,f.C5r)}if(2&Ue){const vt=f.sdS(75);f.R7$(),f.Y8G("fxLayoutAlign",null!=je.invoice&&je.invoice.payment_request&&""!==(null==je.invoice?null:je.invoice.payment_request)?"center start":"center center")("ngClass",f.eq3(41,T,je.screenSize===je.screenSizeEnum.XS||je.screenSize===je.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==je.invoice?null:je.invoice.payment_request)&&""!==(null==je.invoice?null:je.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=je.invoice&&je.invoice.payment_request)||""===(null==je.invoice?null:je.invoice.payment_request)),f.R7$(4),f.Y8G("icon",je.faReceipt),f.R7$(2),f.JRh(je.screenSize===je.screenSizeEnum.XS?je.newlyAdded?"Created":"Invoice":je.newlyAdded?"Invoice Created":"Invoice Information"),f.R7$(3),f.Y8G("ngClass",f.eq3(43,n,je.screenSize===je.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=je.invoice&&je.invoice.payment_request&&""!==(null==je.invoice?null:je.invoice.payment_request)?"center start":"center center")("ngClass",f.eq3(45,T,je.screenSize!==je.screenSizeEnum.XS&&je.screenSize!==je.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==je.invoice?null:je.invoice.payment_request)&&""!==(null==je.invoice?null:je.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=je.invoice&&je.invoice.payment_request)||""===(null==je.invoice?null:je.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",je.screenSize===je.screenSizeEnum.XS||je.screenSize===je.screenSizeEnum.SM),f.R7$(),f.Y8G("ngClass",f.eq3(47,c,(null==je.invoice?null:je.invoice.htlcs)&&(null==je.invoice?null:je.invoice.htlcs.length)>0&&je.showAdvanced)),f.R7$(5),f.JRh(je.screenSize===je.screenSizeEnum.XS?"Amount":"Amount Requested"),f.R7$(2),f.SpI("",f.bMT(26,33,(null==je.invoice?null:je.invoice.value)||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=je.invoice&&je.invoice.value)||"0"===(null==je.invoice?null:je.invoice.value)),f.R7$(5),f.Y8G("ngIf",(null==je.invoice?null:je.invoice.amt_paid_sat)&&"OPEN"!==(null==je.invoice?null:je.invoice.state)),f.R7$(),f.Y8G("ngIf",!(null!=je.invoice&&je.invoice.amt_paid_sat)||"0"===(null==je.invoice?null:je.invoice.amt_paid_sat)),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh(f.i5U(41,35,1e3*(null==je.invoice?null:je.invoice.creation_date),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(0!=+(null==je.invoice?null:je.invoice.settle_date)?f.i5U(47,38,1e3*+(null==je.invoice?null:je.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),f.R7$(2),f.Y8G("inset",!0),f.R7$(6),f.JRh(null==je.invoice?null:je.invoice.memo),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh((null==je.invoice?null:je.invoice.payment_request)||"N/A"),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh((null==je.invoice?null:je.invoice.r_hash)||""),f.R7$(),f.Y8G("ngIf",je.showAdvanced),f.R7$(),f.Y8G("ngIf",(null==je.invoice?null:je.invoice.htlcs)&&(null==je.invoice?null:je.invoice.htlcs.length)>0&&je.showAdvanced&&je.flgOpened),f.R7$(3),f.Y8G("ngIf",!je.showAdvanced)("ngIfElse",vt),f.R7$(3),f.Y8G("ngIf",(null==je.invoice?null:je.invoice.payment_request)&&""!==(null==je.invoice?null:je.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=je.invoice&&je.invoice.payment_request)||""===(null==je.invoice?null:je.invoice.payment_request))}},dependencies:[O.YU,O.Sq,O.bT,O.T3,I.aY,V.DJ,V.sA,V.UI,j.PW,Y.$z,Y.$0,W.m2,W.MM,Q.GK,Q.Z2,Q.WN,J.An,ie.q,ee.LG,fe.oV,ne.Um,Me.U,Ce.N,O.QX,O.vh]})}}return ve})()},1001:(Qe,te,g)=>{"use strict";g.d(te,{C:()=>t,q:()=>x});var e=g(9969);const t=[(0,e.hZ)("opacityAnimation",[(0,e.kY)(":enter",[(0,e.iF)({opacity:0}),(0,e.i0)("1000ms ease-in",(0,e.iF)({opacity:1}))]),(0,e.kY)(":leave",[(0,e.i0)("0ms",(0,e.iF)({opacity:0}))])])],x=[(0,e.hZ)("fadeIn",[(0,e.kY)("void => *",[]),(0,e.kY)("* => void",[]),(0,e.kY)("* => *",[(0,e.i0)(800,(0,e.i7)([(0,e.iF)({opacity:0,transform:"translateY(100%)"}),(0,e.iF)({opacity:1,transform:"translateY(0%)"})]))])])]},9881:(Qe,te,g)=>{"use strict";g.d(te,{E:()=>t});var e=g(9969);const t=(0,e.hZ)("routeAnimation",[(0,e.kY)("* => *",[(0,e.P)(":enter, :leave",(0,e.iF)({position:"fixed",width:"100%"}),{optional:!0}),(0,e.Os)([(0,e.P)(":enter",[(0,e.iF)({transform:"translateX(100%)"}),(0,e.i0)("1000ms ease-in-out",(0,e.iF)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.P)(":leave",[(0,e.iF)({transform:"translateX(0%)"}),(0,e.i0)("1000ms ease-in-out",(0,e.iF)({transform:"translateX(-100%)"}))],{optional:!0})])])])},6949:(Qe,te,g)=>{"use strict";g.d(te,{k:()=>t});var e=g(9969);const t=[(0,e.hZ)("sliderAnimation",[(0,e.wk)("*",(0,e.iF)({transform:"translateX(0)"})),(0,e.kY)("void => backward",[(0,e.iF)({transform:"translateX(-100%"}),(0,e.i0)("800ms")]),(0,e.kY)("backward => void",[(0,e.i0)("0ms",(0,e.iF)({transform:"translateX(100%)"}))]),(0,e.kY)("void => forward",[(0,e.iF)({transform:"translateX(100%"}),(0,e.i0)("800ms")]),(0,e.kY)("forward => void",[(0,e.i0)("0ms",(0,e.iF)({transform:"translateX(-100%)"}))])])]},2462:(Qe,te,g)=>{"use strict";g.d(te,{f:()=>y});var e=g(5351),t=g(4438),x=g(8570),D=g(177),l=g(2920),w=g(8834),f=g(5596),R=g(1997),h=g(9587);function S(O,I){if(1&O&&(t.j41(0,"p",14),t.EFF(1),t.k0s()),2&O){const V=t.XpG();t.R7$(),t.JRh(V.data.titleMessage)}}let y=(()=>{class O{constructor(V,j,Y){this.dialogRef=V,this.data=j,this.logger=Y,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(j){return new(j||O)(t.rXU(e.CP),t.rXU(e.Vh),t.rXU(x.gP))}}static{this.\u0275cmp=t.VBU({type:O,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(j,Y){1&j&&(t.j41(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t.EFF(5),t.k0s()(),t.j41(6,"button",5),t.bIt("click",function(){return Y.onClose()}),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",6)(9,"div",7),t.DNE(10,S,2,1,"p",8),t.j41(11,"h4",9),t.EFF(12,"Error Code"),t.k0s(),t.j41(13,"span"),t.EFF(14),t.k0s(),t.nrm(15,"mat-divider",10),t.j41(16,"h4",9),t.EFF(17,"Error Message"),t.k0s(),t.j41(18,"span",11),t.EFF(19),t.k0s(),t.nrm(20,"mat-divider",10),t.j41(21,"h4",9),t.EFF(22,"API URL"),t.k0s(),t.j41(23,"span",11),t.EFF(24),t.k0s(),t.nrm(25,"mat-divider",10),t.j41(26,"div",12)(27,"button",13),t.EFF(28,"OK"),t.k0s()()()()()()),2&j&&(t.R7$(5),t.JRh(Y.data.alertTitle||"ERROR"),t.R7$(5),t.Y8G("ngIf",Y.data.titleMessage),t.R7$(4),t.JRh(Y.data.message.code),t.R7$(5),t.JRh(Y.errorMessage),t.R7$(5),t.JRh(Y.data.message.URL),t.R7$(3),t.Y8G("mat-dialog-close",!1))},dependencies:[D.bT,l.DJ,l.sA,l.UI,e.tx,w.$z,f.m2,f.MM,R.q,h.N],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}}return O})()},8711:(Qe,te,g)=>{"use strict";g.d(te,{D:()=>Qi});var e=g(9417),t=g(1413),x=g(6977),D=g(5351),l=g(5383),w=g(1001),f=g(4416),R=g(3536),h=g(4438),S=g(9640),y=g(4104),O=g(177),I=g(8570),V=g(1188),j=g(2571),Y=g(2920),W=g(6038),Q=g(8834),J=g(5596),ie=g(9454),ee=g(9213),fe=g(9631),ne=g(6467),Me=g(7575),Ce=g(5951),le=g(450),T=g(4823),n=g(6013),c=g(9587),m=g(1997);const d=Xt=>({"h-5":Xt});function C(Xt,St){1&Xt&&h.eu8(0)}function A(Xt,St){1&Xt&&h.eu8(0)}function k(Xt,St){if(1&Xt&&(h.j41(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),h.EFF(4),h.nI1(5,"number"),h.k0s()()(),h.DNE(6,A,1,0,"ng-container",2),h.k0s()),2&Xt){const tt=h.XpG(),ot=h.sdS(4);h.Y8G("expanded",tt.panelExpanded)("ngClass",h.eq3(7,d,!tt.flgShowPanel)),h.R7$(4),h.Lme("Quote for ",tt.termCaption," amount (",h.bMT(5,5,tt.quote.amount)," Sats)"),h.R7$(2),h.Y8G("ngTemplateOutlet",ot)}}function _(Xt,St){if(1&Xt&&(h.j41(0,"div",19)(1,"h4",8),h.EFF(2," Prepay Amount (Sats) "),h.j41(3,"mat-icon",20),h.EFF(4,"info_outline"),h.k0s()(),h.j41(5,"span",10),h.EFF(6),h.nI1(7,"number"),h.k0s()()),2&Xt){const tt=h.XpG(2);h.R7$(6),h.JRh(h.bMT(7,1,null==tt.quote?null:tt.quote.prepay_amt_sat))}}function a(Xt,St){1&Xt&&h.nrm(0,"mat-divider",13)}function b(Xt,St){if(1&Xt&&(h.j41(0,"div",6)(1,"div",21)(2,"h4",8),h.EFF(3," Swap Server Node Pubkey "),h.j41(4,"mat-icon",22),h.EFF(5,"info_outline"),h.k0s()(),h.j41(6,"span",10),h.EFF(7),h.k0s()()()),2&Xt){const tt=h.XpG(2);h.R7$(7),h.JRh(null==tt.quote?null:tt.quote.swap_payment_dest)}}function z(Xt,St){if(1&Xt&&(h.j41(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),h.EFF(4," Swap Fee (Sats) "),h.j41(5,"mat-icon",9),h.EFF(6,"info_outline"),h.k0s()(),h.j41(7,"span",10),h.EFF(8),h.nI1(9,"number"),h.k0s()(),h.j41(10,"div",7)(11,"h4",8),h.EFF(12),h.j41(13,"mat-icon",11),h.EFF(14,"info_outline"),h.k0s()(),h.j41(15,"span",10),h.EFF(16),h.nI1(17,"number"),h.k0s()(),h.DNE(18,_,8,3,"div",12),h.k0s(),h.nrm(19,"mat-divider",13),h.j41(20,"div",6)(21,"div",14)(22,"h4",8),h.EFF(23," Max Off-chain Swap Routing Fee (Sats) "),h.j41(24,"mat-icon",15),h.EFF(25,"info_outline"),h.k0s()(),h.j41(26,"span",10),h.EFF(27),h.nI1(28,"number"),h.k0s()(),h.j41(29,"div",14)(30,"h4",8),h.EFF(31," Max Off-chain Prepay Routing Fee (Sats) "),h.j41(32,"mat-icon",16),h.EFF(33,"info_outline"),h.k0s()(),h.j41(34,"span",10),h.EFF(35,"36"),h.k0s()()(),h.DNE(36,a,1,0,"mat-divider",17)(37,b,8,1,"div",18),h.k0s()),2&Xt){const tt=h.XpG();h.R7$(2),h.Y8G("fxFlex",null!=tt.quote&&tt.quote.prepay_amt_sat?"30":"50"),h.R7$(6),h.JRh(h.bMT(9,9,null==tt.quote?null:tt.quote.swap_fee_sat)),h.R7$(2),h.Y8G("fxFlex",null!=tt.quote&&tt.quote.prepay_amt_sat?"35":"50"),h.R7$(2),h.SpI(" ",null!=tt.quote&&tt.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=tt.quote&&tt.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),h.R7$(4),h.JRh(h.bMT(17,11,null!=tt.quote&&tt.quote.htlc_sweep_fee_sat?tt.quote.htlc_sweep_fee_sat:null!=tt.quote&&tt.quote.htlc_publish_fee_sat?tt.quote.htlc_publish_fee_sat:0)),h.R7$(2),h.Y8G("ngIf",null==tt.quote?null:tt.quote.prepay_amt_sat),h.R7$(9),h.JRh(h.bMT(28,13,(null==tt.quote?null:tt.quote.amount)*((null!=tt.quote&&tt.quote.off_chain_swap_routing_fee_percentage?null==tt.quote?null:tt.quote.off_chain_swap_routing_fee_percentage:2)/100))),h.R7$(9),h.Y8G("ngIf",""!==(null==tt.quote?null:tt.quote.swap_payment_dest)),h.R7$(),h.Y8G("ngIf",""!==(null==tt.quote?null:tt.quote.swap_payment_dest))}}let N=(()=>{class Xt{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}static{this.\u0275fac=function(ot){return new(ot||Xt)}}static{this.\u0275cmp=h.VBU({type:Xt,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(ot,Mt){if(1&ot&&h.DNE(0,C,1,0,"ng-container",2)(1,k,7,9,"ng-template",null,0,h.C5r)(3,z,38,15,"ng-template",null,1,h.C5r),2&ot){const Bt=h.sdS(2),Ci=h.sdS(4);h.Y8G("ngTemplateOutlet",Mt.showPanel?Bt:Ci)}},dependencies:[O.YU,O.bT,O.T3,Y.DJ,Y.sA,Y.UI,W.PW,ie.GK,ie.Z2,ie.WN,ee.An,m.q,T.oV,O.QX]})}}return Xt})();function q(Xt,St){1&Xt&&h.eu8(0)}function pe(Xt,St){if(1&Xt&&(h.j41(0,"div",3)(1,"span",4),h.EFF(2),h.k0s()()),2&Xt){const tt=h.XpG();h.R7$(2),h.JRh(null!=tt.loopStatus&&tt.loopStatus.error?null==tt.loopStatus?null:tt.loopStatus.error:"Unknown Error.")}}function ze(Xt,St){if(1&Xt&&(h.j41(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),h.EFF(4,"ID"),h.k0s(),h.j41(5,"span",4),h.EFF(6),h.k0s()()(),h.nrm(7,"mat-divider",8),h.j41(8,"div",5)(9,"div",6)(10,"h4",7),h.EFF(11,"HTLC Address"),h.k0s(),h.j41(12,"span",4),h.EFF(13),h.k0s()()()()),2&Xt){const tt=h.XpG();h.R7$(6),h.JRh(null==tt.loopStatus?null:tt.loopStatus.id_bytes),h.R7$(7),h.JRh(null==tt.loopStatus?null:tt.loopStatus.htlc_address)}}let Xe=(()=>{class Xt{constructor(){}static{this.\u0275fac=function(ot){return new(ot||Xt)}}static{this.\u0275cmp=h.VBU({type:Xt,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(ot,Mt){if(1&ot&&h.DNE(0,q,1,0,"ng-container",2)(1,pe,3,1,"ng-template",null,0,h.C5r)(3,ze,14,2,"ng-template",null,1,h.C5r),2&ot){const Bt=h.sdS(2),Ci=h.sdS(4);h.Y8G("ngTemplateOutlet",null!=Mt.loopStatus&&Mt.loopStatus.error?Bt:Ci)}},dependencies:[O.T3,Y.DJ,Y.sA,Y.UI,m.q]})}}return Xt})();var We=g(6949);const oe=(Xt,St)=>({"small-svg":Xt,"large-svg":St});function X(Xt,St){1&Xt&&h.eu8(0)}function se(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",7)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),h.nrm(8,"circle",12)(9,"path",13),h.k0s(),h.j41(10,"g",14),h.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),h.k0s()()()()(),h.joV(),h.j41(26,"div",30)(27,"mat-card-title"),h.EFF(28,"Loop In explained."),h.k0s()(),h.j41(29,"div",31)(30,"mat-card-subtitle",32),h.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,oe,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function ae(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",33)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"defs")(5,"linearGradient",34),h.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),h.k0s()(),h.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),h.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),h.k0s(),h.j41(28,"g",56)(29,"g",57)(30,"g",58),h.nrm(31,"path",59)(32,"rect",60)(33,"polygon",61),h.j41(34,"g",62),h.nrm(35,"path",63),h.k0s(),h.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),h.k0s(),h.j41(45,"g",73),h.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),h.k0s(),h.nrm(59,"path",87),h.k0s()()()()()(),h.joV(),h.j41(60,"div",30)(61,"mat-card-title"),h.EFF(62,"Step 1: Deciding to Loop In"),h.k0s()(),h.j41(63,"div",31)(64,"mat-card-subtitle",32),h.EFF(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,oe,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function he(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",88)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"defs")(5,"linearGradient",89),h.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),h.k0s()(),h.j41(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),h.nrm(14,"circle",95)(15,"path",96),h.j41(16,"g",97),h.nrm(17,"polygon",98)(18,"polygon",99)(19,"path",100),h.k0s(),h.j41(20,"g",101),h.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),h.j41(31,"g",112)(32,"g",113),h.nrm(33,"g",114),h.k0s(),h.nrm(34,"g",115),h.k0s()()(),h.j41(35,"g",116)(36,"g",40),h.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),h.k0s(),h.j41(53,"g",56)(54,"g",57)(55,"g",58),h.nrm(56,"path",59)(57,"rect",60)(58,"polygon",61),h.j41(59,"g",122),h.nrm(60,"path",63),h.k0s(),h.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),h.k0s(),h.j41(70,"g",73),h.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),h.k0s(),h.nrm(84,"path",139),h.k0s()()()(),h.nrm(85,"path",140)(86,"path",141),h.k0s()()()(),h.joV(),h.j41(87,"div",30)(88,"mat-card-title"),h.EFF(89,"Step 2: Send payment out"),h.k0s()(),h.j41(90,"div",31)(91,"mat-card-subtitle",32),h.EFF(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,oe,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function Ie(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",142)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),h.nrm(10,"circle",12)(11,"path",147),h.k0s(),h.j41(12,"g",14),h.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),h.k0s()(),h.j41(28,"g",149),h.nrm(29,"polygon",150)(30,"polygon",99)(31,"path",151),h.k0s(),h.j41(32,"g",152),h.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),h.j41(43,"g",112)(44,"g",113),h.nrm(45,"g",114),h.k0s(),h.nrm(46,"g",115),h.k0s()()(),h.nrm(47,"path",153),h.k0s()()()(),h.joV(),h.j41(48,"div",30)(49,"mat-card-title"),h.EFF(50,"Step 3: Recieve Funds Off-chain"),h.k0s()(),h.j41(51,"div",31)(52,"mat-card-subtitle",32),h.EFF(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,oe,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function st(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",154)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"defs")(5,"linearGradient",34),h.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),h.k0s()(),h.j41(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),h.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),h.k0s(),h.j41(28,"g",172),h.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),h.k0s(),h.nrm(43,"path",187),h.k0s()(),h.nrm(44,"circle",188),h.k0s()()()(),h.joV(),h.j41(45,"div",30)(46,"mat-card-title"),h.EFF(47,"Done!"),h.k0s()(),h.j41(48,"div",31)(49,"mat-card-subtitle",32),h.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. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,oe,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}let me=(()=>{class Xt{constructor(tt){this.commonService=tt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new h.bkB,this.screenSize="",this.screenSizeEnum=f.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(tt){2===tt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===tt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static{this.\u0275fac=function(ot){return new(ot||Xt)(h.rXU(j.h))}}static{this.\u0275cmp=h.VBU({type:Xt,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(ot,Mt){if(1&ot&&h.DNE(0,X,1,0,"ng-container",5)(1,se,32,5,"ng-template",null,0,h.C5r)(3,ae,66,5,"ng-template",null,1,h.C5r)(5,he,93,5,"ng-template",null,2,h.C5r)(7,Ie,54,5,"ng-template",null,3,h.C5r)(9,st,51,5,"ng-template",null,4,h.C5r),2&ot){const Bt=h.sdS(2),Ci=h.sdS(4),Ti=h.sdS(6),Hi=h.sdS(8),Zi=h.sdS(10);h.Y8G("ngTemplateOutlet",1===Mt.stepNumber?Bt:2===Mt.stepNumber?Ci:3===Mt.stepNumber?Ti:4===Mt.stepNumber?Hi:Zi)}},dependencies:[O.YU,O.T3,Y.DJ,Y.sA,Y.UI,W.PW,J.Lc,J.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:[We.k]}})}}return Xt})();const Ee=(Xt,St)=>({"small-svg":Xt,"large-svg":St});function ue(Xt,St){1&Xt&&h.eu8(0)}function Be(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",7)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),h.nrm(8,"circle",12)(9,"path",13),h.k0s(),h.j41(10,"g",14),h.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),h.k0s()()()()(),h.joV(),h.j41(26,"div",30)(27,"mat-card-title"),h.EFF(28,"Loop Out explained."),h.k0s()(),h.j41(29,"div",31)(30,"mat-card-subtitle",32),h.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,Ee,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function Ct(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",33)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"defs")(5,"linearGradient",34),h.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),h.k0s()(),h.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),h.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),h.k0s(),h.j41(28,"g",56),h.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),h.k0s(),h.nrm(43,"path",71),h.k0s()(),h.nrm(44,"circle",72),h.k0s()()()(),h.joV(),h.j41(45,"div",30)(46,"mat-card-title"),h.EFF(47,"Step 1: Deciding to Loop Out"),h.k0s()(),h.j41(48,"div",31)(49,"mat-card-subtitle",32),h.EFF(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,Ee,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function ct(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",73)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"defs")(5,"linearGradient",74),h.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),h.k0s()(),h.j41(9,"g",8)(10,"g",75)(11,"g",76),h.nrm(12,"circle",77)(13,"path",78),h.j41(14,"g",79),h.nrm(15,"polygon",80)(16,"polygon",81)(17,"path",82),h.k0s(),h.j41(18,"g",83),h.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),h.j41(29,"g",94)(30,"g",95),h.nrm(31,"g",96),h.k0s(),h.nrm(32,"g",97),h.k0s(),h.nrm(33,"path",98),h.k0s(),h.j41(34,"g",99)(35,"g",41)(36,"g",42),h.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),h.k0s(),h.j41(52,"g",56),h.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),h.k0s(),h.nrm(67,"path",111),h.k0s()()()()()(),h.joV(),h.j41(68,"div",30)(69,"mat-card-title"),h.EFF(70,"Step 2: Send lightning payment"),h.k0s()(),h.j41(71,"div",31)(72,"mat-card-subtitle",32),h.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. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,Ee,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function dt(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",112)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),h.nrm(9,"circle",12)(10,"path",117),h.k0s(),h.j41(11,"g",14),h.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),h.k0s()(),h.j41(27,"g",119),h.nrm(28,"polygon",80)(29,"polygon",120)(30,"path",82),h.k0s(),h.j41(31,"g",121),h.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),h.j41(42,"g",94)(43,"g",95),h.nrm(44,"g",96),h.k0s(),h.nrm(45,"g",97),h.k0s(),h.nrm(46,"path",123),h.k0s()()()()(),h.joV(),h.j41(47,"div",30)(48,"mat-card-title"),h.EFF(49,"Step 3: Receive funds back"),h.k0s()(),h.j41(50,"div",31)(51,"mat-card-subtitle",32),h.EFF(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,Ee,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}function Yt(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",6),h.bIt("swipe",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.onSwipe(Mt))}),h.qSk(),h.j41(1,"svg",124)(2,"desc"),h.EFF(3,"Created with Sketch."),h.k0s(),h.j41(4,"defs")(5,"linearGradient",34),h.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),h.k0s()(),h.j41(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),h.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),h.k0s(),h.j41(28,"g",142)(29,"g",143)(30,"g",144),h.nrm(31,"path",145)(32,"rect",146)(33,"polygon",147),h.j41(34,"g",148),h.nrm(35,"path",149),h.k0s(),h.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),h.k0s(),h.j41(45,"g",159),h.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),h.k0s(),h.nrm(59,"path",173),h.k0s()()()()()(),h.joV(),h.j41(60,"div",30)(61,"mat-card-title"),h.EFF(62,"Done!"),h.k0s()(),h.j41(63,"div",31)(64,"mat-card-subtitle",32),h.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. "),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@sliderAnimation",tt.animationDirection),h.R7$(),h.Y8G("ngClass",h.l_i(2,Ee,tt.screenSize===tt.screenSizeEnum.XS,tt.screenSize!==tt.screenSizeEnum.XS))}}let ve=(()=>{class Xt{constructor(tt){this.commonService=tt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new h.bkB,this.screenSize="",this.screenSizeEnum=f.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(tt){2===tt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===tt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static{this.\u0275fac=function(ot){return new(ot||Xt)(h.rXU(j.h))}}static{this.\u0275cmp=h.VBU({type:Xt,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(ot,Mt){if(1&ot&&h.DNE(0,ue,1,0,"ng-container",5)(1,Be,32,5,"ng-template",null,0,h.C5r)(3,Ct,51,5,"ng-template",null,1,h.C5r)(5,ct,74,5,"ng-template",null,2,h.C5r)(7,dt,53,5,"ng-template",null,3,h.C5r)(9,Yt,66,5,"ng-template",null,4,h.C5r),2&ot){const Bt=h.sdS(2),Ci=h.sdS(4),Ti=h.sdS(6),Hi=h.sdS(8),Zi=h.sdS(10);h.Y8G("ngTemplateOutlet",1===Mt.stepNumber?Bt:2===Mt.stepNumber?Ci:3===Mt.stepNumber?Ti:4===Mt.stepNumber?Hi:Zi)}},dependencies:[O.YU,O.T3,Y.DJ,Y.sA,Y.UI,W.PW,J.Lc,J.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:[We.k]}})}}return Xt})();const _e=["stepper"],we=()=>[1,2,3,4,5],Ue=(Xt,St)=>({"dot-primary":Xt,"dot-primary-lighter":St});function je(Xt,St){if(1&Xt&&(h.j41(0,"div",48)(1,"p",49)(2,"strong"),h.EFF(3,"Channel Peer:\xa0"),h.k0s(),h.EFF(4),h.nI1(5,"titlecase"),h.k0s(),h.j41(6,"p",50)(7,"strong"),h.EFF(8,"Channel ID:\xa0"),h.k0s(),h.EFF(9),h.k0s(),h.nrm(10,"p",50),h.k0s()),2&Xt){const tt=h.XpG(2);h.R7$(4),h.JRh(h.bMT(5,2,tt.channel.remote_alias)),h.R7$(5),h.JRh(tt.channel.chan_id)}}function vt(Xt,St){if(1&Xt&&h.EFF(0),2&Xt){const tt=h.XpG(2);h.JRh(tt.inputFormLabel)}}function $e(Xt,St){1&Xt&&(h.j41(0,"mat-error"),h.EFF(1,"Amount is required."),h.k0s())}function nt(Xt,St){if(1&Xt&&(h.j41(0,"mat-error"),h.EFF(1),h.nI1(2,"number"),h.k0s()),2&Xt){const tt=h.XpG(2);h.R7$(),h.SpI("Amount must be greater than or equal to ",h.bMT(2,1,tt.minQuote.amount),".")}}function qt(Xt,St){if(1&Xt&&(h.j41(0,"mat-error"),h.EFF(1),h.nI1(2,"number"),h.k0s()),2&Xt){const tt=h.XpG(2);h.R7$(),h.SpI("Amount must be less than or equal to ",h.bMT(2,1,tt.maxQuote.amount),".")}}function Nt(Xt,St){1&Xt&&(h.j41(0,"mat-error"),h.EFF(1,"Confirmation target is required."),h.k0s())}function yt(Xt,St){1&Xt&&(h.j41(0,"mat-error"),h.EFF(1,"Confirmation target must be a positive number."),h.k0s())}function jt(Xt,St){1&Xt&&(h.j41(0,"mat-error"),h.EFF(1,"Percentage is required."),h.k0s())}function Je(Xt,St){1&Xt&&(h.j41(0,"mat-error"),h.EFF(1,"Percentage must be a positive number."),h.k0s())}function et(Xt,St){if(1&Xt&&(h.j41(0,"mat-form-field",50)(1,"mat-label"),h.EFF(2,"Max Off-chain Routing Fee (%)"),h.k0s(),h.nrm(3,"input",51),h.DNE(4,jt,2,0,"mat-error",25)(5,Je,2,0,"mat-error",25),h.k0s()),2&Xt){const tt=h.XpG(2);h.R7$(3),h.Y8G("step",1),h.R7$(),h.Y8G("ngIf",null==tt.inputFormGroup.controls.routingFeePercent.errors?null:tt.inputFormGroup.controls.routingFeePercent.errors.required),h.R7$(),h.Y8G("ngIf",null==tt.inputFormGroup.controls.routingFeePercent.errors?null:tt.inputFormGroup.controls.routingFeePercent.errors.min)}}function Ae(Xt,St){1&Xt&&(h.j41(0,"div",52)(1,"mat-slide-toggle",53),h.EFF(2,"Fast"),h.k0s(),h.j41(3,"mat-icon",54),h.EFF(4,"info_outline"),h.k0s()())}function It(Xt,St){if(1&Xt&&h.EFF(0),2&Xt){const tt=h.XpG(2);h.JRh(tt.quoteFormLabel)}}function Qt(Xt,St){1&Xt&&(h.j41(0,"p",55)(1,"mat-icon",56),h.EFF(2,"close"),h.k0s(),h.EFF(3,"Local balance amount is insufficient for swap."),h.k0s())}function Tt(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",57),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onValidateAmount())}),h.EFF(1,"Next"),h.k0s()}}function xt(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",58),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onLoop())}),h.EFF(1),h.k0s()}if(2&Xt){const tt=h.XpG(2);h.R7$(),h.SpI("Initiate ",tt.loopDirectionCaption,"")}}function Se(Xt,St){if(1&Xt&&h.EFF(0),2&Xt){const tt=h.XpG(3);h.JRh(tt.addressFormLabel)}}function Te(Xt,St){1&Xt&&(h.j41(0,"mat-error"),h.EFF(1,"Address is required."),h.k0s())}function ce(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"mat-step",16)(1,"form",17),h.DNE(2,Se,1,1,"ng-template",18),h.j41(3,"div",59)(4,"mat-radio-group",60),h.bIt("change",function(Mt){h.eBV(tt);const Bt=h.XpG(2);return h.Njj(Bt.onAddressTypeChange(Mt))}),h.j41(5,"mat-radio-button",61),h.EFF(6,"Node Local Address"),h.k0s(),h.j41(7,"mat-radio-button",62),h.EFF(8,"External Address"),h.k0s()(),h.j41(9,"mat-form-field",63)(10,"mat-label"),h.EFF(11,"Address"),h.k0s(),h.nrm(12,"input",64),h.DNE(13,Te,2,0,"mat-error",25),h.k0s()(),h.j41(14,"div",29)(15,"button",65),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onLoop())}),h.EFF(16),h.k0s()()()()}if(2&Xt){const tt=h.XpG(2);h.Y8G("stepControl",tt.addressFormGroup)("editable",tt.flgEditable),h.R7$(),h.Y8G("formGroup",tt.addressFormGroup),h.R7$(11),h.Y8G("required","external"===tt.addressFormGroup.controls.addressType.value),h.R7$(),h.Y8G("ngIf",null==tt.addressFormGroup.controls.address.errors?null:tt.addressFormGroup.controls.address.errors.required),h.R7$(3),h.SpI("Initiate ",tt.loopDirectionCaption,"")}}function Z(Xt,St){if(1&Xt&&h.EFF(0),2&Xt){const tt=h.XpG(2);h.SpI("",tt.loopDirectionCaption," Status")}}function Re(Xt,St){if(1&Xt&&(h.j41(0,"mat-icon",66),h.EFF(1),h.k0s()),2&Xt){const tt=h.XpG(2);h.R7$(),h.JRh(tt.loopStatus&&null!=tt.loopStatus&&tt.loopStatus.id_bytes?"check":"close")}}function Pe(Xt,St){1&Xt&&h.nrm(0,"div")}function pt(Xt,St){1&Xt&&h.nrm(0,"mat-progress-bar",67)}function Ke(Xt,St){if(1&Xt&&(h.j41(0,"h4",68),h.EFF(1),h.k0s()),2&Xt){const tt=h.XpG(2);h.R7$(),h.JRh(tt.loopStatus&&tt.loopStatus.error?tt.loopDirectionCaption+" failed.":tt.loopStatus&&tt.loopStatus.id_bytes&&tt.channel?tt.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":tt.loopDirectionCaption+" request placed successfully.")}}function Fe(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",69),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.goToLoop())}),h.EFF(1,"Check Status"),h.k0s()}}function Ge(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",70),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onRestart())}),h.EFF(1,"Start Again"),h.k0s()}}function qe(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),h.EFF(5),h.k0s()(),h.j41(6,"div",9)(7,"button",10),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG();return h.Njj(Mt.showInfo())}),h.EFF(8,"?"),h.k0s(),h.j41(9,"button",11),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG();return h.Njj(Mt.onClose())}),h.EFF(10,"X"),h.k0s()()(),h.j41(11,"mat-card-content",12)(12,"div",13),h.DNE(13,je,11,4,"div",14),h.j41(14,"mat-vertical-stepper",15,1),h.bIt("selectionChange",function(Mt){h.eBV(tt);const Bt=h.XpG();return h.Njj(Bt.stepSelectionChanged(Mt))}),h.j41(16,"mat-step",16)(17,"form",17),h.DNE(18,vt,1,1,"ng-template",18),h.j41(19,"div",19),h.nrm(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",20),h.k0s(),h.j41(22,"div",21)(23,"mat-form-field",22)(24,"mat-label"),h.EFF(25,"Amount"),h.k0s(),h.nrm(26,"input",23),h.j41(27,"mat-hint"),h.EFF(28),h.nI1(29,"number"),h.nI1(30,"number"),h.k0s(),h.j41(31,"span",24),h.EFF(32,"Sats"),h.k0s(),h.DNE(33,$e,2,0,"mat-error",25)(34,nt,3,3,"mat-error",25)(35,qt,3,3,"mat-error",25),h.k0s(),h.j41(36,"mat-form-field",22)(37,"mat-label"),h.EFF(38,"Sweep Confirmation Target"),h.k0s(),h.nrm(39,"input",26),h.DNE(40,Nt,2,0,"mat-error",25)(41,yt,2,0,"mat-error",25),h.k0s(),h.DNE(42,et,6,3,"mat-form-field",27),h.k0s(),h.DNE(43,Ae,5,0,"div",28),h.j41(44,"div",29)(45,"button",30),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG();return h.Njj(Mt.onEstimateQuote())}),h.EFF(46,"Estimate Quote"),h.k0s()()()(),h.j41(47,"mat-step",16)(48,"form",17),h.DNE(49,It,1,1,"ng-template",18),h.nrm(50,"rtl-loop-quote",31),h.DNE(51,Qt,4,0,"p",32),h.j41(52,"div",29),h.DNE(53,Tt,2,0,"button",33)(54,xt,2,1,"button",34),h.k0s()()(),h.DNE(55,ce,17,6,"mat-step",35),h.j41(56,"mat-step",36)(57,"form",17),h.DNE(58,Z,1,1,"ng-template",18),h.j41(59,"div",37)(60,"mat-expansion-panel",38)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",39),h.EFF(64),h.DNE(65,Re,2,1,"mat-icon",40),h.k0s()()(),h.DNE(66,Pe,1,0,"div",41),h.k0s(),h.DNE(67,pt,1,0,"mat-progress-bar",42),h.k0s(),h.DNE(68,Ke,2,1,"h4",43),h.j41(69,"div",29),h.DNE(70,Fe,2,0,"button",44)(71,Ge,2,0,"button",45),h.k0s()()()(),h.j41(72,"div",46)(73,"button",47),h.EFF(74,"Close"),h.k0s()()()()()()}if(2&Xt){const tt=h.XpG(),ot=h.sdS(2);h.Y8G("@opacityAnimation",void 0),h.R7$(3),h.Y8G("fxFlex",tt.screenSize===tt.screenSizeEnum.XS||tt.screenSize===tt.screenSizeEnum.SM?"83":"91"),h.R7$(2),h.JRh(tt.channel?"Channel "+tt.loopDirectionCaption:tt.loopDirectionCaption),h.R7$(),h.Y8G("fxFlex",tt.screenSize===tt.screenSizeEnum.XS||tt.screenSize===tt.screenSizeEnum.SM?"17":"9"),h.R7$(7),h.Y8G("ngIf",tt.channel),h.R7$(),h.Y8G("linear",!0),h.R7$(2),h.Y8G("stepControl",tt.inputFormGroup)("editable",tt.flgEditable),h.R7$(),h.Y8G("formGroup",tt.inputFormGroup),h.R7$(3),h.Y8G("quote",tt.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),h.R7$(),h.Y8G("quote",tt.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),h.R7$(2),h.Y8G("fxFlex",tt.direction===tt.LoopTypeEnum.LOOP_OUT?"35":"48"),h.R7$(3),h.Y8G("step",1e3),h.R7$(2),h.Lme("Range: ",h.bMT(29,51,tt.minQuote.amount),"-",h.bMT(30,53,tt.maxQuote.amount),""),h.R7$(5),h.Y8G("ngIf",null==tt.inputFormGroup.controls.amount.errors?null:tt.inputFormGroup.controls.amount.errors.required),h.R7$(),h.Y8G("ngIf",null==tt.inputFormGroup.controls.amount.errors?null:tt.inputFormGroup.controls.amount.errors.min),h.R7$(),h.Y8G("ngIf",null==tt.inputFormGroup.controls.amount.errors?null:tt.inputFormGroup.controls.amount.errors.max),h.R7$(),h.Y8G("fxFlex",tt.direction===tt.LoopTypeEnum.LOOP_OUT?"30":"48"),h.R7$(3),h.Y8G("step",1),h.R7$(),h.Y8G("ngIf",null==tt.inputFormGroup.controls.sweepConfTarget.errors?null:tt.inputFormGroup.controls.sweepConfTarget.errors.required),h.R7$(),h.Y8G("ngIf",null==tt.inputFormGroup.controls.sweepConfTarget.errors?null:tt.inputFormGroup.controls.sweepConfTarget.errors.min),h.R7$(),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_OUT),h.R7$(),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_OUT),h.R7$(4),h.Y8G("stepControl",tt.quoteFormGroup)("editable",tt.flgEditable),h.R7$(),h.Y8G("formGroup",tt.quoteFormGroup),h.R7$(2),h.Y8G("quote",tt.quote)("showPanel",!1),h.R7$(),h.Y8G("ngIf",tt.inputFormGroup.controls.amount.value>tt.localBalanceToCompare),h.R7$(2),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_OUT),h.R7$(),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_IN),h.R7$(),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_OUT),h.R7$(),h.Y8G("stepControl",tt.statusFormGroup),h.R7$(),h.Y8G("formGroup",tt.statusFormGroup),h.R7$(3),h.Y8G("expanded",!!tt.loopStatus),h.R7$(4),h.JRh(tt.loopStatus?tt.loopStatus.id_bytes?tt.loopDirectionCaption+" request details":tt.loopDirectionCaption+" error details":"Waiting for "+tt.loopDirectionCaption+" request..."),h.R7$(),h.Y8G("ngIf",tt.loopStatus),h.R7$(),h.Y8G("ngIf",!tt.loopStatus)("ngIfElse",ot),h.R7$(),h.Y8G("ngIf",!tt.loopStatus),h.R7$(),h.Y8G("ngIf",tt.loopStatus),h.R7$(2),h.Y8G("ngIf",tt.loopStatus&&tt.loopStatus.id_bytes&&tt.channel),h.R7$(),h.Y8G("ngIf",tt.loopStatus&&(tt.loopStatus.error||!tt.loopStatus.id_bytes)),h.R7$(2),h.Y8G("mat-dialog-close",!1)}}function at(Xt,St){if(1&Xt&&h.nrm(0,"rtl-loop-status",71),2&Xt){const tt=h.XpG();h.Y8G("loopStatus",tt.loopStatus)}}function Lt(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"rtl-loop-out-info-graphics",87),h.mxI("stepNumberChange",function(Mt){h.eBV(tt);const Bt=h.XpG(2);return h.DH7(Bt.stepNumber,Mt)||(Bt.stepNumber=Mt),h.Njj(Mt)}),h.k0s()}if(2&Xt){const tt=h.XpG(2);h.Y8G("animationDirection",tt.animationDirection),h.R50("stepNumber",tt.stepNumber)}}function pi(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"rtl-loop-in-info-graphics",87),h.mxI("stepNumberChange",function(Mt){h.eBV(tt);const Bt=h.XpG(2);return h.DH7(Bt.stepNumber,Mt)||(Bt.stepNumber=Mt),h.Njj(Mt)}),h.k0s()}if(2&Xt){const tt=h.XpG(2);h.Y8G("animationDirection",tt.animationDirection),h.R50("stepNumber",tt.stepNumber)}}function $t(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"span",88),h.bIt("click",function(){const Mt=h.eBV(tt).$implicit,Bt=h.XpG(2);return h.Njj(Bt.onStepChanged(Mt))}),h.nrm(1,"p",89),h.k0s()}if(2&Xt){const tt=St.$implicit,ot=h.XpG(2);h.R7$(),h.Y8G("ngClass",h.l_i(1,Ue,ot.stepNumber===tt,ot.stepNumber!==tt))}}function Kt(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",90),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onReadMore())}),h.EFF(1,"Read More"),h.k0s()}}function Ui(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",91),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onStepChanged(4))}),h.EFF(1,"Back"),h.k0s()}}function ti(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",92),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return Mt.flgShowInfo=!1,h.Njj(Mt.stepNumber=1)}),h.EFF(1,"Close"),h.k0s()}}function fi(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",93),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return Mt.flgShowInfo=!1,h.Njj(Mt.stepNumber=1)}),h.EFF(1,"Close"),h.k0s()}}function xn(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",94),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onStepChanged(Mt.stepNumber-1))}),h.EFF(1,"Back"),h.k0s()}}function tn(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"button",95),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG(2);return h.Njj(Mt.onStepChanged(Mt.stepNumber+1))}),h.EFF(1,"Next"),h.k0s()}}function Vi(Xt,St){if(1&Xt){const tt=h.RV6();h.j41(0,"div",72)(1,"div",19)(2,"mat-card-header",73)(3,"div",74),h.nrm(4,"span",8),h.k0s(),h.j41(5,"div",75)(6,"button",11),h.bIt("click",function(){h.eBV(tt);const Mt=h.XpG();return Mt.flgShowInfo=!1,h.Njj(Mt.stepNumber=1)}),h.EFF(7,"X"),h.k0s()()(),h.j41(8,"mat-card-content",76),h.DNE(9,Lt,1,2,"rtl-loop-out-info-graphics",77)(10,pi,1,2,"rtl-loop-in-info-graphics",77),h.k0s(),h.j41(11,"div",78),h.DNE(12,$t,2,4,"span",79),h.k0s(),h.j41(13,"div",80),h.DNE(14,Kt,2,0,"button",81)(15,Ui,2,0,"button",82)(16,ti,2,0,"button",83)(17,fi,2,0,"button",84)(18,xn,2,0,"button",85)(19,tn,2,0,"button",86),h.k0s()()()}if(2&Xt){const tt=h.XpG();h.Y8G("@opacityAnimation",void 0),h.R7$(9),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_OUT),h.R7$(),h.Y8G("ngIf",tt.direction===tt.LoopTypeEnum.LOOP_IN),h.R7$(2),h.Y8G("ngForOf",h.lJ4(10,we)),h.R7$(2),h.Y8G("ngIf",5===tt.stepNumber),h.R7$(),h.Y8G("ngIf",5===tt.stepNumber),h.R7$(),h.Y8G("ngIf",5===tt.stepNumber),h.R7$(),h.Y8G("ngIf",tt.stepNumber<5),h.R7$(),h.Y8G("ngIf",tt.stepNumber>1&&tt.stepNumber<5),h.R7$(),h.Y8G("ngIf",tt.stepNumber<5)}}let Qi=(()=>{class Xt{constructor(tt,ot,Mt,Bt,Ci,Ti,Hi,Zi,ln){this.dialogRef=tt,this.data=ot,this.store=Mt,this.loopService=Bt,this.formBuilder=Ci,this.decimalPipe=Ti,this.logger=Hi,this.router=Zi,this.commonService=ln,this.faInfoCircle=l.iW_,this.LoopTypeEnum=f.C7,this.direction=f.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=f.f7,this.animationDirection="forward",this.flgEditable=!0,this.localBalanceToCompare=null,this.unSubs=[new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.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||f.C7.LOOP_OUT,this.loopDirectionCaption=this.direction===f.C7.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[e.k0.required,e.k0.min(this.minQuote.amount||0),e.k0.max(this.maxQuote.amount||0)]],sweepConfTarget:[6,[e.k0.required,e.k0.min(1)]],routingFeePercent:[2,[e.k0.required,e.k0.min(0)]],fast:[!1,[e.k0.required]]}),this.inputFormGroup.setErrors({Invalid:!0}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[e.k0.required]],address:[{value:"",disabled:!0}]}),this.direction===f.C7.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(R.BM).pipe((0,x.Q)(this.unSubs[6])).subscribe(tt=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:tt.lightningBalance&&tt.lightningBalance.local?+tt.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,x.Q)(this.unSubs[4])).subscribe(tt=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===f.C7.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,x.Q)(this.unSubs[5])).subscribe(tt=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(tt){"external"===tt.value?(this.addressFormGroup.controls.address.setValidators([e.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.valuethis.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2||this.direction===f.C7.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===f.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===f.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,x.Q)(this.unSubs[0])).subscribe({next:tt=>{this.loopStatus=tt,this.loopService.listSwaps(),this.flgEditable=!0},error:tt=>{this.loopStatus={error:tt},this.flgEditable=!0,this.logger.error(tt)}});else{const tt=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),ot="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",Mt=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.loopService.loopOut(this.inputFormGroup.controls.amount.value,this.channel&&this.channel.chan_id?this.channel.chan_id:"",this.inputFormGroup.controls.sweepConfTarget.value,tt,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),Mt,ot).pipe((0,x.Q)(this.unSubs[1])).subscribe({next:Bt=>{this.loopStatus=Bt,this.loopService.listSwaps(),this.flgEditable=!0},error:Bt=>{this.loopStatus={error:Bt},this.flgEditable=!0,this.logger.error(Bt)}})}}onEstimateQuote(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.valuethis.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2)return!0;const tt=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===f.C7.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,tt).pipe((0,x.Q)(this.unSubs[2])).subscribe(ot=>{this.quote=ot,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}):this.loopService.getLoopOutQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,tt).pipe((0,x.Q)(this.unSubs[3])).subscribe(ot=>{this.quote=ot,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}),this.stepper.selected?.stepControl.setErrors(null),this.stepper.next()}stepSelectionChanged(tt){switch(tt.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===f.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===f.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===f.C7.LOOP_OUT&&1!==tt.selectedIndex&&tt.selectedIndex{tt.next(null),tt.complete()})}static{this.\u0275fac=function(ot){return new(ot||Xt)(h.rXU(D.CP),h.rXU(D.Vh),h.rXU(S.il),h.rXU(y.Q),h.rXU(e.ze),h.rXU(O.QX),h.rXU(I.gP),h.rXU(V.Ix),h.rXU(j.h))}}static{this.\u0275cmp=h.VBU({type:Xt,selectors:[["rtl-loop-modal"]],viewQuery:function(ot,Mt){if(1&ot&&h.GBs(_e,5),2&ot){let Bt;h.mGM(Bt=h.lsd())&&(Mt.stepper=Bt.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(ot,Mt){1&ot&&h.DNE(0,qe,75,55,"div",2)(1,at,1,1,"ng-template",null,0,h.C5r)(3,Vi,20,11,"div",3),2&ot&&(h.Y8G("ngIf",!Mt.flgShowInfo),h.R7$(3),h.Y8G("ngIf",Mt.flgShowInfo))},dependencies:[O.YU,O.Sq,O.bT,e.qT,e.me,e.Q0,e.BC,e.cb,e.YS,e.j4,e.JD,Y.DJ,Y.sA,Y.UI,W.PW,D.tx,Q.$z,J.m2,J.MM,ie.GK,ie.Z2,ie.WN,ee.An,fe.fg,ne.rl,ne.nJ,ne.MV,ne.TL,ne.yw,Me.HM,Ce.VT,Ce._g,le.sG,T.oV,n.V5,n.Ti,n.M6,c.N,N,Xe,me,ve,O.QX,O.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:[w.C]}})}}return Xt})()},13:(Qe,te,g)=>{"use strict";g.d(te,{X:()=>R});var e=g(5383),t=g(4438),x=g(1188),D=g(60),l=g(2920),w=g(8834),f=g(5596);let R=(()=>{class h{constructor(y){this.router=y,this.faTimes=e.GRI}goToHelp(){this.router.navigate(["/help"])}static{this.\u0275fac=function(O){return new(O||h)(t.rXU(x.Ix))}}static{this.\u0275cmp=t.VBU({type:h,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(O,I){1&O&&(t.j41(0,"div",0),t.nrm(1,"fa-icon",1),t.j41(2,"span",2),t.EFF(3,"Page Not Found"),t.k0s()(),t.j41(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"div",5)(8,"div",6),t.EFF(9,"This page does not exist!"),t.k0s(),t.j41(10,"span",7)(11,"button",8),t.bIt("click",function(){return I.goToHelp()}),t.EFF(12,"Go To Help"),t.k0s()()()()()()),2&O&&(t.R7$(),t.Y8G("icon",I.faTimes))},dependencies:[D.aY,l.DJ,l.sA,l.UI,w.$z,f.RN,f.m2],encapsulation:2})}}return h})()},9587:(Qe,te,g)=>{"use strict";g.d(te,{N:()=>t});var e=g(4438);let t=(()=>{class x{constructor(l){this.el=l}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}static{this.\u0275fac=function(w){return new(w||x)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:x,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}})}}return x})()},9157:(Qe,te,g)=>{"use strict";g.d(te,{U:()=>t});var e=g(4438);let t=(()=>{class x{constructor(){this.copied=new e.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(w){return new(w||x)}}static{this.\u0275dir=e.FsC({type:x,selectors:[["","rtlClipboard",""]],hostBindings:function(w,f){1&w&&e.bIt("click",function(h){return f.onClick(h)})},inputs:{payload:"payload"},outputs:{copied:"copied"}})}}return x})()},92:(Qe,te,g)=>{"use strict";g.d(te,{z:()=>x});var e=g(9417),t=g(4438);let x=(()=>{class D{validate(w){return this.max?e.k0.max(+this.max)(w):null}static{this.\u0275fac=function(f){return new(f||D)}}static{this.\u0275dir=t.FsC({type:D,selectors:[["input","max",""]],inputs:{max:"max"},features:[t.Jv_([{provide:e.cz,useExisting:D,multi:!0}])]})}}return D})()},6114:(Qe,te,g)=>{"use strict";g.d(te,{V:()=>x});var e=g(9417),t=g(4438);let x=(()=>{class D{validate(w){return this.min?e.k0.min(+this.min)(w):null}static{this.\u0275fac=function(f){return new(f||D)}}static{this.\u0275dir=t.FsC({type:D,selectors:[["input","min",""]],inputs:{min:"min"},features:[t.Jv_([{provide:e.cz,useExisting:D,multi:!0}])]})}}return D})()},2929:(Qe,te,g)=>{"use strict";g.d(te,{Qu:()=>D,VD:()=>l,ZE:()=>x,gZ:()=>t});var e=g(4438);let t=(()=>{class w{transform(R,h){return R?.replace(/^[0]+/g,"")}static{this.\u0275fac=function(h){return new(h||w)}}static{this.\u0275pipe=e.EJ8({name:"removeleadingzeros",type:w,pure:!0})}}return w})(),x=(()=>{class w{transform(R,h){return R?.replace(/(?:^\w|[A-Z]|\b\w)/g,(S,y)=>S.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}static{this.\u0275fac=function(h){return new(h||w)}}static{this.\u0275pipe=e.EJ8({name:"camelcase",type:w,pure:!0})}}return w})(),D=(()=>{class w{transform(R,h,S){return R.replace(/(?:^\w|[A-Z]|\b\w)/g,(y,O)=>" "+y.toUpperCase())}static{this.\u0275fac=function(h){return new(h||w)}}static{this.\u0275pipe=e.EJ8({name:"camelCaseWithSpaces",type:w,pure:!0})}}return w})(),l=(()=>{class w{transform(R,h,S){return R=R?R.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "):"",h&&(R=R.replace(new RegExp(h,"g")," ")),S&&(R=R.replace(new RegExp(S,"g")," ")),R.replace(/(?:^\w|[A-Z]|\b\w)/g,(y,O)=>y.toUpperCase())}static{this.\u0275fac=function(h){return new(h||w)}}static{this.\u0275pipe=e.EJ8({name:"camelcaseWithReplace",type:w,pure:!0})}}return w})()},7186:(Qe,te,g)=>{"use strict";g.d(te,{Wz:()=>f,fe:()=>R,jn:()=>w,q_:()=>l});var e=g(4438),t=g(1188),x=g(3202),D=g(6354);function l(){return()=>{const h=(0,e.WQX)(t.Ix),S=(0,e.WQX)(t.nX),y=(0,e.WQX)(x.Q);return!(!y.getItem("token")||S.snapshot.url&&S.snapshot.url.length&&"settings"!==S.snapshot.url[0].path&&"auth"!==S.snapshot.url[0].path&&"true"===y.getItem("defaultPassword")&&(h.navigate(["/settings/auth"]),1))}}function w(){return()=>!!(0,e.WQX)(x.Q).watchSession().pipe((0,D.T)(S=>S.lndUnlocked))}function f(){return()=>!!(0,e.WQX)(x.Q).watchSession().pipe((0,D.T)(S=>S.clnUnlocked))}function R(){return()=>!!(0,e.WQX)(x.Q).watchSession().pipe((0,D.T)(S=>S.eclUnlocked))}},2571:(Qe,te,g)=>{"use strict";g.d(te,{h:()=>V});var e=g(4412),t=g(1413),x=g(7673),D=g(8810),l=g(6977),w=g(5558),f=g(9437),R=g(4416),h=g(4438),S=g(1534),y=g(8570),O=g(177),I=g(345);let V=(()=>{class j{constructor(W,Q,J,ie){this.dataService=W,this.logger=Q,this.datePipe=J,this.sanitizer=ie,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 e.t(this.containerSize),this.unSubs=[new t.B,new t.B,new t.B]}getScreenSize(){return this.screenSize}setScreenSize(W){this.screenSize=W}getContainerSize(){return this.containerSize}setContainerSize(W,Q){this.containerSize={width:W,height:Q},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(W,Q,J,ie="asc"){return W.sort("number"===J?"desc"===ie?(ee,fe)=>+ee[Q]>+fe[Q]?-1:1:(ee,fe)=>+ee[Q]>+fe[Q]?1:-1:"desc"===ie?(ee,fe)=>ee[Q]>fe[Q]?-1:1:(ee,fe)=>ee[Q]>fe[Q]?1:-1)}sortDescByKey(W,Q){return W.sort((J,ie)=>{const ee=+J[Q],fe=+ie[Q];return ee>fe?-1:ee{const ee=+J[Q],fe=+ie[Q];return eefe?1:0})}camelCase(W){return W?.replace(/(?:^\w|[A-Z]|\b\w)/g,(Q,J)=>Q.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(W,Q,J){return Q&&J&&""!==Q&&""!==J&&(W=W?.replace(new RegExp(Q,"g"),J)),W.indexOf("!\n")>0||W.indexOf(".\n")>0?W.split("\n")?.reduce((ie,ee)=>ie+ee.charAt(0).toUpperCase()+ee.substring(1).toLowerCase()+"\n",""):W.indexOf(" ")>0?W.split(" ")?.reduce((ie,ee)=>ie+ee.charAt(0).toUpperCase()+ee.substring(1).toLowerCase()+" ",""):W.charAt(0).toUpperCase()+W.substring(1).toLowerCase()}convertCurrency(W,Q,J,ie,ee){const fe=(new Date).valueOf();try{return ee&&ie&&(Q===R.BQ.OTHER||J===R.BQ.OTHER)?this.ratesAPIStatus!==R.wn.INITIATED?this.conversionData.data&&this.conversionData.last_fetched&&fe(this.ratesAPIStatus=R.wn.COMPLETED,this.conversionData.data=ne&&"object"==typeof ne?ne:ne&&"string"==typeof ne?JSON.parse(ne):{},this.conversionData.last_fetched=fe,(0,x.of)(this.convertWithFiat(W,Q,ie)))),(0,f.W)(ne=>(this.ratesAPIStatus=R.wn.ERROR,(0,D.$)(()=>"Currency Conversion Error."))))):(0,x.of)(this.conversionData.data&&this.conversionData.last_fetched&&fe"Currency Conversion Error.")}}convertWithoutFiat(W,Q){const J={};switch(J[R.BQ.SATS]=0,J[R.BQ.BTC]=0,Q){case R.BQ.SATS:J[R.BQ.SATS]=W,J[R.BQ.BTC]=1e-8*W;break;case R.BQ.BTC:J[R.BQ.SATS]=1e8*W,J[R.BQ.BTC]=W}return J}convertWithFiat(W,Q,J){const ie={unit:J,iconType:"FA",symbol:null};if(J){const ee=(0,R.Zo)(this.conversionData.data[J].symbol);ie.iconType=ee.iconType,ie.symbol=ee&&"SVG"===ee.iconType&&ee.symbol&&"string"==typeof ee.symbol?this.sanitizer.bypassSecurityTrustHtml(ee.symbol):ee.symbol}switch(ie[R.BQ.SATS]=0,ie[R.BQ.BTC]=0,ie[R.BQ.OTHER]=0,Q){case R.BQ.SATS:ie[R.BQ.SATS]=W,ie[R.BQ.BTC]=1e-8*W,ie[R.BQ.OTHER]=1e-8*W*this.conversionData.data[J].last;break;case R.BQ.BTC:ie[R.BQ.SATS]=1e8*W,ie[R.BQ.BTC]=W,ie[R.BQ.OTHER]=W*this.conversionData.data[J].last;break;case R.BQ.OTHER:ie[R.BQ.SATS]=W/this.conversionData.data[J].last*1e8,ie[R.BQ.BTC]=W/this.conversionData.data[J].last,ie[R.BQ.OTHER]=W}return ie}convertTime(W,Q,J){switch(Q){case R.F7.SECS:switch(J){case R.F7.MINS:W/=60;break;case R.F7.HOURS:W/=R.bz;break;case R.F7.DAYS:W/=24*R.bz}break;case R.F7.MINS:switch(J){case R.F7.SECS:W*=60;break;case R.F7.HOURS:W/=60;break;case R.F7.DAYS:W/=1440}break;case R.F7.HOURS:switch(J){case R.F7.SECS:W*=R.bz;break;case R.F7.MINS:W*=60;break;case R.F7.DAYS:W/=24}break;case R.F7.DAYS:switch(J){case R.F7.SECS:W=W*R.bz*24;break;case R.F7.MINS:W=60*W*24;break;case R.F7.HOURS:W*=24}}return W}downloadFile(W,Q,J=".json",ie=".csv"){let ee=new Blob;ee=".json"===J?new Blob(["\ufeff"+this.convertToCSV(W)],{type:"text/csv;charset=utf-8;"}):new Blob([W.toString()],{type:"text/plain;charset=utf-8"});const fe=document.createElement("a"),ne=URL.createObjectURL(ee);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&fe.setAttribute("target","_blank"),fe.setAttribute("href",ne),fe.setAttribute("download",Q+ie),fe.style.visibility="hidden",document.body.appendChild(fe),fe.click(),document.body.removeChild(fe)}convertToCSV(W){const Q=[];let J="",ie="",ee="";return"object"!=typeof W&&(W=JSON.parse(W)),W.forEach((ne,Me)=>{for(const Ce in ne)Q.findIndex(le=>le===Ce)<0&&Q.push(Ce)}),ee=Q.join(",")+"\r\n",W.forEach(ne=>{J="",Q.forEach(Me=>{if(ne.hasOwnProperty(Me))if(Array.isArray(ne[Me]))ie="",ne[Me].forEach((Ce,le)=>{ie+="object"==typeof Ce?"("+JSON.stringify(Ce)?.replace(/\,/g,";")+")":"("+Ce+")"}),J+=ie+",";else if("object"==typeof ne[Me])J+=JSON.stringify(ne[Me])?.replace(/\,/g,";")+",";else if(Me.includes("timestamp")||Me.includes("date"))try{switch(ne[Me].toString().length){case 10:J+=this.datePipe.transform(new Date(1e3*ne[Me]),"dd/MMM/y HH:mm")+",";break;case 13:J+=this.datePipe.transform(new Date(ne[Me]),"dd/MMM/y HH:mm")+",";break;default:J+=ne[Me]+","}}catch{J+=ne[Me]+","}else J+=ne[Me]+",";else J+=","}),ee+=J.slice(0,-1)+"\r\n"}),ee}isVersionCompatible(W,Q){if(W){const J=W.match(/v?(?\d+(?:\.\d+)*)/);if(J&&J.groups&&J.groups.version){this.logger.info("Current Version: "+J.groups.version),this.logger.info("Checking Compatiblility with Version: "+Q);const ie=J.groups.version.split(".")||[],ee=Q.split(".");return+ie[0]>+ee[0]||+ie[0]==+ee[0]&&+ie[1]>+ee[1]||+ie[0]==+ee[0]&&+ie[1]==+ee[1]&&+ie[2]>=+ee[2]}return this.logger.error("Invalid Version String: "+W),!1}return!1}extractErrorMessage(W,Q="Unknown Error."){const J=this.titleCase(W.error&&W.error.text&&"string"==typeof W.error.text&&W.error.text.includes('')?"API Route Does Not Exist.":W.error&&W.error.error&&W.error.error.error&&W.error.error.error.error&&W.error.error.error.error.error&&"string"==typeof W.error.error.error.error.error?W.error.error.error.error.error:W.error&&W.error.error&&W.error.error.error&&W.error.error.error.error&&"string"==typeof W.error.error.error.error?W.error.error.error.error:W.error&&W.error.error&&W.error.error.error&&"string"==typeof W.error.error.error?W.error.error.error:W.error&&W.error.error&&"string"==typeof W.error.error?W.error.error:W.error&&"string"==typeof W.error?W.error:W.error&&W.error.error&&W.error.error.error&&W.error.error.error.error&&W.error.error.error.error.message&&"string"==typeof W.error.error.error.error.message?W.error.error.error.error.message:W.error&&W.error.error&&W.error.error.error&&W.error.error.error.message&&"string"==typeof W.error.error.error.message?W.error.error.error.message:W.error&&W.error.error&&W.error.error.message&&"string"==typeof W.error.error.message?W.error.error.message:W.error&&W.error.message&&"string"==typeof W.error.message?W.error.message:W.message&&"string"==typeof W.message?W.message:Q);return this.logger.info("Error Message: "+J),J}extractErrorCode(W,Q=500){const J=W.error&&W.error.error&&W.error.error.message&&W.error.error.message.code?W.error.error.message.code:W.error&&W.error.error&&W.error.error.code?W.error.error.code:W.error&&W.error.code?W.error.code:W.code?W.code:W.status?W.status:Q;return this.logger.info("Error Code: "+J),J}extractErrorNumber(W,Q=500){const J=W.error&&W.error.error&&W.error.error.errno?W.error.error.errno:W.error&&W.error.errno?W.error.errno:W.errno?W.errno:W.status?W.status:Q;return this.logger.info("Error Number: "+J),J}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}static{this.\u0275fac=function(Q){return new(Q||j)(h.KVO(S.u),h.KVO(y.gP),h.KVO(O.vh),h.KVO(I.up))}}static{this.\u0275prov=h.jDH({token:j,factory:j.\u0275fac})}}return j})()},4416:(Qe,te,g)=>{"use strict";g.d(te,{A$:()=>le,A0:()=>y,Ah:()=>We,BQ:()=>m,Bd:()=>N,Bv:()=>ee,C6:()=>et,C7:()=>z,F7:()=>n,G:()=>ie,H$:()=>h,HW:()=>Ce,Hx:()=>b,It:()=>f,Jd:()=>vt,Jr:()=>ne,KR:()=>pe,Ld:()=>W,MZ:()=>X,NG:()=>w,QP:()=>Ie,SY:()=>I,TC:()=>st,TH:()=>Ee,U1:()=>T,UN:()=>d,Uq:()=>ue,Uu:()=>me,WW:()=>Nt,X8:()=>qt,XG:()=>Q,Y0:()=>se,ZC:()=>$e,Zb:()=>a,Zi:()=>jt,Zo:()=>Je,_1:()=>nt,_U:()=>Be,aG:()=>k,aR:()=>ae,aU:()=>he,bz:()=>l,ck:()=>fe,f7:()=>C,iI:()=>_,jG:()=>Ue,k:()=>O,md:()=>j,mu:()=>je,nv:()=>J,o1:()=>Me,oi:()=>we,on:()=>D,q9:()=>q,rl:()=>S,rs:()=>ze,tj:()=>A,ul:()=>Ct,wn:()=>oe,xk:()=>ct,xp:()=>Y,xv:()=>R});var e=g(4438),t=g(6695),x=g(5383);function D(Ae){const It=new t.xX;return It.itemsPerPageLabel=Ae+" per page:",It}const l=3600,w=31536e3,f=24*l*7,R="0.15.4-beta",h=(0,e.naY)()?"http://localhost:3000/rtl/api":"./api",S={AUTHENTICATE_API:h+"/authenticate",CONF_API:h+"/conf",PAGE_SETTINGS_API:h+"/pagesettings",BALANCE_API:"/balance",FEES_API:"/fees",PEERS_API:"/peers",CHANNELS_API:"/channels",CHANNELS_BACKUP_API:"/channels/backup",GETINFO_API:"/getinfo",WALLET_API:"/wallet",NETWORK_API:"/network",NEW_ADDRESS_API:"/newaddress",TRANSACTIONS_API:"/transactions",PAYMENTS_API:"/payments",INVOICES_API:"/invoices",SWITCH_API:"/switch",ON_CHAIN_API:"/onchain",MESSAGE_API:"/message",OFFERS_API:"/offers",UTILITY_API:"/utility",LOOP_API:"/loop",BOLTZ_API:"/boltz",Web_SOCKET_API:"/ws"},y=["Sats","BTC"],O={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},I=["SECS","MINS","HOURS","DAYS"],j=10,Y=[5,10,25,100],W=[{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"}],Q=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],J=[{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"}],ie=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom"}],ee={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 fe=function(Ae){return Ae.PAYMENT_RECEIVED="payment-received",Ae.PAYMENT_RELAYED="payment-relayed",Ae.PAYMENT_SENT="payment-sent",Ae.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",Ae.PAYMENT_FAILED="payment-failed",Ae.CHANNEL_OPENED="channel-opened",Ae.CHANNEL_STATE_CHANGED="channel-state-changed",Ae.CHANNEL_CLOSED="channel-closed",Ae}(fe||{}),ne=function(Ae){return Ae.CONNECT="connect",Ae.DISCONNECT="disconnect",Ae.WARNING="warning",Ae.INVOICE_PAYMENT="invoice_payment",Ae.INVOICE_CREATION="invoice_creation",Ae.CHANNEL_OPENED="channel_opened",Ae.CHANNEL_STATE_CHANGED="channel_state_changed",Ae.SENDPAY_SUCCESS="sendpay_success",Ae.SENDPAY_FAILURE="sendpay_failure",Ae.COIN_MOVEMENT="coin_movement",Ae.BALANCE_SNAPSHOT="balance_snapshot",Ae.BLOCK_ADDED="block_added",Ae.OPENCHANNEL_PEER_SIGS="openchannel_peer_sigs",Ae.CHANNEL_OPEN_FAILED="channel_open_failed",Ae}(ne||{}),Me=function(Ae){return Ae.INVOICE="invoice",Ae}(Me||{}),Ce=function(Ae){return Ae.OPERATOR="OPERATOR",Ae.MERCHANT="MERCHANT",Ae.ALL="ALL",Ae}(Ce||{}),le=function(Ae){return Ae.INFORMATION="Information",Ae.WARNING="Warning",Ae.ERROR="Error",Ae.SUCCESS="Success",Ae.CONFIRM="Confirm",Ae}(le||{}),T=function(Ae){return Ae.JWT="JWT",Ae.PASSWORD="PASSWORD",Ae}(T||{}),n=function(Ae){return Ae.SECS="SECS",Ae.MINS="MINS",Ae.HOURS="HOURS",Ae.DAYS="DAYS",Ae}(n||{}),m=function(Ae){return Ae.SATS="Sats",Ae.BTC="BTC",Ae.OTHER="OTHER",Ae}(m||{}),d=function(Ae){return Ae.ARRAY="ARRAY",Ae.NUMBER="NUMBER",Ae.STRING="STRING",Ae.BOOLEAN="BOOLEAN",Ae.PASSWORD="PASSWORD",Ae.DATE="DATE",Ae.DATE_TIME="DATE_TIME",Ae}(d||{}),C=function(Ae){return Ae.XS="XS",Ae.SM="SM",Ae.MD="MD",Ae.LG="LG",Ae.XL="XL",Ae}(C||{});const A={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"}},k={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(Ae){return Ae.WIRE_INVALID_ONION_VERSION="Invalid Onion Version",Ae.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",Ae.WIRE_INVALID_ONION_KEY="Invalid Onion Key",Ae.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",Ae.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",Ae.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",Ae.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",Ae.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",Ae.WIRE_FEE_INSUFFICIENT="Insufficient Fee",Ae.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",Ae.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",Ae.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",Ae.WIRE_CHANNEL_DISABLED="Channel Disabled",Ae.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",Ae.WIRE_INVALID_REALM="Invalid Realm",Ae.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",Ae.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",Ae.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",Ae.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",Ae.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",Ae.WIRE_MPP_TIMEOUT="MPP Timeout",Ae.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",Ae.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",Ae}(_||{}),a=function(Ae){return Ae.CHANNELD_NORMAL="Active",Ae.OPENINGD="Opening",Ae.CHANNELD_AWAITING_LOCKIN="Pending Open",Ae.CHANNELD_SHUTTING_DOWN="Shutting Down",Ae.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",Ae.CLOSINGD_COMPLETE="Closed",Ae.AWAITING_UNILATERAL="Awaiting Unilateral Close",Ae.FUNDING_SPEND_SEEN="Funding Spend Seen",Ae.ONCHAIN="Onchain",Ae.DUALOPEND_OPEN_INIT="Dual Open Initialized",Ae.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",Ae}(a||{}),b=function(Ae){return Ae.INITIATED="Initiated",Ae.PREIMAGE_REVEALED="Preimage Revealed",Ae.HTLC_PUBLISHED="HTLC Published",Ae.SUCCESS="Successful",Ae.FAILED="Failed",Ae.INVOICE_SETTLED="Invoice Settled",Ae}(b||{}),z=function(Ae){return Ae.LOOP_OUT="LOOP_OUT",Ae.LOOP_IN="LOOP_IN",Ae}(z||{}),N=function(Ae){return Ae.SWAP_OUT="SWAP_OUT",Ae.SWAP_IN="SWAP_IN",Ae}(N||{}),q=function(Ae){return Ae["swap.created"]="Swap Created",Ae["swap.expired"]="Swap Expired",Ae["invoice.set"]="Invoice Set",Ae["invoice.paid"]="Invoice Paid",Ae["invoice.pending"]="Invoice Pending",Ae["invoice.settled"]="Invoice Settled",Ae["invoice.failedToPay"]="Invoice Failed To Pay",Ae["channel.created"]="Channel Created",Ae["transaction.failed"]="Transaction Failed",Ae["transaction.mempool"]="Transaction Mempool",Ae["transaction.claimed"]="Transaction Claimed",Ae["transaction.refunded"]="Transaction Refunded",Ae["transaction.confirmed"]="Transaction Confirmed",Ae["transaction.lockupFailed"]="Lockup Transaction Failed",Ae["swap.refunded"]="Swap Refunded",Ae["swap.abandoned"]="Swap Abandoned",Ae}(q||{});const pe=[{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}],ze=["MONTHLY","YEARLY"],We=["password","changeme","moneyprintergobrrr"];var oe=function(Ae){return Ae.UN_INITIATED="UN_INITIATED",Ae.INITIATED="INITIATED",Ae.COMPLETED="COMPLETED",Ae.ERROR="ERROR",Ae}(oe||{});const X={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 se=function(Ae){return Ae.INVOICE="INVOICE",Ae.OFFER="OFFER",Ae.KEYSEND="KEYSEND",Ae}(se||{}),ae=function(Ae){return Ae.FEES="FEES",Ae.EVENTS="EVENTS",Ae}(ae||{}),he=function(Ae){return Ae.VOID="VOID",Ae.SET_API_URL_ECL="SET_API_URL_ECL",Ae.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",Ae.RESET_ROOT_STORE="RESET_ROOT_STORE",Ae.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",Ae.OPEN_SNACK_BAR="OPEN_SNACKBAR",Ae.OPEN_SPINNER="OPEN_SPINNER",Ae.CLOSE_SPINNER="CLOSE_SPINNER",Ae.OPEN_ALERT="OPEN_ALERT",Ae.CLOSE_ALERT="CLOSE_ALERT",Ae.OPEN_CONFIRMATION="OPEN_CONFIRMATION",Ae.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",Ae.SHOW_PUBKEY="SHOW_PUBKEY",Ae.FETCH_CONFIG="FETCH_CONFIG",Ae.SHOW_CONFIG="SHOW_CONFIG",Ae.FETCH_STORE="FETCH_STORE",Ae.SET_STORE="SET_STORE",Ae.FETCH_APPLICATION_SETTINGS="FETCH_APPLICATION_SETTINGS",Ae.SET_APPLICATION_SETTINGS="SET_APPLICATION_SETTINGS",Ae.SAVE_SETTINGS="SAVE_SETTINGS",Ae.SET_SELECTED_NODE="SET_SELECTED_NODE",Ae.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",Ae.UPDATE_APPLICATION_SETTINGS="UPDATE_APPLICATION_SETTINGS",Ae.UPDATE_NODE_SETTINGS="UPDATE_NODE_SETTINGS",Ae.SET_SELECTED_NODE_SETTINGS="SET_SELECTED_NODE_SETTINGS",Ae.SET_NODE_DATA="SET_NODE_DATA",Ae.IS_AUTHORIZED="IS_AUTHORIZED",Ae.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",Ae.LOGIN="LOGIN",Ae.VERIFY_TWO_FA="VERIFY_TWO_FA",Ae.LOGOUT="LOGOUT",Ae.RESET_PASSWORD="RESET_PASSWORD",Ae.RESET_PASSWORD_RES="RESET_PASSWORD_RES",Ae.FETCH_FILE="FETCH_FILE",Ae.SHOW_FILE="SHOW_FILE",Ae}(he||{}),Ie=function(Ae){return Ae.RESET_LND_STORE="RESET_LND_STORE",Ae.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",Ae.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",Ae.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",Ae.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",Ae.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",Ae.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",Ae.FETCH_INFO_LND="FETCH_INFO_LND",Ae.SET_INFO_LND="SET_INFO_LND",Ae.FETCH_PEERS_LND="FETCH_PEERS_LND",Ae.SET_PEERS_LND="SET_PEERS_LND",Ae.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",Ae.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",Ae.DETACH_PEER_LND="DETACH_PEER_LND",Ae.REMOVE_PEER_LND="REMOVE_PEER_LND",Ae.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",Ae.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",Ae.ADD_INVOICE_LND="ADD_INVOICE_LND",Ae.FETCH_FEES_LND="FETCH_FEES_LND",Ae.SET_FEES_LND="SET_FEES_LND",Ae.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",Ae.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",Ae.FETCH_NETWORK_LND="FETCH_NETWORK_LND",Ae.SET_NETWORK_LND="SET_NETWORK_LND",Ae.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",Ae.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",Ae.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",Ae.SET_CHANNELS_LND="SET_CHANNELS_LND",Ae.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",Ae.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",Ae.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",Ae.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",Ae.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",Ae.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",Ae.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",Ae.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",Ae.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",Ae.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",Ae.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",Ae.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",Ae.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",Ae.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",Ae.FETCH_INVOICES_LND="FETCH_INVOICES_LND",Ae.SET_INVOICES_LND="SET_INVOICES_LND",Ae.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",Ae.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",Ae.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",Ae.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",Ae.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",Ae.FETCH_UTXOS_LND="FETCH_UTXOS_LND",Ae.SET_UTXOS_LND="SET_UTXOS_LND",Ae.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",Ae.SET_PAYMENTS_LND="SET_PAYMENTS_LND",Ae.SEND_PAYMENT_LND="SEND_PAYMENT_LND",Ae.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",Ae.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",Ae.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",Ae.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",Ae.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",Ae.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",Ae.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",Ae.GEN_SEED_LND="GEN_SEED_LND",Ae.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",Ae.INIT_WALLET_LND="INIT_WALLET_LND",Ae.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",Ae.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",Ae.PEER_LOOKUP_LND="PEER_LOOKUP_LND",Ae.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",Ae.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",Ae.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",Ae.SET_LOOKUP_LND="SET_LOOKUP_LND",Ae.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",Ae.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",Ae.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",Ae.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",Ae.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",Ae.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",Ae}(Ie||{}),st=function(Ae){return Ae.RESET_CLN_STORE="RESET_CLN_STORE",Ae.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",Ae.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",Ae.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",Ae.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",Ae.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",Ae.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",Ae.SET_INFO_CLN="SET_INFO_CLN",Ae.FETCH_FEES_CLN="FETCH_FEES_CLN",Ae.SET_FEES_CLN="SET_FEES_CLN",Ae.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",Ae.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",Ae.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",Ae.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",Ae.FETCH_UTXO_BALANCES_CLN="FETCH_UTXO_BALANCES_CLN",Ae.SET_UTXO_BALANCES_CLN="SET_UTXO_BALANCES_CLN",Ae.FETCH_PEERS_CLN="FETCH_PEERS_CLN",Ae.SET_PEERS_CLN="SET_PEERS_CLN",Ae.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",Ae.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",Ae.ADD_PEER_CLN="ADD_PEER_CLN",Ae.DETACH_PEER_CLN="DETACH_PEER_CLN",Ae.REMOVE_PEER_CLN="REMOVE_PEER_CLN",Ae.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",Ae.SET_CHANNELS_CLN="SET_CHANNELS_CLN",Ae.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",Ae.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",Ae.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",Ae.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",Ae.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",Ae.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",Ae.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",Ae.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",Ae.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",Ae.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",Ae.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",Ae.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",Ae.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",Ae.SET_LOOKUP_CLN="SET_LOOKUP_CLN",Ae.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",Ae.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",Ae.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",Ae.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",Ae.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",Ae.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",Ae.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",Ae.SET_INVOICES_CLN="SET_INVOICES_CLN",Ae.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",Ae.ADD_INVOICE_CLN="ADD_INVOICE_CLN",Ae.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",Ae.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",Ae.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",Ae.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",Ae.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",Ae.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",Ae.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",Ae.SET_OFFERS_CLN="SET_OFFERS_CLN",Ae.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",Ae.ADD_OFFER_CLN="ADD_OFFER_CLN",Ae.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",Ae.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",Ae.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",Ae.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",Ae.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",Ae.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",Ae.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",Ae}(st||{}),me=function(Ae){return Ae.RESET_ECL_STORE="RESET_ECL_STORE",Ae.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",Ae.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",Ae.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",Ae.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",Ae.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",Ae.FETCH_INFO_ECL="FETCH_INFO_ECL",Ae.SET_INFO_ECL="SET_INFO_ECL",Ae.FETCH_FEES_ECL="FETCH_FEES_ECL",Ae.SET_FEES_ECL="SET_FEES_ECL",Ae.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",Ae.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",Ae.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",Ae.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",Ae.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",Ae.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",Ae.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",Ae.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",Ae.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",Ae.FETCH_PEERS_ECL="FETCH_PEERS_ECL",Ae.SET_PEERS_ECL="SET_PEERS_ECL",Ae.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",Ae.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",Ae.ADD_PEER_ECL="ADD_PEER_ECL",Ae.DETACH_PEER_ECL="DETACH_PEER_ECL",Ae.REMOVE_PEER_ECL="REMOVE_PEER_ECL",Ae.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",Ae.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",Ae.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",Ae.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",Ae.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",Ae.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",Ae.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",Ae.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",Ae.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",Ae.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",Ae.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",Ae.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",Ae.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",Ae.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",Ae.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",Ae.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",Ae.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",Ae.SET_INVOICES_ECL="SET_INVOICES_ECL",Ae.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",Ae.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",Ae.ADD_INVOICE_ECL="ADD_INVOICE_ECL",Ae.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",Ae.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",Ae.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",Ae.SET_LOOKUP_ECL="SET_LOOKUP_ECL",Ae.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",Ae.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",Ae}(me||{});const Ee=[{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 ue=function(Ae){return Ae.gossip_queries_ex="Gossip queries including additional information",Ae.option_anchor_outputs="Anchor outputs",Ae.option_data_loss_protect="Extra channel re-establish fields",Ae.var_onion_optin="Variable-length routing onion payloads",Ae.option_static_remotekey="Static key for remote output",Ae.option_support_large_channel="Create large channels",Ae.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",Ae.payment_secret="Payment secret field",Ae.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",Ae.basic_mpp="Basic multi-part payments",Ae.gossip_queries="More sophisticated gossip control",Ae.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",Ae.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",Ae.amp="AMP",Ae}(ue||{}),Be=function(Ae){return Ae["data-loss-protect"]="Extra channel re-establish fields",Ae["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",Ae["gossip-queries"]="More sophisticated gossip control",Ae["tlv-onion"]="Variable-length routing onion payloads",Ae["ext-gossip-queries"]="Gossip queries can include additional information",Ae["static-remote-key"]="Static key for remote output",Ae["payment-addr"]="Payment secret field",Ae["multi-path-payments"]="Basic multi-part payments",Ae["wumbo-channels"]="Wumbo Channels",Ae.anchors="Anchor outputs",Ae["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",Ae.amp="AMP",Ae}(Be||{});const Ct=[{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(Ae){return Ae.OFFERED="offered",Ae.SETTLED="settled",Ae.FAILED="failed",Ae.LOCAL_FAILED="local_failed",Ae}(ct||{}),we=function(Ae){return Ae.ASCENDING="asc",Ae.DESCENDING="desc",Ae}(we||{});const Ue=["asc","desc"],je=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:j,sortBy:"blockheight",sortOrder:we.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:j,sortBy:"blockheight",sortOrder:we.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:j,sortBy:"msatoshi_to_us",sortOrder:we.DESCENDING,columnSelectionSM:["alias","msatoshi_to_us","msatoshi_to_them"],columnSelection:["short_channel_id","alias","msatoshi_to_us","msatoshi_to_them","balancedness"]},{tableId:"pending_inactive_channels",recordsPerPage:j,sortBy:"state",sortOrder:we.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:j,sortBy:"alias",sortOrder:we.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]},{tableId:"active_HTLCs",recordsPerPage:j,sortBy:"expiry",sortOrder:we.DESCENDING,columnSelectionSM:["amount_msat","direction","expiry"],columnSelection:["amount_msat","direction","expiry","state"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:j,sortBy:"channel_opening_fee",sortOrder:we.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:j,sortBy:"created_at",sortOrder:we.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:j,sortBy:"expires_at",sortOrder:we.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:j,sortBy:"offer_id",sortOrder:we.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:j,sortBy:"lastUpdatedAt",sortOrder:we.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:j,sortBy:"received_time",sortOrder:we.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"routing_peers",recordsPerPage:j,sortBy:"total_fee",sortOrder:we.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:j,sortBy:"received_time",sortOrder:we.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"local_failed",recordsPerPage:j,sortBy:"received_time",sortOrder:we.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","in_channel_alias","in_msatoshi","style","failreason"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:j,sortBy:"received_time",sortOrder:we.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"transactions",recordsPerPage:j,sortBy:"date",sortOrder:we.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:j,sortBy:"msatoshi",sortOrder:we.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]}],vt={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"}]}}},$e=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:j,sortBy:"tx_id",sortOrder:we.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:j,sortBy:"time_stamp",sortOrder:we.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:j,sortBy:"tx_id",sortOrder:we.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:j,sortBy:"balancedness",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","local_balance"],columnSelection:["remote_alias","uptime_str","total_satoshis_sent","total_satoshis_received","local_balance","remote_balance","balancedness"]},{tableId:"pending_open",sortBy:"capacity",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:j,sortBy:"close_type",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:j,sortBy:"incoming",sortOrder:we.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:j,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:j,sortBy:"creation_date",sortOrder:we.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:j,sortBy:"creation_date",sortOrder:we.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:j,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:j,sortBy:"total_amount",sortOrder:we.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:j,sortBy:"remote_alias",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","local_balance","remote_balance"],columnSelection:["chan_id","remote_alias","total_satoshis_received","total_satoshis_sent","local_balance","remote_balance"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:j,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:j,sortBy:"date",sortOrder:we.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:j,sortBy:"hop_sequence",sortOrder:we.ASCENDING,columnSelectionSM:["hop_sequence","pubkey_alias","fee_msat"],columnSelection:["hop_sequence","pubkey_alias","chan_capacity","amt_to_forward_msat","fee_msat"]}]},{pageId:"loop",tables:[{tableId:"loop",recordsPerPage:j,sortBy:"initiation_time",sortOrder:we.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:j,sortBy:"status",sortOrder:we.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:j,sortBy:"status",sortOrder:we.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],nt={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"}]}}},qt=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:j,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:j,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:j,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:j,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:j,sortBy:"alias",sortOrder:we.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:j,sortBy:"firstPartTimestamp",sortOrder:we.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:j,sortBy:"receivedAt",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:j,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:j,sortBy:"totalFee",sortOrder:we.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:j,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:j,sortBy:"date",sortOrder:we.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],Nt={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"}]}}},yt_DKK="\n \n \n \n ",jt=[{id:"USD",name:"United States Dollar",iconType:"FA",symbol:x.Vpi},{id:"ARS",name:"Argentina Peso",iconType:"FA",symbol:x.Vpi},{id:"AUD",name:"Australia Dollar",iconType:"FA",symbol:x.Vpi},{id:"BRL",name:"Brazil Real",iconType:"FA",symbol:x.Tq9},{id:"CAD",name:"Canada Dollar",iconType:"FA",symbol:x.Vpi},{id:"CHF",name:"Switzerland Franc",iconType:"FA",symbol:x.zjW},{id:"CLP",name:"Chile Peso",iconType:"FA",symbol:x.Vpi},{id:"CNY",name:"China Yuan Renminbi",iconType:"FA",symbol:x.zPk},{id:"CZK",name:"Czech Republic Koruna",iconType:"SVG",symbol:"\n \n \n \n \n \n \n \n ",class:"currency-icon-x-large"},{id:"DKK",name:"Denmark Krone",iconType:"SVG",symbol:yt_DKK,class:"currency-icon-medium"},{id:"EUR",name:"Euro Member Countries",iconType:"FA",symbol:x.s5m},{id:"GBP",name:"United Kingdom Pound",iconType:"FA",symbol:x.vfE},{id:"HKD",name:"Hong Kong Dollar",iconType:"FA",symbol:x.Vpi},{id:"HRK",name:"Croatia Kuna",iconType:"SVG",symbol:'\n \n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/15766/croatia-kuna-currency-symbol --\x3e\n \n \n \n \n \n ',class:"currency-icon-medium"},{id:"HUF",name:"Hungary Forint",iconType:"SVG",symbol:'\n \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 \n \n \n \n \n \n ',class:"currency-icon-small"},{id:"INR",name:"India Rupee",iconType:"FA",symbol:x.FYJ},{id:"ISK",name:"Iceland Krona",iconType:"SVG",symbol:yt_DKK,class:"currency-icon-medium"},{id:"JPY",name:"Japan Yen",iconType:"FA",symbol:x.zPk},{id:"KRW",name:"Korea (South) Won",iconType:"FA",symbol:x.JKM},{id:"NZD",name:"New Zealand Dollar",iconType:"FA",symbol:x.Vpi},{id:"PLN",name:"Poland Zloty",iconType:"SVG",symbol:"\n \n \n \n \n \n \n ",class:"currency-icon-large"},{id:"RON",name:"Romania Leu",iconType:"SVG",symbol:'\n \n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/64526/romania-lei-currency --\x3e\n \n \n \n \n \n ',class:"currency-icon-medium"},{id:"RUB",name:"Russia Ruble",iconType:"FA",symbol:x.f6_},{id:"SEK",name:"Sweden Krona",iconType:"SVG",symbol:yt_DKK,class:"currency-icon-medium"},{id:"SGD",name:"Singapore Dollar",iconType:"FA",symbol:x.Vpi},{id:"THB",name:"Thailand Baht",iconType:"FA",symbol:x.Kcb},{id:"TRY",name:"Turkey Lira",iconType:"FA",symbol:x.hb3},{id:"TWD",name:"Taiwan New Dollar",iconType:"SVG",symbol:'\n \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 \n \n \n \n \n \n ',class:"currency-icon-small"}];function Je(Ae){const It=jt.find(Qt=>Qt.id===Ae);return"SVG"===It.iconType&&"string"==typeof It.symbol&&(It.symbol=It.symbol.replace('{"use strict";g.d(te,{u:()=>ne});var e=g(1626),t=g(4412),x=g(1413),D=g(8810),l=g(7673),w=g(1594),f=g(1397),R=g(6977),h=g(6354),S=g(9437),y=g(3993),O=g(4416),I=g(2462),V=g(1771),j=g(190),Y=g(3536),W=g(9584),Q=g(4438),J=g(9640),ie=g(8570),ee=g(5416),fe=g(177);let ne=(()=>{class Me{constructor(le,T,n,c,m){this.httpClient=le,this.store=T,this.logger=n,this.snackBar=c,this.titleCasePipe=m,this.APIUrl=O.H$,this.lnImplementation="",this.lnImplementationUpdated=new t.t(null),this.unSubs=[new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B],this.mapAliases=(d,C)=>(d&&d.length>0?d.forEach((A,k)=>{if(C&&C.length>0)for(let _=0;_{let c=this.APIUrl+"/"+n+O.rl.PAYMENTS_API+"/decode/"+le,m="GET",d=null;return"cln"===n&&(c=this.APIUrl+"/"+n+O.rl.UTILITY_API+"/decode",d={string:le},m="POST"),this.store.dispatch((0,V.mt)({payload:O.MZ.DECODE_PAYMENT})),this.httpClient.request(m,c,{body:JSON.stringify(d),headers:{"Content-Type":"application/json"}}).pipe((0,R.Q)(this.unSubs[0]),(0,h.T)(C=>(this.store.dispatch((0,V.y0)({payload:O.MZ.DECODE_PAYMENT})),C)),(0,S.W)(C=>(T?this.handleErrorWithoutAlert("Decode Payment",O.MZ.DECODE_PAYMENT,C):this.handleErrorWithAlert("decodePaymentData",O.MZ.DECODE_PAYMENT,"Decode Payment Failed",c,C),(0,D.$)(()=>new Error(this.extractErrorMessage(C))))))}))}decodePayments(le){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(T=>{let n="",c="",m=null;return"ecl"===T?(n=this.APIUrl+"/"+T+O.rl.PAYMENTS_API+"/getsentinfos",m={payments:le},c=O.MZ.GET_SENT_PAYMENTS):"cln"===T?(n=this.APIUrl+"/"+T+O.rl.UTILITY_API+"/decode",m={string:le},c=O.MZ.DECODE_PAYMENTS):(n=this.APIUrl+"/"+T+O.rl.PAYMENTS_API,m={payments:le},c=O.MZ.DECODE_PAYMENTS),this.store.dispatch((0,V.mt)({payload:c})),this.httpClient.post(n,m).pipe((0,R.Q)(this.unSubs[1]),(0,h.T)(d=>(this.store.dispatch((0,V.y0)({payload:c})),d)),(0,S.W)(d=>(this.handleErrorWithAlert("decodePaymentsData",c,c+" Failed",n,d),(0,D.$)(()=>new Error(this.extractErrorMessage(d))))))}))}getAliasesFromPubkeys(le,T){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(n=>{if(T){const c=(new e.Nl).set("pubkeys",le);return this.httpClient.get(this.APIUrl+"/"+n+O.rl.NETWORK_API+"/nodes",{params:c})}return this.httpClient.get(this.APIUrl+"/"+n+O.rl.NETWORK_API+"/node/"+le)}))}signMessage(le){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(T=>{let n=this.APIUrl+"/"+T+O.rl.MESSAGE_API+"/sign";return"cln"===T&&(n=this.APIUrl+"/"+T+O.rl.UTILITY_API+"/sign"),this.store.dispatch((0,V.mt)({payload:O.MZ.SIGN_MESSAGE})),this.httpClient.post(n,{message:le}).pipe((0,R.Q)(this.unSubs[2]),(0,h.T)(c=>(this.store.dispatch((0,V.y0)({payload:O.MZ.SIGN_MESSAGE})),c)),(0,S.W)(c=>(this.handleErrorWithAlert("signMessageData",O.MZ.SIGN_MESSAGE,"Sign Message Failed",n,c),(0,D.$)(()=>new Error(this.extractErrorMessage(c))))))}))}verifyMessage(le,T){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(n=>{let c="",m=null;return"cln"===n?(c=this.APIUrl+"/"+n+O.rl.UTILITY_API+"/verify",m={message:le,zbase:T}):(c=this.APIUrl+"/"+n+O.rl.MESSAGE_API+"/verify",m={message:le,signature:T}),this.store.dispatch((0,V.mt)({payload:O.MZ.VERIFY_MESSAGE})),this.httpClient.post(c,m).pipe((0,R.Q)(this.unSubs[3]),(0,h.T)(d=>(this.store.dispatch((0,V.y0)({payload:O.MZ.VERIFY_MESSAGE})),d)),(0,S.W)(d=>(this.handleErrorWithAlert("verifyMessageData",O.MZ.VERIFY_MESSAGE,"Verify Message Failed",c,d),(0,D.$)(()=>new Error(this.extractErrorMessage(d))))))}))}bumpFee(le,T,n,c){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(m=>{const d={txid:le,outputIndex:T};return n&&(d.targetConf=n),c&&(d.satPerByte=c),this.store.dispatch((0,V.mt)({payload:O.MZ.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+m+O.rl.WALLET_API+"/bumpfee",d).pipe((0,R.Q)(this.unSubs[4]),(0,h.T)(C=>(this.store.dispatch((0,V.y0)({payload:O.MZ.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),C)),(0,S.W)(C=>(this.handleErrorWithoutAlert("Bump Fee",O.MZ.BUMP_FEE,C),(0,D.$)(()=>new Error(this.extractErrorMessage(C))))))}))}labelUTXO(le,T,n=!0){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(c=>{const m={txid:le,label:T,overwrite:n};return this.store.dispatch((0,V.mt)({payload:O.MZ.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+c+O.rl.WALLET_API+"/label",m).pipe((0,R.Q)(this.unSubs[5]),(0,h.T)(d=>(this.store.dispatch((0,V.y0)({payload:O.MZ.LABEL_UTXO})),d)),(0,S.W)(d=>(this.handleErrorWithoutAlert("Label UTXO",O.MZ.LABEL_UTXO,d),(0,D.$)(()=>new Error(this.extractErrorMessage(d))))))}))}leaseUTXO(le,T){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(n=>{const c={txid:le,outputIndex:T};return this.store.dispatch((0,V.mt)({payload:O.MZ.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+n+O.rl.WALLET_API+"/lease",c).pipe((0,R.Q)(this.unSubs[6]),(0,h.T)(m=>{this.store.dispatch((0,V.y0)({payload:O.MZ.LEASE_UTXO})),this.store.dispatch((0,j.mh)()),this.store.dispatch((0,j.SM)());const d=new Date(1e3*m.expiration);return Math.round(d.getTime())-60*d.getTimezoneOffset()}),(0,S.W)(m=>(this.handleErrorWithoutAlert("Lease UTXO",O.MZ.LEASE_UTXO,m),(0,D.$)(()=>new Error(this.extractErrorMessage(m))))))}))}getForwardingHistory(le,T,n,c){if("LND"===le){const m={end_time:n,start_time:T};return this.store.dispatch((0,V.mt)({payload:O.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+O.rl.SWITCH_API,m).pipe((0,R.Q)(this.unSubs[7]),(0,y.E)(this.store.select(Y.eO)),(0,f.Z)(([d,C])=>{if(d.forwarding_events){const A=[...C.channels,...C.closedChannels];d.forwarding_events.forEach(k=>{if(A&&A.length>0)for(let _=0;_(this.handleErrorWithAlert("getForwardingHistoryData",O.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+O.rl.SWITCH_API,d),(0,D.$)(()=>new Error(this.extractErrorMessage(d))))))}return"CLN"===le?(this.store.dispatch((0,V.mt)({payload:O.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/cln"+O.rl.CHANNELS_API+"/listForwards",{status:c||"settled"}).pipe((0,R.Q)(this.unSubs[8]),(0,y.E)(this.store.select(W.BM)),(0,f.Z)(([m,d])=>{const C=this.mapAliases(m,[...d.activeChannels,...d.pendingChannels,...d.inactiveChannels]);return this.store.dispatch((0,V.y0)({payload:O.MZ.GET_FORWARDING_HISTORY})),(0,l.of)(C)}),(0,S.W)(m=>(this.handleErrorWithAlert("getForwardingHistoryData",O.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+O.rl.CHANNELS_API+"/listForwards",m),(0,D.$)(()=>new Error(this.extractErrorMessage(m))))))):(0,l.of)({})}listNetworkNodes(le){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(T=>(this.store.dispatch((0,V.mt)({payload:O.MZ.LIST_NETWORK_NODES})),this.httpClient.post(this.APIUrl+"/"+T+O.rl.NETWORK_API+"/listNodes",le).pipe((0,R.Q)(this.unSubs[9]),(0,f.Z)(n=>(this.store.dispatch((0,V.y0)({payload:O.MZ.LIST_NETWORK_NODES})),(0,l.of)(n))),(0,S.W)(n=>(this.handleErrorWithoutAlert("List Network Nodes",O.MZ.LIST_NETWORK_NODES,n),(0,D.$)(()=>this.extractErrorMessage(n))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(le=>(this.store.dispatch((0,V.mt)({payload:O.MZ.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+le+O.rl.UTILITY_API+"/listConfigs").pipe((0,R.Q)(this.unSubs[10]),(0,f.Z)(T=>(this.store.dispatch((0,V.y0)({payload:O.MZ.GET_LIST_CONFIGS})),(0,l.of)(T))),(0,S.W)(T=>(this.handleErrorWithoutAlert("List Configurations",O.MZ.GET_LIST_CONFIGS,T),(0,D.$)(()=>this.extractErrorMessage(T))))))))}getOrUpdateFunderPolicy(le,T,n,c,m,d){return this.lnImplementationUpdated.pipe((0,w.$)(),(0,f.Z)(C=>{const A=le?{policy:le,policy_mod:T,lease_fee_base_msat:n,lease_fee_basis:c,channel_fee_max_base_msat:m,channel_fee_max_proportional_thousandths:d}:null;return this.store.dispatch((0,V.mt)({payload:O.MZ.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+C+O.rl.CHANNELS_API+"/funderUpdate",A).pipe((0,R.Q)(this.unSubs[11]),(0,h.T)(k=>(this.store.dispatch((0,V.y0)({payload:O.MZ.GET_FUNDER_POLICY})),A&&this.store.dispatch((0,V.UI)({payload:"Funder Policy Updated Successfully with Compact Lease: "+k.compact_lease+"!"})),k)),(0,S.W)(k=>(this.handleErrorWithoutAlert("Funder Policy",O.MZ.GET_FUNDER_POLICY,k),(0,D.$)(()=>new Error(this.extractErrorMessage(k))))))}))}circularRebalance(le,T="",n="",c="",m="",d=[],C="shortChannelId"){return this.httpClient.post(this.APIUrl+"/"+this.lnImplementation+O.rl.CHANNELS_API+"/circularRebalance",{amountMsat:le,sourceShortChannelId:T,sourceNodeId:n,targetShortChannelId:c,targetNodeId:m,ignoreNodeIds:d,format:C}).pipe((0,R.Q)(this.unSubs[12]),(0,h.T)(_=>_),(0,S.W)(_=>(this.handleErrorWithoutAlert("Rebalance Channel",O.MZ.REBALANCE_CHANNEL,_),(0,D.$)(()=>_.error))))}extractErrorMessage(le,T="Unknown Error."){return this.titleCasePipe.transform(le.error.text&&"string"==typeof le.error.text&&le.error.text.includes('')?"API Route Does Not Exist.":le.error&&le.error.error&&le.error.error.error&&le.error.error.error.error&&le.error.error.error.error.error&&"string"==typeof le.error.error.error.error.error?le.error.error.error.error.error:le.error&&le.error.error&&le.error.error.error&&le.error.error.error.error&&"string"==typeof le.error.error.error.error?le.error.error.error.error:le.error&&le.error.error&&le.error.error.error&&"string"==typeof le.error.error.error?le.error.error.error:le.error&&le.error.error&&"string"==typeof le.error.error?le.error.error:le.error&&"string"==typeof le.error?le.error:le.error&&le.error.error&&le.error.error.error&&le.error.error.error.error&&le.error.error.error.error.message&&"string"==typeof le.error.error.error.error.message?le.error.error.error.error.message:le.error&&le.error.error&&le.error.error.error&&le.error.error.error.message&&"string"==typeof le.error.error.error.message?le.error.error.error.message:le.error&&le.error.error&&le.error.error.message&&"string"==typeof le.error.error.message?le.error.error.message:le.error&&le.error.message&&"string"==typeof le.error.message?le.error.message:le.message&&"string"==typeof le.message?le.message:T)}handleErrorWithoutAlert(le,T,n){n.error.text&&"string"==typeof n.error.text&&n.error.text.includes('')&&(n={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+le+"\n"+JSON.stringify(n)),401===n.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,V.Jh)()),this.store.dispatch((0,V.ri)({payload:"Authentication Failed: "+JSON.stringify(n.error)}))):(this.store.dispatch((0,V.y0)({payload:T})),this.store.dispatch((0,V.Gd)({payload:{action:le,status:O.wn.ERROR,statusCode:n.status.toString(),message:this.extractErrorMessage(n)}})))}handleErrorWithAlert(le,T,n,c,m){if(this.logger.error(m),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,V.Jh)()),this.store.dispatch((0,V.ri)({payload:"Authentication Failed: "+JSON.stringify(m.error)}));else{this.store.dispatch((0,V.y0)({payload:T}));const d=this.extractErrorMessage(m);this.store.dispatch((0,V.xO)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:m.status?m.status:"Unknown Error",message:d,URL:c},component:I.f}}})),this.store.dispatch((0,V.Gd)({payload:{action:le,status:O.wn.ERROR,statusCode:m.status.toString(),message:d,URL:c}}))}}ngOnDestroy(){this.unSubs.forEach(le=>{le.next(null),le.complete()})}static{this.\u0275fac=function(T){return new(T||Me)(Q.KVO(e.Qq),Q.KVO(J.il),Q.KVO(ie.gP),Q.KVO(ee.UG),Q.KVO(fe.PV))}}static{this.\u0275prov=Q.jDH({token:Me,factory:Me.\u0275fac})}}return Me})()},8570:(Qe,te,g)=>{"use strict";g.d(te,{gP:()=>l,tU:()=>w});var e=g(4438);const t=(0,e.naY)(),x=()=>null;let l=(()=>{class f{invokeConsoleMethod(h,S){}static{this.\u0275fac=function(S){return new(S||f)}}static{this.\u0275prov=e.jDH({token:f,factory:f.\u0275fac})}}return f})(),w=(()=>{class f{get info(){return t?console.log.bind(console):x}get warn(){return t?console.warn.bind(console):x}get error(){return t?console.error.bind(console):x}invokeConsoleMethod(h,S){(console[h]||console.log||x).apply(console,[S])}static{this.\u0275fac=function(S){return new(S||f)}}static{this.\u0275prov=e.jDH({token:f,factory:f.\u0275fac})}}return f})()},4104:(Qe,te,g)=>{"use strict";g.d(te,{Q:()=>Y});var e=g(1626),t=g(4412),x=g(1413),D=g(7673),l=g(8810),w=g(6977),f=g(9437),R=g(6354),h=g(4416),S=g(2462),y=g(1771),O=g(4438),I=g(8570),V=g(9640),j=g(2571);let Y=(()=>{class W{constructor(J,ie,ee,fe){this.httpClient=J,this.logger=ie,this.store=ee,this.commonService=fe,this.loopUrl="",this.swaps=[],this.swapsChanged=new t.t([]),this.unSubs=[new x.B,new x.B,new x.B,new x.B,new x.B,new x.B,new x.B]}getLoopInfo(){return this.loopUrl=h.H$+h.rl.LOOP_API+"/info",this.httpClient.get(this.loopUrl)}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,y.mt)({payload:h.MZ.GET_LOOP_SWAPS})),this.loopUrl=h.H$+h.rl.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,w.Q)(this.unSubs[0])).subscribe({next:J=>{this.store.dispatch((0,y.y0)({payload:h.MZ.GET_LOOP_SWAPS})),this.swaps=J,this.swapsChanged.next(this.swaps)},error:J=>this.swapsChanged.error(this.handleErrorWithAlert(h.MZ.GET_LOOP_SWAPS,this.loopUrl,J))})}loopOut(J,ie,ee,fe,ne,Me,Ce,le,T,n){const c={amount:J,targetConf:ee,swapRoutingFee:fe,minerFee:ne,prepayRoutingFee:Me,prepayAmt:Ce,swapFee:le,swapPublicationDeadline:T,destAddress:n};return""!==ie&&(c.chanId=ie),this.loopUrl=h.H$+h.rl.LOOP_API+"/out",this.httpClient.post(this.loopUrl,c).pipe((0,f.W)(m=>this.handleErrorWithoutAlert("Loop Out for Channel: "+ie,h.MZ.NO_SPINNER,m)))}getLoopOutTerms(){return this.loopUrl=h.H$+h.rl.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,f.W)(J=>this.handleErrorWithoutAlert("Loop Out Terms",h.MZ.NO_SPINNER,J)))}getLoopOutQuote(J,ie,ee){let fe=new e.Nl;return fe=fe.append("targetConf",ie.toString()),fe=fe.append("swapPublicationDeadline",ee.toString()),this.loopUrl=h.H$+h.rl.LOOP_API+"/out/quote/"+J,this.store.dispatch((0,y.mt)({payload:h.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:fe}).pipe((0,w.Q)(this.unSubs[1]),(0,R.T)(ne=>(this.store.dispatch((0,y.y0)({payload:h.MZ.GET_QUOTE})),ne)),(0,f.W)(ne=>this.handleErrorWithoutAlert("Loop Out Quote",h.MZ.GET_QUOTE,ne)))}getLoopOutTermsAndQuotes(J){let ie=new e.Nl;return ie=ie.append("targetConf",J.toString()),ie=ie.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=h.H$+h.rl.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,y.mt)({payload:h.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ie}).pipe((0,w.Q)(this.unSubs[2]),(0,R.T)(ee=>(this.store.dispatch((0,y.y0)({payload:h.MZ.GET_TERMS_QUOTES})),ee)),(0,f.W)(ee=>(0,D.of)(this.handleErrorWithAlert(h.MZ.GET_TERMS_QUOTES,this.loopUrl,ee))))}loopIn(J,ie,ee,fe,ne){const Me={amount:J,swapFee:ie,minerFee:ee,lastHop:fe,externalHtlc:ne};return this.loopUrl=h.H$+h.rl.LOOP_API+"/in",this.httpClient.post(this.loopUrl,Me).pipe((0,f.W)(Ce=>this.handleErrorWithoutAlert("Loop In",h.MZ.NO_SPINNER,Ce)))}getLoopInTerms(){return this.loopUrl=h.H$+h.rl.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,f.W)(J=>this.handleErrorWithoutAlert("Loop In Terms",h.MZ.NO_SPINNER,J)))}getLoopInQuote(J,ie,ee){let fe=new e.Nl;return fe=fe.append("targetConf",ie.toString()),fe=fe.append("swapPublicationDeadline",ee.toString()),this.loopUrl=h.H$+h.rl.LOOP_API+"/in/quote/"+J,this.store.dispatch((0,y.mt)({payload:h.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:fe}).pipe((0,w.Q)(this.unSubs[3]),(0,R.T)(ne=>(this.store.dispatch((0,y.y0)({payload:h.MZ.GET_QUOTE})),ne)),(0,f.W)(ne=>this.handleErrorWithoutAlert("Loop In Qoute",h.MZ.GET_QUOTE,ne)))}getLoopInTermsAndQuotes(J){let ie=new e.Nl;return ie=ie.append("targetConf",J.toString()),ie=ie.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=h.H$+h.rl.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,y.mt)({payload:h.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ie}).pipe((0,w.Q)(this.unSubs[4]),(0,R.T)(ee=>(this.store.dispatch((0,y.y0)({payload:h.MZ.GET_TERMS_QUOTES})),ee)),(0,f.W)(ee=>(0,D.of)(this.handleErrorWithAlert(h.MZ.GET_TERMS_QUOTES,this.loopUrl,ee))))}getSwap(J){return this.loopUrl=h.H$+h.rl.LOOP_API+"/swap/"+J,this.httpClient.get(this.loopUrl).pipe((0,f.W)(ie=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+J,h.MZ.NO_SPINNER,ie)))}handleErrorWithoutAlert(J,ie,ee){let fe="";return this.logger.error("ERROR IN: "+J+"\n"+JSON.stringify(ee)),this.store.dispatch((0,y.y0)({payload:ie})),401===ee.status?(fe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.ri)({payload:fe}))):503===ee.status?(fe="Unable to Connect to Loop Server.",this.store.dispatch((0,y.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ee.status,message:"Unable to Connect to Loop Server",URL:J},component:S.f}}}))):fe=this.commonService.extractErrorMessage(ee),(0,l.$)(()=>new Error(fe))}handleErrorWithAlert(J,ie,ee){let fe="";if(this.logger.error(ee),this.store.dispatch((0,y.y0)({payload:J})),401===ee.status)fe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.ri)({payload:fe}));else if(503===ee.status)fe="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ee.status,message:"Unable to Connect to Loop Server",URL:ie},component:S.f}}}))},100);else{fe=this.commonService.extractErrorMessage(ee);const ne=ee.error&&ee.error.error&&ee.error.error.code?ee.error.error.code:ee.error&&ee.error.code?ee.error.code:ee.code?ee.code:ee.status;setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{type:h.A$.ERROR,alertTitle:"ERROR",message:{code:ne,message:fe,URL:ie},component:S.f}}}))},100)}return{message:fe}}ngOnDestroy(){this.unSubs.forEach(J=>{J.next(null),J.complete()})}static{this.\u0275fac=function(ie){return new(ie||W)(O.KVO(e.Qq),O.KVO(I.gP),O.KVO(V.il),O.KVO(j.h))}}static{this.\u0275prov=O.jDH({token:W,factory:W.\u0275fac})}}return W})()},3202:(Qe,te,g)=>{"use strict";g.d(te,{Q:()=>x});var e=g(1413),t=g(4438);let x=(()=>{class D{constructor(){this.sessionSub=new e.B}watchSession(){return this.sessionSub.asObservable()}getItem(w){return sessionStorage.getItem(w)}getAllItems(){return sessionStorage}setItem(w,f){sessionStorage.setItem(w,f),this.sessionSub.next(sessionStorage)}removeItem(w){sessionStorage.removeItem(w),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}static{this.\u0275fac=function(f){return new(f||D)}}static{this.\u0275prov=t.jDH({token:D,factory:D.\u0275fac})}}return D})()},7879:(Qe,te,g)=>{"use strict";g.d(te,{I:()=>V});var e=g(4412),t=g(1413),x=g(6977),D=g(7707),l=g(1985),w=g(8359),f=g(2771);const R={url:"",deserializer:j=>JSON.parse(j.data),serializer:j=>JSON.stringify(j)};class S extends t.k{constructor(Y,W){if(super(),this._socket=null,Y instanceof l.c)this.destination=W,this.source=Y;else{const Q=this._config=Object.assign({},R);if(this._output=new t.B,"string"==typeof Y)Q.url=Y;else for(const J in Y)Y.hasOwnProperty(J)&&(Q[J]=Y[J]);if(!Q.WebSocketCtor&&WebSocket)Q.WebSocketCtor=WebSocket;else if(!Q.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new f.m}}lift(Y){const W=new S(this._config,this.destination);return W.operator=Y,W.source=this,W}_resetState(){this._socket=null,this.source||(this.destination=new f.m),this._output=new t.B}multiplex(Y,W,Q){const J=this;return new l.c(ie=>{try{J.next(Y())}catch(fe){ie.error(fe)}const ee=J.subscribe({next:fe=>{try{Q(fe)&&ie.next(fe)}catch(ne){ie.error(ne)}},error:fe=>ie.error(fe),complete:()=>ie.complete()});return()=>{try{J.next(W())}catch(fe){ie.error(fe)}ee.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:Y,protocol:W,url:Q,binaryType:J}=this._config,ie=this._output;let ee=null;try{ee=W?new Y(Q,W):new Y(Q),this._socket=ee,J&&(this._socket.binaryType=J)}catch(ne){return void ie.error(ne)}const fe=new w.yU(()=>{this._socket=null,ee&&1===ee.readyState&&ee.close()});ee.onopen=ne=>{const{_socket:Me}=this;if(!Me)return ee.close(),void this._resetState();const{openObserver:Ce}=this._config;Ce&&Ce.next(ne);const le=this.destination;this.destination=D.vU.create(T=>{if(1===ee.readyState)try{const{serializer:n}=this._config;ee.send(n(T))}catch(n){this.destination.error(n)}},T=>{const{closingObserver:n}=this._config;n&&n.next(void 0),T&&T.code?ee.close(T.code,T.reason):ie.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:T}=this._config;T&&T.next(void 0),ee.close(),this._resetState()}),le&&le instanceof f.m&&fe.add(le.subscribe(this.destination))},ee.onerror=ne=>{this._resetState(),ie.error(ne)},ee.onclose=ne=>{ee===this._socket&&this._resetState();const{closeObserver:Me}=this._config;Me&&Me.next(ne),ne.wasClean?ie.complete():ie.error(ne)},ee.onmessage=ne=>{try{const{deserializer:Me}=this._config;ie.next(Me(ne))}catch(Me){ie.error(Me)}}}_subscribe(Y){const{source:W}=this;return W?W.subscribe(Y):(this._socket||this._connectSocket(),this._output.subscribe(Y),Y.add(()=>{const{_socket:Q}=this;0===this._output.observers.length&&(Q&&(1===Q.readyState||0===Q.readyState)&&Q.close(),this._resetState())}),Y)}unsubscribe(){const{_socket:Y}=this;Y&&(1===Y.readyState||0===Y.readyState)&&Y.close(),this._resetState(),super.unsubscribe()}}var y=g(4438),O=g(8570),I=g(3202);let V=(()=>{class j{constructor(W,Q){this.logger=W,this.sessionService=Q,this.clWSMessages=new e.t(null),this.eclWSMessages=new e.t(null),this.lndWSMessages=new e.t(null),this.wsUrl="",this.nodeIndex="",this.RETRY_SECONDS=5,this.RECONNECT_TIMEOUT=null,this.unSubs=[new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B]}connectWebSocket(W,Q){(!this.socket||this.socket.closed)&&(this.wsUrl=W,this.nodeIndex=Q,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new S({url:W,protocol:[this.sessionService.getItem("token")||"",Q]}),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,x.Q)(this.unSubs[1])).subscribe({next:W=>{if((W="string"==typeof W?JSON.parse(W):W).error)this.handleError(W.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(W)),W.source){case"LND":this.lndWSMessages.next(W);break;case"CLN":this.clWSMessages.next(W);break;case"ECL":this.eclWSMessages.next(W)}},error:W=>this.handleError(W),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(W){this.logger.error(W),this.clWSMessages.error(W),this.eclWSMessages.error(W),this.lndWSMessages.error(W),this.reconnectOnError()}ngOnDestroy(){this.closeConnection(),this.clWSMessages.next(null),this.clWSMessages.complete(),this.eclWSMessages.next(null),this.eclWSMessages.complete(),this.lndWSMessages.next(null),this.lndWSMessages.complete()}static{this.\u0275fac=function(Q){return new(Q||j)(y.KVO(O.gP),y.KVO(I.Q))}}static{this.\u0275prov=y.jDH({token:j,factory:j.\u0275fac})}}return j})()},9029:(Qe,te,g)=>{"use strict";g.d(te,{G:()=>Bo});var e=g(177),t=g(1188),x=g(9417),D=g(1626),l=g(60),w=g(4438),f=g(9340),R=g(6038),h=g(2920);g(4085);let ot=(()=>{class Ot{}return Ot.\u0275fac=function(wt){return new(wt||Ot)},Ot.\u0275mod=w.$C({type:Ot}),Ot.\u0275inj=w.G2t({imports:[f.Ui]}),Ot})(),Bt=(()=>{class Ot{constructor(wt,ni){(0,e.Vy)(ni)&&!wt&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(wt,ni=[]){return{ngModule:Ot,providers:wt.serverLoaded?[{provide:f.EA,useValue:{...f.PV,...wt}},{provide:f.SL,useValue:ni,multi:!0},{provide:f.Ce,useValue:!0}]:[{provide:f.EA,useValue:{...f.PV,...wt}},{provide:f.SL,useValue:ni,multi:!0}]}}}return Ot.\u0275fac=function(wt){return new(wt||Ot)(w.KVO(f.Ce),w.KVO(w.Agw))},Ot.\u0275mod=w.$C({type:Ot}),Ot.\u0275inj=w.G2t({imports:[h.w2,R.Cc,ot,h.w2,R.Cc,ot]}),Ot})();var Ci=g(9327),Ti=g(6600),Hi=g(5351),Zi=g(850),ln=g(1975),mn=g(8834),Ut=g(8617);g(5024);const re=["button"],He=["*"];function ye(Ot,si){if(1&Ot&&w.nrm(0,"mat-pseudo-checkbox",3),2&Ot){const wt=w.XpG();w.Y8G("disabled",wt.disabled)}}function rt(Ot,si){if(1&Ot&&w.nrm(0,"mat-pseudo-checkbox",3),2&Ot){const wt=w.XpG();w.Y8G("disabled",wt.disabled)}}const ht=new w.nKC("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:function ii(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1}}}),di=new w.nKC("MatButtonToggleGroup");let Cn=0;class Hn{constructor(si,wt){this.source=si,this.value=wt}}let Jn=(()=>{class Ot{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(wt){this._appearance=wt}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(wt){wt!==this._checked&&(this._checked=wt,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(wt){this._disabled=wt}constructor(wt,ni,Ei,Ji,cr,ga){this._changeDetectorRef=ni,this._elementRef=Ei,this._focusMonitor=Ji,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new w.bkB;const Ra=Number(cr);this.tabIndex=Ra||0===Ra?Ra:null,this.buttonToggleGroup=wt,this.appearance=ga&&ga.appearance?ga.appearance:"standard"}ngOnInit(){const wt=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+Cn++,wt&&(wt._isPrechecked(this)?this.checked=!0:wt._isSelected(this)!==this._checked&&wt._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const wt=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),wt&&wt._isSelected(this)&&wt._syncButtonToggle(this,!1,!1,!0)}focus(wt){this._buttonElement.nativeElement.focus(wt)}_onButtonClick(){const wt=!!this._isSingleSelector()||!this._checked;wt!==this._checked&&(this._checked=wt,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new Hn(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static{this.\u0275fac=function(ni){return new(ni||Ot)(w.rXU(di,8),w.rXU(w.gRc),w.rXU(w.aKT),w.rXU(Ut.FN),w.kS0("tabindex"),w.rXU(ht,8))}}static{this.\u0275cmp=w.VBU({type:Ot,selectors:[["mat-button-toggle"]],viewQuery:function(ni,Ei){if(1&ni&&w.GBs(re,5),2&ni){let Ji;w.mGM(Ji=w.lsd())&&(Ei._buttonElement=Ji.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(ni,Ei){1&ni&&w.bIt("focus",function(){return Ei.focus()}),2&ni&&(w.BMQ("aria-label",null)("aria-labelledby",null)("id",Ei.id)("name",null),w.AVh("mat-button-toggle-standalone",!Ei.buttonToggleGroup)("mat-button-toggle-checked",Ei.checked)("mat-button-toggle-disabled",Ei.disabled)("mat-button-toggle-appearance-standard","standard"===Ei.appearance))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",w.L39],appearance:"appearance",checked:[2,"checked","checked",w.L39],disabled:[2,"disabled","disabled",w.L39]},outputs:{change:"change"},exportAs:["matButtonToggle"],standalone:!0,features:[w.GFd,w.aNF],ngContentSelectors:He,decls:8,vars:11,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(ni,Ei){if(1&ni){const Ji=w.RV6();w.NAR(),w.j41(0,"button",1,0),w.bIt("click",function(){return w.eBV(Ji),w.Njj(Ei._onButtonClick())}),w.j41(2,"span",2),w.DNE(3,ye,1,1,"mat-pseudo-checkbox",3)(4,rt,1,1,"mat-pseudo-checkbox",3),w.SdG(5),w.k0s()(),w.nrm(6,"span",4)(7,"span",5)}if(2&ni){const Ji=w.sdS(1);w.Y8G("id",Ei.buttonId)("disabled",Ei.disabled||null),w.BMQ("tabindex",Ei.disabled?-1:Ei.tabIndex)("aria-pressed",Ei.checked)("name",Ei._getButtonName())("aria-label",Ei.ariaLabel)("aria-labelledby",Ei.ariaLabelledby),w.R7$(3),w.vxM(Ei.buttonToggleGroup&&Ei.checked&&!Ei.buttonToggleGroup.multiple&&!Ei.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),w.R7$(),w.vxM(Ei.buttonToggleGroup&&Ei.checked&&Ei.buttonToggleGroup.multiple&&!Ei.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),w.R7$(3),w.Y8G("matRippleTrigger",Ji)("matRippleDisabled",Ei.disableRipple||Ei.disabled)}},dependencies:[Ti.r6,Ti.wg],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group: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)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape);border:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-standard-button-toggle-selected-state-text-color )}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-legacy-button-toggle-selected-state-text-color )}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-legacy-button-toggle-disabled-state-text-color )}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color);background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-label-text-font);font-size:var(--mat-standard-button-toggle-label-text-size);line-height:var(--mat-standard-button-toggle-label-text-line-height);font-weight:var(--mat-standard-button-toggle-label-text-weight);letter-spacing:var(--mat-standard-button-toggle-label-text-tracking)}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color);background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-standard-button-toggle-disabled-selected-state-text-color )}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color)}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity)}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity)}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape);border-bottom-right-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape);border-bottom-left-radius:var(--mat-standard-button-toggle-shape)}"],encapsulation:2,changeDetection:0})}}return Ot})(),nr=(()=>{class Ot{static{this.\u0275fac=function(ni){return new(ni||Ot)}}static{this.\u0275mod=w.$C({type:Ot})}static{this.\u0275inj=w.G2t({imports:[Ti.yE,Ti.pZ,Jn,Ti.yE]})}}return Ot})();var dr=g(5596),wn=g(2765),Ai=g(5084),Yi=g(9454),Ft=g(6195),mi=g(9213),gi=g(9631),xi=g(3902),Ni=g(9115),nn=g(6695),On=g(7575),ir=g(9183),gn=g(5951),Xr=g(2798),fr=g(882),mr=g(450),wa=g(6860);g(1413);let zr=(()=>{class Ot{static{this.\u0275fac=function(ni){return new(ni||Ot)}}static{this.\u0275mod=w.$C({type:Ot})}static{this.\u0275inj=w.G2t({imports:[Ti.yE,Ti.pZ]})}}return Ot})();var Ea=g(5416),fa=g(2042),Bs=g(6013),Ar=g(9159),Io=g(6850),Ua=g(5911),ma=g(4823),no=g(7358),ta=g(6471),Ro=g(6064),As=g(8288),bo=g(497),$r=g(6969);let pa=(()=>{class Ot extends $r.Sf{constructor(wt,ni){super(wt,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||Ot)(w.rXU(e.qQ),w.rXU(wa.OD))}}static{this.\u0275dir=w.FsC({type:Ot,features:[w.Vt3]})}}return Ot})();var yo=g(8570),ro=g(4416),Ka=g(2929);const Ga={suppressScrollX:!1,suppressScrollY:!1};let sr=(()=>{class Ot extends Ti.xW{constructor(wt){super(wt)}format(wt,ni){if("input"===ni){let Ei=wt.getDate().toString();return Ei=+Ei<10?"0"+Ei:Ei,Ei+"/"+ro.KR[wt.getMonth()].name.toUpperCase()+"/"+wt.getFullYear()}return ro.KR[wt.getMonth()].name.toUpperCase()+" "+wt.getFullYear()}static{this.\u0275fac=function(ni){return new(ni||Ot)(w.KVO(Ti.Ju,8))}}static{this.\u0275prov=w.jDH({token:Ot,factory:Ot.\u0275fac})}}return Ot})();const ia={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 Bo=(()=>{class Ot{static{this.\u0275fac=function(ni){return new(ni||Ot)}}static{this.\u0275mod=w.$C({type:Ot})}static{this.\u0275inj=w.G2t({providers:[{provide:yo.gP,useClass:yo.tU},{provide:bo.kU,useValue:Ga},{provide:Ea.x6,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:Hi.di,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:Ti.MJ,useClass:sr},{provide:Ti.de,useValue:ia},{provide:$r.Sf,useClass:pa},e.QX,e.PV,e.vh,Ka.gZ,Ka.ZE,Ka.VD,Ka.Qu],imports:[e.MD,x.YN,x.X1,l.dX,Bt,Ci.RH,Hi.hM,mn.Hl,nr,dr.Hu,wn.g7,Yi.MY,Ft.Fe,Ai.X6,Ti.WX,mi.m_,gi.fS,xi.Fg,Ni.Cn,On.PO,ir.D6,gn.Wk,no.jH,ta.YN,Xr.Ve,fr.vg,mr.mV,fa.NQ,Ar.tP,Ua.s5,ma.uc,ln.Y,nn.Ou,Bs.aP,zr,Io.RI,Ea._T,Zi.jL,Ro.dV,As.XK,t.iI,D.q1,bo.U$,x.YN,x.X1,l.dX,Bt,Ci.RH,Hi.hM,mn.Hl,nr,dr.Hu,wn.g7,Yi.MY,Ft.Fe,Ai.X6,Ti.WX,mi.m_,gi.fS,xi.Fg,Ni.Cn,On.PO,ir.D6,gn.Wk,no.jH,ta.YN,Xr.Ve,fr.vg,mr.mV,fa.NQ,Ar.tP,Ua.s5,ma.uc,ln.Y,nn.Ou,Bs.aP,zr,Io.RI,Ea._T,Zi.jL,Ro.dV,As.XK,bo.U$]})}}return Ot})()},1771:(Qe,te,g)=>{"use strict";g.d(te,{Dz:()=>j,Fl:()=>Me,Gd:()=>l,I1:()=>O,IK:()=>J,Jh:()=>w,My:()=>D,NU:()=>Q,Np:()=>fe,OP:()=>V,Qi:()=>ie,R$:()=>y,T$:()=>ee,Tn:()=>W,UI:()=>f,iD:()=>m,mt:()=>R,oz:()=>n,rc:()=>ne,ri:()=>Ce,t2:()=>C,uP:()=>I,xO:()=>S,xw:()=>le,y0:()=>h});var e=g(9640),t=g(4416);(0,e.VP)(t.aU.VOID);const D=(0,e.VP)(t.aU.SET_API_URL_ECL,(0,e.xk)()),l=(0,e.VP)(t.aU.UPDATE_API_CALL_STATUS_ROOT,(0,e.xk)()),w=(0,e.VP)(t.aU.CLOSE_ALL_DIALOGS),f=(0,e.VP)(t.aU.OPEN_SNACK_BAR,(0,e.xk)()),R=(0,e.VP)(t.aU.OPEN_SPINNER,(0,e.xk)()),h=(0,e.VP)(t.aU.CLOSE_SPINNER,(0,e.xk)()),S=(0,e.VP)(t.aU.OPEN_ALERT,(0,e.xk)()),y=(0,e.VP)(t.aU.CLOSE_ALERT,(0,e.xk)()),O=(0,e.VP)(t.aU.OPEN_CONFIRMATION,(0,e.xk)()),I=(0,e.VP)(t.aU.CLOSE_CONFIRMATION,(0,e.xk)()),V=(0,e.VP)(t.aU.SHOW_PUBKEY),j=(0,e.VP)(t.aU.FETCH_CONFIG,(0,e.xk)()),W=((0,e.VP)(t.aU.SHOW_CONFIG,(0,e.xk)()),(0,e.VP)(t.aU.RESET_ROOT_STORE,(0,e.xk)())),Q=(0,e.VP)(t.aU.FETCH_APPLICATION_SETTINGS),J=(0,e.VP)(t.aU.SET_APPLICATION_SETTINGS,(0,e.xk)()),ie=(0,e.VP)(t.aU.SET_SELECTED_NODE,(0,e.xk)()),ee=(0,e.VP)(t.aU.UPDATE_NODE_SETTINGS,(0,e.xk)()),fe=(0,e.VP)(t.aU.SET_SELECTED_NODE_SETTINGS,(0,e.xk)()),ne=(0,e.VP)(t.aU.UPDATE_APPLICATION_SETTINGS,(0,e.xk)()),Me=(0,e.VP)(t.aU.SET_NODE_DATA,(0,e.xk)()),Ce=(0,e.VP)(t.aU.LOGOUT,(0,e.xk)()),le=(0,e.VP)(t.aU.RESET_PASSWORD,(0,e.xk)()),n=((0,e.VP)(t.aU.RESET_PASSWORD_RES,(0,e.xk)()),(0,e.VP)(t.aU.IS_AUTHORIZED,(0,e.xk)())),m=((0,e.VP)(t.aU.IS_AUTHORIZED_RES,(0,e.xk)()),(0,e.VP)(t.aU.LOGIN,(0,e.xk)())),C=((0,e.VP)(t.aU.VERIFY_TWO_FA,(0,e.xk)()),(0,e.VP)(t.aU.FETCH_FILE,(0,e.xk)()));(0,e.VP)(t.aU.SHOW_FILE,(0,e.xk)())},7541:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>He});var e=g(4438),t=g(4054),x=g(1413),D=g(7673),l=g(6354),w=g(6697),f=g(3993),R=g(1397),h=g(9437),S=g(6977),y=g(4416),O=g(5351),I=g(2920),V=g(9183);let j=(()=>{class ye{constructor(ht,ii){this.dialogRef=ht,this.data=ii}static{this.\u0275fac=function(ii){return new(ii||ye)(e.rXU(O.CP),e.rXU(O.Vh))}}static{this.\u0275cmp=e.VBU({type:ye,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(ii,di){1&ii&&(e.j41(0,"div",0),e.nrm(1,"mat-progress-spinner",1),e.j41(2,"h2"),e.EFF(3),e.k0s()()),2&ii&&(e.R7$(3),e.JRh(di.data.titleMessage))},dependencies:[I.DJ,I.sA,V.LG],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]})}}return ye})();var Y=g(5383),W=g(9647),Q=g(8570),J=g(5416),ie=g(2571),ee=g(1188),fe=g(9640),ne=g(177),Me=g(60),Ce=g(6038),le=g(8834),T=g(5596),n=g(9213),c=g(1997),m=g(4823),d=g(8288),C=g(497),A=g(9157),k=g(9587);const _=["scrollContainer"],a=ye=>({"display-none":ye}),b=ye=>({"h-40":ye}),z=ye=>({"failed-status":ye});function N(ye,rt){if(1&ye&&e.nrm(0,"qr-code",19),2&ye){const ht=e.XpG();e.Y8G("value",ht.showQRField)("size",200)("errorCorrectionLevel","L")}}function q(ye,rt){1&ye&&e.eu8(0)}function pe(ye,rt){if(1&ye&&(e.qex(0),e.j41(1,"mat-card-content",20,1),e.DNE(3,q,1,0,"ng-container",21),e.k0s(),e.bVm()),2&ye){const ht=e.XpG(),ii=e.sdS(20);e.R7$(),e.Y8G("ngClass",e.eq3(2,b,ht.data.scrollable)),e.R7$(2),e.Y8G("ngTemplateOutlet",ii)}}function ze(ye,rt){1&ye&&e.eu8(0)}function Xe(ye,rt){if(1&ye&&(e.qex(0),e.j41(1,"mat-card-content",22),e.DNE(2,ze,1,0,"ng-container",21),e.k0s(),e.bVm()),2&ye){e.XpG();const ht=e.sdS(20);e.R7$(2),e.Y8G("ngTemplateOutlet",ht)}}function We(ye,rt){1&ye&&(e.j41(0,"mat-icon",27),e.EFF(1,"arrow_downward"),e.k0s())}function oe(ye,rt){1&ye&&(e.j41(0,"mat-icon",28),e.EFF(1,"arrow_upward"),e.k0s())}function X(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"div",23)(1,"button",24),e.bIt("click",function(){e.eBV(ht);const di=e.XpG();return e.Njj(di.onScroll())}),e.DNE(2,We,2,0,"mat-icon",25)(3,oe,2,0,"mat-icon",26),e.k0s()()}if(2&ye){const ht=e.XpG();e.R7$(2),e.Y8G("ngIf","DOWN"===ht.scrollDirection),e.R7$(),e.Y8G("ngIf","UP"===ht.scrollDirection)}}function se(ye,rt){1&ye&&(e.j41(0,"button",29),e.EFF(1,"OK"),e.k0s()),2&ye&&e.Y8G("mat-dialog-close",!1)}function ae(ye,rt){1&ye&&(e.j41(0,"button",30),e.EFF(1,"Close"),e.k0s()),2&ye&&e.Y8G("mat-dialog-close",!1)}function he(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"button",31),e.bIt("copied",function(di){e.eBV(ht);const Gi=e.XpG();return e.Njj(Gi.onCopyField(di))}),e.EFF(1),e.k0s()}if(2&ye){const ht=e.XpG();e.Y8G("payload",ht.showCopyField),e.R7$(),e.SpI("Copy ",ht.showCopyName,"")}}function Ie(ye,rt){1&ye&&(e.j41(0,"button",30),e.EFF(1,"Close"),e.k0s()),2&ye&&e.Y8G("mat-dialog-close",!1)}function st(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"button",31),e.bIt("copied",function(di){e.eBV(ht);const Gi=e.XpG();return e.Njj(Gi.onCopyField(di))}),e.EFF(1),e.k0s()}if(2&ye){const ht=e.XpG();e.Y8G("payload",ht.showQRField),e.R7$(),e.SpI("Copy ",ht.showQRName,"")}}function me(ye,rt){if(1&ye&&e.nrm(0,"qr-code",19),2&ye){const ht=e.XpG(2);e.Y8G("value",ht.showQRField)("size",200)("errorCorrectionLevel","L")}}function Ee(ye,rt){if(1&ye&&(e.j41(0,"p",37),e.EFF(1),e.k0s()),2&ye){const ht=e.XpG(2);e.R7$(),e.JRh(ht.data.titleMessage)}}function ue(ye,rt){1&ye&&e.nrm(0,"span",51),2&ye&&e.Y8G("innerHTML",rt.$implicit,e.npT)}function Be(ye,rt){if(1&ye&&(e.qex(0),e.j41(1,"span",34),e.DNE(2,ue,1,1,"span",50),e.k0s(),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(2),e.Y8G("ngForOf",ht.value)}}function Ct(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.nI1(2,"date"),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(e.i5U(2,1,1e3*ht.value,"dd/MMM/y HH:mm"))}}function ct(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.nI1(2,"number"),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(e.i5U(2,1,ht.value,ht.digitsInfo?ht.digitsInfo:"1.0-3"))}}function dt(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(ht.value?"True":"False")}}function Yt(ye,rt){1&ye&&(e.j41(0,"mat-icon",55),e.EFF(1,"info"),e.k0s())}function ve(ye,rt){if(1&ye&&(e.j41(0,"p",53),e.EFF(1),e.DNE(2,Yt,2,0,"mat-icon",54),e.k0s()),2&ye){const ht=e.XpG(3).$implicit,ii=e.XpG(4);e.Y8G("ngClass",e.eq3(3,z,ht.value===ii.LoopStateEnum.FAILED)),e.R7$(),e.SpI(" ",ht.value," "),e.R7$(),e.Y8G("ngIf",ht.value===ii.LoopStateEnum.FAILED)}}function _e(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"p",57),e.bIt("click",function(){e.eBV(ht);const di=e.XpG(8);return e.Njj(di.onGoToLink())}),e.EFF(1),e.k0s()}if(2&ye){const ht=e.XpG(4).$implicit,ii=e.XpG(4);e.FS9("matTooltip","Go To "+ii.goToName),e.R7$(),e.SpI(" ",ht.value," ")}}function we(ye,rt){if(1&ye&&e.EFF(0),2&ye){const ht=e.XpG(4).$implicit;e.SpI(" ",ht.value," ")}}function Ue(ye,rt){if(1&ye&&e.DNE(0,_e,2,2,"p",56)(1,we,1,1,"ng-template",null,4,e.C5r),2&ye){const ht=e.sdS(2),ii=e.XpG(3).$implicit,di=e.XpG(4);e.Y8G("ngIf",ii.value===di.goToFieldValue)("ngIfElse",ht)}}function je(ye,rt){if(1&ye&&(e.qex(0),e.DNE(1,ve,3,5,"p",52)(2,Ue,3,2,"ng-template",null,3,e.C5r),e.bVm()),2&ye){const ht=e.sdS(3),ii=e.XpG(2).$implicit,di=e.XpG(4);e.R7$(),e.Y8G("ngIf","SWAP"===di.data.openedBy&&"state"===ii.key)("ngIfElse",ht)}}function vt(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"fa-icon",58),e.bIt("click",function(){e.eBV(ht);const di=e.XpG(2).$implicit,Gi=e.XpG(4);return e.Njj(Gi.onExplorerClicked(di))}),e.k0s()}if(2&ye){const ht=e.XpG(6);e.FS9("matTooltip","Link to "+ht.selNode.settings.blockExplorerUrl),e.Y8G("icon",ht.faUpRightFromSquare)}}function $e(ye,rt){if(1&ye&&(e.j41(0,"span")(1,"span",46),e.DNE(2,Be,3,1,"ng-container",47)(3,Ct,3,4,"ng-container",47)(4,ct,3,4,"ng-container",47)(5,dt,2,1,"ng-container",47)(6,je,4,2,"ng-container",48),e.j41(7,"span"),e.DNE(8,vt,1,2,"fa-icon",49),e.k0s()()()),2&ye){const ht=e.XpG().$implicit,ii=e.XpG(4);e.R7$(),e.Y8G("ngSwitch",ht.type),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.ARRAY),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.DATE_TIME),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.NUMBER),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.BOOLEAN),e.R7$(3),e.Y8G("ngIf",ht.explorerLink&&""!==ht.explorerLink)}}function nt(ye,rt){1&ye&&(e.j41(0,"span",59),e.EFF(1,"\xa0"),e.k0s())}function qt(ye,rt){if(1&ye&&(e.j41(0,"div",42)(1,"h4",43),e.EFF(2),e.k0s(),e.DNE(3,$e,9,6,"span",44)(4,nt,2,0,"ng-template",null,2,e.C5r),e.nrm(6,"mat-divider",45),e.k0s()),2&ye){const ht=rt.$implicit,ii=e.sdS(5);e.FS9("fxFlex.gt-md",ht.width),e.R7$(2),e.JRh(ht.title),e.R7$(),e.Y8G("ngIf",ht&&(!!ht.value||0===ht.value))("ngIfElse",ii)}}function Nt(ye,rt){if(1&ye&&(e.j41(0,"div")(1,"div",40),e.DNE(2,qt,7,4,"div",41),e.k0s()()),2&ye){const ht=rt.$implicit;e.R7$(2),e.Y8G("ngForOf",ht)}}function yt(ye,rt){if(1&ye&&(e.j41(0,"div",38),e.DNE(1,Nt,3,1,"div",39),e.k0s()),2&ye){const ht=e.XpG(2);e.R7$(),e.Y8G("ngForOf",ht.messageObjs)}}function jt(ye,rt){if(1&ye&&(e.j41(0,"div",32)(1,"div",33),e.DNE(2,me,1,3,"qr-code",7),e.k0s(),e.j41(3,"div",34),e.DNE(4,Ee,2,1,"p",35)(5,yt,2,1,"div",36),e.k0s()()),2&ye){const ht=e.XpG();e.R7$(),e.Y8G("ngClass",e.eq3(4,a,""===ht.showQRField||ht.screenSize!==ht.screenSizeEnum.XS&&ht.screenSize!==ht.screenSizeEnum.SM)),e.R7$(),e.Y8G("ngIf",""!==ht.showQRField),e.R7$(2),e.Y8G("ngIf",ht.data.titleMessage),e.R7$(),e.Y8G("ngIf",(null==ht.messageObjs?null:ht.messageObjs.length)>0)}}let Je=(()=>{class ye{set container(ht){ht&&(this.scrollContainer=ht,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",ii=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",ii=>{this.scrollDirection="DOWN"})))}constructor(ht,ii,di,Gi,Cn,Hn,Qn,Jn){this.dialogRef=ht,this.data=ii,this.logger=di,this.snackBar=Gi,this.commonService=Cn,this.renderer=Hn,this.router=Qn,this.store=Jn,this.faUpRightFromSquare=Y.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 x.B,new x.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(W._c).pipe((0,S.Q)(this.unSubs[0])).subscribe(ht=>{this.selNode=ht,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(ht){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+ht)}onClose(){this.dialogRef.close(!1)}onGoToLink(){this.router.navigateByUrl(this.goToLink,{state:{lookupType:"0",lookupValue:this.goToFieldValue}}),this.onClose()}onExplorerClicked(ht){window.open(this.selNode.settings.blockExplorerUrl+"/"+ht.explorerLink+"/"+ht.value,"_blank")}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd(),this.unSubs.forEach(ht=>{ht.next(null),ht.complete()})}static{this.\u0275fac=function(ii){return new(ii||ye)(e.rXU(O.CP),e.rXU(O.Vh),e.rXU(Q.gP),e.rXU(J.UG),e.rXU(ie.h),e.rXU(e.sFG),e.rXU(ee.Ix),e.rXU(fe.il))}}static{this.\u0275cmp=e.VBU({type:ye,selectors:[["rtl-alert-message"]],viewQuery:function(ii,di){if(1&ii&&e.GBs(_,5),2&ii){let Gi;e.mGM(Gi=e.lsd())&&(di.container=Gi.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(ii,di){if(1&ii){const Gi=e.RV6();e.j41(0,"div",5)(1,"div",6),e.DNE(2,N,1,3,"qr-code",7),e.k0s(),e.j41(3,"div",8)(4,"mat-card-header",9)(5,"div",10)(6,"span",11),e.EFF(7),e.k0s()(),e.j41(8,"button",12),e.bIt("click",function(){return e.eBV(Gi),e.Njj(di.onClose())}),e.EFF(9,"X"),e.k0s()(),e.DNE(10,pe,4,4,"ng-container",13)(11,Xe,3,1,"ng-container",13)(12,X,4,2,"div",14),e.j41(13,"div",15),e.DNE(14,se,2,1,"button",16)(15,ae,2,1,"button",17)(16,he,2,2,"button",18)(17,Ie,2,1,"button",17)(18,st,2,2,"button",18),e.k0s()()(),e.DNE(19,jt,6,6,"ng-template",null,0,e.C5r)}2&ii&&(e.R7$(),e.Y8G("ngClass",e.eq3(12,a,""===di.showQRField||di.screenSize===di.screenSizeEnum.XS||di.screenSize===di.screenSizeEnum.SM)),e.R7$(),e.Y8G("ngIf",""!==di.showQRField),e.R7$(),e.Y8G("fxFlex",""===di.showQRField||di.screenSize===di.screenSizeEnum.XS||di.screenSize===di.screenSizeEnum.SM?"100":"70"),e.R7$(4),e.JRh(di.data.alertTitle||di.alertTypeEnum[di.data.type]),e.R7$(3),e.Y8G("ngIf",di.data.scrollable),e.R7$(),e.Y8G("ngIf",!di.data.scrollable),e.R7$(),e.Y8G("ngIf",di.data.scrollable&&di.shouldScroll),e.R7$(2),e.Y8G("ngIf",(!di.showQRField||""===di.showQRField)&&""===di.showCopyName),e.R7$(),e.Y8G("ngIf",""!==di.showCopyName),e.R7$(),e.Y8G("ngIf",""!==di.showCopyName),e.R7$(),e.Y8G("ngIf",""!==di.showQRField),e.R7$(),e.Y8G("ngIf",""!==di.showQRField))},dependencies:[ne.YU,ne.Sq,ne.bT,ne.T3,ne.ux,ne.e1,ne.fG,Me.aY,I.DJ,I.sA,I.UI,Ce.PW,O.tx,le.$z,le.$0,T.m2,T.MM,n.An,c.q,m.oV,d.Um,C.Ld,A.U,k.N,ne.QX,ne.vh],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}}return ye})();var et=g(1771),Ae=g(9417),It=g(9631),Qt=g(6467),Tt=g(6114);function xt(ye,rt){if(1&ye&&(e.j41(0,"div",20),e.nrm(1,"fa-icon",21),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&ye){const ht=e.XpG();e.R7$(),e.Y8G("icon",ht.faExclamationTriangle),e.R7$(2),e.JRh(ht.warningMessage)}}function Se(ye,rt){if(1&ye&&(e.j41(0,"div",22),e.nrm(1,"fa-icon",21),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&ye){const ht=e.XpG();e.R7$(),e.Y8G("icon",ht.faInfoCircle),e.R7$(2),e.JRh(ht.informationMessage)}}function Te(ye,rt){if(1&ye&&(e.j41(0,"p",23),e.EFF(1),e.k0s()),2&ye){const ht=e.XpG();e.R7$(),e.JRh(ht.data.titleMessage)}}function ce(ye,rt){1&ye&&e.nrm(0,"div",37),2&ye&&e.Y8G("innerHTML",rt.$implicit,e.npT)}function Z(ye,rt){if(1&ye&&(e.qex(0,35),e.DNE(1,ce,1,1,"div",36),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngForOf",ht.value)}}function Re(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.nI1(2,"date"),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(e.i5U(2,1,1e3*ht.value,"dd/MMM/y HH:mm"))}}function Pe(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.nI1(2,"number"),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(e.i5U(2,1,ht.value,"1.0-3"))}}function pt(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(!0===ht.value?"True":"False")}}function Ke(ye,rt){if(1&ye&&(e.qex(0),e.EFF(1),e.bVm()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.JRh(ht.value)}}function Fe(ye,rt){if(1&ye&&(e.j41(0,"span")(1,"span",31),e.DNE(2,Z,2,1,"ng-container",32)(3,Re,3,4,"ng-container",33)(4,Pe,3,4,"ng-container",33)(5,pt,2,1,"ng-container",33)(6,Ke,2,1,"ng-container",34),e.k0s()()),2&ye){const ht=e.XpG().$implicit,ii=e.XpG(3);e.R7$(),e.Y8G("ngSwitch",ht.type),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.ARRAY),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.DATE_TIME),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.NUMBER),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.BOOLEAN)}}function Ge(ye,rt){1&ye&&(e.j41(0,"span",38),e.EFF(1,"\xa0"),e.k0s())}function qe(ye,rt){if(1&ye&&(e.j41(0,"div",27)(1,"h4",28),e.EFF(2),e.k0s(),e.DNE(3,Fe,7,5,"span",29)(4,Ge,2,0,"ng-template",null,0,e.C5r),e.nrm(6,"mat-divider",30),e.k0s()),2&ye){const ht=rt.$implicit,ii=e.sdS(5);e.FS9("fxFlex.gt-md",ht.width),e.R7$(2),e.JRh(ht.title),e.R7$(),e.Y8G("ngIf",ht&&(!!ht.value||0===ht.value))("ngIfElse",ii)}}function at(ye,rt){if(1&ye&&(e.j41(0,"div")(1,"div",25),e.DNE(2,qe,7,4,"div",26),e.k0s()()),2&ye){const ht=rt.$implicit;e.R7$(2),e.Y8G("ngForOf",ht)}}function Lt(ye,rt){if(1&ye&&(e.j41(0,"div"),e.DNE(1,at,3,1,"div",24),e.k0s()),2&ye){const ht=e.XpG();e.R7$(),e.Y8G("ngForOf",ht.messageObjs)}}function pi(ye,rt){if(1&ye&&(e.j41(0,"p",23),e.EFF(1),e.k0s()),2&ye){const ht=e.XpG(2);e.R7$(),e.JRh(ht.data.titleMessage)}}function $t(ye,rt){if(1&ye&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&ye){const ht=e.XpG(2).$implicit;e.R7$(),e.SpI("",ht.placeholder," is required.")}}function Kt(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"mat-form-field",42)(1,"mat-label"),e.EFF(2),e.k0s(),e.j41(3,"input",43),e.nI1(4,"lowercase"),e.mxI("ngModelChange",function(di){e.eBV(ht);const Gi=e.XpG().$implicit;return e.DH7(Gi.inputValue,di)||(Gi.inputValue=di),e.Njj(di)}),e.k0s(),e.DNE(5,$t,2,1,"mat-error",13),e.j41(6,"mat-hint"),e.EFF(7),e.k0s()()}if(2&ye){const ht=e.XpG(),ii=ht.$implicit,di=ht.index;e.Y8G("fxFlex",ii.width),e.R7$(2),e.JRh(ii.placeholder),e.R7$(),e.Mz_("name","input",di,""),e.Y8G("autoFocus",0===di)("min",ii.min)("step",ii.step)("type",e.bMT(4,12,ii.inputType))("tabindex",di+1),e.R50("ngModel",ii.inputValue),e.R7$(2),e.Y8G("ngIf",!ii.inputValue),e.R7$(2),e.JRh(ii.hintFunction?ii.hintFunction(ii.inputValue):ii.hintText)}}function Ui(ye,rt){if(1&ye&&(e.qex(0),e.DNE(1,Kt,8,14,"mat-form-field",41),e.bVm()),2&ye){const ht=rt.$implicit,ii=e.XpG(2);e.R7$(),e.Y8G("ngIf",!ht.advancedField||ii.showAdvanced)}}function ti(ye,rt){if(1&ye&&(e.j41(0,"div",39),e.DNE(1,pi,2,1,"p",12),e.j41(2,"div",40),e.DNE(3,Ui,2,1,"ng-container",24),e.k0s()()),2&ye){const ht=e.XpG();e.R7$(),e.Y8G("ngIf",ht.data.titleMessage),e.R7$(2),e.Y8G("ngForOf",ht.getInputs)}}function fi(ye,rt){1&ye&&(e.j41(0,"p"),e.EFF(1,"Show Advanced"),e.k0s())}function xn(ye,rt){1&ye&&(e.j41(0,"p"),e.EFF(1,"Hide Advanced"),e.k0s())}function tn(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"button",44),e.bIt("click",function(){e.eBV(ht);const di=e.XpG();return e.Njj(di.onShowAdvanced())}),e.DNE(1,fi,2,0,"p",29)(2,xn,2,0,"ng-template",null,1,e.C5r),e.k0s()}if(2&ye){const ht=e.sdS(3),ii=e.XpG();e.R7$(),e.Y8G("ngIf",!ii.showAdvanced)("ngIfElse",ht)}}function Vi(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"button",45),e.bIt("click",function(){e.eBV(ht);const di=e.XpG();return e.Njj(di.onClose(di.getInputs))}),e.EFF(1),e.k0s()}if(2&ye){const ht=e.XpG();e.R7$(),e.JRh(ht.yesBtnText)}}function Qi(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"button",46),e.bIt("click",function(){e.eBV(ht);const di=e.XpG();return e.Njj(di.onClose(!0))}),e.EFF(1),e.k0s()}if(2&ye){const ht=e.XpG();e.R7$(),e.JRh(ht.yesBtnText)}}let Xt=(()=>{class ye{constructor(ht,ii,di,Gi){this.dialogRef=ht,this.data=ii,this.logger=di,this.store=Gi,this.faInfoCircle=Y.iW_,this.faExclamationTriangle=Y.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(ht){if(ht&&this.getInputs&&this.getInputs.some(ii=>typeof ii.inputValue>"u"))return!0;!this.showAdvanced&&ht.length&&(ht=ht?.reduce((ii,di)=>(di.advancedField||ii.push(di),ii),[])),this.store.dispatch((0,et.uP)({payload:ht}))}static{this.\u0275fac=function(ii){return new(ii||ye)(e.rXU(O.CP),e.rXU(O.Vh),e.rXU(Q.gP),e.rXU(fe.il))}}static{this.\u0275cmp=e.VBU({type:ye,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(ii,di){1&ii&&(e.j41(0,"div",2)(1,"div",3)(2,"mat-card-header",4)(3,"div",5)(4,"span",6),e.EFF(5),e.k0s()(),e.j41(6,"button",7),e.bIt("click",function(){return di.onClose(!1)}),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",8)(9,"form",9),e.DNE(10,xt,4,2,"div",10)(11,Se,4,2,"div",11)(12,Te,2,1,"p",12)(13,Lt,2,1,"div",13)(14,ti,4,2,"div",14),e.j41(15,"div",15)(16,"button",16),e.bIt("click",function(){return di.onClose(!1)}),e.EFF(17),e.k0s(),e.DNE(18,tn,4,2,"button",17)(19,Vi,2,1,"button",18)(20,Qi,2,1,"button",19),e.k0s()()()()()),2&ii&&(e.R7$(5),e.JRh(di.data.alertTitle||di.alertTypeEnum[di.data.type]),e.R7$(5),e.Y8G("ngIf",di.warningMessage&&""!==di.warningMessage),e.R7$(),e.Y8G("ngIf",di.informationMessage&&""!==di.informationMessage),e.R7$(),e.Y8G("ngIf",di.data.titleMessage&&!di.flgShowInput),e.R7$(),e.Y8G("ngIf",(null==di.messageObjs?null:di.messageObjs.length)>0),e.R7$(),e.Y8G("ngIf",di.flgShowInput),e.R7$(3),e.JRh(di.noBtnText),e.R7$(),e.Y8G("ngIf",di.hasAdvanced),e.R7$(),e.Y8G("ngIf",di.flgShowInput),e.R7$(),e.Y8G("ngIf",!di.flgShowInput))},dependencies:[ne.Sq,ne.bT,ne.ux,ne.e1,ne.fG,Ae.qT,Ae.me,Ae.BC,Ae.cb,Ae.YS,Ae.vS,Ae.cV,Me.aY,I.DJ,I.sA,I.UI,le.$z,T.m2,T.MM,It.fg,Qt.rl,Qt.nJ,Qt.MV,Qt.TL,c.q,k.N,Tt.V,ne.GH,ne.QX,ne.vh]})}}return ye})();var St=g(2462),tt=g(2798),ot=g(6600);const Mt=ye=>({"display-none":ye});function Bt(ye,rt){if(1&ye&&(e.j41(0,"mat-option",23),e.EFF(1),e.k0s()),2&ye){const ht=rt.$implicit;e.Y8G("value",ht),e.R7$(),e.SpI(" ",ht.infoName," ")}}function Ci(ye,rt){if(1&ye){const ht=e.RV6();e.j41(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),e.mxI("valueChange",function(di){e.eBV(ht);const Gi=e.XpG();return e.DH7(Gi.selInfoType,di)||(Gi.selInfoType=di),e.Njj(di)}),e.DNE(3,Bt,2,2,"mat-option",22),e.k0s()()()}if(2&ye){const ht=e.XpG();e.R7$(2),e.R50("value",ht.selInfoType),e.R7$(),e.Y8G("ngForOf",ht.infoTypes)}}let Ti=(()=>{class ye{constructor(ht,ii,di,Gi,Cn){this.dialogRef=ht,this.data=ii,this.logger=di,this.snackBar=Gi,this.commonService=Cn,this.faReceipt=Y.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((ht,ii)=>{this.infoTypes.push({infoID:ii+1,infoKey:"node URI "+(ii+1),infoName:"Node URI "+(ii+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(ht){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+ht)}static{this.\u0275fac=function(ii){return new(ii||ye)(e.rXU(O.CP),e.rXU(O.Vh),e.rXU(Q.gP),e.rXU(J.UG),e.rXU(ie.h))}}static{this.\u0275cmp=e.VBU({type:ye,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(ii,di){1&ii&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"qr-code",2),e.k0s(),e.j41(3,"div",3)(4,"mat-card-header",4)(5,"div",5),e.nrm(6,"fa-icon",6),e.j41(7,"span",7),e.EFF(8),e.k0s()(),e.j41(9,"button",8),e.bIt("click",function(){return di.onClose()}),e.EFF(10,"X"),e.k0s()(),e.j41(11,"mat-card-content",9)(12,"div",10)(13,"div",11),e.nrm(14,"qr-code",2),e.k0s(),e.DNE(15,Ci,4,2,"div",12),e.j41(16,"div",13)(17,"div",14)(18,"h4",15),e.EFF(19),e.k0s(),e.j41(20,"span",16),e.EFF(21),e.k0s()()(),e.nrm(22,"mat-divider",17),e.j41(23,"div",18)(24,"button",19),e.bIt("copied",function(Cn){return di.onCopyPubkey(Cn)}),e.EFF(25),e.k0s()()()()()()),2&ii&&(e.R7$(),e.Y8G("ngClass",e.eq3(15,Mt,di.screenSize===di.screenSizeEnum.XS||di.screenSize===di.screenSizeEnum.SM)),e.R7$(),e.FS9("value",0===di.selInfoType.infoID?di.information.identity_pubkey:di.information.uris[di.selInfoType.infoID-1]),e.Y8G("size",di.qrWidth)("errorCorrectionLevel","L"),e.R7$(4),e.Y8G("icon",di.faReceipt),e.R7$(2),e.JRh(di.selInfoType.infoName),e.R7$(5),e.Y8G("ngClass",e.eq3(17,Mt,di.screenSize!==di.screenSizeEnum.XS&&di.screenSize!==di.screenSizeEnum.SM)),e.R7$(),e.FS9("value",0===di.selInfoType.infoID?di.information.identity_pubkey:di.information.uris[di.selInfoType.infoID-1]),e.Y8G("size",di.qrWidth)("errorCorrectionLevel","L"),e.R7$(),e.Y8G("ngIf",di.information.uris&&di.information.uris.length>0),e.R7$(4),e.JRh(di.selInfoType.infoName),e.R7$(2),e.JRh(0===di.selInfoType.infoID?di.information.identity_pubkey:di.information.uris[di.selInfoType.infoID-1]),e.R7$(3),e.FS9("payload",0===di.selInfoType.infoID?di.information.identity_pubkey:di.information.uris[di.selInfoType.infoID-1]),e.R7$(),e.SpI("Copy ",di.selInfoType.infoKey,""))},dependencies:[ne.YU,ne.Sq,ne.bT,Me.aY,I.DJ,I.sA,I.UI,Ce.PW,le.$z,T.m2,T.MM,Qt.rl,c.q,tt.VO,ot.wT,d.Um,A.U,k.N]})}}return ye})();var Hi=g(190),Zi=g(8430),ln=g(5428),mn=g(1626),Ut=g(7879),lt=g(3202),re=g(1534);let He=(()=>{class ye{constructor(ht,ii,di,Gi,Cn,Hn,Qn,Jn,nr,dr,wn){this.actions=ht,this.httpClient=ii,this.store=di,this.logger=Gi,this.wsService=Cn,this.sessionService=Hn,this.commonService=Qn,this.dataService=Jn,this.dialog=nr,this.snackBar=dr,this.router=wn,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new x.B,new x.B],this.closeAllDialogs=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.CLOSE_ALL_DIALOGS),(0,l.T)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.OPEN_SNACK_BAR),(0,l.T)(Ai=>{"string"==typeof Ai.payload?this.snackBar.open(Ai.payload):this.snackBar.open(Ai.payload.message,"","ERROR"===Ai.payload.type?{duration:Ai.payload.duration?Ai.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===Ai.payload.type?{duration:Ai.payload.duration?Ai.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:Ai.payload.duration?Ai.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.OPEN_SPINNER),(0,l.T)(Ai=>{Ai.payload!==y.MZ.NO_SPINNER&&(this.dialogRef=this.dialog.open(j,{panelClass:"spinner-dialog-panel",data:{titleMessage:Ai.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.CLOSE_SPINNER),(0,l.T)(Ai=>{if(Ai.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===Ai.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(Yi=>{Yi.componentInstance&&Yi.componentInstance.data&&Yi.componentInstance.data.titleMessage&&Yi.componentInstance.data.titleMessage===Ai.payload&&Yi.close()})}catch(Yi){this.logger.error(Yi)}})),{dispatch:!1}),this.openAlert=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.OPEN_ALERT),(0,l.T)(Ai=>{const Yi=JSON.parse(JSON.stringify(Ai.payload));Yi.width||(Yi.width=this.alertWidth),this.dialogRef=this.dialog.open(Ai.payload.data.component?Ai.payload.data.component:Je,Yi)})),{dispatch:!1}),this.closeAlert=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.CLOSE_ALERT),(0,l.T)(Ai=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Ai.payload),Ai.payload))),{dispatch:!1}),this.openConfirm=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.OPEN_CONFIRMATION),(0,l.T)(Ai=>{const Yi=JSON.parse(JSON.stringify(Ai.payload));Yi.width||(Yi.width=this.confirmWidth),this.dialogRef=this.dialog.open(Xt,Yi)})),{dispatch:!1}),this.closeConfirm=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.CLOSE_CONFIRMATION),(0,w.s)(1),(0,l.T)(Ai=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Ai.payload),Ai.payload))),{dispatch:!1}),this.showNodePubkey=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.SHOW_PUBKEY),(0,f.E)(this.store.select(W.N)),(0,R.Z)(([Ai,Yi])=>(this.sessionService.getItem("token")&&Yi.identity_pubkey?this.store.dispatch((0,et.xO)({payload:{data:{information:Yi,component:Ti}}})):this.snackBar.open("Node Pubkey does not exist."),(0,D.of)({type:y.aU.VOID}))))),this.appConfigFetch=(0,t.EH)(()=>this.actions.pipe((0,t.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,et.mt)({payload:y.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,et.Gd)({payload:{action:"FetchRTLConfig",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.CONF_API))),(0,l.T)(Ai=>{this.logger.info(Ai),this.store.dispatch((0,et.y0)({payload:y.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,et.Gd)({payload:{action:"FetchRTLConfig",status:y.wn.COMPLETED}}));let Yi=null;return Ai.nodes.forEach(Ft=>{Ft.settings.currencyUnits=[...y.A0,Ft.settings?.currencyUnit?Ft.settings?.currencyUnit:""],+(Ft.index||-1)===Ai.selectedNodeIndex&&(Yi=Ft)}),Yi?(this.store.dispatch((0,et.Qi)({payload:{uiMessage:y.MZ.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:Yi,isInitialSetup:!0}})),{type:y.aU.SET_APPLICATION_SETTINGS,payload:Ai}):{type:y.aU.VOID}}),(0,h.W)(Ai=>(this.handleErrorWithAlert("FetchRTLConfig",y.MZ.GET_RTL_CONFIG,"Fetch RTL Config Failed!",y.rl.CONF_API,Ai),(0,D.of)({type:y.aU.VOID}))))),this.updateNodeSettings=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.UPDATE_NODE_SETTINGS),(0,R.Z)(Ai=>(this.store.dispatch((0,et.mt)({payload:y.MZ.UPDATE_NODE_SETTINGS})),this.store.dispatch((0,et.Gd)({payload:{action:"updateNodeSettings",status:y.wn.INITIATED}})),Ai.payload.settings.fiatConversion||delete Ai.payload.settings.currencyUnit,delete Ai.payload.settings.currencyUnits,this.httpClient.post(y.rl.CONF_API+"/node",Ai.payload).pipe((0,l.T)(Yi=>(this.store.dispatch((0,et.Gd)({payload:{action:"updateNodeSettings",status:y.wn.COMPLETED}})),this.store.dispatch((0,et.y0)({payload:y.MZ.UPDATE_NODE_SETTINGS})),Yi.settings.currencyUnits=[...y.A0,Yi.settings?.currencyUnit?Yi.settings?.currencyUnit:""],this.store.dispatch((0,et.Np)({payload:Yi})),{type:y.aU.OPEN_SNACK_BAR,payload:"Node settings updated successfully!"})),(0,h.W)(Yi=>(this.handleErrorWithAlert("updateNodeSettings",y.MZ.UPDATE_NODE_SETTINGS,"Update Node Settings Failed!",y.rl.CONF_API+"/node",Yi),(0,D.of)({type:y.aU.VOID})))))))),this.updateApplicationSettings=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.UPDATE_APPLICATION_SETTINGS),(0,R.Z)(Ai=>(this.store.dispatch((0,et.mt)({payload:y.MZ.UPDATE_APPLICATION_SETTINGS})),this.store.dispatch((0,et.Gd)({payload:{action:"updateApplicationSettings",status:y.wn.INITIATED}})),Ai.payload.config.nodes.forEach(Yi=>{delete Yi.settings.currencyUnits}),this.httpClient.post(y.rl.CONF_API+"/application",Ai.payload.config).pipe((0,l.T)(Yi=>(this.store.dispatch((0,et.Gd)({payload:{action:"updateApplicationSettings",status:y.wn.COMPLETED}})),this.store.dispatch((0,et.y0)({payload:y.MZ.UPDATE_APPLICATION_SETTINGS})),Ai.payload.showSnackBar&&this.store.dispatch((0,et.UI)({payload:Ai.payload.message})),{type:y.aU.SET_APPLICATION_SETTINGS,payload:Yi})),(0,h.W)(Yi=>(this.handleErrorWithAlert("updateApplicationSettings",y.MZ.UPDATE_APPLICATION_SETTINGS,"Update Application Settings Failed!",y.rl.CONF_API+"/application",Yi),(0,D.of)({type:y.aU.VOID})))))))),this.configFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.FETCH_CONFIG),(0,R.Z)(Ai=>(this.store.dispatch((0,et.mt)({payload:y.MZ.OPEN_CONFIG_FILE})),this.store.dispatch((0,et.Gd)({payload:{action:"fetchConfig",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.CONF_API+"/config/"+Ai.payload).pipe((0,l.T)(Yi=>(this.store.dispatch((0,et.Gd)({payload:{action:"fetchConfig",status:y.wn.COMPLETED}})),this.store.dispatch((0,et.y0)({payload:y.MZ.OPEN_CONFIG_FILE})),{type:y.aU.SHOW_CONFIG,payload:Yi})),(0,h.W)(Yi=>(this.handleErrorWithAlert("fetchConfig",y.MZ.OPEN_CONFIG_FILE,"Fetch Config Failed!",y.rl.CONF_API+"/config/"+Ai.payload,Yi),(0,D.of)({type:y.aU.VOID})))))))),this.showLnConfig=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.SHOW_CONFIG),(0,l.T)(Ai=>Ai.payload)),{dispatch:!1}),this.isAuthorized=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.IS_AUTHORIZED),(0,R.Z)(Ai=>(this.store.dispatch((0,et.Gd)({payload:{action:"IsAuthorized",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API,{authenticateWith:Ai.payload&&""!==Ai.payload.trim()?y.U1.PASSWORD:y.U1.JWT,authenticationValue:Ai.payload&&""!==Ai.payload.trim()?Ai.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,l.T)(Yi=>(this.logger.info(Yi),this.store.dispatch((0,et.Gd)({payload:{action:"IsAuthorized",status:y.wn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:y.aU.IS_AUTHORIZED_RES,payload:Yi})),(0,h.W)(Yi=>(this.handleErrorWithAlert("IsAuthorized",y.MZ.NO_SPINNER,"Authorization Failed",y.rl.AUTHENTICATE_API,Yi),(0,D.of)({type:y.aU.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.IS_AUTHORIZED_RES),(0,l.T)(Ai=>Ai.payload)),{dispatch:!1}),this.authLogin=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.LOGIN),(0,f.E)(this.store.select(W.qv)),(0,R.Z)(([Ai,Yi])=>(this.store.dispatch((0,Hi.p1)()),this.store.dispatch((0,Zi.gf)()),this.store.dispatch((0,ln.Hh)()),this.store.dispatch((0,et.Gd)({payload:{action:"Login",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API,{authenticateWith:Ai.payload.password?y.U1.PASSWORD:y.U1.JWT,authenticationValue:Ai.payload.password?Ai.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:Ai.payload.twoFAToken?Ai.payload.twoFAToken:""}).pipe((0,l.T)(Ft=>{this.logger.info(Ft),this.store.dispatch((0,et.Gd)({payload:{action:"Login",status:y.wn.COMPLETED}})),this.setLoggedInDetails(Ai.payload.defaultPassword,Ft)}),(0,h.W)(Ft=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",y.MZ.NO_SPINNER,Ft),+Yi.SSO.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:Ft.error&&Ft.error.error?Ft.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"],{state:{logoutReason:Ft.error&&Ft.error.error?Ft.error.error:"Single Sign On Failed!"}}),(0,D.of)({type:y.aU.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.VERIFY_TWO_FA),(0,R.Z)(Ai=>(this.store.dispatch((0,et.mt)({payload:y.MZ.VERIFY_TOKEN})),this.store.dispatch((0,et.Gd)({payload:{action:"VerifyToken",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API+"/token",{authentication2FA:Ai.payload.token}).pipe((0,l.T)(Yi=>{this.logger.info(Yi),this.store.dispatch((0,et.y0)({payload:y.MZ.VERIFY_TOKEN})),this.store.dispatch((0,et.Gd)({payload:{action:"VerifyToken",status:y.wn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,Ai.payload.authResponse)}),(0,h.W)(Yi=>(this.handleErrorWithAlert("VerifyToken",y.MZ.VERIFY_TOKEN,"Authorization Failed!",y.rl.AUTHENTICATE_API+"/token",Yi),(0,D.of)({type:y.aU.VOID}))))))),{dispatch:!1}),this.logOut=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.LOGOUT),(0,f.E)(this.store.select(W.qv)),(0,R.Z)(([Ai,Yi])=>(this.store.dispatch((0,et.mt)({payload:y.MZ.LOG_OUT})),Yi.SSO&&+Yi.SSO.rtlSSO?window.location.href=Yi.SSO.logoutRedirectLink:this.router.navigate(["./login"],{state:{logoutReason:Ai.payload}}),this.sessionService.clearAll(),this.store.dispatch((0,et.Fl)({payload:{}})),this.store.dispatch((0,et.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)(Ft=>{this.logger.info(Ft),this.store.dispatch((0,et.y0)({payload:y.MZ.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,t.EH)(()=>this.actions.pipe((0,S.Q)(this.unSubs[1]),(0,t.gp)(y.aU.RESET_PASSWORD),(0,R.Z)(Ai=>(this.store.dispatch((0,et.Gd)({payload:{action:"ResetPassword",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API+"/reset",{currPassword:Ai.payload.currPassword,newPassword:Ai.payload.newPassword}).pipe((0,S.Q)(this.unSubs[0]),(0,l.T)(Yi=>(this.logger.info(Yi),this.store.dispatch((0,et.Gd)({payload:{action:"ResetPassword",status:y.wn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,et.UI)({payload:"Password Reset Successful!"})),this.SetToken(Yi.token),{type:y.aU.RESET_PASSWORD_RES,payload:Yi.token})),(0,h.W)(Yi=>(this.handleErrorWithAlert("ResetPassword",y.MZ.NO_SPINNER,"Password Reset Failed!",y.rl.AUTHENTICATE_API+"/reset",Yi),(0,D.of)({type:y.aU.VOID})))))))),this.setSelectedNode=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.SET_SELECTED_NODE),(0,R.Z)(Ai=>(this.store.dispatch((0,et.mt)({payload:Ai.payload.uiMessage})),this.store.dispatch((0,et.Gd)({payload:{action:"UpdateSelNode",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.CONF_API+"/updateSelNode/"+Ai.payload.currentLnNode?.index+"/"+Ai.payload.prevLnNodeIndex).pipe((0,l.T)(Yi=>(this.logger.info(Yi),this.store.dispatch((0,et.Gd)({payload:{action:"UpdateSelNode",status:y.wn.COMPLETED}})),this.store.dispatch((0,et.y0)({payload:Ai.payload.uiMessage})),this.initializeNode(Yi,Ai.payload.isInitialSetup),{type:y.aU.VOID})),(0,h.W)(Yi=>(this.handleErrorWithAlert("UpdateSelNode",Ai.payload.uiMessage,"Update Selected Node Failed!",y.rl.CONF_API+"/updateSelNode",Yi),(0,D.of)({type:y.aU.VOID})))))))),this.fetchFile=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.FETCH_FILE),(0,R.Z)(Ai=>{this.store.dispatch((0,et.mt)({payload:y.MZ.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,et.Gd)({payload:{action:"FetchFile",status:y.wn.INITIATED}}));const Yi="?channel="+Ai.payload.channelPoint+(Ai.payload.path?"&path="+Ai.payload.path:"");return this.httpClient.get(y.rl.CONF_API+"/file"+Yi).pipe((0,l.T)(Ft=>(this.store.dispatch((0,et.Gd)({payload:{action:"FetchFile",status:y.wn.COMPLETED}})),this.store.dispatch((0,et.y0)({payload:y.MZ.DOWNLOAD_BACKUP_FILE})),{type:y.aU.SHOW_FILE,payload:Ft})),(0,h.W)(Ft=>(this.handleErrorWithAlert("fetchFile",y.MZ.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",y.rl.CONF_API+"/file"+Yi,{status:this.commonService.extractErrorNumber(Ft),error:{error:this.commonService.extractErrorCode(Ft)}}),(0,D.of)({type:y.aU.VOID}))))}))),this.showFile=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.SHOW_FILE),(0,l.T)(Ai=>Ai.payload)),{dispatch:!1})}initializeNode(ht,ii){this.logger.info("Initializing node from RTL Effects.");const di=ii?"":"HOME";if(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clnUnlocked"),this.sessionService.removeItem("eclUnlocked"),ht.settings.currencyUnits=[...y.A0,ht.settings?.currencyUnit?ht.settings?.currencyUnit:""],this.store.dispatch((0,et.Tn)({payload:ht})),this.store.dispatch((0,Hi.p1)()),this.store.dispatch((0,Zi.gf)()),this.store.dispatch((0,ln.Hh)()),this.sessionService.getItem("token")){const Gi=ht.lnImplementation?ht.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(Gi);const Cn=!(0,e.naY)()&&window.location.origin?window.location.origin+"/rtl/api":y.H$;switch(this.wsService.connectWebSocket(Cn?.replace(/^http/,"ws")+y.rl.Web_SOCKET_API,ht.index?ht.index.toString():"-1"),Gi){case"CLN":this.store.dispatch((0,Zi.lg)()),this.store.dispatch((0,Zi.Aw)({payload:{loadPage:di}}));break;case"ECL":this.store.dispatch((0,ln.lg)()),this.store.dispatch((0,ln.zR)({payload:{loadPage:di}}));break;default:this.store.dispatch((0,Hi.lg)()),this.store.dispatch((0,Hi.Br)({payload:{loadPage:di}}))}}}SetToken(ht){ht?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",ht)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(ht,ii){this.logger.info("Successfully Authorized!"),this.SetToken(ii.token),this.sessionService.setItem("defaultPassword",ht),ht?(this.store.dispatch((0,et.UI)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,et.NU)())}handleErrorWithoutAlert(ht,ii,di){this.logger.error("ERROR IN: "+ht+"\n"+JSON.stringify(di)),401===di.status&&"Login"!==ht?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,et.Jh)()),this.store.dispatch((0,et.ri)({payload:"Authentication Failed: "+JSON.stringify(di.error)}))):(this.store.dispatch((0,et.y0)({payload:ii})),this.store.dispatch((0,et.Gd)({payload:{action:ht,status:y.wn.ERROR,statusCode:di.status?di.status.toString():"",message:this.commonService.extractErrorMessage(di)}})))}handleErrorWithAlert(ht,ii,di,Gi,Cn){if(this.logger.error(Cn),0===Cn.status&&Cn.statusText&&"Unknown Error"===Cn.statusText&&(Cn={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===Cn.status&&"Login"!==ht)this.logger.info("Redirecting to Login"),this.store.dispatch((0,et.Jh)()),this.store.dispatch((0,et.ri)({payload:"Authentication Failed: "+JSON.stringify(Cn.error)}));else{this.store.dispatch((0,et.y0)({payload:ii}));const Hn=this.commonService.extractErrorMessage(Cn);this.store.dispatch((0,et.xO)({payload:{data:{type:"ERROR",alertTitle:di,message:{code:Cn.status?Cn.status:"Unknown Error",message:Hn,URL:Gi},component:St.f}}})),this.store.dispatch((0,et.Gd)({payload:{action:ht,status:y.wn.ERROR,statusCode:Cn.status?Cn.status.toString():"",message:Hn,URL:Gi}}))}}ngOnDestroy(){this.unSubs.forEach(ht=>{ht.next(null),ht.complete()})}static{this.\u0275fac=function(ii){return new(ii||ye)(e.KVO(t.En),e.KVO(mn.Qq),e.KVO(fe.il),e.KVO(Q.gP),e.KVO(Ut.I),e.KVO(lt.Q),e.KVO(ie.h),e.KVO(re.u),e.KVO(O.bZ),e.KVO(J.UG),e.KVO(ee.Ix))}}static{this.\u0275prov=e.jDH({token:ye,factory:ye.\u0275fac})}}return ye})()},9647:(Qe,te,g)=>{"use strict";g.d(te,{Az:()=>h,E2:()=>R,Kq:()=>f,N:()=>w,_c:()=>D,qv:()=>l});var e=g(9640);const t=(0,e.UX)("root"),D=((0,e.Mz)(t,S=>S.apiURL),(0,e.Mz)(t,S=>S.selNode)),l=(0,e.Mz)(t,S=>S.appConfig),w=(0,e.Mz)(t,S=>S.nodeData),f=(0,e.Mz)(t,S=>S.apisCallStatus.Login),R=(0,e.Mz)(t,S=>S.apisCallStatus.IsAuthorized),h=(0,e.Mz)(t,S=>({nodeDate:S.nodeData,selNode:S.selNode}))},3471:(Qe,te,g)=>{"use strict";var e=g(345),t=g(4438),x=g(9969);function l(F){return new t.wOt(3e3,!1)}function ze(F){switch(F.length){case 0:return new x.sf;case 1:return F[0];default:return new x.ui(F)}}function Xe(F,B,v=new Map,H=new Map){const G=[],Oe=[];let kt=-1,At=null;if(B.forEach(oi=>{const ui=oi.get("offset"),Wi=ui==kt,Li=Wi&&At||new Map;oi.forEach((fn,Mn)=>{let Ki=Mn,an=fn;if("offset"!==Mn)switch(Ki=F.normalizePropertyName(Ki,G),an){case x.FX:an=v.get(Mn);break;case x.kp:an=H.get(Mn);break;default:an=F.normalizeStyleValue(Mn,Ki,an,G)}Li.set(Ki,an)}),Wi||Oe.push(Li),At=Li,kt=ui}),G.length)throw function c(){return new t.wOt(3502,!1)}();return Oe}function We(F,B,v,H){switch(B){case"start":F.onStart(()=>H(v&&oe(v,"start",F)));break;case"done":F.onDone(()=>H(v&&oe(v,"done",F)));break;case"destroy":F.onDestroy(()=>H(v&&oe(v,"destroy",F)))}}function oe(F,B,v){const Oe=X(F.element,F.triggerName,F.fromState,F.toState,B||F.phaseName,v.totalTime??F.totalTime,!!v.disabled),kt=F._data;return null!=kt&&(Oe._data=kt),Oe}function X(F,B,v,H,G="",Oe=0,kt){return{element:F,triggerName:B,fromState:v,toState:H,phaseName:G,totalTime:Oe,disabled:!!kt}}function se(F,B,v){let H=F.get(B);return H||F.set(B,H=v),H}function ae(F){const B=F.indexOf(":");return[F.substring(1,B),F.slice(B+1)]}const he=typeof document>"u"?null:document.documentElement;function Ie(F){const B=F.parentNode||F.host||null;return B===he?null:B}let me=null,Ee=!1;function ct(F,B){for(;B;){if(B===F)return!0;B=Ie(B)}return!1}function dt(F,B,v){if(v)return Array.from(F.querySelectorAll(B));const H=F.querySelector(B);return H?[H]:[]}let ve=(()=>{class F{validateStyleProperty(v){return function ue(F){me||(me=function Ct(){return typeof document<"u"?document.body:null}()||{},Ee=!!me.style&&"WebkitAppearance"in me.style);let B=!0;return me.style&&!function st(F){return"ebkit"==F.substring(1,6)}(F)&&(B=F in me.style,!B&&Ee&&(B="Webkit"+F.charAt(0).toUpperCase()+F.slice(1)in me.style)),B}(v)}containsElement(v,H){return ct(v,H)}getParentElement(v){return Ie(v)}query(v,H,G){return dt(v,H,G)}computeStyle(v,H,G){return G||""}animate(v,H,G,Oe,kt,At=[],oi){return new x.sf(G,Oe)}static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})();class _e{static{this.NOOP=new ve}}class we{}const je=1e3,nt="ng-enter",qt="ng-leave",Nt="ng-trigger",yt=".ng-trigger",jt="ng-animating",Je=".ng-animating";function et(F){if("number"==typeof F)return F;const B=F.match(/^(-?[\.\d]+)(m?s)/);return!B||B.length<2?0:Ae(parseFloat(B[1]),B[2])}function Ae(F,B){return"s"===B?F*je:F}function It(F,B,v){return F.hasOwnProperty("duration")?F:function Qt(F,B,v){let G,Oe=0,kt="";if("string"==typeof F){const At=F.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===At)return B.push(l()),{duration:0,delay:0,easing:""};G=Ae(parseFloat(At[1]),At[2]);const oi=At[3];null!=oi&&(Oe=Ae(parseFloat(oi),At[4]));const ui=At[5];ui&&(kt=ui)}else G=F;if(!v){let At=!1,oi=B.length;G<0&&(B.push(function w(){return new t.wOt(3100,!1)}()),At=!0),Oe<0&&(B.push(function f(){return new t.wOt(3101,!1)}()),At=!0),At&&B.splice(oi,0,l())}return{duration:G,delay:Oe,easing:kt}}(F,B,v)}function Se(F,B,v){B.forEach((H,G)=>{const Oe=Fe(G);v&&!v.has(G)&&v.set(G,F.style[Oe]),F.style[Oe]=H})}function Te(F,B){B.forEach((v,H)=>{const G=Fe(H);F.style[G]=""})}function ce(F){return Array.isArray(F)?1==F.length?F[0]:(0,x.K2)(F):F}const Re=new RegExp("{{\\s*(.+?)\\s*}}","g");function Pe(F){let B=[];if("string"==typeof F){let v;for(;v=Re.exec(F);)B.push(v[1]);Re.lastIndex=0}return B}function pt(F,B,v){const H=`${F}`,G=H.replace(Re,(Oe,kt)=>{let At=B[kt];return null==At&&(v.push(function h(){return new t.wOt(3003,!1)}()),At=""),At.toString()});return G==H?F:G}const Ke=/-+([a-z0-9])/g;function Fe(F){return F.replace(Ke,(...B)=>B[1].toUpperCase())}function Lt(F,B,v){switch(B.type){case x.If.Trigger:return F.visitTrigger(B,v);case x.If.State:return F.visitState(B,v);case x.If.Transition:return F.visitTransition(B,v);case x.If.Sequence:return F.visitSequence(B,v);case x.If.Group:return F.visitGroup(B,v);case x.If.Animate:return F.visitAnimate(B,v);case x.If.Keyframes:return F.visitKeyframes(B,v);case x.If.Style:return F.visitStyle(B,v);case x.If.Reference:return F.visitReference(B,v);case x.If.AnimateChild:return F.visitAnimateChild(B,v);case x.If.AnimateRef:return F.visitAnimateRef(B,v);case x.If.Query:return F.visitQuery(B,v);case x.If.Stagger:return F.visitStagger(B,v);default:throw function S(){return new t.wOt(3004,!1)}()}}function pi(F,B){return window.getComputedStyle(F)[B]}const $t=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 Kt extends we{normalizePropertyName(B,v){return Fe(B)}normalizeStyleValue(B,v,H,G){let Oe="";const kt=H.toString().trim();if($t.has(v)&&0!==H&&"0"!==H)if("number"==typeof H)Oe="px";else{const At=H.match(/^[+-]?[\d\.]+([a-z]*)$/);At&&0==At[1].length&&G.push(function y(){return new t.wOt(3005,!1)}())}return kt+Oe}}const Qi="*";const ot=new Set(["true","1"]),Mt=new Set(["false","0"]);function Bt(F,B){const v=ot.has(F)||Mt.has(F),H=ot.has(B)||Mt.has(B);return(G,Oe)=>{let kt=F==Qi||F==G,At=B==Qi||B==Oe;return!kt&&v&&"boolean"==typeof G&&(kt=G?ot.has(F):Mt.has(F)),!At&&H&&"boolean"==typeof Oe&&(At=Oe?ot.has(B):Mt.has(B)),kt&&At}}const Ti=new RegExp("s*:selfs*,?","g");function Hi(F,B,v,H){return new ln(F).build(B,v,H)}class ln{constructor(B){this._driver=B}build(B,v,H){const G=new lt(v);return this._resetContextStyleTimingState(G),Lt(this,ce(B),G)}_resetContextStyleTimingState(B){B.currentQuerySelector="",B.collectedStyles=new Map,B.collectedStyles.set("",new Map),B.currentTime=0}visitTrigger(B,v){let H=v.queryCount=0,G=v.depCount=0;const Oe=[],kt=[];return"@"==B.name.charAt(0)&&v.errors.push(function O(){return new t.wOt(3006,!1)}()),B.definitions.forEach(At=>{if(this._resetContextStyleTimingState(v),At.type==x.If.State){const oi=At,ui=oi.name;ui.toString().split(/\s*,\s*/).forEach(Wi=>{oi.name=Wi,Oe.push(this.visitState(oi,v))}),oi.name=ui}else if(At.type==x.If.Transition){const oi=this.visitTransition(At,v);H+=oi.queryCount,G+=oi.depCount,kt.push(oi)}else v.errors.push(function I(){return new t.wOt(3007,!1)}())}),{type:x.If.Trigger,name:B.name,states:Oe,transitions:kt,queryCount:H,depCount:G,options:null}}visitState(B,v){const H=this.visitStyle(B.styles,v),G=B.options&&B.options.params||null;if(H.containsDynamicStyles){const Oe=new Set,kt=G||{};H.styles.forEach(At=>{At instanceof Map&&At.forEach(oi=>{Pe(oi).forEach(ui=>{kt.hasOwnProperty(ui)||Oe.add(ui)})})}),Oe.size&&v.errors.push(function V(){return new t.wOt(3008,!1)}(0,Oe.values()))}return{type:x.If.State,name:B.name,style:H,options:G?{params:G}:null}}visitTransition(B,v){v.queryCount=0,v.depCount=0;const H=Lt(this,ce(B.animation),v),G=function Xt(F,B){const v=[];return"string"==typeof F?F.split(/\s*,\s*/).forEach(H=>function St(F,B,v){if(":"==F[0]){const oi=function tt(F,B){switch(F){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(v,H)=>parseFloat(H)>parseFloat(v);case":decrement":return(v,H)=>parseFloat(H) *"}}(F,v);if("function"==typeof oi)return void B.push(oi);F=oi}const H=F.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==H||H.length<4)return v.push(function Me(){return new t.wOt(3015,!1)}()),B;const G=H[1],Oe=H[2],kt=H[3];B.push(Bt(G,kt)),"<"==Oe[0]&&(G!=Qi||kt!=Qi)&&B.push(Bt(kt,G))}(H,v,B)):v.push(F),v}(B.expr,v.errors);return{type:x.If.Transition,matchers:G,animation:H,queryCount:v.queryCount,depCount:v.depCount,options:ye(B.options)}}visitSequence(B,v){return{type:x.If.Sequence,steps:B.steps.map(H=>Lt(this,H,v)),options:ye(B.options)}}visitGroup(B,v){const H=v.currentTime;let G=0;const Oe=B.steps.map(kt=>{v.currentTime=H;const At=Lt(this,kt,v);return G=Math.max(G,v.currentTime),At});return v.currentTime=G,{type:x.If.Group,steps:Oe,options:ye(B.options)}}visitAnimate(B,v){const H=function He(F,B){if(F.hasOwnProperty("duration"))return F;if("number"==typeof F)return rt(It(F,B).duration,0,"");const v=F;if(v.split(/\s+/).some(Oe=>"{"==Oe.charAt(0)&&"{"==Oe.charAt(1))){const Oe=rt(0,0,"");return Oe.dynamic=!0,Oe.strValue=v,Oe}const G=It(v,B);return rt(G.duration,G.delay,G.easing)}(B.timings,v.errors);v.currentAnimateTimings=H;let G,Oe=B.styles?B.styles:(0,x.iF)({});if(Oe.type==x.If.Keyframes)G=this.visitKeyframes(Oe,v);else{let kt=B.styles,At=!1;if(!kt){At=!0;const ui={};H.easing&&(ui.easing=H.easing),kt=(0,x.iF)(ui)}v.currentTime+=H.duration+H.delay;const oi=this.visitStyle(kt,v);oi.isEmptyStep=At,G=oi}return v.currentAnimateTimings=null,{type:x.If.Animate,timings:H,style:G,options:null}}visitStyle(B,v){const H=this._makeStyleAst(B,v);return this._validateStyleAst(H,v),H}_makeStyleAst(B,v){const H=[],G=Array.isArray(B.styles)?B.styles:[B.styles];for(let At of G)"string"==typeof At?At===x.kp?H.push(At):v.errors.push(new t.wOt(3002,!1)):H.push(new Map(Object.entries(At)));let Oe=!1,kt=null;return H.forEach(At=>{if(At instanceof Map&&(At.has("easing")&&(kt=At.get("easing"),At.delete("easing")),!Oe))for(let oi of At.values())if(oi.toString().indexOf("{{")>=0){Oe=!0;break}}),{type:x.If.Style,styles:H,easing:kt,offset:B.offset,containsDynamicStyles:Oe,options:null}}_validateStyleAst(B,v){const H=v.currentAnimateTimings;let G=v.currentTime,Oe=v.currentTime;H&&Oe>0&&(Oe-=H.duration+H.delay),B.styles.forEach(kt=>{"string"!=typeof kt&&kt.forEach((At,oi)=>{const ui=v.collectedStyles.get(v.currentQuerySelector),Wi=ui.get(oi);let Li=!0;Wi&&(Oe!=G&&Oe>=Wi.startTime&&G<=Wi.endTime&&(v.errors.push(function W(){return new t.wOt(3010,!1)}()),Li=!1),Oe=Wi.startTime),Li&&ui.set(oi,{startTime:Oe,endTime:G}),v.options&&function Z(F,B,v){const H=B.params||{},G=Pe(F);G.length&&G.forEach(Oe=>{H.hasOwnProperty(Oe)||v.push(function R(){return new t.wOt(3001,!1)}())})}(At,v.options,v.errors)})})}visitKeyframes(B,v){const H={type:x.If.Keyframes,styles:[],options:null};if(!v.currentAnimateTimings)return v.errors.push(function Q(){return new t.wOt(3011,!1)}()),H;let Oe=0;const kt=[];let At=!1,oi=!1,ui=0;const Wi=B.steps.map(gr=>{const jr=this._makeStyleAst(gr,v);let da=null!=jr.offset?jr.offset:function re(F){if("string"==typeof F)return null;let B=null;if(Array.isArray(F))F.forEach(v=>{if(v instanceof Map&&v.has("offset")){const H=v;B=parseFloat(H.get("offset")),H.delete("offset")}});else if(F instanceof Map&&F.has("offset")){const v=F;B=parseFloat(v.get("offset")),v.delete("offset")}return B}(jr.styles),rr=0;return null!=da&&(Oe++,rr=jr.offset=da),oi=oi||rr<0||rr>1,At=At||rr0&&Oe{const da=fn>0?jr==Mn?1:fn*jr:kt[jr],rr=da*Xn;v.currentTime=Ki+an.delay+rr,an.duration=rr,this._validateStyleAst(gr,v),gr.offset=da,H.styles.push(gr)}),H}visitReference(B,v){return{type:x.If.Reference,animation:Lt(this,ce(B.animation),v),options:ye(B.options)}}visitAnimateChild(B,v){return v.depCount++,{type:x.If.AnimateChild,options:ye(B.options)}}visitAnimateRef(B,v){return{type:x.If.AnimateRef,animation:this.visitReference(B.animation,v),options:ye(B.options)}}visitQuery(B,v){const H=v.currentQuerySelector,G=B.options||{};v.queryCount++,v.currentQuery=B;const[Oe,kt]=function mn(F){const B=!!F.split(/\s*,\s*/).find(v=>":self"==v);return B&&(F=F.replace(Ti,"")),F=F.replace(/@\*/g,yt).replace(/@\w+/g,v=>yt+"-"+v.slice(1)).replace(/:animating/g,Je),[F,B]}(B.selector);v.currentQuerySelector=H.length?H+" "+Oe:Oe,se(v.collectedStyles,v.currentQuerySelector,new Map);const At=Lt(this,ce(B.animation),v);return v.currentQuery=null,v.currentQuerySelector=H,{type:x.If.Query,selector:Oe,limit:G.limit||0,optional:!!G.optional,includeSelf:kt,animation:At,originalSelector:B.selector,options:ye(B.options)}}visitStagger(B,v){v.currentQuery||v.errors.push(function fe(){return new t.wOt(3013,!1)}());const H="full"===B.timings?{duration:0,delay:0,easing:"full"}:It(B.timings,v.errors,!0);return{type:x.If.Stagger,animation:Lt(this,ce(B.animation),v),timings:H,options:null}}}class lt{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 ye(F){return F?(F={...F}).params&&(F.params=function Ut(F){return F?{...F}:null}(F.params)):F={},F}function rt(F,B,v){return{duration:F,delay:B,easing:v}}function ht(F,B,v,H,G,Oe,kt=null,At=!1){return{type:1,element:F,keyframes:B,preStyleProps:v,postStyleProps:H,duration:G,delay:Oe,totalTime:G+Oe,easing:kt,subTimeline:At}}class ii{constructor(){this._map=new Map}get(B){return this._map.get(B)||[]}append(B,v){let H=this._map.get(B);H||this._map.set(B,H=[]),H.push(...v)}has(B){return this._map.has(B)}clear(){this._map.clear()}}const Cn=new RegExp(":enter","g"),Qn=new RegExp(":leave","g");function Jn(F,B,v,H,G,Oe=new Map,kt=new Map,At,oi,ui=[]){return(new nr).buildKeyframes(F,B,v,H,G,Oe,kt,At,oi,ui)}class nr{buildKeyframes(B,v,H,G,Oe,kt,At,oi,ui,Wi=[]){ui=ui||new ii;const Li=new wn(B,v,ui,G,Oe,Wi,[]);Li.options=oi;const fn=oi.delay?et(oi.delay):0;Li.currentTimeline.delayNextStep(fn),Li.currentTimeline.setStyles([kt],null,Li.errors,oi),Lt(this,H,Li);const Mn=Li.timelines.filter(Ki=>Ki.containsAnimation());if(Mn.length&&At.size){let Ki;for(let an=Mn.length-1;an>=0;an--){const Xn=Mn[an];if(Xn.element===v){Ki=Xn;break}}Ki&&!Ki.allowOnlyTimelineStyles()&&Ki.setStyles([At],null,Li.errors,oi)}return Mn.length?Mn.map(Ki=>Ki.buildKeyframes()):[ht(v,[],[],[],0,fn,"",!1)]}visitTrigger(B,v){}visitState(B,v){}visitTransition(B,v){}visitAnimateChild(B,v){const H=v.subInstructions.get(v.element);if(H){const G=v.createSubContext(B.options),Oe=v.currentTimeline.currentTime,kt=this._visitSubInstructions(H,G,G.options);Oe!=kt&&v.transformIntoNewTimeline(kt)}v.previousNode=B}visitAnimateRef(B,v){const H=v.createSubContext(B.options);H.transformIntoNewTimeline(),this._applyAnimationRefDelays([B.options,B.animation.options],v,H),this.visitReference(B.animation,H),v.transformIntoNewTimeline(H.currentTimeline.currentTime),v.previousNode=B}_applyAnimationRefDelays(B,v,H){for(const G of B){const Oe=G?.delay;if(Oe){const kt="number"==typeof Oe?Oe:et(pt(Oe,G?.params??{},v.errors));H.delayNextStep(kt)}}}_visitSubInstructions(B,v,H){let Oe=v.currentTimeline.currentTime;const kt=null!=H.duration?et(H.duration):null,At=null!=H.delay?et(H.delay):null;return 0!==kt&&B.forEach(oi=>{const ui=v.appendInstructionToTimeline(oi,kt,At);Oe=Math.max(Oe,ui.duration+ui.delay)}),Oe}visitReference(B,v){v.updateOptions(B.options,!0),Lt(this,B.animation,v),v.previousNode=B}visitSequence(B,v){const H=v.subContextCount;let G=v;const Oe=B.options;if(Oe&&(Oe.params||Oe.delay)&&(G=v.createSubContext(Oe),G.transformIntoNewTimeline(),null!=Oe.delay)){G.previousNode.type==x.If.Style&&(G.currentTimeline.snapshotCurrentStyles(),G.previousNode=dr);const kt=et(Oe.delay);G.delayNextStep(kt)}B.steps.length&&(B.steps.forEach(kt=>Lt(this,kt,G)),G.currentTimeline.applyStylesToKeyframe(),G.subContextCount>H&&G.transformIntoNewTimeline()),v.previousNode=B}visitGroup(B,v){const H=[];let G=v.currentTimeline.currentTime;const Oe=B.options&&B.options.delay?et(B.options.delay):0;B.steps.forEach(kt=>{const At=v.createSubContext(B.options);Oe&&At.delayNextStep(Oe),Lt(this,kt,At),G=Math.max(G,At.currentTimeline.currentTime),H.push(At.currentTimeline)}),H.forEach(kt=>v.currentTimeline.mergeTimelineCollectedStyles(kt)),v.transformIntoNewTimeline(G),v.previousNode=B}_visitTiming(B,v){if(B.dynamic){const H=B.strValue;return It(v.params?pt(H,v.params,v.errors):H,v.errors)}return{duration:B.duration,delay:B.delay,easing:B.easing}}visitAnimate(B,v){const H=v.currentAnimateTimings=this._visitTiming(B.timings,v),G=v.currentTimeline;H.delay&&(v.incrementTime(H.delay),G.snapshotCurrentStyles());const Oe=B.style;Oe.type==x.If.Keyframes?this.visitKeyframes(Oe,v):(v.incrementTime(H.duration),this.visitStyle(Oe,v),G.applyStylesToKeyframe()),v.currentAnimateTimings=null,v.previousNode=B}visitStyle(B,v){const H=v.currentTimeline,G=v.currentAnimateTimings;!G&&H.hasCurrentStyleProperties()&&H.forwardFrame();const Oe=G&&G.easing||B.easing;B.isEmptyStep?H.applyEmptyStep(Oe):H.setStyles(B.styles,Oe,v.errors,v.options),v.previousNode=B}visitKeyframes(B,v){const H=v.currentAnimateTimings,G=v.currentTimeline.duration,Oe=H.duration,At=v.createSubContext().currentTimeline;At.easing=H.easing,B.styles.forEach(oi=>{At.forwardTime((oi.offset||0)*Oe),At.setStyles(oi.styles,oi.easing,v.errors,v.options),At.applyStylesToKeyframe()}),v.currentTimeline.mergeTimelineCollectedStyles(At),v.transformIntoNewTimeline(G+Oe),v.previousNode=B}visitQuery(B,v){const H=v.currentTimeline.currentTime,G=B.options||{},Oe=G.delay?et(G.delay):0;Oe&&(v.previousNode.type===x.If.Style||0==H&&v.currentTimeline.hasCurrentStyleProperties())&&(v.currentTimeline.snapshotCurrentStyles(),v.previousNode=dr);let kt=H;const At=v.invokeQuery(B.selector,B.originalSelector,B.limit,B.includeSelf,!!G.optional,v.errors);v.currentQueryTotal=At.length;let oi=null;At.forEach((ui,Wi)=>{v.currentQueryIndex=Wi;const Li=v.createSubContext(B.options,ui);Oe&&Li.delayNextStep(Oe),ui===v.element&&(oi=Li.currentTimeline),Lt(this,B.animation,Li),Li.currentTimeline.applyStylesToKeyframe(),kt=Math.max(kt,Li.currentTimeline.currentTime)}),v.currentQueryIndex=0,v.currentQueryTotal=0,v.transformIntoNewTimeline(kt),oi&&(v.currentTimeline.mergeTimelineCollectedStyles(oi),v.currentTimeline.snapshotCurrentStyles()),v.previousNode=B}visitStagger(B,v){const H=v.parentContext,G=v.currentTimeline,Oe=B.timings,kt=Math.abs(Oe.duration),At=kt*(v.currentQueryTotal-1);let oi=kt*v.currentQueryIndex;switch(Oe.duration<0?"reverse":Oe.easing){case"reverse":oi=At-oi;break;case"full":oi=H.currentStaggerTime}const Wi=v.currentTimeline;oi&&Wi.delayNextStep(oi);const Li=Wi.currentTime;Lt(this,B.animation,v),v.previousNode=B,H.currentStaggerTime=G.currentTime-Li+(G.startTime-H.currentTimeline.startTime)}}const dr={};class wn{constructor(B,v,H,G,Oe,kt,At,oi){this._driver=B,this.element=v,this.subInstructions=H,this._enterClassName=G,this._leaveClassName=Oe,this.errors=kt,this.timelines=At,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=dr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=oi||new Ai(this._driver,v,0),At.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(B,v){if(!B)return;const H=B;let G=this.options;null!=H.duration&&(G.duration=et(H.duration)),null!=H.delay&&(G.delay=et(H.delay));const Oe=H.params;if(Oe){let kt=G.params;kt||(kt=this.options.params={}),Object.keys(Oe).forEach(At=>{(!v||!kt.hasOwnProperty(At))&&(kt[At]=pt(Oe[At],kt,this.errors))})}}_copyOptions(){const B={};if(this.options){const v=this.options.params;if(v){const H=B.params={};Object.keys(v).forEach(G=>{H[G]=v[G]})}}return B}createSubContext(B=null,v,H){const G=v||this.element,Oe=new wn(this._driver,G,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(G,H||0));return Oe.previousNode=this.previousNode,Oe.currentAnimateTimings=this.currentAnimateTimings,Oe.options=this._copyOptions(),Oe.updateOptions(B),Oe.currentQueryIndex=this.currentQueryIndex,Oe.currentQueryTotal=this.currentQueryTotal,Oe.parentContext=this,this.subContextCount++,Oe}transformIntoNewTimeline(B){return this.previousNode=dr,this.currentTimeline=this.currentTimeline.fork(this.element,B),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(B,v,H){const G={duration:v??B.duration,delay:this.currentTimeline.currentTime+(H??0)+B.delay,easing:""},Oe=new Yi(this._driver,B.element,B.keyframes,B.preStyleProps,B.postStyleProps,G,B.stretchStartingKeyframe);return this.timelines.push(Oe),G}incrementTime(B){this.currentTimeline.forwardTime(this.currentTimeline.duration+B)}delayNextStep(B){B>0&&this.currentTimeline.delayNextStep(B)}invokeQuery(B,v,H,G,Oe,kt){let At=[];if(G&&At.push(this.element),B.length>0){B=(B=B.replace(Cn,"."+this._enterClassName)).replace(Qn,"."+this._leaveClassName);let ui=this._driver.query(this.element,B,1!=H);0!==H&&(ui=H<0?ui.slice(ui.length+H,ui.length):ui.slice(0,H)),At.push(...ui)}return!Oe&&0==At.length&&kt.push(function ne(){return new t.wOt(3014,!1)}()),At}}class Ai{constructor(B,v,H,G){this._driver=B,this.element=v,this.startTime=H,this._elementTimelineStylesLookup=G,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(v),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(v,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 v=1===this._keyframes.size&&this._pendingStyles.size;this.duration||v?(this.forwardTime(this.currentTime+B),v&&this.snapshotCurrentStyles()):this.startTime+=B}fork(B,v){return this.applyStylesToKeyframe(),new Ai(this._driver,B,v||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,v){this._localTimelineStyles.set(B,v),this._globalTimelineStyles.set(B,v),this._styleSummary.set(B,{time:this.currentTime,value:v})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(B){B&&this._previousKeyframe.set("easing",B);for(let[v,H]of this._globalTimelineStyles)this._backFill.set(v,H||x.kp),this._currentKeyframe.set(v,x.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(B,v,H,G){v&&this._previousKeyframe.set("easing",v);const Oe=G&&G.params||{},kt=function mi(F,B){const v=new Map;let H;return F.forEach(G=>{if("*"===G){H??=B.keys();for(let Oe of H)v.set(Oe,x.kp)}else for(let[Oe,kt]of G)v.set(Oe,kt)}),v}(B,this._globalTimelineStyles);for(let[At,oi]of kt){const ui=pt(oi,Oe,H);this._pendingStyles.set(At,ui),this._localTimelineStyles.has(At)||this._backFill.set(At,this._globalTimelineStyles.get(At)??x.kp),this._updateStyle(At,ui)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((B,v)=>{this._currentKeyframe.set(v,B)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((B,v)=>{this._currentKeyframe.has(v)||this._currentKeyframe.set(v,B)}))}snapshotCurrentStyles(){for(let[B,v]of this._localTimelineStyles)this._pendingStyles.set(B,v),this._updateStyle(B,v)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const B=[];for(let v in this._currentKeyframe)B.push(v);return B}mergeTimelineCollectedStyles(B){B._styleSummary.forEach((v,H)=>{const G=this._styleSummary.get(H);(!G||v.time>G.time)&&this._updateStyle(H,v.value)})}buildKeyframes(){this.applyStylesToKeyframe();const B=new Set,v=new Set,H=1===this._keyframes.size&&0===this.duration;let G=[];this._keyframes.forEach((At,oi)=>{const ui=new Map([...this._backFill,...At]);ui.forEach((Wi,Li)=>{Wi===x.FX?B.add(Li):Wi===x.kp&&v.add(Li)}),H||ui.set("offset",oi/this.duration),G.push(ui)});const Oe=[...B.values()],kt=[...v.values()];if(H){const At=G[0],oi=new Map(At);At.set("offset",0),oi.set("offset",1),G=[At,oi]}return ht(this.element,G,Oe,kt,this.duration,this.startTime,this.easing,!1)}}class Yi extends Ai{constructor(B,v,H,G,Oe,kt,At=!1){super(B,v,kt.delay),this.keyframes=H,this.preStyleProps=G,this.postStyleProps=Oe,this._stretchStartingKeyframe=At,this.timings={duration:kt.duration,delay:kt.delay,easing:kt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let B=this.keyframes,{delay:v,duration:H,easing:G}=this.timings;if(this._stretchStartingKeyframe&&v){const Oe=[],kt=H+v,At=v/kt,oi=new Map(B[0]);oi.set("offset",0),Oe.push(oi);const ui=new Map(B[0]);ui.set("offset",Ft(At)),Oe.push(ui);const Wi=B.length-1;for(let Li=1;Li<=Wi;Li++){let fn=new Map(B[Li]);const Mn=fn.get("offset");fn.set("offset",Ft((v+Mn*H)/kt)),Oe.push(fn)}H=kt,v=0,G="",B=Oe}return ht(this.element,B,this.preStyleProps,this.postStyleProps,H,v,G,!0)}}function Ft(F,B=3){const v=Math.pow(10,B-1);return Math.round(F*v)/v}function gi(F,B,v,H,G,Oe,kt,At,oi,ui,Wi,Li,fn){return{type:0,element:F,triggerName:B,isRemovalTransition:G,fromState:v,fromStyles:Oe,toState:H,toStyles:kt,timelines:At,queriedElements:oi,preStyleProps:ui,postStyleProps:Wi,totalTime:Li,errors:fn}}const xi={};class Ni{constructor(B,v,H){this._triggerName=B,this.ast=v,this._stateStyles=H}match(B,v,H,G){return function On(F,B,v,H,G){return F.some(Oe=>Oe(B,v,H,G))}(this.ast.matchers,B,v,H,G)}buildStyles(B,v,H){let G=this._stateStyles.get("*");return void 0!==B&&(G=this._stateStyles.get(B?.toString())||G),G?G.buildStyles(v,H):new Map}build(B,v,H,G,Oe,kt,At,oi,ui,Wi){const Li=[],fn=this.ast.options&&this.ast.options.params||xi,Ki=this.buildStyles(H,At&&At.params||xi,Li),an=oi&&oi.params||xi,Xn=this.buildStyles(G,an,Li),gr=new Set,jr=new Map,da=new Map,rr="void"===G,Kr={params:ir(an,fn),delay:this.ast.options?.delay},kr=Wi?[]:Jn(B,v,this.ast.animation,Oe,kt,Ki,Xn,Kr,ui,Li);let Aa=0;return kr.forEach(ha=>{Aa=Math.max(ha.duration+ha.delay,Aa)}),Li.length?gi(v,this._triggerName,H,G,rr,Ki,Xn,[],[],jr,da,Aa,Li):(kr.forEach(ha=>{const Zs=ha.element,rd=se(jr,Zs,new Set);ha.preStyleProps.forEach(Ud=>rd.add(Ud));const G1=se(da,Zs,new Set);ha.postStyleProps.forEach(Ud=>G1.add(Ud)),Zs!==v&&gr.add(Zs)}),gi(v,this._triggerName,H,G,rr,Ki,Xn,kr,[...gr.values()],jr,da,Aa))}}function ir(F,B){const v={...B};return Object.entries(F).forEach(([H,G])=>{null!=G&&(v[H]=G)}),v}class gn{constructor(B,v,H){this.styles=B,this.defaultParams=v,this.normalizer=H}buildStyles(B,v){const H=new Map,G=ir(B,this.defaultParams);return this.styles.styles.forEach(Oe=>{"string"!=typeof Oe&&Oe.forEach((kt,At)=>{kt&&(kt=pt(kt,G,v));const oi=this.normalizer.normalizePropertyName(At,v);kt=this.normalizer.normalizeStyleValue(At,oi,kt,v),H.set(At,kt)})}),H}}class fr{constructor(B,v,H){this.name=B,this.ast=v,this._normalizer=H,this.transitionFactories=[],this.states=new Map,v.states.forEach(G=>{this.states.set(G.name,new gn(G.style,G.options&&G.options.params||{},H))}),wa(this.states,"true","1"),wa(this.states,"false","0"),v.transitions.forEach(G=>{this.transitionFactories.push(new Ni(B,G,this.states))}),this.fallbackTransition=function mr(F,B){return new Ni(F,{type:x.If.Transition,animation:{type:x.If.Sequence,steps:[],options:null},matchers:[(kt,At)=>!0],options:null,queryCount:0,depCount:0},B)}(B,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(B,v,H,G){return this.transitionFactories.find(kt=>kt.match(B,v,H,G))||null}matchStyles(B,v,H){return this.fallbackTransition.buildStyles(B,v,H)}}function wa(F,B,v){F.has(B)?F.has(v)||F.set(v,F.get(B)):F.has(v)&&F.set(B,F.get(v))}const Xa=new ii;class ds{constructor(B,v,H){this.bodyNode=B,this._driver=v,this._normalizer=H,this._animations=new Map,this._playersById=new Map,this.players=[]}register(B,v){const H=[],Oe=Hi(this._driver,v,H,[]);if(H.length)throw function m(){return new t.wOt(3503,!1)}();this._animations.set(B,Oe)}_buildPlayer(B,v,H){const G=B.element,Oe=Xe(this._normalizer,B.keyframes,v,H);return this._driver.animate(G,Oe,B.duration,B.delay,B.easing,[],!0)}create(B,v,H={}){const G=[],Oe=this._animations.get(B);let kt;const At=new Map;if(Oe?(kt=Jn(this._driver,v,Oe,nt,qt,new Map,new Map,H,Xa,G),kt.forEach(Wi=>{const Li=se(At,Wi.element,new Map);Wi.postStyleProps.forEach(fn=>Li.set(fn,null))})):(G.push(function d(){return new t.wOt(3300,!1)}()),kt=[]),G.length)throw function C(){return new t.wOt(3504,!1)}();At.forEach((Wi,Li)=>{Wi.forEach((fn,Mn)=>{Wi.set(Mn,this._driver.computeStyle(Li,Mn,x.kp))})});const ui=ze(kt.map(Wi=>{const Li=At.get(Wi.element);return this._buildPlayer(Wi,new Map,Li)}));return this._playersById.set(B,ui),ui.onDestroy(()=>this.destroy(B)),this.players.push(ui),ui}destroy(B){const v=this._getPlayer(B);v.destroy(),this._playersById.delete(B);const H=this.players.indexOf(v);H>=0&&this.players.splice(H,1)}_getPlayer(B){const v=this._playersById.get(B);if(!v)throw function A(){return new t.wOt(3301,!1)}();return v}listen(B,v,H,G){const Oe=X(v,"","","");return We(this._getPlayer(B),H,Oe,G),()=>{}}command(B,v,H,G){if("register"==H)return void this.register(B,G[0]);if("create"==H)return void this.create(B,v,G[0]||{});const Oe=this._getPlayer(B);switch(H){case"play":Oe.play();break;case"pause":Oe.pause();break;case"reset":Oe.reset();break;case"restart":Oe.restart();break;case"finish":Oe.finish();break;case"init":Oe.init();break;case"setPosition":Oe.setPosition(parseFloat(G[0]));break;case"destroy":this.destroy(B)}}}const qr="ng-animate-queued",Ma="ng-animate-disabled",za=[],Fr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ur={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},yr="__ng_removed";class Ya{get params(){return this.options.params}constructor(B,v=""){this.namespaceId=v;const H=B&&B.hasOwnProperty("value");if(this.value=function ea(F){return F??null}(H?B.value:B),H){const{value:Oe,...kt}=B;this.options=kt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(B){const v=B.params;if(v){const H=this.options.params;Object.keys(v).forEach(G=>{null==H[G]&&(H[G]=v[G])})}}}const xr="void",ua=new Ya(xr);class hn{constructor(B,v,H){this.id=B,this.hostElement=v,this._engine=H,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+B,zr(v,this._hostClassName)}listen(B,v,H,G){if(!this._triggers.has(v))throw function k(){return new t.wOt(3302,!1)}();if(null==H||0==H.length)throw function _(){return new t.wOt(3303,!1)}();if(!function Va(F){return"start"==F||"done"==F}(H))throw function a(){return new t.wOt(3400,!1)}();const Oe=se(this._elementListeners,B,[]),kt={name:v,phase:H,callback:G};Oe.push(kt);const At=se(this._engine.statesByElement,B,new Map);return At.has(v)||(zr(B,Nt),zr(B,Nt+"-"+v),At.set(v,ua)),()=>{this._engine.afterFlush(()=>{const oi=Oe.indexOf(kt);oi>=0&&Oe.splice(oi,1),this._triggers.has(v)||At.delete(v)})}}register(B,v){return!this._triggers.has(B)&&(this._triggers.set(B,v),!0)}_getTrigger(B){const v=this._triggers.get(B);if(!v)throw function b(){return new t.wOt(3401,!1)}();return v}trigger(B,v,H,G=!0){const Oe=this._getTrigger(v),kt=new Ba(this.id,v,B);let At=this._engine.statesByElement.get(B);At||(zr(B,Nt),zr(B,Nt+"-"+v),this._engine.statesByElement.set(B,At=new Map));let oi=At.get(v);const ui=new Ya(H,this.id);if(!(H&&H.hasOwnProperty("value"))&&oi&&ui.absorbOptions(oi.options),At.set(v,ui),oi||(oi=ua),ui.value!==xr&&oi.value===ui.value){if(!function Io(F,B){const v=Object.keys(F),H=Object.keys(B);if(v.length!=H.length)return!1;for(let G=0;G{Te(B,Xn),Se(B,gr)})}return}const fn=se(this._engine.playersByElement,B,[]);fn.forEach(an=>{an.namespaceId==this.id&&an.triggerName==v&&an.queued&&an.destroy()});let Mn=Oe.matchTransition(oi.value,ui.value,B,ui.params),Ki=!1;if(!Mn){if(!G)return;Mn=Oe.fallbackTransition,Ki=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:v,transition:Mn,fromState:oi,toState:ui,player:kt,isFallbackTransition:Ki}),Ki||(zr(B,qr),kt.onStart(()=>{Ea(B,qr)})),kt.onDone(()=>{let an=this.players.indexOf(kt);an>=0&&this.players.splice(an,1);const Xn=this._engine.playersByElement.get(B);if(Xn){let gr=Xn.indexOf(kt);gr>=0&&Xn.splice(gr,1)}}),this.players.push(kt),fn.push(kt),kt}deregister(B){this._triggers.delete(B),this._engine.statesByElement.forEach(v=>v.delete(B)),this._elementListeners.forEach((v,H)=>{this._elementListeners.set(H,v.filter(G=>G.name!=B))})}clearElementCache(B){this._engine.statesByElement.delete(B),this._elementListeners.delete(B);const v=this._engine.playersByElement.get(B);v&&(v.forEach(H=>H.destroy()),this._engine.playersByElement.delete(B))}_signalRemovalForInnerTriggers(B,v){const H=this._engine.driver.query(B,yt,!0);H.forEach(G=>{if(G[yr])return;const Oe=this._engine.fetchNamespacesByElement(G);Oe.size?Oe.forEach(kt=>kt.triggerLeaveAnimation(G,v,!1,!0)):this.clearElementCache(G)}),this._engine.afterFlushAnimationsDone(()=>H.forEach(G=>this.clearElementCache(G)))}triggerLeaveAnimation(B,v,H,G){const Oe=this._engine.statesByElement.get(B),kt=new Map;if(Oe){const At=[];if(Oe.forEach((oi,ui)=>{if(kt.set(ui,oi.value),this._triggers.has(ui)){const Wi=this.trigger(B,ui,xr,G);Wi&&At.push(Wi)}}),At.length)return this._engine.markElementAsRemoved(this.id,B,!0,v,kt),H&&ze(At).onDone(()=>this._engine.processLeaveNode(B)),!0}return!1}prepareLeaveAnimationListeners(B){const v=this._elementListeners.get(B),H=this._engine.statesByElement.get(B);if(v&&H){const G=new Set;v.forEach(Oe=>{const kt=Oe.name;if(G.has(kt))return;G.add(kt);const oi=this._triggers.get(kt).fallbackTransition,ui=H.get(kt)||ua,Wi=new Ya(xr),Li=new Ba(this.id,kt,B);this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:kt,transition:oi,fromState:ui,toState:Wi,player:Li,isFallbackTransition:!0})})}}removeNode(B,v){const H=this._engine;if(B.childElementCount&&this._signalRemovalForInnerTriggers(B,v),this.triggerLeaveAnimation(B,v,!0))return;let G=!1;if(H.totalAnimations){const Oe=H.players.length?H.playersByQueriedElement.get(B):[];if(Oe&&Oe.length)G=!0;else{let kt=B;for(;kt=kt.parentNode;)if(H.statesByElement.get(kt)){G=!0;break}}}if(this.prepareLeaveAnimationListeners(B),G)H.markElementAsRemoved(this.id,B,!1,v);else{const Oe=B[yr];(!Oe||Oe===Fr)&&(H.afterFlush(()=>this.clearElementCache(B)),H.destroyInnerAnimations(B),H._onRemovalComplete(B,v))}}insertNode(B,v){zr(B,this._hostClassName)}drainQueuedTransitions(B){const v=[];return this._queue.forEach(H=>{const G=H.player;if(G.destroyed)return;const Oe=H.element,kt=this._elementListeners.get(Oe);kt&&kt.forEach(At=>{if(At.name==H.triggerName){const oi=X(Oe,H.triggerName,H.fromState.value,H.toState.value);oi._data=B,We(H.player,At.phase,oi,At.callback)}}),G.markedForDestroy?this._engine.afterFlush(()=>{G.destroy()}):v.push(H)}),this._queue=[],v.sort((H,G)=>{const Oe=H.transition.ast.depCount,kt=G.transition.ast.depCount;return 0==Oe||0==kt?Oe-kt:this._engine.driver.containsElement(H.element,G.element)?1:-1})}destroy(B){this.players.forEach(v=>v.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,B)}}class Do{_onRemovalComplete(B,v){this.onRemovalComplete(B,v)}constructor(B,v,H){this.bodyNode=B,this.driver=v,this._normalizer=H,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=(G,Oe)=>{}}get queuedPlayers(){const B=[];return this._namespaceList.forEach(v=>{v.players.forEach(H=>{H.queued&&B.push(H)})}),B}createNamespace(B,v){const H=new hn(B,v,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,v)?this._balanceNamespaceList(H,v):(this.newHostElements.set(v,H),this.collectEnterElement(v)),this._namespaceLookup[B]=H}_balanceNamespaceList(B,v){const H=this._namespaceList,G=this.namespacesByHostElement;if(H.length-1>=0){let kt=!1,At=this.driver.getParentElement(v);for(;At;){const oi=G.get(At);if(oi){const ui=H.indexOf(oi);H.splice(ui+1,0,B),kt=!0;break}At=this.driver.getParentElement(At)}kt||H.unshift(B)}else H.push(B);return G.set(v,B),B}register(B,v){let H=this._namespaceLookup[B];return H||(H=this.createNamespace(B,v)),H}registerTrigger(B,v,H){let G=this._namespaceLookup[B];G&&G.register(v,H)&&this.totalAnimations++}destroy(B,v){B&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const H=this._fetchNamespace(B);this.namespacesByHostElement.delete(H.hostElement);const G=this._namespaceList.indexOf(H);G>=0&&this._namespaceList.splice(G,1),H.destroy(v),delete this._namespaceLookup[B]}))}_fetchNamespace(B){return this._namespaceLookup[B]}fetchNamespacesByElement(B){const v=new Set,H=this.statesByElement.get(B);if(H)for(let G of H.values())if(G.namespaceId){const Oe=this._fetchNamespace(G.namespaceId);Oe&&v.add(Oe)}return v}trigger(B,v,H,G){if(_o(v)){const Oe=this._fetchNamespace(B);if(Oe)return Oe.trigger(v,H,G),!0}return!1}insertNode(B,v,H,G){if(!_o(v))return;const Oe=v[yr];if(Oe&&Oe.setForRemoval){Oe.setForRemoval=!1,Oe.setForMove=!0;const kt=this.collectedLeaveElements.indexOf(v);kt>=0&&this.collectedLeaveElements.splice(kt,1)}if(B){const kt=this._fetchNamespace(B);kt&&kt.insertNode(v,H)}G&&this.collectEnterElement(v)}collectEnterElement(B){this.collectedEnterElements.push(B)}markElementAsDisabled(B,v){v?this.disabledNodes.has(B)||(this.disabledNodes.add(B),zr(B,Ma)):this.disabledNodes.has(B)&&(this.disabledNodes.delete(B),Ea(B,Ma))}removeNode(B,v,H){if(_o(v)){const G=B?this._fetchNamespace(B):null;G?G.removeNode(v,H):this.markElementAsRemoved(B,v,!1,H);const Oe=this.namespacesByHostElement.get(v);Oe&&Oe.id!==B&&Oe.removeNode(v,H)}else this._onRemovalComplete(v,H)}markElementAsRemoved(B,v,H,G,Oe){this.collectedLeaveElements.push(v),v[yr]={namespaceId:B,setForRemoval:G,hasAnimation:H,removedBeforeQueried:!1,previousTriggersValues:Oe}}listen(B,v,H,G,Oe){return _o(v)?this._fetchNamespace(B).listen(v,H,G,Oe):()=>{}}_buildInstruction(B,v,H,G,Oe){return B.transition.build(this.driver,B.element,B.fromState.value,B.toState.value,H,G,B.fromState.options,B.toState.options,v,Oe)}destroyInnerAnimations(B){let v=this.driver.query(B,yt,!0);v.forEach(H=>this.destroyActiveAnimationsForElement(H)),0!=this.playersByQueriedElement.size&&(v=this.driver.query(B,Je,!0),v.forEach(H=>this.finishActiveQueriedAnimationOnElement(H)))}destroyActiveAnimationsForElement(B){const v=this.playersByElement.get(B);v&&v.forEach(H=>{H.queued?H.markedForDestroy=!0:H.destroy()})}finishActiveQueriedAnimationOnElement(B){const v=this.playersByQueriedElement.get(B);v&&v.forEach(H=>H.finish())}whenRenderingDone(){return new Promise(B=>{if(this.players.length)return ze(this.players).onDone(()=>B());B()})}processLeaveNode(B){const v=B[yr];if(v&&v.setForRemoval){if(B[yr]=Fr,v.namespaceId){this.destroyInnerAnimations(B);const H=this._fetchNamespace(v.namespaceId);H&&H.clearElementCache(B)}this._onRemovalComplete(B,v.setForRemoval)}B.classList?.contains(Ma)&&this.markElementAsDisabled(B,!1),this.driver.query(B,".ng-animate-disabled",!0).forEach(H=>{this.markElementAsDisabled(H,!1)})}flush(B=-1){let v=[];if(this.newHostElements.size&&(this.newHostElements.forEach((H,G)=>this._balanceNamespaceList(H,G)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let H=0;HH()),this._flushFns=[],this._whenQuietFns.length){const H=this._whenQuietFns;this._whenQuietFns=[],v.length?ze(v).onDone(()=>{H.forEach(G=>G())}):H.forEach(G=>G())}}reportError(B){throw function z(){return new t.wOt(3402,!1)}()}_flushAnimations(B,v){const H=new ii,G=[],Oe=new Map,kt=[],At=new Map,oi=new Map,ui=new Map,Wi=new Set;this.disabledNodes.forEach(An=>{Wi.add(An);const Gn=this.driver.query(An,".ng-animate-queued",!0);for(let qn=0;qn{const qn=nt+an++;Ki.set(Gn,qn),An.forEach(Pr=>zr(Pr,qn))});const Xn=[],gr=new Set,jr=new Set;for(let An=0;Angr.add(Pr)):jr.add(Gn))}const da=new Map,rr=vo(fn,Array.from(gr));rr.forEach((An,Gn)=>{const qn=qt+an++;da.set(Gn,qn),An.forEach(Pr=>zr(Pr,qn))}),B.push(()=>{Mn.forEach((An,Gn)=>{const qn=Ki.get(Gn);An.forEach(Pr=>Ea(Pr,qn))}),rr.forEach((An,Gn)=>{const qn=da.get(Gn);An.forEach(Pr=>Ea(Pr,qn))}),Xn.forEach(An=>{this.processLeaveNode(An)})});const Kr=[],kr=[];for(let An=this._namespaceList.length-1;An>=0;An--)this._namespaceList[An].drainQueuedTransitions(v).forEach(qn=>{const Pr=qn.player,Mo=qn.element;if(Kr.push(Pr),this.collectedEnterElements.length){const as=Mo[yr];if(as&&as.setForMove){if(as.previousTriggersValues&&as.previousTriggersValues.has(qn.triggerName)){const Qc=as.previousTriggersValues.get(qn.triggerName),Xo=this.statesByElement.get(qn.element);if(Xo&&Xo.has(qn.triggerName)){const Yo=Xo.get(qn.triggerName);Yo.value=Qc,Xo.set(qn.triggerName,Yo)}}return void Pr.destroy()}}const Ss=!Li||!this.driver.containsElement(Li,Mo),Wo=da.get(Mo),$c=Ki.get(Mo),Fa=this._buildInstruction(qn,H,$c,Wo,Ss);if(Fa.errors&&Fa.errors.length)return void kr.push(Fa);if(Ss)return Pr.onStart(()=>Te(Mo,Fa.fromStyles)),Pr.onDestroy(()=>Se(Mo,Fa.toStyles)),void G.push(Pr);if(qn.isFallbackTransition)return Pr.onStart(()=>Te(Mo,Fa.fromStyles)),Pr.onDestroy(()=>Se(Mo,Fa.toStyles)),void G.push(Pr);const Gh=[];Fa.timelines.forEach(as=>{as.stretchStartingKeyframe=!0,this.disabledNodes.has(as.element)||Gh.push(as)}),Fa.timelines=Gh,H.append(Mo,Fa.timelines),kt.push({instruction:Fa,player:Pr,element:Mo}),Fa.queriedElements.forEach(as=>se(At,as,[]).push(Pr)),Fa.preStyleProps.forEach((as,Qc)=>{if(as.size){let Xo=oi.get(Qc);Xo||oi.set(Qc,Xo=new Set),as.forEach((Yo,os)=>Xo.add(os))}}),Fa.postStyleProps.forEach((as,Qc)=>{let Xo=ui.get(Qc);Xo||ui.set(Qc,Xo=new Set),as.forEach((Yo,os)=>Xo.add(os))})});if(kr.length){const An=[];kr.forEach(Gn=>{An.push(function q(){return new t.wOt(3505,!1)}())}),Kr.forEach(Gn=>Gn.destroy()),this.reportError(An)}const Aa=new Map,ha=new Map;kt.forEach(An=>{const Gn=An.element;H.has(Gn)&&(ha.set(Gn,Gn),this._beforeAnimationBuild(An.player.namespaceId,An.instruction,Aa))}),G.forEach(An=>{const Gn=An.element;this._getPreviousPlayers(Gn,!1,An.namespaceId,An.triggerName,null).forEach(Pr=>{se(Aa,Gn,[]).push(Pr),Pr.destroy()})});const Zs=Xn.filter(An=>Ua(An,oi,ui)),rd=new Map;fo(rd,this.driver,jr,ui,x.kp).forEach(An=>{Ua(An,oi,ui)&&Zs.push(An)});const Ud=new Map;Mn.forEach((An,Gn)=>{fo(Ud,this.driver,new Set(An),oi,x.FX)}),Zs.forEach(An=>{const Gn=rd.get(An),qn=Ud.get(An);rd.set(An,new Map([...Gn?.entries()??[],...qn?.entries()??[]]))});const Zf=[],H1=[],Jf={};kt.forEach(An=>{const{element:Gn,player:qn,instruction:Pr}=An;if(H.has(Gn)){if(Wi.has(Gn))return qn.onDestroy(()=>Se(Gn,Pr.toStyles)),qn.disabled=!0,qn.overrideTotalTime(Pr.totalTime),void G.push(qn);let Mo=Jf;if(ha.size>1){let Wo=Gn;const $c=[];for(;Wo=Wo.parentNode;){const Fa=ha.get(Wo);if(Fa){Mo=Fa;break}$c.push(Wo)}$c.forEach(Fa=>ha.set(Fa,Mo))}const Ss=this._buildAnimation(qn.namespaceId,Pr,Aa,Oe,Ud,rd);if(qn.setRealPlayer(Ss),Mo===Jf)Zf.push(qn);else{const Wo=this.playersByElement.get(Mo);Wo&&Wo.length&&(qn.parentPlayer=ze(Wo)),G.push(qn)}}else Te(Gn,Pr.fromStyles),qn.onDestroy(()=>Se(Gn,Pr.toStyles)),H1.push(qn),Wi.has(Gn)&&G.push(qn)}),H1.forEach(An=>{const Gn=Oe.get(An.element);if(Gn&&Gn.length){const qn=ze(Gn);An.setRealPlayer(qn)}}),G.forEach(An=>{An.parentPlayer?An.syncPlayerEvents(An.parentPlayer):An.destroy()});for(let An=0;An!Ss.destroyed);Mo.length?fa(this,Gn,Mo):this.processLeaveNode(Gn)}return Xn.length=0,Zf.forEach(An=>{this.players.push(An),An.onDone(()=>{An.destroy();const Gn=this.players.indexOf(An);this.players.splice(Gn,1)}),An.play()}),Zf}afterFlush(B){this._flushFns.push(B)}afterFlushAnimationsDone(B){this._whenQuietFns.push(B)}_getPreviousPlayers(B,v,H,G,Oe){let kt=[];if(v){const At=this.playersByQueriedElement.get(B);At&&(kt=At)}else{const At=this.playersByElement.get(B);if(At){const oi=!Oe||Oe==xr;At.forEach(ui=>{ui.queued||!oi&&ui.triggerName!=G||kt.push(ui)})}}return(H||G)&&(kt=kt.filter(At=>!(H&&H!=At.namespaceId||G&&G!=At.triggerName))),kt}_beforeAnimationBuild(B,v,H){const Oe=v.element,kt=v.isRemovalTransition?void 0:B,At=v.isRemovalTransition?void 0:v.triggerName;for(const oi of v.timelines){const ui=oi.element,Wi=ui!==Oe,Li=se(H,ui,[]);this._getPreviousPlayers(ui,Wi,kt,At,v.toState).forEach(Mn=>{const Ki=Mn.getRealPlayer();Ki.beforeDestroy&&Ki.beforeDestroy(),Mn.destroy(),Li.push(Mn)})}Te(Oe,v.fromStyles)}_buildAnimation(B,v,H,G,Oe,kt){const At=v.triggerName,oi=v.element,ui=[],Wi=new Set,Li=new Set,fn=v.timelines.map(Ki=>{const an=Ki.element;Wi.add(an);const Xn=an[yr];if(Xn&&Xn.removedBeforeQueried)return new x.sf(Ki.duration,Ki.delay);const gr=an!==oi,jr=function Bs(F){const B=[];return Ar(F,B),B}((H.get(an)||za).map(Aa=>Aa.getRealPlayer())).filter(Aa=>!!Aa.element&&Aa.element===an),da=Oe.get(an),rr=kt.get(an),Kr=Xe(this._normalizer,Ki.keyframes,da,rr),kr=this._buildPlayer(Ki,Kr,jr);if(Ki.subTimeline&&G&&Li.add(an),gr){const Aa=new Ba(B,At,an);Aa.setRealPlayer(kr),ui.push(Aa)}return kr});ui.forEach(Ki=>{se(this.playersByQueriedElement,Ki.element,[]).push(Ki),Ki.onDone(()=>function Ao(F,B,v){let H=F.get(B);if(H){if(H.length){const G=H.indexOf(v);H.splice(G,1)}0==H.length&&F.delete(B)}return H}(this.playersByQueriedElement,Ki.element,Ki))}),Wi.forEach(Ki=>zr(Ki,jt));const Mn=ze(fn);return Mn.onDestroy(()=>{Wi.forEach(Ki=>Ea(Ki,jt)),Se(oi,v.toStyles)}),Li.forEach(Ki=>{se(G,Ki,[]).push(Mn)}),Mn}_buildPlayer(B,v,H){return v.length>0?this.driver.animate(B.element,v,B.duration,B.delay,B.easing,H):new x.sf(B.duration,B.delay)}}class Ba{constructor(B,v,H){this.namespaceId=B,this.triggerName=v,this.element=H,this._player=new x.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((v,H)=>{v.forEach(G=>We(B,H,void 0,G))}),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 v=this._player;v.triggerCallback&&B.onStart(()=>v.triggerCallback("start")),B.onDone(()=>this.finish()),B.onDestroy(()=>this.destroy())}_queueEvent(B,v){se(this._queuedCallbacks,B,[]).push(v)}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 v=this._player;v.triggerCallback&&v.triggerCallback(B)}}function _o(F){return F&&1===F.nodeType}function ko(F,B){const v=F.style.display;return F.style.display=B??"none",v}function fo(F,B,v,H,G){const Oe=[];v.forEach(oi=>Oe.push(ko(oi)));const kt=[];H.forEach((oi,ui)=>{const Wi=new Map;oi.forEach(Li=>{const fn=B.computeStyle(ui,Li,G);Wi.set(Li,fn),(!fn||0==fn.length)&&(ui[yr]=Ur,kt.push(ui))}),F.set(ui,Wi)});let At=0;return v.forEach(oi=>ko(oi,Oe[At++])),kt}function vo(F,B){const v=new Map;if(F.forEach(At=>v.set(At,[])),0==B.length)return v;const G=new Set(B),Oe=new Map;function kt(At){if(!At)return 1;let oi=Oe.get(At);if(oi)return oi;const ui=At.parentNode;return oi=v.has(ui)?ui:G.has(ui)?1:kt(ui),Oe.set(At,oi),oi}return B.forEach(At=>{const oi=kt(At);1!==oi&&v.get(oi).push(At)}),v}function zr(F,B){F.classList?.add(B)}function Ea(F,B){F.classList?.remove(B)}function fa(F,B,v){ze(v).onDone(()=>F.processLeaveNode(B))}function Ar(F,B){for(let v=0;vG.add(Oe)):B.set(F,H),v.delete(F),!0}class ma{constructor(B,v,H){this._driver=v,this._normalizer=H,this._triggerCache={},this.onRemovalComplete=(G,Oe)=>{},this._transitionEngine=new Do(B.body,v,H),this._timelineEngine=new ds(B.body,v,H),this._transitionEngine.onRemovalComplete=(G,Oe)=>this.onRemovalComplete(G,Oe)}registerTrigger(B,v,H,G,Oe){const kt=B+"-"+G;let At=this._triggerCache[kt];if(!At){const oi=[],Wi=Hi(this._driver,Oe,oi,[]);if(oi.length)throw function n(){return new t.wOt(3404,!1)}();At=function Xr(F,B,v){return new fr(F,B,v)}(G,Wi,this._normalizer),this._triggerCache[kt]=At}this._transitionEngine.registerTrigger(v,G,At)}register(B,v){this._transitionEngine.register(B,v)}destroy(B,v){this._transitionEngine.destroy(B,v)}onInsert(B,v,H,G){this._transitionEngine.insertNode(B,v,H,G)}onRemove(B,v,H){this._transitionEngine.removeNode(B,v,H)}disableAnimations(B,v){this._transitionEngine.markElementAsDisabled(B,v)}process(B,v,H,G){if("@"==H.charAt(0)){const[Oe,kt]=ae(H);this._timelineEngine.command(Oe,v,kt,G)}else this._transitionEngine.trigger(B,v,H,G)}listen(B,v,H,G,Oe){if("@"==H.charAt(0)){const[kt,At]=ae(H);return this._timelineEngine.listen(kt,v,At,Oe)}return this._transitionEngine.listen(B,v,H,G,Oe)}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 ta{static{this.initialStylesByElement=new WeakMap}constructor(B,v,H){this._element=B,this._startStyles=v,this._endStyles=H,this._state=0;let G=ta.initialStylesByElement.get(B);G||ta.initialStylesByElement.set(B,G=new Map),this._initialStyles=G}start(){this._state<1&&(this._startStyles&&Se(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Se(this._element,this._initialStyles),this._endStyles&&(Se(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ta.initialStylesByElement.delete(this._element),this._startStyles&&(Te(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Te(this._element,this._endStyles),this._endStyles=null),Se(this._element,this._initialStyles),this._state=3)}}function Ro(F){let B=null;return F.forEach((v,H)=>{(function As(F){return"display"===F||"position"===F})(H)&&(B=B||new Map,B.set(H,v))}),B}class bo{constructor(B,v,H,G){this.element=B,this.keyframes=v,this.options=H,this._specialStyles=G,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=H.duration,this._delay=H.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 v=()=>this._onFinish();this.domPlayer.addEventListener("finish",v),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",v)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(B){const v=[];return B.forEach(H=>{v.push(Object.fromEntries(H))}),v}_triggerWebAnimation(B,v,H){return B.animate(this._convertKeyframesToObject(v),H)}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((H,G)=>{"offset"!==G&&B.set(G,this._finished?H:pi(this.element,G))}),this.currentSnapshot=B}triggerCallback(B){const v="start"===B?this._onStartFns:this._onDoneFns;v.forEach(H=>H()),v.length=0}}class $r{validateStyleProperty(B){return!0}validateAnimatableStyleProperty(B){return!0}containsElement(B,v){return ct(B,v)}getParentElement(B){return Ie(B)}query(B,v,H){return dt(B,v,H)}computeStyle(B,v,H){return pi(B,v)}animate(B,v,H,G,Oe,kt=[]){const oi={duration:H,delay:G,fill:0==G?"both":"forwards"};Oe&&(oi.easing=Oe);const ui=new Map,Wi=kt.filter(Mn=>Mn instanceof bo);(function qe(F,B){return 0===F||0===B})(H,G)&&Wi.forEach(Mn=>{Mn.currentSnapshot.forEach((Ki,an)=>ui.set(an,Ki))});let Li=function Tt(F){return F.length?F[0]instanceof Map?F:F.map(B=>new Map(Object.entries(B))):[]}(v).map(Mn=>new Map(Mn));Li=function at(F,B,v){if(v.size&&B.length){let H=B[0],G=[];if(v.forEach((Oe,kt)=>{H.has(kt)||G.push(kt),H.set(kt,Oe)}),G.length)for(let Oe=1;Oekt.set(At,pi(F,At)))}}return B}(B,Li,ui);const fn=function no(F,B){let v=null,H=null;return Array.isArray(B)&&B.length?(v=Ro(B[0]),B.length>1&&(H=Ro(B[B.length-1]))):B instanceof Map&&(v=Ro(B)),v||H?new ta(F,v,H):null}(B,Li);return new bo(B,Li,oi,fn)}}const Ka="@.disabled";class Ga{constructor(B,v,H,G){this.namespaceId=B,this.delegate=v,this.engine=H,this._onDestroy=G,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,v){return this.delegate.createElement(B,v)}createComment(B){return this.delegate.createComment(B)}createText(B){return this.delegate.createText(B)}appendChild(B,v){this.delegate.appendChild(B,v),this.engine.onInsert(this.namespaceId,v,B,!1)}insertBefore(B,v,H,G=!0){this.delegate.insertBefore(B,v,H),this.engine.onInsert(this.namespaceId,v,B,G)}removeChild(B,v,H){this.parentNode(v)&&this.engine.onRemove(this.namespaceId,v,this.delegate)}selectRootElement(B,v){return this.delegate.selectRootElement(B,v)}parentNode(B){return this.delegate.parentNode(B)}nextSibling(B){return this.delegate.nextSibling(B)}setAttribute(B,v,H,G){this.delegate.setAttribute(B,v,H,G)}removeAttribute(B,v,H){this.delegate.removeAttribute(B,v,H)}addClass(B,v){this.delegate.addClass(B,v)}removeClass(B,v){this.delegate.removeClass(B,v)}setStyle(B,v,H,G){this.delegate.setStyle(B,v,H,G)}removeStyle(B,v,H){this.delegate.removeStyle(B,v,H)}setProperty(B,v,H){"@"==v.charAt(0)&&v==Ka?this.disableAnimations(B,!!H):this.delegate.setProperty(B,v,H)}setValue(B,v){this.delegate.setValue(B,v)}listen(B,v,H){return this.delegate.listen(B,v,H)}disableAnimations(B,v){this.engine.disableAnimations(B,v)}}class sr extends Ga{constructor(B,v,H,G,Oe){super(v,H,G,Oe),this.factory=B,this.namespaceId=v}setProperty(B,v,H){"@"==v.charAt(0)?"."==v.charAt(1)&&v==Ka?this.disableAnimations(B,H=void 0===H||!!H):this.engine.process(this.namespaceId,B,v.slice(1),H):this.delegate.setProperty(B,v,H)}listen(B,v,H){if("@"==v.charAt(0)){const G=function ia(F){switch(F){case"body":return document.body;case"document":return document;case"window":return window;default:return F}}(B);let Oe=v.slice(1),kt="";return"@"!=Oe.charAt(0)&&([Oe,kt]=function Bo(F){const B=F.indexOf(".");return[F.substring(0,B),F.slice(B+1)]}(Oe)),this.engine.listen(this.namespaceId,G,Oe,kt,At=>{this.factory.scheduleListenerCallback(At._data||-1,H,At)})}return this.delegate.listen(B,v,H)}}class Ot{constructor(B,v,H){this.delegate=B,this.engine=v,this._zone=H,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,v.onRemovalComplete=(G,Oe)=>{Oe?.removeChild(null,G)}}createRenderer(B,v){const G=this.delegate.createRenderer(B,v);if(!B||!v?.data?.animation){const ui=this._rendererCache;let Wi=ui.get(G);return Wi||(Wi=new Ga("",G,this.engine,()=>ui.delete(G)),ui.set(G,Wi)),Wi}const Oe=v.id,kt=v.id+"-"+this._currentId;this._currentId++,this.engine.register(kt,B);const At=ui=>{Array.isArray(ui)?ui.forEach(At):this.engine.registerTrigger(Oe,kt,B,ui.name,ui)};return v.data.animation.forEach(At),new sr(this,kt,G,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(B,v,H){if(B>=0&&Bv(H));const G=this._animationCallbacksBuffer;0==G.length&&queueMicrotask(()=>{this._zone.run(()=>{G.forEach(Oe=>{const[kt,At]=Oe;kt(At)}),this._animationCallbacksBuffer=[]})}),G.push([v,H])}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 si=g(177);const Ji=[{provide:we,useFactory:function ni(){return new Kt}},{provide:ma,useClass:(()=>{class F extends ma{constructor(v,H,G){super(v,H,G)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(H){return new(H||F)(t.KVO(si.qQ),t.KVO(_e),t.KVO(we))}}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})()},{provide:t._9s,useFactory:function Ei(F,B,v){return new Ot(F,B,v)},deps:[e.B7,ma,t.SKi]}],cr=[{provide:_e,useFactory:()=>new $r},{provide:t.bc$,useValue:"BrowserAnimations"},...Ji],ga=[{provide:_e,useClass:ve},{provide:t.bc$,useValue:"NoopAnimations"},...Ji];let Ra=(()=>{class F{static withConfig(v){return{ngModule:F,providers:v.disableAnimations?ga:cr}}static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275mod=t.$C({type:F})}static{this.\u0275inj=t.G2t({providers:cr,imports:[e.Bb]})}}return F})();var Vo=g(1626),Gr=g(9327),Pi=g(9640),it=g(4054),ut=g(983),Ve=g(1985),Dt=g(7673),ai=g(7786),vn=g(7242),er=g(2771),Oo=g(7647),Cr=g(5964),Qa=g(6354),_c=g(274),ks=g(3236),Uo=g(8211),Vs=g(9974),nc=g(8750),Jo=g(1853),us=g(4360),vs=g(5225);const Us=(0,Jo.L)(F=>function(v=null){F(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=v});function na(F){throw new Us(F)}var Nr=g(152),ca=g(9437),_a=g(6697),dn=g(6977),Is=g(5558),qo=g(5245),vc=g(941),rc=g(3993),xo=g(2816),md=g(9079);const bs="PERFORM_ACTION",el="ROLLBACK",Hs="TOGGLE_ACTION",Ws="JUMP_TO_STATE",es="JUMP_TO_ACTION",Pc="IMPORT_STATE",Xs="LOCK_CHANGES",oc="PAUSE_RECORDING";class ys{constructor(B,v){if(this.action=B,this.timestamp=v,this.type=bs,typeof B.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class sc{constructor(){this.type="REFRESH"}}class zc{constructor(B){this.timestamp=B,this.type="RESET"}}class Za{constructor(B){this.timestamp=B,this.type=el}}class Rs{constructor(B){this.timestamp=B,this.type="COMMIT"}}class bc{constructor(){this.type="SWEEP"}}class Ys{constructor(B){this.id=B,this.type=Hs}}class mt{constructor(B){this.index=B,this.type=Ws}}class Vt{constructor(B){this.actionId=B,this.type=es}}class Ht{constructor(B){this.nextLiftedState=B,this.type=Pc}}class ei{constructor(B){this.status=B,this.type=Xs}}class ci{constructor(B){this.status=B,this.type=oc}}const Oi=new t.nKC("@ngrx/store-devtools Options"),ji=new t.nKC("@ngrx/store-devtools Initial Config");function pn(){return null}const _n="NgRx Store DevTools";function Wn(F){const B={maxAge:!1,monitor:pn,actionSanitizer:void 0,stateSanitizer:void 0,name:_n,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},v="function"==typeof F?F():F,G=v.features||!!v.logOnly&&{pause:!0,export:!0,test:!0}||B.features;!0===G.import&&(G.import="custom");const Oe=Object.assign({},B,{features:G},v);if(Oe.maxAge&&Oe.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${Oe.maxAge}`);return Oe}function xe(F,B){return F.filter(v=>B.indexOf(v)<0)}function bt(F){const{computedStates:B,currentStateIndex:v}=F;if(v>=B.length){const{state:G}=B[B.length-1];return G}const{state:H}=B[v];return H}function gt(F){return new ys(F,+Date.now())}function Zt(F,B){return Object.keys(B).reduce((v,H)=>{const G=Number(H);return v[G]=Si(F,B[G],G),v},{})}function Si(F,B,v){return{...B,action:F(B.action,v)}}function Ii(F,B){return B.map((v,H)=>({state:on(F,v.state,H),error:v.error}))}function on(F,B,v){return F(B,v)}function Kn(F){return F.predicate||F.actionsSafelist||F.actionsBlocklist}function pr(F,B,v,H,G){const Oe=v&&!v(F,B.action),kt=H&&!B.action.type.match(H.map(oi=>Fn(oi)).join("|")),At=G&&B.action.type.match(G.map(oi=>Fn(oi)).join("|"));return Oe||kt||At}function Fn(F){return F.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Sr(F){return{ngZone:F?(0,t.WQX)(t.SKi):null,connectInZone:F}}let Dn=(()=>{class F extends Pi.SS{static{this.\u0275fac=(()=>{let v;return function(G){return(v||(v=t.xGo(F)))(G||F)}})()}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})();const bn=new t.nKC("@ngrx/store-devtools Redux Devtools Extension");let Tr=(()=>{class F{constructor(v,H,G){this.config=H,this.dispatcher=G,this.zoneConfig=Sr(this.config.connectInZone),this.devtoolsExtension=v,this.createActionStreams()}notify(v,H){if(this.devtoolsExtension)if(v.type===bs){if(H.isLocked||H.isPaused)return;const G=bt(H);if(Kn(this.config)&&pr(G,v,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const Oe=this.config.stateSanitizer?on(this.config.stateSanitizer,G,H.currentStateIndex):G,kt=this.config.actionSanitizer?Si(this.config.actionSanitizer,v,H.nextActionId):v;this.sendToReduxDevtools(()=>this.extensionConnection.send(kt,Oe))}else{const G={...H,stagedActionIds:H.stagedActionIds,actionsById:this.config.actionSanitizer?Zt(this.config.actionSanitizer,H.actionsById):H.actionsById,computedStates:this.config.stateSanitizer?Ii(this.config.stateSanitizer,H.computedStates):H.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,G,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new Ve.c(v=>{const H=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=H,H.init(),H.subscribe(G=>v.next(G)),H.unsubscribe}):ut.w}createActionStreams(){const v=this.createChangesObservable().pipe((0,Oo.u)()),H=v.pipe((0,Cr.p)(ui=>"START"===ui.type)),G=v.pipe((0,Cr.p)(ui=>"STOP"===ui.type)),Oe=v.pipe((0,Cr.p)(ui=>"DISPATCH"===ui.type),(0,Qa.T)(ui=>this.unwrapAction(ui.payload)),(0,_c.H)(ui=>ui.type===Pc?this.dispatcher.pipe((0,Cr.p)(Wi=>Wi.type===Pi.q6),function jn(F,B){const{first:v,each:H,with:G=na,scheduler:Oe=B??ks.E,meta:kt=null}=(0,Uo.v)(F)?{first:F}:"number"==typeof F?{each:F}:F;if(null==v&&null==H)throw new TypeError("No timeout provided.");return(0,Vs.N)((At,oi)=>{let ui,Wi,Li=null,fn=0;const Mn=Ki=>{Wi=(0,vs.N)(oi,Oe,()=>{try{ui.unsubscribe(),(0,nc.Tg)(G({meta:kt,lastValue:Li,seen:fn})).subscribe(oi)}catch(an){oi.error(an)}},Ki)};ui=At.subscribe((0,us._)(oi,Ki=>{Wi?.unsubscribe(),fn++,oi.next(Li=Ki),H>0&&Mn(H)},void 0,void 0,()=>{Wi?.closed||Wi?.unsubscribe(),Li=null})),!fn&&Mn(null!=v?"number"==typeof v?v:+v-Oe.now():H)})}(1e3),(0,Nr.B)(1e3),(0,Qa.T)(()=>ui),(0,ca.W)(()=>(0,Dt.of)(ui)),(0,_a.s)(1)):(0,Dt.of)(ui))),At=v.pipe((0,Cr.p)(ui=>"ACTION"===ui.type),(0,Qa.T)(ui=>this.unwrapAction(ui.payload))).pipe((0,dn.Q)(G)),oi=Oe.pipe((0,dn.Q)(G));this.start$=H.pipe((0,dn.Q)(G)),this.actions$=this.start$.pipe((0,Is.n)(()=>At)),this.liftedActions$=this.start$.pipe((0,Is.n)(()=>oi))}unwrapAction(v){return"string"==typeof v?(0,eval)(`(${v})`):v}getExtensionConfig(v){const H={name:v.name,features:v.features,serialize:v.serialize,autoPause:v.autoPause??!1,trace:v.trace??!1,traceLimit:v.traceLimit??75};return!1!==v.maxAge&&(H.maxAge=v.maxAge),H}sendToReduxDevtools(v){try{v()}catch(H){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",H)}}static{this.\u0275fac=function(H){return new(H||F)(t.KVO(bn),t.KVO(Oi),t.KVO(Dn))}}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})();const va={type:Pi.Zz},Ja={type:"@ngrx/store-devtools/recompute"};function oo(F,B,v,H,G){if(H)return{state:v,error:"Interrupted by an error up the chain"};let kt,Oe=v;try{Oe=F(v,B)}catch(At){kt=At.toString(),G.handleError(At)}return{state:Oe,error:kt}}function hr(F,B,v,H,G,Oe,kt,At,oi){if(B>=F.length&&F.length===Oe.length)return F;const ui=F.slice(0,B),Wi=Oe.length-(oi?1:0);for(let Li=B;Li-1?Ki:oo(v,Mn,an,Xn,At);ui.push(jr)}return oi&&ui.push(F[F.length-1]),ui}let Bn=(()=>{class F{constructor(v,H,G,Oe,kt,At,oi,ui){const Wi=function aa(F,B){return{monitorState:B(void 0,{}),nextActionId:1,actionsById:{0:gt(va)},stagedActionIds:[0],skippedActionIds:[],committedState:F,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}(oi,ui.monitor),Li=function ts(F,B,v,H,G={}){return Oe=>(kt,At)=>{let{monitorState:oi,actionsById:ui,nextActionId:Wi,stagedActionIds:Li,skippedActionIds:fn,committedState:Mn,currentStateIndex:Ki,computedStates:an,isLocked:Xn,isPaused:gr}=kt||B;function jr(Kr){let kr=Kr,Aa=Li.slice(1,kr+1);for(let ha=0;ha-1===Aa.indexOf(ha)),Li=[0,...Li.slice(kr+1)],Mn=an[kr].state,an=an.slice(kr),Ki=Ki>kr?Ki-kr:0}function da(){ui={0:gt(va)},Wi=1,Li=[0],fn=[],Mn=an[Ki].state,Ki=0,an=[]}kt||(ui=Object.create(ui));let rr=0;switch(At.type){case Xs:Xn=At.status,rr=1/0;break;case oc:gr=At.status,gr?(Li=[...Li,Wi],ui[Wi]=new ys({type:"@ngrx/devtools/pause"},+Date.now()),Wi++,rr=Li.length-1,an=an.concat(an[an.length-1]),Ki===Li.length-2&&Ki++,rr=1/0):da();break;case"RESET":ui={0:gt(va)},Wi=1,Li=[0],fn=[],Mn=F,Ki=0,an=[];break;case"COMMIT":da();break;case el:ui={0:gt(va)},Wi=1,Li=[0],fn=[],Ki=0,an=[];break;case Hs:{const{id:Kr}=At;fn=-1===fn.indexOf(Kr)?[Kr,...fn]:fn.filter(Aa=>Aa!==Kr),rr=Li.indexOf(Kr);break}case"SET_ACTIONS_ACTIVE":{const{start:Kr,end:kr,active:Aa}=At,ha=[];for(let Zs=Kr;ZsG.maxAge&&(an=hr(an,rr,Oe,Mn,ui,Li,fn,v,gr),jr(Li.length-G.maxAge),rr=1/0);break;case Pi.q6:if(an.filter(kr=>kr.error).length>0)rr=0,G.maxAge&&Li.length>G.maxAge&&(an=hr(an,rr,Oe,Mn,ui,Li,fn,v,gr),jr(Li.length-G.maxAge),rr=1/0);else{if(!gr&&!Xn){Ki===Li.length-1&&Ki++;const kr=Wi++;ui[kr]=new ys(At,+Date.now()),Li=[...Li,kr],rr=Li.length-1,an=hr(an,rr,Oe,Mn,ui,Li,fn,v,gr)}an=an.map(kr=>({...kr,state:Oe(kr.state,Ja)})),Ki=Li.length-1,G.maxAge&&Li.length>G.maxAge&&jr(Li.length-G.maxAge),rr=1/0}break;default:rr=1/0}return an=hr(an,rr,Oe,Mn,ui,Li,fn,v,gr),oi=H(oi,At),{monitorState:oi,actionsById:ui,nextActionId:Wi,stagedActionIds:Li,skippedActionIds:fn,committedState:Mn,currentStateIndex:Ki,computedStates:an,isLocked:Xn,isPaused:gr}}}(oi,Wi,At,ui.monitor,ui),fn=(0,ai.h)((0,ai.h)(H.asObservable().pipe((0,qo.i)(1)),Oe.actions$).pipe((0,Qa.T)(gt)),v,Oe.liftedActions$).pipe((0,vc.Q)(vn.T)),Mn=G.pipe((0,Qa.T)(Li)),Ki=Sr(ui.connectInZone),an=new er.m(1);this.liftedStateSubscription=fn.pipe((0,rc.E)(Mn),Co(Ki),(0,xo.S)(({state:jr},[da,rr])=>{let Kr=rr(jr,da);return da.type!==bs&&Kn(ui)&&(Kr=function wr(F,B,v,H){const G=[],Oe={},kt=[];return F.stagedActionIds.forEach((At,oi)=>{const ui=F.actionsById[At];ui&&(oi&&pr(F.computedStates[oi],ui,B,v,H)||(Oe[At]=ui,G.push(At),kt.push(F.computedStates[oi])))}),{...F,stagedActionIds:G,actionsById:Oe,computedStates:kt}}(Kr,ui.predicate,ui.actionsSafelist,ui.actionsBlocklist)),Oe.notify(da,Kr),{state:Kr,action:da}},{state:Wi,action:null})).subscribe(({state:jr,action:da})=>{an.next(jr),da.type===bs&&kt.next(da.action)}),this.extensionStartSubscription=Oe.start$.pipe(Co(Ki)).subscribe(()=>{this.refresh()});const Xn=an.asObservable(),gr=Xn.pipe((0,Qa.T)(bt));Object.defineProperty(gr,"state",{value:(0,md.ot)(gr,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=v,this.liftedState=Xn,this.state=gr}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(v){this.dispatcher.next(v)}next(v){this.dispatcher.next(v)}error(v){}complete(){}performAction(v){this.dispatch(new ys(v,+Date.now()))}refresh(){this.dispatch(new sc)}reset(){this.dispatch(new zc(+Date.now()))}rollback(){this.dispatch(new Za(+Date.now()))}commit(){this.dispatch(new Rs(+Date.now()))}sweep(){this.dispatch(new bc)}toggleAction(v){this.dispatch(new Ys(v))}jumpToAction(v){this.dispatch(new Vt(v))}jumpToState(v){this.dispatch(new mt(v))}importState(v){this.dispatch(new Ht(v))}lockChanges(v){this.dispatch(new ei(v))}pauseRecording(v){this.dispatch(new ci(v))}static{this.\u0275fac=function(H){return new(H||F)(t.KVO(Dn),t.KVO(Pi.SS),t.KVO(Pi.QU),t.KVO(Tr),t.KVO(Pi.sA),t.KVO(t.zcH),t.KVO(Pi.N_),t.KVO(Oi))}}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})();function Co({ngZone:F,connectInZone:B}){return v=>B?new Ve.c(H=>v.subscribe({next:G=>F.run(()=>H.next(G)),error:G=>F.run(()=>H.error(G)),complete:()=>F.run(()=>H.complete())})):v}const pd=new t.nKC("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function il(F,B){return!!F||B.monitor!==pn}function Lr(){const F="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[F]<"u"?window[F]:null}function Bc(F={}){return(0,t.EmA)([Tr,Dn,Bn,{provide:ji,useValue:F},{provide:pd,deps:[bn,Oi],useFactory:il},{provide:bn,useFactory:Lr},{provide:Oi,deps:[ji],useFactory:Wn},{provide:Pi.h1,deps:[Bn],useFactory:cc},{provide:Pi.Bh,useExisting:Dn}])}function cc(F){return F.state}let so=(()=>{class F{static instrument(v={}){return{ngModule:F,providers:[Bc(v)]}}static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275mod=t.$C({type:F})}static{this.\u0275inj=t.G2t({})}}return F})();var Xi=g(1413),gd=g(3726),lc=g(2806),El=g(1807);function Fo(F=0,B=ks.E){return F<0&&(F=0),(0,El.O)(F,F,B)}var En=g(8359),Sl=g(7908),Tl=g(9326),Ks=g(8141),yc=g(980),ba=g(3294);class xs{}function Yr(F){return(0,t.EmA)([{provide:xs,useValue:F}])}let mo=(()=>{class F{constructor(v,H){this._ngZone=H,this.timerStart$=new Xi.B,this.idleDetected$=new Xi.B,this.timeout$=new Xi.B,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,v&&this.setConfig(v)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,ai.h)((0,gd.R)(window,"mousemove"),(0,gd.R)(window,"resize"),(0,gd.R)(document,"keydown"))),this.idle$=(0,lc.H)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function Os(F,...B){var v,H;const G=null!==(v=(0,Tl.lI)(B))&&void 0!==v?v:ks.E,Oe=null!==(H=B[0])&&void 0!==H?H:null,kt=B[1]||1/0;return(0,Vs.N)((At,oi)=>{let ui=[],Wi=!1;const Li=Ki=>{const{buffer:an,subs:Xn}=Ki;Xn.unsubscribe(),(0,Sl.o)(ui,Ki),oi.next(an),Wi&&fn()},fn=()=>{if(ui){const Ki=new En.yU;oi.add(Ki);const Xn={buffer:[],subs:Ki};ui.push(Xn),(0,vs.N)(Ki,G,()=>Li(Xn),F)}};null!==Oe&&Oe>=0?(0,vs.N)(oi,G,fn,Oe,!0):Wi=!0,fn();const Mn=(0,us._)(oi,Ki=>{const an=ui.slice();for(const Xn of an){const{buffer:gr}=Xn;gr.push(Ki),kt<=gr.length&&Li(Xn)}},()=>{for(;ui?.length;)oi.next(ui.shift().buffer);Mn?.unsubscribe(),oi.complete(),oi.unsubscribe()},void 0,()=>ui=null);At.subscribe(Mn)})}(this.idleSensitivityMillisec),(0,Cr.p)(v=>!v.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,Ks.M)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,Is.n)(()=>this._ngZone.runOutsideAngular(()=>Fo(1e3).pipe((0,dn.Q)((0,ai.h)(this.activityEvents$,(0,El.O)(this.idleMillisec).pipe((0,Ks.M)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,yc.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,ba.F)(),(0,Is.n)(v=>v?this.timer$:(0,Dt.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,Cr.p)(v=>!!v),(0,Ks.M)(()=>this.isTimeout=!0),(0,Qa.T)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(v){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(v):console.error("Call stopWatching() before set config values")}setConfig(v){v.idle&&(this.idleMillisec=1e3*v.idle),v.ping&&(this.pingMillisec=1e3*v.ping),v.idleSensitivity&&(this.idleSensitivityMillisec=1e3*v.idleSensitivity),v.timeout&&(this.timeout=v.timeout)}setCustomActivityEvents(v){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=v:console.error("Call stopWatching() before set custom activity events")}setupTimer(v){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,Dt.of)(()=>new Date).pipe((0,Qa.T)(H=>H()),(0,Is.n)(H=>Fo(1e3).pipe((0,Qa.T)(()=>Math.round(((new Date).valueOf()-H.valueOf())/1e3)),(0,Ks.M)(G=>{G>=v&&this.timeout$.next(!0)}))))})}setupPing(v){this.ping$=Fo(v).pipe((0,Cr.p)(()=>!this.isTimeout))}}return F.\u0275fac=function(v){return new(v||F)(t.KVO(xs,8),t.KVO(t.SKi))},F.\u0275prov=t.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();var Nn=g(1188),qi=g(5383),vr=g(9647),Qr=g(60),$i=g(2920),Mr=g(5596),la=g(6850);const Jd=()=>({initial:!1});function q1(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.activeLink=G.links[1].link)}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[1].link),t.Y8G("active",v.activeLink===v.links[1].link)("state",t.lJ4(4,Jd)),t.R7$(),t.JRh(v.links[1].name)}}function qd(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",12),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.activeLink=G.links[2].link)}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[2].link),t.Y8G("active",v.activeLink===v.links[2].link),t.R7$(),t.JRh(v.links[2].name)}}let T2=(()=>{class F{constructor(v,H){this.store=v,this.router=H,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 Xi.B,new Xi.B,new Xi.B]}ngOnInit(){const v=this.links.find(H=>this.router.url.includes(H.link));this.activeLink=v?v.link:this.links[0].link,this.router.events.pipe((0,dn.Q)(this.unSubs[0]),(0,Cr.p)(H=>H instanceof Nn.gx)).subscribe({next:H=>{const G=this.links.find(Oe=>H.urlAfterRedirects.includes(Oe.link));this.activeLink=G?G.link:this.links[0].link}}),this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[1])).subscribe(H=>{this.appConfig=H}),this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[2])).subscribe(H=>{this.showBitcoind=!1,this.selNode=H,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Pi.il),t.rXU(Nn.Ix))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1),t.nrm(1,"fa-icon",2),t.j41(2,"span",3),t.EFF(3,"Settings"),t.k0s()(),t.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.activeLink=G.links[0].link)}),t.EFF(9),t.k0s(),t.DNE(10,q1,2,5,"div",8)(11,qd,2,3,"div",9),t.k0s(),t.nrm(12,"mat-tab-nav-panel",null,0),t.j41(14,"div",10),t.nrm(15,"router-outlet"),t.k0s()()()()}if(2&H){const Oe=t.sdS(13);t.R7$(),t.Y8G("icon",G.faUserCog),t.R7$(6),t.Y8G("tabPanel",Oe),t.R7$(),t.FS9("routerLink",G.links[0].link),t.Y8G("active",G.activeLink===G.links[0].link),t.R7$(),t.JRh(G.links[0].name),t.R7$(),t.Y8G("ngIf",!+G.appConfig.SSO.rtlSSO),t.R7$(),t.Y8G("ngIf",G.showBitcoind)}},dependencies:[si.bT,Qr.aY,$i.DJ,$i.sA,$i.UI,Mr.RN,Mr.m2,la.Bu,la.hQ,la.Ql,Nn.n3,Nn.Wk]})}}return F})();var Sn=g(1771),ge=g(8570),De=g(9417),be=g(8834),Ne=g(6467),ft=g(2798),Rt=g(6600),Jt=g(497),Mi=g(9587);function bi(F,B){if(1&F&&(t.j41(0,"mat-option",15),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v.index),t.R7$(),t.Lme(" ",v.lnNode," (",v.lnImplementation,") ")}}function cn(F,B){if(1&F){const v=t.RV6();t.j41(0,"form",3,0)(2,"div",4),t.nrm(3,"fa-icon",5),t.j41(4,"span",6),t.EFF(5,"Default Node"),t.k0s()(),t.j41(6,"div",7)(7,"div",8)(8,"mat-form-field",9)(9,"mat-select",10),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG();return t.DH7(Oe.appConfig.defaultNodeIndex,G)||(Oe.appConfig.defaultNodeIndex=G),t.Njj(G)}),t.DNE(10,bi,2,3,"mat-option",11),t.k0s()()(),t.j41(11,"div",12)(12,"div",8)(13,"button",13),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onResetSettings())}),t.EFF(14,"Reset"),t.k0s(),t.j41(15,"button",14),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onUpdateApplicationSettings())}),t.EFF(16,"Update"),t.k0s()()()()()}if(2&F){const v=t.XpG();t.R7$(3),t.Y8G("icon",v.faWindowRestore),t.R7$(6),t.R50("ngModel",v.appConfig.defaultNodeIndex),t.R7$(),t.Y8G("ngForOf",v.appConfig.nodes)}}let Pn=(()=>{class F{constructor(v,H){this.logger=v,this.store=H,this.faWindowRestore=qi.aFw,this.faPlus=qi.QLR,this.previousDefaultNode=0,this.unSubs=[new Xi.B,new Xi.B]}ngOnInit(){this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.appConfig=v,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(v)})}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,Sn.rc)({payload:{showSnackBar:!0,message:"Default Node Updated.",config:this.appConfig}}))}onResetSettings(){this.appConfig.defaultNodeIndex=this.previousDefaultNode}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(Pi.il))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",1),t.DNE(1,cn,17,3,"form",2),t.k0s()),2&H&&(t.R7$(),t.Y8G("ngIf",G.appConfig.nodes&&G.appConfig.nodes.length&&G.appConfig.nodes.length>0))},dependencies:[si.Sq,si.bT,De.qT,De.BC,De.cb,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,be.$z,Ne.rl,ft.VO,Rt.wT,Jt.Ld,Mi.N]})}}return F})();var zn=g(2852),Er=g(5351),Cs=g(1264),Sa=g(7541),xc=g(5416),Ta=g(9631),wo=g(6013),Ll=g(8288),Cc=g(9157);const e0=["stepper"];function wc(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG();t.JRh(v.passwordFormLabel)}}function ws(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Password is required."),t.k0s())}function dc(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG(2);t.JRh(v.secretFormLabel)}}function Mc(F,B){if(1&F&&t.nrm(0,"qr-code",33),2&F){const v=t.XpG(2);t.Y8G("value",v.otpauth)("size",180)("errorCorrectionLevel","L")}}function _d(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Secret Code is required."),t.k0s())}function vd(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-step",10)(1,"form",22),t.DNE(2,dc,1,1,"ng-template",23),t.j41(3,"div",24),t.DNE(4,Mc,1,3,"qr-code",25),t.k0s(),t.j41(5,"div",26),t.nrm(6,"fa-icon",27),t.j41(7,"span"),t.EFF(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),t.k0s()(),t.j41(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),t.EFF(12,"Secret Code"),t.k0s(),t.nrm(13,"input",29),t.j41(14,"fa-icon",30),t.bIt("copied",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onCopySecret(G))}),t.k0s(),t.DNE(15,_d,2,0,"mat-error",15),t.k0s()(),t.j41(16,"div",31)(17,"button",32),t.EFF(18,"Next"),t.k0s()()()()}if(2&F){const v=t.XpG();t.Y8G("stepControl",v.secretFormGroup)("editable",v.flgEditable),t.R7$(),t.Y8G("formGroup",v.secretFormGroup),t.R7$(3),t.Y8G("ngIf",v.otpauth),t.R7$(2),t.Y8G("icon",v.faInfoCircle),t.R7$(8),t.Y8G("icon",v.faCopy)("payload",null==v.secretFormGroup||null==v.secretFormGroup.controls||null==v.secretFormGroup.controls.secret?null:v.secretFormGroup.controls.secret.value),t.R7$(),t.Y8G("ngIf",null==v.secretFormGroup||null==v.secretFormGroup.controls||null==v.secretFormGroup.controls.secret||null==v.secretFormGroup.controls.secret.errors?null:v.secretFormGroup.controls.secret.errors.required)}}function Fs(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG(2);t.JRh(v.tokenFormLabel)}}function e1(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Token is required."),t.k0s())}function t1(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Token is invalid."),t.k0s())}function Un(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",8)(1,"div",28)(2,"mat-form-field",13)(3,"mat-label"),t.EFF(4,"Token"),t.k0s(),t.nrm(5,"input",37),t.DNE(6,e1,2,0,"mat-error",15)(7,t1,2,0,"mat-error",15),t.k0s()(),t.j41(8,"div",31)(9,"button",38),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onVerifyToken())}),t.EFF(10),t.k0s()()()}if(2&F){const v=t.XpG(2);t.R7$(6),t.Y8G("ngIf",null==v.tokenFormGroup||null==v.tokenFormGroup.controls||null==v.tokenFormGroup.controls.token||null==v.tokenFormGroup.controls.token.errors?null:v.tokenFormGroup.controls.token.errors.required),t.R7$(),t.Y8G("ngIf",null==v.tokenFormGroup||null==v.tokenFormGroup.controls||null==v.tokenFormGroup.controls.token||null==v.tokenFormGroup.controls.token.errors?null:v.tokenFormGroup.controls.token.errors.notValid),t.R7$(3),t.JRh(null!=v.tokenFormGroup&&null!=v.tokenFormGroup.controls&&null!=v.tokenFormGroup.controls.token&&null!=v.tokenFormGroup.controls.token.errors&&v.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function Dl(F,B){1&F&&(t.j41(0,"div")(1,"strong"),t.EFF(2,"Success! You are all set."),t.k0s()())}function bd(F,B){if(1&F&&(t.j41(0,"mat-step",34)(1,"form",35),t.DNE(2,Fs,1,1,"ng-template",12)(3,Un,11,3,"div",36)(4,Dl,3,0,"div",15),t.k0s()()),2&F){const v=t.XpG();t.Y8G("stepControl",v.tokenFormGroup),t.R7$(),t.Y8G("formGroup",v.tokenFormGroup),t.R7$(2),t.Y8G("ngIf",!v.flgValidated||!v.isTokenValid),t.R7$(),t.Y8G("ngIf",v.flgValidated&&v.isTokenValid)}}function co(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG(2);t.JRh(v.disableFormLabel)}}function Pu(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",8)(1,"div",39),t.nrm(2,"fa-icon",27),t.j41(3,"span"),t.EFF(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),t.k0s()(),t.j41(5,"div",31)(6,"button",38),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onVerifyToken())}),t.EFF(7,"Disable"),t.k0s()()()}if(2&F){const v=t.XpG(2);t.R7$(2),t.Y8G("icon",v.faExclamationTriangle)}}function nl(F,B){1&F&&(t.j41(0,"div")(1,"strong"),t.EFF(2,"Two factor authentication removed from RTL."),t.k0s()())}function Al(F,B){if(1&F&&(t.j41(0,"mat-step",34)(1,"form",35),t.DNE(2,co,1,1,"ng-template",12)(3,Pu,8,1,"div",36)(4,nl,3,0,"div",15),t.k0s()()),2&F){const v=t.XpG();t.Y8G("stepControl",v.disableFormGroup),t.R7$(),t.Y8G("formGroup",v.disableFormGroup),t.R7$(2),t.Y8G("ngIf",!v.flgValidated||!v.isTokenValid),t.R7$(),t.Y8G("ngIf",v.flgValidated&&v.isTokenValid)}}let fs=(()=>{class F{constructor(v,H,G,Oe,kt,At){this.dialogRef=v,this.data=H,this.store=G,this.formBuilder=Oe,this.rtlEffects=kt,this.snackBar=At,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:["",[De.k0.required]],password:["",[De.k0.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},De.k0.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",De.k0.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new Xi.B,new Xi.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},De.k0.required]})}generateSecret(){const v=Cs.authenticator.generateSecret();return this.otpauth=Cs.authenticator.keyuri("","Ride The Lightning (RTL)",v),v}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,Sn.oz)({payload:zn(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,_a.s)(1)).subscribe(v=>{"ERROR"!==v?(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(v){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,Sn.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=Cs.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,Sn.rc)({payload:{showSnackBar:!1,message:"Two factor authentication enabled successfully.",config:this.appConfig}})),this.tokenFormGroup.controls.token.setValue("")}this.flgValidated=!0}stepSelectionChanged(v){switch(v.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}v.selectedIndex{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Er.CP),t.rXU(Er.Vh),t.rXU(Pi.il),t.rXU(De.ze),t.rXU(Sa.H),t.rXU(xc.UG))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-two-factor-auth"]],viewQuery:function(H,G){if(1&H&&t.GBs(e0,5),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.stepper=Oe.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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),t.EFF(5,"Setup Two Factor Authentication"),t.k0s()(),t.j41(6,"button",6),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",7)(9,"div",8)(10,"mat-vertical-stepper",9,0),t.bIt("selectionChange",function(At){return t.eBV(Oe),t.Njj(G.stepSelectionChanged(At))}),t.j41(12,"mat-step",10)(13,"form",11),t.DNE(14,wc,1,1,"ng-template",12),t.j41(15,"div",1)(16,"mat-form-field",13)(17,"mat-label"),t.EFF(18,"Password"),t.k0s(),t.nrm(19,"input",14),t.DNE(20,ws,2,0,"mat-error",15),t.k0s()(),t.j41(21,"div",16)(22,"button",17),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onAuthenticate())}),t.EFF(23,"Confirm"),t.k0s()()()(),t.DNE(24,vd,19,8,"mat-step",18)(25,bd,5,4,"mat-step",19)(26,Al,5,4,"mat-step",19),t.k0s(),t.j41(27,"div",20)(28,"button",21),t.EFF(29),t.k0s()()()()()()}2&H&&(t.R7$(6),t.Y8G("mat-dialog-close",!1),t.R7$(4),t.Y8G("linear",!0),t.R7$(2),t.Y8G("stepControl",G.passwordFormGroup)("editable",G.flgEditable),t.R7$(),t.Y8G("formGroup",G.passwordFormGroup),t.R7$(7),t.Y8G("ngIf",null==G.passwordFormGroup||null==G.passwordFormGroup.controls||null==G.passwordFormGroup.controls.password||null==G.passwordFormGroup.controls.password.errors?null:G.passwordFormGroup.controls.password.errors.required),t.R7$(4),t.Y8G("ngIf",!G.showDisableStepper),t.R7$(),t.Y8G("ngIf",!G.showDisableStepper),t.R7$(),t.Y8G("ngIf",G.showDisableStepper),t.R7$(2),t.Y8G("mat-dialog-close",!1),t.R7$(),t.JRh(G.flgValidated&&G.isTokenValid?"Close":"Cancel"))},dependencies:[si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.j4,De.JD,Qr.aY,$i.DJ,$i.sA,$i.UI,Er.tx,be.$z,Mr.m2,Mr.MM,Ta.fg,Ne.rl,Ne.nJ,Ne.TL,Ne.yw,wo.V5,wo.Ti,wo.M6,wo.F7,Ll.Um,Cc.U,Mi.N]})}}return F})();var Wt=g(4416),$s=g(3202),rl=g(1997);const Ms=["authForm"];function zu(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Current password is required."),t.k0s())}function n1(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.JRh(v.errorMsg)}}function Bu(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.JRh(v.errorConfirmMsg)}}function t0(F,B){if(1&F){const v=t.RV6();t.j41(0,"form",12,0)(2,"div",13),t.nrm(3,"fa-icon",6),t.j41(4,"span",7),t.EFF(5,"Password"),t.k0s()(),t.j41(6,"mat-form-field")(7,"mat-label"),t.EFF(8,"Current Password"),t.k0s(),t.j41(9,"input",14),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG();return t.DH7(Oe.currPassword,G)||(Oe.currPassword=G),t.Njj(G)}),t.k0s(),t.DNE(10,zu,2,0,"mat-error",15),t.k0s(),t.j41(11,"mat-form-field")(12,"mat-label"),t.EFF(13,"New Password"),t.k0s(),t.j41(14,"input",16),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG();return t.DH7(Oe.newPassword,G)||(Oe.newPassword=G),t.Njj(G)}),t.k0s(),t.DNE(15,n1,2,1,"mat-error",15),t.k0s(),t.j41(16,"mat-form-field")(17,"mat-label"),t.EFF(18,"Confirm New Password"),t.k0s(),t.j41(19,"input",17),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG();return t.DH7(Oe.confirmPassword,G)||(Oe.confirmPassword=G),t.Njj(G)}),t.k0s(),t.DNE(20,Bu,2,1,"mat-error",15),t.k0s(),t.j41(21,"div",18)(22,"button",19),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onResetPassword())}),t.EFF(23,"Reset"),t.k0s(),t.j41(24,"button",20),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onChangePassword())}),t.EFF(25,"Change Password"),t.k0s()()()}if(2&F){const v=t.XpG();t.R7$(3),t.Y8G("icon",v.faLock),t.R7$(6),t.R50("ngModel",v.currPassword),t.R7$(),t.Y8G("ngIf",!v.currPassword),t.R7$(4),t.R50("ngModel",v.newPassword),t.R7$(),t.Y8G("ngIf",v.matchOldAndNewPasswords()),t.R7$(4),t.R50("ngModel",v.confirmPassword),t.R7$(),t.Y8G("ngIf",v.matchNewPasswords())}}let n0=(()=>{class F{constructor(v,H,G,Oe,kt){this.logger=v,this.store=H,this.actions=G,this.router=Oe,this.sessionService=kt,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 Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.appConfig=v,this.logger.info(this.appConfig)}),this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.selNode=v}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,Cr.p)(v=>v.type===Wt.aU.RESET_PASSWORD_RES)).subscribe(v=>{if(Wt.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||Wt.Ah.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,Sn.xw)({payload:{currPassword:zn(this.currPassword).toString(),newPassword:zn(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let v=!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.",v=!0):Wt.Ah.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=Wt.Ah?.reduce((H,G,Oe)=>Oe{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(Pi.il),t.rXU(it.En),t.rXU(Nn.Ix),t.rXU($s.Q))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-auth-settings"]],viewQuery:function(H,G){if(1&H&&t.GBs(Ms,5),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.form=Oe.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(H,G){1&H&&(t.j41(0,"div",1),t.DNE(1,t0,26,7,"form",2),t.nrm(2,"mat-divider",3),t.j41(3,"div",4)(4,"div",5),t.nrm(5,"fa-icon",6),t.j41(6,"span",7),t.EFF(7,"Two Factor Authentication"),t.k0s()(),t.j41(8,"div",8),t.nrm(9,"fa-icon",9),t.j41(10,"span"),t.EFF(11,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),t.k0s()(),t.j41(12,"div",10)(13,"button",11),t.bIt("click",function(){return G.on2FAuth()}),t.EFF(14),t.k0s()()()()),2&H&&(t.R7$(),t.Y8G("ngIf",null==G.appConfig?null:G.appConfig.allowPasswordUpdate),t.R7$(4),t.Y8G("icon",G.faUserClock),t.R7$(4),t.Y8G("icon",G.faInfoCircle),t.R7$(5),t.JRh(G.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,be.$z,Ta.fg,Ne.rl,Ne.nJ,Ne.TL,rl.q,Mi.N]})}}return F})();var hc=g(3902);function r1(F,B){1&F&&t.nrm(0,"mat-divider",7)}function Ec(F,B){if(1&F&&(t.j41(0,"div",4)(1,"pre",5),t.EFF(2),t.nI1(3,"json"),t.k0s(),t.DNE(4,r1,1,0,"mat-divider",6),t.k0s()),2&F){const v=t.XpG();t.R7$(2),t.JRh(t.bMT(3,2,v.configData)),t.R7$(2),t.Y8G("ngIf",""!==v.configData)}}function Qs(F,B){if(1&F&&(t.j41(0,"h2"),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.JRh(v)}}function Zn(F,B){if(1&F&&(t.j41(0,"h4",14),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.JRh(v)}}function a1(F,B){1&F&&t.nrm(0,"mat-divider",15),2&F&&t.Y8G("inset",!0)}function r0(F,B){if(1&F&&(t.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),t.DNE(2,Qs,2,1,"h2",10),t.k0s(),t.j41(3,"mat-card-subtitle",11),t.DNE(4,Zn,2,1,"h4",12),t.k0s(),t.DNE(5,a1,1,1,"mat-divider",13),t.k0s()),2&F){const v=B.$implicit;t.R7$(2),t.Y8G("ngIf",v.indexOf("[")>=0),t.R7$(2),t.Y8G("ngIf",v.indexOf("[")<0),t.R7$(),t.Y8G("ngIf",v.indexOf("[")<0)}}function yd(F,B){if(1&F&&(t.j41(0,"div",8)(1,"mat-list"),t.DNE(2,r0,6,3,"mat-list-item",9),t.k0s()()),2&F){const v=t.XpG();t.R7$(2),t.Y8G("ngForOf",v.configData)}}let a4=(()=>{class F{constructor(v,H,G){this.store=v,this.rtlEffects=H,this.router=G,this.configData="",this.fileFormat="INI",this.faCog=qi.dB,this.unSubs=[new Xi.B,new Xi.B]}ngOnInit(){this.store.dispatch((0,Sn.Dz)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{const H=v.data;this.fileFormat=v.format,this.configData=""===H||!H||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==H&&H&&"JSON"===this.fileFormat?H:"":H.split("\n")})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Pi.il),t.rXU(Sa.H),t.rXU(Nn.Ix))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",0)(1,"div",1),t.DNE(2,Ec,5,4,"div",2)(3,yd,3,1,"div",3),t.k0s()()),2&H&&(t.R7$(2),t.Y8G("ngIf",""!==G.configData&&"JSON"===G.fileFormat),t.R7$(),t.Y8G("ngIf",""!==G.configData&&("INI"===G.fileFormat||"HOCON"===G.fileFormat)))},dependencies:[si.Sq,si.bT,$i.DJ,$i.sA,$i.UI,Mr.Lc,hc.jt,hc.YE,rl.q,si.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return F})();function Vu(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Password is required."),t.k0s())}let o4=(()=>{class F{constructor(v,H,G){this.dialogRef=v,this.store=H,this.rtlEffects=G,this.password="",this.isAuthenticated=!1,this.unSubs=[new Xi.B,new Xi.B]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,_a.s)(1)).subscribe(v=>{"ERROR"!==v?(this.isAuthenticated=!0,this.store.dispatch((0,Sn.R$)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,Sn.oz)({payload:zn(this.password)}))}onClose(){this.store.dispatch((0,Sn.R$)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Er.CP),t.rXU(Pi.il),t.rXU(Sa.H))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t.EFF(5,"Authenticate with your RTL Password"),t.k0s()(),t.j41(6,"button",5),t.bIt("click",function(){return G.onClose()}),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"mat-label"),t.EFF(12,"Password"),t.k0s(),t.j41(13,"input",8),t.mxI("ngModelChange",function(kt){return t.DH7(G.password,kt)||(G.password=kt),kt}),t.k0s(),t.DNE(14,Vu,2,0,"mat-error",9),t.k0s(),t.j41(15,"div",10)(16,"button",11),t.bIt("click",function(){return G.onAuthenticate()}),t.EFF(17,"Confirm"),t.k0s()()()()()()),2&H&&(t.R7$(13),t.R50("ngModel",G.password),t.R7$(),t.Y8G("ngIf",!G.password))},dependencies:[si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,$i.DJ,$i.sA,$i.UI,be.$z,Mr.m2,Mr.MM,Ta.fg,Ne.rl,Ne.nJ,Ne.TL,Mi.N]})}}return F})();const Uu=()=>({initial:!1});function Gu(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",13),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.activeLink=G.links[2].link)}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[2].link),t.Y8G("active",v.activeLink===v.links[2].link)("state",t.lJ4(4,Uu)),t.R7$(),t.JRh(v.links[2].name)}}function kl(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",14),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.activeLink=G.links[3].link)}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[3].link),t.Y8G("active",v.activeLink===v.links[3].link),t.R7$(),t.JRh(v.links[3].name)}}function Hu(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",15),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.showLnConfigClicked())}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.Y8G("active",v.activeLink===v.links[4].link),t.R7$(),t.JRh(v.links[4].name)}}let s4=(()=>{class F{constructor(v,H,G,Oe){this.store=v,this.router=H,this.rtlEffects=G,this.activatedRoute=Oe,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 Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){const v=this.links.find(H=>this.router.url.includes(H.link));this.activeLink=v?v.link:this.links[0].link,this.router.events.pipe((0,dn.Q)(this.unSubs[0]),(0,Cr.p)(H=>H instanceof Nn.gx)).subscribe({next:H=>{const G=this.links.find(Oe=>H.urlAfterRedirects.includes(Oe.link));this.activeLink=G?G.link:this.links[0].link}}),this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[1])).subscribe(H=>{this.appConfig=H}),this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[2])).subscribe(H=>{switch(this.showLnConfig=!1,this.selNode=H,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,Sn.xO)({payload:{maxWidth:"50rem",data:{component:o4}}})),this.rtlEffects.closeAlert.pipe((0,dn.Q)(this.unSubs[3])).subscribe(v=>{v&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))}))}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Pi.il),t.rXU(Nn.Ix),t.rXU(Sa.H),t.rXU(Nn.nX))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1),t.nrm(1,"fa-icon",2),t.j41(2,"span",3),t.EFF(3,"Node Config"),t.k0s()(),t.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.activeLink=G.links[0].link)}),t.EFF(9),t.k0s(),t.j41(10,"div",8),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.activeLink=G.links[1].link)}),t.EFF(11),t.k0s(),t.DNE(12,Gu,2,5,"div",9)(13,kl,2,3,"div",10)(14,Hu,2,2,"div",11),t.k0s(),t.nrm(15,"mat-tab-nav-panel",null,0),t.j41(17,"div",12),t.nrm(18,"router-outlet"),t.k0s()()()()}if(2&H){const Oe=t.sdS(16);t.R7$(),t.Y8G("icon",G.faTools),t.R7$(6),t.Y8G("tabPanel",Oe),t.R7$(),t.FS9("routerLink",G.links[0].link),t.Y8G("active",G.activeLink===G.links[0].link),t.R7$(),t.JRh(G.links[0].name),t.R7$(),t.FS9("routerLink",G.links[1].link),t.Y8G("active",G.activeLink===G.links[1].link),t.R7$(),t.JRh(G.links[1].name),t.R7$(),t.Y8G("ngIf","ECL"!==(null==G.selNode||null==G.selNode.lnImplementation?null:G.selNode.lnImplementation.toUpperCase())),t.R7$(),t.Y8G("ngIf","CLN"===(null==G.selNode||null==G.selNode.lnImplementation?null:G.selNode.lnImplementation.toUpperCase())),t.R7$(),t.Y8G("ngIf",G.showLnConfig)}},dependencies:[si.bT,Qr.aY,$i.DJ,$i.sA,$i.UI,Mr.RN,Mr.m2,la.Bu,la.hQ,la.Ql,Nn.n3,Nn.Wk]})}}return F})();function c4(F,B){1&F&&t.nrm(0,"mat-divider",7)}function al(F,B){if(1&F&&(t.j41(0,"div",4)(1,"pre",5),t.EFF(2),t.nI1(3,"json"),t.k0s(),t.DNE(4,c4,1,0,"mat-divider",6),t.k0s()),2&F){const v=t.XpG();t.R7$(2),t.JRh(t.bMT(3,2,v.configData)),t.R7$(2),t.Y8G("ngIf",""!==v.configData)}}function L2(F,B){if(1&F&&(t.j41(0,"h2"),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.JRh(v)}}function Ri(F,B){if(1&F&&(t.j41(0,"h4",14),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.JRh(v)}}function ur(F,B){1&F&&t.nrm(0,"mat-divider",15),2&F&&t.Y8G("inset",!0)}function D2(F,B){if(1&F&&(t.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),t.DNE(2,L2,2,1,"h2",10),t.k0s(),t.j41(3,"mat-card-subtitle",11),t.DNE(4,Ri,2,1,"h4",12),t.k0s(),t.DNE(5,ur,1,1,"mat-divider",13),t.k0s()),2&F){const v=B.$implicit;t.R7$(2),t.Y8G("ngIf",v.indexOf("[")>=0),t.R7$(2),t.Y8G("ngIf",v.indexOf("[")<0),t.R7$(),t.Y8G("ngIf",v.indexOf("[")<0)}}function A2(F,B){if(1&F&&(t.j41(0,"div",8)(1,"mat-list"),t.DNE(2,D2,6,3,"mat-list-item",9),t.k0s()()),2&F){const v=t.XpG();t.R7$(2),t.Y8G("ngForOf",v.configData)}}let Hr=(()=>{class F{constructor(v,H,G){this.store=v,this.rtlEffects=H,this.router=G,this.configData="",this.fileFormat="INI",this.faCog=qi.dB,this.unSubs=[new Xi.B,new Xi.B]}ngOnInit(){this.store.dispatch((0,Sn.Dz)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{const H=v.data;this.fileFormat=v.format,this.configData=""===H||!H||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==H&&H&&"JSON"===this.fileFormat?H:"":H.split("\n")})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Pi.il),t.rXU(Sa.H),t.rXU(Nn.Ix))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",0)(1,"div",1),t.DNE(2,al,5,4,"div",2)(3,A2,3,1,"div",3),t.k0s()()),2&H&&(t.R7$(2),t.Y8G("ngIf",""!==G.configData&&"JSON"===G.fileFormat),t.R7$(),t.Y8G("ngIf",""!==G.configData&&("INI"===G.fileFormat||"HOCON"===G.fileFormat)))},dependencies:[si.Sq,si.bT,$i.DJ,$i.sA,$i.UI,Mr.Lc,hc.jt,hc.YE,rl.q,si.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return F})();var is=g(2571),Go=g(6038),Br=g(9454),Il=g(5951),Rl=g(450);const ju=F=>({skin:!0,"selected-color":F});function Rp(F,B){if(1&F&&(t.j41(0,"span",41),t.nrm(1,"fa-icon",42),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.Y8G("icon",v.symbol)}}function Op(F,B){if(1&F&&(t.j41(0,"span",41),t.nrm(1,"span",43),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.Y8G("innerHTML",v.symbol,t.npT)}}function o1(F,B){if(1&F&&(t.j41(0,"mat-option",39),t.DNE(1,Rp,2,1,"span",40)(2,Op,2,1,"span",40),t.EFF(3),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v.id),t.R7$(),t.Y8G("ngIf",v&&"FA"===v.iconType),t.R7$(),t.Y8G("ngIf",v&&"SVG"===v.iconType),t.R7$(),t.Lme(" ",v.name," (",v.id,") ")}}function Wu(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Currency unit is required."),t.k0s())}function a0(F,B){if(1&F&&(t.j41(0,"mat-radio-button",44),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.Y8G("value",v)("checked",H.selNode.settings.userPersona===v),t.R7$(),t.SpI(" ",t.bMT(2,3,v)," ")}}function ms(F,B){if(1&F&&(t.j41(0,"mat-radio-button",45),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v),t.R7$(),t.SpI("",v.name," ")}}function Ns(F,B){if(1&F){const v=t.RV6();t.j41(0,"span",46)(1,"div",47),t.nI1(2,"lowercase"),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG();return t.Njj(Oe.changeThemeColor(G.id))}),t.k0s(),t.EFF(3),t.k0s()}if(2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.HbH(t.bMT(2,4,v.id)),t.Y8G("ngClass",t.eq3(6,ju,H.selectedThemeColor===v.id)),t.R7$(2),t.SpI(" ",v.name," ")}}let k2=(()=>{class F{constructor(v,H,G,Oe){this.logger=v,this.commonService=H,this.store=G,this.sanitizer=Oe,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=[Wt.HW.OPERATOR,Wt.HW.MERCHANT],this.currencyUnits=Wt.Zi,this.themeModes=Wt.Bv.modes,this.themeColors=Wt.Bv.themes,this.selectedThemeMode=Wt.Bv.modes[0],this.selectedThemeColor=Wt.Bv.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=Wt.f7,this.unSubs=[new Xi.B,new Xi.B],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.currencyUnits.map(v=>("SVG"===v.iconType&&"string"==typeof v.symbol&&(v.symbol=v.symbol.replace('{this.selNode=JSON.parse(JSON.stringify(v)),this.selectedThemeMode=this.themeModes.find(H=>this.selNode.settings.themeMode===H.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(v)})}toggleSettings(v,H){this.selNode.settings[v]=!this.selNode.settings[v]}changeThemeColor(v){this.selectedThemeColor=v,this.selNode.settings.themeColor=v}chooseThemeMode(){this.selNode.settings.themeMode=this.selectedThemeMode.id}onFiatConversionChange(v){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,Sn.T$)({payload:this.selNode}))}onResetSettings(){const v=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(H=>H.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,Sn.Qi)({payload:{uiMessage:Wt.MZ.NO_SPINNER,prevLnNodeIndex:+v,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(is.h),t.rXU(Pi.il),t.rXU(e.up))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.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"),t.nrm(7,"fa-icon",6),t.j41(8,"span",7),t.EFF(9,"Block Explorer"),t.k0s()()(),t.j41(10,"div",8)(11,"div",9),t.nrm(12,"fa-icon",10),t.j41(13,"span"),t.EFF(14,"Configure your own blockchain explorer url or "),t.j41(15,"strong")(16,"a",11),t.EFF(17,"mempool.space"),t.k0s()(),t.EFF(18," will be used."),t.k0s()(),t.j41(19,"div",12)(20,"mat-form-field",13)(21,"mat-label"),t.EFF(22,"Block Explorer URL"),t.k0s(),t.j41(23,"input",14),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.settings.blockExplorerUrl,At)||(G.selNode.settings.blockExplorerUrl=At),t.Njj(At)}),t.k0s(),t.j41(24,"mat-hint"),t.EFF(25,"Blockchain explorer URL, eg. https://mempool.space or https://blockstream.info"),t.k0s()()()()(),t.j41(26,"mat-expansion-panel",5)(27,"mat-expansion-panel-header")(28,"mat-panel-title"),t.nrm(29,"fa-icon",6),t.j41(30,"span",7),t.EFF(31,"Open Unannounced Channels"),t.k0s()()(),t.j41(32,"div",8)(33,"div",15),t.nrm(34,"fa-icon",10),t.j41(35,"span"),t.EFF(36,"Use this control to toggle setting which defaults to opening unannounced channels only."),t.k0s()(),t.j41(37,"div",12)(38,"mat-slide-toggle",16),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.settings.unannouncedChannels,At)||(G.selNode.settings.unannouncedChannels=At),t.Njj(At)}),t.bIt("change",function(){return t.eBV(Oe),t.Njj(!G.selNode.settings.unannouncedChannels)}),t.EFF(39,"Open Unannounced Channels"),t.k0s()()()(),t.j41(40,"mat-expansion-panel",5)(41,"mat-expansion-panel-header")(42,"mat-panel-title"),t.nrm(43,"fa-icon",6),t.j41(44,"span",7),t.EFF(45,"Balance Display"),t.k0s()()(),t.j41(46,"div",8)(47,"div",9),t.nrm(48,"fa-icon",10),t.j41(49,"span"),t.EFF(50,"Fiat conversion calls "),t.j41(51,"strong")(52,"a",17),t.EFF(53,"Blockchain.com"),t.k0s()(),t.EFF(54," API to get conversion rates."),t.k0s()(),t.j41(55,"div",12)(56,"mat-slide-toggle",18),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.settings.fiatConversion,At)||(G.selNode.settings.fiatConversion=At),t.Njj(At)}),t.bIt("change",function(At){return t.eBV(Oe),t.Njj(G.onFiatConversionChange(At))}),t.EFF(57,"Enable Fiat Conversion"),t.k0s(),t.j41(58,"mat-form-field",19)(59,"mat-label"),t.EFF(60,"Fiat Currency"),t.k0s(),t.j41(61,"mat-select",20,1),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.settings.currencyUnit,At)||(G.selNode.settings.currencyUnit=At),t.Njj(At)}),t.DNE(63,o1,4,5,"mat-option",21),t.k0s(),t.DNE(64,Wu,2,0,"mat-error",22),t.k0s()()()(),t.j41(65,"mat-expansion-panel",5)(66,"mat-expansion-panel-header")(67,"mat-panel-title"),t.nrm(68,"fa-icon",6),t.j41(69,"span",7),t.EFF(70,"Customization"),t.k0s()()(),t.j41(71,"div",8)(72,"div",23),t.nrm(73,"fa-icon",10),t.j41(74,"span"),t.EFF(75,"Dashboard layout will be tailored based on the role selected to better serve its needs."),t.k0s()(),t.j41(76,"div",24)(77,"h4"),t.EFF(78,"Dashboard Layout"),t.k0s(),t.j41(79,"mat-radio-group",25),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.settings.userPersona,At)||(G.selNode.settings.userPersona=At),t.Njj(At)}),t.DNE(80,a0,3,5,"mat-radio-button",26),t.k0s()(),t.nrm(81,"mat-divider",27),t.j41(82,"div",28)(83,"h4"),t.EFF(84,"Mode"),t.k0s(),t.j41(85,"mat-radio-group",29),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selectedThemeMode,At)||(G.selectedThemeMode=At),t.Njj(At)}),t.bIt("change",function(){return t.eBV(Oe),t.Njj(G.chooseThemeMode())}),t.DNE(86,ms,2,2,"mat-radio-button",30),t.k0s()(),t.nrm(87,"mat-divider",27),t.j41(88,"div",31)(89,"div",32)(90,"h4"),t.EFF(91,"Themes"),t.k0s(),t.j41(92,"div",33),t.DNE(93,Ns,4,8,"span",34),t.k0s()()()()()()(),t.j41(94,"div",35)(95,"div",36)(96,"button",37),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onResetSettings())}),t.EFF(97,"Reset"),t.k0s(),t.j41(98,"button",38),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onUpdateNodeSettings())}),t.EFF(99,"Update"),t.k0s()()()()}2&H&&(t.R7$(7),t.Y8G("icon",G.faBarsStaggered),t.R7$(5),t.Y8G("icon",G.faExclamationTriangle),t.R7$(11),t.R50("ngModel",G.selNode.settings.blockExplorerUrl),t.R7$(6),t.Y8G("icon",G.faEyeSlash),t.R7$(5),t.Y8G("icon",G.faInfoCircle),t.R7$(4),t.R50("ngModel",G.selNode.settings.unannouncedChannels),t.R7$(5),t.Y8G("icon",G.faMoneyBillAlt),t.R7$(5),t.Y8G("icon",G.faExclamationTriangle),t.R7$(8),t.R50("ngModel",G.selNode.settings.fiatConversion),t.R7$(5),t.Y8G("disabled",!G.selNode.settings.fiatConversion)("required",G.selNode.settings.fiatConversion),t.R50("ngModel",G.selNode.settings.currencyUnit),t.R7$(2),t.Y8G("ngForOf",G.currencyUnits),t.R7$(),t.Y8G("ngIf",G.selNode.settings.fiatConversion&&!G.selNode.settings.currencyUnit),t.R7$(4),t.Y8G("icon",G.faPaintBrush),t.R7$(5),t.Y8G("icon",G.faInfoCircle),t.R7$(6),t.R50("ngModel",G.selNode.settings.userPersona),t.R7$(),t.Y8G("ngForOf",G.userPersonas),t.R7$(5),t.R50("ngModel",G.selectedThemeMode),t.R7$(),t.Y8G("ngForOf",G.themeModes),t.R7$(7),t.Y8G("ngForOf",G.themeColors))},dependencies:[si.YU,si.Sq,si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,Go.PW,be.$z,Br.BS,Br.GK,Br.Z2,Br.WN,Ta.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,rl.q,Il.VT,Il._g,ft.VO,Rt.wT,Rl.sG,Jt.Ld,Mi.N,si.GH,si.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 F})();var ns=g(9584),uc=g(3536),La=g(8430),Oa=g(190),Xu=g(2730),Ha=g(5428),Vc=g(9213),Sc=g(4823),Uc=g(2929);const Es=F=>({error:F}),l4=F=>({"error-border":F}),s1=F=>({"ml-minus-1":F}),I2=F=>({"error-border p-2":F});function Ol(F,B){if(1&F&&t.eu8(0,14),2&F){const v=t.XpG(),H=t.sdS(18);t.Y8G("ngTemplateOutlet",H)("ngTemplateOutletContext",t.eq3(2,Es,v.errorMessage))}}function c1(F,B){if(1&F&&(t.j41(0,"mat-option",31),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v),t.R7$(),t.SpI(" ",v," ")}}function Yu(F,B){if(1&F&&(t.j41(0,"mat-option",31),t.EFF(1),t.nI1(2,"camelCaseWithSpaces"),t.nI1(3,"camelcaseWithReplace"),t.k0s()),2&F){const v=B.$implicit,H=t.XpG(3);t.Y8G("value",v),t.R7$(),t.SpI(" ","ECL"===H.selNode.lnImplementation?t.bMT(2,2,v):t.i5U(3,4,v,"_")," ")}}function R2(F,B){if(1&F&&(t.j41(0,"mat-option",31),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v),t.R7$(),t.SpI(" ","desc"===v?"Descending":"Ascending"," ")}}function Tc(F,B){if(1&F&&(t.j41(0,"mat-option",34),t.EFF(1),t.nI1(2,"camelCaseWithSpaces"),t.nI1(3,"camelcaseWithReplace"),t.k0s()),2&F){const v=B.$implicit,H=t.XpG(2).$implicit,G=t.XpG(2);t.Y8G("value",v.column)("disabled",H.columnSelection.length<=2&&H.columnSelection.includes(v.column)),t.R7$(),t.SpI(" ",v.label?v.label:"ECL"===G.selNode.lnImplementation?t.bMT(2,3,v.column):t.i5U(3,5,v.column,"_")," ")}}function O2(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-form-field",32)(1,"mat-label"),t.EFF(2,"Column selection (Desktop Resolution)"),t.k0s(),t.j41(3,"mat-select",33),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG().$implicit;return t.DH7(Oe.columnSelection,G)||(Oe.columnSelection=G),t.Njj(G)}),t.bIt("selectionChange",function(){t.eBV(v);const G=t.XpG().$implicit,Oe=t.XpG(2);return t.Njj(Oe.oncolumnSelectionChange(G))}),t.DNE(4,Tc,4,8,"mat-option",28),t.k0s()()}if(2&F){const v=t.XpG().$implicit,H=t.XpG().$implicit,G=t.XpG();t.R7$(3),t.FCK("name","",H.pageId,"",v.tableId,"-columns-selection"),t.R50("ngModel",v.columnSelection),t.R7$(),t.Y8G("ngForOf",G.nodePageDefs[H.pageId][v.tableId].allowedColumns)}}function qa(F,B){if(1&F&&(t.j41(0,"mat-option",34),t.EFF(1),t.nI1(2,"camelCaseWithSpaces"),t.nI1(3,"camelcaseWithReplace"),t.k0s()),2&F){const v=B.$implicit,H=t.XpG().$implicit,G=t.XpG(2);t.Y8G("value",v.column)("disabled",H.columnSelectionSM.length<=1&&H.columnSelectionSM.includes(v.column)||H.columnSelectionSM.length>=3&&!H.columnSelectionSM.includes(v.column)),t.R7$(),t.SpI(" ",v.label?v.label:"ECL"===G.selNode.lnImplementation?t.bMT(2,3,v.column):t.i5U(3,5,v.column,"_")," ")}}function ol(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",17)(1,"div",18)(2,"span",19),t.EFF(3),t.nI1(4,"camelcaseWithReplace"),t.k0s(),t.j41(5,"mat-form-field",20)(6,"mat-label"),t.EFF(7,"Records/Page"),t.k0s(),t.j41(8,"mat-select",21),t.mxI("ngModelChange",function(G){const Oe=t.eBV(v).$implicit;return t.DH7(Oe.recordsPerPage,G)||(Oe.recordsPerPage=G),t.Njj(G)}),t.DNE(9,c1,2,2,"mat-option",22),t.k0s()(),t.j41(10,"mat-form-field",20)(11,"mat-label"),t.EFF(12,"Sort By"),t.k0s(),t.j41(13,"mat-select",23),t.mxI("ngModelChange",function(G){const Oe=t.eBV(v).$implicit;return t.DH7(Oe.sortBy,G)||(Oe.sortBy=G),t.Njj(G)}),t.DNE(14,Yu,4,7,"mat-option",22),t.k0s()(),t.j41(15,"mat-form-field",20)(16,"mat-label"),t.EFF(17,"Sort Order"),t.k0s(),t.j41(18,"mat-select",24),t.mxI("ngModelChange",function(G){const Oe=t.eBV(v).$implicit;return t.DH7(Oe.sortOrder,G)||(Oe.sortOrder=G),t.Njj(G)}),t.DNE(19,R2,2,2,"mat-option",22),t.k0s()(),t.DNE(20,O2,5,5,"mat-form-field",25),t.j41(21,"mat-form-field",26)(22,"mat-label"),t.EFF(23,"Column Selection (Mobile Resolution)"),t.k0s(),t.j41(24,"mat-select",27),t.mxI("ngModelChange",function(G){const Oe=t.eBV(v).$implicit;return t.DH7(Oe.columnSelectionSM,G)||(Oe.columnSelectionSM=G),t.Njj(G)}),t.DNE(25,qa,4,8,"mat-option",28),t.k0s()(),t.j41(26,"button",29),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG().$implicit,kt=t.XpG();return t.Njj(kt.onTableReset(Oe.pageId,G))}),t.j41(27,"mat-icon",30),t.EFF(28,"restore"),t.k0s()()()()}if(2&F){const v=B.$implicit,H=t.XpG().$implicit,G=t.XpG();t.R7$(3),t.SpI("",t.i5U(4,24,v.tableId,"_"),":"),t.R7$(5),t.FCK("name","",H.pageId,"",v.tableId,"-page-size-options"),t.Y8G("disabled",G.nodePageDefs[H.pageId][v.tableId].disablePageSize),t.R50("ngModel",v.recordsPerPage),t.R7$(),t.Y8G("ngForOf",G.pageSizeOptions),t.R7$(4),t.FCK("name","",H.pageId,"",v.tableId,"-sort-by"),t.R50("ngModel",v.sortBy),t.R7$(),t.Y8G("ngForOf",v.columnSelection),t.R7$(4),t.FCK("name","",H.pageId,"",v.tableId,"-sort-order"),t.R50("ngModel",v.sortOrder),t.R7$(),t.Y8G("ngForOf",G.sortOrders),t.R7$(),t.Y8G("ngIf",G.screenSize!==G.screenSizeEnum.XS),t.R7$(4),t.FCK("name","",H.pageId,"",v.tableId,"-columns-selection-sm"),t.R50("ngModel",v.columnSelectionSM),t.R7$(),t.Y8G("ngForOf",G.nodePageDefs[H.pageId][v.tableId].allowedColumns),t.R7$(2),t.Y8G("ngClass",t.eq3(27,s1,G.screenSize===G.screenSizeEnum.XS||G.screenSize===G.screenSizeEnum.SM))}}function oa(F,B){if(1&F&&t.eu8(0,14),2&F){const v=t.XpG(2),H=t.sdS(18);t.Y8G("ngTemplateOutlet",H)("ngTemplateOutletContext",t.eq3(2,Es,v.errorMessage))}}function sl(F,B){if(1&F&&(t.j41(0,"mat-expansion-panel",15)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t.EFF(3),t.nI1(4,"camelcaseWithReplace"),t.k0s()(),t.DNE(5,ol,29,29,"div",16)(6,oa,1,4,"ng-container",7),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.Y8G("ngClass",t.eq3(7,l4,(null==H.errorMessage?null:H.errorMessage.page)===v.pageId)),t.R7$(3),t.JRh(t.i5U(4,4,v.pageId,"_")),t.R7$(2),t.Y8G("ngForOf",v.tables),t.R7$(),t.Y8G("ngIf",H.errorMessage&&(null==H.errorMessage?null:H.errorMessage.page)===v.pageId)}}function F2(F,B){if(1&F&&(t.j41(0,"mat-panel-title"),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&F){const v=t.XpG().error;t.R7$(),t.SpI("Page ",t.bMT(2,1,v.page),"")}}function N2(F,B){if(1&F&&(t.j41(0,"mat-list-item")(1,"mat-icon",39),t.EFF(2,"close"),t.k0s(),t.j41(3,"span"),t.EFF(4),t.k0s()()),2&F){const v=t.XpG().error;t.R7$(4),t.JRh(v.message)}}function d4(F,B){if(1&F&&(t.j41(0,"mat-list-item")(1,"mat-icon",39),t.EFF(2,"close"),t.k0s(),t.j41(3,"span"),t.EFF(4),t.nI1(5,"titlecase"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(4),t.Lme("Table ",t.bMT(5,2,v.table)," ",v.message,"")}}function Ku(F,B){if(1&F&&(t.j41(0,"div",35),t.DNE(1,F2,3,3,"mat-panel-title",36),t.j41(2,"mat-list",37),t.DNE(3,N2,5,1,"mat-list-item",36)(4,d4,6,4,"mat-list-item",38),t.k0s()()),2&F){const v=B.error,H=t.XpG();t.Y8G("ngClass",t.eq3(4,I2,"unknown"===H.errorMessage.page)),t.R7$(),t.Y8G("ngIf","unknown"===H.errorMessage.page),t.R7$(2),t.Y8G("ngIf",v.message),t.R7$(),t.Y8G("ngForOf",v.tables)}}let $u=(()=>{class F{constructor(v,H,G,Oe){this.logger=v,this.commonService=H,this.store=G,this.actions=Oe,this.faPenRuler=qi.$$g,this.faExclamationTriangle=qi.zpE,this.screenSize="",this.screenSizeEnum=Wt.f7,this.pageSizeOptions=Wt.xp,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=Wt.jG,this.apiCallStatus=null,this.apiCallStatusEnum=Wt.wn,this.errorMessage=null,this.unSubs=[new Xi.B,new Xi.B,new Xi.B,new Xi.B],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{switch(this.selNode=v,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],Wt.mu),this.defaultSettings=Object.assign([],Wt.mu),this.nodePageDefs=Wt.Jd,this.store.select(ns.av).pipe((0,dn.Q)(this.unSubs[1]),(0,rc.E)(this.store.select(vr._c))).subscribe(([H,G])=>{const Oe=JSON.parse(JSON.stringify(H.pageSettings));if(this.errorMessage=null,this.apiCallStatus=H.apiCallStatus,this.apiCallStatus.status===Wt.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Oe,this.initialPageSettings=Oe;else{if(!G?.settings.enableOffers){const kt=Oe.find(ui=>"transactions"===ui.pageId),At=kt?.tables.findIndex(ui=>"offers"===ui.tableId),oi=kt?.tables.findIndex(ui=>"offer_bookmarks"===ui.tableId);At>-1&&kt?.tables.splice(At,1),oi>-1&&kt?.tables.splice(oi,1)}if(!G?.settings.enablePeerswap){const kt=Oe.findIndex(At=>"peerswap"===At.pageId);kt>-1&&Oe.splice(kt,1)}this.pageSettings=Oe,this.initialPageSettings=Oe}this.logger.info(Oe)}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,Cr.p)(H=>H.type===Wt.TC.UPDATE_API_CALL_STATUS_CLN||H.type===Wt.TC.SAVE_PAGE_SETTINGS_CLN)).subscribe(H=>{H.type===Wt.TC.UPDATE_API_CALL_STATUS_CLN&&H.payload.status===Wt.wn.ERROR&&"SavePageSettings"===H.payload.action&&(this.errorMessage=JSON.parse(H.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],Wt.X8),this.defaultSettings=Object.assign([],Wt.X8),this.nodePageDefs=Wt.WW,this.store.select(Xu.jZ).pipe((0,dn.Q)(this.unSubs[1])).subscribe(H=>{const G=JSON.parse(JSON.stringify(H.pageSettings));this.errorMessage=null,this.apiCallStatus=H.apiCallStatus,this.apiCallStatus.status===Wt.wn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=G,this.initialPageSettings=G):(this.pageSettings=G,this.initialPageSettings=G),this.logger.info(G)}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,Cr.p)(H=>H.type===Wt.Uu.UPDATE_API_CALL_STATUS_ECL||H.type===Wt.Uu.SAVE_PAGE_SETTINGS_ECL)).subscribe(H=>{H.type===Wt.Uu.UPDATE_API_CALL_STATUS_ECL&&H.payload.status===Wt.wn.ERROR&&"SavePageSettings"===H.payload.action&&(this.errorMessage=JSON.parse(H.payload.message))});break;default:this.initialPageSettings=Object.assign([],Wt.ZC),this.defaultSettings=Object.assign([],Wt.ZC),this.nodePageDefs=Wt._1,this.store.select(uc.$G).pipe((0,dn.Q)(this.unSubs[1]),(0,rc.E)(this.store.select(vr._c))).subscribe(([H,G])=>{const Oe=JSON.parse(JSON.stringify(H.pageSettings));if(this.errorMessage=null,this.apiCallStatus=H.apiCallStatus,this.apiCallStatus.status===Wt.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Oe,this.initialPageSettings=Oe;else{if(!G?.settings.swapServerUrl||""===G.settings.swapServerUrl.trim()){const kt=Oe.findIndex(At=>"loop"===At.pageId);kt>-1&&Oe.splice(kt,1)}if(!G?.settings.boltzServerUrl||""===G.settings.boltzServerUrl.trim()){const kt=Oe.findIndex(At=>"boltz"===At.pageId);kt>-1&&Oe.splice(kt,1)}if(!G?.settings.enablePeerswap){const kt=Oe.findIndex(At=>"peerswap"===At.pageId);kt>-1&&Oe.splice(kt,1)}this.pageSettings=Oe,this.initialPageSettings=Oe}this.logger.info(Oe)}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,Cr.p)(H=>H.type===Wt.QP.UPDATE_API_CALL_STATUS_LND||H.type===Wt.QP.SAVE_PAGE_SETTINGS_LND)).subscribe(H=>{H.type===Wt.QP.UPDATE_API_CALL_STATUS_LND&&H.payload.status===Wt.wn.ERROR&&"SavePageSettings"===H.payload.action&&(this.errorMessage=JSON.parse(H.payload.message))})}})}oncolumnSelectionChange(v){v.columnSelection&&(!v.sortBy||!v.columnSelection.includes(v.sortBy))&&(v.sortBy=v.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((v,H)=>v||H.tables.reduce((G,Oe)=>!(Oe.recordsPerPage&&Oe.sortBy&&Oe.sortOrder&&Oe.columnSelection&&Oe.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,La.Sn)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,Ha.Sn)({payload:this.pageSettings}));break;default:this.store.dispatch((0,Oa.Sn)({payload:this.pageSettings}))}}onTableReset(v,H){const G=this.pageSettings.findIndex(At=>At.pageId===v),Oe=this.pageSettings[G].tables.findIndex(At=>At.tableId===H.tableId),kt=this.defaultSettings.find(At=>At.pageId===v)?.tables.find(At=>At.tableId===H.tableId)||this.pageSettings.find(At=>At.pageId===v)?.tables.find(At=>At.tableId===H.tableId);this.pageSettings[G].tables.splice(Oe,1,kt)}onResetPageSettings(v){"current"===v?(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(v=>{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(is.h),t.rXU(Pi.il),t.rXU(it.En))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",2)(1,"form",3,0)(3,"div",4),t.nrm(4,"fa-icon",5),t.j41(5,"span",6),t.EFF(6,"Grid Settings"),t.k0s()(),t.DNE(7,Ol,1,4,"ng-container",7),t.j41(8,"mat-accordion",8),t.DNE(9,sl,7,9,"mat-expansion-panel",9),t.k0s()(),t.j41(10,"div",10)(11,"button",11),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onResetPageSettings("current"))}),t.EFF(12,"Reset"),t.k0s(),t.j41(13,"button",12),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onResetPageSettings("default"))}),t.EFF(14,"Reset to Default"),t.k0s(),t.j41(15,"button",13),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onUpdatePageSettings())}),t.EFF(16,"Save"),t.k0s()()(),t.DNE(17,Ku,5,6,"ng-template",null,1,t.C5r)}2&H&&(t.R7$(4),t.Y8G("icon",G.faPenRuler),t.R7$(3),t.Y8G("ngIf",G.errorMessage&&"unknown"===G.errorMessage.page),t.R7$(2),t.Y8G("ngForOf",G.pageSettings))},dependencies:[si.YU,si.Sq,si.bT,si.T3,De.qT,De.BC,De.cb,De.YS,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,Go.PW,be.$z,be.iY,Br.BS,Br.GK,Br.Z2,Br.WN,Vc.An,Ne.rl,Ne.nJ,hc.jt,hc.YE,ft.VO,Rt.wT,Sc.oV,Jt.Ld,si.PV,Uc.VD,Uc.Qu],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]})}}return F})();function l1(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.setActiveLink(G.links[0].link))}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[0].link),t.Y8G("active",v.activeLink===v.links[0].link),t.R7$(),t.JRh(v.links[0].name)}}function Lc(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",12),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.setActiveLink(G.links[1].link))}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[1].link),t.Y8G("active",v.activeLink===v.links[1].link),t.R7$(),t.JRh(v.links[1].name)}}function h4(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",13),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.setActiveLink(G.links[2].link))}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG();t.FS9("routerLink",v.links[2].link),t.Y8G("active",v.activeLink===v.links[2].link),t.R7$(),t.JRh(v.links[2].name)}}let o0=(()=>{class F{constructor(v,H,G){this.store=v,this.router=H,this.activatedRoute=G,this.faLayerGroup=qi.qIE,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"noservice",name:"No Service"}],this.activeLink="",this.unSubs=[new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.setActiveLink(),this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.selNode=v,this.setActiveLink(),this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})})}setActiveLink(v){if(v&&""!==v)this.activeLink=v;else{const H=this.links.find(G=>this.router.url.includes(G.link));this.activeLink=H?this.selNode&&"CLN"===this.selNode.lnImplementation?this.links[1].link:H.link:this.links[this.links.length-1].link}}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Pi.il),t.rXU(Nn.Ix),t.rXU(Nn.nX))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H&&(t.j41(0,"div",1)(1,"div",2),t.nrm(2,"fa-icon",3),t.j41(3,"span",4),t.EFF(4,"Services"),t.k0s()()(),t.j41(5,"div",5)(6,"mat-card")(7,"mat-card-content",5)(8,"nav",6),t.DNE(9,l1,2,3,"div",7)(10,Lc,2,3,"div",8)(11,h4,2,3,"div",9),t.k0s(),t.nrm(12,"mat-tab-nav-panel",null,0),t.j41(14,"div",10),t.nrm(15,"router-outlet"),t.k0s()()()()),2&H){const Oe=t.sdS(13);t.R7$(2),t.Y8G("icon",G.faLayerGroup),t.R7$(6),t.Y8G("tabPanel",Oe),t.R7$(),t.Y8G("ngIf","LND"===G.selNode.lnImplementation),t.R7$(),t.Y8G("ngIf","ECL"!==G.selNode.lnImplementation),t.R7$(),t.Y8G("ngIf","ECL"===G.selNode.lnImplementation)}},dependencies:[si.bT,Qr.aY,$i.DJ,$i.sA,$i.UI,Mr.RN,Mr.m2,la.Bu,la.hQ,la.Ql,Nn.n3,Nn.Wk]})}}return F})();const xd=["form"];function Cd(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Loop server URL is required."),t.k0s())}function s0(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Specify the loop server url with 'https://'."),t.k0s())}function Gc(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Loop macaroon path is required."),t.k0s())}let d1=(()=>{class F{constructor(v,H){this.logger=v,this.store=H,this.faInfoCircle=qi.iW_,this.enableLoop=!1,this.unSubs=[new Xi.B,new Xi.B]}ngOnInit(){this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.selNode=v,this.enableLoop=!(!v.settings.swapServerUrl||""===v.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(v)})}onEnableServiceChanged(v){this.enableLoop=v.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,Sn.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(v=>{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(Pi.il))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-loop-service-settings"]],viewQuery:function(H,G){if(1&H&&t.GBs(xd,7),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.form=Oe.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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",2)(1,"div",3),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.EFF(4,"Please ensure that "),t.j41(5,"strong"),t.EFF(6,"loopd"),t.k0s(),t.EFF(7," is running and accessible to RTL before enabling this service. Click "),t.j41(8,"strong")(9,"a",5),t.EFF(10,"here"),t.k0s()(),t.EFF(11," to learn more about the installation."),t.k0s()(),t.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.enableLoop,At)||(G.enableLoop=At),t.Njj(At)}),t.bIt("change",function(At){return t.eBV(Oe),t.Njj(G.onEnableServiceChanged(At))}),t.EFF(16,"Enable Loop Service"),t.k0s(),t.j41(17,"mat-form-field",9)(18,"mat-label"),t.EFF(19,"Loop Server URL"),t.k0s(),t.j41(20,"input",10,1),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.settings.swapServerUrl,At)||(G.selNode.settings.swapServerUrl=At),t.Njj(At)}),t.k0s(),t.j41(22,"mat-hint"),t.EFF(23,"Service url for loop server REST APIs, eg. https://127.0.0.1:8081"),t.k0s(),t.DNE(24,Cd,2,0,"mat-error",11)(25,s0,2,0,"mat-error",11),t.k0s(),t.j41(26,"mat-form-field")(27,"mat-label"),t.EFF(28,"Loop Macaroon Path"),t.k0s(),t.j41(29,"input",12),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selNode.authentication.swapMacaroonPath,At)||(G.selNode.authentication.swapMacaroonPath=At),t.Njj(At)}),t.k0s(),t.j41(30,"mat-hint"),t.EFF(31,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),t.k0s(),t.DNE(32,Gc,2,0,"mat-error",11),t.k0s()()(),t.j41(33,"div",13)(34,"button",14),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onReset())}),t.EFF(35,"Reset"),t.k0s(),t.j41(36,"button",15),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onUpdateService())}),t.EFF(37,"Update"),t.k0s()()()}if(2&H){const Oe=t.sdS(21);t.R7$(2),t.Y8G("icon",G.faInfoCircle),t.R7$(13),t.R50("ngModel",G.enableLoop),t.R7$(5),t.Y8G("required",G.enableLoop)("disabled",!G.enableLoop),t.R50("ngModel",G.selNode.settings.swapServerUrl),t.R7$(4),t.Y8G("ngIf",!G.selNode.settings.swapServerUrl&&G.enableLoop),t.R7$(),t.Y8G("ngIf",(null==Oe||null==Oe.errors?null:Oe.errors.invalid)&&G.enableLoop),t.R7$(4),t.Y8G("required",G.enableLoop)("disabled",!G.enableLoop),t.R50("ngModel",G.selNode.authentication.swapMacaroonPath),t.R7$(3),t.Y8G("ngIf",!G.selNode.authentication.swapMacaroonPath&&G.enableLoop)}},dependencies:[si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,be.$z,Ta.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,Rl.sG,Jt.Ld,Mi.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return F})();const h1=["form"];function cl(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Boltz server URL is required."),t.k0s())}function wd(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Specify the boltz server url with 'https://'."),t.k0s())}function ll(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Boltz macaroon path is required."),t.k0s())}let c0=(()=>{class F{constructor(v,H){this.logger=v,this.store=H,this.faInfoCircle=qi.iW_,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new Xi.B,new Xi.B]}ngOnInit(){this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.selNode=v,this.enableBoltz=!(!v.settings.boltzServerUrl||""===v.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(v)})}onEnableServiceChanged(v){this.enableBoltz=v.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,Sn.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(v=>{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(Pi.il))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(H,G){if(1&H&&t.GBs(h1,7),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.form=Oe.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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",2)(1,"div",3),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.EFF(4,"Please ensure that "),t.j41(5,"strong"),t.EFF(6,"boltzd"),t.k0s(),t.EFF(7," is running and accessible to RTL before enabling this service. Click "),t.j41(8,"strong")(9,"a",5),t.EFF(10,"here"),t.k0s()(),t.EFF(11," to learn more about the installation."),t.k0s()(),t.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.enableBoltz,At)||(G.enableBoltz=At),t.Njj(At)}),t.bIt("change",function(At){return t.eBV(Oe),t.Njj(G.onEnableServiceChanged(At))}),t.EFF(16,"Enable Boltz Service"),t.k0s(),t.j41(17,"mat-form-field",9)(18,"mat-label"),t.EFF(19,"Boltz Server URL"),t.k0s(),t.j41(20,"input",10,1),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.serverUrl,At)||(G.serverUrl=At),t.Njj(At)}),t.k0s(),t.j41(22,"mat-hint"),t.EFF(23,"Service url for boltz server REST APIs, eg. https://127.0.0.1:9003"),t.k0s(),t.DNE(24,cl,2,0,"mat-error",11)(25,wd,2,0,"mat-error",11),t.k0s(),t.j41(26,"mat-form-field")(27,"mat-label"),t.EFF(28,"Boltz Macaroon Path"),t.k0s(),t.j41(29,"input",12),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.macaroonPath,At)||(G.macaroonPath=At),t.Njj(At)}),t.k0s(),t.j41(30,"mat-hint"),t.EFF(31,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),t.k0s(),t.DNE(32,ll,2,0,"mat-error",11),t.k0s()()(),t.j41(33,"div",13)(34,"button",14),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onReset())}),t.EFF(35,"Reset"),t.k0s(),t.j41(36,"button",15),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onUpdateService())}),t.EFF(37,"Update"),t.k0s()()()}if(2&H){const Oe=t.sdS(21);t.R7$(2),t.Y8G("icon",G.faInfoCircle),t.R7$(13),t.R50("ngModel",G.enableBoltz),t.R7$(5),t.Y8G("required",G.enableBoltz)("disabled",!G.enableBoltz),t.R50("ngModel",G.serverUrl),t.R7$(4),t.Y8G("ngIf",(!G.serverUrl||""===G.serverUrl.trim())&&G.enableBoltz),t.R7$(),t.Y8G("ngIf",(null==Oe||null==Oe.errors?null:Oe.errors.invalid)&&G.enableBoltz),t.R7$(4),t.Y8G("required",G.enableBoltz)("disabled",!G.enableBoltz),t.R50("ngModel",G.macaroonPath),t.R7$(3),t.Y8G("ngIf",!G.macaroonPath&&G.enableBoltz)}},dependencies:[si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,be.$z,Ta.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,Rl.sG,Jt.Ld,Mi.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return F})(),P2=(()=>{class F{constructor(){}static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(H,G){1&H&&t.nrm(0,"router-outlet")},dependencies:[Nn.n3]})}}return F})();var z2=g(8711),B2=g(4104),Md=g(6695),u1=g(2042),Vr=g(9159),Ed=g(7575);const Fl=()=>["all"],f1=F=>({"overflow-auto error-border":F,"overflow-auto":!0}),Nl=()=>["no_swap"],l0=F=>({width:F}),dl=F=>({"display-none":F});function Pl(F,B){if(1&F&&(t.j41(0,"mat-option",37),t.EFF(1),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.Y8G("value",v),t.R7$(),t.JRh(H.getLabel(v))}}function V2(F,B){1&F&&t.nrm(0,"mat-progress-bar",38)}function hl(F,B){1&F&&(t.j41(0,"th",39),t.EFF(1,"State"),t.k0s())}function m1(F,B){if(1&F&&(t.j41(0,"td",40),t.EFF(1),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.JRh(H.LoopStateEnum[null==v?null:v.state])}}function Qu(F,B){1&F&&(t.j41(0,"th",39),t.EFF(1,"Initiation Time"),t.k0s())}function p1(F,B){if(1&F&&(t.j41(0,"td",40),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&F){const v=B.$implicit;t.R7$(),t.JRh(t.i5U(2,1,(null==v?null:v.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function d0(F,B){1&F&&(t.j41(0,"th",39),t.EFF(1,"Last Update Time"),t.k0s())}function ps(F,B){if(1&F&&(t.j41(0,"td",40),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&F){const v=B.$implicit;t.R7$(),t.JRh(t.i5U(2,1,(null==v?null:v.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function Zu(F,B){1&F&&(t.j41(0,"th",41),t.EFF(1,"Amount (Sats)"),t.k0s())}function Sd(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",42),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==v?null:v.amt))}}function eo(F,B){1&F&&(t.j41(0,"th",41),t.EFF(1,"Cost Server (Sats)"),t.k0s())}function U2(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",42),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==v?null:v.cost_server))}}function Td(F,B){1&F&&(t.j41(0,"th",41),t.EFF(1,"Cost Offchain (Sats)"),t.k0s())}function Dr(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",42),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==v?null:v.cost_offchain))}}function G2(F,B){1&F&&(t.j41(0,"th",41),t.EFF(1,"Cost Onchain (Sats)"),t.k0s())}function zl(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",42),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.SpI(" ",t.bMT(3,1,null==v?null:v.cost_onchain)," ")}}function Bl(F,B){1&F&&(t.j41(0,"th",39),t.EFF(1,"HTLC Address"),t.k0s())}function h0(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",43)(2,"span",44),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,l0,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.htlc_address)}}function H2(F,B){1&F&&(t.j41(0,"th",39),t.EFF(1,"ID"),t.k0s())}function Ju(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",43)(2,"span",44),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,l0,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.id)}}function Ld(F,B){1&F&&(t.j41(0,"th",39),t.EFF(1,"ID (Bytes)"),t.k0s())}function ul(F,B){if(1&F&&(t.j41(0,"td",40)(1,"span",43)(2,"span",44),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,l0,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.id_bytes)}}function j2(F,B){if(1&F){const v=t.RV6();t.j41(0,"th",45)(1,"div",46)(2,"mat-select",47),t.nrm(3,"mat-select-trigger"),t.j41(4,"mat-option",48),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onDownloadCSV())}),t.EFF(5,"Download CSV"),t.k0s()()()()}}function g1(F,B){if(1&F){const v=t.RV6();t.j41(0,"td",49)(1,"button",50),t.bIt("click",function(G){const Oe=t.eBV(v).$implicit,kt=t.XpG();return t.Njj(kt.onSwapClick(Oe,G))}),t.EFF(2,"View Info"),t.k0s()()}}function W2(F,B){if(1&F&&(t.j41(0,"p"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.JRh(v.emptyTableMessage)}}function Vl(F,B){if(1&F&&(t.j41(0,"td",51),t.DNE(1,W2,2,1,"p",52),t.k0s()),2&F){const v=t.XpG();t.R7$(),t.Y8G("ngIf",!(null!=v.listSwaps&&v.listSwaps.data)||(null==v.listSwaps||null==v.listSwaps.data?null:v.listSwaps.data.length)<1)}}function Ul(F,B){if(1&F&&t.nrm(0,"tr",53),2&F){const v=t.XpG();t.Y8G("ngClass",t.eq3(1,dl,(null==v.listSwaps?null:v.listSwaps.data)&&(null==v.listSwaps||null==v.listSwaps.data?null:v.listSwaps.data.length)>0))}}function to(F,B){1&F&&t.nrm(0,"tr",54)}function qu(F,B){1&F&&t.nrm(0,"tr",55)}let _1=(()=>{class F{constructor(v,H,G,Oe,kt,At){this.logger=v,this.commonService=H,this.store=G,this.loopService=Oe,this.datePipe=kt,this.camelCaseWithReplace=At,this.selectedSwapType=Wt.C7.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Wt._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:Wt.md,sortBy:"initiation_time",sortOrder:Wt.oi.DESCENDING},this.LoopStateEnum=Wt.Hx,this.faHistory=qi.Int,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new Vr.I6([]),this.selFilter="",this.pageSize=Wt.md,this.pageSizeOptions=Wt.xp,this.screenSize="",this.screenSizeEnum=Wt.f7,this.unSubs=[new Xi.B,new Xi.B,new Xi.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(v){this.swapCaption=this.selectedSwapType===Wt.C7.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(uc.$G).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.tableSetting=v.pageSettings.find(H=>H.pageId===this.PAGE_ID)?.tables.find(H=>H.tableId===this.tableSetting.tableId)||Wt.ZC.find(H=>H.pageId===this.PAGE_ID)?.tables.find(H=>H.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===Wt.f7.XS||this.screenSize===Wt.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:Wt.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(v){const H=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(G=>G.column===v);return H?H.label?H.label:this.camelCaseWithReplace.transform(H.column,"_"):this.commonService.titleCase(v)}setFilterPredicate(){this.listSwaps.filterPredicate=(v,H)=>{let G="";switch(this.selFilterBy){case"all":G=JSON.stringify(v).toLowerCase();break;case"state":G=v?.state?this.LoopStateEnum[v?.state]:"";break;case"initiation_time":case"last_update_time":G=this.datePipe.transform(new Date((v[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:G=typeof v[this.selFilterBy]>"u"?"":"string"==typeof v[this.selFilterBy]?v[this.selFilterBy].toLowerCase():"boolean"==typeof v[this.selFilterBy]?v[this.selFilterBy]?"yes":"no":v[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===G.indexOf(H):G.includes(H)}}onSwapClick(v,H){this.loopService.getSwap(v.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,dn.Q)(this.unSubs[1])).subscribe(G=>{this.store.dispatch((0,Sn.xO)({payload:{data:{type:Wt.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:Wt.Hx[G.state||""],title:"Status",width:50,type:Wt.UN.STRING},{key:"amt",value:G.amt,title:"Amount (Sats)",width:50,type:Wt.UN.NUMBER}],[{key:"initiation_time",value:(G.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:Wt.UN.DATE_TIME},{key:"last_update_time",value:(G.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:Wt.UN.DATE_TIME}],[{key:"cost_server",value:G.cost_server,title:"Server Cost (Sats)",width:33,type:Wt.UN.NUMBER},{key:"cost_offchain",value:G.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:Wt.UN.NUMBER},{key:"cost_onchain",value:G.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:Wt.UN.NUMBER}],[{key:"id_bytes",value:G.id_bytes,title:"ID",width:100,type:Wt.UN.STRING}],[{key:"htlc_address",value:G.htlc_address,title:"HTLC Address",width:100,type:Wt.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(v){this.listSwaps=new Vr.I6([...v]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(H,G)=>H[G]&&isNaN(H[G])?H[G].toLocaleLowerCase():H[G]?+H[G]: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===Wt.C7.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(is.h),t.rXU(Pi.il),t.rXU(B2.Q),t.rXU(si.vh),t.rXU(Uc.VD))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-swaps"]],viewQuery:function(H,G){if(1&H&&(t.GBs(u1.B4,5),t.GBs(Md.iy,5)),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.sort=Oe.first),t.mGM(Oe=t.lsd())&&(G.paginator=Oe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t.Jv_([{provide:ft.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Md.xX,useValue:(0,Wt.on)("Swaps")}]),t.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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"div",3),t.nrm(3,"fa-icon",4),t.j41(4,"span",5),t.EFF(5),t.k0s()(),t.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),t.EFF(9,"Filter By"),t.k0s(),t.j41(10,"mat-select",8),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selFilterBy,At)||(G.selFilterBy=At),t.Njj(At)}),t.bIt("selectionChange",function(){return t.eBV(Oe),G.selFilter="",t.Njj(G.applyFilter())}),t.j41(11,"perfect-scrollbar"),t.DNE(12,Pl,2,2,"mat-option",9),t.k0s()()(),t.j41(13,"mat-form-field",7)(14,"mat-label"),t.EFF(15,"Filter"),t.k0s(),t.j41(16,"input",10),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selFilter,At)||(G.selFilter=At),t.Njj(At)}),t.bIt("input",function(){return t.eBV(Oe),t.Njj(G.applyFilter())})("keyup",function(){return t.eBV(Oe),t.Njj(G.applyFilter())}),t.k0s()()()(),t.j41(17,"div",11)(18,"div",12),t.DNE(19,V2,1,0,"mat-progress-bar",13),t.j41(20,"table",14,0),t.qex(22,15),t.DNE(23,hl,2,0,"th",16)(24,m1,2,1,"td",17),t.bVm(),t.qex(25,18),t.DNE(26,Qu,2,0,"th",16)(27,p1,3,4,"td",17),t.bVm(),t.qex(28,19),t.DNE(29,d0,2,0,"th",16)(30,ps,3,4,"td",17),t.bVm(),t.qex(31,20),t.DNE(32,Zu,2,0,"th",21)(33,Sd,4,3,"td",17),t.bVm(),t.qex(34,22),t.DNE(35,eo,2,0,"th",21)(36,U2,4,3,"td",17),t.bVm(),t.qex(37,23),t.DNE(38,Td,2,0,"th",21)(39,Dr,4,3,"td",17),t.bVm(),t.qex(40,24),t.DNE(41,G2,2,0,"th",21)(42,zl,4,3,"td",17),t.bVm(),t.qex(43,25),t.DNE(44,Bl,2,0,"th",16)(45,h0,4,4,"td",17),t.bVm(),t.qex(46,26),t.DNE(47,H2,2,0,"th",16)(48,Ju,4,4,"td",17),t.bVm(),t.qex(49,27),t.DNE(50,Ld,2,0,"th",16)(51,ul,4,4,"td",17),t.bVm(),t.qex(52,28),t.DNE(53,j2,6,0,"th",29)(54,g1,3,0,"td",30),t.bVm(),t.qex(55,31),t.DNE(56,Vl,2,1,"td",32),t.bVm(),t.DNE(57,Ul,1,3,"tr",33)(58,to,1,0,"tr",34)(59,qu,1,0,"tr",35),t.k0s(),t.nrm(60,"mat-paginator",36),t.k0s()()()}2&H&&(t.R7$(3),t.Y8G("icon",G.faHistory),t.R7$(2),t.SpI("",G.swapCaption," History"),t.R7$(5),t.R50("ngModel",G.selFilterBy),t.R7$(2),t.Y8G("ngForOf",t.lJ4(16,Fl).concat(G.displayedColumns.slice(0,-1))),t.R7$(4),t.R50("ngModel",G.selFilter),t.R7$(3),t.Y8G("ngIf",!0===G.flgLoading[0]),t.R7$(),t.Y8G("matSortActive",G.tableSetting.sortBy)("matSortDirection",G.tableSetting.sortOrder)("dataSource",G.listSwaps)("ngClass",t.eq3(17,f1,"error"===G.flgLoading[0])),t.R7$(37),t.Y8G("matFooterRowDef",t.lJ4(19,Nl)),t.R7$(),t.Y8G("matHeaderRowDef",G.displayedColumns),t.R7$(),t.Y8G("matRowDefColumns",G.displayedColumns),t.R7$(),t.Y8G("pageSize",G.pageSize)("pageSizeOptions",G.pageSizeOptions)("showFirstLastButtons",G.screenSize!==G.screenSizeEnum.XS))},dependencies:[si.YU,si.Sq,si.bT,si.B3,De.me,De.BC,De.vS,Qr.aY,$i.DJ,$i.sA,$i.UI,Go.PW,Go.eI,be.$z,Ta.fg,Ne.rl,Ne.nJ,Ed.HM,ft.VO,ft.$2,Rt.wT,u1.B4,u1.aE,Vr.Zl,Vr.tL,Vr.ji,Vr.cC,Vr.YV,Vr.iL,Vr.Zq,Vr.xW,Vr.KS,Vr.$R,Vr.Qo,Vr.YZ,Vr.NB,Vr.iF,Md.iy,Jt.ZF,Jt.Ld,si.QX,si.vh]})}}return F})();const u0=F=>["../",F];function X2(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG();return t.Njj(Oe.onSelectedIndexChange(G))}),t.EFF(1),t.k0s()}if(2&F){const v=B.$implicit,H=t.XpG();t.Y8G("active",H.activeTab.link===v.link)("routerLink",t.eq3(3,u0,v.link)),t.R7$(),t.JRh(v.name)}}let Y2=(()=>{class F{constructor(v,H,G){this.router=v,this.loopService=H,this.store=G,this.faInfinity=qi.C8j,this.loopInfo=null,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=Wt.C7,this.selectedSwapType=Wt.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 Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.store.dispatch((0,Sn.mt)({payload:Wt.MZ.GET_LOOP_INFO})),this.loopService.getLoopInfo().pipe((0,dn.Q)(this.unSubs[4])).subscribe({next:H=>{this.store.dispatch((0,Sn.y0)({payload:Wt.MZ.GET_LOOP_INFO})),this.loopInfo=H,this.loopInfo&&this.loopInfo.version&&(this.loopInfo.version=this.loopInfo.version.split(" ")[0])},error:H=>{this.store.dispatch((0,Sn.y0)({payload:Wt.MZ.GET_LOOP_INFO})),this.loopInfo.version=" Unknown"}}),this.loopService.listSwaps();const v=this.links.find(H=>this.router.url.includes(H.link));this.activeTab=v||this.links[0],this.selectedSwapType=v&&"loopin"===v.link?Wt.C7.LOOP_IN:Wt.C7.LOOP_OUT,this.router.events.pipe((0,dn.Q)(this.unSubs[0]),(0,Cr.p)(H=>H instanceof Nn.gx)).subscribe({next:H=>{const G=this.links.find(Oe=>H.urlAfterRedirects.includes(Oe.link));this.activeTab=G||this.links[0],this.selectedSwapType=G&&"loopin"===G.link?Wt.C7.LOOP_IN:Wt.C7.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,dn.Q)(this.unSubs[1])).subscribe({next:H=>{this.flgLoading[0]=!1,this.storedSwaps=H,this.filteredSwaps=this.storedSwaps?.filter(G=>G.type===this.selectedSwapType)},error:H=>{this.flgLoading[0]="error",this.emptyTableMessage=H.message?H.message:"No loop "+(this.selectedSwapType===Wt.C7.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(v){this.selectedSwapType="loopin"===v.link?Wt.C7.LOOP_IN:Wt.C7.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(H=>H.type===this.selectedSwapType)}onLoop(v){v===Wt.C7.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,dn.Q)(this.unSubs[2])).subscribe({next:H=>{this.store.dispatch((0,Sn.xO)({payload:{data:{minQuote:H[0],maxQuote:H[1],direction:v,component:z2.D}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,dn.Q)(this.unSubs[3])).subscribe({next:H=>{this.store.dispatch((0,Sn.xO)({payload:{data:{minQuote:H[0],maxQuote:H[1],direction:v,component:z2.D}}}))}})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Nn.Ix),t.rXU(B2.Q),t.rXU(Pi.il))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1),t.nrm(1,"fa-icon",2),t.j41(2,"span",3),t.EFF(3),t.k0s()(),t.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6),t.DNE(8,X2,2,5,"div",7),t.k0s(),t.nrm(9,"mat-tab-nav-panel",null,0),t.j41(11,"div",8)(12,"button",9),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onLoop(G.selectedSwapType))}),t.EFF(13),t.k0s()(),t.nrm(14,"rtl-swaps",10),t.k0s()()()}if(2&H){const Oe=t.sdS(10);t.R7$(),t.Y8G("icon",G.faInfinity),t.R7$(2),t.SpI("Loop (v",(null==G.loopInfo?null:G.loopInfo.version)||" Unknown",")"),t.R7$(4),t.Y8G("tabPanel",Oe),t.R7$(),t.Y8G("ngForOf",G.links),t.R7$(5),t.SpI("Start ",G.activeTab.name,""),t.R7$(),t.Y8G("selectedSwapType",G.selectedSwapType)("swapsData",G.filteredSwaps)("flgLoading",G.flgLoading)("emptyTableMessage",G.emptyTableMessage)}},dependencies:[si.Sq,Qr.aY,$i.DJ,$i.sA,$i.UI,be.$z,Mr.RN,Mr.m2,la.Bu,la.hQ,la.Ql,Nn.Wk,_1]})}}return F})();var v1=g(1001),K2=g(4412),$2=g(8810),Dd=g(2462);let Dc=(()=>{class F{constructor(v,H,G,Oe){this.httpClient=v,this.logger=H,this.store=G,this.commonService=Oe,this.swapUrl="",this.swaps={},this.boltzInfo=null,this.boltzInfoChanged=new K2.t(null),this.swapsChanged=new K2.t({}),this.unSubs=[new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Sn.mt)({payload:Wt.MZ.GET_BOLTZ_SWAPS})),this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,dn.Q)(this.unSubs[0])).subscribe({next:v=>{this.store.dispatch((0,Sn.y0)({payload:Wt.MZ.GET_BOLTZ_SWAPS})),this.swaps=v,this.swapsChanged.next(this.swaps)},error:v=>this.swapsChanged.error(this.handleErrorWithAlert(Wt.MZ.GET_BOLTZ_SWAPS,this.swapUrl,v))})}swapInfo(v){return this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/swapInfo/"+v,this.httpClient.get(this.swapUrl).pipe((0,ca.W)(H=>(0,Dt.of)(this.handleErrorWithAlert(Wt.MZ.NO_SPINNER,this.swapUrl,H))))}getBoltzInfo(){this.store.dispatch((0,Sn.mt)({payload:Wt.MZ.GET_BOLTZ_INFO})),this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/info",this.httpClient.get(this.swapUrl).pipe((0,dn.Q)(this.unSubs[1])).subscribe({next:v=>{this.store.dispatch((0,Sn.y0)({payload:Wt.MZ.GET_BOLTZ_INFO})),this.boltzInfo=v,this.boltzInfoChanged.next(this.boltzInfo)},error:v=>(this.boltzInfo={version:"2.0.0"},this.boltzInfoChanged.next(this.boltzInfo),(0,Dt.of)(this.handleErrorWithoutAlert(Wt.MZ.GET_BOLTZ_INFO,this.swapUrl,v)))})}serviceInfo(){return this.store.dispatch((0,Sn.mt)({payload:Wt.MZ.GET_SERVICE_INFO})),this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,dn.Q)(this.unSubs[2]),(0,Qa.T)(v=>(this.store.dispatch((0,Sn.y0)({payload:Wt.MZ.GET_SERVICE_INFO})),v)),(0,ca.W)(v=>(0,Dt.of)(this.handleErrorWithAlert(Wt.MZ.GET_SERVICE_INFO,this.swapUrl,v))))}swapOut(v,H,G){const Oe={amount:v,address:H,acceptZeroConf:G};return this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Oe).pipe((0,ca.W)(kt=>this.handleErrorWithoutAlert("Swap Out for Address: "+H,Wt.MZ.NO_SPINNER,kt)))}swapIn(v,H){const G={amount:v,sendFromInternal:H};return this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,G).pipe((0,ca.W)(Oe=>this.handleErrorWithoutAlert("Swap In for Amount: "+v,Wt.MZ.NO_SPINNER,Oe)))}handleErrorWithoutAlert(v,H,G){let Oe="";return this.logger.error("ERROR IN: "+v+"\n"+JSON.stringify(G)),this.store.dispatch((0,Sn.y0)({payload:H})),401===G.status?(Oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Sn.ri)({payload:Oe}))):503===G.status?(Oe="Unable to Connect to Boltz Server.",this.store.dispatch((0,Sn.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:G.status,message:"Unable to Connect to Boltz Server",URL:v},component:Dd.f}}}))):Oe=this.commonService.extractErrorMessage(G),(0,$2.$)(()=>new Error(Oe))}handleErrorWithAlert(v,H,G){let Oe="";if(401===G.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Sn.ri)({payload:"Authentication Failed: "+JSON.stringify(G.error)}))),this.logger.error(G),this.store.dispatch((0,Sn.y0)({payload:v})),401===G.status)Oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Sn.ri)({payload:Oe}));else if(503===G.status)Oe="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,Sn.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:G.status,message:"Unable to Connect to Boltz Server",URL:H},component:Dd.f}}}))},100);else{Oe=this.commonService.extractErrorMessage(G);const kt=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;setTimeout(()=>{this.store.dispatch((0,Sn.xO)({payload:{data:{type:Wt.A$.ERROR,alertTitle:"ERROR",message:{code:kt,message:Oe,URL:H},component:Dd.f}}}))},100)}return{message:Oe}}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.KVO(Vo.Qq),t.KVO(ge.gP),t.KVO(Pi.il),t.KVO(is.h))}}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})();const f0=F=>({"display-none":F});function ef(F,B){1&F&&t.eu8(0)}function tf(F,B){if(1&F&&(t.j41(0,"div",4)(1,"span",5),t.EFF(2),t.k0s()()),2&F){const v=t.XpG();t.R7$(2),t.JRh(null!=v.swapStatus&&v.swapStatus.error?null==v.swapStatus?null:v.swapStatus.error:"Unknown Error.")}}function Q2(F,B){if(1&F&&(t.j41(0,"div",7)(1,"h4",8),t.EFF(2,"Routing Fee (mSats)"),t.k0s(),t.j41(3,"span",5),t.EFF(4),t.nI1(5,"number"),t.k0s()()),2&F){const v=t.XpG(2);t.R7$(4),t.JRh(t.bMT(5,1,null==v.swapStatus?null:v.swapStatus.routingFeeMilliSat))}}function Z2(F,B){if(1&F&&(t.j41(0,"div",7)(1,"h4",8),t.EFF(2,"Claim Transaction ID"),t.k0s(),t.j41(3,"span",5),t.EFF(4),t.k0s()()),2&F){const v=t.XpG(2);t.R7$(4),t.JRh(null==v.swapStatus?null:v.swapStatus.claimTransactionId)}}function nf(F,B){if(1&F&&(t.j41(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),t.EFF(4,"ID"),t.k0s(),t.j41(5,"span",5),t.EFF(6),t.k0s()(),t.DNE(7,Q2,6,3,"div",9)(8,Z2,5,1,"div",9),t.k0s(),t.nrm(9,"mat-divider",10),t.j41(10,"div",6)(11,"div",11)(12,"h4",8),t.EFF(13,"Lockup Address"),t.k0s(),t.j41(14,"span",5),t.EFF(15),t.k0s()()()()),2&F){const v=t.XpG();t.R7$(6),t.JRh(null==v.swapStatus?null:v.swapStatus.id),t.R7$(),t.Y8G("ngIf",v.acceptZeroConf),t.R7$(),t.Y8G("ngIf",v.acceptZeroConf),t.R7$(7),t.JRh(null==v.swapStatus?null:v.swapStatus.lockupAddress)}}function J2(F,B){1&F&&(t.j41(0,"span",22),t.EFF(1,"N/A"),t.k0s())}function rf(F,B){1&F&&(t.j41(0,"span",23),t.EFF(1,"QR Code Not Applicable"),t.k0s())}function q2(F,B){1&F&&t.nrm(0,"mat-divider",24),2&F&&t.Y8G("inset",!0)}function u4(F,B){if(1&F&&(t.j41(0,"div",6)(1,"div",11)(2,"h4",8),t.EFF(3,"Transaction ID"),t.k0s(),t.j41(4,"span",5),t.EFF(5),t.k0s()()()),2&F){const v=t.XpG(2);t.R7$(5),t.JRh(null==v.swapStatus?null:v.swapStatus.txId)}}function b1(F,B){if(1&F&&(t.j41(0,"div",6)(1,"div",25)(2,"h4",8),t.EFF(3,"ID"),t.k0s(),t.j41(4,"span",5),t.EFF(5),t.k0s()(),t.j41(6,"div",25)(7,"h4",8),t.EFF(8,"Expected Amount (Sats)"),t.k0s(),t.j41(9,"span",5),t.EFF(10),t.nI1(11,"number"),t.k0s()()()),2&F){const v=t.XpG(2);t.R7$(5),t.JRh(null==v.swapStatus?null:v.swapStatus.id),t.R7$(5),t.JRh(t.bMT(11,2,null==v.swapStatus?null:v.swapStatus.expectedAmount))}}function eh(F,B){1&F&&t.nrm(0,"mat-divider",10)}function Ho(F,B){if(1&F&&(t.j41(0,"div",6)(1,"div",11)(2,"h4",8),t.EFF(3,"Address"),t.k0s(),t.j41(4,"span",5),t.EFF(5),t.k0s()()()),2&F){const v=t.XpG(2);t.R7$(5),t.JRh(null==v.swapStatus?null:v.swapStatus.address)}}function f4(F,B){1&F&&t.nrm(0,"mat-divider",10)}function th(F,B){if(1&F&&(t.j41(0,"div",6)(1,"div",11)(2,"h4",8),t.EFF(3,"BIP 21"),t.k0s(),t.j41(4,"span",5),t.EFF(5),t.k0s()()()),2&F){const v=t.XpG(2);t.R7$(5),t.JRh(null==v.swapStatus?null:v.swapStatus.bip21)}}function m4(F,B){if(1&F&&(t.j41(0,"div",12)(1,"div",13),t.nrm(2,"qr-code",14),t.DNE(3,J2,2,0,"span",15),t.k0s(),t.j41(4,"div",16)(5,"div",4)(6,"div",17),t.nrm(7,"qr-code",14),t.DNE(8,rf,2,0,"span",18),t.k0s(),t.DNE(9,q2,1,1,"mat-divider",19)(10,u4,6,1,"div",20)(11,b1,12,4,"div",20)(12,eh,1,0,"mat-divider",21)(13,Ho,6,1,"div",20)(14,f4,1,0,"mat-divider",21)(15,th,6,1,"div",20),t.k0s()()()),2&F){const v=t.XpG();t.R7$(),t.Y8G("fxLayoutAlign",""!==((null==v.swapStatus?null:v.swapStatus.txId)||(null==v.swapStatus?null:v.swapStatus.address))?"center start":"center center")("ngClass",t.eq3(19,f0,v.screenSize===v.screenSizeEnum.XS||v.screenSize===v.screenSizeEnum.SM)),t.R7$(),t.Y8G("value",(null==v.swapStatus?null:v.swapStatus.txId)||(null==v.swapStatus?null:v.swapStatus.address))("size",v.qrWidth)("errorCorrectionLevel","L"),t.R7$(),t.Y8G("ngIf",""===((null==v.swapStatus?null:v.swapStatus.txId)||(null==v.swapStatus?null:v.swapStatus.address))),t.R7$(3),t.Y8G("fxLayoutAlign",""!==((null==v.swapStatus?null:v.swapStatus.txId)||(null==v.swapStatus?null:v.swapStatus.address))?"center start":"center center")("ngClass",t.eq3(21,f0,v.screenSize!==v.screenSizeEnum.XS&&v.screenSize!==v.screenSizeEnum.SM)),t.R7$(),t.Y8G("value",(null==v.swapStatus?null:v.swapStatus.txId)||(null==v.swapStatus?null:v.swapStatus.address))("size",v.qrWidth)("errorCorrectionLevel","L"),t.R7$(),t.Y8G("ngIf",""===((null==v.swapStatus?null:v.swapStatus.txId)||(null==v.swapStatus?null:v.swapStatus.address))),t.R7$(),t.Y8G("ngIf",v.screenSize===v.screenSizeEnum.XS||v.screenSize===v.screenSizeEnum.SM),t.R7$(),t.Y8G("ngIf",v.sendFromInternal),t.R7$(),t.Y8G("ngIf",!v.sendFromInternal),t.R7$(),t.Y8G("ngIf",!v.sendFromInternal),t.R7$(),t.Y8G("ngIf",!v.sendFromInternal),t.R7$(),t.Y8G("ngIf",!v.sendFromInternal),t.R7$(),t.Y8G("ngIf",!v.sendFromInternal)}}let y1=(()=>{class F{constructor(v){this.commonService=v,this.swapStatus=null,this.direction=Wt.Bd.SWAP_OUT,this.acceptZeroConf=!1,this.sendFromInternal=!0,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=Wt.f7,this.swapTypeEnum=Wt.Bd}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.screenSize===Wt.f7.XS&&(this.qrWidth=180)}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(is.h))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H&&t.DNE(0,ef,1,0,"ng-container",3)(1,tf,3,1,"ng-template",null,0,t.C5r)(3,nf,16,4,"ng-template",null,1,t.C5r)(5,m4,16,23,"ng-template",null,2,t.C5r),2&H){const Oe=t.sdS(2),kt=t.sdS(4),At=t.sdS(6);t.Y8G("ngTemplateOutlet",null!=G.swapStatus&&G.swapStatus.error?Oe:G.direction===G.swapTypeEnum.SWAP_OUT?kt:At)}},dependencies:[si.YU,si.bT,si.T3,$i.DJ,$i.sA,$i.UI,Go.PW,rl.q,Ll.Um,si.QX]})}}return F})(),p4=(()=>{class F{constructor(){this.serviceInfo={},this.direction=Wt.Bd.SWAP_OUT,this.swapTypeEnum=Wt.Bd}static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",1),t.EFF(4,"Service Information"),t.k0s()()(),t.j41(5,"div",2)(6,"div",3)(7,"div",4)(8,"h4",5),t.EFF(9,"Minimum Amount (Sats)"),t.k0s(),t.j41(10,"span",6),t.EFF(11),t.nI1(12,"number"),t.k0s()(),t.j41(13,"div",4)(14,"h4",5),t.EFF(15,"Maximum Amount (Sats)"),t.k0s(),t.j41(16,"span",6),t.EFF(17),t.nI1(18,"number"),t.k0s()()(),t.nrm(19,"mat-divider",7),t.j41(20,"div",3)(21,"div",4)(22,"h4",5),t.EFF(23,"Fee Percentage"),t.k0s(),t.j41(24,"span",6),t.EFF(25),t.nI1(26,"number"),t.k0s()(),t.j41(27,"div",4)(28,"h4",5),t.EFF(29,"Miner Fee (Sats)"),t.k0s(),t.j41(30,"span",6),t.EFF(31),t.nI1(32,"number"),t.k0s()()()()()),2&H&&(t.Y8G("expanded",!0),t.R7$(11),t.JRh(t.bMT(12,5,null==G.serviceInfo||null==G.serviceInfo.limits?null:G.serviceInfo.limits.minimal)),t.R7$(6),t.JRh(t.bMT(18,7,null==G.serviceInfo||null==G.serviceInfo.limits?null:G.serviceInfo.limits.maximal)),t.R7$(8),t.JRh(t.bMT(26,9,null==G.serviceInfo||null==G.serviceInfo.fees?null:G.serviceInfo.fees.percentage)),t.R7$(6),t.JRh(t.bMT(32,11,G.direction===G.swapTypeEnum.SWAP_OUT?null==G.serviceInfo||null==G.serviceInfo.fees||null==G.serviceInfo.fees.miner?null:G.serviceInfo.fees.miner.reverse:null==G.serviceInfo||null==G.serviceInfo.fees||null==G.serviceInfo.fees.miner?null:G.serviceInfo.fees.miner.normal)))},dependencies:[$i.DJ,$i.sA,$i.UI,Br.GK,Br.Z2,Br.WN,rl.q,si.QX]})}}return F})();var x1=g(6949);const Hc=(F,B)=>({"small-svg":F,"large-svg":B});function Gl(F,B){1&F&&t.eu8(0)}function af(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",7),t.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),t.k0s(),t.joV(),t.j41(12,"div",18)(13,"mat-card-title"),t.EFF(14,"Boltz Submarine Swaps explained."),t.k0s()(),t.j41(15,"div",19)(16,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Hc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function ih(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",21),t.nrm(2,"path",22)(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.k0s(),t.joV(),t.j41(9,"div",18)(10,"mat-card-title"),t.EFF(11,"Step 1: Deciding to Submarine Swap"),t.k0s()(),t.j41(12,"div",19)(13,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Hc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function jc(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",29),t.nrm(2,"path",30)(3,"path",31)(4,"path",32)(5,"path",33)(6,"path",34)(7,"circle",35)(8,"rect",36),t.j41(9,"defs")(10,"pattern",37),t.nrm(11,"use",38),t.k0s(),t.nrm(12,"image",39),t.k0s()(),t.joV(),t.j41(13,"div",18)(14,"mat-card-title"),t.EFF(15,"Step 2: Sending the on-chain funds"),t.k0s()(),t.j41(16,"div",19)(17,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Hc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function g4(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",40)(2,"g",41),t.nrm(3,"path",42)(4,"path",43)(5,"path",44)(6,"path",45)(7,"path",46),t.k0s(),t.j41(8,"defs")(9,"clipPath",47),t.nrm(10,"rect",48),t.k0s()()(),t.joV(),t.j41(11,"div",18)(12,"mat-card-title"),t.EFF(13,"Step 3: Receiving the funds on Lightning"),t.k0s()(),t.j41(14,"div",19)(15,"mat-card-subtitle",20),t.EFF(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Hc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function sf(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",49),t.nrm(2,"path",50)(3,"path",51)(4,"path",52)(5,"path",53)(6,"path",54),t.k0s(),t.joV(),t.j41(7,"div",18)(8,"mat-card-title"),t.EFF(9,"Done!"),t.k0s()(),t.j41(10,"div",19)(11,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Hc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}let fc=(()=>{class F{constructor(v){this.commonService=v,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.bkB,this.screenSize="",this.screenSizeEnum=Wt.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(v){2===v.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===v.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(is.h))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H&&t.DNE(0,Gl,1,0,"ng-container",5)(1,af,18,5,"ng-template",null,0,t.C5r)(3,ih,15,5,"ng-template",null,1,t.C5r)(5,jc,19,5,"ng-template",null,2,t.C5r)(7,g4,17,5,"ng-template",null,3,t.C5r)(9,sf,13,5,"ng-template",null,4,t.C5r),2&H){const Oe=t.sdS(2),kt=t.sdS(4),At=t.sdS(6),oi=t.sdS(8),ui=t.sdS(10);t.Y8G("ngTemplateOutlet",1===G.stepNumber?Oe:2===G.stepNumber?kt:3===G.stepNumber?At:4===G.stepNumber?oi:ui)}},dependencies:[si.YU,si.T3,$i.DJ,$i.sA,$i.UI,Go.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:[x1.k]}})}}return F})();const Wc=(F,B)=>({"small-svg":F,"large-svg":B});function nh(F,B){1&F&&t.eu8(0)}function rh(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",7),t.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),t.k0s(),t.joV(),t.j41(12,"div",18)(13,"mat-card-title"),t.EFF(14,"Boltz Reverse Submarine Swap explained."),t.k0s()(),t.j41(15,"div",19)(16,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Wc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function cf(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",21)(2,"g",22),t.nrm(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.k0s(),t.nrm(9,"path",29),t.j41(10,"defs")(11,"clipPath",30),t.nrm(12,"rect",31),t.k0s()()(),t.joV(),t.j41(13,"div",18)(14,"mat-card-title"),t.EFF(15,"Step 1: Deciding to Reverse Submarine Swap"),t.k0s()(),t.j41(16,"div",19)(17,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Wc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function C1(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",32),t.nrm(2,"path",33)(3,"path",34)(4,"path",35)(5,"path",36)(6,"path",37)(7,"circle",38)(8,"rect",39),t.j41(9,"defs")(10,"pattern",40),t.nrm(11,"use",41),t.k0s(),t.nrm(12,"image",42),t.k0s()(),t.joV(),t.j41(13,"div",18)(14,"mat-card-title"),t.EFF(15,"Step 2: Paying the Lightning Invoice"),t.k0s()(),t.j41(16,"div",19)(17,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Wc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function w1(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",43)(2,"g",22),t.nrm(3,"path",44)(4,"path",45)(5,"path",46)(6,"path",47)(7,"path",48),t.k0s(),t.j41(8,"defs")(9,"clipPath",30),t.nrm(10,"rect",49),t.k0s()()(),t.joV(),t.j41(11,"div",18)(12,"mat-card-title"),t.EFF(13,"Step 3: Receiving the funds on-chain"),t.k0s()(),t.j41(14,"div",19)(15,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Wc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}function ah(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",50),t.nrm(2,"path",51)(3,"path",52)(4,"path",53)(5,"path",54)(6,"path",55),t.k0s(),t.joV(),t.j41(7,"div",18)(8,"mat-card-title"),t.EFF(9,"Done!"),t.k0s()(),t.j41(10,"div",19)(11,"mat-card-subtitle",20),t.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. "),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@sliderAnimation",v.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Wc,v.screenSize===v.screenSizeEnum.XS,v.screenSize!==v.screenSizeEnum.XS))}}let Da=(()=>{class F{constructor(v){this.commonService=v,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.bkB,this.screenSize="",this.screenSizeEnum=Wt.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(v){2===v.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===v.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(is.h))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H&&t.DNE(0,nh,1,0,"ng-container",5)(1,rh,18,5,"ng-template",null,0,t.C5r)(3,cf,19,5,"ng-template",null,1,t.C5r)(5,C1,19,5,"ng-template",null,2,t.C5r)(7,w1,17,5,"ng-template",null,3,t.C5r)(9,ah,13,5,"ng-template",null,4,t.C5r),2&H){const Oe=t.sdS(2),kt=t.sdS(4),At=t.sdS(6),oi=t.sdS(8),ui=t.sdS(10);t.Y8G("ngTemplateOutlet",1===G.stepNumber?Oe:2===G.stepNumber?kt:3===G.stepNumber?At:4===G.stepNumber?oi:ui)}},dependencies:[si.YU,si.T3,$i.DJ,$i.sA,$i.UI,Go.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:[x1.k]}})}}return F})();const lf=["stepper"],M1=()=>[1,2,3,4,5],df=(F,B)=>({"dot-primary":F,"dot-primary-lighter":B});function hf(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG(2);t.JRh(v.inputFormLabel)}}function Ad(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Amount is required."),t.k0s())}function m0(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"number"),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.SpI("Amount must be greater than or equal to ",t.bMT(2,1,null==v.serviceInfo||null==v.serviceInfo.limits?null:v.serviceInfo.limits.minimal),".")}}function p0(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"number"),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.SpI("Amount must be less than or equal to ",t.bMT(2,1,null==v.serviceInfo||null==v.serviceInfo.limits?null:v.serviceInfo.limits.maximal),".")}}function Xc(F,B){1&F&&(t.j41(0,"div",41)(1,"div",42)(2,"mat-slide-toggle",43),t.EFF(3,"Accept Zero Conf"),t.k0s(),t.j41(4,"mat-icon",44),t.EFF(5,"info_outline"),t.k0s()()())}function oh(F,B){1&F&&(t.j41(0,"div",41)(1,"div",42)(2,"mat-slide-toggle",45),t.EFF(3,"Send from Internal Wallet"),t.k0s(),t.j41(4,"mat-icon",46),t.EFF(5,"info_outline"),t.k0s()()())}function uf(F,B){1&F&&(t.j41(0,"button",47),t.EFF(1,"Next"),t.k0s())}function sh(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",48),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onSwap())}),t.EFF(1),t.k0s()}if(2&F){const v=t.XpG(2);t.R7$(),t.SpI("Initiate ",v.swapDirectionCaption,"")}}function ff(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG(3);t.JRh(v.addressFormLabel)}}function Ac(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Address is required."),t.k0s())}function g0(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-step",15)(1,"form",16),t.DNE(2,ff,1,1,"ng-template",17),t.j41(3,"div",49)(4,"mat-radio-group",50),t.bIt("change",function(G){t.eBV(v);const Oe=t.XpG(2);return t.Njj(Oe.onAddressTypeChange(G))}),t.j41(5,"mat-radio-button",51),t.EFF(6,"Node Local Address"),t.k0s(),t.j41(7,"mat-radio-button",52),t.EFF(8,"External Address"),t.k0s()(),t.j41(9,"mat-form-field",53)(10,"mat-label"),t.EFF(11,"Address"),t.k0s(),t.nrm(12,"input",54),t.DNE(13,Ac,2,0,"mat-error",24),t.k0s()(),t.j41(14,"div",26)(15,"button",55),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onSwap())}),t.EFF(16),t.k0s()()()()}if(2&F){const v=t.XpG(2);t.Y8G("stepControl",v.addressFormGroup)("editable",v.flgEditable),t.R7$(),t.Y8G("formGroup",v.addressFormGroup),t.R7$(11),t.Y8G("required","external"===v.addressFormGroup.controls.addressType.value),t.R7$(),t.Y8G("ngIf",null==v.addressFormGroup.controls.address.errors?null:v.addressFormGroup.controls.address.errors.required),t.R7$(3),t.SpI("Initiate ",v.swapDirectionCaption,"")}}function mf(F,B){if(1&F&&t.EFF(0),2&F){const v=t.XpG(2);t.SpI("",v.swapDirectionCaption," Status")}}function ch(F,B){if(1&F&&(t.j41(0,"mat-icon",56),t.EFF(1),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.JRh(v.swapStatus&&null!=v.swapStatus&&v.swapStatus.id?"check":"close")}}function _4(F,B){1&F&&t.nrm(0,"div")}function v4(F,B){1&F&&t.nrm(0,"mat-progress-bar",57)}function Fp(F,B){if(1&F&&(t.j41(0,"h4",58),t.EFF(1),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.JRh(v.swapStatus&&v.swapStatus.error?v.swapDirectionCaption+" failed.":v.swapStatus&&v.swapStatus.id?v.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":v.swapDirectionCaption+" request placed successfully.")}}function pf(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",59),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onRestart())}),t.EFF(1,"Start Again"),t.k0s()}}function _0(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),t.EFF(5),t.k0s()(),t.j41(6,"div",9)(7,"button",10),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.showInfo())}),t.EFF(8,"?"),t.k0s(),t.j41(9,"button",11),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onClose())}),t.EFF(10,"X"),t.k0s()()(),t.j41(11,"mat-card-content",12)(12,"div",13)(13,"mat-vertical-stepper",14,1),t.bIt("selectionChange",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.stepSelectionChanged(G))}),t.j41(15,"mat-step",15)(16,"form",16),t.DNE(17,hf,1,1,"ng-template",17),t.j41(18,"div",18),t.nrm(19,"rtl-boltz-service-info",19),t.k0s(),t.j41(20,"div",20)(21,"mat-form-field",21)(22,"mat-label"),t.EFF(23,"Amount"),t.k0s(),t.nrm(24,"input",22),t.j41(25,"mat-hint"),t.EFF(26),t.nI1(27,"number"),t.nI1(28,"number"),t.k0s(),t.j41(29,"span",23),t.EFF(30,"Sats"),t.k0s(),t.DNE(31,Ad,2,0,"mat-error",24)(32,m0,3,3,"mat-error",24)(33,p0,3,3,"mat-error",24),t.k0s(),t.DNE(34,Xc,6,0,"div",25)(35,oh,6,0,"div",25),t.k0s(),t.j41(36,"div",26),t.DNE(37,uf,2,0,"button",27)(38,sh,2,1,"button",28),t.k0s()()(),t.DNE(39,g0,17,6,"mat-step",29),t.j41(40,"mat-step",30)(41,"form",16),t.DNE(42,mf,1,1,"ng-template",17),t.j41(43,"div",31)(44,"mat-expansion-panel",32)(45,"mat-expansion-panel-header")(46,"mat-panel-title")(47,"span",33),t.EFF(48),t.DNE(49,ch,2,1,"mat-icon",34),t.k0s()()(),t.DNE(50,_4,1,0,"div",35),t.k0s(),t.DNE(51,v4,1,0,"mat-progress-bar",36),t.k0s(),t.DNE(52,Fp,2,1,"h4",37),t.j41(53,"div",26),t.DNE(54,pf,2,0,"button",38),t.k0s()()()(),t.j41(55,"div",39)(56,"button",40),t.EFF(57,"Close"),t.k0s()()()()()()}if(2&F){const v=t.XpG(),H=t.sdS(2);t.Y8G("@opacityAnimation",void 0),t.R7$(3),t.Y8G("fxFlex",v.screenSize===v.screenSizeEnum.XS||v.screenSize===v.screenSizeEnum.SM?"83":"91"),t.R7$(2),t.JRh(v.swapDirectionCaption),t.R7$(),t.Y8G("fxFlex",v.screenSize===v.screenSizeEnum.XS||v.screenSize===v.screenSizeEnum.SM?"17":"9"),t.R7$(7),t.Y8G("linear",!0),t.R7$(2),t.Y8G("stepControl",v.inputFormGroup)("editable",v.flgEditable),t.R7$(),t.Y8G("formGroup",v.inputFormGroup),t.R7$(3),t.Y8G("serviceInfo",v.serviceInfo)("direction",v.direction),t.R7$(5),t.Y8G("step",1e3),t.R7$(2),t.Lme("Range: ",t.bMT(27,32,null==v.serviceInfo||null==v.serviceInfo.limits?null:v.serviceInfo.limits.minimal),"-",t.bMT(28,34,null==v.serviceInfo||null==v.serviceInfo.limits?null:v.serviceInfo.limits.maximal),""),t.R7$(5),t.Y8G("ngIf",null==v.inputFormGroup||null==v.inputFormGroup.controls||null==v.inputFormGroup.controls.amount||null==v.inputFormGroup.controls.amount.errors?null:v.inputFormGroup.controls.amount.errors.required),t.R7$(),t.Y8G("ngIf",null==v.inputFormGroup||null==v.inputFormGroup.controls||null==v.inputFormGroup.controls.amount||null==v.inputFormGroup.controls.amount.errors?null:v.inputFormGroup.controls.amount.errors.min),t.R7$(),t.Y8G("ngIf",null==v.inputFormGroup||null==v.inputFormGroup.controls||null==v.inputFormGroup.controls.amount||null==v.inputFormGroup.controls.amount.errors?null:v.inputFormGroup.controls.amount.errors.max),t.R7$(),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_OUT),t.R7$(),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_IN&&v.isSendFromInternalCompatible),t.R7$(2),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_OUT),t.R7$(),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_IN),t.R7$(),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_OUT),t.R7$(),t.Y8G("stepControl",v.statusFormGroup),t.R7$(),t.Y8G("formGroup",v.statusFormGroup),t.R7$(3),t.Y8G("expanded",!!v.swapStatus),t.R7$(4),t.JRh(v.swapStatus?v.swapStatus.id?v.swapDirectionCaption+" request details":v.swapDirectionCaption+" error details":"Waiting for "+v.swapDirectionCaption+" request..."),t.R7$(),t.Y8G("ngIf",v.swapStatus),t.R7$(),t.Y8G("ngIf",!v.swapStatus)("ngIfElse",H),t.R7$(),t.Y8G("ngIf",!v.swapStatus),t.R7$(),t.Y8G("ngIf",v.swapStatus),t.R7$(2),t.Y8G("ngIf",v.swapStatus&&(v.swapStatus.error||!v.swapStatus.id)),t.R7$(2),t.Y8G("mat-dialog-close",!1)}}function Hl(F,B){if(1&F&&t.nrm(0,"rtl-boltz-swap-status",60),2&F){const v=t.XpG();t.Y8G("swapStatus",v.swapStatus)("direction",v.direction)("acceptZeroConf",null==v.inputFormGroup||null==v.inputFormGroup.controls?null:v.inputFormGroup.controls.acceptZeroConf.value)("sendFromInternal",null==v.inputFormGroup||null==v.inputFormGroup.controls?null:v.inputFormGroup.controls.sendFromInternal.value)}}function jl(F,B){if(1&F){const v=t.RV6();t.j41(0,"rtl-boltz-swapout-info-graphics",76),t.mxI("stepNumberChange",function(G){t.eBV(v);const Oe=t.XpG(2);return t.DH7(Oe.stepNumber,G)||(Oe.stepNumber=G),t.Njj(G)}),t.k0s()}if(2&F){const v=t.XpG(2);t.Y8G("animationDirection",v.animationDirection),t.R50("stepNumber",v.stepNumber)}}function v0(F,B){if(1&F){const v=t.RV6();t.j41(0,"rtl-boltz-swapin-info-graphics",76),t.mxI("stepNumberChange",function(G){t.eBV(v);const Oe=t.XpG(2);return t.DH7(Oe.stepNumber,G)||(Oe.stepNumber=G),t.Njj(G)}),t.k0s()}if(2&F){const v=t.XpG(2);t.Y8G("animationDirection",v.animationDirection),t.R50("stepNumber",v.stepNumber)}}function Wl(F,B){if(1&F){const v=t.RV6();t.j41(0,"span",77),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG(2);return t.Njj(Oe.onStepChanged(G))}),t.nrm(1,"p",78),t.k0s()}if(2&F){const v=B.$implicit,H=t.XpG(2);t.R7$(),t.Y8G("ngClass",t.l_i(1,df,H.stepNumber===v,H.stepNumber!==v))}}function Xl(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",79),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onReadMore())}),t.EFF(1,"Read More"),t.k0s()}}function Yl(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",80),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onStepChanged(4))}),t.EFF(1,"Back"),t.k0s()}}function gf(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",81),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return G.flgShowInfo=!1,t.Njj(G.stepNumber=1)}),t.EFF(1,"Close"),t.k0s()}}function b0(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",82),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return G.flgShowInfo=!1,t.Njj(G.stepNumber=1)}),t.EFF(1,"Close"),t.k0s()}}function y0(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",83),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onStepChanged(G.stepNumber-1))}),t.EFF(1,"Back"),t.k0s()}}function Kl(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",84),t.bIt("click",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onStepChanged(G.stepNumber+1))}),t.EFF(1,"Next"),t.k0s()}}function fl(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",61)(1,"div",18)(2,"mat-card-header",62)(3,"div",63),t.nrm(4,"span",8),t.k0s(),t.j41(5,"div",64)(6,"button",11),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return G.flgShowInfo=!1,t.Njj(G.stepNumber=1)}),t.EFF(7,"X"),t.k0s()()(),t.j41(8,"mat-card-content",65),t.DNE(9,jl,1,2,"rtl-boltz-swapout-info-graphics",66)(10,v0,1,2,"rtl-boltz-swapin-info-graphics",66),t.k0s(),t.j41(11,"div",67),t.DNE(12,Wl,2,4,"span",68),t.k0s(),t.j41(13,"div",69),t.DNE(14,Xl,2,0,"button",70)(15,Yl,2,0,"button",71)(16,gf,2,0,"button",72)(17,b0,2,0,"button",73)(18,y0,2,0,"button",74)(19,Kl,2,0,"button",75),t.k0s()()()}if(2&F){const v=t.XpG();t.Y8G("@opacityAnimation",void 0),t.R7$(9),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_OUT),t.R7$(),t.Y8G("ngIf",v.direction===v.swapTypeEnum.SWAP_IN),t.R7$(2),t.Y8G("ngForOf",t.lJ4(10,M1)),t.R7$(2),t.Y8G("ngIf",5===v.stepNumber),t.R7$(),t.Y8G("ngIf",5===v.stepNumber),t.R7$(),t.Y8G("ngIf",5===v.stepNumber),t.R7$(),t.Y8G("ngIf",v.stepNumber<5),t.R7$(),t.Y8G("ngIf",v.stepNumber>1&&v.stepNumber<5),t.R7$(),t.Y8G("ngIf",v.stepNumber<5)}}let $l=(()=>{class F{constructor(v,H,G,Oe,kt,At,oi){this.dialogRef=v,this.data=H,this.boltzService=G,this.formBuilder=Oe,this.decimalPipe=kt,this.logger=At,this.commonService=oi,this.faInfoCircle=qi.iW_,this.boltzInfo=null,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=Wt.Bd,this.direction=Wt.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=Wt.f7,this.animationDirection="forward",this.flgEditable=!0,this.isSendFromInternalCompatible=!0,this.unSubs=[new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||Wt.Bd.SWAP_OUT,this.swapDirectionCaption=this.direction===Wt.Bd.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[De.k0.required,De.k0.min(this.serviceInfo.limits?.minimal||0),De.k0.max(this.serviceInfo.limits?.maximal||0)]],acceptZeroConf:[!1],sendFromInternal:[!0]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[De.k0.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.boltzService.boltzInfoChanged.pipe((0,dn.Q)(this.unSubs[0])).subscribe({next:v=>{this.boltzInfo=v,this.isSendFromInternalCompatible=this.commonService.isVersionCompatible(this.boltzInfo.version,"2.0.0")},error:v=>{this.boltzInfo={version:"2.0.0"},this.logger.error(v)}})}ngAfterViewInit(){this.direction===Wt.Bd.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===Wt.Bd.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(v){"external"===v.value?(this.addressFormGroup.controls.address.setValidators([De.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===Wt.Bd.SWAP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===Wt.Bd.SWAP_IN?this.boltzService.swapIn(this.inputFormGroup.controls.amount.value,this.isSendFromInternalCompatible?this.inputFormGroup.controls.sendFromInternal.value:null).pipe((0,dn.Q)(this.unSubs[2])).subscribe({next:v=>{this.swapStatus=v,this.boltzService.listSwaps(),this.flgEditable=!0},error:v=>{this.swapStatus={error:v},this.flgEditable=!0,this.logger.error(v)}}):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,dn.Q)(this.unSubs[3])).subscribe({next:H=>{this.swapStatus=H,this.boltzService.listSwaps(),this.flgEditable=!0},error:H=>{this.swapStatus={error:H},this.flgEditable=!0,this.logger.error(H)}})}stepSelectionChanged(v){switch(v.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value?this.direction===Wt.Bd.SWAP_IN?this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Send from Internal Wallet: "+(this.inputFormGroup.controls.sendFromInternal.value?"Yes":"No"):this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Zero Conf: "+(this.inputFormGroup.controls.acceptZeroConf.value?"Yes":"No"):"Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address"}v.selectedIndex{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Er.CP),t.rXU(Er.Vh),t.rXU(Dc),t.rXU(De.ze),t.rXU(si.QX),t.rXU(ge.gP),t.rXU(is.h))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(H,G){if(1&H&&t.GBs(lf,5),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.stepper=Oe.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"],["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(H,G){1&H&&t.DNE(0,_0,58,36,"div",2)(1,Hl,1,4,"ng-template",null,0,t.C5r)(3,fl,20,11,"div",3),2&H&&(t.Y8G("ngIf",!G.flgShowInfo),t.R7$(3),t.Y8G("ngIf",G.flgShowInfo))},dependencies:[si.YU,si.Sq,si.bT,De.qT,De.me,De.Q0,De.BC,De.cb,De.YS,De.j4,De.JD,$i.DJ,$i.sA,$i.UI,Go.PW,Er.tx,be.$z,Mr.m2,Mr.MM,Br.GK,Br.Z2,Br.WN,Vc.An,Ta.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,Ne.yw,Ed.HM,Il.VT,Il._g,Rl.sG,Sc.oV,wo.V5,wo.Ti,wo.M6,wo.F7,Mi.N,y1,p4,fc,Da,si.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:[v1.C]}})}}return F})();const lh=()=>["all"],_f=F=>({"overflow-auto error-border":F,"overflow-auto":!0}),vf=()=>["no_swap"],ml=F=>({width:F}),x0=F=>({"display-none":F});function C0(F,B){if(1&F&&(t.j41(0,"mat-option",42),t.EFF(1),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.Y8G("value",v),t.R7$(),t.JRh(H.getLabel(v))}}function bf(F,B){1&F&&t.nrm(0,"mat-progress-bar",43)}function No(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Status"),t.k0s())}function kd(F,B){if(1&F&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.JRh(H.swapStateEnum[null==v?null:v.status])}}function dh(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Swap ID"),t.k0s())}function pl(F,B){if(1&F&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.R7$(),t.JRh(null==v?null:v.id)}}function Id(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Claim Address"),t.k0s())}function yf(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.claimAddress)}}function jo(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Lockup Address"),t.k0s())}function kc(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.lockupAddress)}}function hh(F,B){1&F&&(t.j41(0,"th",48),t.EFF(1,"Onchain Amount (Sats)"),t.k0s())}function w0(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",49),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==v?null:v.onchainAmount))}}function xf(F,B){1&F&&(t.j41(0,"th",48),t.EFF(1,"Expected Amount (Sats)"),t.k0s())}function E1(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",49),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==v?null:v.expectedAmount))}}function uh(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Error"),t.k0s())}function M0(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.error)}}function fh(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Private Key"),t.k0s())}function E0(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.privateKey)}}function Cf(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Preimage"),t.k0s())}function Rd(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.preimage)}}function mh(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Redeem Script"),t.k0s())}function ph(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.redeemScript)}}function S0(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Invoice"),t.k0s())}function gh(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,ml,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),t.R7$(2),t.JRh(null==v?null:v.invoice)}}function _h(F,B){1&F&&(t.j41(0,"th",48),t.EFF(1,"Timeout Block Height"),t.k0s())}function S1(F,B){if(1&F&&(t.j41(0,"td",45)(1,"span",49),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&F){const v=B.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==v?null:v.timeoutBlockHeight))}}function T0(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Lockup Tx ID"),t.k0s())}function Yc(F,B){if(1&F&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.R7$(),t.JRh(null==v?null:v.lockupTransactionId)}}function L0(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Claim Tx ID"),t.k0s())}function T1(F,B){if(1&F&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.R7$(),t.JRh(null==v?null:v.claimTransactionId)}}function b4(F,B){1&F&&(t.j41(0,"th",44),t.EFF(1,"Refund Tx ID"),t.k0s())}function D0(F,B){if(1&F&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.R7$(),t.JRh(null==v?null:v.refundTransactionId)}}function vh(F,B){if(1&F){const v=t.RV6();t.j41(0,"th",50)(1,"div",51)(2,"mat-select",52),t.nrm(3,"mat-select-trigger"),t.j41(4,"mat-option",53),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onDownloadCSV())}),t.EFF(5,"Download CSV"),t.k0s()()()()}}function Od(F,B){if(1&F){const v=t.RV6();t.j41(0,"td",54)(1,"button",55),t.bIt("click",function(G){const Oe=t.eBV(v).$implicit,kt=t.XpG();return t.Njj(kt.onSwapClick(Oe,G))}),t.EFF(2,"View Info"),t.k0s()()}}function A0(F,B){if(1&F&&(t.j41(0,"p"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(2);t.R7$(),t.JRh(v.emptyTableMessage)}}function wf(F,B){if(1&F&&(t.j41(0,"td",56),t.DNE(1,A0,2,1,"p",57),t.k0s()),2&F){const v=t.XpG();t.R7$(),t.Y8G("ngIf",!(null!=v.listSwaps&&v.listSwaps.data)||(null==v.listSwaps||null==v.listSwaps.data?null:v.listSwaps.data.length)<1)}}function L1(F,B){if(1&F&&t.nrm(0,"tr",58),2&F){const v=t.XpG();t.Y8G("ngClass",t.eq3(1,x0,(null==v.listSwaps?null:v.listSwaps.data)&&(null==v.listSwaps||null==v.listSwaps.data?null:v.listSwaps.data.length)>0))}}function gl(F,B){1&F&&t.nrm(0,"tr",59)}function bh(F,B){1&F&&t.nrm(0,"tr",60)}let Mf=(()=>{class F{constructor(v,H,G,Oe,kt){this.logger=v,this.commonService=H,this.store=G,this.boltzService=Oe,this.camelCaseWithReplace=kt,this.selectedSwapType=Wt.Bd.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Wt._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:Wt.md,sortBy:"status",sortOrder:Wt.oi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:Wt.md,sortBy:"status",sortOrder:Wt.oi.DESCENDING},this.swapStateEnum=Wt.q9,this.swapTypeEnum=Wt.Bd,this.faHistory=qi.Int,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new Vr.I6([]),this.selFilter="",this.pageSize=Wt.md,this.pageSizeOptions=Wt.xp,this.screenSize="",this.screenSizeEnum=Wt.f7,this.unSubs=[new Xi.B,new Xi.B,new Xi.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(v){v.selectedSwapType&&!v.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===Wt.Bd.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(uc.$G).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.tableSettingSwapOut=v.pageSettings.find(H=>H.pageId===this.PAGE_ID)?.tables.find(H=>H.tableId===this.tableSettingSwapOut.tableId)||Wt.ZC.find(H=>H.pageId===this.PAGE_ID)?.tables.find(H=>H.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=v.pageSettings.find(H=>H.pageId===this.PAGE_ID)?.tables.find(H=>H.tableId===this.tableSettingSwapIn.tableId)||Wt.ZC.find(H=>H.pageId===this.PAGE_ID)?.tables.find(H=>H.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===Wt.Bd.SWAP_IN?(this.displayedColumns=this.screenSize===Wt.f7.XS||this.screenSize===Wt.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:Wt.md):(this.displayedColumns=this.screenSize===Wt.f7.XS||this.screenSize===Wt.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:Wt.md)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(v){const G=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===Wt.Bd.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(Oe=>Oe.column===v);return G?G.label?G.label:this.camelCaseWithReplace.transform(G.column,"_"):this.commonService.titleCase(v)}setFilterPredicate(){this.listSwaps.filterPredicate=(v,H)=>{let G="";switch(this.selFilterBy){case"all":G=JSON.stringify(v).toLowerCase();break;case"status":G=v?.status?this.swapStateEnum[v?.status]:"";break;default:G=typeof v[this.selFilterBy]>"u"?"":"string"==typeof v[this.selFilterBy]?v[this.selFilterBy].toLowerCase():"boolean"==typeof v[this.selFilterBy]?v[this.selFilterBy]?"yes":"no":v[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===G.indexOf(H):G.includes(H)}}onSwapClick(v,H){this.boltzService.swapInfo(v.id||"").pipe((0,dn.Q)(this.unSubs[1])).subscribe(G=>{this.store.dispatch((0,Sn.xO)({payload:{data:{type:Wt.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:Wt.q9[(G=this.selectedSwapType===Wt.Bd.SWAP_IN?G.swap:G.reverseSwap).status],title:"Status",width:50,type:Wt.UN.STRING},{key:"id",value:G.id,title:"ID",width:50,type:Wt.UN.STRING}],[{key:"amount",value:G.onchainAmount?G.onchainAmount:G.expectedAmount?G.expectedAmount:0,title:G.onchainAmount?"Onchain Amount (Sats)":G.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:Wt.UN.NUMBER},{key:"timeoutBlockHeight",value:G.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:Wt.UN.NUMBER}],[{key:"address",value:G.claimAddress?G.claimAddress:G.lockupAddress?G.lockupAddress:"",title:G.claimAddress?"Claim Address":G.lockupAddress?"Lockup Address":"Address",width:100,type:Wt.UN.STRING}],[{key:"invoice",value:G.invoice,title:"Invoice",width:100,type:Wt.UN.STRING}],[{key:"privateKey",value:G.privateKey,title:"Private Key",width:100,type:Wt.UN.STRING}],[{key:"preimage",value:G.preimage,title:"Preimage",width:100,type:Wt.UN.STRING}],[{key:"redeemScript",value:G.redeemScript,title:"Redeem Script",width:100,type:Wt.UN.STRING}],[{key:"lockupTransactionId",value:G.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:Wt.UN.STRING},{key:"transactionId",value:G.claimTransactionId?G.claimTransactionId:G.refundTransactionId?G.refundTransactionId:"",title:G.claimTransactionId?"Claim Transaction ID":G.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:Wt.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(v){this.listSwaps=new Vr.I6(v?[...v]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(H,G)=>H[G]&&isNaN(H[G])?H[G].toLocaleLowerCase():H[G]?+H[G]: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===Wt.Bd.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(is.h),t.rXU(Pi.il),t.rXU(Dc),t.rXU(Uc.VD))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-boltz-swaps"]],viewQuery:function(H,G){if(1&H&&(t.GBs(u1.B4,5),t.GBs(Md.iy,5)),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.sort=Oe.first),t.mGM(Oe=t.lsd())&&(G.paginator=Oe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t.Jv_([{provide:ft.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Md.xX,useValue:(0,Wt.on)("Swaps")}]),t.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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"div",3),t.nrm(3,"fa-icon",4),t.j41(4,"span",5),t.EFF(5),t.k0s()(),t.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),t.EFF(9,"Filter By"),t.k0s(),t.j41(10,"mat-select",8),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selFilterBy,At)||(G.selFilterBy=At),t.Njj(At)}),t.bIt("selectionChange",function(){return t.eBV(Oe),G.selFilter="",t.Njj(G.applyFilter())}),t.j41(11,"perfect-scrollbar"),t.DNE(12,C0,2,2,"mat-option",9),t.k0s()()(),t.j41(13,"mat-form-field",7)(14,"mat-label"),t.EFF(15,"Filter"),t.k0s(),t.j41(16,"input",10),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.selFilter,At)||(G.selFilter=At),t.Njj(At)}),t.bIt("input",function(){return t.eBV(Oe),t.Njj(G.applyFilter())})("keyup",function(){return t.eBV(Oe),t.Njj(G.applyFilter())}),t.k0s()()()(),t.j41(17,"div",11)(18,"div",12),t.DNE(19,bf,1,0,"mat-progress-bar",13),t.j41(20,"table",14,0),t.qex(22,15),t.DNE(23,No,2,0,"th",16)(24,kd,2,1,"td",17),t.bVm(),t.qex(25,18),t.DNE(26,dh,2,0,"th",16)(27,pl,2,1,"td",17),t.bVm(),t.qex(28,19),t.DNE(29,Id,2,0,"th",16)(30,yf,4,4,"td",17),t.bVm(),t.qex(31,20),t.DNE(32,jo,2,0,"th",16)(33,kc,4,4,"td",17),t.bVm(),t.qex(34,21),t.DNE(35,hh,2,0,"th",22)(36,w0,4,3,"td",17),t.bVm(),t.qex(37,23),t.DNE(38,xf,2,0,"th",22)(39,E1,4,3,"td",17),t.bVm(),t.qex(40,24),t.DNE(41,uh,2,0,"th",16)(42,M0,4,4,"td",17),t.bVm(),t.qex(43,25),t.DNE(44,fh,2,0,"th",16)(45,E0,4,4,"td",17),t.bVm(),t.qex(46,26),t.DNE(47,Cf,2,0,"th",16)(48,Rd,4,4,"td",17),t.bVm(),t.qex(49,27),t.DNE(50,mh,2,0,"th",16)(51,ph,4,4,"td",17),t.bVm(),t.qex(52,28),t.DNE(53,S0,2,0,"th",16)(54,gh,4,4,"td",17),t.bVm(),t.qex(55,29),t.DNE(56,_h,2,0,"th",22)(57,S1,4,3,"td",17),t.bVm(),t.qex(58,30),t.DNE(59,T0,2,0,"th",16)(60,Yc,2,1,"td",17),t.bVm(),t.qex(61,31),t.DNE(62,L0,2,0,"th",16)(63,T1,2,1,"td",17),t.bVm(),t.qex(64,32),t.DNE(65,b4,2,0,"th",16)(66,D0,2,1,"td",17),t.bVm(),t.qex(67,33),t.DNE(68,vh,6,0,"th",34)(69,Od,3,0,"td",35),t.bVm(),t.qex(70,36),t.DNE(71,wf,2,1,"td",37),t.bVm(),t.DNE(72,L1,1,3,"tr",38)(73,gl,1,0,"tr",39)(74,bh,1,0,"tr",40),t.k0s(),t.nrm(75,"mat-paginator",41),t.k0s()()()}2&H&&(t.R7$(3),t.Y8G("icon",G.faHistory),t.R7$(2),t.SpI("",G.swapCaption," History"),t.R7$(5),t.R50("ngModel",G.selFilterBy),t.R7$(2),t.Y8G("ngForOf",t.lJ4(16,lh).concat(G.displayedColumns.slice(0,-1))),t.R7$(4),t.R50("ngModel",G.selFilter),t.R7$(3),t.Y8G("ngIf",!0===G.flgLoading[0]),t.R7$(),t.Y8G("matSortActive",G.selectedSwapType===G.swapTypeEnum.SWAP_IN?G.tableSettingSwapIn.sortBy:G.tableSettingSwapOut.sortBy)("matSortDirection",G.selectedSwapType===G.swapTypeEnum.SWAP_IN?G.tableSettingSwapIn.sortOrder:G.tableSettingSwapOut.sortOrder)("dataSource",G.listSwaps)("ngClass",t.eq3(17,_f,"error"===G.flgLoading[0])),t.R7$(52),t.Y8G("matFooterRowDef",t.lJ4(19,vf)),t.R7$(),t.Y8G("matHeaderRowDef",G.displayedColumns),t.R7$(),t.Y8G("matRowDefColumns",G.displayedColumns),t.R7$(),t.Y8G("pageSize",G.pageSize)("pageSizeOptions",G.pageSizeOptions)("showFirstLastButtons",G.screenSize!==G.screenSizeEnum.XS))},dependencies:[si.YU,si.Sq,si.bT,si.B3,De.me,De.BC,De.vS,Qr.aY,$i.DJ,$i.sA,$i.UI,Go.PW,Go.eI,be.$z,Ta.fg,Ne.rl,Ne.nJ,Ed.HM,ft.VO,ft.$2,Rt.wT,u1.B4,u1.aE,Vr.Zl,Vr.tL,Vr.ji,Vr.cC,Vr.YV,Vr.iL,Vr.Zq,Vr.xW,Vr.KS,Vr.$R,Vr.Qo,Vr.YZ,Vr.NB,Vr.iF,Md.iy,Jt.ZF,Jt.Ld,si.QX]})}}return F})();const y4=F=>["../",F];function k0(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG();return t.Njj(Oe.onSelectedIndexChange(G))}),t.EFF(1),t.k0s()}if(2&F){const v=B.$implicit,H=t.XpG();t.Y8G("active",H.activeTab.link===v.link)("routerLink",t.eq3(3,y4,v.link)),t.R7$(),t.JRh(v.name)}}let yh=(()=>{class F{constructor(v,H,G){this.router=v,this.store=H,this.boltzService=G,this.swapTypeEnum=Wt.Bd,this.selectedSwapType=Wt.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 Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.boltzService.getBoltzInfo(),this.boltzService.listSwaps();const v=this.links.find(H=>this.router.url.includes(H.link));this.activeTab=v||this.links[0],this.selectedSwapType=v&&"swapin"===v.link?Wt.Bd.SWAP_IN:Wt.Bd.SWAP_OUT,this.router.events.pipe((0,dn.Q)(this.unSubs[0]),(0,Cr.p)(H=>H instanceof Nn.gx)).subscribe({next:H=>{const G=this.links.find(Oe=>H.urlAfterRedirects.includes(Oe.link));this.activeTab=G||this.links[0],this.selectedSwapType=G&&"swapin"===G.link?Wt.Bd.SWAP_IN:Wt.Bd.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,dn.Q)(this.unSubs[1])).subscribe({next:H=>{this.swaps=H,this.swapsData=this.selectedSwapType===Wt.Bd.SWAP_IN&&H.swaps?H.swaps:this.selectedSwapType===Wt.Bd.SWAP_OUT&&H.reverseSwaps?H.reverseSwaps:[],this.flgLoading[0]=!1},error:H=>{this.flgLoading[0]="error",this.emptyTableMessage=H.message?H.message:"No swap "+(this.selectedSwapType===Wt.Bd.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(v){"swapin"===v.link?(this.selectedSwapType=Wt.Bd.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=Wt.Bd.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(v){this.boltzService.serviceInfo().pipe((0,dn.Q)(this.unSubs[2])).subscribe({next:H=>{this.store.dispatch((0,Sn.xO)({payload:{data:{serviceInfo:H,direction:v,component:$l}}}))}})}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Nn.Ix),t.rXU(Pi.il),t.rXU(Dc))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1),t.qSk(),t.j41(1,"svg",2)(2,"g",3)(3,"g",4),t.nrm(4,"circle",5)(5,"path",6)(6,"path",7),t.k0s()()(),t.joV(),t.j41(7,"span",8),t.EFF(8,"Boltz"),t.k0s()(),t.j41(9,"div",9)(10,"mat-card")(11,"mat-card-content",10)(12,"nav",11),t.DNE(13,k0,2,5,"div",12),t.k0s(),t.nrm(14,"mat-tab-nav-panel",null,0),t.j41(16,"div",13)(17,"button",14),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onSwap(G.selectedSwapType))}),t.EFF(18),t.k0s()(),t.nrm(19,"rtl-boltz-swaps",15),t.k0s()()()}if(2&H){const Oe=t.sdS(15);t.R7$(12),t.Y8G("tabPanel",Oe),t.R7$(),t.Y8G("ngForOf",G.links),t.R7$(5),t.SpI("Start ",G.activeTab.name,""),t.R7$(),t.Y8G("selectedSwapType",G.selectedSwapType)("swapsData",G.swapsData)("flgLoading",G.flgLoading)("emptyTableMessage",G.emptyTableMessage)}},dependencies:[si.Sq,$i.DJ,$i.sA,$i.UI,be.$z,Mr.RN,Mr.m2,la.Bu,la.hQ,la.Ql,Nn.Wk,Mf]})}}return F})();class io{constructor(B){this.help=B}}function Tf(F,B){if(1&F&&(t.j41(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t.EFF(3),t.k0s()(),t.j41(4,"mat-panel-description",9),t.nrm(5,"span",10),t.j41(6,"a",11),t.EFF(7),t.k0s()()()),2&F){const v=t.XpG().$implicit,H=t.XpG();t.R7$(3),t.JRh(v.help.question),t.R7$(2),t.Y8G("innerHTML",v.help.answer,t.npT),t.R7$(),t.Y8G("routerLink",H.flgLoggedIn?v.help.link:"/login"),t.R7$(),t.JRh(H.flgLoggedIn?v.help.linkCaption:"Login to go to the page")}}function Lf(F,B){if(1&F&&(t.j41(0,"div",6),t.DNE(1,Tf,8,4,"mat-expansion-panel",7),t.k0s()),2&F){const v=B.$implicit,H=t.XpG();t.R7$(),t.Y8G("ngIf","ALL"===v.help.lnImplementation||v.help.lnImplementation===H.selNode.lnImplementation)}}let Df=(()=>{class F{constructor(v,H){this.store=v,this.sessionService=H,this.helpTopics=[],this.faQuestion=qi.EvL,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{this.selNode=v,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.flgLoggedIn=!!v.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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 io({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(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Pi.il),t.rXU($s.Q))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"fa-icon",2),t.j41(3,"span",3),t.EFF(4,"Help"),t.k0s()(),t.j41(5,"div",4)(6,"div",0),t.DNE(7,Lf,2,1,"div",5),t.k0s()()()),2&H&&(t.R7$(2),t.Y8G("icon",G.faQuestion),t.R7$(5),t.Y8G("ngForOf",G.helpTopics))},dependencies:[si.Sq,si.bT,Qr.aY,$i.DJ,$i.sA,$i.UI,Br.GK,Br.Z2,Br.WN,Br.Q6,Nn.Wk],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]})}}return F})();var xh=g(4572);function Ch(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Token is required."),t.k0s())}let C4=(()=>{class F{constructor(v,H){this.dialogRef=v,this.store=H,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,Sn.R$)({payload:{twoFAToken:this.token}}))}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Er.CP),t.rXU(Pi.il))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),t.EFF(5,"Two Factor Token"),t.k0s()(),t.j41(6,"button",6),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onClose())}),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",7)(9,"form",8,0),t.bIt("ngSubmit",function(){return t.eBV(Oe),t.Njj(G.onVerifyToken())}),t.j41(11,"mat-form-field")(12,"mat-label"),t.EFF(13,"Token"),t.k0s(),t.j41(14,"input",9),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.token,At)||(G.token=At),t.Njj(At)}),t.k0s(),t.DNE(15,Ch,2,0,"mat-error",10),t.k0s(),t.j41(16,"div",11)(17,"button",12),t.EFF(18,"Verify Token"),t.k0s()()()()()()}2&H&&(t.R7$(14),t.R50("ngModel",G.token),t.R7$(),t.Y8G("ngIf",!G.token))},dependencies:[si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,$i.DJ,$i.sA,$i.UI,be.$z,Mr.m2,Mr.MM,Ta.fg,Ne.rl,Ne.nJ,Ne.TL,Mi.N]})}}return F})();const w4=F=>({"padding-gap-large":F}),Fd=(F,B)=>({"font-size-200":F,"font-size-300":B});function Af(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Password is required."),t.k0s())}function Ql(F,B){if(1&F&&(t.j41(0,"p",21)(1,"mat-icon",22),t.EFF(2,"close"),t.k0s(),t.EFF(3),t.k0s()),2&F){const v=t.XpG();t.R7$(3),t.SpI(" ",v.loginErrorMessage," ")}}function R0(F,B){if(1&F&&(t.j41(0,"p",23)(1,"mat-icon",22),t.EFF(2,"close"),t.k0s(),t.EFF(3),t.k0s()),2&F){const v=t.XpG();t.R7$(3),t.SpI(" ",v.logoutReason," ")}}let Zl=(()=>{class F{constructor(v,H,G,Oe,kt){this.actions=v,this.logger=H,this.store=G,this.rtlEffects=Oe,this.commonService=kt,this.faUnlockAlt=qi.HEq,this.logoutReason="",this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=Wt.f7,this.loginErrorMessage="",this.apiCallStatusEnum=Wt.wn,this.unSubs=[new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,xh.z)([this.store.select(vr.Kq),this.store.select(vr.E2)]).pipe((0,dn.Q)(this.unSubs[0])).subscribe(([v,H])=>{this.loginErrorMessage="",v.status===Wt.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof v.message?JSON.stringify(v.message):v.message),this.logger.error(v.message)),H.status===Wt.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof H.message?JSON.stringify(H.message):H.message),this.logger.error(H.message))}),this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.appConfig=v,this.logger.info(v)}),this.actions.pipe((0,Cr.p)(v=>v.type===Wt.aU.LOGOUT),(0,_a.s)(1)).subscribe(v=>{this.logoutReason=v.payload})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.logoutReason="",this.appConfig.enable2FA?(this.store.dispatch((0,Sn.xO)({payload:{maxWidth:"35rem",data:{component:C4}}})),this.rtlEffects.closeAlert.pipe((0,_a.s)(1)).subscribe(v=>{v&&this.store.dispatch((0,Sn.iD)({payload:{password:zn(this.password),defaultPassword:Wt.Ah.includes(this.password.toLowerCase()),twoFAToken:v.twoFAToken}}))})):this.store.dispatch((0,Sn.iD)({payload:{password:zn(this.password),defaultPassword:Wt.Ah.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.logoutReason="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(it.En),t.rXU(ge.gP),t.rXU(Pi.il),t.rXU(Sa.H),t.rXU(is.h))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"mat-card",3)(3,"div",4)(4,"div",5),t.nrm(5,"img",6),t.k0s(),t.j41(6,"div",7)(7,"mat-card-header",8)(8,"mat-card-title",9)(9,"span",10),t.EFF(10,"Welcome"),t.k0s()()(),t.j41(11,"mat-card-content",11)(12,"form",12,0)(14,"mat-form-field")(15,"mat-label"),t.EFF(16,"Password"),t.k0s(),t.j41(17,"input",13),t.mxI("ngModelChange",function(At){return t.eBV(Oe),t.DH7(G.password,At)||(G.password=At),t.Njj(At)}),t.k0s(),t.j41(18,"button",14),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.flgShow=!G.flgShow)}),t.j41(19,"mat-icon"),t.EFF(20),t.k0s()(),t.DNE(21,Af,2,0,"mat-error",15),t.k0s(),t.DNE(22,Ql,4,1,"p",16)(23,R0,4,1,"p",17),t.j41(24,"div",18)(25,"button",19),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.resetData())}),t.EFF(26,"Clear"),t.k0s(),t.j41(27,"button",20),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onLogin())}),t.EFF(28,"Login"),t.k0s()()()()()()()()()}2&H&&(t.R7$(6),t.Y8G("ngClass",t.eq3(9,w4,G.screenSize===G.screenSizeEnum.XS)),t.R7$(2),t.Y8G("ngClass",t.l_i(11,Fd,G.screenSize===G.screenSizeEnum.XS,G.screenSize!==G.screenSizeEnum.XS)),t.R7$(9),t.Y8G("type",G.flgShow?"text":"password"),t.R50("ngModel",G.password),t.R7$(),t.BMQ("aria-label","Hide password"),t.R7$(2),t.JRh(G.flgShow?"visibility_off":"visibility"),t.R7$(),t.Y8G("ngIf",!G.password),t.R7$(),t.Y8G("ngIf",""!==G.loginErrorMessage),t.R7$(),t.Y8G("ngIf",""!==G.logoutReason))},dependencies:[si.YU,si.bT,De.qT,De.me,De.BC,De.cb,De.YS,De.vS,De.cV,$i.DJ,$i.sA,$i.UI,Go.PW,be.$z,be.iY,Mr.RN,Mr.m2,Mr.MM,Mr.dh,Vc.An,Ta.fg,Ne.rl,Ne.nJ,Ne.TL,Ne.yw,Mi.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 F})();var D1=g(13);let O0=(()=>{class F{constructor(v,H){this.activatedRoute=v,this.router=H,this.error={errorCode:"",errorMessage:""},this.faTimes=qi.GRI,this.unsubs=[new Xi.B,new Xi.B]}ngOnInit(){this.activatedRoute.paramMap.pipe((0,dn.Q)(this.unsubs[0])).subscribe(v=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(Nn.nX),t.rXU(Nn.Ix))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",0)(1,"mat-card",1)(2,"mat-card-header",2)(3,"mat-card-title",3),t.nrm(4,"fa-icon",4),t.j41(5,"span",5),t.EFF(6),t.k0s()()(),t.j41(7,"mat-card-content",6)(8,"div",7),t.EFF(9),t.k0s(),t.j41(10,"span",8)(11,"button",9),t.bIt("click",function(){return G.goToHelp()}),t.EFF(12,"Go To Help"),t.k0s()()()()()),2&H&&(t.R7$(4),t.Y8G("icon",G.faTimes),t.R7$(2),t.SpI("Error ",G.error.errorCode,""),t.R7$(3),t.JRh(G.error.errorMessage))},dependencies:[Qr.aY,$i.DJ,$i.sA,$i.UI,be.$z,Mr.RN,Mr.m2,Mr.MM,Mr.dh],encapsulation:2})}}return F})();var lo=g(7186),Jl=g(1534),ql=g(92),F0=g(6114);const A1=(F,B)=>({"alert-danger":F,"alert-info":B});function ed(F,B){1&F&&t.nrm(0,"span",17)}function N0(F,B){1&F&&t.nrm(0,"span",18)}function M4(F,B){if(1&F){const v=t.RV6();t.j41(0,"form",19,0)(2,"div",20),t.nrm(3,"fa-icon",4),t.j41(4,"span"),t.EFF(5,"Please ensure that "),t.j41(6,"strong"),t.EFF(7,"experimental-offers"),t.k0s(),t.EFF(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),t.j41(9,"strong")(10,"a",21),t.EFF(11,"here"),t.k0s()(),t.EFF(12," to learn more about Core Lightning offers."),t.k0s()(),t.j41(13,"h4",22),t.EFF(14,"Description"),t.k0s(),t.j41(15,"span"),t.EFF(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),t.k0s(),t.j41(17,"h4",22),t.EFF(18,"Links"),t.k0s(),t.j41(19,"span")(20,"a",23),t.EFF(21,"Core lightning Bolt12"),t.k0s()(),t.nrm(22,"mat-divider",24),t.j41(23,"div",25),t.nrm(24,"fa-icon",4),t.j41(25,"span"),t.EFF(26,"Do not get an Offer tattoo until spec is fully ratified!"),t.k0s()(),t.j41(27,"mat-slide-toggle",26),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(2);return t.DH7(Oe.enableOffers,G)||(Oe.enableOffers=G),t.Njj(G)}),t.bIt("change",function(){t.eBV(v);const G=t.XpG(2);return t.Njj(G.onUpdateFeature())}),t.EFF(28),t.k0s()()}if(2&F){const v=t.XpG(2);t.R7$(3),t.Y8G("icon",v.faInfoCircle),t.R7$(19),t.Y8G("inset",!0),t.R7$(2),t.Y8G("icon",v.faExclamationTriangle),t.R7$(3),t.R50("ngModel",v.enableOffers),t.R7$(),t.SpI("Enable Offers ",v.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"","")}}function k1(F,B){if(1&F&&(t.j41(0,"div")(1,"div",29),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.EFF(4,"Please ensure that "),t.j41(5,"strong"),t.EFF(6,"experimental-dual-fund"),t.k0s(),t.EFF(7," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),t.j41(8,"strong")(9,"a",30),t.EFF(10,"here"),t.k0s()(),t.EFF(11," to learn more about Core Lightning Liquidity Ads."),t.k0s()()()),2&F){const v=t.XpG(3);t.R7$(2),t.Y8G("icon",v.faExclamationTriangle)}}function Nd(F,B){if(1&F&&(t.j41(0,"mat-option",47),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v),t.R7$(),t.SpI(" ",t.bMT(2,2,v.id)," ")}}function wh(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(4);t.R7$(),t.SpI("",v.selPolicyType.placeholder," is required.")}}function Mh(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(4);t.R7$(),t.Lme("",v.selPolicyType.placeholder," must be greater than or equal to ",v.selPolicyType.min,".")}}function kf(F,B){if(1&F&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&F){const v=t.XpG(4);t.R7$(),t.Lme("",v.selPolicyType.placeholder," must be less than or equal to ",v.selPolicyType.max,".")}}function Eh(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Lease base fee is required."),t.k0s())}function P0(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Lease base basis is required."),t.k0s())}function z0(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Max channel routing base fee is required."),t.k0s())}function If(F,B){1&F&&(t.j41(0,"mat-error"),t.EFF(1,"Max channel routing fee rate is required."),t.k0s())}function Sh(F,B){if(1&F&&(t.j41(0,"h4",48)(1,"span",49),t.EFF(2),t.k0s()()),2&F){const v=t.XpG(4);t.R7$(),t.Y8G("ngClass",t.l_i(2,A1,!!v.updateMsg.error,!!v.updateMsg.data)),t.R7$(),t.SpI(" ",v.updateMsg.error&&""!==v.updateMsg.error?"Error: "+v.updateMsg.error||0:v.updateMsg.data&&""!==v.updateMsg.data?v.updateMsg.data:"Successfully Updated the Funding Policy!"," ")}}function Pd(F,B){if(1&F){const v=t.RV6();t.j41(0,"div",31)(1,"div",32),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.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."),t.k0s()(),t.j41(5,"div",33)(6,"mat-form-field",34)(7,"mat-label"),t.EFF(8,"Policy"),t.k0s(),t.j41(9,"mat-select",35),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(3);return t.DH7(Oe.selPolicyType,G)||(Oe.selPolicyType=G),t.Njj(G)}),t.bIt("selectionChange",function(){t.eBV(v);const G=t.XpG(3);return t.Njj(G.policyMod=null)}),t.DNE(10,Nd,3,4,"mat-option",36),t.k0s()(),t.j41(11,"mat-form-field",37)(12,"mat-label"),t.EFF(13),t.k0s(),t.j41(14,"input",38,1),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(3);return t.DH7(Oe.policyMod,G)||(Oe.policyMod=G),t.Njj(G)}),t.k0s(),t.j41(16,"mat-hint"),t.EFF(17),t.k0s(),t.DNE(18,wh,2,1,"mat-error",27)(19,Mh,2,2,"mat-error",27)(20,kf,2,2,"mat-error",27),t.k0s()(),t.j41(21,"div",33)(22,"mat-form-field",37)(23,"mat-label"),t.EFF(24,"Lease Base Fee (Sats)"),t.k0s(),t.j41(25,"input",39),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(3);return t.DH7(Oe.lease_fee_base_sat,G)||(Oe.lease_fee_base_sat=G),t.Njj(G)}),t.k0s(),t.DNE(26,Eh,2,0,"mat-error",27),t.k0s(),t.j41(27,"mat-form-field",37)(28,"mat-label"),t.EFF(29,"Lease Base Basis (bps)"),t.k0s(),t.j41(30,"input",40),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(3);return t.DH7(Oe.lease_fee_basis,G)||(Oe.lease_fee_basis=G),t.Njj(G)}),t.k0s(),t.DNE(31,P0,2,0,"mat-error",27),t.k0s()(),t.j41(32,"div",33)(33,"mat-form-field",37)(34,"mat-label"),t.EFF(35,"Max Channel Routing Base Fee (Sats)"),t.k0s(),t.j41(36,"input",41),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(3);return t.DH7(Oe.channelFeeMaxBaseSat,G)||(Oe.channelFeeMaxBaseSat=G),t.Njj(G)}),t.k0s(),t.DNE(37,z0,2,0,"mat-error",27),t.k0s(),t.j41(38,"mat-form-field",37)(39,"mat-label"),t.EFF(40,"Max Channel Routing Fee Rate (ppm)"),t.k0s(),t.j41(41,"input",42),t.mxI("ngModelChange",function(G){t.eBV(v);const Oe=t.XpG(3);return t.DH7(Oe.channelFeeMaxProportional,G)||(Oe.channelFeeMaxProportional=G),t.Njj(G)}),t.k0s(),t.DNE(42,If,2,0,"mat-error",27),t.k0s()(),t.DNE(43,Sh,3,5,"h4",43),t.j41(44,"div",44)(45,"button",45),t.bIt("click",function(){t.eBV(v);const G=t.XpG(3);return t.Njj(G.onResetPolicy())}),t.EFF(46,"Reset"),t.k0s(),t.j41(47,"button",46),t.bIt("click",function(){t.eBV(v);const G=t.XpG(3);return t.Njj(G.onUpdateFundingPolicy())}),t.EFF(48,"Update"),t.k0s()()()}if(2&F){const v=t.XpG(3);t.R7$(2),t.Y8G("icon",v.faExclamationTriangle),t.R7$(7),t.R50("ngModel",v.selPolicyType),t.R7$(),t.Y8G("ngForOf",v.policyTypes),t.R7$(3),t.JRh(v.selPolicyType.placeholder),t.R7$(),t.Y8G("step","fixed"===v.selPolicyType.id?1e3:10)("min",v.selPolicyType.min)("max",v.selPolicyType.max),t.R50("ngModel",v.policyMod),t.R7$(3),t.E5c("",v.selPolicyType.placeholder," should be between ",v.selPolicyType.min," and ",v.selPolicyType.max,""),t.R7$(),t.Y8G("ngIf",!v.policyMod),t.R7$(),t.Y8G("ngIf",v.policyModv.selPolicyType.max),t.R7$(5),t.R50("ngModel",v.lease_fee_base_sat),t.R7$(),t.Y8G("ngIf",!v.lease_fee_base_sat),t.R7$(4),t.R50("ngModel",v.lease_fee_basis),t.R7$(),t.Y8G("ngIf",!v.lease_fee_basis),t.R7$(5),t.R50("ngModel",v.channelFeeMaxBaseSat),t.R7$(),t.Y8G("ngIf",!v.channelFeeMaxBaseSat),t.R7$(4),t.R50("ngModel",v.channelFeeMaxProportional),t.R7$(),t.Y8G("ngIf",!v.channelFeeMaxProportional),t.R7$(),t.Y8G("ngIf",v.flgUpdateCalled)}}function Th(F,B){if(1&F&&(t.j41(0,"form",19,0),t.DNE(2,k1,12,1,"div",27)(3,Pd,49,23,"div",28),t.k0s()),2&F){const v=t.XpG(2);t.R7$(2),t.Y8G("ngIf",!v.features[1].enabled),t.R7$(),t.Y8G("ngIf",v.features[1].enabled)}}function B0(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-expansion-panel",10),t.bIt("opened",function(){const G=t.eBV(v).index,Oe=t.XpG();return t.Njj(Oe.onPanelExpanded(G))}),t.j41(1,"mat-expansion-panel-header")(2,"mat-panel-title",11)(3,"h4",12),t.EFF(4),t.k0s(),t.j41(5,"h4",12),t.DNE(6,ed,1,0,"span",13)(7,N0,1,0,"span",14),t.EFF(8),t.k0s()()(),t.j41(9,"div",15),t.DNE(10,M4,29,5,"form",16)(11,Th,4,2,"form",16),t.k0s()()}if(2&F){const v=B.$implicit,H=B.index;t.Y8G("expanded",!1),t.R7$(4),t.JRh(v.name),t.R7$(2),t.Y8G("ngIf",v.enabled),t.R7$(),t.Y8G("ngIf",!v.enabled),t.R7$(),t.SpI(" ",v.enabled?"Enabled":"Disabled"," "),t.R7$(2),t.Y8G("ngIf",0===H),t.R7$(),t.Y8G("ngIf",1===H)}}let Rf=(()=>{class F{constructor(v,H,G,Oe){this.logger=v,this.store=H,this.dataService=G,this.commonService=Oe,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=Wt.ul,this.selPolicyType=Wt.ul[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.dataService.listConfigs().pipe((0,dn.Q)(this.unSubs[0])).subscribe({next:v=>{this.logger.info("Received List Configs: "+JSON.stringify(v)),this.features[1].enabled=!!v["experimental-dual-fund"]},error:v=>{this.logger.error("List Configs Error: "+JSON.stringify(v)),this.features[1].enabled=!1}}),this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.selNode=v,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(ns.Al).pipe((0,dn.Q)(this.unSubs[2])).subscribe(v=>{this.policyTypes[2].max=v.balance.totalBalance||1e3})}onPanelExpanded(v){1===v&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,dn.Q)(this.unSubs[3])).subscribe(H=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(H)),this.fundingPolicy=H,this.fundingPolicy.policy&&(this.selPolicyType=Wt.ul.find(G=>G.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,Sn.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,dn.Q)(this.unSubs[4])).subscribe({next:v=>{this.logger.info(v),this.fundingPolicy=v,this.updateMsg={data:"Compact Lease: "+v.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:v=>{this.logger.error(v),this.updateMsg={error:this.commonService.extractErrorMessage(v,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.selPolicyType=this.fundingPolicy.policy?Wt.ul.find(v=>v.id===this.fundingPolicy.policy)||this.policyTypes[0]:Wt.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(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(Pi.il),t.rXU(Jl.u),t.rXU(is.h))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",2)(1,"div",3),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.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."),t.k0s()(),t.j41(5,"form",5,0)(7,"div",6),t.nrm(8,"fa-icon",7),t.j41(9,"span",8),t.EFF(10,"Features"),t.k0s()(),t.j41(11,"mat-accordion"),t.DNE(12,B0,12,7,"mat-expansion-panel",9),t.k0s()()()),2&H&&(t.R7$(2),t.Y8G("icon",G.faInfoCircle),t.R7$(6),t.Y8G("icon",G.faCode),t.R7$(4),t.Y8G("ngForOf",G.features))},dependencies:[si.YU,si.Sq,si.bT,De.qT,De.me,De.Q0,De.BC,De.cb,De.YS,De.VZ,De.zX,De.vS,De.cV,Qr.aY,$i.DJ,$i.sA,$i.UI,Go.PW,be.$z,Br.BS,Br.GK,Br.Z2,Br.WN,Ta.fg,Ne.rl,Ne.nJ,Ne.MV,Ne.TL,rl.q,ft.VO,Rt.wT,Rl.sG,Jt.Ld,Mi.N,ql.z,F0.V,si.PV],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}}return F})(),E4=(()=>{class F{constructor(){}static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){1&H&&(t.j41(0,"div",0)(1,"mat-card")(2,"mat-card-content",1)(3,"div",2)(4,"div",3),t.EFF(5,"No Service Found!"),t.k0s()()()()())},dependencies:[$i.DJ,$i.sA,Mr.RN,Mr.m2],encapsulation:2})}}return F})();const S4=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([g.e(193),g.e(190)]).then(g.bind(g,9190)).then(F=>F.LNDModule),canActivate:[(0,lo.q_)()]},{path:"cln",loadChildren:()=>Promise.all([g.e(193),g.e(853)]).then(g.bind(g,4853)).then(F=>F.CLNModule),canActivate:[(0,lo.q_)()]},{path:"ecl",loadChildren:()=>Promise.all([g.e(193),g.e(17)]).then(g.bind(g,9017)).then(F=>F.ECLModule),canActivate:[(0,lo.q_)()]},{path:"settings",component:T2,canActivate:[(0,lo.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:Pn,canActivate:[(0,lo.q_)()]},{path:"auth",component:n0,canActivate:[(0,lo.q_)()]},{path:"bconfig",component:a4,canActivate:[(0,lo.q_)()]}]},{path:"config",component:s4,canActivate:[(0,lo.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:k2,canActivate:[(0,lo.q_)()]},{path:"pglayout",component:$u,canActivate:[(0,lo.q_)()]},{path:"services",component:o0,canActivate:[(0,lo.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:d1,canActivate:[(0,lo.q_)()]},{path:"boltz",component:c0,canActivate:[(0,lo.q_)()]},{path:"noservice",component:E4}]},{path:"experimental",component:Rf,canActivate:[(0,lo.q_)()]},{path:"lnconfig",component:Hr,canActivate:[(0,lo.q_)()]}]},{path:"services",component:P2,canActivate:[(0,lo.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:Y2},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:yh}]},{path:"help",component:Df},{path:"login",component:Zl},{path:"error",component:O0},{path:"**",component:D1.X}],zd=Nn.iI.forRoot(S4,{onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"});var I1=g(9029),R1=g(9881),V0=g(9183),O1=g(882),Of=g(5911),F1=g(4109),gs=g(7358);const mc={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.xiI,link:"/lnd/home",userPersona:Wt.HW.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.CQO,link:"/lnd/onchain",userPersona:Wt.HW.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.zm_,link:"/lnd/connections",userPersona:Wt.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.gdJ,link:"/lnd/connections",userPersona:Wt.HW.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:qi._qq,link:"/lnd/transactions",userPersona:Wt.HW.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:qi.knH,link:"/lnd/routing",userPersona:Wt.HW.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:qi.$Fj,link:"/lnd/reports",userPersona:Wt.HW.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.MjD,link:"/lnd/graph",userPersona:Wt.HW.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:qi.pCJ,link:"/lnd/messages",userPersona:Wt.HW.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:qi.cbP,link:"/lnd/channelbackup",userPersona:Wt.HW.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:qi.qFF,link:"/lnd/network",userPersona:Wt.HW.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:qi.D6w,link:"/lnd/network",userPersona:Wt.HW.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:qi.qIE,link:"/services/loop",userPersona:Wt.HW.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:qi.C8j,link:"/services/loop",userPersona:Wt.HW.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Wt.HW.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:qi.nsx,link:"/config",userPersona:Wt.HW.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:qi.EvL,link:"/help",userPersona:Wt.HW.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.xiI,link:"/cln/home",userPersona:Wt.HW.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.CQO,link:"/cln/onchain",userPersona:Wt.HW.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.zm_,link:"/cln/connections",userPersona:Wt.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.gdJ,link:"/cln/connections",userPersona:Wt.HW.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:qi.e4L,link:"/cln/liquidityads",userPersona:Wt.HW.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:qi._qq,link:"/cln/transactions",userPersona:Wt.HW.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:qi.knH,link:"/cln/routing",userPersona:Wt.HW.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:qi.$Fj,link:"/cln/reports",userPersona:Wt.HW.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.MjD,link:"/cln/graph",userPersona:Wt.HW.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:qi.pCJ,link:"/cln/messages",userPersona:Wt.HW.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:qi.WKo,link:"/cln/rates",userPersona:Wt.HW.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:qi.D6w,link:"/cln/rates",userPersona:Wt.HW.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:qi.qIE,link:"/services/loop",userPersona:Wt.HW.ALL,children:[{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Wt.HW.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:qi.nsx,link:"/config",userPersona:Wt.HW.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:qi.EvL,link:"/help",userPersona:Wt.HW.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.xiI,link:"/ecl/home",userPersona:Wt.HW.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.CQO,link:"/ecl/onchain",userPersona:Wt.HW.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.zm_,link:"/ecl/connections",userPersona:Wt.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.gdJ,link:"/ecl/connections",userPersona:Wt.HW.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:qi._qq,link:"/ecl/transactions",userPersona:Wt.HW.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:qi.knH,link:"/ecl/routing",userPersona:Wt.HW.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:qi.$Fj,link:"/ecl/reports",userPersona:Wt.HW.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.MjD,link:"/ecl/graph",userPersona:Wt.HW.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:qi.nsx,link:"/config",userPersona:Wt.HW.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:qi.EvL,link:"/help",userPersona:Wt.HW.ALL}]};function N1(F,B){if(1&F&&(t.j41(0,"mat-option",12),t.EFF(1),t.k0s()),2&F){const v=B.$implicit;t.Y8G("value",v.index),t.R7$(),t.Lme(" ",v.lnNode," (",v.lnImplementation,") ")}}function Lh(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-select",10),t.bIt("selectionChange",function(G){t.eBV(v);const Oe=t.XpG();return t.Njj(Oe.onNodeSelectionChange(G.value))}),t.j41(1,"perfect-scrollbar"),t.DNE(2,N1,2,3,"mat-option",11),t.k0s()()}if(2&F){const v=t.XpG();t.Y8G("value",v.selConfigNodeIndex),t.R7$(2),t.Y8G("ngForOf",v.appConfig.nodes)}}function U0(F,B){if(1&F&&(t.j41(0,"span",21),t.eu8(1,22),t.k0s()),2&F){const v=t.XpG().$implicit;t.XpG(2);const H=t.sdS(11);t.R7$(),t.Y8G("ngTemplateOutlet","boltzIconBlock"===v.icon?H:null)}}function Dh(F,B){if(1&F&&t.nrm(0,"fa-icon",23),2&F){const v=t.XpG().$implicit;t.Y8G("icon",v.icon)}}function P1(F,B){if(1&F&&(t.j41(0,"mat-icon",24),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.JRh(v.icon)}}function G0(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-tree-node",15)(1,"div",16),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG(2);return t.Njj(Oe.onChildNavClicked(G))}),t.j41(2,"div",17),t.DNE(3,U0,2,1,"span",18)(4,Dh,1,1,"fa-icon",19)(5,P1,2,1,"mat-icon",20),t.j41(6,"span"),t.EFF(7),t.k0s()()()()}if(2&F){const v=B.$implicit;t.FS9("routerLink",v.link),t.R7$(3),t.Y8G("ngIf","SVG"===v.iconType),t.R7$(),t.Y8G("ngIf","FA"===v.iconType),t.R7$(),t.Y8G("ngIf",!v.iconType),t.R7$(2),t.JRh(v.name)}}function z1(F,B){if(1&F&&(t.j41(0,"span",32),t.eu8(1,22),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.Y8G("ngTemplateOutlet",v.icon)}}function B1(F,B){if(1&F&&t.nrm(0,"fa-icon",23),2&F){const v=t.XpG().$implicit;t.Y8G("icon",v.icon)}}function id(F,B){if(1&F&&(t.j41(0,"mat-icon",24),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.JRh(v.icon)}}function Nf(F,B){if(1&F&&(t.j41(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),t.DNE(3,z1,2,1,"span",28)(4,B1,1,1,"fa-icon",19)(5,id,2,1,"mat-icon",20),t.j41(6,"span"),t.EFF(7),t.k0s()(),t.j41(8,"button",29)(9,"mat-icon"),t.EFF(10),t.k0s()()(),t.j41(11,"div",30),t.eu8(12,31),t.k0s()()),2&F){const v=B.$implicit,H=t.XpG(2);t.R7$(3),t.Y8G("ngIf","SVG"===v.iconType),t.R7$(),t.Y8G("ngIf","FA"===v.iconType),t.R7$(),t.Y8G("ngIf",!v.iconType),t.R7$(2),t.JRh(v.name),t.R7$(),t.BMQ("aria-label","toggle "+v.name),t.R7$(2),t.JRh(H.treeControlNested.isExpanded(v)?"arrow_drop_up":"arrow_drop_down"),t.R7$(),t.AVh("tree-children-invisible",!H.treeControlNested.isExpanded(v))}}function Pf(F,B){if(1&F&&(t.j41(0,"mat-tree",7,1),t.DNE(2,G0,8,5,"mat-tree-node",13)(3,Nf,13,8,"mat-nested-tree-node",14),t.k0s()),2&F){const v=t.XpG();t.Y8G("dataSource",v.navMenus)("treeControl",v.treeControlNested),t.R7$(3),t.Y8G("matTreeNodeDefWhen",v.hasChild)}}function T4(F,B){if(1&F&&(t.j41(0,"span",37),t.eu8(1,22),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.Y8G("ngTemplateOutlet",v.icon)}}function nd(F,B){if(1&F&&t.nrm(0,"fa-icon",38),2&F){const v=t.XpG().$implicit;t.FS9("matTooltip",v.name),t.Y8G("icon",v.icon)}}function H0(F,B){if(1&F&&(t.j41(0,"mat-icon",39),t.EFF(1),t.k0s()),2&F){const v=t.XpG().$implicit;t.FS9("matTooltip",v.name),t.R7$(),t.JRh(v.icon)}}function Ah(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-tree-node",33),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG();return t.Njj(Oe.onShowData(G))}),t.DNE(1,T4,2,1,"span",34)(2,nd,1,2,"fa-icon",35)(3,H0,2,2,"mat-icon",36),t.j41(4,"span"),t.EFF(5),t.k0s()()}if(2&F){const v=B.$implicit;t.R7$(),t.Y8G("ngIf","SVG"===v.iconType),t.R7$(),t.Y8G("ngIf","FA"===v.iconType),t.R7$(),t.Y8G("ngIf",!v.iconType),t.R7$(2),t.JRh(v.name)}}function V1(F,B){if(1&F&&(t.j41(0,"span",32),t.eu8(1,22),t.k0s()),2&F){const v=t.XpG().$implicit;t.R7$(),t.Y8G("ngTemplateOutlet",v.icon)}}function kh(F,B){if(1&F&&t.nrm(0,"fa-icon",38),2&F){const v=t.XpG().$implicit;t.FS9("matTooltip",v.name),t.Y8G("icon",v.icon)}}function vl(F,B){if(1&F){const v=t.RV6();t.j41(0,"mat-tree-node",33),t.bIt("click",function(){const G=t.eBV(v).$implicit,Oe=t.XpG(2);return t.Njj(Oe.onClick(G))}),t.DNE(1,V1,2,1,"span",28)(2,kh,1,2,"fa-icon",35),t.j41(3,"span"),t.EFF(4),t.k0s()()}if(2&F){const v=B.$implicit;t.R7$(),t.Y8G("ngIf","SVG"===v.iconType),t.R7$(),t.Y8G("ngIf","FA"===v.iconType),t.R7$(2),t.JRh(v.name)}}function zf(F,B){if(1&F&&(t.j41(0,"mat-tree",7),t.DNE(1,vl,5,3,"mat-tree-node",8),t.k0s()),2&F){const v=t.XpG();t.Y8G("dataSource",v.navMenusLogout)("treeControl",v.treeControlLogout)}}function Ih(F,B){1&F&&(t.qSk(),t.j41(0,"svg",40)(1,"g",41)(2,"g",42),t.nrm(3,"circle",43)(4,"path",44)(5,"path",45),t.k0s()()())}let L4=(()=>{class F{constructor(v,H,G,Oe,kt,At){this.logger=v,this.commonService=H,this.sessionService=G,this.store=Oe,this.actions=kt,this.rtlEffects=At,this.ChildNavClicked=new t.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=Wt.HW,this.unSubs=[new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B],this.treeControlNested=new F1.XO(oi=>oi.children),this.treeControlLogout=new F1.XO(oi=>oi.children),this.treeControlShowData=new F1.XO(oi=>oi.children),this.navMenus=new gs.Zh,this.navMenusLogout=new gs.Zh,this.navMenusShowData=new gs.Zh,this.hasChild=(oi,ui)=>!!ui.children&&ui.children.length>0,this.version=Wt.xv,mc.LNDChildren&&200===mc.LNDChildren[mc.LNDChildren.length-1].id&&mc.LNDChildren.pop(),this.navMenus.data=mc.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const v=this.sessionService.getItem("token");this.showLogout=!!v,this.flgLoading=!!v,this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[0])).subscribe(H=>{this.appConfig=H}),this.store.select(vr.Az).pipe((0,dn.Q)(this.unSubs[1])).subscribe(H=>{if(this.information=H.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 G=this.information.chains[0];this.informationChain.chain=G.chain,this.informationChain.network=G.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=H.selNode,this.selConfigNodeIndex=+(H.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(H)}),this.sessionService.watchSession().pipe((0,dn.Q)(this.unSubs[2])).subscribe(H=>{this.showLogout=!!H.token,this.flgLoading=!!H.token}),this.actions.pipe((0,dn.Q)(this.unSubs[3]),(0,Cr.p)(H=>H.type===Wt.aU.LOGOUT)).subscribe(H=>{this.showLogout=!1})}onClick(v){"Logout"===v.name&&(this.store.dispatch((0,Sn.I1)({payload:{data:{type:Wt.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,dn.Q)(this.unSubs[4])).subscribe(H=>{H&&(this.showLogout=!1,this.store.dispatch((0,Sn.ri)({payload:""})))})),this.ChildNavClicked.emit(v)}onChildNavClicked(v){this.ChildNavClicked.emit(v)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){let v=[];v=JSON.parse(JSON.stringify(mc.LNDChildren)),this.navMenus.data=v?.filter(H=>H.children&&H.children.length?(H.children=H.children?.filter(G=>(G.userPersona===Wt.HW.ALL||G.userPersona===this.selNode.settings.userPersona)&&"/services/loop"!==G.link&&"/services/boltz"!==G.link||"/services/loop"===G.link&&this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()||"/services/boltz"===G.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()),H.children.length>0):H.userPersona===Wt.HW.ALL||H.userPersona===this.selNode.settings.userPersona)}loadCLNMenu(){let v=[];v=JSON.parse(JSON.stringify(mc.CLNChildren)),this.navMenus.data=v?.filter(H=>H.children&&H.children.length?(H.children=H.children?.filter(G=>(G.userPersona===Wt.HW.ALL||G.userPersona===this.selNode.settings.userPersona)&&"/services/peerswap"!==G.link||"/services/peerswap"===G.link&&this.selNode.settings.enablePeerswap||"/services/boltz"===G.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()),H.children.length>0):H.userPersona===Wt.HW.ALL||H.userPersona===this.selNode.settings.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(mc.ECLChildren))}onShowData(v){this.store.dispatch((0,Sn.OP)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(v){const H=this.selConfigNodeIndex;this.selConfigNodeIndex=v;const G=this.appConfig.nodes.find(Oe=>+Oe.index===v);this.store.dispatch((0,Sn.Qi)({payload:{uiMessage:Wt.MZ.UPDATE_SELECTED_NODE,prevLnNodeIndex:+H,currentLnNode:G||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(is.h),t.rXU($s.Q),t.rXU(Pi.il),t.rXU(it.En),t.rXU(Sa.H))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-side-navigation"]],viewQuery:function(H,G){if(1&H&&t.GBs(gs.lQ,5),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.tree=Oe.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(H,G){1&H&&(t.j41(0,"div",2)(1,"div",3),t.DNE(2,Lh,3,2,"mat-select",4),t.nrm(3,"mat-divider",5),t.DNE(4,Pf,4,3,"mat-tree",6),t.nrm(5,"mat-divider",5),t.j41(6,"mat-tree",7),t.DNE(7,Ah,6,4,"mat-tree-node",8),t.k0s()(),t.j41(8,"div",9),t.DNE(9,zf,2,2,"mat-tree",6),t.k0s()(),t.DNE(10,Ih,6,0,"ng-template",null,0,t.C5r)),2&H&&(t.R7$(2),t.Y8G("ngIf",G.appConfig.nodes.length>1),t.R7$(2),t.Y8G("ngIf",null==G.selNode.settings?null:G.selNode.settings.lnServerUrl),t.R7$(2),t.Y8G("dataSource",G.navMenusShowData)("treeControl",G.treeControlShowData),t.R7$(3),t.Y8G("ngIf",G.showLogout))},dependencies:[si.Sq,si.bT,si.T3,Qr.aY,$i.DJ,$i.sA,$i.UI,be.iY,Vc.An,rl.q,gs.q1,gs.yI,gs.pO,gs.lQ,gs.d6,gs.wx,ft.VO,Rt.wT,Sc.oV,Nn.Wk,Nn.wQ,Jt.ZF,Jt.Ld],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]})}}return F})();var U1=g(9115);function D4(F,B){if(1&F&&(t.j41(0,"p",14),t.nrm(1,"fa-icon",3),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&F){const v=t.XpG();t.R7$(),t.Y8G("icon",v.faCode),t.R7$(2),t.SpI("API Version: ",null==v.information?null:v.information.api_version,"")}}function rs(F,B){if(1&F&&(t.j41(0,"p",15),t.nrm(1,"fa-icon",3),t.j41(2,"span",16),t.EFF(3,"Settings"),t.k0s()()),2&F){const v=t.XpG();t.R7$(),t.Y8G("icon",v.faUserCog)}}function Bd(F,B){if(1&F&&(t.j41(0,"p",17),t.nrm(1,"fa-icon",3),t.j41(2,"span",18),t.EFF(3,"Help"),t.k0s()()),2&F){const v=t.XpG();t.R7$(),t.Y8G("icon",v.faQuestion)}}function Bf(F,B){if(1&F){const v=t.RV6();t.j41(0,"p",19),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.onClick())}),t.nrm(1,"fa-icon",3),t.j41(2,"span"),t.EFF(3,"Logout"),t.k0s()()}if(2&F){const v=t.XpG();t.R7$(),t.Y8G("icon",v.faEject)}}let A4=(()=>{class F{constructor(v,H,G,Oe,kt){this.logger=v,this.sessionService=H,this.store=G,this.rtlEffects=Oe,this.actions=kt,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 Xi.B,new Xi.B,new Xi.B,new Xi.B],this.version=Wt.xv}ngOnInit(){this.store.select(vr.N).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{if(this.information=v,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 H=this.information.chains[0];this.informationChain.chain=H.chain,this.informationChain.network=H.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(v)}),this.sessionService.watchSession().pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.showLogout=!!v.token,this.flgLoading=!!v.token}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,Cr.p)(v=>v.type===Wt.aU.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,Sn.I1)({payload:{data:{type:Wt.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,dn.Q)(this.unSubs[3])).subscribe(v=>{v&&(this.showLogout=!1,this.store.dispatch((0,Sn.ri)({payload:""})))})}onDonate(){window.open("https://www.ridethelightning.info/donate/","_blank")}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(null),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU($s.Q),t.rXU(Pi.il),t.rXU(Sa.H),t.rXU(it.En))}}static{this.\u0275cmp=t.VBU({type:F,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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"mat-menu",1,0)(2,"p",2),t.nrm(3,"fa-icon",3),t.j41(4,"span"),t.EFF(5),t.k0s()(),t.DNE(6,D4,4,2,"p",4)(7,rs,4,1,"p",5)(8,Bd,4,1,"p",6),t.j41(9,"p",7),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onDonate())}),t.qSk(),t.j41(10,"svg",8)(11,"g"),t.nrm(12,"path",9),t.k0s()(),t.joV(),t.j41(13,"span"),t.EFF(14,"Donate"),t.k0s()(),t.DNE(15,Bf,4,1,"p",10),t.k0s(),t.j41(16,"button",11),t.nrm(17,"img",12),t.j41(18,"mat-icon",13),t.EFF(19,"arrow_drop_down"),t.k0s()()}if(2&H){const Oe=t.sdS(1);t.Y8G("overlapTrigger",!1),t.R7$(3),t.Y8G("icon",G.faCodeBranch),t.R7$(2),t.SpI("Version: ",G.version,""),t.R7$(),t.Y8G("ngIf",null==G.information?null:G.information.api_version),t.R7$(),t.Y8G("ngIf",G.showLogout),t.R7$(),t.Y8G("ngIf",G.showLogout),t.R7$(7),t.Y8G("ngIf",G.showLogout),t.R7$(),t.Y8G("matMenuTriggerFor",Oe)}},dependencies:[si.bT,Qr.aY,$i.sA,be.iY,Vc.An,U1.kk,U1.fb,U1.Cp,Nn.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 F})();const Vf=["sideNavigation"],Uf=["sideNavContent"],Gf=(F,B)=>[F,B];function k4(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",15),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.sideNavToggle())}),t.j41(1,"mat-icon",16),t.EFF(2,"menu"),t.k0s()()}if(2&F){const v=t.XpG();t.Y8G("matTooltip",v.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",v.smallScreen)}}function Hf(F,B){1&F&&(t.qSk(),t.nrm(0,"path",21))}function I4(F,B){1&F&&(t.qSk(),t.nrm(0,"path",22))}function Rh(F,B){if(1&F){const v=t.RV6();t.j41(0,"button",17),t.bIt("click",function(){t.eBV(v);const G=t.XpG();return t.Njj(G.flgSidenavPinned=!G.flgSidenavPinned)}),t.qSk(),t.j41(1,"svg",18),t.DNE(2,Hf,1,0,"path",19)(3,I4,1,0,"path",20),t.k0s()()}if(2&F){const v=t.XpG();t.Y8G("matTooltip",v.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),t.R7$(2),t.Y8G("ngIf",!v.flgSidenavPinned),t.R7$(),t.Y8G("ngIf",v.flgSidenavPinned)}}function jf(F,B){if(1&F&&(t.j41(0,"span",23),t.EFF(1),t.k0s()),2&F){const v=t.XpG();t.R7$(),t.JRh(v.information.alias?"RTL - "+v.information.alias:"RTL")}}function R4(F,B){if(1&F&&(t.j41(0,"span",24),t.EFF(1),t.k0s()),2&F){const v=t.XpG();t.R7$(),t.JRh(v.information.alias?"Ride The Lightning - "+v.information.alias:"Ride The Lightning")}}function Vd(F,B){1&F&&(t.j41(0,"div",25),t.nrm(1,"mat-spinner",26),t.j41(2,"h4"),t.EFF(3,"Loading RTL..."),t.k0s()())}let Kc=(()=>{class F{constructor(v,H,G,Oe,kt,At,oi,ui,Wi){this.logger=v,this.commonService=H,this.store=G,this.actions=Oe,this.userIdle=kt,this.router=At,this.sessionService=oi,this.breakpointObserver=ui,this.renderer=Wi,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 Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B,new Xi.B]}ngOnInit(){this.router.events.subscribe(v=>{v instanceof Nn.wF&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([Gr.Rp.XSmall,Gr.Rp.TabletPortrait,Gr.Rp.Small,Gr.Rp.Medium,Gr.Rp.Large,Gr.Rp.XLarge]).pipe((0,dn.Q)(this.unSubs[0])).subscribe(v=>{v.breakpoints[Gr.Rp.XSmall]?(this.commonService.setScreenSize(Wt.f7.XS),this.smallScreen=!0):v.breakpoints[Gr.Rp.TabletPortrait]?(this.commonService.setScreenSize(Wt.f7.SM),this.smallScreen=!0):v.breakpoints[Gr.Rp.Small]||v.breakpoints[Gr.Rp.Medium]?(this.commonService.setScreenSize(Wt.f7.MD),this.smallScreen=!1):v.breakpoints[Gr.Rp.Large]?(this.commonService.setScreenSize(Wt.f7.LG),this.smallScreen=!1):(this.commonService.setScreenSize(Wt.f7.XL),this.smallScreen=!1)}),this.store.dispatch((0,Sn.NU)()),this.accessKey=this.readAccessKey()||"",this.store.select(vr._c).pipe((0,dn.Q)(this.unSubs[1])).subscribe(v=>{this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1),this.selNode=v}),this.store.select(vr.qv).pipe((0,dn.Q)(this.unSubs[2])).subscribe(v=>{this.appConfig=v}),this.store.select(vr.N).pipe((0,dn.Q)(this.unSubs[3])).subscribe(v=>{this.information=v,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,dn.Q)(this.unSubs[4]),(0,Cr.p)(v=>v.type===Wt.aU.FETCH_APPLICATION_SETTINGS||v.type===Wt.aU.LOGIN||v.type===Wt.aU.LOGOUT)).subscribe(v=>{v.type===Wt.aU.SET_APPLICATION_SETTINGS&&(this.sessionService.getItem("token")||(+v.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,Sn.iD)({payload:{password:zn(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"],{state:{logoutReason:"Access key too short. It should be at least 32 characters long."}}))),v.type===Wt.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)),v.type===Wt.aU.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,dn.Q)(this.unSubs[5])).subscribe(v=>{this.logger.info("Counting Down: "+(11-v))}),this.userIdle.onTimeout().pipe((0,dn.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,Sn.Jh)()),this.store.dispatch((0,Sn.xO)({payload:{data:{type:Wt.A$.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,Sn.ri)({payload:"Logging Out. Time limit exceeded for session inactivity."})))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const v=window.location.href;return v.includes("access-key=")?v.substring(v.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(v){this.smallScreen&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}backdropClicked(){(!this.flgSidenavPinned||this.smallScreen)&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}copiedText(v){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+v)}ngOnDestroy(){this.unSubs.forEach(v=>{v.next(),v.complete()})}static{this.\u0275fac=function(H){return new(H||F)(t.rXU(ge.gP),t.rXU(is.h),t.rXU(Pi.il),t.rXU(it.En),t.rXU(mo),t.rXU(Nn.Ix),t.rXU($s.Q),t.rXU(Gr.QP),t.rXU(t.sFG))}}static{this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-app"]],viewQuery:function(H,G){if(1&H&&(t.GBs(Vf,5),t.GBs(Uf,5)),2&H){let Oe;t.mGM(Oe=t.lsd())&&(G.sideNavigation=Oe.first),t.mGM(Oe=t.lsd())&&(G.sideNavContent=Oe.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(H,G){if(1&H){const Oe=t.RV6();t.j41(0,"div",3),t.nI1(1,"lowercase"),t.nI1(2,"lowercase"),t.j41(3,"mat-toolbar",4)(4,"div"),t.DNE(5,k4,3,2,"button",5)(6,Rh,4,3,"button",6),t.k0s(),t.j41(7,"div"),t.DNE(8,jf,2,1,"span",7)(9,R4,2,1,"span",8),t.k0s(),t.j41(10,"div"),t.nrm(11,"rtl-top-menu"),t.k0s()(),t.j41(12,"mat-sidenav-container",9),t.bIt("backdropClick",function(){return t.eBV(Oe),t.Njj(G.backdropClicked())}),t.j41(13,"mat-sidenav",10,0)(15,"rtl-side-navigation",11),t.bIt("ChildNavClicked",function(At){return t.eBV(Oe),t.Njj(G.onNavigationClicked(At))}),t.k0s()(),t.j41(16,"mat-sidenav-content",12,1)(18,"div",13),t.nrm(19,"router-outlet",null,2),t.k0s()()(),t.DNE(21,Vd,4,0,"div",14),t.k0s()}2&H&&(t.Y8G("ngClass",t.l_i(12,Gf,t.bMT(1,8,G.selNode.settings.themeColor),t.bMT(2,10,G.selNode.settings.themeMode))),t.R7$(5),t.Y8G("ngIf",G.flgLoggedIn),t.R7$(),t.Y8G("ngIf",!G.smallScreen&&G.flgLoggedIn),t.R7$(2),t.Y8G("ngIf",G.smallScreen),t.R7$(),t.Y8G("ngIf",!G.smallScreen),t.R7$(4),t.Y8G("opened",G.flgSideNavOpened&&G.flgLoggedIn)("mode",G.flgSidenavPinned&&!G.smallScreen?"side":"over"),t.R7$(8),t.Y8G("ngIf",!G.selNode.settings.themeColor))},dependencies:[si.YU,si.bT,$i.DJ,$i.sA,$i.UI,Go.PW,be.iY,Vc.An,V0.LG,O1.LG,O1.US,O1.El,Of.KQ,Sc.oV,Jt.Ld,L4,A4,Nn.n3,si.GH],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[R1.E]}})}}return F})(),bl=(()=>{class F{constructor(v){this.sessionService=v}intercept(v,H){if(this.sessionService.getItem("token")){const G=v.clone({headers:v.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return H.handle(G)}return H.handle(v)}static{this.\u0275fac=function(H){return new(H||F)(t.KVO($s.Q))}}static{this.\u0275prov=t.jDH({token:F,factory:F.\u0275fac})}}return F})();var Wf=g(7879),Oh=g(9579),Xf=g(283),O4=g(3017);const F4={userPersona:Wt.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"},Fh={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},j0={apiURL:"",apisCallStatus:{Login:{status:Wt.wn.UN_INITIATED},IsAuthorized:{status:Wt.wn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:F4,authentication:Fh,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,SSO:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,secret2FA:"",allowPasswordUpdate:!0,nodes:[{settings:F4,authentication:Fh}]},nodeData:{}},W0=(0,Pi.vy)(j0,(0,Pi.on)(Sn.Gd,(F,{payload:B})=>{const v=JSON.parse(JSON.stringify(F.apisCallStatus));return B.action&&(v[B.action]={status:B.status,statusCode:B.statusCode,message:B.message,URL:B.URL,filePath:B.filePath}),{...F,apisCallStatus:v}}),(0,Pi.on)(Sn.Tn,(F,{payload:B})=>({...j0,apisCallStatus:F.apisCallStatus,appConfig:F.appConfig,selNode:B})),(0,Pi.on)(Sn.Np,(F,{payload:B})=>({...F,selNode:B})),(0,Pi.on)(Sn.Fl,(F,{payload:B})=>({...F,nodeData:B})),(0,Pi.on)(Sn.IK,(F,{payload:B})=>({...F,appConfig:B}))),X0={apisCallStatus:{FetchPageSettings:{status:Wt.wn.UN_INITIATED},FetchInfo:{status:Wt.wn.UN_INITIATED},FetchFees:{status:Wt.wn.UN_INITIATED},FetchPeers:{status:Wt.wn.UN_INITIATED},FetchClosedChannels:{status:Wt.wn.UN_INITIATED},FetchPendingChannels:{status:Wt.wn.UN_INITIATED},FetchAllChannels:{status:Wt.wn.UN_INITIATED},FetchBalanceBlockchain:{status:Wt.wn.UN_INITIATED},FetchInvoices:{status:Wt.wn.UN_INITIATED},FetchPayments:{status:Wt.wn.UN_INITIATED},FetchForwardingHistory:{status:Wt.wn.UN_INITIATED},FetchUTXOs:{status:Wt.wn.UN_INITIATED},FetchTransactions:{status:Wt.wn.UN_INITIATED},FetchLightningTransactions:{status:Wt.wn.UN_INITIATED},FetchNetwork:{status:Wt.wn.UN_INITIATED}},pageSettings:Wt.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 Yf=!1,Nh=!1;const N4=(0,Pi.vy)(X0,(0,Pi.on)(Oa.e8,(F,{payload:B})=>{const v=JSON.parse(JSON.stringify(F.apisCallStatus));return B.action&&(v[B.action]={status:B.status,statusCode:B.statusCode,message:B.message,URL:B.URL,filePath:B.filePath}),{...F,apisCallStatus:v}}),(0,Pi.on)(Oa.p1,F=>({...X0})),(0,Pi.on)(Oa.x1,(F,{payload:B})=>({...F,information:B})),(0,Pi.on)(Oa.Qj,(F,{payload:B})=>({...F,peers:B})),(0,Pi.on)(Oa.Zi,(F,{payload:B})=>{const v=[...F.peers],H=F.peers.findIndex(G=>G.pub_key===B.pubkey);return H>-1&&v.splice(H,1),{...F,peers:v}}),(0,Pi.on)(Oa.Jx,(F,{payload:B})=>{const v=F.listInvoices;return v.invoices?.unshift(B),{...F,listInvoices:v}}),(0,Pi.on)(Oa.Dq,(F,{payload:B})=>{const v=F.listInvoices;return v.invoices=v.invoices?.map(H=>H.payment_request===B.payment_request?B:H),{...F,listInvoices:v}}),(0,Pi.on)(Oa._$,(F,{payload:B})=>{const v=F.listPayments;return v.payments=v.payments?.map(H=>H.payment_hash===B.payment_hash?B:H),{...F,listPayments:v}}),(0,Pi.on)(Oa.Uo,(F,{payload:B})=>({...F,fees:B})),(0,Pi.on)(Oa.z2,(F,{payload:B})=>({...F,closedChannels:B})),(0,Pi.on)(Oa.cU,(F,{payload:B})=>({...F,pendingChannels:B.pendingChannels,pendingChannelsSummary:B.pendingChannelsSummary})),(0,Pi.on)(Oa.dv,(F,{payload:B})=>{let v=0,H=0,G=0,Oe=0,kt=0,At=0;return B&&B.forEach(oi=>{oi.local_balance||(oi.local_balance=0),!0===oi.active?(kt+=+oi.local_balance,G+=1,oi.local_balance?v=+v+ +oi.local_balance:oi.local_balance=0,oi.remote_balance?H=+H+ +oi.remote_balance:oi.remote_balance=0):(At+=+oi.local_balance,Oe+=1)}),{...F,channels:B,channelsSummary:{active:{num_channels:G,capacity:kt},inactive:{num_channels:Oe,capacity:At}},lightningBalance:{local:v,remote:H}}}),(0,Pi.on)(Oa.cR,(F,{payload:B})=>{const v=[...F.channels],H=F.channels.findIndex(G=>G.channel_point===B.channelPoint);return H>-1&&v.splice(H,1),{...F,channels:v}}),(0,Pi.on)(Oa.DI,(F,{payload:B})=>({...F,blockchainBalance:B})),(0,Pi.on)(Oa.J9,(F,{payload:B})=>({...F,networkInfo:B})),(0,Pi.on)(Oa.$6,(F,{payload:B})=>(B.total_invoices||(B.total_invoices=F.listInvoices.total_invoices),{...F,listInvoices:B})),(0,Pi.on)(Oa.As,(F,{payload:B})=>{if(Yf=!0,B.length&&Nh){const v=[...F.utxos];return v.forEach(H=>{const G=B.find(Oe=>Oe.tx_hash===H.outpoint?.txid_str);H.label=G&&G.label?G.label:""}),{...F,utxos:v,transactions:B}}return{...F,transactions:B}}),(0,Pi.on)(Oa.O8,(F,{payload:B})=>{if(Nh=!0,B.length&&Yf){const v=[...F.transactions];B.forEach(H=>{const G=v.find(Oe=>Oe.tx_hash===H.outpoint?.txid_str);H.label=G&&G.label?G.label:""})}return{...F,utxos:B}}),(0,Pi.on)(Oa.Uj,(F,{payload:B})=>{const v={listInvoicesAll:F.allLightningTransactions.listInvoicesAll,listPaymentsAll:B};return{...F,listPayments:B,allLightningTransactions:v}}),(0,Pi.on)(Oa.b1,(F,{payload:B})=>{const v={listInvoicesAll:B.listInvoicesAll,listPaymentsAll:F.listPayments};return{...F,allLightningTransactions:v}}),(0,Pi.on)(Oa.kv,(F,{payload:B})=>{const v=[...F.channels,...F.closedChannels];let H=B.forwarding_events?JSON.parse(JSON.stringify(B)):{};return H.forwarding_events&&(H=Ph(H,v)),{...F,forwardingHistory:H}}),(0,Pi.on)(Oa.NS,(F,{payload:B})=>{const v=[];return Wt.ZC.forEach(H=>{const G=B&&B.length&&B.length>0?B.find(Oe=>Oe.pageId===H.pageId):null;if(G){const Oe=JSON.parse(JSON.stringify(G.tables));G.tables=[],H.tables.forEach(kt=>{const At=Oe.find(oi=>oi.tableId===kt.tableId)||null;G.tables.push(At||JSON.parse(JSON.stringify(kt)))}),v.push(G)}else v.push(JSON.parse(JSON.stringify(H)))}),{...F,pageSettings:v}})),Ph=(F,B)=>(F.forwarding_events.forEach(v=>{if(B&&B.length>0)for(let H=0;H{const v=JSON.parse(JSON.stringify(F.apisCallStatus));return B.action&&(v[B.action]={status:B.status,statusCode:B.statusCode,message:B.message,URL:B.URL,filePath:B.filePath}),{...F,apisCallStatus:v}}),(0,Pi.on)(La.gf,F=>({...Kf})),(0,Pi.on)(La.x1,(F,{payload:B})=>({...F,information:B,fees:{feeCollected:B.fees_collected_msat}})),(0,Pi.on)(La.C2,(F,{payload:B})=>B.perkb?{...F,feeRatesPerKB:B}:B.perkw?{...F,feeRatesPerKW:B}:{...F}),(0,Pi.on)(La.EM,(F,{payload:B})=>({...F,utxos:B.utxos||[],balance:B.balance,localRemoteBalance:B.localRemoteBalance})),(0,Pi.on)(La.Qj,(F,{payload:B})=>({...F,peers:B})),(0,Pi.on)(La.We,(F,{payload:B})=>({...F,peers:[...F.peers,B]})),(0,Pi.on)(La.Zi,(F,{payload:B})=>{const v=[...F.peers],H=F.peers.findIndex(G=>G.id===B.id);return H>-1&&v.splice(H,1),{...F,peers:v}}),(0,Pi.on)(La.dv,(F,{payload:B})=>({...F,activeChannels:B.activeChannels,pendingChannels:B.pendingChannels,inactiveChannels:B.inactiveChannels})),(0,Pi.on)(La.cR,(F,{payload:B})=>{const v=[...F.peers];return v.forEach(H=>{H.id===B.id&&(H.connected=!1,delete H.netaddr)}),{...F,peers:v}}),(0,Pi.on)(La.Uj,(F,{payload:B})=>({...F,payments:B})),(0,Pi.on)(La.kv,(F,{payload:B})=>{const v=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels],H=P4(B.listForwards,v);switch(B.listForwards=H,B.status){case Wt.xk.SETTLED:const G=F.fees;return G.totalTxCount=B.totalForwards||0,{...F,fees:G,forwardingHistory:B};case Wt.xk.FAILED:return{...F,failedForwardingHistory:B};case Wt.xk.LOCAL_FAILED:return{...F,localFailedForwardingHistory:B};default:return{...F}}}),(0,Pi.on)(La.Jx,(F,{payload:B})=>{const v=F.invoices;return v.invoices?.unshift(B),{...F,invoices:v}}),(0,Pi.on)(La.$6,(F,{payload:B})=>({...F,invoices:B})),(0,Pi.on)(La.Dq,(F,{payload:B})=>{const v=F.invoices;return v.invoices=v.invoices?.map(H=>(H.label===B.label&&(H.amount_received_msat=B.msat,H.payment_preimage=B.preimage,H.status="paid"),H)),{...F,invoices:v}}),(0,Pi.on)(La.qw,(F,{payload:B})=>({...F,offers:B})),(0,Pi.on)(La.kQ,(F,{payload:B})=>{const v=F.offers;return v?.unshift(B),{...F,offers:v}}),(0,Pi.on)(La.Gz,(F,{payload:B})=>{const v=[...F.offers],H=F.offers.findIndex(G=>G.offer_id===B.offer.offer_id);return H>-1&&v.splice(H,1,B.offer),{...F,offers:v}}),(0,Pi.on)(La.Qv,(F,{payload:B})=>({...F,offersBookmarks:B})),(0,Pi.on)(La.Db,(F,{payload:B})=>{const v=[...F.offersBookmarks],H=v.findIndex(G=>G.bolt12===B.bolt12);if(H<0)v?.unshift(B);else{const G={...v[H]};G.title=B.title,G.amountMSat=B.amountMSat,G.lastUpdatedAt=B.lastUpdatedAt,G.description=B.description,G.issuer=B.issuer,v.splice(H,1,G)}return{...F,offersBookmarks:v}}),(0,Pi.on)(La.NU,(F,{payload:B})=>{const v=[...F.offersBookmarks],H=F.offersBookmarks.findIndex(G=>G.bolt12===B.bolt12);return H>-1&&v.splice(H,1),{...F,offersBookmarks:v}}),(0,Pi.on)(La.NS,(F,{payload:B})=>{const v=[];return Wt.mu.forEach(H=>{const G=B&&B.length&&B.length>0?B.find(Oe=>Oe.pageId===H.pageId):null;if(G){const Oe=JSON.parse(JSON.stringify(G.tables));G.tables=[],H.tables.forEach(kt=>{const At=Oe.find(oi=>oi.tableId===kt.tableId)||null;G.tables.push(At||JSON.parse(JSON.stringify(kt)))}),v.push(G)}else v.push(JSON.parse(JSON.stringify(H)))}),{...F,pageSettings:v}})),P4=(F,B)=>(F&&F.length>0?F.forEach((v,H)=>{if(B&&B.length>0)for(let G=0;G{const v=JSON.parse(JSON.stringify(F.apisCallStatus));return B.action&&(v[B.action]={status:B.status,statusCode:B.statusCode,message:B.message,URL:B.URL,filePath:B.filePath}),{...F,apisCallStatus:v}}),(0,Pi.on)(Ha.Hh,F=>({...zh})),(0,Pi.on)(Ha.x1,(F,{payload:B})=>({...F,information:B})),(0,Pi.on)(Ha.Uo,(F,{payload:B})=>({...F,fees:B})),(0,Pi.on)(Ha.Tp,(F,{payload:B})=>({...F,activeChannels:B})),(0,Pi.on)(Ha.cU,(F,{payload:B})=>({...F,pendingChannels:B})),(0,Pi.on)(Ha.I6,(F,{payload:B})=>({...F,inactiveChannels:B})),(0,Pi.on)(Ha.ZE,(F,{payload:B})=>({...F,channelsStatus:B})),(0,Pi.on)(Ha.Xx,(F,{payload:B})=>({...F,onchainBalance:B})),(0,Pi.on)(Ha.N8,(F,{payload:B})=>({...F,lightningBalance:B})),(0,Pi.on)(Ha.Qj,(F,{payload:B})=>({...F,peers:B})),(0,Pi.on)(Ha.Zi,(F,{payload:B})=>{const v=[...F.peers],H=F.peers.findIndex(G=>G.nodeId===B.nodeId);return H>-1&&v.splice(H,1),{...F,peers:v}}),(0,Pi.on)(Ha.cR,(F,{payload:B})=>{const v=[...F.activeChannels],H=F.activeChannels.findIndex(G=>G.channelId===B.channelId);return H>-1&&v.splice(H,1),{...F,activeChannels:v}}),(0,Pi.on)(Ha.Uj,(F,{payload:B})=>{if(B&&B.sent){const v=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels];B.sent?.map(H=>{const G=F.peers.find(Oe=>Oe.nodeId===H.recipientNodeId);return H.recipientNodeAlias=G?G.alias:H.recipientNodeId,H.parts&&H.parts?.map(Oe=>{const kt=v.find(At=>At.channelId===Oe.toChannelId);return Oe.toChannelAlias=kt?kt.alias:Oe.toChannelId,H.parts}),B.sent})}if(B&&B.relayed){const v=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels];B.relayed.forEach(H=>{H=Vh(H,v)})}return{...F,payments:B}}),(0,Pi.on)(Ha.As,(F,{payload:B})=>({...F,transactions:B})),(0,Pi.on)(Ha.Jx,(F,{payload:B})=>{const v=F.invoices;return v?.unshift(B),{...F,invoices:v}}),(0,Pi.on)(Ha.$6,(F,{payload:B})=>({...F,invoices:B})),(0,Pi.on)(Ha.Dq,(F,{payload:B})=>{let v=F.invoices;return v=v?.map(H=>{if(H.paymentHash===B.paymentHash){if(B.hasOwnProperty("type")){const G=JSON.parse(JSON.stringify(H));return G.amountSettled=B.parts&&B.parts.length&&B.parts.length>0&&B.parts[0].amount?(B.parts[0].amount||0)/1e3:0,G.receivedAt=B.parts&&B.parts.length&&B.parts.length>0&&B.parts[0].timestamp?Math.round((B.parts[0].timestamp||0)/1e3):0,G.status="received",G}return B}return H}),{...F,invoices:v}}),(0,Pi.on)(Ha.gZ,(F,{payload:B})=>{let v=F.pendingChannels;return v=v?.map(H=>(H.channelId===B.channelId&&H.nodeId===B.remoteNodeId&&(B.currentState=B.currentState?.replace(/_/g," "),H.state=B.currentState),H)),{...F,pendingChannels:v}}),(0,Pi.on)(Ha.yn,(F,{payload:B})=>{const v=F.payments,H=Vh(B,[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels]);v.relayed?.unshift(H);const G=(B.amountIn||0)-(B.amountOut||0),Oe={localBalance:F.lightningBalance.localBalance+G,remoteBalance:F.lightningBalance.remoteBalance-G},kt=F.channelsStatus;kt.active&&(kt.active.capacity=(F.channelsStatus?.active?.capacity||0)+G);const At={daily_fee:(F.fees.daily_fee||0)+G,daily_txs:(F.fees.daily_txs||0)+1,weekly_fee:(F.fees.weekly_fee||0)+G,weekly_txs:(F.fees.weekly_txs||0)+1,monthly_fee:(F.fees.monthly_fee||0)+G,monthly_txs:(F.fees.monthly_txs||0)+1},oi=F.activeChannels;let ui=!1,Wi=!1;for(const Li of oi){if(Li.channelId===B.fromChannelId){ui=!0;const fn=(Li.toLocal||0)+(Li.toRemote||0);Li.toLocal=(Li.toLocal||0)+H.amountIn,Li.toRemote=(Li.toRemote||0)-H.amountIn,Li.balancedness=0===fn?1:+(1-Math.abs((Li.toLocal-Li.toRemote)/fn)).toFixed(3)}if(Li.channelId===B.toChannelId){Wi=!0;const fn=(Li.toLocal||0)+(Li.toRemote||0);Li.toLocal=(Li.toLocal||0)-H.amountOut,Li.toRemote=(Li.toRemote||0)+H.amountOut,Li.balancedness=0===fn?1:+(1-Math.abs((Li.toLocal-Li.toRemote)/fn)).toFixed(3)}if(Wi&&ui)break}return{...F,payments:v,lightningBalance:Oe,channelStatus:kt,fees:At,activeChannels:oi}}),(0,Pi.on)(Ha.NS,(F,{payload:B})=>{const v=[];return Wt.X8.forEach(H=>{const G=B&&B.length&&B.length>0?B.find(Oe=>Oe.pageId===H.pageId):null;if(G){const Oe=JSON.parse(JSON.stringify(G.tables));G.tables=[],H.tables.forEach(kt=>{const At=Oe.find(oi=>oi.tableId===kt.tableId)||null;G.tables.push(At||JSON.parse(JSON.stringify(kt)))}),v.push(G)}else v.push(JSON.parse(JSON.stringify(H)))}),{...F,pageSettings:v}})),Vh=(F,B)=>{if("payment-relayed"===F.type)if(B&&B.length>0)for(let v=0;v0)for(let G=0;G{B[G].channelId?.toString()===Oe.channelId&&(Oe.channelAlias=B[G].alias?B[G].alias:Oe.channelId,Oe.shortChannelId=B[G].shortChannelId?B[G].shortChannelId:"")}),F.outgoing?.forEach(Oe=>{B[G].channelId?.toString()===Oe.channelId&&(Oe.channelAlias=B[G].alias?B[G].alias:Oe.channelId,Oe.shortChannelId=B[G].shortChannelId?B[G].shortChannelId:"")}),G===B.length-1&&(F.incoming&&F.incoming.length&&F.incoming.length>0&&!F.incoming[0].channelAlias&&F.incoming?.forEach(Oe=>{Oe.channelAlias=Oe.channelId?.substring(0,17)+"...",Oe.shortChannelId=""}),F.outgoing&&F.outgoing.length&&F.outgoing.length>0&&!F.outgoing[0].channelAlias&&F.outgoing?.forEach(Oe=>{Oe.channelAlias=Oe.channelId?.substring(0,17)+"...",Oe.shortChannelId=""}));else F.incoming?.forEach(G=>{G.channelAlias=G.channelId?.substring(0,17)+"...",G.shortChannelId=""}),F.outgoing?.forEach(G=>{G.channelAlias=G.channelId?.substring(0,17)+"...",G.shortChannelId=""});const v=F.incoming?.reduce((G,Oe)=>G+Oe.amount,0)||0;F.amountIn=Math.round(v/1e3),F.fromChannelId=F.incoming&&F.incoming.length?F.incoming[0].channelId:"",F.fromChannelAlias=F.incoming&&F.incoming.length?F.incoming[0].channelAlias:"",F.fromShortChannelId=F.incoming&&F.incoming.length?F.incoming[0].shortChannelId:"";const H=F.outgoing?.reduce((G,Oe)=>G+Oe.amount,0)||0;F.amountOut=Math.round(H/1e3),F.toChannelId=F.outgoing&&F.outgoing.length?F.outgoing[0].channelId:"",F.toChannelAlias=F.outgoing&&F.outgoing.length?F.outgoing[0].channelAlias:"",F.toShortChannelId=F.outgoing&&F.outgoing.length?F.outgoing[0].shortChannelId:""}return F};let Qf=!1;(0,t.naY)()&&(Qf=!0);let Uh=(()=>{class F{static{this.\u0275fac=function(H){return new(H||F)}}static{this.\u0275mod=t.$C({type:F,bootstrap:[Kc]})}static{this.\u0275inj=t.G2t({providers:[Yr({idle:Wt.bz-10,timeout:10,ping:12e3}),{provide:Vo.a7,useClass:bl,multi:!0},$s.Q,Jl.u,Wf.I,B2.Q,is.h,Dc],imports:[Ra,I1.G,zd,Gr.RH,e.fM,Pi.md.forRoot({root:W0,lnd:N4,cln:$f,ecl:Bh},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),it.Vm.forRoot([Sa.H,Oh.L,Xf.i,O4.B]),Qf?so.instrument({connectInZone:!0}):[]]})}}return F})();e.sG().bootstrapModule(Uh).catch(F=>console.error(F))},426:(Qe,te)=>{"use strict";function g(X){return Object.keys(X).map(se=>X[se])}var X;Object.defineProperty(te,"__esModule",{value:!0}),(X=te.HashAlgorithms||(te.HashAlgorithms={})).SHA1="sha1",X.SHA256="sha256",X.SHA512="sha512";const e=g(te.HashAlgorithms);!function(X){X.ASCII="ascii",X.BASE64="base64",X.HEX="hex",X.LATIN1="latin1",X.UTF8="utf8"}(te.KeyEncodings||(te.KeyEncodings={}));const t=g(te.KeyEncodings);!function(X){X.HOTP="hotp",X.TOTP="totp"}(te.Strategy||(te.Strategy={}));const x=g(te.Strategy),D=()=>{throw new Error("Please provide an options.createDigest implementation.")};function l(X){return/^(\d+)$/.test(X)}function w(X,se,ae){return X.length>=se?X:`${Array(se+1).join(ae)}${X}`.slice(-1*se)}function f(X){const se=`otpauth://${X.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,ae=[];if(x.indexOf(X.type)<0)throw new Error(`Expecting options.type to be one of ${x.join(", ")}. Received ${X.type}.`);if("hotp"===X.type){if(null==X.counter||"number"!=typeof X.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');ae.push(`&counter=${X.counter}`)}return"totp"===X.type&&X.step&&ae.push(`&period=${X.step}`),X.digits&&ae.push(`&digits=${X.digits}`),X.algorithm&&ae.push(`&algorithm=${X.algorithm.toUpperCase()}`),X.issuer&&ae.push(`&issuer=${encodeURIComponent(X.issuer)}`),se.replace("{labelPrefix}",encodeURIComponent(X.issuer||X.accountName)).replace("{accountName}",encodeURIComponent(X.accountName)).replace("{secret}",X.secret).replace("{query}",ae.join(""))}class R{constructor(se={}){this._defaultOptions=Object.freeze({...se}),this._options=Object.freeze({})}create(se={}){return new R(se)}clone(se={}){const ae=this.create({...this._defaultOptions,...se});return ae.options=this._options,ae}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(se){this._options=Object.freeze({...this._options,...se})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function h(X){if("function"!=typeof X.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof X.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof X.digits)throw new Error("Expecting options.digits to be a number.");if(!X.algorithm||e.indexOf(X.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${e.join(", ")}. Received ${X.algorithm}.`);if(!X.encoding||t.indexOf(X.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${t.join(", ")}. Received ${X.encoding}.`)}const S=(X,se,ae)=>Buffer.from(se,ae).toString("hex");function y(){return{algorithm:te.HashAlgorithms.SHA1,createHmacKey:S,createDigest:D,digits:6,encoding:te.KeyEncodings.ASCII}}function O(X){const se={...y(),...X};return h(se),Object.freeze(se)}function I(X){return w(X.toString(16),16,"0")}function V(X,se){const ae=Buffer.from(X,"hex"),he=15&ae[ae.length-1],st=((127&ae[he])<<24|(255&ae[he+1])<<16|(255&ae[he+2])<<8|255&ae[he+3])%Math.pow(10,se);return w(String(st),se,"0")}function Y(X,se,ae){const he=ae.digest||function j(X,se,ae){const he=I(se),Ie=ae.createHmacKey(ae.algorithm,X,ae.encoding);return ae.createDigest(ae.algorithm,Ie,he)}(X,se,ae);return V(he,ae.digits)}function W(X,se,ae,he){return!!l(X)&&X===Y(se,ae,he)}function Q(X,se,ae,he,Ie){return f({algorithm:Ie.algorithm,digits:Ie.digits,type:te.Strategy.HOTP,accountName:X,counter:he,issuer:se,secret:ae})}class J extends R{create(se={}){return new J(se)}allOptions(){return O(this.options)}generate(se,ae){return Y(se,ae,this.allOptions())}check(se,ae,he){return W(se,ae,he,this.allOptions())}verify(se){if("object"!=typeof se)throw new Error("Expecting argument 0 of verify to be an object");return this.check(se.token,se.secret,se.counter)}keyuri(se,ae,he,Ie){return Q(se,ae,he,Ie,this.allOptions())}}function ie(X){if("number"==typeof X)return[Math.abs(X),Math.abs(X)];if(Array.isArray(X)){const[se,ae]=X;if("number"==typeof se&&"number"==typeof ae)return[Math.abs(se),Math.abs(ae)]}throw new Error("Expecting options.window to be an number or [number, number].")}function ee(X){if(h(X),ie(X.window),"number"!=typeof X.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof X.step)throw new Error("Expecting options.step to be a number.")}const fe=(X,se,ae)=>{const he=X.length,Ie=Buffer.from(X,se).toString("hex");if(he{switch(X){case te.HashAlgorithms.SHA1:return fe(se,ae,20);case te.HashAlgorithms.SHA256:return fe(se,ae,32);case te.HashAlgorithms.SHA512:return fe(se,ae,64);default:throw new Error(`Expecting algorithm to be one of ${e.join(", ")}. Received ${X}.`)}};function Me(){return{algorithm:te.HashAlgorithms.SHA1,createDigest:D,createHmacKey:ne,digits:6,encoding:te.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function Ce(X){const se={...Me(),...X};return ee(se),Object.freeze(se)}function le(X,se){return Math.floor(X/se/1e3)}function T(X,se){return Y(X,le(se.epoch,se.step),se)}function n(X,se,ae,he){const Ie=[];if(0===he)return Ie;for(let st=1;st<=he;st++)Ie.push(X+se*st*ae);return Ie}function c(X,se,ae){const he=ie(ae),Ie=1e3*se;return{current:X,past:n(X,-1,Ie,he[0]),future:n(X,1,Ie,he[1])}}function m(X,se,ae){return!!l(X)&&X===T(se,ae)}function d(X,se,ae,he){let Ie=null;return X.some((st,me)=>!!m(se,ae,{...he,epoch:st})&&(Ie=me+1,!0)),Ie}function C(X,se,ae){if(m(X,se,ae))return 0;const he=c(ae.epoch,ae.step,ae.window),Ie=d(he.past,X,se,ae);return null!==Ie?-1*Ie:d(he.future,X,se,ae)}function A(X,se){return Math.floor(X/1e3)%se}function k(X,se){return se-A(X,se)}function _(X,se,ae,he){return f({algorithm:he.algorithm,digits:he.digits,step:he.step,type:te.Strategy.TOTP,accountName:X,issuer:se,secret:ae})}class a extends J{create(se={}){return new a(se)}allOptions(){return Ce(this.options)}generate(se){return T(se,this.allOptions())}checkDelta(se,ae){return C(se,ae,this.allOptions())}check(se,ae){return"number"==typeof this.checkDelta(se,ae)}verify(se){if("object"!=typeof se)throw new Error("Expecting argument 0 of verify to be an object");return this.check(se.token,se.secret)}timeRemaining(){const se=this.allOptions();return k(se.epoch,se.step)}timeUsed(){const se=this.allOptions();return A(se.epoch,se.step)}keyuri(se,ae,he){return _(se,ae,he,this.allOptions())}}function b(X){if(ee(X),"function"!=typeof X.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(X.keyEncoder&&"function"!=typeof X.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function z(){return{algorithm:te.HashAlgorithms.SHA1,createDigest:D,createHmacKey:ne,digits:6,encoding:te.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function N(X){const se={...z(),...X};return b(se),Object.freeze(se)}function q(X,se){return se.keyEncoder(X,se.encoding)}function pe(X,se){return se.keyDecoder(X,se.encoding)}function ze(X,se){return q(se.createRandomBytes(X,se.encoding),se)}function Xe(X,se){return T(pe(X,se),se)}function We(X,se,ae){return C(X,pe(se,ae),ae)}class oe extends a{create(se={}){return new oe(se)}allOptions(){return N(this.options)}generate(se){return Xe(se,this.allOptions())}checkDelta(se,ae){return We(se,ae,this.allOptions())}encode(se){return q(se,this.allOptions())}decode(se){return pe(se,this.allOptions())}generateSecret(se=10){return ze(se,this.allOptions())}}te.Authenticator=oe,te.HASH_ALGORITHMS=e,te.HOTP=J,te.KEY_ENCODINGS=t,te.OTP=R,te.STRATEGY=x,te.TOTP=a,te.authenticatorCheckWithWindow=We,te.authenticatorDecoder=pe,te.authenticatorDefaultOptions=z,te.authenticatorEncoder=q,te.authenticatorGenerateSecret=ze,te.authenticatorOptionValidator=b,te.authenticatorOptions=N,te.authenticatorToken=Xe,te.createDigestPlaceholder=D,te.hotpCheck=W,te.hotpCounter=I,te.hotpCreateHmacKey=S,te.hotpDefaultOptions=y,te.hotpDigestToToken=V,te.hotpKeyuri=Q,te.hotpOptions=O,te.hotpOptionsValidator=h,te.hotpToken=Y,te.isTokenValid=l,te.keyuri=f,te.objectValues=g,te.padStart=w,te.totpCheck=m,te.totpCheckByEpoch=d,te.totpCheckWithWindow=C,te.totpCounter=le,te.totpCreateHmacKey=ne,te.totpDefaultOptions=Me,te.totpEpochAvailable=c,te.totpKeyuri=_,te.totpOptions=Ce,te.totpOptionsValidator=ee,te.totpPadSecret=fe,te.totpTimeRemaining=k,te.totpTimeUsed=A,te.totpToken=T},7840:(Qe,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(g(1426));te.createDigest=(l,w,f)=>t.createHmac(l,Buffer.from(w,"hex")).update(Buffer.from(f,"hex")).digest().toString("hex"),te.createRandomBytes=(l,w)=>t.randomBytes(l).toString(w)},5526:(Qe,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(g(7851));te.keyDecoder=(l,w)=>t.decode(l).toString(w),te.keyEncoder=(l,w)=>t.encode(Buffer.from(l,w).toString("ascii")).toString().replace(/=/g,"")},4478:(Qe,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var e=g(7840),t=g(5526),x=g(426);const D=new x.HOTP({createDigest:e.createDigest}),l=new x.TOTP({createDigest:e.createDigest}),w=new x.Authenticator({createDigest:e.createDigest,createRandomBytes:e.createRandomBytes,keyDecoder:t.keyDecoder,keyEncoder:t.keyEncoder});te.authenticator=w,te.hotp=D,te.totp=l},1990:(Qe,te,g)=>{var e=te;e.bignum=g(6867),e.define=g(6626).define,e.base=g(5066),e.constants=g(7740),e.decoders=g(1558),e.encoders=g(2714)},6626:(Qe,te,g)=>{var e=g(1990),t=g(1993);function D(l,w){this.name=l,this.body=w,this.decoders={},this.encoders={}}te.define=function(w,f){return new D(w,f)},D.prototype._createNamed=function(w){var f;try{f=g(8326).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch{f=function(h){this._initNamed(h)}}return t(f,w),f.prototype._initNamed=function(h){w.call(this,h)},new f(this)},D.prototype._getDecoder=function(w){return this.decoders.hasOwnProperty(w=w||"der")||(this.decoders[w]=this._createNamed(e.decoders[w])),this.decoders[w]},D.prototype.decode=function(w,f,R){return this._getDecoder(f).decode(w,R)},D.prototype._getEncoder=function(w){return this.encoders.hasOwnProperty(w=w||"der")||(this.encoders[w]=this._createNamed(e.encoders[w])),this.encoders[w]},D.prototype.encode=function(w,f,R){return this._getEncoder(f).encode(w,R)}},7290:(Qe,te,g)=>{var e=g(1993),t=g(5066).Reporter,x=g(3838).Buffer;function D(w,f){t.call(this,f),x.isBuffer(w)?(this.base=w,this.offset=0,this.length=w.length):this.error("Input not Buffer")}function l(w,f){if(Array.isArray(w))this.length=0,this.value=w.map(function(R){return R instanceof l||(R=new l(R,f)),this.length+=R.length,R},this);else if("number"==typeof w){if(!(0<=w&&w<=255))return f.error("non-byte EncoderBuffer value");this.value=w,this.length=1}else if("string"==typeof w)this.value=w,this.length=x.byteLength(w);else{if(!x.isBuffer(w))return f.error("Unsupported type: "+typeof w);this.value=w,this.length=w.length}}e(D,t),te.t=D,D.prototype.save=function(){return{offset:this.offset,reporter:t.prototype.save.call(this)}},D.prototype.restore=function(f){var R=new D(this.base);return R.offset=f.offset,R.length=this.offset,this.offset=f.offset,t.prototype.restore.call(this,f.reporter),R},D.prototype.isEmpty=function(){return this.offset===this.length},D.prototype.readUInt8=function(f){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(f||"DecoderBuffer overrun")},D.prototype.skip=function(f,R){if(!(this.offset+f<=this.length))return this.error(R||"DecoderBuffer overrun");var h=new D(this.base);return h._reporterState=this._reporterState,h.offset=this.offset,h.length=this.offset+f,this.offset+=f,h},D.prototype.raw=function(f){return this.base.slice(f?f.offset:this.offset,this.length)},te.d=l,l.prototype.join=function(f,R){return f||(f=new x(this.length)),R||(R=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(h){h.join(f,R),R+=h.length}):("number"==typeof this.value?f[R]=this.value:"string"==typeof this.value?f.write(this.value,R):x.isBuffer(this.value)&&this.value.copy(f,R),R+=this.length)),f}},5066:(Qe,te,g)=>{var e=te;e.Reporter=g(5697).a,e.DecoderBuffer=g(7290).t,e.EncoderBuffer=g(7290).d,e.Node=g(4320)},4320:(Qe,te,g)=>{var e=g(5066).Reporter,t=g(5066).EncoderBuffer,x=g(5066).DecoderBuffer,D=g(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"],w=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(l);function R(S,y){var O={};this._baseState=O,O.enc=S,O.parent=y||null,O.children=null,O.tag=null,O.args=null,O.reverseArgs=null,O.choice=null,O.optional=!1,O.any=!1,O.obj=!1,O.use=null,O.useDecoder=null,O.key=null,O.default=null,O.explicit=null,O.implicit=null,O.contains=null,O.parent||(O.children=[],this._wrap())}Qe.exports=R;var h=["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,O={};h.forEach(function(V){O[V]=y[V]});var I=new this.constructor(O.parent);return I._baseState=O,I},R.prototype._wrap=function(){var y=this._baseState;w.forEach(function(O){this[O]=function(){var V=new this.constructor(this);return y.children.push(V),V[O].apply(V,arguments)}},this)},R.prototype._init=function(y){var O=this._baseState;D(null===O.parent),y.call(this),O.children=O.children.filter(function(I){return I._baseState.parent===this},this),D.equal(O.children.length,1,"Root node can have only one child")},R.prototype._useArgs=function(y){var O=this._baseState,I=y.filter(function(V){return V instanceof this.constructor},this);y=y.filter(function(V){return!(V instanceof this.constructor)},this),0!==I.length&&(D(null===O.children),O.children=I,I.forEach(function(V){V._baseState.parent=this},this)),0!==y.length&&(D(null===O.args),O.args=y,O.reverseArgs=y.map(function(V){if("object"!=typeof V||V.constructor!==Object)return V;var j={};return Object.keys(V).forEach(function(Y){Y==(0|Y)&&(Y|=0),j[V[Y]]=Y}),j}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(S){R.prototype[S]=function(){throw new Error(S+" not implemented for encoding: "+this._baseState.enc)}}),l.forEach(function(S){R.prototype[S]=function(){var O=this._baseState,I=Array.prototype.slice.call(arguments);return D(null===O.tag),O.tag=S,this._useArgs(I),this}}),R.prototype.use=function(y){D(y);var O=this._baseState;return D(null===O.use),O.use=y,this},R.prototype.optional=function(){return this._baseState.optional=!0,this},R.prototype.def=function(y){var O=this._baseState;return D(null===O.default),O.default=y,O.optional=!0,this},R.prototype.explicit=function(y){var O=this._baseState;return D(null===O.explicit&&null===O.implicit),O.explicit=y,this},R.prototype.implicit=function(y){var O=this._baseState;return D(null===O.explicit&&null===O.implicit),O.implicit=y,this},R.prototype.obj=function(){var y=this._baseState,O=Array.prototype.slice.call(arguments);return y.obj=!0,0!==O.length&&this._useArgs(O),this},R.prototype.key=function(y){var O=this._baseState;return D(null===O.key),O.key=y,this},R.prototype.any=function(){return this._baseState.any=!0,this},R.prototype.choice=function(y){var O=this._baseState;return D(null===O.choice),O.choice=y,this._useArgs(Object.keys(y).map(function(I){return y[I]})),this},R.prototype.contains=function(y){var O=this._baseState;return D(null===O.use),O.contains=y,this},R.prototype._decode=function(y,O){var I=this._baseState;if(null===I.parent)return y.wrapResult(I.children[0]._decode(y,O));var J,V=I.default,j=!0,Y=null;if(null!==I.key&&(Y=y.enterKey(I.key)),I.optional){var W=null;if(null!==I.explicit?W=I.explicit:null!==I.implicit?W=I.implicit:null!==I.tag&&(W=I.tag),null!==W||I.any){if(j=this._peekTag(y,W,I.any),y.isError(j))return j}else{var Q=y.save();try{null===I.choice?this._decodeGeneric(I.tag,y,O):this._decodeChoice(y,O),j=!0}catch{j=!1}y.restore(Q)}}if(I.obj&&j&&(J=y.enterObject()),j){if(null!==I.explicit){var ie=this._decodeTag(y,I.explicit);if(y.isError(ie))return ie;y=ie}var ee=y.offset;if(null===I.use&&null===I.choice){I.any&&(Q=y.save());var fe=this._decodeTag(y,null!==I.implicit?I.implicit:I.tag,I.any);if(y.isError(fe))return fe;I.any?V=y.raw(Q):y=fe}if(O&&O.track&&null!==I.tag&&O.track(y.path(),ee,y.length,"tagged"),O&&O.track&&null!==I.tag&&O.track(y.path(),y.offset,y.length,"content"),I.any||(V=null===I.choice?this._decodeGeneric(I.tag,y,O):this._decodeChoice(y,O)),y.isError(V))return V;if(!I.any&&null===I.choice&&null!==I.children&&I.children.forEach(function(Ce){Ce._decode(y,O)}),I.contains&&("octstr"===I.tag||"bitstr"===I.tag)){var ne=new x(V);V=this._getUse(I.contains,y._reporterState.obj)._decode(ne,O)}}return I.obj&&j&&(V=y.leaveObject(J)),null===I.key||null===V&&!0!==j?null!==Y&&y.exitKey(Y):y.leaveKey(Y,I.key,V),V},R.prototype._decodeGeneric=function(y,O,I){var V=this._baseState;return"seq"===y||"set"===y?null:"seqof"===y||"setof"===y?this._decodeList(O,y,V.args[0],I):/str$/.test(y)?this._decodeStr(O,y,I):"objid"===y&&V.args?this._decodeObjid(O,V.args[0],V.args[1],I):"objid"===y?this._decodeObjid(O,null,null,I):"gentime"===y||"utctime"===y?this._decodeTime(O,y,I):"null_"===y?this._decodeNull(O,I):"bool"===y?this._decodeBool(O,I):"objDesc"===y?this._decodeStr(O,y,I):"int"===y||"enum"===y?this._decodeInt(O,V.args&&V.args[0],I):null!==V.use?this._getUse(V.use,O._reporterState.obj)._decode(O,I):O.error("unknown tag: "+y)},R.prototype._getUse=function(y,O){var I=this._baseState;return I.useDecoder=this._use(y,O),D(null===I.useDecoder._baseState.parent),I.useDecoder=I.useDecoder._baseState.children[0],I.implicit!==I.useDecoder._baseState.implicit&&(I.useDecoder=I.useDecoder.clone(),I.useDecoder._baseState.implicit=I.implicit),I.useDecoder},R.prototype._decodeChoice=function(y,O){var I=this._baseState,V=null,j=!1;return Object.keys(I.choice).some(function(Y){var W=y.save(),Q=I.choice[Y];try{var J=Q._decode(y,O);if(y.isError(J))return!1;V={type:Y,value:J},j=!0}catch{return y.restore(W),!1}return!0},this),j?V:y.error("Choice not matched")},R.prototype._createEncoderBuffer=function(y){return new t(y,this.reporter)},R.prototype._encode=function(y,O,I){var V=this._baseState;if(null===V.default||V.default!==y){var j=this._encodeValue(y,O,I);if(void 0!==j&&!this._skipDefault(j,O,I))return j}},R.prototype._encodeValue=function(y,O,I){var V=this._baseState;if(null===V.parent)return V.children[0]._encode(y,O||new e);var Q=null;if(this.reporter=O,V.optional&&void 0===y){if(null===V.default)return;y=V.default}var j=null,Y=!1;if(V.any)Q=this._createEncoderBuffer(y);else if(V.choice)Q=this._encodeChoice(y,O);else if(V.contains)j=this._getUse(V.contains,I)._encode(y,O),Y=!0;else if(V.children)j=V.children.map(function(ee){if("null_"===ee._baseState.tag)return ee._encode(null,O,y);if(null===ee._baseState.key)return O.error("Child should have a key");var fe=O.enterKey(ee._baseState.key);if("object"!=typeof y)return O.error("Child expected, but input is not object");var ne=ee._encode(y[ee._baseState.key],O,y);return O.leaveKey(fe),ne},this).filter(function(ee){return ee}),j=this._createEncoderBuffer(j);else if("seqof"===V.tag||"setof"===V.tag){if(!V.args||1!==V.args.length)return O.error("Too many args for : "+V.tag);if(!Array.isArray(y))return O.error("seqof/setof, but data is not Array");var W=this.clone();W._baseState.implicit=null,j=this._createEncoderBuffer(y.map(function(ee){return this._getUse(this._baseState.args[0],y)._encode(ee,O)},W))}else null!==V.use?Q=this._getUse(V.use,I)._encode(y,O):(j=this._encodePrimitive(V.tag,y),Y=!0);if(!V.any&&null===V.choice){var J=null!==V.implicit?V.implicit:V.tag,ie=null===V.implicit?"universal":"context";null===J?null===V.use&&O.error("Tag could be omitted only for .use()"):null===V.use&&(Q=this._encodeComposite(J,Y,ie,j))}return null!==V.explicit&&(Q=this._encodeComposite(V.explicit,!1,"context",Q)),Q},R.prototype._encodeChoice=function(y,O){var I=this._baseState,V=I.choice[y.type];return V||D(!1,y.type+" not found in "+JSON.stringify(Object.keys(I.choice))),V._encode(y.value,O)},R.prototype._encodePrimitive=function(y,O){var I=this._baseState;if(/str$/.test(y))return this._encodeStr(O,y);if("objid"===y&&I.args)return this._encodeObjid(O,I.reverseArgs[0],I.args[1]);if("objid"===y)return this._encodeObjid(O,null,null);if("gentime"===y||"utctime"===y)return this._encodeTime(O,y);if("null_"===y)return this._encodeNull();if("int"===y||"enum"===y)return this._encodeInt(O,I.args&&I.reverseArgs[0]);if("bool"===y)return this._encodeBool(O);if("objDesc"===y)return this._encodeStr(O,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:(Qe,te,g)=>{var e=g(1993);function t(D){this._reporterState={obj:null,path:[],options:D||{},errors:[]}}function x(D,l){this.path=D,this.rethrow(l)}te.a=t,t.prototype.isError=function(l){return l instanceof x},t.prototype.save=function(){var l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},t.prototype.restore=function(l){var w=this._reporterState;w.obj=l.obj,w.path=w.path.slice(0,l.pathLen)},t.prototype.enterKey=function(l){return this._reporterState.path.push(l)},t.prototype.exitKey=function(l){var w=this._reporterState;w.path=w.path.slice(0,l-1)},t.prototype.leaveKey=function(l,w,f){var R=this._reporterState;this.exitKey(l),null!==R.obj&&(R.obj[w]=f)},t.prototype.path=function(){return this._reporterState.path.join("/")},t.prototype.enterObject=function(){var l=this._reporterState,w=l.obj;return l.obj={},w},t.prototype.leaveObject=function(l){var w=this._reporterState,f=w.obj;return w.obj=l,f},t.prototype.error=function(l){var w,f=this._reporterState,R=l instanceof x;if(w=R?l:new x(f.path.map(function(h){return"["+JSON.stringify(h)+"]"}).join(""),l.message||l,l.stack),!f.options.partial)throw w;return R||f.errors.push(w),w},t.prototype.wrapResult=function(l){var w=this._reporterState;return w.options.partial?{result:this.isError(l)?null:l,errors:w.errors}:l},e(x,Error),x.prototype.rethrow=function(l){if(this.message=l+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,x),!this.stack)try{throw new Error(this.message)}catch(w){this.stack=w.stack}return this}},6283:(Qe,te,g)=>{var e=g(7740);te.tagClass={0:"universal",1:"application",2:"context",3:"private"},te.tagClassByName=e._reverse(te.tagClass),te.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"},te.tagByName=e._reverse(te.tag)},7740:(Qe,te,g)=>{var e=te;e._reverse=function(x){var D={};return Object.keys(x).forEach(function(l){(0|l)==l&&(l|=0),D[x[l]]=l}),D},e.der=g(6283)},5941:(Qe,te,g)=>{var e=g(1993),t=g(1990),x=t.base,D=t.bignum,l=t.constants.der;function w(S){this.enc="der",this.name=S.name,this.entity=S,this.tree=new f,this.tree._init(S.body)}function f(S){x.Node.call(this,"der",S)}function R(S,y){var O=S.readUInt8(y);if(S.isError(O))return O;var I=l.tagClass[O>>6],V=!(32&O);if(31&~O)O&=31;else{var j=O;for(O=0;!(128&~j);){if(j=S.readUInt8(y),S.isError(j))return j;O<<=7,O|=127&j}}return{cls:I,primitive:V,tag:O,tagStr:l.tag[O]}}function h(S,y,O){var I=S.readUInt8(O);if(S.isError(I))return I;if(!y&&128===I)return null;if(!(128&I))return I;var V=127&I;if(V>4)return S.error("length octect is too long");I=0;for(var j=0;j{var e=te;e.der=g(5941),e.pem=g(9316)},9316:(Qe,te,g)=>{var e=g(1993),t=g(3838).Buffer,x=g(5941);function D(l){x.call(this,l),this.enc="pem"}e(D,x),Qe.exports=D,D.prototype.decode=function(w,f){for(var R=w.toString().split(/[\r\n]+/g),h=f.label.toUpperCase(),S=/^-----(BEGIN|END) ([^-]+)-----$/,y=-1,O=-1,I=0;I{var e=g(1993),t=g(3838).Buffer,x=g(1990),D=x.base,l=x.constants.der;function w(S){this.enc="der",this.name=S.name,this.entity=S,this.tree=new f,this.tree._init(S.body)}function f(S){D.Node.call(this,"der",S)}function R(S){return S<10?"0"+S:S}Qe.exports=w,w.prototype.encode=function(y,O){return this.tree._encode(y,O).join()},e(f,D.Node),f.prototype._encodeComposite=function(y,O,I,V){var Q,j=function h(S,y,O,I){var V;if("seqof"===S?S="seq":"setof"===S&&(S="set"),l.tagByName.hasOwnProperty(S))V=l.tagByName[S];else{if("number"!=typeof S||(0|S)!==S)return I.error("Unknown tag: "+S);V=S}return V>=31?I.error("Multi-octet tag encoding unsupported"):(y||(V|=32),V|=l.tagClassByName[O||"universal"]<<6)}(y,O,I,this.reporter);if(V.length<128)return(Q=new t(2))[0]=j,Q[1]=V.length,this._createEncoderBuffer([Q,V]);for(var Y=1,W=V.length;W>=256;W>>=8)Y++;(Q=new t(2+Y))[0]=j,Q[1]=128|Y,W=1+Y;for(var J=V.length;J>0;W--,J>>=8)Q[W]=255&J;return this._createEncoderBuffer([Q,V])},f.prototype._encodeStr=function(y,O){if("bitstr"===O)return this._createEncoderBuffer([0|y.unused,y.data]);if("bmpstr"===O){for(var I=new t(2*y.length),V=0;V=40)return this.reporter.error("Second objid identifier OOB");y.splice(0,2,40*y[0]+y[1])}var j=0;for(V=0;V=128;Y>>=7)j++}var W=new t(j),Q=W.length-1;for(V=y.length-1;V>=0;V--)for(W[Q--]=127&(Y=y[V]);(Y>>=7)>0;)W[Q--]=128|127&Y;return this._createEncoderBuffer(W)},f.prototype._encodeTime=function(y,O){var I,V=new Date(y);return"gentime"===O?I=[R(V.getFullYear()),R(V.getUTCMonth()+1),R(V.getUTCDate()),R(V.getUTCHours()),R(V.getUTCMinutes()),R(V.getUTCSeconds()),"Z"].join(""):"utctime"===O?I=[R(V.getFullYear()%100),R(V.getUTCMonth()+1),R(V.getUTCDate()),R(V.getUTCHours()),R(V.getUTCMinutes()),R(V.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+O+" time is not supported yet"),this._encodeStr(I,"octstr")},f.prototype._encodeNull=function(){return this._createEncoderBuffer("")},f.prototype._encodeInt=function(y,O){if("string"==typeof y){if(!O)return this.reporter.error("String int or enum given, but no values map");if(!O.hasOwnProperty(y))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(y));y=O[y]}if("number"!=typeof y&&!t.isBuffer(y)){var I=y.toArray();!y.sign&&128&I[0]&&I.unshift(0),y=new t(I)}if(t.isBuffer(y)){var V=y.length;0===y.length&&V++;var Y=new t(V);return y.copy(Y),0===y.length&&(Y[0]=0),this._createEncoderBuffer(Y)}if(y<128)return this._createEncoderBuffer(y);if(y<256)return this._createEncoderBuffer([0,y]);V=1;for(var j=y;j>=256;j>>=8)V++;for(j=(Y=new Array(V)).length-1;j>=0;j--)Y[j]=255&y,y>>=8;return 128&Y[0]&&Y.unshift(0),this._createEncoderBuffer(new t(Y))},f.prototype._encodeBool=function(y){return this._createEncoderBuffer(y?255:0)},f.prototype._use=function(y,O){return"function"==typeof y&&(y=y(O)),y._getEncoder("der").tree},f.prototype._skipDefault=function(y,O,I){var j,V=this._baseState;if(null===V.default)return!1;var Y=y.join();if(void 0===V.defaultBuffer&&(V.defaultBuffer=this._encodeValue(V.default,O,I).join()),Y.length!==V.defaultBuffer.length)return!1;for(j=0;j{var e=te;e.der=g(2193),e.pem=g(4816)},4816:(Qe,te,g)=>{var e=g(1993),t=g(2193);function x(D){t.call(this,D),this.enc="pem"}e(x,t),Qe.exports=x,x.prototype.encode=function(l,w){for(var R=t.prototype.encode.call(this,l).toString("base64"),h=["-----BEGIN "+w.label+"-----"],S=0;S=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(T,n,c){var m=f(T,c);return c-1>=n&&(m|=f(T,c-1)<<4),m}function h(T,n,c,m){for(var d=0,C=Math.min(T.length,c),A=n;A=49?k-49+10:k>=17?k-17+10:k}return d}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,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),x(c===(0|c)&&c>=2&&c<=36);var d=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(d++,this.negative=1),d=0;d-=3)this.words[C]|=(A=n[d]|n[d-1]<<8|n[d-2]<<16)<>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);else if("le"===m)for(d=0,C=0;d>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var d=0;d=c;d-=2)k=R(n,c,d)<=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;else for(d=(n.length-c)%2==0?c+1:c;d=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var d=0,C=1;C<=67108863;C*=c)d++;d--,C=C/c|0;for(var A=n.length-m,k=A%d,_=Math.min(A,A-k)+m,a=0,b=m;b<_;b+=d)a=h(n,b,b+d,c),this.imuln(C),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==k){var z=1;for(a=h(n,b,n.length,c),b=0;b1&&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?""};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],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],O=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(T,n,c){c.negative=n.negative^T.negative;var m=T.length+n.length|0;c.length=m,m=m-1|0;var d=0|T.words[0],C=0|n.words[0],A=d*C,_=A/67108864|0;c.words[0]=67108863&A;for(var a=1;a>>26,z=67108863&_,N=Math.min(a,n.length-1),q=Math.max(0,a-T.length+1);q<=N;q++)b+=(A=(d=0|T.words[a-q|0])*(C=0|n.words[q])+z)/67108864|0,z=67108863&A;c.words[a]=0|z,_=0|b}return 0!==_?c.words[a]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var d=0,C=0,A=0;A>>24-d&16777215)||A!==this.length-1?S[6-_.length]+_+m:_+m,(d+=2)>=26&&(d-=26,A--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var a=y[n],b=O[n];m="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(b).toString(n);m=(z=z.idivn(b)).isZero()?N+m:S[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}x(!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&&x(!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 x(typeof w<"u"),this.toArrayLike(w,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var d=this.byteLength(),C=m||Math.max(1,d);x(d<=C,"byte array longer than desired length"),x(C>0,"Requested array length <= 0"),this.strip();var _,a,A="le"===c,k=new n(C),b=this.clone();if(A){for(a=0;!b.isZero();a++)_=b.andln(255),b.iushrn(8),k[a]=_;for(;a=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},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;cn.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 m=0;mn.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,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var d=0;dn.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){x("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var d=0;d0&&(this.words[d]=~this.words[d]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){x("number"==typeof n&&n>=0);var m=n/26|0,d=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<n.length?(m=this,d=n):(m=n,d=this);for(var C=0,A=0;A>>26;for(;0!==C&&A>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;An.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 d,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(d=this,C=n):(d=n,C=this);for(var A=0,k=0;k>26,this.words[k]=67108863&c;for(;0!==A&&k>26,this.words[k]=67108863&c;if(0===A&&k>>13,pe=0|d[1],ze=8191&pe,Xe=pe>>>13,We=0|d[2],oe=8191&We,X=We>>>13,se=0|d[3],ae=8191&se,he=se>>>13,Ie=0|d[4],st=8191&Ie,me=Ie>>>13,Ee=0|d[5],ue=8191&Ee,Be=Ee>>>13,Ct=0|d[6],ct=8191&Ct,dt=Ct>>>13,Yt=0|d[7],ve=8191&Yt,_e=Yt>>>13,we=0|d[8],Ue=8191&we,je=we>>>13,vt=0|d[9],$e=8191&vt,nt=vt>>>13,qt=0|C[0],Nt=8191&qt,yt=qt>>>13,jt=0|C[1],Je=8191&jt,et=jt>>>13,Ae=0|C[2],It=8191&Ae,Qt=Ae>>>13,Tt=0|C[3],xt=8191&Tt,Se=Tt>>>13,Te=0|C[4],ce=8191&Te,Z=Te>>>13,Re=0|C[5],Pe=8191&Re,pt=Re>>>13,Ke=0|C[6],Fe=8191&Ke,Ge=Ke>>>13,qe=0|C[7],at=8191&qe,Lt=qe>>>13,pi=0|C[8],$t=8191&pi,Kt=pi>>>13,Ui=0|C[9],ti=8191&Ui,fi=Ui>>>13;m.negative=n.negative^c.negative,m.length=19;var xn=(k+(_=Math.imul(N,Nt))|0)+((8191&(a=(a=Math.imul(N,yt))+Math.imul(q,Nt)|0))<<13)|0;k=((b=Math.imul(q,yt))+(a>>>13)|0)+(xn>>>26)|0,xn&=67108863,_=Math.imul(ze,Nt),a=(a=Math.imul(ze,yt))+Math.imul(Xe,Nt)|0,b=Math.imul(Xe,yt);var tn=(k+(_=_+Math.imul(N,Je)|0)|0)+((8191&(a=(a=a+Math.imul(N,et)|0)+Math.imul(q,Je)|0))<<13)|0;k=((b=b+Math.imul(q,et)|0)+(a>>>13)|0)+(tn>>>26)|0,tn&=67108863,_=Math.imul(oe,Nt),a=(a=Math.imul(oe,yt))+Math.imul(X,Nt)|0,b=Math.imul(X,yt),_=_+Math.imul(ze,Je)|0,a=(a=a+Math.imul(ze,et)|0)+Math.imul(Xe,Je)|0,b=b+Math.imul(Xe,et)|0;var Vi=(k+(_=_+Math.imul(N,It)|0)|0)+((8191&(a=(a=a+Math.imul(N,Qt)|0)+Math.imul(q,It)|0))<<13)|0;k=((b=b+Math.imul(q,Qt)|0)+(a>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,_=Math.imul(ae,Nt),a=(a=Math.imul(ae,yt))+Math.imul(he,Nt)|0,b=Math.imul(he,yt),_=_+Math.imul(oe,Je)|0,a=(a=a+Math.imul(oe,et)|0)+Math.imul(X,Je)|0,b=b+Math.imul(X,et)|0,_=_+Math.imul(ze,It)|0,a=(a=a+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0,b=b+Math.imul(Xe,Qt)|0;var Qi=(k+(_=_+Math.imul(N,xt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Se)|0)+Math.imul(q,xt)|0))<<13)|0;k=((b=b+Math.imul(q,Se)|0)+(a>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(st,Nt),a=(a=Math.imul(st,yt))+Math.imul(me,Nt)|0,b=Math.imul(me,yt),_=_+Math.imul(ae,Je)|0,a=(a=a+Math.imul(ae,et)|0)+Math.imul(he,Je)|0,b=b+Math.imul(he,et)|0,_=_+Math.imul(oe,It)|0,a=(a=a+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,b=b+Math.imul(X,Qt)|0,_=_+Math.imul(ze,xt)|0,a=(a=a+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0,b=b+Math.imul(Xe,Se)|0;var Xt=(k+(_=_+Math.imul(N,ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,Z)|0)+Math.imul(q,ce)|0))<<13)|0;k=((b=b+Math.imul(q,Z)|0)+(a>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(ue,Nt),a=(a=Math.imul(ue,yt))+Math.imul(Be,Nt)|0,b=Math.imul(Be,yt),_=_+Math.imul(st,Je)|0,a=(a=a+Math.imul(st,et)|0)+Math.imul(me,Je)|0,b=b+Math.imul(me,et)|0,_=_+Math.imul(ae,It)|0,a=(a=a+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,b=b+Math.imul(he,Qt)|0,_=_+Math.imul(oe,xt)|0,a=(a=a+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,b=b+Math.imul(X,Se)|0,_=_+Math.imul(ze,ce)|0,a=(a=a+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0,b=b+Math.imul(Xe,Z)|0;var St=(k+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(a=(a=a+Math.imul(N,pt)|0)+Math.imul(q,Pe)|0))<<13)|0;k=((b=b+Math.imul(q,pt)|0)+(a>>>13)|0)+(St>>>26)|0,St&=67108863,_=Math.imul(ct,Nt),a=(a=Math.imul(ct,yt))+Math.imul(dt,Nt)|0,b=Math.imul(dt,yt),_=_+Math.imul(ue,Je)|0,a=(a=a+Math.imul(ue,et)|0)+Math.imul(Be,Je)|0,b=b+Math.imul(Be,et)|0,_=_+Math.imul(st,It)|0,a=(a=a+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,b=b+Math.imul(me,Qt)|0,_=_+Math.imul(ae,xt)|0,a=(a=a+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,b=b+Math.imul(he,Se)|0,_=_+Math.imul(oe,ce)|0,a=(a=a+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,b=b+Math.imul(X,Z)|0,_=_+Math.imul(ze,Pe)|0,a=(a=a+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0,b=b+Math.imul(Xe,pt)|0;var tt=(k+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(a=(a=a+Math.imul(N,Ge)|0)+Math.imul(q,Fe)|0))<<13)|0;k=((b=b+Math.imul(q,Ge)|0)+(a>>>13)|0)+(tt>>>26)|0,tt&=67108863,_=Math.imul(ve,Nt),a=(a=Math.imul(ve,yt))+Math.imul(_e,Nt)|0,b=Math.imul(_e,yt),_=_+Math.imul(ct,Je)|0,a=(a=a+Math.imul(ct,et)|0)+Math.imul(dt,Je)|0,b=b+Math.imul(dt,et)|0,_=_+Math.imul(ue,It)|0,a=(a=a+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,b=b+Math.imul(Be,Qt)|0,_=_+Math.imul(st,xt)|0,a=(a=a+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,b=b+Math.imul(me,Se)|0,_=_+Math.imul(ae,ce)|0,a=(a=a+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,b=b+Math.imul(he,Z)|0,_=_+Math.imul(oe,Pe)|0,a=(a=a+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,b=b+Math.imul(X,pt)|0,_=_+Math.imul(ze,Fe)|0,a=(a=a+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0,b=b+Math.imul(Xe,Ge)|0;var ot=(k+(_=_+Math.imul(N,at)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(q,at)|0))<<13)|0;k=((b=b+Math.imul(q,Lt)|0)+(a>>>13)|0)+(ot>>>26)|0,ot&=67108863,_=Math.imul(Ue,Nt),a=(a=Math.imul(Ue,yt))+Math.imul(je,Nt)|0,b=Math.imul(je,yt),_=_+Math.imul(ve,Je)|0,a=(a=a+Math.imul(ve,et)|0)+Math.imul(_e,Je)|0,b=b+Math.imul(_e,et)|0,_=_+Math.imul(ct,It)|0,a=(a=a+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,b=b+Math.imul(dt,Qt)|0,_=_+Math.imul(ue,xt)|0,a=(a=a+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,b=b+Math.imul(Be,Se)|0,_=_+Math.imul(st,ce)|0,a=(a=a+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,b=b+Math.imul(me,Z)|0,_=_+Math.imul(ae,Pe)|0,a=(a=a+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,b=b+Math.imul(he,pt)|0,_=_+Math.imul(oe,Fe)|0,a=(a=a+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,b=b+Math.imul(X,Ge)|0,_=_+Math.imul(ze,at)|0,a=(a=a+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0,b=b+Math.imul(Xe,Lt)|0;var Mt=(k+(_=_+Math.imul(N,$t)|0)|0)+((8191&(a=(a=a+Math.imul(N,Kt)|0)+Math.imul(q,$t)|0))<<13)|0;k=((b=b+Math.imul(q,Kt)|0)+(a>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul($e,Nt),a=(a=Math.imul($e,yt))+Math.imul(nt,Nt)|0,b=Math.imul(nt,yt),_=_+Math.imul(Ue,Je)|0,a=(a=a+Math.imul(Ue,et)|0)+Math.imul(je,Je)|0,b=b+Math.imul(je,et)|0,_=_+Math.imul(ve,It)|0,a=(a=a+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,b=b+Math.imul(_e,Qt)|0,_=_+Math.imul(ct,xt)|0,a=(a=a+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,b=b+Math.imul(dt,Se)|0,_=_+Math.imul(ue,ce)|0,a=(a=a+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,b=b+Math.imul(Be,Z)|0,_=_+Math.imul(st,Pe)|0,a=(a=a+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,b=b+Math.imul(me,pt)|0,_=_+Math.imul(ae,Fe)|0,a=(a=a+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,b=b+Math.imul(he,Ge)|0,_=_+Math.imul(oe,at)|0,a=(a=a+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,b=b+Math.imul(X,Lt)|0,_=_+Math.imul(ze,$t)|0,a=(a=a+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0,b=b+Math.imul(Xe,Kt)|0;var Bt=(k+(_=_+Math.imul(N,ti)|0)|0)+((8191&(a=(a=a+Math.imul(N,fi)|0)+Math.imul(q,ti)|0))<<13)|0;k=((b=b+Math.imul(q,fi)|0)+(a>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,_=Math.imul($e,Je),a=(a=Math.imul($e,et))+Math.imul(nt,Je)|0,b=Math.imul(nt,et),_=_+Math.imul(Ue,It)|0,a=(a=a+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,b=b+Math.imul(je,Qt)|0,_=_+Math.imul(ve,xt)|0,a=(a=a+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,b=b+Math.imul(_e,Se)|0,_=_+Math.imul(ct,ce)|0,a=(a=a+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,b=b+Math.imul(dt,Z)|0,_=_+Math.imul(ue,Pe)|0,a=(a=a+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,b=b+Math.imul(Be,pt)|0,_=_+Math.imul(st,Fe)|0,a=(a=a+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,b=b+Math.imul(me,Ge)|0,_=_+Math.imul(ae,at)|0,a=(a=a+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,b=b+Math.imul(he,Lt)|0,_=_+Math.imul(oe,$t)|0,a=(a=a+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,b=b+Math.imul(X,Kt)|0;var Ci=(k+(_=_+Math.imul(ze,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;k=((b=b+Math.imul(Xe,fi)|0)+(a>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,_=Math.imul($e,It),a=(a=Math.imul($e,Qt))+Math.imul(nt,It)|0,b=Math.imul(nt,Qt),_=_+Math.imul(Ue,xt)|0,a=(a=a+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,b=b+Math.imul(je,Se)|0,_=_+Math.imul(ve,ce)|0,a=(a=a+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,b=b+Math.imul(_e,Z)|0,_=_+Math.imul(ct,Pe)|0,a=(a=a+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,b=b+Math.imul(dt,pt)|0,_=_+Math.imul(ue,Fe)|0,a=(a=a+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,b=b+Math.imul(Be,Ge)|0,_=_+Math.imul(st,at)|0,a=(a=a+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,b=b+Math.imul(me,Lt)|0,_=_+Math.imul(ae,$t)|0,a=(a=a+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,b=b+Math.imul(he,Kt)|0;var Ti=(k+(_=_+Math.imul(oe,ti)|0)|0)+((8191&(a=(a=a+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0))<<13)|0;k=((b=b+Math.imul(X,fi)|0)+(a>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,_=Math.imul($e,xt),a=(a=Math.imul($e,Se))+Math.imul(nt,xt)|0,b=Math.imul(nt,Se),_=_+Math.imul(Ue,ce)|0,a=(a=a+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,b=b+Math.imul(je,Z)|0,_=_+Math.imul(ve,Pe)|0,a=(a=a+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,b=b+Math.imul(_e,pt)|0,_=_+Math.imul(ct,Fe)|0,a=(a=a+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,b=b+Math.imul(dt,Ge)|0,_=_+Math.imul(ue,at)|0,a=(a=a+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,b=b+Math.imul(Be,Lt)|0,_=_+Math.imul(st,$t)|0,a=(a=a+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,b=b+Math.imul(me,Kt)|0;var Hi=(k+(_=_+Math.imul(ae,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0))<<13)|0;k=((b=b+Math.imul(he,fi)|0)+(a>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul($e,ce),a=(a=Math.imul($e,Z))+Math.imul(nt,ce)|0,b=Math.imul(nt,Z),_=_+Math.imul(Ue,Pe)|0,a=(a=a+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,b=b+Math.imul(je,pt)|0,_=_+Math.imul(ve,Fe)|0,a=(a=a+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,b=b+Math.imul(_e,Ge)|0,_=_+Math.imul(ct,at)|0,a=(a=a+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,b=b+Math.imul(dt,Lt)|0,_=_+Math.imul(ue,$t)|0,a=(a=a+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,b=b+Math.imul(Be,Kt)|0;var Zi=(k+(_=_+Math.imul(st,ti)|0)|0)+((8191&(a=(a=a+Math.imul(st,fi)|0)+Math.imul(me,ti)|0))<<13)|0;k=((b=b+Math.imul(me,fi)|0)+(a>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul($e,Pe),a=(a=Math.imul($e,pt))+Math.imul(nt,Pe)|0,b=Math.imul(nt,pt),_=_+Math.imul(Ue,Fe)|0,a=(a=a+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,b=b+Math.imul(je,Ge)|0,_=_+Math.imul(ve,at)|0,a=(a=a+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,b=b+Math.imul(_e,Lt)|0,_=_+Math.imul(ct,$t)|0,a=(a=a+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,b=b+Math.imul(dt,Kt)|0;var ln=(k+(_=_+Math.imul(ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0))<<13)|0;k=((b=b+Math.imul(Be,fi)|0)+(a>>>13)|0)+(ln>>>26)|0,ln&=67108863,_=Math.imul($e,Fe),a=(a=Math.imul($e,Ge))+Math.imul(nt,Fe)|0,b=Math.imul(nt,Ge),_=_+Math.imul(Ue,at)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,b=b+Math.imul(je,Lt)|0,_=_+Math.imul(ve,$t)|0,a=(a=a+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,b=b+Math.imul(_e,Kt)|0;var mn=(k+(_=_+Math.imul(ct,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0))<<13)|0;k=((b=b+Math.imul(dt,fi)|0)+(a>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul($e,at),a=(a=Math.imul($e,Lt))+Math.imul(nt,at)|0,b=Math.imul(nt,Lt),_=_+Math.imul(Ue,$t)|0,a=(a=a+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,b=b+Math.imul(je,Kt)|0;var Ut=(k+(_=_+Math.imul(ve,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0))<<13)|0;k=((b=b+Math.imul(_e,fi)|0)+(a>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul($e,$t),a=(a=Math.imul($e,Kt))+Math.imul(nt,$t)|0,b=Math.imul(nt,Kt);var lt=(k+(_=_+Math.imul(Ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0))<<13)|0;k=((b=b+Math.imul(je,fi)|0)+(a>>>13)|0)+(lt>>>26)|0,lt&=67108863;var re=(k+(_=Math.imul($e,ti))|0)+((8191&(a=(a=Math.imul($e,fi))+Math.imul(nt,ti)|0))<<13)|0;return k=((b=Math.imul(nt,fi))+(a>>>13)|0)+(re>>>26)|0,re&=67108863,A[0]=xn,A[1]=tn,A[2]=Vi,A[3]=Qi,A[4]=Xt,A[5]=St,A[6]=tt,A[7]=ot,A[8]=Mt,A[9]=Bt,A[10]=Ci,A[11]=Ti,A[12]=Hi,A[13]=Zi,A[14]=ln,A[15]=mn,A[16]=Ut,A[17]=lt,A[18]=re,0!==k&&(A[19]=k,m.length++),m};function W(T,n,c){return(new Q).mulp(T,n,c)}function Q(T,n){this.x=T,this.y=n}Math.imul||(j=V),l.prototype.mulTo=function(n,c){var m,d=this.length+n.length;return m=10===this.length&&10===n.length?j(this,n,c):d<63?V(this,n,c):d<1024?function Y(T,n,c){c.negative=n.negative^T.negative,c.length=T.length+n.length;for(var m=0,d=0,C=0;C>>26)|0)>>>26,A&=67108863}c.words[C]=k,m=A,A=d}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):W(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,d=0;d>=1;return d},Q.prototype.permute=function(n,c,m,d,C,A){for(var k=0;k>>=1)C++;return 1<>>=13),C>>>=13;for(A=2*c;A>=26,c+=d/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,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 I(T){for(var n=new Array(T.bitLength()),c=0;c>>d}return n}(n);if(0===c.length)return new l(1);for(var m=this,d=0;d=0);var C,c=n%26,m=(n-c)/26,d=67108863>>>26-c<<26-c;if(0!==c){var A=0;for(C=0;C>>26-c}A&&(this.words[C]=A,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C=0),d=c?(c-c%26)/26:0;var C=n%26,A=Math.min((n-C)/26,this.length),k=67108863^67108863>>>C<A)for(this.length-=A,a=0;a=0&&(0!==b||a>=d);a--){var z=0|this.words[a];this.words[a]=b<<26-C|z>>>C,b=z&k}return _&&0!==b&&(_.words[_.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return x(0===this.negative),this.iushrn(n,c,m)},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){x("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<=0);var c=n%26,m=(n-c)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>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(x("number"==typeof n),x(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>26)-(_/67108864|0),this.words[C+m]=67108863&A}for(;C>26,this.words[C+m]=67108863&A;if(0===k)return this.strip();for(x(-1===k),k=0,C=0;C>26,this.words[C]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,d=this.clone(),C=n,A=0|C.words[C.length-1];0!=(m=26-this._countBits(A))&&(C=C.ushln(m),d.iushln(m),A=0|C.words[C.length-1]);var a,_=d.length-C.length;if("mod"!==c){(a=new l(null)).length=_+1,a.words=new Array(a.length);for(var b=0;b=0;N--){var q=67108864*(0|d.words[C.length+N])+(0|d.words[C.length+N-1]);for(q=Math.min(q/A|0,67108863),d._ishlnsubmul(C,q,N);0!==d.negative;)q--,d.negative=0,d._ishlnsubmul(C,1,N),d.isZero()||(d.negative^=1);a&&(a.words[N]=q)}return a&&a.strip(),d.strip(),"div"!==c&&0!==m&&d.iushrn(m),{div:a||null,mod:d}},l.prototype.divmod=function(n,c,m){return x(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,c),"mod"!==c&&(d=A.div.neg()),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:d,mod:C}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),c),"mod"!==c&&(d=A.div.neg()),{div:d,mod:A.mod}):this.negative&n.negative?(A=this.neg().divmod(n.neg(),c),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:A.div,mod:C}):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 d,C,A},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 m=0!==c.div.negative?c.mod.isub(n):c.mod,d=n.ushrn(1),C=n.andln(1),A=m.cmp(d);return A<0||1===C&&0===A?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){x(n<=67108863);for(var c=(1<<26)%n,m=0,d=this.length-1;d>=0;d--)m=(c*m+(0|this.words[d]))%n;return m},l.prototype.idivn=function(n){x(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var d=(0|this.words[m])+67108864*c;this.words[m]=d/n|0,c=d%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){x(0===n.negative),x(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=new l(0),k=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var a=m.clone(),b=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;)(d.isOdd()||C.isOdd())&&(d.iadd(a),C.isub(b)),d.iushrn(1),C.iushrn(1);for(var q=0,pe=1;!(m.words[0]&pe)&&q<26;++q,pe<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(a),k.isub(b)),A.iushrn(1),k.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(A),C.isub(k)):(m.isub(c),A.isub(d),k.isub(C))}return{a:A,b:k,gcd:m.iushln(_)}},l.prototype._invmp=function(n){x(0===n.negative),x(!n.isZero());var z,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var k=0,_=1;!(c.words[0]&_)&&k<26;++k,_<<=1);if(k>0)for(c.iushrn(k);k-- >0;)d.isOdd()&&d.iadd(A),d.iushrn(1);for(var a=0,b=1;!(m.words[0]&b)&&a<26;++a,b<<=1);if(a>0)for(m.iushrn(a);a-- >0;)C.isOdd()&&C.iadd(A),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(C)):(m.isub(c),C.isub(d))}return(z=0===c.cmpn(1)?d:C).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(),m=n.clone();c.negative=0,m.negative=0;for(var d=0;c.isEven()&&m.isEven();d++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var A=c;c=m,m=A}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(d)},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){x("number"==typeof n);var c=n%26,m=(n-c)/26,d=1<>>26,this.words[A]=k&=67108863}return 0!==C&&(this.words[A]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),x(n<=67108863,"Number is too big");var d=0|this.words[0];m=d===n?0:dn.length)return 1;if(this.length=0;m--){var d=0|this.words[m],C=0|n.words[m];if(d!==C){dC&&(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 Ce(n)},l.prototype.toRed=function(n){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return x(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 x(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return x(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ie(T,n){this.name=T,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 ee(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Ce(T){if("string"==typeof T){var n=l._prime(T);this.m=n.p,this.prime=n}else x(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function le(T){Ce.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var d=m0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ie.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ie.prototype.imulK=function(n){return n.imul(this.k)},D(ee,ie),ee.prototype.split=function(n,c){for(var m=4194303,d=Math.min(n.length,9),C=0;C>>22,A=k}n.words[C-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ee.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m>>=26,n.words[m]=C,c=d}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ee;else if("p224"===n)c=new fe;else if("p192"===n)c=new ne;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Ce.prototype._verify1=function(n){x(0===n.negative,"red works only with positives"),x(n.red,"red works only with red numbers")},Ce.prototype._verify2=function(n,c){x(!(n.negative|c.negative),"red works only with positives"),x(n.red&&n.red===c.red,"red works only with red numbers")},Ce.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Ce.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Ce.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Ce.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Ce.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Ce.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Ce.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Ce.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Ce.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Ce.prototype.isqr=function(n){return this.imul(n,n.clone())},Ce.prototype.sqr=function(n){return this.mul(n,n)},Ce.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(x(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var d=this.m.subn(1),C=0;!d.isZero()&&0===d.andln(1);)C++,d.iushrn(1);x(!d.isZero());var A=new l(1).toRed(this),k=A.redNeg(),_=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,_).cmp(k);)a.redIAdd(k);for(var b=this.pow(a,d),z=this.pow(n,d.addn(1).iushrn(1)),N=this.pow(n,d),q=C;0!==N.cmp(A);){for(var pe=N,ze=0;0!==pe.cmp(A);ze++)pe=pe.redSqr();x(ze=0;C--){for(var b=c.words[C],z=a-1;z>=0;z--){var N=b>>z&1;A!==d[0]&&(A=this.sqr(A)),0!==N||0!==k?(k<<=1,k|=N,(4==++_||0===C&&0===z)&&(A=this.mul(A,d[k]),_=0,k=0)):_=0}a=26}return A},Ce.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Ce.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new le(n)},D(le,Ce),le.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},le.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},le.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},3981:(Qe,te)=>{"use strict";te.byteLength=function f(I){var V=w(I),Y=V[1];return 3*(V[0]+Y)/4-Y},te.toByteArray=function h(I){var V,ee,j=w(I),Y=j[0],W=j[1],Q=new t(function R(I,V,j){return 3*(V+j)/4-j}(0,Y,W)),J=0,ie=W>0?Y-4:Y;for(ee=0;ee>16&255,Q[J++]=V>>8&255,Q[J++]=255&V;return 2===W&&(V=e[I.charCodeAt(ee)]<<2|e[I.charCodeAt(ee+1)]>>4,Q[J++]=255&V),1===W&&(V=e[I.charCodeAt(ee)]<<10|e[I.charCodeAt(ee+1)]<<4|e[I.charCodeAt(ee+2)]>>2,Q[J++]=V>>8&255,Q[J++]=255&V),Q},te.fromByteArray=function O(I){for(var V,j=I.length,Y=j%3,W=[],Q=16383,J=0,ie=j-Y;Jie?ie:J+Q));return 1===Y?W.push(g[(V=I[j-1])>>2]+g[V<<4&63]+"=="):2===Y&&W.push(g[(V=(I[j-2]<<8)+I[j-1])>>10]+g[V>>4&63]+g[V<<2&63]+"="),W.join("")};for(var g=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",D=0;D<64;++D)g[D]=x[D],e[x.charCodeAt(D)]=D;function w(I){var V=I.length;if(V%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var j=I.indexOf("=");return-1===j&&(j=V),[j,j===V?0:4-j%4]}function S(I){return g[I>>18&63]+g[I>>12&63]+g[I>>6&63]+g[63&I]}function y(I,V,j){for(var W=[],Q=V;Q=48&&C<=57?C-48:C>=65&&C<=70?C-55:C>=97&&C<=102?C-87:void x(!1,"Invalid character in "+m)}function R(m,d,C){var A=f(m,C);return C-1>=d&&(A|=f(m,C-1)<<4),A}function h(m,d,C,A){for(var k=0,_=0,a=Math.min(m.length,C),b=d;b=49?z-49+10:z>=17?z-17+10:z,x(z>=0&&_0?d:C},l.min=function(d,C){return d.cmp(C)<0?d:C},l.prototype._init=function(d,C,A){if("number"==typeof d)return this._initNumber(d,C,A);if("object"==typeof d)return this._initArray(d,C,A);"hex"===C&&(C=16),x(C===(0|C)&&C>=2&&C<=36);var k=0;"-"===(d=d.toString().replace(/\s+/g,""))[0]&&(k++,this.negative=1),k=0;k-=3)this.words[_]|=(a=d[k]|d[k-1]<<8|d[k-2]<<16)<>>26-b&67108863,(b+=24)>=26&&(b-=26,_++);else if("le"===A)for(k=0,_=0;k>>26-b&67108863,(b+=24)>=26&&(b-=26,_++);return this._strip()},l.prototype._parseHex=function(d,C,A){this.length=Math.ceil((d.length-C)/6),this.words=new Array(this.length);for(var k=0;k=C;k-=2)b=R(d,C,k)<<_,this.words[a]|=67108863&b,_>=18?(_-=18,this.words[a+=1]|=b>>>26):_+=8;else for(k=(d.length-C)%2==0?C+1:C;k=18?(_-=18,this.words[a+=1]|=b>>>26):_+=8;this._strip()},l.prototype._parseBase=function(d,C,A){this.words=[0],this.length=1;for(var k=0,_=1;_<=67108863;_*=C)k++;k--,_=_/C|0;for(var a=d.length-A,b=a%k,z=Math.min(a,a-b)+A,N=0,q=A;q1&&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?""}var O=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],I=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],V=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function W(m,d,C){C.negative=d.negative^m.negative;var A=m.length+d.length|0;C.length=A,A=A-1|0;var k=0|m.words[0],_=0|d.words[0],a=k*_,z=a/67108864|0;C.words[0]=67108863&a;for(var N=1;N>>26,pe=67108863&z,ze=Math.min(N,d.length-1),Xe=Math.max(0,N-m.length+1);Xe<=ze;Xe++)q+=(a=(k=0|m.words[N-Xe|0])*(_=0|d.words[Xe])+pe)/67108864|0,pe=67108863&a;C.words[N]=0|pe,z=0|q}return 0!==z?C.words[N]=0|z:C.length--,C._strip()}l.prototype.toString=function(d,C){var A;if(C=0|C||1,16===(d=d||10)||"hex"===d){A="";for(var k=0,_=0,a=0;a>>24-k&16777215,(k+=2)>=26&&(k-=26,a--),A=0!==_||a!==this.length-1?O[6-z.length]+z+A:z+A}for(0!==_&&(A=_.toString(16)+A);A.length%C!=0;)A="0"+A;return 0!==this.negative&&(A="-"+A),A}if(d===(0|d)&&d>=2&&d<=36){var N=I[d],q=V[d];A="";var pe=this.clone();for(pe.negative=0;!pe.isZero();){var ze=pe.modrn(q).toString(d);A=(pe=pe.idivn(q)).isZero()?ze+A:O[N-ze.length]+ze+A}for(this.isZero()&&(A="0"+A);A.length%C!=0;)A="0"+A;return 0!==this.negative&&(A="-"+A),A}x(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var d=this.words[0];return 2===this.length?d+=67108864*this.words[1]:3===this.length&&1===this.words[2]?d+=4503599627370496+67108864*this.words[1]:this.length>2&&x(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-d:d},l.prototype.toJSON=function(){return this.toString(16,2)},w&&(l.prototype.toBuffer=function(d,C){return this.toArrayLike(w,d,C)}),l.prototype.toArray=function(d,C){return this.toArrayLike(Array,d,C)},l.prototype.toArrayLike=function(d,C,A){this._strip();var k=this.byteLength(),_=A||Math.max(1,k);x(k<=_,"byte array longer than desired length"),x(_>0,"Requested array length <= 0");var a=function(d,C){return d.allocUnsafe?d.allocUnsafe(C):new d(C)}(d,_);return this["_toArrayLike"+("le"===C?"LE":"BE")](a,k),a},l.prototype._toArrayLikeLE=function(d,C){for(var A=0,k=0,_=0,a=0;_>8&255),A>16&255),6===a?(A>24&255),k=0,a=0):(k=b>>>24,a+=2)}if(A=0&&(d[A--]=b>>8&255),A>=0&&(d[A--]=b>>16&255),6===a?(A>=0&&(d[A--]=b>>24&255),k=0,a=0):(k=b>>>24,a+=2)}if(A>=0)for(d[A--]=k;A>=0;)d[A--]=0},l.prototype._countBits=Math.clz32?function(d){return 32-Math.clz32(d)}:function(d){var C=d,A=0;return C>=4096&&(A+=13,C>>>=13),C>=64&&(A+=7,C>>>=7),C>=8&&(A+=4,C>>>=4),C>=2&&(A+=2,C>>>=2),A+C},l.prototype._zeroBits=function(d){if(0===d)return 26;var C=d,A=0;return 8191&C||(A+=13,C>>>=13),127&C||(A+=7,C>>>=7),15&C||(A+=4,C>>>=4),3&C||(A+=2,C>>>=2),1&C||A++,A},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 d=0,C=0;Cd.length?this.clone().ior(d):d.clone().ior(this)},l.prototype.uor=function(d){return this.length>d.length?this.clone().iuor(d):d.clone().iuor(this)},l.prototype.iuand=function(d){var C;C=this.length>d.length?d:this;for(var A=0;Ad.length?this.clone().iand(d):d.clone().iand(this)},l.prototype.uand=function(d){return this.length>d.length?this.clone().iuand(d):d.clone().iuand(this)},l.prototype.iuxor=function(d){var C,A;this.length>d.length?(C=this,A=d):(C=d,A=this);for(var k=0;kd.length?this.clone().ixor(d):d.clone().ixor(this)},l.prototype.uxor=function(d){return this.length>d.length?this.clone().iuxor(d):d.clone().iuxor(this)},l.prototype.inotn=function(d){x("number"==typeof d&&d>=0);var C=0|Math.ceil(d/26),A=d%26;this._expand(C),A>0&&C--;for(var k=0;k0&&(this.words[k]=~this.words[k]&67108863>>26-A),this._strip()},l.prototype.notn=function(d){return this.clone().inotn(d)},l.prototype.setn=function(d,C){x("number"==typeof d&&d>=0);var A=d/26|0,k=d%26;return this._expand(A+1),this.words[A]=C?this.words[A]|1<d.length?(A=this,k=d):(A=d,k=this);for(var _=0,a=0;a>>26;for(;0!==_&&a>>26;if(this.length=A.length,0!==_)this.words[this.length]=_,this.length++;else if(A!==this)for(;ad.length?this.clone().iadd(d):d.clone().iadd(this)},l.prototype.isub=function(d){if(0!==d.negative){d.negative=0;var C=this.iadd(d);return d.negative=1,C._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(d),this.negative=1,this._normSign();var k,_,A=this.cmp(d);if(0===A)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(k=this,_=d):(k=d,_=this);for(var a=0,b=0;b<_.length;b++)a=(C=(0|k.words[b])-(0|_.words[b])+a)>>26,this.words[b]=67108863&C;for(;0!==a&&b>26,this.words[b]=67108863&C;if(0===a&&b>>13,We=0|k[1],oe=8191&We,X=We>>>13,se=0|k[2],ae=8191&se,he=se>>>13,Ie=0|k[3],st=8191&Ie,me=Ie>>>13,Ee=0|k[4],ue=8191&Ee,Be=Ee>>>13,Ct=0|k[5],ct=8191&Ct,dt=Ct>>>13,Yt=0|k[6],ve=8191&Yt,_e=Yt>>>13,we=0|k[7],Ue=8191&we,je=we>>>13,vt=0|k[8],$e=8191&vt,nt=vt>>>13,qt=0|k[9],Nt=8191&qt,yt=qt>>>13,jt=0|_[0],Je=8191&jt,et=jt>>>13,Ae=0|_[1],It=8191&Ae,Qt=Ae>>>13,Tt=0|_[2],xt=8191&Tt,Se=Tt>>>13,Te=0|_[3],ce=8191&Te,Z=Te>>>13,Re=0|_[4],Pe=8191&Re,pt=Re>>>13,Ke=0|_[5],Fe=8191&Ke,Ge=Ke>>>13,qe=0|_[6],at=8191&qe,Lt=qe>>>13,pi=0|_[7],$t=8191&pi,Kt=pi>>>13,Ui=0|_[8],ti=8191&Ui,fi=Ui>>>13,xn=0|_[9],tn=8191&xn,Vi=xn>>>13;A.negative=d.negative^C.negative,A.length=19;var Qi=(b+(z=Math.imul(ze,Je))|0)+((8191&(N=(N=Math.imul(ze,et))+Math.imul(Xe,Je)|0))<<13)|0;b=((q=Math.imul(Xe,et))+(N>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,z=Math.imul(oe,Je),N=(N=Math.imul(oe,et))+Math.imul(X,Je)|0,q=Math.imul(X,et);var Xt=(b+(z=z+Math.imul(ze,It)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0))<<13)|0;b=((q=q+Math.imul(Xe,Qt)|0)+(N>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,z=Math.imul(ae,Je),N=(N=Math.imul(ae,et))+Math.imul(he,Je)|0,q=Math.imul(he,et),z=z+Math.imul(oe,It)|0,N=(N=N+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,q=q+Math.imul(X,Qt)|0;var St=(b+(z=z+Math.imul(ze,xt)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0))<<13)|0;b=((q=q+Math.imul(Xe,Se)|0)+(N>>>13)|0)+(St>>>26)|0,St&=67108863,z=Math.imul(st,Je),N=(N=Math.imul(st,et))+Math.imul(me,Je)|0,q=Math.imul(me,et),z=z+Math.imul(ae,It)|0,N=(N=N+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,q=q+Math.imul(he,Qt)|0,z=z+Math.imul(oe,xt)|0,N=(N=N+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,q=q+Math.imul(X,Se)|0;var tt=(b+(z=z+Math.imul(ze,ce)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0))<<13)|0;b=((q=q+Math.imul(Xe,Z)|0)+(N>>>13)|0)+(tt>>>26)|0,tt&=67108863,z=Math.imul(ue,Je),N=(N=Math.imul(ue,et))+Math.imul(Be,Je)|0,q=Math.imul(Be,et),z=z+Math.imul(st,It)|0,N=(N=N+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,q=q+Math.imul(me,Qt)|0,z=z+Math.imul(ae,xt)|0,N=(N=N+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,q=q+Math.imul(he,Se)|0,z=z+Math.imul(oe,ce)|0,N=(N=N+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,q=q+Math.imul(X,Z)|0;var ot=(b+(z=z+Math.imul(ze,Pe)|0)|0)+((8191&(N=(N=N+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0))<<13)|0;b=((q=q+Math.imul(Xe,pt)|0)+(N>>>13)|0)+(ot>>>26)|0,ot&=67108863,z=Math.imul(ct,Je),N=(N=Math.imul(ct,et))+Math.imul(dt,Je)|0,q=Math.imul(dt,et),z=z+Math.imul(ue,It)|0,N=(N=N+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,q=q+Math.imul(Be,Qt)|0,z=z+Math.imul(st,xt)|0,N=(N=N+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,q=q+Math.imul(me,Se)|0,z=z+Math.imul(ae,ce)|0,N=(N=N+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,q=q+Math.imul(he,Z)|0,z=z+Math.imul(oe,Pe)|0,N=(N=N+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,q=q+Math.imul(X,pt)|0;var Mt=(b+(z=z+Math.imul(ze,Fe)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0))<<13)|0;b=((q=q+Math.imul(Xe,Ge)|0)+(N>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,z=Math.imul(ve,Je),N=(N=Math.imul(ve,et))+Math.imul(_e,Je)|0,q=Math.imul(_e,et),z=z+Math.imul(ct,It)|0,N=(N=N+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,q=q+Math.imul(dt,Qt)|0,z=z+Math.imul(ue,xt)|0,N=(N=N+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,q=q+Math.imul(Be,Se)|0,z=z+Math.imul(st,ce)|0,N=(N=N+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,q=q+Math.imul(me,Z)|0,z=z+Math.imul(ae,Pe)|0,N=(N=N+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,q=q+Math.imul(he,pt)|0,z=z+Math.imul(oe,Fe)|0,N=(N=N+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,q=q+Math.imul(X,Ge)|0;var Bt=(b+(z=z+Math.imul(ze,at)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0))<<13)|0;b=((q=q+Math.imul(Xe,Lt)|0)+(N>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,z=Math.imul(Ue,Je),N=(N=Math.imul(Ue,et))+Math.imul(je,Je)|0,q=Math.imul(je,et),z=z+Math.imul(ve,It)|0,N=(N=N+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,q=q+Math.imul(_e,Qt)|0,z=z+Math.imul(ct,xt)|0,N=(N=N+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,q=q+Math.imul(dt,Se)|0,z=z+Math.imul(ue,ce)|0,N=(N=N+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,q=q+Math.imul(Be,Z)|0,z=z+Math.imul(st,Pe)|0,N=(N=N+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,q=q+Math.imul(me,pt)|0,z=z+Math.imul(ae,Fe)|0,N=(N=N+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,q=q+Math.imul(he,Ge)|0,z=z+Math.imul(oe,at)|0,N=(N=N+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,q=q+Math.imul(X,Lt)|0;var Ci=(b+(z=z+Math.imul(ze,$t)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0))<<13)|0;b=((q=q+Math.imul(Xe,Kt)|0)+(N>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,z=Math.imul($e,Je),N=(N=Math.imul($e,et))+Math.imul(nt,Je)|0,q=Math.imul(nt,et),z=z+Math.imul(Ue,It)|0,N=(N=N+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,q=q+Math.imul(je,Qt)|0,z=z+Math.imul(ve,xt)|0,N=(N=N+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,q=q+Math.imul(_e,Se)|0,z=z+Math.imul(ct,ce)|0,N=(N=N+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,q=q+Math.imul(dt,Z)|0,z=z+Math.imul(ue,Pe)|0,N=(N=N+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,q=q+Math.imul(Be,pt)|0,z=z+Math.imul(st,Fe)|0,N=(N=N+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,q=q+Math.imul(me,Ge)|0,z=z+Math.imul(ae,at)|0,N=(N=N+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,q=q+Math.imul(he,Lt)|0,z=z+Math.imul(oe,$t)|0,N=(N=N+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,q=q+Math.imul(X,Kt)|0;var Ti=(b+(z=z+Math.imul(ze,ti)|0)|0)+((8191&(N=(N=N+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;b=((q=q+Math.imul(Xe,fi)|0)+(N>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,z=Math.imul(Nt,Je),N=(N=Math.imul(Nt,et))+Math.imul(yt,Je)|0,q=Math.imul(yt,et),z=z+Math.imul($e,It)|0,N=(N=N+Math.imul($e,Qt)|0)+Math.imul(nt,It)|0,q=q+Math.imul(nt,Qt)|0,z=z+Math.imul(Ue,xt)|0,N=(N=N+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,q=q+Math.imul(je,Se)|0,z=z+Math.imul(ve,ce)|0,N=(N=N+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,q=q+Math.imul(_e,Z)|0,z=z+Math.imul(ct,Pe)|0,N=(N=N+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,q=q+Math.imul(dt,pt)|0,z=z+Math.imul(ue,Fe)|0,N=(N=N+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,q=q+Math.imul(Be,Ge)|0,z=z+Math.imul(st,at)|0,N=(N=N+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,q=q+Math.imul(me,Lt)|0,z=z+Math.imul(ae,$t)|0,N=(N=N+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,q=q+Math.imul(he,Kt)|0,z=z+Math.imul(oe,ti)|0,N=(N=N+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0,q=q+Math.imul(X,fi)|0;var Hi=(b+(z=z+Math.imul(ze,tn)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Vi)|0)+Math.imul(Xe,tn)|0))<<13)|0;b=((q=q+Math.imul(Xe,Vi)|0)+(N>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,z=Math.imul(Nt,It),N=(N=Math.imul(Nt,Qt))+Math.imul(yt,It)|0,q=Math.imul(yt,Qt),z=z+Math.imul($e,xt)|0,N=(N=N+Math.imul($e,Se)|0)+Math.imul(nt,xt)|0,q=q+Math.imul(nt,Se)|0,z=z+Math.imul(Ue,ce)|0,N=(N=N+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,q=q+Math.imul(je,Z)|0,z=z+Math.imul(ve,Pe)|0,N=(N=N+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,q=q+Math.imul(_e,pt)|0,z=z+Math.imul(ct,Fe)|0,N=(N=N+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,q=q+Math.imul(dt,Ge)|0,z=z+Math.imul(ue,at)|0,N=(N=N+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,q=q+Math.imul(Be,Lt)|0,z=z+Math.imul(st,$t)|0,N=(N=N+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,q=q+Math.imul(me,Kt)|0,z=z+Math.imul(ae,ti)|0,N=(N=N+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0,q=q+Math.imul(he,fi)|0;var Zi=(b+(z=z+Math.imul(oe,tn)|0)|0)+((8191&(N=(N=N+Math.imul(oe,Vi)|0)+Math.imul(X,tn)|0))<<13)|0;b=((q=q+Math.imul(X,Vi)|0)+(N>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,z=Math.imul(Nt,xt),N=(N=Math.imul(Nt,Se))+Math.imul(yt,xt)|0,q=Math.imul(yt,Se),z=z+Math.imul($e,ce)|0,N=(N=N+Math.imul($e,Z)|0)+Math.imul(nt,ce)|0,q=q+Math.imul(nt,Z)|0,z=z+Math.imul(Ue,Pe)|0,N=(N=N+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,q=q+Math.imul(je,pt)|0,z=z+Math.imul(ve,Fe)|0,N=(N=N+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,q=q+Math.imul(_e,Ge)|0,z=z+Math.imul(ct,at)|0,N=(N=N+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,q=q+Math.imul(dt,Lt)|0,z=z+Math.imul(ue,$t)|0,N=(N=N+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,q=q+Math.imul(Be,Kt)|0,z=z+Math.imul(st,ti)|0,N=(N=N+Math.imul(st,fi)|0)+Math.imul(me,ti)|0,q=q+Math.imul(me,fi)|0;var ln=(b+(z=z+Math.imul(ae,tn)|0)|0)+((8191&(N=(N=N+Math.imul(ae,Vi)|0)+Math.imul(he,tn)|0))<<13)|0;b=((q=q+Math.imul(he,Vi)|0)+(N>>>13)|0)+(ln>>>26)|0,ln&=67108863,z=Math.imul(Nt,ce),N=(N=Math.imul(Nt,Z))+Math.imul(yt,ce)|0,q=Math.imul(yt,Z),z=z+Math.imul($e,Pe)|0,N=(N=N+Math.imul($e,pt)|0)+Math.imul(nt,Pe)|0,q=q+Math.imul(nt,pt)|0,z=z+Math.imul(Ue,Fe)|0,N=(N=N+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,q=q+Math.imul(je,Ge)|0,z=z+Math.imul(ve,at)|0,N=(N=N+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,q=q+Math.imul(_e,Lt)|0,z=z+Math.imul(ct,$t)|0,N=(N=N+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,q=q+Math.imul(dt,Kt)|0,z=z+Math.imul(ue,ti)|0,N=(N=N+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0,q=q+Math.imul(Be,fi)|0;var mn=(b+(z=z+Math.imul(st,tn)|0)|0)+((8191&(N=(N=N+Math.imul(st,Vi)|0)+Math.imul(me,tn)|0))<<13)|0;b=((q=q+Math.imul(me,Vi)|0)+(N>>>13)|0)+(mn>>>26)|0,mn&=67108863,z=Math.imul(Nt,Pe),N=(N=Math.imul(Nt,pt))+Math.imul(yt,Pe)|0,q=Math.imul(yt,pt),z=z+Math.imul($e,Fe)|0,N=(N=N+Math.imul($e,Ge)|0)+Math.imul(nt,Fe)|0,q=q+Math.imul(nt,Ge)|0,z=z+Math.imul(Ue,at)|0,N=(N=N+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,q=q+Math.imul(je,Lt)|0,z=z+Math.imul(ve,$t)|0,N=(N=N+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,q=q+Math.imul(_e,Kt)|0,z=z+Math.imul(ct,ti)|0,N=(N=N+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0,q=q+Math.imul(dt,fi)|0;var Ut=(b+(z=z+Math.imul(ue,tn)|0)|0)+((8191&(N=(N=N+Math.imul(ue,Vi)|0)+Math.imul(Be,tn)|0))<<13)|0;b=((q=q+Math.imul(Be,Vi)|0)+(N>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,z=Math.imul(Nt,Fe),N=(N=Math.imul(Nt,Ge))+Math.imul(yt,Fe)|0,q=Math.imul(yt,Ge),z=z+Math.imul($e,at)|0,N=(N=N+Math.imul($e,Lt)|0)+Math.imul(nt,at)|0,q=q+Math.imul(nt,Lt)|0,z=z+Math.imul(Ue,$t)|0,N=(N=N+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,q=q+Math.imul(je,Kt)|0,z=z+Math.imul(ve,ti)|0,N=(N=N+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0,q=q+Math.imul(_e,fi)|0;var lt=(b+(z=z+Math.imul(ct,tn)|0)|0)+((8191&(N=(N=N+Math.imul(ct,Vi)|0)+Math.imul(dt,tn)|0))<<13)|0;b=((q=q+Math.imul(dt,Vi)|0)+(N>>>13)|0)+(lt>>>26)|0,lt&=67108863,z=Math.imul(Nt,at),N=(N=Math.imul(Nt,Lt))+Math.imul(yt,at)|0,q=Math.imul(yt,Lt),z=z+Math.imul($e,$t)|0,N=(N=N+Math.imul($e,Kt)|0)+Math.imul(nt,$t)|0,q=q+Math.imul(nt,Kt)|0,z=z+Math.imul(Ue,ti)|0,N=(N=N+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0,q=q+Math.imul(je,fi)|0;var re=(b+(z=z+Math.imul(ve,tn)|0)|0)+((8191&(N=(N=N+Math.imul(ve,Vi)|0)+Math.imul(_e,tn)|0))<<13)|0;b=((q=q+Math.imul(_e,Vi)|0)+(N>>>13)|0)+(re>>>26)|0,re&=67108863,z=Math.imul(Nt,$t),N=(N=Math.imul(Nt,Kt))+Math.imul(yt,$t)|0,q=Math.imul(yt,Kt),z=z+Math.imul($e,ti)|0,N=(N=N+Math.imul($e,fi)|0)+Math.imul(nt,ti)|0,q=q+Math.imul(nt,fi)|0;var He=(b+(z=z+Math.imul(Ue,tn)|0)|0)+((8191&(N=(N=N+Math.imul(Ue,Vi)|0)+Math.imul(je,tn)|0))<<13)|0;b=((q=q+Math.imul(je,Vi)|0)+(N>>>13)|0)+(He>>>26)|0,He&=67108863,z=Math.imul(Nt,ti),N=(N=Math.imul(Nt,fi))+Math.imul(yt,ti)|0,q=Math.imul(yt,fi);var ye=(b+(z=z+Math.imul($e,tn)|0)|0)+((8191&(N=(N=N+Math.imul($e,Vi)|0)+Math.imul(nt,tn)|0))<<13)|0;b=((q=q+Math.imul(nt,Vi)|0)+(N>>>13)|0)+(ye>>>26)|0,ye&=67108863;var rt=(b+(z=Math.imul(Nt,tn))|0)+((8191&(N=(N=Math.imul(Nt,Vi))+Math.imul(yt,tn)|0))<<13)|0;return b=((q=Math.imul(yt,Vi))+(N>>>13)|0)+(rt>>>26)|0,rt&=67108863,a[0]=Qi,a[1]=Xt,a[2]=St,a[3]=tt,a[4]=ot,a[5]=Mt,a[6]=Bt,a[7]=Ci,a[8]=Ti,a[9]=Hi,a[10]=Zi,a[11]=ln,a[12]=mn,a[13]=Ut,a[14]=lt,a[15]=re,a[16]=He,a[17]=ye,a[18]=rt,0!==b&&(a[19]=b,A.length++),A};function J(m,d,C){C.negative=d.negative^m.negative,C.length=m.length+d.length;for(var A=0,k=0,_=0;_>>26)|0)>>>26,a&=67108863}C.words[_]=b,A=a,a=k}return 0!==A?C.words[_]=A:C.length--,C._strip()}function ie(m,d,C){return J(m,d,C)}function ee(m,d){this.x=m,this.y=d}Math.imul||(Q=W),l.prototype.mulTo=function(d,C){var k=this.length+d.length;return 10===this.length&&10===d.length?Q(this,d,C):k<63?W(this,d,C):k<1024?J(this,d,C):ie(this,d,C)},ee.prototype.makeRBT=function(d){for(var C=new Array(d),A=l.prototype._countBits(d)-1,k=0;k>=1;return k},ee.prototype.permute=function(d,C,A,k,_,a){for(var b=0;b>>=1)_++;return 1<<_+1+k},ee.prototype.conjugate=function(d,C,A){if(!(A<=1))for(var k=0;k>>=13),_>>>=13;for(a=2*C;a>=26,A+=_/67108864|0,A+=a>>>26,this.words[k]=67108863&a}return 0!==A&&(this.words[k]=A,this.length++),C?this.ineg():this},l.prototype.muln=function(d){return this.clone().imuln(d)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(d){var C=function Y(m){for(var d=new Array(m.bitLength()),C=0;C>>C%26&1;return d}(d);if(0===C.length)return new l(1);for(var A=this,k=0;k=0);var _,C=d%26,A=(d-C)/26,k=67108863>>>26-C<<26-C;if(0!==C){var a=0;for(_=0;_>>26-C}a&&(this.words[_]=a,this.length++)}if(0!==A){for(_=this.length-1;_>=0;_--)this.words[_+A]=this.words[_];for(_=0;_=0),k=C?(C-C%26)/26:0;var _=d%26,a=Math.min((d-_)/26,this.length),b=67108863^67108863>>>_<<_,z=A;if(k-=a,k=Math.max(0,k),z){for(var N=0;Na)for(this.length-=a,N=0;N=0&&(0!==q||N>=k);N--){var pe=0|this.words[N];this.words[N]=q<<26-_|pe>>>_,q=pe&b}return z&&0!==q&&(z.words[z.length++]=q),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},l.prototype.ishrn=function(d,C,A){return x(0===this.negative),this.iushrn(d,C,A)},l.prototype.shln=function(d){return this.clone().ishln(d)},l.prototype.ushln=function(d){return this.clone().iushln(d)},l.prototype.shrn=function(d){return this.clone().ishrn(d)},l.prototype.ushrn=function(d){return this.clone().iushrn(d)},l.prototype.testn=function(d){x("number"==typeof d&&d>=0);var C=d%26,A=(d-C)/26;return!(this.length<=A||!(this.words[A]&1<=0);var C=d%26,A=(d-C)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=A?this:(0!==C&&A++,this.length=Math.min(A,this.length),0!==C&&(this.words[this.length-1]&=67108863^67108863>>>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(d){if(x("number"==typeof d),x(d<67108864),d<0)return this.iaddn(-d);if(0!==this.negative)return this.negative=0,this.iaddn(d),this.negative=1,this;if(this.words[0]-=d,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var C=0;C>26)-(z/67108864|0),this.words[_+A]=67108863&a}for(;_>26,this.words[_+A]=67108863&a;if(0===b)return this._strip();for(x(-1===b),b=0,_=0;_>26,this.words[_]=67108863&a;return this.negative=1,this._strip()},l.prototype._wordDiv=function(d,C){var A,k=this.clone(),_=d,a=0|_.words[_.length-1];0!=(A=26-this._countBits(a))&&(_=_.ushln(A),k.iushln(A),a=0|_.words[_.length-1]);var N,z=k.length-_.length;if("mod"!==C){(N=new l(null)).length=z+1,N.words=new Array(N.length);for(var q=0;q=0;ze--){var Xe=67108864*(0|k.words[_.length+ze])+(0|k.words[_.length+ze-1]);for(Xe=Math.min(Xe/a|0,67108863),k._ishlnsubmul(_,Xe,ze);0!==k.negative;)Xe--,k.negative=0,k._ishlnsubmul(_,1,ze),k.isZero()||(k.negative^=1);N&&(N.words[ze]=Xe)}return N&&N._strip(),k._strip(),"div"!==C&&0!==A&&k.iushrn(A),{div:N||null,mod:k}},l.prototype.divmod=function(d,C,A){return x(!d.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===d.negative?(a=this.neg().divmod(d,C),"mod"!==C&&(k=a.div.neg()),"div"!==C&&(_=a.mod.neg(),A&&0!==_.negative&&_.iadd(d)),{div:k,mod:_}):0===this.negative&&0!==d.negative?(a=this.divmod(d.neg(),C),"mod"!==C&&(k=a.div.neg()),{div:k,mod:a.mod}):this.negative&d.negative?(a=this.neg().divmod(d.neg(),C),"div"!==C&&(_=a.mod.neg(),A&&0!==_.negative&&_.isub(d)),{div:a.div,mod:_}):d.length>this.length||this.cmp(d)<0?{div:new l(0),mod:this}:1===d.length?"div"===C?{div:this.divn(d.words[0]),mod:null}:"mod"===C?{div:null,mod:new l(this.modrn(d.words[0]))}:{div:this.divn(d.words[0]),mod:new l(this.modrn(d.words[0]))}:this._wordDiv(d,C);var k,_,a},l.prototype.div=function(d){return this.divmod(d,"div",!1).div},l.prototype.mod=function(d){return this.divmod(d,"mod",!1).mod},l.prototype.umod=function(d){return this.divmod(d,"mod",!0).mod},l.prototype.divRound=function(d){var C=this.divmod(d);if(C.mod.isZero())return C.div;var A=0!==C.div.negative?C.mod.isub(d):C.mod,k=d.ushrn(1),_=d.andln(1),a=A.cmp(k);return a<0||1===_&&0===a?C.div:0!==C.div.negative?C.div.isubn(1):C.div.iaddn(1)},l.prototype.modrn=function(d){var C=d<0;C&&(d=-d),x(d<=67108863);for(var A=(1<<26)%d,k=0,_=this.length-1;_>=0;_--)k=(A*k+(0|this.words[_]))%d;return C?-k:k},l.prototype.modn=function(d){return this.modrn(d)},l.prototype.idivn=function(d){var C=d<0;C&&(d=-d),x(d<=67108863);for(var A=0,k=this.length-1;k>=0;k--){var _=(0|this.words[k])+67108864*A;this.words[k]=_/d|0,A=_%d}return this._strip(),C?this.ineg():this},l.prototype.divn=function(d){return this.clone().idivn(d)},l.prototype.egcd=function(d){x(0===d.negative),x(!d.isZero());var C=this,A=d.clone();C=0!==C.negative?C.umod(d):C.clone();for(var k=new l(1),_=new l(0),a=new l(0),b=new l(1),z=0;C.isEven()&&A.isEven();)C.iushrn(1),A.iushrn(1),++z;for(var N=A.clone(),q=C.clone();!C.isZero();){for(var pe=0,ze=1;!(C.words[0]&ze)&&pe<26;++pe,ze<<=1);if(pe>0)for(C.iushrn(pe);pe-- >0;)(k.isOdd()||_.isOdd())&&(k.iadd(N),_.isub(q)),k.iushrn(1),_.iushrn(1);for(var Xe=0,We=1;!(A.words[0]&We)&&Xe<26;++Xe,We<<=1);if(Xe>0)for(A.iushrn(Xe);Xe-- >0;)(a.isOdd()||b.isOdd())&&(a.iadd(N),b.isub(q)),a.iushrn(1),b.iushrn(1);C.cmp(A)>=0?(C.isub(A),k.isub(a),_.isub(b)):(A.isub(C),a.isub(k),b.isub(_))}return{a,b,gcd:A.iushln(z)}},l.prototype._invmp=function(d){x(0===d.negative),x(!d.isZero());var pe,C=this,A=d.clone();C=0!==C.negative?C.umod(d):C.clone();for(var k=new l(1),_=new l(0),a=A.clone();C.cmpn(1)>0&&A.cmpn(1)>0;){for(var b=0,z=1;!(C.words[0]&z)&&b<26;++b,z<<=1);if(b>0)for(C.iushrn(b);b-- >0;)k.isOdd()&&k.iadd(a),k.iushrn(1);for(var N=0,q=1;!(A.words[0]&q)&&N<26;++N,q<<=1);if(N>0)for(A.iushrn(N);N-- >0;)_.isOdd()&&_.iadd(a),_.iushrn(1);C.cmp(A)>=0?(C.isub(A),k.isub(_)):(A.isub(C),_.isub(k))}return(pe=0===C.cmpn(1)?k:_).cmpn(0)<0&&pe.iadd(d),pe},l.prototype.gcd=function(d){if(this.isZero())return d.abs();if(d.isZero())return this.abs();var C=this.clone(),A=d.clone();C.negative=0,A.negative=0;for(var k=0;C.isEven()&&A.isEven();k++)C.iushrn(1),A.iushrn(1);for(;;){for(;C.isEven();)C.iushrn(1);for(;A.isEven();)A.iushrn(1);var _=C.cmp(A);if(_<0){var a=C;C=A,A=a}else if(0===_||0===A.cmpn(1))break;C.isub(A)}return A.iushln(k)},l.prototype.invm=function(d){return this.egcd(d).a.umod(d)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(d){return this.words[0]&d},l.prototype.bincn=function(d){x("number"==typeof d);var C=d%26,A=(d-C)/26,k=1<>>26,this.words[a]=b&=67108863}return 0!==_&&(this.words[a]=_,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(d){var A,C=d<0;if(0!==this.negative&&!C)return-1;if(0===this.negative&&C)return 1;if(this._strip(),this.length>1)A=1;else{C&&(d=-d),x(d<=67108863,"Number is too big");var k=0|this.words[0];A=k===d?0:kd.length)return 1;if(this.length=0;A--){var k=0|this.words[A],_=0|d.words[A];if(k!==_){k<_?C=-1:k>_&&(C=1);break}}return C},l.prototype.gtn=function(d){return 1===this.cmpn(d)},l.prototype.gt=function(d){return 1===this.cmp(d)},l.prototype.gten=function(d){return this.cmpn(d)>=0},l.prototype.gte=function(d){return this.cmp(d)>=0},l.prototype.ltn=function(d){return-1===this.cmpn(d)},l.prototype.lt=function(d){return-1===this.cmp(d)},l.prototype.lten=function(d){return this.cmpn(d)<=0},l.prototype.lte=function(d){return this.cmp(d)<=0},l.prototype.eqn=function(d){return 0===this.cmpn(d)},l.prototype.eq=function(d){return 0===this.cmp(d)},l.red=function(d){return new n(d)},l.prototype.toRed=function(d){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),d.convertTo(this)._forceRed(d)},l.prototype.fromRed=function(){return x(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(d){return this.red=d,this},l.prototype.forceRed=function(d){return x(!this.red,"Already a number in reduction context"),this._forceRed(d)},l.prototype.redAdd=function(d){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,d)},l.prototype.redIAdd=function(d){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,d)},l.prototype.redSub=function(d){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,d)},l.prototype.redISub=function(d){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,d)},l.prototype.redShl=function(d){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,d)},l.prototype.redMul=function(d){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.mul(this,d)},l.prototype.redIMul=function(d){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.imul(this,d)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(d){return x(this.red&&!d.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,d)};var fe={k256:null,p224:null,p192:null,p25519:null};function ne(m,d){this.name=m,this.p=new l(d,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function Me(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Ce(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function le(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function T(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function n(m){if("string"==typeof m){var d=l._prime(m);this.m=d.p,this.prime=d}else x(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function c(m){n.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ne.prototype._tmp=function(){var d=new l(null);return d.words=new Array(Math.ceil(this.n/13)),d},ne.prototype.ireduce=function(d){var A,C=d;do{this.split(C,this.tmp),A=(C=(C=this.imulK(C)).iadd(this.tmp)).bitLength()}while(A>this.n);var k=A0?C.isub(this.p):void 0!==C.strip?C.strip():C._strip(),C},ne.prototype.split=function(d,C){d.iushrn(this.n,0,C)},ne.prototype.imulK=function(d){return d.imul(this.k)},D(Me,ne),Me.prototype.split=function(d,C){for(var A=4194303,k=Math.min(d.length,9),_=0;_>>22,a=b}d.words[_-10]=a>>>=22,d.length-=0===a&&d.length>10?10:9},Me.prototype.imulK=function(d){d.words[d.length]=0,d.words[d.length+1]=0,d.length+=2;for(var C=0,A=0;A>>=26,d.words[A]=_,C=k}return 0!==C&&(d.words[d.length++]=C),d},l._prime=function(d){if(fe[d])return fe[d];var C;if("k256"===d)C=new Me;else if("p224"===d)C=new Ce;else if("p192"===d)C=new le;else{if("p25519"!==d)throw new Error("Unknown prime "+d);C=new T}return fe[d]=C,C},n.prototype._verify1=function(d){x(0===d.negative,"red works only with positives"),x(d.red,"red works only with red numbers")},n.prototype._verify2=function(d,C){x(!(d.negative|C.negative),"red works only with positives"),x(d.red&&d.red===C.red,"red works only with red numbers")},n.prototype.imod=function(d){return this.prime?this.prime.ireduce(d)._forceRed(this):(S(d,d.umod(this.m)._forceRed(this)),d)},n.prototype.neg=function(d){return d.isZero()?d.clone():this.m.sub(d)._forceRed(this)},n.prototype.add=function(d,C){this._verify2(d,C);var A=d.add(C);return A.cmp(this.m)>=0&&A.isub(this.m),A._forceRed(this)},n.prototype.iadd=function(d,C){this._verify2(d,C);var A=d.iadd(C);return A.cmp(this.m)>=0&&A.isub(this.m),A},n.prototype.sub=function(d,C){this._verify2(d,C);var A=d.sub(C);return A.cmpn(0)<0&&A.iadd(this.m),A._forceRed(this)},n.prototype.isub=function(d,C){this._verify2(d,C);var A=d.isub(C);return A.cmpn(0)<0&&A.iadd(this.m),A},n.prototype.shl=function(d,C){return this._verify1(d),this.imod(d.ushln(C))},n.prototype.imul=function(d,C){return this._verify2(d,C),this.imod(d.imul(C))},n.prototype.mul=function(d,C){return this._verify2(d,C),this.imod(d.mul(C))},n.prototype.isqr=function(d){return this.imul(d,d.clone())},n.prototype.sqr=function(d){return this.mul(d,d)},n.prototype.sqrt=function(d){if(d.isZero())return d.clone();var C=this.m.andln(3);if(x(C%2==1),3===C){var A=this.m.add(new l(1)).iushrn(2);return this.pow(d,A)}for(var k=this.m.subn(1),_=0;!k.isZero()&&0===k.andln(1);)_++,k.iushrn(1);x(!k.isZero());var a=new l(1).toRed(this),b=a.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(b);)N.redIAdd(b);for(var q=this.pow(N,k),pe=this.pow(d,k.addn(1).iushrn(1)),ze=this.pow(d,k),Xe=_;0!==ze.cmp(a);){for(var We=ze,oe=0;0!==We.cmp(a);oe++)We=We.redSqr();x(oe=0;_--){for(var q=C.words[_],pe=N-1;pe>=0;pe--){var ze=q>>pe&1;a!==k[0]&&(a=this.sqr(a)),0!==ze||0!==b?(b<<=1,b|=ze,(4==++z||0===_&&0===pe)&&(a=this.mul(a,k[b]),z=0,b=0)):z=0}N=26}return a},n.prototype.convertTo=function(d){var C=d.umod(this.m);return C===d?C.clone():C},n.prototype.convertFrom=function(d){var C=d.clone();return C.red=null,C},l.mont=function(d){return new c(d)},D(c,n),c.prototype.convertTo=function(d){return this.imod(d.ushln(this.shift))},c.prototype.convertFrom=function(d){var C=this.imod(d.mul(this.rinv));return C.red=null,C},c.prototype.imul=function(d,C){if(d.isZero()||C.isZero())return d.words[0]=0,d.length=1,d;var A=d.imul(C),k=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),_=A.isub(k).iushrn(this.shift),a=_;return _.cmp(this.m)>=0?a=_.isub(this.m):_.cmpn(0)<0&&(a=_.iadd(this.m)),a._forceRed(this)},c.prototype.mul=function(d,C){if(d.isZero()||C.isZero())return new l(0)._forceRed(this);var A=d.mul(C),k=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),_=A.isub(k).iushrn(this.shift),a=_;return _.cmp(this.m)>=0?a=_.isub(this.m):_.cmpn(0)<0&&(a=_.iadd(this.m)),a._forceRed(this)},c.prototype.invm=function(d){return this.imod(d._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},5294:(Qe,te,g)=>{var e;function t(D){this.rand=D}if(Qe.exports=function(l){return e||(e=new t(null)),e.generate(l)},Qe.exports.Rand=t,t.prototype.generate=function(l){return this._rand(l)},t.prototype._rand=function(l){if(this.rand.getBytes)return this.rand.getBytes(l);for(var w=new Uint8Array(l),f=0;f{var e=g(7054).Buffer;function t(R){e.isBuffer(R)||(R=e.from(R));for(var h=R.length/4|0,S=new Array(h),y=0;y>>24]^V[Q>>>16&255]^j[J>>>8&255]^Y[255&ie]^h[Ce++],fe=I[Q>>>24]^V[J>>>16&255]^j[ie>>>8&255]^Y[255&W]^h[Ce++],ne=I[J>>>24]^V[ie>>>16&255]^j[W>>>8&255]^Y[255&Q]^h[Ce++],Me=I[ie>>>24]^V[W>>>16&255]^j[Q>>>8&255]^Y[255&J]^h[Ce++],W=ee,Q=fe,J=ne,ie=Me;return ee=(y[W>>>24]<<24|y[Q>>>16&255]<<16|y[J>>>8&255]<<8|y[255&ie])^h[Ce++],fe=(y[Q>>>24]<<24|y[J>>>16&255]<<16|y[ie>>>8&255]<<8|y[255&W])^h[Ce++],ne=(y[J>>>24]<<24|y[ie>>>16&255]<<16|y[W>>>8&255]<<8|y[255&Q])^h[Ce++],Me=(y[ie>>>24]<<24|y[W>>>16&255]<<16|y[Q>>>8&255]<<8|y[255&J])^h[Ce++],[ee>>>=0,fe>>>=0,ne>>>=0,Me>>>=0]}var l=[0,1,2,4,8,16,32,64,128,27,54],w=function(){for(var R=new Array(256),h=0;h<256;h++)R[h]=h<128?h<<1:h<<1^283;for(var S=[],y=[],O=[[],[],[],[]],I=[[],[],[],[]],V=0,j=0,Y=0;Y<256;++Y){var W=j^j<<1^j<<2^j<<3^j<<4;S[V]=W=W>>>8^255&W^99,y[W]=V;var Q=R[V],J=R[Q],ie=R[J],ee=257*R[W]^16843008*W;O[0][V]=ee<<24|ee>>>8,O[1][V]=ee<<16|ee>>>16,O[2][V]=ee<<8|ee>>>24,O[3][V]=ee,I[0][W]=(ee=16843009*ie^65537*J^257*Q^16843008*V)<<24|ee>>>8,I[1][W]=ee<<16|ee>>>16,I[2][W]=ee<<8|ee>>>24,I[3][W]=ee,0===V?V=j=1:(V=Q^R[R[R[ie^Q]]],j^=R[R[j]])}return{SBOX:S,INV_SBOX:y,SUB_MIX:O,INV_SUB_MIX:I}}();function f(R){this._key=t(R),this._reset()}f.blockSize=16,f.keySize=32,f.prototype.blockSize=f.blockSize,f.prototype.keySize=f.keySize,f.prototype._reset=function(){for(var R=this._key,h=R.length,S=h+6,y=4*(S+1),O=[],I=0;I>>24)>>>24]<<24|w.SBOX[V>>>16&255]<<16|w.SBOX[V>>>8&255]<<8|w.SBOX[255&V],V^=l[I/h|0]<<24):h>6&&I%h==4&&(V=w.SBOX[V>>>24]<<24|w.SBOX[V>>>16&255]<<16|w.SBOX[V>>>8&255]<<8|w.SBOX[255&V]),O[I]=O[I-h]^V}for(var j=[],Y=0;Y>>24]]^w.INV_SUB_MIX[1][w.SBOX[Q>>>16&255]]^w.INV_SUB_MIX[2][w.SBOX[Q>>>8&255]]^w.INV_SUB_MIX[3][w.SBOX[255&Q]]}this._nRounds=S,this._keySchedule=O,this._invKeySchedule=j},f.prototype.encryptBlockRaw=function(R){return D(R=t(R),this._keySchedule,w.SUB_MIX,w.SBOX,this._nRounds)},f.prototype.encryptBlock=function(R){var h=this.encryptBlockRaw(R),S=e.allocUnsafe(16);return S.writeUInt32BE(h[0],0),S.writeUInt32BE(h[1],4),S.writeUInt32BE(h[2],8),S.writeUInt32BE(h[3],12),S},f.prototype.decryptBlock=function(R){var h=(R=t(R))[1];R[1]=R[3],R[3]=h;var S=D(R,this._invKeySchedule,w.INV_SUB_MIX,w.INV_SBOX,this._nRounds),y=e.allocUnsafe(16);return y.writeUInt32BE(S[0],0),y.writeUInt32BE(S[3],4),y.writeUInt32BE(S[2],8),y.writeUInt32BE(S[1],12),y},f.prototype.scrub=function(){x(this._keySchedule),x(this._invKeySchedule),x(this._key)},Qe.exports.AES=f},9307:(Qe,te,g)=>{var e=g(2375),t=g(7054).Buffer,x=g(3247),D=g(1993),l=g(5917),w=g(3546),f=g(5725);function S(y,O,I,V){x.call(this);var j=t.alloc(4,0);this._cipher=new e.AES(O);var Y=this._cipher.encryptBlock(j);this._ghash=new l(Y),I=function h(y,O,I){if(12===O.length)return y._finID=t.concat([O,t.from([0,0,0,1])]),t.concat([O,t.from([0,0,0,2])]);var V=new l(I),j=O.length,Y=j%16;V.update(O),Y&&V.update(t.alloc(Y=16-Y,0)),V.update(t.alloc(8,0));var W=8*j,Q=t.alloc(8);Q.writeUIntBE(W,0,8),V.update(Q),y._finID=V.state;var J=t.from(y._finID);return f(J),J}(this,I,Y),this._prev=t.from(I),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=V,this._alen=0,this._len=0,this._mode=y,this._authTag=null,this._called=!1}D(S,x),S.prototype._update=function(y){if(!this._called&&this._alen){var O=16-this._alen%16;O<16&&(O=t.alloc(O,0),this._ghash.update(O))}this._called=!0;var I=this._mode.encrypt(this,y);return this._ghash.update(this._decrypt?y:I),this._len+=y.length,I},S.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var y=w(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function R(y,O){var I=0;y.length!==O.length&&I++;for(var V=Math.min(y.length,O.length),j=0;j{var e=g(350),t=g(102),x=g(3219);te.createCipher=te.Cipher=e.createCipher,te.createCipheriv=te.Cipheriv=e.createCipheriv,te.createDecipher=te.Decipher=t.createDecipher,te.createDecipheriv=te.Decipheriv=t.createDecipheriv,te.listCiphers=te.getCiphers=function D(){return Object.keys(x)}},102:(Qe,te,g)=>{var e=g(9307),t=g(7054).Buffer,x=g(503),D=g(1821),l=g(3247),w=g(2375),f=g(592);function h(V,j,Y){l.call(this),this._cache=new S,this._last=void 0,this._cipher=new w.AES(j),this._prev=t.from(Y),this._mode=V,this._autopadding=!0}function S(){this.cache=t.allocUnsafe(0)}function O(V,j,Y){var W=x[V.toLowerCase()];if(!W)throw new TypeError("invalid suite type");if("string"==typeof Y&&(Y=t.from(Y)),"GCM"!==W.mode&&Y.length!==W.iv)throw new TypeError("invalid iv length "+Y.length);if("string"==typeof j&&(j=t.from(j)),j.length!==W.key/8)throw new TypeError("invalid key length "+j.length);return"stream"===W.type?new D(W.module,j,Y,!0):"auth"===W.type?new e(W.module,j,Y,!0):new h(W.module,j,Y)}g(1993)(h,l),h.prototype._update=function(V){this._cache.add(V);for(var j,Y,W=[];j=this._cache.get(this._autopadding);)Y=this._mode.decrypt(this,j),W.push(Y);return t.concat(W)},h.prototype._final=function(){var V=this._cache.flush();if(this._autopadding)return function y(V){var j=V[15];if(j<1||j>16)throw new Error("unable to decrypt data");for(var Y=-1;++Y16)return j=this.cache.slice(0,16),this.cache=this.cache.slice(16),j}else if(this.cache.length>=16)return j=this.cache.slice(0,16),this.cache=this.cache.slice(16),j;return null},S.prototype.flush=function(){if(this.cache.length)return this.cache},te.createDecipher=function I(V,j){var Y=x[V.toLowerCase()];if(!Y)throw new TypeError("invalid suite type");var W=f(j,!1,Y.key,Y.iv);return O(V,W.key,W.iv)},te.createDecipheriv=O},350:(Qe,te,g)=>{var e=g(503),t=g(9307),x=g(7054).Buffer,D=g(1821),l=g(3247),w=g(2375),f=g(592);function h(V,j,Y){l.call(this),this._cache=new y,this._cipher=new w.AES(j),this._prev=x.from(Y),this._mode=V,this._autopadding=!0}g(1993)(h,l),h.prototype._update=function(V){this._cache.add(V);for(var j,Y,W=[];j=this._cache.get();)Y=this._mode.encrypt(this,j),W.push(Y);return x.concat(W)};var S=x.alloc(16,16);function y(){this.cache=x.allocUnsafe(0)}function O(V,j,Y){var W=e[V.toLowerCase()];if(!W)throw new TypeError("invalid suite type");if("string"==typeof j&&(j=x.from(j)),j.length!==W.key/8)throw new TypeError("invalid key length "+j.length);if("string"==typeof Y&&(Y=x.from(Y)),"GCM"!==W.mode&&Y.length!==W.iv)throw new TypeError("invalid iv length "+Y.length);return"stream"===W.type?new D(W.module,j,Y):"auth"===W.type?new t(W.module,j,Y):new h(W.module,j,Y)}h.prototype._final=function(){var V=this._cache.flush();if(this._autopadding)return V=this._mode.encrypt(this,V),this._cipher.scrub(),V;if(!V.equals(S))throw this._cipher.scrub(),new Error("data not multiple of block length")},h.prototype.setAutoPadding=function(V){return this._autopadding=!!V,this},y.prototype.add=function(V){this.cache=x.concat([this.cache,V])},y.prototype.get=function(){if(this.cache.length>15){var V=this.cache.slice(0,16);return this.cache=this.cache.slice(16),V}return null},y.prototype.flush=function(){for(var V=16-this.cache.length,j=x.allocUnsafe(V),Y=-1;++Y{var e=g(7054).Buffer,t=e.alloc(16,0);function D(w){var f=e.allocUnsafe(16);return f.writeUInt32BE(w[0]>>>0,0),f.writeUInt32BE(w[1]>>>0,4),f.writeUInt32BE(w[2]>>>0,8),f.writeUInt32BE(w[3]>>>0,12),f}function l(w){this.h=w,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}l.prototype.ghash=function(w){for(var f=-1;++f0;R--)w[R]=w[R]>>>1|(1&w[R-1])<<31;w[0]=w[0]>>>1,S&&(w[0]=w[0]^225<<24)}this.state=D(f)},l.prototype.update=function(w){this.cache=e.concat([this.cache,w]);for(var f;this.cache.length>=16;)f=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(f)},l.prototype.final=function(w,f){return this.cache.length&&this.ghash(e.concat([this.cache,t],16)),this.ghash(D([0,w,0,f])),this.state},Qe.exports=l},5725:Qe=>{Qe.exports=function te(g){for(var t,e=g.length;e--;){if(255!==(t=g.readUInt8(e))){t++,g.writeUInt8(t,e);break}g.writeUInt8(0,e)}}},4133:(Qe,te,g)=>{var e=g(3546);te.encrypt=function(t,x){var D=e(x,t._prev);return t._prev=t._cipher.encryptBlock(D),t._prev},te.decrypt=function(t,x){var D=t._prev;t._prev=x;var l=t._cipher.decryptBlock(x);return e(l,D)}},7090:(Qe,te,g)=>{var e=g(7054).Buffer,t=g(3546);function x(D,l,w){var f=l.length,R=t(l,D._cache);return D._cache=D._cache.slice(f),D._prev=e.concat([D._prev,w?l:R]),R}te.encrypt=function(D,l,w){for(var R,f=e.allocUnsafe(0);l.length;){if(0===D._cache.length&&(D._cache=D._cipher.encryptBlock(D._prev),D._prev=e.allocUnsafe(0)),!(D._cache.length<=l.length)){f=e.concat([f,x(D,l,w)]);break}f=e.concat([f,x(D,l.slice(0,R=D._cache.length),w)]),l=l.slice(R)}return f}},1039:(Qe,te,g)=>{var e=g(7054).Buffer;function t(D,l,w){for(var y,O,R=-1,S=0;++R<8;)S+=(128&(O=D._cipher.encryptBlock(D._prev)[0]^(y=l&1<<7-R?128:0)))>>R%8,D._prev=x(D._prev,w?y:O);return S}function x(D,l){var w=D.length,f=-1,R=e.allocUnsafe(D.length);for(D=e.concat([D,e.from([l])]);++f>7;return R}te.encrypt=function(D,l,w){for(var f=l.length,R=e.allocUnsafe(f),h=-1;++h{var e=g(7054).Buffer;function t(x,D,l){var f=x._cipher.encryptBlock(x._prev)[0]^D;return x._prev=e.concat([x._prev.slice(1),e.from([l?D:f])]),f}te.encrypt=function(x,D,l){for(var w=D.length,f=e.allocUnsafe(w),R=-1;++R{var e=g(3546),t=g(7054).Buffer,x=g(5725);function D(w){var f=w._cipher.encryptBlockRaw(w._prev);return x(w._prev),f}te.encrypt=function(w,f){var R=Math.ceil(f.length/16),h=w._cache.length;w._cache=t.concat([w._cache,t.allocUnsafe(16*R)]);for(var S=0;S{te.encrypt=function(g,e){return g._cipher.encryptBlock(e)},te.decrypt=function(g,e){return g._cipher.decryptBlock(e)}},503:(Qe,te,g)=>{var e={ECB:g(7513),CBC:g(4133),CFB:g(7090),CFB8:g(2576),CFB1:g(1039),OFB:g(6854),CTR:g(336),GCM:g(336)},t=g(3219);for(var x in t)t[x].module=e[t[x].mode];Qe.exports=t},6854:(Qe,te,g)=>{var e=g(3546);function t(x){return x._prev=x._cipher.encryptBlock(x._prev),x._prev}te.encrypt=function(x,D){for(;x._cache.length{var e=g(2375),t=g(7054).Buffer,x=g(3247);function l(w,f,R,h){x.call(this),this._cipher=new e.AES(f),this._prev=t.from(R),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=h,this._mode=w}g(1993)(l,x),l.prototype._update=function(w){return this._mode.encrypt(this,w,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},Qe.exports=l},8862:(Qe,te,g)=>{var e=g(9799),t=g(3388),x=g(503),D=g(9571),l=g(592);function R(y,O,I){if(y=y.toLowerCase(),x[y])return t.createCipheriv(y,O,I);if(D[y])return new e({key:O,iv:I,mode:y});throw new TypeError("invalid suite type")}function h(y,O,I){if(y=y.toLowerCase(),x[y])return t.createDecipheriv(y,O,I);if(D[y])return new e({key:O,iv:I,mode:y,decrypt:!0});throw new TypeError("invalid suite type")}te.createCipher=te.Cipher=function w(y,O){var I,V;if(y=y.toLowerCase(),x[y])I=x[y].key,V=x[y].iv;else{if(!D[y])throw new TypeError("invalid suite type");I=8*D[y].key,V=D[y].iv}var j=l(O,!1,I,V);return R(y,j.key,j.iv)},te.createCipheriv=te.Cipheriv=R,te.createDecipher=te.Decipher=function f(y,O){var I,V;if(y=y.toLowerCase(),x[y])I=x[y].key,V=x[y].iv;else{if(!D[y])throw new TypeError("invalid suite type");I=8*D[y].key,V=D[y].iv}var j=l(O,!1,I,V);return h(y,j.key,j.iv)},te.createDecipheriv=te.Decipheriv=h,te.listCiphers=te.getCiphers=function S(){return Object.keys(D).concat(t.getCiphers())}},9799:(Qe,te,g)=>{var e=g(3247),t=g(1549),x=g(1993),D=g(7054).Buffer,l={"des-ede3-cbc":t.CBC.instantiate(t.EDE),"des-ede3":t.EDE,"des-ede-cbc":t.CBC.instantiate(t.EDE),"des-ede":t.EDE,"des-cbc":t.CBC.instantiate(t.DES),"des-ecb":t.DES};function w(f){e.call(this);var S,R=f.mode.toLowerCase(),h=l[R];S=f.decrypt?"decrypt":"encrypt";var y=f.key;D.isBuffer(y)||(y=D.from(y)),("des-ede"===R||"des-ede-cbc"===R)&&(y=D.concat([y,y.slice(0,8)]));var O=f.iv;D.isBuffer(O)||(O=D.from(O)),this._des=h.create({key:y,iv:O,type:S})}l.des=l["des-cbc"],l.des3=l["des-ede3-cbc"],Qe.exports=w,x(w,e),w.prototype._update=function(f){return D.from(this._des.update(f))},w.prototype._final=function(){return D.from(this._des.final())}},9571:(Qe,te)=>{te["des-ecb"]={key:8,iv:0},te["des-cbc"]=te.des={key:8,iv:8},te["des-ede3-cbc"]=te.des3={key:24,iv:8},te["des-ede3"]={key:24,iv:0},te["des-ede-cbc"]={key:16,iv:8},te["des-ede"]={key:16,iv:0}},4105:(Qe,te,g)=>{"use strict";var e=g(917),t=g(3342),x=g(7054).Buffer;function D(f){var h,R=f.modulus.byteLength();do{h=new e(t(R))}while(h.cmp(f.modulus)>=0||!h.umod(f.prime1)||!h.umod(f.prime2));return h}function w(f,R){var h=function l(f){var R=D(f);return{blinder:R.toRed(e.mont(f.modulus)).redPow(new e(f.publicExponent)).fromRed(),unblinder:R.invm(f.modulus)}}(R),S=R.modulus.byteLength(),y=new e(f).mul(h.blinder).umod(R.modulus),O=y.toRed(e.mont(R.prime1)),I=y.toRed(e.mont(R.prime2)),V=R.coefficient,j=R.prime1,Y=R.prime2,W=O.redPow(R.exponent1).fromRed(),Q=I.redPow(R.exponent2).fromRed(),J=W.isub(Q).imul(V).umod(j).imul(Y);return Q.iadd(J).imul(h.unblinder).umod(R.modulus).toArrayLike(x,"be",S)}w.getr=D,Qe.exports=w},9560:(Qe,te,g)=>{"use strict";Qe.exports=g(2951)},9143:(Qe,te,g)=>{"use strict";var e=g(7054).Buffer,t=g(7211),x=g(5942),D=g(1993),l=g(3150),w=g(4754),f=g(2951);function R(O){x.Writable.call(this);var I=f[O];if(!I)throw new Error("Unknown message digest");this._hashType=I.hash,this._hash=t(I.hash),this._tag=I.id,this._signType=I.sign}function h(O){x.Writable.call(this);var I=f[O];if(!I)throw new Error("Unknown message digest");this._hash=t(I.hash),this._tag=I.id,this._signType=I.sign}function S(O){return new R(O)}function y(O){return new h(O)}Object.keys(f).forEach(function(O){f[O].id=e.from(f[O].id,"hex"),f[O.toLowerCase()]=f[O]}),D(R,x.Writable),R.prototype._write=function(I,V,j){this._hash.update(I),j()},R.prototype.update=function(I,V){return this._hash.update("string"==typeof I?e.from(I,V):I),this},R.prototype.sign=function(I,V){this.end();var j=this._hash.digest(),Y=l(j,I,this._hashType,this._signType,this._tag);return V?Y.toString(V):Y},D(h,x.Writable),h.prototype._write=function(I,V,j){this._hash.update(I),j()},h.prototype.update=function(I,V){return this._hash.update("string"==typeof I?e.from(I,V):I),this},h.prototype.verify=function(I,V,j){var Y="string"==typeof V?e.from(V,j):V;this.end();var W=this._hash.digest();return w(Y,W,I,this._signType,this._tag)},Qe.exports={Sign:S,Verify:y,createSign:S,createVerify:y}},3150:(Qe,te,g)=>{"use strict";var e=g(7054).Buffer,t=g(6432),x=g(4105),D=g(518).ec,l=g(917),w=g(5667),f=g(4589);function I(Q,J,ie,ee){if((Q=e.from(Q.toArray())).length0&&ie.ishrn(ee),ie}function Y(Q,J,ie){var ee,fe;do{for(ee=e.alloc(0);8*ee.length{"use strict";var e=g(7054).Buffer,t=g(917),x=g(518).ec,D=g(5667),l=g(4589);function h(S,y){if(S.cmpn(0)<=0)throw new Error("invalid sig");if(S.cmp(y)>=0)throw new Error("invalid sig")}Qe.exports=function w(S,y,O,I,V){var j=D(O);if("ec"===j.type){if("ecdsa"!==I&&"ecdsa/rsa"!==I)throw new Error("wrong public key type");return function f(S,y,O){var I=l[O.data.algorithm.curve.join(".")];if(!I)throw new Error("unknown curve "+O.data.algorithm.curve.join("."));return new x(I).verify(y,S,O.data.subjectPrivateKey.data)}(S,y,j)}if("dsa"===j.type){if("dsa"!==I)throw new Error("wrong public key type");return function R(S,y,O){var I=O.data.p,V=O.data.q,j=O.data.g,Y=O.data.pub_key,W=D.signature.decode(S,"der"),Q=W.s,J=W.r;h(Q,V),h(J,V);var ie=t.mont(I),ee=Q.invm(V);return 0===j.toRed(ie).redPow(new t(y).mul(ee).mod(V)).fromRed().mul(Y.toRed(ie).redPow(J.mul(ee).mod(V)).fromRed()).mod(I).mod(V).cmp(J)}(S,y,j)}if("rsa"!==I&&"ecdsa/rsa"!==I)throw new Error("wrong public key type");y=e.concat([V,y]);for(var Y=j.modulus.byteLength(),W=[1],Q=0;y.length+W.length+2{Qe.exports=function(g,e){for(var t=Math.min(g.length,e.length),x=new Buffer(t),D=0;D{"use strict";var e=g(3981),t=g(2020),x="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;te.Buffer=f,te.SlowBuffer=function Q(me){return+me!=me&&(me=0),f.alloc(+me)},te.INSPECT_MAX_BYTES=50;var D=2147483647;function w(me){if(me>D)throw new RangeError('The value "'+me+'" is invalid for option "size"');var Ee=new Uint8Array(me);return Object.setPrototypeOf(Ee,f.prototype),Ee}function f(me,Ee,ue){if("number"==typeof me){if("string"==typeof Ee)throw new TypeError('The "string" argument must be of type string. Received type number');return y(me)}return R(me,Ee,ue)}function R(me,Ee,ue){if("string"==typeof me)return function O(me,Ee){if(("string"!=typeof Ee||""===Ee)&&(Ee="utf8"),!f.isEncoding(Ee))throw new TypeError("Unknown encoding: "+Ee);var ue=0|J(me,Ee),Be=w(ue),Ct=Be.write(me,Ee);return Ct!==ue&&(Be=Be.slice(0,Ct)),Be}(me,Ee);if(ArrayBuffer.isView(me))return function V(me){if(he(me,Uint8Array)){var Ee=new Uint8Array(me);return j(Ee.buffer,Ee.byteOffset,Ee.byteLength)}return I(me)}(me);if(null==me)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof me);if(he(me,ArrayBuffer)||me&&he(me.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(he(me,SharedArrayBuffer)||me&&he(me.buffer,SharedArrayBuffer)))return j(me,Ee,ue);if("number"==typeof me)throw new TypeError('The "value" argument must not be of type number. Received type number');var Be=me.valueOf&&me.valueOf();if(null!=Be&&Be!==me)return f.from(Be,Ee,ue);var Ct=function Y(me){if(f.isBuffer(me)){var Ee=0|W(me.length),ue=w(Ee);return 0===ue.length||me.copy(ue,0,0,Ee),ue}return void 0!==me.length?"number"!=typeof me.length||Ie(me.length)?w(0):I(me):"Buffer"===me.type&&Array.isArray(me.data)?I(me.data):void 0}(me);if(Ct)return Ct;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof me[Symbol.toPrimitive])return f.from(me[Symbol.toPrimitive]("string"),Ee,ue);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof me)}function h(me){if("number"!=typeof me)throw new TypeError('"size" argument must be of type number');if(me<0)throw new RangeError('The value "'+me+'" is invalid for option "size"')}function y(me){return h(me),w(me<0?0:0|W(me))}function I(me){for(var Ee=me.length<0?0:0|W(me.length),ue=w(Ee),Be=0;Be=D)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+D.toString(16)+" bytes");return 0|me}function J(me,Ee){if(f.isBuffer(me))return me.length;if(ArrayBuffer.isView(me)||he(me,ArrayBuffer))return me.byteLength;if("string"!=typeof me)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof me);var ue=me.length,Be=arguments.length>2&&!0===arguments[2];if(!Be&&0===ue)return 0;for(var Ct=!1;;)switch(Ee){case"ascii":case"latin1":case"binary":return ue;case"utf8":case"utf-8":return We(me).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*ue;case"hex":return ue>>>1;case"base64":return se(me).length;default:if(Ct)return Be?-1:We(me).length;Ee=(""+Ee).toLowerCase(),Ct=!0}}function ie(me,Ee,ue){var Be=!1;if((void 0===Ee||Ee<0)&&(Ee=0),Ee>this.length||((void 0===ue||ue>this.length)&&(ue=this.length),ue<=0)||(ue>>>=0)<=(Ee>>>=0))return"";for(me||(me="utf8");;)switch(me){case"hex":return _(this,Ee,ue);case"utf8":case"utf-8":return m(this,Ee,ue);case"ascii":return A(this,Ee,ue);case"latin1":case"binary":return k(this,Ee,ue);case"base64":return c(this,Ee,ue);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a(this,Ee,ue);default:if(Be)throw new TypeError("Unknown encoding: "+me);me=(me+"").toLowerCase(),Be=!0}}function ee(me,Ee,ue){var Be=me[Ee];me[Ee]=me[ue],me[ue]=Be}function fe(me,Ee,ue,Be,Ct){if(0===me.length)return-1;if("string"==typeof ue?(Be=ue,ue=0):ue>2147483647?ue=2147483647:ue<-2147483648&&(ue=-2147483648),Ie(ue=+ue)&&(ue=Ct?0:me.length-1),ue<0&&(ue=me.length+ue),ue>=me.length){if(Ct)return-1;ue=me.length-1}else if(ue<0){if(!Ct)return-1;ue=0}if("string"==typeof Ee&&(Ee=f.from(Ee,Be)),f.isBuffer(Ee))return 0===Ee.length?-1:ne(me,Ee,ue,Be,Ct);if("number"==typeof Ee)return Ee&=255,"function"==typeof Uint8Array.prototype.indexOf?Ct?Uint8Array.prototype.indexOf.call(me,Ee,ue):Uint8Array.prototype.lastIndexOf.call(me,Ee,ue):ne(me,[Ee],ue,Be,Ct);throw new TypeError("val must be string, number or Buffer")}function ne(me,Ee,ue,Be,Ct){var _e,ct=1,dt=me.length,Yt=Ee.length;if(void 0!==Be&&("ucs2"===(Be=String(Be).toLowerCase())||"ucs-2"===Be||"utf16le"===Be||"utf-16le"===Be)){if(me.length<2||Ee.length<2)return-1;ct=2,dt/=2,Yt/=2,ue/=2}function ve(vt,$e){return 1===ct?vt[$e]:vt.readUInt16BE($e*ct)}if(Ct){var we=-1;for(_e=ue;_edt&&(ue=dt-Yt),_e=ue;_e>=0;_e--){for(var Ue=!0,je=0;jeCt&&(Be=Ct):Be=Ct;var ct=Ee.length;Be>ct/2&&(Be=ct/2);for(var dt=0;dt>8,ct.push(ue%256),ct.push(Be);return ct}(Ee,me.length-ue),me,ue,Be)}function c(me,Ee,ue){return e.fromByteArray(0===Ee&&ue===me.length?me:me.slice(Ee,ue))}function m(me,Ee,ue){ue=Math.min(me.length,ue);for(var Be=[],Ct=Ee;Ct239?4:ct>223?3:ct>191?2:1;if(Ct+Yt<=ue)switch(Yt){case 1:ct<128&&(dt=ct);break;case 2:128==(192&(ve=me[Ct+1]))&&(Ue=(31&ct)<<6|63&ve)>127&&(dt=Ue);break;case 3:_e=me[Ct+2],128==(192&(ve=me[Ct+1]))&&128==(192&_e)&&(Ue=(15&ct)<<12|(63&ve)<<6|63&_e)>2047&&(Ue<55296||Ue>57343)&&(dt=Ue);break;case 4:_e=me[Ct+2],we=me[Ct+3],128==(192&(ve=me[Ct+1]))&&128==(192&_e)&&128==(192&we)&&(Ue=(15&ct)<<18|(63&ve)<<12|(63&_e)<<6|63&we)>65535&&Ue<1114112&&(dt=Ue)}null===dt?(dt=65533,Yt=1):dt>65535&&(Be.push((dt-=65536)>>>10&1023|55296),dt=56320|1023&dt),Be.push(dt),Ct+=Yt}return function C(me){var Ee=me.length;if(Ee<=d)return String.fromCharCode.apply(String,me);for(var ue="",Be=0;BeCt.length?f.from(dt).copy(Ct,ct):Uint8Array.prototype.set.call(Ct,dt,ct);else{if(!f.isBuffer(dt))throw new TypeError('"list" argument must be an Array of Buffers');dt.copy(Ct,ct)}ct+=dt.length}return Ct},f.byteLength=J,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var Ee=this.length;if(Ee%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ue=0;ueue&&(Ee+=" ... "),""},x&&(f.prototype[x]=f.prototype.inspect),f.prototype.compare=function(Ee,ue,Be,Ct,ct){if(he(Ee,Uint8Array)&&(Ee=f.from(Ee,Ee.offset,Ee.byteLength)),!f.isBuffer(Ee))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ee);if(void 0===ue&&(ue=0),void 0===Be&&(Be=Ee?Ee.length:0),void 0===Ct&&(Ct=0),void 0===ct&&(ct=this.length),ue<0||Be>Ee.length||Ct<0||ct>this.length)throw new RangeError("out of range index");if(Ct>=ct&&ue>=Be)return 0;if(Ct>=ct)return-1;if(ue>=Be)return 1;if(this===Ee)return 0;for(var dt=(ct>>>=0)-(Ct>>>=0),Yt=(Be>>>=0)-(ue>>>=0),ve=Math.min(dt,Yt),_e=this.slice(Ct,ct),we=Ee.slice(ue,Be),Ue=0;Ue>>=0,isFinite(Be)?(Be>>>=0,void 0===Ct&&(Ct="utf8")):(Ct=Be,Be=void 0)}var ct=this.length-ue;if((void 0===Be||Be>ct)&&(Be=ct),Ee.length>0&&(Be<0||ue<0)||ue>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ct||(Ct="utf8");for(var dt=!1;;)switch(Ct){case"hex":return Me(this,Ee,ue,Be);case"utf8":case"utf-8":return Ce(this,Ee,ue,Be);case"ascii":case"latin1":case"binary":return le(this,Ee,ue,Be);case"base64":return T(this,Ee,ue,Be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,Ee,ue,Be);default:if(dt)throw new TypeError("Unknown encoding: "+Ct);Ct=(""+Ct).toLowerCase(),dt=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var d=4096;function A(me,Ee,ue){var Be="";ue=Math.min(me.length,ue);for(var Ct=Ee;CtBe)&&(ue=Be);for(var Ct="",ct=Ee;ctue)throw new RangeError("Trying to access beyond buffer length")}function z(me,Ee,ue,Be,Ct,ct){if(!f.isBuffer(me))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ee>Ct||Eeme.length)throw new RangeError("Index out of range")}function N(me,Ee,ue,Be,Ct,ct){if(ue+Be>me.length)throw new RangeError("Index out of range");if(ue<0)throw new RangeError("Index out of range")}function q(me,Ee,ue,Be,Ct){return Ee=+Ee,ue>>>=0,Ct||N(me,0,ue,4),t.write(me,Ee,ue,Be,23,4),ue+4}function pe(me,Ee,ue,Be,Ct){return Ee=+Ee,ue>>>=0,Ct||N(me,0,ue,8),t.write(me,Ee,ue,Be,52,8),ue+8}f.prototype.slice=function(Ee,ue){var Be=this.length;(Ee=~~Ee)<0?(Ee+=Be)<0&&(Ee=0):Ee>Be&&(Ee=Be),(ue=void 0===ue?Be:~~ue)<0?(ue+=Be)<0&&(ue=0):ue>Be&&(ue=Be),ue>>=0,ue>>>=0,Be||b(Ee,ue,this.length);for(var Ct=this[Ee],ct=1,dt=0;++dt>>=0,ue>>>=0,Be||b(Ee,ue,this.length);for(var Ct=this[Ee+--ue],ct=1;ue>0&&(ct*=256);)Ct+=this[Ee+--ue]*ct;return Ct},f.prototype.readUint8=f.prototype.readUInt8=function(Ee,ue){return Ee>>>=0,ue||b(Ee,1,this.length),this[Ee]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,2,this.length),this[Ee]|this[Ee+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,2,this.length),this[Ee]<<8|this[Ee+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,4,this.length),(this[Ee]|this[Ee+1]<<8|this[Ee+2]<<16)+16777216*this[Ee+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,4,this.length),16777216*this[Ee]+(this[Ee+1]<<16|this[Ee+2]<<8|this[Ee+3])},f.prototype.readIntLE=function(Ee,ue,Be){Ee>>>=0,ue>>>=0,Be||b(Ee,ue,this.length);for(var Ct=this[Ee],ct=1,dt=0;++dt=(ct*=128)&&(Ct-=Math.pow(2,8*ue)),Ct},f.prototype.readIntBE=function(Ee,ue,Be){Ee>>>=0,ue>>>=0,Be||b(Ee,ue,this.length);for(var Ct=ue,ct=1,dt=this[Ee+--Ct];Ct>0&&(ct*=256);)dt+=this[Ee+--Ct]*ct;return dt>=(ct*=128)&&(dt-=Math.pow(2,8*ue)),dt},f.prototype.readInt8=function(Ee,ue){return Ee>>>=0,ue||b(Ee,1,this.length),128&this[Ee]?-1*(255-this[Ee]+1):this[Ee]},f.prototype.readInt16LE=function(Ee,ue){Ee>>>=0,ue||b(Ee,2,this.length);var Be=this[Ee]|this[Ee+1]<<8;return 32768&Be?4294901760|Be:Be},f.prototype.readInt16BE=function(Ee,ue){Ee>>>=0,ue||b(Ee,2,this.length);var Be=this[Ee+1]|this[Ee]<<8;return 32768&Be?4294901760|Be:Be},f.prototype.readInt32LE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,4,this.length),this[Ee]|this[Ee+1]<<8|this[Ee+2]<<16|this[Ee+3]<<24},f.prototype.readInt32BE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,4,this.length),this[Ee]<<24|this[Ee+1]<<16|this[Ee+2]<<8|this[Ee+3]},f.prototype.readFloatLE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,4,this.length),t.read(this,Ee,!0,23,4)},f.prototype.readFloatBE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,4,this.length),t.read(this,Ee,!1,23,4)},f.prototype.readDoubleLE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,8,this.length),t.read(this,Ee,!0,52,8)},f.prototype.readDoubleBE=function(Ee,ue){return Ee>>>=0,ue||b(Ee,8,this.length),t.read(this,Ee,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(Ee,ue,Be,Ct){Ee=+Ee,ue>>>=0,Be>>>=0,Ct||z(this,Ee,ue,Be,Math.pow(2,8*Be)-1,0);var dt=1,Yt=0;for(this[ue]=255&Ee;++Yt>>=0,Be>>>=0,Ct||z(this,Ee,ue,Be,Math.pow(2,8*Be)-1,0);var dt=Be-1,Yt=1;for(this[ue+dt]=255&Ee;--dt>=0&&(Yt*=256);)this[ue+dt]=Ee/Yt&255;return ue+Be},f.prototype.writeUint8=f.prototype.writeUInt8=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,1,255,0),this[ue]=255&Ee,ue+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,2,65535,0),this[ue]=255&Ee,this[ue+1]=Ee>>>8,ue+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,2,65535,0),this[ue]=Ee>>>8,this[ue+1]=255&Ee,ue+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,4,4294967295,0),this[ue+3]=Ee>>>24,this[ue+2]=Ee>>>16,this[ue+1]=Ee>>>8,this[ue]=255&Ee,ue+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,4,4294967295,0),this[ue]=Ee>>>24,this[ue+1]=Ee>>>16,this[ue+2]=Ee>>>8,this[ue+3]=255&Ee,ue+4},f.prototype.writeIntLE=function(Ee,ue,Be,Ct){if(Ee=+Ee,ue>>>=0,!Ct){var ct=Math.pow(2,8*Be-1);z(this,Ee,ue,Be,ct-1,-ct)}var dt=0,Yt=1,ve=0;for(this[ue]=255&Ee;++dt>>=0,!Ct){var ct=Math.pow(2,8*Be-1);z(this,Ee,ue,Be,ct-1,-ct)}var dt=Be-1,Yt=1,ve=0;for(this[ue+dt]=255&Ee;--dt>=0&&(Yt*=256);)Ee<0&&0===ve&&0!==this[ue+dt+1]&&(ve=1),this[ue+dt]=(Ee/Yt|0)-ve&255;return ue+Be},f.prototype.writeInt8=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,1,127,-128),Ee<0&&(Ee=255+Ee+1),this[ue]=255&Ee,ue+1},f.prototype.writeInt16LE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,2,32767,-32768),this[ue]=255&Ee,this[ue+1]=Ee>>>8,ue+2},f.prototype.writeInt16BE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,2,32767,-32768),this[ue]=Ee>>>8,this[ue+1]=255&Ee,ue+2},f.prototype.writeInt32LE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,4,2147483647,-2147483648),this[ue]=255&Ee,this[ue+1]=Ee>>>8,this[ue+2]=Ee>>>16,this[ue+3]=Ee>>>24,ue+4},f.prototype.writeInt32BE=function(Ee,ue,Be){return Ee=+Ee,ue>>>=0,Be||z(this,Ee,ue,4,2147483647,-2147483648),Ee<0&&(Ee=4294967295+Ee+1),this[ue]=Ee>>>24,this[ue+1]=Ee>>>16,this[ue+2]=Ee>>>8,this[ue+3]=255&Ee,ue+4},f.prototype.writeFloatLE=function(Ee,ue,Be){return q(this,Ee,ue,!0,Be)},f.prototype.writeFloatBE=function(Ee,ue,Be){return q(this,Ee,ue,!1,Be)},f.prototype.writeDoubleLE=function(Ee,ue,Be){return pe(this,Ee,ue,!0,Be)},f.prototype.writeDoubleBE=function(Ee,ue,Be){return pe(this,Ee,ue,!1,Be)},f.prototype.copy=function(Ee,ue,Be,Ct){if(!f.isBuffer(Ee))throw new TypeError("argument should be a Buffer");if(Be||(Be=0),!Ct&&0!==Ct&&(Ct=this.length),ue>=Ee.length&&(ue=Ee.length),ue||(ue=0),Ct>0&&Ct=this.length)throw new RangeError("Index out of range");if(Ct<0)throw new RangeError("sourceEnd out of bounds");Ct>this.length&&(Ct=this.length),Ee.length-ue>>=0,Be=void 0===Be?this.length:Be>>>0,Ee||(Ee=0),"number"==typeof Ee)for(dt=ue;dt55295&&ue<57344){if(!Ct){if(ue>56319){(Ee-=3)>-1&&ct.push(239,191,189);continue}if(dt+1===Be){(Ee-=3)>-1&&ct.push(239,191,189);continue}Ct=ue;continue}if(ue<56320){(Ee-=3)>-1&&ct.push(239,191,189),Ct=ue;continue}ue=65536+(Ct-55296<<10|ue-56320)}else Ct&&(Ee-=3)>-1&&ct.push(239,191,189);if(Ct=null,ue<128){if((Ee-=1)<0)break;ct.push(ue)}else if(ue<2048){if((Ee-=2)<0)break;ct.push(ue>>6|192,63&ue|128)}else if(ue<65536){if((Ee-=3)<0)break;ct.push(ue>>12|224,ue>>6&63|128,63&ue|128)}else{if(!(ue<1114112))throw new Error("Invalid code point");if((Ee-=4)<0)break;ct.push(ue>>18|240,ue>>12&63|128,ue>>6&63|128,63&ue|128)}}return ct}function se(me){return e.toByteArray(function Xe(me){if((me=(me=me.split("=")[0]).trim().replace(ze,"")).length<2)return"";for(;me.length%4!=0;)me+="=";return me}(me))}function ae(me,Ee,ue,Be){for(var Ct=0;Ct=Ee.length||Ct>=me.length);++Ct)Ee[Ct+ue]=me[Ct];return Ct}function he(me,Ee){return me instanceof Ee||null!=me&&null!=me.constructor&&null!=me.constructor.name&&me.constructor.name===Ee.name}function Ie(me){return me!=me}var st=function(){for(var me="0123456789abcdef",Ee=new Array(256),ue=0;ue<16;++ue)for(var Be=16*ue,Ct=0;Ct<16;++Ct)Ee[Be+Ct]=me[ue]+me[Ct];return Ee}()},3247:(Qe,te,g)=>{var e=g(7054).Buffer,t=g(7045).Transform,x=g(8454).I;function l(w){t.call(this),this.hashMode="string"==typeof w,this.hashMode?this[w]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}g(1993)(l,t),l.prototype.update=function(w,f,R){"string"==typeof w&&(w=e.from(w,f));var h=this._update(w);return this.hashMode?this:(R&&(h=this._toString(h,R)),h)},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(w,f,R){var h;try{this.hashMode?this._update(w):this.push(this._update(w))}catch(S){h=S}finally{R(h)}},l.prototype._flush=function(w){var f;try{this.push(this.__final())}catch(R){f=R}w(f)},l.prototype._finalOrDigest=function(w){var f=this.__final()||e.alloc(0);return w&&(f=this._toString(f,w,!0)),f},l.prototype._toString=function(w,f,R){if(this._decoder||(this._decoder=new x(f),this._encoding=f),this._encoding!==f)throw new Error("can't switch encodings");var h=this._decoder.write(w);return R&&(h+=this._decoder.end()),h},Qe.exports=l},4740:function(Qe){!function(te){"use strict";var g={bytesToHex:function(x){return function e(x){return x.map(function(D){return function t(x,D){return x.length>D?x:Array(D-x.length+1).join("0")+x}(D.toString(16),2)}).join("")}(x)},hexToBytes:function(x){if(x.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===x.indexOf("0x")&&(x=x.slice(2)),x.match(/../g).map(function(D){return parseInt(D,16)})}};Qe.exports?Qe.exports=g:te.convertHex=g}(this)},820:function(Qe){!function(te){"use strict";var g={bytesToString:function(e){return e.map(function(t){return String.fromCharCode(t)}).join("")},stringToBytes:function(e){return e.split("").map(function(t){return t.charCodeAt(0)})}};g.UTF8={bytesToString:function(e){return decodeURIComponent(escape(g.bytesToString(e)))},stringToBytes:function(e){return g.stringToBytes(unescape(encodeURIComponent(e)))}},Qe.exports?Qe.exports=g:te.convertString=g}(this)},7637:(Qe,te,g)=>{function j(Y){return Object.prototype.toString.call(Y)}te.isArray=function e(Y){return Array.isArray?Array.isArray(Y):"[object Array]"===j(Y)},te.isBoolean=function t(Y){return"boolean"==typeof Y},te.isNull=function x(Y){return null===Y},te.isNullOrUndefined=function D(Y){return null==Y},te.isNumber=function l(Y){return"number"==typeof Y},te.isString=function w(Y){return"string"==typeof Y},te.isSymbol=function f(Y){return"symbol"==typeof Y},te.isUndefined=function R(Y){return void 0===Y},te.isRegExp=function h(Y){return"[object RegExp]"===j(Y)},te.isObject=function S(Y){return"object"==typeof Y&&null!==Y},te.isDate=function y(Y){return"[object Date]"===j(Y)},te.isError=function O(Y){return"[object Error]"===j(Y)||Y instanceof Error},te.isFunction=function I(Y){return"function"==typeof Y},te.isPrimitive=function V(Y){return null===Y||"boolean"==typeof Y||"number"==typeof Y||"string"==typeof Y||"symbol"==typeof Y||typeof Y>"u"},te.isBuffer=g(3838).Buffer.isBuffer},7303:(Qe,te,g)=>{var e=g(518),t=g(9606);Qe.exports=function(f){return new D(f)};var x={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 D(w){this.curveType=x[w],this.curveType||(this.curveType={name:w}),this.curve=new e.ec(this.curveType.name),this.keys=void 0}function l(w,f,R){Array.isArray(w)||(w=w.toArray());var h=new Buffer(w);if(R&&h.length=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(T,n,c){var m=f(T,c);return c-1>=n&&(m|=f(T,c-1)<<4),m}function h(T,n,c,m){for(var d=0,C=Math.min(T.length,c),A=n;A=49?k-49+10:k>=17?k-17+10:k}return d}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,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),x(c===(0|c)&&c>=2&&c<=36);var d=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(d++,this.negative=1),d=0;d-=3)this.words[C]|=(A=n[d]|n[d-1]<<8|n[d-2]<<16)<>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);else if("le"===m)for(d=0,C=0;d>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var d=0;d=c;d-=2)k=R(n,c,d)<=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;else for(d=(n.length-c)%2==0?c+1:c;d=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var d=0,C=1;C<=67108863;C*=c)d++;d--,C=C/c|0;for(var A=n.length-m,k=A%d,_=Math.min(A,A-k)+m,a=0,b=m;b<_;b+=d)a=h(n,b,b+d,c),this.imuln(C),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==k){var z=1;for(a=h(n,b,n.length,c),b=0;b1&&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?""};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],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],O=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(T,n,c){c.negative=n.negative^T.negative;var m=T.length+n.length|0;c.length=m,m=m-1|0;var d=0|T.words[0],C=0|n.words[0],A=d*C,_=A/67108864|0;c.words[0]=67108863&A;for(var a=1;a>>26,z=67108863&_,N=Math.min(a,n.length-1),q=Math.max(0,a-T.length+1);q<=N;q++)b+=(A=(d=0|T.words[a-q|0])*(C=0|n.words[q])+z)/67108864|0,z=67108863&A;c.words[a]=0|z,_=0|b}return 0!==_?c.words[a]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var d=0,C=0,A=0;A>>24-d&16777215)||A!==this.length-1?S[6-_.length]+_+m:_+m,(d+=2)>=26&&(d-=26,A--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var a=y[n],b=O[n];m="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(b).toString(n);m=(z=z.idivn(b)).isZero()?N+m:S[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}x(!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&&x(!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 x(typeof w<"u"),this.toArrayLike(w,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var d=this.byteLength(),C=m||Math.max(1,d);x(d<=C,"byte array longer than desired length"),x(C>0,"Requested array length <= 0"),this.strip();var _,a,A="le"===c,k=new n(C),b=this.clone();if(A){for(a=0;!b.isZero();a++)_=b.andln(255),b.iushrn(8),k[a]=_;for(;a=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},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;cn.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 m=0;mn.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,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var d=0;dn.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){x("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var d=0;d0&&(this.words[d]=~this.words[d]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){x("number"==typeof n&&n>=0);var m=n/26|0,d=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<n.length?(m=this,d=n):(m=n,d=this);for(var C=0,A=0;A>>26;for(;0!==C&&A>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;An.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 d,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(d=this,C=n):(d=n,C=this);for(var A=0,k=0;k>26,this.words[k]=67108863&c;for(;0!==A&&k>26,this.words[k]=67108863&c;if(0===A&&k>>13,pe=0|d[1],ze=8191&pe,Xe=pe>>>13,We=0|d[2],oe=8191&We,X=We>>>13,se=0|d[3],ae=8191&se,he=se>>>13,Ie=0|d[4],st=8191&Ie,me=Ie>>>13,Ee=0|d[5],ue=8191&Ee,Be=Ee>>>13,Ct=0|d[6],ct=8191&Ct,dt=Ct>>>13,Yt=0|d[7],ve=8191&Yt,_e=Yt>>>13,we=0|d[8],Ue=8191&we,je=we>>>13,vt=0|d[9],$e=8191&vt,nt=vt>>>13,qt=0|C[0],Nt=8191&qt,yt=qt>>>13,jt=0|C[1],Je=8191&jt,et=jt>>>13,Ae=0|C[2],It=8191&Ae,Qt=Ae>>>13,Tt=0|C[3],xt=8191&Tt,Se=Tt>>>13,Te=0|C[4],ce=8191&Te,Z=Te>>>13,Re=0|C[5],Pe=8191&Re,pt=Re>>>13,Ke=0|C[6],Fe=8191&Ke,Ge=Ke>>>13,qe=0|C[7],at=8191&qe,Lt=qe>>>13,pi=0|C[8],$t=8191&pi,Kt=pi>>>13,Ui=0|C[9],ti=8191&Ui,fi=Ui>>>13;m.negative=n.negative^c.negative,m.length=19;var xn=(k+(_=Math.imul(N,Nt))|0)+((8191&(a=(a=Math.imul(N,yt))+Math.imul(q,Nt)|0))<<13)|0;k=((b=Math.imul(q,yt))+(a>>>13)|0)+(xn>>>26)|0,xn&=67108863,_=Math.imul(ze,Nt),a=(a=Math.imul(ze,yt))+Math.imul(Xe,Nt)|0,b=Math.imul(Xe,yt);var tn=(k+(_=_+Math.imul(N,Je)|0)|0)+((8191&(a=(a=a+Math.imul(N,et)|0)+Math.imul(q,Je)|0))<<13)|0;k=((b=b+Math.imul(q,et)|0)+(a>>>13)|0)+(tn>>>26)|0,tn&=67108863,_=Math.imul(oe,Nt),a=(a=Math.imul(oe,yt))+Math.imul(X,Nt)|0,b=Math.imul(X,yt),_=_+Math.imul(ze,Je)|0,a=(a=a+Math.imul(ze,et)|0)+Math.imul(Xe,Je)|0,b=b+Math.imul(Xe,et)|0;var Vi=(k+(_=_+Math.imul(N,It)|0)|0)+((8191&(a=(a=a+Math.imul(N,Qt)|0)+Math.imul(q,It)|0))<<13)|0;k=((b=b+Math.imul(q,Qt)|0)+(a>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,_=Math.imul(ae,Nt),a=(a=Math.imul(ae,yt))+Math.imul(he,Nt)|0,b=Math.imul(he,yt),_=_+Math.imul(oe,Je)|0,a=(a=a+Math.imul(oe,et)|0)+Math.imul(X,Je)|0,b=b+Math.imul(X,et)|0,_=_+Math.imul(ze,It)|0,a=(a=a+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0,b=b+Math.imul(Xe,Qt)|0;var Qi=(k+(_=_+Math.imul(N,xt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Se)|0)+Math.imul(q,xt)|0))<<13)|0;k=((b=b+Math.imul(q,Se)|0)+(a>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(st,Nt),a=(a=Math.imul(st,yt))+Math.imul(me,Nt)|0,b=Math.imul(me,yt),_=_+Math.imul(ae,Je)|0,a=(a=a+Math.imul(ae,et)|0)+Math.imul(he,Je)|0,b=b+Math.imul(he,et)|0,_=_+Math.imul(oe,It)|0,a=(a=a+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,b=b+Math.imul(X,Qt)|0,_=_+Math.imul(ze,xt)|0,a=(a=a+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0,b=b+Math.imul(Xe,Se)|0;var Xt=(k+(_=_+Math.imul(N,ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,Z)|0)+Math.imul(q,ce)|0))<<13)|0;k=((b=b+Math.imul(q,Z)|0)+(a>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(ue,Nt),a=(a=Math.imul(ue,yt))+Math.imul(Be,Nt)|0,b=Math.imul(Be,yt),_=_+Math.imul(st,Je)|0,a=(a=a+Math.imul(st,et)|0)+Math.imul(me,Je)|0,b=b+Math.imul(me,et)|0,_=_+Math.imul(ae,It)|0,a=(a=a+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,b=b+Math.imul(he,Qt)|0,_=_+Math.imul(oe,xt)|0,a=(a=a+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,b=b+Math.imul(X,Se)|0,_=_+Math.imul(ze,ce)|0,a=(a=a+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0,b=b+Math.imul(Xe,Z)|0;var St=(k+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(a=(a=a+Math.imul(N,pt)|0)+Math.imul(q,Pe)|0))<<13)|0;k=((b=b+Math.imul(q,pt)|0)+(a>>>13)|0)+(St>>>26)|0,St&=67108863,_=Math.imul(ct,Nt),a=(a=Math.imul(ct,yt))+Math.imul(dt,Nt)|0,b=Math.imul(dt,yt),_=_+Math.imul(ue,Je)|0,a=(a=a+Math.imul(ue,et)|0)+Math.imul(Be,Je)|0,b=b+Math.imul(Be,et)|0,_=_+Math.imul(st,It)|0,a=(a=a+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,b=b+Math.imul(me,Qt)|0,_=_+Math.imul(ae,xt)|0,a=(a=a+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,b=b+Math.imul(he,Se)|0,_=_+Math.imul(oe,ce)|0,a=(a=a+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,b=b+Math.imul(X,Z)|0,_=_+Math.imul(ze,Pe)|0,a=(a=a+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0,b=b+Math.imul(Xe,pt)|0;var tt=(k+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(a=(a=a+Math.imul(N,Ge)|0)+Math.imul(q,Fe)|0))<<13)|0;k=((b=b+Math.imul(q,Ge)|0)+(a>>>13)|0)+(tt>>>26)|0,tt&=67108863,_=Math.imul(ve,Nt),a=(a=Math.imul(ve,yt))+Math.imul(_e,Nt)|0,b=Math.imul(_e,yt),_=_+Math.imul(ct,Je)|0,a=(a=a+Math.imul(ct,et)|0)+Math.imul(dt,Je)|0,b=b+Math.imul(dt,et)|0,_=_+Math.imul(ue,It)|0,a=(a=a+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,b=b+Math.imul(Be,Qt)|0,_=_+Math.imul(st,xt)|0,a=(a=a+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,b=b+Math.imul(me,Se)|0,_=_+Math.imul(ae,ce)|0,a=(a=a+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,b=b+Math.imul(he,Z)|0,_=_+Math.imul(oe,Pe)|0,a=(a=a+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,b=b+Math.imul(X,pt)|0,_=_+Math.imul(ze,Fe)|0,a=(a=a+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0,b=b+Math.imul(Xe,Ge)|0;var ot=(k+(_=_+Math.imul(N,at)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(q,at)|0))<<13)|0;k=((b=b+Math.imul(q,Lt)|0)+(a>>>13)|0)+(ot>>>26)|0,ot&=67108863,_=Math.imul(Ue,Nt),a=(a=Math.imul(Ue,yt))+Math.imul(je,Nt)|0,b=Math.imul(je,yt),_=_+Math.imul(ve,Je)|0,a=(a=a+Math.imul(ve,et)|0)+Math.imul(_e,Je)|0,b=b+Math.imul(_e,et)|0,_=_+Math.imul(ct,It)|0,a=(a=a+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,b=b+Math.imul(dt,Qt)|0,_=_+Math.imul(ue,xt)|0,a=(a=a+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,b=b+Math.imul(Be,Se)|0,_=_+Math.imul(st,ce)|0,a=(a=a+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,b=b+Math.imul(me,Z)|0,_=_+Math.imul(ae,Pe)|0,a=(a=a+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,b=b+Math.imul(he,pt)|0,_=_+Math.imul(oe,Fe)|0,a=(a=a+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,b=b+Math.imul(X,Ge)|0,_=_+Math.imul(ze,at)|0,a=(a=a+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0,b=b+Math.imul(Xe,Lt)|0;var Mt=(k+(_=_+Math.imul(N,$t)|0)|0)+((8191&(a=(a=a+Math.imul(N,Kt)|0)+Math.imul(q,$t)|0))<<13)|0;k=((b=b+Math.imul(q,Kt)|0)+(a>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul($e,Nt),a=(a=Math.imul($e,yt))+Math.imul(nt,Nt)|0,b=Math.imul(nt,yt),_=_+Math.imul(Ue,Je)|0,a=(a=a+Math.imul(Ue,et)|0)+Math.imul(je,Je)|0,b=b+Math.imul(je,et)|0,_=_+Math.imul(ve,It)|0,a=(a=a+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,b=b+Math.imul(_e,Qt)|0,_=_+Math.imul(ct,xt)|0,a=(a=a+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,b=b+Math.imul(dt,Se)|0,_=_+Math.imul(ue,ce)|0,a=(a=a+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,b=b+Math.imul(Be,Z)|0,_=_+Math.imul(st,Pe)|0,a=(a=a+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,b=b+Math.imul(me,pt)|0,_=_+Math.imul(ae,Fe)|0,a=(a=a+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,b=b+Math.imul(he,Ge)|0,_=_+Math.imul(oe,at)|0,a=(a=a+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,b=b+Math.imul(X,Lt)|0,_=_+Math.imul(ze,$t)|0,a=(a=a+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0,b=b+Math.imul(Xe,Kt)|0;var Bt=(k+(_=_+Math.imul(N,ti)|0)|0)+((8191&(a=(a=a+Math.imul(N,fi)|0)+Math.imul(q,ti)|0))<<13)|0;k=((b=b+Math.imul(q,fi)|0)+(a>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,_=Math.imul($e,Je),a=(a=Math.imul($e,et))+Math.imul(nt,Je)|0,b=Math.imul(nt,et),_=_+Math.imul(Ue,It)|0,a=(a=a+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,b=b+Math.imul(je,Qt)|0,_=_+Math.imul(ve,xt)|0,a=(a=a+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,b=b+Math.imul(_e,Se)|0,_=_+Math.imul(ct,ce)|0,a=(a=a+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,b=b+Math.imul(dt,Z)|0,_=_+Math.imul(ue,Pe)|0,a=(a=a+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,b=b+Math.imul(Be,pt)|0,_=_+Math.imul(st,Fe)|0,a=(a=a+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,b=b+Math.imul(me,Ge)|0,_=_+Math.imul(ae,at)|0,a=(a=a+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,b=b+Math.imul(he,Lt)|0,_=_+Math.imul(oe,$t)|0,a=(a=a+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,b=b+Math.imul(X,Kt)|0;var Ci=(k+(_=_+Math.imul(ze,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;k=((b=b+Math.imul(Xe,fi)|0)+(a>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,_=Math.imul($e,It),a=(a=Math.imul($e,Qt))+Math.imul(nt,It)|0,b=Math.imul(nt,Qt),_=_+Math.imul(Ue,xt)|0,a=(a=a+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,b=b+Math.imul(je,Se)|0,_=_+Math.imul(ve,ce)|0,a=(a=a+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,b=b+Math.imul(_e,Z)|0,_=_+Math.imul(ct,Pe)|0,a=(a=a+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,b=b+Math.imul(dt,pt)|0,_=_+Math.imul(ue,Fe)|0,a=(a=a+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,b=b+Math.imul(Be,Ge)|0,_=_+Math.imul(st,at)|0,a=(a=a+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,b=b+Math.imul(me,Lt)|0,_=_+Math.imul(ae,$t)|0,a=(a=a+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,b=b+Math.imul(he,Kt)|0;var Ti=(k+(_=_+Math.imul(oe,ti)|0)|0)+((8191&(a=(a=a+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0))<<13)|0;k=((b=b+Math.imul(X,fi)|0)+(a>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,_=Math.imul($e,xt),a=(a=Math.imul($e,Se))+Math.imul(nt,xt)|0,b=Math.imul(nt,Se),_=_+Math.imul(Ue,ce)|0,a=(a=a+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,b=b+Math.imul(je,Z)|0,_=_+Math.imul(ve,Pe)|0,a=(a=a+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,b=b+Math.imul(_e,pt)|0,_=_+Math.imul(ct,Fe)|0,a=(a=a+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,b=b+Math.imul(dt,Ge)|0,_=_+Math.imul(ue,at)|0,a=(a=a+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,b=b+Math.imul(Be,Lt)|0,_=_+Math.imul(st,$t)|0,a=(a=a+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,b=b+Math.imul(me,Kt)|0;var Hi=(k+(_=_+Math.imul(ae,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0))<<13)|0;k=((b=b+Math.imul(he,fi)|0)+(a>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul($e,ce),a=(a=Math.imul($e,Z))+Math.imul(nt,ce)|0,b=Math.imul(nt,Z),_=_+Math.imul(Ue,Pe)|0,a=(a=a+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,b=b+Math.imul(je,pt)|0,_=_+Math.imul(ve,Fe)|0,a=(a=a+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,b=b+Math.imul(_e,Ge)|0,_=_+Math.imul(ct,at)|0,a=(a=a+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,b=b+Math.imul(dt,Lt)|0,_=_+Math.imul(ue,$t)|0,a=(a=a+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,b=b+Math.imul(Be,Kt)|0;var Zi=(k+(_=_+Math.imul(st,ti)|0)|0)+((8191&(a=(a=a+Math.imul(st,fi)|0)+Math.imul(me,ti)|0))<<13)|0;k=((b=b+Math.imul(me,fi)|0)+(a>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul($e,Pe),a=(a=Math.imul($e,pt))+Math.imul(nt,Pe)|0,b=Math.imul(nt,pt),_=_+Math.imul(Ue,Fe)|0,a=(a=a+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,b=b+Math.imul(je,Ge)|0,_=_+Math.imul(ve,at)|0,a=(a=a+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,b=b+Math.imul(_e,Lt)|0,_=_+Math.imul(ct,$t)|0,a=(a=a+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,b=b+Math.imul(dt,Kt)|0;var ln=(k+(_=_+Math.imul(ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0))<<13)|0;k=((b=b+Math.imul(Be,fi)|0)+(a>>>13)|0)+(ln>>>26)|0,ln&=67108863,_=Math.imul($e,Fe),a=(a=Math.imul($e,Ge))+Math.imul(nt,Fe)|0,b=Math.imul(nt,Ge),_=_+Math.imul(Ue,at)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,b=b+Math.imul(je,Lt)|0,_=_+Math.imul(ve,$t)|0,a=(a=a+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,b=b+Math.imul(_e,Kt)|0;var mn=(k+(_=_+Math.imul(ct,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0))<<13)|0;k=((b=b+Math.imul(dt,fi)|0)+(a>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul($e,at),a=(a=Math.imul($e,Lt))+Math.imul(nt,at)|0,b=Math.imul(nt,Lt),_=_+Math.imul(Ue,$t)|0,a=(a=a+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,b=b+Math.imul(je,Kt)|0;var Ut=(k+(_=_+Math.imul(ve,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0))<<13)|0;k=((b=b+Math.imul(_e,fi)|0)+(a>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul($e,$t),a=(a=Math.imul($e,Kt))+Math.imul(nt,$t)|0,b=Math.imul(nt,Kt);var lt=(k+(_=_+Math.imul(Ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0))<<13)|0;k=((b=b+Math.imul(je,fi)|0)+(a>>>13)|0)+(lt>>>26)|0,lt&=67108863;var re=(k+(_=Math.imul($e,ti))|0)+((8191&(a=(a=Math.imul($e,fi))+Math.imul(nt,ti)|0))<<13)|0;return k=((b=Math.imul(nt,fi))+(a>>>13)|0)+(re>>>26)|0,re&=67108863,A[0]=xn,A[1]=tn,A[2]=Vi,A[3]=Qi,A[4]=Xt,A[5]=St,A[6]=tt,A[7]=ot,A[8]=Mt,A[9]=Bt,A[10]=Ci,A[11]=Ti,A[12]=Hi,A[13]=Zi,A[14]=ln,A[15]=mn,A[16]=Ut,A[17]=lt,A[18]=re,0!==k&&(A[19]=k,m.length++),m};function W(T,n,c){return(new Q).mulp(T,n,c)}function Q(T,n){this.x=T,this.y=n}Math.imul||(j=V),l.prototype.mulTo=function(n,c){var m,d=this.length+n.length;return m=10===this.length&&10===n.length?j(this,n,c):d<63?V(this,n,c):d<1024?function Y(T,n,c){c.negative=n.negative^T.negative,c.length=T.length+n.length;for(var m=0,d=0,C=0;C>>26)|0)>>>26,A&=67108863}c.words[C]=k,m=A,A=d}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):W(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,d=0;d>=1;return d},Q.prototype.permute=function(n,c,m,d,C,A){for(var k=0;k>>=1)C++;return 1<>>=13),C>>>=13;for(A=2*c;A>=26,c+=d/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,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 I(T){for(var n=new Array(T.bitLength()),c=0;c>>d}return n}(n);if(0===c.length)return new l(1);for(var m=this,d=0;d=0);var C,c=n%26,m=(n-c)/26,d=67108863>>>26-c<<26-c;if(0!==c){var A=0;for(C=0;C>>26-c}A&&(this.words[C]=A,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C=0),d=c?(c-c%26)/26:0;var C=n%26,A=Math.min((n-C)/26,this.length),k=67108863^67108863>>>C<A)for(this.length-=A,a=0;a=0&&(0!==b||a>=d);a--){var z=0|this.words[a];this.words[a]=b<<26-C|z>>>C,b=z&k}return _&&0!==b&&(_.words[_.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return x(0===this.negative),this.iushrn(n,c,m)},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){x("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<=0);var c=n%26,m=(n-c)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>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(x("number"==typeof n),x(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>26)-(_/67108864|0),this.words[C+m]=67108863&A}for(;C>26,this.words[C+m]=67108863&A;if(0===k)return this.strip();for(x(-1===k),k=0,C=0;C>26,this.words[C]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,d=this.clone(),C=n,A=0|C.words[C.length-1];0!=(m=26-this._countBits(A))&&(C=C.ushln(m),d.iushln(m),A=0|C.words[C.length-1]);var a,_=d.length-C.length;if("mod"!==c){(a=new l(null)).length=_+1,a.words=new Array(a.length);for(var b=0;b=0;N--){var q=67108864*(0|d.words[C.length+N])+(0|d.words[C.length+N-1]);for(q=Math.min(q/A|0,67108863),d._ishlnsubmul(C,q,N);0!==d.negative;)q--,d.negative=0,d._ishlnsubmul(C,1,N),d.isZero()||(d.negative^=1);a&&(a.words[N]=q)}return a&&a.strip(),d.strip(),"div"!==c&&0!==m&&d.iushrn(m),{div:a||null,mod:d}},l.prototype.divmod=function(n,c,m){return x(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,c),"mod"!==c&&(d=A.div.neg()),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:d,mod:C}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),c),"mod"!==c&&(d=A.div.neg()),{div:d,mod:A.mod}):this.negative&n.negative?(A=this.neg().divmod(n.neg(),c),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:A.div,mod:C}):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 d,C,A},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 m=0!==c.div.negative?c.mod.isub(n):c.mod,d=n.ushrn(1),C=n.andln(1),A=m.cmp(d);return A<0||1===C&&0===A?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){x(n<=67108863);for(var c=(1<<26)%n,m=0,d=this.length-1;d>=0;d--)m=(c*m+(0|this.words[d]))%n;return m},l.prototype.idivn=function(n){x(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var d=(0|this.words[m])+67108864*c;this.words[m]=d/n|0,c=d%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){x(0===n.negative),x(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=new l(0),k=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var a=m.clone(),b=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;)(d.isOdd()||C.isOdd())&&(d.iadd(a),C.isub(b)),d.iushrn(1),C.iushrn(1);for(var q=0,pe=1;!(m.words[0]&pe)&&q<26;++q,pe<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(a),k.isub(b)),A.iushrn(1),k.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(A),C.isub(k)):(m.isub(c),A.isub(d),k.isub(C))}return{a:A,b:k,gcd:m.iushln(_)}},l.prototype._invmp=function(n){x(0===n.negative),x(!n.isZero());var z,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var k=0,_=1;!(c.words[0]&_)&&k<26;++k,_<<=1);if(k>0)for(c.iushrn(k);k-- >0;)d.isOdd()&&d.iadd(A),d.iushrn(1);for(var a=0,b=1;!(m.words[0]&b)&&a<26;++a,b<<=1);if(a>0)for(m.iushrn(a);a-- >0;)C.isOdd()&&C.iadd(A),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(C)):(m.isub(c),C.isub(d))}return(z=0===c.cmpn(1)?d:C).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(),m=n.clone();c.negative=0,m.negative=0;for(var d=0;c.isEven()&&m.isEven();d++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var A=c;c=m,m=A}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(d)},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){x("number"==typeof n);var c=n%26,m=(n-c)/26,d=1<>>26,this.words[A]=k&=67108863}return 0!==C&&(this.words[A]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),x(n<=67108863,"Number is too big");var d=0|this.words[0];m=d===n?0:dn.length)return 1;if(this.length=0;m--){var d=0|this.words[m],C=0|n.words[m];if(d!==C){dC&&(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 Ce(n)},l.prototype.toRed=function(n){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return x(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 x(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return x(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ie(T,n){this.name=T,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 ee(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Ce(T){if("string"==typeof T){var n=l._prime(T);this.m=n.p,this.prime=n}else x(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function le(T){Ce.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var d=m0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ie.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ie.prototype.imulK=function(n){return n.imul(this.k)},D(ee,ie),ee.prototype.split=function(n,c){for(var m=4194303,d=Math.min(n.length,9),C=0;C>>22,A=k}n.words[C-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ee.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m>>=26,n.words[m]=C,c=d}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ee;else if("p224"===n)c=new fe;else if("p192"===n)c=new ne;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Ce.prototype._verify1=function(n){x(0===n.negative,"red works only with positives"),x(n.red,"red works only with red numbers")},Ce.prototype._verify2=function(n,c){x(!(n.negative|c.negative),"red works only with positives"),x(n.red&&n.red===c.red,"red works only with red numbers")},Ce.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Ce.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Ce.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Ce.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Ce.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Ce.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Ce.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Ce.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Ce.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Ce.prototype.isqr=function(n){return this.imul(n,n.clone())},Ce.prototype.sqr=function(n){return this.mul(n,n)},Ce.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(x(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var d=this.m.subn(1),C=0;!d.isZero()&&0===d.andln(1);)C++,d.iushrn(1);x(!d.isZero());var A=new l(1).toRed(this),k=A.redNeg(),_=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,_).cmp(k);)a.redIAdd(k);for(var b=this.pow(a,d),z=this.pow(n,d.addn(1).iushrn(1)),N=this.pow(n,d),q=C;0!==N.cmp(A);){for(var pe=N,ze=0;0!==pe.cmp(A);ze++)pe=pe.redSqr();x(ze=0;C--){for(var b=c.words[C],z=a-1;z>=0;z--){var N=b>>z&1;A!==d[0]&&(A=this.sqr(A)),0!==N||0!==k?(k<<=1,k|=N,(4==++_||0===C&&0===z)&&(A=this.mul(A,d[k]),_=0,k=0)):_=0}a=26}return A},Ce.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Ce.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new le(n)},D(le,Ce),le.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},le.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},le.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},7211:(Qe,te,g)=>{"use strict";var e=g(1993),t=g(4725),x=g(6636),D=g(5443),l=g(3247);function w(f){l.call(this,"digest"),this._hash=f}e(w,l),w.prototype._update=function(f){this._hash.update(f)},w.prototype._final=function(){return this._hash.digest()},Qe.exports=function(R){return"md5"===(R=R.toLowerCase())?new t:"rmd160"===R||"ripemd160"===R?new x:new w(D(R))}},3407:(Qe,te,g)=>{var e=g(4725);Qe.exports=function(t){return(new e).update(t).digest()}},6432:(Qe,te,g)=>{"use strict";var e=g(1993),t=g(509),x=g(3247),D=g(7054).Buffer,l=g(3407),w=g(6636),f=g(5443),R=D.alloc(128);function h(S,y){x.call(this,"digest"),"string"==typeof y&&(y=D.from(y));var O="sha512"===S||"sha384"===S?128:64;this._alg=S,this._key=y,y.length>O?y=("rmd160"===S?new w:f(S)).update(y).digest():y.length{"use strict";var e=g(1993),t=g(7054).Buffer,x=g(3247),D=t.alloc(128),l=64;function w(f,R){x.call(this,"digest"),"string"==typeof R&&(R=t.from(R)),this._alg=f,this._key=R,R.length>l?R=f(R):R.length{"use strict";te.randomBytes=te.rng=te.pseudoRandomBytes=te.prng=g(3342),te.createHash=te.Hash=g(7211),te.createHmac=te.Hmac=g(6432);var e=g(9560),t=Object.keys(e),x=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(t);te.getHashes=function(){return x};var D=g(3397);te.pbkdf2=D.pbkdf2,te.pbkdf2Sync=D.pbkdf2Sync;var l=g(8862);te.Cipher=l.Cipher,te.createCipher=l.createCipher,te.Cipheriv=l.Cipheriv,te.createCipheriv=l.createCipheriv,te.Decipher=l.Decipher,te.createDecipher=l.createDecipher,te.Decipheriv=l.Decipheriv,te.createDecipheriv=l.createDecipheriv,te.getCiphers=l.getCiphers,te.listCiphers=l.listCiphers;var w=g(4377);te.DiffieHellmanGroup=w.DiffieHellmanGroup,te.createDiffieHellmanGroup=w.createDiffieHellmanGroup,te.getDiffieHellman=w.getDiffieHellman,te.createDiffieHellman=w.createDiffieHellman,te.DiffieHellman=w.DiffieHellman;var f=g(9143);te.createSign=f.createSign,te.Sign=f.Sign,te.createVerify=f.createVerify,te.Verify=f.Verify,te.createECDH=g(7303);var R=g(2965);te.publicEncrypt=R.publicEncrypt,te.privateEncrypt=R.privateEncrypt,te.publicDecrypt=R.publicDecrypt,te.privateDecrypt=R.privateDecrypt;var h=g(9682);te.randomFill=h.randomFill,te.randomFillSync=h.randomFillSync,te.createCredentials=function(){throw new Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/browserify/crypto-browserify")},te.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}},1549:(Qe,te,g)=>{"use strict";te.utils=g(5671),te.Cipher=g(219),te.DES=g(4166),te.CBC=g(8800),te.EDE=g(2122)},8800:(Qe,te,g)=>{"use strict";var e=g(9210),t=g(1993),x={};function D(w){e.equal(w.length,8,"Invalid IV length"),this.iv=new Array(8);for(var f=0;f{"use strict";var e=g(9210);function t(x){this.options=x,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==x.padding}Qe.exports=t,t.prototype._init=function(){},t.prototype.update=function(D){return 0===D.length?[]:"decrypt"===this.type?this._updateDecrypt(D):this._updateEncrypt(D)},t.prototype._buffer=function(D,l){for(var w=Math.min(this.buffer.length-this.bufferOff,D.length-l),f=0;f0;f--)l+=this._buffer(D,l),w+=this._flushBuffer(R,w);return l+=this._buffer(D,l),R},t.prototype.final=function(D){var l,w;return D&&(l=this.update(D)),w="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),l?l.concat(w):w},t.prototype._pad=function(D,l){if(0===l)return!1;for(;l{"use strict";var e=g(9210),t=g(1993),x=g(5671),D=g(219);function l(){this.tmp=new Array(2),this.keys=null}function w(R){D.call(this,R);var h=new l;this._desState=h,this.deriveKeys(h,R.key)}t(w,D),Qe.exports=w,w.create=function(h){return new w(h)};var f=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];w.prototype.deriveKeys=function(h,S){h.keys=new Array(32),e.equal(S.length,this.blockSize,"Invalid key length");var y=x.readUInt32BE(S,0),O=x.readUInt32BE(S,4);x.pc1(y,O,h.tmp,0),y=h.tmp[0],O=h.tmp[1];for(var I=0;I>>1];y=x.r28shl(y,V),O=x.r28shl(O,V),x.pc2(y,O,h.keys,I)}},w.prototype._update=function(h,S,y,O){var I=this._desState,V=x.readUInt32BE(h,S),j=x.readUInt32BE(h,S+4);x.ip(V,j,I.tmp,0),V=I.tmp[0],j=I.tmp[1],"encrypt"===this.type?this._encrypt(I,V,j,I.tmp,0):this._decrypt(I,V,j,I.tmp,0),j=I.tmp[1],x.writeUInt32BE(y,V=I.tmp[0],O),x.writeUInt32BE(y,j,O+4)},w.prototype._pad=function(h,S){if(!1===this.padding)return!1;for(var y=h.length-S,O=S;O>>0,V=ee}x.rip(j,V,O,I)},w.prototype._decrypt=function(h,S,y,O,I){for(var V=y,j=S,Y=h.keys.length-2;Y>=0;Y-=2){var W=h.keys[Y],Q=h.keys[Y+1];x.expand(V,h.tmp,0);var J=x.substitute(W^=h.tmp[0],Q^=h.tmp[1]),ee=V;V=(j^x.permute(J))>>>0,j=ee}x.rip(V,j,O,I)}},2122:(Qe,te,g)=>{"use strict";var e=g(9210),t=g(1993),x=g(219),D=g(4166);function l(f,R){e.equal(R.length,24,"Invalid key length");var h=R.slice(0,8),S=R.slice(8,16),y=R.slice(16,24);this.ciphers="encrypt"===f?[D.create({type:"encrypt",key:h}),D.create({type:"decrypt",key:S}),D.create({type:"encrypt",key:y})]:[D.create({type:"decrypt",key:y}),D.create({type:"encrypt",key:S}),D.create({type:"decrypt",key:h})]}function w(f){x.call(this,f);var R=new l(this.type,this.options.key);this._edeState=R}t(w,x),Qe.exports=w,w.create=function(R){return new w(R)},w.prototype._update=function(R,h,S,y){var O=this._edeState;O.ciphers[0]._update(R,h,S,y),O.ciphers[1]._update(S,y,S,y),O.ciphers[2]._update(S,y,S,y)},w.prototype._pad=D.prototype._pad,w.prototype._unpad=D.prototype._unpad},5671:(Qe,te)=>{"use strict";te.readUInt32BE=function(D,l){return(D[0+l]<<24|D[1+l]<<16|D[2+l]<<8|D[3+l])>>>0},te.writeUInt32BE=function(D,l,w){D[0+w]=l>>>24,D[1+w]=l>>>16&255,D[2+w]=l>>>8&255,D[3+w]=255&l},te.ip=function(D,l,w,f){for(var R=0,h=0,S=6;S>=0;S-=2){for(var y=0;y<=24;y+=8)R<<=1,R|=l>>>y+S&1;for(y=0;y<=24;y+=8)R<<=1,R|=D>>>y+S&1}for(S=6;S>=0;S-=2){for(y=1;y<=25;y+=8)h<<=1,h|=l>>>y+S&1;for(y=1;y<=25;y+=8)h<<=1,h|=D>>>y+S&1}w[f+0]=R>>>0,w[f+1]=h>>>0},te.rip=function(D,l,w,f){for(var R=0,h=0,S=0;S<4;S++)for(var y=24;y>=0;y-=8)R<<=1,R|=l>>>y+S&1,R<<=1,R|=D>>>y+S&1;for(S=4;S<8;S++)for(y=24;y>=0;y-=8)h<<=1,h|=l>>>y+S&1,h<<=1,h|=D>>>y+S&1;w[f+0]=R>>>0,w[f+1]=h>>>0},te.pc1=function(D,l,w,f){for(var R=0,h=0,S=7;S>=5;S--){for(var y=0;y<=24;y+=8)R<<=1,R|=l>>y+S&1;for(y=0;y<=24;y+=8)R<<=1,R|=D>>y+S&1}for(y=0;y<=24;y+=8)R<<=1,R|=l>>y+S&1;for(S=1;S<=3;S++){for(y=0;y<=24;y+=8)h<<=1,h|=l>>y+S&1;for(y=0;y<=24;y+=8)h<<=1,h|=D>>y+S&1}for(y=0;y<=24;y+=8)h<<=1,h|=D>>y+S&1;w[f+0]=R>>>0,w[f+1]=h>>>0},te.r28shl=function(D,l){return D<>>28-l};var g=[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];te.pc2=function(D,l,w,f){for(var R=0,h=0,S=g.length>>>1,y=0;y>>g[y]&1;for(y=S;y>>g[y]&1;w[f+0]=R>>>0,w[f+1]=h>>>0},te.expand=function(D,l,w){var f=0,R=0;f=(1&D)<<5|D>>>27;for(var h=23;h>=15;h-=4)f<<=6,f|=D>>>h&63;for(h=11;h>=3;h-=4)R|=D>>>h&63,R<<=6;R|=(31&D)<<1|D>>>31,l[w+0]=f>>>0,l[w+1]=R>>>0};var e=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];te.substitute=function(D,l){for(var w=0,f=0;f<4;f++)w<<=4,w|=e[64*f+(D>>>18-6*f&63)];for(f=0;f<4;f++)w<<=4,w|=e[256+64*f+(l>>>18-6*f&63)];return w>>>0};var t=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];te.permute=function(D){for(var l=0,w=0;w>>t[w]&1;return l>>>0},te.padSplit=function(D,l,w){for(var f=D.toString(2);f.length{var e=g(2727),t=g(3241),x=g(4593),l={binary:!0,hex:!0,base64:!0};te.DiffieHellmanGroup=te.createDiffieHellmanGroup=te.getDiffieHellman=function D(f){var R=new Buffer(t[f].prime,"hex"),h=new Buffer(t[f].gen,"hex");return new x(R,h)},te.createDiffieHellman=te.DiffieHellman=function w(f,R,h,S){return Buffer.isBuffer(R)||void 0===l[R]?w(f,"binary",R,h):(R=R||"binary",S=S||"binary",h=h||new Buffer([2]),Buffer.isBuffer(h)||(h=new Buffer(h,S)),"number"==typeof f?new x(e(f,h),h,!0):(Buffer.isBuffer(f)||(f=new Buffer(f,R)),new x(f,h,!0)))}},4593:(Qe,te,g)=>{var e=g(8280),x=new(g(3459)),D=new e(24),l=new e(11),w=new e(10),f=new e(3),R=new e(7),h=g(2727),S=g(3342);function y(W,Q){return Q=Q||"utf8",Buffer.isBuffer(W)||(W=new Buffer(W,Q)),this._pub=new e(W),this}function O(W,Q){return Q=Q||"utf8",Buffer.isBuffer(W)||(W=new Buffer(W,Q)),this._priv=new e(W),this}Qe.exports=j;var I={};function j(W,Q,J){this.setGenerator(Q),this.__prime=new e(W),this._prime=e.mont(this.__prime),this._primeLen=W.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,J?(this.setPublicKey=y,this.setPrivateKey=O):this._primeCode=8}function Y(W,Q){var J=new Buffer(W.toArray());return Q?J.toString(Q):J}Object.defineProperty(j.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function V(W,Q){var J=Q.toString("hex"),ie=[J,W.toString(16)].join("_");if(ie in I)return I[ie];var fe,ee=0;if(W.isEven()||!h.simpleSieve||!h.fermatTest(W)||!x.test(W))return ee+=1,I[ie]=ee+="02"===J||"05"===J?8:4,ee;switch(x.test(W.shrn(1))||(ee+=2),J){case"02":W.mod(D).cmp(l)&&(ee+=8);break;case"05":(fe=W.mod(w)).cmp(f)&&fe.cmp(R)&&(ee+=8);break;default:ee+=4}return I[ie]=ee,ee}(this.__prime,this.__gen)),this._primeCode}}),j.prototype.generateKeys=function(){return this._priv||(this._priv=new e(S(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},j.prototype.computeSecret=function(W){var Q=(W=(W=new e(W)).toRed(this._prime)).redPow(this._priv).fromRed(),J=new Buffer(Q.toArray()),ie=this.getPrime();if(J.length{var e=g(3342);Qe.exports=ee,ee.simpleSieve=J,ee.fermatTest=ie;var t=g(8280),x=new t(24),l=new(g(3459)),w=new t(1),f=new t(2),R=new t(5),y=(new t(16),new t(8),new t(10)),O=new t(3),V=(new t(7),new t(11)),j=new t(4),W=(new t(12),null);function J(fe){for(var ne=function Q(){if(null!==W)return W;var ne=[];ne[0]=2;for(var Me=1,Ce=3;Ce<1048576;Ce+=2){for(var le=Math.ceil(Math.sqrt(Ce)),T=0;Tfe;)Me.ishrn(1);if(Me.isEven()&&Me.iadd(w),Me.testn(1)||Me.iadd(f),ne.cmp(f)){if(!ne.cmp(R))for(;Me.mod(y).cmp(O);)Me.iadd(j)}else for(;Me.mod(x).cmp(V);)Me.iadd(j);if(J(Ce=Me.shrn(1))&&J(Me)&&ie(Ce)&&ie(Me)&&l.test(Ce)&&l.test(Me))return Me}}},8280:function(Qe,te,g){!function(e,t){"use strict";function x(T,n){if(!T)throw new Error(n||"Assertion failed")}function D(T,n){T.super_=n;var c=function(){};c.prototype=n.prototype,T.prototype=new c,T.prototype.constructor=T}function l(T,n,c){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(T||0,n||10,c||"be"))}var w;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{w=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:g(6089).Buffer}catch{}function f(T,n){var c=T.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(T,n,c){var m=f(T,c);return c-1>=n&&(m|=f(T,c-1)<<4),m}function h(T,n,c,m){for(var d=0,C=Math.min(T.length,c),A=n;A=49?k-49+10:k>=17?k-17+10:k}return d}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,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),x(c===(0|c)&&c>=2&&c<=36);var d=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(d++,this.negative=1),d=0;d-=3)this.words[C]|=(A=n[d]|n[d-1]<<8|n[d-2]<<16)<>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);else if("le"===m)for(d=0,C=0;d>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var d=0;d=c;d-=2)k=R(n,c,d)<=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;else for(d=(n.length-c)%2==0?c+1:c;d=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var d=0,C=1;C<=67108863;C*=c)d++;d--,C=C/c|0;for(var A=n.length-m,k=A%d,_=Math.min(A,A-k)+m,a=0,b=m;b<_;b+=d)a=h(n,b,b+d,c),this.imuln(C),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==k){var z=1;for(a=h(n,b,n.length,c),b=0;b1&&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?""};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],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],O=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(T,n,c){c.negative=n.negative^T.negative;var m=T.length+n.length|0;c.length=m,m=m-1|0;var d=0|T.words[0],C=0|n.words[0],A=d*C,_=A/67108864|0;c.words[0]=67108863&A;for(var a=1;a>>26,z=67108863&_,N=Math.min(a,n.length-1),q=Math.max(0,a-T.length+1);q<=N;q++)b+=(A=(d=0|T.words[a-q|0])*(C=0|n.words[q])+z)/67108864|0,z=67108863&A;c.words[a]=0|z,_=0|b}return 0!==_?c.words[a]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var d=0,C=0,A=0;A>>24-d&16777215)||A!==this.length-1?S[6-_.length]+_+m:_+m,(d+=2)>=26&&(d-=26,A--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var a=y[n],b=O[n];m="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(b).toString(n);m=(z=z.idivn(b)).isZero()?N+m:S[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}x(!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&&x(!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 x(typeof w<"u"),this.toArrayLike(w,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var d=this.byteLength(),C=m||Math.max(1,d);x(d<=C,"byte array longer than desired length"),x(C>0,"Requested array length <= 0"),this.strip();var _,a,A="le"===c,k=new n(C),b=this.clone();if(A){for(a=0;!b.isZero();a++)_=b.andln(255),b.iushrn(8),k[a]=_;for(;a=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},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;cn.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 m=0;mn.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,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var d=0;dn.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){x("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var d=0;d0&&(this.words[d]=~this.words[d]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){x("number"==typeof n&&n>=0);var m=n/26|0,d=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<n.length?(m=this,d=n):(m=n,d=this);for(var C=0,A=0;A>>26;for(;0!==C&&A>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;An.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 d,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(d=this,C=n):(d=n,C=this);for(var A=0,k=0;k>26,this.words[k]=67108863&c;for(;0!==A&&k>26,this.words[k]=67108863&c;if(0===A&&k>>13,pe=0|d[1],ze=8191&pe,Xe=pe>>>13,We=0|d[2],oe=8191&We,X=We>>>13,se=0|d[3],ae=8191&se,he=se>>>13,Ie=0|d[4],st=8191&Ie,me=Ie>>>13,Ee=0|d[5],ue=8191&Ee,Be=Ee>>>13,Ct=0|d[6],ct=8191&Ct,dt=Ct>>>13,Yt=0|d[7],ve=8191&Yt,_e=Yt>>>13,we=0|d[8],Ue=8191&we,je=we>>>13,vt=0|d[9],$e=8191&vt,nt=vt>>>13,qt=0|C[0],Nt=8191&qt,yt=qt>>>13,jt=0|C[1],Je=8191&jt,et=jt>>>13,Ae=0|C[2],It=8191&Ae,Qt=Ae>>>13,Tt=0|C[3],xt=8191&Tt,Se=Tt>>>13,Te=0|C[4],ce=8191&Te,Z=Te>>>13,Re=0|C[5],Pe=8191&Re,pt=Re>>>13,Ke=0|C[6],Fe=8191&Ke,Ge=Ke>>>13,qe=0|C[7],at=8191&qe,Lt=qe>>>13,pi=0|C[8],$t=8191&pi,Kt=pi>>>13,Ui=0|C[9],ti=8191&Ui,fi=Ui>>>13;m.negative=n.negative^c.negative,m.length=19;var xn=(k+(_=Math.imul(N,Nt))|0)+((8191&(a=(a=Math.imul(N,yt))+Math.imul(q,Nt)|0))<<13)|0;k=((b=Math.imul(q,yt))+(a>>>13)|0)+(xn>>>26)|0,xn&=67108863,_=Math.imul(ze,Nt),a=(a=Math.imul(ze,yt))+Math.imul(Xe,Nt)|0,b=Math.imul(Xe,yt);var tn=(k+(_=_+Math.imul(N,Je)|0)|0)+((8191&(a=(a=a+Math.imul(N,et)|0)+Math.imul(q,Je)|0))<<13)|0;k=((b=b+Math.imul(q,et)|0)+(a>>>13)|0)+(tn>>>26)|0,tn&=67108863,_=Math.imul(oe,Nt),a=(a=Math.imul(oe,yt))+Math.imul(X,Nt)|0,b=Math.imul(X,yt),_=_+Math.imul(ze,Je)|0,a=(a=a+Math.imul(ze,et)|0)+Math.imul(Xe,Je)|0,b=b+Math.imul(Xe,et)|0;var Vi=(k+(_=_+Math.imul(N,It)|0)|0)+((8191&(a=(a=a+Math.imul(N,Qt)|0)+Math.imul(q,It)|0))<<13)|0;k=((b=b+Math.imul(q,Qt)|0)+(a>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,_=Math.imul(ae,Nt),a=(a=Math.imul(ae,yt))+Math.imul(he,Nt)|0,b=Math.imul(he,yt),_=_+Math.imul(oe,Je)|0,a=(a=a+Math.imul(oe,et)|0)+Math.imul(X,Je)|0,b=b+Math.imul(X,et)|0,_=_+Math.imul(ze,It)|0,a=(a=a+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0,b=b+Math.imul(Xe,Qt)|0;var Qi=(k+(_=_+Math.imul(N,xt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Se)|0)+Math.imul(q,xt)|0))<<13)|0;k=((b=b+Math.imul(q,Se)|0)+(a>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(st,Nt),a=(a=Math.imul(st,yt))+Math.imul(me,Nt)|0,b=Math.imul(me,yt),_=_+Math.imul(ae,Je)|0,a=(a=a+Math.imul(ae,et)|0)+Math.imul(he,Je)|0,b=b+Math.imul(he,et)|0,_=_+Math.imul(oe,It)|0,a=(a=a+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,b=b+Math.imul(X,Qt)|0,_=_+Math.imul(ze,xt)|0,a=(a=a+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0,b=b+Math.imul(Xe,Se)|0;var Xt=(k+(_=_+Math.imul(N,ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,Z)|0)+Math.imul(q,ce)|0))<<13)|0;k=((b=b+Math.imul(q,Z)|0)+(a>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(ue,Nt),a=(a=Math.imul(ue,yt))+Math.imul(Be,Nt)|0,b=Math.imul(Be,yt),_=_+Math.imul(st,Je)|0,a=(a=a+Math.imul(st,et)|0)+Math.imul(me,Je)|0,b=b+Math.imul(me,et)|0,_=_+Math.imul(ae,It)|0,a=(a=a+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,b=b+Math.imul(he,Qt)|0,_=_+Math.imul(oe,xt)|0,a=(a=a+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,b=b+Math.imul(X,Se)|0,_=_+Math.imul(ze,ce)|0,a=(a=a+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0,b=b+Math.imul(Xe,Z)|0;var St=(k+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(a=(a=a+Math.imul(N,pt)|0)+Math.imul(q,Pe)|0))<<13)|0;k=((b=b+Math.imul(q,pt)|0)+(a>>>13)|0)+(St>>>26)|0,St&=67108863,_=Math.imul(ct,Nt),a=(a=Math.imul(ct,yt))+Math.imul(dt,Nt)|0,b=Math.imul(dt,yt),_=_+Math.imul(ue,Je)|0,a=(a=a+Math.imul(ue,et)|0)+Math.imul(Be,Je)|0,b=b+Math.imul(Be,et)|0,_=_+Math.imul(st,It)|0,a=(a=a+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,b=b+Math.imul(me,Qt)|0,_=_+Math.imul(ae,xt)|0,a=(a=a+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,b=b+Math.imul(he,Se)|0,_=_+Math.imul(oe,ce)|0,a=(a=a+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,b=b+Math.imul(X,Z)|0,_=_+Math.imul(ze,Pe)|0,a=(a=a+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0,b=b+Math.imul(Xe,pt)|0;var tt=(k+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(a=(a=a+Math.imul(N,Ge)|0)+Math.imul(q,Fe)|0))<<13)|0;k=((b=b+Math.imul(q,Ge)|0)+(a>>>13)|0)+(tt>>>26)|0,tt&=67108863,_=Math.imul(ve,Nt),a=(a=Math.imul(ve,yt))+Math.imul(_e,Nt)|0,b=Math.imul(_e,yt),_=_+Math.imul(ct,Je)|0,a=(a=a+Math.imul(ct,et)|0)+Math.imul(dt,Je)|0,b=b+Math.imul(dt,et)|0,_=_+Math.imul(ue,It)|0,a=(a=a+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,b=b+Math.imul(Be,Qt)|0,_=_+Math.imul(st,xt)|0,a=(a=a+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,b=b+Math.imul(me,Se)|0,_=_+Math.imul(ae,ce)|0,a=(a=a+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,b=b+Math.imul(he,Z)|0,_=_+Math.imul(oe,Pe)|0,a=(a=a+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,b=b+Math.imul(X,pt)|0,_=_+Math.imul(ze,Fe)|0,a=(a=a+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0,b=b+Math.imul(Xe,Ge)|0;var ot=(k+(_=_+Math.imul(N,at)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(q,at)|0))<<13)|0;k=((b=b+Math.imul(q,Lt)|0)+(a>>>13)|0)+(ot>>>26)|0,ot&=67108863,_=Math.imul(Ue,Nt),a=(a=Math.imul(Ue,yt))+Math.imul(je,Nt)|0,b=Math.imul(je,yt),_=_+Math.imul(ve,Je)|0,a=(a=a+Math.imul(ve,et)|0)+Math.imul(_e,Je)|0,b=b+Math.imul(_e,et)|0,_=_+Math.imul(ct,It)|0,a=(a=a+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,b=b+Math.imul(dt,Qt)|0,_=_+Math.imul(ue,xt)|0,a=(a=a+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,b=b+Math.imul(Be,Se)|0,_=_+Math.imul(st,ce)|0,a=(a=a+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,b=b+Math.imul(me,Z)|0,_=_+Math.imul(ae,Pe)|0,a=(a=a+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,b=b+Math.imul(he,pt)|0,_=_+Math.imul(oe,Fe)|0,a=(a=a+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,b=b+Math.imul(X,Ge)|0,_=_+Math.imul(ze,at)|0,a=(a=a+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0,b=b+Math.imul(Xe,Lt)|0;var Mt=(k+(_=_+Math.imul(N,$t)|0)|0)+((8191&(a=(a=a+Math.imul(N,Kt)|0)+Math.imul(q,$t)|0))<<13)|0;k=((b=b+Math.imul(q,Kt)|0)+(a>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul($e,Nt),a=(a=Math.imul($e,yt))+Math.imul(nt,Nt)|0,b=Math.imul(nt,yt),_=_+Math.imul(Ue,Je)|0,a=(a=a+Math.imul(Ue,et)|0)+Math.imul(je,Je)|0,b=b+Math.imul(je,et)|0,_=_+Math.imul(ve,It)|0,a=(a=a+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,b=b+Math.imul(_e,Qt)|0,_=_+Math.imul(ct,xt)|0,a=(a=a+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,b=b+Math.imul(dt,Se)|0,_=_+Math.imul(ue,ce)|0,a=(a=a+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,b=b+Math.imul(Be,Z)|0,_=_+Math.imul(st,Pe)|0,a=(a=a+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,b=b+Math.imul(me,pt)|0,_=_+Math.imul(ae,Fe)|0,a=(a=a+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,b=b+Math.imul(he,Ge)|0,_=_+Math.imul(oe,at)|0,a=(a=a+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,b=b+Math.imul(X,Lt)|0,_=_+Math.imul(ze,$t)|0,a=(a=a+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0,b=b+Math.imul(Xe,Kt)|0;var Bt=(k+(_=_+Math.imul(N,ti)|0)|0)+((8191&(a=(a=a+Math.imul(N,fi)|0)+Math.imul(q,ti)|0))<<13)|0;k=((b=b+Math.imul(q,fi)|0)+(a>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,_=Math.imul($e,Je),a=(a=Math.imul($e,et))+Math.imul(nt,Je)|0,b=Math.imul(nt,et),_=_+Math.imul(Ue,It)|0,a=(a=a+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,b=b+Math.imul(je,Qt)|0,_=_+Math.imul(ve,xt)|0,a=(a=a+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,b=b+Math.imul(_e,Se)|0,_=_+Math.imul(ct,ce)|0,a=(a=a+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,b=b+Math.imul(dt,Z)|0,_=_+Math.imul(ue,Pe)|0,a=(a=a+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,b=b+Math.imul(Be,pt)|0,_=_+Math.imul(st,Fe)|0,a=(a=a+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,b=b+Math.imul(me,Ge)|0,_=_+Math.imul(ae,at)|0,a=(a=a+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,b=b+Math.imul(he,Lt)|0,_=_+Math.imul(oe,$t)|0,a=(a=a+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,b=b+Math.imul(X,Kt)|0;var Ci=(k+(_=_+Math.imul(ze,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;k=((b=b+Math.imul(Xe,fi)|0)+(a>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,_=Math.imul($e,It),a=(a=Math.imul($e,Qt))+Math.imul(nt,It)|0,b=Math.imul(nt,Qt),_=_+Math.imul(Ue,xt)|0,a=(a=a+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,b=b+Math.imul(je,Se)|0,_=_+Math.imul(ve,ce)|0,a=(a=a+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,b=b+Math.imul(_e,Z)|0,_=_+Math.imul(ct,Pe)|0,a=(a=a+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,b=b+Math.imul(dt,pt)|0,_=_+Math.imul(ue,Fe)|0,a=(a=a+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,b=b+Math.imul(Be,Ge)|0,_=_+Math.imul(st,at)|0,a=(a=a+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,b=b+Math.imul(me,Lt)|0,_=_+Math.imul(ae,$t)|0,a=(a=a+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,b=b+Math.imul(he,Kt)|0;var Ti=(k+(_=_+Math.imul(oe,ti)|0)|0)+((8191&(a=(a=a+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0))<<13)|0;k=((b=b+Math.imul(X,fi)|0)+(a>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,_=Math.imul($e,xt),a=(a=Math.imul($e,Se))+Math.imul(nt,xt)|0,b=Math.imul(nt,Se),_=_+Math.imul(Ue,ce)|0,a=(a=a+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,b=b+Math.imul(je,Z)|0,_=_+Math.imul(ve,Pe)|0,a=(a=a+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,b=b+Math.imul(_e,pt)|0,_=_+Math.imul(ct,Fe)|0,a=(a=a+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,b=b+Math.imul(dt,Ge)|0,_=_+Math.imul(ue,at)|0,a=(a=a+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,b=b+Math.imul(Be,Lt)|0,_=_+Math.imul(st,$t)|0,a=(a=a+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,b=b+Math.imul(me,Kt)|0;var Hi=(k+(_=_+Math.imul(ae,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0))<<13)|0;k=((b=b+Math.imul(he,fi)|0)+(a>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul($e,ce),a=(a=Math.imul($e,Z))+Math.imul(nt,ce)|0,b=Math.imul(nt,Z),_=_+Math.imul(Ue,Pe)|0,a=(a=a+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,b=b+Math.imul(je,pt)|0,_=_+Math.imul(ve,Fe)|0,a=(a=a+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,b=b+Math.imul(_e,Ge)|0,_=_+Math.imul(ct,at)|0,a=(a=a+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,b=b+Math.imul(dt,Lt)|0,_=_+Math.imul(ue,$t)|0,a=(a=a+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,b=b+Math.imul(Be,Kt)|0;var Zi=(k+(_=_+Math.imul(st,ti)|0)|0)+((8191&(a=(a=a+Math.imul(st,fi)|0)+Math.imul(me,ti)|0))<<13)|0;k=((b=b+Math.imul(me,fi)|0)+(a>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul($e,Pe),a=(a=Math.imul($e,pt))+Math.imul(nt,Pe)|0,b=Math.imul(nt,pt),_=_+Math.imul(Ue,Fe)|0,a=(a=a+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,b=b+Math.imul(je,Ge)|0,_=_+Math.imul(ve,at)|0,a=(a=a+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,b=b+Math.imul(_e,Lt)|0,_=_+Math.imul(ct,$t)|0,a=(a=a+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,b=b+Math.imul(dt,Kt)|0;var ln=(k+(_=_+Math.imul(ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0))<<13)|0;k=((b=b+Math.imul(Be,fi)|0)+(a>>>13)|0)+(ln>>>26)|0,ln&=67108863,_=Math.imul($e,Fe),a=(a=Math.imul($e,Ge))+Math.imul(nt,Fe)|0,b=Math.imul(nt,Ge),_=_+Math.imul(Ue,at)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,b=b+Math.imul(je,Lt)|0,_=_+Math.imul(ve,$t)|0,a=(a=a+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,b=b+Math.imul(_e,Kt)|0;var mn=(k+(_=_+Math.imul(ct,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0))<<13)|0;k=((b=b+Math.imul(dt,fi)|0)+(a>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul($e,at),a=(a=Math.imul($e,Lt))+Math.imul(nt,at)|0,b=Math.imul(nt,Lt),_=_+Math.imul(Ue,$t)|0,a=(a=a+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,b=b+Math.imul(je,Kt)|0;var Ut=(k+(_=_+Math.imul(ve,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0))<<13)|0;k=((b=b+Math.imul(_e,fi)|0)+(a>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul($e,$t),a=(a=Math.imul($e,Kt))+Math.imul(nt,$t)|0,b=Math.imul(nt,Kt);var lt=(k+(_=_+Math.imul(Ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0))<<13)|0;k=((b=b+Math.imul(je,fi)|0)+(a>>>13)|0)+(lt>>>26)|0,lt&=67108863;var re=(k+(_=Math.imul($e,ti))|0)+((8191&(a=(a=Math.imul($e,fi))+Math.imul(nt,ti)|0))<<13)|0;return k=((b=Math.imul(nt,fi))+(a>>>13)|0)+(re>>>26)|0,re&=67108863,A[0]=xn,A[1]=tn,A[2]=Vi,A[3]=Qi,A[4]=Xt,A[5]=St,A[6]=tt,A[7]=ot,A[8]=Mt,A[9]=Bt,A[10]=Ci,A[11]=Ti,A[12]=Hi,A[13]=Zi,A[14]=ln,A[15]=mn,A[16]=Ut,A[17]=lt,A[18]=re,0!==k&&(A[19]=k,m.length++),m};function W(T,n,c){return(new Q).mulp(T,n,c)}function Q(T,n){this.x=T,this.y=n}Math.imul||(j=V),l.prototype.mulTo=function(n,c){var m,d=this.length+n.length;return m=10===this.length&&10===n.length?j(this,n,c):d<63?V(this,n,c):d<1024?function Y(T,n,c){c.negative=n.negative^T.negative,c.length=T.length+n.length;for(var m=0,d=0,C=0;C>>26)|0)>>>26,A&=67108863}c.words[C]=k,m=A,A=d}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):W(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,d=0;d>=1;return d},Q.prototype.permute=function(n,c,m,d,C,A){for(var k=0;k>>=1)C++;return 1<>>=13),C>>>=13;for(A=2*c;A>=26,c+=d/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,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 I(T){for(var n=new Array(T.bitLength()),c=0;c>>d}return n}(n);if(0===c.length)return new l(1);for(var m=this,d=0;d=0);var C,c=n%26,m=(n-c)/26,d=67108863>>>26-c<<26-c;if(0!==c){var A=0;for(C=0;C>>26-c}A&&(this.words[C]=A,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C=0),d=c?(c-c%26)/26:0;var C=n%26,A=Math.min((n-C)/26,this.length),k=67108863^67108863>>>C<A)for(this.length-=A,a=0;a=0&&(0!==b||a>=d);a--){var z=0|this.words[a];this.words[a]=b<<26-C|z>>>C,b=z&k}return _&&0!==b&&(_.words[_.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return x(0===this.negative),this.iushrn(n,c,m)},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){x("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<=0);var c=n%26,m=(n-c)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>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(x("number"==typeof n),x(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>26)-(_/67108864|0),this.words[C+m]=67108863&A}for(;C>26,this.words[C+m]=67108863&A;if(0===k)return this.strip();for(x(-1===k),k=0,C=0;C>26,this.words[C]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,d=this.clone(),C=n,A=0|C.words[C.length-1];0!=(m=26-this._countBits(A))&&(C=C.ushln(m),d.iushln(m),A=0|C.words[C.length-1]);var a,_=d.length-C.length;if("mod"!==c){(a=new l(null)).length=_+1,a.words=new Array(a.length);for(var b=0;b=0;N--){var q=67108864*(0|d.words[C.length+N])+(0|d.words[C.length+N-1]);for(q=Math.min(q/A|0,67108863),d._ishlnsubmul(C,q,N);0!==d.negative;)q--,d.negative=0,d._ishlnsubmul(C,1,N),d.isZero()||(d.negative^=1);a&&(a.words[N]=q)}return a&&a.strip(),d.strip(),"div"!==c&&0!==m&&d.iushrn(m),{div:a||null,mod:d}},l.prototype.divmod=function(n,c,m){return x(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,c),"mod"!==c&&(d=A.div.neg()),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:d,mod:C}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),c),"mod"!==c&&(d=A.div.neg()),{div:d,mod:A.mod}):this.negative&n.negative?(A=this.neg().divmod(n.neg(),c),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:A.div,mod:C}):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 d,C,A},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 m=0!==c.div.negative?c.mod.isub(n):c.mod,d=n.ushrn(1),C=n.andln(1),A=m.cmp(d);return A<0||1===C&&0===A?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){x(n<=67108863);for(var c=(1<<26)%n,m=0,d=this.length-1;d>=0;d--)m=(c*m+(0|this.words[d]))%n;return m},l.prototype.idivn=function(n){x(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var d=(0|this.words[m])+67108864*c;this.words[m]=d/n|0,c=d%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){x(0===n.negative),x(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=new l(0),k=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var a=m.clone(),b=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;)(d.isOdd()||C.isOdd())&&(d.iadd(a),C.isub(b)),d.iushrn(1),C.iushrn(1);for(var q=0,pe=1;!(m.words[0]&pe)&&q<26;++q,pe<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(a),k.isub(b)),A.iushrn(1),k.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(A),C.isub(k)):(m.isub(c),A.isub(d),k.isub(C))}return{a:A,b:k,gcd:m.iushln(_)}},l.prototype._invmp=function(n){x(0===n.negative),x(!n.isZero());var z,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var k=0,_=1;!(c.words[0]&_)&&k<26;++k,_<<=1);if(k>0)for(c.iushrn(k);k-- >0;)d.isOdd()&&d.iadd(A),d.iushrn(1);for(var a=0,b=1;!(m.words[0]&b)&&a<26;++a,b<<=1);if(a>0)for(m.iushrn(a);a-- >0;)C.isOdd()&&C.iadd(A),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(C)):(m.isub(c),C.isub(d))}return(z=0===c.cmpn(1)?d:C).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(),m=n.clone();c.negative=0,m.negative=0;for(var d=0;c.isEven()&&m.isEven();d++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var A=c;c=m,m=A}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(d)},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){x("number"==typeof n);var c=n%26,m=(n-c)/26,d=1<>>26,this.words[A]=k&=67108863}return 0!==C&&(this.words[A]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),x(n<=67108863,"Number is too big");var d=0|this.words[0];m=d===n?0:dn.length)return 1;if(this.length=0;m--){var d=0|this.words[m],C=0|n.words[m];if(d!==C){dC&&(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 Ce(n)},l.prototype.toRed=function(n){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return x(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 x(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return x(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ie(T,n){this.name=T,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 ee(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Ce(T){if("string"==typeof T){var n=l._prime(T);this.m=n.p,this.prime=n}else x(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function le(T){Ce.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var d=m0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ie.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ie.prototype.imulK=function(n){return n.imul(this.k)},D(ee,ie),ee.prototype.split=function(n,c){for(var m=4194303,d=Math.min(n.length,9),C=0;C>>22,A=k}n.words[C-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ee.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m>>=26,n.words[m]=C,c=d}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ee;else if("p224"===n)c=new fe;else if("p192"===n)c=new ne;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Ce.prototype._verify1=function(n){x(0===n.negative,"red works only with positives"),x(n.red,"red works only with red numbers")},Ce.prototype._verify2=function(n,c){x(!(n.negative|c.negative),"red works only with positives"),x(n.red&&n.red===c.red,"red works only with red numbers")},Ce.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Ce.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Ce.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Ce.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Ce.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Ce.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Ce.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Ce.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Ce.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Ce.prototype.isqr=function(n){return this.imul(n,n.clone())},Ce.prototype.sqr=function(n){return this.mul(n,n)},Ce.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(x(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var d=this.m.subn(1),C=0;!d.isZero()&&0===d.andln(1);)C++,d.iushrn(1);x(!d.isZero());var A=new l(1).toRed(this),k=A.redNeg(),_=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,_).cmp(k);)a.redIAdd(k);for(var b=this.pow(a,d),z=this.pow(n,d.addn(1).iushrn(1)),N=this.pow(n,d),q=C;0!==N.cmp(A);){for(var pe=N,ze=0;0!==pe.cmp(A);ze++)pe=pe.redSqr();x(ze=0;C--){for(var b=c.words[C],z=a-1;z>=0;z--){var N=b>>z&1;A!==d[0]&&(A=this.sqr(A)),0!==N||0!==k?(k<<=1,k|=N,(4==++_||0===C&&0===z)&&(A=this.mul(A,d[k]),_=0,k=0)):_=0}a=26}return A},Ce.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Ce.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new le(n)},D(le,Ce),le.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},le.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},le.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},243:Qe=>{"use strict";var te={single_source_shortest_paths:function(g,e,t){var x={},D={};D[e]=0;var w,f,R,h,S,O,l=te.PriorityQueue.make();for(l.push(e,0);!l.empty();)for(R in h=(w=l.pop()).cost,S=g[f=w.value]||{})S.hasOwnProperty(R)&&(O=h+S[R],(typeof D[R]>"u"||D[R]>O)&&(D[R]=O,l.push(R,O),x[R]=f));if(typeof t<"u"&&typeof D[t]>"u"){var j=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(j)}return x},extract_shortest_path_from_predecessor_list:function(g,e){for(var t=[],x=e;x;)t.push(x),x=g[x];return t.reverse(),t},find_path:function(g,e,t){var x=te.single_source_shortest_paths(g,e,t);return te.extract_shortest_path_from_predecessor_list(x,t)},PriorityQueue:{make:function(g){var x,e=te.PriorityQueue,t={};for(x in g=g||{},e)e.hasOwnProperty(x)&&(t[x]=e[x]);return t.queue=[],t.sorter=g.sorter||e.default_sorter,t},default_sorter:function(g,e){return g.cost-e.cost},push:function(g,e){this.queue.push({value:g,cost:e}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Qe.exports=te},518:(Qe,te,g)=>{"use strict";var e=te;e.version=g(1636).rE,e.utils=g(3136),e.rand=g(5294),e.curve=g(8729),e.curves=g(3401),e.ec=g(9042),e.eddsa=g(3045)},8828:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(3136),x=t.getNAF,D=t.getJSF,l=t.assert;function w(R,h){this.type=R,this.p=new e(h.p,16),this.red=h.prime?e.red(h.prime):e.mont(this.p),this.zero=new e(0).toRed(this.red),this.one=new e(1).toRed(this.red),this.two=new e(2).toRed(this.red),this.n=h.n&&new e(h.n,16),this.g=h.g&&this.pointFromJSON(h.g,h.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var S=this.n&&this.p.div(this.n);!S||S.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function f(R,h){this.curve=R,this.type=h,this.precomputed=null}Qe.exports=w,w.prototype.point=function(){throw new Error("Not implemented")},w.prototype.validate=function(){throw new Error("Not implemented")},w.prototype._fixedNafMul=function(h,S){l(h.precomputed);var y=h._getDoubles(),O=x(S,1,this._bitLength),I=(1<=j;W--)Y=(Y<<1)+O[W];V.push(Y)}for(var Q=this.jpoint(null,null,null),J=this.jpoint(null,null,null),ie=I;ie>0;ie--){for(j=0;j=0;Y--){for(var W=0;Y>=0&&0===V[Y];Y--)W++;if(Y>=0&&W++,j=j.dblp(W),Y<0)break;var Q=V[Y];l(0!==Q),j="affine"===h.type?j.mixedAdd(Q>0?I[Q-1>>1]:I[-Q-1>>1].neg()):j.add(Q>0?I[Q-1>>1]:I[-Q-1>>1].neg())}return"affine"===h.type?j.toP():j},w.prototype._wnafMulAdd=function(h,S,y,O,I){var Q,J,ie,V=this._wnafT1,j=this._wnafT2,Y=this._wnafT3,W=0;for(Q=0;Q=1;Q-=2){var fe=Q-1,ne=Q;if(1===V[fe]&&1===V[ne]){var Me=[S[fe],null,null,S[ne]];0===S[fe].y.cmp(S[ne].y)?(Me[1]=S[fe].add(S[ne]),Me[2]=S[fe].toJ().mixedAdd(S[ne].neg())):0===S[fe].y.cmp(S[ne].y.redNeg())?(Me[1]=S[fe].toJ().mixedAdd(S[ne]),Me[2]=S[fe].add(S[ne].neg())):(Me[1]=S[fe].toJ().mixedAdd(S[ne]),Me[2]=S[fe].toJ().mixedAdd(S[ne].neg()));var Ce=[-3,-1,-5,-7,0,7,5,1,3],le=D(y[fe],y[ne]);for(W=Math.max(le[0].length,W),Y[fe]=new Array(W),Y[ne]=new Array(W),J=0;J=0;Q--){for(var d=0;Q>=0;){var C=!0;for(J=0;J=0&&d++,c=c.dblp(d),Q<0)break;for(J=0;J0?ie=j[J][A-1>>1]:A<0&&(ie=j[J][-A-1>>1].neg()),c="affine"===ie.type?c.mixedAdd(ie):c.add(ie))}}for(Q=0;Q=Math.ceil((h.bitLength()+1)/S.step)},f.prototype._getDoubles=function(h,S){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var y=[this],O=this,I=0;I{"use strict";var e=g(3136),t=g(8723),x=g(1993),D=g(8828),l=e.assert;function w(R){this.twisted=1!=(0|R.a),this.mOneA=this.twisted&&-1==(0|R.a),this.extended=this.mOneA,D.call(this,"edwards",R),this.a=new t(R.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new t(R.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new t(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 f(R,h,S,y,O){D.BasePoint.call(this,R,"projective"),null===h&&null===S&&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 t(h,16),this.y=new t(S,16),this.z=y?new t(y,16):this.curve.one,this.t=O&&new t(O,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}x(w,D),Qe.exports=w,w.prototype._mulA=function(h){return this.mOneA?h.redNeg():this.a.redMul(h)},w.prototype._mulC=function(h){return this.oneC?h:this.c.redMul(h)},w.prototype.jpoint=function(h,S,y,O){return this.point(h,S,y,O)},w.prototype.pointFromX=function(h,S){(h=new t(h,16)).red||(h=h.toRed(this.red));var y=h.redSqr(),O=this.c2.redSub(this.a.redMul(y)),I=this.one.redSub(this.c2.redMul(this.d).redMul(y)),V=O.redMul(I.redInvm()),j=V.redSqrt();if(0!==j.redSqr().redSub(V).cmp(this.zero))throw new Error("invalid point");var Y=j.fromRed().isOdd();return(S&&!Y||!S&&Y)&&(j=j.redNeg()),this.point(h,j)},w.prototype.pointFromY=function(h,S){(h=new t(h,16)).red||(h=h.toRed(this.red));var y=h.redSqr(),O=y.redSub(this.c2),I=y.redMul(this.d).redMul(this.c2).redSub(this.a),V=O.redMul(I.redInvm());if(0===V.cmp(this.zero)){if(S)throw new Error("invalid point");return this.point(this.zero,h)}var j=V.redSqrt();if(0!==j.redSqr().redSub(V).cmp(this.zero))throw new Error("invalid point");return j.fromRed().isOdd()!==S&&(j=j.redNeg()),this.point(j,h)},w.prototype.validate=function(h){if(h.isInfinity())return!0;h.normalize();var S=h.x.redSqr(),y=h.y.redSqr(),O=S.redMul(this.a).redAdd(y),I=this.c2.redMul(this.one.redAdd(this.d.redMul(S).redMul(y)));return 0===O.cmp(I)},x(f,D.BasePoint),w.prototype.pointFromJSON=function(h){return f.fromJSON(this,h)},w.prototype.point=function(h,S,y,O){return new f(this,h,S,y,O)},f.fromJSON=function(h,S){return new f(h,S[0],S[1],S[2])},f.prototype.inspect=function(){return this.isInfinity()?"":""},f.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},f.prototype._extDbl=function(){var h=this.x.redSqr(),S=this.y.redSqr(),y=this.z.redSqr();y=y.redIAdd(y);var O=this.curve._mulA(h),I=this.x.redAdd(this.y).redSqr().redISub(h).redISub(S),V=O.redAdd(S),j=V.redSub(y),Y=O.redSub(S),W=I.redMul(j),Q=V.redMul(Y),J=I.redMul(Y),ie=j.redMul(V);return this.curve.point(W,Q,ie,J)},f.prototype._projDbl=function(){var O,I,V,j,Y,W,h=this.x.redAdd(this.y).redSqr(),S=this.x.redSqr(),y=this.y.redSqr();if(this.curve.twisted){var Q=(j=this.curve._mulA(S)).redAdd(y);this.zOne?(O=h.redSub(S).redSub(y).redMul(Q.redSub(this.curve.two)),I=Q.redMul(j.redSub(y)),V=Q.redSqr().redSub(Q).redSub(Q)):(Y=this.z.redSqr(),W=Q.redSub(Y).redISub(Y),O=h.redSub(S).redISub(y).redMul(W),I=Q.redMul(j.redSub(y)),V=Q.redMul(W))}else j=S.redAdd(y),Y=this.curve._mulC(this.z).redSqr(),W=j.redSub(Y).redSub(Y),O=this.curve._mulC(h.redISub(j)).redMul(W),I=this.curve._mulC(j).redMul(S.redISub(y)),V=j.redMul(W);return this.curve.point(O,I,V)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},f.prototype._extAdd=function(h){var S=this.y.redSub(this.x).redMul(h.y.redSub(h.x)),y=this.y.redAdd(this.x).redMul(h.y.redAdd(h.x)),O=this.t.redMul(this.curve.dd).redMul(h.t),I=this.z.redMul(h.z.redAdd(h.z)),V=y.redSub(S),j=I.redSub(O),Y=I.redAdd(O),W=y.redAdd(S),Q=V.redMul(j),J=Y.redMul(W),ie=V.redMul(W),ee=j.redMul(Y);return this.curve.point(Q,J,ee,ie)},f.prototype._projAdd=function(h){var J,ie,S=this.z.redMul(h.z),y=S.redSqr(),O=this.x.redMul(h.x),I=this.y.redMul(h.y),V=this.curve.d.redMul(O).redMul(I),j=y.redSub(V),Y=y.redAdd(V),W=this.x.redAdd(this.y).redMul(h.x.redAdd(h.y)).redISub(O).redISub(I),Q=S.redMul(j).redMul(W);return this.curve.twisted?(J=S.redMul(Y).redMul(I.redSub(this.curve._mulA(O))),ie=j.redMul(Y)):(J=S.redMul(Y).redMul(I.redSub(O)),ie=this.curve._mulC(j).redMul(Y)),this.curve.point(Q,J,ie)},f.prototype.add=function(h){return this.isInfinity()?h:h.isInfinity()?this:this.curve.extended?this._extAdd(h):this._projAdd(h)},f.prototype.mul=function(h){return this._hasDoubles(h)?this.curve._fixedNafMul(this,h):this.curve._wnafMul(this,h)},f.prototype.mulAdd=function(h,S,y){return this.curve._wnafMulAdd(1,[this,S],[h,y],2,!1)},f.prototype.jmulAdd=function(h,S,y){return this.curve._wnafMulAdd(1,[this,S],[h,y],2,!0)},f.prototype.normalize=function(){if(this.zOne)return this;var h=this.z.redInvm();return this.x=this.x.redMul(h),this.y=this.y.redMul(h),this.t&&(this.t=this.t.redMul(h)),this.z=this.curve.one,this.zOne=!0,this},f.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()},f.prototype.getY=function(){return this.normalize(),this.y.fromRed()},f.prototype.eq=function(h){return this===h||0===this.getX().cmp(h.getX())&&0===this.getY().cmp(h.getY())},f.prototype.eqXToP=function(h){var S=h.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(S))return!0;for(var y=h.clone(),O=this.curve.redN.redMul(this.z);;){if(y.iadd(this.curve.n),y.cmp(this.curve.p)>=0)return!1;if(S.redIAdd(O),0===this.x.cmp(S))return!0}},f.prototype.toP=f.prototype.normalize,f.prototype.mixedAdd=f.prototype.add},8729:(Qe,te,g)=>{"use strict";var e=te;e.base=g(8828),e.short=g(8075),e.mont=g(4947),e.edwards=g(5537)},4947:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(1993),x=g(8828),D=g(3136);function l(f){x.call(this,"mont",f),this.a=new e(f.a,16).toRed(this.red),this.b=new e(f.b,16).toRed(this.red),this.i4=new e(4).toRed(this.red).redInvm(),this.two=new e(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function w(f,R,h){x.BasePoint.call(this,f,"projective"),null===R&&null===h?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(R,16),this.z=new e(h,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}t(l,x),Qe.exports=l,l.prototype.validate=function(R){var h=R.normalize().x,S=h.redSqr(),y=S.redMul(h).redAdd(S.redMul(this.a)).redAdd(h);return 0===y.redSqrt().redSqr().cmp(y)},t(w,x.BasePoint),l.prototype.decodePoint=function(R,h){return this.point(D.toArray(R,h),1)},l.prototype.point=function(R,h){return new w(this,R,h)},l.prototype.pointFromJSON=function(R){return w.fromJSON(this,R)},w.prototype.precompute=function(){},w.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},w.fromJSON=function(R,h){return new w(R,h[0],h[1]||R.one)},w.prototype.inspect=function(){return this.isInfinity()?"":""},w.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},w.prototype.dbl=function(){var h=this.x.redAdd(this.z).redSqr(),y=this.x.redSub(this.z).redSqr(),O=h.redSub(y),I=h.redMul(y),V=O.redMul(y.redAdd(this.curve.a24.redMul(O)));return this.curve.point(I,V)},w.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},w.prototype.diffAdd=function(R,h){var S=this.x.redAdd(this.z),y=this.x.redSub(this.z),O=R.x.redAdd(R.z),V=R.x.redSub(R.z).redMul(S),j=O.redMul(y),Y=h.z.redMul(V.redAdd(j).redSqr()),W=h.x.redMul(V.redISub(j).redSqr());return this.curve.point(Y,W)},w.prototype.mul=function(R){for(var h=R.clone(),S=this,y=this.curve.point(null,null),I=[];0!==h.cmpn(0);h.iushrn(1))I.push(h.andln(1));for(var V=I.length-1;V>=0;V--)0===I[V]?(S=S.diffAdd(y,this),y=y.dbl()):(y=S.diffAdd(y,this),S=S.dbl());return y},w.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},w.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},w.prototype.eq=function(R){return 0===this.getX().cmp(R.getX())},w.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},w.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},8075:(Qe,te,g)=>{"use strict";var e=g(3136),t=g(8723),x=g(1993),D=g(8828),l=e.assert;function w(h){D.call(this,"short",h),this.a=new t(h.a,16).toRed(this.red),this.b=new t(h.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(h),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function f(h,S,y,O){D.BasePoint.call(this,h,"affine"),null===S&&null===y?(this.x=null,this.y=null,this.inf=!0):(this.x=new t(S,16),this.y=new t(y,16),O&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function R(h,S,y,O){D.BasePoint.call(this,h,"jacobian"),null===S&&null===y&&null===O?(this.x=this.curve.one,this.y=this.curve.one,this.z=new t(0)):(this.x=new t(S,16),this.y=new t(y,16),this.z=new t(O,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}x(w,D),Qe.exports=w,w.prototype._getEndomorphism=function(S){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var y,O;if(S.beta)y=new t(S.beta,16).toRed(this.red);else{var I=this._getEndoRoots(this.p);y=(y=I[0].cmp(I[1])<0?I[0]:I[1]).toRed(this.red)}if(S.lambda)O=new t(S.lambda,16);else{var V=this._getEndoRoots(this.n);0===this.g.mul(V[0]).x.cmp(this.g.x.redMul(y))?O=V[0]:l(0===this.g.mul(O=V[1]).x.cmp(this.g.x.redMul(y)))}return{beta:y,lambda:O,basis:S.basis?S.basis.map(function(Y){return{a:new t(Y.a,16),b:new t(Y.b,16)}}):this._getEndoBasis(O)}}},w.prototype._getEndoRoots=function(S){var y=S===this.p?this.red:t.mont(S),O=new t(2).toRed(y).redInvm(),I=O.redNeg(),V=new t(3).toRed(y).redNeg().redSqrt().redMul(O);return[I.redAdd(V).fromRed(),I.redSub(V).fromRed()]},w.prototype._getEndoBasis=function(S){for(var Q,J,ie,ee,fe,ne,Me,le,T,y=this.n.ushrn(Math.floor(this.n.bitLength()/2)),O=S,I=this.n.clone(),V=new t(1),j=new t(0),Y=new t(0),W=new t(1),Ce=0;0!==O.cmpn(0);){var n=I.div(O);le=I.sub(n.mul(O)),T=Y.sub(n.mul(V));var c=W.sub(n.mul(j));if(!ie&&le.cmp(y)<0)Q=Me.neg(),J=V,ie=le.neg(),ee=T;else if(ie&&2==++Ce)break;Me=le,I=O,O=le,Y=V,V=T,W=j,j=c}fe=le.neg(),ne=T;var m=ie.sqr().add(ee.sqr());return fe.sqr().add(ne.sqr()).cmp(m)>=0&&(fe=Q,ne=J),ie.negative&&(ie=ie.neg(),ee=ee.neg()),fe.negative&&(fe=fe.neg(),ne=ne.neg()),[{a:ie,b:ee},{a:fe,b:ne}]},w.prototype._endoSplit=function(S){var y=this.endo.basis,O=y[0],I=y[1],V=I.b.mul(S).divRound(this.n),j=O.b.neg().mul(S).divRound(this.n),Y=V.mul(O.a),W=j.mul(I.a),Q=V.mul(O.b),J=j.mul(I.b);return{k1:S.sub(Y).sub(W),k2:Q.add(J).neg()}},w.prototype.pointFromX=function(S,y){(S=new t(S,16)).red||(S=S.toRed(this.red));var O=S.redSqr().redMul(S).redIAdd(S.redMul(this.a)).redIAdd(this.b),I=O.redSqrt();if(0!==I.redSqr().redSub(O).cmp(this.zero))throw new Error("invalid point");var V=I.fromRed().isOdd();return(y&&!V||!y&&V)&&(I=I.redNeg()),this.point(S,I)},w.prototype.validate=function(S){if(S.inf)return!0;var y=S.x,O=S.y,I=this.a.redMul(y),V=y.redSqr().redMul(y).redIAdd(I).redIAdd(this.b);return 0===O.redSqr().redISub(V).cmpn(0)},w.prototype._endoWnafMulAdd=function(S,y,O){for(var I=this._endoWnafT1,V=this._endoWnafT2,j=0;j":""},f.prototype.isInfinity=function(){return this.inf},f.prototype.add=function(S){if(this.inf)return S;if(S.inf)return this;if(this.eq(S))return this.dbl();if(this.neg().eq(S))return this.curve.point(null,null);if(0===this.x.cmp(S.x))return this.curve.point(null,null);var y=this.y.redSub(S.y);0!==y.cmpn(0)&&(y=y.redMul(this.x.redSub(S.x).redInvm()));var O=y.redSqr().redISub(this.x).redISub(S.x),I=y.redMul(this.x.redSub(O)).redISub(this.y);return this.curve.point(O,I)},f.prototype.dbl=function(){if(this.inf)return this;var S=this.y.redAdd(this.y);if(0===S.cmpn(0))return this.curve.point(null,null);var y=this.curve.a,O=this.x.redSqr(),I=S.redInvm(),V=O.redAdd(O).redIAdd(O).redIAdd(y).redMul(I),j=V.redSqr().redISub(this.x.redAdd(this.x)),Y=V.redMul(this.x.redSub(j)).redISub(this.y);return this.curve.point(j,Y)},f.prototype.getX=function(){return this.x.fromRed()},f.prototype.getY=function(){return this.y.fromRed()},f.prototype.mul=function(S){return S=new t(S,16),this.isInfinity()?this:this._hasDoubles(S)?this.curve._fixedNafMul(this,S):this.curve.endo?this.curve._endoWnafMulAdd([this],[S]):this.curve._wnafMul(this,S)},f.prototype.mulAdd=function(S,y,O){var I=[this,y],V=[S,O];return this.curve.endo?this.curve._endoWnafMulAdd(I,V):this.curve._wnafMulAdd(1,I,V,2)},f.prototype.jmulAdd=function(S,y,O){var I=[this,y],V=[S,O];return this.curve.endo?this.curve._endoWnafMulAdd(I,V,!0):this.curve._wnafMulAdd(1,I,V,2,!0)},f.prototype.eq=function(S){return this===S||this.inf===S.inf&&(this.inf||0===this.x.cmp(S.x)&&0===this.y.cmp(S.y))},f.prototype.neg=function(S){if(this.inf)return this;var y=this.curve.point(this.x,this.y.redNeg());if(S&&this.precomputed){var O=this.precomputed,I=function(V){return V.neg()};y.precomputed={naf:O.naf&&{wnd:O.naf.wnd,points:O.naf.points.map(I)},doubles:O.doubles&&{step:O.doubles.step,points:O.doubles.points.map(I)}}}return y},f.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},x(R,D.BasePoint),w.prototype.jpoint=function(S,y,O){return new R(this,S,y,O)},R.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var S=this.z.redInvm(),y=S.redSqr(),O=this.x.redMul(y),I=this.y.redMul(y).redMul(S);return this.curve.point(O,I)},R.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},R.prototype.add=function(S){if(this.isInfinity())return S;if(S.isInfinity())return this;var y=S.z.redSqr(),O=this.z.redSqr(),I=this.x.redMul(y),V=S.x.redMul(O),j=this.y.redMul(y.redMul(S.z)),Y=S.y.redMul(O.redMul(this.z)),W=I.redSub(V),Q=j.redSub(Y);if(0===W.cmpn(0))return 0!==Q.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var J=W.redSqr(),ie=J.redMul(W),ee=I.redMul(J),fe=Q.redSqr().redIAdd(ie).redISub(ee).redISub(ee),ne=Q.redMul(ee.redISub(fe)).redISub(j.redMul(ie)),Me=this.z.redMul(S.z).redMul(W);return this.curve.jpoint(fe,ne,Me)},R.prototype.mixedAdd=function(S){if(this.isInfinity())return S.toJ();if(S.isInfinity())return this;var y=this.z.redSqr(),O=this.x,I=S.x.redMul(y),V=this.y,j=S.y.redMul(y).redMul(this.z),Y=O.redSub(I),W=V.redSub(j);if(0===Y.cmpn(0))return 0!==W.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var Q=Y.redSqr(),J=Q.redMul(Y),ie=O.redMul(Q),ee=W.redSqr().redIAdd(J).redISub(ie).redISub(ie),fe=W.redMul(ie.redISub(ee)).redISub(V.redMul(J)),ne=this.z.redMul(Y);return this.curve.jpoint(ee,fe,ne)},R.prototype.dblp=function(S){if(0===S)return this;if(this.isInfinity())return this;if(!S)return this.dbl();var y;if(this.curve.zeroA||this.curve.threeA){var O=this;for(y=0;y=0)return!1;if(O.redIAdd(V),0===this.x.cmp(O))return!0}},R.prototype.inspect=function(){return this.isInfinity()?"":""},R.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3401:(Qe,te,g)=>{"use strict";var R,e=te,t=g(2529),x=g(8729),l=g(3136).assert;function w(h){this.curve="short"===h.type?new x.short(h):"edwards"===h.type?new x.edwards(h):new x.mont(h),this.g=this.curve.g,this.n=this.curve.n,this.hash=h.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function f(h,S){Object.defineProperty(e,h,{configurable:!0,enumerable:!0,get:function(){var y=new w(S);return Object.defineProperty(e,h,{configurable:!0,enumerable:!0,value:y}),y}})}e.PresetCurve=w,f("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:t.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),f("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:t.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),f("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:t.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),f("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:t.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),f("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:t.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),f("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["9"]}),f("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{R=g(1416)}catch{R=void 0}f("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:t.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",R]})},9042:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(3556),x=g(3136),D=g(3401),l=g(5294),w=x.assert,f=g(541),R=g(484);function h(S){if(!(this instanceof h))return new h(S);"string"==typeof S&&(w(Object.prototype.hasOwnProperty.call(D,S),"Unknown curve "+S),S=D[S]),S instanceof D.PresetCurve&&(S={curve:S}),this.curve=S.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=S.curve.g,this.g.precompute(S.curve.n.bitLength()+1),this.hash=S.hash||S.curve.hash}Qe.exports=h,h.prototype.keyPair=function(y){return new f(this,y)},h.prototype.keyFromPrivate=function(y,O){return f.fromPrivate(this,y,O)},h.prototype.keyFromPublic=function(y,O){return f.fromPublic(this,y,O)},h.prototype.genKeyPair=function(y){y||(y={});for(var O=new t({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()}),I=this.n.byteLength(),V=this.n.sub(new e(2));;){var j=new e(O.generate(I));if(!(j.cmp(V)>0))return j.iaddn(1),this.keyFromPrivate(j)}},h.prototype._truncateToN=function(y,O,I){var V;if(e.isBN(y)||"number"==typeof y)V=(y=new e(y,16)).byteLength();else if("object"==typeof y)V=y.length,y=new e(y,16);else{var j=y.toString();V=j.length+1>>>1,y=new e(j,16)}"number"!=typeof I&&(I=8*V);var Y=I-this.n.bitLength();return Y>0&&(y=y.ushrn(Y)),!O&&y.cmp(this.n)>=0?y.sub(this.n):y},h.prototype.sign=function(y,O,I,V){"object"==typeof I&&(V=I,I=null),V||(V={}),O=this.keyFromPrivate(O,I),y=this._truncateToN(y,!1,V.msgBitLength);for(var j=this.n.byteLength(),Y=O.getPrivate().toArray("be",j),W=y.toArray("be",j),Q=new t({hash:this.hash,entropy:Y,nonce:W,pers:V.pers,persEnc:V.persEnc||"utf8"}),J=this.n.sub(new e(1)),ie=0;;ie++){var ee=V.k?V.k(ie):new e(Q.generate(this.n.byteLength()));if(!((ee=this._truncateToN(ee,!0)).cmpn(1)<=0||ee.cmp(J)>=0)){var fe=this.g.mul(ee);if(!fe.isInfinity()){var ne=fe.getX(),Me=ne.umod(this.n);if(0!==Me.cmpn(0)){var Ce=ee.invm(this.n).mul(Me.mul(O.getPrivate()).iadd(y));if(0!==(Ce=Ce.umod(this.n)).cmpn(0)){var le=(fe.getY().isOdd()?1:0)|(0!==ne.cmp(Me)?2:0);return V.canonical&&Ce.cmp(this.nh)>0&&(Ce=this.n.sub(Ce),le^=1),new R({r:Me,s:Ce,recoveryParam:le})}}}}}},h.prototype.verify=function(y,O,I,V,j){j||(j={}),y=this._truncateToN(y,!1,j.msgBitLength),I=this.keyFromPublic(I,V);var Y=(O=new R(O,"hex")).r,W=O.s;if(Y.cmpn(1)<0||Y.cmp(this.n)>=0||W.cmpn(1)<0||W.cmp(this.n)>=0)return!1;var ee,Q=W.invm(this.n),J=Q.mul(y).umod(this.n),ie=Q.mul(Y).umod(this.n);return this.curve._maxwellTrick?!(ee=this.g.jmulAdd(J,I.getPublic(),ie)).isInfinity()&&ee.eqXToP(Y):!(ee=this.g.mulAdd(J,I.getPublic(),ie)).isInfinity()&&0===ee.getX().umod(this.n).cmp(Y)},h.prototype.recoverPubKey=function(S,y,O,I){w((3&O)===O,"The recovery param is more than two bits"),y=new R(y,I);var V=this.n,j=new e(S),Y=y.r,W=y.s,Q=1&O,J=O>>1;if(Y.cmp(this.curve.p.umod(this.curve.n))>=0&&J)throw new Error("Unable to find sencond key candinate");Y=this.curve.pointFromX(J?Y.add(this.curve.n):Y,Q);var ie=y.r.invm(V),ee=V.sub(j).mul(ie).umod(V),fe=W.mul(ie).umod(V);return this.g.mulAdd(ee,Y,fe)},h.prototype.getKeyRecoveryParam=function(S,y,O,I){if(null!==(y=new R(y,I)).recoveryParam)return y.recoveryParam;for(var V=0;V<4;V++){var j;try{j=this.recoverPubKey(S,y,V)}catch{continue}if(j.eq(O))return V}throw new Error("Unable to find valid recovery factor")}},541:(Qe,te,g)=>{"use strict";var e=g(8723),x=g(3136).assert;function D(l,w){this.ec=l,this.priv=null,this.pub=null,w.priv&&this._importPrivate(w.priv,w.privEnc),w.pub&&this._importPublic(w.pub,w.pubEnc)}Qe.exports=D,D.fromPublic=function(w,f,R){return f instanceof D?f:new D(w,{pub:f,pubEnc:R})},D.fromPrivate=function(w,f,R){return f instanceof D?f:new D(w,{priv:f,privEnc:R})},D.prototype.validate=function(){var w=this.getPublic();return w.isInfinity()?{result:!1,reason:"Invalid public key"}:w.validate()?w.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"}},D.prototype.getPublic=function(w,f){return"string"==typeof w&&(f=w,w=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),f?this.pub.encode(f,w):this.pub},D.prototype.getPrivate=function(w){return"hex"===w?this.priv.toString(16,2):this.priv},D.prototype._importPrivate=function(w,f){this.priv=new e(w,f||16),this.priv=this.priv.umod(this.ec.curve.n)},D.prototype._importPublic=function(w,f){if(w.x||w.y)return"mont"===this.ec.curve.type?x(w.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&x(w.x&&w.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(w.x,w.y));this.pub=this.ec.curve.decodePoint(w,f)},D.prototype.derive=function(w){return w.validate()||x(w.validate(),"public point not validated"),w.mul(this.priv).getX()},D.prototype.sign=function(w,f,R){return this.ec.sign(w,this,f,R)},D.prototype.verify=function(w,f,R){return this.ec.verify(w,f,this,void 0,R)},D.prototype.inspect=function(){return""}},484:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(3136),x=t.assert;function D(h,S){if(h instanceof D)return h;this._importDER(h,S)||(x(h.r&&h.s,"Signature without r or s"),this.r=new e(h.r,16),this.s=new e(h.s,16),this.recoveryParam=void 0===h.recoveryParam?null:h.recoveryParam)}function l(){this.place=0}function w(h,S){var y=h[S.place++];if(!(128&y))return y;var O=15&y;if(0===O||O>4||0===h[S.place])return!1;for(var I=0,V=0,j=S.place;V>>=0;return!(I<=127)&&(S.place=j,I)}function f(h){for(var S=0,y=h.length-1;!h[S]&&!(128&h[S+1])&&S>>3);for(h.push(128|y);--y;)h.push(S>>>(y<<3)&255);h.push(S)}}Qe.exports=D,D.prototype._importDER=function(S,y){S=t.toArray(S,y);var O=new l;if(48!==S[O.place++])return!1;var I=w(S,O);if(!1===I||I+O.place!==S.length||2!==S[O.place++])return!1;var V=w(S,O);if(!1===V||128&S[O.place])return!1;var j=S.slice(O.place,V+O.place);if(O.place+=V,2!==S[O.place++])return!1;var Y=w(S,O);if(!1===Y||S.length!==Y+O.place||128&S[O.place])return!1;var W=S.slice(O.place,Y+O.place);if(0===j[0]){if(!(128&j[1]))return!1;j=j.slice(1)}if(0===W[0]){if(!(128&W[1]))return!1;W=W.slice(1)}return this.r=new e(j),this.s=new e(W),this.recoveryParam=null,!0},D.prototype.toDER=function(S){var y=this.r.toArray(),O=this.s.toArray();for(128&y[0]&&(y=[0].concat(y)),128&O[0]&&(O=[0].concat(O)),y=f(y),O=f(O);!(O[0]||128&O[1]);)O=O.slice(1);var I=[2];R(I,y.length),(I=I.concat(y)).push(2),R(I,O.length);var V=I.concat(O),j=[48];return R(j,V.length),j=j.concat(V),t.encode(j,S)}},3045:(Qe,te,g)=>{"use strict";var e=g(2529),t=g(3401),x=g(3136),D=x.assert,l=x.parseBytes,w=g(7222),f=g(5451);function R(h){if(D("ed25519"===h,"only tested with ed25519 so far"),!(this instanceof R))return new R(h);this.curve=h=t[h].curve,this.g=h.g,this.g.precompute(h.n.bitLength()+1),this.pointClass=h.point().constructor,this.encodingLength=Math.ceil(h.n.bitLength()/8),this.hash=e.sha512}Qe.exports=R,R.prototype.sign=function(S,y){S=l(S);var O=this.keyFromSecret(y),I=this.hashInt(O.messagePrefix(),S),V=this.g.mul(I),j=this.encodePoint(V),Y=this.hashInt(j,O.pubBytes(),S).mul(O.priv()),W=I.add(Y).umod(this.curve.n);return this.makeSignature({R:V,S:W,Rencoded:j})},R.prototype.verify=function(S,y,O){if(S=l(S),(y=this.makeSignature(y)).S().gte(y.eddsa.curve.n)||y.S().isNeg())return!1;var I=this.keyFromPublic(O),V=this.hashInt(y.Rencoded(),I.pubBytes(),S),j=this.g.mul(y.S());return y.R().add(I.pub().mul(V)).eq(j)},R.prototype.hashInt=function(){for(var S=this.hash(),y=0;y{"use strict";var e=g(3136),t=e.assert,x=e.parseBytes,D=e.cachedProperty;function l(w,f){this.eddsa=w,this._secret=x(f.secret),w.isPoint(f.pub)?this._pub=f.pub:this._pubBytes=x(f.pub)}l.fromPublic=function(f,R){return R instanceof l?R:new l(f,{pub:R})},l.fromSecret=function(f,R){return R instanceof l?R:new l(f,{secret:R})},l.prototype.secret=function(){return this._secret},D(l,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),D(l,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),D(l,"privBytes",function(){var f=this.eddsa,R=this.hash(),h=f.encodingLength-1,S=R.slice(0,f.encodingLength);return S[0]&=248,S[h]&=127,S[h]|=64,S}),D(l,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),D(l,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),D(l,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),l.prototype.sign=function(f){return t(this._secret,"KeyPair can only verify"),this.eddsa.sign(f,this)},l.prototype.verify=function(f,R){return this.eddsa.verify(f,R,this)},l.prototype.getSecret=function(f){return t(this._secret,"KeyPair is public only"),e.encode(this.secret(),f)},l.prototype.getPublic=function(f){return e.encode(this.pubBytes(),f)},Qe.exports=l},5451:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(3136),x=t.assert,D=t.cachedProperty,l=t.parseBytes;function w(f,R){this.eddsa=f,"object"!=typeof R&&(R=l(R)),Array.isArray(R)&&(x(R.length===2*f.encodingLength,"Signature has invalid size"),R={R:R.slice(0,f.encodingLength),S:R.slice(f.encodingLength)}),x(R.R&&R.S,"Signature without R or S"),f.isPoint(R.R)&&(this._R=R.R),R.S instanceof e&&(this._S=R.S),this._Rencoded=Array.isArray(R.R)?R.R:R.Rencoded,this._Sencoded=Array.isArray(R.S)?R.S:R.Sencoded}D(w,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),D(w,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),D(w,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),D(w,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),w.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},w.prototype.toHex=function(){return t.encode(this.toBytes(),"hex").toUpperCase()},Qe.exports=w},1416:Qe=>{Qe.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:(Qe,te,g)=>{"use strict";var e=te,t=g(8723),x=g(9210),D=g(1832);e.assert=x,e.toArray=D.toArray,e.zero2=D.zero2,e.toHex=D.toHex,e.encode=D.encode,e.getNAF=function l(S,y,O){var V,I=new Array(Math.max(S.bitLength(),O)+1);for(V=0;V(j>>1)-1?(j>>1)-Q:Q):W=0,I[V]=W,Y.iushrn(1)}return I},e.getJSF=function w(S,y){var O=[[],[]];S=S.clone(),y=y.clone();for(var j,I=0,V=0;S.cmpn(-I)>0||y.cmpn(-V)>0;){var Q,J,Y=S.andln(3)+I&3,W=y.andln(3)+V&3;3===Y&&(Y=-1),3===W&&(W=-1),Q=1&Y?3!=(j=S.andln(7)+I&7)&&5!==j||2!==W?Y:-Y:0,O[0].push(Q),J=1&W?3!=(j=y.andln(7)+V&7)&&5!==j||2!==Y?W:-W:0,O[1].push(J),2*I===Q+1&&(I=1-I),2*V===J+1&&(V=1-V),S.iushrn(1),y.iushrn(1)}return O},e.cachedProperty=function f(S,y,O){var I="_"+y;S.prototype[y]=function(){return void 0!==this[I]?this[I]:this[I]=O.call(this)}},e.parseBytes=function R(S){return"string"==typeof S?e.toArray(S,"hex"):S},e.intFromLE=function h(S){return new t(S,"hex","le")}},8723:function(Qe,te,g){!function(e,t){"use strict";function x(T,n){if(!T)throw new Error(n||"Assertion failed")}function D(T,n){T.super_=n;var c=function(){};c.prototype=n.prototype,T.prototype=new c,T.prototype.constructor=T}function l(T,n,c){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(T||0,n||10,c||"be"))}var w;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{w=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:g(9368).Buffer}catch{}function f(T,n){var c=T.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(T,n,c){var m=f(T,c);return c-1>=n&&(m|=f(T,c-1)<<4),m}function h(T,n,c,m){for(var d=0,C=Math.min(T.length,c),A=n;A=49?k-49+10:k>=17?k-17+10:k}return d}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,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),x(c===(0|c)&&c>=2&&c<=36);var d=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(d++,this.negative=1),d=0;d-=3)this.words[C]|=(A=n[d]|n[d-1]<<8|n[d-2]<<16)<>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);else if("le"===m)for(d=0,C=0;d>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var d=0;d=c;d-=2)k=R(n,c,d)<=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;else for(d=(n.length-c)%2==0?c+1:c;d=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var d=0,C=1;C<=67108863;C*=c)d++;d--,C=C/c|0;for(var A=n.length-m,k=A%d,_=Math.min(A,A-k)+m,a=0,b=m;b<_;b+=d)a=h(n,b,b+d,c),this.imuln(C),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==k){var z=1;for(a=h(n,b,n.length,c),b=0;b1&&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?""};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],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],O=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(T,n,c){c.negative=n.negative^T.negative;var m=T.length+n.length|0;c.length=m,m=m-1|0;var d=0|T.words[0],C=0|n.words[0],A=d*C,_=A/67108864|0;c.words[0]=67108863&A;for(var a=1;a>>26,z=67108863&_,N=Math.min(a,n.length-1),q=Math.max(0,a-T.length+1);q<=N;q++)b+=(A=(d=0|T.words[a-q|0])*(C=0|n.words[q])+z)/67108864|0,z=67108863&A;c.words[a]=0|z,_=0|b}return 0!==_?c.words[a]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var d=0,C=0,A=0;A>>24-d&16777215)||A!==this.length-1?S[6-_.length]+_+m:_+m,(d+=2)>=26&&(d-=26,A--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var a=y[n],b=O[n];m="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(b).toString(n);m=(z=z.idivn(b)).isZero()?N+m:S[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}x(!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&&x(!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 x(typeof w<"u"),this.toArrayLike(w,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var d=this.byteLength(),C=m||Math.max(1,d);x(d<=C,"byte array longer than desired length"),x(C>0,"Requested array length <= 0"),this.strip();var _,a,A="le"===c,k=new n(C),b=this.clone();if(A){for(a=0;!b.isZero();a++)_=b.andln(255),b.iushrn(8),k[a]=_;for(;a=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},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;cn.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 m=0;mn.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,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var d=0;dn.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){x("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var d=0;d0&&(this.words[d]=~this.words[d]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){x("number"==typeof n&&n>=0);var m=n/26|0,d=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<n.length?(m=this,d=n):(m=n,d=this);for(var C=0,A=0;A>>26;for(;0!==C&&A>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;An.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 d,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(d=this,C=n):(d=n,C=this);for(var A=0,k=0;k>26,this.words[k]=67108863&c;for(;0!==A&&k>26,this.words[k]=67108863&c;if(0===A&&k>>13,pe=0|d[1],ze=8191&pe,Xe=pe>>>13,We=0|d[2],oe=8191&We,X=We>>>13,se=0|d[3],ae=8191&se,he=se>>>13,Ie=0|d[4],st=8191&Ie,me=Ie>>>13,Ee=0|d[5],ue=8191&Ee,Be=Ee>>>13,Ct=0|d[6],ct=8191&Ct,dt=Ct>>>13,Yt=0|d[7],ve=8191&Yt,_e=Yt>>>13,we=0|d[8],Ue=8191&we,je=we>>>13,vt=0|d[9],$e=8191&vt,nt=vt>>>13,qt=0|C[0],Nt=8191&qt,yt=qt>>>13,jt=0|C[1],Je=8191&jt,et=jt>>>13,Ae=0|C[2],It=8191&Ae,Qt=Ae>>>13,Tt=0|C[3],xt=8191&Tt,Se=Tt>>>13,Te=0|C[4],ce=8191&Te,Z=Te>>>13,Re=0|C[5],Pe=8191&Re,pt=Re>>>13,Ke=0|C[6],Fe=8191&Ke,Ge=Ke>>>13,qe=0|C[7],at=8191&qe,Lt=qe>>>13,pi=0|C[8],$t=8191&pi,Kt=pi>>>13,Ui=0|C[9],ti=8191&Ui,fi=Ui>>>13;m.negative=n.negative^c.negative,m.length=19;var xn=(k+(_=Math.imul(N,Nt))|0)+((8191&(a=(a=Math.imul(N,yt))+Math.imul(q,Nt)|0))<<13)|0;k=((b=Math.imul(q,yt))+(a>>>13)|0)+(xn>>>26)|0,xn&=67108863,_=Math.imul(ze,Nt),a=(a=Math.imul(ze,yt))+Math.imul(Xe,Nt)|0,b=Math.imul(Xe,yt);var tn=(k+(_=_+Math.imul(N,Je)|0)|0)+((8191&(a=(a=a+Math.imul(N,et)|0)+Math.imul(q,Je)|0))<<13)|0;k=((b=b+Math.imul(q,et)|0)+(a>>>13)|0)+(tn>>>26)|0,tn&=67108863,_=Math.imul(oe,Nt),a=(a=Math.imul(oe,yt))+Math.imul(X,Nt)|0,b=Math.imul(X,yt),_=_+Math.imul(ze,Je)|0,a=(a=a+Math.imul(ze,et)|0)+Math.imul(Xe,Je)|0,b=b+Math.imul(Xe,et)|0;var Vi=(k+(_=_+Math.imul(N,It)|0)|0)+((8191&(a=(a=a+Math.imul(N,Qt)|0)+Math.imul(q,It)|0))<<13)|0;k=((b=b+Math.imul(q,Qt)|0)+(a>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,_=Math.imul(ae,Nt),a=(a=Math.imul(ae,yt))+Math.imul(he,Nt)|0,b=Math.imul(he,yt),_=_+Math.imul(oe,Je)|0,a=(a=a+Math.imul(oe,et)|0)+Math.imul(X,Je)|0,b=b+Math.imul(X,et)|0,_=_+Math.imul(ze,It)|0,a=(a=a+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0,b=b+Math.imul(Xe,Qt)|0;var Qi=(k+(_=_+Math.imul(N,xt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Se)|0)+Math.imul(q,xt)|0))<<13)|0;k=((b=b+Math.imul(q,Se)|0)+(a>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(st,Nt),a=(a=Math.imul(st,yt))+Math.imul(me,Nt)|0,b=Math.imul(me,yt),_=_+Math.imul(ae,Je)|0,a=(a=a+Math.imul(ae,et)|0)+Math.imul(he,Je)|0,b=b+Math.imul(he,et)|0,_=_+Math.imul(oe,It)|0,a=(a=a+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,b=b+Math.imul(X,Qt)|0,_=_+Math.imul(ze,xt)|0,a=(a=a+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0,b=b+Math.imul(Xe,Se)|0;var Xt=(k+(_=_+Math.imul(N,ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,Z)|0)+Math.imul(q,ce)|0))<<13)|0;k=((b=b+Math.imul(q,Z)|0)+(a>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(ue,Nt),a=(a=Math.imul(ue,yt))+Math.imul(Be,Nt)|0,b=Math.imul(Be,yt),_=_+Math.imul(st,Je)|0,a=(a=a+Math.imul(st,et)|0)+Math.imul(me,Je)|0,b=b+Math.imul(me,et)|0,_=_+Math.imul(ae,It)|0,a=(a=a+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,b=b+Math.imul(he,Qt)|0,_=_+Math.imul(oe,xt)|0,a=(a=a+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,b=b+Math.imul(X,Se)|0,_=_+Math.imul(ze,ce)|0,a=(a=a+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0,b=b+Math.imul(Xe,Z)|0;var St=(k+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(a=(a=a+Math.imul(N,pt)|0)+Math.imul(q,Pe)|0))<<13)|0;k=((b=b+Math.imul(q,pt)|0)+(a>>>13)|0)+(St>>>26)|0,St&=67108863,_=Math.imul(ct,Nt),a=(a=Math.imul(ct,yt))+Math.imul(dt,Nt)|0,b=Math.imul(dt,yt),_=_+Math.imul(ue,Je)|0,a=(a=a+Math.imul(ue,et)|0)+Math.imul(Be,Je)|0,b=b+Math.imul(Be,et)|0,_=_+Math.imul(st,It)|0,a=(a=a+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,b=b+Math.imul(me,Qt)|0,_=_+Math.imul(ae,xt)|0,a=(a=a+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,b=b+Math.imul(he,Se)|0,_=_+Math.imul(oe,ce)|0,a=(a=a+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,b=b+Math.imul(X,Z)|0,_=_+Math.imul(ze,Pe)|0,a=(a=a+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0,b=b+Math.imul(Xe,pt)|0;var tt=(k+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(a=(a=a+Math.imul(N,Ge)|0)+Math.imul(q,Fe)|0))<<13)|0;k=((b=b+Math.imul(q,Ge)|0)+(a>>>13)|0)+(tt>>>26)|0,tt&=67108863,_=Math.imul(ve,Nt),a=(a=Math.imul(ve,yt))+Math.imul(_e,Nt)|0,b=Math.imul(_e,yt),_=_+Math.imul(ct,Je)|0,a=(a=a+Math.imul(ct,et)|0)+Math.imul(dt,Je)|0,b=b+Math.imul(dt,et)|0,_=_+Math.imul(ue,It)|0,a=(a=a+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,b=b+Math.imul(Be,Qt)|0,_=_+Math.imul(st,xt)|0,a=(a=a+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,b=b+Math.imul(me,Se)|0,_=_+Math.imul(ae,ce)|0,a=(a=a+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,b=b+Math.imul(he,Z)|0,_=_+Math.imul(oe,Pe)|0,a=(a=a+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,b=b+Math.imul(X,pt)|0,_=_+Math.imul(ze,Fe)|0,a=(a=a+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0,b=b+Math.imul(Xe,Ge)|0;var ot=(k+(_=_+Math.imul(N,at)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(q,at)|0))<<13)|0;k=((b=b+Math.imul(q,Lt)|0)+(a>>>13)|0)+(ot>>>26)|0,ot&=67108863,_=Math.imul(Ue,Nt),a=(a=Math.imul(Ue,yt))+Math.imul(je,Nt)|0,b=Math.imul(je,yt),_=_+Math.imul(ve,Je)|0,a=(a=a+Math.imul(ve,et)|0)+Math.imul(_e,Je)|0,b=b+Math.imul(_e,et)|0,_=_+Math.imul(ct,It)|0,a=(a=a+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,b=b+Math.imul(dt,Qt)|0,_=_+Math.imul(ue,xt)|0,a=(a=a+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,b=b+Math.imul(Be,Se)|0,_=_+Math.imul(st,ce)|0,a=(a=a+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,b=b+Math.imul(me,Z)|0,_=_+Math.imul(ae,Pe)|0,a=(a=a+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,b=b+Math.imul(he,pt)|0,_=_+Math.imul(oe,Fe)|0,a=(a=a+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,b=b+Math.imul(X,Ge)|0,_=_+Math.imul(ze,at)|0,a=(a=a+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0,b=b+Math.imul(Xe,Lt)|0;var Mt=(k+(_=_+Math.imul(N,$t)|0)|0)+((8191&(a=(a=a+Math.imul(N,Kt)|0)+Math.imul(q,$t)|0))<<13)|0;k=((b=b+Math.imul(q,Kt)|0)+(a>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul($e,Nt),a=(a=Math.imul($e,yt))+Math.imul(nt,Nt)|0,b=Math.imul(nt,yt),_=_+Math.imul(Ue,Je)|0,a=(a=a+Math.imul(Ue,et)|0)+Math.imul(je,Je)|0,b=b+Math.imul(je,et)|0,_=_+Math.imul(ve,It)|0,a=(a=a+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,b=b+Math.imul(_e,Qt)|0,_=_+Math.imul(ct,xt)|0,a=(a=a+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,b=b+Math.imul(dt,Se)|0,_=_+Math.imul(ue,ce)|0,a=(a=a+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,b=b+Math.imul(Be,Z)|0,_=_+Math.imul(st,Pe)|0,a=(a=a+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,b=b+Math.imul(me,pt)|0,_=_+Math.imul(ae,Fe)|0,a=(a=a+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,b=b+Math.imul(he,Ge)|0,_=_+Math.imul(oe,at)|0,a=(a=a+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,b=b+Math.imul(X,Lt)|0,_=_+Math.imul(ze,$t)|0,a=(a=a+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0,b=b+Math.imul(Xe,Kt)|0;var Bt=(k+(_=_+Math.imul(N,ti)|0)|0)+((8191&(a=(a=a+Math.imul(N,fi)|0)+Math.imul(q,ti)|0))<<13)|0;k=((b=b+Math.imul(q,fi)|0)+(a>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,_=Math.imul($e,Je),a=(a=Math.imul($e,et))+Math.imul(nt,Je)|0,b=Math.imul(nt,et),_=_+Math.imul(Ue,It)|0,a=(a=a+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,b=b+Math.imul(je,Qt)|0,_=_+Math.imul(ve,xt)|0,a=(a=a+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,b=b+Math.imul(_e,Se)|0,_=_+Math.imul(ct,ce)|0,a=(a=a+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,b=b+Math.imul(dt,Z)|0,_=_+Math.imul(ue,Pe)|0,a=(a=a+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,b=b+Math.imul(Be,pt)|0,_=_+Math.imul(st,Fe)|0,a=(a=a+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,b=b+Math.imul(me,Ge)|0,_=_+Math.imul(ae,at)|0,a=(a=a+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,b=b+Math.imul(he,Lt)|0,_=_+Math.imul(oe,$t)|0,a=(a=a+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,b=b+Math.imul(X,Kt)|0;var Ci=(k+(_=_+Math.imul(ze,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;k=((b=b+Math.imul(Xe,fi)|0)+(a>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,_=Math.imul($e,It),a=(a=Math.imul($e,Qt))+Math.imul(nt,It)|0,b=Math.imul(nt,Qt),_=_+Math.imul(Ue,xt)|0,a=(a=a+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,b=b+Math.imul(je,Se)|0,_=_+Math.imul(ve,ce)|0,a=(a=a+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,b=b+Math.imul(_e,Z)|0,_=_+Math.imul(ct,Pe)|0,a=(a=a+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,b=b+Math.imul(dt,pt)|0,_=_+Math.imul(ue,Fe)|0,a=(a=a+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,b=b+Math.imul(Be,Ge)|0,_=_+Math.imul(st,at)|0,a=(a=a+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,b=b+Math.imul(me,Lt)|0,_=_+Math.imul(ae,$t)|0,a=(a=a+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,b=b+Math.imul(he,Kt)|0;var Ti=(k+(_=_+Math.imul(oe,ti)|0)|0)+((8191&(a=(a=a+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0))<<13)|0;k=((b=b+Math.imul(X,fi)|0)+(a>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,_=Math.imul($e,xt),a=(a=Math.imul($e,Se))+Math.imul(nt,xt)|0,b=Math.imul(nt,Se),_=_+Math.imul(Ue,ce)|0,a=(a=a+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,b=b+Math.imul(je,Z)|0,_=_+Math.imul(ve,Pe)|0,a=(a=a+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,b=b+Math.imul(_e,pt)|0,_=_+Math.imul(ct,Fe)|0,a=(a=a+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,b=b+Math.imul(dt,Ge)|0,_=_+Math.imul(ue,at)|0,a=(a=a+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,b=b+Math.imul(Be,Lt)|0,_=_+Math.imul(st,$t)|0,a=(a=a+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,b=b+Math.imul(me,Kt)|0;var Hi=(k+(_=_+Math.imul(ae,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0))<<13)|0;k=((b=b+Math.imul(he,fi)|0)+(a>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul($e,ce),a=(a=Math.imul($e,Z))+Math.imul(nt,ce)|0,b=Math.imul(nt,Z),_=_+Math.imul(Ue,Pe)|0,a=(a=a+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,b=b+Math.imul(je,pt)|0,_=_+Math.imul(ve,Fe)|0,a=(a=a+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,b=b+Math.imul(_e,Ge)|0,_=_+Math.imul(ct,at)|0,a=(a=a+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,b=b+Math.imul(dt,Lt)|0,_=_+Math.imul(ue,$t)|0,a=(a=a+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,b=b+Math.imul(Be,Kt)|0;var Zi=(k+(_=_+Math.imul(st,ti)|0)|0)+((8191&(a=(a=a+Math.imul(st,fi)|0)+Math.imul(me,ti)|0))<<13)|0;k=((b=b+Math.imul(me,fi)|0)+(a>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul($e,Pe),a=(a=Math.imul($e,pt))+Math.imul(nt,Pe)|0,b=Math.imul(nt,pt),_=_+Math.imul(Ue,Fe)|0,a=(a=a+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,b=b+Math.imul(je,Ge)|0,_=_+Math.imul(ve,at)|0,a=(a=a+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,b=b+Math.imul(_e,Lt)|0,_=_+Math.imul(ct,$t)|0,a=(a=a+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,b=b+Math.imul(dt,Kt)|0;var ln=(k+(_=_+Math.imul(ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0))<<13)|0;k=((b=b+Math.imul(Be,fi)|0)+(a>>>13)|0)+(ln>>>26)|0,ln&=67108863,_=Math.imul($e,Fe),a=(a=Math.imul($e,Ge))+Math.imul(nt,Fe)|0,b=Math.imul(nt,Ge),_=_+Math.imul(Ue,at)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,b=b+Math.imul(je,Lt)|0,_=_+Math.imul(ve,$t)|0,a=(a=a+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,b=b+Math.imul(_e,Kt)|0;var mn=(k+(_=_+Math.imul(ct,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0))<<13)|0;k=((b=b+Math.imul(dt,fi)|0)+(a>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul($e,at),a=(a=Math.imul($e,Lt))+Math.imul(nt,at)|0,b=Math.imul(nt,Lt),_=_+Math.imul(Ue,$t)|0,a=(a=a+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,b=b+Math.imul(je,Kt)|0;var Ut=(k+(_=_+Math.imul(ve,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0))<<13)|0;k=((b=b+Math.imul(_e,fi)|0)+(a>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul($e,$t),a=(a=Math.imul($e,Kt))+Math.imul(nt,$t)|0,b=Math.imul(nt,Kt);var lt=(k+(_=_+Math.imul(Ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0))<<13)|0;k=((b=b+Math.imul(je,fi)|0)+(a>>>13)|0)+(lt>>>26)|0,lt&=67108863;var re=(k+(_=Math.imul($e,ti))|0)+((8191&(a=(a=Math.imul($e,fi))+Math.imul(nt,ti)|0))<<13)|0;return k=((b=Math.imul(nt,fi))+(a>>>13)|0)+(re>>>26)|0,re&=67108863,A[0]=xn,A[1]=tn,A[2]=Vi,A[3]=Qi,A[4]=Xt,A[5]=St,A[6]=tt,A[7]=ot,A[8]=Mt,A[9]=Bt,A[10]=Ci,A[11]=Ti,A[12]=Hi,A[13]=Zi,A[14]=ln,A[15]=mn,A[16]=Ut,A[17]=lt,A[18]=re,0!==k&&(A[19]=k,m.length++),m};function W(T,n,c){return(new Q).mulp(T,n,c)}function Q(T,n){this.x=T,this.y=n}Math.imul||(j=V),l.prototype.mulTo=function(n,c){var m,d=this.length+n.length;return m=10===this.length&&10===n.length?j(this,n,c):d<63?V(this,n,c):d<1024?function Y(T,n,c){c.negative=n.negative^T.negative,c.length=T.length+n.length;for(var m=0,d=0,C=0;C>>26)|0)>>>26,A&=67108863}c.words[C]=k,m=A,A=d}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):W(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,d=0;d>=1;return d},Q.prototype.permute=function(n,c,m,d,C,A){for(var k=0;k>>=1)C++;return 1<>>=13),C>>>=13;for(A=2*c;A>=26,c+=d/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,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 I(T){for(var n=new Array(T.bitLength()),c=0;c>>d}return n}(n);if(0===c.length)return new l(1);for(var m=this,d=0;d=0);var C,c=n%26,m=(n-c)/26,d=67108863>>>26-c<<26-c;if(0!==c){var A=0;for(C=0;C>>26-c}A&&(this.words[C]=A,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C=0),d=c?(c-c%26)/26:0;var C=n%26,A=Math.min((n-C)/26,this.length),k=67108863^67108863>>>C<A)for(this.length-=A,a=0;a=0&&(0!==b||a>=d);a--){var z=0|this.words[a];this.words[a]=b<<26-C|z>>>C,b=z&k}return _&&0!==b&&(_.words[_.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return x(0===this.negative),this.iushrn(n,c,m)},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){x("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<=0);var c=n%26,m=(n-c)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>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(x("number"==typeof n),x(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>26)-(_/67108864|0),this.words[C+m]=67108863&A}for(;C>26,this.words[C+m]=67108863&A;if(0===k)return this.strip();for(x(-1===k),k=0,C=0;C>26,this.words[C]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,d=this.clone(),C=n,A=0|C.words[C.length-1];0!=(m=26-this._countBits(A))&&(C=C.ushln(m),d.iushln(m),A=0|C.words[C.length-1]);var a,_=d.length-C.length;if("mod"!==c){(a=new l(null)).length=_+1,a.words=new Array(a.length);for(var b=0;b=0;N--){var q=67108864*(0|d.words[C.length+N])+(0|d.words[C.length+N-1]);for(q=Math.min(q/A|0,67108863),d._ishlnsubmul(C,q,N);0!==d.negative;)q--,d.negative=0,d._ishlnsubmul(C,1,N),d.isZero()||(d.negative^=1);a&&(a.words[N]=q)}return a&&a.strip(),d.strip(),"div"!==c&&0!==m&&d.iushrn(m),{div:a||null,mod:d}},l.prototype.divmod=function(n,c,m){return x(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,c),"mod"!==c&&(d=A.div.neg()),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:d,mod:C}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),c),"mod"!==c&&(d=A.div.neg()),{div:d,mod:A.mod}):this.negative&n.negative?(A=this.neg().divmod(n.neg(),c),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:A.div,mod:C}):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 d,C,A},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 m=0!==c.div.negative?c.mod.isub(n):c.mod,d=n.ushrn(1),C=n.andln(1),A=m.cmp(d);return A<0||1===C&&0===A?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){x(n<=67108863);for(var c=(1<<26)%n,m=0,d=this.length-1;d>=0;d--)m=(c*m+(0|this.words[d]))%n;return m},l.prototype.idivn=function(n){x(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var d=(0|this.words[m])+67108864*c;this.words[m]=d/n|0,c=d%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){x(0===n.negative),x(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=new l(0),k=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var a=m.clone(),b=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;)(d.isOdd()||C.isOdd())&&(d.iadd(a),C.isub(b)),d.iushrn(1),C.iushrn(1);for(var q=0,pe=1;!(m.words[0]&pe)&&q<26;++q,pe<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(a),k.isub(b)),A.iushrn(1),k.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(A),C.isub(k)):(m.isub(c),A.isub(d),k.isub(C))}return{a:A,b:k,gcd:m.iushln(_)}},l.prototype._invmp=function(n){x(0===n.negative),x(!n.isZero());var z,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var k=0,_=1;!(c.words[0]&_)&&k<26;++k,_<<=1);if(k>0)for(c.iushrn(k);k-- >0;)d.isOdd()&&d.iadd(A),d.iushrn(1);for(var a=0,b=1;!(m.words[0]&b)&&a<26;++a,b<<=1);if(a>0)for(m.iushrn(a);a-- >0;)C.isOdd()&&C.iadd(A),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(C)):(m.isub(c),C.isub(d))}return(z=0===c.cmpn(1)?d:C).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(),m=n.clone();c.negative=0,m.negative=0;for(var d=0;c.isEven()&&m.isEven();d++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var A=c;c=m,m=A}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(d)},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){x("number"==typeof n);var c=n%26,m=(n-c)/26,d=1<>>26,this.words[A]=k&=67108863}return 0!==C&&(this.words[A]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),x(n<=67108863,"Number is too big");var d=0|this.words[0];m=d===n?0:dn.length)return 1;if(this.length=0;m--){var d=0|this.words[m],C=0|n.words[m];if(d!==C){dC&&(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 Ce(n)},l.prototype.toRed=function(n){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return x(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 x(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return x(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ie(T,n){this.name=T,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 ee(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Ce(T){if("string"==typeof T){var n=l._prime(T);this.m=n.p,this.prime=n}else x(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function le(T){Ce.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var d=m0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ie.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ie.prototype.imulK=function(n){return n.imul(this.k)},D(ee,ie),ee.prototype.split=function(n,c){for(var m=4194303,d=Math.min(n.length,9),C=0;C>>22,A=k}n.words[C-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ee.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m>>=26,n.words[m]=C,c=d}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ee;else if("p224"===n)c=new fe;else if("p192"===n)c=new ne;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Ce.prototype._verify1=function(n){x(0===n.negative,"red works only with positives"),x(n.red,"red works only with red numbers")},Ce.prototype._verify2=function(n,c){x(!(n.negative|c.negative),"red works only with positives"),x(n.red&&n.red===c.red,"red works only with red numbers")},Ce.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Ce.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Ce.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Ce.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Ce.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Ce.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Ce.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Ce.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Ce.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Ce.prototype.isqr=function(n){return this.imul(n,n.clone())},Ce.prototype.sqr=function(n){return this.mul(n,n)},Ce.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(x(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var d=this.m.subn(1),C=0;!d.isZero()&&0===d.andln(1);)C++,d.iushrn(1);x(!d.isZero());var A=new l(1).toRed(this),k=A.redNeg(),_=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,_).cmp(k);)a.redIAdd(k);for(var b=this.pow(a,d),z=this.pow(n,d.addn(1).iushrn(1)),N=this.pow(n,d),q=C;0!==N.cmp(A);){for(var pe=N,ze=0;0!==pe.cmp(A);ze++)pe=pe.redSqr();x(ze=0;C--){for(var b=c.words[C],z=a-1;z>=0;z--){var N=b>>z&1;A!==d[0]&&(A=this.sqr(A)),0!==N||0!==k?(k<<=1,k|=N,(4==++_||0===C&&0===z)&&(A=this.mul(A,d[k]),_=0,k=0)):_=0}a=26}return A},Ce.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Ce.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new le(n)},D(le,Ce),le.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},le.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},le.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},4356:Qe=>{"use strict";var e,te="object"==typeof Reflect?Reflect:null,g=te&&"function"==typeof te.apply?te.apply:function(ie,ee,fe){return Function.prototype.apply.call(ie,ee,fe)};e=te&&"function"==typeof te.ownKeys?te.ownKeys:Object.getOwnPropertySymbols?function(ie){return Object.getOwnPropertyNames(ie).concat(Object.getOwnPropertySymbols(ie))}:function(ie){return Object.getOwnPropertyNames(ie)};var x=Number.isNaN||function(ie){return ie!=ie};function D(){D.init.call(this)}Qe.exports=D,Qe.exports.once=function Y(J,ie){return new Promise(function(ee,fe){function ne(Ce){J.removeListener(ie,Me),fe(Ce)}function Me(){"function"==typeof J.removeListener&&J.removeListener("error",ne),ee([].slice.call(arguments))}Q(J,ie,Me,{once:!0}),"error"!==ie&&function W(J,ie,ee){"function"==typeof J.on&&Q(J,"error",ie,ee)}(J,ne,{once:!0})})},D.EventEmitter=D,D.prototype._events=void 0,D.prototype._eventsCount=0,D.prototype._maxListeners=void 0;var l=10;function w(J){if("function"!=typeof J)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof J)}function f(J){return void 0===J._maxListeners?D.defaultMaxListeners:J._maxListeners}function R(J,ie,ee,fe){var ne,Me,Ce;if(w(ee),void 0===(Me=J._events)?(Me=J._events=Object.create(null),J._eventsCount=0):(void 0!==Me.newListener&&(J.emit("newListener",ie,ee.listener?ee.listener:ee),Me=J._events),Ce=Me[ie]),void 0===Ce)Ce=Me[ie]=ee,++J._eventsCount;else if("function"==typeof Ce?Ce=Me[ie]=fe?[ee,Ce]:[Ce,ee]:fe?Ce.unshift(ee):Ce.push(ee),(ne=f(J))>0&&Ce.length>ne&&!Ce.warned){Ce.warned=!0;var le=new Error("Possible EventEmitter memory leak detected. "+Ce.length+" "+String(ie)+" listeners added. Use emitter.setMaxListeners() to increase limit");le.name="MaxListenersExceededWarning",le.emitter=J,le.type=ie,le.count=Ce.length,function t(J){console&&console.warn&&console.warn(J)}(le)}return J}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function S(J,ie,ee){var fe={fired:!1,wrapFn:void 0,target:J,type:ie,listener:ee},ne=h.bind(fe);return ne.listener=ee,fe.wrapFn=ne,ne}function y(J,ie,ee){var fe=J._events;if(void 0===fe)return[];var ne=fe[ie];return void 0===ne?[]:"function"==typeof ne?ee?[ne.listener||ne]:[ne]:ee?function j(J){for(var ie=new Array(J.length),ee=0;ee0&&(Ce=ee[0]),Ce instanceof Error)throw Ce;var le=new Error("Unhandled error."+(Ce?" ("+Ce.message+")":""));throw le.context=Ce,le}var T=Me[ie];if(void 0===T)return!1;if("function"==typeof T)g(T,this,ee);else{var n=T.length,c=I(T,n);for(fe=0;fe=0;Ce--)if(fe[Ce]===ee||fe[Ce].listener===ee){le=fe[Ce].listener,Me=Ce;break}if(Me<0)return this;0===Me?fe.shift():function V(J,ie){for(;ie+1=0;ne--)this.removeListener(ie,ee[ne]);return this},D.prototype.listeners=function(ie){return y(this,ie,!0)},D.prototype.rawListeners=function(ie){return y(this,ie,!1)},D.listenerCount=function(J,ie){return"function"==typeof J.listenerCount?J.listenerCount(ie):O.call(J,ie)},D.prototype.listenerCount=O,D.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},592:(Qe,te,g)=>{var e=g(7054).Buffer,t=g(4725);Qe.exports=function x(D,l,w,f){if(e.isBuffer(D)||(D=e.from(D,"binary")),l&&(e.isBuffer(l)||(l=e.from(l,"binary")),8!==l.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var R=w/8,h=e.alloc(R),S=e.alloc(f||0),y=e.alloc(0);R>0||f>0;){var O=new t;O.update(y),O.update(D),l&&O.update(l),y=O.digest();var I=0;if(R>0){var V=h.length-R;I=Math.min(R,y.length),y.copy(h,V,0,I),R-=I}if(I0){var j=S.length-f,Y=Math.min(f,y.length-I);y.copy(S,j,I,I+Y),f-=Y}}return y.fill(0),{key:h,iv:S}}},3686:(Qe,te,g)=>{"use strict";var e=g(7054).Buffer,t=g(7045).Transform;function l(w){t.call(this),this._block=e.allocUnsafe(w),this._blockSize=w,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}g(1993)(l,t),l.prototype._transform=function(w,f,R){var h=null;try{this.update(w,f)}catch(S){h=S}R(h)},l.prototype._flush=function(w){var f=null;try{this.push(this.digest())}catch(R){f=R}w(f)},l.prototype.update=function(w,f){if(function D(w,f){if(!e.isBuffer(w)&&"string"!=typeof w)throw new TypeError(f+" must be a string or a buffer")}(w,"Data"),this._finalized)throw new Error("Digest already called");e.isBuffer(w)||(w=e.from(w,f));for(var R=this._block,h=0;this._blockOffset+w.length-h>=this._blockSize;){for(var S=this._blockOffset;S0;++y)this._length[y]+=O,(O=this._length[y]/4294967296|0)>0&&(this._length[y]-=4294967296*O);return this},l.prototype._update=function(){throw new Error("_update is not implemented")},l.prototype.digest=function(w){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var f=this._digest();void 0!==w&&(f=f.toString(w)),this._block.fill(0),this._blockOffset=0;for(var R=0;R<4;++R)this._length[R]=0;return f},l.prototype._digest=function(){throw new Error("_digest is not implemented")},Qe.exports=l},2529:(Qe,te,g)=>{var e=te;e.utils=g(8283),e.common=g(2901),e.sha=g(8528),e.ripemd=g(5283),e.hmac=g(7163),e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160},2901:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(9210);function x(){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}te.BlockHash=x,x.prototype.update=function(l,w){if(l=e.toArray(l,w),this.pending=this.pending?this.pending.concat(l):l,this.pendingTotal+=l.length,this.pending.length>=this._delta8){var f=(l=this.pending).length%this._delta8;this.pending=l.slice(l.length-f,l.length),0===this.pending.length&&(this.pending=null),l=e.join32(l,0,l.length-f,this.endian);for(var R=0;R>>24&255,R[h++]=l>>>16&255,R[h++]=l>>>8&255,R[h++]=255&l}else for(R[h++]=255&l,R[h++]=l>>>8&255,R[h++]=l>>>16&255,R[h++]=l>>>24&255,R[h++]=0,R[h++]=0,R[h++]=0,R[h++]=0,S=8;S{"use strict";var e=g(8283),t=g(9210);function x(D,l,w){if(!(this instanceof x))return new x(D,l,w);this.Hash=D,this.blockSize=D.blockSize/8,this.outSize=D.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(l,w))}Qe.exports=x,x.prototype._init=function(l){l.length>this.blockSize&&(l=(new this.Hash).update(l).digest()),t(l.length<=this.blockSize);for(var w=l.length;w{"use strict";var e=g(8283),t=g(2901),x=e.rotl32,D=e.sum32,l=e.sum32_3,w=e.sum32_4,f=t.BlockHash;function R(){if(!(this instanceof R))return new R;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function h(Y,W,Q,J){return Y<=15?W^Q^J:Y<=31?W&Q|~W&J:Y<=47?(W|~Q)^J:Y<=63?W&J|Q&~J:W^(Q|~J)}function y(Y){return Y<=15?1352829926:Y<=31?1548603684:Y<=47?1836072691:Y<=63?2053994217:0}e.inherits(R,f),te.ripemd160=R,R.blockSize=512,R.outSize=160,R.hmacStrength=192,R.padLength=64,R.prototype._update=function(W,Q){for(var J=this.h[0],ie=this.h[1],ee=this.h[2],fe=this.h[3],ne=this.h[4],Me=J,Ce=ie,le=ee,T=fe,n=ne,c=0;c<80;c++){var m=D(x(w(J,h(c,ie,ee,fe),W[O[c]+Q],(Y=c)<=15?0:Y<=31?1518500249:Y<=47?1859775393:Y<=63?2400959708:2840853838),V[c]),ne);J=ne,ne=fe,fe=x(ee,10),ee=ie,ie=m,m=D(x(w(Me,h(79-c,Ce,le,T),W[I[c]+Q],y(c)),j[c]),n),Me=n,n=T,T=x(le,10),le=Ce,Ce=m}var Y;m=l(this.h[1],ee,T),this.h[1]=l(this.h[2],fe,n),this.h[2]=l(this.h[3],ne,Me),this.h[3]=l(this.h[4],J,Ce),this.h[4]=l(this.h[0],ie,le),this.h[0]=m},R.prototype._digest=function(W){return"hex"===W?e.toHex32(this.h,"little"):e.split32(this.h,"little")};var O=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],I=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],V=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],j=[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:(Qe,te,g)=>{"use strict";te.sha1=g(3468),te.sha224=g(5563),te.sha256=g(7138),te.sha384=g(3898),te.sha512=g(827)},3468:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(2901),x=g(3161),D=e.rotl32,l=e.sum32,w=e.sum32_5,f=x.ft_1,R=t.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function S(){if(!(this instanceof S))return new S;R.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}e.inherits(S,R),Qe.exports=S,S.blockSize=512,S.outSize=160,S.hmacStrength=80,S.padLength=64,S.prototype._update=function(O,I){for(var V=this.W,j=0;j<16;j++)V[j]=O[I+j];for(;j{"use strict";var e=g(8283),t=g(7138);function x(){if(!(this instanceof x))return new x;t.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}e.inherits(x,t),Qe.exports=x,x.blockSize=512,x.outSize=224,x.hmacStrength=192,x.padLength=64,x.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")}},7138:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(2901),x=g(3161),D=g(9210),l=e.sum32,w=e.sum32_4,f=e.sum32_5,R=x.ch32,h=x.maj32,S=x.s0_256,y=x.s1_256,O=x.g0_256,I=x.g1_256,V=t.BlockHash,j=[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 Y(){if(!(this instanceof Y))return new Y;V.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=j,this.W=new Array(64)}e.inherits(Y,V),Qe.exports=Y,Y.blockSize=512,Y.outSize=256,Y.hmacStrength=192,Y.padLength=64,Y.prototype._update=function(Q,J){for(var ie=this.W,ee=0;ee<16;ee++)ie[ee]=Q[J+ee];for(;ee{"use strict";var e=g(8283),t=g(827);function x(){if(!(this instanceof x))return new x;t.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}e.inherits(x,t),Qe.exports=x,x.blockSize=1024,x.outSize=384,x.hmacStrength=192,x.padLength=128,x.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")}},827:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(2901),x=g(9210),D=e.rotr64_hi,l=e.rotr64_lo,w=e.shr64_hi,f=e.shr64_lo,R=e.sum64,h=e.sum64_hi,S=e.sum64_lo,y=e.sum64_4_hi,O=e.sum64_4_lo,I=e.sum64_5_hi,V=e.sum64_5_lo,j=t.BlockHash,Y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function W(){if(!(this instanceof W))return new W;j.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=Y,this.W=new Array(160)}function Q(m,d,C,A,k){var _=m&C^~m&k;return _<0&&(_+=4294967296),_}function J(m,d,C,A,k,_){var a=d&A^~d&_;return a<0&&(a+=4294967296),a}function ie(m,d,C,A,k){var _=m&C^m&k^C&k;return _<0&&(_+=4294967296),_}function ee(m,d,C,A,k,_){var a=d&A^d&_^A&_;return a<0&&(a+=4294967296),a}function fe(m,d){var _=D(m,d,28)^D(d,m,2)^D(d,m,7);return _<0&&(_+=4294967296),_}function ne(m,d){var _=l(m,d,28)^l(d,m,2)^l(d,m,7);return _<0&&(_+=4294967296),_}function Me(m,d){var _=D(m,d,14)^D(m,d,18)^D(d,m,9);return _<0&&(_+=4294967296),_}function Ce(m,d){var _=l(m,d,14)^l(m,d,18)^l(d,m,9);return _<0&&(_+=4294967296),_}function le(m,d){var _=D(m,d,1)^D(m,d,8)^w(m,d,7);return _<0&&(_+=4294967296),_}function T(m,d){var _=l(m,d,1)^l(m,d,8)^f(m,d,7);return _<0&&(_+=4294967296),_}function n(m,d){var _=D(m,d,19)^D(d,m,29)^w(m,d,6);return _<0&&(_+=4294967296),_}function c(m,d){var _=l(m,d,19)^l(d,m,29)^f(m,d,6);return _<0&&(_+=4294967296),_}e.inherits(W,j),Qe.exports=W,W.blockSize=1024,W.outSize=512,W.hmacStrength=192,W.padLength=128,W.prototype._prepareBlock=function(d,C){for(var A=this.W,k=0;k<32;k++)A[k]=d[C+k];for(;k{"use strict";var t=g(8283).rotr32;function D(y,O,I){return y&O^~y&I}function l(y,O,I){return y&O^y&I^O&I}function w(y,O,I){return y^O^I}te.ft_1=function x(y,O,I,V){return 0===y?D(O,I,V):1===y||3===y?w(O,I,V):2===y?l(O,I,V):void 0},te.ch32=D,te.maj32=l,te.p32=w,te.s0_256=function f(y){return t(y,2)^t(y,13)^t(y,22)},te.s1_256=function R(y){return t(y,6)^t(y,11)^t(y,25)},te.g0_256=function h(y){return t(y,7)^t(y,18)^y>>>3},te.g1_256=function S(y){return t(y,17)^t(y,19)^y>>>10}},8283:(Qe,te,g)=>{"use strict";var e=g(9210),t=g(1993);function x(c,m){return!(55296!=(64512&c.charCodeAt(m))||m<0||m+1>=c.length)&&56320==(64512&c.charCodeAt(m+1))}function w(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 h(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}te.inherits=t,te.toArray=function D(c,m){if(Array.isArray(c))return c.slice();if(!c)return[];var d=[];if("string"==typeof c)if(m){if("hex"===m)for((c=c.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(c="0"+c),A=0;A>6|192,d[C++]=63&k|128):x(c,A)?(k=65536+((1023&k)<<10)+(1023&c.charCodeAt(++A)),d[C++]=k>>18|240,d[C++]=k>>12&63|128,d[C++]=k>>6&63|128,d[C++]=63&k|128):(d[C++]=k>>12|224,d[C++]=k>>6&63|128,d[C++]=63&k|128)}else for(A=0;A>>0;return k},te.split32=function y(c,m){for(var d=new Array(4*c.length),C=0,A=0;C>>24,d[A+1]=k>>>16&255,d[A+2]=k>>>8&255,d[A+3]=255&k):(d[A+3]=k>>>24,d[A+2]=k>>>16&255,d[A+1]=k>>>8&255,d[A]=255&k)}return d},te.rotr32=function O(c,m){return c>>>m|c<<32-m},te.rotl32=function I(c,m){return c<>>32-m},te.sum32=function V(c,m){return c+m>>>0},te.sum32_3=function j(c,m,d){return c+m+d>>>0},te.sum32_4=function Y(c,m,d,C){return c+m+d+C>>>0},te.sum32_5=function W(c,m,d,C,A){return c+m+d+C+A>>>0},te.sum64=function Q(c,m,d,C){var _=C+c[m+1]>>>0;c[m]=(_>>0,c[m+1]=_},te.sum64_hi=function J(c,m,d,C){return(m+C>>>0>>0},te.sum64_lo=function ie(c,m,d,C){return m+C>>>0},te.sum64_4_hi=function ee(c,m,d,C,A,k,_,a){var b=0,z=m;return b+=(z=z+C>>>0)>>0)>>0)>>0},te.sum64_4_lo=function fe(c,m,d,C,A,k,_,a){return m+C+k+a>>>0},te.sum64_5_hi=function ne(c,m,d,C,A,k,_,a,b,z){var N=0,q=m;return N+=(q=q+C>>>0)>>0)>>0)>>0)>>0},te.sum64_5_lo=function Me(c,m,d,C,A,k,_,a,b,z){return m+C+k+a+z>>>0},te.rotr64_hi=function Ce(c,m,d){return(m<<32-d|c>>>d)>>>0},te.rotr64_lo=function le(c,m,d){return(c<<32-d|m>>>d)>>>0},te.shr64_hi=function T(c,m,d){return c>>>d},te.shr64_lo=function n(c,m,d){return(c<<32-d|m>>>d)>>>0}},3556:(Qe,te,g)=>{"use strict";var e=g(2529),t=g(1832),x=g(9210);function D(l){if(!(this instanceof D))return new D(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 w=t.toArray(l.entropy,l.entropyEnc||"hex"),f=t.toArray(l.nonce,l.nonceEnc||"hex"),R=t.toArray(l.pers,l.persEnc||"hex");x(w.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(w,f,R)}Qe.exports=D,D.prototype._init=function(w,f,R){var h=w.concat(f).concat(R);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var S=0;S=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(w.concat(R||[])),this._reseed=1},D.prototype.generate=function(w,f,R,h){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof f&&(h=R,R=f,f=null),R&&(R=t.toArray(R,h||"hex"),this._update(R));for(var S=[];S.length{te.read=function(g,e,t,x,D){var l,w,f=8*D-x-1,R=(1<>1,S=-7,y=t?D-1:0,O=t?-1:1,I=g[e+y];for(y+=O,l=I&(1<<-S)-1,I>>=-S,S+=f;S>0;l=256*l+g[e+y],y+=O,S-=8);for(w=l&(1<<-S)-1,l>>=-S,S+=x;S>0;w=256*w+g[e+y],y+=O,S-=8);if(0===l)l=1-h;else{if(l===R)return w?NaN:1/0*(I?-1:1);w+=Math.pow(2,x),l-=h}return(I?-1:1)*w*Math.pow(2,l-x)},te.write=function(g,e,t,x,D,l){var w,f,R,h=8*l-D-1,S=(1<>1,O=23===D?Math.pow(2,-24)-Math.pow(2,-77):0,I=x?0:l-1,V=x?1:-1,j=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=isNaN(e)?1:0,w=S):(w=Math.floor(Math.log(e)/Math.LN2),e*(R=Math.pow(2,-w))<1&&(w--,R*=2),(e+=w+y>=1?O/R:O*Math.pow(2,1-y))*R>=2&&(w++,R/=2),w+y>=S?(f=0,w=S):w+y>=1?(f=(e*R-1)*Math.pow(2,D),w+=y):(f=e*Math.pow(2,y-1)*Math.pow(2,D),w=0));D>=8;g[t+I]=255&f,I+=V,f/=256,D-=8);for(w=w<0;g[t+I]=255&w,I+=V,w/=256,h-=8);g[t+I-V]|=128*j}},1993:Qe=>{Qe.exports="function"==typeof Object.create?function(g,e){e&&(g.super_=e,g.prototype=Object.create(e.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}))}:function(g,e){if(e){g.super_=e;var t=function(){};t.prototype=e.prototype,g.prototype=new t,g.prototype.constructor=g}}},53:Qe=>{var te={}.toString;Qe.exports=Array.isArray||function(g){return"[object Array]"==te.call(g)}},4725:(Qe,te,g)=>{"use strict";var e=g(1993),t=g(3686),x=g(7054).Buffer,D=new Array(16);function l(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function w(y,O){return y<>>32-O}function f(y,O,I,V,j,Y,W){return w(y+(O&I|~O&V)+j+Y|0,W)+O|0}function R(y,O,I,V,j,Y,W){return w(y+(O&V|I&~V)+j+Y|0,W)+O|0}function h(y,O,I,V,j,Y,W){return w(y+(O^I^V)+j+Y|0,W)+O|0}function S(y,O,I,V,j,Y,W){return w(y+(I^(O|~V))+j+Y|0,W)+O|0}e(l,t),l.prototype._update=function(){for(var y=D,O=0;O<16;++O)y[O]=this._block.readInt32LE(4*O);var I=this._a,V=this._b,j=this._c,Y=this._d;I=f(I,V,j,Y,y[0],3614090360,7),Y=f(Y,I,V,j,y[1],3905402710,12),j=f(j,Y,I,V,y[2],606105819,17),V=f(V,j,Y,I,y[3],3250441966,22),I=f(I,V,j,Y,y[4],4118548399,7),Y=f(Y,I,V,j,y[5],1200080426,12),j=f(j,Y,I,V,y[6],2821735955,17),V=f(V,j,Y,I,y[7],4249261313,22),I=f(I,V,j,Y,y[8],1770035416,7),Y=f(Y,I,V,j,y[9],2336552879,12),j=f(j,Y,I,V,y[10],4294925233,17),V=f(V,j,Y,I,y[11],2304563134,22),I=f(I,V,j,Y,y[12],1804603682,7),Y=f(Y,I,V,j,y[13],4254626195,12),j=f(j,Y,I,V,y[14],2792965006,17),I=R(I,V=f(V,j,Y,I,y[15],1236535329,22),j,Y,y[1],4129170786,5),Y=R(Y,I,V,j,y[6],3225465664,9),j=R(j,Y,I,V,y[11],643717713,14),V=R(V,j,Y,I,y[0],3921069994,20),I=R(I,V,j,Y,y[5],3593408605,5),Y=R(Y,I,V,j,y[10],38016083,9),j=R(j,Y,I,V,y[15],3634488961,14),V=R(V,j,Y,I,y[4],3889429448,20),I=R(I,V,j,Y,y[9],568446438,5),Y=R(Y,I,V,j,y[14],3275163606,9),j=R(j,Y,I,V,y[3],4107603335,14),V=R(V,j,Y,I,y[8],1163531501,20),I=R(I,V,j,Y,y[13],2850285829,5),Y=R(Y,I,V,j,y[2],4243563512,9),j=R(j,Y,I,V,y[7],1735328473,14),I=h(I,V=R(V,j,Y,I,y[12],2368359562,20),j,Y,y[5],4294588738,4),Y=h(Y,I,V,j,y[8],2272392833,11),j=h(j,Y,I,V,y[11],1839030562,16),V=h(V,j,Y,I,y[14],4259657740,23),I=h(I,V,j,Y,y[1],2763975236,4),Y=h(Y,I,V,j,y[4],1272893353,11),j=h(j,Y,I,V,y[7],4139469664,16),V=h(V,j,Y,I,y[10],3200236656,23),I=h(I,V,j,Y,y[13],681279174,4),Y=h(Y,I,V,j,y[0],3936430074,11),j=h(j,Y,I,V,y[3],3572445317,16),V=h(V,j,Y,I,y[6],76029189,23),I=h(I,V,j,Y,y[9],3654602809,4),Y=h(Y,I,V,j,y[12],3873151461,11),j=h(j,Y,I,V,y[15],530742520,16),I=S(I,V=h(V,j,Y,I,y[2],3299628645,23),j,Y,y[0],4096336452,6),Y=S(Y,I,V,j,y[7],1126891415,10),j=S(j,Y,I,V,y[14],2878612391,15),V=S(V,j,Y,I,y[5],4237533241,21),I=S(I,V,j,Y,y[12],1700485571,6),Y=S(Y,I,V,j,y[3],2399980690,10),j=S(j,Y,I,V,y[10],4293915773,15),V=S(V,j,Y,I,y[1],2240044497,21),I=S(I,V,j,Y,y[8],1873313359,6),Y=S(Y,I,V,j,y[15],4264355552,10),j=S(j,Y,I,V,y[6],2734768916,15),V=S(V,j,Y,I,y[13],1309151649,21),I=S(I,V,j,Y,y[4],4149444226,6),Y=S(Y,I,V,j,y[11],3174756917,10),j=S(j,Y,I,V,y[2],718787259,15),V=S(V,j,Y,I,y[9],3951481745,21),this._a=this._a+I|0,this._b=this._b+V|0,this._c=this._c+j|0,this._d=this._d+Y|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=x.allocUnsafe(16);return y.writeInt32LE(this._a,0),y.writeInt32LE(this._b,4),y.writeInt32LE(this._c,8),y.writeInt32LE(this._d,12),y},Qe.exports=l},3459:(Qe,te,g)=>{var e=g(7223),t=g(5294);function x(D){this.rand=D||new t.Rand}Qe.exports=x,x.create=function(l){return new x(l)},x.prototype._randbelow=function(l){var w=l.bitLength(),f=Math.ceil(w/8);do{var R=new e(this.rand.generate(f))}while(R.cmp(l)>=0);return R},x.prototype._randrange=function(l,w){var f=w.sub(l);return l.add(this._randbelow(f))},x.prototype.test=function(l,w,f){var R=l.bitLength(),h=e.mont(l),S=new e(1).toRed(h);w||(w=Math.max(1,R/48|0));for(var y=l.subn(1),O=0;!y.testn(O);O++);for(var I=l.shrn(O),V=y.toRed(h);w>0;w--){var Y=this._randrange(new e(2),y);f&&f(Y);var W=Y.toRed(h).redPow(I);if(0!==W.cmp(S)&&0!==W.cmp(V)){for(var Q=1;Q0;w--){var V=this._randrange(new e(2),S),j=l.gcd(V);if(0!==j.cmpn(1))return j;var Y=V.toRed(R).redPow(O);if(0!==Y.cmp(h)&&0!==Y.cmp(I)){for(var W=1;W=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(T,n,c){var m=f(T,c);return c-1>=n&&(m|=f(T,c-1)<<4),m}function h(T,n,c,m){for(var d=0,C=Math.min(T.length,c),A=n;A=49?k-49+10:k>=17?k-17+10:k}return d}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,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),x(c===(0|c)&&c>=2&&c<=36);var d=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(d++,this.negative=1),d=0;d-=3)this.words[C]|=(A=n[d]|n[d-1]<<8|n[d-2]<<16)<>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);else if("le"===m)for(d=0,C=0;d>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var d=0;d=c;d-=2)k=R(n,c,d)<=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;else for(d=(n.length-c)%2==0?c+1:c;d=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var d=0,C=1;C<=67108863;C*=c)d++;d--,C=C/c|0;for(var A=n.length-m,k=A%d,_=Math.min(A,A-k)+m,a=0,b=m;b<_;b+=d)a=h(n,b,b+d,c),this.imuln(C),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==k){var z=1;for(a=h(n,b,n.length,c),b=0;b1&&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?""};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],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],O=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(T,n,c){c.negative=n.negative^T.negative;var m=T.length+n.length|0;c.length=m,m=m-1|0;var d=0|T.words[0],C=0|n.words[0],A=d*C,_=A/67108864|0;c.words[0]=67108863&A;for(var a=1;a>>26,z=67108863&_,N=Math.min(a,n.length-1),q=Math.max(0,a-T.length+1);q<=N;q++)b+=(A=(d=0|T.words[a-q|0])*(C=0|n.words[q])+z)/67108864|0,z=67108863&A;c.words[a]=0|z,_=0|b}return 0!==_?c.words[a]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var d=0,C=0,A=0;A>>24-d&16777215)||A!==this.length-1?S[6-_.length]+_+m:_+m,(d+=2)>=26&&(d-=26,A--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var a=y[n],b=O[n];m="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(b).toString(n);m=(z=z.idivn(b)).isZero()?N+m:S[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}x(!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&&x(!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 x(typeof w<"u"),this.toArrayLike(w,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var d=this.byteLength(),C=m||Math.max(1,d);x(d<=C,"byte array longer than desired length"),x(C>0,"Requested array length <= 0"),this.strip();var _,a,A="le"===c,k=new n(C),b=this.clone();if(A){for(a=0;!b.isZero();a++)_=b.andln(255),b.iushrn(8),k[a]=_;for(;a=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},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;cn.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 m=0;mn.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,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var d=0;dn.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){x("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var d=0;d0&&(this.words[d]=~this.words[d]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){x("number"==typeof n&&n>=0);var m=n/26|0,d=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<n.length?(m=this,d=n):(m=n,d=this);for(var C=0,A=0;A>>26;for(;0!==C&&A>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;An.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 d,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(d=this,C=n):(d=n,C=this);for(var A=0,k=0;k>26,this.words[k]=67108863&c;for(;0!==A&&k>26,this.words[k]=67108863&c;if(0===A&&k>>13,pe=0|d[1],ze=8191&pe,Xe=pe>>>13,We=0|d[2],oe=8191&We,X=We>>>13,se=0|d[3],ae=8191&se,he=se>>>13,Ie=0|d[4],st=8191&Ie,me=Ie>>>13,Ee=0|d[5],ue=8191&Ee,Be=Ee>>>13,Ct=0|d[6],ct=8191&Ct,dt=Ct>>>13,Yt=0|d[7],ve=8191&Yt,_e=Yt>>>13,we=0|d[8],Ue=8191&we,je=we>>>13,vt=0|d[9],$e=8191&vt,nt=vt>>>13,qt=0|C[0],Nt=8191&qt,yt=qt>>>13,jt=0|C[1],Je=8191&jt,et=jt>>>13,Ae=0|C[2],It=8191&Ae,Qt=Ae>>>13,Tt=0|C[3],xt=8191&Tt,Se=Tt>>>13,Te=0|C[4],ce=8191&Te,Z=Te>>>13,Re=0|C[5],Pe=8191&Re,pt=Re>>>13,Ke=0|C[6],Fe=8191&Ke,Ge=Ke>>>13,qe=0|C[7],at=8191&qe,Lt=qe>>>13,pi=0|C[8],$t=8191&pi,Kt=pi>>>13,Ui=0|C[9],ti=8191&Ui,fi=Ui>>>13;m.negative=n.negative^c.negative,m.length=19;var xn=(k+(_=Math.imul(N,Nt))|0)+((8191&(a=(a=Math.imul(N,yt))+Math.imul(q,Nt)|0))<<13)|0;k=((b=Math.imul(q,yt))+(a>>>13)|0)+(xn>>>26)|0,xn&=67108863,_=Math.imul(ze,Nt),a=(a=Math.imul(ze,yt))+Math.imul(Xe,Nt)|0,b=Math.imul(Xe,yt);var tn=(k+(_=_+Math.imul(N,Je)|0)|0)+((8191&(a=(a=a+Math.imul(N,et)|0)+Math.imul(q,Je)|0))<<13)|0;k=((b=b+Math.imul(q,et)|0)+(a>>>13)|0)+(tn>>>26)|0,tn&=67108863,_=Math.imul(oe,Nt),a=(a=Math.imul(oe,yt))+Math.imul(X,Nt)|0,b=Math.imul(X,yt),_=_+Math.imul(ze,Je)|0,a=(a=a+Math.imul(ze,et)|0)+Math.imul(Xe,Je)|0,b=b+Math.imul(Xe,et)|0;var Vi=(k+(_=_+Math.imul(N,It)|0)|0)+((8191&(a=(a=a+Math.imul(N,Qt)|0)+Math.imul(q,It)|0))<<13)|0;k=((b=b+Math.imul(q,Qt)|0)+(a>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,_=Math.imul(ae,Nt),a=(a=Math.imul(ae,yt))+Math.imul(he,Nt)|0,b=Math.imul(he,yt),_=_+Math.imul(oe,Je)|0,a=(a=a+Math.imul(oe,et)|0)+Math.imul(X,Je)|0,b=b+Math.imul(X,et)|0,_=_+Math.imul(ze,It)|0,a=(a=a+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0,b=b+Math.imul(Xe,Qt)|0;var Qi=(k+(_=_+Math.imul(N,xt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Se)|0)+Math.imul(q,xt)|0))<<13)|0;k=((b=b+Math.imul(q,Se)|0)+(a>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(st,Nt),a=(a=Math.imul(st,yt))+Math.imul(me,Nt)|0,b=Math.imul(me,yt),_=_+Math.imul(ae,Je)|0,a=(a=a+Math.imul(ae,et)|0)+Math.imul(he,Je)|0,b=b+Math.imul(he,et)|0,_=_+Math.imul(oe,It)|0,a=(a=a+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,b=b+Math.imul(X,Qt)|0,_=_+Math.imul(ze,xt)|0,a=(a=a+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0,b=b+Math.imul(Xe,Se)|0;var Xt=(k+(_=_+Math.imul(N,ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,Z)|0)+Math.imul(q,ce)|0))<<13)|0;k=((b=b+Math.imul(q,Z)|0)+(a>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(ue,Nt),a=(a=Math.imul(ue,yt))+Math.imul(Be,Nt)|0,b=Math.imul(Be,yt),_=_+Math.imul(st,Je)|0,a=(a=a+Math.imul(st,et)|0)+Math.imul(me,Je)|0,b=b+Math.imul(me,et)|0,_=_+Math.imul(ae,It)|0,a=(a=a+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,b=b+Math.imul(he,Qt)|0,_=_+Math.imul(oe,xt)|0,a=(a=a+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,b=b+Math.imul(X,Se)|0,_=_+Math.imul(ze,ce)|0,a=(a=a+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0,b=b+Math.imul(Xe,Z)|0;var St=(k+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(a=(a=a+Math.imul(N,pt)|0)+Math.imul(q,Pe)|0))<<13)|0;k=((b=b+Math.imul(q,pt)|0)+(a>>>13)|0)+(St>>>26)|0,St&=67108863,_=Math.imul(ct,Nt),a=(a=Math.imul(ct,yt))+Math.imul(dt,Nt)|0,b=Math.imul(dt,yt),_=_+Math.imul(ue,Je)|0,a=(a=a+Math.imul(ue,et)|0)+Math.imul(Be,Je)|0,b=b+Math.imul(Be,et)|0,_=_+Math.imul(st,It)|0,a=(a=a+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,b=b+Math.imul(me,Qt)|0,_=_+Math.imul(ae,xt)|0,a=(a=a+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,b=b+Math.imul(he,Se)|0,_=_+Math.imul(oe,ce)|0,a=(a=a+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,b=b+Math.imul(X,Z)|0,_=_+Math.imul(ze,Pe)|0,a=(a=a+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0,b=b+Math.imul(Xe,pt)|0;var tt=(k+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(a=(a=a+Math.imul(N,Ge)|0)+Math.imul(q,Fe)|0))<<13)|0;k=((b=b+Math.imul(q,Ge)|0)+(a>>>13)|0)+(tt>>>26)|0,tt&=67108863,_=Math.imul(ve,Nt),a=(a=Math.imul(ve,yt))+Math.imul(_e,Nt)|0,b=Math.imul(_e,yt),_=_+Math.imul(ct,Je)|0,a=(a=a+Math.imul(ct,et)|0)+Math.imul(dt,Je)|0,b=b+Math.imul(dt,et)|0,_=_+Math.imul(ue,It)|0,a=(a=a+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,b=b+Math.imul(Be,Qt)|0,_=_+Math.imul(st,xt)|0,a=(a=a+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,b=b+Math.imul(me,Se)|0,_=_+Math.imul(ae,ce)|0,a=(a=a+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,b=b+Math.imul(he,Z)|0,_=_+Math.imul(oe,Pe)|0,a=(a=a+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,b=b+Math.imul(X,pt)|0,_=_+Math.imul(ze,Fe)|0,a=(a=a+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0,b=b+Math.imul(Xe,Ge)|0;var ot=(k+(_=_+Math.imul(N,at)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(q,at)|0))<<13)|0;k=((b=b+Math.imul(q,Lt)|0)+(a>>>13)|0)+(ot>>>26)|0,ot&=67108863,_=Math.imul(Ue,Nt),a=(a=Math.imul(Ue,yt))+Math.imul(je,Nt)|0,b=Math.imul(je,yt),_=_+Math.imul(ve,Je)|0,a=(a=a+Math.imul(ve,et)|0)+Math.imul(_e,Je)|0,b=b+Math.imul(_e,et)|0,_=_+Math.imul(ct,It)|0,a=(a=a+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,b=b+Math.imul(dt,Qt)|0,_=_+Math.imul(ue,xt)|0,a=(a=a+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,b=b+Math.imul(Be,Se)|0,_=_+Math.imul(st,ce)|0,a=(a=a+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,b=b+Math.imul(me,Z)|0,_=_+Math.imul(ae,Pe)|0,a=(a=a+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,b=b+Math.imul(he,pt)|0,_=_+Math.imul(oe,Fe)|0,a=(a=a+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,b=b+Math.imul(X,Ge)|0,_=_+Math.imul(ze,at)|0,a=(a=a+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0,b=b+Math.imul(Xe,Lt)|0;var Mt=(k+(_=_+Math.imul(N,$t)|0)|0)+((8191&(a=(a=a+Math.imul(N,Kt)|0)+Math.imul(q,$t)|0))<<13)|0;k=((b=b+Math.imul(q,Kt)|0)+(a>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul($e,Nt),a=(a=Math.imul($e,yt))+Math.imul(nt,Nt)|0,b=Math.imul(nt,yt),_=_+Math.imul(Ue,Je)|0,a=(a=a+Math.imul(Ue,et)|0)+Math.imul(je,Je)|0,b=b+Math.imul(je,et)|0,_=_+Math.imul(ve,It)|0,a=(a=a+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,b=b+Math.imul(_e,Qt)|0,_=_+Math.imul(ct,xt)|0,a=(a=a+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,b=b+Math.imul(dt,Se)|0,_=_+Math.imul(ue,ce)|0,a=(a=a+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,b=b+Math.imul(Be,Z)|0,_=_+Math.imul(st,Pe)|0,a=(a=a+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,b=b+Math.imul(me,pt)|0,_=_+Math.imul(ae,Fe)|0,a=(a=a+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,b=b+Math.imul(he,Ge)|0,_=_+Math.imul(oe,at)|0,a=(a=a+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,b=b+Math.imul(X,Lt)|0,_=_+Math.imul(ze,$t)|0,a=(a=a+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0,b=b+Math.imul(Xe,Kt)|0;var Bt=(k+(_=_+Math.imul(N,ti)|0)|0)+((8191&(a=(a=a+Math.imul(N,fi)|0)+Math.imul(q,ti)|0))<<13)|0;k=((b=b+Math.imul(q,fi)|0)+(a>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,_=Math.imul($e,Je),a=(a=Math.imul($e,et))+Math.imul(nt,Je)|0,b=Math.imul(nt,et),_=_+Math.imul(Ue,It)|0,a=(a=a+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,b=b+Math.imul(je,Qt)|0,_=_+Math.imul(ve,xt)|0,a=(a=a+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,b=b+Math.imul(_e,Se)|0,_=_+Math.imul(ct,ce)|0,a=(a=a+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,b=b+Math.imul(dt,Z)|0,_=_+Math.imul(ue,Pe)|0,a=(a=a+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,b=b+Math.imul(Be,pt)|0,_=_+Math.imul(st,Fe)|0,a=(a=a+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,b=b+Math.imul(me,Ge)|0,_=_+Math.imul(ae,at)|0,a=(a=a+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,b=b+Math.imul(he,Lt)|0,_=_+Math.imul(oe,$t)|0,a=(a=a+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,b=b+Math.imul(X,Kt)|0;var Ci=(k+(_=_+Math.imul(ze,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;k=((b=b+Math.imul(Xe,fi)|0)+(a>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,_=Math.imul($e,It),a=(a=Math.imul($e,Qt))+Math.imul(nt,It)|0,b=Math.imul(nt,Qt),_=_+Math.imul(Ue,xt)|0,a=(a=a+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,b=b+Math.imul(je,Se)|0,_=_+Math.imul(ve,ce)|0,a=(a=a+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,b=b+Math.imul(_e,Z)|0,_=_+Math.imul(ct,Pe)|0,a=(a=a+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,b=b+Math.imul(dt,pt)|0,_=_+Math.imul(ue,Fe)|0,a=(a=a+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,b=b+Math.imul(Be,Ge)|0,_=_+Math.imul(st,at)|0,a=(a=a+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,b=b+Math.imul(me,Lt)|0,_=_+Math.imul(ae,$t)|0,a=(a=a+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,b=b+Math.imul(he,Kt)|0;var Ti=(k+(_=_+Math.imul(oe,ti)|0)|0)+((8191&(a=(a=a+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0))<<13)|0;k=((b=b+Math.imul(X,fi)|0)+(a>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,_=Math.imul($e,xt),a=(a=Math.imul($e,Se))+Math.imul(nt,xt)|0,b=Math.imul(nt,Se),_=_+Math.imul(Ue,ce)|0,a=(a=a+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,b=b+Math.imul(je,Z)|0,_=_+Math.imul(ve,Pe)|0,a=(a=a+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,b=b+Math.imul(_e,pt)|0,_=_+Math.imul(ct,Fe)|0,a=(a=a+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,b=b+Math.imul(dt,Ge)|0,_=_+Math.imul(ue,at)|0,a=(a=a+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,b=b+Math.imul(Be,Lt)|0,_=_+Math.imul(st,$t)|0,a=(a=a+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,b=b+Math.imul(me,Kt)|0;var Hi=(k+(_=_+Math.imul(ae,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0))<<13)|0;k=((b=b+Math.imul(he,fi)|0)+(a>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul($e,ce),a=(a=Math.imul($e,Z))+Math.imul(nt,ce)|0,b=Math.imul(nt,Z),_=_+Math.imul(Ue,Pe)|0,a=(a=a+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,b=b+Math.imul(je,pt)|0,_=_+Math.imul(ve,Fe)|0,a=(a=a+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,b=b+Math.imul(_e,Ge)|0,_=_+Math.imul(ct,at)|0,a=(a=a+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,b=b+Math.imul(dt,Lt)|0,_=_+Math.imul(ue,$t)|0,a=(a=a+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,b=b+Math.imul(Be,Kt)|0;var Zi=(k+(_=_+Math.imul(st,ti)|0)|0)+((8191&(a=(a=a+Math.imul(st,fi)|0)+Math.imul(me,ti)|0))<<13)|0;k=((b=b+Math.imul(me,fi)|0)+(a>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul($e,Pe),a=(a=Math.imul($e,pt))+Math.imul(nt,Pe)|0,b=Math.imul(nt,pt),_=_+Math.imul(Ue,Fe)|0,a=(a=a+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,b=b+Math.imul(je,Ge)|0,_=_+Math.imul(ve,at)|0,a=(a=a+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,b=b+Math.imul(_e,Lt)|0,_=_+Math.imul(ct,$t)|0,a=(a=a+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,b=b+Math.imul(dt,Kt)|0;var ln=(k+(_=_+Math.imul(ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0))<<13)|0;k=((b=b+Math.imul(Be,fi)|0)+(a>>>13)|0)+(ln>>>26)|0,ln&=67108863,_=Math.imul($e,Fe),a=(a=Math.imul($e,Ge))+Math.imul(nt,Fe)|0,b=Math.imul(nt,Ge),_=_+Math.imul(Ue,at)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,b=b+Math.imul(je,Lt)|0,_=_+Math.imul(ve,$t)|0,a=(a=a+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,b=b+Math.imul(_e,Kt)|0;var mn=(k+(_=_+Math.imul(ct,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0))<<13)|0;k=((b=b+Math.imul(dt,fi)|0)+(a>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul($e,at),a=(a=Math.imul($e,Lt))+Math.imul(nt,at)|0,b=Math.imul(nt,Lt),_=_+Math.imul(Ue,$t)|0,a=(a=a+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,b=b+Math.imul(je,Kt)|0;var Ut=(k+(_=_+Math.imul(ve,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0))<<13)|0;k=((b=b+Math.imul(_e,fi)|0)+(a>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul($e,$t),a=(a=Math.imul($e,Kt))+Math.imul(nt,$t)|0,b=Math.imul(nt,Kt);var lt=(k+(_=_+Math.imul(Ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0))<<13)|0;k=((b=b+Math.imul(je,fi)|0)+(a>>>13)|0)+(lt>>>26)|0,lt&=67108863;var re=(k+(_=Math.imul($e,ti))|0)+((8191&(a=(a=Math.imul($e,fi))+Math.imul(nt,ti)|0))<<13)|0;return k=((b=Math.imul(nt,fi))+(a>>>13)|0)+(re>>>26)|0,re&=67108863,A[0]=xn,A[1]=tn,A[2]=Vi,A[3]=Qi,A[4]=Xt,A[5]=St,A[6]=tt,A[7]=ot,A[8]=Mt,A[9]=Bt,A[10]=Ci,A[11]=Ti,A[12]=Hi,A[13]=Zi,A[14]=ln,A[15]=mn,A[16]=Ut,A[17]=lt,A[18]=re,0!==k&&(A[19]=k,m.length++),m};function W(T,n,c){return(new Q).mulp(T,n,c)}function Q(T,n){this.x=T,this.y=n}Math.imul||(j=V),l.prototype.mulTo=function(n,c){var m,d=this.length+n.length;return m=10===this.length&&10===n.length?j(this,n,c):d<63?V(this,n,c):d<1024?function Y(T,n,c){c.negative=n.negative^T.negative,c.length=T.length+n.length;for(var m=0,d=0,C=0;C>>26)|0)>>>26,A&=67108863}c.words[C]=k,m=A,A=d}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):W(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,d=0;d>=1;return d},Q.prototype.permute=function(n,c,m,d,C,A){for(var k=0;k>>=1)C++;return 1<>>=13),C>>>=13;for(A=2*c;A>=26,c+=d/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,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 I(T){for(var n=new Array(T.bitLength()),c=0;c>>d}return n}(n);if(0===c.length)return new l(1);for(var m=this,d=0;d=0);var C,c=n%26,m=(n-c)/26,d=67108863>>>26-c<<26-c;if(0!==c){var A=0;for(C=0;C>>26-c}A&&(this.words[C]=A,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C=0),d=c?(c-c%26)/26:0;var C=n%26,A=Math.min((n-C)/26,this.length),k=67108863^67108863>>>C<A)for(this.length-=A,a=0;a=0&&(0!==b||a>=d);a--){var z=0|this.words[a];this.words[a]=b<<26-C|z>>>C,b=z&k}return _&&0!==b&&(_.words[_.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return x(0===this.negative),this.iushrn(n,c,m)},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){x("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<=0);var c=n%26,m=(n-c)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>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(x("number"==typeof n),x(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>26)-(_/67108864|0),this.words[C+m]=67108863&A}for(;C>26,this.words[C+m]=67108863&A;if(0===k)return this.strip();for(x(-1===k),k=0,C=0;C>26,this.words[C]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,d=this.clone(),C=n,A=0|C.words[C.length-1];0!=(m=26-this._countBits(A))&&(C=C.ushln(m),d.iushln(m),A=0|C.words[C.length-1]);var a,_=d.length-C.length;if("mod"!==c){(a=new l(null)).length=_+1,a.words=new Array(a.length);for(var b=0;b=0;N--){var q=67108864*(0|d.words[C.length+N])+(0|d.words[C.length+N-1]);for(q=Math.min(q/A|0,67108863),d._ishlnsubmul(C,q,N);0!==d.negative;)q--,d.negative=0,d._ishlnsubmul(C,1,N),d.isZero()||(d.negative^=1);a&&(a.words[N]=q)}return a&&a.strip(),d.strip(),"div"!==c&&0!==m&&d.iushrn(m),{div:a||null,mod:d}},l.prototype.divmod=function(n,c,m){return x(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,c),"mod"!==c&&(d=A.div.neg()),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:d,mod:C}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),c),"mod"!==c&&(d=A.div.neg()),{div:d,mod:A.mod}):this.negative&n.negative?(A=this.neg().divmod(n.neg(),c),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:A.div,mod:C}):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 d,C,A},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 m=0!==c.div.negative?c.mod.isub(n):c.mod,d=n.ushrn(1),C=n.andln(1),A=m.cmp(d);return A<0||1===C&&0===A?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){x(n<=67108863);for(var c=(1<<26)%n,m=0,d=this.length-1;d>=0;d--)m=(c*m+(0|this.words[d]))%n;return m},l.prototype.idivn=function(n){x(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var d=(0|this.words[m])+67108864*c;this.words[m]=d/n|0,c=d%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){x(0===n.negative),x(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=new l(0),k=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var a=m.clone(),b=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;)(d.isOdd()||C.isOdd())&&(d.iadd(a),C.isub(b)),d.iushrn(1),C.iushrn(1);for(var q=0,pe=1;!(m.words[0]&pe)&&q<26;++q,pe<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(a),k.isub(b)),A.iushrn(1),k.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(A),C.isub(k)):(m.isub(c),A.isub(d),k.isub(C))}return{a:A,b:k,gcd:m.iushln(_)}},l.prototype._invmp=function(n){x(0===n.negative),x(!n.isZero());var z,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var k=0,_=1;!(c.words[0]&_)&&k<26;++k,_<<=1);if(k>0)for(c.iushrn(k);k-- >0;)d.isOdd()&&d.iadd(A),d.iushrn(1);for(var a=0,b=1;!(m.words[0]&b)&&a<26;++a,b<<=1);if(a>0)for(m.iushrn(a);a-- >0;)C.isOdd()&&C.iadd(A),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(C)):(m.isub(c),C.isub(d))}return(z=0===c.cmpn(1)?d:C).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(),m=n.clone();c.negative=0,m.negative=0;for(var d=0;c.isEven()&&m.isEven();d++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var A=c;c=m,m=A}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(d)},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){x("number"==typeof n);var c=n%26,m=(n-c)/26,d=1<>>26,this.words[A]=k&=67108863}return 0!==C&&(this.words[A]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),x(n<=67108863,"Number is too big");var d=0|this.words[0];m=d===n?0:dn.length)return 1;if(this.length=0;m--){var d=0|this.words[m],C=0|n.words[m];if(d!==C){dC&&(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 Ce(n)},l.prototype.toRed=function(n){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return x(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 x(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return x(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ie(T,n){this.name=T,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 ee(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Ce(T){if("string"==typeof T){var n=l._prime(T);this.m=n.p,this.prime=n}else x(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function le(T){Ce.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var d=m0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ie.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ie.prototype.imulK=function(n){return n.imul(this.k)},D(ee,ie),ee.prototype.split=function(n,c){for(var m=4194303,d=Math.min(n.length,9),C=0;C>>22,A=k}n.words[C-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ee.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m>>=26,n.words[m]=C,c=d}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ee;else if("p224"===n)c=new fe;else if("p192"===n)c=new ne;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Ce.prototype._verify1=function(n){x(0===n.negative,"red works only with positives"),x(n.red,"red works only with red numbers")},Ce.prototype._verify2=function(n,c){x(!(n.negative|c.negative),"red works only with positives"),x(n.red&&n.red===c.red,"red works only with red numbers")},Ce.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Ce.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Ce.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Ce.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Ce.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Ce.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Ce.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Ce.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Ce.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Ce.prototype.isqr=function(n){return this.imul(n,n.clone())},Ce.prototype.sqr=function(n){return this.mul(n,n)},Ce.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(x(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var d=this.m.subn(1),C=0;!d.isZero()&&0===d.andln(1);)C++,d.iushrn(1);x(!d.isZero());var A=new l(1).toRed(this),k=A.redNeg(),_=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,_).cmp(k);)a.redIAdd(k);for(var b=this.pow(a,d),z=this.pow(n,d.addn(1).iushrn(1)),N=this.pow(n,d),q=C;0!==N.cmp(A);){for(var pe=N,ze=0;0!==pe.cmp(A);ze++)pe=pe.redSqr();x(ze=0;C--){for(var b=c.words[C],z=a-1;z>=0;z--){var N=b>>z&1;A!==d[0]&&(A=this.sqr(A)),0!==N||0!==k?(k<<=1,k|=N,(4==++_||0===C&&0===z)&&(A=this.mul(A,d[k]),_=0,k=0)):_=0}a=26}return A},Ce.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Ce.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new le(n)},D(le,Ce),le.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},le.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},le.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},9210:Qe=>{function te(g,e){if(!g)throw new Error(e||"Assertion failed")}Qe.exports=te,te.equal=function(e,t,x){if(e!=t)throw new Error(x||"Assertion failed: "+e+" != "+t)}},1832:(Qe,te)=>{"use strict";var g=te;function t(D){return 1===D.length?"0"+D:D}function x(D){for(var l="",w=0;w>8,S=255&R;h?w.push(h,S):w.push(S)}return w},g.zero2=t,g.toHex=x,g.encode=function(l,w){return"hex"===w?x(l):l}},1264:(Qe,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var e=g(4478);Object.keys(e).forEach(function(t){"default"!==t&&Object.defineProperty(te,t,{enumerable:!0,get:function(){return e[t]}})})},3138:(Qe,te,g)=>{"use strict";var e=g(1990);te.certificate=g(4772);var t=e.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});te.RSAPrivateKey=t;var x=e.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});te.RSAPublicKey=x;var D=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),l=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(D),this.key("subjectPublicKey").bitstr())});te.PublicKey=l;var w=e.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(D),this.key("subjectPrivateKey").octstr())});te.PrivateKey=w;var f=e.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});te.EncryptedPrivateKey=f;var R=e.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});te.DSAPrivateKey=R,te.DSAparam=e.define("DSAparam",function(){this.int()});var h=e.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),S=e.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())});te.ECPrivateKey=S,te.signature=e.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},4772:(Qe,te,g)=>{"use strict";var e=g(1990),t=e.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),x=e.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),D=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),l=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(D),this.key("subjectPublicKey").bitstr())}),w=e.define("RelativeDistinguishedName",function(){this.setof(x)}),f=e.define("RDNSequence",function(){this.seqof(w)}),R=e.define("Name",function(){this.choice({rdnSequence:this.use(f)})}),h=e.define("Validity",function(){this.seq().obj(this.key("notBefore").use(t),this.key("notAfter").use(t))}),S=e.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),y=e.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(D),this.key("issuer").use(R),this.key("validity").use(h),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(S).optional())}),O=e.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(y),this.key("signatureAlgorithm").use(D),this.key("signatureValue").bitstr())});Qe.exports=O},9472:(Qe,te,g)=>{"use strict";var e=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,t=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,x=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,D=g(592),l=g(3388),w=g(7054).Buffer;Qe.exports=function(f,R){var y,h=f.toString(),S=h.match(e);if(S){var I="aes"+S[1],V=w.from(S[2],"hex"),j=w.from(S[3].replace(/[\r\n]/g,""),"base64"),Y=D(R,V.slice(0,8),parseInt(S[1],10)).key,W=[],Q=l.createDecipheriv(I,Y,V);W.push(Q.update(j)),W.push(Q.final()),y=w.concat(W)}else{var O=h.match(x);y=w.from(O[2].replace(/[\r\n]/g,""),"base64")}return{tag:h.match(t)[1],data:y}}},5667:(Qe,te,g)=>{"use strict";var e=g(3138),t=g(5579),x=g(9472),D=g(3388),l=g(3397),w=g(7054).Buffer;function R(h){var S;"object"==typeof h&&!w.isBuffer(h)&&(S=h.passphrase,h=h.key),"string"==typeof h&&(h=w.from(h));var V,j,y=x(h,S),O=y.tag,I=y.data;switch(O){case"CERTIFICATE":j=e.certificate.decode(I,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(j||(j=e.PublicKey.decode(I,"der")),V=j.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(j.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return j.subjectPrivateKey=j.subjectPublicKey,{type:"ec",data:j};case"1.2.840.10040.4.1":return j.algorithm.params.pub_key=e.DSAparam.decode(j.subjectPublicKey.data,"der"),{type:"dsa",data:j.algorithm.params};default:throw new Error("unknown key id "+V)}case"ENCRYPTED PRIVATE KEY":I=function f(h,S){var y=h.algorithm.decrypt.kde.kdeparams.salt,O=parseInt(h.algorithm.decrypt.kde.kdeparams.iters.toString(),10),I=t[h.algorithm.decrypt.cipher.algo.join(".")],V=h.algorithm.decrypt.cipher.iv,j=h.subjectPrivateKey,Y=parseInt(I.split("-")[1],10)/8,W=l.pbkdf2Sync(S,y,O,Y,"sha1"),Q=D.createDecipheriv(I,W,V),J=[];return J.push(Q.update(j)),J.push(Q.final()),w.concat(J)}(I=e.EncryptedPrivateKey.decode(I,"der"),S);case"PRIVATE KEY":switch(V=(j=e.PrivateKey.decode(I,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(j.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:j.algorithm.curve,privateKey:e.ECPrivateKey.decode(j.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return j.algorithm.params.priv_key=e.DSAparam.decode(j.subjectPrivateKey,"der"),{type:"dsa",params:j.algorithm.params};default:throw new Error("unknown key id "+V)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(I,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(I,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(I,"der")};case"EC PRIVATE KEY":return{curve:(I=e.ECPrivateKey.decode(I,"der")).parameters.value,privateKey:I.privateKey};default:throw new Error("unknown key type "+O)}}R.signature=e.signature,Qe.exports=R},3397:(Qe,te,g)=>{te.pbkdf2=g(2685),te.pbkdf2Sync=g(9111)},2685:(Qe,te,g)=>{var w,y,e=g(7054).Buffer,t=g(6111),x=g(5392),D=g(9111),l=g(6643),f=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"},h=[];function O(){return y||(y=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function I(j,Y,W,Q,J){return f.importKey("raw",j,{name:"PBKDF2"},!1,["deriveBits"]).then(function(ie){return f.deriveBits({name:"PBKDF2",salt:Y,iterations:W,hash:{name:J}},ie,Q<<3)}).then(function(ie){return e.from(ie)})}Qe.exports=function(j,Y,W,Q,J,ie){"function"==typeof J&&(ie=J,J=void 0);var ee=R[(J=J||"sha1").toLowerCase()];if(ee&&"function"==typeof global.Promise){if(t(W,Q),j=l(j,x,"Password"),Y=l(Y,x,"Salt"),"function"!=typeof ie)throw new Error("No callback provided to pbkdf2");!function V(j,Y){j.then(function(W){O()(function(){Y(null,W)})},function(W){O()(function(){Y(W)})})}(function S(j){if(global.process&&!global.process.browser||!f||!f.importKey||!f.deriveBits)return Promise.resolve(!1);if(void 0!==h[j])return h[j];var Y=I(w=w||e.alloc(8),w,10,128,j).then(function(){return!0}).catch(function(){return!1});return h[j]=Y,Y}(ee).then(function(fe){return fe?I(j,Y,W,Q,ee):D(j,Y,W,Q,J)}),ie)}else O()(function(){var fe;try{fe=D(j,Y,W,Q,J)}catch(ne){return ie(ne)}ie(null,fe)})}},5392:Qe=>{var te;te=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",Qe.exports=te},6111:Qe=>{var te=Math.pow(2,30)-1;Qe.exports=function(g,e){if("number"!=typeof g)throw new TypeError("Iterations not a number");if(g<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>te||e!=e)throw new TypeError("Bad key length")}},9111:(Qe,te,g)=>{var e=g(3407),t=g(6636),x=g(5443),D=g(7054).Buffer,l=g(6111),w=g(5392),f=g(6643),R=D.alloc(128),h={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function S(I,V,j){var Y=function y(I){return"rmd160"===I||"ripemd160"===I?function j(Y){return(new t).update(Y).digest()}:"md5"===I?e:function V(Y){return x(I).update(Y).digest()}}(I),W="sha512"===I||"sha384"===I?128:64;V.length>W?V=Y(V):V.length{var e=g(7054).Buffer;Qe.exports=function(t,x,D){if(e.isBuffer(t))return t;if("string"==typeof t)return e.from(t,x);if(ArrayBuffer.isView(t))return e.from(t.buffer);throw new TypeError(D+" must be a string, a Buffer, a typed array or a DataView")}},9656:Qe=>{"use strict";Qe.exports=typeof process>"u"||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?{nextTick:function te(g,e,t,x){if("function"!=typeof g)throw new TypeError('"callback" argument must be a function');var l,w,D=arguments.length;switch(D){case 0:case 1:return process.nextTick(g);case 2:return process.nextTick(function(){g.call(null,e)});case 3:return process.nextTick(function(){g.call(null,e,t)});case 4:return process.nextTick(function(){g.call(null,e,t,x)});default:for(l=new Array(D-1),w=0;w{te.publicEncrypt=g(7267),te.privateDecrypt=g(8613),te.privateEncrypt=function(t,x){return te.publicEncrypt(t,x,!0)},te.publicDecrypt=function(t,x){return te.privateDecrypt(t,x,!0)}},715:(Qe,te,g)=>{var e=g(7211),t=g(7054).Buffer;function x(D){var l=t.allocUnsafe(4);return l.writeUInt32BE(D,0),l}Qe.exports=function(D,l){for(var R,w=t.alloc(0),f=0;w.length=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function R(T,n,c){var m=f(T,c);return c-1>=n&&(m|=f(T,c-1)<<4),m}function h(T,n,c,m){for(var d=0,C=Math.min(T.length,c),A=n;A=49?k-49+10:k>=17?k-17+10:k}return d}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,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),x(c===(0|c)&&c>=2&&c<=36);var d=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(d++,this.negative=1),d=0;d-=3)this.words[C]|=(A=n[d]|n[d-1]<<8|n[d-2]<<16)<>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);else if("le"===m)for(d=0,C=0;d>>26-k&67108863,(k+=24)>=26&&(k-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var d=0;d=c;d-=2)k=R(n,c,d)<=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;else for(d=(n.length-c)%2==0?c+1:c;d=18?(C-=18,this.words[A+=1]|=k>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var d=0,C=1;C<=67108863;C*=c)d++;d--,C=C/c|0;for(var A=n.length-m,k=A%d,_=Math.min(A,A-k)+m,a=0,b=m;b<_;b+=d)a=h(n,b,b+d,c),this.imuln(C),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==k){var z=1;for(a=h(n,b,n.length,c),b=0;b1&&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?""};var S=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],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],O=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(T,n,c){c.negative=n.negative^T.negative;var m=T.length+n.length|0;c.length=m,m=m-1|0;var d=0|T.words[0],C=0|n.words[0],A=d*C,_=A/67108864|0;c.words[0]=67108863&A;for(var a=1;a>>26,z=67108863&_,N=Math.min(a,n.length-1),q=Math.max(0,a-T.length+1);q<=N;q++)b+=(A=(d=0|T.words[a-q|0])*(C=0|n.words[q])+z)/67108864|0,z=67108863&A;c.words[a]=0|z,_=0|b}return 0!==_?c.words[a]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var d=0,C=0,A=0;A>>24-d&16777215)||A!==this.length-1?S[6-_.length]+_+m:_+m,(d+=2)>=26&&(d-=26,A--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var a=y[n],b=O[n];m="";var z=this.clone();for(z.negative=0;!z.isZero();){var N=z.modn(b).toString(n);m=(z=z.idivn(b)).isZero()?N+m:S[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}x(!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&&x(!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 x(typeof w<"u"),this.toArrayLike(w,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var d=this.byteLength(),C=m||Math.max(1,d);x(d<=C,"byte array longer than desired length"),x(C>0,"Requested array length <= 0"),this.strip();var _,a,A="le"===c,k=new n(C),b=this.clone();if(A){for(a=0;!b.isZero();a++)_=b.andln(255),b.iushrn(8),k[a]=_;for(;a=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},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;cn.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 m=0;mn.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,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var d=0;dn.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){x("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var d=0;d0&&(this.words[d]=~this.words[d]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){x("number"==typeof n&&n>=0);var m=n/26|0,d=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<n.length?(m=this,d=n):(m=n,d=this);for(var C=0,A=0;A>>26;for(;0!==C&&A>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;An.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 d,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(d=this,C=n):(d=n,C=this);for(var A=0,k=0;k>26,this.words[k]=67108863&c;for(;0!==A&&k>26,this.words[k]=67108863&c;if(0===A&&k>>13,pe=0|d[1],ze=8191&pe,Xe=pe>>>13,We=0|d[2],oe=8191&We,X=We>>>13,se=0|d[3],ae=8191&se,he=se>>>13,Ie=0|d[4],st=8191&Ie,me=Ie>>>13,Ee=0|d[5],ue=8191&Ee,Be=Ee>>>13,Ct=0|d[6],ct=8191&Ct,dt=Ct>>>13,Yt=0|d[7],ve=8191&Yt,_e=Yt>>>13,we=0|d[8],Ue=8191&we,je=we>>>13,vt=0|d[9],$e=8191&vt,nt=vt>>>13,qt=0|C[0],Nt=8191&qt,yt=qt>>>13,jt=0|C[1],Je=8191&jt,et=jt>>>13,Ae=0|C[2],It=8191&Ae,Qt=Ae>>>13,Tt=0|C[3],xt=8191&Tt,Se=Tt>>>13,Te=0|C[4],ce=8191&Te,Z=Te>>>13,Re=0|C[5],Pe=8191&Re,pt=Re>>>13,Ke=0|C[6],Fe=8191&Ke,Ge=Ke>>>13,qe=0|C[7],at=8191&qe,Lt=qe>>>13,pi=0|C[8],$t=8191&pi,Kt=pi>>>13,Ui=0|C[9],ti=8191&Ui,fi=Ui>>>13;m.negative=n.negative^c.negative,m.length=19;var xn=(k+(_=Math.imul(N,Nt))|0)+((8191&(a=(a=Math.imul(N,yt))+Math.imul(q,Nt)|0))<<13)|0;k=((b=Math.imul(q,yt))+(a>>>13)|0)+(xn>>>26)|0,xn&=67108863,_=Math.imul(ze,Nt),a=(a=Math.imul(ze,yt))+Math.imul(Xe,Nt)|0,b=Math.imul(Xe,yt);var tn=(k+(_=_+Math.imul(N,Je)|0)|0)+((8191&(a=(a=a+Math.imul(N,et)|0)+Math.imul(q,Je)|0))<<13)|0;k=((b=b+Math.imul(q,et)|0)+(a>>>13)|0)+(tn>>>26)|0,tn&=67108863,_=Math.imul(oe,Nt),a=(a=Math.imul(oe,yt))+Math.imul(X,Nt)|0,b=Math.imul(X,yt),_=_+Math.imul(ze,Je)|0,a=(a=a+Math.imul(ze,et)|0)+Math.imul(Xe,Je)|0,b=b+Math.imul(Xe,et)|0;var Vi=(k+(_=_+Math.imul(N,It)|0)|0)+((8191&(a=(a=a+Math.imul(N,Qt)|0)+Math.imul(q,It)|0))<<13)|0;k=((b=b+Math.imul(q,Qt)|0)+(a>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,_=Math.imul(ae,Nt),a=(a=Math.imul(ae,yt))+Math.imul(he,Nt)|0,b=Math.imul(he,yt),_=_+Math.imul(oe,Je)|0,a=(a=a+Math.imul(oe,et)|0)+Math.imul(X,Je)|0,b=b+Math.imul(X,et)|0,_=_+Math.imul(ze,It)|0,a=(a=a+Math.imul(ze,Qt)|0)+Math.imul(Xe,It)|0,b=b+Math.imul(Xe,Qt)|0;var Qi=(k+(_=_+Math.imul(N,xt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Se)|0)+Math.imul(q,xt)|0))<<13)|0;k=((b=b+Math.imul(q,Se)|0)+(a>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(st,Nt),a=(a=Math.imul(st,yt))+Math.imul(me,Nt)|0,b=Math.imul(me,yt),_=_+Math.imul(ae,Je)|0,a=(a=a+Math.imul(ae,et)|0)+Math.imul(he,Je)|0,b=b+Math.imul(he,et)|0,_=_+Math.imul(oe,It)|0,a=(a=a+Math.imul(oe,Qt)|0)+Math.imul(X,It)|0,b=b+Math.imul(X,Qt)|0,_=_+Math.imul(ze,xt)|0,a=(a=a+Math.imul(ze,Se)|0)+Math.imul(Xe,xt)|0,b=b+Math.imul(Xe,Se)|0;var Xt=(k+(_=_+Math.imul(N,ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,Z)|0)+Math.imul(q,ce)|0))<<13)|0;k=((b=b+Math.imul(q,Z)|0)+(a>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,_=Math.imul(ue,Nt),a=(a=Math.imul(ue,yt))+Math.imul(Be,Nt)|0,b=Math.imul(Be,yt),_=_+Math.imul(st,Je)|0,a=(a=a+Math.imul(st,et)|0)+Math.imul(me,Je)|0,b=b+Math.imul(me,et)|0,_=_+Math.imul(ae,It)|0,a=(a=a+Math.imul(ae,Qt)|0)+Math.imul(he,It)|0,b=b+Math.imul(he,Qt)|0,_=_+Math.imul(oe,xt)|0,a=(a=a+Math.imul(oe,Se)|0)+Math.imul(X,xt)|0,b=b+Math.imul(X,Se)|0,_=_+Math.imul(ze,ce)|0,a=(a=a+Math.imul(ze,Z)|0)+Math.imul(Xe,ce)|0,b=b+Math.imul(Xe,Z)|0;var St=(k+(_=_+Math.imul(N,Pe)|0)|0)+((8191&(a=(a=a+Math.imul(N,pt)|0)+Math.imul(q,Pe)|0))<<13)|0;k=((b=b+Math.imul(q,pt)|0)+(a>>>13)|0)+(St>>>26)|0,St&=67108863,_=Math.imul(ct,Nt),a=(a=Math.imul(ct,yt))+Math.imul(dt,Nt)|0,b=Math.imul(dt,yt),_=_+Math.imul(ue,Je)|0,a=(a=a+Math.imul(ue,et)|0)+Math.imul(Be,Je)|0,b=b+Math.imul(Be,et)|0,_=_+Math.imul(st,It)|0,a=(a=a+Math.imul(st,Qt)|0)+Math.imul(me,It)|0,b=b+Math.imul(me,Qt)|0,_=_+Math.imul(ae,xt)|0,a=(a=a+Math.imul(ae,Se)|0)+Math.imul(he,xt)|0,b=b+Math.imul(he,Se)|0,_=_+Math.imul(oe,ce)|0,a=(a=a+Math.imul(oe,Z)|0)+Math.imul(X,ce)|0,b=b+Math.imul(X,Z)|0,_=_+Math.imul(ze,Pe)|0,a=(a=a+Math.imul(ze,pt)|0)+Math.imul(Xe,Pe)|0,b=b+Math.imul(Xe,pt)|0;var tt=(k+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(a=(a=a+Math.imul(N,Ge)|0)+Math.imul(q,Fe)|0))<<13)|0;k=((b=b+Math.imul(q,Ge)|0)+(a>>>13)|0)+(tt>>>26)|0,tt&=67108863,_=Math.imul(ve,Nt),a=(a=Math.imul(ve,yt))+Math.imul(_e,Nt)|0,b=Math.imul(_e,yt),_=_+Math.imul(ct,Je)|0,a=(a=a+Math.imul(ct,et)|0)+Math.imul(dt,Je)|0,b=b+Math.imul(dt,et)|0,_=_+Math.imul(ue,It)|0,a=(a=a+Math.imul(ue,Qt)|0)+Math.imul(Be,It)|0,b=b+Math.imul(Be,Qt)|0,_=_+Math.imul(st,xt)|0,a=(a=a+Math.imul(st,Se)|0)+Math.imul(me,xt)|0,b=b+Math.imul(me,Se)|0,_=_+Math.imul(ae,ce)|0,a=(a=a+Math.imul(ae,Z)|0)+Math.imul(he,ce)|0,b=b+Math.imul(he,Z)|0,_=_+Math.imul(oe,Pe)|0,a=(a=a+Math.imul(oe,pt)|0)+Math.imul(X,Pe)|0,b=b+Math.imul(X,pt)|0,_=_+Math.imul(ze,Fe)|0,a=(a=a+Math.imul(ze,Ge)|0)+Math.imul(Xe,Fe)|0,b=b+Math.imul(Xe,Ge)|0;var ot=(k+(_=_+Math.imul(N,at)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(q,at)|0))<<13)|0;k=((b=b+Math.imul(q,Lt)|0)+(a>>>13)|0)+(ot>>>26)|0,ot&=67108863,_=Math.imul(Ue,Nt),a=(a=Math.imul(Ue,yt))+Math.imul(je,Nt)|0,b=Math.imul(je,yt),_=_+Math.imul(ve,Je)|0,a=(a=a+Math.imul(ve,et)|0)+Math.imul(_e,Je)|0,b=b+Math.imul(_e,et)|0,_=_+Math.imul(ct,It)|0,a=(a=a+Math.imul(ct,Qt)|0)+Math.imul(dt,It)|0,b=b+Math.imul(dt,Qt)|0,_=_+Math.imul(ue,xt)|0,a=(a=a+Math.imul(ue,Se)|0)+Math.imul(Be,xt)|0,b=b+Math.imul(Be,Se)|0,_=_+Math.imul(st,ce)|0,a=(a=a+Math.imul(st,Z)|0)+Math.imul(me,ce)|0,b=b+Math.imul(me,Z)|0,_=_+Math.imul(ae,Pe)|0,a=(a=a+Math.imul(ae,pt)|0)+Math.imul(he,Pe)|0,b=b+Math.imul(he,pt)|0,_=_+Math.imul(oe,Fe)|0,a=(a=a+Math.imul(oe,Ge)|0)+Math.imul(X,Fe)|0,b=b+Math.imul(X,Ge)|0,_=_+Math.imul(ze,at)|0,a=(a=a+Math.imul(ze,Lt)|0)+Math.imul(Xe,at)|0,b=b+Math.imul(Xe,Lt)|0;var Mt=(k+(_=_+Math.imul(N,$t)|0)|0)+((8191&(a=(a=a+Math.imul(N,Kt)|0)+Math.imul(q,$t)|0))<<13)|0;k=((b=b+Math.imul(q,Kt)|0)+(a>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul($e,Nt),a=(a=Math.imul($e,yt))+Math.imul(nt,Nt)|0,b=Math.imul(nt,yt),_=_+Math.imul(Ue,Je)|0,a=(a=a+Math.imul(Ue,et)|0)+Math.imul(je,Je)|0,b=b+Math.imul(je,et)|0,_=_+Math.imul(ve,It)|0,a=(a=a+Math.imul(ve,Qt)|0)+Math.imul(_e,It)|0,b=b+Math.imul(_e,Qt)|0,_=_+Math.imul(ct,xt)|0,a=(a=a+Math.imul(ct,Se)|0)+Math.imul(dt,xt)|0,b=b+Math.imul(dt,Se)|0,_=_+Math.imul(ue,ce)|0,a=(a=a+Math.imul(ue,Z)|0)+Math.imul(Be,ce)|0,b=b+Math.imul(Be,Z)|0,_=_+Math.imul(st,Pe)|0,a=(a=a+Math.imul(st,pt)|0)+Math.imul(me,Pe)|0,b=b+Math.imul(me,pt)|0,_=_+Math.imul(ae,Fe)|0,a=(a=a+Math.imul(ae,Ge)|0)+Math.imul(he,Fe)|0,b=b+Math.imul(he,Ge)|0,_=_+Math.imul(oe,at)|0,a=(a=a+Math.imul(oe,Lt)|0)+Math.imul(X,at)|0,b=b+Math.imul(X,Lt)|0,_=_+Math.imul(ze,$t)|0,a=(a=a+Math.imul(ze,Kt)|0)+Math.imul(Xe,$t)|0,b=b+Math.imul(Xe,Kt)|0;var Bt=(k+(_=_+Math.imul(N,ti)|0)|0)+((8191&(a=(a=a+Math.imul(N,fi)|0)+Math.imul(q,ti)|0))<<13)|0;k=((b=b+Math.imul(q,fi)|0)+(a>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,_=Math.imul($e,Je),a=(a=Math.imul($e,et))+Math.imul(nt,Je)|0,b=Math.imul(nt,et),_=_+Math.imul(Ue,It)|0,a=(a=a+Math.imul(Ue,Qt)|0)+Math.imul(je,It)|0,b=b+Math.imul(je,Qt)|0,_=_+Math.imul(ve,xt)|0,a=(a=a+Math.imul(ve,Se)|0)+Math.imul(_e,xt)|0,b=b+Math.imul(_e,Se)|0,_=_+Math.imul(ct,ce)|0,a=(a=a+Math.imul(ct,Z)|0)+Math.imul(dt,ce)|0,b=b+Math.imul(dt,Z)|0,_=_+Math.imul(ue,Pe)|0,a=(a=a+Math.imul(ue,pt)|0)+Math.imul(Be,Pe)|0,b=b+Math.imul(Be,pt)|0,_=_+Math.imul(st,Fe)|0,a=(a=a+Math.imul(st,Ge)|0)+Math.imul(me,Fe)|0,b=b+Math.imul(me,Ge)|0,_=_+Math.imul(ae,at)|0,a=(a=a+Math.imul(ae,Lt)|0)+Math.imul(he,at)|0,b=b+Math.imul(he,Lt)|0,_=_+Math.imul(oe,$t)|0,a=(a=a+Math.imul(oe,Kt)|0)+Math.imul(X,$t)|0,b=b+Math.imul(X,Kt)|0;var Ci=(k+(_=_+Math.imul(ze,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ze,fi)|0)+Math.imul(Xe,ti)|0))<<13)|0;k=((b=b+Math.imul(Xe,fi)|0)+(a>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,_=Math.imul($e,It),a=(a=Math.imul($e,Qt))+Math.imul(nt,It)|0,b=Math.imul(nt,Qt),_=_+Math.imul(Ue,xt)|0,a=(a=a+Math.imul(Ue,Se)|0)+Math.imul(je,xt)|0,b=b+Math.imul(je,Se)|0,_=_+Math.imul(ve,ce)|0,a=(a=a+Math.imul(ve,Z)|0)+Math.imul(_e,ce)|0,b=b+Math.imul(_e,Z)|0,_=_+Math.imul(ct,Pe)|0,a=(a=a+Math.imul(ct,pt)|0)+Math.imul(dt,Pe)|0,b=b+Math.imul(dt,pt)|0,_=_+Math.imul(ue,Fe)|0,a=(a=a+Math.imul(ue,Ge)|0)+Math.imul(Be,Fe)|0,b=b+Math.imul(Be,Ge)|0,_=_+Math.imul(st,at)|0,a=(a=a+Math.imul(st,Lt)|0)+Math.imul(me,at)|0,b=b+Math.imul(me,Lt)|0,_=_+Math.imul(ae,$t)|0,a=(a=a+Math.imul(ae,Kt)|0)+Math.imul(he,$t)|0,b=b+Math.imul(he,Kt)|0;var Ti=(k+(_=_+Math.imul(oe,ti)|0)|0)+((8191&(a=(a=a+Math.imul(oe,fi)|0)+Math.imul(X,ti)|0))<<13)|0;k=((b=b+Math.imul(X,fi)|0)+(a>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,_=Math.imul($e,xt),a=(a=Math.imul($e,Se))+Math.imul(nt,xt)|0,b=Math.imul(nt,Se),_=_+Math.imul(Ue,ce)|0,a=(a=a+Math.imul(Ue,Z)|0)+Math.imul(je,ce)|0,b=b+Math.imul(je,Z)|0,_=_+Math.imul(ve,Pe)|0,a=(a=a+Math.imul(ve,pt)|0)+Math.imul(_e,Pe)|0,b=b+Math.imul(_e,pt)|0,_=_+Math.imul(ct,Fe)|0,a=(a=a+Math.imul(ct,Ge)|0)+Math.imul(dt,Fe)|0,b=b+Math.imul(dt,Ge)|0,_=_+Math.imul(ue,at)|0,a=(a=a+Math.imul(ue,Lt)|0)+Math.imul(Be,at)|0,b=b+Math.imul(Be,Lt)|0,_=_+Math.imul(st,$t)|0,a=(a=a+Math.imul(st,Kt)|0)+Math.imul(me,$t)|0,b=b+Math.imul(me,Kt)|0;var Hi=(k+(_=_+Math.imul(ae,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ae,fi)|0)+Math.imul(he,ti)|0))<<13)|0;k=((b=b+Math.imul(he,fi)|0)+(a>>>13)|0)+(Hi>>>26)|0,Hi&=67108863,_=Math.imul($e,ce),a=(a=Math.imul($e,Z))+Math.imul(nt,ce)|0,b=Math.imul(nt,Z),_=_+Math.imul(Ue,Pe)|0,a=(a=a+Math.imul(Ue,pt)|0)+Math.imul(je,Pe)|0,b=b+Math.imul(je,pt)|0,_=_+Math.imul(ve,Fe)|0,a=(a=a+Math.imul(ve,Ge)|0)+Math.imul(_e,Fe)|0,b=b+Math.imul(_e,Ge)|0,_=_+Math.imul(ct,at)|0,a=(a=a+Math.imul(ct,Lt)|0)+Math.imul(dt,at)|0,b=b+Math.imul(dt,Lt)|0,_=_+Math.imul(ue,$t)|0,a=(a=a+Math.imul(ue,Kt)|0)+Math.imul(Be,$t)|0,b=b+Math.imul(Be,Kt)|0;var Zi=(k+(_=_+Math.imul(st,ti)|0)|0)+((8191&(a=(a=a+Math.imul(st,fi)|0)+Math.imul(me,ti)|0))<<13)|0;k=((b=b+Math.imul(me,fi)|0)+(a>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul($e,Pe),a=(a=Math.imul($e,pt))+Math.imul(nt,Pe)|0,b=Math.imul(nt,pt),_=_+Math.imul(Ue,Fe)|0,a=(a=a+Math.imul(Ue,Ge)|0)+Math.imul(je,Fe)|0,b=b+Math.imul(je,Ge)|0,_=_+Math.imul(ve,at)|0,a=(a=a+Math.imul(ve,Lt)|0)+Math.imul(_e,at)|0,b=b+Math.imul(_e,Lt)|0,_=_+Math.imul(ct,$t)|0,a=(a=a+Math.imul(ct,Kt)|0)+Math.imul(dt,$t)|0,b=b+Math.imul(dt,Kt)|0;var ln=(k+(_=_+Math.imul(ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ue,fi)|0)+Math.imul(Be,ti)|0))<<13)|0;k=((b=b+Math.imul(Be,fi)|0)+(a>>>13)|0)+(ln>>>26)|0,ln&=67108863,_=Math.imul($e,Fe),a=(a=Math.imul($e,Ge))+Math.imul(nt,Fe)|0,b=Math.imul(nt,Ge),_=_+Math.imul(Ue,at)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(je,at)|0,b=b+Math.imul(je,Lt)|0,_=_+Math.imul(ve,$t)|0,a=(a=a+Math.imul(ve,Kt)|0)+Math.imul(_e,$t)|0,b=b+Math.imul(_e,Kt)|0;var mn=(k+(_=_+Math.imul(ct,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ct,fi)|0)+Math.imul(dt,ti)|0))<<13)|0;k=((b=b+Math.imul(dt,fi)|0)+(a>>>13)|0)+(mn>>>26)|0,mn&=67108863,_=Math.imul($e,at),a=(a=Math.imul($e,Lt))+Math.imul(nt,at)|0,b=Math.imul(nt,Lt),_=_+Math.imul(Ue,$t)|0,a=(a=a+Math.imul(Ue,Kt)|0)+Math.imul(je,$t)|0,b=b+Math.imul(je,Kt)|0;var Ut=(k+(_=_+Math.imul(ve,ti)|0)|0)+((8191&(a=(a=a+Math.imul(ve,fi)|0)+Math.imul(_e,ti)|0))<<13)|0;k=((b=b+Math.imul(_e,fi)|0)+(a>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul($e,$t),a=(a=Math.imul($e,Kt))+Math.imul(nt,$t)|0,b=Math.imul(nt,Kt);var lt=(k+(_=_+Math.imul(Ue,ti)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,fi)|0)+Math.imul(je,ti)|0))<<13)|0;k=((b=b+Math.imul(je,fi)|0)+(a>>>13)|0)+(lt>>>26)|0,lt&=67108863;var re=(k+(_=Math.imul($e,ti))|0)+((8191&(a=(a=Math.imul($e,fi))+Math.imul(nt,ti)|0))<<13)|0;return k=((b=Math.imul(nt,fi))+(a>>>13)|0)+(re>>>26)|0,re&=67108863,A[0]=xn,A[1]=tn,A[2]=Vi,A[3]=Qi,A[4]=Xt,A[5]=St,A[6]=tt,A[7]=ot,A[8]=Mt,A[9]=Bt,A[10]=Ci,A[11]=Ti,A[12]=Hi,A[13]=Zi,A[14]=ln,A[15]=mn,A[16]=Ut,A[17]=lt,A[18]=re,0!==k&&(A[19]=k,m.length++),m};function W(T,n,c){return(new Q).mulp(T,n,c)}function Q(T,n){this.x=T,this.y=n}Math.imul||(j=V),l.prototype.mulTo=function(n,c){var m,d=this.length+n.length;return m=10===this.length&&10===n.length?j(this,n,c):d<63?V(this,n,c):d<1024?function Y(T,n,c){c.negative=n.negative^T.negative,c.length=T.length+n.length;for(var m=0,d=0,C=0;C>>26)|0)>>>26,A&=67108863}c.words[C]=k,m=A,A=d}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):W(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,d=0;d>=1;return d},Q.prototype.permute=function(n,c,m,d,C,A){for(var k=0;k>>=1)C++;return 1<>>=13),C>>>=13;for(A=2*c;A>=26,c+=d/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,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 I(T){for(var n=new Array(T.bitLength()),c=0;c>>d}return n}(n);if(0===c.length)return new l(1);for(var m=this,d=0;d=0);var C,c=n%26,m=(n-c)/26,d=67108863>>>26-c<<26-c;if(0!==c){var A=0;for(C=0;C>>26-c}A&&(this.words[C]=A,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C=0),d=c?(c-c%26)/26:0;var C=n%26,A=Math.min((n-C)/26,this.length),k=67108863^67108863>>>C<A)for(this.length-=A,a=0;a=0&&(0!==b||a>=d);a--){var z=0|this.words[a];this.words[a]=b<<26-C|z>>>C,b=z&k}return _&&0!==b&&(_.words[_.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return x(0===this.negative),this.iushrn(n,c,m)},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){x("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<=0);var c=n%26,m=(n-c)/26;return x(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>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(x("number"==typeof n),x(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>26)-(_/67108864|0),this.words[C+m]=67108863&A}for(;C>26,this.words[C+m]=67108863&A;if(0===k)return this.strip();for(x(-1===k),k=0,C=0;C>26,this.words[C]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,d=this.clone(),C=n,A=0|C.words[C.length-1];0!=(m=26-this._countBits(A))&&(C=C.ushln(m),d.iushln(m),A=0|C.words[C.length-1]);var a,_=d.length-C.length;if("mod"!==c){(a=new l(null)).length=_+1,a.words=new Array(a.length);for(var b=0;b=0;N--){var q=67108864*(0|d.words[C.length+N])+(0|d.words[C.length+N-1]);for(q=Math.min(q/A|0,67108863),d._ishlnsubmul(C,q,N);0!==d.negative;)q--,d.negative=0,d._ishlnsubmul(C,1,N),d.isZero()||(d.negative^=1);a&&(a.words[N]=q)}return a&&a.strip(),d.strip(),"div"!==c&&0!==m&&d.iushrn(m),{div:a||null,mod:d}},l.prototype.divmod=function(n,c,m){return x(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,c),"mod"!==c&&(d=A.div.neg()),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:d,mod:C}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),c),"mod"!==c&&(d=A.div.neg()),{div:d,mod:A.mod}):this.negative&n.negative?(A=this.neg().divmod(n.neg(),c),"div"!==c&&(C=A.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:A.div,mod:C}):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 d,C,A},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 m=0!==c.div.negative?c.mod.isub(n):c.mod,d=n.ushrn(1),C=n.andln(1),A=m.cmp(d);return A<0||1===C&&0===A?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){x(n<=67108863);for(var c=(1<<26)%n,m=0,d=this.length-1;d>=0;d--)m=(c*m+(0|this.words[d]))%n;return m},l.prototype.idivn=function(n){x(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var d=(0|this.words[m])+67108864*c;this.words[m]=d/n|0,c=d%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){x(0===n.negative),x(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=new l(0),k=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var a=m.clone(),b=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;)(d.isOdd()||C.isOdd())&&(d.iadd(a),C.isub(b)),d.iushrn(1),C.iushrn(1);for(var q=0,pe=1;!(m.words[0]&pe)&&q<26;++q,pe<<=1);if(q>0)for(m.iushrn(q);q-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(a),k.isub(b)),A.iushrn(1),k.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(A),C.isub(k)):(m.isub(c),A.isub(d),k.isub(C))}return{a:A,b:k,gcd:m.iushln(_)}},l.prototype._invmp=function(n){x(0===n.negative),x(!n.isZero());var z,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var d=new l(1),C=new l(0),A=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var k=0,_=1;!(c.words[0]&_)&&k<26;++k,_<<=1);if(k>0)for(c.iushrn(k);k-- >0;)d.isOdd()&&d.iadd(A),d.iushrn(1);for(var a=0,b=1;!(m.words[0]&b)&&a<26;++a,b<<=1);if(a>0)for(m.iushrn(a);a-- >0;)C.isOdd()&&C.iadd(A),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),d.isub(C)):(m.isub(c),C.isub(d))}return(z=0===c.cmpn(1)?d:C).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(),m=n.clone();c.negative=0,m.negative=0;for(var d=0;c.isEven()&&m.isEven();d++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var A=c;c=m,m=A}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(d)},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){x("number"==typeof n);var c=n%26,m=(n-c)/26,d=1<>>26,this.words[A]=k&=67108863}return 0!==C&&(this.words[A]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),x(n<=67108863,"Number is too big");var d=0|this.words[0];m=d===n?0:dn.length)return 1;if(this.length=0;m--){var d=0|this.words[m],C=0|n.words[m];if(d!==C){dC&&(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 Ce(n)},l.prototype.toRed=function(n){return x(!this.red,"Already a number in reduction context"),x(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return x(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 x(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return x(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return x(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return x(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return x(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return x(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return x(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return x(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return x(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return x(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return x(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return x(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return x(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ie(T,n){this.name=T,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 ee(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Ce(T){if("string"==typeof T){var n=l._prime(T);this.m=n.p,this.prime=n}else x(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function le(T){Ce.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var d=m0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ie.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ie.prototype.imulK=function(n){return n.imul(this.k)},D(ee,ie),ee.prototype.split=function(n,c){for(var m=4194303,d=Math.min(n.length,9),C=0;C>>22,A=k}n.words[C-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ee.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m>>=26,n.words[m]=C,c=d}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ee;else if("p224"===n)c=new fe;else if("p192"===n)c=new ne;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Ce.prototype._verify1=function(n){x(0===n.negative,"red works only with positives"),x(n.red,"red works only with red numbers")},Ce.prototype._verify2=function(n,c){x(!(n.negative|c.negative),"red works only with positives"),x(n.red&&n.red===c.red,"red works only with red numbers")},Ce.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Ce.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Ce.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Ce.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Ce.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Ce.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Ce.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Ce.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Ce.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Ce.prototype.isqr=function(n){return this.imul(n,n.clone())},Ce.prototype.sqr=function(n){return this.mul(n,n)},Ce.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(x(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var d=this.m.subn(1),C=0;!d.isZero()&&0===d.andln(1);)C++,d.iushrn(1);x(!d.isZero());var A=new l(1).toRed(this),k=A.redNeg(),_=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,_).cmp(k);)a.redIAdd(k);for(var b=this.pow(a,d),z=this.pow(n,d.addn(1).iushrn(1)),N=this.pow(n,d),q=C;0!==N.cmp(A);){for(var pe=N,ze=0;0!==pe.cmp(A);ze++)pe=pe.redSqr();x(ze=0;C--){for(var b=c.words[C],z=a-1;z>=0;z--){var N=b>>z&1;A!==d[0]&&(A=this.sqr(A)),0!==N||0!==k?(k<<=1,k|=N,(4==++_||0===C&&0===z)&&(A=this.mul(A,d[k]),_=0,k=0)):_=0}a=26}return A},Ce.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Ce.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new le(n)},D(le,Ce),le.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},le.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},le.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),d=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(d).iushrn(this.shift),A=C;return C.cmp(this.m)>=0?A=C.isub(this.m):C.cmpn(0)<0&&(A=C.iadd(this.m)),A._forceRed(this)},le.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},8613:(Qe,te,g)=>{var e=g(5667),t=g(715),x=g(7196),D=g(6508),l=g(4105),w=g(7211),f=g(568),R=g(7054).Buffer;Qe.exports=function(I,V,j){var Y;Y=I.padding?I.padding:j?1:4;var J,W=e(I),Q=W.modulus.byteLength();if(V.length>Q||new D(V).cmp(W.modulus)>=0)throw new Error("decryption error");J=j?f(new D(V),W):l(V,W);var ie=R.alloc(Q-J.length);if(J=R.concat([ie,J],Q),4===Y)return function h(O,I){var V=O.modulus.byteLength(),j=w("sha1").update(R.alloc(0)).digest(),Y=j.length;if(0!==I[0])throw new Error("decryption error");var W=I.slice(1,Y+1),Q=I.slice(Y+1),J=x(W,t(Q,Y)),ie=x(Q,t(J,V-Y-1));if(function y(O,I){O=R.from(O),I=R.from(I);var V=0,j=O.length;O.length!==I.length&&(V++,j=Math.min(O.length,I.length));for(var Y=-1;++Y=I.length){W++;break}var Q=I.slice(2,Y-1);if(("0002"!==j.toString("hex")&&!V||"0001"!==j.toString("hex")&&V)&&W++,Q.length<8&&W++,W)throw new Error("decryption error");return I.slice(Y)}(0,J,j);if(3===Y)return J;throw new Error("unknown padding")}},7267:(Qe,te,g)=>{var e=g(5667),t=g(3342),x=g(7211),D=g(715),l=g(7196),w=g(6508),f=g(568),R=g(4105),h=g(7054).Buffer;Qe.exports=function(V,j,Y){var W;W=V.padding?V.padding:Y?1:4;var J,Q=e(V);if(4===W)J=function S(I,V){var j=I.modulus.byteLength(),Y=V.length,W=x("sha1").update(h.alloc(0)).digest(),Q=W.length,J=2*Q;if(Y>j-J-2)throw new Error("message too long");var ie=h.alloc(j-Y-J-2),ee=j-Q-1,fe=t(Q),ne=l(h.concat([W,ie,h.alloc(1,1),V],ee),D(fe,ee)),Me=l(fe,D(ne,Q));return new w(h.concat([h.alloc(1),Me,ne],j))}(Q,j);else if(1===W)J=function y(I,V,j){var Q,Y=V.length,W=I.modulus.byteLength();if(Y>W-11)throw new Error("message too long");return Q=j?h.alloc(W-Y-3,255):function O(I){for(var Q,V=h.allocUnsafe(I),j=0,Y=t(2*I),W=0;j=0)throw new Error("data too long for modulus")}return Y?R(J,Q):f(J,Q)}},568:(Qe,te,g)=>{var e=g(6508),t=g(7054).Buffer;Qe.exports=function x(D,l){return t.from(D.toRed(e.mont(l.modulus)).redPow(new e(l.publicExponent)).fromRed().toArray())}},7196:Qe=>{Qe.exports=function(g,e){for(var t=g.length,x=-1;++x{const e=g(2836),t=g(9460),x=g(7030),D=g(6511);function l(w,f,R,h,S){const y=[].slice.call(arguments,1),O=y.length,I="function"==typeof y[O-1];if(!I&&!e())throw new Error("Callback required as last argument");if(!I){if(O<1)throw new Error("Too few arguments provided");return 1===O?(R=f,f=h=void 0):2===O&&!f.getContext&&(h=R,R=f,f=void 0),new Promise(function(V,j){try{const Y=t.create(R,h);V(w(Y,f,h))}catch(Y){j(Y)}})}if(O<2)throw new Error("Too few arguments provided");2===O?(S=R,R=f,f=h=void 0):3===O&&(f.getContext&&typeof S>"u"?(S=h,h=void 0):(S=h,h=R,R=f,f=void 0));try{const V=t.create(R,h);S(null,w(V,f,h))}catch(V){S(V)}}te.create=t.create,te.toCanvas=l.bind(null,x.render),te.toDataURL=l.bind(null,x.renderToDataURL),te.toString=l.bind(null,function(w,f,R){return D.render(w,R)})},2836:Qe=>{Qe.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6214:(Qe,te,g)=>{const e=g(9089).getSymbolSize;te.getRowColCoords=function(x){if(1===x)return[];const D=Math.floor(x/7)+2,l=e(x),w=145===l?26:2*Math.ceil((l-13)/(2*D-2)),f=[l-7];for(let R=1;R{const e=g(1677),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function x(D){this.mode=e.ALPHANUMERIC,this.data=D}x.getBitsLength=function(l){return 11*Math.floor(l/2)+l%2*6},x.prototype.getLength=function(){return this.data.length},x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)},x.prototype.write=function(l){let w;for(w=0;w+2<=this.data.length;w+=2){let f=45*t.indexOf(this.data[w]);f+=t.indexOf(this.data[w+1]),l.put(f,11)}this.data.length%2&&l.put(t.indexOf(this.data[w]),6)},Qe.exports=x},4662:Qe=>{function te(){this.buffer=[],this.length=0}te.prototype={get:function(g){const e=Math.floor(g/8);return 1==(this.buffer[e]>>>7-g%8&1)},put:function(g,e){for(let t=0;t>>e-t-1&1))},getLengthInBits:function(){return this.length},putBit:function(g){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),g&&(this.buffer[e]|=128>>>this.length%8),this.length++}},Qe.exports=te},8322:Qe=>{function te(g){if(!g||g<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=g,this.data=new Uint8Array(g*g),this.reservedBit=new Uint8Array(g*g)}te.prototype.set=function(g,e,t,x){const D=g*this.size+e;this.data[D]=t,x&&(this.reservedBit[D]=!0)},te.prototype.get=function(g,e){return this.data[g*this.size+e]},te.prototype.xor=function(g,e,t){this.data[g*this.size+e]^=t},te.prototype.isReserved=function(g,e){return this.reservedBit[g*this.size+e]},Qe.exports=te},4969:(Qe,te,g)=>{const e=g(1677);function t(x){this.mode=e.BYTE,this.data="string"==typeof x?(new TextEncoder).encode(x):new Uint8Array(x)}t.getBitsLength=function(D){return 8*D},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(x){for(let D=0,l=this.data.length;D{const e=g(7424),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],x=[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];te.getBlocksCount=function(l,w){switch(w){case e.L:return t[4*(l-1)+0];case e.M:return t[4*(l-1)+1];case e.Q:return t[4*(l-1)+2];case e.H:return t[4*(l-1)+3];default:return}},te.getTotalCodewordsCount=function(l,w){switch(w){case e.L:return x[4*(l-1)+0];case e.M:return x[4*(l-1)+1];case e.Q:return x[4*(l-1)+2];case e.H:return x[4*(l-1)+3];default:return}}},7424:(Qe,te)=>{te.L={bit:1},te.M={bit:0},te.Q={bit:3},te.H={bit:2},te.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4},te.from=function(t,x){if(te.isValid(t))return t;try{return function g(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return te.L;case"m":case"medium":return te.M;case"q":case"quartile":return te.Q;case"h":case"high":return te.H;default:throw new Error("Unknown EC Level: "+e)}}(t)}catch{return x}}},6269:(Qe,te,g)=>{const e=g(9089).getSymbolSize;te.getPositions=function(D){const l=e(D);return[[0,0],[l-7,0],[0,l-7]]}},6254:(Qe,te,g)=>{const e=g(9089),D=e.getBCHDigit(1335);te.getEncodedBits=function(w,f){const R=w.bit<<3|f;let h=R<<10;for(;e.getBCHDigit(h)-D>=0;)h^=1335<{const g=new Uint8Array(512),e=new Uint8Array(256);(function(){let x=1;for(let D=0;D<255;D++)g[D]=x,e[x]=D,x<<=1,256&x&&(x^=285);for(let D=255;D<512;D++)g[D]=g[D-255]})(),te.log=function(x){if(x<1)throw new Error("log("+x+")");return e[x]},te.exp=function(x){return g[x]},te.mul=function(x,D){return 0===x||0===D?0:g[e[x]+e[D]]}},3264:(Qe,te,g)=>{const e=g(1677),t=g(9089);function x(D){this.mode=e.KANJI,this.data=D}x.getBitsLength=function(l){return 13*l},x.prototype.getLength=function(){return this.data.length},x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)},x.prototype.write=function(D){let l;for(l=0;l=33088&&w<=40956)w-=33088;else{if(!(w>=57408&&w<=60351))throw new Error("Invalid SJIS character: "+this.data[l]+"\nMake sure your charset is UTF-8");w-=49472}w=192*(w>>>8&255)+(255&w),D.put(w,13)}},Qe.exports=x},3361:(Qe,te)=>{te.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function e(t,x,D){switch(t){case te.Patterns.PATTERN000:return(x+D)%2==0;case te.Patterns.PATTERN001:return x%2==0;case te.Patterns.PATTERN010:return D%3==0;case te.Patterns.PATTERN011:return(x+D)%3==0;case te.Patterns.PATTERN100:return(Math.floor(x/2)+Math.floor(D/3))%2==0;case te.Patterns.PATTERN101:return x*D%2+x*D%3==0;case te.Patterns.PATTERN110:return(x*D%2+x*D%3)%2==0;case te.Patterns.PATTERN111:return(x*D%3+(x+D)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}te.isValid=function(x){return null!=x&&""!==x&&!isNaN(x)&&x>=0&&x<=7},te.from=function(x){return te.isValid(x)?parseInt(x,10):void 0},te.getPenaltyN1=function(x){const D=x.size;let l=0,w=0,f=0,R=null,h=null;for(let S=0;S=5&&(l+=w-5+3),R=O,w=1),O=x.get(y,S),O===h?f++:(f>=5&&(l+=f-5+3),h=O,f=1)}w>=5&&(l+=w-5+3),f>=5&&(l+=f-5+3)}return l},te.getPenaltyN2=function(x){const D=x.size;let l=0;for(let w=0;w=10&&(1488===w||93===w)&&l++,f=f<<1&2047|x.get(h,R),h>=10&&(1488===f||93===f)&&l++}return 40*l},te.getPenaltyN4=function(x){let D=0;const l=x.data.length;for(let f=0;f{const e=g(377),t=g(9359);te.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},te.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},te.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},te.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},te.MIXED={bit:-1},te.getCharCountIndicator=function(l,w){if(!l.ccBits)throw new Error("Invalid mode: "+l);if(!e.isValid(w))throw new Error("Invalid version: "+w);return w>=1&&w<10?l.ccBits[0]:w<27?l.ccBits[1]:l.ccBits[2]},te.getBestModeForData=function(l){return t.testNumeric(l)?te.NUMERIC:t.testAlphanumeric(l)?te.ALPHANUMERIC:t.testKanji(l)?te.KANJI:te.BYTE},te.toString=function(l){if(l&&l.id)return l.id;throw new Error("Invalid mode")},te.isValid=function(l){return l&&l.bit&&l.ccBits},te.from=function(l,w){if(te.isValid(l))return l;try{return function x(D){if("string"!=typeof D)throw new Error("Param is not a string");switch(D.toLowerCase()){case"numeric":return te.NUMERIC;case"alphanumeric":return te.ALPHANUMERIC;case"kanji":return te.KANJI;case"byte":return te.BYTE;default:throw new Error("Unknown mode: "+D)}}(l)}catch{return w}}},6628:(Qe,te,g)=>{const e=g(1677);function t(x){this.mode=e.NUMERIC,this.data=x.toString()}t.getBitsLength=function(D){return 10*Math.floor(D/3)+(D%3?D%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(D){let l,w,f;for(l=0;l+3<=this.data.length;l+=3)w=this.data.substr(l,3),f=parseInt(w,10),D.put(f,10);const R=this.data.length-l;R>0&&(w=this.data.substr(l),f=parseInt(w,10),D.put(f,3*R+1))},Qe.exports=t},1744:(Qe,te,g)=>{const e=g(6686);te.mul=function(x,D){const l=new Uint8Array(x.length+D.length-1);for(let w=0;w=0;){const w=l[0];for(let R=0;R{const e=g(9089),t=g(7424),x=g(4662),D=g(8322),l=g(6214),w=g(6269),f=g(3361),R=g(3677),h=g(6289),S=g(1252),y=g(6254),O=g(1677),I=g(2868);function Q(ne,Me,Ce){const le=ne.size,T=y.getEncodedBits(Me,Ce);let n,c;for(n=0;n<15;n++)c=1==(T>>n&1),ne.set(n<6?n:n<8?n+1:le-15+n,8,c,!0),ne.set(8,n<8?le-n-1:n<9?15-n-1+1:15-n-1,c,!0);ne.set(le-8,8,1,!0)}function fe(ne,Me,Ce,le){let T;if(Array.isArray(ne))T=I.fromArray(ne);else{if("string"!=typeof ne)throw new Error("Invalid data");{let C=Me;if(!C){const A=I.rawSplit(ne);C=S.getBestVersionForData(A,Ce)}T=I.fromString(ne,C||40)}}const n=S.getBestVersionForData(T,Ce);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(Me){if(Me=0&&m<=6&&(0===d||6===d)||d>=0&&d<=6&&(0===m||6===m)||m>=2&&m<=4&&d>=2&&d<=4,!0)}}(d,Me),function j(ne){const Me=ne.size;for(let Ce=8;Ce=7&&function W(ne,Me){const Ce=ne.size,le=S.getEncodedBits(Me);let T,n,c;for(let m=0;m<18;m++)T=Math.floor(m/3),n=m%3+Ce-8-3,c=1==(le>>m&1),ne.set(T,n,c,!0),ne.set(n,T,c,!0)}(d,Me),function J(ne,Me){const Ce=ne.size;let le=-1,T=Ce-1,n=7,c=0;for(let m=Ce-1;m>0;m-=2)for(6===m&&m--;;){for(let d=0;d<2;d++)if(!ne.isReserved(T,m-d)){let C=!1;c>>n&1)),ne.set(T,m-d,C),n--,-1===n&&(c++,n=7)}if(T+=le,T<0||Ce<=T){T-=le,le=-le;break}}}(d,c),isNaN(le)&&(le=f.getBestMask(d,Q.bind(null,d,Ce))),f.applyMask(le,d),Q(d,Ce,le),{modules:d,version:Me,errorCorrectionLevel:Ce,maskPattern:le,segments:T}}te.create=function(Me,Ce){if(typeof Me>"u"||""===Me)throw new Error("No input text");let T,n,le=t.M;return typeof Ce<"u"&&(le=t.from(Ce.errorCorrectionLevel,t.M),T=S.from(Ce.version),n=f.from(Ce.maskPattern),Ce.toSJISFunc&&e.setToSJISFunction(Ce.toSJISFunc)),fe(Me,T,le,n)}},6289:(Qe,te,g)=>{const e=g(1744);function t(x){this.genPoly=void 0,this.degree=x,this.degree&&this.initialize(this.degree)}t.prototype.initialize=function(D){this.degree=D,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(D){if(!this.genPoly)throw new Error("Encoder not initialized");const l=new Uint8Array(D.length+this.degree);l.set(D);const w=e.mod(l,this.genPoly),f=this.degree-w.length;if(f>0){const R=new Uint8Array(this.degree);return R.set(w,f),R}return w},Qe.exports=t},9359:(Qe,te)=>{const g="[0-9]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const x="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+")(?:.|[\r\n]))+";te.KANJI=new RegExp(t,"g"),te.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),te.BYTE=new RegExp(x,"g"),te.NUMERIC=new RegExp(g,"g"),te.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const D=new RegExp("^"+t+"$"),l=new RegExp("^"+g+"$"),w=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");te.testKanji=function(R){return D.test(R)},te.testNumeric=function(R){return l.test(R)},te.testAlphanumeric=function(R){return w.test(R)}},2868:(Qe,te,g)=>{const e=g(1677),t=g(6628),x=g(1018),D=g(4969),l=g(3264),w=g(9359),f=g(9089),R=g(243);function h(W){return unescape(encodeURIComponent(W)).length}function S(W,Q,J){const ie=[];let ee;for(;null!==(ee=W.exec(J));)ie.push({data:ee[0],index:ee.index,mode:Q,length:ee[0].length});return ie}function y(W){const Q=S(w.NUMERIC,e.NUMERIC,W),J=S(w.ALPHANUMERIC,e.ALPHANUMERIC,W);let ie,ee;return f.isKanjiModeEnabled()?(ie=S(w.BYTE,e.BYTE,W),ee=S(w.KANJI,e.KANJI,W)):(ie=S(w.BYTE_KANJI,e.BYTE,W),ee=[]),Q.concat(J,ie,ee).sort(function(ne,Me){return ne.index-Me.index}).map(function(ne){return{data:ne.data,mode:ne.mode,length:ne.length}})}function O(W,Q){switch(Q){case e.NUMERIC:return t.getBitsLength(W);case e.ALPHANUMERIC:return x.getBitsLength(W);case e.KANJI:return l.getBitsLength(W);case e.BYTE:return D.getBitsLength(W)}}function Y(W,Q){let J;const ie=e.getBestModeForData(W);if(J=e.from(Q,ie),J!==e.BYTE&&J.bit=0?Q[Q.length-1]:null;return ie&&ie.mode===J.mode?(Q[Q.length-1].data+=J.data,Q):(Q.push(J),Q)},[])}(Me))},te.rawSplit=function(Q){return te.fromArray(y(Q,f.isKanjiModeEnabled()))}},9089:(Qe,te)=>{let g;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];te.getSymbolSize=function(x){if(!x)throw new Error('"version" cannot be null or undefined');if(x<1||x>40)throw new Error('"version" should be in range from 1 to 40');return 4*x+17},te.getSymbolTotalCodewords=function(x){return e[x]},te.getBCHDigit=function(t){let x=0;for(;0!==t;)x++,t>>>=1;return x},te.setToSJISFunction=function(x){if("function"!=typeof x)throw new Error('"toSJISFunc" is not a valid function.');g=x},te.isKanjiModeEnabled=function(){return typeof g<"u"},te.toSJIS=function(x){return g(x)}},377:(Qe,te)=>{te.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},1252:(Qe,te,g)=>{const e=g(9089),t=g(3677),x=g(7424),D=g(1677),l=g(377),f=e.getBCHDigit(7973);function h(O,I){return D.getCharCountIndicator(O,I)+4}function S(O,I){let V=0;return O.forEach(function(j){const Y=h(j.mode,I);V+=Y+j.getBitsLength()}),V}te.from=function(I,V){return l.isValid(I)?parseInt(I,10):V},te.getCapacity=function(I,V,j){if(!l.isValid(I))throw new Error("Invalid QR Code version");typeof j>"u"&&(j=D.BYTE);const Q=8*(e.getSymbolTotalCodewords(I)-t.getTotalCodewordsCount(I,V));if(j===D.MIXED)return Q;const J=Q-h(j,I);switch(j){case D.NUMERIC:return Math.floor(J/10*3);case D.ALPHANUMERIC:return Math.floor(J/11*2);case D.KANJI:return Math.floor(J/13);default:return Math.floor(J/8)}},te.getBestVersionForData=function(I,V){let j;const Y=x.from(V,x.M);if(Array.isArray(I)){if(I.length>1)return function y(O,I){for(let V=1;V<=40;V++)if(S(O,V)<=te.getCapacity(V,I,D.MIXED))return V}(I,Y);if(0===I.length)return 1;j=I[0]}else j=I;return function R(O,I,V){for(let j=1;j<=40;j++)if(I<=te.getCapacity(j,V,O))return j}(j.mode,j.getLength(),Y)},te.getEncodedBits=function(I){if(!l.isValid(I)||I<7)throw new Error("Invalid QR Code version");let V=I<<12;for(;e.getBCHDigit(V)-f>=0;)V^=7973<{const e=g(7077);te.render=function(l,w,f){let R=f,h=w;typeof R>"u"&&(!w||!w.getContext)&&(R=w,w=void 0),w||(h=function x(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),R=e.getOptions(R);const S=e.getImageWidth(l.modules.size,R),y=h.getContext("2d"),O=y.createImageData(S,S);return e.qrToImageData(O.data,l,R),function t(D,l,w){D.clearRect(0,0,l.width,l.height),l.style||(l.style={}),l.height=w,l.width=w,l.style.height=w+"px",l.style.width=w+"px"}(y,h,S),y.putImageData(O,0,0),h},te.renderToDataURL=function(l,w,f){let R=f;return typeof R>"u"&&(!w||!w.getContext)&&(R=w,w=void 0),R||(R={}),te.render(l,w,R).toDataURL(R.type||"image/png",(R.rendererOpts||{}).quality)}},6511:(Qe,te,g)=>{const e=g(7077);function t(l,w){const f=l.a/255,R=w+'="'+l.hex+'"';return f<1?R+" "+w+'-opacity="'+f.toFixed(2).slice(1)+'"':R}function x(l,w,f){let R=l+w;return typeof f<"u"&&(R+=" "+f),R}te.render=function(w,f,R){const h=e.getOptions(f),S=w.modules.size,y=w.modules.data,O=S+2*h.margin,I=h.color.light.a?"':"",V="0&&I>0&&l[O-1]||(R+=S?x("M",I+f,.5+V+f):x("m",h,0),h=0,S=!1),I+1',W=''+I+V+"\n";return"function"==typeof R&&R(null,W),W}},7077:(Qe,te)=>{function g(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(D){return[D,D]}))),6===t.length&&t.push("F","F");const x=parseInt(t.join(""),16);return{r:x>>24&255,g:x>>16&255,b:x>>8&255,a:255&x,hex:"#"+t.slice(0,6).join("")}}te.getOptions=function(t){t||(t={}),t.color||(t.color={});const D=t.width&&t.width>=21?t.width:void 0;return{width:D,scale:D?4:t.scale||4,margin:typeof t.margin>"u"||null===t.margin||t.margin<0?4:t.margin,color:{dark:g(t.color.dark||"#000000ff"),light:g(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},te.getScale=function(t,x){return x.width&&x.width>=t+2*x.margin?x.width/(t+2*x.margin):x.scale},te.getImageWidth=function(t,x){const D=te.getScale(t,x);return Math.floor((t+2*x.margin)*D)},te.qrToImageData=function(t,x,D){const l=x.modules.size,w=x.modules.data,f=te.getScale(l,D),R=Math.floor((l+2*D.margin)*f),h=D.margin*f,S=[D.color.light,D.color.dark];for(let y=0;y=h&&O>=h&&y{"use strict";var e=65536,D=g(7054).Buffer,l=global.crypto||global.msCrypto;Qe.exports=l&&l.getRandomValues?function w(f,R){if(f>4294967295)throw new RangeError("requested too many random bytes");var h=D.allocUnsafe(f);if(f>0)if(f>e)for(var S=0;S{"use strict";function e(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var t=g(7054),x=g(3342),D=t.Buffer,l=t.kMaxLength,w=global.crypto||global.msCrypto,f=Math.pow(2,32)-1;function R(I,V){if("number"!=typeof I||I!=I)throw new TypeError("offset must be a number");if(I>f||I<0)throw new TypeError("offset must be a uint32");if(I>l||I>V)throw new RangeError("offset out of range")}function h(I,V,j){if("number"!=typeof I||I!=I)throw new TypeError("size must be a number");if(I>f||I<0)throw new TypeError("size must be a uint32");if(I+V>j||I>l)throw new RangeError("buffer too small")}function y(I,V,j,Y){if(process.browser){var Q=new Uint8Array(I.buffer,V,j);return w.getRandomValues(Q),Y?void process.nextTick(function(){Y(null,I)}):I}if(!Y)return x(j).copy(I,V),I;x(j,function(ie,ee){if(ie)return Y(ie);ee.copy(I,V),Y(null,I)})}w&&w.getRandomValues||!process.browser?(te.randomFill=function S(I,V,j,Y){if(!(D.isBuffer(I)||I instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof V)Y=V,V=0,j=I.length;else if("function"==typeof j)Y=j,j=I.length-V;else if("function"!=typeof Y)throw new TypeError('"cb" argument must be a function');return R(V,I.length),h(j,V,I.length),y(I,V,j,Y)},te.randomFillSync=function O(I,V,j){if(typeof V>"u"&&(V=0),!(D.isBuffer(I)||I instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return R(V,I.length),void 0===j&&(j=I.length-V),h(j,V,I.length),y(I,V,j)}):(te.randomFill=e,te.randomFillSync=e)},4075:(Qe,te,g)=>{"use strict";var e=g(9656),t=Object.keys||function(O){var I=[];for(var V in O)I.push(V);return I};Qe.exports=h;var x=Object.create(g(7637));x.inherits=g(1993);var D=g(9609),l=g(7849);x.inherits(h,D);for(var w=t(l.prototype),f=0;f{"use strict";Qe.exports=x;var e=g(2909),t=Object.create(g(7637));function x(D){if(!(this instanceof x))return new x(D);e.call(this,D)}t.inherits=g(1993),t.inherits(x,e),x.prototype._transform=function(D,l,w){w(null,D)}},9609:(Qe,te,g)=>{"use strict";var e=g(9656);Qe.exports=ie;var x,t=g(53);ie.ReadableState=J,g(4356);var l=function(oe,X){return oe.listeners(X).length},w=g(8342),f=g(2655).Buffer,R=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},y=Object.create(g(7637));y.inherits=g(1993);var O=g(9838),I=void 0;I=O&&O.debuglog?O.debuglog("stream"):function(){};var Y,V=g(7809),j=g(1509);y.inherits(ie,w);var W=["error","close","destroy","pause","resume"];function J(oe,X){var se=X instanceof(x=x||g(4075));this.objectMode=!!(oe=oe||{}).objectMode,se&&(this.objectMode=this.objectMode||!!oe.readableObjectMode);var ae=oe.highWaterMark,he=oe.readableHighWaterMark;this.highWaterMark=ae||0===ae?ae:se&&(he||0===he)?he:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new V,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=oe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,oe.encoding&&(Y||(Y=g(8454).I),this.decoder=new Y(oe.encoding),this.encoding=oe.encoding)}function ie(oe){if(x=x||g(4075),!(this instanceof ie))return new ie(oe);this._readableState=new J(oe,this),this.readable=!0,oe&&("function"==typeof oe.read&&(this._read=oe.read),"function"==typeof oe.destroy&&(this._destroy=oe.destroy)),w.call(this)}function ee(oe,X,se,ae,he){var st,Ie=oe._readableState;return null===X?(Ie.reading=!1,function n(oe,X){if(!X.ended){if(X.decoder){var se=X.decoder.end();se&&se.length&&(X.buffer.push(se),X.length+=X.objectMode?1:se.length)}X.ended=!0,c(oe)}}(oe,Ie)):(he||(st=function ne(oe,X){var se;return!function S(oe){return f.isBuffer(oe)||oe instanceof R}(X)&&"string"!=typeof X&&void 0!==X&&!oe.objectMode&&(se=new TypeError("Invalid non-string/buffer chunk")),se}(Ie,X)),st?oe.emit("error",st):Ie.objectMode||X&&X.length>0?("string"!=typeof X&&!Ie.objectMode&&Object.getPrototypeOf(X)!==f.prototype&&(X=function h(oe){return f.from(oe)}(X)),ae?Ie.endEmitted?oe.emit("error",new Error("stream.unshift() after end event")):fe(oe,Ie,X,!0):Ie.ended?oe.emit("error",new Error("stream.push() after EOF")):(Ie.reading=!1,Ie.decoder&&!se?(X=Ie.decoder.write(X),Ie.objectMode||0!==X.length?fe(oe,Ie,X,!1):d(oe,Ie)):fe(oe,Ie,X,!1))):ae||(Ie.reading=!1)),function Me(oe){return!oe.ended&&(oe.needReadable||oe.lengthX.highWaterMark&&(X.highWaterMark=function le(oe){return oe>=8388608?oe=8388608:(oe--,oe|=oe>>>1,oe|=oe>>>2,oe|=oe>>>4,oe|=oe>>>8,oe|=oe>>>16,oe++),oe}(oe)),oe<=X.length?oe:X.ended?X.length:(X.needReadable=!0,0))}function c(oe){var X=oe._readableState;X.needReadable=!1,X.emittedReadable||(I("emitReadable",X.flowing),X.emittedReadable=!0,X.sync?e.nextTick(m,oe):m(oe))}function m(oe){I("emit readable"),oe.emit("readable"),b(oe)}function d(oe,X){X.readingMore||(X.readingMore=!0,e.nextTick(C,oe,X))}function C(oe,X){for(var se=X.length;!X.reading&&!X.flowing&&!X.ended&&X.length=X.length?(se=X.decoder?X.buffer.join(""):1===X.buffer.length?X.buffer.head.data:X.buffer.concat(X.length),X.buffer.clear()):se=function N(oe,X,se){var ae;return oeIe.length?Ie.length:oe;if(he+=st===Ie.length?Ie:Ie.slice(0,oe),0==(oe-=st)){st===Ie.length?(++ae,X.head=se.next?se.next:X.tail=null):(X.head=se,se.data=Ie.slice(st));break}++ae}return X.length-=ae,he}(oe,X):function pe(oe,X){var se=f.allocUnsafe(oe),ae=X.head,he=1;for(ae.data.copy(se),oe-=ae.data.length;ae=ae.next;){var Ie=ae.data,st=oe>Ie.length?Ie.length:oe;if(Ie.copy(se,se.length-oe,0,st),0==(oe-=st)){st===Ie.length?(++he,X.head=ae.next?ae.next:X.tail=null):(X.head=ae,ae.data=Ie.slice(st));break}++he}return X.length-=he,se}(oe,X),ae}(oe,X.buffer,X.decoder),se);var se}function ze(oe){var X=oe._readableState;if(X.length>0)throw new Error('"endReadable()" called on non-empty stream');X.endEmitted||(X.ended=!0,e.nextTick(Xe,X,oe))}function Xe(oe,X){!oe.endEmitted&&0===oe.length&&(oe.endEmitted=!0,X.readable=!1,X.emit("end"))}function We(oe,X){for(var se=0,ae=oe.length;se=X.highWaterMark||X.ended))return I("read: emitReadable",X.length,X.ended),0===X.length&&X.ended?ze(this):c(this),null;if(0===(oe=T(oe,X))&&X.ended)return 0===X.length&&ze(this),null;var he,ae=X.needReadable;return I("need readable",ae),(0===X.length||X.length-oe0?z(oe,X):null)?(X.needReadable=!0,oe=0):X.length-=oe,0===X.length&&(X.ended||(X.needReadable=!0),se!==oe&&X.ended&&ze(this)),null!==he&&this.emit("data",he),he},ie.prototype._read=function(oe){this.emit("error",new Error("_read() is not implemented"))},ie.prototype.pipe=function(oe,X){var se=this,ae=this._readableState;switch(ae.pipesCount){case 0:ae.pipes=oe;break;case 1:ae.pipes=[ae.pipes,oe];break;default:ae.pipes.push(oe)}ae.pipesCount+=1,I("pipe count=%d opts=%j",ae.pipesCount,X);var Ie=X&&!1===X.end||oe===process.stdout||oe===process.stderr?_e:me;function me(){I("onend"),oe.end()}ae.endEmitted?e.nextTick(Ie):se.once("end",Ie),oe.on("unpipe",function st(we,Ue){I("onunpipe"),we===se&&Ue&&!1===Ue.hasUnpiped&&(Ue.hasUnpiped=!0,function Be(){I("cleanup"),oe.removeListener("close",Yt),oe.removeListener("finish",ve),oe.removeListener("drain",Ee),oe.removeListener("error",dt),oe.removeListener("unpipe",st),se.removeListener("end",me),se.removeListener("end",_e),se.removeListener("data",ct),ue=!0,ae.awaitDrain&&(!oe._writableState||oe._writableState.needDrain)&&Ee()}())});var Ee=function A(oe){return function(){var X=oe._readableState;I("pipeOnDrain",X.awaitDrain),X.awaitDrain&&X.awaitDrain--,0===X.awaitDrain&&l(oe,"data")&&(X.flowing=!0,b(oe))}}(se);oe.on("drain",Ee);var ue=!1,Ct=!1;function ct(we){I("ondata"),Ct=!1,!1===oe.write(we)&&!Ct&&((1===ae.pipesCount&&ae.pipes===oe||ae.pipesCount>1&&-1!==We(ae.pipes,oe))&&!ue&&(I("false write response, pause",ae.awaitDrain),ae.awaitDrain++,Ct=!0),se.pause())}function dt(we){I("onerror",we),_e(),oe.removeListener("error",dt),0===l(oe,"error")&&oe.emit("error",we)}function Yt(){oe.removeListener("finish",ve),_e()}function ve(){I("onfinish"),oe.removeListener("close",Yt),_e()}function _e(){I("unpipe"),se.unpipe(oe)}return se.on("data",ct),function Q(oe,X,se){if("function"==typeof oe.prependListener)return oe.prependListener(X,se);oe._events&&oe._events[X]?t(oe._events[X])?oe._events[X].unshift(se):oe._events[X]=[se,oe._events[X]]:oe.on(X,se)}(oe,"error",dt),oe.once("close",Yt),oe.once("finish",ve),oe.emit("pipe",se),ae.flowing||(I("pipe resume"),se.resume()),oe},ie.prototype.unpipe=function(oe){var X=this._readableState,se={hasUnpiped:!1};if(0===X.pipesCount)return this;if(1===X.pipesCount)return oe&&oe!==X.pipes||(oe||(oe=X.pipes),X.pipes=null,X.pipesCount=0,X.flowing=!1,oe&&oe.emit("unpipe",this,se)),this;if(!oe){var ae=X.pipes,he=X.pipesCount;X.pipes=null,X.pipesCount=0,X.flowing=!1;for(var Ie=0;Ie{"use strict";Qe.exports=D;var e=g(4075),t=Object.create(g(7637));function x(f,R){var h=this._transformState;h.transforming=!1;var S=h.writecb;if(!S)return this.emit("error",new Error("write callback called multiple times"));h.writechunk=null,h.writecb=null,null!=R&&this.push(R),S(f);var y=this._readableState;y.reading=!1,(y.needReadable||y.length{"use strict";var e=g(9656);function x(_){var a=this;this.next=null,this.entry=null,this.finish=function(){!function k(_,a,b){var z=_.entry;for(_.entry=null;z;){var N=z.callback;a.pendingcb--,N(b),z=z.next}a.corkedRequestsFree.next=_}(a,_)}}Qe.exports=W;var l,D=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:e.nextTick;W.WritableState=j;var w=Object.create(g(7637));w.inherits=g(1993);var Y,f={deprecate:g(3398)},R=g(8342),h=g(2655).Buffer,S=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},I=g(1509);function V(){}function j(_,a){l=l||g(4075);var b=a instanceof l;this.objectMode=!!(_=_||{}).objectMode,b&&(this.objectMode=this.objectMode||!!_.writableObjectMode);var z=_.highWaterMark,N=_.writableHighWaterMark;this.highWaterMark=z||0===z?z:b&&(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(ze){!function Ce(_,a){var b=_._writableState,z=b.sync,N=b.writecb;if(function Me(_){_.writing=!1,_.writecb=null,_.length-=_.writelen,_.writelen=0}(b),a)!function ne(_,a,b,z,N){--a.pendingcb,b?(e.nextTick(N,z),e.nextTick(C,_,a),_._writableState.errorEmitted=!0,_.emit("error",z)):(N(z),_._writableState.errorEmitted=!0,_.emit("error",z),C(_,a))}(_,b,z,a,N);else{var q=c(b);!q&&!b.corked&&!b.bufferProcessing&&b.bufferedRequest&&n(_,b),z?D(le,_,b,q,N):le(_,b,q,N)}}(a,ze)},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 x(this)}function W(_){if(l=l||g(4075),!(Y.call(W,this)||this instanceof l))return new W(_);this._writableState=new j(_,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 fe(_,a,b,z,N,q,pe){a.writelen=z,a.writecb=pe,a.writing=!0,a.sync=!0,b?_._writev(N,a.onwrite):_._write(N,q,a.onwrite),a.sync=!1}function le(_,a,b,z){b||function T(_,a){0===a.length&&a.needDrain&&(a.needDrain=!1,_.emit("drain"))}(_,a),a.pendingcb--,z(),C(_,a)}function n(_,a){a.bufferProcessing=!0;var b=a.bufferedRequest;if(_._writev&&b&&b.next){var N=new Array(a.bufferedRequestCount),q=a.corkedRequestsFree;q.entry=b;for(var pe=0,ze=!0;b;)N[pe]=b,b.isBuf||(ze=!1),b=b.next,pe+=1;N.allBuffers=ze,fe(_,a,!0,a.length,N,"",q.finish),a.pendingcb++,a.lastBufferedRequest=null,q.next?(a.corkedRequestsFree=q.next,q.next=null):a.corkedRequestsFree=new x(a),a.bufferedRequestCount=0}else{for(;b;){var Xe=b.chunk;if(fe(_,a,!1,a.objectMode?1:Xe.length,Xe,b.encoding,b.callback),b=b.next,a.bufferedRequestCount--,a.writing)break}null===b&&(a.lastBufferedRequest=null)}a.bufferedRequest=b,a.bufferProcessing=!1}function c(_){return _.ending&&0===_.length&&null===_.bufferedRequest&&!_.finished&&!_.writing}function m(_,a){_._final(function(b){a.pendingcb--,b&&_.emit("error",b),a.prefinished=!0,_.emit("prefinish"),C(_,a)})}function C(_,a){var b=c(a);return b&&(function d(_,a){!a.prefinished&&!a.finalCalled&&("function"==typeof _._final?(a.pendingcb++,a.finalCalled=!0,e.nextTick(m,_,a)):(a.prefinished=!0,_.emit("prefinish")))}(_,a),0===a.pendingcb&&(a.finished=!0,_.emit("finish"))),b}w.inherits(W,R),j.prototype.getBuffer=function(){for(var a=this.bufferedRequest,b=[];a;)b.push(a),a=a.next;return b},function(){try{Object.defineProperty(j.prototype,"buffer",{get:f.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]?(Y=Function.prototype[Symbol.hasInstance],Object.defineProperty(W,Symbol.hasInstance,{value:function(_){return!!Y.call(this,_)||this===W&&_&&_._writableState instanceof j}})):Y=function(_){return _ instanceof this},W.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},W.prototype.write=function(_,a,b){var z=this._writableState,N=!1,q=!z.objectMode&&function O(_){return h.isBuffer(_)||_ instanceof S}(_);return q&&!h.isBuffer(_)&&(_=function y(_){return h.from(_)}(_)),"function"==typeof a&&(b=a,a=null),q?a="buffer":a||(a=z.defaultEncoding),"function"!=typeof b&&(b=V),z.ended?function Q(_,a){var b=new Error("write after end");_.emit("error",b),e.nextTick(a,b)}(this,b):(q||function J(_,a,b,z){var N=!0,q=!1;return null===b?q=new TypeError("May not write null values to stream"):"string"!=typeof b&&void 0!==b&&!a.objectMode&&(q=new TypeError("Invalid non-string/buffer chunk")),q&&(_.emit("error",q),e.nextTick(z,q),N=!1),N}(this,z,_,b))&&(z.pendingcb++,N=function ee(_,a,b,z,N,q){if(!b){var pe=function ie(_,a,b){return!_.objectMode&&!1!==_.decodeStrings&&"string"==typeof a&&(a=h.from(a,b)),a}(a,z,N);z!==pe&&(b=!0,N="buffer",z=pe)}var ze=a.objectMode?1:z.length;a.length+=ze;var Xe=a.length-1))throw new TypeError("Unknown encoding: "+a);return this._writableState.defaultEncoding=a,this},Object.defineProperty(W.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),W.prototype._write=function(_,a,b){b(new Error("_write() is not implemented"))},W.prototype._writev=null,W.prototype.end=function(_,a,b){var z=this._writableState;"function"==typeof _?(b=_,_=null,a=null):"function"==typeof a&&(b=a,a=null),null!=_&&this.write(_,a),z.corked&&(z.corked=1,this.uncork()),z.ending||function A(_,a,b){a.ending=!0,C(_,a),b&&(a.finished?e.nextTick(b):_.once("finish",b)),a.ended=!0,_.writable=!1}(this,z,b)},Object.defineProperty(W.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(_){this._writableState&&(this._writableState.destroyed=_)}}),W.prototype.destroy=I.destroy,W.prototype._undestroy=I.undestroy,W.prototype._destroy=function(_,a){this.end(),a(_)}},7809:(Qe,te,g)=>{"use strict";var t=g(2655).Buffer,x=g(5340);function D(l,w,f){l.copy(w,f)}Qe.exports=function(){function l(){(function e(l,w){if(!(l instanceof w))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(f){var R={data:f,next:null};this.length>0?this.tail.next=R:this.head=R,this.tail=R,++this.length},l.prototype.unshift=function(f){var R={data:f,next:this.head};0===this.length&&(this.tail=R),this.head=R,++this.length},l.prototype.shift=function(){if(0!==this.length){var f=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,f}},l.prototype.clear=function(){this.head=this.tail=null,this.length=0},l.prototype.join=function(f){if(0===this.length)return"";for(var R=this.head,h=""+R.data;R=R.next;)h+=f+R.data;return h},l.prototype.concat=function(f){if(0===this.length)return t.alloc(0);for(var R=t.allocUnsafe(f>>>0),h=this.head,S=0;h;)D(h.data,R,S),S+=h.data.length,h=h.next;return R},l}(),x&&x.inspect&&x.inspect.custom&&(Qe.exports.prototype[x.inspect.custom]=function(){var l=x.inspect({length:this.length});return this.constructor.name+" "+l})},1509:(Qe,te,g)=>{"use strict";var e=g(9656);function D(l,w){l.emit("error",w)}Qe.exports={destroy:function t(l,w){var f=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(w?w(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(D,this,l)):e.nextTick(D,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(S){!w&&S?f._writableState?f._writableState.errorEmitted||(f._writableState.errorEmitted=!0,e.nextTick(D,f,S)):e.nextTick(D,f,S):w&&w(S)}),this)},undestroy:function x(){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:(Qe,te,g)=>{Qe.exports=g(4356).EventEmitter},2655:(Qe,te,g)=>{var e=g(3838),t=e.Buffer;function x(l,w){for(var f in l)w[f]=l[f]}function D(l,w,f){return t(l,w,f)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Qe.exports=e:(x(e,te),te.Buffer=D),x(t,D),D.from=function(l,w,f){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,w,f)},D.alloc=function(l,w,f){if("number"!=typeof l)throw new TypeError("Argument must be a number");var R=t(l);return void 0!==w?"string"==typeof f?R.fill(w,f):R.fill(w):R.fill(0),R},D.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},D.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},5942:(Qe,te,g)=>{(te=Qe.exports=g(9609)).Stream=te,te.Readable=te,te.Writable=g(7849),te.Duplex=g(4075),te.Transform=g(2909),te.PassThrough=g(8823)},6021:Qe=>{"use strict";function te(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}Qe.exports=function g(t){if((t=t||{}).circles)return function e(t){const x=[],D=[],l=new Map;if(l.set(Date,S=>new Date(S)),l.set(Map,(S,y)=>new Map(f(Array.from(S),y))),l.set(Set,(S,y)=>new Set(f(Array.from(S),y))),t.constructorHandlers)for(const S of t.constructorHandlers)l.set(S[0],S[1]);let w=null;return t.proto?function h(S){if("object"!=typeof S||null===S)return S;if(Array.isArray(S))return f(S,h);if(S.constructor!==Object&&(w=l.get(S.constructor)))return w(S,h);const y={};x.push(S),D.push(y);for(const O in S){const I=S[O];if("object"!=typeof I||null===I)y[O]=I;else if(I.constructor!==Object&&(w=l.get(I.constructor)))y[O]=w(I,h);else if(ArrayBuffer.isView(I))y[O]=te(I);else{const V=x.indexOf(I);y[O]=-1!==V?D[V]:h(I)}}return x.pop(),D.pop(),y}:function R(S){if("object"!=typeof S||null===S)return S;if(Array.isArray(S))return f(S,R);if(S.constructor!==Object&&(w=l.get(S.constructor)))return w(S,R);const y={};x.push(S),D.push(y);for(const O in S){if(!1===Object.hasOwnProperty.call(S,O))continue;const I=S[O];if("object"!=typeof I||null===I)y[O]=I;else if(I.constructor!==Object&&(w=l.get(I.constructor)))y[O]=w(I,R);else if(ArrayBuffer.isView(I))y[O]=te(I);else{const V=x.indexOf(I);y[O]=-1!==V?D[V]:R(I)}}return x.pop(),D.pop(),y};function f(S,y){const O=Object.keys(S),I=new Array(O.length);for(let V=0;Vnew Date(R)),x.set(Map,(R,h)=>new Map(l(Array.from(R),h))),x.set(Set,(R,h)=>new Set(l(Array.from(R),h))),t.constructorHandlers)for(const R of t.constructorHandlers)x.set(R[0],R[1]);let D=null;return t.proto?function f(R){if("object"!=typeof R||null===R)return R;if(Array.isArray(R))return l(R,f);if(R.constructor!==Object&&(D=x.get(R.constructor)))return D(R,f);const h={};for(const S in R){const y=R[S];h[S]="object"!=typeof y||null===y?y:y.constructor!==Object&&(D=x.get(y.constructor))?D(y,f):ArrayBuffer.isView(y)?te(y):f(y)}return h}:function w(R){if("object"!=typeof R||null===R)return R;if(Array.isArray(R))return l(R,w);if(R.constructor!==Object&&(D=x.get(R.constructor)))return D(R,w);const h={};for(const S in R){if(!1===Object.hasOwnProperty.call(R,S))continue;const y=R[S];h[S]="object"!=typeof y||null===y?y:y.constructor!==Object&&(D=x.get(y.constructor))?D(y,w):ArrayBuffer.isView(y)?te(y):w(y)}return h};function l(R,h){const S=Object.keys(R),y=new Array(S.length);for(let O=0;O{"use strict";var e=g(3838).Buffer,t=g(1993),x=g(3686),D=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],w=[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],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],h=[0,1518500249,1859775393,2400959708,2840853838],S=[1352829926,1548603684,1836072691,2053994217,0];function y(){x.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function O(Q,J){return Q<>>32-J}function I(Q,J,ie,ee,fe,ne,Me,Ce){return O(Q+(J^ie^ee)+ne+Me|0,Ce)+fe|0}function V(Q,J,ie,ee,fe,ne,Me,Ce){return O(Q+(J&ie|~J&ee)+ne+Me|0,Ce)+fe|0}function j(Q,J,ie,ee,fe,ne,Me,Ce){return O(Q+((J|~ie)^ee)+ne+Me|0,Ce)+fe|0}function Y(Q,J,ie,ee,fe,ne,Me,Ce){return O(Q+(J&ee|ie&~ee)+ne+Me|0,Ce)+fe|0}function W(Q,J,ie,ee,fe,ne,Me,Ce){return O(Q+(J^(ie|~ee))+ne+Me|0,Ce)+fe|0}t(y,x),y.prototype._update=function(){for(var Q=D,J=0;J<16;++J)Q[J]=this._block.readInt32LE(4*J);for(var ie=0|this._a,ee=0|this._b,fe=0|this._c,ne=0|this._d,Me=0|this._e,Ce=0|this._a,le=0|this._b,T=0|this._c,n=0|this._d,c=0|this._e,m=0;m<80;m+=1){var d,C;m<16?(d=I(ie,ee,fe,ne,Me,Q[l[m]],h[0],f[m]),C=W(Ce,le,T,n,c,Q[w[m]],S[0],R[m])):m<32?(d=V(ie,ee,fe,ne,Me,Q[l[m]],h[1],f[m]),C=Y(Ce,le,T,n,c,Q[w[m]],S[1],R[m])):m<48?(d=j(ie,ee,fe,ne,Me,Q[l[m]],h[2],f[m]),C=j(Ce,le,T,n,c,Q[w[m]],S[2],R[m])):m<64?(d=Y(ie,ee,fe,ne,Me,Q[l[m]],h[3],f[m]),C=V(Ce,le,T,n,c,Q[w[m]],S[3],R[m])):(d=W(ie,ee,fe,ne,Me,Q[l[m]],h[4],f[m]),C=I(Ce,le,T,n,c,Q[w[m]],S[4],R[m])),ie=Me,Me=ne,ne=O(fe,10),fe=ee,ee=d,Ce=c,c=n,n=O(T,10),T=le,le=C}var A=this._b+fe+n|0;this._b=this._c+ne+c|0,this._c=this._d+Me+Ce|0,this._d=this._e+ie+le|0,this._e=this._a+ee+T|0,this._a=A},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 Q=e.alloc?e.alloc(20):new e(20);return Q.writeInt32LE(this._a,0),Q.writeInt32LE(this._b,4),Q.writeInt32LE(this._c,8),Q.writeInt32LE(this._d,12),Q.writeInt32LE(this._e,16),Q},Qe.exports=y},4412:(Qe,te,g)=>{"use strict";g.d(te,{t:()=>t});var e=g(1413);class t extends e.B{constructor(D){super(),this._value=D}get value(){return this.getValue()}_subscribe(D){const l=super._subscribe(D);return!l.closed&&D.next(this._value),l}getValue(){const{hasError:D,thrownError:l,_value:w}=this;if(D)throw l;return this._throwIfClosed(),w}next(D){super.next(this._value=D)}}},1985:(Qe,te,g)=>{"use strict";g.d(te,{c:()=>R});var e=g(7707),t=g(8359),x=g(3494),D=g(1203),l=g(1026),w=g(8071),f=g(9786);let R=(()=>{class O{constructor(V){V&&(this._subscribe=V)}lift(V){const j=new O;return j.source=this,j.operator=V,j}subscribe(V,j,Y){const W=function y(O){return O&&O instanceof e.vU||function S(O){return O&&(0,w.T)(O.next)&&(0,w.T)(O.error)&&(0,w.T)(O.complete)}(O)&&(0,t.Uv)(O)}(V)?V:new e.Ms(V,j,Y);return(0,f.Y)(()=>{const{operator:Q,source:J}=this;W.add(Q?Q.call(W,J):J?this._subscribe(W):this._trySubscribe(W))}),W}_trySubscribe(V){try{return this._subscribe(V)}catch(j){V.error(j)}}forEach(V,j){return new(j=h(j))((Y,W)=>{const Q=new e.Ms({next:J=>{try{V(J)}catch(ie){W(ie),Q.unsubscribe()}},error:W,complete:Y});this.subscribe(Q)})}_subscribe(V){var j;return null===(j=this.source)||void 0===j?void 0:j.subscribe(V)}[x.s](){return this}pipe(...V){return(0,D.m)(V)(this)}toPromise(V){return new(V=h(V))((j,Y)=>{let W;this.subscribe(Q=>W=Q,Q=>Y(Q),()=>j(W))})}}return O.create=I=>new O(I),O})();function h(O){var I;return null!==(I=O??l.$.Promise)&&void 0!==I?I:Promise}},2771:(Qe,te,g)=>{"use strict";g.d(te,{m:()=>x});var e=g(1413),t=g(6129);class x extends e.B{constructor(l=1/0,w=1/0,f=t.U){super(),this._bufferSize=l,this._windowTime=w,this._timestampProvider=f,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=w===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,w)}next(l){const{isStopped:w,_buffer:f,_infiniteTimeWindow:R,_timestampProvider:h,_windowTime:S}=this;w||(f.push(l),!R&&f.push(h.now()+S)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const w=this._innerSubscribe(l),{_infiniteTimeWindow:f,_buffer:R}=this,h=R.slice();for(let S=0;S{"use strict";g.d(te,{k:()=>R,B:()=>f});var e=g(1985),t=g(8359);const D=(0,g(1853).L)(h=>function(){h(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=g(7908),w=g(9786);let f=(()=>{class h extends e.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(y){const O=new R(this,this);return O.operator=y,O}_throwIfClosed(){if(this.closed)throw new D}next(y){(0,w.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const O of this.currentObservers)O.next(y)}})}error(y){(0,w.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=y;const{observers:O}=this;for(;O.length;)O.shift().error(y)}})}complete(){(0,w.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:O,isStopped:I,observers:V}=this;return O||I?t.Kn:(this.currentObservers=null,V.push(y),new t.yU(()=>{this.currentObservers=null,(0,l.o)(V,y)}))}_checkFinalizedStatuses(y){const{hasError:O,thrownError:I,isStopped:V}=this;O?y.error(I):V&&y.complete()}asObservable(){const y=new e.c;return y.source=this,y}}return h.create=(S,y)=>new R(S,y),h})();class R extends f{constructor(S,y){super(),this.destination=S,this.source=y}next(S){var y,O;null===(O=null===(y=this.destination)||void 0===y?void 0:y.next)||void 0===O||O.call(y,S)}error(S){var y,O;null===(O=null===(y=this.destination)||void 0===y?void 0:y.error)||void 0===O||O.call(y,S)}complete(){var S,y;null===(y=null===(S=this.destination)||void 0===S?void 0:S.complete)||void 0===y||y.call(S)}_subscribe(S){var y,O;return null!==(O=null===(y=this.source)||void 0===y?void 0:y.subscribe(S))&&void 0!==O?O:t.Kn}}},7707:(Qe,te,g)=>{"use strict";g.d(te,{Ms:()=>Y,vU:()=>O});var e=g(8071),t=g(8359),x=g(1026),D=g(5334),l=g(5343);const w=h("C",void 0,void 0);function h(ee,fe,ne){return{kind:ee,value:fe,error:ne}}var S=g(9270),y=g(9786);class O extends t.yU{constructor(fe){super(),this.isStopped=!1,fe?(this.destination=fe,(0,t.Uv)(fe)&&fe.add(this)):this.destination=ie}static create(fe,ne,Me){return new Y(fe,ne,Me)}next(fe){this.isStopped?J(function R(ee){return h("N",ee,void 0)}(fe),this):this._next(fe)}error(fe){this.isStopped?J(function f(ee){return h("E",void 0,ee)}(fe),this):(this.isStopped=!0,this._error(fe))}complete(){this.isStopped?J(w,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(fe){this.destination.next(fe)}_error(fe){try{this.destination.error(fe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const I=Function.prototype.bind;function V(ee,fe){return I.call(ee,fe)}class j{constructor(fe){this.partialObserver=fe}next(fe){const{partialObserver:ne}=this;if(ne.next)try{ne.next(fe)}catch(Me){W(Me)}}error(fe){const{partialObserver:ne}=this;if(ne.error)try{ne.error(fe)}catch(Me){W(Me)}else W(fe)}complete(){const{partialObserver:fe}=this;if(fe.complete)try{fe.complete()}catch(ne){W(ne)}}}class Y extends O{constructor(fe,ne,Me){let Ce;if(super(),(0,e.T)(fe)||!fe)Ce={next:fe??void 0,error:ne??void 0,complete:Me??void 0};else{let le;this&&x.$.useDeprecatedNextContext?(le=Object.create(fe),le.unsubscribe=()=>this.unsubscribe(),Ce={next:fe.next&&V(fe.next,le),error:fe.error&&V(fe.error,le),complete:fe.complete&&V(fe.complete,le)}):Ce=fe}this.destination=new j(Ce)}}function W(ee){x.$.useDeprecatedSynchronousErrorHandling?(0,y.l)(ee):(0,D.m)(ee)}function J(ee,fe){const{onStoppedNotification:ne}=x.$;ne&&S.f.setTimeout(()=>ne(ee,fe))}const ie={closed:!0,next:l.l,error:function Q(ee){throw ee},complete:l.l}},8359:(Qe,te,g)=>{"use strict";g.d(te,{Kn:()=>w,yU:()=>l,Uv:()=>f});var e=g(8071);const x=(0,g(1853).L)(h=>function(y){h(this),this.message=y?`${y.length} errors occurred during unsubscription:\n${y.map((O,I)=>`${I+1}) ${O.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=y});var D=g(7908);class l{constructor(S){this.initialTeardown=S,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let S;if(!this.closed){this.closed=!0;const{_parentage:y}=this;if(y)if(this._parentage=null,Array.isArray(y))for(const V of y)V.remove(this);else y.remove(this);const{initialTeardown:O}=this;if((0,e.T)(O))try{O()}catch(V){S=V instanceof x?V.errors:[V]}const{_finalizers:I}=this;if(I){this._finalizers=null;for(const V of I)try{R(V)}catch(j){S=S??[],j instanceof x?S=[...S,...j.errors]:S.push(j)}}if(S)throw new x(S)}}add(S){var y;if(S&&S!==this)if(this.closed)R(S);else{if(S instanceof l){if(S.closed||S._hasParent(this))return;S._addParent(this)}(this._finalizers=null!==(y=this._finalizers)&&void 0!==y?y:[]).push(S)}}_hasParent(S){const{_parentage:y}=this;return y===S||Array.isArray(y)&&y.includes(S)}_addParent(S){const{_parentage:y}=this;this._parentage=Array.isArray(y)?(y.push(S),y):y?[y,S]:S}_removeParent(S){const{_parentage:y}=this;y===S?this._parentage=null:Array.isArray(y)&&(0,D.o)(y,S)}remove(S){const{_finalizers:y}=this;y&&(0,D.o)(y,S),S instanceof l&&S._removeParent(this)}}l.EMPTY=(()=>{const h=new l;return h.closed=!0,h})();const w=l.EMPTY;function f(h){return h instanceof l||h&&"closed"in h&&(0,e.T)(h.remove)&&(0,e.T)(h.add)&&(0,e.T)(h.unsubscribe)}function R(h){(0,e.T)(h)?h():h.unsubscribe()}},1026:(Qe,te,g)=>{"use strict";g.d(te,{$:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},17:(Qe,te,g)=>{"use strict";g.d(te,{G:()=>w});var e=g(1985),t=g(8359),x=g(9898),D=g(4360),l=g(9974);class w extends e.c{constructor(R,h){super(),this.source=R,this.subjectFactory=h,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 t.yU;const h=this.getSubject();R.add(this.source.subscribe((0,D._)(h,void 0,()=>{this._teardown(),h.complete()},S=>{this._teardown(),h.error(S)},()=>this._teardown()))),R.closed&&(this._connection=null,R=t.yU.EMPTY)}return R}refCount(){return(0,x.B)()(this)}}},4572:(Qe,te,g)=>{"use strict";g.d(te,{z:()=>S});var e=g(1985),t=g(3073),x=g(2806),D=g(3669),l=g(6450),w=g(9326),f=g(8496),R=g(4360),h=g(5225);function S(...I){const V=(0,w.lI)(I),j=(0,w.ms)(I),{args:Y,keys:W}=(0,t.D)(I);if(0===Y.length)return(0,x.H)([],V);const Q=new e.c(function y(I,V,j=D.D){return Y=>{O(V,()=>{const{length:W}=I,Q=new Array(W);let J=W,ie=W;for(let ee=0;ee{const fe=(0,x.H)(I[ee],V);let ne=!1;fe.subscribe((0,R._)(Y,Me=>{Q[ee]=Me,ne||(ne=!0,ie--),ie||Y.next(j(Q.slice()))},()=>{--J||Y.complete()}))},Y)},Y)}}(Y,V,W?J=>(0,f.e)(W,J):D.D));return j?Q.pipe((0,l.I)(j)):Q}function O(I,V,j){I?(0,h.N)(j,I,V):V()}},8793:(Qe,te,g)=>{"use strict";g.d(te,{x:()=>l});var e=g(6365),x=g(9326),D=g(2806);function l(...w){return function t(){return(0,e.U)(1)}()((0,D.H)(w,(0,x.lI)(w)))}},9030:(Qe,te,g)=>{"use strict";g.d(te,{v:()=>x});var e=g(1985),t=g(8750);function x(D){return new e.c(l=>{(0,t.Tg)(D()).subscribe(l)})}},983:(Qe,te,g)=>{"use strict";g.d(te,{w:()=>t});const t=new(g(1985).c)(l=>l.complete())},7468:(Qe,te,g)=>{"use strict";g.d(te,{p:()=>R});var e=g(1985),t=g(3073),x=g(8750),D=g(9326),l=g(4360),w=g(6450),f=g(8496);function R(...h){const S=(0,D.ms)(h),{args:y,keys:O}=(0,t.D)(h),I=new e.c(V=>{const{length:j}=y;if(!j)return void V.complete();const Y=new Array(j);let W=j,Q=j;for(let J=0;J{ie||(ie=!0,Q--),Y[J]=ee},()=>W--,void 0,()=>{(!W||!ie)&&(Q||V.next(O?(0,f.e)(O,Y):Y),V.complete())}))}});return S?I.pipe((0,w.I)(S)):I}},2806:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>ne});var e=g(8750),t=g(941),x=g(9974);function D(Me,Ce=0){return(0,x.N)((le,T)=>{T.add(Me.schedule(()=>le.subscribe(T),Ce))})}var f=g(1985),h=g(4761),S=g(8071),y=g(5225);function I(Me,Ce){if(!Me)throw new Error("Iterable cannot be null");return new f.c(le=>{(0,y.N)(le,Ce,()=>{const T=Me[Symbol.asyncIterator]();(0,y.N)(le,Ce,()=>{T.next().then(n=>{n.done?le.complete():le.next(n.value)})},0,!0)})})}var V=g(5055),j=g(9858),Y=g(7441),W=g(5397),Q=g(7953),J=g(591),ie=g(5196);function ne(Me,Ce){return Ce?function fe(Me,Ce){if(null!=Me){if((0,V.l)(Me))return function l(Me,Ce){return(0,e.Tg)(Me).pipe(D(Ce),(0,t.Q)(Ce))}(Me,Ce);if((0,Y.X)(Me))return function R(Me,Ce){return new f.c(le=>{let T=0;return Ce.schedule(function(){T===Me.length?le.complete():(le.next(Me[T++]),le.closed||this.schedule())})})}(Me,Ce);if((0,j.y)(Me))return function w(Me,Ce){return(0,e.Tg)(Me).pipe(D(Ce),(0,t.Q)(Ce))}(Me,Ce);if((0,Q.T)(Me))return I(Me,Ce);if((0,W.x)(Me))return function O(Me,Ce){return new f.c(le=>{let T;return(0,y.N)(le,Ce,()=>{T=Me[h.l](),(0,y.N)(le,Ce,()=>{let n,c;try{({value:n,done:c}=T.next())}catch(m){return void le.error(m)}c?le.complete():le.next(n)},0,!0)}),()=>(0,S.T)(T?.return)&&T.return()})}(Me,Ce);if((0,ie.U)(Me))return function ee(Me,Ce){return I((0,ie.C)(Me),Ce)}(Me,Ce)}throw(0,J.L)(Me)}(Me,Ce):(0,e.Tg)(Me)}},3726:(Qe,te,g)=>{"use strict";g.d(te,{R:()=>S});var e=g(8750),t=g(1985),x=g(1397),D=g(7441),l=g(8071),w=g(6450);const f=["addListener","removeListener"],R=["addEventListener","removeEventListener"],h=["on","off"];function S(j,Y,W,Q){if((0,l.T)(W)&&(Q=W,W=void 0),Q)return S(j,Y,W).pipe((0,w.I)(Q));const[J,ie]=function V(j){return(0,l.T)(j.addEventListener)&&(0,l.T)(j.removeEventListener)}(j)?R.map(ee=>fe=>j[ee](Y,fe,W)):function O(j){return(0,l.T)(j.addListener)&&(0,l.T)(j.removeListener)}(j)?f.map(y(j,Y)):function I(j){return(0,l.T)(j.on)&&(0,l.T)(j.off)}(j)?h.map(y(j,Y)):[];if(!J&&(0,D.X)(j))return(0,x.Z)(ee=>S(ee,Y,W))((0,e.Tg)(j));if(!J)throw new TypeError("Invalid event target");return new t.c(ee=>{const fe=(...ne)=>ee.next(1ie(fe)})}function y(j,Y){return W=>Q=>j[W](Y,Q)}},8750:(Qe,te,g)=>{"use strict";g.d(te,{Tg:()=>I});var e=g(1635),t=g(7441),x=g(9858),D=g(1985),l=g(5055),w=g(7953),f=g(591),R=g(5397),h=g(5196),S=g(8071),y=g(5334),O=g(3494);function I(ee){if(ee instanceof D.c)return ee;if(null!=ee){if((0,l.l)(ee))return function V(ee){return new D.c(fe=>{const ne=ee[O.s]();if((0,S.T)(ne.subscribe))return ne.subscribe(fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ee);if((0,t.X)(ee))return function j(ee){return new D.c(fe=>{for(let ne=0;ne{ee.then(ne=>{fe.closed||(fe.next(ne),fe.complete())},ne=>fe.error(ne)).then(null,y.m)})}(ee);if((0,w.T)(ee))return Q(ee);if((0,R.x)(ee))return function W(ee){return new D.c(fe=>{for(const ne of ee)if(fe.next(ne),fe.closed)return;fe.complete()})}(ee);if((0,h.U)(ee))return function J(ee){return Q((0,h.C)(ee))}(ee)}throw(0,f.L)(ee)}function Q(ee){return new D.c(fe=>{(function ie(ee,fe){var ne,Me,Ce,le;return(0,e.sH)(this,void 0,void 0,function*(){try{for(ne=(0,e.xN)(ee);!(Me=yield ne.next()).done;)if(fe.next(Me.value),fe.closed)return}catch(T){Ce={error:T}}finally{try{Me&&!Me.done&&(le=ne.return)&&(yield le.call(ne))}finally{if(Ce)throw Ce.error}}fe.complete()})})(ee,fe).catch(ne=>fe.error(ne))})}},7786:(Qe,te,g)=>{"use strict";g.d(te,{h:()=>w});var e=g(6365),t=g(8750),x=g(983),D=g(9326),l=g(2806);function w(...f){const R=(0,D.lI)(f),h=(0,D.R0)(f,1/0),S=f;return S.length?1===S.length?(0,t.Tg)(S[0]):(0,e.U)(h)((0,l.H)(S,R)):x.w}},7673:(Qe,te,g)=>{"use strict";g.d(te,{of:()=>x});var e=g(9326),t=g(2806);function x(...D){const l=(0,e.lI)(D);return(0,t.H)(D,l)}},8810:(Qe,te,g)=>{"use strict";g.d(te,{$:()=>x});var e=g(1985),t=g(8071);function x(D,l){const w=(0,t.T)(D)?D:()=>D,f=R=>R.error(w());return new e.c(l?R=>l.schedule(f,0,R):f)}},1807:(Qe,te,g)=>{"use strict";g.d(te,{O:()=>l});var e=g(1985),t=g(3236),x=g(9470),D=g(8211);function l(w=0,f,R=t.b){let h=-1;return null!=f&&((0,x.m)(f)?R=f:h=f),new e.c(S=>{let y=(0,D.v)(w)?+w-R.now():w;y<0&&(y=0);let O=0;return R.schedule(function(){S.closed||(S.next(O++),0<=h?this.schedule(void 0,h):S.complete())},y)})}},4360:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>x,_:()=>t});var e=g(7707);function t(D,l,w,f,R){return new x(D,l,w,f,R)}class x extends e.vU{constructor(l,w,f,R,h,S){super(l),this.onFinalize=h,this.shouldUnsubscribe=S,this._next=w?function(y){try{w(y)}catch(O){l.error(O)}}:super._next,this._error=R?function(y){try{R(y)}catch(O){l.error(O)}finally{this.unsubscribe()}}:super._error,this._complete=f?function(){try{f()}catch(y){l.error(y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:w}=this;super.unsubscribe(),!w&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},3798:(Qe,te,g)=>{"use strict";g.d(te,{Z:()=>f});var e=g(3236),t=g(9974),x=g(8750),D=g(4360),w=g(1807);function f(R,h=e.E){return function l(R){return(0,t.N)((h,S)=>{let y=!1,O=null,I=null,V=!1;const j=()=>{if(I?.unsubscribe(),I=null,y){y=!1;const W=O;O=null,S.next(W)}V&&S.complete()},Y=()=>{I=null,V&&S.complete()};h.subscribe((0,D._)(S,W=>{y=!0,O=W,I||(0,x.Tg)(R(W)).subscribe(I=(0,D._)(S,j,Y))},()=>{V=!0,(!y||!I||I.closed)&&S.complete()}))})}(()=>(0,w.O)(R,h))}},9437:(Qe,te,g)=>{"use strict";g.d(te,{W:()=>D});var e=g(8750),t=g(4360),x=g(9974);function D(l){return(0,x.N)((w,f)=>{let S,R=null,h=!1;R=w.subscribe((0,t._)(f,void 0,void 0,y=>{S=(0,e.Tg)(l(y,D(l)(w))),R?(R.unsubscribe(),R=null,S.subscribe(f)):h=!0})),h&&(R.unsubscribe(),R=null,S.subscribe(f))})}},274:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>x});var e=g(1397),t=g(8071);function x(D,l){return(0,t.T)(l)?(0,e.Z)(D,l,1):(0,e.Z)(D,1)}},152:(Qe,te,g)=>{"use strict";g.d(te,{B:()=>D});var e=g(3236),t=g(9974),x=g(4360);function D(l,w=e.E){return(0,t.N)((f,R)=>{let h=null,S=null,y=null;const O=()=>{if(h){h.unsubscribe(),h=null;const V=S;S=null,R.next(V)}};function I(){const V=y+l,j=w.now();if(j{S=V,y=w.now(),h||(h=w.schedule(I,l),R.add(h))},()=>{O(),R.complete()},void 0,()=>{S=h=null}))})}},9901:(Qe,te,g)=>{"use strict";g.d(te,{U:()=>x});var e=g(9974),t=g(4360);function x(D){return(0,e.N)((l,w)=>{let f=!1;l.subscribe((0,t._)(w,R=>{f=!0,w.next(R)},()=>{f||w.next(D),w.complete()}))})}},5335:(Qe,te,g)=>{"use strict";g.d(te,{c:()=>S});var e=g(3236),t=g(8793),x=g(6697),D=g(3557),l=g(3703),w=g(1397),f=g(8750);function R(y,O){return O?I=>(0,t.x)(O.pipe((0,x.s)(1),(0,D.w)()),I.pipe(R(y))):(0,w.Z)((I,V)=>(0,f.Tg)(y(I,V)).pipe((0,x.s)(1),(0,l.u)(I)))}var h=g(1807);function S(y,O=e.E){const I=(0,h.O)(y,O);return R(()=>I)}},3294:(Qe,te,g)=>{"use strict";g.d(te,{F:()=>D});var e=g(3669),t=g(9974),x=g(4360);function D(w,f=e.D){return w=w??l,(0,t.N)((R,h)=>{let S,y=!0;R.subscribe((0,x._)(h,O=>{const I=f(O);(y||!w(S,I))&&(y=!1,S=I,h.next(O))}))})}function l(w,f){return w===f}},5964:(Qe,te,g)=>{"use strict";g.d(te,{p:()=>x});var e=g(9974),t=g(4360);function x(D,l){return(0,e.N)((w,f)=>{let R=0;w.subscribe((0,t._)(f,h=>D.call(l,h,R++)&&f.next(h)))})}},980:(Qe,te,g)=>{"use strict";g.d(te,{j:()=>t});var e=g(9974);function t(x){return(0,e.N)((D,l)=>{try{D.subscribe(l)}finally{l.add(x)}})}},1594:(Qe,te,g)=>{"use strict";g.d(te,{$:()=>f});var e=g(9350),t=g(5964),x=g(6697),D=g(9901),l=g(3774),w=g(3669);function f(R,h){const S=arguments.length>=2;return y=>y.pipe(R?(0,t.p)((O,I)=>R(O,I,y)):w.D,(0,x.s)(1),S?(0,D.U)(h):(0,l.v)(()=>new e.G))}},3557:(Qe,te,g)=>{"use strict";g.d(te,{w:()=>D});var e=g(9974),t=g(4360),x=g(5343);function D(){return(0,e.N)((l,w)=>{l.subscribe((0,t._)(w,x.l))})}},6354:(Qe,te,g)=>{"use strict";g.d(te,{T:()=>x});var e=g(9974),t=g(4360);function x(D,l){return(0,e.N)((w,f)=>{let R=0;w.subscribe((0,t._)(f,h=>{f.next(D.call(l,h,R++))}))})}},3703:(Qe,te,g)=>{"use strict";g.d(te,{u:()=>t});var e=g(6354);function t(x){return(0,e.T)(()=>x)}},6365:(Qe,te,g)=>{"use strict";g.d(te,{U:()=>x});var e=g(1397),t=g(3669);function x(D=1/0){return(0,e.Z)(t.D,D)}},1397:(Qe,te,g)=>{"use strict";g.d(te,{Z:()=>R});var e=g(6354),t=g(8750),x=g(9974),D=g(5225),l=g(4360),f=g(8071);function R(h,S,y=1/0){return(0,f.T)(S)?R((O,I)=>(0,e.T)((V,j)=>S(O,V,I,j))((0,t.Tg)(h(O,I))),y):("number"==typeof S&&(y=S),(0,x.N)((O,I)=>function w(h,S,y,O,I,V,j,Y){const W=[];let Q=0,J=0,ie=!1;const ee=()=>{ie&&!W.length&&!Q&&S.complete()},fe=Me=>Q{V&&S.next(Me),Q++;let Ce=!1;(0,t.Tg)(y(Me,J++)).subscribe((0,l._)(S,le=>{I?.(le),V?fe(le):S.next(le)},()=>{Ce=!0},void 0,()=>{if(Ce)try{for(Q--;W.length&&Qne(le)):ne(le)}ee()}catch(le){S.error(le)}}))};return h.subscribe((0,l._)(S,fe,()=>{ie=!0,ee()})),()=>{Y?.()}}(O,I,h,y)))}},941:(Qe,te,g)=>{"use strict";g.d(te,{Q:()=>D});var e=g(5225),t=g(9974),x=g(4360);function D(l,w=0){return(0,t.N)((f,R)=>{f.subscribe((0,x._)(R,h=>(0,e.N)(R,l,()=>R.next(h),w),()=>(0,e.N)(R,l,()=>R.complete(),w),h=>(0,e.N)(R,l,()=>R.error(h),w)))})}},9898:(Qe,te,g)=>{"use strict";g.d(te,{B:()=>x});var e=g(9974),t=g(4360);function x(){return(0,e.N)((D,l)=>{let w=null;D._refCount++;const f=(0,t._)(l,void 0,void 0,void 0,()=>{if(!D||D._refCount<=0||0<--D._refCount)return void(w=null);const R=D._connection,h=w;w=null,R&&(!h||R===h)&&R.unsubscribe(),l.unsubscribe()});D.subscribe(f),f.closed||(w=D.connect())})}},2816:(Qe,te,g)=>{"use strict";g.d(te,{S:()=>D});var e=g(9974),t=g(4360);function D(l,w){return(0,e.N)(function x(l,w,f,R,h){return(S,y)=>{let O=f,I=w,V=0;S.subscribe((0,t._)(y,j=>{const Y=V++;I=O?l(I,j,Y):(O=!0,j),R&&y.next(I)},h&&(()=>{O&&y.next(I),y.complete()})))}}(l,w,arguments.length>=2,!0))}},7647:(Qe,te,g)=>{"use strict";g.d(te,{u:()=>l});var e=g(8750),t=g(1413),x=g(7707),D=g(9974);function l(f={}){const{connector:R=()=>new t.B,resetOnError:h=!0,resetOnComplete:S=!0,resetOnRefCountZero:y=!0}=f;return O=>{let I,V,j,Y=0,W=!1,Q=!1;const J=()=>{V?.unsubscribe(),V=void 0},ie=()=>{J(),I=j=void 0,W=Q=!1},ee=()=>{const fe=I;ie(),fe?.unsubscribe()};return(0,D.N)((fe,ne)=>{Y++,!Q&&!W&&J();const Me=j=j??R();ne.add(()=>{Y--,0===Y&&!Q&&!W&&(V=w(ee,y))}),Me.subscribe(ne),!I&&Y>0&&(I=new x.Ms({next:Ce=>Me.next(Ce),error:Ce=>{Q=!0,J(),V=w(ie,h,Ce),Me.error(Ce)},complete:()=>{W=!0,J(),V=w(ie,S),Me.complete()}}),(0,e.Tg)(fe).subscribe(I))})(O)}}function w(f,R,...h){if(!0===R)return void f();if(!1===R)return;const S=new x.Ms({next:()=>{S.unsubscribe(),f()}});return(0,e.Tg)(R(...h)).subscribe(S)}},5245:(Qe,te,g)=>{"use strict";g.d(te,{i:()=>t});var e=g(5964);function t(x){return(0,e.p)((D,l)=>x<=l)}},9172:(Qe,te,g)=>{"use strict";g.d(te,{Z:()=>D});var e=g(8793),t=g(9326),x=g(9974);function D(...l){const w=(0,t.lI)(l);return(0,x.N)((f,R)=>{(w?(0,e.x)(l,f,w):(0,e.x)(l,f)).subscribe(R)})}},5558:(Qe,te,g)=>{"use strict";g.d(te,{n:()=>D});var e=g(8750),t=g(9974),x=g(4360);function D(l,w){return(0,t.N)((f,R)=>{let h=null,S=0,y=!1;const O=()=>y&&!h&&R.complete();f.subscribe((0,x._)(R,I=>{h?.unsubscribe();let V=0;const j=S++;(0,e.Tg)(l(I,j)).subscribe(h=(0,x._)(R,Y=>R.next(w?w(I,Y,j,V++):Y),()=>{h=null,O()}))},()=>{y=!0,O()}))})}},6697:(Qe,te,g)=>{"use strict";g.d(te,{s:()=>D});var e=g(983),t=g(9974),x=g(4360);function D(l){return l<=0?()=>e.w:(0,t.N)((w,f)=>{let R=0;w.subscribe((0,x._)(f,h=>{++R<=l&&(f.next(h),l<=R&&f.complete())}))})}},6977:(Qe,te,g)=>{"use strict";g.d(te,{Q:()=>l});var e=g(9974),t=g(4360),x=g(8750),D=g(5343);function l(w){return(0,e.N)((f,R)=>{(0,x.Tg)(w).subscribe((0,t._)(R,()=>R.complete(),D.l)),!R.closed&&f.subscribe(R)})}},8141:(Qe,te,g)=>{"use strict";g.d(te,{M:()=>l});var e=g(8071),t=g(9974),x=g(4360),D=g(3669);function l(w,f,R){const h=(0,e.T)(w)||f||R?{next:w,error:f,complete:R}:w;return h?(0,t.N)((S,y)=>{var O;null===(O=h.subscribe)||void 0===O||O.call(h);let I=!0;S.subscribe((0,x._)(y,V=>{var j;null===(j=h.next)||void 0===j||j.call(h,V),y.next(V)},()=>{var V;I=!1,null===(V=h.complete)||void 0===V||V.call(h),y.complete()},V=>{var j;I=!1,null===(j=h.error)||void 0===j||j.call(h,V),y.error(V)},()=>{var V,j;I&&(null===(V=h.unsubscribe)||void 0===V||V.call(h)),null===(j=h.finalize)||void 0===j||j.call(h)}))}):D.D}},3774:(Qe,te,g)=>{"use strict";g.d(te,{v:()=>D});var e=g(9350),t=g(9974),x=g(4360);function D(w=l){return(0,t.N)((f,R)=>{let h=!1;f.subscribe((0,x._)(R,S=>{h=!0,R.next(S)},()=>h?R.complete():R.error(w())))})}function l(){return new e.G}},3993:(Qe,te,g)=>{"use strict";g.d(te,{E:()=>f});var e=g(9974),t=g(4360),x=g(8750),D=g(3669),l=g(5343),w=g(9326);function f(...R){const h=(0,w.ms)(R);return(0,e.N)((S,y)=>{const O=R.length,I=new Array(O);let V=R.map(()=>!1),j=!1;for(let Y=0;Y{I[Y]=W,!j&&!V[Y]&&(V[Y]=!0,(j=V.every(D.D))&&(V=null))},l.l));S.subscribe((0,t._)(y,Y=>{if(j){const W=[Y,...I];y.next(h?h(...W):W)}}))})}},6780:(Qe,te,g)=>{"use strict";g.d(te,{R:()=>l});var e=g(8359);class t extends e.yU{constructor(f,R){super()}schedule(f,R=0){return this}}const x={setInterval(w,f,...R){const{delegate:h}=x;return h?.setInterval?h.setInterval(w,f,...R):setInterval(w,f,...R)},clearInterval(w){const{delegate:f}=x;return(f?.clearInterval||clearInterval)(w)},delegate:void 0};var D=g(7908);class l extends t{constructor(f,R){super(f,R),this.scheduler=f,this.work=R,this.pending=!1}schedule(f,R=0){var h;if(this.closed)return this;this.state=f;const S=this.id,y=this.scheduler;return null!=S&&(this.id=this.recycleAsyncId(y,S,R)),this.pending=!0,this.delay=R,this.id=null!==(h=this.id)&&void 0!==h?h:this.requestAsyncId(y,this.id,R),this}requestAsyncId(f,R,h=0){return x.setInterval(f.flush.bind(f,this),h)}recycleAsyncId(f,R,h=0){if(null!=h&&this.delay===h&&!1===this.pending)return R;null!=R&&x.clearInterval(R)}execute(f,R){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const h=this._execute(f,R);if(h)return h;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(f,R){let S,h=!1;try{this.work(f)}catch(y){h=!0,S=y||new Error("Scheduled action threw falsy error")}if(h)return this.unsubscribe(),S}unsubscribe(){if(!this.closed){const{id:f,scheduler:R}=this,{actions:h}=R;this.work=this.state=this.scheduler=null,this.pending=!1,(0,D.o)(h,this),null!=f&&(this.id=this.recycleAsyncId(R,f,null)),this.delay=null,super.unsubscribe()}}}},9687:(Qe,te,g)=>{"use strict";g.d(te,{q:()=>x});var e=g(6129);class t{constructor(l,w=t.now){this.schedulerActionCtor=l,this.now=w}schedule(l,w=0,f){return new this.schedulerActionCtor(this,l).schedule(f,w)}}t.now=e.U.now;class x extends t{constructor(l,w=t.now){super(l,w),this.actions=[],this._active=!1}flush(l){const{actions:w}=this;if(this._active)return void w.push(l);let f;this._active=!0;do{if(f=l.execute(l.state,l.delay))break}while(l=w.shift());if(this._active=!1,f){for(;l=w.shift();)l.unsubscribe();throw f}}}},5007:(Qe,te,g)=>{"use strict";g.d(te,{$:()=>V});var e=g(6780);let x,t=1;const D={};function l(Y){return Y in D&&(delete D[Y],!0)}const w={setImmediate(Y){const W=t++;return D[W]=!0,x||(x=Promise.resolve()),x.then(()=>l(W)&&Y()),W},clearImmediate(Y){l(Y)}},{setImmediate:R,clearImmediate:h}=w,S={setImmediate(...Y){const{delegate:W}=S;return(W?.setImmediate||R)(...Y)},clearImmediate(Y){const{delegate:W}=S;return(W?.clearImmediate||h)(Y)},delegate:void 0};var O=g(9687);const V=new class I extends O.q{flush(W){this._active=!0;const Q=this._scheduled;this._scheduled=void 0;const{actions:J}=this;let ie;W=W||J.shift();do{if(ie=W.execute(W.state,W.delay))break}while((W=J[0])&&W.id===Q&&J.shift());if(this._active=!1,ie){for(;(W=J[0])&&W.id===Q&&J.shift();)W.unsubscribe();throw ie}}}(class y extends e.R{constructor(W,Q){super(W,Q),this.scheduler=W,this.work=Q}requestAsyncId(W,Q,J=0){return null!==J&&J>0?super.requestAsyncId(W,Q,J):(W.actions.push(this),W._scheduled||(W._scheduled=S.setImmediate(W.flush.bind(W,void 0))))}recycleAsyncId(W,Q,J=0){var ie;if(null!=J?J>0:this.delay>0)return super.recycleAsyncId(W,Q,J);const{actions:ee}=W;null!=Q&&(null===(ie=ee[ee.length-1])||void 0===ie?void 0:ie.id)!==Q&&(S.clearImmediate(Q),W._scheduled===Q&&(W._scheduled=void 0))}})},3236:(Qe,te,g)=>{"use strict";g.d(te,{E:()=>x,b:()=>D});var e=g(6780);const x=new(g(9687).q)(e.R),D=x},6129:(Qe,te,g)=>{"use strict";g.d(te,{U:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},7242:(Qe,te,g)=>{"use strict";g.d(te,{T:()=>l});var e=g(6780),x=g(9687);const l=new class D extends x.q{}(class t extends e.R{constructor(R,h){super(R,h),this.scheduler=R,this.work=h}schedule(R,h=0){return h>0?super.schedule(R,h):(this.delay=h,this.state=R,this.scheduler.flush(this),this)}execute(R,h){return h>0||this.closed?super.execute(R,h):this._execute(R,h)}requestAsyncId(R,h,S=0){return null!=S&&S>0||null==S&&this.delay>0?super.requestAsyncId(R,h,S):(R.flush(this),0)}})},9270:(Qe,te,g)=>{"use strict";g.d(te,{f:()=>e});const e={setTimeout(t,x,...D){const{delegate:l}=e;return l?.setTimeout?l.setTimeout(t,x,...D):setTimeout(t,x,...D)},clearTimeout(t){const{delegate:x}=e;return(x?.clearTimeout||clearTimeout)(t)},delegate:void 0}},4761:(Qe,te,g)=>{"use strict";g.d(te,{l:()=>t});const t=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Qe,te,g)=>{"use strict";g.d(te,{s:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(Qe,te,g)=>{"use strict";g.d(te,{G:()=>t});const t=(0,g(1853).L)(x=>function(){x(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(Qe,te,g)=>{"use strict";g.d(te,{R0:()=>w,lI:()=>l,ms:()=>D});var e=g(8071),t=g(9470);function x(f){return f[f.length-1]}function D(f){return(0,e.T)(x(f))?f.pop():void 0}function l(f){return(0,t.m)(x(f))?f.pop():void 0}function w(f,R){return"number"==typeof x(f)?f.pop():R}},3073:(Qe,te,g)=>{"use strict";g.d(te,{D:()=>l});const{isArray:e}=Array,{getPrototypeOf:t,prototype:x,keys:D}=Object;function l(f){if(1===f.length){const R=f[0];if(e(R))return{args:R,keys:null};if(function w(f){return f&&"object"==typeof f&&t(f)===x}(R)){const h=D(R);return{args:h.map(S=>R[S]),keys:h}}}return{args:f,keys:null}}},7908:(Qe,te,g)=>{"use strict";function e(t,x){if(t){const D=t.indexOf(x);0<=D&&t.splice(D,1)}}g.d(te,{o:()=>e})},1853:(Qe,te,g)=>{"use strict";function e(t){const D=t(l=>{Error.call(l),l.stack=(new Error).stack});return D.prototype=Object.create(Error.prototype),D.prototype.constructor=D,D}g.d(te,{L:()=>e})},8496:(Qe,te,g)=>{"use strict";function e(t,x){return t.reduce((D,l,w)=>(D[l]=x[w],D),{})}g.d(te,{e:()=>e})},9786:(Qe,te,g)=>{"use strict";g.d(te,{Y:()=>x,l:()=>D});var e=g(1026);let t=null;function x(l){if(e.$.useDeprecatedSynchronousErrorHandling){const w=!t;if(w&&(t={errorThrown:!1,error:null}),l(),w){const{errorThrown:f,error:R}=t;if(t=null,f)throw R}}else l()}function D(l){e.$.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=l)}},5225:(Qe,te,g)=>{"use strict";function e(t,x,D,l=0,w=!1){const f=x.schedule(function(){D(),w?t.add(this.schedule(null,l)):this.unsubscribe()},l);if(t.add(f),!w)return f}g.d(te,{N:()=>e})},3669:(Qe,te,g)=>{"use strict";function e(t){return t}g.d(te,{D:()=>e})},7441:(Qe,te,g)=>{"use strict";g.d(te,{X:()=>e});const e=t=>t&&"number"==typeof t.length&&"function"!=typeof t},7953:(Qe,te,g)=>{"use strict";g.d(te,{T:()=>t});var e=g(8071);function t(x){return Symbol.asyncIterator&&(0,e.T)(x?.[Symbol.asyncIterator])}},8211:(Qe,te,g)=>{"use strict";function e(t){return t instanceof Date&&!isNaN(t)}g.d(te,{v:()=>e})},8071:(Qe,te,g)=>{"use strict";function e(t){return"function"==typeof t}g.d(te,{T:()=>e})},5055:(Qe,te,g)=>{"use strict";g.d(te,{l:()=>x});var e=g(3494),t=g(8071);function x(D){return(0,t.T)(D[e.s])}},5397:(Qe,te,g)=>{"use strict";g.d(te,{x:()=>x});var e=g(4761),t=g(8071);function x(D){return(0,t.T)(D?.[e.l])}},4402:(Qe,te,g)=>{"use strict";g.d(te,{A:()=>x});var e=g(1985),t=g(8071);function x(D){return!!D&&(D instanceof e.c||(0,t.T)(D.lift)&&(0,t.T)(D.subscribe))}},9858:(Qe,te,g)=>{"use strict";g.d(te,{y:()=>t});var e=g(8071);function t(x){return(0,e.T)(x?.then)}},5196:(Qe,te,g)=>{"use strict";g.d(te,{C:()=>x,U:()=>D});var e=g(1635),t=g(8071);function x(l){return(0,e.AQ)(this,arguments,function*(){const f=l.getReader();try{for(;;){const{value:R,done:h}=yield(0,e.N3)(f.read());if(h)return yield(0,e.N3)(void 0);yield yield(0,e.N3)(R)}}finally{f.releaseLock()}})}function D(l){return(0,t.T)(l?.getReader)}},9470:(Qe,te,g)=>{"use strict";g.d(te,{m:()=>t});var e=g(8071);function t(x){return x&&(0,e.T)(x.schedule)}},9974:(Qe,te,g)=>{"use strict";g.d(te,{N:()=>x,S:()=>t});var e=g(8071);function t(D){return(0,e.T)(D?.lift)}function x(D){return l=>{if(t(l))return l.lift(function(w){try{return D(w,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Qe,te,g)=>{"use strict";g.d(te,{I:()=>D});var e=g(6354);const{isArray:t}=Array;function D(l){return(0,e.T)(w=>function x(l,w){return t(w)?l(...w):l(w)}(l,w))}},5343:(Qe,te,g)=>{"use strict";function e(){}g.d(te,{l:()=>e})},1203:(Qe,te,g)=>{"use strict";g.d(te,{F:()=>t,m:()=>x});var e=g(3669);function t(...D){return x(D)}function x(D){return 0===D.length?e.D:1===D.length?D[0]:function(w){return D.reduce((f,R)=>R(f),w)}}},5334:(Qe,te,g)=>{"use strict";g.d(te,{m:()=>x});var e=g(1026),t=g(9270);function x(D){t.f.setTimeout(()=>{const{onUnhandledError:l}=e.$;if(!l)throw D;l(D)})}},591:(Qe,te,g)=>{"use strict";function e(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(te,{L:()=>e})},7054:(Qe,te,g)=>{var e=g(3838),t=e.Buffer;function x(l,w){for(var f in l)w[f]=l[f]}function D(l,w,f){return t(l,w,f)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Qe.exports=e:(x(e,te),te.Buffer=D),D.prototype=Object.create(t.prototype),x(t,D),D.from=function(l,w,f){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,w,f)},D.alloc=function(l,w,f){if("number"!=typeof l)throw new TypeError("Argument must be a number");var R=t(l);return void 0!==w?"string"==typeof f?R.fill(w,f):R.fill(w):R.fill(0),R},D.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},D.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},463:(Qe,te,g)=>{var e=g(7054).Buffer;function t(x,D){this._block=e.alloc(x),this._finalSize=D,this._blockSize=x,this._len=0}t.prototype.update=function(x,D){"string"==typeof x&&(x=e.from(x,D=D||"utf8"));for(var l=this._block,w=this._blockSize,f=x.length,R=this._len,h=0;h=this._finalSize&&(this._update(this._block),this._block.fill(0));var l=8*this._len;if(l<=4294967295)this._block.writeUInt32BE(l,this._blockSize-4);else{var w=(4294967295&l)>>>0;this._block.writeUInt32BE((l-w)/4294967296,this._blockSize-8),this._block.writeUInt32BE(w,this._blockSize-4)}this._update(this._block);var R=this._hash();return x?R.toString(x):R},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Qe.exports=t},5443:(Qe,te,g)=>{var e=Qe.exports=function(x){x=x.toLowerCase();var D=e[x];if(!D)throw new Error(x+" is not supported (we accept pull requests)");return new D};e.sha=g(8585),e.sha1=g(1270),e.sha224=g(2709),e.sha256=g(2148),e.sha384=g(1856),e.sha512=g(3121)},8585:(Qe,te,g)=>{var e=g(1993),t=g(463),x=g(7054).Buffer,D=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function w(){this.init(),this._w=l,t.call(this,64,56)}function f(S){return S<<5|S>>>27}function R(S){return S<<30|S>>>2}function h(S,y,O,I){return 0===S?y&O|~y&I:2===S?y&O|y&I|O&I:y^O^I}e(w,t),w.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},w.prototype._update=function(S){for(var y=this._w,O=0|this._a,I=0|this._b,V=0|this._c,j=0|this._d,Y=0|this._e,W=0;W<16;++W)y[W]=S.readInt32BE(4*W);for(;W<80;++W)y[W]=y[W-3]^y[W-8]^y[W-14]^y[W-16];for(var Q=0;Q<80;++Q){var J=~~(Q/20),ie=f(O)+h(J,I,V,j)+Y+y[Q]+D[J]|0;Y=j,j=V,V=R(I),I=O,O=ie}this._a=O+this._a|0,this._b=I+this._b|0,this._c=V+this._c|0,this._d=j+this._d|0,this._e=Y+this._e|0},w.prototype._hash=function(){var S=x.allocUnsafe(20);return S.writeInt32BE(0|this._a,0),S.writeInt32BE(0|this._b,4),S.writeInt32BE(0|this._c,8),S.writeInt32BE(0|this._d,12),S.writeInt32BE(0|this._e,16),S},Qe.exports=w},1270:(Qe,te,g)=>{var e=g(1993),t=g(463),x=g(7054).Buffer,D=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function w(){this.init(),this._w=l,t.call(this,64,56)}function f(y){return y<<1|y>>>31}function R(y){return y<<5|y>>>27}function h(y){return y<<30|y>>>2}function S(y,O,I,V){return 0===y?O&I|~O&V:2===y?O&I|O&V|I&V:O^I^V}e(w,t),w.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},w.prototype._update=function(y){for(var O=this._w,I=0|this._a,V=0|this._b,j=0|this._c,Y=0|this._d,W=0|this._e,Q=0;Q<16;++Q)O[Q]=y.readInt32BE(4*Q);for(;Q<80;++Q)O[Q]=f(O[Q-3]^O[Q-8]^O[Q-14]^O[Q-16]);for(var J=0;J<80;++J){var ie=~~(J/20),ee=R(I)+S(ie,V,j,Y)+W+O[J]+D[ie]|0;W=Y,Y=j,j=h(V),V=I,I=ee}this._a=I+this._a|0,this._b=V+this._b|0,this._c=j+this._c|0,this._d=Y+this._d|0,this._e=W+this._e|0},w.prototype._hash=function(){var y=x.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},Qe.exports=w},2709:(Qe,te,g)=>{var e=g(1993),t=g(2148),x=g(463),D=g(7054).Buffer,l=new Array(64);function w(){this.init(),this._w=l,x.call(this,64,56)}e(w,t),w.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},w.prototype._hash=function(){var f=D.allocUnsafe(28);return f.writeInt32BE(this._a,0),f.writeInt32BE(this._b,4),f.writeInt32BE(this._c,8),f.writeInt32BE(this._d,12),f.writeInt32BE(this._e,16),f.writeInt32BE(this._f,20),f.writeInt32BE(this._g,24),f},Qe.exports=w},2148:(Qe,te,g)=>{var e=g(1993),t=g(463),x=g(7054).Buffer,D=[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 w(){this.init(),this._w=l,t.call(this,64,56)}function f(I,V,j){return j^I&(V^j)}function R(I,V,j){return I&V|j&(I|V)}function h(I){return(I>>>2|I<<30)^(I>>>13|I<<19)^(I>>>22|I<<10)}function S(I){return(I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7)}function y(I){return(I>>>7|I<<25)^(I>>>18|I<<14)^I>>>3}function O(I){return(I>>>17|I<<15)^(I>>>19|I<<13)^I>>>10}e(w,t),w.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},w.prototype._update=function(I){for(var V=this._w,j=0|this._a,Y=0|this._b,W=0|this._c,Q=0|this._d,J=0|this._e,ie=0|this._f,ee=0|this._g,fe=0|this._h,ne=0;ne<16;++ne)V[ne]=I.readInt32BE(4*ne);for(;ne<64;++ne)V[ne]=O(V[ne-2])+V[ne-7]+y(V[ne-15])+V[ne-16]|0;for(var Me=0;Me<64;++Me){var Ce=fe+S(J)+f(J,ie,ee)+D[Me]+V[Me]|0,le=h(j)+R(j,Y,W)|0;fe=ee,ee=ie,ie=J,J=Q+Ce|0,Q=W,W=Y,Y=j,j=Ce+le|0}this._a=j+this._a|0,this._b=Y+this._b|0,this._c=W+this._c|0,this._d=Q+this._d|0,this._e=J+this._e|0,this._f=ie+this._f|0,this._g=ee+this._g|0,this._h=fe+this._h|0},w.prototype._hash=function(){var I=x.allocUnsafe(32);return I.writeInt32BE(this._a,0),I.writeInt32BE(this._b,4),I.writeInt32BE(this._c,8),I.writeInt32BE(this._d,12),I.writeInt32BE(this._e,16),I.writeInt32BE(this._f,20),I.writeInt32BE(this._g,24),I.writeInt32BE(this._h,28),I},Qe.exports=w},1856:(Qe,te,g)=>{var e=g(1993),t=g(3121),x=g(463),D=g(7054).Buffer,l=new Array(160);function w(){this.init(),this._w=l,x.call(this,128,112)}e(w,t),w.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},w.prototype._hash=function(){var f=D.allocUnsafe(48);function R(h,S,y){f.writeInt32BE(h,y),f.writeInt32BE(S,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),f},Qe.exports=w},3121:(Qe,te,g)=>{var e=g(1993),t=g(463),x=g(7054).Buffer,D=[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 w(){this.init(),this._w=l,t.call(this,128,112)}function f(Y,W,Q){return Q^Y&(W^Q)}function R(Y,W,Q){return Y&W|Q&(Y|W)}function h(Y,W){return(Y>>>28|W<<4)^(W>>>2|Y<<30)^(W>>>7|Y<<25)}function S(Y,W){return(Y>>>14|W<<18)^(Y>>>18|W<<14)^(W>>>9|Y<<23)}function y(Y,W){return(Y>>>1|W<<31)^(Y>>>8|W<<24)^Y>>>7}function O(Y,W){return(Y>>>1|W<<31)^(Y>>>8|W<<24)^(Y>>>7|W<<25)}function I(Y,W){return(Y>>>19|W<<13)^(W>>>29|Y<<3)^Y>>>6}function V(Y,W){return(Y>>>19|W<<13)^(W>>>29|Y<<3)^(Y>>>6|W<<26)}function j(Y,W){return Y>>>0>>0?1:0}e(w,t),w.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},w.prototype._update=function(Y){for(var W=this._w,Q=0|this._ah,J=0|this._bh,ie=0|this._ch,ee=0|this._dh,fe=0|this._eh,ne=0|this._fh,Me=0|this._gh,Ce=0|this._hh,le=0|this._al,T=0|this._bl,n=0|this._cl,c=0|this._dl,m=0|this._el,d=0|this._fl,C=0|this._gl,A=0|this._hl,k=0;k<32;k+=2)W[k]=Y.readInt32BE(4*k),W[k+1]=Y.readInt32BE(4*k+4);for(;k<160;k+=2){var _=W[k-30],a=W[k-30+1],b=y(_,a),z=O(a,_),N=I(_=W[k-4],a=W[k-4+1]),q=V(a,_),Xe=W[k-32],We=W[k-32+1],oe=z+W[k-14+1]|0,X=b+W[k-14]+j(oe,z)|0;X=(X=X+N+j(oe=oe+q|0,q)|0)+Xe+j(oe=oe+We|0,We)|0,W[k]=X,W[k+1]=oe}for(var se=0;se<160;se+=2){X=W[se],oe=W[se+1];var ae=R(Q,J,ie),he=R(le,T,n),Ie=h(Q,le),st=h(le,Q),me=S(fe,m),Ee=S(m,fe),ue=D[se],Be=D[se+1],Ct=f(fe,ne,Me),ct=f(m,d,C),dt=A+Ee|0,Yt=Ce+me+j(dt,A)|0;Yt=(Yt=(Yt=Yt+Ct+j(dt=dt+ct|0,ct)|0)+ue+j(dt=dt+Be|0,Be)|0)+X+j(dt=dt+oe|0,oe)|0;var ve=st+he|0,_e=Ie+ae+j(ve,st)|0;Ce=Me,A=C,Me=ne,C=d,ne=fe,d=m,fe=ee+Yt+j(m=c+dt|0,c)|0,ee=ie,c=n,ie=J,n=T,J=Q,T=le,Q=Yt+_e+j(le=dt+ve|0,dt)|0}this._al=this._al+le|0,this._bl=this._bl+T|0,this._cl=this._cl+n|0,this._dl=this._dl+c|0,this._el=this._el+m|0,this._fl=this._fl+d|0,this._gl=this._gl+C|0,this._hl=this._hl+A|0,this._ah=this._ah+Q+j(this._al,le)|0,this._bh=this._bh+J+j(this._bl,T)|0,this._ch=this._ch+ie+j(this._cl,n)|0,this._dh=this._dh+ee+j(this._dl,c)|0,this._eh=this._eh+fe+j(this._el,m)|0,this._fh=this._fh+ne+j(this._fl,d)|0,this._gh=this._gh+Me+j(this._gl,C)|0,this._hh=this._hh+Ce+j(this._hl,A)|0},w.prototype._hash=function(){var Y=x.allocUnsafe(64);function W(Q,J,ie){Y.writeInt32BE(Q,ie),Y.writeInt32BE(J,ie+4)}return W(this._ah,this._al,0),W(this._bh,this._bl,8),W(this._ch,this._cl,16),W(this._dh,this._dl,24),W(this._eh,this._el,32),W(this._fh,this._fl,40),W(this._gh,this._gl,48),W(this._hh,this._hl,56),Y},Qe.exports=w},2852:function(Qe,te,g){!function(e){"use strict";var t={};Qe.exports?(t.bytesToHex=g(4740).bytesToHex,t.convertString=g(820),Qe.exports=R):(t.bytesToHex=e.convertHex.bytesToHex,t.convertString=e.convertString,e.sha256=R);var x=[];!function(){function h(I){for(var V=Math.sqrt(I),j=2;j<=V;j++)if(!(I%j))return!1;return!0}for(var y=2,O=0;O<64;)h(y)&&(x[O]=4294967296*((I=Math.pow(y,1/3))-(0|I))|0,O++),y++;var I}();var D=function(h){for(var S=[],y=0,O=0;y>>5]|=h[y]<<24-O%32;return S},l=function(h){for(var S=[],y=0;y<32*h.length;y+=8)S.push(h[y>>>5]>>>24-y%32&255);return S},w=[],f=function(h,S,y){for(var O=h[0],I=h[1],V=h[2],j=h[3],Y=h[4],W=h[5],Q=h[6],J=h[7],ie=0;ie<64;ie++){if(ie<16)w[ie]=0|S[y+ie];else{var ee=w[ie-15],ne=w[ie-2];w[ie]=((ee<<25|ee>>>7)^(ee<<14|ee>>>18)^ee>>>3)+w[ie-7]+((ne<<15|ne>>>17)^(ne<<13|ne>>>19)^ne>>>10)+w[ie-16]}var le=O&I^O&V^I&V,c=J+((Y<<26|Y>>>6)^(Y<<21|Y>>>11)^(Y<<7|Y>>>25))+(Y&W^~Y&Q)+x[ie]+w[ie];J=Q,Q=W,W=Y,Y=j+c|0,j=V,V=I,I=O,O=c+(((O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22))+le)|0}h[0]=h[0]+O|0,h[1]=h[1]+I|0,h[2]=h[2]+V|0,h[3]=h[3]+j|0,h[4]=h[4]+Y|0,h[5]=h[5]+W|0,h[6]=h[6]+Q|0,h[7]=h[7]+J|0};function R(h,S){h.constructor===String&&(h=t.convertString.UTF8.stringToBytes(h));var y=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],O=D(h),I=8*h.length;O[I>>5]|=128<<24-I%32,O[15+(I+64>>9<<4)]=I;for(var V=0;V{Qe.exports=x;var e=g(4356).EventEmitter;function x(){e.call(this)}g(1993)(x,e),x.Readable=g(1092),x.Writable=g(5492),x.Duplex=g(1030),x.Transform=g(3410),x.PassThrough=g(3824),x.finished=g(7854),x.pipeline=g(6846),x.Stream=x,x.prototype.pipe=function(D,l){var w=this;function f(V){D.writable&&!1===D.write(V)&&w.pause&&w.pause()}function R(){w.readable&&w.resume&&w.resume()}w.on("data",f),D.on("drain",R),!D._isStdio&&(!l||!1!==l.end)&&(w.on("end",S),w.on("close",y));var h=!1;function S(){h||(h=!0,D.end())}function y(){h||(h=!0,"function"==typeof D.destroy&&D.destroy())}function O(V){if(I(),0===e.listenerCount(this,"error"))throw V}function I(){w.removeListener("data",f),D.removeListener("drain",R),w.removeListener("end",S),w.removeListener("close",y),w.removeListener("error",O),D.removeListener("error",O),w.removeListener("end",I),w.removeListener("close",I),D.removeListener("close",I)}return w.on("error",O),D.on("error",O),w.on("end",I),w.on("close",I),D.on("close",I),D.emit("pipe",w),D}},464:Qe=>{"use strict";var g={};function e(w,f,R){R||(R=Error);var S=function(y){function O(I,V,j){return y.call(this,function h(y,O,I){return"string"==typeof f?f:f(y,O,I)}(I,V,j))||this}return function te(w,f){w.prototype=Object.create(f.prototype),w.prototype.constructor=w,w.__proto__=f}(O,y),O}(R);S.prototype.name=R.name,S.prototype.code=w,g[w]=S}function t(w,f){if(Array.isArray(w)){var R=w.length;return w=w.map(function(h){return String(h)}),R>2?"one of ".concat(f," ").concat(w.slice(0,R-1).join(", "),", or ")+w[R-1]:2===R?"one of ".concat(f," ").concat(w[0]," or ").concat(w[1]):"of ".concat(f," ").concat(w[0])}return"of ".concat(f," ").concat(String(w))}e("ERR_INVALID_OPT_VALUE",function(w,f){return'The value "'+f+'" is invalid for option "'+w+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(w,f,R){var h,S;if("string"==typeof f&&function x(w,f,R){return w.substr(!R||R<0?0:+R,f.length)===f}(f,"not ")?(h="must not be",f=f.replace(/^not /,"")):h="must be",function D(w,f,R){return(void 0===R||R>w.length)&&(R=w.length),w.substring(R-f.length,R)===f}(w," argument"))S="The ".concat(w," ").concat(h," ").concat(t(f,"type"));else{var y=function l(w,f,R){return"number"!=typeof R&&(R=0),!(R+f.length>w.length)&&-1!==w.indexOf(f,R)}(w,".")?"property":"argument";S='The "'.concat(w,'" ').concat(y," ").concat(h," ").concat(t(f,"type"))}return S+". Received type ".concat(typeof R)},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(w){return"The "+w+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(w){return"Cannot call "+w+" after a stream was destroyed"}),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",function(w){return"Unknown encoding: "+w},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Qe.exports.F=g},1030:(Qe,te,g)=>{"use strict";var e=Object.keys||function(S){var y=[];for(var O in S)y.push(O);return y};Qe.exports=f;var t=g(1092),x=g(5492);g(1993)(f,t);for(var D=e(x.prototype),l=0;l{"use strict";Qe.exports=t;var e=g(3410);function t(x){if(!(this instanceof t))return new t(x);e.call(this,x)}g(1993)(t,e),t.prototype._transform=function(x,D,l){l(null,x)}},1092:(Qe,te,g)=>{"use strict";var e;Qe.exports=T,T.ReadableState=le,g(4356);var S,x=function(Ie,st){return Ie.listeners(st).length},D=g(2601),l=g(3838).Buffer,w=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},h=g(7199);S=h&&h.debuglog?h.debuglog("stream"):function(){};var ie,ee,fe,y=g(7606),O=g(8152),V=g(2827).getHighWaterMark,j=g(464).F,Y=j.ERR_INVALID_ARG_TYPE,W=j.ERR_STREAM_PUSH_AFTER_EOF,Q=j.ERR_METHOD_NOT_IMPLEMENTED,J=j.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;g(1993)(T,D);var ne=O.errorOrDestroy,Me=["error","close","destroy","pause","resume"];function le(he,Ie,st){e=e||g(1030),"boolean"!=typeof st&&(st=Ie instanceof e),this.objectMode=!!(he=he||{}).objectMode,st&&(this.objectMode=this.objectMode||!!he.readableObjectMode),this.highWaterMark=V(this,he,"readableHighWaterMark",st),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!==he.emitClose,this.autoDestroy=!!he.autoDestroy,this.destroyed=!1,this.defaultEncoding=he.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,he.encoding&&(ie||(ie=g(8454).I),this.decoder=new ie(he.encoding),this.encoding=he.encoding)}function T(he){if(e=e||g(1030),!(this instanceof T))return new T(he);this._readableState=new le(he,this,this instanceof e),this.readable=!0,he&&("function"==typeof he.read&&(this._read=he.read),"function"==typeof he.destroy&&(this._destroy=he.destroy)),D.call(this)}function n(he,Ie,st,me,Ee){S("readableAddChunk",Ie);var Be,ue=he._readableState;if(null===Ie)ue.reading=!1,function k(he,Ie){if(S("onEofChunk"),!Ie.ended){if(Ie.decoder){var st=Ie.decoder.end();st&&st.length&&(Ie.buffer.push(st),Ie.length+=Ie.objectMode?1:st.length)}Ie.ended=!0,Ie.sync?_(he):(Ie.needReadable=!1,Ie.emittedReadable||(Ie.emittedReadable=!0,a(he)))}}(he,ue);else if(Ee||(Be=function m(he,Ie){var st;return!function R(he){return l.isBuffer(he)||he instanceof w}(Ie)&&"string"!=typeof Ie&&void 0!==Ie&&!he.objectMode&&(st=new Y("chunk",["string","Buffer","Uint8Array"],Ie)),st}(ue,Ie)),Be)ne(he,Be);else if(ue.objectMode||Ie&&Ie.length>0)if("string"!=typeof Ie&&!ue.objectMode&&Object.getPrototypeOf(Ie)!==l.prototype&&(Ie=function f(he){return l.from(he)}(Ie)),me)ue.endEmitted?ne(he,new J):c(he,ue,Ie,!0);else if(ue.ended)ne(he,new W);else{if(ue.destroyed)return!1;ue.reading=!1,ue.decoder&&!st?(Ie=ue.decoder.write(Ie),ue.objectMode||0!==Ie.length?c(he,ue,Ie,!1):b(he,ue)):c(he,ue,Ie,!1)}else me||(ue.reading=!1,b(he,ue));return!ue.ended&&(ue.lengthIe.highWaterMark&&(Ie.highWaterMark=function C(he){return he>=d?he=d:(he--,he|=he>>>1,he|=he>>>2,he|=he>>>4,he|=he>>>8,he|=he>>>16,he++),he}(he)),he<=Ie.length?he:Ie.ended?Ie.length:(Ie.needReadable=!0,0))}function _(he){var Ie=he._readableState;S("emitReadable",Ie.needReadable,Ie.emittedReadable),Ie.needReadable=!1,Ie.emittedReadable||(S("emitReadable",Ie.flowing),Ie.emittedReadable=!0,process.nextTick(a,he))}function a(he){var Ie=he._readableState;S("emitReadable_",Ie.destroyed,Ie.length,Ie.ended),!Ie.destroyed&&(Ie.length||Ie.ended)&&(he.emit("readable"),Ie.emittedReadable=!1),Ie.needReadable=!Ie.flowing&&!Ie.ended&&Ie.length<=Ie.highWaterMark,We(he)}function b(he,Ie){Ie.readingMore||(Ie.readingMore=!0,process.nextTick(z,he,Ie))}function z(he,Ie){for(;!Ie.reading&&!Ie.ended&&(Ie.length0,Ie.resumeScheduled&&!Ie.paused?Ie.flowing=!0:he.listenerCount("data")>0&&he.resume()}function pe(he){S("readable nexttick read 0"),he.read(0)}function Xe(he,Ie){S("resume",Ie.reading),Ie.reading||he.read(0),Ie.resumeScheduled=!1,he.emit("resume"),We(he),Ie.flowing&&!Ie.reading&&he.read(0)}function We(he){var Ie=he._readableState;for(S("flow",Ie.flowing);Ie.flowing&&null!==he.read(););}function oe(he,Ie){return 0===Ie.length?null:(Ie.objectMode?st=Ie.buffer.shift():!he||he>=Ie.length?(st=Ie.decoder?Ie.buffer.join(""):1===Ie.buffer.length?Ie.buffer.first():Ie.buffer.concat(Ie.length),Ie.buffer.clear()):st=Ie.buffer.consume(he,Ie.decoder),st);var st}function X(he){var Ie=he._readableState;S("endReadable",Ie.endEmitted),Ie.endEmitted||(Ie.ended=!0,process.nextTick(se,Ie,he))}function se(he,Ie){if(S("endReadableNT",he.endEmitted,he.length),!he.endEmitted&&0===he.length&&(he.endEmitted=!0,Ie.readable=!1,Ie.emit("end"),he.autoDestroy)){var st=Ie._writableState;(!st||st.autoDestroy&&st.finished)&&Ie.destroy()}}function ae(he,Ie){for(var st=0,me=he.length;st=Ie.highWaterMark:Ie.length>0)||Ie.ended))return S("read: emitReadable",Ie.length,Ie.ended),0===Ie.length&&Ie.ended?X(this):_(this),null;if(0===(he=A(he,Ie))&&Ie.ended)return 0===Ie.length&&X(this),null;var Ee,me=Ie.needReadable;return S("need readable",me),(0===Ie.length||Ie.length-he0?oe(he,Ie):null)?(Ie.needReadable=Ie.length<=Ie.highWaterMark,he=0):(Ie.length-=he,Ie.awaitDrain=0),0===Ie.length&&(Ie.ended||(Ie.needReadable=!0),st!==he&&Ie.ended&&X(this)),null!==Ee&&this.emit("data",Ee),Ee},T.prototype._read=function(he){ne(this,new Q("_read()"))},T.prototype.pipe=function(he,Ie){var st=this,me=this._readableState;switch(me.pipesCount){case 0:me.pipes=he;break;case 1:me.pipes=[me.pipes,he];break;default:me.pipes.push(he)}me.pipesCount+=1,S("pipe count=%d opts=%j",me.pipesCount,Ie);var ue=Ie&&!1===Ie.end||he===process.stdout||he===process.stderr?je:Ct;function Ct(){S("onend"),he.end()}me.endEmitted?process.nextTick(ue):st.once("end",ue),he.on("unpipe",function Be(vt,$e){S("onunpipe"),vt===st&&$e&&!1===$e.hasUnpiped&&($e.hasUnpiped=!0,function Yt(){S("cleanup"),he.removeListener("close",we),he.removeListener("finish",Ue),he.removeListener("drain",ct),he.removeListener("error",_e),he.removeListener("unpipe",Be),st.removeListener("end",Ct),st.removeListener("end",je),st.removeListener("data",ve),dt=!0,me.awaitDrain&&(!he._writableState||he._writableState.needDrain)&&ct()}())});var ct=function N(he){return function(){var st=he._readableState;S("pipeOnDrain",st.awaitDrain),st.awaitDrain&&st.awaitDrain--,0===st.awaitDrain&&x(he,"data")&&(st.flowing=!0,We(he))}}(st);he.on("drain",ct);var dt=!1;function ve(vt){S("ondata");var $e=he.write(vt);S("dest.write",$e),!1===$e&&((1===me.pipesCount&&me.pipes===he||me.pipesCount>1&&-1!==ae(me.pipes,he))&&!dt&&(S("false write response, pause",me.awaitDrain),me.awaitDrain++),st.pause())}function _e(vt){S("onerror",vt),je(),he.removeListener("error",_e),0===x(he,"error")&&ne(he,vt)}function we(){he.removeListener("finish",Ue),je()}function Ue(){S("onfinish"),he.removeListener("close",we),je()}function je(){S("unpipe"),st.unpipe(he)}return st.on("data",ve),function Ce(he,Ie,st){if("function"==typeof he.prependListener)return he.prependListener(Ie,st);he._events&&he._events[Ie]?Array.isArray(he._events[Ie])?he._events[Ie].unshift(st):he._events[Ie]=[st,he._events[Ie]]:he.on(Ie,st)}(he,"error",_e),he.once("close",we),he.once("finish",Ue),he.emit("pipe",st),me.flowing||(S("pipe resume"),st.resume()),he},T.prototype.unpipe=function(he){var Ie=this._readableState,st={hasUnpiped:!1};if(0===Ie.pipesCount)return this;if(1===Ie.pipesCount)return he&&he!==Ie.pipes||(he||(he=Ie.pipes),Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1,he&&he.emit("unpipe",this,st)),this;if(!he){var me=Ie.pipes,Ee=Ie.pipesCount;Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1;for(var ue=0;ue0,!1!==me.flowing&&this.resume()):"readable"===he&&!me.endEmitted&&!me.readableListening&&(me.readableListening=me.needReadable=!0,me.flowing=!1,me.emittedReadable=!1,S("on readable",me.length,me.reading),me.length?_(this):me.reading||process.nextTick(pe,this)),st},T.prototype.removeListener=function(he,Ie){var st=D.prototype.removeListener.call(this,he,Ie);return"readable"===he&&process.nextTick(q,this),st},T.prototype.removeAllListeners=function(he){var Ie=D.prototype.removeAllListeners.apply(this,arguments);return("readable"===he||void 0===he)&&process.nextTick(q,this),Ie},T.prototype.resume=function(){var he=this._readableState;return he.flowing||(S("resume"),he.flowing=!he.readableListening,function ze(he,Ie){Ie.resumeScheduled||(Ie.resumeScheduled=!0,process.nextTick(Xe,he,Ie))}(this,he)),he.paused=!1,this},T.prototype.pause=function(){return S("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(S("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(he){var Ie=this,st=this._readableState,me=!1;for(var Ee in he.on("end",function(){if(S("wrapped end"),st.decoder&&!st.ended){var Be=st.decoder.end();Be&&Be.length&&Ie.push(Be)}Ie.push(null)}),he.on("data",function(Be){S("wrapped data"),st.decoder&&(Be=st.decoder.write(Be)),st.objectMode&&null==Be||!(st.objectMode||Be&&Be.length)||Ie.push(Be)||(me=!0,he.pause())}),he)void 0===this[Ee]&&"function"==typeof he[Ee]&&(this[Ee]=function(Ct){return function(){return he[Ct].apply(he,arguments)}}(Ee));for(var ue=0;ue{"use strict";Qe.exports=R;var e=g(464).F,t=e.ERR_METHOD_NOT_IMPLEMENTED,x=e.ERR_MULTIPLE_CALLBACK,D=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=e.ERR_TRANSFORM_WITH_LENGTH_0,w=g(1030);function f(y,O){var I=this._transformState;I.transforming=!1;var V=I.writecb;if(null===V)return this.emit("error",new x);I.writechunk=null,I.writecb=null,null!=O&&this.push(O),V(y);var j=this._readableState;j.reading=!1,(j.needReadable||j.length{"use strict";function t(We){var oe=this;this.next=null,this.entry=null,this.finish=function(){!function Xe(We,oe,X){var se=We.entry;for(We.entry=null;se;){var ae=se.callback;oe.pendingcb--,ae(X),se=se.next}oe.corkedRequestsFree.next=We}(oe,We)}}var x;Qe.exports=le,le.WritableState=Me;var Ce,D={deprecate:g(3398)},l=g(2601),w=g(3838).Buffer,f=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},S=g(8152),O=g(2827).getHighWaterMark,I=g(464).F,V=I.ERR_INVALID_ARG_TYPE,j=I.ERR_METHOD_NOT_IMPLEMENTED,Y=I.ERR_MULTIPLE_CALLBACK,W=I.ERR_STREAM_CANNOT_PIPE,Q=I.ERR_STREAM_DESTROYED,J=I.ERR_STREAM_NULL_VALUES,ie=I.ERR_STREAM_WRITE_AFTER_END,ee=I.ERR_UNKNOWN_ENCODING,fe=S.errorOrDestroy;function ne(){}function Me(We,oe,X){x=x||g(1030),"boolean"!=typeof X&&(X=oe instanceof x),this.objectMode=!!(We=We||{}).objectMode,X&&(this.objectMode=this.objectMode||!!We.writableObjectMode),this.highWaterMark=O(this,We,"writableHighWaterMark",X),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===We.decodeStrings),this.defaultEncoding=We.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ae){!function k(We,oe){var X=We._writableState,se=X.sync,ae=X.writecb;if("function"!=typeof ae)throw new Y;if(function A(We){We.writing=!1,We.writecb=null,We.length-=We.writelen,We.writelen=0}(X),oe)!function C(We,oe,X,se,ae){--oe.pendingcb,X?(process.nextTick(ae,se),process.nextTick(pe,We,oe),We._writableState.errorEmitted=!0,fe(We,se)):(ae(se),We._writableState.errorEmitted=!0,fe(We,se),pe(We,oe))}(We,X,se,oe,ae);else{var he=z(X)||We.destroyed;!he&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest&&b(We,X),se?process.nextTick(_,We,X,he,ae):_(We,X,he,ae)}}(oe,ae)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==We.emitClose,this.autoDestroy=!!We.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function le(We){var oe=this instanceof(x=x||g(1030));if(!oe&&!Ce.call(le,this))return new le(We);this._writableState=new Me(We,this,oe),this.writable=!0,We&&("function"==typeof We.write&&(this._write=We.write),"function"==typeof We.writev&&(this._writev=We.writev),"function"==typeof We.destroy&&(this._destroy=We.destroy),"function"==typeof We.final&&(this._final=We.final)),l.call(this)}function d(We,oe,X,se,ae,he,Ie){oe.writelen=se,oe.writecb=Ie,oe.writing=!0,oe.sync=!0,oe.destroyed?oe.onwrite(new Q("write")):X?We._writev(ae,oe.onwrite):We._write(ae,he,oe.onwrite),oe.sync=!1}function _(We,oe,X,se){X||function a(We,oe){0===oe.length&&oe.needDrain&&(oe.needDrain=!1,We.emit("drain"))}(We,oe),oe.pendingcb--,se(),pe(We,oe)}function b(We,oe){oe.bufferProcessing=!0;var X=oe.bufferedRequest;if(We._writev&&X&&X.next){var ae=new Array(oe.bufferedRequestCount),he=oe.corkedRequestsFree;he.entry=X;for(var Ie=0,st=!0;X;)ae[Ie]=X,X.isBuf||(st=!1),X=X.next,Ie+=1;ae.allBuffers=st,d(We,oe,!0,oe.length,ae,"",he.finish),oe.pendingcb++,oe.lastBufferedRequest=null,he.next?(oe.corkedRequestsFree=he.next,he.next=null):oe.corkedRequestsFree=new t(oe),oe.bufferedRequestCount=0}else{for(;X;){var me=X.chunk;if(d(We,oe,!1,oe.objectMode?1:me.length,me,X.encoding,X.callback),X=X.next,oe.bufferedRequestCount--,oe.writing)break}null===X&&(oe.lastBufferedRequest=null)}oe.bufferedRequest=X,oe.bufferProcessing=!1}function z(We){return We.ending&&0===We.length&&null===We.bufferedRequest&&!We.finished&&!We.writing}function N(We,oe){We._final(function(X){oe.pendingcb--,X&&fe(We,X),oe.prefinished=!0,We.emit("prefinish"),pe(We,oe)})}function pe(We,oe){var X=z(oe);if(X&&(function q(We,oe){!oe.prefinished&&!oe.finalCalled&&("function"!=typeof We._final||oe.destroyed?(oe.prefinished=!0,We.emit("prefinish")):(oe.pendingcb++,oe.finalCalled=!0,process.nextTick(N,We,oe)))}(We,oe),0===oe.pendingcb&&(oe.finished=!0,We.emit("finish"),oe.autoDestroy))){var se=We._readableState;(!se||se.autoDestroy&&se.endEmitted)&&We.destroy()}return X}g(1993)(le,l),Me.prototype.getBuffer=function(){for(var oe=this.bufferedRequest,X=[];oe;)X.push(oe),oe=oe.next;return X},function(){try{Object.defineProperty(Me.prototype,"buffer",{get:D.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]?(Ce=Function.prototype[Symbol.hasInstance],Object.defineProperty(le,Symbol.hasInstance,{value:function(oe){return!!Ce.call(this,oe)||this===le&&oe&&oe._writableState instanceof Me}})):Ce=function(oe){return oe instanceof this},le.prototype.pipe=function(){fe(this,new W)},le.prototype.write=function(We,oe,X){var se=this._writableState,ae=!1,he=!se.objectMode&&function h(We){return w.isBuffer(We)||We instanceof f}(We);return he&&!w.isBuffer(We)&&(We=function R(We){return w.from(We)}(We)),"function"==typeof oe&&(X=oe,oe=null),he?oe="buffer":oe||(oe=se.defaultEncoding),"function"!=typeof X&&(X=ne),se.ending?function T(We,oe){var X=new ie;fe(We,X),process.nextTick(oe,X)}(this,X):(he||function n(We,oe,X,se){var ae;return null===X?ae=new J:"string"!=typeof X&&!oe.objectMode&&(ae=new V("chunk",["string","Buffer"],X)),!ae||(fe(We,ae),process.nextTick(se,ae),!1)}(this,se,We,X))&&(se.pendingcb++,ae=function m(We,oe,X,se,ae,he){if(!X){var Ie=function c(We,oe,X){return!We.objectMode&&!1!==We.decodeStrings&&"string"==typeof oe&&(oe=w.from(oe,X)),oe}(oe,se,ae);se!==Ie&&(X=!0,ae="buffer",se=Ie)}var st=oe.objectMode?1:se.length;oe.length+=st;var me=oe.length-1))throw new ee(oe);return this._writableState.defaultEncoding=oe,this},Object.defineProperty(le.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(le.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),le.prototype._write=function(We,oe,X){X(new j("_write()"))},le.prototype._writev=null,le.prototype.end=function(We,oe,X){var se=this._writableState;return"function"==typeof We?(X=We,We=null,oe=null):"function"==typeof oe&&(X=oe,oe=null),null!=We&&this.write(We,oe),se.corked&&(se.corked=1,this.uncork()),se.ending||function ze(We,oe,X){oe.ending=!0,pe(We,oe),X&&(oe.finished?process.nextTick(X):We.once("finish",X)),oe.ended=!0,We.writable=!1}(this,se,X),this},Object.defineProperty(le.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(le.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(oe){this._writableState&&(this._writableState.destroyed=oe)}}),le.prototype.destroy=S.destroy,le.prototype._undestroy=S.undestroy,le.prototype._destroy=function(We,oe){oe(We)}},2683:(Qe,te,g)=>{"use strict";var e;function t(ie,ee,fe){return ee=function x(ie){var ee=function D(ie,ee){if("object"!=typeof ie||null===ie)return ie;var fe=ie[Symbol.toPrimitive];if(void 0!==fe){var ne=fe.call(ie,ee||"default");if("object"!=typeof ne)return ne;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===ee?String:Number)(ie)}(ie,"string");return"symbol"==typeof ee?ee:String(ee)}(ee),ee in ie?Object.defineProperty(ie,ee,{value:fe,enumerable:!0,configurable:!0,writable:!0}):ie[ee]=fe,ie}var l=g(7854),w=Symbol("lastResolve"),f=Symbol("lastReject"),R=Symbol("error"),h=Symbol("ended"),S=Symbol("lastPromise"),y=Symbol("handlePromise"),O=Symbol("stream");function I(ie,ee){return{value:ie,done:ee}}function V(ie){var ee=ie[w];if(null!==ee){var fe=ie[O].read();null!==fe&&(ie[S]=null,ie[w]=null,ie[f]=null,ee(I(fe,!1)))}}function j(ie){process.nextTick(V,ie)}var W=Object.getPrototypeOf(function(){}),Q=Object.setPrototypeOf((t(e={get stream(){return this[O]},next:function(){var ee=this,fe=this[R];if(null!==fe)return Promise.reject(fe);if(this[h])return Promise.resolve(I(void 0,!0));if(this[O].destroyed)return new Promise(function(le,T){process.nextTick(function(){ee[R]?T(ee[R]):le(I(void 0,!0))})});var Me,ne=this[S];if(ne)Me=new Promise(function Y(ie,ee){return function(fe,ne){ie.then(function(){ee[h]?fe(I(void 0,!0)):ee[y](fe,ne)},ne)}}(ne,this));else{var Ce=this[O].read();if(null!==Ce)return Promise.resolve(I(Ce,!1));Me=new Promise(this[y])}return this[S]=Me,Me}},Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var ee=this;return new Promise(function(fe,ne){ee[O].destroy(null,function(Me){Me?ne(Me):fe(I(void 0,!0))})})}),e),W);Qe.exports=function(ee){var fe,ne=Object.create(Q,(t(fe={},O,{value:ee,writable:!0}),t(fe,w,{value:null,writable:!0}),t(fe,f,{value:null,writable:!0}),t(fe,R,{value:null,writable:!0}),t(fe,h,{value:ee._readableState.endEmitted,writable:!0}),t(fe,y,{value:function(Ce,le){var T=ne[O].read();T?(ne[S]=null,ne[w]=null,ne[f]=null,Ce(I(T,!1))):(ne[w]=Ce,ne[f]=le)},writable:!0}),fe));return ne[S]=null,l(ee,function(Me){if(Me&&"ERR_STREAM_PREMATURE_CLOSE"!==Me.code){var Ce=ne[f];return null!==Ce&&(ne[S]=null,ne[w]=null,ne[f]=null,Ce(Me)),void(ne[R]=Me)}var le=ne[w];null!==le&&(ne[S]=null,ne[w]=null,ne[f]=null,le(I(void 0,!0))),ne[h]=!0}),ee.on("readable",j.bind(null,ne)),ne}},7606:(Qe,te,g)=>{"use strict";function e(j,Y){var W=Object.keys(j);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(j);Y&&(Q=Q.filter(function(J){return Object.getOwnPropertyDescriptor(j,J).enumerable})),W.push.apply(W,Q)}return W}function t(j){for(var Y=1;Y0?this.tail.next=Q:this.head=Q,this.tail=Q,++this.length}},{key:"unshift",value:function(W){var Q={data:W,next:this.head};0===this.length&&(this.tail=Q),this.head=Q,++this.length}},{key:"shift",value:function(){if(0!==this.length){var W=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,W}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(W){if(0===this.length)return"";for(var Q=this.head,J=""+Q.data;Q=Q.next;)J+=W+Q.data;return J}},{key:"concat",value:function(W){if(0===this.length)return S.alloc(0);for(var Q=S.allocUnsafe(W>>>0),J=this.head,ie=0;J;)V(J.data,Q,ie),ie+=J.data.length,J=J.next;return Q}},{key:"consume",value:function(W,Q){var J;return Wee.length?ee.length:W;if(ie+=fe===ee.length?ee:ee.slice(0,W),0==(W-=fe)){fe===ee.length?(++J,this.head=Q.next?Q.next:this.tail=null):(this.head=Q,Q.data=ee.slice(fe));break}++J}return this.length-=J,ie}},{key:"_getBuffer",value:function(W){var Q=S.allocUnsafe(W),J=this.head,ie=1;for(J.data.copy(Q),W-=J.data.length;J=J.next;){var ee=J.data,fe=W>ee.length?ee.length:W;if(ee.copy(Q,Q.length-W,0,fe),0==(W-=fe)){fe===ee.length?(++ie,this.head=J.next?J.next:this.tail=null):(this.head=J,J.data=ee.slice(fe));break}++ie}return this.length-=ie,Q}},{key:I,value:function(W,Q){return O(this,t(t({},Q),{},{depth:0,customInspect:!1}))}}]),j}()},8152:Qe=>{"use strict";function g(l,w){x(l,w),e(l)}function e(l){l._writableState&&!l._writableState.emitClose||l._readableState&&!l._readableState.emitClose||l.emit("close")}function x(l,w){l.emit("error",w)}Qe.exports={destroy:function te(l,w){var f=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(w?w(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(x,this,l)):process.nextTick(x,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(S){!w&&S?f._writableState?f._writableState.errorEmitted?process.nextTick(e,f):(f._writableState.errorEmitted=!0,process.nextTick(g,f,S)):process.nextTick(g,f,S):w?(process.nextTick(e,f),w(S)):process.nextTick(e,f)}),this)},undestroy:function t(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function D(l,w){var f=l._readableState,R=l._writableState;f&&f.autoDestroy||R&&R.autoDestroy?l.destroy(w):l.emit("error",w)}}},7854:(Qe,te,g)=>{"use strict";var e=g(464).F.ERR_STREAM_PREMATURE_CLOSE;function x(){}Qe.exports=function l(w,f,R){if("function"==typeof f)return l(w,null,f);f||(f={}),R=function t(w){var f=!1;return function(){if(!f){f=!0;for(var R=arguments.length,h=new Array(R),S=0;S{Qe.exports=function(){throw new Error("Readable.from is not available in the browser")}},6846:(Qe,te,g)=>{"use strict";var e,x=g(464).F,D=x.ERR_MISSING_ARGS,l=x.ERR_STREAM_DESTROYED;function w(I){if(I)throw I}function h(I){I()}function S(I,V){return I.pipe(V)}Qe.exports=function O(){for(var I=arguments.length,V=new Array(I),j=0;j0,function(ne){W||(W=ne),ne&&Q.forEach(h),!ee&&(Q.forEach(h),Y(W))})});return V.reduce(S)}},2827:(Qe,te,g)=>{"use strict";var e=g(464).F.ERR_INVALID_OPT_VALUE;Qe.exports={getHighWaterMark:function x(D,l,w,f){var R=function t(D,l,w){return null!=D.highWaterMark?D.highWaterMark:l?D[w]:null}(l,f,w);if(null!=R){if(!isFinite(R)||Math.floor(R)!==R||R<0)throw new e(f?w:"highWaterMark",R);return Math.floor(R)}return D.objectMode?16:16384}}},2601:(Qe,te,g)=>{Qe.exports=g(4356).EventEmitter},8454:(Qe,te,g)=>{"use strict";var e=g(4272).Buffer,t=e.isEncoding||function(Q){switch((Q=""+Q)&&Q.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(Q){var J;switch(this.encoding=function D(Q){var J=function x(Q){if(!Q)return"utf8";for(var J;;)switch(Q){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 Q;default:if(J)return;Q=(""+Q).toLowerCase(),J=!0}}(Q);if("string"!=typeof J&&(e.isEncoding===t||!t(Q)))throw new Error("Unknown encoding: "+Q);return J||Q}(Q),this.encoding){case"utf16le":this.text=O,this.end=I,J=4;break;case"utf8":this.fillLast=h,J=4;break;case"base64":this.text=V,this.end=j,J=3;break;default:return this.write=Y,void(this.end=W)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(J)}function w(Q){return Q<=127?0:Q>>5==6?2:Q>>4==14?3:Q>>3==30?4:Q>>6==2?-1:-2}function h(Q){var J=this.lastTotal-this.lastNeed,ie=function R(Q,J){if(128!=(192&J[0]))return Q.lastNeed=0,"\ufffd";if(Q.lastNeed>1&&J.length>1){if(128!=(192&J[1]))return Q.lastNeed=1,"\ufffd";if(Q.lastNeed>2&&J.length>2&&128!=(192&J[2]))return Q.lastNeed=2,"\ufffd"}}(this,Q);return void 0!==ie?ie:this.lastNeed<=Q.length?(Q.copy(this.lastChar,J,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(Q.copy(this.lastChar,J,0,Q.length),void(this.lastNeed-=Q.length))}function O(Q,J){if((Q.length-J)%2==0){var ie=Q.toString("utf16le",J);if(ie){var ee=ie.charCodeAt(ie.length-1);if(ee>=55296&&ee<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Q[Q.length-2],this.lastChar[1]=Q[Q.length-1],ie.slice(0,-1)}return ie}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Q[Q.length-1],Q.toString("utf16le",J,Q.length-1)}function I(Q){var J=Q&&Q.length?this.write(Q):"";return this.lastNeed?J+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):J}function V(Q,J){var ie=(Q.length-J)%3;return 0===ie?Q.toString("base64",J):(this.lastNeed=3-ie,this.lastTotal=3,1===ie?this.lastChar[0]=Q[Q.length-1]:(this.lastChar[0]=Q[Q.length-2],this.lastChar[1]=Q[Q.length-1]),Q.toString("base64",J,Q.length-ie))}function j(Q){var J=Q&&Q.length?this.write(Q):"";return this.lastNeed?J+this.lastChar.toString("base64",0,3-this.lastNeed):J}function Y(Q){return Q.toString(this.encoding)}function W(Q){return Q&&Q.length?this.write(Q):""}te.I=l,l.prototype.write=function(Q){if(0===Q.length)return"";var J,ie;if(this.lastNeed){if(void 0===(J=this.fillLast(Q)))return"";ie=this.lastNeed,this.lastNeed=0}else ie=0;return ie=0?(fe>0&&(Q.lastNeed=fe-1),fe):--ee=0?(fe>0&&(Q.lastNeed=fe-2),fe):--ee=0?(fe>0&&(2===fe?fe=0:Q.lastNeed=fe-3),fe):0}(this,Q,J);if(!this.lastNeed)return Q.toString("utf8",J);this.lastTotal=ie;var ee=Q.length-(ie-this.lastNeed);return Q.copy(this.lastChar,0,ee),Q.toString("utf8",J,ee)},l.prototype.fillLast=function(Q){if(this.lastNeed<=Q.length)return Q.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Q.copy(this.lastChar,this.lastTotal-this.lastNeed,0,Q.length),this.lastNeed-=Q.length}},4272:(Qe,te,g)=>{var e=g(3838),t=e.Buffer;function x(l,w){for(var f in l)w[f]=l[f]}function D(l,w,f){return t(l,w,f)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Qe.exports=e:(x(e,te),te.Buffer=D),x(t,D),D.from=function(l,w,f){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,w,f)},D.alloc=function(l,w,f){if("number"!=typeof l)throw new TypeError("Argument must be a number");var R=t(l);return void 0!==w?"string"==typeof f?R.fill(w,f):R.fill(w):R.fill(0),R},D.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},D.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},7851:(Qe,te,g)=>{var e=g(1876);te.encode=e.encode,te.decode=e.decode},1876:(Qe,te)=>{"use strict";var e=[255,255,26,27,28,29,30,31,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255];te.encode=function(x){Buffer.isBuffer(x)||(x=new Buffer(x));for(var D=0,l=0,w=0,f=0,R=new Buffer(8*function t(x){var D=Math.floor(x.length/5);return x.length%5==0?D:D+1}(x));D3?(f=(f=h&255>>w)<<(w=(w+5)%8)|(D+1>8-w,D++):(f=h>>8-(w+5)&31,0==(w=(w+5)%8)&&D++),R[l]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(f),l++}for(D=l;D>>(D=(D+5)%8),f++,w=255&l<<8-D)}return R.slice(0,f)}},3398:Qe=>{function g(e){try{if(!global.localStorage)return!1}catch{return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}Qe.exports=function te(e,t){if(g("noDeprecation"))return e;var x=!1;return function D(){if(!x){if(g("throwDeprecation"))throw new Error(t);g("traceDeprecation")?console.trace(t):console.warn(t),x=!0}return e.apply(this,arguments)}}},8326:(__unused_webpack_module,exports)=>{var indexOf=function(Qe,te){if(Qe.indexOf)return Qe.indexOf(te);for(var g=0;g{},7790:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},4688:()=>{},1069:()=>{},5340:()=>{},9838:()=>{},3779:()=>{},7199:()=>{},9969:(Qe,te,g)=>{"use strict";g.d(te,{FX:()=>le,If:()=>e,K2:()=>w,MA:()=>O,Os:()=>l,P:()=>V,hZ:()=>x,i0:()=>D,i7:()=>h,iF:()=>f,kY:()=>S,kp:()=>t,sf:()=>Me,ui:()=>Ce,wk:()=>R});var e=function(T){return T[T.State=0]="State",T[T.Transition=1]="Transition",T[T.Sequence=2]="Sequence",T[T.Group=3]="Group",T[T.Animate=4]="Animate",T[T.Keyframes=5]="Keyframes",T[T.Style=6]="Style",T[T.Trigger=7]="Trigger",T[T.Reference=8]="Reference",T[T.AnimateChild=9]="AnimateChild",T[T.AnimateRef=10]="AnimateRef",T[T.Query=11]="Query",T[T.Stagger=12]="Stagger",T}(e||{});const t="*";function x(T,n){return{type:e.Trigger,name:T,definitions:n,options:{}}}function D(T,n=null){return{type:e.Animate,styles:n,timings:T}}function l(T,n=null){return{type:e.Group,steps:T,options:n}}function w(T,n=null){return{type:e.Sequence,steps:T,options:n}}function f(T){return{type:e.Style,styles:T,offset:null}}function R(T,n,c){return{type:e.State,name:T,styles:n,options:c}}function h(T){return{type:e.Keyframes,steps:T}}function S(T,n,c=null){return{type:e.Transition,expr:T,animation:n,options:c}}function O(T=null){return{type:e.AnimateChild,options:T}}function V(T,n,c=null){return{type:e.Query,selector:T,animation:n,options:c}}class Me{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(m=>m()),c.length=0}}class Ce{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,m=0,d=0;const C=this.players.length;0==C?queueMicrotask(()=>this._onFinish()):this.players.forEach(A=>{A.onDone(()=>{++c==C&&this._onFinish()}),A.onDestroy(()=>{++m==C&&this._onDestroy()}),A.onStart(()=>{++d==C&&this._onStart()})}),this.totalTime=this.players.reduce((A,k)=>Math.max(A,k.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(m=>{const d=m.totalTime?Math.min(1,c/m.totalTime):1;m.setPosition(d)})}getPosition(){const n=this.players.reduce((c,m)=>null===c||m.totalTime>c.totalTime?m: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(m=>m()),c.length=0}}const le="!"},8617:(Qe,te,g)=>{"use strict";g.d(te,{Ae:()=>fe,Ai:()=>nt,Au:()=>C,Bu:()=>A,FN:()=>Je,GX:()=>he,Pd:()=>Se,Q_:()=>xt,Z7:()=>_,_G:()=>Ct,kB:()=>Ie,px:()=>ee,vR:()=>et,vr:()=>n,w6:()=>ct});var e=g(177),t=g(4438),x=g(6860),D=g(1413),l=g(8359),w=g(4412),f=g(7673),R=g(7336),h=g(8141),S=g(152),y=g(5964),O=g(6354),I=g(6697),V=g(5245),j=g(3294),Y=g(6977),W=g(2318),Q=g(4085),J=g(9327);const ie=" ";function ee(Te,ce,Z){const Re=ne(Te,ce);Z=Z.trim(),!Re.some(Pe=>Pe.trim()===Z)&&(Re.push(Z),Te.setAttribute(ce,Re.join(ie)))}function fe(Te,ce,Z){const Re=ne(Te,ce);Z=Z.trim();const Pe=Re.filter(pt=>pt!==Z);Pe.length?Te.setAttribute(ce,Pe.join(ie)):Te.removeAttribute(ce)}function ne(Te,ce){return Te.getAttribute(ce)?.match(/\S+/g)??[]}const Ce="cdk-describedby-message",le="cdk-describedby-host";let T=0,n=(()=>{class Te{constructor(Z,Re){this._platform=Re,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+T++,this._document=Z,this._id=(0,t.WQX)(t.sZ2)+"-"+T++}describe(Z,Re,Pe){if(!this._canBeDescribed(Z,Re))return;const pt=c(Re,Pe);"string"!=typeof Re?(m(Re,this._id),this._messageRegistry.set(pt,{messageElement:Re,referenceCount:0})):this._messageRegistry.has(pt)||this._createMessageElement(Re,Pe),this._isElementDescribedByMessage(Z,pt)||this._addMessageReference(Z,pt)}removeDescription(Z,Re,Pe){if(!Re||!this._isElementNode(Z))return;const pt=c(Re,Pe);if(this._isElementDescribedByMessage(Z,pt)&&this._removeMessageReference(Z,pt),"string"==typeof Re){const Ke=this._messageRegistry.get(pt);Ke&&0===Ke.referenceCount&&this._deleteMessageElement(pt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Z=this._document.querySelectorAll(`[${le}="${this._id}"]`);for(let Re=0;Re0!=Pe.indexOf(Ce));Z.setAttribute("aria-describedby",Re.join(" "))}_addMessageReference(Z,Re){const Pe=this._messageRegistry.get(Re);ee(Z,"aria-describedby",Pe.messageElement.id),Z.setAttribute(le,this._id),Pe.referenceCount++}_removeMessageReference(Z,Re){const Pe=this._messageRegistry.get(Re);Pe.referenceCount--,fe(Z,"aria-describedby",Pe.messageElement.id),Z.removeAttribute(le)}_isElementDescribedByMessage(Z,Re){const Pe=ne(Z,"aria-describedby"),pt=this._messageRegistry.get(Re),Ke=pt&&pt.messageElement.id;return!!Ke&&-1!=Pe.indexOf(Ke)}_canBeDescribed(Z,Re){if(!this._isElementNode(Z))return!1;if(Re&&"object"==typeof Re)return!0;const Pe=null==Re?"":`${Re}`.trim(),pt=Z.getAttribute("aria-label");return!(!Pe||pt&&pt.trim()===Pe)}_isElementNode(Z){return Z.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(Re){return new(Re||Te)(t.KVO(e.qQ),t.KVO(x.OD))}}static{this.\u0275prov=t.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}}return Te})();function c(Te,ce){return"string"==typeof Te?`${ce||""}/${Te}`:Te}function m(Te,ce){Te.id||(Te.id=`${Ce}-${ce}-${T++}`)}class d{constructor(ce,Z){this._items=ce,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new D.B,this._typeaheadSubscription=l.yU.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=Re=>Re.disabled,this._pressedLetters=[],this.tabOut=new D.B,this.change=new D.B,ce instanceof t.rOR?this._itemChangesSubscription=ce.changes.subscribe(Re=>this._itemsChanged(Re.toArray())):(0,t.Hps)(ce)&&(this._effectRef=(0,t.QZP)(()=>this._itemsChanged(ce()),{injector:Z}))}skipPredicate(ce){return this._skipPredicateFn=ce,this}withWrap(ce=!0){return this._wrap=ce,this}withVerticalOrientation(ce=!0){return this._vertical=ce,this}withHorizontalOrientation(ce){return this._horizontal=ce,this}withAllowedModifierKeys(ce){return this._allowedModifierKeys=ce,this}withTypeAhead(ce=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,h.M)(Z=>this._pressedLetters.push(Z)),(0,S.B)(ce),(0,y.p)(()=>this._pressedLetters.length>0),(0,O.T)(()=>this._pressedLetters.join(""))).subscribe(Z=>{const Re=this._getItemsArray();for(let Pe=1;Pe!ce[pt]||this._allowedModifierKeys.indexOf(pt)>-1);switch(Z){case R.wn:return void this.tabOut.next();case R.n6:if(this._vertical&&Pe){this.setNextItemActive();break}return;case R.i7:if(this._vertical&&Pe){this.setPreviousItemActive();break}return;case R.LE:if(this._horizontal&&Pe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case R.UQ:if(this._horizontal&&Pe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case R.yZ:if(this._homeAndEnd&&Pe){this.setFirstItemActive();break}return;case R.Kp:if(this._homeAndEnd&&Pe){this.setLastItemActive();break}return;case R.w_:if(this._pageUpAndDown.enabled&&Pe){const pt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(pt>0?pt:0,1);break}return;case R.dB:if(this._pageUpAndDown.enabled&&Pe){const pt=this._activeItemIndex+this._pageUpAndDown.delta,Ke=this._getItemsArray().length;this._setActiveItemByIndex(pt=R.A&&Z<=R.Z||Z>=R.f2&&Z<=R.bn)&&this._letterKeyStream.next(String.fromCharCode(Z))))}this._pressedLetters=[],ce.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._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(ce){const Z=this._getItemsArray(),Re="number"==typeof ce?ce:Z.indexOf(ce);this._activeItem=Z[Re]??null,this._activeItemIndex=Re}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(ce){this._wrap?this._setActiveInWrapMode(ce):this._setActiveInDefaultMode(ce)}_setActiveInWrapMode(ce){const Z=this._getItemsArray();for(let Re=1;Re<=Z.length;Re++){const Pe=(this._activeItemIndex+ce*Re+Z.length)%Z.length;if(!this._skipPredicateFn(Z[Pe]))return void this.setActiveItem(Pe)}}_setActiveInDefaultMode(ce){this._setActiveItemByIndex(this._activeItemIndex+ce,ce)}_setActiveItemByIndex(ce,Z){const Re=this._getItemsArray();if(Re[ce]){for(;this._skipPredicateFn(Re[ce]);)if(!Re[ce+=Z])return;this.setActiveItem(ce)}}_getItemsArray(){return(0,t.Hps)(this._items)?this._items():this._items instanceof t.rOR?this._items.toArray():this._items}_itemsChanged(ce){if(this._activeItem){const Z=ce.indexOf(this._activeItem);Z>-1&&Z!==this._activeItemIndex&&(this._activeItemIndex=Z)}}}class C extends d{setActiveItem(ce){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(ce),this.activeItem&&this.activeItem.setActiveStyles()}}class A extends d{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(ce){return this._origin=ce,this}setActiveItem(ce){super.setActiveItem(ce),this.activeItem&&this.activeItem.focus(this._origin)}}let _=(()=>{class Te{constructor(Z){this._platform=Z}isDisabled(Z){return Z.hasAttribute("disabled")}isVisible(Z){return function b(Te){return!!(Te.offsetWidth||Te.offsetHeight||"function"==typeof Te.getClientRects&&Te.getClientRects().length)}(Z)&&"visible"===getComputedStyle(Z).visibility}isTabbable(Z){if(!this._platform.isBrowser)return!1;const Re=function a(Te){try{return Te.frameElement}catch{return null}}(function se(Te){return Te.ownerDocument&&Te.ownerDocument.defaultView||window}(Z));if(Re&&(-1===We(Re)||!this.isVisible(Re)))return!1;let Pe=Z.nodeName.toLowerCase(),pt=We(Z);return Z.hasAttribute("contenteditable")?-1!==pt:!("iframe"===Pe||"object"===Pe||this._platform.WEBKIT&&this._platform.IOS&&!function oe(Te){let ce=Te.nodeName.toLowerCase(),Z="input"===ce&&Te.type;return"text"===Z||"password"===Z||"select"===ce||"textarea"===ce}(Z))&&("audio"===Pe?!!Z.hasAttribute("controls")&&-1!==pt:"video"===Pe?-1!==pt&&(null!==pt||this._platform.FIREFOX||Z.hasAttribute("controls")):Z.tabIndex>=0)}isFocusable(Z,Re){return function X(Te){return!function N(Te){return function pe(Te){return"input"==Te.nodeName.toLowerCase()}(Te)&&"hidden"==Te.type}(Te)&&(function z(Te){let ce=Te.nodeName.toLowerCase();return"input"===ce||"select"===ce||"button"===ce||"textarea"===ce}(Te)||function q(Te){return function ze(Te){return"a"==Te.nodeName.toLowerCase()}(Te)&&Te.hasAttribute("href")}(Te)||Te.hasAttribute("contenteditable")||Xe(Te))}(Z)&&!this.isDisabled(Z)&&(Re?.ignoreVisibility||this.isVisible(Z))}static{this.\u0275fac=function(Re){return new(Re||Te)(t.KVO(x.OD))}}static{this.\u0275prov=t.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}}return Te})();function Xe(Te){if(!Te.hasAttribute("tabindex")||void 0===Te.tabIndex)return!1;let ce=Te.getAttribute("tabindex");return!(!ce||isNaN(parseInt(ce,10)))}function We(Te){if(!Xe(Te))return null;const ce=parseInt(Te.getAttribute("tabindex")||"",10);return isNaN(ce)?-1:ce}class ae{get enabled(){return this._enabled}set enabled(ce){this._enabled=ce,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ce,this._startAnchor),this._toggleAnchorTabIndex(ce,this._endAnchor))}constructor(ce,Z,Re,Pe,pt=!1){this._element=ce,this._checker=Z,this._ngZone=Re,this._document=Pe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,pt||this.attachAnchors()}destroy(){const ce=this._startAnchor,Z=this._endAnchor;ce&&(ce.removeEventListener("focus",this.startAnchorListener),ce.remove()),Z&&(Z.removeEventListener("focus",this.endAnchorListener),Z.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(ce){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusInitialElement(ce)))})}focusFirstTabbableElementWhenReady(ce){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusFirstTabbableElement(ce)))})}focusLastTabbableElementWhenReady(ce){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusLastTabbableElement(ce)))})}_getRegionBoundary(ce){const Z=this._element.querySelectorAll(`[cdk-focus-region-${ce}], [cdkFocusRegion${ce}], [cdk-focus-${ce}]`);return"start"==ce?Z.length?Z[0]:this._getFirstTabbableElement(this._element):Z.length?Z[Z.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ce){const Z=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Z){if(!this._checker.isFocusable(Z)){const Re=this._getFirstTabbableElement(Z);return Re?.focus(ce),!!Re}return Z.focus(ce),!0}return this.focusFirstTabbableElement(ce)}focusFirstTabbableElement(ce){const Z=this._getRegionBoundary("start");return Z&&Z.focus(ce),!!Z}focusLastTabbableElement(ce){const Z=this._getRegionBoundary("end");return Z&&Z.focus(ce),!!Z}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ce){if(this._checker.isFocusable(ce)&&this._checker.isTabbable(ce))return ce;const Z=ce.children;for(let Re=0;Re=0;Re--){const Pe=Z[Re].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Z[Re]):null;if(Pe)return Pe}return null}_createAnchor(){const ce=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ce),ce.classList.add("cdk-visually-hidden"),ce.classList.add("cdk-focus-trap-anchor"),ce.setAttribute("aria-hidden","true"),ce}_toggleAnchorTabIndex(ce,Z){ce?Z.setAttribute("tabindex","0"):Z.removeAttribute("tabindex")}toggleAnchors(ce){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ce,this._startAnchor),this._toggleAnchorTabIndex(ce,this._endAnchor))}_executeOnStable(ce){this._ngZone.isStable?ce():this._ngZone.onStable.pipe((0,I.s)(1)).subscribe(ce)}}let he=(()=>{class Te{constructor(Z,Re,Pe){this._checker=Z,this._ngZone=Re,this._document=Pe}create(Z,Re=!1){return new ae(Z,this._checker,this._ngZone,this._document,Re)}static{this.\u0275fac=function(Re){return new(Re||Te)(t.KVO(_),t.KVO(t.SKi),t.KVO(e.qQ))}}static{this.\u0275prov=t.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}}return Te})(),Ie=(()=>{class Te{get enabled(){return this.focusTrap?.enabled||!1}set enabled(Z){this.focusTrap&&(this.focusTrap.enabled=Z)}constructor(Z,Re,Pe){this._elementRef=Z,this._focusTrapFactory=Re,this._previouslyFocusedElement=null,(0,t.WQX)(x.OD).isBrowser&&(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&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(Z){const Re=Z.autoCapture;Re&&!Re.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,x.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static{this.\u0275fac=function(Re){return new(Re||Te)(t.rXU(t.aKT),t.rXU(he),t.rXU(e.qQ))}}static{this.\u0275dir=t.FsC({type:Te,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",t.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",t.L39]},exportAs:["cdkTrapFocus"],standalone:!0,features:[t.GFd,t.OA$]})}}return Te})();function Ct(Te){return 0===Te.buttons||0===Te.detail}function ct(Te){const ce=Te.touches&&Te.touches[0]||Te.changedTouches&&Te.changedTouches[0];return!(!ce||-1!==ce.identifier||null!=ce.radiusX&&1!==ce.radiusX||null!=ce.radiusY&&1!==ce.radiusY)}const dt=new t.nKC("cdk-input-modality-detector-options"),Yt={ignoreKeys:[R.A$,R.W3,R.eg,R.Ge,R.FX]},_e=(0,x.BQ)({passive:!0,capture:!0});let we=(()=>{class Te{get mostRecentModality(){return this._modality.value}constructor(Z,Re,Pe,pt){this._platform=Z,this._mostRecentTarget=null,this._modality=new w.t(null),this._lastTouchMs=0,this._onKeydown=Ke=>{this._options?.ignoreKeys?.some(Fe=>Fe===Ke.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,x.Fb)(Ke))},this._onMousedown=Ke=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ct(Ke)?"keyboard":"mouse"),this._mostRecentTarget=(0,x.Fb)(Ke))},this._onTouchstart=Ke=>{ct(Ke)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,x.Fb)(Ke))},this._options={...Yt,...pt},this.modalityDetected=this._modality.pipe((0,V.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,j.F)()),Z.isBrowser&&Re.runOutsideAngular(()=>{Pe.addEventListener("keydown",this._onKeydown,_e),Pe.addEventListener("mousedown",this._onMousedown,_e),Pe.addEventListener("touchstart",this._onTouchstart,_e)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,_e),document.removeEventListener("mousedown",this._onMousedown,_e),document.removeEventListener("touchstart",this._onTouchstart,_e))}static{this.\u0275fac=function(Re){return new(Re||Te)(t.KVO(x.OD),t.KVO(t.SKi),t.KVO(e.qQ),t.KVO(dt,8))}}static{this.\u0275prov=t.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}}return Te})();const Ue=new t.nKC("liveAnnouncerElement",{providedIn:"root",factory:function je(){return null}}),vt=new t.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let $e=0,nt=(()=>{class Te{constructor(Z,Re,Pe,pt){this._ngZone=Re,this._defaultOptions=pt,this._document=Pe,this._liveElement=Z||this._createLiveElement()}announce(Z,...Re){const Pe=this._defaultOptions;let pt,Ke;return 1===Re.length&&"number"==typeof Re[0]?Ke=Re[0]:[pt,Ke]=Re,this.clear(),clearTimeout(this._previousTimeout),pt||(pt=Pe&&Pe.politeness?Pe.politeness:"polite"),null==Ke&&Pe&&(Ke=Pe.duration),this._liveElement.setAttribute("aria-live",pt),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Fe=>this._currentResolve=Fe)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Z,"number"==typeof Ke&&(this._previousTimeout=setTimeout(()=>this.clear(),Ke)),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 Z="cdk-live-announcer-element",Re=this._document.getElementsByClassName(Z),Pe=this._document.createElement("div");for(let pt=0;pt .cdk-overlay-container [aria-modal="true"]');for(let Pe=0;Pe{class Te{constructor(Z,Re,Pe,pt,Ke){this._ngZone=Z,this._platform=Re,this._inputModalityDetector=Pe,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 D.B,this._rootNodeFocusAndBlurListener=Fe=>{for(let qe=(0,x.Fb)(Fe);qe;qe=qe.parentElement)"focus"===Fe.type?this._onFocus(Fe,qe):this._onBlur(Fe,qe)},this._document=pt,this._detectionMode=Ke?.detectionMode||Nt.IMMEDIATE}monitor(Z,Re=!1){const Pe=(0,Q.i8)(Z);if(!this._platform.isBrowser||1!==Pe.nodeType)return(0,f.of)();const pt=(0,x.KT)(Pe)||this._getDocument(),Ke=this._elementInfo.get(Pe);if(Ke)return Re&&(Ke.checkChildren=!0),Ke.subject;const Fe={checkChildren:Re,subject:new D.B,rootNode:pt};return this._elementInfo.set(Pe,Fe),this._registerGlobalListeners(Fe),Fe.subject}stopMonitoring(Z){const Re=(0,Q.i8)(Z),Pe=this._elementInfo.get(Re);Pe&&(Pe.subject.complete(),this._setClasses(Re),this._elementInfo.delete(Re),this._removeGlobalListeners(Pe))}focusVia(Z,Re,Pe){const pt=(0,Q.i8)(Z);pt===this._getDocument().activeElement?this._getClosestElementsInfo(pt).forEach(([Fe,Ge])=>this._originChanged(Fe,Re,Ge)):(this._setOrigin(Re),"function"==typeof pt.focus&&pt.focus(Pe))}ngOnDestroy(){this._elementInfo.forEach((Z,Re)=>this.stopMonitoring(Re))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Z){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Z)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Z&&this._isLastInteractionFromInputLabel(Z)?"mouse":"program"}_shouldBeAttributedToTouch(Z){return this._detectionMode===Nt.EVENTUAL||!!Z?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Z,Re){Z.classList.toggle("cdk-focused",!!Re),Z.classList.toggle("cdk-touch-focused","touch"===Re),Z.classList.toggle("cdk-keyboard-focused","keyboard"===Re),Z.classList.toggle("cdk-mouse-focused","mouse"===Re),Z.classList.toggle("cdk-program-focused","program"===Re)}_setOrigin(Z,Re=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Z,this._originFromTouchInteraction="touch"===Z&&Re,this._detectionMode===Nt.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Z,Re){const Pe=this._elementInfo.get(Re),pt=(0,x.Fb)(Z);!Pe||!Pe.checkChildren&&Re!==pt||this._originChanged(Re,this._getFocusOrigin(pt),Pe)}_onBlur(Z,Re){const Pe=this._elementInfo.get(Re);!Pe||Pe.checkChildren&&Z.relatedTarget instanceof Node&&Re.contains(Z.relatedTarget)||(this._setClasses(Re),this._emitOrigin(Pe,null))}_emitOrigin(Z,Re){Z.subject.observers.length&&this._ngZone.run(()=>Z.subject.next(Re))}_registerGlobalListeners(Z){if(!this._platform.isBrowser)return;const Re=Z.rootNode,Pe=this._rootNodeFocusListenerCount.get(Re)||0;Pe||this._ngZone.runOutsideAngular(()=>{Re.addEventListener("focus",this._rootNodeFocusAndBlurListener,jt),Re.addEventListener("blur",this._rootNodeFocusAndBlurListener,jt)}),this._rootNodeFocusListenerCount.set(Re,Pe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Y.Q)(this._stopInputModalityDetector)).subscribe(pt=>{this._setOrigin(pt,!0)}))}_removeGlobalListeners(Z){const Re=Z.rootNode;if(this._rootNodeFocusListenerCount.has(Re)){const Pe=this._rootNodeFocusListenerCount.get(Re);Pe>1?this._rootNodeFocusListenerCount.set(Re,Pe-1):(Re.removeEventListener("focus",this._rootNodeFocusAndBlurListener,jt),Re.removeEventListener("blur",this._rootNodeFocusAndBlurListener,jt),this._rootNodeFocusListenerCount.delete(Re))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Z,Re,Pe){this._setClasses(Z,Re),this._emitOrigin(Pe,Re),this._lastFocusOrigin=Re}_getClosestElementsInfo(Z){const Re=[];return this._elementInfo.forEach((Pe,pt)=>{(pt===Z||Pe.checkChildren&&pt.contains(Z))&&Re.push([pt,Pe])}),Re}_isLastInteractionFromInputLabel(Z){const{_mostRecentTarget:Re,mostRecentModality:Pe}=this._inputModalityDetector;if("mouse"!==Pe||!Re||Re===Z||"INPUT"!==Z.nodeName&&"TEXTAREA"!==Z.nodeName||Z.disabled)return!1;const pt=Z.labels;if(pt)for(let Ke=0;Ke{class Te{constructor(Z,Re){this._elementRef=Z,this._focusMonitor=Re,this._focusOrigin=null,this.cdkFocusChange=new t.bkB}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Z=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Z,1===Z.nodeType&&Z.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Re=>{this._focusOrigin=Re,this.cdkFocusChange.emit(Re)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(Re){return new(Re||Te)(t.rXU(t.aKT),t.rXU(Je))}}static{this.\u0275dir=t.FsC({type:Te,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}}return Te})();var Ae=function(Te){return Te[Te.NONE=0]="NONE",Te[Te.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",Te[Te.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",Te}(Ae||{});const It="cdk-high-contrast-black-on-white",Qt="cdk-high-contrast-white-on-black",Tt="cdk-high-contrast-active";let xt=(()=>{class Te{constructor(Z,Re){this._platform=Z,this._document=Re,this._breakpointSubscription=(0,t.WQX)(J.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Ae.NONE;const Z=this._document.createElement("div");Z.style.backgroundColor="rgb(1,2,3)",Z.style.position="absolute",this._document.body.appendChild(Z);const Re=this._document.defaultView||window,Pe=Re&&Re.getComputedStyle?Re.getComputedStyle(Z):null,pt=(Pe&&Pe.backgroundColor||"").replace(/ /g,"");switch(Z.remove(),pt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Ae.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Ae.BLACK_ON_WHITE}return Ae.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Z=this._document.body.classList;Z.remove(Tt,It,Qt),this._hasCheckedHighContrastMode=!0;const Re=this.getHighContrastMode();Re===Ae.BLACK_ON_WHITE?Z.add(Tt,It):Re===Ae.WHITE_ON_BLACK&&Z.add(Tt,Qt)}}static{this.\u0275fac=function(Re){return new(Re||Te)(t.KVO(x.OD),t.KVO(e.qQ))}}static{this.\u0275prov=t.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}}return Te})(),Se=(()=>{class Te{constructor(Z){Z._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(Re){return new(Re||Te)(t.KVO(xt))}}static{this.\u0275mod=t.$C({type:Te})}static{this.\u0275inj=t.G2t({imports:[W.w5]})}}return Te})()},8203:(Qe,te,g)=>{"use strict";g.d(te,{dS:()=>f,jI:()=>h});var e=g(4438),t=g(177);const x=new e.nKC("cdk-dir-doc",{providedIn:"root",factory:function D(){return(0,e.WQX)(t.qQ)}}),l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let f=(()=>{class S{constructor(O){this.value="ltr",this.change=new e.bkB,O&&(this.value=function w(S){const y=S?.toLowerCase()||"";return"auto"===y&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===y?"rtl":"ltr"}((O.body?O.body.dir:null)||(O.documentElement?O.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(I){return new(I||S)(e.KVO(x,8))}}static{this.\u0275prov=e.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})(),h=(()=>{class S{static{this.\u0275fac=function(I){return new(I||S)}}static{this.\u0275mod=e.$C({type:S})}static{this.\u0275inj=e.G2t({})}}return S})()},4085:(Qe,te,g)=>{"use strict";g.d(te,{FG:()=>l,OE:()=>x,a1:()=>w,cc:()=>R,he:()=>t,i8:()=>f,o1:()=>D});var e=g(4438);function t(h){return null!=h&&"false"!=`${h}`}function x(h,S=0){return D(h)?Number(h):S}function D(h){return!isNaN(parseFloat(h))&&!isNaN(Number(h))}function l(h){return Array.isArray(h)?h:[h]}function w(h){return null==h?"":"string"==typeof h?h:`${h}px`}function f(h){return h instanceof e.aKT?h.nativeElement:h}function R(h,S=/\s+/){const y=[];if(null!=h){const O=Array.isArray(h)?h:`${h}`.split(S);for(const I of O){const V=`${I}`.trim();V&&y.push(V)}}return y}},5024:(Qe,te,g)=>{"use strict";g.d(te,{CB:()=>I,DQ:()=>O,Q3:()=>h,qS:()=>w,sL:()=>S,xn:()=>y,y4:()=>f,zP:()=>j});var e=g(17),D=(g(4402),g(7673),g(1413)),l=g(4438);class w{}function f(Y){return Y&&"function"==typeof Y.connect&&!(Y instanceof e.G)}var h=function(Y){return Y[Y.REPLACED=0]="REPLACED",Y[Y.INSERTED=1]="INSERTED",Y[Y.MOVED=2]="MOVED",Y[Y.REMOVED=3]="REMOVED",Y}(h||{});const S=new l.nKC("_ViewRepeater");class y{applyChanges(W,Q,J,ie,ee){W.forEachOperation((fe,ne,Me)=>{let Ce,le;if(null==fe.previousIndex){const T=J(fe,ne,Me);Ce=Q.createEmbeddedView(T.templateRef,T.context,T.index),le=h.INSERTED}else null==Me?(Q.remove(ne),le=h.REMOVED):(Ce=Q.get(ne),Q.move(Ce,Me),le=h.MOVED);ee&&ee({context:Ce?.context,operation:le,record:fe})})}detach(){}}class O{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(W,Q,J,ie,ee){W.forEachOperation((fe,ne,Me)=>{let Ce,le;null==fe.previousIndex?(Ce=this._insertView(()=>J(fe,ne,Me),Me,Q,ie(fe)),le=Ce?h.INSERTED:h.REPLACED):null==Me?(this._detachAndCacheView(ne,Q),le=h.REMOVED):(Ce=this._moveView(ne,Me,Q,ie(fe)),le=h.MOVED),ee&&ee({context:Ce?.context,operation:le,record:fe})})}detach(){for(const W of this._viewCache)W.destroy();this._viewCache=[]}_insertView(W,Q,J,ie){const ee=this._insertViewFromCache(Q,J);if(ee)return void(ee.context.$implicit=ie);const fe=W();return J.createEmbeddedView(fe.templateRef,fe.context,fe.index)}_detachAndCacheView(W,Q){const J=Q.detach(W);this._maybeCacheView(J,Q)}_moveView(W,Q,J,ie){const ee=J.get(W);return J.move(ee,Q),ee.context.$implicit=ie,ee}_maybeCacheView(W,Q){if(this._viewCache.lengththis._markSelected(ee)):this._markSelected(Q[0]),this._selectedToEmit.length=0)}select(...W){this._verifyValueAssignment(W),W.forEach(J=>this._markSelected(J));const Q=this._hasQueuedChanges();return this._emitChangeEvent(),Q}deselect(...W){this._verifyValueAssignment(W),W.forEach(J=>this._unmarkSelected(J));const Q=this._hasQueuedChanges();return this._emitChangeEvent(),Q}setSelection(...W){this._verifyValueAssignment(W);const Q=this.selected,J=new Set(W);W.forEach(ee=>this._markSelected(ee)),Q.filter(ee=>!J.has(this._getConcreteValue(ee,J))).forEach(ee=>this._unmarkSelected(ee));const ie=this._hasQueuedChanges();return this._emitChangeEvent(),ie}toggle(W){return this.isSelected(W)?this.deselect(W):this.select(W)}clear(W=!0){this._unmarkAll();const Q=this._hasQueuedChanges();return W&&this._emitChangeEvent(),Q}isSelected(W){return this._selection.has(this._getConcreteValue(W))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(W){this._multiple&&this.selected&&this._selected.sort(W)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(W){W=this._getConcreteValue(W),this.isSelected(W)||(this._multiple||this._unmarkAll(),this.isSelected(W)||this._selection.add(W),this._emitChanges&&this._selectedToEmit.push(W))}_unmarkSelected(W){W=this._getConcreteValue(W),this.isSelected(W)&&(this._selection.delete(W),this._emitChanges&&this._deselectedToEmit.push(W))}_unmarkAll(){this.isEmpty()||this._selection.forEach(W=>this._unmarkSelected(W))}_verifyValueAssignment(W){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(W,Q){if(this.compareWith){Q=Q??this._selection;for(let J of Q)if(this.compareWith(W,J))return J;return W}return W}}let j=(()=>{class Y{constructor(){this._listeners=[]}notify(Q,J){for(let ie of this._listeners)ie(Q,J)}listen(Q){return this._listeners.push(Q),()=>{this._listeners=this._listeners.filter(J=>Q!==J)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(J){return new(J||Y)}}static{this.\u0275prov=l.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"})}}return Y})()},7336:(Qe,te,g)=>{"use strict";g.d(te,{A:()=>N,A$:()=>R,FX:()=>w,Fm:()=>l,G_:()=>t,Ge:()=>vt,Kp:()=>j,LE:()=>J,SJ:()=>Me,UQ:()=>W,W3:()=>f,Z:()=>je,_f:()=>y,bn:()=>k,dB:()=>V,eg:()=>rt,f2:()=>Ce,i7:()=>Q,n6:()=>ie,rp:()=>ht,t6:()=>O,w_:()=>I,wn:()=>x,yZ:()=>Y});const t=8,x=9,l=13,w=16,f=17,R=18,y=27,O=32,I=33,V=34,j=35,Y=36,W=37,Q=38,J=39,ie=40,Me=46,Ce=48,k=57,N=65,je=90,vt=91,rt=224;function ht(ii,...di){return di.length?di.some(Gi=>ii[Gi]):ii.altKey||ii.shiftKey||ii.ctrlKey||ii.metaKey}},9327:(Qe,te,g)=>{"use strict";g.d(te,{QP:()=>ie,RH:()=>V,Rp:()=>fe});var e=g(4438),t=g(4085),x=g(1413),D=g(4572),l=g(8793),w=g(1985),f=g(6697),R=g(5245),h=g(152),S=g(6354),y=g(9172),O=g(6977),I=g(6860);let V=(()=>{class ne{static{this.\u0275fac=function(le){return new(le||ne)}}static{this.\u0275mod=e.$C({type:ne})}static{this.\u0275inj=e.G2t({})}}return ne})();const j=new Set;let Y,W=(()=>{class ne{constructor(Ce,le){this._platform=Ce,this._nonce=le,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):J}matchMedia(Ce){return(this._platform.WEBKIT||this._platform.BLINK)&&function Q(ne,Me){if(!j.has(ne))try{Y||(Y=document.createElement("style"),Me&&Y.setAttribute("nonce",Me),Y.setAttribute("type","text/css"),document.head.appendChild(Y)),Y.sheet&&(Y.sheet.insertRule(`@media ${ne} {body{ }}`,0),j.add(ne))}catch(Ce){console.error(Ce)}}(Ce,this._nonce),this._matchMedia(Ce)}static{this.\u0275fac=function(le){return new(le||ne)(e.KVO(I.OD),e.KVO(e.BIS,8))}}static{this.\u0275prov=e.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}}return ne})();function J(ne){return{matches:"all"===ne||""===ne,media:ne,addListener:()=>{},removeListener:()=>{}}}let ie=(()=>{class ne{constructor(Ce,le){this._mediaMatcher=Ce,this._zone=le,this._queries=new Map,this._destroySubject=new x.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Ce){return ee((0,t.FG)(Ce)).some(T=>this._registerQuery(T).mql.matches)}observe(Ce){const T=ee((0,t.FG)(Ce)).map(c=>this._registerQuery(c).observable);let n=(0,D.z)(T);return n=(0,l.x)(n.pipe((0,f.s)(1)),n.pipe((0,R.i)(1),(0,h.B)(0))),n.pipe((0,S.T)(c=>{const m={matches:!1,breakpoints:{}};return c.forEach(({matches:d,query:C})=>{m.matches=m.matches||d,m.breakpoints[C]=d}),m}))}_registerQuery(Ce){if(this._queries.has(Ce))return this._queries.get(Ce);const le=this._mediaMatcher.matchMedia(Ce),n={observable:new w.c(c=>{const m=d=>this._zone.run(()=>c.next(d));return le.addListener(m),()=>{le.removeListener(m)}}).pipe((0,y.Z)(le),(0,S.T)(({matches:c})=>({query:Ce,matches:c})),(0,O.Q)(this._destroySubject)),mql:le};return this._queries.set(Ce,n),n}static{this.\u0275fac=function(le){return new(le||ne)(e.KVO(W),e.KVO(e.SKi))}}static{this.\u0275prov=e.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}}return ne})();function ee(ne){return ne.map(Me=>Me.split(",")).reduce((Me,Ce)=>Me.concat(Ce)).map(Me=>Me.trim())}const fe={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:(Qe,te,g)=>{"use strict";g.d(te,{Wv:()=>y,w5:()=>O});var e=g(4085),t=g(4438),x=g(1985),D=g(1413),l=g(6354),w=g(5964),f=g(152);let h=(()=>{class I{create(j){return typeof MutationObserver>"u"?null:new MutationObserver(j)}static{this.\u0275fac=function(Y){return new(Y||I)}}static{this.\u0275prov=t.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})(),S=(()=>{class I{constructor(j){this._mutationObserverFactory=j,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((j,Y)=>this._cleanupObserver(Y))}observe(j){const Y=(0,e.i8)(j);return new x.c(W=>{const J=this._observeElement(Y).pipe((0,l.T)(ie=>ie.filter(ee=>!function R(I){if("characterData"===I.type&&I.target instanceof Comment)return!0;if("childList"===I.type){for(let V=0;V!!ie.length)).subscribe(W);return()=>{J.unsubscribe(),this._unobserveElement(Y)}})}_observeElement(j){if(this._observedElements.has(j))this._observedElements.get(j).count++;else{const Y=new D.B,W=this._mutationObserverFactory.create(Q=>Y.next(Q));W&&W.observe(j,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(j,{observer:W,stream:Y,count:1})}return this._observedElements.get(j).stream}_unobserveElement(j){this._observedElements.has(j)&&(this._observedElements.get(j).count--,this._observedElements.get(j).count||this._cleanupObserver(j))}_cleanupObserver(j){if(this._observedElements.has(j)){const{observer:Y,stream:W}=this._observedElements.get(j);Y&&Y.disconnect(),W.complete(),this._observedElements.delete(j)}}static{this.\u0275fac=function(Y){return new(Y||I)(t.KVO(h))}}static{this.\u0275prov=t.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})(),y=(()=>{class I{get disabled(){return this._disabled}set disabled(j){this._disabled=j,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(j){this._debounce=(0,e.OE)(j),this._subscribe()}constructor(j,Y,W){this._contentObserver=j,this._elementRef=Y,this._ngZone=W,this.event=new t.bkB,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const j=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?j.pipe((0,f.B)(this.debounce)):j).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(Y){return new(Y||I)(t.rXU(S),t.rXU(t.aKT),t.rXU(t.SKi))}}static{this.\u0275dir=t.FsC({type:I,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",t.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[t.GFd]})}}return I})(),O=(()=>{class I{static{this.\u0275fac=function(Y){return new(Y||I)}}static{this.\u0275mod=t.$C({type:I})}static{this.\u0275inj=t.G2t({providers:[h]})}}return I})()},6969:(Qe,te,g)=>{"use strict";g.d(te,{WB:()=>Be,$Q:()=>ue,rW:()=>q,hJ:()=>st,rR:()=>T,Sf:()=>a,z_:()=>dt,yY:()=>b});var e=g(5542),t=g(177),x=g(4438),D=g(4085),l=g(6860),w=g(5964),f=g(6697),R=g(6977),h=g(9974),S=g(4360),O=g(8203),I=g(6939),V=g(1413),j=g(8359),Y=g(7786),W=g(7336);const Q=(0,l.CZ)();class J{constructor(_e,we){this._viewportRuler=_e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=we}attach(){}enable(){if(this._canBeEnabled()){const _e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=_e.style.left||"",this._previousHTMLStyles.top=_e.style.top||"",_e.style.left=(0,D.a1)(-this._previousScrollPosition.left),_e.style.top=(0,D.a1)(-this._previousScrollPosition.top),_e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const _e=this._document.documentElement,Ue=_e.style,je=this._document.body.style,vt=Ue.scrollBehavior||"",$e=je.scrollBehavior||"";this._isEnabled=!1,Ue.left=this._previousHTMLStyles.left,Ue.top=this._previousHTMLStyles.top,_e.classList.remove("cdk-global-scrollblock"),Q&&(Ue.scrollBehavior=je.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Q&&(Ue.scrollBehavior=vt,je.scrollBehavior=$e)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const we=this._document.body,Ue=this._viewportRuler.getViewportSize();return we.scrollHeight>Ue.height||we.scrollWidth>Ue.width}}class ee{constructor(_e,we,Ue,je){this._scrollDispatcher=_e,this._ngZone=we,this._viewportRuler=Ue,this._config=je,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(_e){this._overlayRef=_e}enable(){if(this._scrollSubscription)return;const _e=this._scrollDispatcher.scrolled(0).pipe((0,w.p)(we=>!we||!this._overlayRef.overlayElement.contains(we.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=_e.subscribe(()=>{const we=this._viewportRuler.getViewportScrollPosition().top;Math.abs(we-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=_e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class fe{enable(){}disable(){}attach(){}}function ne(ve,_e){return _e.some(we=>ve.bottomwe.bottom||ve.rightwe.right)}function Me(ve,_e){return _e.some(we=>ve.topwe.bottom||ve.leftwe.right)}class Ce{constructor(_e,we,Ue,je){this._scrollDispatcher=_e,this._viewportRuler=we,this._ngZone=Ue,this._config=je,this._scrollSubscription=null}attach(_e){this._overlayRef=_e}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 we=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ue,height:je}=this._viewportRuler.getViewportSize();ne(we,[{width:Ue,height:je,bottom:je,right:Ue,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 le=(()=>{class ve{constructor(we,Ue,je,vt){this._scrollDispatcher=we,this._viewportRuler=Ue,this._ngZone=je,this.noop=()=>new fe,this.close=$e=>new ee(this._scrollDispatcher,this._ngZone,this._viewportRuler,$e),this.block=()=>new J(this._viewportRuler,this._document),this.reposition=$e=>new Ce(this._scrollDispatcher,this._viewportRuler,this._ngZone,$e),this._document=vt}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.KVO(e.R),x.KVO(e.Xj),x.KVO(x.SKi),x.KVO(t.qQ))}}static{this.\u0275prov=x.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})();class T{constructor(_e){if(this.scrollStrategy=new fe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,_e){const we=Object.keys(_e);for(const Ue of we)void 0!==_e[Ue]&&(this[Ue]=_e[Ue])}}}class m{constructor(_e,we){this.connectionPair=_e,this.scrollableViewProperties=we}}let A=(()=>{class ve{constructor(we){this._attachedOverlays=[],this._document=we}ngOnDestroy(){this.detach()}add(we){this.remove(we),this._attachedOverlays.push(we)}remove(we){const Ue=this._attachedOverlays.indexOf(we);Ue>-1&&this._attachedOverlays.splice(Ue,1),0===this._attachedOverlays.length&&this.detach()}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.KVO(t.qQ))}}static{this.\u0275prov=x.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})(),k=(()=>{class ve extends A{constructor(we,Ue){super(we),this._ngZone=Ue,this._keydownListener=je=>{const vt=this._attachedOverlays;for(let $e=vt.length-1;$e>-1;$e--)if(vt[$e]._keydownEvents.observers.length>0){const nt=vt[$e]._keydownEvents;this._ngZone?this._ngZone.run(()=>nt.next(je)):nt.next(je);break}}}add(we){super.add(we),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(Ue){return new(Ue||ve)(x.KVO(t.qQ),x.KVO(x.SKi,8))}}static{this.\u0275prov=x.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})(),_=(()=>{class ve extends A{constructor(we,Ue,je){super(we),this._platform=Ue,this._ngZone=je,this._cursorStyleIsSet=!1,this._pointerDownListener=vt=>{this._pointerDownEventTarget=(0,l.Fb)(vt)},this._clickListener=vt=>{const $e=(0,l.Fb)(vt),nt="click"===vt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:$e;this._pointerDownEventTarget=null;const qt=this._attachedOverlays.slice();for(let Nt=qt.length-1;Nt>-1;Nt--){const yt=qt[Nt];if(yt._outsidePointerEvents.observers.length<1||!yt.hasAttached())continue;if(yt.overlayElement.contains($e)||yt.overlayElement.contains(nt))break;const jt=yt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>jt.next(vt)):jt.next(vt)}}}add(we){if(super.add(we),!this._isAttached){const Ue=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Ue)):this._addEventListeners(Ue),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ue.style.cursor,Ue.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const we=this._document.body;we.removeEventListener("pointerdown",this._pointerDownListener,!0),we.removeEventListener("click",this._clickListener,!0),we.removeEventListener("auxclick",this._clickListener,!0),we.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(we.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(we){we.addEventListener("pointerdown",this._pointerDownListener,!0),we.addEventListener("click",this._clickListener,!0),we.addEventListener("auxclick",this._clickListener,!0),we.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.KVO(t.qQ),x.KVO(l.OD),x.KVO(x.SKi,8))}}static{this.\u0275prov=x.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})(),a=(()=>{class ve{constructor(we,Ue){this._platform=Ue,this._document=we}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const we="cdk-overlay-container";if(this._platform.isBrowser||(0,l.v8)()){const je=this._document.querySelectorAll(`.${we}[platform="server"], .${we}[platform="test"]`);for(let vt=0;vtthis._backdropClick.next(jt),this._backdropTransitionendHandler=jt=>{this._disposeBackdrop(jt.target)},this._keydownEvents=new V.B,this._outsidePointerEvents=new V.B,je.scrollStrategy&&(this._scrollStrategy=je.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=je.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(_e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const we=this._portalOutlet.attach(_e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,f.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 we?.onDestroy&&we.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),we}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const _e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),_e}dispose(){const _e=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,_e&&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(_e){_e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=_e,this.hasAttached()&&(_e.attach(this),this.updatePosition()))}updateSize(_e){this._config={...this._config,..._e},this._updateElementSize()}setDirection(_e){this._config={...this._config,direction:_e},this._updateElementDirection()}addPanelClass(_e){this._pane&&this._toggleClasses(this._pane,_e,!0)}removePanelClass(_e){this._pane&&this._toggleClasses(this._pane,_e,!1)}getDirection(){const _e=this._config.direction;return _e?"string"==typeof _e?_e:_e.value:"ltr"}updateScrollStrategy(_e){_e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=_e,this.hasAttached()&&(_e.attach(this),_e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const _e=this._pane.style;_e.width=(0,D.a1)(this._config.width),_e.height=(0,D.a1)(this._config.height),_e.minWidth=(0,D.a1)(this._config.minWidth),_e.minHeight=(0,D.a1)(this._config.minHeight),_e.maxWidth=(0,D.a1)(this._config.maxWidth),_e.maxHeight=(0,D.a1)(this._config.maxHeight)}_togglePointerEvents(_e){this._pane.style.pointerEvents=_e?"":"none"}_attachBackdrop(){const _e="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(_e)})}):this._backdropElement.classList.add(_e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const _e=this._backdropElement;if(_e){if(this._animationsDisabled)return void this._disposeBackdrop(_e);_e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{_e.addEventListener("transitionend",this._backdropTransitionendHandler)}),_e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(_e)},500))}}_toggleClasses(_e,we,Ue){const je=(0,D.FG)(we||[]).filter(vt=>!!vt);je.length&&(Ue?_e.classList.add(...je):_e.classList.remove(...je))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const _e=this._ngZone.onStable.pipe((0,R.Q)((0,Y.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()),_e.unsubscribe())})})}_disposeScrollStrategy(){const _e=this._scrollStrategy;_e&&(_e.disable(),_e.detach&&_e.detach())}_disposeBackdrop(_e){_e&&(_e.removeEventListener("click",this._backdropClickHandler),_e.removeEventListener("transitionend",this._backdropTransitionendHandler),_e.remove(),this._backdropElement===_e&&(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 q{get positions(){return this._preferredPositions}constructor(_e,we,Ue,je,vt){this._viewportRuler=we,this._document=Ue,this._platform=je,this._overlayContainer=vt,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new V.B,this._resizeSubscription=j.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(_e)}attach(_e){this._validatePositions(),_e.hostElement.classList.add(z),this._overlayRef=_e,this._boundingBox=_e.hostElement,this._pane=_e.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 _e=this._originRect,we=this._overlayRect,Ue=this._viewportRect,je=this._containerRect,vt=[];let $e;for(let nt of this._preferredPositions){let qt=this._getOriginPoint(_e,je,nt),Nt=this._getOverlayPoint(qt,we,nt),yt=this._getOverlayFit(Nt,we,Ue,nt);if(yt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(nt,qt);this._canFitWithFlexibleDimensions(yt,Nt,Ue)?vt.push({position:nt,origin:qt,overlayRect:we,boundingBoxRect:this._calculateBoundingBoxRect(qt,nt)}):(!$e||$e.overlayFit.visibleAreaqt&&(qt=yt,nt=Nt)}return this._isPushed=!1,void this._applyPosition(nt.position,nt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition($e.position,$e.originPoint);this._applyPosition($e.position,$e.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&pe(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 _e=this._lastPosition;if(_e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const we=this._getOriginPoint(this._originRect,this._containerRect,_e);this._applyPosition(_e,we)}else this.apply()}withScrollableContainers(_e){return this._scrollables=_e,this}withPositions(_e){return this._preferredPositions=_e,-1===_e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(_e){return this._viewportMargin=_e,this}withFlexibleDimensions(_e=!0){return this._hasFlexibleDimensions=_e,this}withGrowAfterOpen(_e=!0){return this._growAfterOpen=_e,this}withPush(_e=!0){return this._canPush=_e,this}withLockedPosition(_e=!0){return this._positionLocked=_e,this}setOrigin(_e){return this._origin=_e,this}withDefaultOffsetX(_e){return this._offsetX=_e,this}withDefaultOffsetY(_e){return this._offsetY=_e,this}withTransformOriginOn(_e){return this._transformOriginSelector=_e,this}_getOriginPoint(_e,we,Ue){let je,vt;if("center"==Ue.originX)je=_e.left+_e.width/2;else{const $e=this._isRtl()?_e.right:_e.left,nt=this._isRtl()?_e.left:_e.right;je="start"==Ue.originX?$e:nt}return we.left<0&&(je-=we.left),vt="center"==Ue.originY?_e.top+_e.height/2:"top"==Ue.originY?_e.top:_e.bottom,we.top<0&&(vt-=we.top),{x:je,y:vt}}_getOverlayPoint(_e,we,Ue){let je,vt;return je="center"==Ue.overlayX?-we.width/2:"start"===Ue.overlayX?this._isRtl()?-we.width:0:this._isRtl()?0:-we.width,vt="center"==Ue.overlayY?-we.height/2:"top"==Ue.overlayY?0:-we.height,{x:_e.x+je,y:_e.y+vt}}_getOverlayFit(_e,we,Ue,je){const vt=Xe(we);let{x:$e,y:nt}=_e,qt=this._getOffset(je,"x"),Nt=this._getOffset(je,"y");qt&&($e+=qt),Nt&&(nt+=Nt);let Je=0-nt,et=nt+vt.height-Ue.height,Ae=this._subtractOverflows(vt.width,0-$e,$e+vt.width-Ue.width),It=this._subtractOverflows(vt.height,Je,et),Qt=Ae*It;return{visibleArea:Qt,isCompletelyWithinViewport:vt.width*vt.height===Qt,fitsInViewportVertically:It===vt.height,fitsInViewportHorizontally:Ae==vt.width}}_canFitWithFlexibleDimensions(_e,we,Ue){if(this._hasFlexibleDimensions){const je=Ue.bottom-we.y,vt=Ue.right-we.x,$e=ze(this._overlayRef.getConfig().minHeight),nt=ze(this._overlayRef.getConfig().minWidth);return(_e.fitsInViewportVertically||null!=$e&&$e<=je)&&(_e.fitsInViewportHorizontally||null!=nt&&nt<=vt)}return!1}_pushOverlayOnScreen(_e,we,Ue){if(this._previousPushAmount&&this._positionLocked)return{x:_e.x+this._previousPushAmount.x,y:_e.y+this._previousPushAmount.y};const je=Xe(we),vt=this._viewportRect,$e=Math.max(_e.x+je.width-vt.width,0),nt=Math.max(_e.y+je.height-vt.height,0),qt=Math.max(vt.top-Ue.top-_e.y,0),Nt=Math.max(vt.left-Ue.left-_e.x,0);let yt=0,jt=0;return yt=je.width<=vt.width?Nt||-$e:_e.xAe&&!this._isInitialRender&&!this._growAfterOpen&&($e=_e.y-Ae/2)}if("end"===we.overlayX&&!je||"start"===we.overlayX&&je)Je=Ue.width-_e.x+2*this._viewportMargin,yt=_e.x-this._viewportMargin;else if("start"===we.overlayX&&!je||"end"===we.overlayX&&je)jt=_e.x,yt=Ue.right-_e.x;else{const et=Math.min(Ue.right-_e.x+Ue.left,_e.x),Ae=this._lastBoundingBoxSize.width;yt=2*et,jt=_e.x-et,yt>Ae&&!this._isInitialRender&&!this._growAfterOpen&&(jt=_e.x-Ae/2)}return{top:$e,left:jt,bottom:nt,right:Je,width:yt,height:vt}}_setBoundingBoxStyles(_e,we){const Ue=this._calculateBoundingBoxRect(_e,we);!this._isInitialRender&&!this._growAfterOpen&&(Ue.height=Math.min(Ue.height,this._lastBoundingBoxSize.height),Ue.width=Math.min(Ue.width,this._lastBoundingBoxSize.width));const je={};if(this._hasExactPosition())je.top=je.left="0",je.bottom=je.right=je.maxHeight=je.maxWidth="",je.width=je.height="100%";else{const vt=this._overlayRef.getConfig().maxHeight,$e=this._overlayRef.getConfig().maxWidth;je.height=(0,D.a1)(Ue.height),je.top=(0,D.a1)(Ue.top),je.bottom=(0,D.a1)(Ue.bottom),je.width=(0,D.a1)(Ue.width),je.left=(0,D.a1)(Ue.left),je.right=(0,D.a1)(Ue.right),je.alignItems="center"===we.overlayX?"center":"end"===we.overlayX?"flex-end":"flex-start",je.justifyContent="center"===we.overlayY?"center":"bottom"===we.overlayY?"flex-end":"flex-start",vt&&(je.maxHeight=(0,D.a1)(vt)),$e&&(je.maxWidth=(0,D.a1)($e))}this._lastBoundingBoxSize=Ue,pe(this._boundingBox.style,je)}_resetBoundingBoxStyles(){pe(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){pe(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(_e,we){const Ue={},je=this._hasExactPosition(),vt=this._hasFlexibleDimensions,$e=this._overlayRef.getConfig();if(je){const yt=this._viewportRuler.getViewportScrollPosition();pe(Ue,this._getExactOverlayY(we,_e,yt)),pe(Ue,this._getExactOverlayX(we,_e,yt))}else Ue.position="static";let nt="",qt=this._getOffset(we,"x"),Nt=this._getOffset(we,"y");qt&&(nt+=`translateX(${qt}px) `),Nt&&(nt+=`translateY(${Nt}px)`),Ue.transform=nt.trim(),$e.maxHeight&&(je?Ue.maxHeight=(0,D.a1)($e.maxHeight):vt&&(Ue.maxHeight="")),$e.maxWidth&&(je?Ue.maxWidth=(0,D.a1)($e.maxWidth):vt&&(Ue.maxWidth="")),pe(this._pane.style,Ue)}_getExactOverlayY(_e,we,Ue){let je={top:"",bottom:""},vt=this._getOverlayPoint(we,this._overlayRect,_e);return this._isPushed&&(vt=this._pushOverlayOnScreen(vt,this._overlayRect,Ue)),"bottom"===_e.overlayY?je.bottom=this._document.documentElement.clientHeight-(vt.y+this._overlayRect.height)+"px":je.top=(0,D.a1)(vt.y),je}_getExactOverlayX(_e,we,Ue){let $e,je={left:"",right:""},vt=this._getOverlayPoint(we,this._overlayRect,_e);return this._isPushed&&(vt=this._pushOverlayOnScreen(vt,this._overlayRect,Ue)),$e=this._isRtl()?"end"===_e.overlayX?"left":"right":"end"===_e.overlayX?"right":"left","right"===$e?je.right=this._document.documentElement.clientWidth-(vt.x+this._overlayRect.width)+"px":je.left=(0,D.a1)(vt.x),je}_getScrollVisibility(){const _e=this._getOriginRect(),we=this._pane.getBoundingClientRect(),Ue=this._scrollables.map(je=>je.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Me(_e,Ue),isOriginOutsideView:ne(_e,Ue),isOverlayClipped:Me(we,Ue),isOverlayOutsideView:ne(we,Ue)}}_subtractOverflows(_e,...we){return we.reduce((Ue,je)=>Ue-Math.max(je,0),_e)}_getNarrowedViewportRect(){const _e=this._document.documentElement.clientWidth,we=this._document.documentElement.clientHeight,Ue=this._viewportRuler.getViewportScrollPosition();return{top:Ue.top+this._viewportMargin,left:Ue.left+this._viewportMargin,right:Ue.left+_e-this._viewportMargin,bottom:Ue.top+we-this._viewportMargin,width:_e-2*this._viewportMargin,height:we-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(_e,we){return"x"===we?null==_e.offsetX?this._offsetX:_e.offsetX:null==_e.offsetY?this._offsetY:_e.offsetY}_validatePositions(){}_addPanelClasses(_e){this._pane&&(0,D.FG)(_e).forEach(we=>{""!==we&&-1===this._appliedPanelClasses.indexOf(we)&&(this._appliedPanelClasses.push(we),this._pane.classList.add(we))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(_e=>{this._pane.classList.remove(_e)}),this._appliedPanelClasses=[])}_getOriginRect(){const _e=this._origin;if(_e instanceof x.aKT)return _e.nativeElement.getBoundingClientRect();if(_e instanceof Element)return _e.getBoundingClientRect();const we=_e.width||0,Ue=_e.height||0;return{top:_e.y,bottom:_e.y+Ue,left:_e.x,right:_e.x+we,height:Ue,width:we}}}function pe(ve,_e){for(let we in _e)_e.hasOwnProperty(we)&&(ve[we]=_e[we]);return ve}function ze(ve){if("number"!=typeof ve&&null!=ve){const[_e,we]=ve.split(N);return we&&"px"!==we?null:parseFloat(_e)}return ve||null}function Xe(ve){return{top:Math.floor(ve.top),right:Math.floor(ve.right),bottom:Math.floor(ve.bottom),left:Math.floor(ve.left),width:Math.floor(ve.width),height:Math.floor(ve.height)}}const se="cdk-global-overlay-wrapper";class ae{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(_e){const we=_e.getConfig();this._overlayRef=_e,this._width&&!we.width&&_e.updateSize({width:this._width}),this._height&&!we.height&&_e.updateSize({height:this._height}),_e.hostElement.classList.add(se),this._isDisposed=!1}top(_e=""){return this._bottomOffset="",this._topOffset=_e,this._alignItems="flex-start",this}left(_e=""){return this._xOffset=_e,this._xPosition="left",this}bottom(_e=""){return this._topOffset="",this._bottomOffset=_e,this._alignItems="flex-end",this}right(_e=""){return this._xOffset=_e,this._xPosition="right",this}start(_e=""){return this._xOffset=_e,this._xPosition="start",this}end(_e=""){return this._xOffset=_e,this._xPosition="end",this}width(_e=""){return this._overlayRef?this._overlayRef.updateSize({width:_e}):this._width=_e,this}height(_e=""){return this._overlayRef?this._overlayRef.updateSize({height:_e}):this._height=_e,this}centerHorizontally(_e=""){return this.left(_e),this._xPosition="center",this}centerVertically(_e=""){return this.top(_e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const _e=this._overlayRef.overlayElement.style,we=this._overlayRef.hostElement.style,Ue=this._overlayRef.getConfig(),{width:je,height:vt,maxWidth:$e,maxHeight:nt}=Ue,qt=!("100%"!==je&&"100vw"!==je||$e&&"100%"!==$e&&"100vw"!==$e),Nt=!("100%"!==vt&&"100vh"!==vt||nt&&"100%"!==nt&&"100vh"!==nt),yt=this._xPosition,jt=this._xOffset,Je="rtl"===this._overlayRef.getConfig().direction;let et="",Ae="",It="";qt?It="flex-start":"center"===yt?(It="center",Je?Ae=jt:et=jt):Je?"left"===yt||"end"===yt?(It="flex-end",et=jt):("right"===yt||"start"===yt)&&(It="flex-start",Ae=jt):"left"===yt||"start"===yt?(It="flex-start",et=jt):("right"===yt||"end"===yt)&&(It="flex-end",Ae=jt),_e.position=this._cssPosition,_e.marginLeft=qt?"0":et,_e.marginTop=Nt?"0":this._topOffset,_e.marginBottom=this._bottomOffset,_e.marginRight=qt?"0":Ae,we.justifyContent=It,we.alignItems=Nt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const _e=this._overlayRef.overlayElement.style,we=this._overlayRef.hostElement,Ue=we.style;we.classList.remove(se),Ue.justifyContent=Ue.alignItems=_e.marginTop=_e.marginBottom=_e.marginLeft=_e.marginRight=_e.position="",this._overlayRef=null,this._isDisposed=!0}}let he=(()=>{class ve{constructor(we,Ue,je,vt){this._viewportRuler=we,this._document=Ue,this._platform=je,this._overlayContainer=vt}global(){return new ae}flexibleConnectedTo(we){return new q(we,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.KVO(e.Xj),x.KVO(t.qQ),x.KVO(l.OD),x.KVO(a))}}static{this.\u0275prov=x.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})(),Ie=0,st=(()=>{class ve{constructor(we,Ue,je,vt,$e,nt,qt,Nt,yt,jt,Je,et){this.scrollStrategies=we,this._overlayContainer=Ue,this._componentFactoryResolver=je,this._positionBuilder=vt,this._keyboardDispatcher=$e,this._injector=nt,this._ngZone=qt,this._document=Nt,this._directionality=yt,this._location=jt,this._outsideClickDispatcher=Je,this._animationsModuleType=et}create(we){const Ue=this._createHostElement(),je=this._createPaneElement(Ue),vt=this._createPortalOutlet(je),$e=new T(we);return $e.direction=$e.direction||this._directionality.value,new b(vt,Ue,je,$e,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(we){const Ue=this._document.createElement("div");return Ue.id="cdk-overlay-"+Ie++,Ue.classList.add("cdk-overlay-pane"),we.appendChild(Ue),Ue}_createHostElement(){const we=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(we),we}_createPortalOutlet(we){return this._appRef||(this._appRef=this._injector.get(x.o8S)),new I.aI(we,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.KVO(le),x.KVO(a),x.KVO(x.OM3),x.KVO(he),x.KVO(k),x.KVO(x.zZn),x.KVO(x.SKi),x.KVO(t.qQ),x.KVO(O.dS),x.KVO(t.aZ),x.KVO(_),x.KVO(x.bc$,8))}}static{this.\u0275prov=x.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})();const me=[{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"}],Ee=new x.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const ve=(0,x.WQX)(st);return()=>ve.scrollStrategies.reposition()}});let ue=(()=>{class ve{constructor(we){this.elementRef=we}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.rXU(x.aKT))}}static{this.\u0275dir=x.FsC({type:ve,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return ve})(),Be=(()=>{class ve{get offsetX(){return this._offsetX}set offsetX(we){this._offsetX=we,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(we){this._offsetY=we,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(we){this._disposeOnNavigation=we}constructor(we,Ue,je,vt,$e){this._overlay=we,this._dir=$e,this._backdropSubscription=j.yU.EMPTY,this._attachSubscription=j.yU.EMPTY,this._detachSubscription=j.yU.EMPTY,this._positionSubscription=j.yU.EMPTY,this._disposeOnNavigation=!1,this._ngZone=(0,x.WQX)(x.SKi),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 x.bkB,this.positionChange=new x.bkB,this.attach=new x.bkB,this.detach=new x.bkB,this.overlayKeydown=new x.bkB,this.overlayOutsideClick=new x.bkB,this._templatePortal=new I.VA(Ue,je),this._scrollStrategyFactory=vt,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(we){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),we.origin&&this.open&&this._position.apply()),we.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=me);const we=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=we.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=we.detachments().subscribe(()=>this.detach.emit()),we.keydownEvents().subscribe(Ue=>{this.overlayKeydown.next(Ue),Ue.keyCode===W._f&&!this.disableClose&&!(0,W.rp)(Ue)&&(Ue.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Ue=>{const je=this._getOriginElement(),vt=(0,l.Fb)(Ue);(!je||je!==vt&&!je.contains(vt))&&this.overlayOutsideClick.next(Ue)})}_buildConfig(){const we=this._position=this.positionStrategy||this._createPositionStrategy(),Ue=new T({direction:this._dir,positionStrategy:we,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(Ue.width=this.width),(this.height||0===this.height)&&(Ue.height=this.height),(this.minWidth||0===this.minWidth)&&(Ue.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Ue.minHeight=this.minHeight),this.backdropClass&&(Ue.backdropClass=this.backdropClass),this.panelClass&&(Ue.panelClass=this.panelClass),Ue}_updatePositionStrategy(we){const Ue=this.positions.map(je=>({originX:je.originX,originY:je.originY,overlayX:je.overlayX,overlayY:je.overlayY,offsetX:je.offsetX||this.offsetX,offsetY:je.offsetY||this.offsetY,panelClass:je.panelClass||void 0}));return we.setOrigin(this._getOrigin()).withPositions(Ue).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const we=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(we),we}_getOrigin(){return this.origin instanceof ue?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof ue?this.origin.elementRef.nativeElement:this.origin instanceof x.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_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(we=>{this.backdropClick.emit(we)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function y(ve,_e=!1){return(0,h.N)((we,Ue)=>{let je=0;we.subscribe((0,S._)(Ue,vt=>{const $e=ve(vt,je++);($e||_e)&&Ue.next(vt),!$e&&Ue.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(we=>{this._ngZone.run(()=>this.positionChange.emit(we)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(Ue){return new(Ue||ve)(x.rXU(st),x.rXU(x.C4Q),x.rXU(x.c1b),x.rXU(Ee),x.rXU(O.dS,8))}}static{this.\u0275dir=x.FsC({type:ve,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",x.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",x.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",x.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",x.L39],push:[2,"cdkConnectedOverlayPush","push",x.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",x.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[x.GFd,x.OA$]})}}return ve})();const ct={provide:Ee,deps:[st],useFactory:function Ct(ve){return()=>ve.scrollStrategies.reposition()}};let dt=(()=>{class ve{static{this.\u0275fac=function(Ue){return new(Ue||ve)}}static{this.\u0275mod=x.$C({type:ve})}static{this.\u0275inj=x.G2t({providers:[st,ct],imports:[O.jI,I.jc,e.E9,e.E9]})}}return ve})()},6860:(Qe,te,g)=>{"use strict";g.d(te,{BD:()=>Y,BQ:()=>y,CZ:()=>j,Fb:()=>ee,KT:()=>J,MU:()=>R,OD:()=>D,r5:()=>O,v8:()=>fe,vc:()=>ie});var e=g(4438),t=g(177);let x;try{x=typeof Intl<"u"&&Intl.v8BreakIterator}catch{x=!1}let w,D=(()=>{class ne{constructor(Ce){this._platformId=Ce,this.isBrowser=this._platformId?(0,t.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&&!x)&&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(le){return new(le||ne)(e.KVO(e.Agw))}}static{this.\u0275prov=e.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}}return ne})();const f=["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(w)return w;if("object"!=typeof document||!document)return w=new Set(f),w;let ne=document.createElement("input");return w=new Set(f.filter(Me=>(ne.setAttribute("type",Me),ne.type===Me))),w}let h;function y(ne){return function S(){if(null==h&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?ne:!!ne.capture}var O=function(ne){return ne[ne.NORMAL=0]="NORMAL",ne[ne.NEGATED=1]="NEGATED",ne[ne.INVERTED=2]="INVERTED",ne}(O||{});let I,V,W;function j(){if(null==V){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return V=!1,V;if("scrollBehavior"in document.documentElement.style)V=!0;else{const ne=Element.prototype.scrollTo;V=!!ne&&!/\{\s*\[native code\]\s*\}/.test(ne.toString())}}return V}function Y(){if("object"!=typeof document||!document)return O.NORMAL;if(null==I){const ne=document.createElement("div"),Me=ne.style;ne.dir="rtl",Me.width="1px",Me.overflow="auto",Me.visibility="hidden",Me.pointerEvents="none",Me.position="absolute";const Ce=document.createElement("div"),le=Ce.style;le.width="2px",le.height="1px",ne.appendChild(Ce),document.body.appendChild(ne),I=O.NORMAL,0===ne.scrollLeft&&(ne.scrollLeft=1,I=0===ne.scrollLeft?O.NEGATED:O.INVERTED),ne.remove()}return I}function J(ne){if(function Q(){if(null==W){const ne=typeof document<"u"?document.head:null;W=!(!ne||!ne.createShadowRoot&&!ne.attachShadow)}return W}()){const Me=ne.getRootNode?ne.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&Me instanceof ShadowRoot)return Me}return null}function ie(){let ne=typeof document<"u"&&document?document.activeElement:null;for(;ne&&ne.shadowRoot;){const Me=ne.shadowRoot.activeElement;if(Me===ne)break;ne=Me}return ne}function ee(ne){return ne.composedPath?ne.composedPath()[0]:ne.target}function fe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6939:(Qe,te,g)=>{"use strict";g.d(te,{A8:()=>S,I3:()=>J,VA:()=>y,aI:()=>j,bV:()=>W,jc:()=>ee,lb:()=>I});var e=g(4438),t=g(177);class h{attach(Me){return this._attachedHost=Me,Me.attach(this)}detach(){let Me=this._attachedHost;null!=Me&&(this._attachedHost=null,Me.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Me){this._attachedHost=Me}}class S extends h{constructor(Me,Ce,le,T,n){super(),this.component=Me,this.viewContainerRef=Ce,this.injector=le,this.componentFactoryResolver=T,this.projectableNodes=n}}class y extends h{constructor(Me,Ce,le,T){super(),this.templateRef=Me,this.viewContainerRef=Ce,this.context=le,this.injector=T}get origin(){return this.templateRef.elementRef}attach(Me,Ce=this.context){return this.context=Ce,super.attach(Me)}detach(){return this.context=void 0,super.detach()}}class O extends h{constructor(Me){super(),this.element=Me instanceof e.aKT?Me.nativeElement:Me}}class I{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Me){return Me instanceof S?(this._attachedPortal=Me,this.attachComponentPortal(Me)):Me instanceof y?(this._attachedPortal=Me,this.attachTemplatePortal(Me)):this.attachDomPortal&&Me instanceof O?(this._attachedPortal=Me,this.attachDomPortal(Me)):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(Me){this._disposeFn=Me}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class j extends I{constructor(Me,Ce,le,T,n){super(),this.outletElement=Me,this._componentFactoryResolver=Ce,this._appRef=le,this._defaultInjector=T,this.attachDomPortal=c=>{const m=c.element,d=this._document.createComment("dom-portal");m.parentNode.insertBefore(d,m),this.outletElement.appendChild(m),this._attachedPortal=c,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(m,d)})},this._document=n}attachComponentPortal(Me){const le=(Me.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Me.component);let T;return Me.viewContainerRef?(T=Me.viewContainerRef.createComponent(le,Me.viewContainerRef.length,Me.injector||Me.viewContainerRef.injector,Me.projectableNodes||void 0),this.setDisposeFn(()=>T.destroy())):(T=le.create(Me.injector||this._defaultInjector||e.zZn.NULL),this._appRef.attachView(T.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(T.hostView),T.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(T)),this._attachedPortal=Me,T}attachTemplatePortal(Me){let Ce=Me.viewContainerRef,le=Ce.createEmbeddedView(Me.templateRef,Me.context,{injector:Me.injector});return le.rootNodes.forEach(T=>this.outletElement.appendChild(T)),le.detectChanges(),this.setDisposeFn(()=>{let T=Ce.indexOf(le);-1!==T&&Ce.remove(T)}),this._attachedPortal=Me,le}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Me){return Me.hostView.rootNodes[0]}}let W=(()=>{class ne extends y{constructor(Ce,le){super(Ce,le)}static{this.\u0275fac=function(le){return new(le||ne)(e.rXU(e.C4Q),e.rXU(e.c1b))}}static{this.\u0275dir=e.FsC({type:ne,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[e.Vt3]})}}return ne})(),J=(()=>{class ne extends I{constructor(Ce,le,T){super(),this._componentFactoryResolver=Ce,this._viewContainerRef=le,this._isInitialized=!1,this.attached=new e.bkB,this.attachDomPortal=n=>{const c=n.element,m=this._document.createComment("dom-portal");n.setAttachedHost(this),c.parentNode.insertBefore(m,c),this._getRootNode().appendChild(c),this._attachedPortal=n,super.setDisposeFn(()=>{m.parentNode&&m.parentNode.replaceChild(c,m)})},this._document=T}get portal(){return this._attachedPortal}set portal(Ce){this.hasAttached()&&!Ce&&!this._isInitialized||(this.hasAttached()&&super.detach(),Ce&&super.attach(Ce),this._attachedPortal=Ce||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Ce){Ce.setAttachedHost(this);const le=null!=Ce.viewContainerRef?Ce.viewContainerRef:this._viewContainerRef,n=(Ce.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ce.component),c=le.createComponent(n,le.length,Ce.injector||le.injector,Ce.projectableNodes||void 0);return le!==this._viewContainerRef&&this._getRootNode().appendChild(c.hostView.rootNodes[0]),super.setDisposeFn(()=>c.destroy()),this._attachedPortal=Ce,this._attachedRef=c,this.attached.emit(c),c}attachTemplatePortal(Ce){Ce.setAttachedHost(this);const le=this._viewContainerRef.createEmbeddedView(Ce.templateRef,Ce.context,{injector:Ce.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Ce,this._attachedRef=le,this.attached.emit(le),le}_getRootNode(){const Ce=this._viewContainerRef.element.nativeElement;return Ce.nodeType===Ce.ELEMENT_NODE?Ce:Ce.parentNode}static{this.\u0275fac=function(le){return new(le||ne)(e.rXU(e.OM3),e.rXU(e.c1b),e.rXU(t.qQ))}}static{this.\u0275dir=e.FsC({type:ne,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[e.Vt3]})}}return ne})(),ee=(()=>{class ne{static{this.\u0275fac=function(le){return new(le||ne)}}static{this.\u0275mod=e.$C({type:ne})}static{this.\u0275inj=e.G2t({})}}return ne})()},5542:(Qe,te,g)=>{"use strict";g.d(te,{uv:()=>m,Gj:()=>ze,R:()=>c,E9:()=>Xe,Xj:()=>C});var e=g(4085),t=g(4438),x=g(1413),D=g(7673),l=g(1985),w=g(3726),f=g(6780),R=g(8359);const h={schedule(We){let oe=requestAnimationFrame,X=cancelAnimationFrame;const{delegate:se}=h;se&&(oe=se.requestAnimationFrame,X=se.cancelAnimationFrame);const ae=oe(he=>{X=void 0,We(he)});return new R.yU(()=>X?.(ae))},requestAnimationFrame(...We){const{delegate:oe}=h;return(oe?.requestAnimationFrame||requestAnimationFrame)(...We)},cancelAnimationFrame(...We){const{delegate:oe}=h;return(oe?.cancelAnimationFrame||cancelAnimationFrame)(...We)},delegate:void 0};var y=g(9687);new class O extends y.q{flush(oe){this._active=!0;const X=this._scheduled;this._scheduled=void 0;const{actions:se}=this;let ae;oe=oe||se.shift();do{if(ae=oe.execute(oe.state,oe.delay))break}while((oe=se[0])&&oe.id===X&&se.shift());if(this._active=!1,ae){for(;(oe=se[0])&&oe.id===X&&se.shift();)oe.unsubscribe();throw ae}}}(class S extends f.R{constructor(oe,X){super(oe,X),this.scheduler=oe,this.work=X}requestAsyncId(oe,X,se=0){return null!==se&&se>0?super.requestAsyncId(oe,X,se):(oe.actions.push(this),oe._scheduled||(oe._scheduled=h.requestAnimationFrame(()=>oe.flush(void 0))))}recycleAsyncId(oe,X,se=0){var ae;if(null!=se?se>0:this.delay>0)return super.recycleAsyncId(oe,X,se);const{actions:he}=oe;null!=X&&(null===(ae=he[he.length-1])||void 0===ae?void 0:ae.id)!==X&&(h.cancelAnimationFrame(X),oe._scheduled=void 0)}});g(5007);var Y=g(3798),W=g(5964),Q=g(6977),J=g(6860),ie=g(177),ee=g(8203);let c=(()=>{class We{constructor(X,se,ae){this._ngZone=X,this._platform=se,this._scrolled=new x.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ae}register(X){this.scrollContainers.has(X)||this.scrollContainers.set(X,X.elementScrolled().subscribe(()=>this._scrolled.next(X)))}deregister(X){const se=this.scrollContainers.get(X);se&&(se.unsubscribe(),this.scrollContainers.delete(X))}scrolled(X=20){return this._platform.isBrowser?new l.c(se=>{this._globalSubscription||this._addGlobalListener();const ae=X>0?this._scrolled.pipe((0,Y.Z)(X)).subscribe(se):this._scrolled.subscribe(se);return this._scrolledCount++,()=>{ae.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,D.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((X,se)=>this.deregister(se)),this._scrolled.complete()}ancestorScrolled(X,se){const ae=this.getAncestorScrollContainers(X);return this.scrolled(se).pipe((0,W.p)(he=>!he||ae.indexOf(he)>-1))}getAncestorScrollContainers(X){const se=[];return this.scrollContainers.forEach((ae,he)=>{this._scrollableContainsElement(he,X)&&se.push(he)}),se}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(X,se){let ae=(0,e.i8)(se),he=X.getElementRef().nativeElement;do{if(ae==he)return!0}while(ae=ae.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const X=this._getWindow();return(0,w.R)(X.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(se){return new(se||We)(t.KVO(t.SKi),t.KVO(J.OD),t.KVO(ie.qQ,8))}}static{this.\u0275prov=t.jDH({token:We,factory:We.\u0275fac,providedIn:"root"})}}return We})(),m=(()=>{class We{constructor(X,se,ae,he){this.elementRef=X,this.scrollDispatcher=se,this.ngZone=ae,this.dir=he,this._destroyed=new x.B,this._elementScrolled=new l.c(Ie=>this.ngZone.runOutsideAngular(()=>(0,w.R)(this.elementRef.nativeElement,"scroll").pipe((0,Q.Q)(this._destroyed)).subscribe(Ie)))}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(X){const se=this.elementRef.nativeElement,ae=this.dir&&"rtl"==this.dir.value;null==X.left&&(X.left=ae?X.end:X.start),null==X.right&&(X.right=ae?X.start:X.end),null!=X.bottom&&(X.top=se.scrollHeight-se.clientHeight-X.bottom),ae&&(0,J.BD)()!=J.r5.NORMAL?(null!=X.left&&(X.right=se.scrollWidth-se.clientWidth-X.left),(0,J.BD)()==J.r5.INVERTED?X.left=X.right:(0,J.BD)()==J.r5.NEGATED&&(X.left=X.right?-X.right:X.right)):null!=X.right&&(X.left=se.scrollWidth-se.clientWidth-X.right),this._applyScrollToOptions(X)}_applyScrollToOptions(X){const se=this.elementRef.nativeElement;(0,J.CZ)()?se.scrollTo(X):(null!=X.top&&(se.scrollTop=X.top),null!=X.left&&(se.scrollLeft=X.left))}measureScrollOffset(X){const se="left",he=this.elementRef.nativeElement;if("top"==X)return he.scrollTop;if("bottom"==X)return he.scrollHeight-he.clientHeight-he.scrollTop;const Ie=this.dir&&"rtl"==this.dir.value;return"start"==X?X=Ie?"right":se:"end"==X&&(X=Ie?se:"right"),Ie&&(0,J.BD)()==J.r5.INVERTED?X==se?he.scrollWidth-he.clientWidth-he.scrollLeft:he.scrollLeft:Ie&&(0,J.BD)()==J.r5.NEGATED?X==se?he.scrollLeft+he.scrollWidth-he.clientWidth:-he.scrollLeft:X==se?he.scrollLeft:he.scrollWidth-he.clientWidth-he.scrollLeft}static{this.\u0275fac=function(se){return new(se||We)(t.rXU(t.aKT),t.rXU(c),t.rXU(t.SKi),t.rXU(ee.dS,8))}}static{this.\u0275dir=t.FsC({type:We,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return We})(),C=(()=>{class We{constructor(X,se,ae){this._platform=X,this._change=new x.B,this._changeListener=he=>{this._change.next(he)},this._document=ae,se.runOutsideAngular(()=>{if(X.isBrowser){const he=this._getWindow();he.addEventListener("resize",this._changeListener),he.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const X=this._getWindow();X.removeEventListener("resize",this._changeListener),X.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const X={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),X}getViewportRect(){const X=this.getViewportScrollPosition(),{width:se,height:ae}=this.getViewportSize();return{top:X.top,left:X.left,bottom:X.top+ae,right:X.left+se,height:ae,width:se}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const X=this._document,se=this._getWindow(),ae=X.documentElement,he=ae.getBoundingClientRect();return{top:-he.top||X.body.scrollTop||se.scrollY||ae.scrollTop||0,left:-he.left||X.body.scrollLeft||se.scrollX||ae.scrollLeft||0}}change(X=20){return X>0?this._change.pipe((0,Y.Z)(X)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const X=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:X.innerWidth,height:X.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(se){return new(se||We)(t.KVO(J.OD),t.KVO(t.SKi),t.KVO(ie.qQ,8))}}static{this.\u0275prov=t.jDH({token:We,factory:We.\u0275fac,providedIn:"root"})}}return We})(),ze=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275mod=t.$C({type:We})}static{this.\u0275inj=t.G2t({})}}return We})(),Xe=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275mod=t.$C({type:We})}static{this.\u0275inj=t.G2t({imports:[ee.jI,ze,ee.jI,ze]})}}return We})()},7768:(Qe,te,g)=>{"use strict";g.d(te,{FK:()=>ee,Up:()=>J,VI:()=>Q,nb:()=>I,oX:()=>O,uY:()=>fe,v5:()=>ie,x8:()=>W});var e=g(8617),t=g(8203),x=g(7336),D=g(4438),l=g(6860),w=g(1413),f=g(7673),R=g(9172),h=g(6977);const S=["*"];function y(ne,Me){1&ne&&D.SdG(0)}let O=(()=>{class ne{constructor(Ce){this._elementRef=Ce}focus(){this._elementRef.nativeElement.focus()}static{this.\u0275fac=function(le){return new(le||ne)(D.rXU(D.aKT))}}static{this.\u0275dir=D.FsC({type:ne,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0})}}return ne})(),I=(()=>{class ne{constructor(Ce){this.template=Ce}static{this.\u0275fac=function(le){return new(le||ne)(D.rXU(D.C4Q))}}static{this.\u0275dir=D.FsC({type:ne,selectors:[["","cdkStepLabel",""]],standalone:!0})}}return ne})(),V=0;const W=new D.nKC("STEPPER_GLOBAL_OPTIONS");let Q=(()=>{class ne{get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(Ce){this._completedOverride=Ce}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(Ce){this._customError=Ce}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(Ce,le){this._stepper=Ce,this.interacted=!1,this.interactedStream=new D.bkB,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=le||{},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(le){return new(le||ne)(D.rXU((0,D.Rfq)(()=>J)),D.rXU(W,8))}}static{this.\u0275cmp=D.VBU({type:ne,selectors:[["cdk-step"]],contentQueries:function(le,T,n){if(1&le&&D.wni(n,I,5),2&le){let c;D.mGM(c=D.lsd())&&(T.stepLabel=c.first)}},viewQuery:function(le,T){if(1&le&&D.GBs(D.C4Q,7),2&le){let n;D.mGM(n=D.lsd())&&(T.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",D.L39],optional:[2,"optional","optional",D.L39],completed:[2,"completed","completed",D.L39],hasError:[2,"hasError","hasError",D.L39]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[D.GFd,D.OA$,D.aNF],ngContentSelectors:S,decls:1,vars:0,template:function(le,T){1&le&&(D.NAR(),D.DNE(0,y,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}}return ne})(),J=(()=>{class ne{get selectedIndex(){return this._selectedIndex}set selectedIndex(Ce){this.steps&&this._steps?(this._isValidIndex(Ce),this.selected?._markAsInteracted(),this._selectedIndex!==Ce&&!this._anyControlsInvalidOrPending(Ce)&&(Ce>=this._selectedIndex||this.steps.toArray()[Ce].editable)&&this._updateSelectedItemIndex(Ce)):this._selectedIndex=Ce}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(Ce){this.selectedIndex=Ce&&this.steps?this.steps.toArray().indexOf(Ce):-1}get orientation(){return this._orientation}set orientation(Ce){this._orientation=Ce,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===Ce)}constructor(Ce,le,T){this._dir=Ce,this._changeDetectorRef=le,this._elementRef=T,this._destroyed=new w.B,this.steps=new D.rOR,this._sortedHeaders=new D.rOR,this.linear=!1,this._selectedIndex=0,this.selectionChange=new D.bkB,this.selectedIndexChange=new D.bkB,this._orientation="horizontal",this._groupId=V++}ngAfterContentInit(){this._steps.changes.pipe((0,R.Z)(this._steps),(0,h.Q)(this._destroyed)).subscribe(Ce=>{this.steps.reset(Ce.filter(le=>le._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,R.Z)(this._stepHeader),(0,h.Q)(this._destroyed)).subscribe(Ce=>{this._sortedHeaders.reset(Ce.toArray().sort((le,T)=>le._elementRef.nativeElement.compareDocumentPosition(T._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new e.Bu(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,f.of)()).pipe((0,R.Z)(this._layoutDirection()),(0,h.Q)(this._destroyed)).subscribe(Ce=>this._keyManager.withHorizontalOrientation(Ce)),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(Ce=>Ce.reset()),this._stateChanged()}_getStepLabelId(Ce){return`cdk-step-label-${this._groupId}-${Ce}`}_getStepContentId(Ce){return`cdk-step-content-${this._groupId}-${Ce}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(Ce){const le=Ce-this._selectedIndex;return le<0?"rtl"===this._layoutDirection()?"next":"previous":le>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(Ce,le="number"){const T=this.steps.toArray()[Ce],n=this._isCurrentStep(Ce);return T._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(T,n):this._getGuidelineLogic(T,n,le)}_getDefaultIndicatorLogic(Ce,le){return Ce._showError()&&Ce.hasError&&!le?"error":!Ce.completed||le?"number":Ce.editable?"edit":"done"}_getGuidelineLogic(Ce,le,T="number"){return Ce._showError()&&Ce.hasError&&!le?"error":Ce.completed&&!le?"done":Ce.completed&&le?T:Ce.editable&&le?"edit":T}_isCurrentStep(Ce){return this._selectedIndex===Ce}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(Ce){const le=this.steps.toArray();this.selectionChange.emit({selectedIndex:Ce,previouslySelectedIndex:this._selectedIndex,selectedStep:le[Ce],previouslySelectedStep:le[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(Ce):this._keyManager.updateActiveItem(Ce),this._selectedIndex=Ce,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(Ce){const le=(0,x.rp)(Ce),T=Ce.keyCode,n=this._keyManager;null==n.activeItemIndex||le||T!==x.t6&&T!==x.Fm?n.setFocusOrigin("keyboard").onKeydown(Ce):(this.selectedIndex=n.activeItemIndex,Ce.preventDefault())}_anyControlsInvalidOrPending(Ce){return!!(this.linear&&Ce>=0)&&this.steps.toArray().slice(0,Ce).some(le=>{const T=le.stepControl;return(T?T.invalid||T.pending||!le.interacted:!le.completed)&&!le.optional&&!le._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const Ce=this._elementRef.nativeElement,le=(0,l.vc)();return Ce===le||Ce.contains(le)}_isValidIndex(Ce){return Ce>-1&&(!this.steps||Ce{class ne{constructor(Ce){this._stepper=Ce,this.type="submit"}static{this.\u0275fac=function(le){return new(le||ne)(D.rXU(J))}}static{this.\u0275dir=D.FsC({type:ne,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(le,T){1&le&&D.bIt("click",function(){return T._stepper.next()}),2&le&&D.Mr5("type",T.type)},inputs:{type:"type"},standalone:!0})}}return ne})(),ee=(()=>{class ne{constructor(Ce){this._stepper=Ce,this.type="button"}static{this.\u0275fac=function(le){return new(le||ne)(D.rXU(J))}}static{this.\u0275dir=D.FsC({type:ne,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(le,T){1&le&&D.bIt("click",function(){return T._stepper.previous()}),2&le&&D.Mr5("type",T.type)},inputs:{type:"type"},standalone:!0})}}return ne})(),fe=(()=>{class ne{static{this.\u0275fac=function(le){return new(le||ne)}}static{this.\u0275mod=D.$C({type:ne})}static{this.\u0275inj=D.G2t({imports:[t.jI]})}}return ne})()},4109:(Qe,te,g)=>{"use strict";g.d(te,{Dc:()=>C,Hy:()=>m,NL:()=>ne,Sz:()=>W,XO:()=>I,a$:()=>j,aI:()=>c,kZ:()=>V,s3:()=>T,xn:()=>Me});var e=g(5024),t=g(4402),x=g(1413),D=g(4412),l=g(7673),w=g(6697),f=g(5964),R=g(6977),h=g(4438),S=g(8203);class y{constructor(){this.expansionModel=new e.CB(!0)}toggle(k){this.expansionModel.toggle(this._trackByValue(k))}expand(k){this.expansionModel.select(this._trackByValue(k))}collapse(k){this.expansionModel.deselect(this._trackByValue(k))}isExpanded(k){return this.expansionModel.isSelected(this._trackByValue(k))}toggleDescendants(k){this.expansionModel.isSelected(this._trackByValue(k))?this.collapseDescendants(k):this.expandDescendants(k)}collapseAll(){this.expansionModel.clear()}expandDescendants(k){let _=[k];_.push(...this.getDescendants(k)),this.expansionModel.select(..._.map(a=>this._trackByValue(a)))}collapseDescendants(k){let _=[k];_.push(...this.getDescendants(k)),this.expansionModel.deselect(..._.map(a=>this._trackByValue(a)))}_trackByValue(k){return this.trackBy?this.trackBy(k):k}}class I extends y{constructor(k,_){super(),this.getChildren=k,this.options=_,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const k=this.dataNodes.reduce((_,a)=>[..._,...this.getDescendants(a),a],[]);this.expansionModel.select(...k.map(_=>this._trackByValue(_)))}getDescendants(k){const _=[];return this._getDescendants(_,k),_.splice(1)}_getDescendants(k,_){k.push(_);const a=this.getChildren(_);Array.isArray(a)?a.forEach(b=>this._getDescendants(k,b)):(0,t.A)(a)&&a.pipe((0,w.s)(1),(0,f.p)(Boolean)).subscribe(b=>{for(const z of b)this._getDescendants(k,z)})}}const V=new h.nKC("CDK_TREE_NODE_OUTLET_NODE");let j=(()=>{class A{constructor(_,a){this.viewContainer=_,this._node=a}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(h.c1b),h.rXU(V,8))}}static{this.\u0275dir=h.FsC({type:A,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}}return A})();class Y{constructor(k){this.$implicit=k}}let W=(()=>{class A{constructor(_){this.template=_}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(h.C4Q))}}static{this.\u0275dir=h.FsC({type:A,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]},standalone:!0})}}return A})(),ne=(()=>{class A{get dataSource(){return this._dataSource}set dataSource(_){this._dataSource!==_&&this._switchDataSource(_)}constructor(_,a){this._differs=_,this._changeDetectorRef=a,this._onDestroy=new x.B,this._levels=new Map,this.viewChange=new D.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 _=this._nodeDefs.filter(a=>!a.when);this._defaultNodeDef=_[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(_){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),_||this._nodeOutlet.viewContainer.clear(),this._dataSource=_,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let _;(0,e.y4)(this._dataSource)?_=this._dataSource.connect(this):(0,t.A)(this._dataSource)?_=this._dataSource:Array.isArray(this._dataSource)&&(_=(0,l.of)(this._dataSource)),_&&(this._dataSubscription=_.pipe((0,R.Q)(this._onDestroy)).subscribe(a=>this.renderNodeChanges(a)))}renderNodeChanges(_,a=this._dataDiffer,b=this._nodeOutlet.viewContainer,z){const N=a.diff(_);N&&(N.forEachOperation((q,pe,ze)=>{if(null==q.previousIndex)this.insertNode(_[ze],ze,b,z);else if(null==ze)b.remove(pe),this._levels.delete(q.item);else{const Xe=b.get(pe);b.move(Xe,ze)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(_,a){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(z=>z.when&&z.when(a,_))||this._defaultNodeDef}insertNode(_,a,b,z){const N=this._getNodeDef(_,a),q=new Y(_);q.level=this.treeControl.getLevel?this.treeControl.getLevel(_):typeof z<"u"&&this._levels.has(z)?this._levels.get(z)+1:0,this._levels.set(_,q.level),(b||this._nodeOutlet.viewContainer).createEmbeddedView(N.template,q,a),Me.mostRecentTreeNode&&(Me.mostRecentTreeNode.data=_)}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(h._q3),h.rXU(h.gRc))}}static{this.\u0275cmp=h.VBU({type:A,selectors:[["cdk-tree"]],contentQueries:function(a,b,z){if(1&a&&h.wni(z,W,5),2&a){let N;h.mGM(N=h.lsd())&&(b._nodeDefs=N)}},viewQuery:function(a,b){if(1&a&&h.GBs(j,7),2&a){let z;h.mGM(z=h.lsd())&&(b._nodeOutlet=z.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],standalone:!0,features:[h.aNF],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(a,b){1&a&&h.eu8(0,0)},dependencies:[j],encapsulation:2})}}return A})(),Me=(()=>{class A{get role(){return"treeitem"}set role(_){this._elementRef.nativeElement.setAttribute("role",_)}static{this.mostRecentTreeNode=null}get data(){return this._data}set data(_){_!==this._data&&(this._data=_,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(_,a){this._elementRef=_,this._tree=a,this._destroyed=new x.B,this._dataChanges=new x.B,A.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function Ce(A){let k=A.parentElement;for(;k&&!le(k);)k=k.parentElement;return k?k.classList.contains("cdk-nested-tree-node")?(0,h.Udg)(k.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){A.mostRecentTreeNode===this&&(A.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(h.aKT),h.rXU(ne))}}static{this.\u0275dir=h.FsC({type:A,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(a,b){2&a&&h.BMQ("aria-expanded",b.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"],standalone:!0})}}return A})();function le(A){const k=A.classList;return!(!k?.contains("cdk-nested-tree-node")&&!k?.contains("cdk-tree"))}let T=(()=>{class A extends Me{constructor(_,a,b){super(_,a),this._differs=b}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const _=this._tree.treeControl.getChildren(this.data);Array.isArray(_)?this.updateChildrenNodes(_):(0,t.A)(_)&&_.pipe((0,R.Q)(this._destroyed)).subscribe(a=>this.updateChildrenNodes(a)),this.nodeOutlet.changes.pipe((0,R.Q)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(_){const a=this._getNodeOutlet();_&&(this._children=_),a&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,a.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const _=this._getNodeOutlet();_&&(_.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const _=this.nodeOutlet;return _&&_.find(a=>!a._node||a._node===this)}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(h.aKT),h.rXU(ne),h.rXU(h._q3))}}static{this.\u0275dir=h.FsC({type:A,selectors:[["cdk-nested-tree-node"]],contentQueries:function(a,b,z){if(1&a&&h.wni(z,j,5),2&a){let N;h.mGM(N=h.lsd())&&(b.nodeOutlet=N)}},hostAttrs:[1,"cdk-nested-tree-node"],exportAs:["cdkNestedTreeNode"],standalone:!0,features:[h.Jv_([{provide:Me,useExisting:A},{provide:V,useExisting:A}]),h.Vt3]})}}return A})();const n=/([A-Za-z%]+)$/;let c=(()=>{class A{get level(){return this._level}set level(_){this._setLevelInput(_)}get indent(){return this._indent}set indent(_){this._setIndentInput(_)}constructor(_,a,b,z){this._treeNode=_,this._tree=a,this._element=b,this._dir=z,this._destroyed=new x.B,this.indentUnits="px",this._indent=40,this._setPadding(),z&&z.change.pipe((0,R.Q)(this._destroyed)).subscribe(()=>this._setPadding(!0)),_._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const _=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,a=null==this._level?_:this._level;return"number"==typeof a?`${a*this._indent}${this.indentUnits}`:null}_setPadding(_=!1){const a=this._paddingIndent();if(a!==this._currentPadding||_){const b=this._element.nativeElement,z=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",N="paddingLeft"===z?"paddingRight":"paddingLeft";b.style[z]=a||"",b.style[N]="",this._currentPadding=a}}_setLevelInput(_){this._level=isNaN(_)?null:_,this._setPadding()}_setIndentInput(_){let a=_,b="px";if("string"==typeof _){const z=_.split(n);a=z[0],b=z[1]||b}this.indentUnits=b,this._indent=(0,h.Udg)(a),this._setPadding()}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(Me),h.rXU(ne),h.rXU(h.aKT),h.rXU(S.dS,8))}}static{this.\u0275dir=h.FsC({type:A,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",h.Udg],indent:[0,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[h.GFd]})}}return A})(),m=(()=>{class A{constructor(_,a){this._tree=_,this._treeNode=a,this.recursive=!1}_toggle(_){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),_.stopPropagation()}static{this.\u0275fac=function(a){return new(a||A)(h.rXU(ne),h.rXU(Me))}}static{this.\u0275dir=h.FsC({type:A,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(a,b){1&a&&h.bIt("click",function(N){return b._toggle(N)})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",h.L39]},standalone:!0,features:[h.GFd]})}}return A})(),C=(()=>{class A{static{this.\u0275fac=function(a){return new(a||A)}}static{this.\u0275mod=h.$C({type:A})}static{this.\u0275inj=h.G2t({})}}return A})()},177:(Qe,te,g)=>{"use strict";g.d(te,{AJ:()=>Ba,B3:()=>Ai,GH:()=>ir,Jj:()=>On,MD:()=>Do,N0:()=>Ea,P9:()=>ua,PV:()=>Xr,Pc:()=>fr,QT:()=>x,QX:()=>Fr,Sm:()=>Y,Sq:()=>He,T3:()=>Yi,TG:()=>Ds,UE:()=>ea,VF:()=>l,Vy:()=>_o,Xr:()=>ko,YU:()=>mn,ZD:()=>D,_b:()=>Hi,aZ:()=>Q,bT:()=>ht,e1:()=>Hn,fG:()=>Qn,fw:()=>W,hb:()=>V,hj:()=>h,lG:()=>hs,qQ:()=>f,ux:()=>Cn,vh:()=>ds});var e=g(4438);let t=null;function x(){return t}function D(xe){t??=xe}class l{}const f=new e.nKC("");let R=(()=>{class xe{historyGo(Ye){throw new Error("")}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275prov=e.jDH({token:xe,factory:()=>(0,e.WQX)(S),providedIn:"platform"})}}return xe})();const h=new e.nKC("");let S=(()=>{class xe extends R{constructor(){super(),this._doc=(0,e.WQX)(f),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return x().getBaseHref(this._doc)}onPopState(Ye){const gt=x().getGlobalEventTarget(this._doc,"window");return gt.addEventListener("popstate",Ye,!1),()=>gt.removeEventListener("popstate",Ye)}onHashChange(Ye){const gt=x().getGlobalEventTarget(this._doc,"window");return gt.addEventListener("hashchange",Ye,!1),()=>gt.removeEventListener("hashchange",Ye)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(Ye){this._location.pathname=Ye}pushState(Ye,gt,Zt){this._history.pushState(Ye,gt,Zt)}replaceState(Ye,gt,Zt){this._history.replaceState(Ye,gt,Zt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Ye=0){this._history.go(Ye)}getState(){return this._history.state}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275prov=e.jDH({token:xe,factory:()=>new xe,providedIn:"platform"})}}return xe})();function y(xe,bt){if(0==xe.length)return bt;if(0==bt.length)return xe;let Ye=0;return xe.endsWith("/")&&Ye++,bt.startsWith("/")&&Ye++,2==Ye?xe+bt.substring(1):1==Ye?xe+bt:xe+"/"+bt}function O(xe){const bt=xe.match(/#|\?|$/),Ye=bt&&bt.index||xe.length;return xe.slice(0,Ye-("/"===xe[Ye-1]?1:0))+xe.slice(Ye)}function I(xe){return xe&&"?"!==xe[0]?"?"+xe:xe}let V=(()=>{class xe{historyGo(Ye){throw new Error("")}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275prov=e.jDH({token:xe,factory:()=>(0,e.WQX)(Y),providedIn:"root"})}}return xe})();const j=new e.nKC("");let Y=(()=>{class xe extends V{constructor(Ye,gt){super(),this._platformLocation=Ye,this._removeListenerFns=[],this._baseHref=gt??this._platformLocation.getBaseHrefFromDOM()??(0,e.WQX)(f).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ye){this._removeListenerFns.push(this._platformLocation.onPopState(Ye),this._platformLocation.onHashChange(Ye))}getBaseHref(){return this._baseHref}prepareExternalUrl(Ye){return y(this._baseHref,Ye)}path(Ye=!1){const gt=this._platformLocation.pathname+I(this._platformLocation.search),Zt=this._platformLocation.hash;return Zt&&Ye?`${gt}${Zt}`:gt}pushState(Ye,gt,Zt,Si){const Ii=this.prepareExternalUrl(Zt+I(Si));this._platformLocation.pushState(Ye,gt,Ii)}replaceState(Ye,gt,Zt,Si){const Ii=this.prepareExternalUrl(Zt+I(Si));this._platformLocation.replaceState(Ye,gt,Ii)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ye=0){this._platformLocation.historyGo?.(Ye)}static{this.\u0275fac=function(gt){return new(gt||xe)(e.KVO(R),e.KVO(j,8))}}static{this.\u0275prov=e.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}}return xe})(),W=(()=>{class xe extends V{constructor(Ye,gt){super(),this._platformLocation=Ye,this._baseHref="",this._removeListenerFns=[],null!=gt&&(this._baseHref=gt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ye){this._removeListenerFns.push(this._platformLocation.onPopState(Ye),this._platformLocation.onHashChange(Ye))}getBaseHref(){return this._baseHref}path(Ye=!1){const gt=this._platformLocation.hash??"#";return gt.length>0?gt.substring(1):gt}prepareExternalUrl(Ye){const gt=y(this._baseHref,Ye);return gt.length>0?"#"+gt:gt}pushState(Ye,gt,Zt,Si){let Ii=this.prepareExternalUrl(Zt+I(Si));0==Ii.length&&(Ii=this._platformLocation.pathname),this._platformLocation.pushState(Ye,gt,Ii)}replaceState(Ye,gt,Zt,Si){let Ii=this.prepareExternalUrl(Zt+I(Si));0==Ii.length&&(Ii=this._platformLocation.pathname),this._platformLocation.replaceState(Ye,gt,Ii)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ye=0){this._platformLocation.historyGo?.(Ye)}static{this.\u0275fac=function(gt){return new(gt||xe)(e.KVO(R),e.KVO(j,8))}}static{this.\u0275prov=e.jDH({token:xe,factory:xe.\u0275fac})}}return xe})(),Q=(()=>{class xe{constructor(Ye){this._subject=new e.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Ye;const gt=this._locationStrategy.getBaseHref();this._basePath=function fe(xe){if(new RegExp("^(https?:)?//").test(xe)){const[,Ye]=xe.split(/\/\/[^\/]+/);return Ye}return xe}(O(ee(gt))),this._locationStrategy.onPopState(Zt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Zt.state,type:Zt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Ye=!1){return this.normalize(this._locationStrategy.path(Ye))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Ye,gt=""){return this.path()==this.normalize(Ye+I(gt))}normalize(Ye){return xe.stripTrailingSlash(function ie(xe,bt){if(!xe||!bt.startsWith(xe))return bt;const Ye=bt.substring(xe.length);return""===Ye||["/",";","?","#"].includes(Ye[0])?Ye:bt}(this._basePath,ee(Ye)))}prepareExternalUrl(Ye){return Ye&&"/"!==Ye[0]&&(Ye="/"+Ye),this._locationStrategy.prepareExternalUrl(Ye)}go(Ye,gt="",Zt=null){this._locationStrategy.pushState(Zt,"",Ye,gt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ye+I(gt)),Zt)}replaceState(Ye,gt="",Zt=null){this._locationStrategy.replaceState(Zt,"",Ye,gt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ye+I(gt)),Zt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Ye=0){this._locationStrategy.historyGo?.(Ye)}onUrlChange(Ye){return this._urlChangeListeners.push(Ye),this._urlChangeSubscription??=this.subscribe(gt=>{this._notifyUrlChangeListeners(gt.url,gt.state)}),()=>{const gt=this._urlChangeListeners.indexOf(Ye);this._urlChangeListeners.splice(gt,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Ye="",gt){this._urlChangeListeners.forEach(Zt=>Zt(Ye,gt))}subscribe(Ye,gt,Zt){return this._subject.subscribe({next:Ye,error:gt,complete:Zt})}static{this.normalizeQueryParams=I}static{this.joinWithSlash=y}static{this.stripTrailingSlash=O}static{this.\u0275fac=function(gt){return new(gt||xe)(e.KVO(V))}}static{this.\u0275prov=e.jDH({token:xe,factory:()=>function J(){return new Q((0,e.KVO)(V))}(),providedIn:"root"})}}return xe})();function ee(xe){return xe.replace(/\/index.html$/,"")}var Me=function(xe){return xe[xe.Decimal=0]="Decimal",xe[xe.Percent=1]="Percent",xe[xe.Currency=2]="Currency",xe[xe.Scientific=3]="Scientific",xe}(Me||{}),le=function(xe){return xe[xe.Format=0]="Format",xe[xe.Standalone=1]="Standalone",xe}(le||{}),T=function(xe){return xe[xe.Narrow=0]="Narrow",xe[xe.Abbreviated=1]="Abbreviated",xe[xe.Wide=2]="Wide",xe[xe.Short=3]="Short",xe}(T||{}),n=function(xe){return xe[xe.Short=0]="Short",xe[xe.Medium=1]="Medium",xe[xe.Long=2]="Long",xe[xe.Full=3]="Full",xe}(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(xe,bt){return me((0,e.H5H)(xe)[e.KH2.DateFormat],bt)}function N(xe,bt){return me((0,e.H5H)(xe)[e.KH2.TimeFormat],bt)}function q(xe,bt){return me((0,e.H5H)(xe)[e.KH2.DateTimeFormat],bt)}function pe(xe,bt){const Ye=(0,e.H5H)(xe),gt=Ye[e.KH2.NumberSymbols][bt];if(typeof gt>"u"){if(bt===c.CurrencyDecimal)return Ye[e.KH2.NumberSymbols][c.Decimal];if(bt===c.CurrencyGroup)return Ye[e.KH2.NumberSymbols][c.Group]}return gt}function ae(xe){if(!xe[e.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${xe[e.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function me(xe,bt){for(let Ye=bt;Ye>-1;Ye--)if(typeof xe[Ye]<"u")return xe[Ye];throw new Error("Locale data API: locale data undefined")}function Ee(xe){const[bt,Ye]=xe.split(":");return{hours:+bt,minutes:+Ye}}const ct=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,dt={},Yt=/((?:[^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 ve=function(xe){return xe[xe.Short=0]="Short",xe[xe.ShortGMT=1]="ShortGMT",xe[xe.Long=2]="Long",xe[xe.Extended=3]="Extended",xe}(ve||{}),_e=function(xe){return xe[xe.FullYear=0]="FullYear",xe[xe.Month=1]="Month",xe[xe.Date=2]="Date",xe[xe.Hours=3]="Hours",xe[xe.Minutes=4]="Minutes",xe[xe.Seconds=5]="Seconds",xe[xe.FractionalSeconds=6]="FractionalSeconds",xe[xe.Day=7]="Day",xe}(_e||{}),we=function(xe){return xe[xe.DayPeriods=0]="DayPeriods",xe[xe.Days=1]="Days",xe[xe.Months=2]="Months",xe[xe.Eras=3]="Eras",xe}(we||{});function Ue(xe,bt,Ye,gt){let Zt=function pt(xe){if(Fe(xe))return xe;if("number"==typeof xe&&!isNaN(xe))return new Date(xe);if("string"==typeof xe){if(xe=xe.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(xe)){const[Zt,Si=1,Ii=1]=xe.split("-").map(on=>+on);return je(Zt,Si-1,Ii)}const Ye=parseFloat(xe);if(!isNaN(xe-Ye))return new Date(Ye);let gt;if(gt=xe.match(ct))return function Ke(xe){const bt=new Date(0);let Ye=0,gt=0;const Zt=xe[8]?bt.setUTCFullYear:bt.setFullYear,Si=xe[8]?bt.setUTCHours:bt.setHours;xe[9]&&(Ye=Number(xe[9]+xe[10]),gt=Number(xe[9]+xe[11])),Zt.call(bt,Number(xe[1]),Number(xe[2])-1,Number(xe[3]));const Ii=Number(xe[4]||0)-Ye,on=Number(xe[5]||0)-gt,Kn=Number(xe[6]||0),wr=Math.floor(1e3*parseFloat("0."+(xe[7]||0)));return Si.call(bt,Ii,on,Kn,wr),bt}(gt)}const bt=new Date(xe);if(!Fe(bt))throw new Error(`Unable to convert "${xe}" into a date`);return bt}(xe);bt=vt(Ye,bt)||bt;let on,Ii=[];for(;bt;){if(on=Yt.exec(bt),!on){Ii.push(bt);break}{Ii=Ii.concat(on.slice(1));const pr=Ii.pop();if(!pr)break;bt=pr}}let Kn=Zt.getTimezoneOffset();gt&&(Kn=Z(gt,Kn),Zt=function Pe(xe,bt,Ye){const gt=Ye?-1:1,Zt=xe.getTimezoneOffset();return function Re(xe,bt){return(xe=new Date(xe.getTime())).setMinutes(xe.getMinutes()+bt),xe}(xe,gt*(Z(bt,Zt)-Zt))}(Zt,gt,!0));let wr="";return Ii.forEach(pr=>{const Fn=function ce(xe){if(Te[xe])return Te[xe];let bt;switch(xe){case"G":case"GG":case"GGG":bt=jt(we.Eras,T.Abbreviated);break;case"GGGG":bt=jt(we.Eras,T.Wide);break;case"GGGGG":bt=jt(we.Eras,T.Narrow);break;case"y":bt=Nt(_e.FullYear,1,0,!1,!0);break;case"yy":bt=Nt(_e.FullYear,2,0,!0,!0);break;case"yyy":bt=Nt(_e.FullYear,3,0,!1,!0);break;case"yyyy":bt=Nt(_e.FullYear,4,0,!1,!0);break;case"Y":bt=Se(1);break;case"YY":bt=Se(2,!0);break;case"YYY":bt=Se(3);break;case"YYYY":bt=Se(4);break;case"M":case"L":bt=Nt(_e.Month,1,1);break;case"MM":case"LL":bt=Nt(_e.Month,2,1);break;case"MMM":bt=jt(we.Months,T.Abbreviated);break;case"MMMM":bt=jt(we.Months,T.Wide);break;case"MMMMM":bt=jt(we.Months,T.Narrow);break;case"LLL":bt=jt(we.Months,T.Abbreviated,le.Standalone);break;case"LLLL":bt=jt(we.Months,T.Wide,le.Standalone);break;case"LLLLL":bt=jt(we.Months,T.Narrow,le.Standalone);break;case"w":bt=xt(1);break;case"ww":bt=xt(2);break;case"W":bt=xt(1,!0);break;case"d":bt=Nt(_e.Date,1);break;case"dd":bt=Nt(_e.Date,2);break;case"c":case"cc":bt=Nt(_e.Day,1);break;case"ccc":bt=jt(we.Days,T.Abbreviated,le.Standalone);break;case"cccc":bt=jt(we.Days,T.Wide,le.Standalone);break;case"ccccc":bt=jt(we.Days,T.Narrow,le.Standalone);break;case"cccccc":bt=jt(we.Days,T.Short,le.Standalone);break;case"E":case"EE":case"EEE":bt=jt(we.Days,T.Abbreviated);break;case"EEEE":bt=jt(we.Days,T.Wide);break;case"EEEEE":bt=jt(we.Days,T.Narrow);break;case"EEEEEE":bt=jt(we.Days,T.Short);break;case"a":case"aa":case"aaa":bt=jt(we.DayPeriods,T.Abbreviated);break;case"aaaa":bt=jt(we.DayPeriods,T.Wide);break;case"aaaaa":bt=jt(we.DayPeriods,T.Narrow);break;case"b":case"bb":case"bbb":bt=jt(we.DayPeriods,T.Abbreviated,le.Standalone,!0);break;case"bbbb":bt=jt(we.DayPeriods,T.Wide,le.Standalone,!0);break;case"bbbbb":bt=jt(we.DayPeriods,T.Narrow,le.Standalone,!0);break;case"B":case"BB":case"BBB":bt=jt(we.DayPeriods,T.Abbreviated,le.Format,!0);break;case"BBBB":bt=jt(we.DayPeriods,T.Wide,le.Format,!0);break;case"BBBBB":bt=jt(we.DayPeriods,T.Narrow,le.Format,!0);break;case"h":bt=Nt(_e.Hours,1,-12);break;case"hh":bt=Nt(_e.Hours,2,-12);break;case"H":bt=Nt(_e.Hours,1);break;case"HH":bt=Nt(_e.Hours,2);break;case"m":bt=Nt(_e.Minutes,1);break;case"mm":bt=Nt(_e.Minutes,2);break;case"s":bt=Nt(_e.Seconds,1);break;case"ss":bt=Nt(_e.Seconds,2);break;case"S":bt=Nt(_e.FractionalSeconds,1);break;case"SS":bt=Nt(_e.FractionalSeconds,2);break;case"SSS":bt=Nt(_e.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":bt=et(ve.Short);break;case"ZZZZZ":bt=et(ve.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":bt=et(ve.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":bt=et(ve.Long);break;default:return null}return Te[xe]=bt,bt}(pr);wr+=Fn?Fn(Zt,Ye,Kn):"''"===pr?"'":pr.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),wr}function je(xe,bt,Ye){const gt=new Date(0);return gt.setFullYear(xe,bt,Ye),gt.setHours(0,0,0),gt}function vt(xe,bt){const Ye=function d(xe){return(0,e.H5H)(xe)[e.KH2.LocaleId]}(xe);if(dt[Ye]??={},dt[Ye][bt])return dt[Ye][bt];let gt="";switch(bt){case"shortDate":gt=z(xe,n.Short);break;case"mediumDate":gt=z(xe,n.Medium);break;case"longDate":gt=z(xe,n.Long);break;case"fullDate":gt=z(xe,n.Full);break;case"shortTime":gt=N(xe,n.Short);break;case"mediumTime":gt=N(xe,n.Medium);break;case"longTime":gt=N(xe,n.Long);break;case"fullTime":gt=N(xe,n.Full);break;case"short":const Zt=vt(xe,"shortTime"),Si=vt(xe,"shortDate");gt=$e(q(xe,n.Short),[Zt,Si]);break;case"medium":const Ii=vt(xe,"mediumTime"),on=vt(xe,"mediumDate");gt=$e(q(xe,n.Medium),[Ii,on]);break;case"long":const Kn=vt(xe,"longTime"),wr=vt(xe,"longDate");gt=$e(q(xe,n.Long),[Kn,wr]);break;case"full":const pr=vt(xe,"fullTime"),Fn=vt(xe,"fullDate");gt=$e(q(xe,n.Full),[pr,Fn])}return gt&&(dt[Ye][bt]=gt),gt}function $e(xe,bt){return bt&&(xe=xe.replace(/\{([^}]+)}/g,function(Ye,gt){return null!=bt&> in bt?bt[gt]:Ye})),xe}function nt(xe,bt,Ye="-",gt,Zt){let Si="";(xe<0||Zt&&xe<=0)&&(Zt?xe=1-xe:(xe=-xe,Si=Ye));let Ii=String(xe);for(;Ii.length0||on>-Ye)&&(on+=Ye),xe===_e.Hours)0===on&&-12===Ye&&(on=12);else if(xe===_e.FractionalSeconds)return function qt(xe,bt){return nt(xe,3).substring(0,bt)}(on,bt);const Kn=pe(Ii,c.MinusSign);return nt(on,bt,Kn,gt,Zt)}}function jt(xe,bt,Ye=le.Format,gt=!1){return function(Zt,Si){return function Je(xe,bt,Ye,gt,Zt,Si){switch(Ye){case we.Months:return function k(xe,bt,Ye){const gt=(0,e.H5H)(xe),Si=me([gt[e.KH2.MonthsFormat],gt[e.KH2.MonthsStandalone]],bt);return me(Si,Ye)}(bt,Zt,gt)[xe.getMonth()];case we.Days:return function A(xe,bt,Ye){const gt=(0,e.H5H)(xe),Si=me([gt[e.KH2.DaysFormat],gt[e.KH2.DaysStandalone]],bt);return me(Si,Ye)}(bt,Zt,gt)[xe.getDay()];case we.DayPeriods:const Ii=xe.getHours(),on=xe.getMinutes();if(Si){const wr=function he(xe){const bt=(0,e.H5H)(xe);return ae(bt),(bt[e.KH2.ExtraData][2]||[]).map(gt=>"string"==typeof gt?Ee(gt):[Ee(gt[0]),Ee(gt[1])])}(bt),pr=function Ie(xe,bt,Ye){const gt=(0,e.H5H)(xe);ae(gt);const Si=me([gt[e.KH2.ExtraData][0],gt[e.KH2.ExtraData][1]],bt)||[];return me(Si,Ye)||[]}(bt,Zt,gt),Fn=wr.findIndex(Sr=>{if(Array.isArray(Sr)){const[Dn,Fi]=Sr,bn=Ii>=Dn.hours&&on>=Dn.minutes,Tr=Ii0?Math.floor(Zt/60):Math.ceil(Zt/60);switch(xe){case ve.Short:return(Zt>=0?"+":"")+nt(Ii,2,Si)+nt(Math.abs(Zt%60),2,Si);case ve.ShortGMT:return"GMT"+(Zt>=0?"+":"")+nt(Ii,1,Si);case ve.Long:return"GMT"+(Zt>=0?"+":"")+nt(Ii,2,Si)+":"+nt(Math.abs(Zt%60),2,Si);case ve.Extended:return 0===gt?"Z":(Zt>=0?"+":"")+nt(Ii,2,Si)+":"+nt(Math.abs(Zt%60),2,Si);default:throw new Error(`Unknown zone width "${xe}"`)}}}const Ae=0,It=4;function Tt(xe){const bt=xe.getDay(),Ye=0===bt?-3:It-bt;return je(xe.getFullYear(),xe.getMonth(),xe.getDate()+Ye)}function xt(xe,bt=!1){return function(Ye,gt){let Zt;if(bt){const Si=new Date(Ye.getFullYear(),Ye.getMonth(),1).getDay()-1,Ii=Ye.getDate();Zt=1+Math.floor((Ii+Si)/7)}else{const Si=Tt(Ye),Ii=function Qt(xe){const bt=je(xe,Ae,1).getDay();return je(xe,0,1+(bt<=It?It:It+7)-bt)}(Si.getFullYear()),on=Si.getTime()-Ii.getTime();Zt=1+Math.round(on/6048e5)}return nt(Zt,xe,pe(gt,c.MinusSign))}}function Se(xe,bt=!1){return function(Ye,gt){return nt(Tt(Ye).getFullYear(),xe,pe(gt,c.MinusSign),bt)}}const Te={};function Z(xe,bt){xe=xe.replace(/:/g,"");const Ye=Date.parse("Jan 01, 1970 00:00:00 "+xe)/6e4;return isNaN(Ye)?bt:Ye}function Fe(xe){return xe instanceof Date&&!isNaN(xe.valueOf())}const Ge=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ot(xe){const bt=parseInt(xe);if(isNaN(bt))throw new Error("Invalid integer literal when parsing "+xe);return bt}function Hi(xe,bt){bt=encodeURIComponent(bt);for(const Ye of xe.split(";")){const gt=Ye.indexOf("="),[Zt,Si]=-1==gt?[Ye,""]:[Ye.slice(0,gt),Ye.slice(gt+1)];if(Zt.trim()===bt)return decodeURIComponent(Si)}return null}const Zi=/\s+/,ln=[];let mn=(()=>{class xe{constructor(Ye,gt){this._ngEl=Ye,this._renderer=gt,this.initialClasses=ln,this.stateMap=new Map}set klass(Ye){this.initialClasses=null!=Ye?Ye.trim().split(Zi):ln}set ngClass(Ye){this.rawClass="string"==typeof Ye?Ye.trim().split(Zi):Ye}ngDoCheck(){for(const gt of this.initialClasses)this._updateState(gt,!0);const Ye=this.rawClass;if(Array.isArray(Ye)||Ye instanceof Set)for(const gt of Ye)this._updateState(gt,!0);else if(null!=Ye)for(const gt of Object.keys(Ye))this._updateState(gt,!!Ye[gt]);this._applyStateDiff()}_updateState(Ye,gt){const Zt=this.stateMap.get(Ye);void 0!==Zt?(Zt.enabled!==gt&&(Zt.changed=!0,Zt.enabled=gt),Zt.touched=!0):this.stateMap.set(Ye,{enabled:gt,changed:!0,touched:!0})}_applyStateDiff(){for(const Ye of this.stateMap){const gt=Ye[0],Zt=Ye[1];Zt.changed?(this._toggleClass(gt,Zt.enabled),Zt.changed=!1):Zt.touched||(Zt.enabled&&this._toggleClass(gt,!1),this.stateMap.delete(gt)),Zt.touched=!1}}_toggleClass(Ye,gt){(Ye=Ye.trim()).length>0&&Ye.split(Zi).forEach(Zt=>{gt?this._renderer.addClass(this._ngEl.nativeElement,Zt):this._renderer.removeClass(this._ngEl.nativeElement,Zt)})}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.aKT),e.rXU(e.sFG))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return xe})();class re{constructor(bt,Ye,gt,Zt){this.$implicit=bt,this.ngForOf=Ye,this.index=gt,this.count=Zt}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 He=(()=>{class xe{set ngForOf(Ye){this._ngForOf=Ye,this._ngForOfDirty=!0}set ngForTrackBy(Ye){this._trackByFn=Ye}get ngForTrackBy(){return this._trackByFn}constructor(Ye,gt,Zt){this._viewContainer=Ye,this._template=gt,this._differs=Zt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Ye){Ye&&(this._template=Ye)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Ye=this._ngForOf;!this._differ&&Ye&&(this._differ=this._differs.find(Ye).create(this.ngForTrackBy))}if(this._differ){const Ye=this._differ.diff(this._ngForOf);Ye&&this._applyChanges(Ye)}}_applyChanges(Ye){const gt=this._viewContainer;Ye.forEachOperation((Zt,Si,Ii)=>{if(null==Zt.previousIndex)gt.createEmbeddedView(this._template,new re(Zt.item,this._ngForOf,-1,-1),null===Ii?void 0:Ii);else if(null==Ii)gt.remove(null===Si?void 0:Si);else if(null!==Si){const on=gt.get(Si);gt.move(on,Ii),ye(on,Zt)}});for(let Zt=0,Si=gt.length;Zt{ye(gt.get(Zt.currentIndex),Zt)})}static ngTemplateContextGuard(Ye,gt){return!0}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(e._q3))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return xe})();function ye(xe,bt){xe.context.$implicit=bt.item}let ht=(()=>{class xe{constructor(Ye,gt){this._viewContainer=Ye,this._context=new ii,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=gt}set ngIf(Ye){this._context.$implicit=this._context.ngIf=Ye,this._updateView()}set ngIfThen(Ye){di("ngIfThen",Ye),this._thenTemplateRef=Ye,this._thenViewRef=null,this._updateView()}set ngIfElse(Ye){di("ngIfElse",Ye),this._elseTemplateRef=Ye,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Ye,gt){return!0}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.c1b),e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return xe})();class ii{constructor(){this.$implicit=null,this.ngIf=null}}function di(xe,bt){if(bt&&!bt.createEmbeddedView)throw new Error(`${xe} must be a TemplateRef, but received '${(0,e.Tbb)(bt)}'.`)}class Gi{constructor(bt,Ye){this._viewContainerRef=bt,this._templateRef=Ye,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(bt){bt&&!this._created?this.create():!bt&&this._created&&this.destroy()}}let Cn=(()=>{class xe{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Ye){this._ngSwitch=Ye,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Ye){this._defaultViews.push(Ye)}_matchCase(Ye){const gt=Ye===this._ngSwitch;return this._lastCasesMatched||=gt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),gt}_updateDefaultCases(Ye){if(this._defaultViews.length>0&&Ye!==this._defaultUsed){this._defaultUsed=Ye;for(const gt of this._defaultViews)gt.enforceState(Ye)}}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return xe})(),Hn=(()=>{class xe{constructor(Ye,gt,Zt){this.ngSwitch=Zt,Zt._addCase(),this._view=new Gi(Ye,gt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(Cn,9))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return xe})(),Qn=(()=>{class xe{constructor(Ye,gt,Zt){Zt._addDefault(new Gi(Ye,gt))}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(Cn,9))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngSwitchDefault",""]],standalone:!0})}}return xe})(),Ai=(()=>{class xe{constructor(Ye,gt,Zt){this._ngEl=Ye,this._differs=gt,this._renderer=Zt,this._ngStyle=null,this._differ=null}set ngStyle(Ye){this._ngStyle=Ye,!this._differ&&Ye&&(this._differ=this._differs.find(Ye).create())}ngDoCheck(){if(this._differ){const Ye=this._differ.diff(this._ngStyle);Ye&&this._applyChanges(Ye)}}_setStyle(Ye,gt){const[Zt,Si]=Ye.split("."),Ii=-1===Zt.indexOf("-")?void 0:e.czy.DashCase;null!=gt?this._renderer.setStyle(this._ngEl.nativeElement,Zt,Si?`${gt}${Si}`:gt,Ii):this._renderer.removeStyle(this._ngEl.nativeElement,Zt,Ii)}_applyChanges(Ye){Ye.forEachRemovedItem(gt=>this._setStyle(gt.key,null)),Ye.forEachAddedItem(gt=>this._setStyle(gt.key,gt.currentValue)),Ye.forEachChangedItem(gt=>this._setStyle(gt.key,gt.currentValue))}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.aKT),e.rXU(e.MKu),e.rXU(e.sFG))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return xe})(),Yi=(()=>{class xe{constructor(Ye){this._viewContainerRef=Ye,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Ye){if(this._shouldRecreateView(Ye)){const gt=this._viewContainerRef;if(this._viewRef&>.remove(gt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Zt=this._createContextForwardProxy();this._viewRef=gt.createEmbeddedView(this.ngTemplateOutlet,Zt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Ye){return!!Ye.ngTemplateOutlet||!!Ye.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Ye,gt,Zt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,gt,Zt),get:(Ye,gt,Zt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,gt,Zt)}})}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.c1b))}}static{this.\u0275dir=e.FsC({type:xe,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.OA$]})}}return xe})();function mi(xe,bt){return new e.wOt(2100,!1)}class gi{createSubscription(bt,Ye){return(0,e.O8t)(()=>bt.subscribe({next:Ye,error:gt=>{throw gt}}))}dispose(bt){(0,e.O8t)(()=>bt.unsubscribe())}}class xi{createSubscription(bt,Ye){return bt.then(Ye,gt=>{throw gt})}dispose(bt){}}const Ni=new xi,nn=new gi;let On=(()=>{class xe{constructor(Ye){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Ye}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Ye){if(!this._obj){if(Ye)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Ye)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Ye!==this._obj?(this._dispose(),this.transform(Ye)):this._latestValue}_subscribe(Ye){this._obj=Ye,this._strategy=this._selectStrategy(Ye),this._subscription=this._strategy.createSubscription(Ye,gt=>this._updateLatestValue(Ye,gt))}_selectStrategy(Ye){if((0,e.jNT)(Ye))return Ni;if((0,e.zjR)(Ye))return nn;throw mi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ye,gt){Ye===this._obj&&(this._latestValue=gt,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.gRc,16))}}static{this.\u0275pipe=e.EJ8({name:"async",type:xe,pure:!1,standalone:!0})}}return xe})(),ir=(()=>{class xe{transform(Ye){if(null==Ye)return null;if("string"!=typeof Ye)throw mi();return Ye.toLowerCase()}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275pipe=e.EJ8({name:"lowercase",type:xe,pure:!0,standalone:!0})}}return xe})();const gn=/(?:[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 Xr=(()=>{class xe{transform(Ye){if(null==Ye)return null;if("string"!=typeof Ye)throw mi();return Ye.replace(gn,gt=>gt[0].toUpperCase()+gt.slice(1).toLowerCase())}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275pipe=e.EJ8({name:"titlecase",type:xe,pure:!0,standalone:!0})}}return xe})(),fr=(()=>{class xe{transform(Ye){if(null==Ye)return null;if("string"!=typeof Ye)throw mi();return Ye.toUpperCase()}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275pipe=e.EJ8({name:"uppercase",type:xe,pure:!0,standalone:!0})}}return xe})();const wa=new e.nKC(""),Xa=new e.nKC("");let ds=(()=>{class xe{constructor(Ye,gt,Zt){this.locale=Ye,this.defaultTimezone=gt,this.defaultOptions=Zt}transform(Ye,gt,Zt,Si){if(null==Ye||""===Ye||Ye!=Ye)return null;try{return Ue(Ye,gt??this.defaultOptions?.dateFormat??"mediumDate",Si||this.locale,Zt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ii){throw mi()}}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.xe9,16),e.rXU(wa,24),e.rXU(Xa,24))}}static{this.\u0275pipe=e.EJ8({name:"date",type:xe,pure:!0,standalone:!0})}}return xe})(),Ds=(()=>{class xe{transform(Ye){return JSON.stringify(Ye,null,2)}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275pipe=e.EJ8({name:"json",type:xe,pure:!1,standalone:!0})}}return xe})(),hs=(()=>{class xe{constructor(Ye){this.differs=Ye,this.keyValues=[],this.compareFn=za}transform(Ye,gt=za){if(!Ye||!(Ye instanceof Map)&&"object"!=typeof Ye)return null;this.differ??=this.differs.find(Ye).create();const Zt=this.differ.diff(Ye),Si=gt!==this.compareFn;return Zt&&(this.keyValues=[],Zt.forEachItem(Ii=>{this.keyValues.push(function Or(xe,bt){return{key:xe,value:bt}}(Ii.key,Ii.currentValue))})),(Zt||Si)&&(this.keyValues.sort(gt),this.compareFn=gt),this.keyValues}static{this.\u0275fac=function(gt){return new(gt||xe)(e.rXU(e.MKu,16))}}static{this.\u0275pipe=e.EJ8({name:"keyvalue",type:xe,pure:!1,standalone:!0})}}return xe})();function za(xe,bt){const Ye=xe.key,gt=bt.key;if(Ye===gt)return 0;if(void 0===Ye)return 1;if(void 0===gt)return-1;if(null===Ye)return 1;if(null===gt)return-1;if("string"==typeof Ye&&"string"==typeof gt)return Ye{class xe{constructor(Ye){this._locale=Ye}transform(Ye,gt,Zt){if(!function Ya(xe){return!(null==xe||""===xe||xe!=xe)}(Ye))return null;Zt||=this._locale;try{return function Vi(xe,bt,Ye){return function fi(xe,bt,Ye,gt,Zt,Si,Ii=!1){let on="",Kn=!1;if(isFinite(xe)){let wr=function St(xe){let gt,Zt,Si,Ii,on,bt=Math.abs(xe)+"",Ye=0;for((Zt=bt.indexOf("."))>-1&&(bt=bt.replace(".","")),(Si=bt.search(/e/i))>0?(Zt<0&&(Zt=Si),Zt+=+bt.slice(Si+1),bt=bt.substring(0,Si)):Zt<0&&(Zt=bt.length),Si=0;"0"===bt.charAt(Si);Si++);if(Si===(on=bt.length))gt=[0],Zt=1;else{for(on--;"0"===bt.charAt(on);)on--;for(Zt-=Si,gt=[],Ii=0;Si<=on;Si++,Ii++)gt[Ii]=Number(bt.charAt(Si))}return Zt>22&&(gt=gt.splice(0,21),Ye=Zt-1,Zt=1),{digits:gt,exponent:Ye,integerLen:Zt}}(xe);Ii&&(wr=function Xt(xe){if(0===xe.digits[0])return xe;const bt=xe.digits.length-xe.integerLen;return xe.exponent?xe.exponent+=2:(0===bt?xe.digits.push(0,0):1===bt&&xe.digits.push(0),xe.integerLen+=2),xe}(wr));let pr=bt.minInt,Fn=bt.minFrac,Sr=bt.maxFrac;if(Si){const ra=Si.match(Ge);if(null===ra)throw new Error(`${Si} is not a valid digit info`);const Ja=ra[1],oo=ra[3],hr=ra[5];null!=Ja&&(pr=ot(Ja)),null!=oo&&(Fn=ot(oo)),null!=hr?Sr=ot(hr):null!=oo&&Fn>Sr&&(Sr=Fn)}!function tt(xe,bt,Ye){if(bt>Ye)throw new Error(`The minimum number of digits after fraction (${bt}) is higher than the maximum (${Ye}).`);let gt=xe.digits,Zt=gt.length-xe.integerLen;const Si=Math.min(Math.max(bt,Zt),Ye);let Ii=Si+xe.integerLen,on=gt[Ii];if(Ii>0){gt.splice(Math.max(xe.integerLen,Ii));for(let Fn=Ii;Fn=5)if(Ii-1<0){for(let Fn=0;Fn>Ii;Fn--)gt.unshift(0),xe.integerLen++;gt.unshift(1),xe.integerLen++}else gt[Ii-1]++;for(;Zt=wr?Fi.pop():Kn=!1),Sr>=10?1:0},0);pr&&(gt.unshift(pr),xe.integerLen++)}(wr,Fn,Sr);let Dn=wr.digits,Fi=wr.integerLen;const bn=wr.exponent;let Tr=[];for(Kn=Dn.every(ra=>!ra);Fi0?Tr=Dn.splice(Fi,Dn.length):(Tr=Dn,Dn=[0]);const va=[];for(Dn.length>=bt.lgSize&&va.unshift(Dn.splice(-bt.lgSize,Dn.length).join(""));Dn.length>bt.gSize;)va.unshift(Dn.splice(-bt.gSize,Dn.length).join(""));Dn.length&&va.unshift(Dn.join("")),on=va.join(pe(Ye,gt)),Tr.length&&(on+=pe(Ye,Zt)+Tr.join("")),bn&&(on+=pe(Ye,c.Exponential)+"+"+bn)}else on=pe(Ye,c.Infinity);return on=xe<0&&!Kn?bt.negPre+on+bt.negSuf:bt.posPre+on+bt.posSuf,on}(xe,function Qi(xe,bt="-"){const Ye={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},gt=xe.split(";"),Zt=gt[0],Si=gt[1],Ii=-1!==Zt.indexOf(".")?Zt.split("."):[Zt.substring(0,Zt.lastIndexOf("0")+1),Zt.substring(Zt.lastIndexOf("0")+1)],on=Ii[0],Kn=Ii[1]||"";Ye.posPre=on.substring(0,on.indexOf("#"));for(let pr=0;pr{class xe{transform(Ye,gt,Zt){if(null==Ye)return null;if(!this.supports(Ye))throw mi();return Ye.slice(gt,Zt)}supports(Ye){return"string"==typeof Ye||Array.isArray(Ye)}static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275pipe=e.EJ8({name:"slice",type:xe,pure:!1,standalone:!0})}}return xe})(),Do=(()=>{class xe{static{this.\u0275fac=function(gt){return new(gt||xe)}}static{this.\u0275mod=e.$C({type:xe})}static{this.\u0275inj=e.G2t({})}}return xe})();const Ba="browser",Ao="server";function ea(xe){return xe===Ba}function _o(xe){return xe===Ao}let ko=(()=>{class xe{static{this.\u0275prov=(0,e.jDH)({token:xe,providedIn:"root",factory:()=>ea((0,e.WQX)(e.Agw))?new fo((0,e.WQX)(f),window):new zr})}}return xe})();class fo{constructor(bt,Ye){this.document=bt,this.window=Ye,this.offset=()=>[0,0]}setOffset(bt){this.offset=Array.isArray(bt)?()=>bt:bt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(bt){this.window.scrollTo(bt[0],bt[1])}scrollToAnchor(bt){const Ye=function vo(xe,bt){const Ye=xe.getElementById(bt)||xe.getElementsByName(bt)[0];if(Ye)return Ye;if("function"==typeof xe.createTreeWalker&&xe.body&&"function"==typeof xe.body.attachShadow){const gt=xe.createTreeWalker(xe.body,NodeFilter.SHOW_ELEMENT);let Zt=gt.currentNode;for(;Zt;){const Si=Zt.shadowRoot;if(Si){const Ii=Si.getElementById(bt)||Si.querySelector(`[name="${bt}"]`);if(Ii)return Ii}Zt=gt.nextNode()}}return null}(this.document,bt);Ye&&(this.scrollToElement(Ye),Ye.focus())}setHistoryScrollRestoration(bt){this.window.history.scrollRestoration=bt}scrollToElement(bt){const Ye=bt.getBoundingClientRect(),gt=Ye.left+this.window.pageXOffset,Zt=Ye.top+this.window.pageYOffset,Si=this.offset();this.window.scrollTo(gt-Si[0],Zt-Si[1])}}class zr{setOffset(bt){}getScrollPosition(){return[0,0]}scrollToPosition(bt){}scrollToAnchor(bt){}setHistoryScrollRestoration(bt){}}class Ea{}},1626:(Qe,te,g)=>{"use strict";g.d(te,{Nl:()=>fe,Qq:()=>q,a7:()=>st,q1:()=>Kt});var e=g(467),t=g(4438),x=g(7673),D=g(1985),l=g(2806),w=g(274),f=g(5964),R=g(6354),h=g(980),S=g(5558),y=g(177);class O{}class I{}class V{constructor(re){this.normalizedNames=new Map,this.lazyUpdate=null,re?"string"==typeof re?this.lazyInit=()=>{this.headers=new Map,re.split("\n").forEach(He=>{const ye=He.indexOf(":");if(ye>0){const rt=He.slice(0,ye),ht=rt.toLowerCase(),ii=He.slice(ye+1).trim();this.maybeSetNormalizedName(rt,ht),this.headers.has(ht)?this.headers.get(ht).push(ii):this.headers.set(ht,[ii])}})}:typeof Headers<"u"&&re instanceof Headers?(this.headers=new Map,re.forEach((He,ye)=>{this.setHeaderEntries(ye,He)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(re).forEach(([He,ye])=>{this.setHeaderEntries(He,ye)})}:this.headers=new Map}has(re){return this.init(),this.headers.has(re.toLowerCase())}get(re){this.init();const He=this.headers.get(re.toLowerCase());return He&&He.length>0?He[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(re){return this.init(),this.headers.get(re.toLowerCase())||null}append(re,He){return this.clone({name:re,value:He,op:"a"})}set(re,He){return this.clone({name:re,value:He,op:"s"})}delete(re,He){return this.clone({name:re,value:He,op:"d"})}maybeSetNormalizedName(re,He){this.normalizedNames.has(He)||this.normalizedNames.set(He,re)}init(){this.lazyInit&&(this.lazyInit instanceof V?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(re=>this.applyUpdate(re)),this.lazyUpdate=null))}copyFrom(re){re.init(),Array.from(re.headers.keys()).forEach(He=>{this.headers.set(He,re.headers.get(He)),this.normalizedNames.set(He,re.normalizedNames.get(He))})}clone(re){const He=new V;return He.lazyInit=this.lazyInit&&this.lazyInit instanceof V?this.lazyInit:this,He.lazyUpdate=(this.lazyUpdate||[]).concat([re]),He}applyUpdate(re){const He=re.name.toLowerCase();switch(re.op){case"a":case"s":let ye=re.value;if("string"==typeof ye&&(ye=[ye]),0===ye.length)return;this.maybeSetNormalizedName(re.name,He);const rt=("a"===re.op?this.headers.get(He):void 0)||[];rt.push(...ye),this.headers.set(He,rt);break;case"d":const ht=re.value;if(ht){let ii=this.headers.get(He);if(!ii)return;ii=ii.filter(di=>-1===ht.indexOf(di)),0===ii.length?(this.headers.delete(He),this.normalizedNames.delete(He)):this.headers.set(He,ii)}else this.headers.delete(He),this.normalizedNames.delete(He)}}setHeaderEntries(re,He){const ye=(Array.isArray(He)?He:[He]).map(ht=>ht.toString()),rt=re.toLowerCase();this.headers.set(rt,ye),this.maybeSetNormalizedName(re,rt)}forEach(re){this.init(),Array.from(this.normalizedNames.keys()).forEach(He=>re(this.normalizedNames.get(He),this.headers.get(He)))}}class Y{encodeKey(re){return ie(re)}encodeValue(re){return ie(re)}decodeKey(re){return decodeURIComponent(re)}decodeValue(re){return decodeURIComponent(re)}}const Q=/%(\d[a-f0-9])/gi,J={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ie(lt){return encodeURIComponent(lt).replace(Q,(re,He)=>J[He]??re)}function ee(lt){return`${lt}`}class fe{constructor(re={}){if(this.updates=null,this.cloneFrom=null,this.encoder=re.encoder||new Y,re.fromString){if(re.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function W(lt,re){const He=new Map;return lt.length>0&<.replace(/^\?/,"").split("&").forEach(rt=>{const ht=rt.indexOf("="),[ii,di]=-1==ht?[re.decodeKey(rt),""]:[re.decodeKey(rt.slice(0,ht)),re.decodeValue(rt.slice(ht+1))],Gi=He.get(ii)||[];Gi.push(di),He.set(ii,Gi)}),He}(re.fromString,this.encoder)}else re.fromObject?(this.map=new Map,Object.keys(re.fromObject).forEach(He=>{const ye=re.fromObject[He],rt=Array.isArray(ye)?ye.map(ee):[ee(ye)];this.map.set(He,rt)})):this.map=null}has(re){return this.init(),this.map.has(re)}get(re){this.init();const He=this.map.get(re);return He?He[0]:null}getAll(re){return this.init(),this.map.get(re)||null}keys(){return this.init(),Array.from(this.map.keys())}append(re,He){return this.clone({param:re,value:He,op:"a"})}appendAll(re){const He=[];return Object.keys(re).forEach(ye=>{const rt=re[ye];Array.isArray(rt)?rt.forEach(ht=>{He.push({param:ye,value:ht,op:"a"})}):He.push({param:ye,value:rt,op:"a"})}),this.clone(He)}set(re,He){return this.clone({param:re,value:He,op:"s"})}delete(re,He){return this.clone({param:re,value:He,op:"d"})}toString(){return this.init(),this.keys().map(re=>{const He=this.encoder.encodeKey(re);return this.map.get(re).map(ye=>He+"="+this.encoder.encodeValue(ye)).join("&")}).filter(re=>""!==re).join("&")}clone(re){const He=new fe({encoder:this.encoder});return He.cloneFrom=this.cloneFrom||this,He.updates=(this.updates||[]).concat(re),He}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(re=>this.map.set(re,this.cloneFrom.map.get(re))),this.updates.forEach(re=>{switch(re.op){case"a":case"s":const He=("a"===re.op?this.map.get(re.param):void 0)||[];He.push(ee(re.value)),this.map.set(re.param,He);break;case"d":if(void 0===re.value){this.map.delete(re.param);break}{let ye=this.map.get(re.param)||[];const rt=ye.indexOf(ee(re.value));-1!==rt&&ye.splice(rt,1),ye.length>0?this.map.set(re.param,ye):this.map.delete(re.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(re,He){return this.map.set(re,He),this}get(re){return this.map.has(re)||this.map.set(re,re.defaultValue()),this.map.get(re)}delete(re){return this.map.delete(re),this}has(re){return this.map.has(re)}keys(){return this.map.keys()}}function le(lt){return typeof ArrayBuffer<"u"&< instanceof ArrayBuffer}function T(lt){return typeof Blob<"u"&< instanceof Blob}function n(lt){return typeof FormData<"u"&< instanceof FormData}class m{constructor(re,He,ye,rt){let ht;if(this.url=He,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=re.toUpperCase(),function Ce(lt){switch(lt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||rt?(this.body=void 0!==ye?ye:null,ht=rt):ht=ye,ht&&(this.reportProgress=!!ht.reportProgress,this.withCredentials=!!ht.withCredentials,ht.responseType&&(this.responseType=ht.responseType),ht.headers&&(this.headers=ht.headers),ht.context&&(this.context=ht.context),ht.params&&(this.params=ht.params),this.transferCache=ht.transferCache),this.headers??=new V,this.context??=new Me,this.params){const ii=this.params.toString();if(0===ii.length)this.urlWithParams=He;else{const di=He.indexOf("?");this.urlWithParams=He+(-1===di?"?":diJn.set(nr,re.setHeaders[nr]),Cn)),re.setParams&&(Hn=Object.keys(re.setParams).reduce((Jn,nr)=>Jn.set(nr,re.setParams[nr]),Hn)),new m(He,ye,ii,{params:Hn,headers:Cn,context:Qn,reportProgress:Gi,responseType:rt,withCredentials:di,transferCache:ht})}}var d=function(lt){return lt[lt.Sent=0]="Sent",lt[lt.UploadProgress=1]="UploadProgress",lt[lt.ResponseHeader=2]="ResponseHeader",lt[lt.DownloadProgress=3]="DownloadProgress",lt[lt.Response=4]="Response",lt[lt.User=5]="User",lt}(d||{});class C{constructor(re,He=200,ye="OK"){this.headers=re.headers||new V,this.status=void 0!==re.status?re.status:He,this.statusText=re.statusText||ye,this.url=re.url||null,this.ok=this.status>=200&&this.status<300}}class A extends C{constructor(re={}){super(re),this.type=d.ResponseHeader}clone(re={}){return new A({headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class k extends C{constructor(re={}){super(re),this.type=d.Response,this.body=void 0!==re.body?re.body:null}clone(re={}){return new k({body:void 0!==re.body?re.body:this.body,headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class _ extends C{constructor(re){super(re,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${re.url||"(unknown url)"}`:`Http failure response for ${re.url||"(unknown url)"}: ${re.status} ${re.statusText}`,this.error=re.error||null}}function N(lt,re){return{body:re,headers:lt.headers,context:lt.context,observe:lt.observe,params:lt.params,reportProgress:lt.reportProgress,responseType:lt.responseType,withCredentials:lt.withCredentials,transferCache:lt.transferCache}}let q=(()=>{class lt{constructor(He){this.handler=He}request(He,ye,rt={}){let ht;if(He instanceof m)ht=He;else{let Gi,Cn;Gi=rt.headers instanceof V?rt.headers:new V(rt.headers),rt.params&&(Cn=rt.params instanceof fe?rt.params:new fe({fromObject:rt.params})),ht=new m(He,ye,void 0!==rt.body?rt.body:null,{headers:Gi,context:rt.context,params:Cn,reportProgress:rt.reportProgress,responseType:rt.responseType||"json",withCredentials:rt.withCredentials,transferCache:rt.transferCache})}const ii=(0,x.of)(ht).pipe((0,w.H)(Gi=>this.handler.handle(Gi)));if(He instanceof m||"events"===rt.observe)return ii;const di=ii.pipe((0,f.p)(Gi=>Gi instanceof k));switch(rt.observe||"body"){case"body":switch(ht.responseType){case"arraybuffer":return di.pipe((0,R.T)(Gi=>{if(null!==Gi.body&&!(Gi.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Gi.body}));case"blob":return di.pipe((0,R.T)(Gi=>{if(null!==Gi.body&&!(Gi.body instanceof Blob))throw new Error("Response is not a Blob.");return Gi.body}));case"text":return di.pipe((0,R.T)(Gi=>{if(null!==Gi.body&&"string"!=typeof Gi.body)throw new Error("Response is not a string.");return Gi.body}));default:return di.pipe((0,R.T)(Gi=>Gi.body))}case"response":return di;default:throw new Error(`Unreachable: unhandled observe type ${rt.observe}}`)}}delete(He,ye={}){return this.request("DELETE",He,ye)}get(He,ye={}){return this.request("GET",He,ye)}head(He,ye={}){return this.request("HEAD",He,ye)}jsonp(He,ye){return this.request("JSONP",He,{params:(new fe).append(ye,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(He,ye={}){return this.request("OPTIONS",He,ye)}patch(He,ye,rt={}){return this.request("PATCH",He,N(rt,ye))}post(He,ye,rt={}){return this.request("POST",He,N(rt,ye))}put(He,ye,rt={}){return this.request("PUT",He,N(rt,ye))}static{this.\u0275fac=function(ye){return new(ye||lt)(t.KVO(O))}}static{this.\u0275prov=t.jDH({token:lt,factory:lt.\u0275fac})}}return lt})();const pe=/^\)\]\}',?\n/;function Xe(lt){if(lt.url)return lt.url;const re="X-Request-URL".toLocaleLowerCase();return lt.headers.get(re)}let We=(()=>{class lt{constructor(){this.fetchImpl=(0,t.WQX)(oe,{optional:!0})?.fetch??((...He)=>globalThis.fetch(...He)),this.ngZone=(0,t.WQX)(t.SKi)}handle(He){return new D.c(ye=>{const rt=new AbortController;return this.doRequest(He,rt.signal,ye).then(X,ht=>ye.error(new _({error:ht}))),()=>rt.abort()})}doRequest(He,ye,rt){var ht=this;return(0,e.A)(function*(){const ii=ht.createRequestInit(He);let di;try{const dr=ht.ngZone.runOutsideAngular(()=>ht.fetchImpl(He.urlWithParams,{signal:ye,...ii}));(function se(lt){lt.then(X,X)})(dr),rt.next({type:d.Sent}),di=yield dr}catch(dr){return void rt.error(new _({error:dr,status:dr.status??0,statusText:dr.statusText,url:He.urlWithParams,headers:dr.headers}))}const Gi=new V(di.headers),Cn=di.statusText,Hn=Xe(di)??He.urlWithParams;let Qn=di.status,Jn=null;if(He.reportProgress&&rt.next(new A({headers:Gi,status:Qn,statusText:Cn,url:Hn})),di.body){const dr=di.headers.get("content-length"),wn=[],Ai=di.body.getReader();let Ft,mi,Yi=0;const gi=typeof Zone<"u"&&Zone.current;yield ht.ngZone.runOutsideAngular((0,e.A)(function*(){for(;;){const{done:Ni,value:nn}=yield Ai.read();if(Ni)break;if(wn.push(nn),Yi+=nn.length,He.reportProgress){mi="text"===He.responseType?(mi??"")+(Ft??=new TextDecoder).decode(nn,{stream:!0}):void 0;const On=()=>rt.next({type:d.DownloadProgress,total:dr?+dr:void 0,loaded:Yi,partialText:mi});gi?gi.run(On):On()}}}));const xi=ht.concatChunks(wn,Yi);try{const Ni=di.headers.get("Content-Type")??"";Jn=ht.parseBody(He,xi,Ni)}catch(Ni){return void rt.error(new _({error:Ni,headers:new V(di.headers),status:di.status,statusText:di.statusText,url:Xe(di)??He.urlWithParams}))}}0===Qn&&(Qn=Jn?200:0),Qn>=200&&Qn<300?(rt.next(new k({body:Jn,headers:Gi,status:Qn,statusText:Cn,url:Hn})),rt.complete()):rt.error(new _({error:Jn,headers:Gi,status:Qn,statusText:Cn,url:Hn}))})()}parseBody(He,ye,rt){switch(He.responseType){case"json":const ht=(new TextDecoder).decode(ye).replace(pe,"");return""===ht?null:JSON.parse(ht);case"text":return(new TextDecoder).decode(ye);case"blob":return new Blob([ye],{type:rt});case"arraybuffer":return ye.buffer}}createRequestInit(He){const ye={},rt=He.withCredentials?"include":void 0;if(He.headers.forEach((ht,ii)=>ye[ht]=ii.join(",")),He.headers.has("Accept")||(ye.Accept="application/json, text/plain, */*"),!He.headers.has("Content-Type")){const ht=He.detectContentTypeHeader();null!==ht&&(ye["Content-Type"]=ht)}return{body:He.serializeBody(),method:He.method,headers:ye,credentials:rt}}concatChunks(He,ye){const rt=new Uint8Array(ye);let ht=0;for(const ii of He)rt.set(ii,ht),ht+=ii.length;return rt}static{this.\u0275fac=function(ye){return new(ye||lt)}}static{this.\u0275prov=t.jDH({token:lt,factory:lt.\u0275fac})}}return lt})();class oe{}function X(){}function ae(lt,re){return re(lt)}function he(lt,re){return(He,ye)=>re.intercept(He,{handle:rt=>lt(rt,ye)})}const st=new t.nKC(""),me=new t.nKC(""),Ee=new t.nKC(""),ue=new t.nKC("",{providedIn:"root",factory:()=>!0});function Be(){let lt=null;return(re,He)=>{null===lt&&(lt=((0,t.WQX)(st,{optional:!0})??[]).reduceRight(he,ae));const ye=(0,t.WQX)(t.TgB);if((0,t.WQX)(ue)){const ht=ye.add();return lt(re,He).pipe((0,h.j)(()=>ye.remove(ht)))}return lt(re,He)}}let dt=(()=>{class lt extends O{constructor(He,ye){super(),this.backend=He,this.injector=ye,this.chain=null,this.pendingTasks=(0,t.WQX)(t.TgB),this.contributeToStability=(0,t.WQX)(ue)}handle(He){if(null===this.chain){const ye=Array.from(new Set([...this.injector.get(me),...this.injector.get(Ee,[])]));this.chain=ye.reduceRight((rt,ht)=>function Ie(lt,re,He){return(ye,rt)=>(0,t.N4e)(He,()=>re(ye,ht=>lt(ht,rt)))}(rt,ht,this.injector),ae)}if(this.contributeToStability){const ye=this.pendingTasks.add();return this.chain(He,rt=>this.backend.handle(rt)).pipe((0,h.j)(()=>this.pendingTasks.remove(ye)))}return this.chain(He,ye=>this.backend.handle(ye))}static{this.\u0275fac=function(ye){return new(ye||lt)(t.KVO(I),t.KVO(t.uvJ))}}static{this.\u0275prov=t.jDH({token:lt,factory:lt.\u0275fac})}}return lt})();const yt=/^\)\]\}',?\n/;let Je=(()=>{class lt{constructor(He){this.xhrFactory=He}handle(He){if("JSONP"===He.method)throw new t.wOt(-2800,!1);const ye=this.xhrFactory;return(ye.\u0275loadImpl?(0,l.H)(ye.\u0275loadImpl()):(0,x.of)(null)).pipe((0,S.n)(()=>new D.c(ht=>{const ii=ye.build();if(ii.open(He.method,He.urlWithParams),He.withCredentials&&(ii.withCredentials=!0),He.headers.forEach((wn,Ai)=>ii.setRequestHeader(wn,Ai.join(","))),He.headers.has("Accept")||ii.setRequestHeader("Accept","application/json, text/plain, */*"),!He.headers.has("Content-Type")){const wn=He.detectContentTypeHeader();null!==wn&&ii.setRequestHeader("Content-Type",wn)}if(He.responseType){const wn=He.responseType.toLowerCase();ii.responseType="json"!==wn?wn:"text"}const di=He.serializeBody();let Gi=null;const Cn=()=>{if(null!==Gi)return Gi;const wn=ii.statusText||"OK",Ai=new V(ii.getAllResponseHeaders()),Yi=function jt(lt){return"responseURL"in lt&<.responseURL?lt.responseURL:/^X-Request-URL:/m.test(lt.getAllResponseHeaders())?lt.getResponseHeader("X-Request-URL"):null}(ii)||He.url;return Gi=new A({headers:Ai,status:ii.status,statusText:wn,url:Yi}),Gi},Hn=()=>{let{headers:wn,status:Ai,statusText:Yi,url:Ft}=Cn(),mi=null;204!==Ai&&(mi=typeof ii.response>"u"?ii.responseText:ii.response),0===Ai&&(Ai=mi?200:0);let gi=Ai>=200&&Ai<300;if("json"===He.responseType&&"string"==typeof mi){const xi=mi;mi=mi.replace(yt,"");try{mi=""!==mi?JSON.parse(mi):null}catch(Ni){mi=xi,gi&&(gi=!1,mi={error:Ni,text:mi})}}gi?(ht.next(new k({body:mi,headers:wn,status:Ai,statusText:Yi,url:Ft||void 0})),ht.complete()):ht.error(new _({error:mi,headers:wn,status:Ai,statusText:Yi,url:Ft||void 0}))},Qn=wn=>{const{url:Ai}=Cn(),Yi=new _({error:wn,status:ii.status||0,statusText:ii.statusText||"Unknown Error",url:Ai||void 0});ht.error(Yi)};let Jn=!1;const nr=wn=>{Jn||(ht.next(Cn()),Jn=!0);let Ai={type:d.DownloadProgress,loaded:wn.loaded};wn.lengthComputable&&(Ai.total=wn.total),"text"===He.responseType&&ii.responseText&&(Ai.partialText=ii.responseText),ht.next(Ai)},dr=wn=>{let Ai={type:d.UploadProgress,loaded:wn.loaded};wn.lengthComputable&&(Ai.total=wn.total),ht.next(Ai)};return ii.addEventListener("load",Hn),ii.addEventListener("error",Qn),ii.addEventListener("timeout",Qn),ii.addEventListener("abort",Qn),He.reportProgress&&(ii.addEventListener("progress",nr),null!==di&&ii.upload&&ii.upload.addEventListener("progress",dr)),ii.send(di),ht.next({type:d.Sent}),()=>{ii.removeEventListener("error",Qn),ii.removeEventListener("abort",Qn),ii.removeEventListener("load",Hn),ii.removeEventListener("timeout",Qn),He.reportProgress&&(ii.removeEventListener("progress",nr),null!==di&&ii.upload&&ii.upload.removeEventListener("progress",dr)),ii.readyState!==ii.DONE&&ii.abort()}})))}static{this.\u0275fac=function(ye){return new(ye||lt)(t.KVO(y.N0))}}static{this.\u0275prov=t.jDH({token:lt,factory:lt.\u0275fac})}}return lt})();const et=new t.nKC(""),It=new t.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Tt=new t.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class xt{}let Se=(()=>{class lt{constructor(He,ye,rt){this.doc=He,this.platform=ye,this.cookieName=rt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const He=this.doc.cookie||"";return He!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,y._b)(He,this.cookieName),this.lastCookieString=He),this.lastToken}static{this.\u0275fac=function(ye){return new(ye||lt)(t.KVO(y.qQ),t.KVO(t.Agw),t.KVO(It))}}static{this.\u0275prov=t.jDH({token:lt,factory:lt.\u0275fac})}}return lt})();function Te(lt,re){const He=lt.url.toLowerCase();if(!(0,t.WQX)(et)||"GET"===lt.method||"HEAD"===lt.method||He.startsWith("http://")||He.startsWith("https://"))return re(lt);const ye=(0,t.WQX)(xt).getToken(),rt=(0,t.WQX)(Tt);return null!=ye&&!lt.headers.has(rt)&&(lt=lt.clone({headers:lt.headers.set(rt,ye)})),re(lt)}var Z=function(lt){return lt[lt.Interceptors=0]="Interceptors",lt[lt.LegacyInterceptors=1]="LegacyInterceptors",lt[lt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",lt[lt.NoXsrfProtection=3]="NoXsrfProtection",lt[lt.JsonpSupport=4]="JsonpSupport",lt[lt.RequestsMadeViaParent=5]="RequestsMadeViaParent",lt[lt.Fetch=6]="Fetch",lt}(Z||{});function Re(lt,re){return{\u0275kind:lt,\u0275providers:re}}function Pe(...lt){const re=[q,Je,dt,{provide:O,useExisting:dt},{provide:I,useFactory:()=>(0,t.WQX)(We,{optional:!0})??(0,t.WQX)(Je)},{provide:me,useValue:Te,multi:!0},{provide:et,useValue:!0},{provide:xt,useClass:Se}];for(const He of lt)re.push(...He.\u0275providers);return(0,t.EmA)(re)}const Ke=new t.nKC("");let Kt=(()=>{class lt{static{this.\u0275fac=function(ye){return new(ye||lt)}}static{this.\u0275mod=t.$C({type:lt})}static{this.\u0275inj=t.G2t({providers:[Pe(Re(Z.LegacyInterceptors,[{provide:Ke,useFactory:Be},{provide:me,useExisting:Ke,multi:!0}]))]})}}return lt})()},4438:(Qe,te,g)=>{"use strict";function e(i,r){return Object.is(i,r)}g.d(te,{bc$:()=>Lf,iLQ:()=>bp,sZ2:()=>I0,hnV:()=>pv,Hbi:()=>Fw,o8S:()=>fd,BIS:()=>Df,gRc:()=>Av,Ql9:()=>bv,OM3:()=>Rn,Ocv:()=>uw,abz:()=>Gl,Z63:()=>ia,aKT:()=>jl,uvJ:()=>Za,zcH:()=>Ac,bkB:()=>fc,y_5:()=>ko,$GK:()=>gn,nKC:()=>Ut,zZn:()=>Ho,_q3:()=>B8,MKu:()=>V8,xe9:()=>D8,Co$:()=>W6,Vns:()=>f2,SKi:()=>Da,Xx1:()=>fo,Agw:()=>io,PLl:()=>Sf,rOR:()=>Xl,sFG:()=>ya,_9s:()=>Zr,czy:()=>qf,WPN:()=>G,kdw:()=>zr,C4Q:()=>su,NYb:()=>ew,giA:()=>fv,RxE:()=>rv,c1b:()=>$o,gXe:()=>ni,mal:()=>Um,Af3:()=>pn,tdH:()=>C7,L39:()=>aM,EWP:()=>dM,a0P:()=>ZE,Ol2:()=>K6,w6W:()=>Wb,oH4:()=>k8,QZP:()=>mM,Rfq:()=>Se,WQX:()=>hn,naY:()=>xw,Hps:()=>Pm,QuC:()=>ca,EmA:()=>xo,Udg:()=>oM,fpN:()=>G8,HJs:()=>qE,N4e:()=>Oi,vPA:()=>K5,O8t:()=>hb,H3F:()=>b8,H8p:()=>Xs,KH2:()=>Du,TgB:()=>jc,wOt:()=>Be,WHO:()=>w8,e01:()=>uv,lNU:()=>ue,h9k:()=>B,$MX:()=>Vd,ZF7:()=>Bd,Kcf:()=>A4,e5t:()=>k4,UyX:()=>Uf,cWb:()=>Vf,osQ:()=>Gf,H5H:()=>Ag,Zy3:()=>Ct,mq5:()=>T_,JZv:()=>yt,LfX:()=>Mt,plB:()=>Na,jNT:()=>vp,zjR:()=>mv,TL$:()=>Ef,Tbb:()=>It,rcV:()=>rs,Vt3:()=>G6,GFd:()=>j6,OA$:()=>Ll,Jv_:()=>L9,aNF:()=>D9,R7$:()=>tm,BMQ:()=>Ym,HbH:()=>a_,ZvI:()=>Jm,AVh:()=>vg,vxM:()=>v_,wni:()=>o9,VBU:()=>Uo,FsC:()=>vs,jDH:()=>Xt,G2t:()=>tt,$C:()=>Jo,EJ8:()=>Us,rXU:()=>Gd,nrm:()=>Sg,eu8:()=>Tg,bVm:()=>C2,qex:()=>tp,k0s:()=>P3,j41:()=>ep,RV6:()=>E_,xGo:()=>_1,Mr5:()=>Lg,KVO:()=>xr,kS0:()=>v1,QTQ:()=>$p,bIt:()=>Ug,lsd:()=>c9,joV:()=>N2,qSk:()=>sl,XpG:()=>Hg,nI1:()=>U9,bMT:()=>G9,i5U:()=>H9,brH:()=>j9,SdG:()=>cp,NAR:()=>e9,Y8G:()=>pg,FS9:()=>jg,Mz_:()=>lp,FCK:()=>dp,lJ4:()=>s8,eq3:()=>I9,l_i:()=>R9,sMw:()=>O9,mGM:()=>Yg,sdS:()=>$g,Dyx:()=>Mg,Z7z:()=>x_,fX1:()=>b_,Njj:()=>A2,tSv:()=>Hh,eBV:()=>D2,npT:()=>Oe,n$t:()=>Mn,xc7:()=>_g,Kam:()=>sp,zvX:()=>Dg,DNE:()=>Z6,C5r:()=>c8,EFF:()=>qg,JRh:()=>e8,SpI:()=>ku,Lme:()=>t8,E5c:()=>i8,LHq:()=>n8,DH7:()=>M9,mxI:()=>fp,R50:()=>up,GBs:()=>s9});let t=null,x=!1,D=1;const l=Symbol("SIGNAL");function w(i){const r=t;return t=i,r}function f(){return t}const S={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(x)throw new Error("");if(null===t)return;t.consumerOnSignalRead(i);const r=t.nextProducerIndex++;Me(t),ri.nextProducerIndex;)i.producerNode.pop(),i.producerLastReadVersion.pop(),i.producerIndexOfThis.pop()}}function J(i){Me(i);for(let r=0;r0}function Me(i){i.producerNode??=[],i.producerIndexOfThis??=[],i.producerLastReadVersion??=[]}function Ce(i){i.liveConsumerNode??=[],i.liveConsumerIndexOfThis??=[]}function le(i){return void 0!==i.producerNode}const n=Symbol("UNSET"),c=Symbol("COMPUTING"),m=Symbol("ERRORED"),d={...S,value:n,dirty:!0,error:null,equal:e,producerMustRecompute:i=>i.value===n||i.value===c,producerRecomputeValue(i){if(i.value===c)throw new Error("Detected cycle in computations.");const r=i.value;i.value=c;const o=W(i);let p;try{p=i.computation()}catch(E){p=m,i.error=E}finally{Q(i,o)}r!==n&&r!==m&&p!==m&&i.equal(r,p)?i.value=r:(i.value=p,i.version++)}};let A=function C(){throw new Error};function k(){A()}let a=null;function q(i,r){j()||k(),i.equal(i.value,r)||(i.value=r,function We(i){i.version++,function O(){D++}(),V(i),a?.()}(i))}const Xe={...S,equal:e,value:void 0};const X=()=>{},se={...S,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:i=>{null!==i.schedule&&i.schedule(i.ref)},hasRun:!1,cleanupFn:X};var he=g(4412),Ie=g(1413),st=g(8359),me=g(6354);const ue="https://g.co/ng/security#xss";class Be extends Error{constructor(r,o){super(Ct(r,o)),this.code=r}}function Ct(i,r){return`NG0${Math.abs(i)}${r?": "+r:""}`}function we(i){return{toString:i}.toString()}const je="__parameters__";function qt(i,r,o){return we(()=>{const p=function nt(i){return function(...o){if(i){const p=i(...o);for(const E in p)this[E]=p[E]}}}(r);function E(...P){if(this instanceof E)return p.apply(this,P),this;const $=new E(...P);return de.annotation=$,de;function de(Le,Ze,_t){const zt=Le.hasOwnProperty(je)?Le[je]:Object.defineProperty(Le,je,{value:[]})[je];for(;zt.length<=_t;)zt.push(null);return(zt[_t]=zt[_t]||[]).push($),Le}}return o&&(E.prototype=Object.create(o.prototype)),E.prototype.ngMetadataName=i,E.annotationCls=E,E})}const yt=globalThis;function et(i){for(let r in i)if(i[r]===et)return r;throw Error("Could not find renamed property on target object.")}function Ae(i,r){for(const o in r)r.hasOwnProperty(o)&&!i.hasOwnProperty(o)&&(i[o]=r[o])}function It(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(It).join(", ")+"]";if(null==i)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;const r=i.toString();if(null==r)return""+r;const o=r.indexOf("\n");return-1===o?r:r.substring(0,o)}function Qt(i,r){return null==i||""===i?null===r?"":r:null==r||""===r?i:i+" "+r}const xt=et({__forward_ref__:et});function Se(i){return i.__forward_ref__=Se,i.toString=function(){return It(this())},i}function Te(i){return ce(i)?i():i}function ce(i){return"function"==typeof i&&i.hasOwnProperty(xt)&&i.__forward_ref__===Se}function Xt(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function tt(i){return{providers:i.providers||[],imports:i.imports||[]}}function ot(i){return Bt(i,Hi)||Bt(i,ln)}function Mt(i){return null!==ot(i)}function Bt(i,r){return i.hasOwnProperty(r)?i[r]:null}function Ti(i){return i&&(i.hasOwnProperty(Zi)||i.hasOwnProperty(mn))?i[Zi]:null}const Hi=et({\u0275prov:et}),Zi=et({\u0275inj:et}),ln=et({ngInjectableDef:et}),mn=et({ngInjectorDef:et});class Ut{constructor(r,o){this._desc=r,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof o?this.__NG_ELEMENT_ID__=o:void 0!==o&&(this.\u0275prov=Xt({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Hn(i){return i&&!!i.\u0275providers}const Qn=et({\u0275cmp:et}),Jn=et({\u0275dir:et}),nr=et({\u0275pipe:et}),dr=et({\u0275mod:et}),wn=et({\u0275fac:et}),Ai=et({__NG_ELEMENT_ID__:et}),Yi=et({__NG_ENV_ID__:et});function Ft(i){return"string"==typeof i?i:null==i?"":String(i)}function ir(i,r){throw new Be(-201,!1)}var gn=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}(gn||{});let Xr;function fr(){return Xr}function mr(i){const r=Xr;return Xr=i,r}function wa(i,r,o){const p=ot(i);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:o&gn.Optional?null:void 0!==r?r:void ir()}const qr={},_s="__NG_DI_FLAG__",Ma="ngTempTokenPath",Or=/\n/gm,za="__source";let Fr;function yr(i){const r=Fr;return Fr=i,r}function Ya(i,r=gn.Default){if(void 0===Fr)throw new Be(-203,!1);return null===Fr?wa(i,void 0,r):Fr.get(i,r&gn.Optional?null:void 0,r)}function xr(i,r=gn.Default){return(fr()||Ya)(Te(i),r)}function hn(i,r=gn.Default){return xr(i,Do(r))}function Do(i){return typeof i>"u"||"number"==typeof i?i:(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function Ba(i){const r=[];for(let o=0;o({token:i})),-1),fo=Ao(qt("Optional"),8),zr=Ao(qt("SkipSelf"),4);function fa(i,r){return i.hasOwnProperty(wn)?i[wn]:null}function Io(i,r){i.forEach(o=>Array.isArray(o)?Io(o,r):r(o))}function Ua(i,r,o){r>=i.length?i.push(o):i.splice(r,0,o)}function ma(i,r){return r>=i.length-1?i.pop():i.splice(r,1)[0]}function $r(i,r,o){let p=yo(i,r);return p>=0?i[1|p]=o:(p=~p,function As(i,r,o,p){let E=i.length;if(E==r)i.push(o,p);else if(1===E)i.push(p,i[0]),i[0]=o;else{for(E--,i.push(i[E-1],i[E]);E>r;)i[E]=i[E-2],E--;i[r]=o,i[r+1]=p}}(i,p,r,o)),p}function pa(i,r){const o=yo(i,r);if(o>=0)return i[1|o]}function yo(i,r){return function Ka(i,r,o){let p=0,E=i.length>>o;for(;E!==p;){const P=p+(E-p>>1),$=i[P<r?E=P:p=P+1}return~(E<r){$=P-1;break}}}for(;P-1){let P;for(;++EP?"":E[_t+1].toLowerCase(),2&p&&Ze!==zt){if(ut(p))return!1;$=!0}}}}else{if(!$&&!ut(p)&&!ut(Le))return!1;if($&&ut(Le))continue;$=!1,p=Le|1&p}}return ut(p)||$}function ut(i){return!(1&i)}function Ve(i,r,o,p){if(null===r)return-1;let E=0;if(p||!o){let P=!1;for(;E-1)for(o++;o0?'="'+de+'"':"")+"]"}else 8&p?E+="."+$:4&p&&(E+=" "+$);else""!==E&&!ut($)&&(r+=Cr(P,E),E=""),p=$,P=P||!ut(p);o++}return""!==E&&(r+=Cr(P,E)),r}function Uo(i){return we(()=>{const r=dn(i),o={...r,decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection===wt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&i.dependencies||null,getStandaloneInjector:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||ni.Emulated,styles:i.styles||sr,_:null,schemas:i.schemas||null,tView:null,id:""};Is(o);const p=i.dependencies;return o.directiveDefs=qo(p,!1),o.pipeDefs=qo(p,!0),o.id=function rc(i){let r=0;const o=[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 E of o)r=Math.imul(31,r)+E.charCodeAt(0)|0;return r+=2147483648,"c"+r}(o),o})}function Vs(i){return jn(i)||na(i)}function nc(i){return null!==i}function Jo(i){return we(()=>({type:i.type,bootstrap:i.bootstrap||sr,declarations:i.declarations||sr,imports:i.imports||sr,exports:i.exports||sr,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function us(i,r){if(null==i)return Ga;const o={};for(const p in i)if(i.hasOwnProperty(p)){const E=i[p];let P,$,de=Ei.None;Array.isArray(E)?(de=E[0],P=E[1],$=E[2]??P):(P=E,$=E),r?(o[P]=de!==Ei.None?[p,de]:p,r[P]=$):o[P]=p}return o}function vs(i){return we(()=>{const r=dn(i);return Is(r),r})}function Us(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 jn(i){return i[Qn]||null}function na(i){return i[Jn]||null}function Nr(i){return i[nr]||null}function ca(i){const r=jn(i)||na(i)||Nr(i);return null!==r&&r.standalone}function _a(i,r){const o=i[dr]||null;if(!o&&!0===r)throw new Error(`Type ${It(i)} does not have '\u0275mod' property.`);return o}function dn(i){const r={};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:r,inputTransforms:null,inputConfig:i.inputs||Ga,exportAs:i.exportAs||null,standalone:!0===i.standalone,signals:!0===i.signals,selectors:i.selectors||sr,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:us(i.inputs,r),outputs:us(i.outputs),debugInfo:null}}function Is(i){i.features?.forEach(r=>r(i))}function qo(i,r){if(!i)return null;const o=r?Nr:Vs;return()=>("function"==typeof i?i():i).map(p=>o(p)).filter(nc)}function xo(i){return{\u0275providers:i}}function md(...i){return{\u0275providers:bs(0,i),\u0275fromNgModule:!0}}function bs(i,...r){const o=[],p=new Set;let E;const P=$=>{o.push($)};return Io(r,$=>{const de=$;ac(de,P,[],p)&&(E||=[],E.push(de))}),void 0!==E&&Fc(E,P),o}function Fc(i,r){for(let o=0;o{r(P,p)})}}function ac(i,r,o,p){if(!(i=Te(i)))return!1;let E=null,P=Ti(i);const $=!P&&jn(i);if(P||$){if($&&!$.standalone)return!1;E=i}else{const Le=i.ngModule;if(P=Ti(Le),!P)return!1;E=Le}const de=p.has(E);if($){if(de)return!1;if(p.add(E),$.dependencies){const Le="function"==typeof $.dependencies?$.dependencies():$.dependencies;for(const Ze of Le)ac(Ze,r,o,p)}}else{if(!P)return!1;{if(null!=P.imports&&!de){let Ze;p.add(E);try{Io(P.imports,_t=>{ac(_t,r,o,p)&&(Ze||=[],Ze.push(_t))})}finally{}void 0!==Ze&&Fc(Ze,r)}if(!de){const Ze=fa(E)||(()=>new E);r({provide:E,useFactory:Ze,deps:sr},E),r({provide:Ot,useValue:E,multi:!0},E),r({provide:ia,useValue:()=>xr(E),multi:!0},E)}const Le=P.providers;if(null!=Le&&!de){const Ze=i;Nc(Le,_t=>{r(_t,Ze)})}}}return E!==i&&void 0!==i.providers}function Nc(i,r){for(let o of i)Hn(o)&&(o=o.\u0275providers),Array.isArray(o)?Nc(o,r):r(o)}const Gs=et({provide:String,useValue:et});function Hs(i){return null!==i&&"object"==typeof i&&Gs in i}function es(i){return"function"==typeof i}const Xs=new Ut(""),oc={},ys={};let sc;function zc(){return void 0===sc&&(sc=new si),sc}class Za{}class Rs extends Za{get destroyed(){return this._destroyed}constructor(r,o,p,E){super(),this.parent=o,this.source=p,this.scopes=E,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,yi(r,$=>this.processProvider($)),this.records.set(Bo,Vt(void 0,this)),E.has("environment")&&this.records.set(Za,Vt(void 0,this));const P=this.records.get(Xs);null!=P&&"string"==typeof P.value&&this.scopes.add(P.value),this.injectorDefTypes=new Set(this.get(Ot,sr,gn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const r=w(null);try{for(const p of this._ngOnDestroyHooks)p.ngOnDestroy();const o=this._onDestroyHooks;this._onDestroyHooks=[];for(const p of o)p()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),w(r)}}onDestroy(r){return this.assertNotDestroyed(),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){this.assertNotDestroyed();const o=yr(this),p=mr(void 0);try{return r()}finally{yr(o),mr(p)}}get(r,o=qr,p=gn.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(Yi))return r[Yi](this);p=Do(p);const P=yr(this),$=mr(void 0);try{if(!(p&gn.SkipSelf)){let Le=this.records.get(r);if(void 0===Le){const Ze=function ci(i){return"function"==typeof i||"object"==typeof i&&i instanceof Ut}(r)&&ot(r);Le=Ze&&this.injectableDefInScope(Ze)?Vt(bc(r),oc):null,this.records.set(r,Le)}if(null!=Le)return this.hydrate(r,Le)}return(p&gn.Self?zc():this.parent).get(r,o=p&gn.Optional&&o===qr?null:o)}catch(de){if("NullInjectorError"===de.name){if((de[Ma]=de[Ma]||[]).unshift(It(r)),P)throw de;return function _o(i,r,o,p){const E=i[Ma];throw r[za]&&E.unshift(r[za]),i.message=function Va(i,r,o,p=null){i=i&&"\n"===i.charAt(0)&&"\u0275"==i.charAt(1)?i.slice(2):i;let E=It(r);if(Array.isArray(r))E=r.map(It).join(" -> ");else if("object"==typeof r){let P=[];for(let $ in r)if(r.hasOwnProperty($)){let de=r[$];P.push($+":"+("string"==typeof de?JSON.stringify(de):It(de)))}E=`{${P.join(", ")}}`}return`${o}${p?"("+p+")":""}[${E}]: ${i.replace(Or,"\n ")}`}("\n"+i.message,E,o,p),i.ngTokenPath=E,i[Ma]=null,i}(de,r,"R3InjectorError",this.source)}throw de}finally{mr($),yr(P)}}resolveInjectorInitializers(){const r=w(null),o=yr(this),p=mr(void 0);try{const P=this.get(ia,sr,gn.Self);for(const $ of P)$()}finally{yr(o),mr(p),w(r)}}toString(){const r=[],o=this.records;for(const p of o.keys())r.push(It(p));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Be(205,!1)}processProvider(r){let o=es(r=Te(r))?r:Te(r&&r.provide);const p=function tl(i){return Hs(i)?Vt(void 0,i.useValue):Vt(mt(i),oc)}(r);if(!es(r)&&!0===r.multi){let E=this.records.get(o);E||(E=Vt(void 0,oc,!0),E.factory=()=>Ba(E.multi),this.records.set(o,E)),o=r,E.multi.push(r)}this.records.set(o,p)}hydrate(r,o){const p=w(null);try{return o.value===oc&&(o.value=ys,o.value=o.factory()),"object"==typeof o.value&&o.value&&function ei(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}finally{w(p)}}injectableDefInScope(r){if(!r.providedIn)return!1;const o=Te(r.providedIn);return"string"==typeof o?"any"===o||this.scopes.has(o):this.injectorDefTypes.has(o)}removeOnDestroy(r){const o=this._onDestroyHooks.indexOf(r);-1!==o&&this._onDestroyHooks.splice(o,1)}}function bc(i){const r=ot(i),o=null!==r?r.factory:fa(i);if(null!==o)return o;if(i instanceof Ut)throw new Be(204,!1);if(i instanceof Function)return function Ys(i){if(i.length>0)throw new Be(204,!1);const o=function Ci(i){return i&&(i[Hi]||i[ln])||null}(i);return null!==o?()=>o.factory(i):()=>new i}(i);throw new Be(204,!1)}function mt(i,r,o){let p;if(es(i)){const E=Te(i);return fa(E)||bc(E)}if(Hs(i))p=()=>Te(i.useValue);else if(function Ws(i){return!(!i||!i.useFactory)}(i))p=()=>i.useFactory(...Ba(i.deps||[]));else if(function js(i){return!(!i||!i.useExisting)}(i))p=()=>xr(Te(i.useExisting));else{const E=Te(i&&(i.useClass||i.provide));if(!function Ht(i){return!!i.deps}(i))return fa(E)||bc(E);p=()=>new E(...Ba(i.deps))}return p}function Vt(i,r,o=!1){return{factory:i,value:r,multi:o?[]:void 0}}function yi(i,r){for(const o of i)Array.isArray(o)?yi(o,r):o&&Hn(o)?yi(o.\u0275providers,r):r(o)}function Oi(i,r){i instanceof Rs&&i.assertNotDestroyed();const p=yr(i),E=mr(void 0);try{return r()}finally{yr(p),mr(E)}}function ji(){return void 0!==fr()||null!=function Ur(){return Fr}()}function pn(i){if(!ji())throw new Be(-203,!1)}const Dn=0,Fi=1,bn=2,Tr=3,va=4,ra=5,Ja=6,oo=7,hr=8,aa=9,ts=10,Bn=11,Co=12,pd=13,il=14,Lr=15,Bc=16,cc=17,so=18,Xi=19,gd=20,lc=21,El=22,Fo=23,En=25,Sl=1,Os=7,yc=9,ba=10;var xs=function(i){return i[i.None=0]="None",i[i.HasTransplantedViews=2]="HasTransplantedViews",i}(xs||{});function Yr(i){return Array.isArray(i)&&"object"==typeof i[Sl]}function mo(i){return Array.isArray(i)&&!0===i[Sl]}function po(i){return!!(4&i.flags)}function Nn(i){return i.componentOffset>-1}function qi(i){return!(1&~i.flags)}function vr(i){return!!i.template}function Qr(i){return!!(512&i[bn])}class Ta{constructor(r,o,p){this.previousValue=r,this.currentValue=o,this.firstChange=p}isFirstChange(){return this.firstChange}}function wo(i,r,o,p){null!==r?r.applyValueToInputSignal(r,p):i[o]=p}function Ll(){return Cc}function Cc(i){return i.type.prototype.ngOnChanges&&(i.setInput=wc),e0}function e0(){const i=dc(this),r=i?.current;if(r){const o=i.previous;if(o===Ga)i.previous=r;else for(let p in r)o[p]=r[p];i.current=null,this.ngOnChanges(r)}}function wc(i,r,o,p,E){const P=this.declaredInputs[p],$=dc(i)||function Mc(i,r){return i[ws]=r}(i,{previous:Ga,current:null}),de=$.current||($.current={}),Le=$.previous,Ze=Le[P];de[P]=new Ta(Ze&&Ze.currentValue,o,Le===Ga),wo(i,r,E,o)}Ll.ngInherit=!0;const ws="__ngSimpleChanges__";function dc(i){return i[ws]||null}const Fs=function(i,r,o){},e1="svg";function Un(i){for(;Array.isArray(i);)i=i[Dn];return i}function bd(i,r){return Un(r[i])}function co(i,r){return Un(r[i.index])}function nl(i,r){return i.data[r]}function Al(i,r){return i[r]}function fs(i,r){const o=r[i];return Yr(o)?o:o[Dn]}function $s(i){return!(128&~i[bn])}function Ms(i,r){return null==r?null:i[r]}function zu(i){i[cc]=0}function n1(i){1024&i[bn]||(i[bn]|=1024,$s(i)&&hc(i))}function t0(i){return!!(9216&i[bn]||i[Fo]?.dirty)}function n0(i){i[ts].changeDetectionScheduler?.notify(8),64&i[bn]&&(i[bn]|=1024),t0(i)&&hc(i)}function hc(i){i[ts].changeDetectionScheduler?.notify(0);let r=Qs(i);for(;null!==r&&!(8192&r[bn])&&(r[bn]|=8192,$s(r));)r=Qs(r)}function r1(i,r){if(!(256&~i[bn]))throw new Be(911,!1);null===i[lc]&&(i[lc]=[]),i[lc].push(r)}function Qs(i){const r=i[Tr];return mo(r)?r[Tr]:r}const Zn={lFrame:c1(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let yd=!1;function Gu(){return Zn.bindingsEnabled}function kl(){return null!==Zn.skipHydrationRootTNode}function Ri(){return Zn.lFrame.lView}function ur(){return Zn.lFrame.tView}function D2(i){return Zn.lFrame.contextLView=i,i[hr]}function A2(i){return Zn.lFrame.contextLView=null,i}function Hr(){let i=is();for(;null!==i&&64===i.type;)i=i.parent;return i}function is(){return Zn.lFrame.currentTNode}function Br(i,r){const o=Zn.lFrame;o.currentTNode=i,o.isParent=r}function Il(){return Zn.lFrame.isParent}function Rl(){Zn.lFrame.isParent=!1}function Wu(){return yd}function a0(i){yd=i}function ms(){const i=Zn.lFrame;let r=i.bindingRootIndex;return-1===r&&(r=i.bindingRootIndex=i.tView.bindingStartIndex),r}function Ns(){return Zn.lFrame.bindingIndex}function ns(){return Zn.lFrame.bindingIndex++}function uc(i){const r=Zn.lFrame,o=r.bindingIndex;return r.bindingIndex=r.bindingIndex+i,o}function Xu(i,r){const o=Zn.lFrame;o.bindingIndex=o.bindingRootIndex=i,Vc(r)}function Vc(i){Zn.lFrame.currentDirectiveIndex=i}function Sc(i){const r=Zn.lFrame.currentDirectiveIndex;return-1===r?null:i[r]}function Uc(){return Zn.lFrame.currentQueryIndex}function Es(i){Zn.lFrame.currentQueryIndex=i}function l4(i){const r=i[Fi];return 2===r.type?r.declTNode:1===r.type?i[ra]:null}function s1(i,r,o){if(o&gn.SkipSelf){let E=r,P=i;for(;!(E=E.parent,null!==E||o&gn.Host||(E=l4(P),null===E||(P=P[il],10&E.type))););if(null===E)return!1;r=E,i=P}const p=Zn.lFrame=Ol();return p.currentTNode=r,p.lView=i,!0}function I2(i){const r=Ol(),o=i[Fi];Zn.lFrame=r,r.currentTNode=o.firstChild,r.lView=i,r.tView=o,r.contextLView=i,r.bindingIndex=o.bindingStartIndex,r.inI18n=!1}function Ol(){const i=Zn.lFrame,r=null===i?null:i.child;return null===r?c1(i):r}function c1(i){const r={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=r),r}function Yu(){const i=Zn.lFrame;return Zn.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const R2=Yu;function Tc(){const i=Yu();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 qa(){return Zn.lFrame.selectedIndex}function ol(i){Zn.lFrame.selectedIndex=i}function oa(){const i=Zn.lFrame;return nl(i.tView,i.selectedIndex)}function sl(){Zn.lFrame.currentNamespace=e1}function N2(){!function d4(){Zn.lFrame.currentNamespace=null}()}let $u=!0;function l1(){return $u}function Lc(i){$u=i}function o0(i,r){for(let o=r.directiveStart,p=r.directiveEnd;o=p)break}else r[Le]<0&&(i[cc]+=65536),(de>14>16&&(3&i[bn])===r&&(i[bn]+=16384,d1(de,P)):d1(de,P)}const cl=-1;class wd{constructor(r,o,p){this.factory=r,this.resolving=!1,this.canSeeViewProviders=o,this.injectImpl=p}}const Ed={};class Fl{constructor(r,o){this.injector=r,this.parentInjector=o}get(r,o,p){p=Do(p);const E=this.injector.get(r,Ed,p);return E!==Ed||o===Ed?E:this.parentInjector.get(r,o,p)}}function f1(i){return i!==cl}function Nl(i){return 32767&i}function dl(i,r){let o=function l0(i){return i>>16}(i),p=r;for(;o>0;)p=p[il],o--;return p}let V2=!0;function hl(i){const r=V2;return V2=i,r}const Qu=255,p1=5;let d0=0;const ps={};function Sd(i,r){const o=U2(i,r);if(-1!==o)return o;const p=r[Fi];p.firstCreatePass&&(i.injectorIndex=r.length,eo(p.data,i),eo(r,null),eo(p.blueprint,null));const E=Td(i,r),P=i.injectorIndex;if(f1(E)){const $=Nl(E),de=dl(E,r),Le=de[Fi].data;for(let Ze=0;Ze<8;Ze++)r[P+Ze]=de[$+Ze]|Le[$+Ze]}return r[P+8]=E,P}function eo(i,r){i.push(0,0,0,0,0,0,0,0,r)}function U2(i,r){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===r[i.injectorIndex+8]?-1:i.injectorIndex}function Td(i,r){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let o=0,p=null,E=r;for(;null!==E;){if(p=Y2(E),null===p)return cl;if(o++,E=E[il],-1!==p.injectorIndex)return p.injectorIndex|o<<16}return cl}function Dr(i,r,o){!function Zu(i,r,o){let p;"string"==typeof o?p=o.charCodeAt(0)||0:o.hasOwnProperty(Ai)&&(p=o[Ai]),null==p&&(p=o[Ai]=d0++);const E=p&Qu;r.data[i+(E>>p1)]|=1<=0?r&Qu:qu:r}(o);if("function"==typeof P){if(!s1(r,i,p))return p&gn.Host?zl(E,0,p):Bl(r,o,p,E);try{let $;if($=P(p),null!=$||p&gn.Optional)return $;ir()}finally{R2()}}else if("number"==typeof P){let $=null,de=U2(i,r),Le=cl,Ze=p&gn.Host?r[Lr][ra]:null;for((-1===de||p&gn.SkipSelf)&&(Le=-1===de?Td(i,r):r[de+8],Le!==cl&&W2(p,!1)?($=r[Fi],de=Nl(Le),r=dl(Le,r)):de=-1);-1!==de;){const _t=r[Fi];if(g1(P,de,_t.data)){const zt=Ju(de,r,o,$,p,Ze);if(zt!==ps)return zt}Le=r[de+8],Le!==cl&&W2(p,r[Fi].data[de+8]===Ze)&&g1(P,de,r)?($=_t,de=Nl(Le),r=dl(Le,r)):de=-1}}return E}function Ju(i,r,o,p,E,P){const $=r[Fi],de=$.data[i+8],_t=Ld(de,$,o,null==p?Nn(de)&&V2:p!=$&&!!(3&de.type),E&gn.Host&&P===de);return null!==_t?ul(r,$,_t,de):ps}function Ld(i,r,o,p,E){const P=i.providerIndexes,$=r.data,de=1048575&P,Le=i.directiveStart,_t=P>>20,ri=E?de+_t:i.directiveEnd;for(let hi=p?de:de+_t;hi=Le&&vi.type===o)return hi}if(E){const hi=$[Le];if(hi&&vr(hi)&&hi.type===o)return Le}return null}function ul(i,r,o,p){let E=i[o];const P=r.data;if(function ll(i){return i instanceof wd}(E)){const $=E;$.resolving&&function Ni(i,r){throw r&&r.join(" > "),new Be(-200,i)}(function mi(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():Ft(i)}(P[o]));const de=hl($.canSeeViewProviders);$.resolving=!0;const Ze=$.injectImpl?mr($.injectImpl):null;s1(i,p,gn.Default);try{E=i[o]=$.factory(void 0,P,i,p),r.firstCreatePass&&o>=p.directiveStart&&function h4(i,r,o){const{ngOnChanges:p,ngOnInit:E,ngDoCheck:P}=r.type.prototype;if(p){const $=Cc(r);(o.preOrderHooks??=[]).push(i,$),(o.preOrderCheckHooks??=[]).push(i,$)}E&&(o.preOrderHooks??=[]).push(0-i,E),P&&((o.preOrderHooks??=[]).push(i,P),(o.preOrderCheckHooks??=[]).push(i,P))}(o,P[o],r)}finally{null!==Ze&&mr(Ze),hl(de),$.resolving=!1,R2()}}return E}function g1(i,r,o){return!!(o[r+(i>>p1)]&1<{const r=i.prototype.constructor,o=r[wn]||u0(r),p=Object.prototype;let E=Object.getPrototypeOf(i.prototype).constructor;for(;E&&E!==p;){const P=E[wn]||u0(E);if(P&&P!==o)return P;E=Object.getPrototypeOf(E)}return P=>new P})}function u0(i){return ce(i)?()=>{const r=u0(Te(i));return r&&r()}:fa(i)}function Y2(i){const r=i[Fi],o=r.type;return 2===o?r.declTNode:1===o?i[ra]:null}function v1(i){return function G2(i,r){if("class"===r)return i.classes;if("style"===r)return i.styles;const o=i.attrs;if(o){const p=o.length;let E=0;for(;Exr(Bo)})}static{this.__NG_ELEMENT_ID__=-1}}new Ut("").__NG_ELEMENT_ID__=i=>{const r=Hr();if(null===r)throw new Be(204,!1);if(2&r.type)return r.value;if(i&gn.Optional)return null;throw new Be(204,!1)};function x1(i){return i.ngOriginalError}const Hc=!0;let Gl=(()=>{class i{static{this.__NG_ELEMENT_ID__=ih}static{this.__NG_ENV_ID__=o=>o}}return i})();class af extends Gl{constructor(r){super(),this._lView=r}onDestroy(r){return r1(this._lView,r),()=>function Ec(i,r){if(null===i[lc])return;const o=i[lc].indexOf(r);-1!==o&&i[lc].splice(o,1)}(this._lView,r)}}function ih(){return new af(Ri())}let jc=(()=>{class i{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new he.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const o=this.taskId++;return this.pendingTasks.add(o),o}remove(o){this.pendingTasks.delete(o),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=Xt({token:i,providedIn:"root",factory:()=>new i})}}return i})();const fc=class sf extends Ie.B{constructor(r=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=r,ji()&&(this.destroyRef=hn(Gl,{optional:!0})??void 0,this.pendingTasks=hn(jc,{optional:!0})??void 0)}emit(r){const o=w(null);try{super.next(r)}finally{w(o)}}subscribe(r,o,p){let E=r,P=o||(()=>null),$=p;if(r&&"object"==typeof r){const Le=r;E=Le.next?.bind(Le),P=Le.error?.bind(Le),$=Le.complete?.bind(Le)}this.__isAsync&&(P=this.wrapInTimeout(P),E&&(E=this.wrapInTimeout(E)),$&&($=this.wrapInTimeout($)));const de=super.subscribe({next:E,error:P,complete:$});return r instanceof st.yU&&r.add(de),de}wrapInTimeout(r){return o=>{const p=this.pendingTasks?.add();setTimeout(()=>{r(o),void 0!==p&&this.pendingTasks?.remove(p)})}}};function Wc(...i){}function nh(i){let r,o;function p(){i=Wc;try{void 0!==o&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(o),void 0!==r&&clearTimeout(r)}catch{}}return r=setTimeout(()=>{i(),p()}),"function"==typeof requestAnimationFrame&&(o=requestAnimationFrame(()=>{i(),p()})),()=>p()}function rh(i){return queueMicrotask(()=>i()),()=>{i=Wc}}const C1="isAngularZone",w1=C1+"_ID";let ah=0;class Da{constructor(r){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fc(!1),this.onMicrotaskEmpty=new fc(!1),this.onStable=new fc(!1),this.onError=new fc(!1);const{enableLongStackTrace:o=!1,shouldCoalesceEventChangeDetection:p=!1,shouldCoalesceRunChangeDetection:E=!1,scheduleInRootZone:P=Hc}=r;if(typeof Zone>"u")throw new Be(908,!1);Zone.assertZonePatched();const $=this;$._nesting=0,$._outer=$._inner=Zone.current,Zone.TaskTrackingZoneSpec&&($._inner=$._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&($._inner=$._inner.fork(Zone.longStackTraceZoneSpec)),$.shouldCoalesceEventChangeDetection=!E&&p,$.shouldCoalesceRunChangeDetection=E,$.callbackScheduled=!1,$.scheduleInRootZone=P,function hf(i){const r=()=>{!function df(i){function r(){nh(()=>{i.callbackScheduled=!1,Ad(i),i.isCheckStableRunning=!0,M1(i),i.isCheckStableRunning=!1})}i.isCheckStableRunning||i.callbackScheduled||(i.callbackScheduled=!0,i.scheduleInRootZone?Zone.root.run(()=>{r()}):i._outer.run(()=>{r()}),Ad(i))}(i)},o=ah++;i._inner=i._inner.fork({name:"angular",properties:{[C1]:!0,[w1]:o,[w1+o]:!0},onInvokeTask:(p,E,P,$,de,Le)=>{if(function oh(i){return sh(i,"__ignore_ng_zone__")}(Le))return p.invokeTask(P,$,de,Le);try{return m0(i),p.invokeTask(P,$,de,Le)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===$.type||i.shouldCoalesceRunChangeDetection)&&r(),p0(i)}},onInvoke:(p,E,P,$,de,Le,Ze)=>{try{return m0(i),p.invoke(P,$,de,Le,Ze)}finally{i.shouldCoalesceRunChangeDetection&&!i.callbackScheduled&&!function uf(i){return sh(i,"__scheduler_tick__")}(Le)&&r(),p0(i)}},onHasTask:(p,E,P,$)=>{p.hasTask(P,$),E===P&&("microTask"==$.change?(i._hasPendingMicrotasks=$.microTask,Ad(i),M1(i)):"macroTask"==$.change&&(i.hasPendingMacrotasks=$.macroTask))},onHandleError:(p,E,P,$)=>(p.handleError(P,$),i.runOutsideAngular(()=>i.onError.emit($)),!1)})}($)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(C1)}static assertInAngularZone(){if(!Da.isInAngularZone())throw new Be(909,!1)}static assertNotInAngularZone(){if(Da.isInAngularZone())throw new Be(909,!1)}run(r,o,p){return this._inner.run(r,o,p)}runTask(r,o,p,E){const P=this._inner,$=P.scheduleEventTask("NgZoneEvent: "+E,r,lf,Wc,Wc);try{return P.runTask($,o,p)}finally{P.cancelTask($)}}runGuarded(r,o,p){return this._inner.runGuarded(r,o,p)}runOutsideAngular(r){return this._outer.run(r)}}const lf={};function M1(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 Ad(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&!0===i.callbackScheduled)}function m0(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function p0(i){i._nesting--,M1(i)}class Xc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fc,this.onMicrotaskEmpty=new fc,this.onStable=new fc,this.onError=new fc}run(r,o,p){return r.apply(o,p)}runGuarded(r,o,p){return r.apply(o,p)}runOutsideAngular(r){return r()}runTask(r,o,p,E){return r.apply(o,p)}}function sh(i,r){return!(!Array.isArray(i)||1!==i.length)&&!0===i[0]?.data?.[r]}class Ac{constructor(){this._console=console}handleError(r){const o=this._findOriginalError(r);this._console.error("ERROR",r),o&&this._console.error("ORIGINAL ERROR",o)}_findOriginalError(r){let o=r&&x1(r);for(;o&&x1(o);)o=x1(o);return o||null}}const g0=new Ut("",{providedIn:"root",factory:()=>{const i=hn(Da),r=hn(Ac);return o=>i.runOutsideAngular(()=>r.handleError(o))}});function _0(){return Hl(Hr(),Ri())}function Hl(i,r){return new jl(co(i,r))}let jl=(()=>{class i{constructor(o){this.nativeElement=o}static{this.__NG_ELEMENT_ID__=_0}}return i})();function v0(i){return i instanceof jl?i.nativeElement:i}function Wl(){return this._results[Symbol.iterator]()}class Xl{get changes(){return this._changes??=new fc}constructor(r=!1){this._emitDistinctChangesOnly=r,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 o=Xl.prototype;o[Symbol.iterator]||(o[Symbol.iterator]=Wl)}get(r){return this._results[r]}map(r){return this._results.map(r)}filter(r){return this._results.filter(r)}find(r){return this._results.find(r)}reduce(r,o){return this._results.reduce(r,o)}forEach(r){this._results.forEach(r)}some(r){return this._results.some(r)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(r,o){this.dirty=!1;const p=function Ar(i){return i.flat(Number.POSITIVE_INFINITY)}(r);(this._changesDetected=!function Bs(i,r,o){if(i.length!==r.length)return!1;for(let p=0;px4}),x4="ng",Sf=new Ut(""),io=new Ut("",{providedIn:"platform",factory:()=>"unknown"}),Lf=new Ut(""),Df=new Ut("",{providedIn:"root",factory:()=>_l().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Mh=()=>null;function P0(i,r,o=!1){return Mh(i,r,o)}const U0=new Ut("",{providedIn:"root",factory:()=>!1});let z1,nd;function id(i){return function B1(){if(void 0===z1&&(z1=null,yt.trustedTypes))try{z1=yt.trustedTypes.createPolicy("angular",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return z1}()?.createHTML(i)||i}function H0(){if(void 0===nd&&(nd=null,yt.trustedTypes))try{nd=yt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return nd}function Ah(i){return H0()?.createHTML(i)||i}function kh(i){return H0()?.createScriptURL(i)||i}class vl{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ue})`}}class zf extends vl{getTypeName(){return"HTML"}}class Ih extends vl{getTypeName(){return"Style"}}class L4 extends vl{getTypeName(){return"Script"}}class U1 extends vl{getTypeName(){return"URL"}}class D4 extends vl{getTypeName(){return"ResourceURL"}}function rs(i){return i instanceof vl?i.changingThisBreaksApplicationSecurity:i}function Bd(i,r){const o=function Bf(i){return i instanceof vl&&i.getTypeName()||null}(i);if(null!=o&&o!==r){if("ResourceURL"===o&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${o} (see ${ue})`)}return o===r}function A4(i){return new zf(i)}function Vf(i){return new Ih(i)}function Uf(i){return new L4(i)}function Gf(i){return new U1(i)}function k4(i){return new D4(i)}class I4{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const o=(new window.DOMParser).parseFromString(id(r),"text/html").body;return null===o?this.inertDocumentHelper.getInertBodyElement(r):(o.firstChild?.remove(),o)}catch{return null}}}class Rh{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const o=this.inertDocument.createElement("template");return o.innerHTML=id(r),o}}const R4=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Vd(i){return(i=String(i)).match(R4)?i:"unsafe:"+i}function Kc(i){const r={};for(const o of i.split(","))r[o]=!0;return r}function bl(...i){const r={};for(const o of i)for(const p in o)o.hasOwnProperty(p)&&(r[p]=!0);return r}const Wf=Kc("area,br,col,hr,img,wbr"),Oh=Kc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xf=Kc("rp,rt"),j0=bl(Wf,bl(Oh,Kc("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),bl(Xf,Kc("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),bl(Xf,Oh)),W0=Kc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Nh=bl(W0,Kc("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"),Kc("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")),N4=Kc("script,style,template");class Ph{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let o=r.firstChild,p=!0,E=[];for(;o;)if(o.nodeType===Node.ELEMENT_NODE?p=this.startElement(o):o.nodeType===Node.TEXT_NODE?this.chars(o.nodeValue):this.sanitizedSomething=!0,p&&o.firstChild)E.push(o),o=P4(o);else for(;o;){o.nodeType===Node.ELEMENT_NODE&&this.endElement(o);let P=$f(o);if(P){o=P;break}o=E.pop()}return this.buf.join("")}startElement(r){const o=zh(r).toLowerCase();if(!j0.hasOwnProperty(o))return this.sanitizedSomething=!0,!N4.hasOwnProperty(o);this.buf.push("<"),this.buf.push(o);const p=r.attributes;for(let E=0;E"),!0}endElement(r){const o=zh(r).toLowerCase();j0.hasOwnProperty(o)&&!Wf.hasOwnProperty(o)&&(this.buf.push(""))}chars(r){this.buf.push(Uh(r))}}function $f(i){const r=i.nextSibling;if(r&&i!==r.previousSibling)throw Bh(r);return r}function P4(i){const r=i.firstChild;if(r&&function Kf(i,r){return(i.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(i,r))throw Bh(r);return r}function zh(i){const r=i.nodeName;return"string"==typeof r?r:"FORM"}function Bh(i){return new Error(`Failed to sanitize html because the element is clobbered: ${i.outerHTML}`)}const Vh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Qf=/([^\#-~ |!])/g;function Uh(i){return i.replace(/&/g,"&").replace(Vh,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(Qf,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let F;function B(i,r){let o=null;try{F=F||function Hf(i){const r=new Rh(i);return function jf(){try{return!!(new window.DOMParser).parseFromString(id(""),"text/html")}catch{return!1}}()?new I4(r):r}(i);let p=r?String(r):"";o=F.getInertBodyElement(p);let E=5,P=p;do{if(0===E)throw new Error("Failed to sanitize html because the input is unstable");E--,p=P,P=o.innerHTML,o=F.getInertBodyElement(p)}while(p!==P);return id((new Ph).sanitizeChildren(v(o)||o))}finally{if(o){const p=v(o)||o;for(;p.firstChild;)p.firstChild.remove()}}}function v(i){return"content"in i&&function H(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var G=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}(G||{});function Oe(i){const r=Xn();return r?Ah(r.sanitize(G.HTML,i)||""):Bd(i,"HTML")?Ah(rs(i)):B(_l(),Ft(i))}function At(i){const r=Xn();return r?r.sanitize(G.URL,i)||"":Bd(i,"URL")?rs(i):Vd(Ft(i))}function oi(i){const r=Xn();if(r)return kh(r.sanitize(G.RESOURCE_URL,i)||"");if(Bd(i,"ResourceURL"))return kh(rs(i));throw new Be(904,!1)}function Mn(i,r,o){return function fn(i,r){return"src"===r&&("embed"===i||"frame"===i||"iframe"===i||"media"===i||"script"===i)||"href"===r&&("base"===i||"link"===i)?oi:At}(r,o)(i)}function Xn(){const i=Ri();return i&&i[ts].sanitizer}const gr=/^>|^->||--!>|)/g,da="\u200b$1\u200b";function Hh(i){return i.ownerDocument.defaultView}function Yo(i){return i instanceof Function?i():i}var qf=function(i){return i[i.Important=1]="Important",i[i.DashCase=2]="DashCase",i}(qf||{});let G4;function e3(i,r){return G4(i,r)}function Y0(i,r,o,p,E){if(null!=p){let P,$=!1;mo(p)?P=p:Yr(p)&&($=!0,p=p[Dn]);const de=Un(p);0===i&&null!==o?null==E?Xh(r,o,de):j1(r,o,de,E||null,!0):1===i&&null!==o?j1(r,o,de,E||null,!0):2===i?function $h(i,r,o){i.removeChild(null,r,o)}(r,de,$):3===i&&r.destroyNode(de),null!=P&&function Xp(i,r,o,p,E){const P=o[Os];P!==Un(o)&&Y0(r,i,p,P,E);for(let de=ba;der.replace(jr,da))}(r))}function jh(i,r,o){return i.createElement(r,o)}function Pp(i,r){r[ts].changeDetectionScheduler?.notify(9),Qh(i,r,r[Bn],2,null,null)}function X4(i,r){const o=i[yc],p=r[Tr];(Yr(p)||r[Lr]!==p[Tr][Lr])&&(i[bn]|=xs.HasTransplantedViews),null===o?i[yc]=[r]:o.push(r)}function t3(i,r){const o=i[yc],p=o.indexOf(r);o.splice(p,1)}function K0(i,r){if(i.length<=ba)return;const o=ba+r,p=i[o];if(p){const E=p[Bc];null!==E&&E!==i&&t3(E,p),r>0&&(i[o-1][va]=p[va]);const P=ma(i,ba+r);!function K8(i,r){Pp(i,r),r[Dn]=null,r[ra]=null}(p[Fi],p);const $=P[so];null!==$&&$.detachView(P[Fi]),p[Tr]=null,p[va]=null,p[bn]&=-129}return p}function $0(i,r){if(!(256&r[bn])){const o=r[Bn];o.destroyNode&&Qh(i,r,o,3,null,null),function Q8(i){let r=i[Co];if(!r)return Y4(i[Fi],i);for(;r;){let o=null;if(Yr(r))o=r[Co];else{const p=r[ba];p&&(o=p)}if(!o){for(;r&&!r[va]&&r!==i;)Yr(r)&&Y4(r[Fi],r),r=r[Tr];null===r&&(r=i),Yr(r)&&Y4(r[Fi],r),o=r&&r[va]}r=o}}(r)}}function Y4(i,r){if(256&r[bn])return;const o=w(null);try{r[bn]&=-129,r[bn]|=256,r[Fo]&&ie(r[Fo]),function J8(i,r){let o;if(null!=i&&null!=(o=i.destroyHooks))for(let p=0;p=0?p[$]():p[-$].unsubscribe(),P+=2}else o[P].call(p[o[P+1]]);null!==p&&(r[oo]=null);const E=r[lc];if(null!==E){r[lc]=null;for(let P=0;P-1){const{encapsulation:P}=i.data[p.directiveStart+E];if(P===ni.None||P===ni.Emulated)return null}return co(p,o)}}(i,r.parent,o)}function j1(i,r,o,p,E){i.insertBefore(r,o,p,E)}function Xh(i,r,o){i.appendChild(r,o)}function Vp(i,r,o,p,E){null!==p?j1(i,r,o,p,E):Xh(i,r,o)}function K4(i,r){return i.parentNode(r)}function Gp(i,r,o){return Hp(i,r,o)}let Q4,Hp=function $4(i,r,o){return 40&i.type?co(i,o):null};function Yh(i,r,o,p){const E=Wh(i,p,r),P=r[Bn],de=Gp(p.parent||r[ra],p,r);if(null!=E)if(Array.isArray(o))for(let Le=0;LeEn&&Kp(i,r,En,!1),Fs($?2:0,E),o(p,E)}finally{ol(P),Fs($?3:1,E)}}function n3(i,r,o){if(po(r)){const p=w(null);try{const P=r.directiveEnd;for(let $=r.directiveStart;$null;function r6(i,r,o,p,E){for(let P in r){if(!r.hasOwnProperty(P))continue;const $=r[P];if(void 0===$)continue;p??={};let de,Le=Ei.None;Array.isArray($)?(de=$[0],Le=$[1]):de=$;let Ze=P;if(null!==E){if(!E.hasOwnProperty(P))continue;Ze=E[P]}0===i?a6(p,o,Ze,de,Le):a6(p,o,Ze,de)}return p}function a6(i,r,o,p,E){let P;i.hasOwnProperty(o)?(P=i[o]).push(r,p):P=i[o]=[r,p],void 0!==E&&P.push(E)}function Ps(i,r,o,p,E,P,$,de){const Le=co(r,o);let _t,Ze=r.inputs;!de&&null!=Ze&&(_t=Ze[p])?(e2(i,o,_t,p,E),Nn(r)&&function o5(i,r){const o=fs(r,i);16&o[bn]||(o[bn]|=64)}(o,r.index)):3&r.type&&(p=function a5(i){return"class"===i?"className":"for"===i?"htmlFor":"formaction"===i?"formAction":"innerHtml"===i?"innerHTML":"readonly"===i?"readOnly":"tabindex"===i?"tabIndex":i}(p),E=null!=$?$(E,r.value||"",p):E,P.setProperty(Le,p,E))}function Jh(i,r,o,p){if(Gu()){const E=null===p?null:{"":-1},P=function s6(i,r){const o=i.directiveRegistry;let p=null,E=null;if(o)for(let P=0;P0;){const o=i[--r];if("number"==typeof o&&o<0)return o}return 0})($)!=de&&$.push(de),$.push(o,p,P)}}(i,r,p,Q0(i,o,E.hostVars,ar),E)}function In(i,r,o,p,E,P){const $=co(i,r);!function tu(i,r,o,p,E,P,$){if(null==P)i.removeAttribute(r,E,o);else{const de=null==$?Ft(P):$(P,p||"",E);i.setAttribute(r,E,de,o)}}(r[Bn],$,P,i.value,o,p,E)}function J0(i,r,o,p,E,P){const $=P[r];if(null!==$)for(let de=0;de<$.length;)Qp(p,o,$[de++],$[de++],$[de++],$[de++])}function o3(i,r,o){let p=null,E=0;for(;E0&&(o[E-1][va]=r),p{hc(i.lView)},consumerOnSignalRead(){this.lView[Fo]=this}},au={...S,consumerIsAlwaysLive:!0,consumerMarkedDirty:i=>{let r=Qs(i.lView);for(;r&&!u3(r[Fi]);)r=Qs(r);r&&n1(r)},consumerOnSignalRead(){this.lView[Fo]=this}};function u3(i){return 2!==i.type}const um=100;function jd(i,r=!0,o=0){const p=i[ts],E=p.rendererFactory;E.begin?.();try{!function fm(i,r){const o=Wu();try{a0(!0),a2(i,r);let p=0;for(;t0(i);){if(p===um)throw new Be(103,!1);p++,a2(i,1)}}finally{a0(o)}}(i,o)}catch($){throw r&&q0(i,$),$}finally{E.end?.(),p.inlineEffectRunner?.flush()}}function h6(i,r,o,p){const E=r[bn];if(!(256&~E))return;r[ts].inlineEffectRunner?.flush(),I2(r);let de=!0,Le=null,Ze=null;u3(i)?(Ze=function h3(i){return i[Fo]??function n2(i){const r=d3.pop()??Object.create(r2);return r.lView=i,r}(i)}(r),Le=W(Ze)):null===f()?(de=!1,Ze=function hm(i){const r=i[Fo]??Object.create(au);return r.lView=i,r}(r),Le=W(Ze)):r[Fo]&&(ie(r[Fo]),r[Fo]=null);try{zu(r),function k2(i){return Zn.lFrame.bindingIndex=i}(i.bindingStartIndex),null!==o&&nm(i,r,o,2,p);const _t=!(3&~E);if(_t){const hi=i.preOrderCheckHooks;null!==hi&&xd(r,hi,null)}else{const hi=i.preOrderHooks;null!==hi&&Cd(r,hi,0,null),s0(r,0)}if(function mm(i){for(let r=S0(i);null!==r;r=gh(r)){if(!(r[bn]&xs.HasTransplantedViews))continue;const o=r[yc];for(let p=0;p-1&&(K0(r,p),ma(o,p))}this._attachedToViewContainer=!1}$0(this._lView[Fi],this._lView)}onDestroy(r){r1(this._lView,r)}markForCheck(){cd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[bn]&=-129}reattach(){n0(this._lView),this._lView[bn]|=128}detectChanges(){this._lView[bn]|=1024,jd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Be(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const r=Qr(this._lView),o=this._lView[Bc];null!==o&&!r&&t3(o,this._lView),Pp(this._lView[Fi],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new Be(902,!1);this._appRef=r;const o=Qr(this._lView),p=this._lView[Bc];null!==p&&!o&&X4(p,this._lView),n0(this._lView)}}let su=(()=>{class i{static{this.__NG_ELEMENT_ID__=ec}}return i})();const f6=su,s5=class extends f6{constructor(r,o,p){super(),this._declarationLView=r,this._declarationTContainer=o,this.elementRef=p}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,o){return this.createEmbeddedViewImpl(r,o)}createEmbeddedViewImpl(r,o,p){const E=qs(this._declarationLView,this._declarationTContainer,r,{embeddedViewInjector:o,dehydratedView:p});return new ou(E)}};function ec(){return o2(Hr(),Ri())}function o2(i,r){return 4&i.type?new s5(r,i,Hl(i,r)):null}let Et=()=>null;function li(i,r){return Et(i,r)}class _i{}const wi=new Ut("",{providedIn:"root",factory:()=>!1}),sn=new Ut(""),kn=new Ut("");class ki{}class Tn{}class tr{resolveComponentFactory(r){throw function Yn(i){const r=Error(`No component factory found for ${It(i)}.`);return r.ngComponent=i,r}(r)}}class Rn{static{this.NULL=new tr}}class Zr{}let ya=(()=>{class i{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function Ts(){const i=Ri(),o=fs(Hr().index,i);return(Yr(o)?o:i)[Bn]}()}}return i})(),xa=(()=>{class i{static{this.\u0275prov=Xt({token:i,providedIn:"root",factory:()=>null})}}return i})();function Na(i){return!!_a(i)}function dd(i,r,o){let p=o?i.styles:null,E=o?i.classes:null,P=0;if(null!==r)for(let $=0;$0&&em(i,o,P.join(" "))}}(ri,ls,vi,p),void 0!==o&&function sa(i,r,o){const p=i.projection=[];for(let E=0;E{class i{static{this.__NG_ELEMENT_ID__=$n}}return i})();function $n(){return k6(Hr(),Ri())}const uo=$o,Kd=class extends uo{constructor(r,o,p){super(),this._lContainer=r,this._hostTNode=o,this._hostLView=p}get element(){return Hl(this._hostTNode,this._hostLView)}get injector(){return new to(this._hostTNode,this._hostLView)}get parentInjector(){const r=Td(this._hostTNode,this._hostLView);if(f1(r)){const o=dl(r,this._hostLView),p=Nl(r);return new to(o[Fi].data[p+8],o)}return new to(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const o=Cl(this._lContainer);return null!==o&&o[r]||null}get length(){return this._lContainer.length-ba}createEmbeddedView(r,o,p){let E,P;"number"==typeof p?E=p:null!=p&&(E=p.index,P=p.injector);const $=li(this._lContainer,r.ssrId),de=r.createEmbeddedViewImpl(o||{},P,$);return this.insertImpl(de,E,od(this._hostTNode,$)),de}createComponent(r,o,p,E,P){const $=r&&!function Zt(i){return"function"==typeof i}(r);let de;if($)de=o;else{const vi=o||{};de=vi.index,p=vi.injector,E=vi.projectableNodes,P=vi.environmentInjector||vi.ngModuleRef}const Le=$?r:new So(jn(r)),Ze=p||this.parentInjector;if(!P&&null==Le.ngModule){const Bi=($?Ze:this.parentInjector).get(Za,null);Bi&&(P=Bi)}const _t=jn(Le.componentType??{}),zt=li(this._lContainer,_t?.id??null),hi=Le.create(Ze,E,zt?.firstChild??null,P);return this.insertImpl(hi.hostView,de,od(this._hostTNode,zt)),hi}insert(r,o){return this.insertImpl(r,o,!0)}insertImpl(r,o,p){const E=r._lView;if(function rl(i){return mo(i[Tr])}(E)){const de=this.indexOf(r);if(-1!==de)this.detach(de);else{const Le=E[Tr],Ze=new Kd(Le,Le[ra],Le[Tr]);Ze.detach(Ze.indexOf(r))}}const P=this._adjustIndex(o),$=this._lContainer;return Hd($,E,P,p),r.attachToViewContainerRef(),Ua(A6($),P,r),r}move(r,o){return this.insert(r,o)}indexOf(r){const o=Cl(this._lContainer);return null!==o?o.indexOf(r):-1}remove(r){const o=this._adjustIndex(r,-1),p=K0(this._lContainer,o);p&&(ma(A6(this._lContainer),o),$0(p[Fi],p))}detach(r){const o=this._adjustIndex(r,-1),p=K0(this._lContainer,o);return p&&null!=ma(A6(this._lContainer),o)?new ou(p):null}_adjustIndex(r,o=0){return r??this.length+o}};function Cl(i){return i[8]}function A6(i){return i[8]||(i[8]=[])}function k6(i,r){let o;const p=r[i.index];return mo(p)?o=p:(o=s3(p,r,null,i),r[i.index]=o,Y1(r,o)),O5(o,r,i,p),new Kd(o,i,r)}let O5=function N5(i,r,o,p){if(i[Os])return;let E;E=8&o.type?Un(p):function bb(i,r){const o=i[Bn],p=o.createComment(""),E=co(r,i);return j1(o,K4(o,E),p,function Up(i,r){return i.nextSibling(r)}(o,E),!1),p}(r,o),i[Os]=E},Om=()=>!1;class I6{constructor(r){this.queryList=r,this.matches=null}clone(){return new I6(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fm{constructor(r=[]){this.queries=r}createEmbeddedView(r){const o=r.queries;if(null!==o){const p=null!==r.contentQueries?r.contentQueries[0]:o.length,E=[];for(let P=0;Pr.trim())}(r):r}}class Nm{constructor(r=[]){this.queries=r}elementStart(r,o){for(let p=0;p0)p.push($[de/2]);else{const Ze=P[de+1],_t=r[-Le];for(let zt=ba;zt<_t.length;zt++){const ri=_t[zt];ri[Bc]===ri[Tr]&&O6(ri[Fi],ri,Ze,p)}if(null!==_t[yc]){const zt=_t[yc];for(let ri=0;ri(y(r),r.value);return o[l]=r,o}(i),p=o[l];return r?.equal&&(p.equal=r.equal),o.set=E=>q(p,E),o.update=E=>function pe(i,r){j()||k(),q(i,r(i.value))}(p,E),o.asReadonly=$5.bind(o),o}function $5(){const i=this[l];if(void 0===i.readonlyFn){const r=()=>this();r[l]=i,i.readonlyFn=r}return i.readonlyFn}function z6(i){return Pm(i)&&"function"==typeof i.set}function G6(i){let r=function o7(i){return Object.getPrototypeOf(i.prototype).constructor}(i.type),o=!0;const p=[i];for(;r;){let E;if(vr(i))E=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new Be(903,!1);E=r.\u0275dir}if(E){if(o){p.push(E);const $=i;$.inputs=E3(i.inputs),$.inputTransforms=E3(i.inputTransforms),$.declaredInputs=E3(i.declaredInputs),$.outputs=E3(i.outputs);const de=E.hostBindings;de&&Ub(i,de);const Le=E.viewQuery,Ze=E.contentQueries;if(Le&&Vb(i,Le),Ze&&s7(i,Ze),zb(i,E),Ae(i.outputs,E.outputs),vr(E)&&E.data.animation){const _t=i.data;_t.animation=(_t.animation||[]).concat(E.data.animation)}}const P=E.features;if(P)for(let $=0;$=0;p--){const E=i[p];E.hostVars=r+=E.hostVars,E.hostAttrs=ao(E.hostAttrs,o=ao(o,E.hostAttrs))}}(p)}function zb(i,r){for(const o in r.inputs){if(!r.inputs.hasOwnProperty(o)||i.inputs.hasOwnProperty(o))continue;const p=r.inputs[o];if(void 0!==p&&(i.inputs[o]=p,i.declaredInputs[o]=r.declaredInputs[o],null!==r.inputTransforms)){const E=Array.isArray(p)?p[0]:p;if(!r.inputTransforms.hasOwnProperty(E))continue;i.inputTransforms??={},i.inputTransforms[E]=r.inputTransforms[E]}}}function E3(i){return i===Ga?{}:i===sr?[]:i}function Vb(i,r){const o=i.viewQuery;i.viewQuery=o?(p,E)=>{r(p,E),o(p,E)}:r}function s7(i,r){const o=i.contentQueries;i.contentQueries=o?(p,E,P)=>{r(p,E,P),o(p,E,P)}:r}function Ub(i,r){const o=i.hostBindings;i.hostBindings=o?(p,E)=>{r(p,E),o(p,E)}:r}function j6(i){const r=i.inputConfig,o={};for(const p in r)if(r.hasOwnProperty(p)){const E=r[p];Array.isArray(E)&&E[3]&&(o[p]=E[3])}i.inputTransforms=o}class f2{}class W6{}function Wb(i,r){return new pu(i,r??null,[])}class pu extends f2{constructor(r,o,p,E=!0){super(),this.ngModuleType=r,this._parent=o,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wd(this);const P=_a(r);this._bootstrapComponents=Yo(P.bootstrap),this._r3Injector=eh(r,o,[{provide:f2,useValue:this},{provide:Rn,useValue:this.componentFactoryResolver},...p],It(r),new Set(["environment"])),E&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const r=this._r3Injector;!r.destroyed&&r.destroy(),this.destroyCbs.forEach(o=>o()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class X6 extends W6{constructor(r){super(),this.moduleType=r}create(r){return new pu(this.moduleType,r,[])}}class Y6 extends f2{constructor(r){super(),this.componentFactoryResolver=new Wd(this),this.instance=null;const o=new Rs([...r.providers,{provide:f2,useValue:this},{provide:Rn,useValue:this.componentFactoryResolver}],r.parent||zc(),r.debugName,new Set(["environment"]));this.injector=o,r.runEnvironmentInitializers&&o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function K6(i,r,o=null){return new Y6({providers:i,parent:r,debugName:o,runEnvironmentInitializers:!0}).injector}function S3(i){return!!Q6(i)&&(Array.isArray(i)||!(i instanceof Map)&&Symbol.iterator in i)}function Q6(i){return null!==i&&("function"==typeof i||"object"==typeof i)}function hd(i,r,o){return i[r]=o}function To(i,r,o){return!Object.is(i[r],o)&&(i[r]=o,!0)}function m2(i,r,o,p){const E=To(i,r,o);return To(i,r+1,p)||E}function Bm(i,r,o,p,E){const P=m2(i,r,o,p);return To(i,r+2,E)||P}function Q1(i,r,o,p,E,P,$,de,Le,Ze){const _t=o+En,zt=r.firstCreatePass?function Qb(i,r,o,p,E,P,$,de,Le){const Ze=r.consts,_t=X1(r,i,4,$||null,de||null);Jh(r,o,_t,Ms(Ze,Le)),o0(r,_t);const zt=_t.tView=am(2,_t,p,E,P,r.directiveRegistry,r.pipeRegistry,null,r.schemas,Ze,null);return null!==r.queries&&(r.queries.template(r,_t),zt.queries=r.queries.embeddedTView(_t)),_t}(_t,r,i,p,E,P,$,de,Le):r.data[_t];Br(zt,!1);const ri=f7(r,i,zt,o);l1()&&Yh(r,i,ri,zt),jo(ri,i);const hi=s3(ri,i,ri,zt);return i[_t]=hi,Y1(i,hi),function F5(i,r,o){return Om(i,r,o)}(hi,zt,i),qi(zt)&&r3(r,i,zt),null!=Le&&rm(i,zt,Ze),zt}function Z6(i,r,o,p,E,P,$,de){const Le=Ri(),Ze=ur();return Q1(Le,Ze,i,r,o,p,E,Ms(Ze.consts,P),$,de),Z6}let f7=function m7(i,r,o,p){return Lc(!0),r[Bn].createComment("")};function C7(i,r){if(null!==f())throw new Be(-602,!1)}var _u=function(i){return i[i.EarlyRead=0]="EarlyRead",i[i.Write=1]="Write",i[i.MixedReadWrite=2]="MixedReadWrite",i[i.Read=3]="Read",i}(_u||{});let q6=(()=>{class i{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=Xt({token:i,providedIn:"root",factory:()=>new i})}}return i})();class I3{constructor(){this.ngZone=hn(Da),this.scheduler=hn(_i),this.errorHandler=hn(Ac,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[_u.EarlyRead,_u.Write,_u.MixedReadWrite,_u.Read]}execute(){this.executing=!0;for(const r of I3.PHASES)for(const o of this.sequences)if(!o.erroredOrDestroyed&&o.hooks[r])try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>o.hooks[r](o.pipelinedValue))}catch(p){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(p)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(r){this.executing?this.deferredRegistrations.add(r):(this.sequences.add(r),this.scheduler.notify(6))}unregister(r){this.executing&&this.sequences.has(r)?(r.erroredOrDestroyed=!0,r.pipelinedValue=void 0,r.once=!0):(this.sequences.delete(r),this.deferredRegistrations.delete(r))}static{this.\u0275prov=Xt({token:I3,providedIn:"root",factory:()=>new I3})}}class w7{constructor(r,o,p,E){this.impl=r,this.hooks=o,this.once=p,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=E?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Um(i,r){!r?.injector&&pn();const o=r?.injector??hn(Ho);return function os(i){return"browser"===(i??hn(Ho)).get(io)}(o)?(zs("NgAfterNextRender"),function M7(i,r,o,p){const E=r.get(q6);E.impl??=r.get(I3);const P=o?.phase??_u.MixedReadWrite,$=!0!==o?.manualCleanup?r.get(Gl):null,de=new w7(E.impl,function qb(i,r){if(i instanceof Function){const o=[void 0,void 0,void 0,void 0];return o[r]=i,o}return[i.earlyRead,i.write,i.mixedReadWrite,i.read]}(i,P),p,$);return E.impl.register(de),de}(i,o,r,!0)):E7}const E7={destroy(){}};function Ym(i,r,o,p){const E=Ri();return To(E,ns(),r)&&(ur(),In(oa(),E,i,r,o,p)),Ym}function Cu(i,r,o,p){return To(i,ns(),o)?r+Ft(o)+p:ar}function v2(i,r,o,p,E,P){const de=m2(i,Ns(),o,E);return uc(2),de?r+Ft(o)+p+Ft(E)+P:ar}function b2(i,r,o,p,E,P,$,de,Le,Ze){const zt=function Jc(i,r,o,p,E,P){const $=m2(i,r,o,p);return m2(i,r+2,E,P)||$}(i,Ns(),o,E,$,Le);return uc(4),zt?r+Ft(o)+p+Ft(E)+P+Ft($)+de+Ft(Le)+Ze:ar}function Km(i,r){return i<<17|r<<2}function Qd(i){return i>>17&32767}function ug(i){return 2|i}function x2(i){return(131068&i)>>2}function $m(i,r){return-131069&i|r<<2}function Qm(i){return 1|i}function fg(i,r,o,p){const E=i[o+1],P=null===r;let $=p?Qd(E):x2(E),de=!1;for(;0!==$&&(!1===de||P);){const Ze=i[$+1];Ty(i[$],r)&&(de=!0,i[$+1]=p?Qm(Ze):ug(Ze)),$=p?Qd(Ze):x2(Ze)}de&&(i[o+1]=p?ug(E):Qm(E))}function Ty(i,r){return null===i||null==r||(Array.isArray(i)?i[1]:i)===r||!(!Array.isArray(i)||"string"!=typeof r)&&yo(i,r)>=0}const cs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function mg(i){return i.substring(cs.key,cs.keyEnd)}function J7(i,r){const o=cs.textEnd;return o===r?-1:(r=cs.keyEnd=function ky(i,r,o){for(;r32;)r++;return r}(i,cs.key=r,o),Tu(i,r,o))}function Tu(i,r,o){for(;r=0;o=J7(r,o))$r(i,mg(r),!0)}function wl(i,r,o,p){const E=Ri(),P=ur(),$=uc(2);P.firstUpdatePass&&s_(P,i,$,p),r!==ar&&To(E,$,r)&&d_(P,P.data[qa()],E,E[Bn],i,E[$+1]=function h_(i,r){return null==i||""===i||("string"==typeof r?i+=r:"object"==typeof i&&(i=It(rs(i)))),i}(r,o),p,$)}function Ml(i,r,o,p){const E=ur(),P=uc(2);E.firstUpdatePass&&s_(E,null,P,p);const $=Ri();if(o!==ar&&To($,P,o)){const de=E.data[qa()];if(u_(de,p)&&!o_(E,P)){let Le=p?de.classesWithoutHost:de.stylesWithoutHost;null!==Le&&(o=Qt(Le,o||"")),gg(E,de,$,o,p)}else!function zy(i,r,o,p,E,P,$,de){E===ar&&(E=sr);let Le=0,Ze=0,_t=0=i.expandoStartIndex}function s_(i,r,o,p){const E=i.data;if(null===E[o+1]){const P=E[qa()],$=o_(i,o);u_(P,p)&&null===r&&!$&&(r=!1),r=function F3(i,r,o,p){const E=Sc(i);let P=p?r.residualClasses:r.residualStyles;if(null===E)0===(p?r.classBindings:r.styleBindings)&&(o=N3(o=bg(null,i,r,o,p),r.attrs,p),P=null);else{const $=r.directiveStylingLast;if(-1===$||i[$]!==E)if(o=bg(E,i,r,o,p),null===P){let Le=function Oy(i,r,o){const p=o?r.classBindings:r.styleBindings;if(0!==x2(p))return i[Qd(p)]}(i,r,p);void 0!==Le&&Array.isArray(Le)&&(Le=bg(null,i,r,Le[1],p),Le=N3(Le,r.attrs,p),function Fy(i,r,o,p){i[Qd(o?r.classBindings:r.styleBindings)]=p}(i,r,p,Le))}else P=function Ny(i,r,o){let p;const E=r.directiveEnd;for(let P=1+r.directiveStylingLast;P0)&&(Ze=!0)):_t=o,E)if(0!==Le){const ri=Qd(i[de+1]);i[p+1]=Km(ri,de),0!==ri&&(i[ri+1]=$m(i[ri+1],p)),i[de+1]=function hg(i,r){return 131071&i|r<<17}(i[de+1],p)}else i[p+1]=Km(de,0),0!==de&&(i[de+1]=$m(i[de+1],p)),de=p;else i[p+1]=Km(Le,0),0===de?de=p:i[Le+1]=$m(i[Le+1],p),Le=p;Ze&&(i[p+1]=ug(i[p+1])),fg(i,_t,p,!0),fg(i,_t,p,!1),function Sy(i,r,o,p,E){const P=E?i.residualClasses:i.residualStyles;null!=P&&"string"==typeof r&&yo(P,r)>=0&&(o[p+1]=Qm(o[p+1]))}(r,_t,i,p,P),$=Km(de,Le),P?r.classBindings=$:r.styleBindings=$}(E,P,r,o,$,p)}}function bg(i,r,o,p,E){let P=null;const $=o.directiveEnd;let de=o.directiveStylingLast;for(-1===de?de=o.directiveStart:de++;de<$&&(P=r[de],p=N3(p,P.hostAttrs,E),P!==i);)de++;return null!==i&&(o.directiveStylingLast=de),p}function N3(i,r,o){const p=o?1:2;let E=-1;if(null!==r)for(let P=0;P0;){const Le=i[E],Ze=Array.isArray(Le),_t=Ze?Le[1]:Le,zt=null===_t;let ri=o[E+1];ri===ar&&(ri=zt?sr:void 0);let hi=zt?pa(ri,p):_t===p?ri:void 0;if(Ze&&!Zm(hi)&&(hi=pa(Le,p)),Zm(hi)&&(de=hi,$))return de;const vi=i[E+1];E=$?Qd(vi):x2(vi)}if(null!==r){let Le=P?r.residualClasses:r.residualStyles;null!=Le&&(de=pa(Le,p))}return de}function Zm(i){return void 0!==i}function u_(i,r){return!!(i.flags&(r?8:16))}function Jm(i,r,o){Ml($r,tc,Cu(Ri(),i,r,o),!0)}class m_{destroy(r){}updateValue(r,o){}swap(r,o){const p=Math.min(r,o),E=Math.max(r,o),P=this.detach(E);if(E-p>1){const $=this.detach(p);this.attach(p,P),this.attach(E,$)}else this.attach(p,P)}move(r,o){this.attach(o,this.detach(r))}}function xg(i,r,o,p,E){return i===o&&Object.is(r,p)?1:Object.is(E(i,r),E(o,p))?-1:0}function Cg(i,r,o,p){return!(void 0===r||!r.has(p)||(i.attach(o,r.get(p)),r.delete(p),0))}function g_(i,r,o,p,E){if(Cg(i,r,p,o(p,E)))i.updateValue(p,E);else{const P=i.create(p,E);i.attach(p,P)}}function wg(i,r,o,p){const E=new Set;for(let P=r;P<=o;P++)E.add(p(P,i.at(P)));return E}class __{constructor(){this.kvMap=new Map,this._vMap=void 0}has(r){return this.kvMap.has(r)}delete(r){if(!this.has(r))return!1;const o=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(o)?(this.kvMap.set(r,this._vMap.get(o)),this._vMap.delete(o)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,o){if(this.kvMap.has(r)){let p=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const E=this._vMap;for(;E.has(p);)p=E.get(p);E.set(p,o)}else this.kvMap.set(r,o)}forEach(r){for(let[o,p]of this.kvMap)if(r(p,o),void 0!==this._vMap){const E=this._vMap;for(;E.has(p);)p=E.get(p),r(p,o)}}}function v_(i,r){zs("NgControlFlow");const o=Ri(),p=ns(),E=o[p]!==ar?o[p]:-1,P=-1!==E?qm(o,En+E):void 0;if(To(o,p,i)){const de=w(null);try{if(void 0!==P&&sd(P,0),-1!==i){const Le=En+i,Ze=qm(o,Le),_t=Eg(o[Fi],Le),zt=li(Ze,_t.tView.ssrId);Hd(Ze,qs(o,_t,r,{dehydratedView:zt}),0,od(_t,zt))}}finally{w(de)}}else if(void 0!==P){const de=ru(P,0);void 0!==de&&(de[hr]=r)}}class Yy{constructor(r,o,p){this.lContainer=r,this.$implicit=o,this.$index=p}get $count(){return this.lContainer.length-ba}}function b_(i,r){return r}class y_{constructor(r,o,p){this.hasEmptyBlock=r,this.trackByFn=o,this.liveCollection=p}}function x_(i,r,o,p,E,P,$,de,Le,Ze,_t,zt,ri){zs("NgControlFlow");const hi=Ri(),vi=ur(),Bi=void 0!==Le,rn=Ri(),un=de?$.bind(rn[Lr][hr]):$,zi=new y_(Bi,un);rn[En+i]=zi,Q1(hi,vi,i+1,r,o,p,E,Ms(vi.consts,P)),Bi&&Q1(hi,vi,i+2,Le,Ze,_t,zt,Ms(vi.consts,ri))}class Qy extends m_{constructor(r,o,p){super(),this.lContainer=r,this.hostLView=o,this.templateTNode=p,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ba}at(r){return this.getLView(r)[hr].$implicit}attach(r,o){const p=o[Ja];this.needsIndexUpdate||=r!==this.length,Hd(this.lContainer,o,r,od(this.templateTNode,p))}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function Zy(i,r){return K0(i,r)}(this.lContainer,r)}create(r,o){const p=li(this.lContainer,this.templateTNode.tView.ssrId),E=qs(this.hostLView,this.templateTNode,new Yy(this.lContainer,o,r),{dehydratedView:p});return this.operationsCounter?.recordCreate(),E}destroy(r){$0(r[Fi],r),this.operationsCounter?.recordDestroy()}updateValue(r,o){this.getLView(r)[hr].$implicit=o}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r{i.destroy(Le)})}(Le,i,P.trackByFn),Le.updateIndexes(),P.hasEmptyBlock){const Ze=ns(),_t=0===Le.length;if(To(p,Ze,_t)){const zt=o+2,ri=qm(p,zt);if(_t){const hi=Eg(E,zt),vi=li(ri,hi.tView.ssrId);Hd(ri,qs(p,hi,void 0,{dehydratedView:vi}),0,od(hi,vi))}else sd(ri,0)}}}finally{w(r)}}function qm(i,r){return i[r]}function Eg(i,r){return nl(i,r)}function ep(i,r,o,p){const E=Ri(),P=ur(),$=En+i,de=E[Bn],Le=P.firstCreatePass?function qy(i,r,o,p,E,P){const $=r.consts,Le=X1(r,i,2,p,Ms($,E));return Jh(r,o,Le,Ms($,P)),null!==Le.attrs&&dd(Le,Le.attrs,!1),null!==Le.mergedAttrs&&dd(Le,Le.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,Le),Le}($,P,E,r,o,p):P.data[$],Ze=C_(P,E,Le,de,r,i);E[$]=Ze;const _t=qi(Le);return Br(Le,!0),i3(de,Ze,Le),!function p2(i){return!(32&~i.flags)}(Le)&&l1()&&Yh(P,E,Ze,Le),0===function Vu(){return Zn.lFrame.elementDepthCount}()&&jo(Ze,E),function o4(){Zn.lFrame.elementDepthCount++}(),_t&&(r3(P,E,Le),n3(P,Le,E)),null!==p&&rm(E,Le),ep}function P3(){let i=Hr();Il()?Rl():(i=i.parent,Br(i,!1));const r=i;(function Hu(i){return Zn.skipHydrationRootTNode===i})(r)&&function L2(){Zn.skipHydrationRootTNode=null}(),function Uu(){Zn.lFrame.elementDepthCount--}();const o=ur();return o.firstCreatePass&&(o0(o,i),po(i)&&o.queries.elementEnd(i)),null!=r.classesWithoutHost&&function B2(i){return!!(8&i.flags)}(r)&&gg(o,r,Ri(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function Md(i){return!!(16&i.flags)}(r)&&gg(o,r,Ri(),r.stylesWithoutHost,!1),P3}function Sg(i,r,o,p){return ep(i,r,o,p),P3(),Sg}let C_=(i,r,o,p,E,P)=>(Lc(!0),jh(p,E,function Ku(){return Zn.lFrame.currentNamespace}()));function tp(i,r,o){const p=Ri(),E=ur(),P=i+En,$=E.firstCreatePass?function tx(i,r,o,p,E){const P=r.consts,$=Ms(P,p),de=X1(r,i,8,"ng-container",$);return null!==$&&dd(de,$,!0),Jh(r,o,de,Ms(P,E)),null!==r.queries&&r.queries.elementStart(r,de),de}(P,E,p,r,o):E.data[P];Br($,!0);const de=M_(E,p,$,i);return p[P]=de,l1()&&Yh(E,p,de,$),jo(de,p),qi($)&&(r3(E,p,$),n3(E,$,p)),null!=o&&rm(p,$),tp}function C2(){let i=Hr();const r=ur();return Il()?Rl():(i=i.parent,Br(i,!1)),r.firstCreatePass&&(o0(r,i),po(i)&&r.queries.elementEnd(i)),C2}function Tg(i,r,o){return tp(i,r,o),C2(),Tg}let M_=(i,r,o,p)=>(Lc(!0),W4(r[Bn],""));function E_(){return Ri()}function Lg(i,r,o){const p=Ri();return To(p,ns(),r)&&Ps(ur(),oa(),p,i,r,p[Bn],o,!0),Lg}function Dg(i,r,o){const p=Ri();if(To(p,ns(),r)){const P=ur(),$=oa();Ps(P,$,p,i,r,Po(Sc(P.data),$,p),o,!0)}return Dg}const w2=void 0;var S_=["en",[["a","p"],["AM","PM"],w2],[["AM","PM"],w2,w2],[["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"]],w2,[["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"]],w2,[["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}",w2,"{1} 'at' {0}",w2],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function rx(i){const o=Math.floor(Math.abs(i)),p=i.toString().replace(/^[^.]*\.?/,"").length;return 1===o&&0===p?1:5}];let Lu={};function Ag(i){const r=function L_(i){return i.toLowerCase().replace(/_/g,"-")}(i);let o=kg(r);if(o)return o;const p=r.split("-")[0];if(o=kg(p),o)return o;if("en"===p)return S_;throw new Be(701,!1)}function T_(i){return Ag(i)[Du.PluralCase]}function kg(i){return i in Lu||(Lu[i]=yt.ng&&yt.ng.common&&yt.ng.common.locales&&yt.ng.common.locales[i]),Lu[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 M2="en-US";let D_=M2,Q_=(i,r,o)=>{};function Ug(i,r,o,p){const E=Ri(),P=ur(),$=Hr();return Gg(P,E,E[Bn],$,i,r,p),Ug}function sp(i,r){const o=Hr(),p=Ri(),E=ur();return Gg(E,p,Po(Sc(E.data),o,p),o,i,r),sp}function Gg(i,r,o,p,E,P,$){const de=qi(p),Ze=i.firstCreatePass&&iu(i),_t=r[hr],zt=d6(r);let ri=!0;if(3&p.type||$){const Bi=co(p,r),rn=$?$(Bi):Bi,un=zt.length,zi=$?Wr=>$(Un(Wr[p.index])):p.index;let lr=null;if(!$&&de&&(lr=function Fx(i,r,o,p){const E=i.cleanup;if(null!=E)for(let P=0;PLe?de[Le]:null}"string"==typeof $&&(P+=2)}return null}(i,r,E,p.index)),null!==lr)(lr.__ngLastListenerFn__||lr).__ngNextListenerFn__=P,lr.__ngLastListenerFn__=P,ri=!1;else{P=q_(p,r,_t,P),Q_(Bi,E,P);const Wr=o.listen(rn,E,P);zt.push(P,Wr),Ze&&Ze.push(E,zi,un,un+1)}}else P=q_(p,r,_t,P);const hi=p.outputs;let vi;if(ri&&null!==hi&&(vi=hi[E])){const Bi=vi.length;if(Bi)for(let rn=0;rn-1?fs(i.index,r):r,5);let de=J_(r,o,p,P),Le=E.__ngNextListenerFn__;for(;Le;)de=J_(r,o,Le,P)&&de,Le=Le.__ngNextListenerFn__;return de}}function Hg(i=1){return function O2(i){return(Zn.lFrame.contextLView=function Bu(i,r){for(;i>0;)r=r[il],i--;return r}(i,Zn.lFrame.contextLView))[hr]}(i)}function Px(i,r){let o=null;const p=function ai(i){const r=i.attrs;if(null!=r){const o=r.indexOf(5);if(!(1&o))return r[o+1]}return null}(i);for(let E=0;E(Lc(!0),function H4(i,r){return i.createText(r)}(r[Bn],p));function e8(i){return ku("",i,""),e8}function ku(i,r,o){const p=Ri(),E=Cu(p,i,r,o);return E!==ar&&Rc(p,qa(),E),ku}function t8(i,r,o,p,E){const P=Ri(),$=v2(P,i,r,o,p,E);return $!==ar&&Rc(P,qa(),$),t8}function i8(i,r,o,p,E,P,$){const de=Ri(),Le=function wu(i,r,o,p,E,P,$,de){const Ze=Bm(i,Ns(),o,E,$);return uc(3),Ze?r+Ft(o)+p+Ft(E)+P+Ft($)+de:ar}(de,i,r,o,p,E,P,$);return Le!==ar&&Rc(de,qa(),Le),i8}function n8(i,r,o,p,E,P,$,de,Le){const Ze=Ri(),_t=b2(Ze,i,r,o,p,E,P,$,de,Le);return _t!==ar&&Rc(Ze,qa(),_t),n8}function up(i,r,o){z6(r)&&(r=r());const p=Ri();return To(p,ns(),r)&&Ps(ur(),oa(),p,i,r,p[Bn],o,!1),up}function M9(i,r){const o=z6(i);return o&&i.set(r),o}function fp(i,r){const o=Ri(),p=ur(),E=Hr();return Gg(p,o,o[Bn],E,i,r),fp}function mp(i,r,o,p,E){if(i=Te(i),Array.isArray(i))for(let P=0;P>20;if(es(i)||!i.multi){const hi=new wd(Ze,E,Gd),vi=pp(Le,r,E?_t:_t+ri,zt);-1===vi?(Dr(Sd(de,$),P,Le),a8(P,i,r.length),r.push(Le),de.directiveStart++,de.directiveEnd++,E&&(de.providerIndexes+=1048576),o.push(hi),$.push(hi)):(o[vi]=hi,$[vi]=hi)}else{const hi=pp(Le,r,_t+ri,zt),vi=pp(Le,r,_t,_t+ri),rn=vi>=0&&o[vi];if(E&&!rn||!E&&!(hi>=0&&o[hi])){Dr(Sd(de,$),P,Le);const un=function Jx(i,r,o,p,E){const P=new wd(i,o,Gd);return P.multi=[],P.index=r,P.componentProviders=0,T9(P,E,p&&!o),P}(E?Zx:Qx,o.length,E,p,Ze);!E&&rn&&(o[vi].providerFactory=un),a8(P,i,r.length,0),r.push(Le),de.directiveStart++,de.directiveEnd++,E&&(de.providerIndexes+=1048576),o.push(un),$.push(un)}else a8(P,i,hi>-1?hi:vi,T9(o[E?vi:hi],Ze,!E&&p));!E&&p&&rn&&o[vi].componentProviders++}}}function a8(i,r,o,p){const E=es(r),P=function Pc(i){return!!i.useClass}(r);if(E||P){const Le=(P?Te(r.useClass):r).prototype.ngOnDestroy;if(Le){const Ze=i.destroyHooks||(i.destroyHooks=[]);if(!E&&r.multi){const _t=Ze.indexOf(o);-1===_t?Ze.push(o,[p,Le]):Ze[_t+1].push(p,Le)}else Ze.push(o,Le)}}}function T9(i,r,o){return o&&i.componentProviders++,i.multi.push(r)-1}function pp(i,r,o,p){for(let E=o;E{o.providersResolver=(p,E)=>function $x(i,r,o){const p=ur();if(p.firstCreatePass){const E=vr(i);mp(o,p.data,p.blueprint,E,!0),mp(r,p.data,p.blueprint,E,!1)}}(p,E?E(i):i,r)}}let qx=(()=>{class i{constructor(o){this._injector=o,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(o){if(!o.standalone)return null;if(!this.cachedInjectors.has(o)){const p=bs(0,o.type),E=p.length>0?K6([p],this._injector,`Standalone[${o.type.name}]`):null;this.cachedInjectors.set(o,E)}return this.cachedInjectors.get(o)}ngOnDestroy(){try{for(const o of this.cachedInjectors.values())null!==o&&o.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=Xt({token:i,providedIn:"environment",factory:()=>new i(xr(Za))})}}return i})();function D9(i){zs("NgStandalone"),i.getStandaloneInjector=r=>r.get(qx).getOrCreateStandaloneInjector(i)}function s8(i,r,o){const p=ms()+i,E=Ri();return E[p]===ar?hd(E,p,o?r.call(o):r()):function T3(i,r){return i[r]}(E,p)}function I9(i,r,o,p){return N9(Ri(),ms(),i,r,o,p)}function R9(i,r,o,p,E){return P9(Ri(),ms(),i,r,o,p,E)}function O9(i,r,o,p,E,P){return z9(Ri(),ms(),i,r,o,p,E,P)}function Ru(i,r){const o=i[r];return o===ar?void 0:o}function N9(i,r,o,p,E,P){const $=r+o;return To(i,$,E)?hd(i,$+1,P?p.call(P,E):p(E)):Ru(i,$+1)}function P9(i,r,o,p,E,P,$){const de=r+o;return m2(i,de,E,P)?hd(i,de+2,$?p.call($,E,P):p(E,P)):Ru(i,de+2)}function z9(i,r,o,p,E,P,$,de){const Le=r+o;return Bm(i,Le,E,P,$)?hd(i,Le+3,de?p.call(de,E,P,$):p(E,P,$)):Ru(i,Le+3)}function U9(i,r){const o=ur();let p;const E=i+En;o.firstCreatePass?(p=function sC(i,r){if(r)for(let o=r.length-1;o>=0;o--){const p=r[o];if(i===p.name)return p}}(r,o.pipeRegistry),o.data[E]=p,p.onDestroy&&(o.destroyHooks??=[]).push(E,p.onDestroy)):p=o.data[E];const P=p.factory||(p.factory=fa(p.type)),de=mr(Gd);try{const Le=hl(!1),Ze=P();return hl(Le),function Kg(i,r,o,p){o>=i.data.length&&(i.data[o]=null,i.blueprint[o]=null),r[o]=p}(o,Ri(),E,Ze),Ze}finally{mr(de)}}function G9(i,r,o){const p=i+En,E=Ri(),P=Al(E,p);return j3(E,p)?N9(E,ms(),r,P.transform,o,P):P.transform(o)}function H9(i,r,o,p){const E=i+En,P=Ri(),$=Al(P,E);return j3(P,E)?P9(P,ms(),r,$.transform,o,p,$):$.transform(o,p)}function j9(i,r,o,p,E){const P=i+En,$=Ri(),de=Al($,P);return j3($,P)?z9($,ms(),r,de.transform,o,p,E,de):de.transform(o,p,E)}function j3(i,r){return i[Fi].data[r].pure}function c8(i,r){return o2(i,r)}class rv{constructor(r){this.full=r;const o=r.split(".");this.major=o[0],this.minor=o[1],this.patch=o.slice(2).join(".")}}let b8=(()=>{class i{log(o){console.log(o)}warn(o){console.warn(o)}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"platform"})}}return i})();const w8=new Ut(""),uv=new Ut("");let M8,ew=(()=>{class i{constructor(o,p,E){this._ngZone=o,this.registry=p,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,M8||(function tw(i){M8=i}(E),E.addToWindow(p)),this._watchAngularEvents(),o.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:()=>{Da.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 o=this._callbacks.pop();clearTimeout(o.timeoutId),o.doneCb()}});else{let o=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(o)||(clearTimeout(p.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(o=>({source:o.source,creationLocation:o.creationLocation,data:o.data})):[]}addCallback(o,p,E){let P=-1;p&&p>0&&(P=setTimeout(()=>{this._callbacks=this._callbacks.filter($=>$.timeoutId!==P),o()},p)),this._callbacks.push({doneCb:o,timeoutId:P,updateCb:E})}whenStable(o,p,E){if(E&&!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(o,p,E),this._runCallbacksIfReady()}registerApplication(o){this.registry.registerApplication(o,this)}unregisterApplication(o){this.registry.unregisterApplication(o)}findProviders(o,p,E){return[]}static{this.\u0275fac=function(p){return new(p||i)(xr(Da),xr(fv),xr(uv))}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac})}}return i})(),fv=(()=>{class i{constructor(){this._applications=new Map}registerApplication(o,p){this._applications.set(o,p)}unregisterApplication(o){this._applications.delete(o)}unregisterAllApplications(){this._applications.clear()}getTestability(o){return this._applications.get(o)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(o,p=!0){return M8?.findTestabilityInTree(this,o,p)??null}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"platform"})}}return i})();function vp(i){return!!i&&"function"==typeof i.then}function mv(i){return!!i&&"function"==typeof i.subscribe}const pv=new Ut("");let gv=(()=>{class i{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,p)=>{this.resolve=o,this.reject=p}),this.appInits=hn(pv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const o=[];for(const E of this.appInits){const P=E();if(vp(P))o.push(P);else if(mv(P)){const $=new Promise((de,Le)=>{P.subscribe({complete:de,error:Le})});o.push($)}}const p=()=>{this.done=!0,this.resolve()};Promise.all(o).then(()=>{p()}).catch(E=>{this.reject(E)}),0===o.length&&p(),this.initialized=!0}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();const bp=new Ut("");function S8(i,r){return Array.isArray(r)?r.reduce(S8,i):{...i,...r}}let fd=(()=>{class i{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=hn(g0),this.afterRenderManager=hn(q6),this.zonelessEnabled=hn(wi),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Ie.B,this.afterTick=new Ie.B,this.componentTypes=[],this.components=[],this.isStable=hn(jc).hasPendingTasks.pipe((0,me.T)(o=>!o)),this._injector=hn(Za)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let o;return new Promise(p=>{o=this.isStable.subscribe({next:E=>{E&&p()}})}).finally(()=>{o.unsubscribe()})}get injector(){return this._injector}bootstrap(o,p){const E=o instanceof Tn;if(!this._injector.get(gv).done)throw!E&&ca(o),new Be(405,!1);let $;$=E?o:this._injector.get(Rn).resolveComponentFactory(o),this.componentTypes.push($.componentType);const de=function iw(i){return i.isBoundToModule}($)?void 0:this._injector.get(f2),Ze=$.create(Ho.NULL,[],p||$.selector,de),_t=Ze.location.nativeElement,zt=Ze.injector.get(w8,null);return zt?.registerApplication(_t),Ze.onDestroy(()=>{this.detachView(Ze.hostView),yp(this.components,Ze),zt?.unregisterApplication(_t)}),this._loadComponent(Ze),Ze}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Be(101,!1);const o=w(null);try{this._runningTick=!0,this.synchronize()}catch(p){this.internalErrorHandler(p)}finally{this._runningTick=!1,w(o),this.afterTick.next()}}synchronize(){let o=null;this._injector.destroyed||(o=this._injector.get(Zr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let p=0;for(;0!==this.dirtyFlags&&p++<10;)this.synchronizeOnce(o)}synchronizeOnce(o){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const p=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(p);for(let{_lView:E,notifyErrorHandler:P}of this._views)vv(E,P,p,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else o?.begin?.(),o?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:o})=>t0(o))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(o){const p=o;this._views.push(p),p.attachToAppRef(this)}detachView(o){const p=o;yp(this._views,p),p.detachFromAppRef()}_loadComponent(o){this.attachView(o.hostView),this.tick(),this.components.push(o);const p=this._injector.get(bp,[]);[...this._bootstrapListeners,...p].forEach(E=>E(o))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(o=>o()),this._views.slice().forEach(o=>o.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(o){return this._destroyListeners.push(o),()=>yp(this._destroyListeners,o)}destroy(){if(this._destroyed)throw new Be(406,!1);const o=this._injector;o.destroy&&!o.destroyed&&o.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function yp(i,r){const o=i.indexOf(r);o>-1&&i.splice(o,1)}function vv(i,r,o,p){(o||t0(i))&&jd(i,r,o&&!p?0:1)}class aw{constructor(r,o){this.ngModuleFactory=r,this.componentFactories=o}}let bv=(()=>{class i{compileModuleSync(o){return new X6(o)}compileModuleAsync(o){return Promise.resolve(this.compileModuleSync(o))}compileModuleAndAllComponentsSync(o){const p=this.compileModuleSync(o),P=Yo(_a(o).declarations).reduce(($,de)=>{const Le=jn(de);return Le&&$.push(new So(Le)),$},[]);return new aw(p,P)}compileModuleAndAllComponentsAsync(o){return Promise.resolve(this.compileModuleAndAllComponentsSync(o))}clearCache(){}clearCacheFor(o){}getModuleId(o){}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),cw=(()=>{class i{constructor(){this.zone=hn(Da),this.changeDetectionScheduler=hn(_i),this.applicationRef=hn(fd)}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(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function T8({ngZoneFactory:i,ignoreChangesOutsideZone:r,scheduleInRootZone:o}){return i??=()=>new Da({...L8(),scheduleInRootZone:o}),[{provide:Da,useFactory:i},{provide:ia,multi:!0,useFactory:()=>{const p=hn(cw,{optional:!0});return()=>p.initialize()}},{provide:ia,multi:!0,useFactory:()=>{const p=hn(yv);return()=>{p.initialize()}}},!0===r?{provide:sn,useValue:!0}:[],{provide:kn,useValue:o??Hc}]}function L8(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:i?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:i?.runCoalescing??!1}}let yv=(()=>{class i{constructor(){this.subscription=new st.yU,this.initialized=!1,this.zone=hn(Da),this.pendingTasks=hn(jc)}initialize(){if(this.initialized)return;this.initialized=!0;let o=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(o=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Da.assertNotInAngularZone(),queueMicrotask(()=>{null!==o&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(o),o=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Da.assertInAngularZone(),o??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Q3=(()=>{class i{constructor(){this.appRef=hn(fd),this.taskService=hn(jc),this.ngZone=hn(Da),this.zonelessEnabled=hn(wi),this.disableScheduling=hn(sn,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new st.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(w1):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(hn(kn,{optional:!0})??!1),this.cancelScheduledCallback=null,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 Xc||!this.zoneIsDefined)}notify(o){if(!this.zonelessEnabled&&5===o)return;switch(o){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const p=this.useMicrotaskScheduler?rh:nh;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>p(()=>this.tick())):this.ngZone.runOutsideAngular(()=>p(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(w1+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(p){throw this.taskService.remove(o),p}finally{this.cleanup()}this.useMicrotaskScheduler=!0,rh(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const o=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(o)}}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();const D8=new Ut("",{providedIn:"root",factory:()=>hn(D8,gn.Optional|gn.SkipSelf)||function hw(){return typeof $localize<"u"&&$localize.locale||M2}()}),uw=new Ut("",{providedIn:"root",factory:()=>"USD"}),Z3=new Ut("");function Fu(i){return!i.moduleRef}let Ev=(()=>{class i{constructor(o){this._injector=o,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(o,p){const E=p?.scheduleInRootZone,$=p?.ignoreChangesOutsideZone,de=[T8({ngZoneFactory:()=>function ff(i="zone.js",r){return"noop"===i?new Xc:"zone.js"===i?new Da(r):i}(p?.ngZone,{...L8({eventCoalescing:p?.ngZoneEventCoalescing,runCoalescing:p?.ngZoneRunCoalescing}),scheduleInRootZone:E}),ignoreChangesOutsideZone:$}),{provide:_i,useExisting:Q3}],Le=function Xb(i,r,o){return new pu(i,r,o,!1)}(o.moduleType,this.injector,de);return function Mv(i){const r=Fu(i)?i.r3Injector:i.moduleRef.injector,o=r.get(Da);return o.run(()=>{Fu(i)?i.r3Injector.resolveInjectorInitializers():i.moduleRef.resolveInjectorInitializers();const p=r.get(Ac,null);let E;if(o.runOutsideAngular(()=>{E=o.onError.subscribe({next:P=>{p.handleError(P)}})}),Fu(i)){const P=()=>r.destroy(),$=i.platformInjector.get(Z3);$.add(P),r.onDestroy(()=>{E.unsubscribe(),$.delete(P)})}else{const P=()=>i.moduleRef.destroy(),$=i.platformInjector.get(Z3);$.add(P),i.moduleRef.onDestroy(()=>{yp(i.allPlatformModules,i.moduleRef),E.unsubscribe(),$.delete(P)})}return function rw(i,r,o){try{const p=o();return vp(p)?p.catch(E=>{throw r.runOutsideAngular(()=>i.handleError(E)),E}):p}catch(p){throw r.runOutsideAngular(()=>i.handleError(p)),p}}(p,o,()=>{const P=r.get(gv);return P.runInitializers(),P.donePromise.then(()=>{if(function A_(i){"string"==typeof i&&(D_=i.toLowerCase().replace(/_/g,"-"))}(r.get(D8,M2)||M2),Fu(i)){const de=r.get(fd);return void 0!==i.rootComponent&&de.bootstrap(i.rootComponent),de}return function _w(i,r){const o=i.injector.get(fd);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(p=>o.bootstrap(p));else{if(!i.instance.ngDoBootstrap)throw new Be(-403,!1);i.instance.ngDoBootstrap(o)}r.push(i)}(i.moduleRef,i.allPlatformModules),i.moduleRef})})})}({moduleRef:Le,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(o,p=[]){const E=S8({},p);return function sw(i,r,o){const p=new X6(o);return Promise.resolve(p)}(0,0,o).then(P=>this.bootstrapModuleFactory(P,E))}onDestroy(o){this._destroyListeners.push(o)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Be(404,!1);this._modules.slice().forEach(p=>p.destroy()),this._destroyListeners.forEach(p=>p());const o=this._injector.get(Z3,null);o&&(o.forEach(p=>p()),o.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(p){return new(p||i)(xr(Ho))}}static{this.\u0275prov=Xt({token:i,factory:i.\u0275fac,providedIn:"platform"})}}return i})(),Zd=null;const Sv=new Ut("");function k8(i,r,o=[]){const p=`Platform: ${r}`,E=new Ut(p);return(P=[])=>{let $=I8();if(!$||$.injector.get(Sv,!1)){const de=[...o,...P,{provide:E,useValue:!0}];i?i(de):function vw(i){if(Zd&&!Zd.get(Sv,!1))throw new Be(400,!1);(function E8(){!function _(i){A=i}(()=>{throw new Be(600,!1)})})(),Zd=i;const r=i.get(Ev);(function Dv(i){i.get(Sf,null)?.forEach(o=>o())})(i)}(function Tv(i=[],r){return Ho.create({name:r,providers:[{provide:Xs,useValue:"platform"},{provide:Z3,useValue:new Set([()=>Zd=null])},...i]})}(de,p))}return function Lv(){const r=I8();if(!r)throw new Be(401,!1);return r}()}}function I8(){return Zd?.get(Ev)??null}function xw(){return!1}let Av=(()=>{class i{static{this.__NG_ELEMENT_ID__=Cw}}return i})();function Cw(i){return function ww(i,r,o){if(Nn(i)&&!o){const p=fs(i.index,r);return new ou(p,p)}return 175&i.type?new ou(r[Lr],r):null}(Hr(),Ri(),!(16&~i))}class Ov{constructor(){}supports(r){return S3(r)}create(r){return new Lw(r)}}const Fv=(i,r)=>r;class Lw{constructor(r){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=r||Fv}forEachItem(r){let o;for(o=this._itHead;null!==o;o=o._next)r(o)}forEachOperation(r){let o=this._itHead,p=this._removalsHead,E=0,P=null;for(;o||p;){const $=!p||o&&o.currentIndex{$=this._trackByFn(E,de),null!==o&&Object.is(o.trackById,$)?(p&&(o=this._verifyReinsertion(o,de,$,E)),Object.is(o.item,de)||this._addIdentityChange(o,de)):(o=this._mismatch(o,de,$,E),p=!0),o=o._next,E++}),this.length=E;return this._truncate(o),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,o,p,E){let P;return null===r?P=this._itTail:(P=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(r.item,o)||this._addIdentityChange(r,o),this._reinsertAfter(r,P,E)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(p,E))?(Object.is(r.item,o)||this._addIdentityChange(r,o),this._moveAfter(r,P,E)):r=this._addAfter(new Dw(o,p),P,E),r}_verifyReinsertion(r,o,p,E){let P=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==P?r=this._reinsertAfter(P,r._prev,E):r.currentIndex!=E&&(r.currentIndex=E,this._addToMoves(r,E)),r}_truncate(r){for(;null!==r;){const o=r._next;this._addToRemovals(this._unlink(r)),r=o}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(r,o,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const E=r._prevRemoved,P=r._nextRemoved;return null===E?this._removalsHead=P:E._nextRemoved=P,null===P?this._removalsTail=E:P._prevRemoved=E,this._insertAfter(r,o,p),this._addToMoves(r,p),r}_moveAfter(r,o,p){return this._unlink(r),this._insertAfter(r,o,p),this._addToMoves(r,p),r}_addAfter(r,o,p){return this._insertAfter(r,o,p),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,o,p){const E=null===o?this._itHead:o._next;return r._next=E,r._prev=o,null===E?this._itTail=r:E._prev=r,null===o?this._itHead=r:o._next=r,null===this._linkedRecords&&(this._linkedRecords=new Nv),this._linkedRecords.put(r),r.currentIndex=p,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const o=r._prev,p=r._next;return null===o?this._itHead=p:o._next=p,null===p?this._itTail=o:p._prev=o,r}_addToMoves(r,o){return r.previousIndex===o||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Nv),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,o){return r.item=o,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class Dw{constructor(r,o){this.item=r,this.trackById=o,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 Aw{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,o){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===o||o<=p.currentIndex)&&Object.is(p.trackById,r))return p;return null}remove(r){const o=r._prevDup,p=r._nextDup;return null===o?this._head=p:o._nextDup=p,null===p?this._tail=o:p._prevDup=o,null===this._head}}class Nv{constructor(){this.map=new Map}put(r){const o=r.trackById;let p=this.map.get(o);p||(p=new Aw,this.map.set(o,p)),p.add(r)}get(r,o){const E=this.map.get(r);return E?E.get(r,o):null}remove(r){const o=r.trackById;return this.map.get(o).remove(r)&&this.map.delete(o),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function P8(i,r,o){const p=i.previousIndex;if(null===p)return p;let E=0;return o&&p{if(o&&o.key===E)this._maybeAddToChanges(o,p),this._appendAfter=o,o=o._next;else{const P=this._getOrCreateRecordForKey(E,p);o=this._insertBeforeOrAppend(o,P)}}),o){o._prev&&(o._prev._next=null),this._removalsHead=o;for(let p=o;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,o){if(r){const p=r._prev;return o._next=r,o._prev=p,r._prev=o,p&&(p._next=o),r===this._mapHead&&(this._mapHead=o),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=o,o._prev=this._appendAfter):this._mapHead=o,this._appendAfter=o,null}_getOrCreateRecordForKey(r,o){if(this._records.has(r)){const E=this._records.get(r);this._maybeAddToChanges(E,o);const P=E._prev,$=E._next;return P&&(P._next=$),$&&($._prev=P),E._next=null,E._prev=null,E}const p=new Iw(r);return this._records.set(r,p),p.currentValue=o,this._addToAdditions(p),p}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,o){Object.is(o,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=o,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,o){r instanceof Map?r.forEach(o):Object.keys(r).forEach(p=>o(r[p],p))}}class Iw{constructor(r){this.key=r,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 Pv(){return new B8([new Ov])}let B8=(()=>{class i{static{this.\u0275prov=Xt({token:i,providedIn:"root",factory:Pv})}constructor(o){this.factories=o}static create(o,p){if(null!=p){const E=p.factories.slice();o=o.concat(E)}return new i(o)}static extend(o){return{provide:i,useFactory:p=>i.create(o,p||Pv()),deps:[[i,new zr,new fo]]}}find(o){const p=this.factories.find(E=>E.supports(o));if(null!=p)return p;throw new Be(901,!1)}}return i})();function zv(){return new V8([new z8])}let V8=(()=>{class i{static{this.\u0275prov=Xt({token:i,providedIn:"root",factory:zv})}constructor(o){this.factories=o}static create(o,p){if(p){const E=p.factories.slice();o=o.concat(E)}return new i(o)}static extend(o){return{provide:i,useFactory:p=>i.create(o,p||zv()),deps:[[i,new zr,new fo]]}}find(o){const p=this.factories.find(E=>E.supports(o));if(p)return p;throw new Be(901,!1)}}return i})();const G8=k8(null,"core",[]);let Fw=(()=>{class i{constructor(o){}static{this.\u0275fac=function(p){return new(p||i)(xr(fd))}}static{this.\u0275mod=Jo({type:i})}static{this.\u0275inj=tt({})}}return i})();function aM(i){return"boolean"==typeof i?i:null!=i&&"false"!==i}function oM(i,r=NaN){return isNaN(parseFloat(i))||isNaN(Number(i))?r:Number(i)}function dM(i,r){zs("NgSignals");const o=function T(i){const r=Object.create(d);r.computation=i;const o=()=>{if(I(r),y(r),r.value===m)throw r.error;return r.value};return o[l]=r,o}(i);return r?.equal&&(o[l].equal=r.equal),o}function hb(i){const r=w(null);try{return i()}finally{w(r)}}const hM=new Ut("",{providedIn:"root",factory:()=>hn(uM)});let uM=(()=>{class i{static{this.\u0275prov=Xt({token:i,providedIn:"root",factory:()=>new fM})}}return i})();class fM{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=hn(jc),this.taskId=null}scheduleEffect(r){if(this.enqueue(r),null===this.taskId){const o=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(o),this.taskId=null})}}enqueue(r){const o=r.creationZone;this.queues.has(o)||this.queues.set(o,new Set);const p=this.queues.get(o);p.has(r)||(this.queuedEffectCount++,p.add(r))}flush(){for(;this.queuedEffectCount>0;)for(const[r,o]of this.queues)null===r?this.flushQueue(o):r.run(()=>this.flushQueue(o))}flushQueue(r){for(const o of r)r.delete(o),this.queuedEffectCount--,o.run()}}class ub{constructor(r,o,p,E,P,$){this.scheduler=r,this.effectFn=o,this.creationZone=p,this.injector=P,this.watcher=function oe(i,r,o){const p=Object.create(se);o&&(p.consumerAllowSignalWrites=!0),p.fn=i,p.schedule=r;const E=Le=>{p.cleanupFn=Le};return p.ref={notify:()=>Y(p),run:()=>{if(null===p.fn)return;if(function R(){return x}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(p.dirty=!1,p.hasRun&&!J(p))return;p.hasRun=!0;const Le=W(p);try{p.cleanupFn(),p.cleanupFn=X,p.fn(E)}finally{Q(p,Le)}},cleanup:()=>p.cleanupFn(),destroy:()=>function $(Le){(function P(Le){return null===Le.fn&&null===Le.schedule})(Le)||(ie(Le),Le.cleanupFn(),Le.fn=null,Le.schedule=null,Le.cleanupFn=X)}(p),[l]:p},p.ref}(de=>this.runEffect(de),()=>this.schedule(),$),this.unregisterOnDestroy=E?.onDestroy(()=>this.destroy())}runEffect(r){try{this.effectFn(r)}catch(o){this.injector.get(Ac,null,{optional:!0})?.handleError(o)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function mM(i,r){zs("NgSignals"),!r?.injector&&pn();const o=r?.injector??hn(Ho),p=!0!==r?.manualCleanup?o.get(Gl):null,E=new ub(o.get(hM),i,typeof Zone>"u"?null:Zone.current,p,o,r?.allowSignalWrites??!1),P=o.get(Av,null,{optional:!0});return P&&8&P._lView[bn]?(P._lView[El]??=[]).push(E.watcher.notify):E.watcher.notify(),E}function ZE(i,r){const o=jn(i),p=r.elementInjector||zc();return new So(o).create(p,r.projectableNodes,r.hostElement,r.environmentInjector)}function qE(i){const r=jn(i);if(!r)return null;const o=new So(r);return{get selector(){return o.selector},get type(){return o.componentType},get inputs(){return o.inputs},get outputs(){return o.outputs},get ngContentSelectors(){return o.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}},9079:(Qe,te,g)=>{"use strict";g.d(te,{ot:()=>f});var e=g(4438);function f(h,S){const y=!S?.manualCleanup;y&&!S?.injector&&(0,e.Af3)(f);const O=y?S?.injector?.get(e.abz)??(0,e.WQX)(e.abz):null,I=function R(h=Object.is){return(S,y)=>1===S.kind&&1===y.kind&&h(S.value,y.value)}(S?.equal);let V;V=(0,e.vPA)(S?.requireSync?{kind:0}:{kind:1,value:S?.initialValue},{equal:I});const j=h.subscribe({next:Y=>V.set({kind:1,value:Y}),error:Y=>{if(S?.rejectErrors)throw Y;V.set({kind:2,error:Y})}});if(S?.requireSync&&0===V().kind)throw new e.wOt(601,!1);return O?.onDestroy(j.unsubscribe.bind(j)),(0,e.EWP)(()=>{const Y=V();switch(Y.kind){case 1:return Y.value;case 2:throw Y.error;case 0:throw new e.wOt(601,!1)}},{equal:S?.equal})}},4545:(Qe,te,g)=>{"use strict";function e(S){for(let y in S){let O=S[y]??"";switch(y){case"display":S.display="flex"===O?["-webkit-flex","flex"]:"inline-flex"===O?["-webkit-inline-flex","inline-flex"]:O;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":S["-webkit-"+y]=O;break;case"flex-direction":S["-webkit-flex-direction"]=O,S["flex-direction"]=O;break;case"order":S.order=S["-webkit-"+y]=isNaN(+O)?"0":O}}return S}g.d(te,{C5:()=>h,O5:()=>e,Uo:()=>x,Vc:()=>w,uG:()=>D});const t="inline",x=["row","column","row-reverse","column-reverse"];function D(S){let[y,O,I]=l(S);return function R(S,y=null,O=!1){return{display:O?"inline-flex":"flex","box-sizing":"border-box","flex-direction":S,"flex-wrap":y||null}}(y,O,I)}function l(S){S=S?.toLowerCase()??"";let[y,O,I]=S.split(" ");return x.find(V=>V===y)||(y=x[0]),O===t&&(O=I!==t?I:"",I=t),[y,f(O),!!I]}function w(S){let[y]=l(S);return y.indexOf("row")>-1}function f(S){if(S)switch(S.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":S="wrap-reverse";break;case"no":case"none":case"nowrap":S="nowrap";break;default:S="wrap"}return S}function h(S,...y){if(null==S)throw TypeError("Cannot convert undefined or null to object");for(let O of y)if(null!=O)for(let I in O)O.hasOwnProperty(I)&&(S[I]=O[I]);return S}},9340:(Qe,te,g)=>{"use strict";g.d(te,{Ce:()=>Q,DJ:()=>ct,EA:()=>W,PV:()=>Y,SL:()=>J,Ui:()=>I,ZH:()=>fe,cL:()=>Nt,hN:()=>$e,qH:()=>Be,r3:()=>ee});var e=g(4438),t=g(177),x=g(4412),D=g(1985),l=g(7786),w=g(1413),f=g(4545),R=g(5964),h=g(8141);const y={provide:e.iLQ,useFactory:function S(yt,jt){return()=>{if((0,t.UE)(jt)){const Je=Array.from(yt.querySelectorAll(`[class*=${O}]`)),et=/\bflex-layout-.+?\b/g;Je.forEach(Ae=>{Ae.classList.contains(`${O}ssr`)&&Ae.parentNode?Ae.parentNode.removeChild(Ae):Ae.className.replace(et,"")})}}},deps:[t.qQ,e.Agw],multi:!0},O="flex-layout-";let I=(()=>{class yt{}return yt.\u0275fac=function(Je){return new(Je||yt)},yt.\u0275mod=e.$C({type:yt}),yt.\u0275inj=e.G2t({providers:[y]}),yt})();class V{constructor(jt=!1,Je="all",et="",Ae="",It=0){this.matches=jt,this.mediaQuery=Je,this.mqAlias=et,this.suffix=Ae,this.priority=It,this.property=""}clone(){return new V(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let j=(()=>{class yt{constructor(){this.stylesheet=new Map}addStyleToElement(Je,et,Ae){const It=this.stylesheet.get(Je);It?It.set(et,Ae):this.stylesheet.set(Je,new Map([[et,Ae]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(Je,et){const Ae=this.stylesheet.get(Je);let It="";if(Ae){const Qt=Ae.get(et);("number"==typeof Qt||"string"==typeof Qt)&&(It=Qt+"")}return It}}return yt.\u0275fac=function(Je){return new(Je||yt)},yt.\u0275prov=e.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const Y={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},W=new e.nKC("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Y}),Q=new e.nKC("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),J=new e.nKC("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function ie(yt,jt){return yt=yt?.clone()??new V,jt&&(yt.mqAlias=jt.alias,yt.mediaQuery=jt.mediaQuery,yt.suffix=jt.suffix,yt.priority=jt.priority),yt}class ee{constructor(){this.shouldCache=!0}sideEffect(jt,Je,et){}}let fe=(()=>{class yt{constructor(Je,et,Ae,It){this._serverStylesheet=Je,this._serverModuleLoaded=et,this._platformId=Ae,this.layoutConfig=It}applyStyleToElement(Je,et,Ae=null){let It={};"string"==typeof et&&(It[et]=Ae,et=It),It=this.layoutConfig.disableVendorPrefixes?et:(0,f.O5)(et),this._applyMultiValueStyleToElement(It,Je)}applyStyleToElements(Je,et=[]){const Ae=this.layoutConfig.disableVendorPrefixes?Je:(0,f.O5)(Je);et.forEach(It=>{this._applyMultiValueStyleToElement(Ae,It)})}getFlowDirection(Je){const et="flex-direction";let Ae=this.lookupStyle(Je,et);return[Ae||"row",this.lookupInlineStyle(Je,et)||(0,t.Vy)(this._platformId)&&this._serverModuleLoaded?Ae:""]}hasWrap(Je){return"wrap"===this.lookupStyle(Je,"flex-wrap")}lookupAttributeValue(Je,et){return Je.getAttribute(et)??""}lookupInlineStyle(Je,et){return(0,t.UE)(this._platformId)?Je.style.getPropertyValue(et):function ne(yt,jt){return le(yt)[jt]??""}(Je,et)}lookupStyle(Je,et,Ae=!1){let It="";return Je&&((It=this.lookupInlineStyle(Je,et))||((0,t.UE)(this._platformId)?Ae||(It=getComputedStyle(Je).getPropertyValue(et)):this._serverModuleLoaded&&(It=this._serverStylesheet.getStyleForElement(Je,et)))),It?It.trim():""}_applyMultiValueStyleToElement(Je,et){Object.keys(Je).sort().forEach(Ae=>{const It=Je[Ae],Qt=Array.isArray(It)?It:[It];Qt.sort();for(let Tt of Qt)Tt=Tt?Tt+"":"",(0,t.UE)(this._platformId)||!this._serverModuleLoaded?(0,t.UE)(this._platformId)?et.style.setProperty(Ae,Tt):Me(et,Ae,Tt):this._serverStylesheet.addStyleToElement(et,Ae,Tt)})}}return yt.\u0275fac=function(Je){return new(Je||yt)(e.KVO(j),e.KVO(Q),e.KVO(e.Agw),e.KVO(W))},yt.\u0275prov=e.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();function Me(yt,jt,Je){jt=jt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const et=le(yt);et[jt]=Je??"",function Ce(yt,jt){let Je="";for(const et in jt)jt[et]&&(Je+=`${et}:${jt[et]};`);yt.setAttribute("style",Je)}(yt,et)}function le(yt){const jt={},Je=yt.getAttribute("style");if(Je){const et=Je.split(/;+/g);for(let Ae=0;Ae0){const Qt=It.indexOf(":");if(-1===Qt)throw new Error(`Invalid CSS style: ${It}`);jt[It.substr(0,Qt).trim()]=It.substr(Qt+1).trim()}}}return jt}function T(yt,jt){return(jt&&jt.priority||0)-(yt&&yt.priority||0)}function n(yt,jt){return(yt.priority||0)-(jt.priority||0)}let c=(()=>{class yt{constructor(Je,et,Ae){this._zone=Je,this._platformId=et,this._document=Ae,this.source=new x.t(new V(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const Je=[];return this.registry.forEach((et,Ae)=>{et.matches&&Je.push(Ae)}),Je}isActive(Je){return this.registry.get(Je)?.matches??this.registerQuery(Je).some(Ae=>Ae.matches)}observe(Je,et=!1){if(Je&&Je.length){const Ae=this._observable$.pipe((0,R.p)(Qt=>!et||Je.indexOf(Qt.mediaQuery)>-1)),It=new D.c(Qt=>{const Tt=this.registerQuery(Je);if(Tt.length){const xt=Tt.pop();Tt.forEach(Se=>{Qt.next(Se)}),this.source.next(xt)}Qt.complete()});return(0,l.h)(It,Ae)}return this._observable$}registerQuery(Je){const et=Array.isArray(Je)?Je:[Je],Ae=[];return function d(yt,jt){const Je=yt.filter(et=>!m[et]);if(Je.length>0){const et=Je.join(", ");try{const Ae=jt.createElement("style");Ae.setAttribute("type","text/css"),Ae.styleSheet||Ae.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 ${et} {.fx-query-test{ }}\n`)),jt.head.appendChild(Ae),Je.forEach(It=>m[It]=Ae)}catch(Ae){console.error(Ae)}}}(et,this._document),et.forEach(It=>{const Qt=xt=>{this._zone.run(()=>this.source.next(new V(xt.matches,It)))};let Tt=this.registry.get(It);Tt||(Tt=this.buildMQL(It),Tt.addListener(Qt),this.pendingRemoveListenerFns.push(()=>Tt.removeListener(Qt)),this.registry.set(It,Tt)),Tt.matches&&Ae.push(new V(!0,It))}),Ae}ngOnDestroy(){let Je;for(;Je=this.pendingRemoveListenerFns.pop();)Je()}buildMQL(Je){return function A(yt,jt){return jt&&window.matchMedia("all").addListener?window.matchMedia(yt):function C(yt){const jt=new EventTarget;return jt.matches="all"===yt||""===yt,jt.media=yt,jt.addListener=()=>{},jt.removeListener=()=>{},jt.addEventListener=()=>{},jt.dispatchEvent=()=>!1,jt.onchange=null,jt}(yt)}(Je,(0,t.UE)(this._platformId))}}return yt.\u0275fac=function(Je){return new(Je||yt)(e.KVO(e.SKi),e.KVO(e.Agw),e.KVO(t.qQ))},yt.\u0275prov=e.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const m={},k=[{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)",a="(orientation: landscape) and (max-width: 959.98px)",b="(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)",q="(orientation: landscape) and (min-width: 1280px)",pe={HANDSET:`${_}, ${a}`,TABLET:`${b} , ${z}`,WEB:`${N}, ${q} `,HANDSET_PORTRAIT:`${_}`,TABLET_PORTRAIT:`${b} `,WEB_PORTRAIT:`${N}`,HANDSET_LANDSCAPE:`${a}`,TABLET_LANDSCAPE:`${z}`,WEB_LANDSCAPE:`${q}`},ze=[{alias:"handset",priority:2e3,mediaQuery:pe.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:pe.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:pe.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:pe.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:pe.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:pe.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:pe.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:pe.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:pe.WEB_PORTRAIT,overlapping:!0}],Xe=/(\.|-|_)/g;function We(yt){let jt=yt.length>0?yt.charAt(0):"",Je=yt.length>1?yt.slice(1):"";return jt.toUpperCase()+Je}const ae=new e.nKC("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const yt=(0,e.WQX)(J),jt=(0,e.WQX)(W),Je=[].concat.apply([],(yt||[]).map(Ae=>Array.isArray(Ae)?Ae:[Ae]));return function se(yt,jt=[]){const Je={};return yt.forEach(et=>{Je[et.alias]=et}),jt.forEach(et=>{Je[et.alias]?(0,f.C5)(Je[et.alias],et):Je[et.alias]=et}),function X(yt){return yt.forEach(jt=>{jt.suffix||(jt.suffix=function oe(yt){return yt.replace(Xe,"|").split("|").map(We).join("")}(jt.alias),jt.overlapping=!!jt.overlapping)}),yt}(Object.keys(Je).map(et=>Je[et]))}((jt.disableDefaultBps?[]:k).concat(jt.addOrientationBps?ze:[]),Je)}});let he=(()=>{class yt{constructor(Je){this.findByMap=new Map,this.items=[...Je].sort(n)}findByAlias(Je){return Je?this.findWithPredicate(Je,et=>et.alias===Je):null}findByQuery(Je){return this.findWithPredicate(Je,et=>et.mediaQuery===Je)}get overlappings(){return this.items.filter(Je=>Je.overlapping)}get aliases(){return this.items.map(Je=>Je.alias)}get suffixes(){return this.items.map(Je=>Je?.suffix??"")}findWithPredicate(Je,et){let Ae=this.findByMap.get(Je);return Ae||(Ae=this.items.find(et)??null,this.findByMap.set(Je,Ae)),Ae??null}}return yt.\u0275fac=function(Je){return new(Je||yt)(e.KVO(ae))},yt.\u0275prov=e.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const Ie="print",st={alias:Ie,mediaQuery:Ie,priority:1e3};let me=(()=>{class yt{constructor(Je,et,Ae){this.breakpoints=Je,this.layoutConfig=et,this._document=Ae,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new Ee,this.deactivations=[]}withPrintQuery(Je){return[...Je,Ie]}isPrintEvent(Je){return Je.mediaQuery.startsWith(Ie)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(Je=>this.breakpoints.findByAlias(Je)).filter(Je=>null!==Je)}getEventBreakpoints({mediaQuery:Je}){const et=this.breakpoints.findByQuery(Je);return(et?[...this.printBreakPoints,et]:this.printBreakPoints).sort(T)}updateEvent(Je){let et=this.breakpoints.findByQuery(Je.mediaQuery);return this.isPrintEvent(Je)&&(et=this.getEventBreakpoints(Je)[0],Je.mediaQuery=et?.mediaQuery??""),ie(Je,et)}registerBeforeAfterPrintHooks(Je){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const et=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(Je,this.getEventBreakpoints(new V(!0,Ie))),Je.updateStyles())},Ae=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(Je),Je.updateStyles())};this._document.defaultView.addEventListener("beforeprint",et),this._document.defaultView.addEventListener("afterprint",Ae),this.beforePrintEventListeners.push(et),this.afterPrintEventListeners.push(Ae)}interceptEvents(Je){return et=>{this.isPrintEvent(et)?et.matches&&!this.isPrinting?(this.startPrinting(Je,this.getEventBreakpoints(et)),Je.updateStyles()):!et.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(Je),Je.updateStyles()):this.collectActivations(Je,et)}}blockPropagation(){return Je=>!(this.isPrinting||this.isPrintEvent(Je))}startPrinting(Je,et){this.isPrinting=!0,this.formerActivations=Je.activatedBreakpoints,Je.activatedBreakpoints=this.queue.addPrintBreakpoints(et)}stopPrinting(Je){Je.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(Je,et){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!et.matches){const Ae=this.breakpoints.findByQuery(et.mediaQuery);if(Ae){const It=this.formerActivations&&this.formerActivations.includes(Ae),Qt=!this.formerActivations&&Je.activatedBreakpoints.includes(Ae);(It||Qt)&&(this.deactivations.push(Ae),this.deactivations.sort(T))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(Je=>this._document.defaultView.removeEventListener("beforeprint",Je)),this.afterPrintEventListeners.forEach(Je=>this._document.defaultView.removeEventListener("afterprint",Je)))}}return yt.\u0275fac=function(Je){return new(Je||yt)(e.KVO(he),e.KVO(W),e.KVO(t.qQ))},yt.\u0275prov=e.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();class Ee{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(jt){return jt.push(st),jt.sort(T),jt.forEach(Je=>this.addBreakpoint(Je)),this.printBreakpoints}addBreakpoint(jt){jt&&void 0===this.printBreakpoints.find(et=>et.mediaQuery===jt.mediaQuery)&&(this.printBreakpoints=function ue(yt){return yt?.mediaQuery.startsWith(Ie)??!1}(jt)?[jt,...this.printBreakpoints]:[...this.printBreakpoints,jt])}clear(){this.printBreakpoints=[]}}let Be=(()=>{class yt{constructor(Je,et,Ae){this.matchMedia=Je,this.breakpoints=et,this.hook=Ae,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 w.B,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(Je){this._activatedBreakpoints=[...Je]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(Je){this._useFallbacks=Je}onMediaChange(Je){const et=this.findByQuery(Je.mediaQuery);if(et){Je=ie(Je,et);const Ae=this.activatedBreakpoints.indexOf(et);Je.matches&&-1===Ae?(this._activatedBreakpoints.push(et),this._activatedBreakpoints.sort(T),this.updateStyles()):!Je.matches&&-1!==Ae&&(this._activatedBreakpoints.splice(Ae,1),this._activatedBreakpoints.sort(T),this.updateStyles())}}init(Je,et,Ae,It,Qt=[]){Ct(this.updateMap,Je,et,Ae),Ct(this.clearMap,Je,et,It),this.buildElementKeyMap(Je,et),this.watchExtraTriggers(Je,et,Qt)}getValue(Je,et,Ae){const It=this.elementMap.get(Je);if(It){const Qt=void 0!==Ae?It.get(Ae):this.getActivatedValues(It,et);if(Qt)return Qt.get(et)}}hasValue(Je,et){const Ae=this.elementMap.get(Je);if(Ae){const It=this.getActivatedValues(Ae,et);if(It)return void 0!==It.get(et)||!1}return!1}setValue(Je,et,Ae,It){let Qt=this.elementMap.get(Je);if(Qt){const xt=(Qt.get(It)??new Map).set(et,Ae);Qt.set(It,xt),this.elementMap.set(Je,Qt)}else Qt=(new Map).set(It,(new Map).set(et,Ae)),this.elementMap.set(Je,Qt);const Tt=this.getValue(Je,et);void 0!==Tt&&this.updateElement(Je,et,Tt)}trackValue(Je,et){return this.subject.asObservable().pipe((0,R.p)(Ae=>Ae.element===Je&&Ae.key===et))}updateStyles(){this.elementMap.forEach((Je,et)=>{const Ae=new Set(this.elementKeyMap.get(et));let It=this.getActivatedValues(Je);It&&It.forEach((Qt,Tt)=>{this.updateElement(et,Tt,Qt),Ae.delete(Tt)}),Ae.forEach(Qt=>{if(It=this.getActivatedValues(Je,Qt),It){const Tt=It.get(Qt);this.updateElement(et,Qt,Tt)}else this.clearElement(et,Qt)})})}clearElement(Je,et){const Ae=this.clearMap.get(Je);if(Ae){const It=Ae.get(et);It&&(It(),this.subject.next({element:Je,key:et,value:""}))}}updateElement(Je,et,Ae){const It=this.updateMap.get(Je);if(It){const Qt=It.get(et);Qt&&(Qt(Ae),this.subject.next({element:Je,key:et,value:Ae}))}}releaseElement(Je){const et=this.watcherMap.get(Je);et&&(et.forEach(It=>It.unsubscribe()),this.watcherMap.delete(Je));const Ae=this.elementMap.get(Je);Ae&&(Ae.forEach((It,Qt)=>Ae.delete(Qt)),this.elementMap.delete(Je))}triggerUpdate(Je,et){const Ae=this.elementMap.get(Je);if(Ae){const It=this.getActivatedValues(Ae,et);It&&(et?this.updateElement(Je,et,It.get(et)):It.forEach((Qt,Tt)=>this.updateElement(Je,Tt,Qt)))}}buildElementKeyMap(Je,et){let Ae=this.elementKeyMap.get(Je);Ae||(Ae=new Set,this.elementKeyMap.set(Je,Ae)),Ae.add(et)}watchExtraTriggers(Je,et,Ae){if(Ae&&Ae.length){let It=this.watcherMap.get(Je);if(It||(It=new Map,this.watcherMap.set(Je,It)),!It.get(et)){const Tt=(0,l.h)(...Ae).subscribe(()=>{const xt=this.getValue(Je,et);this.updateElement(Je,et,xt)});It.set(et,Tt)}}}findByQuery(Je){return this.breakpoints.findByQuery(Je)}getActivatedValues(Je,et){for(let It=0;Itet.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(Je)).pipe((0,h.M)(this.hook.interceptEvents(this)),(0,R.p)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return yt.\u0275fac=function(Je){return new(Je||yt)(e.KVO(c),e.KVO(he),e.KVO(me))},yt.\u0275prov=e.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();function Ct(yt,jt,Je,et){if(void 0!==et){const Ae=yt.get(jt)??new Map;Ae.set(Je,et),yt.set(jt,Ae)}}let ct=(()=>{class yt{constructor(Je,et,Ae,It){this.elementRef=Je,this.styleBuilder=et,this.styler=Ae,this.marshal=It,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new w.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(Je){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Je,this.marshal.activatedAlias)}ngOnChanges(Je){Object.keys(Je).forEach(et=>{if(-1!==this.inputs.indexOf(et)){const Ae=et.split(".").slice(1).join(".");this.setValue(Je[et].currentValue,Ae)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(Je=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),Je)}addStyles(Je,et){const Ae=this.styleBuilder,It=Ae.shouldCache;let Qt=this.styleCache.get(Je);(!Qt||!It)&&(Qt=Ae.buildStyles(Je,et),It&&this.styleCache.set(Je,Qt)),this.mru={...Qt},this.applyStyleToElement(Qt),Ae.sideEffect(Je,Qt,et)}clearStyles(){Object.keys(this.mru).forEach(Je=>{this.mru[Je]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(Je,et=!1){if(Je){const[Ae,It]=this.styler.getFlowDirection(Je);if(!It&&et){const Qt=(0,f.uG)(Ae);this.styler.applyStyleToElements(Qt,[Je])}return Ae.trim()}return"row"}hasWrap(Je){return this.styler.hasWrap(Je)}applyStyleToElement(Je,et,Ae=this.nativeElement){this.styler.applyStyleToElement(Ae,Je,et)}setValue(Je,et){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Je,et)}updateWithValue(Je){this.currentValue!==Je&&(this.addStyles(Je),this.currentValue=Je)}}return yt.\u0275fac=function(Je){return new(Je||yt)(e.rXU(e.aKT),e.rXU(ee),e.rXU(fe),e.rXU(Be))},yt.\u0275dir=e.FsC({type:yt,features:[e.OA$]}),yt})();function $e(yt,jt="1",Je="1"){let et=[jt,Je,yt],Ae=yt.indexOf("calc");if(Ae>0){et[2]=nt(yt.substring(Ae).trim());let It=yt.substr(0,Ae).trim().split(" ");2==It.length&&(et[0]=It[0],et[1]=It[1])}else if(0==Ae)et[2]=nt(yt.trim());else{let It=yt.split(" ");et=3===It.length?It:[jt,Je,yt]}return et}function nt(yt){return yt.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}EventTarget;const qt="x";function Nt(yt,jt){if(void 0===jt)return yt;const Je=et=>{const Ae=+et.slice(0,-qt.length);return yt.endsWith(qt)&&!isNaN(Ae)?`${Ae*jt.value}${jt.unit}`:yt};return yt.includes(" ")?yt.split(" ").map(Je).join(" "):Je(yt)}},6038:(Qe,te,g)=>{"use strict";g.d(te,{Cc:()=>a,PW:()=>Y,eI:()=>A});var e=g(4438),t=g(9340),x=g(177),w=(g(4085),g(6977),g(345));let I=(()=>{class b extends t.DJ{constructor(N,q,pe,ze,Xe,We,oe){super(N,null,q,pe),this.ngClassInstance=oe,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new x.YU(ze,Xe,N,We)),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 b.\u0275fac=function(N){return new(N||b)(e.rXU(e.aKT),e.rXU(t.ZH),e.rXU(t.qH),e.rXU(e._q3),e.rXU(e.MKu),e.rXU(e.sFG),e.rXU(x.YU,10))},b.\u0275dir=e.FsC({type:b,inputs:{klass:[0,"class","klass"]},features:[e.Vt3]}),b})();const V=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let Y=(()=>{class b extends I{constructor(){super(...arguments),this.inputs=V}}return b.\u0275fac=(()=>{let z;return function(q){return(z||(z=e.xGo(b)))(q||b)}})(),b.\u0275dir=e.FsC({type:b,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[e.Vt3]}),b})();class ne{constructor(z,N,q=!0){this.key=z,this.value=N,this.key=q?z.replace(/['"]/g,"").trim():z.trim(),this.value=q?N.replace(/['"]/g,"").trim():N.trim(),this.value=this.value.replace(/;/,"")}}function Me(b){let z=typeof b;return"object"===z?b.constructor===Array?"array":b.constructor===Set?"set":"object":z}function n(b){const[z,...N]=b.split(":");return new ne(z,N.join(":"))}function c(b,z){return z.key&&(b[z.key]=z.value),b}let m=(()=>{class b extends t.DJ{constructor(N,q,pe,ze,Xe,We,oe,X,se){super(N,null,q,pe),this.sanitizer=ze,this.ngStyleInstance=oe,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new x.B3(N,Xe,We)),this.init();const ae=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(ae),this.isServer=X&&(0,x.Vy)(se)}updateWithValue(N){const q=this.buildStyleMap(N);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...q},this.isServer&&this.applyStyleToElement(q),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(N){const q=pe=>this.sanitizer.sanitize(e.WPN.STYLE,pe)??"";if(N)switch(Me(N)){case"string":return k(function Ce(b,z=";"){return String(b).trim().split(z).map(N=>N.trim()).filter(N=>""!==N)}(N),q);case"array":return k(N,q);default:return function T(b,z){let N=[];return"set"===Me(b)?b.forEach(q=>N.push(q)):Object.keys(b).forEach(q=>{N.push(`${q}:${b[q]}`)}),function le(b,z){return b.map(n).filter(q=>!!q).map(q=>(z&&(q.value=z(q.value)),q)).reduce(c,{})}(N,z)}(N,q)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return b.\u0275fac=function(N){return new(N||b)(e.rXU(e.aKT),e.rXU(t.ZH),e.rXU(t.qH),e.rXU(w.up),e.rXU(e.MKu),e.rXU(e.sFG),e.rXU(x.B3,10),e.rXU(t.Ce),e.rXU(e.Agw))},b.\u0275dir=e.FsC({type:b,features:[e.Vt3]}),b})();const d=["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 A=(()=>{class b extends m{constructor(){super(...arguments),this.inputs=d}}return b.\u0275fac=(()=>{let z;return function(q){return(z||(z=e.xGo(b)))(q||b)}})(),b.\u0275dir=e.FsC({type:b,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[e.Vt3]}),b})();function k(b,z){return b.map(n).filter(q=>!!q).map(q=>(z&&(q.value=z(q.value)),q)).reduce(c,{})}let a=(()=>{class b{}return b.\u0275fac=function(N){return new(N||b)},b.\u0275mod=e.$C({type:b}),b.\u0275inj=e.G2t({imports:[t.Ui]}),b})()},2920:(Qe,te,g)=>{"use strict";g.d(te,{DJ:()=>y,UI:()=>C,sA:()=>$e,w2:()=>Qt});var e=g(4438),t=g(8203),x=g(9340),D=g(4545),w=(g(1413),g(6977));let f=(()=>{class Tt extends x.r3{buildStyles(Se,{display:Te}){const ce=(0,D.uG)(Se);return{...ce,display:"none"===Te?Te:ce.display}}}return Tt.\u0275fac=(()=>{let xt;return function(Te){return(xt||(xt=e.xGo(Tt)))(Te||Tt)}})(),Tt.\u0275prov=e.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"}),Tt})();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 S=(()=>{class Tt extends x.DJ{constructor(Se,Te,ce,Z,Re){super(Se,ce,Te,Z),this._config=Re,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(Se){const ce=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=O.get(ce)??new Map,O.set(ce,this.styleCache),this.currentValue!==Se&&(this.addStyles(Se,{display:ce}),this.currentValue=Se)}}return Tt.\u0275fac=function(Se){return new(Se||Tt)(e.rXU(e.aKT),e.rXU(x.ZH),e.rXU(f),e.rXU(x.qH),e.rXU(x.EA))},Tt.\u0275dir=e.FsC({type:Tt,features:[e.Vt3]}),Tt})(),y=(()=>{class Tt extends S{constructor(){super(...arguments),this.inputs=R}}return Tt.\u0275fac=(()=>{let xt;return function(Te){return(xt||(xt=e.xGo(Tt)))(Te||Tt)}})(),Tt.\u0275dir=e.FsC({type:Tt,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[e.Vt3]}),Tt})();const O=new Map;let n=(()=>{class Tt extends x.r3{constructor(Se){super(),this.layoutConfig=Se}buildStyles(Se,Te){let[ce,Z,...Re]=Se.split(" "),Pe=Re.join(" ");const pt=Te.direction.indexOf("column")>-1?"column":"row",Ke=(0,D.Vc)(pt)?"max-width":"max-height",Fe=(0,D.Vc)(pt)?"min-width":"min-height",Ge=String(Pe).indexOf("calc")>-1,qe=Ge||"auto"===Pe,at=String(Pe).indexOf("%")>-1&&!Ge,Lt=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 pi=Ge||Lt;ce="0"==ce?0:ce,Z="0"==Z?0:Z;const $t=!ce&&!Z;let Kt={};const Ui={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Pe||""){case"":Pe="row"===pt?"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":Z=0,Pe="auto";break;case"auto":break;case"none":ce=0,Z=0,Pe="auto";break;default:!pi&&!at&&!isNaN(Pe)&&(Pe+="%"),"0%"===Pe&&(pi=!0),"0px"===Pe&&(Pe="0%"),Kt=(0,D.C5)(Ui,Ge?{"flex-grow":ce,"flex-shrink":Z,"flex-basis":pi?Pe:"100%"}:{flex:`${ce} ${Z} ${pi?Pe:"100%"}`})}return Kt.flex||Kt["flex-grow"]||(Kt=(0,D.C5)(Ui,Ge?{"flex-grow":ce,"flex-shrink":Z,"flex-basis":Pe}:{flex:`${ce} ${Z} ${Pe}`})),"0%"!==Pe&&"0px"!==Pe&&"0.000000001px"!==Pe&&"auto"!==Pe&&(Kt[Fe]=$t||pi&&ce?Pe:null,Kt[Ke]=$t||!qe&&Z?Pe:null),Kt[Fe]||Kt[Ke]?Te.hasWrap&&(Kt[Ge?"flex-basis":"flex"]=Kt[Ke]?Ge?Kt[Ke]:`${ce} ${Z} ${Kt[Ke]}`:Ge?Kt[Fe]:`${ce} ${Z} ${Kt[Fe]}`):Kt=(0,D.C5)(Ui,Ge?{"flex-grow":ce,"flex-shrink":Z,"flex-basis":Pe}:{flex:`${ce} ${Z} ${Pe}`}),(0,D.C5)(Kt,{"box-sizing":"border-box"})}}return Tt.\u0275fac=function(Se){return new(Se||Tt)(e.KVO(x.EA))},Tt.\u0275prov=e.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"}),Tt})();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 d=(()=>{class Tt extends x.DJ{constructor(Se,Te,ce,Z,Re){super(Se,Z,Te,Re),this.layoutConfig=ce,this.marshal=Re,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(Se){this.flexShrink=Se||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(Se){this.flexGrow=Se||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,w.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,w.Q)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(Se){const ce=Se.value.split(" ");this.direction=ce[0],this.wrap=void 0!==ce[1]&&"wrap"===ce[1],this.triggerUpdate()}updateWithValue(Se){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,Z=ce.startsWith("row"),Re=this.wrap;Z&&Re?this.styleCache=_:Z&&!Re?this.styleCache=A:!Z&&Re?this.styleCache=a:!Z&&!Re&&(this.styleCache=k);const Pe=String(Se).replace(";",""),pt=(0,x.hN)(Pe,this.flexGrow,this.flexShrink);this.addStyles(pt.join(" "),{direction:ce,hasWrap:Re})}triggerReflow(){const Se=this.activatedValue;if(void 0!==Se){const Te=(0,x.hN)(Se+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,Te.join(" "))}}}return Tt.\u0275fac=function(Se){return new(Se||Tt)(e.rXU(e.aKT),e.rXU(x.ZH),e.rXU(x.EA),e.rXU(n),e.rXU(x.qH))},Tt.\u0275dir=e.FsC({type:Tt,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},features:[e.Vt3]}),Tt})(),C=(()=>{class Tt extends d{constructor(){super(...arguments),this.inputs=c}}return Tt.\u0275fac=(()=>{let xt;return function(Te){return(xt||(xt=e.xGo(Tt)))(Te||Tt)}})(),Tt.\u0275dir=e.FsC({type:Tt,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[e.Vt3]}),Tt})();const A=new Map,k=new Map,_=new Map,a=new Map;let we=(()=>{class Tt extends x.r3{buildStyles(Se,Te){const ce={},[Z,Re]=Se.split(" ");switch(Z){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(Re){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,D.C5)(ce,{display:Te.inline?"inline-flex":"flex","flex-direction":Te.layout,"box-sizing":"border-box","max-width":"stretch"===Re?(0,D.Vc)(Te.layout)?null:"100%":null,"max-height":"stretch"===Re&&(0,D.Vc)(Te.layout)?"100%":null})}}return Tt.\u0275fac=(()=>{let xt;return function(Te){return(xt||(xt=e.xGo(Tt)))(Te||Tt)}})(),Tt.\u0275prov=e.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"}),Tt})();const Ue=["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 vt=(()=>{class Tt extends x.DJ{constructor(Se,Te,ce,Z){super(Se,ce,Te,Z),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,w.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(Se){const Te=this.layout||"row",ce=this.inline;"row"===Te&&ce?this.styleCache=jt:"row"!==Te||ce?"row-reverse"===Te&&ce?this.styleCache=et:"row-reverse"!==Te||ce?"column"===Te&&ce?this.styleCache=Je:"column"!==Te||ce?"column-reverse"===Te&&ce?this.styleCache=Ae:"column-reverse"===Te&&!ce&&(this.styleCache=yt):this.styleCache=qt:this.styleCache=Nt:this.styleCache=nt,this.addStyles(Se,{layout:Te,inline:ce})}onLayoutChange(Se){const Te=Se.value.split(" ");this.layout=Te[0],this.inline=Se.value.includes("inline"),D.Uo.find(ce=>ce===this.layout)||(this.layout="row"),this.triggerUpdate()}}return Tt.\u0275fac=function(Se){return new(Se||Tt)(e.rXU(e.aKT),e.rXU(x.ZH),e.rXU(we),e.rXU(x.qH))},Tt.\u0275dir=e.FsC({type:Tt,features:[e.Vt3]}),Tt})(),$e=(()=>{class Tt extends vt{constructor(){super(...arguments),this.inputs=Ue}}return Tt.\u0275fac=(()=>{let xt;return function(Te){return(xt||(xt=e.xGo(Tt)))(Te||Tt)}})(),Tt.\u0275dir=e.FsC({type:Tt,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[e.Vt3]}),Tt})();const nt=new Map,qt=new Map,Nt=new Map,yt=new Map,jt=new Map,Je=new Map,et=new Map,Ae=new Map;let Qt=(()=>{class Tt{}return Tt.\u0275fac=function(Se){return new(Se||Tt)},Tt.\u0275mod=e.$C({type:Tt}),Tt.\u0275inj=e.G2t({imports:[x.Ui,t.jI]}),Tt})()},9417:(Qe,te,g)=>{"use strict";g.d(te,{BC:()=>ue,JD:()=>Ba,Q0:()=>wa,VZ:()=>Ro,X1:()=>Pi,YN:()=>Gr,YS:()=>$r,cV:()=>Jn,cb:()=>Be,cz:()=>Q,hs:()=>Ai,j4:()=>Ur,k0:()=>ee,kq:()=>h,l_:()=>za,me:()=>j,ok:()=>ao,qT:()=>fr,vO:()=>Ie,vS:()=>Xr,xq:()=>pa,zX:()=>no,ze:()=>$a});var e=g(4438),t=g(177),x=g(2806),D=g(7468),l=g(1413),w=g(6354);let f=(()=>{class it{constructor(Ve,Dt){this._renderer=Ve,this._elementRef=Dt,this.onChange=ai=>{},this.onTouched=()=>{}}setProperty(Ve,Dt){this._renderer.setProperty(this._elementRef.nativeElement,Ve,Dt)}registerOnTouched(Ve){this.onTouched=Ve}registerOnChange(Ve){this.onChange=Ve}setDisabledState(Ve){this.setProperty("disabled",Ve)}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(e.sFG),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:it})}}return it})(),R=(()=>{class it extends f{static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275dir=e.FsC({type:it,features:[e.Vt3]})}}return it})();const h=new e.nKC(""),O={provide:h,useExisting:(0,e.Rfq)(()=>j),multi:!0},V=new e.nKC("");let j=(()=>{class it extends f{constructor(Ve,Dt,ai){super(Ve,Dt),this._compositionMode=ai,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function I(){const it=(0,t.QT)()?(0,t.QT)().getUserAgent():"";return/android (\d+)/.test(it.toLowerCase())}())}writeValue(Ve){this.setProperty("value",Ve??"")}_handleInput(Ve){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ve)}_compositionStart(){this._composing=!0}_compositionEnd(Ve){this._composing=!1,this._compositionMode&&this.onChange(Ve)}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(V,8))}}static{this.\u0275dir=e.FsC({type:it,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(Dt,ai){1&Dt&&e.bIt("input",function(er){return ai._handleInput(er.target.value)})("blur",function(){return ai.onTouched()})("compositionstart",function(){return ai._compositionStart()})("compositionend",function(er){return ai._compositionEnd(er.target.value)})},features:[e.Jv_([O]),e.Vt3]})}}return it})();function Y(it){return null==it||("string"==typeof it||Array.isArray(it))&&0===it.length}function W(it){return null!=it&&"number"==typeof it.length}const Q=new e.nKC(""),J=new e.nKC(""),ie=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ee{static min(ut){return fe(ut)}static max(ut){return ne(ut)}static required(ut){return Me(ut)}static requiredTrue(ut){return Ce(ut)}static email(ut){return function le(it){return Y(it.value)||ie.test(it.value)?null:{email:!0}}(ut)}static minLength(ut){return function T(it){return ut=>Y(ut.value)||!W(ut.value)?null:ut.value.lengthW(ut.value)&&ut.value.length>it?{maxlength:{requiredLength:it,actualLength:ut.value.length}}:null}(ut)}static pattern(ut){return function c(it){if(!it)return m;let ut,Ve;return"string"==typeof it?(Ve="","^"!==it.charAt(0)&&(Ve+="^"),Ve+=it,"$"!==it.charAt(it.length-1)&&(Ve+="$"),ut=new RegExp(Ve)):(Ve=it.toString(),ut=it),Dt=>{if(Y(Dt.value))return null;const ai=Dt.value;return ut.test(ai)?null:{pattern:{requiredPattern:Ve,actualValue:ai}}}}(ut)}static nullValidator(ut){return null}static compose(ut){return b(ut)}static composeAsync(ut){return N(ut)}}function fe(it){return ut=>{if(Y(ut.value)||Y(it))return null;const Ve=parseFloat(ut.value);return!isNaN(Ve)&&Ve{if(Y(ut.value)||Y(it))return null;const Ve=parseFloat(ut.value);return!isNaN(Ve)&&Ve>it?{max:{max:it,actual:ut.value}}:null}}function Me(it){return Y(it.value)?{required:!0}:null}function Ce(it){return!0===it.value?null:{required:!0}}function m(it){return null}function d(it){return null!=it}function C(it){return(0,e.jNT)(it)?(0,x.H)(it):it}function A(it){let ut={};return it.forEach(Ve=>{ut=null!=Ve?{...ut,...Ve}:ut}),0===Object.keys(ut).length?null:ut}function k(it,ut){return ut.map(Ve=>Ve(it))}function a(it){return it.map(ut=>function _(it){return!it.validate}(ut)?ut:Ve=>ut.validate(Ve))}function b(it){if(!it)return null;const ut=it.filter(d);return 0==ut.length?null:function(Ve){return A(k(Ve,ut))}}function z(it){return null!=it?b(a(it)):null}function N(it){if(!it)return null;const ut=it.filter(d);return 0==ut.length?null:function(Ve){const Dt=k(Ve,ut).map(C);return(0,D.p)(Dt).pipe((0,w.T)(A))}}function q(it){return null!=it?N(a(it)):null}function pe(it,ut){return null===it?[ut]:Array.isArray(it)?[...it,ut]:[it,ut]}function ze(it){return it._rawValidators}function Xe(it){return it._rawAsyncValidators}function We(it){return it?Array.isArray(it)?it:[it]:[]}function oe(it,ut){return Array.isArray(it)?it.includes(ut):it===ut}function X(it,ut){const Ve=We(ut);return We(it).forEach(ai=>{oe(Ve,ai)||Ve.push(ai)}),Ve}function se(it,ut){return We(ut).filter(Ve=>!oe(it,Ve))}class ae{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ut){this._rawValidators=ut||[],this._composedValidatorFn=z(this._rawValidators)}_setAsyncValidators(ut){this._rawAsyncValidators=ut||[],this._composedAsyncValidatorFn=q(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ut){this._onDestroyCallbacks.push(ut)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ut=>ut()),this._onDestroyCallbacks=[]}reset(ut=void 0){this.control&&this.control.reset(ut)}hasError(ut,Ve){return!!this.control&&this.control.hasError(ut,Ve)}getError(ut,Ve){return this.control?this.control.getError(ut,Ve):null}}class he extends ae{get formDirective(){return null}get path(){return null}}class Ie extends ae{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class st{constructor(ut){this._cd=ut}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let ue=(()=>{class it extends st{constructor(Ve){super(Ve)}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(Ie,2))}}static{this.\u0275dir=e.FsC({type:it,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Dt,ai){2&Dt&&e.AVh("ng-untouched",ai.isUntouched)("ng-touched",ai.isTouched)("ng-pristine",ai.isPristine)("ng-dirty",ai.isDirty)("ng-valid",ai.isValid)("ng-invalid",ai.isInvalid)("ng-pending",ai.isPending)},features:[e.Vt3]})}}return it})(),Be=(()=>{class it extends st{constructor(Ve){super(Ve)}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(he,10))}}static{this.\u0275dir=e.FsC({type:it,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Dt,ai){2&Dt&&e.AVh("ng-untouched",ai.isUntouched)("ng-touched",ai.isTouched)("ng-pristine",ai.isPristine)("ng-dirty",ai.isDirty)("ng-valid",ai.isValid)("ng-invalid",ai.isInvalid)("ng-pending",ai.isPending)("ng-submitted",ai.isSubmitted)},features:[e.Vt3]})}}return it})();const Ae="VALID",It="INVALID",Qt="PENDING",Tt="DISABLED";class xt{}class Se extends xt{constructor(ut,Ve){super(),this.value=ut,this.source=Ve}}class Te extends xt{constructor(ut,Ve){super(),this.pristine=ut,this.source=Ve}}class ce extends xt{constructor(ut,Ve){super(),this.touched=ut,this.source=Ve}}class Z extends xt{constructor(ut,Ve){super(),this.status=ut,this.source=Ve}}class Re extends xt{constructor(ut){super(),this.source=ut}}class Pe extends xt{constructor(ut){super(),this.source=ut}}function pt(it){return(qe(it)?it.validators:it)||null}function Fe(it,ut){return(qe(ut)?ut.asyncValidators:it)||null}function qe(it){return null!=it&&!Array.isArray(it)&&"object"==typeof it}function at(it,ut,Ve){const Dt=it.controls;if(!(ut?Object.keys(Dt):Dt).length)throw new e.wOt(1e3,"");if(!Dt[Ve])throw new e.wOt(1001,"")}function Lt(it,ut,Ve){it._forEachChild((Dt,ai)=>{if(void 0===Ve[ai])throw new e.wOt(1002,"")})}class pi{constructor(ut,Ve){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,e.EWP)(()=>this.statusReactive()),this.statusReactive=(0,e.vPA)(void 0),this._pristine=(0,e.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,e.vPA)(!0),this._touched=(0,e.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,e.vPA)(!1),this._events=new l.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(ut),this._assignAsyncValidators(Ve)}get validator(){return this._composedValidatorFn}set validator(ut){this._rawValidators=this._composedValidatorFn=ut}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ut){this._rawAsyncValidators=this._composedAsyncValidatorFn=ut}get parent(){return this._parent}get status(){return(0,e.O8t)(this.statusReactive)}set status(ut){(0,e.O8t)(()=>this.statusReactive.set(ut))}get valid(){return this.status===Ae}get invalid(){return this.status===It}get pending(){return this.status==Qt}get disabled(){return this.status===Tt}get enabled(){return this.status!==Tt}get pristine(){return(0,e.O8t)(this.pristineReactive)}set pristine(ut){(0,e.O8t)(()=>this.pristineReactive.set(ut))}get dirty(){return!this.pristine}get touched(){return(0,e.O8t)(this.touchedReactive)}set touched(ut){(0,e.O8t)(()=>this.touchedReactive.set(ut))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ut){this._assignValidators(ut)}setAsyncValidators(ut){this._assignAsyncValidators(ut)}addValidators(ut){this.setValidators(X(ut,this._rawValidators))}addAsyncValidators(ut){this.setAsyncValidators(X(ut,this._rawAsyncValidators))}removeValidators(ut){this.setValidators(se(ut,this._rawValidators))}removeAsyncValidators(ut){this.setAsyncValidators(se(ut,this._rawAsyncValidators))}hasValidator(ut){return oe(this._rawValidators,ut)}hasAsyncValidator(ut){return oe(this._rawAsyncValidators,ut)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ut={}){const Ve=!1===this.touched;this.touched=!0;const Dt=ut.sourceControl??this;this._parent&&!ut.onlySelf&&this._parent.markAsTouched({...ut,sourceControl:Dt}),Ve&&!1!==ut.emitEvent&&this._events.next(new ce(!0,Dt))}markAllAsTouched(ut={}){this.markAsTouched({onlySelf:!0,emitEvent:ut.emitEvent,sourceControl:this}),this._forEachChild(Ve=>Ve.markAllAsTouched(ut))}markAsUntouched(ut={}){const Ve=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Dt=ut.sourceControl??this;this._forEachChild(ai=>{ai.markAsUntouched({onlySelf:!0,emitEvent:ut.emitEvent,sourceControl:Dt})}),this._parent&&!ut.onlySelf&&this._parent._updateTouched(ut,Dt),Ve&&!1!==ut.emitEvent&&this._events.next(new ce(!1,Dt))}markAsDirty(ut={}){const Ve=!0===this.pristine;this.pristine=!1;const Dt=ut.sourceControl??this;this._parent&&!ut.onlySelf&&this._parent.markAsDirty({...ut,sourceControl:Dt}),Ve&&!1!==ut.emitEvent&&this._events.next(new Te(!1,Dt))}markAsPristine(ut={}){const Ve=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Dt=ut.sourceControl??this;this._forEachChild(ai=>{ai.markAsPristine({onlySelf:!0,emitEvent:ut.emitEvent})}),this._parent&&!ut.onlySelf&&this._parent._updatePristine(ut,Dt),Ve&&!1!==ut.emitEvent&&this._events.next(new Te(!0,Dt))}markAsPending(ut={}){this.status=Qt;const Ve=ut.sourceControl??this;!1!==ut.emitEvent&&(this._events.next(new Z(this.status,Ve)),this.statusChanges.emit(this.status)),this._parent&&!ut.onlySelf&&this._parent.markAsPending({...ut,sourceControl:Ve})}disable(ut={}){const Ve=this._parentMarkedDirty(ut.onlySelf);this.status=Tt,this.errors=null,this._forEachChild(ai=>{ai.disable({...ut,onlySelf:!0})}),this._updateValue();const Dt=ut.sourceControl??this;!1!==ut.emitEvent&&(this._events.next(new Se(this.value,Dt)),this._events.next(new Z(this.status,Dt)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ut,skipPristineCheck:Ve},this),this._onDisabledChange.forEach(ai=>ai(!0))}enable(ut={}){const Ve=this._parentMarkedDirty(ut.onlySelf);this.status=Ae,this._forEachChild(Dt=>{Dt.enable({...ut,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ut.emitEvent}),this._updateAncestors({...ut,skipPristineCheck:Ve},this),this._onDisabledChange.forEach(Dt=>Dt(!1))}_updateAncestors(ut,Ve){this._parent&&!ut.onlySelf&&(this._parent.updateValueAndValidity(ut),ut.skipPristineCheck||this._parent._updatePristine({},Ve),this._parent._updateTouched({},Ve))}setParent(ut){this._parent=ut}getRawValue(){return this.value}updateValueAndValidity(ut={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Dt=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ae||this.status===Qt)&&this._runAsyncValidator(Dt,ut.emitEvent)}const Ve=ut.sourceControl??this;!1!==ut.emitEvent&&(this._events.next(new Se(this.value,Ve)),this._events.next(new Z(this.status,Ve)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ut.onlySelf&&this._parent.updateValueAndValidity({...ut,sourceControl:Ve})}_updateTreeValidity(ut={emitEvent:!0}){this._forEachChild(Ve=>Ve._updateTreeValidity(ut)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ut.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Tt:Ae}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ut,Ve){if(this.asyncValidator){this.status=Qt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==Ve};const Dt=C(this.asyncValidator(this));this._asyncValidationSubscription=Dt.subscribe(ai=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(ai,{emitEvent:Ve,shouldHaveEmitted:ut})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const ut=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,ut}return!1}setErrors(ut,Ve={}){this.errors=ut,this._updateControlsErrors(!1!==Ve.emitEvent,this,Ve.shouldHaveEmitted)}get(ut){let Ve=ut;return null==Ve||(Array.isArray(Ve)||(Ve=Ve.split(".")),0===Ve.length)?null:Ve.reduce((Dt,ai)=>Dt&&Dt._find(ai),this)}getError(ut,Ve){const Dt=Ve?this.get(Ve):this;return Dt&&Dt.errors?Dt.errors[ut]:null}hasError(ut,Ve){return!!this.getError(ut,Ve)}get root(){let ut=this;for(;ut._parent;)ut=ut._parent;return ut}_updateControlsErrors(ut,Ve,Dt){this.status=this._calculateStatus(),ut&&this.statusChanges.emit(this.status),(ut||Dt)&&this._events.next(new Z(this.status,Ve)),this._parent&&this._parent._updateControlsErrors(ut,Ve,Dt)}_initObservables(){this.valueChanges=new e.bkB,this.statusChanges=new e.bkB}_calculateStatus(){return this._allControlsDisabled()?Tt:this.errors?It:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Qt)?Qt:this._anyControlsHaveStatus(It)?It:Ae}_anyControlsHaveStatus(ut){return this._anyControls(Ve=>Ve.status===ut)}_anyControlsDirty(){return this._anyControls(ut=>ut.dirty)}_anyControlsTouched(){return this._anyControls(ut=>ut.touched)}_updatePristine(ut,Ve){const Dt=!this._anyControlsDirty(),ai=this.pristine!==Dt;this.pristine=Dt,this._parent&&!ut.onlySelf&&this._parent._updatePristine(ut,Ve),ai&&this._events.next(new Te(this.pristine,Ve))}_updateTouched(ut={},Ve){this.touched=this._anyControlsTouched(),this._events.next(new ce(this.touched,Ve)),this._parent&&!ut.onlySelf&&this._parent._updateTouched(ut,Ve)}_registerOnCollectionChange(ut){this._onCollectionChange=ut}_setUpdateStrategy(ut){qe(ut)&&null!=ut.updateOn&&(this._updateOn=ut.updateOn)}_parentMarkedDirty(ut){return!ut&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ut){return null}_assignValidators(ut){this._rawValidators=Array.isArray(ut)?ut.slice():ut,this._composedValidatorFn=function Ke(it){return Array.isArray(it)?z(it):it||null}(this._rawValidators)}_assignAsyncValidators(ut){this._rawAsyncValidators=Array.isArray(ut)?ut.slice():ut,this._composedAsyncValidatorFn=function Ge(it){return Array.isArray(it)?q(it):it||null}(this._rawAsyncValidators)}}class $t extends pi{constructor(ut,Ve,Dt){super(pt(Ve),Fe(Dt,Ve)),this.controls=ut,this._initObservables(),this._setUpdateStrategy(Ve),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ut,Ve){return this.controls[ut]?this.controls[ut]:(this.controls[ut]=Ve,Ve.setParent(this),Ve._registerOnCollectionChange(this._onCollectionChange),Ve)}addControl(ut,Ve,Dt={}){this.registerControl(ut,Ve),this.updateValueAndValidity({emitEvent:Dt.emitEvent}),this._onCollectionChange()}removeControl(ut,Ve={}){this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),delete this.controls[ut],this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}setControl(ut,Ve,Dt={}){this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),delete this.controls[ut],Ve&&this.registerControl(ut,Ve),this.updateValueAndValidity({emitEvent:Dt.emitEvent}),this._onCollectionChange()}contains(ut){return this.controls.hasOwnProperty(ut)&&this.controls[ut].enabled}setValue(ut,Ve={}){Lt(this,0,ut),Object.keys(ut).forEach(Dt=>{at(this,!0,Dt),this.controls[Dt].setValue(ut[Dt],{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve)}patchValue(ut,Ve={}){null!=ut&&(Object.keys(ut).forEach(Dt=>{const ai=this.controls[Dt];ai&&ai.patchValue(ut[Dt],{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve))}reset(ut={},Ve={}){this._forEachChild((Dt,ai)=>{Dt.reset(ut?ut[ai]:null,{onlySelf:!0,emitEvent:Ve.emitEvent})}),this._updatePristine(Ve,this),this._updateTouched(Ve,this),this.updateValueAndValidity(Ve)}getRawValue(){return this._reduceChildren({},(ut,Ve,Dt)=>(ut[Dt]=Ve.getRawValue(),ut))}_syncPendingControls(){let ut=this._reduceChildren(!1,(Ve,Dt)=>!!Dt._syncPendingControls()||Ve);return ut&&this.updateValueAndValidity({onlySelf:!0}),ut}_forEachChild(ut){Object.keys(this.controls).forEach(Ve=>{const Dt=this.controls[Ve];Dt&&ut(Dt,Ve)})}_setUpControls(){this._forEachChild(ut=>{ut.setParent(this),ut._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ut){for(const[Ve,Dt]of Object.entries(this.controls))if(this.contains(Ve)&&ut(Dt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ve,Dt,ai)=>((Dt.enabled||this.disabled)&&(Ve[ai]=Dt.value),Ve))}_reduceChildren(ut,Ve){let Dt=ut;return this._forEachChild((ai,vn)=>{Dt=Ve(Dt,ai,vn)}),Dt}_allControlsDisabled(){for(const ut of Object.keys(this.controls))if(this.controls[ut].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ut){return this.controls.hasOwnProperty(ut)?this.controls[ut]:null}}class fi extends $t{}const tn=new e.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Vi}),Vi="always";function Qi(it,ut){return[...ut.path,it]}function Xt(it,ut,Ve=Vi){Mt(it,ut),ut.valueAccessor.writeValue(it.value),(it.disabled||"always"===Ve)&&ut.valueAccessor.setDisabledState?.(it.disabled),function Ci(it,ut){ut.valueAccessor.registerOnChange(Ve=>{it._pendingValue=Ve,it._pendingChange=!0,it._pendingDirty=!0,"change"===it.updateOn&&Hi(it,ut)})}(it,ut),function Zi(it,ut){const Ve=(Dt,ai)=>{ut.valueAccessor.writeValue(Dt),ai&&ut.viewToModelUpdate(Dt)};it.registerOnChange(Ve),ut._registerOnDestroy(()=>{it._unregisterOnChange(Ve)})}(it,ut),function Ti(it,ut){ut.valueAccessor.registerOnTouched(()=>{it._pendingTouched=!0,"blur"===it.updateOn&&it._pendingChange&&Hi(it,ut),"submit"!==it.updateOn&&it.markAsTouched()})}(it,ut),function ot(it,ut){if(ut.valueAccessor.setDisabledState){const Ve=Dt=>{ut.valueAccessor.setDisabledState(Dt)};it.registerOnDisabledChange(Ve),ut._registerOnDestroy(()=>{it._unregisterOnDisabledChange(Ve)})}}(it,ut)}function St(it,ut,Ve=!0){const Dt=()=>{};ut.valueAccessor&&(ut.valueAccessor.registerOnChange(Dt),ut.valueAccessor.registerOnTouched(Dt)),Bt(it,ut),it&&(ut._invokeOnDestroyCallbacks(),it._registerOnCollectionChange(()=>{}))}function tt(it,ut){it.forEach(Ve=>{Ve.registerOnValidatorChange&&Ve.registerOnValidatorChange(ut)})}function Mt(it,ut){const Ve=ze(it);null!==ut.validator?it.setValidators(pe(Ve,ut.validator)):"function"==typeof Ve&&it.setValidators([Ve]);const Dt=Xe(it);null!==ut.asyncValidator?it.setAsyncValidators(pe(Dt,ut.asyncValidator)):"function"==typeof Dt&&it.setAsyncValidators([Dt]);const ai=()=>it.updateValueAndValidity();tt(ut._rawValidators,ai),tt(ut._rawAsyncValidators,ai)}function Bt(it,ut){let Ve=!1;if(null!==it){if(null!==ut.validator){const ai=ze(it);if(Array.isArray(ai)&&ai.length>0){const vn=ai.filter(er=>er!==ut.validator);vn.length!==ai.length&&(Ve=!0,it.setValidators(vn))}}if(null!==ut.asyncValidator){const ai=Xe(it);if(Array.isArray(ai)&&ai.length>0){const vn=ai.filter(er=>er!==ut.asyncValidator);vn.length!==ai.length&&(Ve=!0,it.setAsyncValidators(vn))}}}const Dt=()=>{};return tt(ut._rawValidators,Dt),tt(ut._rawAsyncValidators,Dt),Ve}function Hi(it,ut){it._pendingDirty&&it.markAsDirty(),it.setValue(it._pendingValue,{emitModelToViewChange:!1}),ut.viewToModelUpdate(it._pendingValue),it._pendingChange=!1}function ln(it,ut){Mt(it,ut)}function rt(it,ut){if(!it.hasOwnProperty("model"))return!1;const Ve=it.model;return!!Ve.isFirstChange()||!Object.is(ut,Ve.currentValue)}function ii(it,ut){it._syncPendingControls(),ut.forEach(Ve=>{const Dt=Ve.control;"submit"===Dt.updateOn&&Dt._pendingChange&&(Ve.viewToModelUpdate(Dt._pendingValue),Dt._pendingChange=!1)})}function di(it,ut){if(!ut)return null;let Ve,Dt,ai;return Array.isArray(ut),ut.forEach(vn=>{vn.constructor===j?Ve=vn:function ht(it){return Object.getPrototypeOf(it.constructor)===R}(vn)?Dt=vn:ai=vn}),ai||Dt||Ve||null}const Hn={provide:he,useExisting:(0,e.Rfq)(()=>Jn)},Qn=Promise.resolve();let Jn=(()=>{class it extends he{get submitted(){return(0,e.O8t)(this.submittedReactive)}constructor(Ve,Dt,ai){super(),this.callSetDisabledState=ai,this._submitted=(0,e.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,e.vPA)(!1),this._directives=new Set,this.ngSubmit=new e.bkB,this.form=new $t({},z(Ve),q(Dt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Ve){Qn.then(()=>{const Dt=this._findContainer(Ve.path);Ve.control=Dt.registerControl(Ve.name,Ve.control),Xt(Ve.control,Ve,this.callSetDisabledState),Ve.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Ve)})}getControl(Ve){return this.form.get(Ve.path)}removeControl(Ve){Qn.then(()=>{const Dt=this._findContainer(Ve.path);Dt&&Dt.removeControl(Ve.name),this._directives.delete(Ve)})}addFormGroup(Ve){Qn.then(()=>{const Dt=this._findContainer(Ve.path),ai=new $t({});ln(ai,Ve),Dt.registerControl(Ve.name,ai),ai.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Ve){Qn.then(()=>{const Dt=this._findContainer(Ve.path);Dt&&Dt.removeControl(Ve.name)})}getFormGroup(Ve){return this.form.get(Ve.path)}updateModel(Ve,Dt){Qn.then(()=>{this.form.get(Ve.path).setValue(Dt)})}setValue(Ve){this.control.setValue(Ve)}onSubmit(Ve){return this.submittedReactive.set(!0),ii(this.form,this._directives),this.ngSubmit.emit(Ve),"dialog"===Ve?.target?.method}onReset(){this.resetForm()}resetForm(Ve=void 0){this.form.reset(Ve),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Ve){return Ve.pop(),Ve.length?this.form.get(Ve):this.form}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(Q,10),e.rXU(J,10),e.rXU(tn,8))}}static{this.\u0275dir=e.FsC({type:it,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Dt,ai){1&Dt&&e.bIt("submit",function(er){return ai.onSubmit(er)})("reset",function(){return ai.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.Jv_([Hn]),e.Vt3]})}}return it})();function nr(it,ut){const Ve=it.indexOf(ut);Ve>-1&&it.splice(Ve,1)}function dr(it){return"object"==typeof it&&null!==it&&2===Object.keys(it).length&&"value"in it&&"disabled"in it}const wn=class extends pi{constructor(ut=null,Ve,Dt){super(pt(Ve),Fe(Dt,Ve)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ut),this._setUpdateStrategy(Ve),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),qe(Ve)&&(Ve.nonNullable||Ve.initialValueIsDefault)&&(this.defaultValue=dr(ut)?ut.value:ut)}setValue(ut,Ve={}){this.value=this._pendingValue=ut,this._onChange.length&&!1!==Ve.emitModelToViewChange&&this._onChange.forEach(Dt=>Dt(this.value,!1!==Ve.emitViewToModelChange)),this.updateValueAndValidity(Ve)}patchValue(ut,Ve={}){this.setValue(ut,Ve)}reset(ut=this.defaultValue,Ve={}){this._applyFormState(ut),this.markAsPristine(Ve),this.markAsUntouched(Ve),this.setValue(this.value,Ve),this._pendingChange=!1}_updateValue(){}_anyControls(ut){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ut){this._onChange.push(ut)}_unregisterOnChange(ut){nr(this._onChange,ut)}registerOnDisabledChange(ut){this._onDisabledChange.push(ut)}_unregisterOnDisabledChange(ut){nr(this._onDisabledChange,ut)}_forEachChild(ut){}_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(ut){dr(ut)?(this.value=this._pendingValue=ut.value,ut.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ut}},Ai=wn,ir={provide:Ie,useExisting:(0,e.Rfq)(()=>Xr)},gn=Promise.resolve();let Xr=(()=>{class it extends Ie{constructor(Ve,Dt,ai,vn,er,Oo){super(),this._changeDetectorRef=er,this.callSetDisabledState=Oo,this.control=new wn,this._registered=!1,this.name="",this.update=new e.bkB,this._parent=Ve,this._setValidators(Dt),this._setAsyncValidators(ai),this.valueAccessor=di(0,vn)}ngOnChanges(Ve){if(this._checkForErrors(),!this._registered||"name"in Ve){if(this._registered&&(this._checkName(),this.formDirective)){const Dt=Ve.name.previousValue;this.formDirective.removeControl({name:Dt,path:this._getPath(Dt)})}this._setUpControl()}"isDisabled"in Ve&&this._updateDisabled(Ve),rt(Ve,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(Ve){this.viewModel=Ve,this.update.emit(Ve)}_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(){Xt(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(Ve){gn.then(()=>{this.control.setValue(Ve,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ve){const Dt=Ve.isDisabled.currentValue,ai=0!==Dt&&(0,e.L39)(Dt);gn.then(()=>{ai&&!this.control.disabled?this.control.disable():!ai&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ve){return this._parent?Qi(Ve,this._parent):[Ve]}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(he,9),e.rXU(Q,10),e.rXU(J,10),e.rXU(h,10),e.rXU(e.gRc,8),e.rXU(tn,8))}}static{this.\u0275dir=e.FsC({type:it,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:[e.Jv_([ir]),e.Vt3,e.OA$]})}}return it})(),fr=(()=>{class it{static{this.\u0275fac=function(Dt){return new(Dt||it)}}static{this.\u0275dir=e.FsC({type:it,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return it})();const mr={provide:h,useExisting:(0,e.Rfq)(()=>wa),multi:!0};let wa=(()=>{class it extends R{writeValue(Ve){this.setProperty("value",Ve??"")}registerOnChange(Ve){this.onChange=Dt=>{Ve(""==Dt?null:parseFloat(Dt))}}static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275dir=e.FsC({type:it,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Dt,ai){1&Dt&&e.bIt("input",function(er){return ai.onChange(er.target.value)})("blur",function(){return ai.onTouched()})},features:[e.Jv_([mr]),e.Vt3]})}}return it})();const Or=new e.nKC(""),hs={provide:Ie,useExisting:(0,e.Rfq)(()=>za)};let za=(()=>{class it extends Ie{set isDisabled(Ve){}static{this._ngModelWarningSentOnce=!1}constructor(Ve,Dt,ai,vn,er){super(),this._ngModelWarningConfig=vn,this.callSetDisabledState=er,this.update=new e.bkB,this._ngModelWarningSent=!1,this._setValidators(Ve),this._setAsyncValidators(Dt),this.valueAccessor=di(0,ai)}ngOnChanges(Ve){if(this._isControlChanged(Ve)){const Dt=Ve.form.previousValue;Dt&&St(Dt,this,!1),Xt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}rt(Ve,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&St(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ve){this.viewModel=Ve,this.update.emit(Ve)}_isControlChanged(Ve){return Ve.hasOwnProperty("form")}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(Q,10),e.rXU(J,10),e.rXU(h,10),e.rXU(Or,8),e.rXU(tn,8))}}static{this.\u0275dir=e.FsC({type:it,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e.Jv_([hs]),e.Vt3,e.OA$]})}}return it})();const Fr={provide:he,useExisting:(0,e.Rfq)(()=>Ur)};let Ur=(()=>{class it extends he{get submitted(){return(0,e.O8t)(this._submittedReactive)}set submitted(Ve){this._submittedReactive.set(Ve)}constructor(Ve,Dt,ai){super(),this.callSetDisabledState=ai,this._submitted=(0,e.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,e.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.bkB,this._setValidators(Ve),this._setAsyncValidators(Dt)}ngOnChanges(Ve){this._checkFormPresent(),Ve.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Bt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ve){const Dt=this.form.get(Ve.path);return Xt(Dt,Ve,this.callSetDisabledState),Dt.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ve),Dt}getControl(Ve){return this.form.get(Ve.path)}removeControl(Ve){St(Ve.control||null,Ve,!1),function Gi(it,ut){const Ve=it.indexOf(ut);Ve>-1&&it.splice(Ve,1)}(this.directives,Ve)}addFormGroup(Ve){this._setUpFormContainer(Ve)}removeFormGroup(Ve){this._cleanUpFormContainer(Ve)}getFormGroup(Ve){return this.form.get(Ve.path)}addFormArray(Ve){this._setUpFormContainer(Ve)}removeFormArray(Ve){this._cleanUpFormContainer(Ve)}getFormArray(Ve){return this.form.get(Ve.path)}updateModel(Ve,Dt){this.form.get(Ve.path).setValue(Dt)}onSubmit(Ve){return this._submittedReactive.set(!0),ii(this.form,this.directives),this.ngSubmit.emit(Ve),this.form._events.next(new Re(this.control)),"dialog"===Ve?.target?.method}onReset(){this.resetForm()}resetForm(Ve=void 0){this.form.reset(Ve),this._submittedReactive.set(!1),this.form._events.next(new Pe(this.form))}_updateDomValue(){this.directives.forEach(Ve=>{const Dt=Ve.control,ai=this.form.get(Ve.path);Dt!==ai&&(St(Dt||null,Ve),(it=>it instanceof wn)(ai)&&(Xt(ai,Ve,this.callSetDisabledState),Ve.control=ai))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ve){const Dt=this.form.get(Ve.path);ln(Dt,Ve),Dt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ve){if(this.form){const Dt=this.form.get(Ve.path);Dt&&function mn(it,ut){return Bt(it,ut)}(Dt,Ve)&&Dt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Mt(this.form,this),this._oldForm&&Bt(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(Dt){return new(Dt||it)(e.rXU(Q,10),e.rXU(J,10),e.rXU(tn,8))}}static{this.\u0275dir=e.FsC({type:it,selectors:[["","formGroup",""]],hostBindings:function(Dt,ai){1&Dt&&e.bIt("submit",function(er){return ai.onSubmit(er)})("reset",function(){return ai.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.Jv_([Fr]),e.Vt3,e.OA$]})}}return it})();const Do={provide:Ie,useExisting:(0,e.Rfq)(()=>Ba)};let Ba=(()=>{class it extends Ie{set isDisabled(Ve){}static{this._ngModelWarningSentOnce=!1}constructor(Ve,Dt,ai,vn,er){super(),this._ngModelWarningConfig=er,this._added=!1,this.name=null,this.update=new e.bkB,this._ngModelWarningSent=!1,this._parent=Ve,this._setValidators(Dt),this._setAsyncValidators(ai),this.valueAccessor=di(0,vn)}ngOnChanges(Ve){this._added||this._setUpControl(),rt(Ve,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ve){this.viewModel=Ve,this.update.emit(Ve)}get path(){return Qi(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(Dt){return new(Dt||it)(e.rXU(he,13),e.rXU(Q,10),e.rXU(J,10),e.rXU(h,10),e.rXU(Or,8))}}static{this.\u0275dir=e.FsC({type:it,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[e.Jv_([Do]),e.Vt3,e.OA$]})}}return it})();function Io(it){return"number"==typeof it?it:parseFloat(it)}let Ua=(()=>{class it{constructor(){this._validator=m}ngOnChanges(Ve){if(this.inputName in Ve){const Dt=this.normalizeInput(Ve[this.inputName].currentValue);this._enabled=this.enabled(Dt),this._validator=this._enabled?this.createValidator(Dt):m,this._onChange&&this._onChange()}}validate(Ve){return this._validator(Ve)}registerOnValidatorChange(Ve){this._onChange=Ve}enabled(Ve){return null!=Ve}static{this.\u0275fac=function(Dt){return new(Dt||it)}}static{this.\u0275dir=e.FsC({type:it,features:[e.OA$]})}}return it})();const ma={provide:Q,useExisting:(0,e.Rfq)(()=>no),multi:!0};let no=(()=>{class it extends Ua{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ve=>Io(Ve),this.createValidator=Ve=>ne(Ve)}static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275dir=e.FsC({type:it,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Dt,ai){2&Dt&&e.BMQ("max",ai._enabled?ai.max:null)},inputs:{max:"max"},features:[e.Jv_([ma]),e.Vt3]})}}return it})();const ta={provide:Q,useExisting:(0,e.Rfq)(()=>Ro),multi:!0};let Ro=(()=>{class it extends Ua{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ve=>Io(Ve),this.createValidator=Ve=>fe(Ve)}static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275dir=e.FsC({type:it,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Dt,ai){2&Dt&&e.BMQ("min",ai._enabled?ai.min:null)},inputs:{min:"min"},features:[e.Jv_([ta]),e.Vt3]})}}return it})();const As={provide:Q,useExisting:(0,e.Rfq)(()=>$r),multi:!0},bo={provide:Q,useExisting:(0,e.Rfq)(()=>pa),multi:!0};let $r=(()=>{class it extends Ua{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.L39,this.createValidator=Ve=>Me}enabled(Ve){return Ve}static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275dir=e.FsC({type:it,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Dt,ai){2&Dt&&e.BMQ("required",ai._enabled?"":null)},inputs:{required:"required"},features:[e.Jv_([As]),e.Vt3]})}}return it})(),pa=(()=>{class it extends $r{constructor(){super(...arguments),this.createValidator=Ve=>Ce}static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275dir=e.FsC({type:it,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Dt,ai){2&Dt&&e.BMQ("required",ai._enabled?"":null)},features:[e.Jv_([bo]),e.Vt3]})}}return it})(),Ei=(()=>{class it{static{this.\u0275fac=function(Dt){return new(Dt||it)}}static{this.\u0275mod=e.$C({type:it})}static{this.\u0275inj=e.G2t({})}}return it})();class Ji extends pi{constructor(ut,Ve,Dt){super(pt(Ve),Fe(Dt,Ve)),this.controls=ut,this._initObservables(),this._setUpdateStrategy(Ve),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ut){return this.controls[this._adjustIndex(ut)]}push(ut,Ve={}){this.controls.push(ut),this._registerControl(ut),this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}insert(ut,Ve,Dt={}){this.controls.splice(ut,0,Ve),this._registerControl(Ve),this.updateValueAndValidity({emitEvent:Dt.emitEvent})}removeAt(ut,Ve={}){let Dt=this._adjustIndex(ut);Dt<0&&(Dt=0),this.controls[Dt]&&this.controls[Dt]._registerOnCollectionChange(()=>{}),this.controls.splice(Dt,1),this.updateValueAndValidity({emitEvent:Ve.emitEvent})}setControl(ut,Ve,Dt={}){let ai=this._adjustIndex(ut);ai<0&&(ai=0),this.controls[ai]&&this.controls[ai]._registerOnCollectionChange(()=>{}),this.controls.splice(ai,1),Ve&&(this.controls.splice(ai,0,Ve),this._registerControl(Ve)),this.updateValueAndValidity({emitEvent:Dt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ut,Ve={}){Lt(this,0,ut),ut.forEach((Dt,ai)=>{at(this,!1,ai),this.at(ai).setValue(Dt,{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve)}patchValue(ut,Ve={}){null!=ut&&(ut.forEach((Dt,ai)=>{this.at(ai)&&this.at(ai).patchValue(Dt,{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve))}reset(ut=[],Ve={}){this._forEachChild((Dt,ai)=>{Dt.reset(ut[ai],{onlySelf:!0,emitEvent:Ve.emitEvent})}),this._updatePristine(Ve,this),this._updateTouched(Ve,this),this.updateValueAndValidity(Ve)}getRawValue(){return this.controls.map(ut=>ut.getRawValue())}clear(ut={}){this.controls.length<1||(this._forEachChild(Ve=>Ve._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ut.emitEvent}))}_adjustIndex(ut){return ut<0?ut+this.length:ut}_syncPendingControls(){let ut=this.controls.reduce((Ve,Dt)=>!!Dt._syncPendingControls()||Ve,!1);return ut&&this.updateValueAndValidity({onlySelf:!0}),ut}_forEachChild(ut){this.controls.forEach((Ve,Dt)=>{ut(Ve,Dt)})}_updateValue(){this.value=this.controls.filter(ut=>ut.enabled||this.disabled).map(ut=>ut.value)}_anyControls(ut){return this.controls.some(Ve=>Ve.enabled&&ut(Ve))}_setUpControls(){this._forEachChild(ut=>this._registerControl(ut))}_allControlsDisabled(){for(const ut of this.controls)if(ut.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ut){ut.setParent(this),ut._registerOnCollectionChange(this._onCollectionChange)}_find(ut){return this.at(ut)??null}}function Ra(it){return!!it&&(void 0!==it.asyncValidators||void 0!==it.validators||void 0!==it.updateOn)}let ao=(()=>{class it{constructor(){this.useNonNullable=!1}get nonNullable(){const Ve=new it;return Ve.useNonNullable=!0,Ve}group(Ve,Dt=null){const ai=this._reduceControls(Ve);let vn={};return Ra(Dt)?vn=Dt:null!==Dt&&(vn.validators=Dt.validator,vn.asyncValidators=Dt.asyncValidator),new $t(ai,vn)}record(Ve,Dt=null){const ai=this._reduceControls(Ve);return new fi(ai,Dt)}control(Ve,Dt,ai){let vn={};return this.useNonNullable?(Ra(Dt)?vn=Dt:(vn.validators=Dt,vn.asyncValidators=ai),new wn(Ve,{...vn,nonNullable:!0})):new wn(Ve,Dt,ai)}array(Ve,Dt,ai){const vn=Ve.map(er=>this._createControl(er));return new Ji(vn,Dt,ai)}_reduceControls(Ve){const Dt={};return Object.keys(Ve).forEach(ai=>{Dt[ai]=this._createControl(Ve[ai])}),Dt}_createControl(Ve){return Ve instanceof wn||Ve instanceof pi?Ve:Array.isArray(Ve)?this.control(Ve[0],Ve.length>1?Ve[1]:null,Ve.length>2?Ve[2]:null):this.control(Ve)}static{this.\u0275fac=function(Dt){return new(Dt||it)}}static{this.\u0275prov=e.jDH({token:it,factory:it.\u0275fac,providedIn:"root"})}}return it})(),$a=(()=>{class it extends ao{group(Ve,Dt=null){return super.group(Ve,Dt)}control(Ve,Dt,ai){return super.control(Ve,Dt,ai)}array(Ve,Dt,ai){return super.array(Ve,Dt,ai)}static{this.\u0275fac=(()=>{let Ve;return function(ai){return(Ve||(Ve=e.xGo(it)))(ai||it)}})()}static{this.\u0275prov=e.jDH({token:it,factory:it.\u0275fac,providedIn:"root"})}}return it})(),Gr=(()=>{class it{static withConfig(Ve){return{ngModule:it,providers:[{provide:tn,useValue:Ve.callSetDisabledState??Vi}]}}static{this.\u0275fac=function(Dt){return new(Dt||it)}}static{this.\u0275mod=e.$C({type:it})}static{this.\u0275inj=e.G2t({imports:[Ei]})}}return it})(),Pi=(()=>{class it{static withConfig(Ve){return{ngModule:it,providers:[{provide:Or,useValue:Ve.warnOnNgModelWithFormControl??"always"},{provide:tn,useValue:Ve.callSetDisabledState??Vi}]}}static{this.\u0275fac=function(Dt){return new(Dt||it)}}static{this.\u0275mod=e.$C({type:it})}static{this.\u0275inj=e.G2t({imports:[Ei]})}}return it})()},850:(Qe,te,g)=>{"use strict";g.d(te,{$3:()=>_,jL:()=>Xe,pN:()=>ze});var e=g(4438),t=g(6600),x=g(177),D=g(5542),l=g(6969),w=g(8617),f=g(6860),R=g(9969),h=g(8359),S=g(1413),y=g(9030),O=g(7786),I=g(7673),V=g(3726),j=g(7336),Y=g(6939),W=g(9417),Q=g(6467),J=g(9172),ie=g(5558),ee=g(6697),fe=g(5964),ne=g(6354),Me=g(8141),Ce=g(5335),le=g(8203);const T=["panel"],n=["*"];function c(We,oe){if(1&We){const X=e.RV6();e.j41(0,"div",1,0),e.bIt("@panelAnimation.done",function(ae){e.eBV(X);const he=e.XpG();return e.Njj(he._animationDone.next(ae))}),e.SdG(2),e.k0s()}if(2&We){const X=oe.id,se=e.XpG();e.HbH(se._classList),e.AVh("mat-mdc-autocomplete-visible",se.showPanel)("mat-mdc-autocomplete-hidden",!se.showPanel)("mat-primary","primary"===se._color)("mat-accent","accent"===se._color)("mat-warn","warn"===se._color),e.Y8G("id",se.id)("@panelAnimation",se.isOpen?"visible":"hidden"),e.BMQ("aria-label",se.ariaLabel||null)("aria-labelledby",se._getPanelAriaLabelledby(X))}}const m=(0,R.hZ)("panelAnimation",[(0,R.wk)("void, hidden",(0,R.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,R.kY)(":enter, hidden => visible",[(0,R.Os)([(0,R.i0)("0.03s linear",(0,R.iF)({opacity:1})),(0,R.i0)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,R.iF)({transform:"scaleY(1)"}))])]),(0,R.kY)(":leave, visible => hidden",[(0,R.i0)("0.075s linear",(0,R.iF)({opacity:0}))])]);let d=0;class C{constructor(oe,X){this.source=oe,this.option=X}}const A=new e.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function k(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let _=(()=>{class We{get isOpen(){return this._isOpen&&this.showPanel}_setColor(X){this._color=X,this._changeDetectorRef.markForCheck()}set classList(X){this._classList=X,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(X){this._hideSingleSelectionIndicator=X,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const X of this.options)X._changeDetectorRef.markForCheck()}constructor(X,se,ae,he){this._changeDetectorRef=X,this._elementRef=se,this._defaults=ae,this._activeOptionChanges=h.yU.EMPTY,this._animationDone=new e.bkB,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new e.bkB,this.opened=new e.bkB,this.closed=new e.bkB,this.optionActivated=new e.bkB,this.id="mat-autocomplete-"+d++,this.inertGroups=he?.SAFARI||!1,this.autoActiveFirstOption=!!ae.autoActiveFirstOption,this.autoSelectActiveOption=!!ae.autoSelectActiveOption,this.requireSelection=!!ae.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new w.Au(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(X=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[X]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(X){this.panel&&(this.panel.nativeElement.scrollTop=X)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(X){const se=new C(this,X);this.optionSelected.emit(se)}_getPanelAriaLabelledby(X){return this.ariaLabel?null:this.ariaLabelledby?(X?X+" ":"")+this.ariaLabelledby:X}_skipPredicate(){return!1}static{this.\u0275fac=function(se){return new(se||We)(e.rXU(e.gRc),e.rXU(e.aKT),e.rXU(A),e.rXU(f.OD))}}static{this.\u0275cmp=e.VBU({type:We,selectors:[["mat-autocomplete"]],contentQueries:function(se,ae,he){if(1&se&&(e.wni(he,t.wT,5),e.wni(he,t.QC,5)),2&se){let Ie;e.mGM(Ie=e.lsd())&&(ae.options=Ie),e.mGM(Ie=e.lsd())&&(ae.optionGroups=Ie)}},viewQuery:function(se,ae){if(1&se&&(e.GBs(e.C4Q,7),e.GBs(T,5)),2&se){let he;e.mGM(he=e.lsd())&&(ae.template=he.first),e.mGM(he=e.lsd())&&(ae.panel=he.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",e.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",e.L39],requireSelection:[2,"requireSelection","requireSelection",e.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",e.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",e.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[e.Jv_([{provide:t.is,useExisting:We}]),e.GFd,e.aNF],ngContentSelectors:n,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(se,ae){1&se&&(e.NAR(),e.DNE(0,c,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);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;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[m]},changeDetection:0})}}return We})();const b={provide:W.kq,useExisting:(0,e.Rfq)(()=>ze),multi:!0},N=new e.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const We=(0,e.WQX)(l.hJ);return()=>We.scrollStrategies.reposition()}}),pe={provide:N,deps:[l.hJ],useFactory:function q(We){return()=>We.scrollStrategies.reposition()}};let ze=(()=>{class We{constructor(X,se,ae,he,Ie,st,me,Ee,ue,Be,Ct){this._element=X,this._overlay=se,this._viewContainerRef=ae,this._zone=he,this._changeDetectorRef=Ie,this._dir=me,this._formField=Ee,this._document=ue,this._viewportRuler=Be,this._defaults=Ct,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=h.yU.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new S.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,y.v)(()=>{const ct=this.autocomplete?this.autocomplete.options:null;return ct?ct.changes.pipe((0,J.Z)(ct),(0,ie.n)(()=>(0,O.h)(...ct.map(dt=>dt.onSelectionChange)))):this._zone.onStable.pipe((0,ee.s)(1),(0,ie.n)(()=>this.optionSelections))}),this._handlePanelKeydown=ct=>{(ct.keyCode===j._f&&!(0,j.rp)(ct)||ct.keyCode===j.i7&&(0,j.rp)(ct,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),ct.stopPropagation(),ct.preventDefault())},this._trackedModal=null,this._scrollStrategy=st}ngAfterViewInit(){const X=this._getWindow();typeof X<"u"&&this._zone.runOutsideAngular(()=>X.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(X){X.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const X=this._getWindow();typeof X<"u"&&X.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._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),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,w.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,O.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,fe.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,fe.p)(()=>this._overlayAttached)):(0,I.of)()).pipe((0,ne.T)(X=>X instanceof t.MI?X:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,O.h)((0,V.R)(this._document,"click"),(0,V.R)(this._document,"auxclick"),(0,V.R)(this._document,"touchend")).pipe((0,fe.p)(X=>{const se=(0,f.Fb)(X),ae=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,he=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&se!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!ae||!ae.contains(se))&&(!he||!he.contains(se))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(se)}))}writeValue(X){Promise.resolve(null).then(()=>this._assignOptionValue(X))}registerOnChange(X){this._onChange=X}registerOnTouched(X){this._onTouched=X}setDisabledState(X){this._element.nativeElement.disabled=X}_handleKeydown(X){const se=X.keyCode,ae=(0,j.rp)(X);if(se===j._f&&!ae&&X.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&se===j.Fm&&this.panelOpen&&!ae)this.activeOption._selectViaInteraction(),this._resetActiveItem(),X.preventDefault();else if(this.autocomplete){const he=this.autocomplete._keyManager.activeItem,Ie=se===j.i7||se===j.n6;se===j.wn||Ie&&!ae&&this.panelOpen?this.autocomplete._keyManager.onKeydown(X):Ie&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(Ie||this.autocomplete._keyManager.activeItem!==he)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(X){let se=X.target,ae=se.value;if("number"===se.type&&(ae=""==ae?null:parseFloat(ae)),this._previousValue!==ae){if(this._previousValue=ae,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(ae),ae){if(this.panelOpen&&!this.autocomplete.requireSelection){const he=this.autocomplete.options?.find(Ie=>Ie.selected);he&&ae!==this._getDisplayValue(he.value)&&he.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._document.activeElement===X.target){const he=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(he)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(X=!1){this._formField&&"auto"===this._formField.floatLabel&&(X?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const X=this._zone.onStable.pipe((0,ee.s)(1)),se=this.autocomplete.options.changes.pipe((0,Me.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,Ce.c)(0));return(0,O.h)(X,se).pipe((0,ie.n)(()=>(this._zone.run(()=>{const ae=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),ae!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,ee.s)(1)).subscribe(ae=>this._setValueAndClose(ae))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(X){const se=this.autocomplete;return se&&se.displayWith?se.displayWith(X):X}_assignOptionValue(X){const se=this._getDisplayValue(X);null==X&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(se??"")}_updateNativeInputValue(X){this._formField?this._formField._control.value=X:this._element.nativeElement.value=X,this._previousValue=X}_setValueAndClose(X){const se=this.autocomplete,ae=X?X.source:this._pendingAutoselectedOption;ae?(this._clearPreviousSelectedOption(ae),this._assignOptionValue(ae.value),this._onChange(ae.value),se._emitSelectEvent(ae),this._element.nativeElement.focus()):se.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),se._animationDone?se._animationDone.pipe((0,ee.s)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(X,se){this.autocomplete?.options?.forEach(ae=>{ae!==X&&ae.selected&&ae.deselect(se)})}_openPanelInternal(X=this._element.nativeElement.value){this._attachOverlay(X),this._floatLabel(),this._trackedModal&&(0,w.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(X){let se=this._overlayRef;se?(this._positionStrategy.setOrigin(this._getConnectedElement()),se.updateSize({width:this._getPanelWidth()})):(this._portal=new Y.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),se=this._overlay.create(this._getOverlayConfig()),this._overlayRef=se,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&se&&se.updateSize({width:this._getPanelWidth()})})),se&&!se.hasAttached()&&(se.attach(this._portal),this._valueOnAttach=X,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const ae=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ae!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const X=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=X.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=X.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 X=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(X),this._positionStrategy=X,X}_setStrategyPositions(X){const se=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ae=this._aboveClass,he=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:ae},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:ae}];let Ie;Ie="above"===this.position?he:"below"===this.position?se:[...se,...he],X.withPositions(Ie)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const X=this.autocomplete;if(X.autoActiveFirstOption){let se=-1;for(let ae=0;ae .cdk-overlay-container [aria-modal="true"]');if(!X)return;const se=this.autocomplete.id;this._trackedModal&&(0,w.Ae)(this._trackedModal,"aria-owns",se),(0,w.px)(X,"aria-owns",se),this._trackedModal=X}_clearFromModal(){this._trackedModal&&((0,w.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static{this.\u0275fac=function(se){return new(se||We)(e.rXU(e.aKT),e.rXU(l.hJ),e.rXU(e.c1b),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(N),e.rXU(le.dS,8),e.rXU(Q.xb,9),e.rXU(x.qQ,8),e.rXU(D.Xj),e.rXU(A,8))}}static{this.\u0275dir=e.FsC({type:We,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(se,ae){1&se&&e.bIt("focusin",function(){return ae._handleFocus()})("blur",function(){return ae._onTouched()})("input",function(Ie){return ae._handleInput(Ie)})("keydown",function(Ie){return ae._handleKeydown(Ie)})("click",function(){return ae._handleClick()}),2&se&&e.BMQ("autocomplete",ae.autocompleteAttribute)("role",ae.autocompleteDisabled?null:"combobox")("aria-autocomplete",ae.autocompleteDisabled?null:"list")("aria-activedescendant",ae.panelOpen&&ae.activeOption?ae.activeOption.id:null)("aria-expanded",ae.autocompleteDisabled?null:ae.panelOpen.toString())("aria-controls",ae.autocompleteDisabled||!ae.panelOpen||null==ae.autocomplete?null:ae.autocomplete.id)("aria-haspopup",ae.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",e.L39]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[e.Jv_([b]),e.GFd,e.OA$]})}}return We})(),Xe=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275mod=e.$C({type:We})}static{this.\u0275inj=e.G2t({providers:[pe],imports:[l.z_,t.Sy,t.yE,x.MD,D.Gj,t.Sy,t.yE]})}}return We})()},1975:(Qe,te,g)=>{"use strict";g.d(te,{Y:()=>S,k:()=>h});var e=g(4438),t=g(6600),x=g(8617),D=g(177);let l=0;const w="mat-badge-content",f=new Set;let R=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275cmp=e.VBU({type:y,selectors:[["ng-component"]],standalone:!0,features:[e.aNF],decls:0,vars:0,template:function(V,j){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}"],encapsulation:2,changeDetection:0})}}return y})(),h=(()=>{class y{get color(){return this._color}set color(I){this._setColor(I),this._color=I}get content(){return this._content}set content(I){this._updateRenderedContent(I)}get description(){return this._description}set description(I){this._updateDescription(I)}constructor(I,V,j,Y,W){this._ngZone=I,this._elementRef=V,this._ariaDescriber=j,this._renderer=Y,this._animationMode=W,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=l++,this._isInitialized=!1,this._interactivityChecker=(0,e.WQX)(x.Z7),this._document=(0,e.WQX)(D.qQ);const Q=(0,e.WQX)(e.o8S);if(!f.has(Q)){f.add(Q);const J=(0,e.a0P)(R,{environmentInjector:(0,e.WQX)(e.uvJ)});Q.onDestroy(()=>{f.delete(Q),0===f.size&&J.destroy()})}}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 I=this._renderer.createElement("span"),V="mat-badge-active";return I.setAttribute("id",`mat-badge-content-${this._id}`),I.setAttribute("aria-hidden","true"),I.classList.add(w),"NoopAnimations"===this._animationMode&&I.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(I),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{I.classList.add(V)})}):I.classList.add(V),I}_updateRenderedContent(I){const V=`${I??""}`.trim();this._isInitialized&&V&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=V),this._content=V}_updateDescription(I){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!I||this._isHostInteractive())&&this._removeInlineDescription(),this._description=I,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,I):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(I){const V=this._elementRef.nativeElement.classList;V.remove(`mat-badge-${this._color}`),I&&V.add(`mat-badge-${I}`)}_clearExistingBadges(){const I=this._elementRef.nativeElement.querySelectorAll(`:scope > .${w}`);for(const V of Array.from(I))V!==this._badgeElement&&V.remove()}static{this.\u0275fac=function(V){return new(V||y)(e.rXU(e.SKi),e.rXU(e.aKT),e.rXU(x.vr),e.rXU(e.sFG),e.rXU(e.bc$,8))}}static{this.\u0275dir=e.FsC({type:y,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(V,j){2&V&&e.AVh("mat-badge-overlap",j.overlap)("mat-badge-above",j.isAbove())("mat-badge-below",!j.isAbove())("mat-badge-before",!j.isAfter())("mat-badge-after",j.isAfter())("mat-badge-small","small"===j.size)("mat-badge-medium","medium"===j.size)("mat-badge-large","large"===j.size)("mat-badge-hidden",j.hidden||!j.content)("mat-badge-disabled",j.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",e.L39],disabled:[2,"matBadgeDisabled","disabled",e.L39],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",e.L39]},standalone:!0,features:[e.GFd]})}}return y})(),S=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275mod=e.$C({type:y})}static{this.\u0275inj=e.G2t({imports:[x.Pd,t.yE,t.yE]})}}return y})()},8834:(Qe,te,g)=>{"use strict";g.d(te,{$0:()=>n,$z:()=>fe,Hl:()=>A,iY:()=>d});var e=g(6860),t=g(4438),x=g(8617),D=g(6600);const l=["mat-button",""],w=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],f=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],y=["mat-mini-fab",""],I=["mat-icon-button",""],V=["*"],Y=new t.nKC("MAT_BUTTON_CONFIG"),Q=[{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 J=(()=>{class k{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(a){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,a)}get disableRipple(){return this._disableRipple}set disableRipple(a){this._disableRipple=a,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(a){this._disabled=a,this._updateRippleDisabled()}constructor(a,b,z,N){this._elementRef=a,this._platform=b,this._ngZone=z,this._animationMode=N,this._focusMonitor=(0,t.WQX)(x.FN),this._rippleLoader=(0,t.WQX)(D.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const q=(0,t.WQX)(Y,{optional:!0}),pe=a.nativeElement,ze=pe.classList;this.disabledInteractive=q?.disabledInteractive??!1,this._rippleLoader?.configureRipple(pe,{className:"mat-mdc-button-ripple"});for(const{attribute:Xe,mdcClasses:We}of Q)pe.hasAttribute(Xe)&&ze.add(...We)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(a="program",b){a?this._focusMonitor.focusVia(this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(b){t.QTQ()}}static{this.\u0275dir=t.FsC({type:k,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",t.L39],disabled:[2,"disabled","disabled",t.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",t.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",t.L39]},features:[t.GFd]})}}return k})(),fe=(()=>{class k extends J{constructor(a,b,z,N){super(a,b,z,N)}static{this.\u0275fac=function(b){return new(b||k)(t.rXU(t.aKT),t.rXU(e.OD),t.rXU(t.SKi),t.rXU(t.bc$,8))}}static{this.\u0275cmp=t.VBU({type:k,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(b,z){2&b&&(t.BMQ("disabled",z._getDisabledAttribute())("aria-disabled",z._getAriaDisabled()),t.HbH(z.color?"mat-"+z.color:""),t.AVh("mat-mdc-button-disabled",z.disabled)("mat-mdc-button-disabled-interactive",z.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===z._animationMode)("mat-unthemed",!z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[t.Vt3,t.aNF],attrs:l,ngContentSelectors:f,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(b,z){1&b&&(t.NAR(w),t.nrm(0,"span",0),t.SdG(1),t.j41(2,"span",1),t.SdG(3,1),t.k0s(),t.SdG(4,2),t.nrm(5,"span",2)(6,"span",3)),2&b&&t.AVh("mdc-button__ripple",!z._isFab)("mdc-fab__ripple",z._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{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.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:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-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,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.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-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-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,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-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-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.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-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-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,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-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].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);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);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.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-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-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,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .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 .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-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-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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-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,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.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 k})();const Me=new t.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:Ce});function Ce(){return{color:"accent"}}const le=Ce();let n=(()=>{class k extends J{constructor(a,b,z,N,q){super(a,b,z,N),this._options=q,this._isFab=!0,this._options=this._options||le,this.color=this._options.color||le.color}static{this.\u0275fac=function(b){return new(b||k)(t.rXU(t.aKT),t.rXU(e.OD),t.rXU(t.SKi),t.rXU(t.bc$,8),t.rXU(Me,8))}}static{this.\u0275cmp=t.VBU({type:k,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(b,z){2&b&&(t.BMQ("disabled",z._getDisabledAttribute())("aria-disabled",z._getAriaDisabled()),t.HbH(z.color?"mat-"+z.color:""),t.AVh("mat-mdc-button-disabled",z.disabled)("mat-mdc-button-disabled-interactive",z.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===z._animationMode)("mat-unthemed",!z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[t.Vt3,t.aNF],attrs:y,ngContentSelectors:f,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(b,z){1&b&&(t.NAR(w),t.nrm(0,"span",0),t.SdG(1),t.j41(2,"span",1),t.SdG(3,1),t.k0s(),t.SdG(4,2),t.nrm(5,"span",2)(6,"span",3)),2&b&&t.AVh("mdc-button__ripple",!z._isFab)("mdc-fab__ripple",z._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)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(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{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-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){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);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-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-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-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-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-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.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,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.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 .mat-mdc-button-touch-target{width:100%}.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}'],encapsulation:2,changeDetection:0})}}return k})(),d=(()=>{class k extends J{constructor(a,b,z,N){super(a,b,z,N),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(b){return new(b||k)(t.rXU(t.aKT),t.rXU(e.OD),t.rXU(t.SKi),t.rXU(t.bc$,8))}}static{this.\u0275cmp=t.VBU({type:k,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(b,z){2&b&&(t.BMQ("disabled",z._getDisabledAttribute())("aria-disabled",z._getAriaDisabled()),t.HbH(z.color?"mat-"+z.color:""),t.AVh("mat-mdc-button-disabled",z.disabled)("mat-mdc-button-disabled-interactive",z.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===z._animationMode)("mat-unthemed",!z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[t.Vt3,t.aNF],attrs:I,ngContentSelectors:V,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(b,z){1&b&&(t.NAR(),t.nrm(0,"span",0),t.SdG(1),t.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{color:var(--mdc-icon-button-icon-color)}.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{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);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],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-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,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .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%);display:var(--mat-icon-button-touch-target-display)}.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 k})(),A=(()=>{class k{static{this.\u0275fac=function(b){return new(b||k)}}static{this.\u0275mod=t.$C({type:k})}static{this.\u0275inj=t.G2t({imports:[D.yE,D.pZ,D.yE]})}}return k})()},5596:(Qe,te,g)=>{"use strict";g.d(te,{Hu:()=>Ce,Lc:()=>V,MM:()=>Y,RN:()=>S,dh:()=>y,m2:()=>I});var e=g(4438),t=g(177),x=g(6600);const D=["*"],f=[[["","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]","*"],h=new e.nKC("MAT_CARD_CONFIG");let S=(()=>{class le{constructor(n){this.appearance=n?.appearance||"raised"}static{this.\u0275fac=function(c){return new(c||le)(e.rXU(h,8))}}static{this.\u0275cmp=e.VBU({type:le,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(c,m){2&c&&e.AVh("mat-mdc-card-outlined","outlined"===m.appearance)("mdc-card--outlined","outlined"===m.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[e.aNF],ngContentSelectors:D,decls:1,vars:0,template:function(c,m){1&c&&(e.NAR(),e.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 le})(),y=(()=>{class le{static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275dir=e.FsC({type:le,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0})}}return le})(),I=(()=>{class le{static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275dir=e.FsC({type:le,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}}return le})(),V=(()=>{class le{static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275dir=e.FsC({type:le,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"],standalone:!0})}}return le})(),Y=(()=>{class le{static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275cmp=e.VBU({type:le,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[e.aNF],ngContentSelectors:R,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(c,m){1&c&&(e.NAR(f),e.SdG(0),e.j41(1,"div",0),e.SdG(2,1),e.k0s(),e.SdG(3,2))},encapsulation:2,changeDetection:0})}}return le})(),Ce=(()=>{class le{static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275mod=e.$C({type:le})}static{this.\u0275inj=e.G2t({imports:[x.yE,t.MD,x.yE]})}}return le})()},2765:(Qe,te,g)=>{"use strict";g.d(te,{So:()=>V,g7:()=>Q});var e=g(4438),t=g(9417),x=g(6600);const D=["input"],l=["label"],w=["*"],f=new e.nKC("mat-checkbox-default-options",{providedIn:"root",factory:R});function R(){return{color:"accent",clickAction:"check-indeterminate"}}var h=function(J){return J[J.Init=0]="Init",J[J.Checked=1]="Checked",J[J.Unchecked=2]="Unchecked",J[J.Indeterminate=3]="Indeterminate",J}(h||{});const S={provide:t.kq,useExisting:(0,e.Rfq)(()=>V),multi:!0};class y{}let O=0;const I=R();let V=(()=>{class J{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(ee){const fe=new y;return fe.source=this,fe.checked=ee,fe}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ee,fe,ne,Me,Ce,le){this._elementRef=ee,this._changeDetectorRef=fe,this._ngZone=ne,this._animationMode=Ce,this._options=le,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.bkB,this.indeterminateChange=new e.bkB,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=h.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||I,this.color=this._options.color||I.color,this.tabIndex=parseInt(Me)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++O}ngOnChanges(ee){ee.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(ee){ee!=this.checked&&(this._checked=ee,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ee){ee!==this.disabled&&(this._disabled=ee,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(ee){const fe=ee!=this._indeterminate;this._indeterminate=ee,fe&&(this._transitionCheckState(this._indeterminate?h.Indeterminate:this.checked?h.Checked:h.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(ee){this.checked=!!ee}registerOnChange(ee){this._controlValueAccessorChangeFn=ee}registerOnTouched(ee){this._onTouched=ee}setDisabledState(ee){this.disabled=ee}validate(ee){return this.required&&!0!==ee.value?{required:!0}:null}registerOnValidatorChange(ee){this._validatorChangeFn=ee}_transitionCheckState(ee){let fe=this._currentCheckState,ne=this._getAnimationTargetElement();if(fe!==ee&&ne&&(this._currentAnimationClass&&ne.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(fe,ee),this._currentCheckState=ee,this._currentAnimationClass.length>0)){ne.classList.add(this._currentAnimationClass);const Me=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{ne.classList.remove(Me)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const ee=this._options?.clickAction;this.disabled||"noop"===ee?!this.disabled&&"noop"===ee&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ee&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?h.Checked:h.Unchecked),this._emitChangeEvent())}_onInteractionEvent(ee){ee.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(ee,fe){if("NoopAnimations"===this._animationMode)return"";switch(ee){case h.Init:if(fe===h.Checked)return this._animationClasses.uncheckedToChecked;if(fe==h.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case h.Unchecked:return fe===h.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case h.Checked:return fe===h.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case h.Indeterminate:return fe===h.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(ee){const fe=this._inputElement;fe&&(fe.nativeElement.indeterminate=ee)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(ee){ee.target&&this._labelElement.nativeElement.contains(ee.target)&&ee.stopPropagation()}static{this.\u0275fac=function(fe){return new(fe||J)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(e.SKi),e.kS0("tabindex"),e.rXU(e.bc$,8),e.rXU(f,8))}}static{this.\u0275cmp=e.VBU({type:J,selectors:[["mat-checkbox"]],viewQuery:function(fe,ne){if(1&fe&&(e.GBs(D,5),e.GBs(l,5),e.GBs(x.r6,5)),2&fe){let Me;e.mGM(Me=e.lsd())&&(ne._inputElement=Me.first),e.mGM(Me=e.lsd())&&(ne._labelElement=Me.first),e.mGM(Me=e.lsd())&&(ne.ripple=Me.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(fe,ne){2&fe&&(e.Mr5("id",ne.id),e.BMQ("tabindex",null)("aria-label",null)("aria-labelledby",null),e.HbH(ne.color?"mat-"+ne.color:"mat-accent"),e.AVh("_mat-animation-noopable","NoopAnimations"===ne._animationMode)("mdc-checkbox--disabled",ne.disabled)("mat-mdc-checkbox-disabled",ne.disabled)("mat-mdc-checkbox-checked",ne.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",e.L39],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",ee=>null==ee?void 0:(0,e.Udg)(ee)],color:"color",checked:[2,"checked","checked",e.L39],disabled:[2,"disabled","disabled",e.L39],indeterminate:[2,"indeterminate","indeterminate",e.L39]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[e.Jv_([S,{provide:t.cz,useExisting:J,multi:!0}]),e.GFd,e.OA$,e.aNF],ngContentSelectors:w,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[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(fe,ne){if(1&fe){const Me=e.RV6();e.NAR(),e.j41(0,"div",3),e.bIt("click",function(le){return e.eBV(Me),e.Njj(ne._preventBubblingFromLabel(le))}),e.j41(1,"div",4,0)(3,"div",5),e.bIt("click",function(){return e.eBV(Me),e.Njj(ne._onTouchTargetClick())}),e.k0s(),e.j41(4,"input",6,1),e.bIt("blur",function(){return e.eBV(Me),e.Njj(ne._onBlur())})("click",function(){return e.eBV(Me),e.Njj(ne._onInputClick())})("change",function(le){return e.eBV(Me),e.Njj(ne._onInteractionEvent(le))}),e.k0s(),e.nrm(6,"div",7),e.j41(7,"div",8),e.qSk(),e.j41(8,"svg",9),e.nrm(9,"path",10),e.k0s(),e.joV(),e.nrm(10,"div",11),e.k0s(),e.nrm(11,"div",12),e.k0s(),e.j41(12,"label",13,2),e.SdG(14),e.k0s()()}if(2&fe){const Me=e.sdS(2);e.Y8G("labelPosition",ne.labelPosition),e.R7$(4),e.AVh("mdc-checkbox--selected",ne.checked),e.Y8G("checked",ne.checked)("indeterminate",ne.indeterminate)("disabled",ne.disabled)("id",ne.inputId)("required",ne.required)("tabIndex",ne.disabled?-1:ne.tabIndex),e.BMQ("aria-label",ne.ariaLabel||null)("aria-labelledby",ne.ariaLabelledby)("aria-describedby",ne.ariaDescribedby)("aria-checked",ne.indeterminate?"mixed":null)("name",ne.name)("value",ne.value),e.R7$(7),e.Y8G("matRippleTrigger",Me)("matRippleDisabled",ne.disableRipple||ne.disabled)("matRippleCentered",!0),e.R7$(),e.Y8G("for",ne.inputId)}},dependencies:[x.r6,x.tO],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-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;color:var(--mat-checkbox-disabled-label-color)}.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%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return J})(),Q=(()=>{class J{static{this.\u0275fac=function(fe){return new(fe||J)}}static{this.\u0275mod=e.$C({type:J})}static{this.\u0275inj=e.G2t({imports:[V,x.yE,x.yE]})}}return J})()},6471:(Qe,te,g)=>{"use strict";g.d(te,{Jl:()=>Xe,YN:()=>ct});var e=g(4438),t=g(177),x=g(6600),D=g(8617),l=g(1413),w=g(7786),f=g(6697),y=(g(6977),g(9172),g(5558),g(7336));g(8203),g(9417),g(6467);const j=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Y=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function W(dt,Yt){1&dt&&(e.j41(0,"span",3),e.SdG(1,1),e.k0s())}function Q(dt,Yt){1&dt&&(e.j41(0,"span",6),e.SdG(1,2),e.k0s())}const A=new e.nKC("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[y.Fm]})}),k=new e.nKC("MatChipAvatar"),_=new e.nKC("MatChipTrailingIcon"),a=new e.nKC("MatChipRemove"),b=new e.nKC("MatChip");let z=(()=>{class dt{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(ve){this._disabled=ve}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(ve,_e){this._elementRef=ve,this._parentChip=_e,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,"BUTTON"===ve.nativeElement.nodeName&&ve.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(ve){!this.disabled&&this.isInteractive&&this._isPrimary&&(ve.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(ve){(ve.keyCode===y.Fm||ve.keyCode===y.t6)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(ve.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static{this.\u0275fac=function(_e){return new(_e||dt)(e.rXU(e.aKT),e.rXU(b))}}static{this.\u0275dir=e.FsC({type:dt,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(_e,we){1&_e&&e.bIt("click",function(je){return we._handleClick(je)})("keydown",function(je){return we._handleKeydown(je)}),2&_e&&(e.BMQ("tabindex",we._getTabindex())("disabled",we._getDisabledAttribute())("aria-disabled",we.disabled),e.AVh("mdc-evolution-chip__action--primary",we._isPrimary)("mdc-evolution-chip__action--presentational",!we.isInteractive)("mdc-evolution-chip__action--trailing",!we._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",e.L39],tabIndex:[2,"tabIndex","tabIndex",ve=>null==ve?-1:(0,e.Udg)(ve)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[e.GFd]})}}return dt})(),ze=0,Xe=(()=>{class dt{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(ve){this._value=ve}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(ve){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,ve)}constructor(ve,_e,we,Ue,je,vt,$e,nt){this._changeDetectorRef=ve,this._elementRef=_e,this._ngZone=we,this._focusMonitor=Ue,this._globalRippleOptions=$e,this._onFocus=new l.B,this._onBlur=new l.B,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+ze++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this.disabled=!1,this.tabIndex=-1,this.removed=new e.bkB,this.destroyed=new e.bkB,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,e.WQX)(x.Ej),this._document=je,this._animationsDisabled="NoopAnimations"===vt,null!=nt&&(this.tabIndex=parseInt(nt)??-1),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const ve=this._elementRef.nativeElement;this._isBasicChip=ve.hasAttribute(this.basicChipAttrName)||ve.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,w.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._rippleLoader?.destroyRipple(this._elementRef.nativeElement),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(ve){(ve.keyCode===y.G_&&!ve.repeat||ve.keyCode===y.SJ)&&(ve.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(ve){return this._getActions().find(_e=>{const we=_e._elementRef.nativeElement;return we===ve||we.contains(ve)})}_getActions(){const ve=[];return this.primaryAction&&ve.push(this.primaryAction),this.removeIcon&&ve.push(this.removeIcon),this.trailingIcon&&ve.push(this.trailingIcon),ve}_handlePrimaryActionInteraction(){}_getTabIndex(){return this.role?this.disabled?-1:this.tabIndex:null}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ve=>{const _e=null!==ve;_e!==this._hasFocusInternal&&(this._hasFocusInternal=_e,_e?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,f.s)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static{this.\u0275fac=function(_e){return new(_e||dt)(e.rXU(e.gRc),e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(D.FN),e.rXU(t.qQ),e.rXU(e.bc$,8),e.rXU(x.$E,8),e.kS0("tabindex"))}}static{this.\u0275cmp=e.VBU({type:dt,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(_e,we,Ue){if(1&_e&&(e.wni(Ue,k,5),e.wni(Ue,_,5),e.wni(Ue,a,5),e.wni(Ue,k,5),e.wni(Ue,_,5),e.wni(Ue,a,5)),2&_e){let je;e.mGM(je=e.lsd())&&(we.leadingIcon=je.first),e.mGM(je=e.lsd())&&(we.trailingIcon=je.first),e.mGM(je=e.lsd())&&(we.removeIcon=je.first),e.mGM(je=e.lsd())&&(we._allLeadingIcons=je),e.mGM(je=e.lsd())&&(we._allTrailingIcons=je),e.mGM(je=e.lsd())&&(we._allRemoveIcons=je)}},viewQuery:function(_e,we){if(1&_e&&e.GBs(z,5),2&_e){let Ue;e.mGM(Ue=e.lsd())&&(we.primaryAction=Ue.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(_e,we){1&_e&&e.bIt("keydown",function(je){return we._handleKeydown(je)}),2&_e&&(e.Mr5("id",we.id),e.BMQ("role",we.role)("tabindex",we._getTabIndex())("aria-label",we.ariaLabel),e.HbH("mat-"+(we.color||"primary")),e.AVh("mdc-evolution-chip",!we._isBasicChip)("mdc-evolution-chip--disabled",we.disabled)("mdc-evolution-chip--with-trailing-action",we._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",we.leadingIcon)("mdc-evolution-chip--with-primary-icon",we.leadingIcon)("mdc-evolution-chip--with-avatar",we.leadingIcon)("mat-mdc-chip-with-avatar",we.leadingIcon)("mat-mdc-chip-highlighted",we.highlighted)("mat-mdc-chip-disabled",we.disabled)("mat-mdc-basic-chip",we._isBasicChip)("mat-mdc-standard-chip",!we._isBasicChip)("mat-mdc-chip-with-trailing-icon",we._hasTrailingIcon())("_mat-animation-noopable",we._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",e.L39],highlighted:[2,"highlighted","highlighted",e.L39],disableRipple:[2,"disableRipple","disableRipple",e.L39],disabled:[2,"disabled","disabled",e.L39],tabIndex:[2,"tabIndex","tabIndex",ve=>null==ve?void 0:(0,e.Udg)(ve)]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[e.Jv_([{provide:b,useExisting:dt}]),e.GFd,e.aNF],ngContentSelectors:Y,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(_e,we){1&_e&&(e.NAR(j),e.nrm(0,"span",0),e.j41(1,"span",1)(2,"span",2),e.DNE(3,W,2,0,"span",3),e.j41(4,"span",4),e.SdG(5),e.nrm(6,"span",5),e.k0s()()(),e.DNE(7,Q,2,0,"span",6)),2&_e&&(e.R7$(2),e.Y8G("isInteractive",!1),e.R7$(),e.vxM(we.leadingIcon?3:-1),e.R7$(4),e.vxM(we._hasTrailingIcon()?7:-1))},dependencies:[z],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) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus:before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.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:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-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--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-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:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-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-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.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-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.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}.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__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 .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::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;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 dt})(),ct=(()=>{class dt{static{this.\u0275fac=function(_e){return new(_e||dt)}}static{this.\u0275mod=e.$C({type:dt})}static{this.\u0275inj=e.G2t({providers:[x.es,{provide:A,useValue:{separatorKeyCodes:[y.Fm]}}],imports:[x.yE,x.pZ,x.yE]})}}return dt})()},6600:(Qe,te,g)=>{"use strict";g.d(te,{r5:()=>ee,ed:()=>fe,MJ:()=>z,es:()=>ae,de:()=>N,Ju:()=>a,QC:()=>jt,is:()=>Nt,$E:()=>je,yE:()=>Ce,Np:()=>me,WX:()=>oe,wT:()=>It,Sy:()=>xt,MI:()=>Ae,wg:()=>nt,O5:()=>qt,r6:()=>vt,Ej:()=>pt,pZ:()=>$e,xW:()=>ze,ug:()=>we,X0:()=>A,tO:()=>Ke,jb:()=>Qt,TL:()=>Tt});var e=g(4438),t=g(8617),x=g(8203),l=g(177),w=g(6860),f=g(4085),R=g(1413),h=g(7336);const O=["text"],I=[[["mat-icon"]],"*"],V=["mat-icon","*"];function j(Fe,Ge){if(1&Fe&&e.nrm(0,"mat-pseudo-checkbox",1),2&Fe){const qe=e.XpG();e.Y8G("disabled",qe.disabled)("state",qe.selected?"checked":"unchecked")}}function Y(Fe,Ge){if(1&Fe&&e.nrm(0,"mat-pseudo-checkbox",3),2&Fe){const qe=e.XpG();e.Y8G("disabled",qe.disabled)}}function W(Fe,Ge){if(1&Fe&&(e.j41(0,"span",4),e.EFF(1),e.k0s()),2&Fe){const qe=e.XpG();e.R7$(),e.SpI("(",qe.group.label,")")}}const Q=["mat-internal-form-field",""],J=["*"];let ee=(()=>{class Fe{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 Fe})(),fe=(()=>{class Fe{static{this.COMPLEX="375ms"}static{this.ENTERING="225ms"}static{this.EXITING="195ms"}}return Fe})();const Me=new e.nKC("mat-sanity-checks",{providedIn:"root",factory:function ne(){return!0}});let Ce=(()=>{class Fe{constructor(qe,at,Lt){this._sanityChecks=at,this._document=Lt,this._hasDoneGlobalChecks=!1,qe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(qe){return!(0,w.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[qe])}static{this.\u0275fac=function(at){return new(at||Fe)(e.KVO(t.Q_),e.KVO(Me,8),e.KVO(l.qQ))}}static{this.\u0275mod=e.$C({type:Fe})}static{this.\u0275inj=e.G2t({imports:[x.jI,x.jI]})}}return Fe})();class A{constructor(Ge,qe,at,Lt,pi){this._defaultMatcher=Ge,this.ngControl=qe,this._parentFormGroup=at,this._parentForm=Lt,this._stateChanges=pi,this.errorState=!1}updateErrorState(){const Ge=this.errorState,qe=this._parentFormGroup||this._parentForm,at=this.matcher||this._defaultMatcher,Lt=this.ngControl?this.ngControl.control:null,pi=at?.isErrorState(Lt,qe)??!1;pi!==Ge&&(this.errorState=pi,this._stateChanges.next())}}const a=new e.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function b(){return(0,e.WQX)(e.xe9)}});class z{constructor(){this._localeChanges=new R.B,this.localeChanges=this._localeChanges}getValidDateOrNull(Ge){return this.isDateInstance(Ge)&&this.isValid(Ge)?Ge:null}deserialize(Ge){return null==Ge||this.isDateInstance(Ge)&&this.isValid(Ge)?Ge:this.invalid()}setLocale(Ge){this.locale=Ge,this._localeChanges.next()}compareDate(Ge,qe){return this.getYear(Ge)-this.getYear(qe)||this.getMonth(Ge)-this.getMonth(qe)||this.getDate(Ge)-this.getDate(qe)}sameDate(Ge,qe){if(Ge&&qe){let at=this.isValid(Ge),Lt=this.isValid(qe);return at&&Lt?!this.compareDate(Ge,qe):at==Lt}return Ge==qe}clampDate(Ge,qe,at){return qe&&this.compareDate(Ge,qe)<0?qe:at&&this.compareDate(Ge,at)>0?at:Ge}}const N=new e.nKC("mat-date-formats"),q=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function pe(Fe,Ge){const qe=Array(Fe);for(let at=0;at{class Fe extends z{constructor(qe){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,e.WQX)(a,{optional:!0}),void 0!==qe&&(this._matDateLocale=qe),super.setLocale(this._matDateLocale)}getYear(qe){return qe.getFullYear()}getMonth(qe){return qe.getMonth()}getDate(qe){return qe.getDate()}getDayOfWeek(qe){return qe.getDay()}getMonthNames(qe){const at=new Intl.DateTimeFormat(this.locale,{month:qe,timeZone:"utc"});return pe(12,Lt=>this._format(at,new Date(2017,Lt,1)))}getDateNames(){const qe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return pe(31,at=>this._format(qe,new Date(2017,0,at+1)))}getDayOfWeekNames(qe){const at=new Intl.DateTimeFormat(this.locale,{weekday:qe,timeZone:"utc"});return pe(7,Lt=>this._format(at,new Date(2017,0,Lt+1)))}getYearName(qe){const at=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(at,qe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(qe){return this.getDate(this._createDateWithOverflow(this.getYear(qe),this.getMonth(qe)+1,0))}clone(qe){return new Date(qe.getTime())}createDate(qe,at,Lt){let pi=this._createDateWithOverflow(qe,at,Lt);return pi.getMonth(),pi}today(){return new Date}parse(qe,at){return"number"==typeof qe?new Date(qe):qe?new Date(Date.parse(qe)):null}format(qe,at){if(!this.isValid(qe))throw Error("NativeDateAdapter: Cannot format invalid date.");const Lt=new Intl.DateTimeFormat(this.locale,{...at,timeZone:"utc"});return this._format(Lt,qe)}addCalendarYears(qe,at){return this.addCalendarMonths(qe,12*at)}addCalendarMonths(qe,at){let Lt=this._createDateWithOverflow(this.getYear(qe),this.getMonth(qe)+at,this.getDate(qe));return this.getMonth(Lt)!=((this.getMonth(qe)+at)%12+12)%12&&(Lt=this._createDateWithOverflow(this.getYear(Lt),this.getMonth(Lt),0)),Lt}addCalendarDays(qe,at){return this._createDateWithOverflow(this.getYear(qe),this.getMonth(qe),this.getDate(qe)+at)}toIso8601(qe){return[qe.getUTCFullYear(),this._2digit(qe.getUTCMonth()+1),this._2digit(qe.getUTCDate())].join("-")}deserialize(qe){if("string"==typeof qe){if(!qe)return null;if(q.test(qe)){let at=new Date(qe);if(this.isValid(at))return at}}return super.deserialize(qe)}isDateInstance(qe){return qe instanceof Date}isValid(qe){return!isNaN(qe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(qe,at,Lt){const pi=new Date;return pi.setFullYear(qe,at,Lt),pi.setHours(0,0,0,0),pi}_2digit(qe){return("00"+qe).slice(-2)}_format(qe,at){const Lt=new Date;return Lt.setUTCFullYear(at.getFullYear(),at.getMonth(),at.getDate()),Lt.setUTCHours(at.getHours(),at.getMinutes(),at.getSeconds(),at.getMilliseconds()),qe.format(Lt)}static{this.\u0275fac=function(at){return new(at||Fe)(e.KVO(a,8))}}static{this.\u0275prov=e.jDH({token:Fe,factory:Fe.\u0275fac})}}return Fe})();const Xe={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 oe=(()=>{class Fe{static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275mod=e.$C({type:Fe})}static{this.\u0275inj=e.G2t({providers:[X()]})}}return Fe})();function X(Fe=Xe){return[{provide:z,useClass:ze},{provide:N,useValue:Fe}]}let ae=(()=>{class Fe{isErrorState(qe,at){return!!(qe&&qe.invalid&&(qe.touched||at&&at.submitted))}static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275prov=e.jDH({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}}return Fe})(),me=(()=>{class Fe{static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275mod=e.$C({type:Fe})}static{this.\u0275inj=e.G2t({imports:[Ce,Ce]})}}return Fe})();var Ee=function(Fe){return Fe[Fe.FADING_IN=0]="FADING_IN",Fe[Fe.VISIBLE=1]="VISIBLE",Fe[Fe.FADING_OUT=2]="FADING_OUT",Fe[Fe.HIDDEN=3]="HIDDEN",Fe}(Ee||{});class ue{constructor(Ge,qe,at,Lt=!1){this._renderer=Ge,this.element=qe,this.config=at,this._animationForciblyDisabledThroughCss=Lt,this.state=Ee.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const Be=(0,w.BQ)({passive:!0,capture:!0});class Ct{constructor(){this._events=new Map,this._delegateEventHandler=Ge=>{const qe=(0,w.Fb)(Ge);qe&&this._events.get(Ge.type)?.forEach((at,Lt)=>{(Lt===qe||Lt.contains(qe))&&at.forEach(pi=>pi.handleEvent(Ge))})}}addHandler(Ge,qe,at,Lt){const pi=this._events.get(qe);if(pi){const $t=pi.get(at);$t?$t.add(Lt):pi.set(at,new Set([Lt]))}else this._events.set(qe,new Map([[at,new Set([Lt])]])),Ge.runOutsideAngular(()=>{document.addEventListener(qe,this._delegateEventHandler,Be)})}removeHandler(Ge,qe,at){const Lt=this._events.get(Ge);if(!Lt)return;const pi=Lt.get(qe);pi&&(pi.delete(at),0===pi.size&&Lt.delete(qe),0===Lt.size&&(this._events.delete(Ge),document.removeEventListener(Ge,this._delegateEventHandler,Be)))}}const ct={enterDuration:225,exitDuration:150},Yt=(0,w.BQ)({passive:!0,capture:!0}),ve=["mousedown","touchstart"],_e=["mouseup","mouseleave","touchend","touchcancel"];class we{static{this._eventManager=new Ct}constructor(Ge,qe,at,Lt){this._target=Ge,this._ngZone=qe,this._platform=Lt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Lt.isBrowser&&(this._containerElement=(0,f.i8)(at))}fadeInRipple(Ge,qe,at={}){const Lt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),pi={...ct,...at.animation};at.centered&&(Ge=Lt.left+Lt.width/2,qe=Lt.top+Lt.height/2);const $t=at.radius||function Ue(Fe,Ge,qe){const at=Math.max(Math.abs(Fe-qe.left),Math.abs(Fe-qe.right)),Lt=Math.max(Math.abs(Ge-qe.top),Math.abs(Ge-qe.bottom));return Math.sqrt(at*at+Lt*Lt)}(Ge,qe,Lt),Kt=Ge-Lt.left,Ui=qe-Lt.top,ti=pi.enterDuration,fi=document.createElement("div");fi.classList.add("mat-ripple-element"),fi.style.left=Kt-$t+"px",fi.style.top=Ui-$t+"px",fi.style.height=2*$t+"px",fi.style.width=2*$t+"px",null!=at.color&&(fi.style.backgroundColor=at.color),fi.style.transitionDuration=`${ti}ms`,this._containerElement.appendChild(fi);const xn=window.getComputedStyle(fi),Vi=xn.transitionDuration,Qi="none"===xn.transitionProperty||"0s"===Vi||"0s, 0s"===Vi||0===Lt.width&&0===Lt.height,Xt=new ue(this,fi,at,Qi);fi.style.transform="scale3d(1, 1, 1)",Xt.state=Ee.FADING_IN,at.persistent||(this._mostRecentTransientRipple=Xt);let St=null;return!Qi&&(ti||pi.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const tt=()=>this._finishRippleTransition(Xt),ot=()=>this._destroyRipple(Xt);fi.addEventListener("transitionend",tt),fi.addEventListener("transitioncancel",ot),St={onTransitionEnd:tt,onTransitionCancel:ot}}),this._activeRipples.set(Xt,St),(Qi||!ti)&&this._finishRippleTransition(Xt),Xt}fadeOutRipple(Ge){if(Ge.state===Ee.FADING_OUT||Ge.state===Ee.HIDDEN)return;const qe=Ge.element,at={...ct,...Ge.config.animation};qe.style.transitionDuration=`${at.exitDuration}ms`,qe.style.opacity="0",Ge.state=Ee.FADING_OUT,(Ge._animationForciblyDisabledThroughCss||!at.exitDuration)&&this._finishRippleTransition(Ge)}fadeOutAll(){this._getActiveRipples().forEach(Ge=>Ge.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ge=>{Ge.config.persistent||Ge.fadeOut()})}setupTriggerEvents(Ge){const qe=(0,f.i8)(Ge);!this._platform.isBrowser||!qe||qe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=qe,ve.forEach(at=>{we._eventManager.addHandler(this._ngZone,at,qe,this)}))}handleEvent(Ge){"mousedown"===Ge.type?this._onMousedown(Ge):"touchstart"===Ge.type?this._onTouchStart(Ge):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{_e.forEach(qe=>{this._triggerElement.addEventListener(qe,this,Yt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ge){Ge.state===Ee.FADING_IN?this._startFadeOutTransition(Ge):Ge.state===Ee.FADING_OUT&&this._destroyRipple(Ge)}_startFadeOutTransition(Ge){const qe=Ge===this._mostRecentTransientRipple,{persistent:at}=Ge.config;Ge.state=Ee.VISIBLE,!at&&(!qe||!this._isPointerDown)&&Ge.fadeOut()}_destroyRipple(Ge){const qe=this._activeRipples.get(Ge)??null;this._activeRipples.delete(Ge),this._activeRipples.size||(this._containerRect=null),Ge===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ge.state=Ee.HIDDEN,null!==qe&&(Ge.element.removeEventListener("transitionend",qe.onTransitionEnd),Ge.element.removeEventListener("transitioncancel",qe.onTransitionCancel)),Ge.element.remove()}_onMousedown(Ge){const qe=(0,t._G)(Ge),at=this._lastTouchStartEvent&&Date.now(){!Ge.config.persistent&&(Ge.state===Ee.VISIBLE||Ge.config.terminateOnPointerUp&&Ge.state===Ee.FADING_IN)&&Ge.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Ge=this._triggerElement;Ge&&(ve.forEach(qe=>we._eventManager.removeHandler(qe,Ge,this)),this._pointerUpEventsRegistered&&(_e.forEach(qe=>Ge.removeEventListener(qe,this,Yt)),this._pointerUpEventsRegistered=!1))}}const je=new e.nKC("mat-ripple-global-options");let vt=(()=>{class Fe{get disabled(){return this._disabled}set disabled(qe){qe&&this.fadeOutAllNonPersistent(),this._disabled=qe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(qe){this._trigger=qe,this._setupTriggerEventsIfEnabled()}constructor(qe,at,Lt,pi,$t){this._elementRef=qe,this._animationMode=$t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=pi||{},this._rippleRenderer=new we(this,at,qe,Lt)}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(qe,at=0,Lt){return"number"==typeof qe?this._rippleRenderer.fadeInRipple(qe,at,{...this.rippleConfig,...Lt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...qe})}static{this.\u0275fac=function(at){return new(at||Fe)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(w.OD),e.rXU(je,8),e.rXU(e.bc$,8))}}static{this.\u0275dir=e.FsC({type:Fe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(at,Lt){2&at&&e.AVh("mat-ripple-unbounded",Lt.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"],standalone:!0})}}return Fe})(),$e=(()=>{class Fe{static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275mod=e.$C({type:Fe})}static{this.\u0275inj=e.G2t({imports:[Ce,Ce]})}}return Fe})(),nt=(()=>{class Fe{constructor(qe){this._animationMode=qe,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(at){return new(at||Fe)(e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:Fe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(at,Lt){2&at&&e.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===Lt.state)("mat-pseudo-checkbox-checked","checked"===Lt.state)("mat-pseudo-checkbox-disabled",Lt.disabled)("mat-pseudo-checkbox-minimal","minimal"===Lt.appearance)("mat-pseudo-checkbox-full","full"===Lt.appearance)("_mat-animation-noopable","NoopAnimations"===Lt._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[e.aNF],decls:0,vars:0,template:function(at,Lt){},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-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.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 Fe})(),qt=(()=>{class Fe{static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275mod=e.$C({type:Fe})}static{this.\u0275inj=e.G2t({imports:[Ce]})}}return Fe})();const Nt=new e.nKC("MAT_OPTION_PARENT_COMPONENT"),jt=new e.nKC("MatOptgroup");let et=0;class Ae{constructor(Ge,qe=!1){this.source=Ge,this.isUserInput=qe}}let It=(()=>{class Fe{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(qe){this._disabled=qe}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(qe,at,Lt,pi){this._element=qe,this._changeDetectorRef=at,this._parent=Lt,this.group=pi,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+et++,this.onSelectionChange=new e.bkB,this._stateChanges=new R.B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(qe=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),qe&&this._emitSelectionChangeEvent())}deselect(qe=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),qe&&this._emitSelectionChangeEvent())}focus(qe,at){const Lt=this._getHostElement();"function"==typeof Lt.focus&&Lt.focus(at)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(qe){(qe.keyCode===h.Fm||qe.keyCode===h.t6)&&!(0,h.rp)(qe)&&(this._selectViaInteraction(),qe.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 qe=this.viewValue;qe!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=qe)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(qe=!1){this.onSelectionChange.emit(new Ae(this,qe))}static{this.\u0275fac=function(at){return new(at||Fe)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(Nt,8),e.rXU(jt,8))}}static{this.\u0275cmp=e.VBU({type:Fe,selectors:[["mat-option"]],viewQuery:function(at,Lt){if(1&at&&e.GBs(O,7),2&at){let pi;e.mGM(pi=e.lsd())&&(Lt._text=pi.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(at,Lt){1&at&&e.bIt("click",function(){return Lt._selectViaInteraction()})("keydown",function($t){return Lt._handleKeydown($t)}),2&at&&(e.Mr5("id",Lt.id),e.BMQ("aria-selected",Lt.selected)("aria-disabled",Lt.disabled.toString()),e.AVh("mdc-list-item--selected",Lt.selected)("mat-mdc-option-multiple",Lt.multiple)("mat-mdc-option-active",Lt.active)("mdc-list-item--disabled",Lt.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",e.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[e.GFd,e.aNF],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(at,Lt){1&at&&(e.NAR(I),e.DNE(0,j,1,2,"mat-pseudo-checkbox",1),e.SdG(1),e.j41(2,"span",2,0),e.SdG(4,1),e.k0s(),e.DNE(5,Y,1,1,"mat-pseudo-checkbox",3)(6,W,2,1,"span",4),e.nrm(7,"div",5)),2&at&&(e.vxM(Lt.multiple?0:-1),e.R7$(5),e.vxM(Lt.multiple||!Lt.selected||Lt.hideSingleSelectionIndicator?-1:5),e.R7$(),e.vxM(Lt.group&&Lt.group._inert?6:-1),e.R7$(),e.Y8G("matRippleTrigger",Lt._getHostElement())("matRippleDisabled",Lt.disabled||Lt.disableRipple))},dependencies:[nt,vt],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;background:rgba(0,0,0,0)}.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-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return Fe})();function Qt(Fe,Ge,qe){if(qe.length){let at=Ge.toArray(),Lt=qe.toArray(),pi=0;for(let $t=0;$tqe+at?Math.max(0,Fe-at+Ge):qe}let xt=(()=>{class Fe{static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275mod=e.$C({type:Fe})}static{this.\u0275inj=e.G2t({imports:[$e,Ce,qt]})}}return Fe})();const Se={capture:!0},Te=["focus","click","mouseenter","touchstart"],ce="mat-ripple-loader-uninitialized",Z="mat-ripple-loader-class-name",Re="mat-ripple-loader-centered",Pe="mat-ripple-loader-disabled";let pt=(()=>{class Fe{constructor(){this._document=(0,e.WQX)(l.qQ,{optional:!0}),this._animationMode=(0,e.WQX)(e.bc$,{optional:!0}),this._globalRippleOptions=(0,e.WQX)(je,{optional:!0}),this._platform=(0,e.WQX)(w.OD),this._ngZone=(0,e.WQX)(e.SKi),this._hosts=new Map,this._onInteraction=qe=>{if(!(qe.target instanceof HTMLElement))return;const Lt=qe.target.closest(`[${ce}]`);Lt&&this._createRipple(Lt)},this._ngZone.runOutsideAngular(()=>{for(const qe of Te)this._document?.addEventListener(qe,this._onInteraction,Se)})}ngOnDestroy(){const qe=this._hosts.keys();for(const at of qe)this.destroyRipple(at);for(const at of Te)this._document?.removeEventListener(at,this._onInteraction,Se)}configureRipple(qe,at){qe.setAttribute(ce,""),(at.className||!qe.hasAttribute(Z))&&qe.setAttribute(Z,at.className||""),at.centered&&qe.setAttribute(Re,""),at.disabled&&qe.setAttribute(Pe,"")}getRipple(qe){return this._hosts.get(qe)||this._createRipple(qe)}setDisabled(qe,at){const Lt=this._hosts.get(qe);Lt?Lt.disabled=at:at?qe.setAttribute(Pe,""):qe.removeAttribute(Pe)}_createRipple(qe){if(!this._document)return;const at=this._hosts.get(qe);if(at)return at;qe.querySelector(".mat-ripple")?.remove();const Lt=this._document.createElement("span");Lt.classList.add("mat-ripple",qe.getAttribute(Z)),qe.append(Lt);const pi=new vt(new e.aKT(Lt),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return pi._isInitialized=!0,pi.trigger=qe,pi.centered=qe.hasAttribute(Re),pi.disabled=qe.hasAttribute(Pe),this.attachRipple(qe,pi),pi}attachRipple(qe,at){qe.removeAttribute(ce),this._hosts.set(qe,at)}destroyRipple(qe){const at=this._hosts.get(qe);at&&(at.ngOnDestroy(),this._hosts.delete(qe))}static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275prov=e.jDH({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}}return Fe})(),Ke=(()=>{class Fe{static{this.\u0275fac=function(at){return new(at||Fe)}}static{this.\u0275cmp=e.VBU({type:Fe,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(at,Lt){2&at&&e.AVh("mdc-form-field--align-end","before"===Lt.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[e.aNF],attrs:Q,ngContentSelectors:J,decls:1,vars:0,template:function(at,Lt){1&at&&(e.NAR(),e.SdG(0))},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-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0})}}return Fe})()},5084:(Qe,te,g)=>{"use strict";g.d(te,{Vh:()=>qe,X6:()=>mn,bU:()=>fi,bZ:()=>Ui});var e=g(8617),t=g(6969),x=g(6939),D=g(177),l=g(4438),w=g(8834),f=g(5542),R=g(6600),h=g(1413),S=g(8359),y=g(7786),O=g(7673),I=g(7336),V=g(8203),j=g(6860),Y=g(6697),W=g(9172),Q=g(5964),J=g(4085),ie=g(9969),ee=g(9417),fe=g(6467),ne=g(9631);const Me=["mat-calendar-body",""];function Ce(Ut,lt){if(1&Ut&&(l.j41(0,"tr",0)(1,"td",3),l.EFF(2),l.k0s()()),2&Ut){const re=l.XpG();l.R7$(),l.xc7("padding-top",re._cellPadding)("padding-bottom",re._cellPadding),l.BMQ("colspan",re.numCols),l.R7$(),l.SpI(" ",re.label," ")}}function le(Ut,lt){if(1&Ut&&(l.j41(0,"td",3),l.EFF(1),l.k0s()),2&Ut){const re=l.XpG(2);l.xc7("padding-top",re._cellPadding)("padding-bottom",re._cellPadding),l.BMQ("colspan",re._firstRowOffset),l.R7$(),l.SpI(" ",re._firstRowOffset>=re.labelMinRequiredCells?re.label:""," ")}}function T(Ut,lt){if(1&Ut){const re=l.RV6();l.j41(0,"td",6)(1,"button",7),l.bIt("click",function(ye){const rt=l.eBV(re).$implicit,ht=l.XpG(2);return l.Njj(ht._cellClicked(rt,ye))})("focus",function(ye){const rt=l.eBV(re).$implicit,ht=l.XpG(2);return l.Njj(ht._emitActiveDateChange(rt,ye))}),l.j41(2,"span",8),l.EFF(3),l.k0s(),l.nrm(4,"span",9),l.k0s()()}if(2&Ut){const re=lt.$implicit,He=lt.$index,ye=l.XpG().$index,rt=l.XpG();l.xc7("width",rt._cellWidth)("padding-top",rt._cellPadding)("padding-bottom",rt._cellPadding),l.BMQ("data-mat-row",ye)("data-mat-col",He),l.R7$(),l.AVh("mat-calendar-body-disabled",!re.enabled)("mat-calendar-body-active",rt._isActiveCell(ye,He))("mat-calendar-body-range-start",rt._isRangeStart(re.compareValue))("mat-calendar-body-range-end",rt._isRangeEnd(re.compareValue))("mat-calendar-body-in-range",rt._isInRange(re.compareValue))("mat-calendar-body-comparison-bridge-start",rt._isComparisonBridgeStart(re.compareValue,ye,He))("mat-calendar-body-comparison-bridge-end",rt._isComparisonBridgeEnd(re.compareValue,ye,He))("mat-calendar-body-comparison-start",rt._isComparisonStart(re.compareValue))("mat-calendar-body-comparison-end",rt._isComparisonEnd(re.compareValue))("mat-calendar-body-in-comparison-range",rt._isInComparisonRange(re.compareValue))("mat-calendar-body-preview-start",rt._isPreviewStart(re.compareValue))("mat-calendar-body-preview-end",rt._isPreviewEnd(re.compareValue))("mat-calendar-body-in-preview",rt._isInPreview(re.compareValue)),l.Y8G("ngClass",re.cssClasses)("tabindex",rt._isActiveCell(ye,He)?0:-1),l.BMQ("aria-label",re.ariaLabel)("aria-disabled",!re.enabled||null)("aria-pressed",rt._isSelected(re.compareValue))("aria-current",rt.todayValue===re.compareValue?"date":null)("aria-describedby",rt._getDescribedby(re.compareValue)),l.R7$(),l.AVh("mat-calendar-body-selected",rt._isSelected(re.compareValue))("mat-calendar-body-comparison-identical",rt._isComparisonIdentical(re.compareValue))("mat-calendar-body-today",rt.todayValue===re.compareValue),l.R7$(),l.SpI(" ",re.displayValue," ")}}function n(Ut,lt){if(1&Ut&&(l.j41(0,"tr",1),l.DNE(1,le,2,6,"td",4),l.Z7z(2,T,5,48,"td",5,l.fX1),l.k0s()),2&Ut){const re=lt.$implicit,He=lt.$index,ye=l.XpG();l.R7$(),l.vxM(0===He&&ye._firstRowOffset?1:-1),l.R7$(),l.Dyx(re)}}function c(Ut,lt){if(1&Ut&&(l.j41(0,"th",2)(1,"span",6),l.EFF(2),l.k0s(),l.j41(3,"span",3),l.EFF(4),l.k0s()()),2&Ut){const re=lt.$implicit;l.R7$(2),l.JRh(re.long),l.R7$(2),l.JRh(re.narrow)}}const m=["*"];function d(Ut,lt){}function C(Ut,lt){if(1&Ut){const re=l.RV6();l.j41(0,"mat-month-view",4),l.mxI("activeDateChange",function(ye){l.eBV(re);const rt=l.XpG();return l.DH7(rt.activeDate,ye)||(rt.activeDate=ye),l.Njj(ye)}),l.bIt("_userSelection",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._dateSelected(ye))})("dragStarted",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._dragStarted(ye))})("dragEnded",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._dragEnded(ye))}),l.k0s()}if(2&Ut){const re=l.XpG();l.R50("activeDate",re.activeDate),l.Y8G("selected",re.selected)("dateFilter",re.dateFilter)("maxDate",re.maxDate)("minDate",re.minDate)("dateClass",re.dateClass)("comparisonStart",re.comparisonStart)("comparisonEnd",re.comparisonEnd)("startDateAccessibleName",re.startDateAccessibleName)("endDateAccessibleName",re.endDateAccessibleName)("activeDrag",re._activeDrag)}}function A(Ut,lt){if(1&Ut){const re=l.RV6();l.j41(0,"mat-year-view",5),l.mxI("activeDateChange",function(ye){l.eBV(re);const rt=l.XpG();return l.DH7(rt.activeDate,ye)||(rt.activeDate=ye),l.Njj(ye)}),l.bIt("monthSelected",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._monthSelectedInYearView(ye))})("selectedChange",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._goToDateInView(ye,"month"))}),l.k0s()}if(2&Ut){const re=l.XpG();l.R50("activeDate",re.activeDate),l.Y8G("selected",re.selected)("dateFilter",re.dateFilter)("maxDate",re.maxDate)("minDate",re.minDate)("dateClass",re.dateClass)}}function k(Ut,lt){if(1&Ut){const re=l.RV6();l.j41(0,"mat-multi-year-view",6),l.mxI("activeDateChange",function(ye){l.eBV(re);const rt=l.XpG();return l.DH7(rt.activeDate,ye)||(rt.activeDate=ye),l.Njj(ye)}),l.bIt("yearSelected",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._yearSelectedInMultiYearView(ye))})("selectedChange",function(ye){l.eBV(re);const rt=l.XpG();return l.Njj(rt._goToDateInView(ye,"year"))}),l.k0s()}if(2&Ut){const re=l.XpG();l.R50("activeDate",re.activeDate),l.Y8G("selected",re.selected)("dateFilter",re.dateFilter)("maxDate",re.maxDate)("minDate",re.minDate)("dateClass",re.dateClass)}}function _(Ut,lt){}const a=["button"],b=[[["","matDatepickerToggleIcon",""]]],z=["[matDatepickerToggleIcon]"];function N(Ut,lt){1&Ut&&(l.qSk(),l.j41(0,"svg",2),l.nrm(1,"path",3),l.k0s())}let We=(()=>{class Ut{constructor(){this.changes=new h.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(re,He){return`${re} \u2013 ${He}`}formatYearRangeLabel(re,He){return`${re} to ${He}`}static{this.\u0275fac=function(He){return new(He||Ut)}}static{this.\u0275prov=l.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}}return Ut})();class oe{constructor(lt,re,He,ye,rt={},ht=lt,ii){this.value=lt,this.displayValue=re,this.ariaLabel=He,this.enabled=ye,this.cssClasses=rt,this.compareValue=ht,this.rawValue=ii}}let X=1;const se=(0,j.BQ)({passive:!1,capture:!0}),ae=(0,j.BQ)({passive:!0,capture:!0}),he=(0,j.BQ)({passive:!0});let Ie=(()=>{class Ut{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(re,He){this._elementRef=re,this._ngZone=He,this._platform=(0,l.WQX)(j.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=ye=>{if(this._skipNextFocus&&"focus"===ye.type)this._skipNextFocus=!1;else if(ye.target&&this.isRange){const rt=this._getCellFromElement(ye.target);rt&&this._ngZone.run(()=>this.previewChange.emit({value:rt.enabled?rt:null,event:ye}))}},this._touchmoveHandler=ye=>{if(!this.isRange)return;const rt=Ct(ye),ht=rt?this._getCellFromElement(rt):null;rt!==ye.target&&(this._didDragSinceMouseDown=!0),me(ye.target)&&ye.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:ht?.enabled?ht:null,event:ye}))},this._leaveHandler=ye=>{null!==this.previewEnd&&this.isRange&&("blur"!==ye.type&&(this._didDragSinceMouseDown=!0),ye.target&&this._getCellFromElement(ye.target)&&(!ye.relatedTarget||!this._getCellFromElement(ye.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:ye})))},this._mousedownHandler=ye=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const rt=ye.target&&this._getCellFromElement(ye.target);!rt||!this._isInRange(rt.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:rt.rawValue,event:ye})})},this._mouseupHandler=ye=>{if(!this.isRange)return;const rt=me(ye.target);rt?rt.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const ht=this._getCellFromElement(rt);this.dragEnded.emit({value:ht?.rawValue??null,event:ye})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:ye})})},this._touchendHandler=ye=>{const rt=Ct(ye);rt&&this._mouseupHandler({target:rt})},this._id="mat-calendar-body-"+X++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,He.runOutsideAngular(()=>{const ye=re.nativeElement;ye.addEventListener("touchmove",this._touchmoveHandler,se),ye.addEventListener("mouseenter",this._enterHandler,ae),ye.addEventListener("focus",this._enterHandler,ae),ye.addEventListener("mouseleave",this._leaveHandler,ae),ye.addEventListener("blur",this._leaveHandler,ae),ye.addEventListener("mousedown",this._mousedownHandler,he),ye.addEventListener("touchstart",this._mousedownHandler,he),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(re,He){this._didDragSinceMouseDown||re.enabled&&this.selectedValueChange.emit({value:re.value,event:He})}_emitActiveDateChange(re,He){re.enabled&&this.activeDateChange.emit({value:re.value,event:He})}_isSelected(re){return this.startValue===re||this.endValue===re}ngOnChanges(re){const He=re.numCols,{rows:ye,numCols:rt}=this;(re.rows||He)&&(this._firstRowOffset=ye&&ye.length&&ye[0].length?rt-ye[0].length:0),(re.cellAspectRatio||He||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/rt+"%"),(He||!this._cellWidth)&&(this._cellWidth=100/rt+"%")}ngOnDestroy(){const re=this._elementRef.nativeElement;re.removeEventListener("touchmove",this._touchmoveHandler,se),re.removeEventListener("mouseenter",this._enterHandler,ae),re.removeEventListener("focus",this._enterHandler,ae),re.removeEventListener("mouseleave",this._leaveHandler,ae),re.removeEventListener("blur",this._leaveHandler,ae),re.removeEventListener("mousedown",this._mousedownHandler,he),re.removeEventListener("touchstart",this._mousedownHandler,he),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(re,He){let ye=re*this.numCols+He;return re&&(ye-=this._firstRowOffset),ye==this.activeCell}_focusActiveCell(re=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Y.s)(1)).subscribe(()=>{setTimeout(()=>{const He=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");He&&(re||(this._skipNextFocus=!0),He.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(re){return Ee(re,this.startValue,this.endValue)}_isRangeEnd(re){return ue(re,this.startValue,this.endValue)}_isInRange(re){return Be(re,this.startValue,this.endValue,this.isRange)}_isComparisonStart(re){return Ee(re,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(re,He,ye){if(!this._isComparisonStart(re)||this._isRangeStart(re)||!this._isInRange(re))return!1;let rt=this.rows[He][ye-1];if(!rt){const ht=this.rows[He-1];rt=ht&&ht[ht.length-1]}return rt&&!this._isRangeEnd(rt.compareValue)}_isComparisonBridgeEnd(re,He,ye){if(!this._isComparisonEnd(re)||this._isRangeEnd(re)||!this._isInRange(re))return!1;let rt=this.rows[He][ye+1];if(!rt){const ht=this.rows[He+1];rt=ht&&ht[0]}return rt&&!this._isRangeStart(rt.compareValue)}_isComparisonEnd(re){return ue(re,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(re){return Be(re,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(re){return this.comparisonStart===this.comparisonEnd&&re===this.comparisonStart}_isPreviewStart(re){return Ee(re,this.previewStart,this.previewEnd)}_isPreviewEnd(re){return ue(re,this.previewStart,this.previewEnd)}_isInPreview(re){return Be(re,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(re){return this.isRange?this.startValue===re&&this.endValue===re?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===re?this._startDateLabelId:this.endValue===re?this._endDateLabelId:null:null}_getCellFromElement(re){const He=me(re);if(He){const ye=He.getAttribute("data-mat-row"),rt=He.getAttribute("data-mat-col");if(ye&&rt)return this.rows[parseInt(ye)][parseInt(rt)]}return null}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(l.aKT),l.rXU(l.SKi))}}static{this.\u0275cmp=l.VBU({type:Ut,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"],standalone:!0,features:[l.OA$,l.aNF],attrs:Me,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(He,ye){1&He&&(l.DNE(0,Ce,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&He&&(l.vxM(ye._firstRowOffset.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}'],encapsulation:2,changeDetection:0})}}return Ut})();function st(Ut){return"TD"===Ut?.nodeName}function me(Ut){let lt;return st(Ut)?lt=Ut:st(Ut.parentNode)?lt=Ut.parentNode:st(Ut.parentNode?.parentNode)&&(lt=Ut.parentNode.parentNode),null!=lt?.getAttribute("data-mat-row")?lt:null}function Ee(Ut,lt,re){return null!==re&<!==re&&Ut=lt&&Ut===re}function Be(Ut,lt,re,He){return He&&null!==lt&&null!==re&<!==re&&Ut>=lt&&Ut<=re}function Ct(Ut){const lt=Ut.changedTouches[0];return document.elementFromPoint(lt.clientX,lt.clientY)}class ct{constructor(lt,re){this.start=lt,this.end=re}}let dt=(()=>{class Ut{constructor(re,He){this.selection=re,this._adapter=He,this._selectionChanged=new h.B,this.selectionChanged=this._selectionChanged,this.selection=re}updateSelection(re,He){const ye=this.selection;this.selection=re,this._selectionChanged.next({selection:re,source:He,oldValue:ye})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(re){return this._adapter.isDateInstance(re)&&this._adapter.isValid(re)}static{this.\u0275fac=function(He){l.QTQ()}}static{this.\u0275prov=l.jDH({token:Ut,factory:Ut.\u0275fac})}}return Ut})(),Yt=(()=>{class Ut extends dt{constructor(re){super(null,re)}add(re){super.updateSelection(re,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const re=new Ut(this._adapter);return re.updateSelection(this.selection,this),re}static{this.\u0275fac=function(He){return new(He||Ut)(l.KVO(R.MJ))}}static{this.\u0275prov=l.jDH({token:Ut,factory:Ut.\u0275fac})}}return Ut})();const we={provide:dt,deps:[[new l.Xx1,new l.kdw,dt],R.MJ],useFactory:function _e(Ut,lt){return Ut||new Yt(lt)}},vt=new l.nKC("MAT_DATE_RANGE_SELECTION_STRATEGY");let yt=(()=>{class Ut{get activeDate(){return this._activeDate}set activeDate(re){const He=this._activeDate,ye=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ye,this.minDate,this.maxDate),this._hasSameMonthAndYear(He,this._activeDate)||this._init()}get selected(){return this._selected}set selected(re){this._selected=re instanceof ct?re:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(re){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get maxDate(){return this._maxDate}set maxDate(re){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}constructor(re,He,ye,rt,ht){this._changeDetectorRef=re,this._dateFormats=He,this._dateAdapter=ye,this._dir=rt,this._rangeStrategy=ht,this._rerenderSubscription=S.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,W.Z)(null)).subscribe(()=>this._init())}ngOnChanges(re){const He=re.comparisonStart||re.comparisonEnd;He&&!He.firstChange&&this._setRanges(this.selected),re.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(re){const He=re.value,ye=this._getDateFromDayOfMonth(He);let rt,ht;this._selected instanceof ct?(rt=this._getDateInCurrentMonth(this._selected.start),ht=this._getDateInCurrentMonth(this._selected.end)):rt=ht=this._getDateInCurrentMonth(this._selected),(rt!==He||ht!==He)&&this.selectedChange.emit(ye),this._userSelection.emit({value:ye,event:re.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(re){const ye=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(re.value),this._dateAdapter.compareDate(ye,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(re){const He=this._activeDate,ye=this._isRtl();switch(re.keyCode){case I.UQ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ye?1:-1);break;case I.LE:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ye?-1:1);break;case I.i7:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case I.n6:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case I.yZ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case I.Kp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case I.w_:this.activeDate=re.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case I.dB:this.activeDate=re.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case I.Fm:case I.t6:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&re.preventDefault());case I._f:return void(null!=this._previewEnd&&!(0,I.rp)(re)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:re}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:re})),re.preventDefault(),re.stopPropagation()));default:return}this._dateAdapter.compareDate(He,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),re.preventDefault()}_handleCalendarBodyKeyup(re){(re.keyCode===I.t6||re.keyCode===I.Fm)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:re}),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 re=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(re)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(re){this._matCalendarBody._focusActiveCell(re)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:re,value:He}){if(this._rangeStrategy){const ye=He?He.rawValue:null,rt=this._rangeStrategy.createPreview(ye,this.selected,re);if(this._previewStart=this._getCellCompareValue(rt.start),this._previewEnd=this._getCellCompareValue(rt.end),this.activeDrag&&ye){const ht=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,ye,re);ht&&(this._previewStart=this._getCellCompareValue(ht.start),this._previewEnd=this._getCellCompareValue(ht.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(re){if(this.activeDrag)if(re.value){const He=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,re.value,re.event);this.dragEnded.emit({value:He??null,event:re.event})}else this.dragEnded.emit({value:null,event:re.event})}_getDateFromDayOfMonth(re){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),re)}_initWeekdays(){const re=this._dateAdapter.getFirstDayOfWeek(),He=this._dateAdapter.getDayOfWeekNames("narrow");let rt=this._dateAdapter.getDayOfWeekNames("long").map((ht,ii)=>({long:ht,narrow:He[ii]}));this._weekdays=rt.slice(re).concat(rt.slice(0,re))}_createWeekCells(){const re=this._dateAdapter.getNumDaysInMonth(this.activeDate),He=this._dateAdapter.getDateNames();this._weeks=[[]];for(let ye=0,rt=this._firstWeekOffset;ye=0)&&(!this.maxDate||this._dateAdapter.compareDate(re,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(re))}_getDateInCurrentMonth(re){return re&&this._hasSameMonthAndYear(re,this.activeDate)?this._dateAdapter.getDate(re):null}_hasSameMonthAndYear(re,He){return!(!re||!He||this._dateAdapter.getMonth(re)!=this._dateAdapter.getMonth(He)||this._dateAdapter.getYear(re)!=this._dateAdapter.getYear(He))}_getCellCompareValue(re){if(re){const He=this._dateAdapter.getYear(re),ye=this._dateAdapter.getMonth(re),rt=this._dateAdapter.getDate(re);return new Date(He,ye,rt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(re){re instanceof ct?(this._rangeStart=this._getCellCompareValue(re.start),this._rangeEnd=this._getCellCompareValue(re.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(re),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(re){return!this.dateFilter||this.dateFilter(re)}_clearPreview(){this._previewStart=this._previewEnd=null}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(l.gRc),l.rXU(R.de,8),l.rXU(R.MJ,8),l.rXU(V.dS,8),l.rXU(vt,8))}}static{this.\u0275cmp=l.VBU({type:Ut,selectors:[["mat-month-view"]],viewQuery:function(He,ye){if(1&He&&l.GBs(Ie,5),2&He){let rt;l.mGM(rt=l.lsd())&&(ye._matCalendarBody=rt.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"],standalone:!0,features:[l.OA$,l.aNF],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"]],template:function(He,ye){1&He&&(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",3),l.nrm(6,"th",4),l.k0s()(),l.j41(7,"tbody",5),l.bIt("selectedValueChange",function(ht){return ye._dateSelected(ht)})("activeDateChange",function(ht){return ye._updateActiveDate(ht)})("previewChange",function(ht){return ye._previewChanged(ht)})("dragStarted",function(ht){return ye.dragStarted.emit(ht)})("dragEnded",function(ht){return ye._dragEnded(ht)})("keyup",function(ht){return ye._handleCalendarBodyKeyup(ht)})("keydown",function(ht){return ye._handleCalendarBodyKeydown(ht)}),l.k0s()()),2&He&&(l.R7$(3),l.Dyx(ye._weekdays),l.R7$(4),l.Y8G("label",ye._monthLabel)("rows",ye._weeks)("todayValue",ye._todayDate)("startValue",ye._rangeStart)("endValue",ye._rangeEnd)("comparisonStart",ye._comparisonRangeStart)("comparisonEnd",ye._comparisonRangeEnd)("previewStart",ye._previewStart)("previewEnd",ye._previewEnd)("isRange",ye._isRange)("labelMinRequiredCells",3)("activeCell",ye._dateAdapter.getDate(ye.activeDate)-1)("startDateAccessibleName",ye.startDateAccessibleName)("endDateAccessibleName",ye.endDateAccessibleName))},dependencies:[Ie],encapsulation:2,changeDetection:0})}}return Ut})();const jt=24;let et=(()=>{class Ut{get activeDate(){return this._activeDate}set activeDate(re){let He=this._activeDate;const ye=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ye,this.minDate,this.maxDate),Ae(this._dateAdapter,He,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(re){this._selected=re instanceof ct?re:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re)),this._setSelectedYear(re)}get minDate(){return this._minDate}set minDate(re){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get maxDate(){return this._maxDate}set maxDate(re){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}constructor(re,He,ye){this._changeDetectorRef=re,this._dateAdapter=He,this._dir=ye,this._rerenderSubscription=S.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,W.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const He=this._dateAdapter.getYear(this._activeDate)-It(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let ye=0,rt=[];yethis._createCellForYear(ht))),rt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(re){const He=re.value,ye=this._dateAdapter.createDate(He,0,1),rt=this._getDateFromYear(He);this.yearSelected.emit(ye),this.selectedChange.emit(rt)}_updateActiveDate(re){const ye=this._activeDate;this.activeDate=this._getDateFromYear(re.value),this._dateAdapter.compareDate(ye,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(re){const He=this._activeDate,ye=this._isRtl();switch(re.keyCode){case I.UQ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ye?1:-1);break;case I.LE:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ye?-1:1);break;case I.i7:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case I.n6:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case I.yZ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-It(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case I.Kp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,jt-It(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case I.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,re.altKey?10*-jt:-jt);break;case I.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,re.altKey?10*jt:jt);break;case I.Fm:case I.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(He,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),re.preventDefault()}_handleCalendarBodyKeyup(re){(re.keyCode===I.t6||re.keyCode===I.Fm)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:re}),this._selectionKeyPressed=!1)}_getActiveCell(){return It(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(re){const He=this._dateAdapter.getMonth(this.activeDate),ye=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(re,He,1));return this._dateAdapter.createDate(re,He,Math.min(this._dateAdapter.getDate(this.activeDate),ye))}_createCellForYear(re){const He=this._dateAdapter.createDate(re,0,1),ye=this._dateAdapter.getYearName(He),rt=this.dateClass?this.dateClass(He,"multi-year"):void 0;return new oe(re,ye,ye,this._shouldEnableYear(re),rt)}_shouldEnableYear(re){if(null==re||this.maxDate&&re>this._dateAdapter.getYear(this.maxDate)||this.minDate&&re{class Ut{get activeDate(){return this._activeDate}set activeDate(re){let He=this._activeDate;const ye=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ye,this.minDate,this.maxDate),this._dateAdapter.getYear(He)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(re){this._selected=re instanceof ct?re:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re)),this._setSelectedMonth(re)}get minDate(){return this._minDate}set minDate(re){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get maxDate(){return this._maxDate}set maxDate(re){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}constructor(re,He,ye,rt){this._changeDetectorRef=re,this._dateFormats=He,this._dateAdapter=ye,this._dir=rt,this._rerenderSubscription=S.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,W.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(re){const He=re.value,ye=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),He,1);this.monthSelected.emit(ye);const rt=this._getDateFromMonth(He);this.selectedChange.emit(rt)}_updateActiveDate(re){const ye=this._activeDate;this.activeDate=this._getDateFromMonth(re.value),this._dateAdapter.compareDate(ye,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(re){const He=this._activeDate,ye=this._isRtl();switch(re.keyCode){case I.UQ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ye?1:-1);break;case I.LE:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ye?-1:1);break;case I.i7:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case I.n6:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case I.yZ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case I.Kp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case I.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,re.altKey?-10:-1);break;case I.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,re.altKey?10:1);break;case I.Fm:case I.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(He,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),re.preventDefault()}_handleCalendarBodyKeyup(re){(re.keyCode===I.t6||re.keyCode===I.Fm)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:re}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let re=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(He=>He.map(ye=>this._createCellForMonth(ye,re[ye]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(re){return re&&this._dateAdapter.getYear(re)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(re):null}_getDateFromMonth(re){const He=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),re,1),ye=this._dateAdapter.getNumDaysInMonth(He);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),re,Math.min(this._dateAdapter.getDate(this.activeDate),ye))}_createCellForMonth(re,He){const ye=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),re,1),rt=this._dateAdapter.format(ye,this._dateFormats.display.monthYearA11yLabel),ht=this.dateClass?this.dateClass(ye,"year"):void 0;return new oe(re,He.toLocaleUpperCase(),rt,this._shouldEnableMonth(re),ht)}_shouldEnableMonth(re){const He=this._dateAdapter.getYear(this.activeDate);if(null==re||this._isYearAndMonthAfterMaxDate(He,re)||this._isYearAndMonthBeforeMinDate(He,re))return!1;if(!this.dateFilter)return!0;for(let rt=this._dateAdapter.createDate(He,re,1);this._dateAdapter.getMonth(rt)==re;rt=this._dateAdapter.addCalendarDays(rt,1))if(this.dateFilter(rt))return!0;return!1}_isYearAndMonthAfterMaxDate(re,He){if(this.maxDate){const ye=this._dateAdapter.getYear(this.maxDate),rt=this._dateAdapter.getMonth(this.maxDate);return re>ye||re===ye&&He>rt}return!1}_isYearAndMonthBeforeMinDate(re,He){if(this.minDate){const ye=this._dateAdapter.getYear(this.minDate),rt=this._dateAdapter.getMonth(this.minDate);return re{class Ut{constructor(re,He,ye,rt,ht){this._intl=re,this.calendar=He,this._dateAdapter=ye,this._dateFormats=rt,this._id="mat-calendar-header-"+Se++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>ht.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(re,He){return"month"==this.calendar.currentView?this._dateAdapter.getYear(re)==this._dateAdapter.getYear(He)&&this._dateAdapter.getMonth(re)==this._dateAdapter.getMonth(He):"year"==this.calendar.currentView?this._dateAdapter.getYear(re)==this._dateAdapter.getYear(He):Ae(this._dateAdapter,re,He,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const He=this._dateAdapter.getYear(this.calendar.activeDate)-It(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ye=He+jt-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(He,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(ye,0,1))]}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(We),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:Ut,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[l.aNF],ngContentSelectors:m,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],[1,"cdk-visually-hidden",3,"id"],["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"]],template:function(He,ye){1&He&&(l.NAR(),l.j41(0,"div",0)(1,"div",1)(2,"label",2),l.EFF(3),l.k0s(),l.j41(4,"button",3),l.bIt("click",function(){return ye.currentPeriodClicked()}),l.j41(5,"span",4),l.EFF(6),l.k0s(),l.qSk(),l.j41(7,"svg",5),l.nrm(8,"polygon",6),l.k0s()(),l.joV(),l.nrm(9,"div",7),l.SdG(10),l.j41(11,"button",8),l.bIt("click",function(){return ye.previousClicked()}),l.k0s(),l.j41(12,"button",9),l.bIt("click",function(){return ye.nextClicked()}),l.k0s()()()),2&He&&(l.R7$(2),l.Y8G("id",ye._periodButtonLabelId),l.R7$(),l.JRh(ye.periodButtonDescription),l.R7$(),l.BMQ("aria-label",ye.periodButtonLabel)("aria-describedby",ye._periodButtonLabelId),l.R7$(2),l.JRh(ye.periodButtonText),l.R7$(),l.AVh("mat-calendar-invert","month"!==ye.calendar.currentView),l.R7$(4),l.Y8G("disabled",!ye.previousEnabled()),l.BMQ("aria-label",ye.prevButtonLabel),l.R7$(),l.Y8G("disabled",!ye.nextEnabled()),l.BMQ("aria-label",ye.nextButtonLabel))},dependencies:[w.$z,w.iY],encapsulation:2,changeDetection:0})}}return Ut})(),ce=(()=>{class Ut{get startAt(){return this._startAt}set startAt(re){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get selected(){return this._selected}set selected(re){this._selected=re instanceof ct?re:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get minDate(){return this._minDate}set minDate(re){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get maxDate(){return this._maxDate}set maxDate(re){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get activeDate(){return this._clampedActiveDate}set activeDate(re){this._clampedActiveDate=this._dateAdapter.clampDate(re,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(re){const He=this._currentView!==re?re:null;this._currentView=re,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),He&&this.viewChanged.emit(He)}constructor(re,He,ye,rt){this._dateAdapter=He,this._dateFormats=ye,this._changeDetectorRef=rt,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 h.B,this._intlChanges=re.changes.subscribe(()=>{rt.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new x.A8(this.headerComponent||Te),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(re){const He=re.minDate&&!this._dateAdapter.sameDate(re.minDate.previousValue,re.minDate.currentValue)?re.minDate:void 0,ye=re.maxDate&&!this._dateAdapter.sameDate(re.maxDate.previousValue,re.maxDate.currentValue)?re.maxDate:void 0,rt=He||ye||re.dateFilter;if(rt&&!rt.firstChange){const ht=this._getCurrentViewComponent();ht&&(this._changeDetectorRef.detectChanges(),ht._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(re){const He=re.value;(this.selected instanceof ct||He&&!this._dateAdapter.sameDate(He,this.selected))&&this.selectedChange.emit(He),this._userSelection.emit(re)}_yearSelectedInMultiYearView(re){this.yearSelected.emit(re)}_monthSelectedInYearView(re){this.monthSelected.emit(re)}_goToDateInView(re,He){this.activeDate=re,this.currentView=He}_dragStarted(re){this._activeDrag=re}_dragEnded(re){this._activeDrag&&(re.value&&this._userDragDrop.emit(re),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(We),l.rXU(R.MJ,8),l.rXU(R.de,8),l.rXU(l.gRc))}}static{this.\u0275cmp=l.VBU({type:Ut,selectors:[["mat-calendar"]],viewQuery:function(He,ye){if(1&He&&(l.GBs(yt,5),l.GBs(xt,5),l.GBs(et,5)),2&He){let rt;l.mGM(rt=l.lsd())&&(ye.monthView=rt.first),l.mGM(rt=l.lsd())&&(ye.yearView=rt.first),l.mGM(rt=l.lsd())&&(ye.multiYearView=rt.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"],standalone:!0,features:[l.Jv_([we]),l.OA$,l.aNF],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(He,ye){if(1&He&&(l.DNE(0,d,0,0,"ng-template",0),l.j41(1,"div",1),l.DNE(2,C,1,11,"mat-month-view",2)(3,A,1,6,"mat-year-view",3)(4,k,1,6,"mat-multi-year-view",3),l.k0s()),2&He){let rt;l.Y8G("cdkPortalOutlet",ye._calendarHeaderPortal),l.R7$(2),l.vxM("month"===(rt=ye.currentView)?2:"year"===rt?3:"multi-year"===rt?4:-1)}},dependencies:[x.I3,e.vR,yt,xt,et],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);--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color)}.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:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){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:""}'],encapsulation:2,changeDetection:0})}}return Ut})();const Z={transformPanel:(0,ie.hZ)("transformPanel",[(0,ie.kY)("void => enter-dropdown",(0,ie.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.i7)([(0,ie.iF)({opacity:0,transform:"scale(1, 0.8)"}),(0,ie.iF)({opacity:1,transform:"scale(1, 1)"})]))),(0,ie.kY)("void => enter-dialog",(0,ie.i0)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.i7)([(0,ie.iF)({opacity:0,transform:"scale(0.7)"}),(0,ie.iF)({transform:"none",opacity:1})]))),(0,ie.kY)("* => void",(0,ie.i0)("100ms linear",(0,ie.iF)({opacity:0})))]),fadeInCalendar:(0,ie.hZ)("fadeInCalendar",[(0,ie.wk)("void",(0,ie.iF)({opacity:0})),(0,ie.wk)("enter",(0,ie.iF)({opacity:1})),(0,ie.kY)("void => *",(0,ie.i0)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Re=0;const Pe=new l.nKC("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const Ut=(0,l.WQX)(t.hJ);return()=>Ut.scrollStrategies.reposition()}}),Ke={provide:Pe,deps:[t.hJ],useFactory:function pt(Ut){return()=>Ut.scrollStrategies.reposition()}};let Fe=(()=>{class Ut{constructor(re,He,ye,rt,ht,ii){this._elementRef=re,this._changeDetectorRef=He,this._globalModel=ye,this._dateAdapter=rt,this._rangeSelectionStrategy=ht,this._subscriptions=new S.yU,this._animationDone=new h.B,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=ii.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(re){const He=this._model.selection,ye=re.value,rt=He instanceof ct;if(rt&&this._rangeSelectionStrategy){const ht=this._rangeSelectionStrategy.selectionFinished(ye,He,re.event);this._model.updateSelection(ht,this)}else ye&&(rt||!this._dateAdapter.sameDate(ye,He))&&this._model.add(ye);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(re){this._model.updateSelection(re.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(re){this._isAnimating="start"===re.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(re,He){this._model=re?this._globalModel.clone():this._globalModel,this._actionsPortal=re,He&&this._changeDetectorRef.detectChanges()}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(l.aKT),l.rXU(l.gRc),l.rXU(dt),l.rXU(R.MJ),l.rXU(vt,8),l.rXU(We))}}static{this.\u0275cmp=l.VBU({type:Ut,selectors:[["mat-datepicker-content"]],viewQuery:function(He,ye){if(1&He&&l.GBs(ce,5),2&He){let rt;l.mGM(rt=l.lsd())&&(ye._calendar=rt.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(He,ye){1&He&&l.Kam("@transformPanel.start",function(ht){return ye._handleAnimationEvent(ht)})("@transformPanel.done",function(ht){return ye._handleAnimationEvent(ht)}),2&He&&(l.zvX("@transformPanel",ye._animationState),l.HbH(ye.color?"mat-"+ye.color:""),l.AVh("mat-datepicker-content-touch",ye.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[l.aNF],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","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(He,ye){if(1&He&&(l.j41(0,"div",0)(1,"mat-calendar",1),l.bIt("yearSelected",function(ht){return ye.datepicker._selectYear(ht)})("monthSelected",function(ht){return ye.datepicker._selectMonth(ht)})("viewChanged",function(ht){return ye.datepicker._viewChanged(ht)})("_userSelection",function(ht){return ye._handleUserSelection(ht)})("_userDragDrop",function(ht){return ye._handleUserDragDrop(ht)}),l.k0s(),l.DNE(2,_,0,0,"ng-template",2),l.j41(3,"button",3),l.bIt("focus",function(){return ye._closeButtonFocused=!0})("blur",function(){return ye._closeButtonFocused=!1})("click",function(){return ye.datepicker.close()}),l.EFF(4),l.k0s()()),2&He){let rt;l.AVh("mat-datepicker-content-container-with-custom-header",ye.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",ye._actionsPortal),l.BMQ("aria-modal",!0)("aria-labelledby",null!==(rt=ye._dialogLabelId)&&void 0!==rt?rt:void 0),l.R7$(),l.HbH(ye.datepicker.panelClass),l.Y8G("id",ye.datepicker.id)("startAt",ye.datepicker.startAt)("startView",ye.datepicker.startView)("minDate",ye.datepicker._getMinDate())("maxDate",ye.datepicker._getMaxDate())("dateFilter",ye.datepicker._getDateFilter())("headerComponent",ye.datepicker.calendarHeaderComponent)("selected",ye._getSelected())("dateClass",ye.datepicker.dateClass)("comparisonStart",ye.comparisonStart)("comparisonEnd",ye.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",ye.startDateAccessibleName)("endDateAccessibleName",ye.endDateAccessibleName),l.R7$(),l.Y8G("cdkPortalOutlet",ye._actionsPortal),l.R7$(),l.AVh("cdk-visually-hidden",!ye._closeButtonFocused),l.Y8G("color",ye.color||"primary"),l.R7$(),l.JRh(ye._closeButtonText)}},dependencies:[e.kB,ce,x.I3,w.$z],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color);box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-touch-shape);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:[Z.transformPanel,Z.fadeInCalendar]},changeDetection:0})}}return Ut})(),Ge=(()=>{class Ut{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(re){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(re){this._color=re}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(re){re!==this._disabled&&(this._disabled=re,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(re){this._panelClass=(0,J.cc)(re)}get opened(){return this._opened}set opened(re){re?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(re,He,ye,rt,ht,ii,di){this._overlay=re,this._ngZone=He,this._viewContainerRef=ye,this._dateAdapter=ht,this._dir=ii,this._model=di,this._inputStateChanges=S.yU.EMPTY,this._document=(0,l.WQX)(D.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-"+Re++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new h.B,this._scrollStrategy=rt}ngOnChanges(re){const He=re.xPosition||re.yPosition;if(He&&!He.firstChange&&this._overlayRef){const ye=this._overlayRef.getConfig().positionStrategy;ye instanceof t.rW&&(this._setConnectedPositions(ye),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(re){this._model.add(re)}_selectYear(re){this.yearSelected.emit(re)}_selectMonth(re){this.monthSelected.emit(re)}_viewChanged(re){this.viewChanged.emit(re)}registerInput(re){return this._inputStateChanges.unsubscribe(),this.datepickerInput=re,this._inputStateChanges=re.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(re){this._actionsPortal=re,this._componentRef?.instance._assignActions(re,!0)}removeActions(re){re===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,j.vc)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const re=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,He=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:ye,location:rt}=this._componentRef;ye._startExitAnimation(),ye._animationDone.pipe((0,Y.s)(1)).subscribe(()=>{const ht=this._document.activeElement;re&&(!ht||ht===this._document.activeElement||rt.nativeElement.contains(ht))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}re?setTimeout(He):He()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(re){re.datepicker=this,re.color=this.color,re._dialogLabelId=this.datepickerInput.getOverlayLabelId(),re._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const re=this.touchUi,He=new x.A8(Fe,this._viewContainerRef),ye=this._overlayRef=this._overlay.create(new t.rR({positionStrategy:re?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[re?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:re?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(re?"dialog":"popup")}));this._getCloseStream(ye).subscribe(rt=>{rt&&rt.preventDefault(),this.close()}),ye.keydownEvents().subscribe(rt=>{const ht=rt.keyCode;(ht===I.i7||ht===I.n6||ht===I.UQ||ht===I.LE||ht===I.w_||ht===I.dB)&&rt.preventDefault()}),this._componentRef=ye.attach(He),this._forwardContentValues(this._componentRef.instance),re||this._ngZone.onStable.pipe((0,Y.s)(1)).subscribe(()=>ye.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const re=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(re)}_setConnectedPositions(re){const He="end"===this.xPosition?"end":"start",ye="start"===He?"end":"start",rt="above"===this.yPosition?"bottom":"top",ht="top"===rt?"bottom":"top";return re.withPositions([{originX:He,originY:ht,overlayX:He,overlayY:rt},{originX:He,originY:rt,overlayX:He,overlayY:ht},{originX:ye,originY:ht,overlayX:ye,overlayY:rt},{originX:ye,originY:rt,overlayX:ye,overlayY:ht}])}_getCloseStream(re){const He=["ctrlKey","shiftKey","metaKey"];return(0,y.h)(re.backdropClick(),re.detachments(),re.keydownEvents().pipe((0,Q.p)(ye=>ye.keyCode===I._f&&!(0,I.rp)(ye)||this.datepickerInput&&(0,I.rp)(ye,"altKey")&&ye.keyCode===I.i7&&He.every(rt=>!(0,I.rp)(ye,rt)))))}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(t.hJ),l.rXU(l.SKi),l.rXU(l.c1b),l.rXU(Pe),l.rXU(R.MJ,8),l.rXU(V.dS,8),l.rXU(dt))}}static{this.\u0275dir=l.FsC({type:Ut,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",l.L39],disabled:[2,"disabled","disabled",l.L39],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",l.L39],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",l.L39]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[l.GFd,l.OA$]})}}return Ut})(),qe=(()=>{class Ut extends Ge{static{this.\u0275fac=(()=>{let re;return function(ye){return(re||(re=l.xGo(Ut)))(ye||Ut)}})()}static{this.\u0275cmp=l.VBU({type:Ut,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],standalone:!0,features:[l.Jv_([we,{provide:Ge,useExisting:Ut}]),l.Vt3,l.aNF],decls:0,vars:0,template:function(He,ye){},encapsulation:2,changeDetection:0})}}return Ut})();class at{constructor(lt,re){this.target=lt,this.targetElement=re,this.value=this.target.value}}let Lt=(()=>{class Ut{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(re){this._assignValueProgrammatically(re)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(re){const He=re,ye=this._elementRef.nativeElement;this._disabled!==He&&(this._disabled=He,this.stateChanges.next(void 0)),He&&this._isInitialized&&ye.blur&&ye.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(re){this._model=re,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(He=>{if(this._shouldHandleChangeEvent(He)){const ye=this._getValueFromModel(He.selection);this._lastValueValid=this._isValidValue(ye),this._cvaOnChange(ye),this._onTouched(),this._formatValue(ye),this.dateInput.emit(new at(this,this._elementRef.nativeElement)),this.dateChange.emit(new at(this,this._elementRef.nativeElement))}})}constructor(re,He,ye){this._elementRef=re,this._dateAdapter=He,this._dateFormats=ye,this.dateChange=new l.bkB,this.dateInput=new l.bkB,this.stateChanges=new h.B,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=S.yU.EMPTY,this._localeSubscription=S.yU.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=rt=>{const ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rt.value));return!ht||this._matchesFilter(ht)?null:{matDatepickerFilter:!0}},this._minValidator=rt=>{const ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rt.value)),ii=this._getMinDate();return!ii||!ht||this._dateAdapter.compareDate(ii,ht)<=0?null:{matDatepickerMin:{min:ii,actual:ht}}},this._maxValidator=rt=>{const ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rt.value)),ii=this._getMaxDate();return!ii||!ht||this._dateAdapter.compareDate(ii,ht)>=0?null:{matDatepickerMax:{max:ii,actual:ht}}},this._lastValueValid=!1,this._localeSubscription=He.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(re){(function pi(Ut,lt){const re=Object.keys(Ut);for(let He of re){const{previousValue:ye,currentValue:rt}=Ut[He];if(!lt.isDateInstance(ye)||!lt.isDateInstance(rt))return!0;if(!lt.sameDate(ye,rt))return!0}return!1})(re,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(re){this._validatorOnChange=re}validate(re){return this._validator?this._validator(re):null}writeValue(re){this._assignValueProgrammatically(re)}registerOnChange(re){this._cvaOnChange=re}registerOnTouched(re){this._onTouched=re}setDisabledState(re){this.disabled=re}_onKeydown(re){(0,I.rp)(re,"altKey")&&re.keyCode===I.n6&&["ctrlKey","shiftKey","metaKey"].every(rt=>!(0,I.rp)(re,rt))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),re.preventDefault())}_onInput(re){const He=this._lastValueValid;let ye=this._dateAdapter.parse(re,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ye),ye=this._dateAdapter.getValidDateOrNull(ye);const rt=!this._dateAdapter.sameDate(ye,this.value);!ye||rt?this._cvaOnChange(ye):(re&&!this.value&&this._cvaOnChange(ye),He!==this._lastValueValid&&this._validatorOnChange()),rt&&(this._assignValue(ye),this.dateInput.emit(new at(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new at(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(re){this._elementRef.nativeElement.value=null!=re?this._dateAdapter.format(re,this._dateFormats.display.dateInput):""}_assignValue(re){this._model?(this._assignValueToModel(re),this._pendingValue=null):this._pendingValue=re}_isValidValue(re){return!re||this._dateAdapter.isValid(re)}_parentDisabled(){return!1}_assignValueProgrammatically(re){re=this._dateAdapter.deserialize(re),this._lastValueValid=this._isValidValue(re),re=this._dateAdapter.getValidDateOrNull(re),this._assignValue(re),this._formatValue(re)}_matchesFilter(re){const He=this._getDateFilter();return!He||He(re)}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(l.aKT),l.rXU(R.MJ,8),l.rXU(R.de,8))}}static{this.\u0275dir=l.FsC({type:Ut,inputs:{value:"value",disabled:[2,"disabled","disabled",l.L39]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[l.GFd,l.OA$]})}}return Ut})();const $t={provide:ee.kq,useExisting:(0,l.Rfq)(()=>Ui),multi:!0},Kt={provide:ee.cz,useExisting:(0,l.Rfq)(()=>Ui),multi:!0};let Ui=(()=>{class Ut extends Lt{set matDatepicker(re){re&&(this._datepicker=re,this._closedSubscription=re.closedStream.subscribe(()=>this._onTouched()),this._registerModel(re.registerInput(this)))}get min(){return this._min}set min(re){const He=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re));this._dateAdapter.sameDate(He,this._min)||(this._min=He,this._validatorOnChange())}get max(){return this._max}set max(re){const He=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re));this._dateAdapter.sameDate(He,this._max)||(this._max=He,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(re){const He=this._matchesFilter(this.value);this._dateFilter=re,this._matchesFilter(this.value)!==He&&this._validatorOnChange()}constructor(re,He,ye,rt){super(re,He,ye),this._formField=rt,this._closedSubscription=S.yU.EMPTY,this._validator=ee.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(re){return re}_assignValueToModel(re){this._model&&this._model.updateSelection(re,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(re){return re.source!==this}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(l.aKT),l.rXU(R.MJ,8),l.rXU(R.de,8),l.rXU(fe.xb,8))}}static{this.\u0275dir=l.FsC({type:Ut,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(He,ye){1&He&&l.bIt("input",function(ht){return ye._onInput(ht.target.value)})("change",function(){return ye._onChange()})("blur",function(){return ye._onBlur()})("keydown",function(ht){return ye._onKeydown(ht)}),2&He&&(l.Mr5("disabled",ye.disabled),l.BMQ("aria-haspopup",ye._datepicker?"dialog":null)("aria-owns",(null==ye._datepicker?null:ye._datepicker.opened)&&ye._datepicker.id||null)("min",ye.min?ye._dateAdapter.toIso8601(ye.min):null)("max",ye.max?ye._dateAdapter.toIso8601(ye.max):null)("data-mat-calendar",ye._datepicker?ye._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],standalone:!0,features:[l.Jv_([$t,Kt,{provide:ne.Oh,useExisting:Ut}]),l.Vt3]})}}return Ut})(),ti=(()=>{class Ut{static{this.\u0275fac=function(He){return new(He||Ut)}}static{this.\u0275dir=l.FsC({type:Ut,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0})}}return Ut})(),fi=(()=>{class Ut{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(re){this._disabled=re}constructor(re,He,ye){this._intl=re,this._changeDetectorRef=He,this._stateChanges=S.yU.EMPTY;const rt=Number(ye);this.tabIndex=rt||0===rt?rt:null}ngOnChanges(re){re.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(re){this.datepicker&&!this.disabled&&(this.datepicker.open(),re.stopPropagation())}_watchStateChanges(){const re=this.datepicker?this.datepicker.stateChanges:(0,O.of)(),He=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,O.of)(),ye=this.datepicker?(0,y.h)(this.datepicker.openedStream,this.datepicker.closedStream):(0,O.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,y.h)(this._intl.changes,re,He,ye).subscribe(()=>this._changeDetectorRef.markForCheck())}static{this.\u0275fac=function(He){return new(He||Ut)(l.rXU(We),l.rXU(l.gRc),l.kS0("tabindex"))}}static{this.\u0275cmp=l.VBU({type:Ut,selectors:[["mat-datepicker-toggle"]],contentQueries:function(He,ye,rt){if(1&He&&l.wni(rt,ti,5),2&He){let ht;l.mGM(ht=l.lsd())&&(ye._customIcon=ht.first)}},viewQuery:function(He,ye){if(1&He&&l.GBs(a,5),2&He){let rt;l.mGM(rt=l.lsd())&&(ye._button=rt.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(He,ye){1&He&&l.bIt("click",function(ht){return ye._open(ht)}),2&He&&(l.BMQ("tabindex",null)("data-mat-calendar",ye.datepicker?ye.datepicker.id:null),l.AVh("mat-datepicker-toggle-active",ye.datepicker&&ye.datepicker.opened)("mat-accent",ye.datepicker&&"accent"===ye.datepicker.color)("mat-warn",ye.datepicker&&"warn"===ye.datepicker.color))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",l.L39],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[l.GFd,l.OA$,l.aNF],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(He,ye){1&He&&(l.NAR(b),l.j41(0,"button",1,0),l.DNE(2,N,2,0,":svg:svg",2),l.SdG(3),l.k0s()),2&He&&(l.Y8G("disabled",ye.disabled)("disableRipple",ye.disableRipple),l.BMQ("aria-haspopup",ye.datepicker?"dialog":null)("aria-label",ye.ariaLabel||ye._intl.openCalendarLabel)("tabindex",ye.disabled?-1:ye.tabIndex),l.R7$(2),l.vxM(ye._customIcon?-1:2))},dependencies:[w.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 Ut})(),mn=(()=>{class Ut{static{this.\u0275fac=function(He){return new(He||Ut)}}static{this.\u0275mod=l.$C({type:Ut})}static{this.\u0275inj=l.G2t({providers:[We,Ke],imports:[D.MD,w.Hl,t.z_,e.Pd,x.jc,R.yE,Fe,fi,Te,f.Gj]})}}return Ut})()},5351:(Qe,te,g)=>{"use strict";g.d(te,{Vh:()=>X,di:()=>se,bZ:()=>me,tx:()=>ue,hM:()=>_e,CP:()=>We});var e=g(6969),t=g(177),x=g(4438),D=g(8617),l=g(6860),w=g(6939),f=g(7336),R=g(1413),h=g(9030),S=g(7673),y=g(8203),O=g(9172);function I(je,vt){}class V{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let Y=(()=>{class je extends w.lb{constructor($e,nt,qt,Nt,yt,jt,Je,et){super(),this._elementRef=$e,this._focusTrapFactory=nt,this._config=Nt,this._interactivityChecker=yt,this._ngZone=jt,this._overlayRef=Je,this._focusMonitor=et,this._platform=(0,x.WQX)(l.OD),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=(0,x.WQX)(x.gRc),this.attachDomPortal=Ae=>{this._portalOutlet.hasAttached();const It=this._portalOutlet.attachDomPortal(Ae);return this._contentAttached(),It},this._document=qt,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy($e){this._ariaLabelledByQueue.push($e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy($e){const nt=this._ariaLabelledByQueue.indexOf($e);nt>-1&&(this._ariaLabelledByQueue.splice(nt,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal($e){this._portalOutlet.hasAttached();const nt=this._portalOutlet.attachComponentPortal($e);return this._contentAttached(),nt}attachTemplatePortal($e){this._portalOutlet.hasAttached();const nt=this._portalOutlet.attachTemplatePortal($e);return this._contentAttached(),nt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus($e,nt){this._interactivityChecker.isFocusable($e)||($e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const qt=()=>{$e.removeEventListener("blur",qt),$e.removeEventListener("mousedown",qt),$e.removeAttribute("tabindex")};$e.addEventListener("blur",qt),$e.addEventListener("mousedown",qt)})),$e.focus(nt)}_focusByCssSelector($e,nt){let qt=this._elementRef.nativeElement.querySelector($e);qt&&this._forceFocus(qt,nt)}_trapFocus(){const $e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||$e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(nt=>{nt||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 $e=this._config.restoreFocus;let nt=null;if("string"==typeof $e?nt=this._document.querySelector($e):"boolean"==typeof $e?nt=$e?this._elementFocusedBeforeDialogWasOpened:null:$e&&(nt=$e),this._config.restoreFocus&&nt&&"function"==typeof nt.focus){const qt=(0,l.vc)(),Nt=this._elementRef.nativeElement;(!qt||qt===this._document.body||qt===Nt||Nt.contains(qt))&&(this._focusMonitor?(this._focusMonitor.focusVia(nt,this._closeInteractionType),this._closeInteractionType=null):nt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const $e=this._elementRef.nativeElement,nt=(0,l.vc)();return $e===nt||$e.contains(nt)}_initializeFocusTrap(){this._platform.isBrowser&&(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(nt){return new(nt||je)(x.rXU(x.aKT),x.rXU(D.GX),x.rXU(t.qQ,8),x.rXU(V),x.rXU(D.Z7),x.rXU(x.SKi),x.rXU(e.yY),x.rXU(D.FN))}}static{this.\u0275cmp=x.VBU({type:je,selectors:[["cdk-dialog-container"]],viewQuery:function(nt,qt){if(1&nt&&x.GBs(w.I3,7),2&nt){let Nt;x.mGM(Nt=x.lsd())&&(qt._portalOutlet=Nt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(nt,qt){2&nt&&x.BMQ("id",qt._config.id||null)("role",qt._config.role)("aria-modal",qt._config.ariaModal)("aria-labelledby",qt._config.ariaLabel?null:qt._ariaLabelledByQueue[0])("aria-label",qt._config.ariaLabel)("aria-describedby",qt._config.ariaDescribedBy||null)},standalone:!0,features:[x.Vt3,x.aNF],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(nt,qt){1&nt&&x.DNE(0,I,0,0,"ng-template",0)},dependencies:[w.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return je})();class W{constructor(vt,$e){this.overlayRef=vt,this.config=$e,this.closed=new R.B,this.disableClose=$e.disableClose,this.backdropClick=vt.backdropClick(),this.keydownEvents=vt.keydownEvents(),this.outsidePointerEvents=vt.outsidePointerEvents(),this.id=$e.id,this.keydownEvents.subscribe(nt=>{nt.keyCode===f._f&&!this.disableClose&&!(0,f.rp)(nt)&&(nt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=vt.detachments().subscribe(()=>{!1!==$e.closeOnOverlayDetachments&&this.close()})}close(vt,$e){if(this.containerInstance){const nt=this.closed;this.containerInstance._closeInteractionType=$e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),nt.next(vt),nt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(vt="",$e=""){return this.overlayRef.updateSize({width:vt,height:$e}),this}addPanelClass(vt){return this.overlayRef.addPanelClass(vt),this}removePanelClass(vt){return this.overlayRef.removePanelClass(vt),this}}const Q=new x.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const je=(0,x.WQX)(e.hJ);return()=>je.scrollStrategies.block()}}),J=new x.nKC("DialogData"),ie=new x.nKC("DefaultDialogConfig");let ne=0,Me=(()=>{class je{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor($e,nt,qt,Nt,yt,jt){this._overlay=$e,this._injector=nt,this._defaultOptions=qt,this._parentDialog=Nt,this._overlayContainer=yt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R.B,this._afterOpenedAtThisLevel=new R.B,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,h.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,O.Z)(void 0))),this._scrollStrategy=jt}open($e,nt){(nt={...this._defaultOptions||new V,...nt}).id=nt.id||"cdk-dialog-"+ne++,nt.id&&this.getDialogById(nt.id);const Nt=this._getOverlayConfig(nt),yt=this._overlay.create(Nt),jt=new W(yt,nt),Je=this._attachContainer(yt,jt,nt);return jt.containerInstance=Je,this._attachDialogContent($e,jt,Je,nt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(jt),jt.closed.subscribe(()=>this._removeOpenDialog(jt,!0)),this.afterOpened.next(jt),jt}closeAll(){Ce(this.openDialogs,$e=>$e.close())}getDialogById($e){return this.openDialogs.find(nt=>nt.id===$e)}ngOnDestroy(){Ce(this._openDialogsAtThisLevel,$e=>{!1===$e.config.closeOnDestroy&&this._removeOpenDialog($e,!1)}),Ce(this._openDialogsAtThisLevel,$e=>$e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig($e){const nt=new e.rR({positionStrategy:$e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:$e.scrollStrategy||this._scrollStrategy(),panelClass:$e.panelClass,hasBackdrop:$e.hasBackdrop,direction:$e.direction,minWidth:$e.minWidth,minHeight:$e.minHeight,maxWidth:$e.maxWidth,maxHeight:$e.maxHeight,width:$e.width,height:$e.height,disposeOnNavigation:$e.closeOnNavigation});return $e.backdropClass&&(nt.backdropClass=$e.backdropClass),nt}_attachContainer($e,nt,qt){const Nt=qt.injector||qt.viewContainerRef?.injector,yt=[{provide:V,useValue:qt},{provide:W,useValue:nt},{provide:e.yY,useValue:$e}];let jt;qt.container?"function"==typeof qt.container?jt=qt.container:(jt=qt.container.type,yt.push(...qt.container.providers(qt))):jt=Y;const Je=new w.A8(jt,qt.viewContainerRef,x.zZn.create({parent:Nt||this._injector,providers:yt}),qt.componentFactoryResolver);return $e.attach(Je).instance}_attachDialogContent($e,nt,qt,Nt){if($e instanceof x.C4Q){const yt=this._createInjector(Nt,nt,qt,void 0);let jt={$implicit:Nt.data,dialogRef:nt};Nt.templateContext&&(jt={...jt,..."function"==typeof Nt.templateContext?Nt.templateContext():Nt.templateContext}),qt.attachTemplatePortal(new w.VA($e,null,jt,yt))}else{const yt=this._createInjector(Nt,nt,qt,this._injector),jt=qt.attachComponentPortal(new w.A8($e,Nt.viewContainerRef,yt,Nt.componentFactoryResolver));nt.componentRef=jt,nt.componentInstance=jt.instance}}_createInjector($e,nt,qt,Nt){const yt=$e.injector||$e.viewContainerRef?.injector,jt=[{provide:J,useValue:$e.data},{provide:W,useValue:nt}];return $e.providers&&("function"==typeof $e.providers?jt.push(...$e.providers(nt,$e,qt)):jt.push(...$e.providers)),$e.direction&&(!yt||!yt.get(y.dS,null,{optional:!0}))&&jt.push({provide:y.dS,useValue:{value:$e.direction,change:(0,S.of)()}}),x.zZn.create({parent:yt||Nt,providers:jt})}_removeOpenDialog($e,nt){const qt=this.openDialogs.indexOf($e);qt>-1&&(this.openDialogs.splice(qt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Nt,yt)=>{Nt?yt.setAttribute("aria-hidden",Nt):yt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),nt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const $e=this._overlayContainer.getContainerElement();if($e.parentElement){const nt=$e.parentElement.children;for(let qt=nt.length-1;qt>-1;qt--){const Nt=nt[qt];Nt!==$e&&"SCRIPT"!==Nt.nodeName&&"STYLE"!==Nt.nodeName&&!Nt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Nt,Nt.getAttribute("aria-hidden")),Nt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const $e=this._parentDialog;return $e?$e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(nt){return new(nt||je)(x.KVO(e.hJ),x.KVO(x.zZn),x.KVO(ie,8),x.KVO(je,12),x.KVO(e.Sf),x.KVO(Q))}}static{this.\u0275prov=x.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})();function Ce(je,vt){let $e=je.length;for(;$e--;)vt(je[$e])}let le=(()=>{class je{static{this.\u0275fac=function(nt){return new(nt||je)}}static{this.\u0275mod=x.$C({type:je})}static{this.\u0275inj=x.G2t({providers:[Me],imports:[e.z_,w.jc,D.Pd,w.jc]})}}return je})();var T=g(4085),n=g(7786),c=g(5964),m=g(6697),d=g(6600);function A(je,vt){}g(9969);class k{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const _="mdc-dialog--open",a="mdc-dialog--opening",b="mdc-dialog--closing";let q=(()=>{class je extends Y{constructor($e,nt,qt,Nt,yt,jt,Je,et,Ae){super($e,nt,qt,Nt,yt,jt,Je,Ae),this._animationMode=et,this._animationStateChanged=new x.bkB,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?ze(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?ze(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(pe,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(a,_)),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(pe,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(b)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount($e){this._actionSectionCount+=$e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(a,b)}_waitForAnimationToComplete($e,nt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(nt,$e)}_requestAnimationFrame($e){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame($e):$e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone($e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:$e})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal($e){const nt=super.attachComponentPortal($e);return nt.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),nt}static{this.\u0275fac=function(nt){return new(nt||je)(x.rXU(x.aKT),x.rXU(D.GX),x.rXU(t.qQ,8),x.rXU(k),x.rXU(D.Z7),x.rXU(x.SKi),x.rXU(e.yY),x.rXU(x.bc$,8),x.rXU(D.FN))}}static{this.\u0275cmp=x.VBU({type:je,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(nt,qt){2&nt&&(x.Mr5("id",qt._config.id),x.BMQ("aria-modal",qt._config.ariaModal)("role",qt._config.role)("aria-labelledby",qt._config.ariaLabel?null:qt._ariaLabelledByQueue[0])("aria-label",qt._config.ariaLabel)("aria-describedby",qt._config.ariaDescribedBy||null),x.AVh("_mat-animation-noopable",!qt._animationsEnabled)("mat-mdc-dialog-container-with-actions",qt._actionSectionCount>0))},standalone:!0,features:[x.Vt3,x.aNF],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(nt,qt){1&nt&&(x.j41(0,"div",0)(1,"div",1),x.DNE(2,A,0,0,"ng-template",2),x.k0s()())},dependencies:[w.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%;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;transform:scale(0.8)}.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--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.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:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{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 je})();const pe="--mat-dialog-transition-duration";function ze(je){return null==je?null:"number"==typeof je?je:je.endsWith("ms")?(0,T.OE)(je.substring(0,je.length-2)):je.endsWith("s")?1e3*(0,T.OE)(je.substring(0,je.length-1)):"0"===je?0:null}var Xe=function(je){return je[je.OPEN=0]="OPEN",je[je.CLOSING=1]="CLOSING",je[je.CLOSED=2]="CLOSED",je}(Xe||{});class We{constructor(vt,$e,nt){this._ref=vt,this._containerInstance=nt,this._afterOpened=new R.B,this._beforeClosed=new R.B,this._state=Xe.OPEN,this.disableClose=$e.disableClose,this.id=vt.id,vt.addPanelClass("mat-mdc-dialog-panel"),nt._animationStateChanged.pipe((0,c.p)(qt=>"opened"===qt.state),(0,m.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),nt._animationStateChanged.pipe((0,c.p)(qt=>"closed"===qt.state),(0,m.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),vt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,n.h)(this.backdropClick(),this.keydownEvents().pipe((0,c.p)(qt=>qt.keyCode===f._f&&!this.disableClose&&!(0,f.rp)(qt)))).subscribe(qt=>{this.disableClose||(qt.preventDefault(),oe(this,"keydown"===qt.type?"keyboard":"mouse"))})}close(vt){this._result=vt,this._containerInstance._animationStateChanged.pipe((0,c.p)($e=>"closing"===$e.state),(0,m.s)(1)).subscribe($e=>{this._beforeClosed.next(vt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),$e.totalTime+100)}),this._state=Xe.CLOSING,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(vt){let $e=this._ref.config.positionStrategy;return vt&&(vt.left||vt.right)?vt.left?$e.left(vt.left):$e.right(vt.right):$e.centerHorizontally(),vt&&(vt.top||vt.bottom)?vt.top?$e.top(vt.top):$e.bottom(vt.bottom):$e.centerVertically(),this._ref.updatePosition(),this}updateSize(vt="",$e=""){return this._ref.updateSize(vt,$e),this}addPanelClass(vt){return this._ref.addPanelClass(vt),this}removePanelClass(vt){return this._ref.removePanelClass(vt),this}getState(){return this._state}_finishDialogClose(){this._state=Xe.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function oe(je,vt,$e){return je._closeInteractionType=vt,je.close($e)}const X=new x.nKC("MatMdcDialogData"),se=new x.nKC("mat-mdc-dialog-default-options"),ae=new x.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const je=(0,x.WQX)(e.hJ);return()=>je.scrollStrategies.block()}});let st=0,me=(()=>{class je{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const $e=this._parentDialog;return $e?$e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor($e,nt,qt,Nt,yt,jt,Je,et){this._overlay=$e,this._defaultOptions=Nt,this._scrollStrategy=yt,this._parentDialog=jt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R.B,this._afterOpenedAtThisLevel=new R.B,this.dialogConfigClass=k,this.afterAllClosed=(0,h.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,O.Z)(void 0))),this._dialog=nt.get(Me),this._dialogRefConstructor=We,this._dialogContainerType=q,this._dialogDataToken=X}open($e,nt){let qt;(nt={...this._defaultOptions||new k,...nt}).id=nt.id||"mat-mdc-dialog-"+st++,nt.scrollStrategy=nt.scrollStrategy||this._scrollStrategy();const Nt=this._dialog.open($e,{...nt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:nt},{provide:V,useValue:nt}]},templateContext:()=>({dialogRef:qt}),providers:(yt,jt,Je)=>(qt=new this._dialogRefConstructor(yt,nt,Je),qt.updatePosition(nt?.position),[{provide:this._dialogContainerType,useValue:Je},{provide:this._dialogDataToken,useValue:jt.data},{provide:this._dialogRefConstructor,useValue:qt}])});return qt.componentRef=Nt.componentRef,qt.componentInstance=Nt.componentInstance,this.openDialogs.push(qt),this.afterOpened.next(qt),qt.afterClosed().subscribe(()=>{const yt=this.openDialogs.indexOf(qt);yt>-1&&(this.openDialogs.splice(yt,1),this.openDialogs.length||this._getAfterAllClosed().next())}),qt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById($e){return this.openDialogs.find(nt=>nt.id===$e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs($e){let nt=$e.length;for(;nt--;)$e[nt].close()}static{this.\u0275fac=function(nt){return new(nt||je)(x.KVO(e.hJ),x.KVO(x.zZn),x.KVO(t.aZ,8),x.KVO(se,8),x.KVO(ae),x.KVO(je,12),x.KVO(e.Sf),x.KVO(x.bc$,8))}}static{this.\u0275prov=x.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}}return je})(),ue=(()=>{class je{constructor($e,nt,qt){this.dialogRef=$e,this._elementRef=nt,this._dialog=qt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function Yt(je,vt){let $e=je.nativeElement.parentElement;for(;$e&&!$e.classList.contains("mat-mdc-dialog-container");)$e=$e.parentElement;return $e?vt.find(nt=>nt.id===$e.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges($e){const nt=$e._matDialogClose||$e._matDialogCloseResult;nt&&(this.dialogResult=nt.currentValue)}_onButtonClick($e){oe(this.dialogRef,0===$e.screenX&&0===$e.screenY?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(nt){return new(nt||je)(x.rXU(We,8),x.rXU(x.aKT),x.rXU(me))}}static{this.\u0275dir=x.FsC({type:je,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(nt,qt){1&nt&&x.bIt("click",function(yt){return qt._onButtonClick(yt)}),2&nt&&x.BMQ("aria-label",qt.ariaLabel||null)("type",qt.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[x.OA$]})}}return je})();let _e=(()=>{class je{static{this.\u0275fac=function(nt){return new(nt||je)}}static{this.\u0275mod=x.$C({type:je})}static{this.\u0275inj=x.G2t({providers:[me],imports:[le,e.z_,w.jc,d.yE,d.yE]})}}return je})()},1997:(Qe,te,g)=>{"use strict";g.d(te,{q:()=>D,w:()=>l});var e=g(4438),t=g(4085),x=g(6600);let D=(()=>{class w{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(R){this._vertical=(0,t.he)(R)}get inset(){return this._inset}set inset(R){this._inset=(0,t.he)(R)}static{this.\u0275fac=function(h){return new(h||w)}}static{this.\u0275cmp=e.VBU({type:w,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(h,S){2&h&&(e.BMQ("aria-orientation",S.vertical?"vertical":"horizontal"),e.AVh("mat-divider-vertical",S.vertical)("mat-divider-horizontal",!S.vertical)("mat-divider-inset",S.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[e.aNF],decls:0,vars:0,template:function(h,S){},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 w})(),l=(()=>{class w{static{this.\u0275fac=function(h){return new(h||w)}}static{this.\u0275mod=e.$C({type:w})}static{this.\u0275inj=e.G2t({imports:[x.yE,x.yE]})}}return w})()},9454:(Qe,te,g)=>{"use strict";g.d(te,{BS:()=>ze,MY:()=>Xe,GK:()=>a,Q6:()=>q,Z2:()=>N,WN:()=>pe});var e=g(4438),t=g(5024),x=g(1413),D=g(8359);let l=0;const w=new e.nKC("CdkAccordion");let f=(()=>{class We{constructor(){this._stateChanges=new x.B,this._openCloseAllActions=new x.B,this.id="cdk-accordion-"+l++,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(X){this._stateChanges.next(X)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275dir=e.FsC({type:We,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",e.L39]},exportAs:["cdkAccordion"],standalone:!0,features:[e.Jv_([{provide:w,useExisting:We}]),e.GFd,e.OA$]})}}return We})(),R=0,h=(()=>{class We{get expanded(){return this._expanded}set expanded(X){this._expanded!==X&&(this._expanded=X,this.expandedChange.emit(X),X?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}constructor(X,se,ae){this.accordion=X,this._changeDetectorRef=se,this._expansionDispatcher=ae,this._openCloseAllSubscription=D.yU.EMPTY,this.closed=new e.bkB,this.opened=new e.bkB,this.destroyed=new e.bkB,this.expandedChange=new e.bkB,this.id="cdk-accordion-child-"+R++,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=ae.listen((he,Ie)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===Ie&&this.id!==he&&(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(X=>{this.disabled||(this.expanded=X)})}static{this.\u0275fac=function(se){return new(se||We)(e.rXU(w,12),e.rXU(e.gRc),e.rXU(t.zP))}}static{this.\u0275dir=e.FsC({type:We,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",e.L39],disabled:[2,"disabled","disabled",e.L39]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[e.Jv_([{provide:w,useValue:void 0}]),e.GFd]})}}return We})(),S=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275mod=e.$C({type:We})}static{this.\u0275inj=e.G2t({})}}return We})();var y=g(6939),O=g(6600),I=g(8617),V=g(9172),j=g(5964),Y=g(6697),W=g(7336),Q=g(983),J=g(7786),ie=g(9969),ee=g(177);const fe=["body"],ne=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Me=["mat-expansion-panel-header","*","mat-action-row"];function Ce(We,oe){}const le=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],T=["mat-panel-title","mat-panel-description","*"];function n(We,oe){if(1&We&&(e.j41(0,"span",1),e.qSk(),e.j41(1,"svg",2),e.nrm(2,"path",3),e.k0s()()),2&We){const X=e.XpG();e.Y8G("@indicatorRotate",X._getExpandedState())}}const c=new e.nKC("MAT_ACCORDION"),m="225ms cubic-bezier(0.4,0.0,0.2,1)",d={indicatorRotate:(0,ie.hZ)("indicatorRotate",[(0,ie.wk)("collapsed, void",(0,ie.iF)({transform:"rotate(0deg)"})),(0,ie.wk)("expanded",(0,ie.iF)({transform:"rotate(180deg)"})),(0,ie.kY)("expanded <=> collapsed, void => collapsed",(0,ie.i0)(m))]),bodyExpansion:(0,ie.hZ)("bodyExpansion",[(0,ie.wk)("collapsed, void",(0,ie.iF)({height:"0px",visibility:"hidden"})),(0,ie.wk)("expanded",(0,ie.iF)({height:"*",visibility:""})),(0,ie.kY)("expanded <=> collapsed, void => collapsed",(0,ie.i0)(m))])},C=new e.nKC("MAT_EXPANSION_PANEL");let A=(()=>{class We{constructor(X,se){this._template=X,this._expansionPanel=se}static{this.\u0275fac=function(se){return new(se||We)(e.rXU(e.C4Q),e.rXU(C,8))}}static{this.\u0275dir=e.FsC({type:We,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0})}}return We})(),k=0;const _=new e.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let a=(()=>{class We extends h{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(X){this._hideToggle=X}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(X){this._togglePosition=X}constructor(X,se,ae,he,Ie,st,me){super(X,se,ae),this._viewContainerRef=he,this._animationMode=st,this._hideToggle=!1,this.afterExpand=new e.bkB,this.afterCollapse=new e.bkB,this._inputChanges=new x.B,this._headerId="mat-expansion-panel-header-"+k++,this.accordion=X,this._document=Ie,this._animationsDisabled="NoopAnimations"===st,me&&(this.hideToggle=me.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,V.Z)(null),(0,j.p)(()=>this.expanded&&!this._portal),(0,Y.s)(1)).subscribe(()=>{this._portal=new y.VA(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(X){this._inputChanges.next(X)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){const X=this._document.activeElement,se=this._body.nativeElement;return X===se||se.contains(X)}return!1}_animationStarted(X){!b(X)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(X){b(X)||("expanded"===X.toState?this.afterExpand.emit():"collapsed"===X.toState&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static{this.\u0275fac=function(se){return new(se||We)(e.rXU(c,12),e.rXU(e.gRc),e.rXU(t.zP),e.rXU(e.c1b),e.rXU(ee.qQ),e.rXU(e.bc$,8),e.rXU(_,8))}}static{this.\u0275cmp=e.VBU({type:We,selectors:[["mat-expansion-panel"]],contentQueries:function(se,ae,he){if(1&se&&e.wni(he,A,5),2&se){let Ie;e.mGM(Ie=e.lsd())&&(ae._lazyContent=Ie.first)}},viewQuery:function(se,ae){if(1&se&&e.GBs(fe,5),2&se){let he;e.mGM(he=e.lsd())&&(ae._body=he.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(se,ae){2&se&&e.AVh("mat-expanded",ae.expanded)("_mat-animation-noopable",ae._animationsDisabled)("mat-expansion-panel-spacing",ae._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",e.L39],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[e.Jv_([{provide:c,useValue:void 0},{provide:C,useExisting:We}]),e.GFd,e.Vt3,e.OA$,e.aNF],ngContentSelectors:Me,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(se,ae){if(1&se){const he=e.RV6();e.NAR(ne),e.SdG(0),e.j41(1,"div",1,0),e.bIt("@bodyExpansion.start",function(st){return e.eBV(he),e.Njj(ae._animationStarted(st))})("@bodyExpansion.done",function(st){return e.eBV(he),e.Njj(ae._animationDone(st))}),e.j41(3,"div",2),e.SdG(4,1),e.DNE(5,Ce,0,0,"ng-template",3),e.k0s(),e.SdG(6,2),e.k0s()}2&se&&(e.R7$(),e.Y8G("@bodyExpansion",ae._getExpandedState())("id",ae.id),e.BMQ("aria-labelledby",ae._headerId),e.R7$(4),e.Y8G("cdkPortalOutlet",ae._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:[d.bodyExpansion]},changeDetection:0})}}return We})();function b(We){return"void"===We.fromState}let N=(()=>{class We{constructor(X,se,ae,he,Ie,st,me){this.panel=X,this._element=se,this._focusMonitor=ae,this._changeDetectorRef=he,this._animationMode=st,this._parentChangeSubscription=D.yU.EMPTY,this.tabIndex=0;const Ee=X.accordion?X.accordion._stateChanges.pipe((0,j.p)(ue=>!(!ue.hideToggle&&!ue.togglePosition))):Q.w;this.tabIndex=parseInt(me||"")||0,this._parentChangeSubscription=(0,J.h)(X.opened,X.closed,Ee,X._inputChanges.pipe((0,j.p)(ue=>!!(ue.hideToggle||ue.disabled||ue.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),X.closed.pipe((0,j.p)(()=>X._containsFocus())).subscribe(()=>ae.focusVia(se,"program")),Ie&&(this.expandedHeight=Ie.expandedHeight,this.collapsedHeight=Ie.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 X=this._isExpanded();return X&&this.expandedHeight?this.expandedHeight:!X&&this.collapsedHeight?this.collapsedHeight:null}_keydown(X){switch(X.keyCode){case W.t6:case W.Fm:(0,W.rp)(X)||(X.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(X))}}focus(X,se){X?this._focusMonitor.focusVia(this._element,X,se):this._element.nativeElement.focus(se)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(X=>{X&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static{this.\u0275fac=function(se){return new(se||We)(e.rXU(a,1),e.rXU(e.aKT),e.rXU(I.FN),e.rXU(e.gRc),e.rXU(_,8),e.rXU(e.bc$,8),e.kS0("tabindex"))}}static{this.\u0275cmp=e.VBU({type:We,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(se,ae){1&se&&e.bIt("click",function(){return ae._toggle()})("keydown",function(Ie){return ae._keydown(Ie)}),2&se&&(e.BMQ("id",ae.panel._headerId)("tabindex",ae.disabled?-1:ae.tabIndex)("aria-controls",ae._getPanelId())("aria-expanded",ae._isExpanded())("aria-disabled",ae.panel.disabled),e.xc7("height",ae._getHeaderHeight()),e.AVh("mat-expanded",ae._isExpanded())("mat-expansion-toggle-indicator-after","after"===ae._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===ae._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===ae._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",X=>null==X?0:(0,e.Udg)(X)]},standalone:!0,features:[e.GFd,e.aNF],ngContentSelectors:T,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(se,ae){1&se&&(e.NAR(le),e.j41(0,"span",0),e.SdG(1),e.SdG(2,1),e.SdG(3,2),e.k0s(),e.DNE(4,n,3,1,"span",1)),2&se&&(e.AVh("mat-content-hide-toggle",!ae._showToggle()),e.R7$(4),e.vxM(ae._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);display:inline-block;display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:none;display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[d.indicatorRotate]},changeDetection:0})}}return We})(),q=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275dir=e.FsC({type:We,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"],standalone:!0})}}return We})(),pe=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275dir=e.FsC({type:We,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0})}}return We})(),ze=(()=>{class We extends f{constructor(){super(...arguments),this._ownHeaders=new e.rOR,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe((0,V.Z)(this._headers)).subscribe(X=>{this._ownHeaders.reset(X.filter(se=>se.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new I.Bu(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(X){this._keyManager.onKeydown(X)}_handleHeaderFocus(X){this._keyManager.updateActiveItem(X)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static{this.\u0275fac=(()=>{let X;return function(ae){return(X||(X=e.xGo(We)))(ae||We)}})()}static{this.\u0275dir=e.FsC({type:We,selectors:[["mat-accordion"]],contentQueries:function(se,ae,he){if(1&se&&e.wni(he,N,5),2&se){let Ie;e.mGM(Ie=e.lsd())&&(ae._headers=Ie)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(se,ae){2&se&&e.AVh("mat-accordion-multi",ae.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",e.L39],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[e.Jv_([{provide:c,useExisting:We}]),e.GFd,e.Vt3]})}}return We})(),Xe=(()=>{class We{static{this.\u0275fac=function(se){return new(se||We)}}static{this.\u0275mod=e.$C({type:We})}static{this.\u0275inj=e.G2t({imports:[O.yE,S,y.jc]})}}return We})()},6467:(Qe,te,g)=>{"use strict";g.d(te,{xb:()=>qt,TL:()=>he,rl:()=>It,qT:()=>je,RG:()=>Qt,MV:()=>st,nJ:()=>X,yw:()=>Be});var e=g(4438),t=g(8203),x=g(6860),D=g(8359),l=g(1413),w=g(7786),f=g(6977),R=g(1985),h=g(5964),S=g(2771),y=g(7647);class V{constructor(xt){this._box=xt,this._destroyed=new l.B,this._resizeSubject=new l.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Se=>this._resizeSubject.next(Se)))}observe(xt){return this._elementObservables.has(xt)||this._elementObservables.set(xt,new R.c(Se=>{const Te=this._resizeSubject.subscribe(Se);return this._resizeObserver?.observe(xt,{box:this._box}),()=>{this._resizeObserver?.unobserve(xt),Te.unsubscribe(),this._elementObservables.delete(xt)}}).pipe((0,h.p)(Se=>Se.some(Te=>Te.target===xt)),function O(Tt,xt,Se){let Te,ce=!1;return Tt&&"object"==typeof Tt?({bufferSize:Te=1/0,windowTime:xt=1/0,refCount:ce=!1,scheduler:Se}=Tt):Te=Tt??1/0,(0,y.u)({connector:()=>new S.m(Te,xt,Se),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ce})}({bufferSize:1,refCount:!0}),(0,f.Q)(this._destroyed))),this._elementObservables.get(xt)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let j=(()=>{class Tt{constructor(){this._observers=new Map,this._ngZone=(0,e.WQX)(e.SKi)}ngOnDestroy(){for(const[,Se]of this._observers)Se.destroy();this._observers.clear()}observe(Se,Te){const ce=Te?.box||"content-box";return this._observers.has(ce)||this._observers.set(ce,new V(ce)),this._observers.get(ce).observe(Se)}static{this.\u0275fac=function(Te){return new(Te||Tt)}}static{this.\u0275prov=e.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"})}}return Tt})();var Y=g(4085),W=g(9969),Q=g(177),J=g(2318),ie=g(6600);const ee=["notch"],fe=["matFormFieldNotchedOutline",""],ne=["*"],Me=["textField"],Ce=["iconPrefixContainer"],le=["textPrefixContainer"],T=["*",[["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(Tt,xt){1&Tt&&e.nrm(0,"span",19)}function m(Tt,xt){if(1&Tt&&(e.j41(0,"label",18),e.SdG(1,1),e.DNE(2,c,1,0,"span",19),e.k0s()),2&Tt){const Se=e.XpG(2);e.Y8G("floating",Se._shouldLabelFloat())("monitorResize",Se._hasOutline())("id",Se._labelId),e.BMQ("for",Se._control.disableAutomaticLabeling?null:Se._control.id),e.R7$(2),e.vxM(!Se.hideRequiredMarker&&Se._control.required?2:-1)}}function d(Tt,xt){if(1&Tt&&e.DNE(0,m,3,5,"label",18),2&Tt){const Se=e.XpG();e.vxM(Se._hasFloatingLabel()?0:-1)}}function C(Tt,xt){1&Tt&&e.nrm(0,"div",5)}function A(Tt,xt){}function k(Tt,xt){if(1&Tt&&e.DNE(0,A,0,0,"ng-template",11),2&Tt){e.XpG(2);const Se=e.sdS(1);e.Y8G("ngTemplateOutlet",Se)}}function _(Tt,xt){if(1&Tt&&(e.j41(0,"div",7),e.DNE(1,k,1,1,null,11),e.k0s()),2&Tt){const Se=e.XpG();e.Y8G("matFormFieldNotchedOutlineOpen",Se._shouldLabelFloat()),e.R7$(),e.vxM(Se._forceDisplayInfixLabel()?-1:1)}}function a(Tt,xt){1&Tt&&(e.j41(0,"div",8,2),e.SdG(2,2),e.k0s())}function b(Tt,xt){1&Tt&&(e.j41(0,"div",9,3),e.SdG(2,3),e.k0s())}function z(Tt,xt){}function N(Tt,xt){if(1&Tt&&e.DNE(0,z,0,0,"ng-template",11),2&Tt){e.XpG();const Se=e.sdS(1);e.Y8G("ngTemplateOutlet",Se)}}function q(Tt,xt){1&Tt&&(e.j41(0,"div",12),e.SdG(1,4),e.k0s())}function pe(Tt,xt){1&Tt&&(e.j41(0,"div",13),e.SdG(1,5),e.k0s())}function ze(Tt,xt){1&Tt&&e.nrm(0,"div",14)}function Xe(Tt,xt){if(1&Tt&&(e.j41(0,"div",16),e.SdG(1,6),e.k0s()),2&Tt){const Se=e.XpG();e.Y8G("@transitionMessages",Se._subscriptAnimationState)}}function We(Tt,xt){if(1&Tt&&(e.j41(0,"mat-hint",20),e.EFF(1),e.k0s()),2&Tt){const Se=e.XpG(2);e.Y8G("id",Se._hintLabelId),e.R7$(),e.JRh(Se.hintLabel)}}function oe(Tt,xt){if(1&Tt&&(e.j41(0,"div",17),e.DNE(1,We,2,2,"mat-hint",20),e.SdG(2,7),e.nrm(3,"div",21),e.SdG(4,8),e.k0s()),2&Tt){const Se=e.XpG();e.Y8G("@transitionMessages",Se._subscriptAnimationState),e.R7$(),e.vxM(Se.hintLabel?1:-1)}}let X=(()=>{class Tt{static{this.\u0275fac=function(Te){return new(Te||Tt)}}static{this.\u0275dir=e.FsC({type:Tt,selectors:[["mat-label"]],standalone:!0})}}return Tt})(),se=0;const ae=new e.nKC("MatError");let he=(()=>{class Tt{constructor(Se,Te){this.id="mat-mdc-error-"+se++,Se||Te.nativeElement.setAttribute("aria-live","polite")}static{this.\u0275fac=function(Te){return new(Te||Tt)(e.kS0("aria-live"),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:Tt,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(Te,ce){2&Te&&e.Mr5("id",ce.id)},inputs:{id:"id"},standalone:!0,features:[e.Jv_([{provide:ae,useExisting:Tt}])]})}}return Tt})(),Ie=0,st=(()=>{class Tt{constructor(){this.align="start",this.id="mat-mdc-hint-"+Ie++}static{this.\u0275fac=function(Te){return new(Te||Tt)}}static{this.\u0275dir=e.FsC({type:Tt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Te,ce){2&Te&&(e.Mr5("id",ce.id),e.BMQ("align",null),e.AVh("mat-mdc-form-field-hint-end","end"===ce.align))},inputs:{align:"align",id:"id"},standalone:!0})}}return Tt})();const me=new e.nKC("MatPrefix"),ue=new e.nKC("MatSuffix");let Be=(()=>{class Tt{constructor(){this._isText=!1}set _isTextSelector(Se){this._isText=!0}static{this.\u0275fac=function(Te){return new(Te||Tt)}}static{this.\u0275dir=e.FsC({type:Tt,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[e.Jv_([{provide:ue,useExisting:Tt}])]})}}return Tt})();const Ct=new e.nKC("FloatingLabelParent");let ct=(()=>{class Tt{get floating(){return this._floating}set floating(Se){this._floating=Se,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(Se){this._monitorResize=Se,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(Se){this._elementRef=Se,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,e.WQX)(j),this._ngZone=(0,e.WQX)(e.SKi),this._parent=(0,e.WQX)(Ct),this._resizeSubscription=new D.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function dt(Tt){if(null!==Tt.offsetParent)return Tt.scrollWidth;const Se=Tt.cloneNode(!0);Se.style.setProperty("position","absolute"),Se.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Se);const Te=Se.scrollWidth;return Se.remove(),Te}(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(Te){return new(Te||Tt)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:Tt,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Te,ce){2&Te&&e.AVh("mdc-floating-label--float-above",ce.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return Tt})();const Yt="mdc-line-ripple--active",ve="mdc-line-ripple--deactivating";let _e=(()=>{class Tt{constructor(Se,Te){this._elementRef=Se,this._handleTransitionEnd=ce=>{const Z=this._elementRef.nativeElement.classList,Re=Z.contains(ve);"opacity"===ce.propertyName&&Re&&Z.remove(Yt,ve)},Te.runOutsideAngular(()=>{Se.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Se=this._elementRef.nativeElement.classList;Se.remove(ve),Se.add(Yt)}deactivate(){this._elementRef.nativeElement.classList.add(ve)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(Te){return new(Te||Tt)(e.rXU(e.aKT),e.rXU(e.SKi))}}static{this.\u0275dir=e.FsC({type:Tt,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return Tt})(),we=(()=>{class Tt{constructor(Se,Te){this._elementRef=Se,this._ngZone=Te,this.open=!1}ngAfterViewInit(){const Se=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Se?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Se.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Se.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Se){this._notch.nativeElement.style.width=this.open&&Se?`calc(${Se}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static{this.\u0275fac=function(Te){return new(Te||Tt)(e.rXU(e.aKT),e.rXU(e.SKi))}}static{this.\u0275cmp=e.VBU({type:Tt,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Te,ce){if(1&Te&&e.GBs(ee,5),2&Te){let Z;e.mGM(Z=e.lsd())&&(ce._notch=Z.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Te,ce){2&Te&&e.AVh("mdc-notched-outline--notched",ce.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[e.aNF],attrs:fe,ngContentSelectors:ne,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(Te,ce){1&Te&&(e.NAR(),e.nrm(0,"div",1),e.j41(1,"div",2,0),e.SdG(3),e.k0s(),e.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}}return Tt})();const Ue={transitionMessages:(0,W.hZ)("transitionMessages",[(0,W.wk)("enter",(0,W.iF)({opacity:1,transform:"translateY(0%)"})),(0,W.kY)("void => enter",[(0,W.iF)({opacity:0,transform:"translateY(-5px)"}),(0,W.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let je=(()=>{class Tt{static{this.\u0275fac=function(Te){return new(Te||Tt)}}static{this.\u0275dir=e.FsC({type:Tt})}}return Tt})();const qt=new e.nKC("MatFormField"),Nt=new e.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let yt=0,It=(()=>{class Tt{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Se){this._hideRequiredMarker=(0,Y.he)(Se)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Se){Se!==this._floatLabel&&(this._floatLabel=Se,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Se){const Te=this._appearance;this._appearance=Se||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Te&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Se){this._subscriptSizing=Se||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Se){this._hintLabel=Se,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Se){this._explicitFormFieldControl=Se}constructor(Se,Te,ce,Z,Re,Pe,pt,Ke){this._elementRef=Se,this._changeDetectorRef=Te,this._ngZone=ce,this._dir=Z,this._platform=Re,this._defaults=Pe,this._animationMode=pt,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-"+yt++,this._hintLabelId="mat-mdc-hint-"+yt++,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 Se=this._control;Se.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Se.controlType}`),Se.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Se.ngControl&&Se.ngControl.valueChanges&&Se.ngControl.valueChanges.pipe((0,f.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Se=>!Se._isText),this._hasTextPrefix=!!this._prefixChildren.find(Se=>Se._isText),this._hasIconSuffix=!!this._suffixChildren.find(Se=>!Se._isText),this._hasTextSuffix=!!this._suffixChildren.find(Se=>Se._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,w.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,f.Q)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,f.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(Se){const Te=this._control?this._control.ngControl:null;return Te&&Te[Se]}_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 Se=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Se.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Te=this._hintChildren?this._hintChildren.find(Z=>"start"===Z.align):null,ce=this._hintChildren?this._hintChildren.find(Z=>"end"===Z.align):null;Te?Se.push(Te.id):this._hintLabel&&Se.push(this._hintLabelId),ce&&Se.push(ce.id)}else this._errorChildren&&Se.push(...this._errorChildren.map(Te=>Te.id));this._control.setDescribedByIds(Se)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Se=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Se.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Te=this._iconPrefixContainer?.nativeElement,ce=this._textPrefixContainer?.nativeElement,Z=Te?.getBoundingClientRect().width??0,Re=ce?.getBoundingClientRect().width??0;Se.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Z+Re}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Se=this._elementRef.nativeElement;if(Se.getRootNode){const Te=Se.getRootNode();return Te&&Te!==Se}return document.documentElement.contains(Se)}static{this.\u0275fac=function(Te){return new(Te||Tt)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(t.dS),e.rXU(x.OD),e.rXU(Nt,8),e.rXU(e.bc$,8),e.rXU(Q.qQ))}}static{this.\u0275cmp=e.VBU({type:Tt,selectors:[["mat-form-field"]],contentQueries:function(Te,ce,Z){if(1&Te&&(e.wni(Z,X,5),e.wni(Z,X,7),e.wni(Z,je,5),e.wni(Z,me,5),e.wni(Z,ue,5),e.wni(Z,ae,5),e.wni(Z,st,5)),2&Te){let Re;e.mGM(Re=e.lsd())&&(ce._labelChildNonStatic=Re.first),e.mGM(Re=e.lsd())&&(ce._labelChildStatic=Re.first),e.mGM(Re=e.lsd())&&(ce._formFieldControl=Re.first),e.mGM(Re=e.lsd())&&(ce._prefixChildren=Re),e.mGM(Re=e.lsd())&&(ce._suffixChildren=Re),e.mGM(Re=e.lsd())&&(ce._errorChildren=Re),e.mGM(Re=e.lsd())&&(ce._hintChildren=Re)}},viewQuery:function(Te,ce){if(1&Te&&(e.GBs(Me,5),e.GBs(Ce,5),e.GBs(le,5),e.GBs(ct,5),e.GBs(we,5),e.GBs(_e,5)),2&Te){let Z;e.mGM(Z=e.lsd())&&(ce._textField=Z.first),e.mGM(Z=e.lsd())&&(ce._iconPrefixContainer=Z.first),e.mGM(Z=e.lsd())&&(ce._textPrefixContainer=Z.first),e.mGM(Z=e.lsd())&&(ce._floatingLabel=Z.first),e.mGM(Z=e.lsd())&&(ce._notchedOutline=Z.first),e.mGM(Z=e.lsd())&&(ce._lineRipple=Z.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Te,ce){2&Te&&e.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"],standalone:!0,features:[e.Jv_([{provide:qt,useExisting:Tt},{provide:Ct,useExisting:Tt}]),e.aNF],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(Te,ce){if(1&Te){const Z=e.RV6();e.NAR(T),e.DNE(0,d,1,1,"ng-template",null,0,e.C5r),e.j41(2,"div",4,1),e.bIt("click",function(Pe){return e.eBV(Z),e.Njj(ce._control.onContainerClick(Pe))}),e.DNE(4,C,1,0,"div",5),e.j41(5,"div",6),e.DNE(6,_,2,2,"div",7)(7,a,3,0,"div",8)(8,b,3,0,"div",9),e.j41(9,"div",10),e.DNE(10,N,1,1,null,11),e.SdG(11),e.k0s(),e.DNE(12,q,2,0,"div",12)(13,pe,2,0,"div",13),e.k0s(),e.DNE(14,ze,1,0,"div",14),e.k0s(),e.j41(15,"div",15),e.DNE(16,Xe,2,1,"div",16)(17,oe,5,2,"div",17),e.k0s()}if(2&Te){let Z;e.R7$(2),e.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),e.R7$(2),e.vxM(ce._hasOutline()||ce._control.disabled?-1:4),e.R7$(2),e.vxM(ce._hasOutline()?6:-1),e.R7$(),e.vxM(ce._hasIconPrefix?7:-1),e.R7$(),e.vxM(ce._hasTextPrefix?8:-1),e.R7$(2),e.vxM(!ce._hasOutline()||ce._forceDisplayInfixLabel()?10:-1),e.R7$(2),e.vxM(ce._hasTextSuffix?12:-1),e.R7$(),e.vxM(ce._hasIconSuffix?13:-1),e.R7$(),e.vxM(ce._hasOutline()?-1:14),e.R7$(),e.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===ce.subscriptSizing),e.R7$(),e.vxM("error"===(Z=ce._getDisplayedMessages())?16:"hint"===Z?17:-1)}},dependencies:[ct,we,Q.T3,_e,st],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-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-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{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-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-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{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-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-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{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:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-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-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-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:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-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-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-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-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.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;will-change:auto}.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;will-change: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-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.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%;z-index:0}.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>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.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-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:[Ue.transitionMessages]},changeDetection:0})}}return Tt})(),Qt=(()=>{class Tt{static{this.\u0275fac=function(Te){return new(Te||Tt)}}static{this.\u0275mod=e.$C({type:Tt})}static{this.\u0275inj=e.G2t({imports:[ie.yE,Q.MD,J.w5,ie.yE]})}}return Tt})()},6195:(Qe,te,g)=>{"use strict";g.d(te,{B_:()=>Ce,Fe:()=>le,NS:()=>O});var e=g(4438),t=g(6600),x=g(4085),D=g(8203);const l=["*"];class h{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,m){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(c),this.tracker.fill(0,0,this.tracker.length),this.positions=m.map(d=>this._trackTile(d))}_trackTile(c){const m=this._findMatchingGap(c.colspan);return this._markTilePosition(m,c),this.columnIndex=m+c.colspan,new S(this.rowIndex,m)}_findMatchingGap(c){let m=-1,d=-1;do{this.columnIndex+c>this.tracker.length?(this._nextRow(),m=this.tracker.indexOf(0,this.columnIndex),d=this._findGapEndIndex(m)):(m=this.tracker.indexOf(0,this.columnIndex),-1!=m?(d=this._findGapEndIndex(m),this.columnIndex=m+1):(this._nextRow(),m=this.tracker.indexOf(0,this.columnIndex),d=this._findGapEndIndex(m)))}while(d-m{class n{constructor(m,d){this._element=m,this._gridList=d,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(m){this._rowspan=Math.round((0,x.OE)(m))}get colspan(){return this._colspan}set colspan(m){this._colspan=Math.round((0,x.OE)(m))}_setStyle(m,d){this._element.nativeElement.style[m]=d}static{this.\u0275fac=function(d){return new(d||n)(e.rXU(e.aKT),e.rXU(y,8))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(d,C){2&d&&e.BMQ("rowspan",C.rowspan)("colspan",C.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],standalone:!0,features:[e.aNF],ngContentSelectors:l,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(d,C){1&d&&(e.NAR(),e.j41(0,"div",0),e.SdG(1),e.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 W=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class Q{constructor(){this._rows=0,this._rowspan=0}init(c,m,d,C){this._gutterSize=ne(c),this._rows=m.rowCount,this._rowspan=m.rowspan,this._cols=d,this._direction=C}getBaseTileSize(c,m){return`(${c}% - (${this._gutterSize} * ${m}))`}getTilePosition(c,m){return 0===m?"0":fe(`(${c} + ${this._gutterSize}) * ${m}`)}getTileSize(c,m){return`(${c} * ${m}) + (${m-1} * ${this._gutterSize})`}setStyle(c,m,d){let C=100/this._cols,A=(this._cols-1)/this._cols;this.setColStyles(c,d,C,A),this.setRowStyles(c,m,C,A)}setColStyles(c,m,d,C){let A=this.getBaseTileSize(d,C);c._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(A,m)),c._setStyle("width",fe(this.getTileSize(A,c.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(c){return`${this._rowspan} * ${this.getTileSize(c,1)}`}getComputedHeight(){return null}}class J extends Q{constructor(c){super(),this.fixedRowHeight=c}init(c,m,d,C){super.init(c,m,d,C),this.fixedRowHeight=ne(this.fixedRowHeight),W.test(this.fixedRowHeight)}setRowStyles(c,m){c._setStyle("top",this.getTilePosition(this.fixedRowHeight,m)),c._setStyle("height",fe(this.getTileSize(this.fixedRowHeight,c.rowspan)))}getComputedHeight(){return["height",fe(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(c){c._setListStyle(["height",null]),c._tiles&&c._tiles.forEach(m=>{m._setStyle("top",null),m._setStyle("height",null)})}}class ie extends Q{constructor(c){super(),this._parseRatio(c)}setRowStyles(c,m,d,C){this.baseTileHeight=this.getBaseTileSize(d/this.rowHeightRatio,C),c._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,m)),c._setStyle("paddingTop",fe(this.getTileSize(this.baseTileHeight,c.rowspan)))}getComputedHeight(){return["paddingBottom",fe(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(c){c._setListStyle(["paddingBottom",null]),c._tiles.forEach(m=>{m._setStyle("marginTop",null),m._setStyle("paddingTop",null)})}_parseRatio(c){const m=c.split(":");this.rowHeightRatio=parseFloat(m[0])/parseFloat(m[1])}}class ee extends Q{setRowStyles(c,m){let A=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);c._setStyle("top",this.getTilePosition(A,m)),c._setStyle("height",fe(this.getTileSize(A,c.rowspan)))}reset(c){c._tiles&&c._tiles.forEach(m=>{m._setStyle("top",null),m._setStyle("height",null)})}}function fe(n){return`calc(${n})`}function ne(n){return n.match(/([A-Za-z%]+)$/)?n:`${n}px`}let Ce=(()=>{class n{constructor(m,d){this._element=m,this._dir=d,this._gutter="1px"}get cols(){return this._cols}set cols(m){this._cols=Math.max(1,Math.round((0,x.OE)(m)))}get gutterSize(){return this._gutter}set gutterSize(m){this._gutter=`${m??""}`}get rowHeight(){return this._rowHeight}set rowHeight(m){const d=`${m??""}`;d!==this._rowHeight&&(this._rowHeight=d,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(m){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===m?new ee:m&&m.indexOf(":")>-1?new ie(m):new J(m)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new h);const m=this._tileCoordinator,d=this._tiles.filter(A=>!A._gridList||A._gridList===this),C=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,d),this._tileStyler.init(this.gutterSize,m,this.cols,C),d.forEach((A,k)=>{const _=m.positions[k];this._tileStyler.setStyle(A,_.row,_.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(m){m&&(this._element.nativeElement.style[m[0]]=m[1])}static{this.\u0275fac=function(d){return new(d||n)(e.rXU(e.aKT),e.rXU(D.dS,8))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["mat-grid-list"]],contentQueries:function(d,C,A){if(1&d&&e.wni(A,O,5),2&d){let k;e.mGM(k=e.lsd())&&(C._tiles=k)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(d,C){2&d&&e.BMQ("cols",C.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],standalone:!0,features:[e.Jv_([{provide:y,useExisting:n}]),e.aNF],ngContentSelectors:l,decls:2,vars:0,template:function(d,C){1&d&&(e.NAR(),e.j41(0,"div"),e.SdG(1),e.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})(),le=(()=>{class n{static{this.\u0275fac=function(d){return new(d||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[t.Np,t.yE,t.Np,t.yE]})}}return n})()},9213:(Qe,te,g)=>{"use strict";g.d(te,{An:()=>b,m_:()=>z});var e=g(4438),t=g(6600),x=g(177),D=g(7673),l=g(8810),w=g(7468),f=g(8359),R=g(8141),h=g(6354),S=g(9437),y=g(980),O=g(7647),I=g(6697),V=g(1626),j=g(345);const Y=["*"];let W;function J(N){return function Q(){if(void 0===W&&(W=null,typeof window<"u")){const N=window;void 0!==N.trustedTypes&&(W=N.trustedTypes.createPolicy("angular#components",{createHTML:q=>q}))}return W}()?.createHTML(N)||N}function ie(N){return Error(`Unable to find icon with the name "${N}"`)}function fe(N){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${N}".`)}function ne(N){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${N}".`)}class Me{constructor(q,pe,ze){this.url=q,this.svgText=pe,this.options=ze}}let Ce=(()=>{class N{constructor(pe,ze,Xe,We){this._httpClient=pe,this._sanitizer=ze,this._errorHandler=We,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=Xe}addSvgIcon(pe,ze,Xe){return this.addSvgIconInNamespace("",pe,ze,Xe)}addSvgIconLiteral(pe,ze,Xe){return this.addSvgIconLiteralInNamespace("",pe,ze,Xe)}addSvgIconInNamespace(pe,ze,Xe,We){return this._addSvgIconConfig(pe,ze,new Me(Xe,null,We))}addSvgIconResolver(pe){return this._resolvers.push(pe),this}addSvgIconLiteralInNamespace(pe,ze,Xe,We){const oe=this._sanitizer.sanitize(e.WPN.HTML,Xe);if(!oe)throw ne(Xe);const X=J(oe);return this._addSvgIconConfig(pe,ze,new Me("",X,We))}addSvgIconSet(pe,ze){return this.addSvgIconSetInNamespace("",pe,ze)}addSvgIconSetLiteral(pe,ze){return this.addSvgIconSetLiteralInNamespace("",pe,ze)}addSvgIconSetInNamespace(pe,ze,Xe){return this._addSvgIconSetConfig(pe,new Me(ze,null,Xe))}addSvgIconSetLiteralInNamespace(pe,ze,Xe){const We=this._sanitizer.sanitize(e.WPN.HTML,ze);if(!We)throw ne(ze);const oe=J(We);return this._addSvgIconSetConfig(pe,new Me("",oe,Xe))}registerFontClassAlias(pe,ze=pe){return this._fontCssClassesByAlias.set(pe,ze),this}classNameForFontAlias(pe){return this._fontCssClassesByAlias.get(pe)||pe}setDefaultFontSetClass(...pe){return this._defaultFontSetClass=pe,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(pe){const ze=this._sanitizer.sanitize(e.WPN.RESOURCE_URL,pe);if(!ze)throw fe(pe);const Xe=this._cachedIconsByUrl.get(ze);return Xe?(0,D.of)(n(Xe)):this._loadSvgIconFromConfig(new Me(pe,null)).pipe((0,R.M)(We=>this._cachedIconsByUrl.set(ze,We)),(0,h.T)(We=>n(We)))}getNamedSvgIcon(pe,ze=""){const Xe=c(ze,pe);let We=this._svgIconConfigs.get(Xe);if(We)return this._getSvgFromConfig(We);if(We=this._getIconConfigFromResolvers(ze,pe),We)return this._svgIconConfigs.set(Xe,We),this._getSvgFromConfig(We);const oe=this._iconSetConfigs.get(ze);return oe?this._getSvgFromIconSetConfigs(pe,oe):(0,l.$)(ie(Xe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(pe){return pe.svgText?(0,D.of)(n(this._svgElementFromConfig(pe))):this._loadSvgIconFromConfig(pe).pipe((0,h.T)(ze=>n(ze)))}_getSvgFromIconSetConfigs(pe,ze){const Xe=this._extractIconWithNameFromAnySet(pe,ze);if(Xe)return(0,D.of)(Xe);const We=ze.filter(oe=>!oe.svgText).map(oe=>this._loadSvgIconSetFromConfig(oe).pipe((0,S.W)(X=>{const ae=`Loading icon set URL: ${this._sanitizer.sanitize(e.WPN.RESOURCE_URL,oe.url)} failed: ${X.message}`;return this._errorHandler.handleError(new Error(ae)),(0,D.of)(null)})));return(0,w.p)(We).pipe((0,h.T)(()=>{const oe=this._extractIconWithNameFromAnySet(pe,ze);if(!oe)throw ie(pe);return oe}))}_extractIconWithNameFromAnySet(pe,ze){for(let Xe=ze.length-1;Xe>=0;Xe--){const We=ze[Xe];if(We.svgText&&We.svgText.toString().indexOf(pe)>-1){const oe=this._svgElementFromConfig(We),X=this._extractSvgIconFromSet(oe,pe,We.options);if(X)return X}}return null}_loadSvgIconFromConfig(pe){return this._fetchIcon(pe).pipe((0,R.M)(ze=>pe.svgText=ze),(0,h.T)(()=>this._svgElementFromConfig(pe)))}_loadSvgIconSetFromConfig(pe){return pe.svgText?(0,D.of)(null):this._fetchIcon(pe).pipe((0,R.M)(ze=>pe.svgText=ze))}_extractSvgIconFromSet(pe,ze,Xe){const We=pe.querySelector(`[id="${ze}"]`);if(!We)return null;const oe=We.cloneNode(!0);if(oe.removeAttribute("id"),"svg"===oe.nodeName.toLowerCase())return this._setSvgAttributes(oe,Xe);if("symbol"===oe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(oe),Xe);const X=this._svgElementFromString(J(""));return X.appendChild(oe),this._setSvgAttributes(X,Xe)}_svgElementFromString(pe){const ze=this._document.createElement("DIV");ze.innerHTML=pe;const Xe=ze.querySelector("svg");if(!Xe)throw Error(" tag not found");return Xe}_toSvgElement(pe){const ze=this._svgElementFromString(J("")),Xe=pe.attributes;for(let We=0;WeJ(ae)),(0,y.j)(()=>this._inProgressUrlFetches.delete(oe)),(0,O.u)());return this._inProgressUrlFetches.set(oe,se),se}_addSvgIconConfig(pe,ze,Xe){return this._svgIconConfigs.set(c(pe,ze),Xe),this}_addSvgIconSetConfig(pe,ze){const Xe=this._iconSetConfigs.get(pe);return Xe?Xe.push(ze):this._iconSetConfigs.set(pe,[ze]),this}_svgElementFromConfig(pe){if(!pe.svgElement){const ze=this._svgElementFromString(pe.svgText);this._setSvgAttributes(ze,pe.options),pe.svgElement=ze}return pe.svgElement}_getIconConfigFromResolvers(pe,ze){for(let Xe=0;Xeq?q.pathname+q.search:""}}}),k=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],_=k.map(N=>`[${N}]`).join(", "),a=/^url\(['"]?#(.*?)['"]?\)$/;let b=(()=>{class N{get color(){return this._color||this._defaultColor}set color(pe){this._color=pe}get svgIcon(){return this._svgIcon}set svgIcon(pe){pe!==this._svgIcon&&(pe?this._updateSvgIcon(pe):this._svgIcon&&this._clearSvgElement(),this._svgIcon=pe)}get fontSet(){return this._fontSet}set fontSet(pe){const ze=this._cleanupFontValue(pe);ze!==this._fontSet&&(this._fontSet=ze,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(pe){const ze=this._cleanupFontValue(pe);ze!==this._fontIcon&&(this._fontIcon=ze,this._updateFontIconClasses())}constructor(pe,ze,Xe,We,oe,X){this._elementRef=pe,this._iconRegistry=ze,this._location=We,this._errorHandler=oe,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=f.yU.EMPTY,X&&(X.color&&(this.color=this._defaultColor=X.color),X.fontSet&&(this.fontSet=X.fontSet)),Xe||pe.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(pe){if(!pe)return["",""];const ze=pe.split(":");switch(ze.length){case 1:return["",ze[0]];case 2:return ze;default:throw Error(`Invalid icon name: "${pe}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const pe=this._elementsWithExternalReferences;if(pe&&pe.size){const ze=this._location.getPathname();ze!==this._previousPath&&(this._previousPath=ze,this._prependPathToReferences(ze))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(pe){this._clearSvgElement();const ze=this._location.getPathname();this._previousPath=ze,this._cacheChildrenWithExternalReferences(pe),this._prependPathToReferences(ze),this._elementRef.nativeElement.appendChild(pe)}_clearSvgElement(){const pe=this._elementRef.nativeElement;let ze=pe.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ze--;){const Xe=pe.childNodes[ze];(1!==Xe.nodeType||"svg"===Xe.nodeName.toLowerCase())&&Xe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const pe=this._elementRef.nativeElement,ze=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Xe=>Xe.length>0);this._previousFontSetClass.forEach(Xe=>pe.classList.remove(Xe)),ze.forEach(Xe=>pe.classList.add(Xe)),this._previousFontSetClass=ze,this.fontIcon!==this._previousFontIconClass&&!ze.includes("mat-ligature-font")&&(this._previousFontIconClass&&pe.classList.remove(this._previousFontIconClass),this.fontIcon&&pe.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(pe){return"string"==typeof pe?pe.trim().split(" ")[0]:pe}_prependPathToReferences(pe){const ze=this._elementsWithExternalReferences;ze&&ze.forEach((Xe,We)=>{Xe.forEach(oe=>{We.setAttribute(oe.name,`url('${pe}#${oe.value}')`)})})}_cacheChildrenWithExternalReferences(pe){const ze=pe.querySelectorAll(_),Xe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let We=0;We{const X=ze[We],se=X.getAttribute(oe),ae=se?se.match(a):null;if(ae){let he=Xe.get(X);he||(he=[],Xe.set(X,he)),he.push({name:oe,value:ae[1]})}})}_updateSvgIcon(pe){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),pe){const[ze,Xe]=this._splitIconName(pe);ze&&(this._svgNamespace=ze),Xe&&(this._svgName=Xe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Xe,ze).pipe((0,I.s)(1)).subscribe(We=>this._setSvgElement(We),We=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ze}:${Xe}! ${We.message}`))})}}static{this.\u0275fac=function(ze){return new(ze||N)(e.rXU(e.aKT),e.rXU(Ce),e.kS0("aria-hidden"),e.rXU(C),e.rXU(e.zcH),e.rXU(d,8))}}static{this.\u0275cmp=e.VBU({type:N,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(ze,Xe){2&ze&&(e.BMQ("data-mat-icon-type",Xe._usingFontIcon()?"font":"svg")("data-mat-icon-name",Xe._svgName||Xe.fontIcon)("data-mat-icon-namespace",Xe._svgNamespace||Xe.fontSet)("fontIcon",Xe._usingFontIcon()?Xe.fontIcon:null),e.HbH(Xe.color?"mat-"+Xe.color:""),e.AVh("mat-icon-inline",Xe.inline)("mat-icon-no-color","primary"!==Xe.color&&"accent"!==Xe.color&&"warn"!==Xe.color))},inputs:{color:"color",inline:[2,"inline","inline",e.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[e.GFd,e.aNF],ngContentSelectors:Y,decls:1,vars:0,template:function(ze,Xe){1&ze&&(e.NAR(),e.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 N})(),z=(()=>{class N{static{this.\u0275fac=function(ze){return new(ze||N)}}static{this.\u0275mod=e.$C({type:N})}static{this.\u0275inj=e.G2t({imports:[t.yE,t.yE]})}}return N})()},9631:(Qe,te,g)=>{"use strict";g.d(te,{Oh:()=>j,fg:()=>Q,fS:()=>J});var e=g(4085),t=g(6860),x=g(4438),D=g(983),l=g(1413);const w=(0,t.BQ)({passive:!0});let f=(()=>{class ie{constructor(fe,ne){this._platform=fe,this._ngZone=ne,this._monitoredElements=new Map}monitor(fe){if(!this._platform.isBrowser)return D.w;const ne=(0,e.i8)(fe),Me=this._monitoredElements.get(ne);if(Me)return Me.subject;const Ce=new l.B,le="cdk-text-field-autofilled",T=n=>{"cdk-text-field-autofill-start"!==n.animationName||ne.classList.contains(le)?"cdk-text-field-autofill-end"===n.animationName&&ne.classList.contains(le)&&(ne.classList.remove(le),this._ngZone.run(()=>Ce.next({target:n.target,isAutofilled:!1}))):(ne.classList.add(le),this._ngZone.run(()=>Ce.next({target:n.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{ne.addEventListener("animationstart",T,w),ne.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(ne,{subject:Ce,unlisten:()=>{ne.removeEventListener("animationstart",T,w)}}),Ce}stopMonitoring(fe){const ne=(0,e.i8)(fe),Me=this._monitoredElements.get(ne);Me&&(Me.unlisten(),Me.subject.complete(),ne.classList.remove("cdk-text-field-autofill-monitored"),ne.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ne))}ngOnDestroy(){this._monitoredElements.forEach((fe,ne)=>this.stopMonitoring(ne))}static{this.\u0275fac=function(ne){return new(ne||ie)(x.KVO(t.OD),x.KVO(x.SKi))}}static{this.\u0275prov=x.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}}return ie})(),S=(()=>{class ie{static{this.\u0275fac=function(ne){return new(ne||ie)}}static{this.\u0275mod=x.$C({type:ie})}static{this.\u0275inj=x.G2t({})}}return ie})();var y=g(9417),O=g(6600),I=g(6467);const j=new x.nKC("MAT_INPUT_VALUE_ACCESSOR"),Y=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let W=0,Q=(()=>{class ie{get disabled(){return this._disabled}set disabled(fe){this._disabled=(0,e.he)(fe),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(fe){this._id=fe||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(y.k0.required)??!1}set required(fe){this._required=(0,e.he)(fe)}get type(){return this._type}set type(fe){this._type=fe||"text",this._validateType(),!this._isTextarea&&(0,t.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(fe){this._errorStateTracker.matcher=fe}get value(){return this._inputValueAccessor.value}set value(fe){fe!==this.value&&(this._inputValueAccessor.value=fe,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(fe){this._readonly=(0,e.he)(fe)}get errorState(){return this._errorStateTracker.errorState}set errorState(fe){this._errorStateTracker.errorState=fe}constructor(fe,ne,Me,Ce,le,T,n,c,m,d){this._elementRef=fe,this._platform=ne,this.ngControl=Me,this._autofillMonitor=c,this._formField=d,this._uid="mat-input-"+W++,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(k=>(0,t.MU)().has(k)),this._iOSKeyupListener=k=>{const _=k.target;!_.value&&0===_.selectionStart&&0===_.selectionEnd&&(_.setSelectionRange(1,1),_.setSelectionRange(0,0))};const C=this._elementRef.nativeElement,A=C.nodeName.toLowerCase();this._inputValueAccessor=n||C,this._previousNativeValue=this.value,this.id=this.id,ne.IOS&&m.runOutsideAngular(()=>{fe.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new O.X0(T,Me,le,Ce,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===A,this._isTextarea="textarea"===A,this._isInFormField=!!d,this._isNativeSelect&&(this.controlType=C.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(fe=>{this.autofilled=fe.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(fe){this._elementRef.nativeElement.focus(fe)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(fe){fe!==this.focused&&(this.focused=fe,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const fe=this._elementRef.nativeElement.value;this._previousNativeValue!==fe&&(this._previousNativeValue=fe,this.stateChanges.next())}_dirtyCheckPlaceholder(){const fe=this._getPlaceholder();if(fe!==this._previousPlaceholder){const ne=this._elementRef.nativeElement;this._previousPlaceholder=fe,fe?ne.setAttribute("placeholder",fe):ne.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Y.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let fe=this._elementRef.nativeElement.validity;return fe&&fe.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const fe=this._elementRef.nativeElement,ne=fe.options[0];return this.focused||fe.multiple||!this.empty||!!(fe.selectedIndex>-1&&ne&&ne.label)}return this.focused||!this.empty}setDescribedByIds(fe){fe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",fe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const fe=this._elementRef.nativeElement;return this._isNativeSelect&&(fe.multiple||fe.size>1)}static{this.\u0275fac=function(ne){return new(ne||ie)(x.rXU(x.aKT),x.rXU(t.OD),x.rXU(y.vO,10),x.rXU(y.cV,8),x.rXU(y.j4,8),x.rXU(O.es),x.rXU(j,10),x.rXU(f),x.rXU(x.SKi),x.rXU(I.xb,8))}}static{this.\u0275dir=x.FsC({type:ie,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ne,Me){1&ne&&x.bIt("focus",function(){return Me._focusChanged(!0)})("blur",function(){return Me._focusChanged(!1)})("input",function(){return Me._onInput()}),2&ne&&(x.Mr5("id",Me.id)("disabled",Me.disabled)("required",Me.required),x.BMQ("name",Me.name||null)("readonly",Me.readonly&&!Me._isNativeSelect||null)("aria-invalid",Me.empty&&Me.required?null:Me.errorState)("aria-required",Me.required)("id",Me.id),x.AVh("mat-input-server",Me._isServer)("mat-mdc-form-field-textarea-control",Me._isInFormField&&Me._isTextarea)("mat-mdc-form-field-input-control",Me._isInFormField)("mdc-text-field__input",Me._isInFormField)("mat-mdc-native-select-inline",Me._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"],standalone:!0,features:[x.Jv_([{provide:I.qT,useExisting:ie}]),x.OA$]})}}return ie})(),J=(()=>{class ie{static{this.\u0275fac=function(ne){return new(ne||ie)}}static{this.\u0275mod=x.$C({type:ie})}static{this.\u0275inj=x.G2t({imports:[O.yE,I.RG,I.RG,S,O.yE]})}}return ie})()},3902:(Qe,te,g)=>{"use strict";g.d(te,{Fg:()=>we,YE:()=>Ee,jt:()=>me});var e=g(4438),t=g(4085),x=g(6860),D=g(6600),l=g(8359),w=g(7786),R=(g(1413),g(2318)),h=g(177),S=g(1997);g(8617),g(5024),g(7336),g(9417),g(6977);const Y=["*"],Q=["unscopedContent"],J=["text"],ie=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],ee=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],N=new e.nKC("ListOption");let q=(()=>{class Ue{constructor(vt){this._elementRef=vt}static{this.\u0275fac=function($e){return new($e||Ue)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:Ue,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"],standalone:!0})}}return Ue})(),pe=(()=>{class Ue{constructor(vt){this._elementRef=vt}static{this.\u0275fac=function($e){return new($e||Ue)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:Ue,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"],standalone:!0})}}return Ue})(),ze=(()=>{class Ue{static{this.\u0275fac=function($e){return new($e||Ue)}}static{this.\u0275dir=e.FsC({type:Ue,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"],standalone:!0})}}return Ue})(),Xe=(()=>{class Ue{constructor(vt){this._listOption=vt}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static{this.\u0275fac=function($e){return new($e||Ue)(e.rXU(N,8))}}static{this.\u0275dir=e.FsC({type:Ue,hostVars:4,hostBindings:function($e,nt){2&$e&&e.AVh("mdc-list-item__start",nt._isAlignedAtStart())("mdc-list-item__end",!nt._isAlignedAtStart())},standalone:!0})}}return Ue})(),We=(()=>{class Ue extends Xe{static{this.\u0275fac=(()=>{let vt;return function(nt){return(vt||(vt=e.xGo(Ue)))(nt||Ue)}})()}static{this.\u0275dir=e.FsC({type:Ue,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],standalone:!0,features:[e.Vt3]})}}return Ue})(),oe=(()=>{class Ue extends Xe{static{this.\u0275fac=(()=>{let vt;return function(nt){return(vt||(vt=e.xGo(Ue)))(nt||Ue)}})()}static{this.\u0275dir=e.FsC({type:Ue,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],standalone:!0,features:[e.Vt3]})}}return Ue})();const X=new e.nKC("MAT_LIST_CONFIG");let se=(()=>{class Ue{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,e.WQX)(X,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(vt){this._disableRipple=(0,t.he)(vt)}get disabled(){return this._disabled}set disabled(vt){this._disabled=(0,t.he)(vt)}static{this.\u0275fac=function($e){return new($e||Ue)}}static{this.\u0275dir=e.FsC({type:Ue,hostVars:1,hostBindings:function($e,nt){2&$e&&e.BMQ("aria-disabled",nt.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},standalone:!0})}}return Ue})(),ae=(()=>{class Ue{set lines(vt){this._explicitLines=(0,t.OE)(vt,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(vt){this._disableRipple=(0,t.he)(vt)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(vt){this._disabled=(0,t.he)(vt)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(vt,$e,nt,qt,Nt,yt){this._elementRef=vt,this._ngZone=$e,this._listBase=nt,this._platform=qt,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new l.yU,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=Nt||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===yt,nt&&!nt._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 D.ug(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,w.h)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(vt){if(!this._lines||!this._titles||!this._unscopedContent)return;vt&&this._checkDomForUnscopedTextContent();const $e=this._explicitLines??this._inferLinesFromContent(),nt=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",$e<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",$e<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===$e),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===$e),this._hasUnscopedTextContent){const qt=0===this._titles.length&&1===$e;nt.classList.toggle("mdc-list-item__primary-text",qt),nt.classList.toggle("mdc-list-item__secondary-text",!qt)}else nt.classList.remove("mdc-list-item__primary-text"),nt.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let vt=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(vt+=1),vt}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(vt=>vt.nodeType!==vt.COMMENT_NODE).some(vt=>!(!vt.textContent||!vt.textContent.trim()))}static{this.\u0275fac=function($e){return new($e||Ue)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(se,8),e.rXU(x.OD),e.rXU(D.$E,8),e.rXU(e.bc$,8))}}static{this.\u0275dir=e.FsC({type:Ue,contentQueries:function($e,nt,qt){if(1&$e&&(e.wni(qt,We,4),e.wni(qt,oe,4)),2&$e){let Nt;e.mGM(Nt=e.lsd())&&(nt._avatars=Nt),e.mGM(Nt=e.lsd())&&(nt._icons=Nt)}},hostVars:4,hostBindings:function($e,nt){2&$e&&(e.BMQ("aria-disabled",nt.disabled)("disabled",nt._isButtonElement&&nt.disabled||null),e.AVh("mdc-list-item--disabled",nt.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"},standalone:!0})}}return Ue})(),me=(()=>{class Ue extends se{static{this.\u0275fac=(()=>{let vt;return function(nt){return(vt||(vt=e.xGo(Ue)))(nt||Ue)}})()}static{this.\u0275cmp=e.VBU({type:Ue,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],standalone:!0,features:[e.Jv_([{provide:se,useExisting:Ue}]),e.Vt3,e.aNF],ngContentSelectors:Y,decls:1,vars:0,template:function($e,nt){1&$e&&(e.NAR(),e.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)}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.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:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape);--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape)}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color)}'],encapsulation:2,changeDetection:0})}}return Ue})(),Ee=(()=>{class Ue extends ae{get activated(){return this._activated}set activated(vt){this._activated=(0,t.he)(vt)}constructor(vt,$e,nt,qt,Nt,yt){super(vt,$e,nt,qt,Nt,yt),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}static{this.\u0275fac=function($e){return new($e||Ue)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(se,8),e.rXU(x.OD),e.rXU(D.$E,8),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:Ue,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function($e,nt,qt){if(1&$e&&(e.wni(qt,pe,5),e.wni(qt,q,5),e.wni(qt,ze,5)),2&$e){let Nt;e.mGM(Nt=e.lsd())&&(nt._lines=Nt),e.mGM(Nt=e.lsd())&&(nt._titles=Nt),e.mGM(Nt=e.lsd())&&(nt._meta=Nt)}},viewQuery:function($e,nt){if(1&$e&&(e.GBs(Q,5),e.GBs(J,5)),2&$e){let qt;e.mGM(qt=e.lsd())&&(nt._unscopedContent=qt.first),e.mGM(qt=e.lsd())&&(nt._itemText=qt.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function($e,nt){2&$e&&(e.BMQ("aria-current",nt._getAriaCurrent()),e.AVh("mdc-list-item--activated",nt.activated)("mdc-list-item--with-leading-avatar",0!==nt._avatars.length)("mdc-list-item--with-leading-icon",0!==nt._icons.length)("mdc-list-item--with-trailing-meta",0!==nt._meta.length)("_mat-animation-noopable",nt._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],standalone:!0,features:[e.Vt3,e.aNF],ngContentSelectors:ee,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($e,nt){if(1&$e){const qt=e.RV6();e.NAR(ie),e.SdG(0),e.j41(1,"span",1),e.SdG(2,1),e.SdG(3,2),e.j41(4,"span",2,0),e.bIt("cdkObserveContent",function(){return e.eBV(qt),e.Njj(nt._updateItemLines(!0))}),e.SdG(6,3),e.k0s()(),e.SdG(7,4),e.SdG(8,5),e.nrm(9,"div",3)}},dependencies:[R.Wv],encapsulation:2,changeDetection:0})}}return Ue})(),we=(()=>{class Ue{static{this.\u0275fac=function($e){return new($e||Ue)}}static{this.\u0275mod=e.$C({type:Ue})}static{this.\u0275inj=e.G2t({imports:[R.w5,h.MD,D.yE,D.pZ,D.O5,S.w]})}}return Ue})()},9115:(Qe,te,g)=>{"use strict";g.d(te,{Cn:()=>he,Cp:()=>ae,fb:()=>m,kk:()=>ze});var e=g(4438),t=g(8617),x=g(7336),D=g(1413),l=g(7786),w=g(8359),f=g(7673),R=g(5007),h=g(9172),S=g(5558),y=g(6697),O=g(6977),I=g(5964),V=g(5335),j=g(177),Y=g(6600),W=g(6939),Q=g(9969),J=g(8203),ie=g(6969),ee=g(6860),fe=g(5542);const ne=["mat-menu-item",""],Me=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Ce=["mat-icon, [matMenuItemIcon]","*"];function le(Ie,st){1&Ie&&(e.qSk(),e.j41(0,"svg",2),e.nrm(1,"polygon",3),e.k0s())}const T=["*"];function n(Ie,st){if(1&Ie){const me=e.RV6();e.j41(0,"div",0),e.bIt("keydown",function(ue){e.eBV(me);const Be=e.XpG();return e.Njj(Be._handleKeydown(ue))})("click",function(){e.eBV(me);const ue=e.XpG();return e.Njj(ue.closed.emit("click"))})("@transformMenu.start",function(ue){e.eBV(me);const Be=e.XpG();return e.Njj(Be._onAnimationStart(ue))})("@transformMenu.done",function(ue){e.eBV(me);const Be=e.XpG();return e.Njj(Be._onAnimationDone(ue))}),e.j41(1,"div",1),e.SdG(2),e.k0s()()}if(2&Ie){const me=e.XpG();e.HbH(me._classList),e.Y8G("id",me.panelId)("@transformMenu",me._panelAnimationState),e.BMQ("aria-label",me.ariaLabel||null)("aria-labelledby",me.ariaLabelledby||null)("aria-describedby",me.ariaDescribedby||null)}}const c=new e.nKC("MAT_MENU_PANEL");let m=(()=>{class Ie{constructor(me,Ee,ue,Be,Ct){this._elementRef=me,this._document=Ee,this._focusMonitor=ue,this._parentMenu=Be,this._changeDetectorRef=Ct,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new D.B,this._focused=new D.B,this._highlighted=!1,this._triggersSubmenu=!1,Be?.addItem?.(this)}focus(me,Ee){this._focusMonitor&&me?this._focusMonitor.focusVia(this._getHostElement(),me,Ee):this._getHostElement().focus(Ee),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(me){this.disabled&&(me.preventDefault(),me.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const me=this._elementRef.nativeElement.cloneNode(!0),Ee=me.querySelectorAll("mat-icon, .material-icons");for(let ue=0;ue enter",(0,Q.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Q.iF)({opacity:1,transform:"scale(1)"}))),(0,Q.kY)("* => void",(0,Q.i0)("100ms 25ms linear",(0,Q.iF)({opacity:0})))]),fadeInItems:(0,Q.hZ)("fadeInItems",[(0,Q.wk)("showing",(0,Q.iF)({opacity:1})),(0,Q.kY)("void => *",[(0,Q.iF)({opacity:0}),(0,Q.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let N=0;const q=new e.nKC("mat-menu-default-options",{providedIn:"root",factory:function pe(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ze=(()=>{class Ie{get xPosition(){return this._xPosition}set xPosition(me){this._xPosition=me,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(me){this._yPosition=me,this.setPositionClasses()}set panelClass(me){const Ee=this._previousPanelClass,ue={...this._classList};Ee&&Ee.length&&Ee.split(" ").forEach(Be=>{ue[Be]=!1}),this._previousPanelClass=me,me&&me.length&&(me.split(" ").forEach(Be=>{ue[Be]=!0}),this._elementRef.nativeElement.className=""),this._classList=ue}get classList(){return this.panelClass}set classList(me){this.panelClass=me}constructor(me,Ee,ue,Be){this._elementRef=me,this._ngZone=Ee,this._changeDetectorRef=Be,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new e.rOR,this._classList={},this._panelAnimationState="void",this._animationDone=new D.B,this.closed=new e.bkB,this.close=this.closed,this.panelId="mat-menu-panel-"+N++,this.overlayPanelClass=ue.overlayPanelClass||"",this._xPosition=ue.xPosition,this._yPosition=ue.yPosition,this.backdropClass=ue.backdropClass,this.overlapTrigger=ue.overlapTrigger,this.hasBackdrop=ue.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new t.Bu(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,h.Z)(this._directDescendantItems),(0,S.n)(me=>(0,l.h)(...me.map(Ee=>Ee._focused)))).subscribe(me=>this._keyManager.updateActiveItem(me)),this._directDescendantItems.changes.subscribe(me=>{const Ee=this._keyManager;if("enter"===this._panelAnimationState&&Ee.activeItem?._hasFocus()){const ue=me.toArray(),Be=Math.max(0,Math.min(ue.length-1,Ee.activeItemIndex||0));ue[Be]&&!ue[Be].disabled?Ee.setActiveItem(Be):Ee.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,h.Z)(this._directDescendantItems),(0,S.n)(Ee=>(0,l.h)(...Ee.map(ue=>ue._hovered))))}addItem(me){}removeItem(me){}_handleKeydown(me){const Ee=me.keyCode,ue=this._keyManager;switch(Ee){case x._f:(0,x.rp)(me)||(me.preventDefault(),this.closed.emit("keydown"));break;case x.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case x.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Ee===x.i7||Ee===x.n6)&&ue.setFocusOrigin("keyboard"),void ue.onKeydown(me)}me.stopPropagation()}focusFirstItem(me="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,y.s)(1)).subscribe(()=>{let Ee=null;if(this._directDescendantItems.length&&(Ee=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Ee||!Ee.contains(document.activeElement)){const ue=this._keyManager;ue.setFocusOrigin(me).setFirstItemActive(),!ue.activeItem&&Ee&&Ee.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(me){const Ee=Math.min(this._baseElevation+me,24),ue=`${this._elevationPrefix}${Ee}`,Be=Object.keys(this._classList).find(Ct=>Ct.startsWith(this._elevationPrefix));if(!Be||Be===this._previousElevation){const Ct={...this._classList};this._previousElevation&&(Ct[this._previousElevation]=!1),Ct[ue]=!0,this._previousElevation=ue,this._classList=Ct}}setPositionClasses(me=this.xPosition,Ee=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===me,"mat-menu-after":"after"===me,"mat-menu-above":"above"===Ee,"mat-menu-below":"below"===Ee},this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(me){this._animationDone.next(me),this._isAnimating=!1}_onAnimationStart(me){this._isAnimating=!0,"enter"===me.toState&&0===this._keyManager.activeItemIndex&&(me.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,h.Z)(this._allItems)).subscribe(me=>{this._directDescendantItems.reset(me.filter(Ee=>Ee._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(Ee){return new(Ee||Ie)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(q),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:Ie,selectors:[["mat-menu"]],contentQueries:function(Ee,ue,Be){if(1&Ee&&(e.wni(Be,k,5),e.wni(Be,m,5),e.wni(Be,m,4)),2&Ee){let Ct;e.mGM(Ct=e.lsd())&&(ue.lazyContent=Ct.first),e.mGM(Ct=e.lsd())&&(ue._allItems=Ct),e.mGM(Ct=e.lsd())&&(ue.items=Ct)}},viewQuery:function(Ee,ue){if(1&Ee&&e.GBs(e.C4Q,5),2&Ee){let Be;e.mGM(Be=e.lsd())&&(ue.templateRef=Be.first)}},hostVars:3,hostBindings:function(Ee,ue){2&Ee&&e.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",e.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",me=>null==me?null:(0,e.L39)(me)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[e.Jv_([{provide:c,useExisting:Ie}]),e.GFd,e.aNF],ngContentSelectors:T,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(Ee,ue){1&Ee&&(e.NAR(),e.DNE(0,n,3,7,"ng-template"))},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;flex:1;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-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-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:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.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{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.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{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform: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:[a.transformMenu,a.fadeInItems]},changeDetection:0})}}return Ie})();const Xe=new e.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Ie=(0,e.WQX)(ie.hJ);return()=>Ie.scrollStrategies.reposition()}}),oe={provide:Xe,deps:[ie.hJ],useFactory:function We(Ie){return()=>Ie.scrollStrategies.reposition()}},X=(0,ee.BQ)({passive:!0});let ae=(()=>{class Ie{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(me){this.menu=me}get menu(){return this._menu}set menu(me){me!==this._menu&&(this._menu=me,this._menuCloseSubscription.unsubscribe(),me&&(this._menuCloseSubscription=me.close.subscribe(Ee=>{this._destroyMenu(Ee),("click"===Ee||"tab"===Ee)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Ee)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(me,Ee,ue,Be,Ct,ct,dt,Yt,ve){this._overlay=me,this._element=Ee,this._viewContainerRef=ue,this._menuItemInstance=ct,this._dir=dt,this._focusMonitor=Yt,this._ngZone=ve,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=w.yU.EMPTY,this._hoverSubscription=w.yU.EMPTY,this._menuCloseSubscription=w.yU.EMPTY,this._changeDetectorRef=(0,e.WQX)(e.gRc),this._handleTouchStart=_e=>{(0,t.w6)(_e)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new e.bkB,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.bkB,this.onMenuClose=this.menuClosed,this._scrollStrategy=Be,this._parentMaterialMenu=Ct instanceof ze?Ct:void 0,Ee.nativeElement.addEventListener("touchstart",this._handleTouchStart,X)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,X),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 me=this.menu;if(this._menuOpen||!me)return;const Ee=this._createOverlay(me),ue=Ee.getConfig(),Be=ue.positionStrategy;this._setPosition(me,Be),ue.hasBackdrop=null==me.hasBackdrop?!this.triggersSubmenu():me.hasBackdrop,Ee.attach(this._getPortal(me)),me.lazyContent&&me.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(me),me instanceof ze&&(me._startAnimation(),me._directDescendantItems.changes.pipe((0,O.Q)(me.close)).subscribe(()=>{Be.withLockedPosition(!1).reapplyLastPosition(),Be.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(me,Ee){this._focusMonitor&&me?this._focusMonitor.focusVia(this._element,me,Ee):this._element.nativeElement.focus(Ee)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(me){if(!this._overlayRef||!this.menuOpen)return;const Ee=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===me||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Ee instanceof ze?(Ee._resetAnimation(),Ee.lazyContent?Ee._animationDone.pipe((0,I.p)(ue=>"void"===ue.toState),(0,y.s)(1),(0,O.Q)(Ee.lazyContent._attached)).subscribe({next:()=>Ee.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Ee?.lazyContent?.detach())}_initMenu(me){me.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,me.direction=this.dir,this._setMenuElevation(me),me.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(me){if(me.setElevation){let Ee=0,ue=me.parentMenu;for(;ue;)Ee++,ue=ue.parentMenu;me.setElevation(Ee)}}_setIsMenuOpen(me){me!==this._menuOpen&&(this._menuOpen=me,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(me),this._changeDetectorRef.markForCheck())}_createOverlay(me){if(!this._overlayRef){const Ee=this._getOverlayConfig(me);this._subscribeToPositions(me,Ee.positionStrategy),this._overlayRef=this._overlay.create(Ee),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(me){return new ie.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:me.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:me.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(me,Ee){me.setPositionClasses&&Ee.positionChanges.subscribe(ue=>{const Be="start"===ue.connectionPair.overlayX?"after":"before",Ct="top"===ue.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>me.setPositionClasses(Be,Ct)):me.setPositionClasses(Be,Ct)})}_setPosition(me,Ee){let[ue,Be]="before"===me.xPosition?["end","start"]:["start","end"],[Ct,ct]="above"===me.yPosition?["bottom","top"]:["top","bottom"],[dt,Yt]=[Ct,ct],[ve,_e]=[ue,Be],we=0;if(this.triggersSubmenu()){if(_e=ue="before"===me.xPosition?"start":"end",Be=ve="end"===ue?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ue=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ue?Ue._getHostElement().offsetTop:0}we="bottom"===Ct?this._parentInnerPadding:-this._parentInnerPadding}}else me.overlapTrigger||(dt="top"===Ct?"bottom":"top",Yt="top"===ct?"bottom":"top");Ee.withPositions([{originX:ue,originY:dt,overlayX:ve,overlayY:Ct,offsetY:we},{originX:Be,originY:dt,overlayX:_e,overlayY:Ct,offsetY:we},{originX:ue,originY:Yt,overlayX:ve,overlayY:ct,offsetY:-we},{originX:Be,originY:Yt,overlayX:_e,overlayY:ct,offsetY:-we}])}_menuClosingActions(){const me=this._overlayRef.backdropClick(),Ee=this._overlayRef.detachments(),ue=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,f.of)(),Be=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,I.p)(Ct=>Ct!==this._menuItemInstance),(0,I.p)(()=>this._menuOpen)):(0,f.of)();return(0,l.h)(me,ue,Be,Ee)}_handleMousedown(me){(0,t._G)(me)||(this._openedBy=0===me.button?"mouse":void 0,this.triggersSubmenu()&&me.preventDefault())}_handleKeydown(me){const Ee=me.keyCode;(Ee===x.Fm||Ee===x.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Ee===x.LE&&"ltr"===this.dir||Ee===x.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(me){this.triggersSubmenu()?(me.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,I.p)(me=>me===this._menuItemInstance&&!me.disabled),(0,V.c)(0,R.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ze&&this.menu._isAnimating?this.menu._animationDone.pipe((0,y.s)(1),(0,V.c)(0,R.$),(0,O.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(me){return(!this._portal||this._portal.templateRef!==me.templateRef)&&(this._portal=new W.VA(me.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(Ee){return new(Ee||Ie)(e.rXU(ie.hJ),e.rXU(e.aKT),e.rXU(e.c1b),e.rXU(Xe),e.rXU(c,8),e.rXU(m,10),e.rXU(J.dS,8),e.rXU(t.FN),e.rXU(e.SKi))}}static{this.\u0275dir=e.FsC({type:Ie,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Ee,ue){1&Ee&&e.bIt("click",function(Ct){return ue._handleClick(Ct)})("mousedown",function(Ct){return ue._handleMousedown(Ct)})("keydown",function(Ct){return ue._handleKeydown(Ct)}),2&Ee&&e.BMQ("aria-haspopup",ue.menu?"menu":null)("aria-expanded",ue.menuOpen)("aria-controls",ue.menuOpen?ue.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"],standalone:!0})}}return Ie})(),he=(()=>{class Ie{static{this.\u0275fac=function(Ee){return new(Ee||Ie)}}static{this.\u0275mod=e.$C({type:Ie})}static{this.\u0275inj=e.G2t({providers:[oe],imports:[j.MD,Y.pZ,Y.yE,ie.z_,fe.Gj,Y.yE]})}}return Ie})()},6695:(Qe,te,g)=>{"use strict";g.d(te,{Ou:()=>ne,iy:()=>fe,xX:()=>j});var e=g(4438),t=g(1413),x=g(2771),D=g(8834),l=g(2798),w=g(4823),f=g(6600),R=g(6467);function h(Me,Ce){if(1&Me&&(e.j41(0,"mat-option",16),e.EFF(1),e.k0s()),2&Me){const le=Ce.$implicit;e.Y8G("value",le),e.R7$(),e.SpI(" ",le," ")}}function S(Me,Ce){if(1&Me){const le=e.RV6();e.j41(0,"mat-form-field",13)(1,"mat-select",15),e.bIt("selectionChange",function(n){e.eBV(le);const c=e.XpG(2);return e.Njj(c._changePageSize(n.value))}),e.Z7z(2,h,2,2,"mat-option",16,e.fX1),e.k0s()()}if(2&Me){const le=e.XpG(2);e.Y8G("appearance",le._formFieldAppearance)("color",le.color),e.R7$(),e.Y8G("value",le.pageSize)("disabled",le.disabled)("aria-labelledby",le._pageSizeLabelId)("panelClass",le.selectConfig.panelClass||"")("disableOptionCentering",le.selectConfig.disableOptionCentering),e.R7$(),e.Dyx(le._displayedPageSizeOptions)}}function y(Me,Ce){if(1&Me&&(e.j41(0,"div",14),e.EFF(1),e.k0s()),2&Me){const le=e.XpG(2);e.R7$(),e.JRh(le.pageSize)}}function O(Me,Ce){if(1&Me&&(e.j41(0,"div",2)(1,"div",12),e.EFF(2),e.k0s(),e.DNE(3,S,4,7,"mat-form-field",13)(4,y,2,1,"div",14),e.k0s()),2&Me){const le=e.XpG();e.R7$(),e.BMQ("id",le._pageSizeLabelId),e.R7$(),e.SpI(" ",le._intl.itemsPerPageLabel," "),e.R7$(),e.vxM(le._displayedPageSizeOptions.length>1?3:-1),e.R7$(),e.vxM(le._displayedPageSizeOptions.length<=1?4:-1)}}function I(Me,Ce){if(1&Me){const le=e.RV6();e.j41(0,"button",17),e.bIt("click",function(){e.eBV(le);const n=e.XpG();return e.Njj(n.firstPage())}),e.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",18),e.k0s()()}if(2&Me){const le=e.XpG();e.Y8G("matTooltip",le._intl.firstPageLabel)("matTooltipDisabled",le._previousButtonsDisabled())("matTooltipPosition","above")("disabled",le._previousButtonsDisabled()),e.BMQ("aria-label",le._intl.firstPageLabel)}}function V(Me,Ce){if(1&Me){const le=e.RV6();e.j41(0,"button",19),e.bIt("click",function(){e.eBV(le);const n=e.XpG();return e.Njj(n.lastPage())}),e.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",20),e.k0s()()}if(2&Me){const le=e.XpG();e.Y8G("matTooltip",le._intl.lastPageLabel)("matTooltipDisabled",le._nextButtonsDisabled())("matTooltipPosition","above")("disabled",le._nextButtonsDisabled()),e.BMQ("aria-label",le._intl.lastPageLabel)}}let j=(()=>{class Me{constructor(){this.changes=new t.B,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(le,T,n)=>{if(0==n||0==T)return`0 of ${n}`;const c=le*T;return`${c+1} \u2013 ${c<(n=Math.max(n,0))?Math.min(c+T,n):c+T} of ${n}`}}static{this.\u0275fac=function(T){return new(T||Me)}}static{this.\u0275prov=e.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}}return Me})();const W={provide:j,deps:[[new e.Xx1,new e.kdw,j]],useFactory:function Y(Me){return Me||new j}},ie=new e.nKC("MAT_PAGINATOR_DEFAULT_OPTIONS");let ee=0,fe=(()=>{class Me{get pageIndex(){return this._pageIndex}set pageIndex(le){this._pageIndex=Math.max(le||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(le){this._length=le||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(le){this._pageSize=Math.max(le||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(le){this._pageSizeOptions=(le||[]).map(T=>(0,e.Udg)(T,0)),this._updateDisplayedPageSizeOptions()}constructor(le,T,n){if(this._intl=le,this._changeDetectorRef=T,this._pageSizeLabelId="mat-paginator-page-size-label-"+ee++,this._isInitialized=!1,this._initializedStream=new x.m(1),this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this.hidePageSize=!1,this.showFirstLastButtons=!1,this.selectConfig={},this.disabled=!1,this.page=new e.bkB,this.initialized=this._initializedStream,this._intlChanges=le.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){const{pageSize:c,pageSizeOptions:m,hidePageSize:d,showFirstLastButtons:C}=n;null!=c&&(this._pageSize=c),null!=m&&(this._pageSizeOptions=m),null!=d&&(this.hidePageSize=d),null!=C&&(this.showFirstLastButtons=C)}this._formFieldAppearance=n?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const le=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(le)}previousPage(){if(!this.hasPreviousPage())return;const le=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(le)}firstPage(){if(!this.hasPreviousPage())return;const le=this.pageIndex;this.pageIndex=0,this._emitPageEvent(le)}lastPage(){if(!this.hasNextPage())return;const le=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(le)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const le=this.getNumberOfPages()-1;return this.pageIndexle-T),this._changeDetectorRef.markForCheck())}_emitPageEvent(le){this.page.emit({previousPageIndex:le,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static{this.\u0275fac=function(T){return new(T||Me)(e.rXU(j),e.rXU(e.gRc),e.rXU(ie,8))}}static{this.\u0275cmp=e.VBU({type:Me,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",e.Udg],length:[2,"length","length",e.Udg],pageSize:[2,"pageSize","pageSize",e.Udg],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",e.L39],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",e.L39],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",e.L39]},outputs:{page:"page"},exportAs:["matPaginator"],standalone:!0,features:[e.GFd,e.aNF],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(T,n){1&T&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,O,5,4,"div",2),e.j41(3,"div",3)(4,"div",4),e.EFF(5),e.k0s(),e.DNE(6,I,3,5,"button",5),e.j41(7,"button",6),e.bIt("click",function(){return n.previousPage()}),e.qSk(),e.j41(8,"svg",7),e.nrm(9,"path",8),e.k0s()(),e.joV(),e.j41(10,"button",9),e.bIt("click",function(){return n.nextPage()}),e.qSk(),e.j41(11,"svg",7),e.nrm(12,"path",10),e.k0s()(),e.DNE(13,V,3,5,"button",11),e.k0s()()()),2&T&&(e.R7$(2),e.vxM(n.hidePageSize?-1:2),e.R7$(3),e.SpI(" ",n._intl.getRangeLabel(n.pageIndex,n.pageSize,n.length)," "),e.R7$(),e.vxM(n.showFirstLastButtons?6:-1),e.R7$(),e.Y8G("matTooltip",n._intl.previousPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("matTooltipPosition","above")("disabled",n._previousButtonsDisabled()),e.BMQ("aria-label",n._intl.previousPageLabel),e.R7$(3),e.Y8G("matTooltip",n._intl.nextPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("matTooltipPosition","above")("disabled",n._nextButtonsDisabled()),e.BMQ("aria-label",n._intl.nextPageLabel),e.R7$(3),e.vxM(n.showFirstLastButtons?13:-1))},dependencies:[R.rl,l.VO,f.wT,D.iY,w.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-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.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;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 Me})(),ne=(()=>{class Me{static{this.\u0275fac=function(T){return new(T||Me)}}static{this.\u0275mod=e.$C({type:Me})}static{this.\u0275inj=e.G2t({providers:[W],imports:[D.Hl,l.Ve,w.uc,fe]})}}return Me})()},7575:(Qe,te,g)=>{"use strict";g.d(te,{HM:()=>R,PO:()=>S});var e=g(4438),x=(g(177),g(6600));function D(y,O){1&y&&e.nrm(0,"div",2)}const l=new e.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let R=(()=>{class y{constructor(I,V,j,Y,W){this._elementRef=I,this._ngZone=V,this._changeDetectorRef=j,this._animationMode=Y,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new e.bkB,this._mode="determinate",this._transitionendHandler=Q=>{0===this.animationEnd.observers.length||!Q.target||!Q.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===Y,W&&(W.color&&(this.color=this._defaultColor=W.color),this.mode=W.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(I){this._color=I}get value(){return this._value}set value(I){this._value=h(I||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(I){this._bufferValue=h(I||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(I){this._mode=I,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||y)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(e.bc$,8),e.rXU(l,8))}}static{this.\u0275cmp=e.VBU({type:y,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(V,j){2&V&&(e.BMQ("aria-valuenow",j._isIndeterminate()?null:j.value)("mode",j.mode),e.HbH("mat-"+j.color),e.AVh("_mat-animation-noopable",j._isNoopAnimation)("mdc-linear-progress--animation-ready",!j._isNoopAnimation)("mdc-linear-progress--indeterminate",j._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",e.Udg],bufferValue:[2,"bufferValue","bufferValue",e.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[e.GFd,e.aNF],decls:7,vars:5,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,j){1&V&&(e.j41(0,"div",0),e.nrm(1,"div",1),e.DNE(2,D,1,0,"div",2),e.k0s(),e.j41(3,"div",3),e.nrm(4,"span",4),e.k0s(),e.j41(5,"div",5),e.nrm(6,"span",4),e.k0s()),2&V&&(e.R7$(),e.xc7("flex-basis",j._getBufferBarFlexBasis()),e.R7$(),e.vxM("buffer"===j.mode?2:-1),e.R7$(),e.xc7("transform",j._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}.mdc-linear-progress__buffer-dots{background-color:var(--mdc-linear-progress-track-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='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E\")}}.mdc-linear-progress__buffer-bar{background-color:var(--mdc-linear-progress-track-color)}.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:start;--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%}.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 y})();function h(y,O=0,I=100){return Math.max(O,Math.min(I,y))}let S=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275mod=e.$C({type:y})}static{this.\u0275inj=e.G2t({imports:[x.yE]})}}return y})()},9183:(Qe,te,g)=>{"use strict";g.d(te,{D6:()=>O,LG:()=>S});var e=g(4438),t=g(177),x=g(6600);const D=["determinateSpinner"];function l(I,V){if(1&I&&(e.qSk(),e.j41(0,"svg",11),e.nrm(1,"circle",12),e.k0s()),2&I){const j=e.XpG();e.BMQ("viewBox",j._viewBox()),e.R7$(),e.xc7("stroke-dasharray",j._strokeCircumference(),"px")("stroke-dashoffset",j._strokeCircumference()/2,"px")("stroke-width",j._circleStrokeWidth(),"%"),e.BMQ("r",j._circleRadius())}}const w=new e.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:function f(){return{diameter:R}}}),R=100;let S=(()=>{class I{get color(){return this._color||this._defaultColor}set color(j){this._color=j}constructor(j,Y,W){this._elementRef=j,this._defaultColor="primary",this._value=0,this._diameter=R,this._noopAnimations="NoopAnimations"===Y&&!!W&&!W._forceAnimations,this.mode="mat-spinner"===j.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",W&&(W.color&&(this.color=this._defaultColor=W.color),W.diameter&&(this.diameter=W.diameter),W.strokeWidth&&(this.strokeWidth=W.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(j){this._value=Math.max(0,Math.min(100,j||0))}get diameter(){return this._diameter}set diameter(j){this._diameter=j||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(j){this._strokeWidth=j||0}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const j=2*this._circleRadius()+this.strokeWidth;return`0 0 ${j} ${j}`}_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||I)(e.rXU(e.aKT),e.rXU(e.bc$,8),e.rXU(w))}}static{this.\u0275cmp=e.VBU({type:I,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(Y,W){if(1&Y&&e.GBs(D,5),2&Y){let Q;e.mGM(Q=e.lsd())&&(W._determinateCircle=Q.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(Y,W){2&Y&&(e.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===W.mode?W.value:null)("mode",W.mode),e.HbH("mat-"+W.color),e.xc7("width",W.diameter,"px")("height",W.diameter,"px")("--mdc-circular-progress-size",W.diameter+"px")("--mdc-circular-progress-active-indicator-width",W.diameter+"px"),e.AVh("_mat-animation-noopable",W._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===W.mode))},inputs:{color:"color",mode:"mode",value:[2,"value","value",e.Udg],diameter:[2,"diameter","diameter",e.Udg],strokeWidth:[2,"strokeWidth","strokeWidth",e.Udg]},exportAs:["matProgressSpinner"],standalone:!0,features:[e.GFd,e.aNF],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,W){if(1&Y&&(e.DNE(0,l,2,8,"ng-template",null,0,e.C5r),e.j41(2,"div",2,1),e.qSk(),e.j41(4,"svg",3),e.nrm(5,"circle",4),e.k0s()(),e.joV(),e.j41(6,"div",5)(7,"div",6)(8,"div",7),e.eu8(9,8),e.k0s(),e.j41(10,"div",9),e.eu8(11,8),e.k0s(),e.j41(12,"div",10),e.eu8(13,8),e.k0s()()()),2&Y){const Q=e.sdS(1);e.R7$(4),e.BMQ("viewBox",W._viewBox()),e.R7$(),e.xc7("stroke-dasharray",W._strokeCircumference(),"px")("stroke-dashoffset",W._strokeDashOffset(),"px")("stroke-width",W._circleStrokeWidth(),"%"),e.BMQ("r",W._circleRadius()),e.R7$(4),e.Y8G("ngTemplateOutlet",Q),e.R7$(2),e.Y8G("ngTemplateOutlet",Q),e.R7$(2),e.Y8G("ngTemplateOutlet",Q)}},dependencies:[t.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 I})(),O=(()=>{class I{static{this.\u0275fac=function(Y){return new(Y||I)}}static{this.\u0275mod=e.$C({type:I})}static{this.\u0275inj=e.G2t({imports:[t.MD,x.yE]})}}return I})()},5951:(Qe,te,g)=>{"use strict";g.d(te,{VT:()=>Y,Wk:()=>Q,_g:()=>W});var e=g(4438),t=g(6600),x=g(8617),D=g(5024),l=g(9417),w=g(177);const f=["input"],R=["formField"],h=["*"];let S=0;class y{constructor(ie,ee){this.source=ie,this.value=ee}}const O={provide:l.kq,useExisting:(0,e.Rfq)(()=>Y),multi:!0},I=new e.nKC("MatRadioGroup"),V=new e.nKC("mat-radio-default-options",{providedIn:"root",factory:function j(){return{color:"accent"}}});let Y=(()=>{class J{get name(){return this._name}set name(ee){this._name=ee,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(ee){this._labelPosition="before"===ee?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(ee){this._value!==ee&&(this._value=ee,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(ee){this._selected=ee,this.value=ee?ee.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(ee){this._disabled=ee,this._markRadiosForCheck()}get required(){return this._required}set required(ee){this._required=ee,this._markRadiosForCheck()}constructor(ee){this._changeDetector=ee,this._value=null,this._name="mat-radio-group-"+S++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.bkB}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(ee=>ee===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(ee=>{ee.name=this.name,ee._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(fe=>{fe.checked=this.value===fe.value,fe.checked&&(this._selected=fe)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new y(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(ee=>ee._markForCheck())}writeValue(ee){this.value=ee,this._changeDetector.markForCheck()}registerOnChange(ee){this._controlValueAccessorChangeFn=ee}registerOnTouched(ee){this.onTouched=ee}setDisabledState(ee){this.disabled=ee,this._changeDetector.markForCheck()}static{this.\u0275fac=function(fe){return new(fe||J)(e.rXU(e.gRc))}}static{this.\u0275dir=e.FsC({type:J,selectors:[["mat-radio-group"]],contentQueries:function(fe,ne,Me){if(1&fe&&e.wni(Me,W,5),2&fe){let Ce;e.mGM(Ce=e.lsd())&&(ne._radios=Ce)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",e.L39],required:[2,"required","required",e.L39]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[e.Jv_([O,{provide:I,useExisting:J}]),e.GFd]})}}return J})(),W=(()=>{class J{get checked(){return this._checked}set checked(ee){this._checked!==ee&&(this._checked=ee,ee&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!ee&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),ee&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(ee){this._value!==ee&&(this._value=ee,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===ee),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(ee){this._labelPosition=ee}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(ee){this._setDisabled(ee)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(ee){this._required=ee}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(ee){this._color=ee}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ee,fe,ne,Me,Ce,le,T,n){this._elementRef=fe,this._changeDetector=ne,this._focusMonitor=Me,this._radioDispatcher=Ce,this._providerOverride=T,this._uniqueId="mat-radio-"+ ++S,this.id=this._uniqueId,this.disableRipple=!1,this.tabIndex=0,this.change=new e.bkB,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=ee,this._noopAnimations="NoopAnimations"===le,n&&(this.tabIndex=(0,e.Udg)(n,0))}focus(ee,fe){fe?this._focusMonitor.focusVia(this._inputElement,fe,ee):this._inputElement.nativeElement.focus(ee)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((ee,fe)=>{ee!==this.id&&fe===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(ee=>{!ee&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new y(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(ee){ee.stopPropagation()}_onInputInteraction(ee){if(ee.stopPropagation(),!this.checked&&!this.disabled){const fe=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),fe&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(ee){this._onInputInteraction(ee),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(ee){this._disabled!==ee&&(this._disabled=ee,this._changeDetector.markForCheck())}_updateTabIndex(){const ee=this.radioGroup;let fe;if(fe=ee&&ee.selected&&!this.disabled?ee.selected===this?this.tabIndex:-1:this.tabIndex,fe!==this._previousTabIndex){const ne=this._inputElement?.nativeElement;ne&&(ne.setAttribute("tabindex",fe+""),this._previousTabIndex=fe)}}static{this.\u0275fac=function(fe){return new(fe||J)(e.rXU(I,8),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(x.FN),e.rXU(D.zP),e.rXU(e.bc$,8),e.rXU(V,8),e.kS0("tabindex"))}}static{this.\u0275cmp=e.VBU({type:J,selectors:[["mat-radio-button"]],viewQuery:function(fe,ne){if(1&fe&&(e.GBs(f,5),e.GBs(R,7,e.aKT)),2&fe){let Me;e.mGM(Me=e.lsd())&&(ne._inputElement=Me.first),e.mGM(Me=e.lsd())&&(ne._rippleTrigger=Me.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(fe,ne){1&fe&&e.bIt("focus",function(){return ne._inputElement.nativeElement.focus()}),2&fe&&(e.BMQ("id",ne.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.AVh("mat-primary","primary"===ne.color)("mat-accent","accent"===ne.color)("mat-warn","warn"===ne.color)("mat-mdc-radio-checked",ne.checked)("_mat-animation-noopable",ne._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",ee=>null==ee?0:(0,e.Udg)(ee)],checked:[2,"checked","checked",e.L39],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",e.L39],required:[2,"required","required",e.L39],color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[e.GFd,e.aNF],ngContentSelectors:h,decls:13,vars:16,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[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(fe,ne){if(1&fe){const Me=e.RV6();e.NAR(),e.j41(0,"div",2,0)(2,"div",3)(3,"div",4),e.bIt("click",function(le){return e.eBV(Me),e.Njj(ne._onTouchTargetClick(le))}),e.k0s(),e.j41(4,"input",5,1),e.bIt("change",function(le){return e.eBV(Me),e.Njj(ne._onInputInteraction(le))}),e.k0s(),e.j41(6,"div",6),e.nrm(7,"div",7)(8,"div",8),e.k0s(),e.j41(9,"div",9),e.nrm(10,"div",10),e.k0s()(),e.j41(11,"label",11),e.SdG(12),e.k0s()()}2&fe&&(e.Y8G("labelPosition",ne.labelPosition),e.R7$(2),e.AVh("mdc-radio--disabled",ne.disabled),e.R7$(2),e.Y8G("id",ne.inputId)("checked",ne.checked)("disabled",ne.disabled)("required",ne.required),e.BMQ("name",ne.name)("value",ne.value)("aria-label",ne.ariaLabel)("aria-labelledby",ne.ariaLabelledby)("aria-describedby",ne.ariaDescribedby),e.R7$(5),e.Y8G("matRippleTrigger",ne._rippleTrigger.nativeElement)("matRippleDisabled",ne._isRippleDisabled())("matRippleCentered",!0),e.R7$(2),e.Y8G("for",ne.inputId))},dependencies:[t.r6,t.tO],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)}.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%);display:var(--mat-radio-touch-target-display)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}}return J})(),Q=(()=>{class J{static{this.\u0275fac=function(fe){return new(fe||J)}}static{this.\u0275mod=e.$C({type:J})}static{this.\u0275inj=e.G2t({imports:[t.yE,w.MD,t.pZ,W,t.yE]})}}return J})()},2798:(Qe,te,g)=>{"use strict";g.d(te,{$2:()=>We,JO:()=>N,VO:()=>Xe,Ve:()=>oe});var e=g(6969),t=g(177),x=g(4438),D=g(6600),l=g(6467),w=g(5542),f=g(8617),R=g(8203),h=g(5024),S=g(7336),y=g(9417),O=g(1413),I=g(9030),V=g(7786),j=g(9172),Y=g(5558),W=g(5964),Q=g(6354),J=g(3294),ie=g(6977),ee=g(6697),fe=g(9969);const ne=["trigger"],Me=["panel"],Ce=[[["mat-select-trigger"]],"*"],le=["mat-select-trigger","*"];function T(X,se){if(1&X&&(x.j41(0,"span",4),x.EFF(1),x.k0s()),2&X){const ae=x.XpG();x.R7$(),x.JRh(ae.placeholder)}}function n(X,se){1&X&&x.SdG(0)}function c(X,se){if(1&X&&(x.j41(0,"span",11),x.EFF(1),x.k0s()),2&X){const ae=x.XpG(2);x.R7$(),x.JRh(ae.triggerValue)}}function m(X,se){if(1&X&&(x.j41(0,"span",5),x.DNE(1,n,1,0)(2,c,2,1,"span",11),x.k0s()),2&X){const ae=x.XpG();x.R7$(),x.vxM(ae.customTrigger?1:2)}}function d(X,se){if(1&X){const ae=x.RV6();x.j41(0,"div",12,1),x.bIt("@transformPanel.done",function(Ie){x.eBV(ae);const st=x.XpG();return x.Njj(st._panelDoneAnimatingStream.next(Ie.toState))})("keydown",function(Ie){x.eBV(ae);const st=x.XpG();return x.Njj(st._handleKeydown(Ie))}),x.SdG(2,1),x.k0s()}if(2&X){const ae=x.XpG();x.ZvI("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",ae._getPanelTheme(),""),x.Y8G("ngClass",ae.panelClass)("@transformPanel","showing"),x.BMQ("id",ae.id+"-panel")("aria-multiselectable",ae.multiple)("aria-label",ae.ariaLabel||null)("aria-labelledby",ae._getPanelAriaLabelledby())}}const C={transformPanelWrap:(0,fe.hZ)("transformPanelWrap",[(0,fe.kY)("* => void",(0,fe.P)("@transformPanel",[(0,fe.MA)()],{optional:!0}))]),transformPanel:(0,fe.hZ)("transformPanel",[(0,fe.wk)("void",(0,fe.iF)({opacity:0,transform:"scale(1, 0.8)"})),(0,fe.kY)("void => showing",(0,fe.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,fe.iF)({opacity:1,transform:"scale(1, 1)"}))),(0,fe.kY)("* => void",(0,fe.i0)("100ms linear",(0,fe.iF)({opacity:0})))])};let a=0;const b=new x.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const X=(0,x.WQX)(e.hJ);return()=>X.scrollStrategies.reposition()}}),N=new x.nKC("MAT_SELECT_CONFIG"),q={provide:b,deps:[e.hJ],useFactory:function z(X){return()=>X.scrollStrategies.reposition()}},pe=new x.nKC("MatSelectTrigger");class ze{constructor(se,ae){this.source=se,this.value=ae}}let Xe=(()=>{class X{_scrollOptionIntoView(ae){const he=this.options.toArray()[ae];if(he){const Ie=this.panel.nativeElement,st=(0,D.jb)(ae,this.options,this.optionGroups),me=he._getHostElement();Ie.scrollTop=0===ae&&1===st?0:(0,D.TL)(me.offsetTop,me.offsetHeight,Ie.scrollTop,Ie.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(ae){return new ze(this,ae)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(ae){this._hideSingleSelectionIndicator=ae,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(ae){this._placeholder=ae,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(y.k0.required)??!1}set required(ae){this._required=ae,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(ae){this._multiple=ae}get compareWith(){return this._compareWith}set compareWith(ae){this._compareWith=ae,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(ae){this._assignValue(ae)&&this._onChange(ae)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(ae){this._errorStateTracker.matcher=ae}get id(){return this._id}set id(ae){this._id=ae||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(ae){this._errorStateTracker.errorState=ae}constructor(ae,he,Ie,st,me,Ee,ue,Be,Ct,ct,dt,Yt,ve,_e){this._viewportRuler=ae,this._changeDetectorRef=he,this._elementRef=me,this._dir=Ee,this._parentFormField=Ct,this.ngControl=ct,this._liveAnnouncer=ve,this._defaultOptions=_e,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=(we,Ue)=>we===Ue,this._uid="mat-select-"+a++,this._triggerAriaLabelledBy=null,this._destroy=new O.B,this.stateChanges=new O.B,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+a++,this._panelDoneAnimatingStream=new O.B,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,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._initialized=new O.B,this.optionSelectionChanges=(0,I.v)(()=>{const we=this.options;return we?we.changes.pipe((0,j.Z)(we),(0,Y.n)(()=>(0,V.h)(...we.map(Ue=>Ue.onSelectionChange)))):this._initialized.pipe((0,Y.n)(()=>this.optionSelectionChanges))}),this.openedChange=new x.bkB,this._openedStream=this.openedChange.pipe((0,W.p)(we=>we),(0,Q.T)(()=>{})),this._closedStream=this.openedChange.pipe((0,W.p)(we=>!we),(0,Q.T)(()=>{})),this.selectionChange=new x.bkB,this.valueChange=new x.bkB,this._trackedModal=null,this._skipPredicate=we=>!this.panelOpen&&we.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=_e?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=_e.typeaheadDebounceInterval),this._errorStateTracker=new D.X0(st,ct,Be,ue,this.stateChanges),this._scrollStrategyFactory=Yt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(dt)||0,this.id=this.id}ngOnInit(){this._selectionModel=new h.CB(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,J.F)(),(0,ie.Q)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,ie.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,ie.Q)(this._destroy)).subscribe(ae=>{ae.added.forEach(he=>he.select()),ae.removed.forEach(he=>he.deselect())}),this.options.changes.pipe((0,j.Z)(null),(0,ie.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const ae=this._getTriggerAriaLabelledby(),he=this.ngControl;if(ae!==this._triggerAriaLabelledBy){const Ie=this._elementRef.nativeElement;this._triggerAriaLabelledBy=ae,ae?Ie.setAttribute("aria-labelledby",ae):Ie.removeAttribute("aria-labelledby")}he&&(this._previousControl!==he.control&&(void 0!==this._previousControl&&null!==he.disabled&&he.disabled!==this.disabled&&(this.disabled=he.disabled),this._previousControl=he.control),this.updateErrorState())}ngOnChanges(ae){(ae.disabled||ae.userAriaDescribedBy)&&this.stateChanges.next(),ae.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const ae=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!ae)return;const he=`${this.id}-panel`;this._trackedModal&&(0,f.Ae)(this._trackedModal,"aria-owns",he),(0,f.px)(ae,"aria-owns",he),this._trackedModal=ae}_clearFromModal(){this._trackedModal&&((0,f.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(ae){this._assignValue(ae)}registerOnChange(ae){this._onChange=ae}registerOnTouched(ae){this._onTouched=ae}setDisabledState(ae){this.disabled=ae,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const ae=this._selectionModel.selected.map(he=>he.viewValue);return this._isRtl()&&ae.reverse(),ae.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(ae){this.disabled||(this.panelOpen?this._handleOpenKeydown(ae):this._handleClosedKeydown(ae))}_handleClosedKeydown(ae){const he=ae.keyCode,Ie=he===S.n6||he===S.i7||he===S.UQ||he===S.LE,st=he===S.Fm||he===S.t6,me=this._keyManager;if(!me.isTyping()&&st&&!(0,S.rp)(ae)||(this.multiple||ae.altKey)&&Ie)ae.preventDefault(),this.open();else if(!this.multiple){const Ee=this.selected;me.onKeydown(ae);const ue=this.selected;ue&&Ee!==ue&&this._liveAnnouncer.announce(ue.viewValue,1e4)}}_handleOpenKeydown(ae){const he=this._keyManager,Ie=ae.keyCode,st=Ie===S.n6||Ie===S.i7,me=he.isTyping();if(st&&ae.altKey)ae.preventDefault(),this.close();else if(me||Ie!==S.Fm&&Ie!==S.t6||!he.activeItem||(0,S.rp)(ae))if(!me&&this._multiple&&Ie===S.A&&ae.ctrlKey){ae.preventDefault();const Ee=this.options.some(ue=>!ue.disabled&&!ue.selected);this.options.forEach(ue=>{ue.disabled||(Ee?ue.select():ue.deselect())})}else{const Ee=he.activeItemIndex;he.onKeydown(ae),this._multiple&&st&&ae.shiftKey&&he.activeItem&&he.activeItemIndex!==Ee&&he.activeItem._selectViaInteraction()}else ae.preventDefault(),he.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,ee.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(ae){if(this.options.forEach(he=>he.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&ae)Array.isArray(ae),ae.forEach(he=>this._selectOptionByValue(he)),this._sortValues();else{const he=this._selectOptionByValue(ae);he?this._keyManager.updateActiveItem(he):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(ae){const he=this.options.find(Ie=>{if(this._selectionModel.isSelected(Ie))return!1;try{return null!=Ie.value&&this._compareWith(Ie.value,ae)}catch{return!1}});return he&&this._selectionModel.select(he),he}_assignValue(ae){return!!(ae!==this._value||this._multiple&&Array.isArray(ae))&&(this.options&&this._setSelectionByValue(ae),this._value=ae,!0)}_getOverlayWidth(ae){return"auto"===this.panelWidth?(ae instanceof e.$Q?ae.elementRef:ae||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const ae of this.options)ae._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new f.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 ae=(0,V.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ie.Q)(ae)).subscribe(he=>{this._onSelect(he.source,he.isUserInput),he.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,V.h)(...this.options.map(he=>he._stateChanges)).pipe((0,ie.Q)(ae)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(ae,he){const Ie=this._selectionModel.isSelected(ae);null!=ae.value||this._multiple?(Ie!==ae.selected&&(ae.selected?this._selectionModel.select(ae):this._selectionModel.deselect(ae)),he&&this._keyManager.setActiveItem(ae),this.multiple&&(this._sortValues(),he&&this.focus())):(ae.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(ae.value)),Ie!==this._selectionModel.isSelected(ae)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const ae=this.options.toArray();this._selectionModel.sort((he,Ie)=>this.sortComparator?this.sortComparator(he,Ie,ae):ae.indexOf(he)-ae.indexOf(Ie)),this.stateChanges.next()}}_propagateChanges(ae){let he;he=this.multiple?this.selected.map(Ie=>Ie.value):this.selected?this.selected.value:ae,this._value=he,this.valueChange.emit(he),this._onChange(he),this.selectionChange.emit(this._getChangeEvent(he)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let ae=-1;for(let he=0;he0}focus(ae){this._elementRef.nativeElement.focus(ae)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const ae=this._parentFormField?.getLabelId();return this.ariaLabelledby?(ae?ae+" ":"")+this.ariaLabelledby:ae}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const ae=this._parentFormField?.getLabelId();let he=(ae?ae+" ":"")+this._valueId;return this.ariaLabelledby&&(he+=" "+this.ariaLabelledby),he}_panelDoneAnimating(ae){this.openedChange.emit(ae)}setDescribedByIds(ae){ae.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ae.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(he){return new(he||X)(x.rXU(w.Xj),x.rXU(x.gRc),x.rXU(x.SKi),x.rXU(D.es),x.rXU(x.aKT),x.rXU(R.dS,8),x.rXU(y.cV,8),x.rXU(y.j4,8),x.rXU(l.xb,8),x.rXU(y.vO,10),x.kS0("tabindex"),x.rXU(b),x.rXU(f.Ai),x.rXU(N,8))}}static{this.\u0275cmp=x.VBU({type:X,selectors:[["mat-select"]],contentQueries:function(he,Ie,st){if(1&he&&(x.wni(st,pe,5),x.wni(st,D.wT,5),x.wni(st,D.QC,5)),2&he){let me;x.mGM(me=x.lsd())&&(Ie.customTrigger=me.first),x.mGM(me=x.lsd())&&(Ie.options=me),x.mGM(me=x.lsd())&&(Ie.optionGroups=me)}},viewQuery:function(he,Ie){if(1&he&&(x.GBs(ne,5),x.GBs(Me,5),x.GBs(e.WB,5)),2&he){let st;x.mGM(st=x.lsd())&&(Ie.trigger=st.first),x.mGM(st=x.lsd())&&(Ie.panel=st.first),x.mGM(st=x.lsd())&&(Ie._overlayDir=st.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(he,Ie){1&he&&x.bIt("keydown",function(me){return Ie._handleKeydown(me)})("focus",function(){return Ie._onFocus()})("blur",function(){return Ie._onBlur()}),2&he&&(x.BMQ("id",Ie.id)("tabindex",Ie.disabled?-1:Ie.tabIndex)("aria-controls",Ie.panelOpen?Ie.id+"-panel":null)("aria-expanded",Ie.panelOpen)("aria-label",Ie.ariaLabel||null)("aria-required",Ie.required.toString())("aria-disabled",Ie.disabled.toString())("aria-invalid",Ie.errorState)("aria-activedescendant",Ie._getAriaActiveDescendant()),x.AVh("mat-mdc-select-disabled",Ie.disabled)("mat-mdc-select-invalid",Ie.errorState)("mat-mdc-select-required",Ie.required)("mat-mdc-select-empty",Ie.empty)("mat-mdc-select-multiple",Ie.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",x.L39],disableRipple:[2,"disableRipple","disableRipple",x.L39],tabIndex:[2,"tabIndex","tabIndex",ae=>null==ae?0:(0,x.Udg)(ae)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",x.L39],placeholder:"placeholder",required:[2,"required","required",x.L39],multiple:[2,"multiple","multiple",x.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",x.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",x.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[x.Jv_([{provide:l.qT,useExisting:X},{provide:D.is,useExisting:X}]),x.GFd,x.OA$,x.aNF],ngContentSelectors:le,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(he,Ie){if(1&he){const st=x.RV6();x.NAR(Ce),x.j41(0,"div",2,0),x.bIt("click",function(){return x.eBV(st),x.Njj(Ie.open())}),x.j41(3,"div",3),x.DNE(4,T,2,1,"span",4)(5,m,3,1,"span",5),x.k0s(),x.j41(6,"div",6)(7,"div",7),x.qSk(),x.j41(8,"svg",8),x.nrm(9,"path",9),x.k0s()()()(),x.DNE(10,d,3,9,"ng-template",10),x.bIt("backdropClick",function(){return x.eBV(st),x.Njj(Ie.close())})("attach",function(){return x.eBV(st),x.Njj(Ie._onAttached())})("detach",function(){return x.eBV(st),x.Njj(Ie.close())})}if(2&he){const st=x.sdS(1);x.R7$(3),x.BMQ("id",Ie._valueId),x.R7$(),x.vxM(Ie.empty?4:5),x.R7$(6),x.Y8G("cdkConnectedOverlayPanelClass",Ie._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Ie._scrollStrategy)("cdkConnectedOverlayOrigin",Ie._preferredOverlayOrigin||st)("cdkConnectedOverlayOpen",Ie.panelOpen)("cdkConnectedOverlayPositions",Ie._positions)("cdkConnectedOverlayWidth",Ie._overlayWidth)}},dependencies:[e.$Q,e.WB,t.YU],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)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.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 .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.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-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{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}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.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}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[C.transformPanel]},changeDetection:0})}}return X})(),We=(()=>{class X{static{this.\u0275fac=function(he){return new(he||X)}}static{this.\u0275dir=x.FsC({type:X,selectors:[["mat-select-trigger"]],standalone:!0,features:[x.Jv_([{provide:pe,useExisting:X}])]})}}return X})(),oe=(()=>{class X{static{this.\u0275fac=function(he){return new(he||X)}}static{this.\u0275mod=x.$C({type:X})}static{this.\u0275inj=x.G2t({providers:[q],imports:[t.MD,e.z_,D.Sy,D.yE,w.Gj,l.RG,D.Sy,D.yE]})}}return X})()},882:(Qe,te,g)=>{"use strict";g.d(te,{El:()=>pe,LG:()=>ze,US:()=>Xe,vg:()=>We});var e=g(5542),t=g(4438),x=g(6600),D=g(8617),l=g(8203),w=g(4085),f=g(7336),R=g(6860),h=g(177),S=g(1413),y=g(3726),O=g(7786),I=g(5964),V=g(6354),j=g(3703),Y=g(6977),W=g(3294),Q=g(6697),J=g(9172),ie=g(152),ee=g(9969);const fe=["*"],ne=["content"],Me=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Ce=["mat-drawer","mat-drawer-content","*"];function le(oe,X){if(1&oe){const se=t.RV6();t.j41(0,"div",1),t.bIt("click",function(){t.eBV(se);const he=t.XpG();return t.Njj(he._onBackdropClicked())}),t.k0s()}if(2&oe){const se=t.XpG();t.AVh("mat-drawer-shown",se._isShowingBackdrop())}}function T(oe,X){1&oe&&(t.j41(0,"mat-drawer-content"),t.SdG(1,2),t.k0s())}const n=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],c=["mat-sidenav","mat-sidenav-content","*"];function m(oe,X){if(1&oe){const se=t.RV6();t.j41(0,"div",1),t.bIt("click",function(){t.eBV(se);const he=t.XpG();return t.Njj(he._onBackdropClicked())}),t.k0s()}if(2&oe){const se=t.XpG();t.AVh("mat-drawer-shown",se._isShowingBackdrop())}}function d(oe,X){1&oe&&(t.j41(0,"mat-sidenav-content"),t.SdG(1,2),t.k0s())}const A={transformDrawer:(0,ee.hZ)("transform",[(0,ee.wk)("open, open-instant",(0,ee.iF)({transform:"none",visibility:"visible"})),(0,ee.wk)("void",(0,ee.iF)({"box-shadow":"none",visibility:"hidden"})),(0,ee.kY)("void => open-instant",(0,ee.i0)("0ms")),(0,ee.kY)("void <=> open, open-instant => void",(0,ee.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},_=new t.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function b(){return!1}}),a=new t.nKC("MAT_DRAWER_CONTAINER");let z=(()=>{class oe extends e.uv{constructor(se,ae,he,Ie,st){super(he,Ie,st),this._changeDetectorRef=se,this._container=ae}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(ae){return new(ae||oe)(t.rXU(t.gRc),t.rXU((0,t.Rfq)(()=>q)),t.rXU(t.aKT),t.rXU(e.R),t.rXU(t.SKi))}}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(ae,he){2&ae&&t.xc7("margin-left",he._container._contentMargins.left,"px")("margin-right",he._container._contentMargins.right,"px")},standalone:!0,features:[t.Jv_([{provide:e.uv,useExisting:oe}]),t.Vt3,t.aNF],ngContentSelectors:fe,decls:1,vars:0,template:function(ae,he){1&ae&&(t.NAR(),t.SdG(0))},encapsulation:2,changeDetection:0})}}return oe})(),N=(()=>{class oe{get position(){return this._position}set position(se){(se="end"===se?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(se),this._position=se,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(se){this._mode=se,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(se){this._disableClose=(0,w.he)(se)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(se){("true"===se||"false"===se||null==se)&&(se=(0,w.he)(se)),this._autoFocus=se}get opened(){return this._opened}set opened(se){this.toggle((0,w.he)(se))}constructor(se,ae,he,Ie,st,me,Ee,ue){this._elementRef=se,this._focusTrapFactory=ae,this._focusMonitor=he,this._platform=Ie,this._ngZone=st,this._interactivityChecker=me,this._doc=Ee,this._container=ue,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new S.B,this._animationEnd=new S.B,this._animationState="void",this.openedChange=new t.bkB(!0),this._openedStream=this.openedChange.pipe((0,I.p)(Be=>Be),(0,V.T)(()=>{})),this.openedStart=this._animationStarted.pipe((0,I.p)(Be=>Be.fromState!==Be.toState&&0===Be.toState.indexOf("open")),(0,j.u)(void 0)),this._closedStream=this.openedChange.pipe((0,I.p)(Be=>!Be),(0,V.T)(()=>{})),this.closedStart=this._animationStarted.pipe((0,I.p)(Be=>Be.fromState!==Be.toState&&"void"===Be.toState),(0,j.u)(void 0)),this._destroyed=new S.B,this.onPositionChanged=new t.bkB,this._modeChanged=new S.B,this.openedChange.subscribe(Be=>{Be?(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,I.p)(Be=>Be.keyCode===f._f&&!this.disableClose&&!(0,f.rp)(Be)),(0,Y.Q)(this._destroyed)).subscribe(Be=>this._ngZone.run(()=>{this.close(),Be.stopPropagation(),Be.preventDefault()}))}),this._animationEnd.pipe((0,W.F)((Be,Ct)=>Be.fromState===Ct.fromState&&Be.toState===Ct.toState)).subscribe(Be=>{const{fromState:Ct,toState:ct}=Be;(0===ct.indexOf("open")&&"void"===Ct||"void"===ct&&0===Ct.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(se,ae){this._interactivityChecker.isFocusable(se)||(se.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const he=()=>{se.removeEventListener("blur",he),se.removeEventListener("mousedown",he),se.removeAttribute("tabindex")};se.addEventListener("blur",he),se.addEventListener("mousedown",he)})),se.focus(ae)}_focusByCssSelector(se,ae){let he=this._elementRef.nativeElement.querySelector(se);he&&this._forceFocus(he,ae)}_takeFocus(){if(!this._focusTrap)return;const se=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ae=>{!ae&&"function"==typeof this._elementRef.nativeElement.focus&&se.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(se){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,se):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const se=this._doc.activeElement;return!!se&&this._elementRef.nativeElement.contains(se)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){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(se){return this.toggle(!0,se)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(se=!this.opened,ae){se&&ae&&(this._openedVia=ae);const he=this._setOpen(se,!se&&this._isFocusWithinDrawer(),this._openedVia||"program");return se||(this._openedVia=null),he}_setOpen(se,ae,he){return this._opened=se,se?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",ae&&this._restoreFocus(he)),this._updateFocusTrapState(),new Promise(Ie=>{this.openedChange.pipe((0,Q.s)(1)).subscribe(st=>Ie(st?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(se){if(!this._platform.isBrowser)return;const ae=this._elementRef.nativeElement,he=ae.parentNode;"end"===se?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),he.insertBefore(this._anchor,ae)),he.appendChild(ae)):this._anchor&&this._anchor.parentNode.insertBefore(ae,this._anchor)}static{this.\u0275fac=function(ae){return new(ae||oe)(t.rXU(t.aKT),t.rXU(D.GX),t.rXU(D.FN),t.rXU(R.OD),t.rXU(t.SKi),t.rXU(D.Z7),t.rXU(h.qQ,8),t.rXU(a,8))}}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-drawer"]],viewQuery:function(ae,he){if(1&ae&&t.GBs(ne,5),2&ae){let Ie;t.mGM(Ie=t.lsd())&&(he._content=Ie.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(ae,he){1&ae&&t.Kam("@transform.start",function(st){return he._animationStarted.next(st)})("@transform.done",function(st){return he._animationEnd.next(st)}),2&ae&&(t.zvX("@transform",he._animationState),t.BMQ("align",null),t.AVh("mat-drawer-end","end"===he.position)("mat-drawer-over","over"===he.mode)("mat-drawer-push","push"===he.mode)("mat-drawer-side","side"===he.mode)("mat-drawer-opened",he.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"],standalone:!0,features:[t.aNF],ngContentSelectors:fe,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(ae,he){1&ae&&(t.NAR(),t.j41(0,"div",1,0),t.SdG(2),t.k0s())},dependencies:[e.uv],encapsulation:2,data:{animation:[A.transformDrawer]},changeDetection:0})}}return oe})(),q=(()=>{class oe{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(se){this._autosize=(0,w.he)(se)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(se){this._backdropOverride=null==se?null:(0,w.he)(se)}get scrollable(){return this._userContent||this._content}constructor(se,ae,he,Ie,st,me=!1,Ee){this._dir=se,this._element=ae,this._ngZone=he,this._changeDetectorRef=Ie,this._animationMode=Ee,this._drawers=new t.rOR,this.backdropClick=new t.bkB,this._destroyed=new S.B,this._doCheckSubject=new S.B,this._contentMargins={left:null,right:null},this._contentMarginChanges=new S.B,se&&se.change.pipe((0,Y.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),st.change().pipe((0,Y.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=me}ngAfterContentInit(){this._allDrawers.changes.pipe((0,J.Z)(this._allDrawers),(0,Y.Q)(this._destroyed)).subscribe(se=>{this._drawers.reset(se.filter(ae=>!ae._container||ae._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,J.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(se=>{this._watchDrawerToggle(se),this._watchDrawerPosition(se),this._watchDrawerMode(se)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,ie.B)(10),(0,Y.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(se=>se.open())}close(){this._drawers.forEach(se=>se.close())}updateContentMargins(){let se=0,ae=0;if(this._left&&this._left.opened)if("side"==this._left.mode)se+=this._left._getWidth();else if("push"==this._left.mode){const he=this._left._getWidth();se+=he,ae-=he}if(this._right&&this._right.opened)if("side"==this._right.mode)ae+=this._right._getWidth();else if("push"==this._right.mode){const he=this._right._getWidth();ae+=he,se-=he}se=se||null,ae=ae||null,(se!==this._contentMargins.left||ae!==this._contentMargins.right)&&(this._contentMargins={left:se,right:ae},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(se){se._animationStarted.pipe((0,I.p)(ae=>ae.fromState!==ae.toState),(0,Y.Q)(this._drawers.changes)).subscribe(ae=>{"open-instant"!==ae.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==se.mode&&se.openedChange.pipe((0,Y.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(se.opened))}_watchDrawerPosition(se){se&&se.onPositionChanged.pipe((0,Y.Q)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Q.s)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(se){se&&se._modeChanged.pipe((0,Y.Q)((0,O.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(se){const ae=this._element.nativeElement.classList,he="mat-drawer-container-has-open";se?ae.add(he):ae.remove(he)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(se=>{"end"==se.position?this._end=se:this._start=se}),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(se=>se&&!se.disableClose&&this._drawerHasBackdrop(se)).forEach(se=>se._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(se){return null!=se&&se.opened}_drawerHasBackdrop(se){return null==this._backdropOverride?!!se&&"side"!==se.mode:this._backdropOverride}static{this.\u0275fac=function(ae){return new(ae||oe)(t.rXU(l.dS,8),t.rXU(t.aKT),t.rXU(t.SKi),t.rXU(t.gRc),t.rXU(e.Xj),t.rXU(_),t.rXU(t.bc$,8))}}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-drawer-container"]],contentQueries:function(ae,he,Ie){if(1&ae&&(t.wni(Ie,z,5),t.wni(Ie,N,5)),2&ae){let st;t.mGM(st=t.lsd())&&(he._content=st.first),t.mGM(st=t.lsd())&&(he._allDrawers=st)}},viewQuery:function(ae,he){if(1&ae&&t.GBs(z,5),2&ae){let Ie;t.mGM(Ie=t.lsd())&&(he._userContent=Ie.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(ae,he){2&ae&&t.AVh("mat-drawer-container-explicit-backdrop",he._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[t.Jv_([{provide:a,useExisting:oe}]),t.aNF],ngContentSelectors:Ce,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ae,he){1&ae&&(t.NAR(Me),t.DNE(0,le,1,2,"div",0),t.SdG(1),t.SdG(2,1),t.DNE(3,T,2,0,"mat-drawer-content")),2&ae&&(t.vxM(he.hasBackdrop?0:-1),t.R7$(3),t.vxM(he._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{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);box-shadow:var(--mat-sidenav-container-elevation-shadow);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);width:var(--mat-sidenav-container-width);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 oe})(),pe=(()=>{class oe extends z{constructor(se,ae,he,Ie,st){super(se,ae,he,Ie,st)}static{this.\u0275fac=function(ae){return new(ae||oe)(t.rXU(t.gRc),t.rXU((0,t.Rfq)(()=>Xe)),t.rXU(t.aKT),t.rXU(e.R),t.rXU(t.SKi))}}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(ae,he){2&ae&&t.xc7("margin-left",he._container._contentMargins.left,"px")("margin-right",he._container._contentMargins.right,"px")},standalone:!0,features:[t.Jv_([{provide:e.uv,useExisting:oe}]),t.Vt3,t.aNF],ngContentSelectors:fe,decls:1,vars:0,template:function(ae,he){1&ae&&(t.NAR(),t.SdG(0))},encapsulation:2,changeDetection:0})}}return oe})(),ze=(()=>{class oe extends N{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(se){this._fixedInViewport=(0,w.he)(se)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(se){this._fixedTopGap=(0,w.OE)(se)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(se){this._fixedBottomGap=(0,w.OE)(se)}static{this.\u0275fac=(()=>{let se;return function(he){return(se||(se=t.xGo(oe)))(he||oe)}})()}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(ae,he){2&ae&&(t.BMQ("align",null),t.xc7("top",he.fixedInViewport?he.fixedTopGap:null,"px")("bottom",he.fixedInViewport?he.fixedBottomGap:null,"px"),t.AVh("mat-drawer-end","end"===he.position)("mat-drawer-over","over"===he.mode)("mat-drawer-push","push"===he.mode)("mat-drawer-side","side"===he.mode)("mat-drawer-opened",he.opened)("mat-sidenav-fixed",he.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],standalone:!0,features:[t.Vt3,t.aNF],ngContentSelectors:fe,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(ae,he){1&ae&&(t.NAR(),t.j41(0,"div",1,0),t.SdG(2),t.k0s())},dependencies:[e.uv],encapsulation:2,data:{animation:[A.transformDrawer]},changeDetection:0})}}return oe})(),Xe=(()=>{class oe extends q{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static{this.\u0275fac=(()=>{let se;return function(he){return(se||(se=t.xGo(oe)))(he||oe)}})()}static{this.\u0275cmp=t.VBU({type:oe,selectors:[["mat-sidenav-container"]],contentQueries:function(ae,he,Ie){if(1&ae&&(t.wni(Ie,pe,5),t.wni(Ie,ze,5)),2&ae){let st;t.mGM(st=t.lsd())&&(he._content=st.first),t.mGM(st=t.lsd())&&(he._allDrawers=st)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(ae,he){2&ae&&t.AVh("mat-drawer-container-explicit-backdrop",he._backdropOverride)},exportAs:["matSidenavContainer"],standalone:!0,features:[t.Jv_([{provide:a,useExisting:oe}]),t.Vt3,t.aNF],ngContentSelectors:c,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ae,he){1&ae&&(t.NAR(n),t.DNE(0,m,1,2,"div",0),t.SdG(1),t.SdG(2,1),t.DNE(3,d,2,0,"mat-sidenav-content")),2&ae&&(t.vxM(he.hasBackdrop?0:-1),t.R7$(3),t.vxM(he._content?-1:3))},dependencies:[pe],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{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);box-shadow:var(--mat-sidenav-container-elevation-shadow);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);width:var(--mat-sidenav-container-width);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 oe})(),We=(()=>{class oe{static{this.\u0275fac=function(ae){return new(ae||oe)}}static{this.\u0275mod=t.$C({type:oe})}static{this.\u0275inj=t.G2t({imports:[x.yE,e.Gj,e.Gj,x.yE]})}}return oe})()},450:(Qe,te,g)=>{"use strict";g.d(te,{mV:()=>Y,sG:()=>O});var e=g(4438),t=g(9417),x=g(8617),D=g(6600);const l=["switch"],w=["*"];function f(W,Q){1&W&&(e.j41(0,"div",10),e.qSk(),e.j41(1,"svg",12),e.nrm(2,"path",13),e.k0s(),e.j41(3,"svg",14),e.nrm(4,"path",15),e.k0s()())}const R=new e.nKC("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),h={provide:t.kq,useExisting:(0,e.Rfq)(()=>O),multi:!0};class S{constructor(Q,J){this.source=Q,this.checked=J}}let y=0,O=(()=>{class W{_createChangeEvent(J){return new S(this,J)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(J){this._checked=J,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(J,ie,ee,fe,ne,Me){this._elementRef=J,this._focusMonitor=ie,this._changeDetectorRef=ee,this.defaults=ne,this._onChange=Ce=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new e.bkB,this.toggleChange=new e.bkB,this.tabIndex=parseInt(fe)||0,this.color=ne.color||"accent",this._noopAnimations="NoopAnimations"===Me,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++y,this.hideIcon=ne.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(J=>{"keyboard"===J||"program"===J?(this._focused=!0,this._changeDetectorRef.markForCheck()):J||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(J){J.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(J){this.checked=!!J}registerOnChange(J){this._onChange=J}registerOnTouched(J){this._onTouched=J}validate(J){return this.required&&!0!==J.value?{required:!0}:null}registerOnValidatorChange(J){this._validatorOnChange=J}setDisabledState(J){this.disabled=J,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 S(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static{this.\u0275fac=function(ie){return new(ie||W)(e.rXU(e.aKT),e.rXU(x.FN),e.rXU(e.gRc),e.kS0("tabindex"),e.rXU(R),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:W,selectors:[["mat-slide-toggle"]],viewQuery:function(ie,ee){if(1&ie&&e.GBs(l,5),2&ie){let fe;e.mGM(fe=e.lsd())&&(ee._switchElement=fe.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(ie,ee){2&ie&&(e.Mr5("id",ee.id),e.BMQ("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.HbH(ee.color?"mat-"+ee.color:""),e.AVh("mat-mdc-slide-toggle-focused",ee._focused)("mat-mdc-slide-toggle-checked",ee.checked)("_mat-animation-noopable",ee._noopAnimations))},inputs:{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",e.L39],color:"color",disabled:[2,"disabled","disabled",e.L39],disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",J=>null==J?0:(0,e.Udg)(J)],checked:[2,"checked","checked",e.L39],hideIcon:[2,"hideIcon","hideIcon",e.L39]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[e.Jv_([h,{provide:t.cz,useExisting:W,multi:!0}]),e.GFd,e.OA$,e.aNF],ngContentSelectors:w,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["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(ie,ee){if(1&ie){const fe=e.RV6();e.NAR(),e.j41(0,"div",1)(1,"button",2,0),e.bIt("click",function(){return e.eBV(fe),e.Njj(ee._handleClick())}),e.nrm(3,"div",3),e.j41(4,"div",4)(5,"div",5)(6,"div",6),e.nrm(7,"div",7),e.k0s(),e.j41(8,"div",8),e.nrm(9,"div",9),e.k0s(),e.DNE(10,f,5,0,"div",10),e.k0s()()(),e.j41(11,"label",11),e.bIt("click",function(Me){return e.eBV(fe),e.Njj(Me.stopPropagation())}),e.SdG(12),e.k0s()()}if(2&ie){const fe=e.sdS(2);e.Y8G("labelPosition",ee.labelPosition),e.R7$(),e.AVh("mdc-switch--selected",ee.checked)("mdc-switch--unselected",!ee.checked)("mdc-switch--checked",ee.checked)("mdc-switch--disabled",ee.disabled),e.Y8G("tabIndex",ee.disabled?-1:ee.tabIndex)("disabled",ee.disabled),e.BMQ("id",ee.buttonId)("name",ee.name)("aria-label",ee.ariaLabel)("aria-labelledby",ee._getAriaLabelledBy())("aria-describedby",ee.ariaDescribedby)("aria-required",ee.required||null)("aria-checked",ee.checked),e.R7$(8),e.Y8G("matRippleTrigger",fe)("matRippleDisabled",ee.disableRipple||ee.disabled)("matRippleCentered",!0),e.R7$(),e.vxM(ee.hideIcon?-1:10),e.R7$(),e.Y8G("for",ee.buttonId),e.BMQ("id",ee._labelId)}},dependencies:[D.r6,D.tO],styles:['.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)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.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 .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{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}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0})}}return W})(),Y=(()=>{class W{static{this.\u0275fac=function(ie){return new(ie||W)}}static{this.\u0275mod=e.$C({type:W})}static{this.\u0275inj=e.G2t({imports:[O,D.yE,D.yE]})}}return W})()},5416:(Qe,te,g)=>{"use strict";g.d(te,{UG:()=>c,_T:()=>d,x6:()=>n});var e=g(4438),t=g(8834),x=g(1413),D=g(177),l=g(9969),w=g(6939),f=g(6860),R=g(8617),h=g(9327),S=g(6969),y=g(6977),O=g(6600);function I(C,A){if(1&C){const k=e.RV6();e.j41(0,"div",1)(1,"button",2),e.bIt("click",function(){e.eBV(k);const a=e.XpG();return e.Njj(a.action())}),e.EFF(2),e.k0s()()}if(2&C){const k=e.XpG();e.R7$(2),e.SpI(" ",k.data.action," ")}}const V=["label"];function j(C,A){}const Y=Math.pow(2,31)-1;class W{constructor(A,k){this._overlayRef=k,this._afterDismissed=new x.B,this._afterOpened=new x.B,this._onAction=new x.B,this._dismissedByAction=!1,this.containerInstance=A,A._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(A){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(A,Y))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const Q=new e.nKC("MatSnackBarData");class J{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let ie=(()=>{class C{static{this.\u0275fac=function(_){return new(_||C)}}static{this.\u0275dir=e.FsC({type:C,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return C})(),ee=(()=>{class C{static{this.\u0275fac=function(_){return new(_||C)}}static{this.\u0275dir=e.FsC({type:C,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return C})(),fe=(()=>{class C{static{this.\u0275fac=function(_){return new(_||C)}}static{this.\u0275dir=e.FsC({type:C,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return C})(),ne=(()=>{class C{constructor(k,_){this.snackBarRef=k,this.data=_}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(_){return new(_||C)(e.rXU(W),e.rXU(Q))}}static{this.\u0275cmp=e.VBU({type:C,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[e.aNF],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(_,a){1&_&&(e.j41(0,"div",0),e.EFF(1),e.k0s(),e.DNE(2,I,3,1,"div",1)),2&_&&(e.R7$(),e.SpI(" ",a.data.message,"\n"),e.R7$(),e.vxM(a.hasAction?2:-1))},dependencies:[t.$z,ie,ee,fe],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return C})();const Me={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 Ce=0,le=(()=>{class C extends w.lb{constructor(k,_,a,b,z){super(),this._ngZone=k,this._elementRef=_,this._changeDetectorRef=a,this._platform=b,this.snackBarConfig=z,this._document=(0,e.WQX)(D.qQ),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new x.B,this._onExit=new x.B,this._onEnter=new x.B,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+Ce++,this.attachDomPortal=N=>{this._assertNotAttached();const q=this._portalOutlet.attachDomPortal(N);return this._afterPortalAttached(),q},this._live="assertive"!==z.politeness||z.announcementMessage?"off"===z.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(k){this._assertNotAttached();const _=this._portalOutlet.attachComponentPortal(k);return this._afterPortalAttached(),_}attachTemplatePortal(k){this._assertNotAttached();const _=this._portalOutlet.attachTemplatePortal(k);return this._afterPortalAttached(),_}onAnimationEnd(k){const{fromState:_,toState:a}=k;if(("void"===a&&"void"!==_||"hidden"===a)&&this._completeExit(),"visible"===a){const b=this._onEnter;this._ngZone.run(()=>{b.next(),b.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const k=this._elementRef.nativeElement,_=this.snackBarConfig.panelClass;_&&(Array.isArray(_)?_.forEach(z=>k.classList.add(z)):k.classList.add(_)),this._exposeToModals();const a=this._label.nativeElement,b="mdc-snackbar__label";a.classList.toggle(b,!a.querySelector(`.${b}`))}_exposeToModals(){const k=this._liveElementId,_=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let a=0;a<_.length;a++){const b=_[a],z=b.getAttribute("aria-owns");this._trackedModals.add(b),z?-1===z.indexOf(k)&&b.setAttribute("aria-owns",z+" "+k):b.setAttribute("aria-owns",k)}}_clearFromModals(){this._trackedModals.forEach(k=>{const _=k.getAttribute("aria-owns");if(_){const a=_.replace(this._liveElementId,"").trim();a.length>0?k.setAttribute("aria-owns",a):k.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const k=this._elementRef.nativeElement.querySelector("[aria-hidden]"),_=this._elementRef.nativeElement.querySelector("[aria-live]");if(k&&_){let a=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&k.contains(document.activeElement)&&(a=document.activeElement),k.removeAttribute("aria-hidden"),_.appendChild(k),a?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(_){return new(_||C)(e.rXU(e.SKi),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(f.OD),e.rXU(J))}}static{this.\u0275cmp=e.VBU({type:C,selectors:[["mat-snack-bar-container"]],viewQuery:function(_,a){if(1&_&&(e.GBs(w.I3,7),e.GBs(V,7)),2&_){let b;e.mGM(b=e.lsd())&&(a._portalOutlet=b.first),e.mGM(b=e.lsd())&&(a._label=b.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(_,a){1&_&&e.Kam("@state.done",function(z){return a.onAnimationEnd(z)}),2&_&&e.zvX("@state",a._animationState)},standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(_,a){1&_&&(e.j41(0,"div",1)(1,"div",2,0)(3,"div",3),e.DNE(4,j,0,0,"ng-template",4),e.k0s(),e.nrm(5,"div"),e.k0s()()),2&_&&(e.R7$(5),e.BMQ("aria-live",a._live)("role",a._role)("id",a._liveElementId))},dependencies:[w.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:[Me.snackBarState]}})}}return C})();const n=new e.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function T(){return new J}});let c=(()=>{class C{get _openedSnackBarRef(){const k=this._parentSnackBar;return k?k._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(k){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=k:this._snackBarRefAtThisLevel=k}constructor(k,_,a,b,z,N){this._overlay=k,this._live=_,this._injector=a,this._breakpointObserver=b,this._parentSnackBar=z,this._defaultConfig=N,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=ne,this.snackBarContainerComponent=le,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(k,_){return this._attach(k,_)}openFromTemplate(k,_){return this._attach(k,_)}open(k,_="",a){const b={...this._defaultConfig,...a};return b.data={message:k,action:_},b.announcementMessage===k&&(b.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,b)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(k,_){const b=e.zZn.create({parent:_&&_.viewContainerRef&&_.viewContainerRef.injector||this._injector,providers:[{provide:J,useValue:_}]}),z=new w.A8(this.snackBarContainerComponent,_.viewContainerRef,b),N=k.attach(z);return N.instance.snackBarConfig=_,N.instance}_attach(k,_){const a={...new J,...this._defaultConfig,..._},b=this._createOverlay(a),z=this._attachSnackBarContainer(b,a),N=new W(z,b);if(k instanceof e.C4Q){const q=new w.VA(k,null,{$implicit:a.data,snackBarRef:N});N.instance=z.attachTemplatePortal(q)}else{const q=this._createInjector(a,N),pe=new w.A8(k,void 0,q),ze=z.attachComponentPortal(pe);N.instance=ze.instance}return this._breakpointObserver.observe(h.Rp.HandsetPortrait).pipe((0,y.Q)(b.detachments())).subscribe(q=>{b.overlayElement.classList.toggle(this.handsetCssClass,q.matches)}),a.announcementMessage&&z._onAnnounce.subscribe(()=>{this._live.announce(a.announcementMessage,a.politeness)}),this._animateSnackBar(N,a),this._openedSnackBarRef=N,this._openedSnackBarRef}_animateSnackBar(k,_){k.afterDismissed().subscribe(()=>{this._openedSnackBarRef==k&&(this._openedSnackBarRef=null),_.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{k.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):k.containerInstance.enter(),_.duration&&_.duration>0&&k.afterOpened().subscribe(()=>k._dismissAfter(_.duration))}_createOverlay(k){const _=new S.rR;_.direction=k.direction;let a=this._overlay.position().global();const b="rtl"===k.direction,z="left"===k.horizontalPosition||"start"===k.horizontalPosition&&!b||"end"===k.horizontalPosition&&b,N=!z&&"center"!==k.horizontalPosition;return z?a.left("0"):N?a.right("0"):a.centerHorizontally(),"top"===k.verticalPosition?a.top("0"):a.bottom("0"),_.positionStrategy=a,this._overlay.create(_)}_createInjector(k,_){return e.zZn.create({parent:k&&k.viewContainerRef&&k.viewContainerRef.injector||this._injector,providers:[{provide:W,useValue:_},{provide:Q,useValue:k.data}]})}static{this.\u0275fac=function(_){return new(_||C)(e.KVO(S.hJ),e.KVO(R.Ai),e.KVO(e.zZn),e.KVO(h.QP),e.KVO(C,12),e.KVO(n))}}static{this.\u0275prov=e.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})(),d=(()=>{class C{static{this.\u0275fac=function(_){return new(_||C)}}static{this.\u0275mod=e.$C({type:C})}static{this.\u0275inj=e.G2t({providers:[c],imports:[S.z_,w.jc,t.Hl,O.yE,ne,O.yE]})}}return C})()},2042:(Qe,te,g)=>{"use strict";g.d(te,{B4:()=>W,NQ:()=>Ce,aE:()=>Me});var e=g(4438),t=g(8617),x=g(7336),D=g(2771),l=g(1413),w=g(7786),f=g(9969),R=g(6600);const h=["mat-sort-header",""],S=["*"];function y(le,T){if(1&le){const n=e.RV6();e.j41(0,"div",2),e.bIt("@arrowPosition.start",function(){e.eBV(n);const m=e.XpG();return e.Njj(m._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.eBV(n);const m=e.XpG();return e.Njj(m._disableViewStateAnimation=!1)}),e.nrm(1,"div",3),e.j41(2,"div",4),e.nrm(3,"div",5)(4,"div",6)(5,"div",7),e.k0s()()}if(2&le){const n=e.XpG();e.Y8G("@arrowOpacity",n._getArrowViewState())("@arrowPosition",n._getArrowViewState())("@allowChildren",n._getArrowDirectionState()),e.R7$(2),e.Y8G("@indicator",n._getArrowDirectionState()),e.R7$(),e.Y8G("@leftPointer",n._getArrowDirectionState()),e.R7$(),e.Y8G("@rightPointer",n._getArrowDirectionState())}}const Y=new e.nKC("MAT_SORT_DEFAULT_OPTIONS");let W=(()=>{class le{get direction(){return this._direction}set direction(n){this._direction=n}constructor(n){this._defaultOptions=n,this._initializedStream=new D.m(1),this.sortables=new Map,this._stateChanges=new l.B,this.start="asc",this._direction="",this.disabled=!1,this.sortChange=new e.bkB,this.initialized=this._initializedStream}register(n){this.sortables.set(n.id,n)}deregister(n){this.sortables.delete(n.id)}sort(n){this.active!=n.id?(this.active=n.id,this.direction=n.start?n.start:this.start):this.direction=this.getNextSortDirection(n),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(n){if(!n)return"";let m=function Q(le,T){let n=["asc","desc"];return"desc"==le&&n.reverse(),T||n.push(""),n}(n.start||this.start,n?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),d=m.indexOf(this.direction)+1;return d>=m.length&&(d=0),m[d]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static{this.\u0275fac=function(c){return new(c||le)(e.rXU(Y,8))}}static{this.\u0275dir=e.FsC({type:le,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",e.L39],disabled:[2,"matSortDisabled","disabled",e.L39]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[e.GFd,e.OA$]})}}return le})();const J=R.ed.ENTERING+" "+R.r5.STANDARD_CURVE,ie={indicator:(0,f.hZ)("indicator",[(0,f.wk)("active-asc, asc",(0,f.iF)({transform:"translateY(0px)"})),(0,f.wk)("active-desc, desc",(0,f.iF)({transform:"translateY(10px)"})),(0,f.kY)("active-asc <=> active-desc",(0,f.i0)(J))]),leftPointer:(0,f.hZ)("leftPointer",[(0,f.wk)("active-asc, asc",(0,f.iF)({transform:"rotate(-45deg)"})),(0,f.wk)("active-desc, desc",(0,f.iF)({transform:"rotate(45deg)"})),(0,f.kY)("active-asc <=> active-desc",(0,f.i0)(J))]),rightPointer:(0,f.hZ)("rightPointer",[(0,f.wk)("active-asc, asc",(0,f.iF)({transform:"rotate(45deg)"})),(0,f.wk)("active-desc, desc",(0,f.iF)({transform:"rotate(-45deg)"})),(0,f.kY)("active-asc <=> active-desc",(0,f.i0)(J))]),arrowOpacity:(0,f.hZ)("arrowOpacity",[(0,f.wk)("desc-to-active, asc-to-active, active",(0,f.iF)({opacity:1})),(0,f.wk)("desc-to-hint, asc-to-hint, hint",(0,f.iF)({opacity:.54})),(0,f.wk)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,f.iF)({opacity:0})),(0,f.kY)("* => asc, * => desc, * => active, * => hint, * => void",(0,f.i0)("0ms")),(0,f.kY)("* <=> *",(0,f.i0)(J))]),arrowPosition:(0,f.hZ)("arrowPosition",[(0,f.kY)("* => desc-to-hint, * => desc-to-active",(0,f.i0)(J,(0,f.i7)([(0,f.iF)({transform:"translateY(-25%)"}),(0,f.iF)({transform:"translateY(0)"})]))),(0,f.kY)("* => hint-to-desc, * => active-to-desc",(0,f.i0)(J,(0,f.i7)([(0,f.iF)({transform:"translateY(0)"}),(0,f.iF)({transform:"translateY(25%)"})]))),(0,f.kY)("* => asc-to-hint, * => asc-to-active",(0,f.i0)(J,(0,f.i7)([(0,f.iF)({transform:"translateY(25%)"}),(0,f.iF)({transform:"translateY(0)"})]))),(0,f.kY)("* => hint-to-asc, * => active-to-asc",(0,f.i0)(J,(0,f.i7)([(0,f.iF)({transform:"translateY(0)"}),(0,f.iF)({transform:"translateY(-25%)"})]))),(0,f.wk)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,f.iF)({transform:"translateY(0)"})),(0,f.wk)("hint-to-desc, active-to-desc, desc",(0,f.iF)({transform:"translateY(-25%)"})),(0,f.wk)("hint-to-asc, active-to-asc, asc",(0,f.iF)({transform:"translateY(25%)"}))]),allowChildren:(0,f.hZ)("allowChildren",[(0,f.kY)("* <=> *",[(0,f.P)("@*",(0,f.MA)(),{optional:!0})])])};let ee=(()=>{class le{constructor(){this.changes=new l.B}static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275prov=e.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}}return le})();const ne={provide:ee,deps:[[new e.Xx1,new e.kdw,ee]],useFactory:function fe(le){return le||new ee}};let Me=(()=>{class le{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(n){this._updateSortActionDescription(n)}constructor(n,c,m,d,C,A,k,_){this._intl=n,this._changeDetectorRef=c,this._sort=m,this._columnDef=d,this._focusMonitor=C,this._elementRef=A,this._ariaDescriber=k,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this.disabled=!1,this._sortActionDescription="Sort",_?.arrowPosition&&(this.arrowPosition=_?.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(n=>{const c=!!n;c!==this._showIndicatorHint&&(this._setIndicatorHintVisible(c),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(n){this._isDisabled()&&n||(this._showIndicatorHint=n,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(n){this._viewState=n||{},this._disableViewStateAnimation&&(this._viewState={toState:n.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(n){!this._isDisabled()&&(n.keyCode===x.t6||n.keyCode===x.Fm)&&(n.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 n=this._viewState.fromState;return(n?`${n}-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(n){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,n)),this._sortActionDescription=n}_handleStateChanges(){this._rerenderSubscription=(0,w.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(c){return new(c||le)(e.rXU(ee),e.rXU(e.gRc),e.rXU(W,8),e.rXU("MAT_SORT_HEADER_COLUMN_DEF",8),e.rXU(t.FN),e.rXU(e.aKT),e.rXU(t.vr,8),e.rXU(Y,8))}}static{this.\u0275cmp=e.VBU({type:le,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(c,m){1&c&&e.bIt("click",function(){return m._handleClick()})("keydown",function(C){return m._handleKeydown(C)})("mouseenter",function(){return m._setIndicatorHintVisible(!0)})("mouseleave",function(){return m._setIndicatorHintVisible(!1)}),2&c&&(e.BMQ("aria-sort",m._getAriaSortAttribute()),e.AVh("mat-sort-header-disabled",m._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",e.L39],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",e.L39]},exportAs:["matSortHeader"],standalone:!0,features:[e.GFd,e.aNF],attrs:h,ngContentSelectors:S,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(c,m){1&c&&(e.NAR(),e.j41(0,"div",0)(1,"div",1),e.SdG(2),e.k0s(),e.DNE(3,y,6,6,"div",2),e.k0s()),2&c&&(e.AVh("mat-sort-header-sorted",m._isSorted())("mat-sort-header-position-before","before"===m.arrowPosition),e.BMQ("tabindex",m._isDisabled()?null:0)("role",m._isDisabled()?null:"button"),e.R7$(3),e.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 le})(),Ce=(()=>{class le{static{this.\u0275fac=function(c){return new(c||le)}}static{this.\u0275mod=e.$C({type:le})}static{this.\u0275inj=e.G2t({providers:[ne],imports:[R.yE]})}}return le})()},6013:(Qe,te,g)=>{"use strict";g.d(te,{F7:()=>ue,FR:()=>Be,M6:()=>Ee,Ti:()=>ze,V5:()=>me,aP:()=>Ct,xJ:()=>Ie});var e=g(6939),t=g(7768),x=g(177),D=g(4438),l=g(6600),w=g(9213),f=g(8617),R=g(1413),h=g(8359),S=g(8203),y=g(5558),O=g(6354),I=g(9172),V=g(6977),j=g(3294),Y=g(9969),W=g(6860);function Q(ct,dt){if(1&ct&&D.eu8(0,2),2&ct){const Yt=D.XpG();D.Y8G("ngTemplateOutlet",Yt.iconOverrides[Yt.state])("ngTemplateOutletContext",Yt._getIconContext())}}function J(ct,dt){if(1&ct&&(D.j41(0,"span",7),D.EFF(1),D.k0s()),2&ct){const Yt=D.XpG(2);D.R7$(),D.JRh(Yt._getDefaultTextForState(Yt.state))}}function ie(ct,dt){if(1&ct&&(D.j41(0,"span",8),D.EFF(1),D.k0s()),2&ct){const Yt=D.XpG(3);D.R7$(),D.JRh(Yt._intl.completedLabel)}}function ee(ct,dt){if(1&ct&&(D.j41(0,"span",8),D.EFF(1),D.k0s()),2&ct){const Yt=D.XpG(3);D.R7$(),D.JRh(Yt._intl.editableLabel)}}function fe(ct,dt){if(1&ct&&(D.DNE(0,ie,2,1,"span",8)(1,ee,2,1,"span",8),D.j41(2,"mat-icon",7),D.EFF(3),D.k0s()),2&ct){const Yt=D.XpG(2);D.vxM("done"===Yt.state?0:"edit"===Yt.state?1:-1),D.R7$(3),D.JRh(Yt._getDefaultTextForState(Yt.state))}}function ne(ct,dt){if(1&ct&&D.DNE(0,J,2,1,"span",7)(1,fe,4,2,"mat-icon",7),2&ct){let Yt;const ve=D.XpG();D.vxM("number"===(Yt=ve.state)?0:1)}}function Me(ct,dt){1&ct&&(D.j41(0,"div",4),D.eu8(1,9),D.k0s()),2&ct&&(D.R7$(),D.Y8G("ngTemplateOutlet",dt.template))}function Ce(ct,dt){if(1&ct&&(D.j41(0,"div",4),D.EFF(1),D.k0s()),2&ct){const Yt=D.XpG();D.R7$(),D.JRh(Yt.label)}}function le(ct,dt){if(1&ct&&(D.j41(0,"div",5),D.EFF(1),D.k0s()),2&ct){const Yt=D.XpG();D.R7$(),D.JRh(Yt._intl.optionalLabel)}}function T(ct,dt){if(1&ct&&(D.j41(0,"div",6),D.EFF(1),D.k0s()),2&ct){const Yt=D.XpG();D.R7$(),D.JRh(Yt.errorMessage)}}const n=["*"];function c(ct,dt){}function m(ct,dt){if(1&ct&&(D.SdG(0),D.DNE(1,c,0,0,"ng-template",0)),2&ct){const Yt=D.XpG();D.R7$(),D.Y8G("cdkPortalOutlet",Yt._portal)}}const d=(ct,dt)=>({step:ct,i:dt}),C=ct=>({animationDuration:ct}),A=(ct,dt)=>({value:ct,params:dt});function k(ct,dt){1&ct&&D.SdG(0)}function _(ct,dt){1&ct&&D.nrm(0,"div",6)}function a(ct,dt){if(1&ct&&(D.eu8(0,5),D.DNE(1,_,1,0,"div",6)),2&ct){const Yt=dt.$implicit,ve=dt.$index,_e=dt.$count;D.XpG(2);const we=D.sdS(4);D.Y8G("ngTemplateOutlet",we)("ngTemplateOutletContext",D.l_i(3,d,Yt,ve)),D.R7$(),D.vxM(ve!==_e-1?1:-1)}}function b(ct,dt){if(1&ct){const Yt=D.RV6();D.j41(0,"div",7),D.bIt("@horizontalStepTransition.done",function(_e){D.eBV(Yt);const we=D.XpG(2);return D.Njj(we._animationDone.next(_e))}),D.eu8(1,8),D.k0s()}if(2&ct){const Yt=dt.$implicit,ve=dt.$index,_e=D.XpG(2);D.AVh("mat-horizontal-stepper-content-inactive",_e.selectedIndex!==ve),D.Y8G("@horizontalStepTransition",D.l_i(8,A,_e._getAnimationDirection(ve),D.eq3(6,C,_e._getAnimationDuration())))("id",_e._getStepContentId(ve)),D.BMQ("aria-labelledby",_e._getStepLabelId(ve)),D.R7$(),D.Y8G("ngTemplateOutlet",Yt.content)}}function z(ct,dt){if(1&ct&&(D.j41(0,"div",1)(1,"div",2),D.Z7z(2,a,2,6,null,null,D.fX1),D.k0s(),D.j41(4,"div",3),D.Z7z(5,b,2,11,"div",4,D.fX1),D.k0s()()),2&ct){const Yt=D.XpG();D.R7$(2),D.Dyx(Yt.steps),D.R7$(3),D.Dyx(Yt.steps)}}function N(ct,dt){if(1&ct){const Yt=D.RV6();D.j41(0,"div",9),D.eu8(1,5),D.j41(2,"div",10)(3,"div",11),D.bIt("@verticalStepTransition.done",function(_e){D.eBV(Yt);const we=D.XpG(2);return D.Njj(we._animationDone.next(_e))}),D.j41(4,"div",12),D.eu8(5,8),D.k0s()()()()}if(2&ct){const Yt=dt.$implicit,ve=dt.$index,_e=dt.$count,we=D.XpG(2),Ue=D.sdS(4);D.R7$(),D.Y8G("ngTemplateOutlet",Ue)("ngTemplateOutletContext",D.l_i(10,d,Yt,ve)),D.R7$(),D.AVh("mat-stepper-vertical-line",ve!==_e-1),D.R7$(),D.AVh("mat-vertical-stepper-content-inactive",we.selectedIndex!==ve),D.Y8G("@verticalStepTransition",D.l_i(15,A,we._getAnimationDirection(ve),D.eq3(13,C,we._getAnimationDuration())))("id",we._getStepContentId(ve)),D.BMQ("aria-labelledby",we._getStepLabelId(ve)),D.R7$(2),D.Y8G("ngTemplateOutlet",Yt.content)}}function q(ct,dt){if(1&ct&&D.Z7z(0,N,6,18,"div",9,D.fX1),2&ct){const Yt=D.XpG();D.Dyx(Yt.steps)}}function pe(ct,dt){if(1&ct){const Yt=D.RV6();D.j41(0,"mat-step-header",13),D.bIt("click",function(){const _e=D.eBV(Yt).step;return D.Njj(_e.select())})("keydown",function(_e){D.eBV(Yt);const we=D.XpG();return D.Njj(we._onKeydown(_e))}),D.k0s()}if(2&ct){const Yt=dt.step,ve=dt.i,_e=D.XpG();D.AVh("mat-horizontal-stepper-header","horizontal"===_e.orientation)("mat-vertical-stepper-header","vertical"===_e.orientation),D.Y8G("tabIndex",_e._getFocusIndex()===ve?0:-1)("id",_e._getStepLabelId(ve))("index",ve)("state",_e._getIndicatorType(ve,Yt.state))("label",Yt.stepLabel||Yt.label)("selected",_e.selectedIndex===ve)("active",_e._stepIsNavigable(ve,Yt))("optional",Yt.optional)("errorMessage",Yt.errorMessage)("iconOverrides",_e._iconOverrides)("disableRipple",_e.disableRipple||!_e._stepIsNavigable(ve,Yt))("color",Yt.color||_e.color),D.BMQ("aria-posinset",ve+1)("aria-setsize",_e.steps.length)("aria-controls",_e._getStepContentId(ve))("aria-selected",_e.selectedIndex==ve)("aria-label",Yt.ariaLabel||null)("aria-labelledby",!Yt.ariaLabel&&Yt.ariaLabelledby?Yt.ariaLabelledby:null)("aria-disabled",!_e._stepIsNavigable(ve,Yt)||null)}}let ze=(()=>{class ct extends t.nb{static{this.\u0275fac=(()=>{let Yt;return function(_e){return(Yt||(Yt=D.xGo(ct)))(_e||ct)}})()}static{this.\u0275dir=D.FsC({type:ct,selectors:[["","matStepLabel",""]],standalone:!0,features:[D.Vt3]})}}return ct})(),Xe=(()=>{class ct{constructor(){this.changes=new R.B,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static{this.\u0275fac=function(ve){return new(ve||ct)}}static{this.\u0275prov=D.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}}return ct})();const oe={provide:Xe,deps:[[new D.Xx1,new D.kdw,Xe]],useFactory:function We(ct){return ct||new Xe}};let X=(()=>{class ct extends t.oX{constructor(Yt,ve,_e,we){super(_e),this._intl=Yt,this._focusMonitor=ve,this._intlSubscription=Yt.changes.subscribe(()=>we.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(Yt,ve){Yt?this._focusMonitor.focusVia(this._elementRef,Yt,ve):this._elementRef.nativeElement.focus(ve)}_stringLabel(){return this.label instanceof ze?null:this.label}_templateLabel(){return this.label instanceof ze?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(Yt){return"number"==Yt?`${this.index+1}`:"edit"==Yt?"create":"error"==Yt?"warning":Yt}static{this.\u0275fac=function(ve){return new(ve||ct)(D.rXU(Xe),D.rXU(f.FN),D.rXU(D.aKT),D.rXU(D.gRc))}}static{this.\u0275cmp=D.VBU({type:ct,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(ve,_e){2&ve&&D.HbH("mat-"+(_e.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[D.Vt3,D.aNF],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(ve,_e){if(1&ve&&(D.nrm(0,"div",0),D.j41(1,"div")(2,"div",1),D.DNE(3,Q,1,2,"ng-container",2)(4,ne,2,1),D.k0s()(),D.j41(5,"div",3),D.DNE(6,Me,2,1,"div",4)(7,Ce,2,1,"div",4)(8,le,2,1,"div",5)(9,T,2,1,"div",6),D.k0s()),2&ve){let we;D.Y8G("matRippleTrigger",_e._getHostElement())("matRippleDisabled",_e.disableRipple),D.R7$(),D.ZvI("mat-step-icon-state-",_e.state," mat-step-icon"),D.AVh("mat-step-icon-selected",_e.selected),D.R7$(2),D.vxM(_e.iconOverrides&&_e.iconOverrides[_e.state]?3:4),D.R7$(2),D.AVh("mat-step-label-active",_e.active)("mat-step-label-selected",_e.selected)("mat-step-label-error","error"==_e.state),D.R7$(),D.vxM((we=_e._templateLabel())?6:_e._stringLabel()?7:-1,we),D.R7$(2),D.vxM(_e.optional&&"error"!=_e.state?8:-1),D.R7$(),D.vxM("error"===_e.state?9:-1)}},dependencies:[l.r6,x.T3,w.An],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);border-radius:var(--mat-stepper-header-hover-state-layer-shape)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape)}@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 ct})();const he={horizontalStepTransition:(0,Y.hZ)("horizontalStepTransition",[(0,Y.wk)("previous",(0,Y.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,Y.wk)("current",(0,Y.iF)({transform:"none",visibility:"inherit"})),(0,Y.wk)("next",(0,Y.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,Y.kY)("* => *",(0,Y.Os)([(0,Y.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),(0,Y.P)("@*",(0,Y.MA)(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,Y.hZ)("verticalStepTransition",[(0,Y.wk)("previous",(0,Y.iF)({height:"0px",visibility:"hidden"})),(0,Y.wk)("next",(0,Y.iF)({height:"0px",visibility:"hidden"})),(0,Y.wk)("current",(0,Y.iF)({height:"*",visibility:"inherit"})),(0,Y.kY)("* <=> current",(0,Y.Os)([(0,Y.i0)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),(0,Y.P)("@*",(0,Y.MA)(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let Ie=(()=>{class ct{constructor(Yt){this.templateRef=Yt}static{this.\u0275fac=function(ve){return new(ve||ct)(D.rXU(D.C4Q))}}static{this.\u0275dir=D.FsC({type:ct,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0})}}return ct})(),st=(()=>{class ct{constructor(Yt){this._template=Yt}static{this.\u0275fac=function(ve){return new(ve||ct)(D.rXU(D.C4Q))}}static{this.\u0275dir=D.FsC({type:ct,selectors:[["ng-template","matStepContent",""]],standalone:!0})}}return ct})(),me=(()=>{class ct extends t.VI{constructor(Yt,ve,_e,we){super(Yt,we),this._errorStateMatcher=ve,this._viewContainerRef=_e,this._isSelected=h.yU.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,y.n)(()=>this._stepper.selectionChange.pipe((0,O.T)(Yt=>Yt.selectedStep===this),(0,I.Z)(this._stepper.selected===this)))).subscribe(Yt=>{Yt&&this._lazyContent&&!this._portal&&(this._portal=new e.VA(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(Yt,ve){return this._errorStateMatcher.isErrorState(Yt,ve)||!!(Yt&&Yt.invalid&&this.interacted)}static{this.\u0275fac=function(ve){return new(ve||ct)(D.rXU((0,D.Rfq)(()=>Ee)),D.rXU(l.es,4),D.rXU(D.c1b),D.rXU(t.x8,8))}}static{this.\u0275cmp=D.VBU({type:ct,selectors:[["mat-step"]],contentQueries:function(ve,_e,we){if(1&ve&&(D.wni(we,ze,5),D.wni(we,st,5)),2&ve){let Ue;D.mGM(Ue=D.lsd())&&(_e.stepLabel=Ue.first),D.mGM(Ue=D.lsd())&&(_e._lazyContent=Ue.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[D.Jv_([{provide:l.es,useExisting:ct},{provide:t.VI,useExisting:ct}]),D.Vt3,D.aNF],ngContentSelectors:n,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(ve,_e){1&ve&&(D.NAR(),D.DNE(0,m,2,1,"ng-template"))},dependencies:[e.I3],encapsulation:2,changeDetection:0})}}return ct})(),Ee=(()=>{class ct extends t.Up{get animationDuration(){return this._animationDuration}set animationDuration(Yt){this._animationDuration=/^\d+$/.test(Yt)?Yt+"ms":Yt}constructor(Yt,ve,_e){super(Yt,ve,_e),this._stepHeader=void 0,this._steps=void 0,this.steps=new D.rOR,this.animationDone=new D.bkB,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new R.B,this._animationDuration="",this._isServer=!(0,D.WQX)(W.OD).isBrowser;const we=_e.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===we?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:Yt,templateRef:ve})=>this._iconOverrides[Yt]=ve),this.steps.changes.pipe((0,V.Q)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,j.F)((Yt,ve)=>Yt.fromState===ve.fromState&&Yt.toState===ve.toState),(0,V.Q)(this._destroyed)).subscribe(Yt=>{"current"===Yt.toState&&this.animationDone.emit()})}_stepIsNavigable(Yt,ve){return ve.completed||this.selectedIndex===Yt||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static{this.\u0275fac=function(ve){return new(ve||ct)(D.rXU(S.dS,8),D.rXU(D.gRc),D.rXU(D.aKT))}}static{this.\u0275cmp=D.VBU({type:ct,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(ve,_e,we){if(1&ve&&(D.wni(we,me,5),D.wni(we,Ie,5)),2&ve){let Ue;D.mGM(Ue=D.lsd())&&(_e._steps=Ue),D.mGM(Ue=D.lsd())&&(_e._icons=Ue)}},viewQuery:function(ve,_e){if(1&ve&&D.GBs(X,5),2&ve){let we;D.mGM(we=D.lsd())&&(_e._stepHeader=we)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(ve,_e){2&ve&&(D.BMQ("aria-orientation",_e.orientation),D.AVh("mat-stepper-horizontal","horizontal"===_e.orientation)("mat-stepper-vertical","vertical"===_e.orientation)("mat-stepper-label-position-end","horizontal"===_e.orientation&&"end"==_e.labelPosition)("mat-stepper-label-position-bottom","horizontal"===_e.orientation&&"bottom"==_e.labelPosition)("mat-stepper-header-position-bottom","bottom"===_e.headerPosition))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[D.Jv_([{provide:t.Up,useExisting:ct}]),D.Vt3,D.aNF],ngContentSelectors:n,decls:5,vars:2,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(ve,_e){if(1&ve&&(D.NAR(),D.DNE(0,k,1,0)(1,z,7,0,"div",1)(2,q,2,0)(3,pe,1,23,"ng-template",null,0,D.C5r)),2&ve){let we;D.vxM(_e._isServer?0:-1),D.R7$(),D.vxM("horizontal"===(we=_e.orientation)?1:"vertical"===we?2:-1)}},dependencies:[x.T3,X],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:[he.horizontalStepTransition,he.verticalStepTransition]},changeDetection:0})}}return ct})(),ue=(()=>{class ct extends t.v5{static{this.\u0275fac=(()=>{let Yt;return function(_e){return(Yt||(Yt=D.xGo(ct)))(_e||ct)}})()}static{this.\u0275dir=D.FsC({type:ct,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(ve,_e){2&ve&&D.Mr5("type",_e.type)},standalone:!0,features:[D.Vt3]})}}return ct})(),Be=(()=>{class ct extends t.FK{static{this.\u0275fac=(()=>{let Yt;return function(_e){return(Yt||(Yt=D.xGo(ct)))(_e||ct)}})()}static{this.\u0275dir=D.FsC({type:ct,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(ve,_e){2&ve&&D.Mr5("type",_e.type)},standalone:!0,features:[D.Vt3]})}}return ct})(),Ct=(()=>{class ct{static{this.\u0275fac=function(ve){return new(ve||ct)}}static{this.\u0275mod=D.$C({type:ct})}static{this.\u0275inj=D.G2t({providers:[oe,l.es],imports:[l.yE,x.MD,e.jc,t.uY,w.m_,l.pZ,Ee,X,l.yE]})}}return ct})()},9159:(Qe,te,g)=>{"use strict";g.d(te,{$R:()=>qe,YV:()=>Re,cC:()=>Ke,Qo:()=>Ge,Zq:()=>pt,iF:()=>Ui,xW:()=>pi,KS:()=>Fe,tL:()=>Pe,YZ:()=>Kt,ji:()=>Lt,NB:()=>ti,iL:()=>$t,Zl:()=>Z,I6:()=>Xt,tP:()=>Vi});var e=g(4438),t=g(8203),x=g(5024),D=g(6860),l=g(5542),w=g(177),f=g(1413),R=g(2806),h=g(4412),S=g(4402),y=g(7673),O=g(6977),I=g(6697);const V=[[["caption"]],[["colgroup"],["col"]],"*"],j=["caption","colgroup, col","*"];function Y(St,tt){1&St&&e.SdG(0,2)}function W(St,tt){1&St&&(e.j41(0,"thead",0),e.eu8(1,1),e.k0s(),e.j41(2,"tbody",0),e.eu8(3,2)(4,3),e.k0s(),e.j41(5,"tfoot",0),e.eu8(6,4),e.k0s())}function Q(St,tt){1&St&&e.eu8(0,1)(1,2)(2,3)(3,4)}const ee=new e.nKC("CDK_TABLE");let ne=(()=>{class St{constructor(ot){this.template=ot}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkCellDef",""]],standalone:!0})}}return St})(),Me=(()=>{class St{constructor(ot){this.template=ot}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}}return St})(),Ce=(()=>{class St{constructor(ot){this.template=ot}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}}return St})(),le=(()=>{class St{get name(){return this._name}set name(ot){this._setNameInput(ot)}get sticky(){return this._sticky}set sticky(ot){ot!==this._sticky&&(this._sticky=ot,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ot){ot!==this._stickyEnd&&(this._stickyEnd=ot,this._hasStickyChanged=!0)}constructor(ot){this._table=ot,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){const ot=this._hasStickyChanged;return this.resetStickyChanged(),ot}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ot){ot&&(this._name=ot,this.cssClassFriendlyName=ot.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(ee,8))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkColumnDef",""]],contentQueries:function(Mt,Bt,Ci){if(1&Mt&&(e.wni(Ci,ne,5),e.wni(Ci,Me,5),e.wni(Ci,Ce,5)),2&Mt){let Ti;e.mGM(Ti=e.lsd())&&(Bt.cell=Ti.first),e.mGM(Ti=e.lsd())&&(Bt.headerCell=Ti.first),e.mGM(Ti=e.lsd())&&(Bt.footerCell=Ti.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",e.L39],stickyEnd:[2,"stickyEnd","stickyEnd",e.L39]},standalone:!0,features:[e.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:St}]),e.GFd]})}}return St})();class T{constructor(tt,ot){ot.nativeElement.classList.add(...tt._columnCssClassName)}}let n=(()=>{class St extends T{constructor(ot,Mt){super(ot,Mt)}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(le),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[e.Vt3]})}}return St})(),c=(()=>{class St extends T{constructor(ot,Mt){super(ot,Mt);const Bt=ot._table?._getCellRole();Bt&&Mt.nativeElement.setAttribute("role",Bt)}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(le),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[e.Vt3]})}}return St})(),m=(()=>{class St extends T{constructor(ot,Mt){super(ot,Mt);const Bt=ot._table?._getCellRole();Bt&&Mt.nativeElement.setAttribute("role",Bt)}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(le),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[e.Vt3]})}}return St})();class d{constructor(){this.tasks=[],this.endTasks=[]}}const C=new e.nKC("_COALESCED_STYLE_SCHEDULER");let A=(()=>{class St{constructor(ot){this._ngZone=ot,this._currentSchedule=null,this._destroyed=new f.B}schedule(ot){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ot)}scheduleEnd(ot){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ot)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new d,this._getScheduleObservable().pipe((0,O.Q)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ot=this._currentSchedule;this._currentSchedule=new d;for(const Mt of ot.tasks)Mt();for(const Mt of ot.endTasks)Mt()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,R.H)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,I.s)(1))}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.KVO(e.SKi))}}static{this.\u0275prov=e.jDH({token:St,factory:St.\u0275fac})}}return St})(),_=(()=>{class St{constructor(ot,Mt){this.template=ot,this._differs=Mt}ngOnChanges(ot){if(!this._columnsDiffer){const Mt=ot.columns&&ot.columns.currentValue||[];this._columnsDiffer=this._differs.find(Mt).create(),this._columnsDiffer.diff(Mt)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ot){return this instanceof a?ot.headerCell.template:this instanceof b?ot.footerCell.template:ot.cell.template}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q),e.rXU(e._q3))}}static{this.\u0275dir=e.FsC({type:St,features:[e.OA$]})}}return St})(),a=(()=>{class St extends _{get sticky(){return this._sticky}set sticky(ot){ot!==this._sticky&&(this._sticky=ot,this._hasStickyChanged=!0)}constructor(ot,Mt,Bt){super(ot,Mt),this._table=Bt,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(ot){super.ngOnChanges(ot)}hasStickyChanged(){const ot=this._hasStickyChanged;return this.resetStickyChanged(),ot}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q),e.rXU(e._q3),e.rXU(ee,8))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.GFd,e.Vt3,e.OA$]})}}return St})(),b=(()=>{class St extends _{get sticky(){return this._sticky}set sticky(ot){ot!==this._sticky&&(this._sticky=ot,this._hasStickyChanged=!0)}constructor(ot,Mt,Bt){super(ot,Mt),this._table=Bt,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(ot){super.ngOnChanges(ot)}hasStickyChanged(){const ot=this._hasStickyChanged;return this.resetStickyChanged(),ot}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q),e.rXU(e._q3),e.rXU(ee,8))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.GFd,e.Vt3,e.OA$]})}}return St})(),z=(()=>{class St extends _{constructor(ot,Mt,Bt){super(ot,Mt),this._table=Bt}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q),e.rXU(e._q3),e.rXU(ee,8))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[e.Vt3]})}}return St})(),N=(()=>{class St{static{this.mostRecentCellOutlet=null}constructor(ot){this._viewContainer=ot,St.mostRecentCellOutlet=this}ngOnDestroy(){St.mostRecentCellOutlet===this&&(St.mostRecentCellOutlet=null)}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.c1b))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","cdkCellOutlet",""]],standalone:!0})}}return St})(),q=(()=>{class St{static{this.\u0275fac=function(Mt){return new(Mt||St)}}static{this.\u0275cmp=e.VBU({type:St,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Bt){1&Mt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}}return St})(),pe=(()=>{class St{static{this.\u0275fac=function(Mt){return new(Mt||St)}}static{this.\u0275cmp=e.VBU({type:St,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Bt){1&Mt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}}return St})(),ze=(()=>{class St{static{this.\u0275fac=function(Mt){return new(Mt||St)}}static{this.\u0275cmp=e.VBU({type:St,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Bt){1&Mt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}}return St})(),Xe=(()=>{class St{constructor(ot){this.templateRef=ot,this._contentClassName="cdk-no-data-row"}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}}return St})();const We=["top","bottom","left","right"];class oe{constructor(tt,ot,Mt,Bt,Ci=!0,Ti=!0,Hi){this._isNativeHtmlTable=tt,this._stickCellCss=ot,this.direction=Mt,this._coalescedStyleScheduler=Bt,this._isBrowser=Ci,this._needsPositionStickyOnElement=Ti,this._positionListener=Hi,this._cachedCellWidths=[],this._borderCellCss={top:`${ot}-border-elem-top`,bottom:`${ot}-border-elem-bottom`,left:`${ot}-border-elem-left`,right:`${ot}-border-elem-right`}}clearStickyPositioning(tt,ot){const Mt=[];for(const Bt of tt)if(Bt.nodeType===Bt.ELEMENT_NODE){Mt.push(Bt);for(let Ci=0;Ci{for(const Bt of Mt)this._removeStickyStyle(Bt,ot)})}updateStickyColumns(tt,ot,Mt,Bt=!0){tt.length&&this._isBrowser&&(ot.some(Ci=>Ci)||Mt.some(Ci=>Ci))?this._coalescedStyleScheduler.schedule(()=>{const Ci=tt[0],Ti=Ci.children.length,Hi=this._getCellWidths(Ci,Bt),Zi=this._getStickyStartColumnPositions(Hi,ot),ln=this._getStickyEndColumnPositions(Hi,Mt),mn=ot.lastIndexOf(!0),Ut=Mt.indexOf(!0),lt="rtl"===this.direction,re=lt?"right":"left",He=lt?"left":"right";for(const ye of tt)for(let rt=0;rtot[rt]?ye:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ut?[]:Hi.slice(Ut).map((ye,rt)=>Mt[rt+Ut]?ye:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(tt,ot,Mt){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const Bt="bottom"===Mt?tt.slice().reverse():tt,Ci="bottom"===Mt?ot.slice().reverse():ot,Ti=[],Hi=[],Zi=[];for(let mn=0,Ut=0;mn{const Mt=tt.querySelector("tfoot");Mt&&(ot.some(Bt=>!Bt)?this._removeStickyStyle(Mt,["bottom"]):this._addStickyStyle(Mt,"bottom",0,!1))})}_removeStickyStyle(tt,ot){for(const Bt of ot)tt.style[Bt]="",tt.classList.remove(this._borderCellCss[Bt]);We.some(Bt=>-1===ot.indexOf(Bt)&&tt.style[Bt])?tt.style.zIndex=this._getCalculatedZIndex(tt):(tt.style.zIndex="",this._needsPositionStickyOnElement&&(tt.style.position=""),tt.classList.remove(this._stickCellCss))}_addStickyStyle(tt,ot,Mt,Bt){tt.classList.add(this._stickCellCss),Bt&&tt.classList.add(this._borderCellCss[ot]),tt.style[ot]=`${Mt}px`,tt.style.zIndex=this._getCalculatedZIndex(tt),this._needsPositionStickyOnElement&&(tt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(tt){const ot={top:100,bottom:10,left:1,right:1};let Mt=0;for(const Bt of We)tt.style[Bt]&&(Mt+=ot[Bt]);return Mt?`${Mt}`:""}_getCellWidths(tt,ot=!0){if(!ot&&this._cachedCellWidths.length)return this._cachedCellWidths;const Mt=[],Bt=tt.children;for(let Ci=0;Ci0;Ci--)ot[Ci]&&(Mt[Ci]=Bt,Bt+=tt[Ci]);return Mt}}const ue=new e.nKC("CDK_SPL");let Ct=(()=>{class St{constructor(ot,Mt){this.viewContainer=ot,this.elementRef=Mt;const Bt=(0,e.WQX)(ee);Bt._rowOutlet=this,Bt._outletAssigned()}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.c1b),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","rowOutlet",""]],standalone:!0})}}return St})(),ct=(()=>{class St{constructor(ot,Mt){this.viewContainer=ot,this.elementRef=Mt;const Bt=(0,e.WQX)(ee);Bt._headerRowOutlet=this,Bt._outletAssigned()}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.c1b),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","headerRowOutlet",""]],standalone:!0})}}return St})(),dt=(()=>{class St{constructor(ot,Mt){this.viewContainer=ot,this.elementRef=Mt;const Bt=(0,e.WQX)(ee);Bt._footerRowOutlet=this,Bt._outletAssigned()}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.c1b),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","footerRowOutlet",""]],standalone:!0})}}return St})(),Yt=(()=>{class St{constructor(ot,Mt){this.viewContainer=ot,this.elementRef=Mt;const Bt=(0,e.WQX)(ee);Bt._noDataRowOutlet=this,Bt._outletAssigned()}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e.c1b),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:St,selectors:[["","noDataRowOutlet",""]],standalone:!0})}}return St})(),we=(()=>{class St{_getCellRole(){if(void 0===this._cellRoleInternal){const ot=this._elementRef.nativeElement.getAttribute("role"),Mt="grid"===ot||"treegrid"===ot?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===Mt?null:Mt}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(ot){this._trackByFn=ot}get dataSource(){return this._dataSource}set dataSource(ot){this._dataSource!==ot&&this._switchDataSource(ot)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ot){this._multiTemplateDataRows=ot,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ot){this._fixedLayout=ot,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(ot,Mt,Bt,Ci,Ti,Hi,Zi,ln,mn,Ut,lt,re){this._differs=ot,this._changeDetectorRef=Mt,this._elementRef=Bt,this._dir=Ti,this._platform=Zi,this._viewRepeater=ln,this._coalescedStyleScheduler=mn,this._viewportRuler=Ut,this._stickyPositioningListener=lt,this._ngZone=re,this._onDestroy=new f.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._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.bkB,this.viewChange=new h.t({start:0,end:Number.MAX_VALUE}),Ci||Bt.nativeElement.setAttribute("role","table"),this._document=Hi,this._isServer=!Zi.isBrowser,this._isNativeHtmlTable="TABLE"===Bt.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((ot,Mt)=>this.trackBy?this.trackBy(Mt.dataIndex,Mt.data):Mt),this._viewportRuler.change().pipe((0,O.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(ot=>{ot?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,x.y4)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const ot=this._dataDiffer.diff(this._renderRows);if(!ot)return this._updateNoDataRow(),void this.contentChanged.next();const Mt=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ot,Mt,(Bt,Ci,Ti)=>this._getEmbeddedViewArgs(Bt.item,Ti),Bt=>Bt.item.data,Bt=>{Bt.operation===x.Q3.INSERTED&&Bt.context&&this._renderCellTemplateForItem(Bt.record.item.rowDef,Bt.context)}),this._updateRowIndexContext(),ot.forEachIdentityChange(Bt=>{Mt.get(Bt.currentIndex).context.$implicit=Bt.item.data}),this._updateNoDataRow(),this._ngZone&&e.SKi.isInAngularZone()?this._ngZone.onStable.pipe((0,I.s)(1),(0,O.Q)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ot){this._customColumnDefs.add(ot)}removeColumnDef(ot){this._customColumnDefs.delete(ot)}addRowDef(ot){this._customRowDefs.add(ot)}removeRowDef(ot){this._customRowDefs.delete(ot)}addHeaderRowDef(ot){this._customHeaderRowDefs.add(ot),this._headerRowDefChanged=!0}removeHeaderRowDef(ot){this._customHeaderRowDefs.delete(ot),this._headerRowDefChanged=!0}addFooterRowDef(ot){this._customFooterRowDefs.add(ot),this._footerRowDefChanged=!0}removeFooterRowDef(ot){this._customFooterRowDefs.delete(ot),this._footerRowDefChanged=!0}setNoDataRow(ot){this._customNoDataRow=ot}updateStickyHeaderRowStyles(){const ot=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const Bt=je(this._headerRowOutlet,"thead");Bt&&(Bt.style.display=ot.length?"":"none")}const Mt=this._headerRowDefs.map(Bt=>Bt.sticky);this._stickyStyler.clearStickyPositioning(ot,["top"]),this._stickyStyler.stickRows(ot,Mt,"top"),this._headerRowDefs.forEach(Bt=>Bt.resetStickyChanged())}updateStickyFooterRowStyles(){const ot=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const Bt=je(this._footerRowOutlet,"tfoot");Bt&&(Bt.style.display=ot.length?"":"none")}const Mt=this._footerRowDefs.map(Bt=>Bt.sticky);this._stickyStyler.clearStickyPositioning(ot,["bottom"]),this._stickyStyler.stickRows(ot,Mt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Mt),this._footerRowDefs.forEach(Bt=>Bt.resetStickyChanged())}updateStickyColumnStyles(){const ot=this._getRenderedRows(this._headerRowOutlet),Mt=this._getRenderedRows(this._rowOutlet),Bt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ot,...Mt,...Bt],["left","right"]),this._stickyColumnStylesNeedReset=!1),ot.forEach((Ci,Ti)=>{this._addStickyColumnStyles([Ci],this._headerRowDefs[Ti])}),this._rowDefs.forEach(Ci=>{const Ti=[];for(let Hi=0;Hi{this._addStickyColumnStyles([Ci],this._footerRowDefs[Ti])}),Array.from(this._columnDefsByName.values()).forEach(Ci=>Ci.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){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()}_getAllRenderRows(){const ot=[],Mt=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Bt=0;Bt{const Hi=Bt&&Bt.has(Ti)?Bt.get(Ti):[];if(Hi.length){const Zi=Hi.shift();return Zi.dataIndex=Mt,Zi}return{data:ot,rowDef:Ti,dataIndex:Mt}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ue(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Mt=>{this._columnDefsByName.has(Mt.name),this._columnDefsByName.set(Mt.name,Mt)})}_cacheRowDefs(){this._headerRowDefs=Ue(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ue(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ue(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ot=this._rowDefs.filter(Mt=>!Mt.when);this._defaultRowDef=ot[0]}_renderUpdatedColumns(){const ot=(Ti,Hi)=>Ti||!!Hi.getColumnsDiff(),Mt=this._rowDefs.reduce(ot,!1);Mt&&this._forceRenderDataRows();const Bt=this._headerRowDefs.reduce(ot,!1);Bt&&this._forceRenderHeaderRows();const Ci=this._footerRowDefs.reduce(ot,!1);return Ci&&this._forceRenderFooterRows(),Mt||Bt||Ci}_switchDataSource(ot){this._data=[],(0,x.y4)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ot||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=ot}_observeRenderChanges(){if(!this.dataSource)return;let ot;(0,x.y4)(this.dataSource)?ot=this.dataSource.connect(this):(0,S.A)(this.dataSource)?ot=this.dataSource:Array.isArray(this.dataSource)&&(ot=(0,y.of)(this.dataSource)),this._renderChangeSubscription=ot.pipe((0,O.Q)(this._onDestroy)).subscribe(Mt=>{this._data=Mt||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ot,Mt)=>this._renderRow(this._headerRowOutlet,ot,Mt)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ot,Mt)=>this._renderRow(this._footerRowOutlet,ot,Mt)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ot,Mt){const Bt=Array.from(Mt.columns||[]).map(Hi=>this._columnDefsByName.get(Hi)),Ci=Bt.map(Hi=>Hi.sticky),Ti=Bt.map(Hi=>Hi.stickyEnd);this._stickyStyler.updateStickyColumns(ot,Ci,Ti,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ot){const Mt=[];for(let Bt=0;Bt!Ci.when||Ci.when(Mt,ot));else{let Ci=this._rowDefs.find(Ti=>Ti.when&&Ti.when(Mt,ot))||this._defaultRowDef;Ci&&Bt.push(Ci)}return Bt}_getEmbeddedViewArgs(ot,Mt){return{templateRef:ot.rowDef.template,context:{$implicit:ot.data},index:Mt}}_renderRow(ot,Mt,Bt,Ci={}){const Ti=ot.viewContainer.createEmbeddedView(Mt.template,Ci,Bt);return this._renderCellTemplateForItem(Mt,Ci),Ti}_renderCellTemplateForItem(ot,Mt){for(let Bt of this._getCellTemplates(ot))N.mostRecentCellOutlet&&N.mostRecentCellOutlet._viewContainer.createEmbeddedView(Bt,Mt);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ot=this._rowOutlet.viewContainer;for(let Mt=0,Bt=ot.length;Mt{const Bt=this._columnDefsByName.get(Mt);return ot.extractCellTemplate(Bt)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ot=(Mt,Bt)=>Mt||Bt.hasStickyChanged();this._headerRowDefs.reduce(ot,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ot,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ot,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new oe(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,O.Q)(this._onDestroy)).subscribe(Mt=>{this._stickyStyler.direction=Mt,this.updateStickyColumnStyles()})}_getOwnDefs(ot){return ot.filter(Mt=>!Mt._table||Mt._table===this)}_updateNoDataRow(){const ot=this._customNoDataRow||this._noDataRow;if(!ot)return;const Mt=0===this._rowOutlet.viewContainer.length;if(Mt===this._isShowingNoDataRow)return;const Bt=this._noDataRowOutlet.viewContainer;if(Mt){const Ci=Bt.createEmbeddedView(ot.templateRef),Ti=Ci.rootNodes[0];1===Ci.rootNodes.length&&Ti?.nodeType===this._document.ELEMENT_NODE&&(Ti.setAttribute("role","row"),Ti.classList.add(ot._contentClassName))}else Bt.clear();this._isShowingNoDataRow=Mt,this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(Mt){return new(Mt||St)(e.rXU(e._q3),e.rXU(e.gRc),e.rXU(e.aKT),e.kS0("role"),e.rXU(t.dS,8),e.rXU(w.qQ),e.rXU(D.OD),e.rXU(x.sL),e.rXU(C),e.rXU(l.Xj),e.rXU(ue,12),e.rXU(e.SKi,8))}}static{this.\u0275cmp=e.VBU({type:St,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(Mt,Bt,Ci){if(1&Mt&&(e.wni(Ci,Xe,5),e.wni(Ci,le,5),e.wni(Ci,z,5),e.wni(Ci,a,5),e.wni(Ci,b,5)),2&Mt){let Ti;e.mGM(Ti=e.lsd())&&(Bt._noDataRow=Ti.first),e.mGM(Ti=e.lsd())&&(Bt._contentColumnDefs=Ti),e.mGM(Ti=e.lsd())&&(Bt._contentRowDefs=Ti),e.mGM(Ti=e.lsd())&&(Bt._contentHeaderRowDefs=Ti),e.mGM(Ti=e.lsd())&&(Bt._contentFooterRowDefs=Ti)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(Mt,Bt){2&Mt&&e.AVh("cdk-table-fixed-layout",Bt.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",e.L39],fixedLayout:[2,"fixedLayout","fixedLayout",e.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[e.Jv_([{provide:ee,useExisting:St},{provide:x.sL,useClass:x.xn},{provide:C,useClass:A},{provide:ue,useValue:null}]),e.GFd,e.aNF],ngContentSelectors:j,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Mt,Bt){1&Mt&&(e.NAR(V),e.SdG(0),e.SdG(1,1),e.DNE(2,Y,1,0)(3,W,7,0)(4,Q,4,0)),2&Mt&&(e.R7$(2),e.vxM(Bt._isServer?2:-1),e.R7$(),e.vxM(Bt._isNativeHtmlTable?3:4))},dependencies:[ct,Ct,Yt,dt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}}return St})();function Ue(St,tt){return St.concat(Array.from(tt))}function je(St,tt){const ot=tt.toUpperCase();let Mt=St.viewContainer.element.nativeElement;for(;Mt;){const Bt=1===Mt.nodeType?Mt.nodeName:null;if(Bt===ot)return Mt;if("TABLE"===Bt)break;Mt=Mt.parentNode}return null}let nt=(()=>{class St{static{this.\u0275fac=function(Mt){return new(Mt||St)}}static{this.\u0275mod=e.$C({type:St})}static{this.\u0275inj=e.G2t({imports:[l.E9]})}}return St})();var Nt=g(6600),yt=g(7786),jt=g(4572),Je=g(4085),et=g(6354);const Ae=[[["caption"]],[["colgroup"],["col"]],"*"],It=["caption","colgroup, col","*"];function Qt(St,tt){1&St&&e.SdG(0,2)}function Tt(St,tt){1&St&&(e.j41(0,"thead",0),e.eu8(1,1),e.k0s(),e.j41(2,"tbody",2),e.eu8(3,3)(4,4),e.k0s(),e.j41(5,"tfoot",0),e.eu8(6,5),e.k0s())}function xt(St,tt){1&St&&e.eu8(0,1)(1,3)(2,4)(3,5)}let Z=(()=>{class St extends we{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275cmp=e.VBU({type:St,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(Mt,Bt){2&Mt&&e.AVh("mdc-table-fixed-layout",Bt.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[e.Jv_([{provide:we,useExisting:St},{provide:ee,useExisting:St},{provide:C,useClass:A},{provide:x.sL,useClass:x.xn},{provide:ue,useValue:null}]),e.Vt3,e.aNF],ngContentSelectors:It,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Mt,Bt){1&Mt&&(e.NAR(Ae),e.SdG(0),e.SdG(1,1),e.DNE(2,Qt,1,0)(3,Tt,7,0)(4,xt,4,0)),2&Mt&&(e.R7$(2),e.vxM(Bt._isServer?2:-1),e.R7$(),e.vxM(Bt._isNativeHtmlTable?3:4))},dependencies:[ct,Ct,Yt,dt],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})(),Re=(()=>{class St extends ne{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matCellDef",""]],standalone:!0,features:[e.Jv_([{provide:ne,useExisting:St}]),e.Vt3]})}}return St})(),Pe=(()=>{class St extends Me{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[e.Jv_([{provide:Me,useExisting:St}]),e.Vt3]})}}return St})(),pt=(()=>{class St extends Ce{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[e.Jv_([{provide:Ce,useExisting:St}]),e.Vt3]})}}return St})(),Ke=(()=>{class St extends le{get name(){return this._name}set name(ot){this._setNameInput(ot)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[e.Jv_([{provide:le,useExisting:St},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:St}]),e.Vt3]})}}return St})(),Fe=(()=>{class St extends n{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[e.Vt3]})}}return St})(),Ge=(()=>{class St extends c{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[e.Vt3]})}}return St})(),qe=(()=>{class St extends m{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[e.Vt3]})}}return St})(),Lt=(()=>{class St extends a{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.Jv_([{provide:a,useExisting:St}]),e.GFd,e.Vt3]})}}return St})(),pi=(()=>{class St extends b{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.Jv_([{provide:b,useExisting:St}]),e.GFd,e.Vt3]})}}return St})(),$t=(()=>{class St extends z{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275dir=e.FsC({type:St,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[e.Jv_([{provide:z,useExisting:St}]),e.Vt3]})}}return St})(),Kt=(()=>{class St extends q{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275cmp=e.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"],standalone:!0,features:[e.Jv_([{provide:q,useExisting:St}]),e.Vt3,e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Bt){1&Mt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}}return St})(),Ui=(()=>{class St extends pe{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275cmp=e.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"],standalone:!0,features:[e.Jv_([{provide:pe,useExisting:St}]),e.Vt3,e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Bt){1&Mt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}}return St})(),ti=(()=>{class St extends ze{static{this.\u0275fac=(()=>{let ot;return function(Bt){return(ot||(ot=e.xGo(St)))(Bt||St)}})()}static{this.\u0275cmp=e.VBU({type:St,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[e.Jv_([{provide:ze,useExisting:St}]),e.Vt3,e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Bt){1&Mt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}}return St})(),Vi=(()=>{class St{static{this.\u0275fac=function(Mt){return new(Mt||St)}}static{this.\u0275mod=e.$C({type:St})}static{this.\u0275inj=e.G2t({imports:[Nt.yE,nt,Nt.yE]})}}return St})();class Xt extends x.qS{get data(){return this._data.value}set data(tt){tt=Array.isArray(tt)?tt:[],this._data.next(tt),this._renderChangesSubscription||this._filterData(tt)}get filter(){return this._filter.value}set filter(tt){this._filter.next(tt),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(tt){this._sort=tt,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(tt){this._paginator=tt,this._updateChangeSubscription()}constructor(tt=[]){super(),this._renderData=new h.t([]),this._filter=new h.t(""),this._internalPageChanges=new f.B,this._renderChangesSubscription=null,this.sortingDataAccessor=(ot,Mt)=>{const Bt=ot[Mt];if((0,Je.o1)(Bt)){const Ci=Number(Bt);return Ci<9007199254740991?Ci:Bt}return Bt},this.sortData=(ot,Mt)=>{const Bt=Mt.active,Ci=Mt.direction;return Bt&&""!=Ci?ot.sort((Ti,Hi)=>{let Zi=this.sortingDataAccessor(Ti,Bt),ln=this.sortingDataAccessor(Hi,Bt);const mn=typeof Zi,Ut=typeof ln;mn!==Ut&&("number"===mn&&(Zi+=""),"number"===Ut&&(ln+=""));let lt=0;return null!=Zi&&null!=ln?Zi>ln?lt=1:Zi{const Bt=Object.keys(ot).reduce((Ti,Hi)=>Ti+ot[Hi]+"\u25ec","").toLowerCase(),Ci=Mt.trim().toLowerCase();return-1!=Bt.indexOf(Ci)},this._data=new h.t(tt),this._updateChangeSubscription()}_updateChangeSubscription(){const tt=this._sort?(0,yt.h)(this._sort.sortChange,this._sort.initialized):(0,y.of)(null),ot=this._paginator?(0,yt.h)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,y.of)(null),Bt=(0,jt.z)([this._data,this._filter]).pipe((0,et.T)(([Hi])=>this._filterData(Hi))),Ci=(0,jt.z)([Bt,tt]).pipe((0,et.T)(([Hi])=>this._orderData(Hi))),Ti=(0,jt.z)([Ci,ot]).pipe((0,et.T)(([Hi])=>this._pageData(Hi)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Ti.subscribe(Hi=>this._renderData.next(Hi))}_filterData(tt){return this.filteredData=null==this.filter||""===this.filter?tt:tt.filter(ot=>this.filterPredicate(ot,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(tt){return this.sort?this.sortData(tt.slice(),this.sort):tt}_pageData(tt){if(!this.paginator)return tt;const ot=this.paginator.pageIndex*this.paginator.pageSize;return tt.slice(ot,ot+this.paginator.pageSize)}_updatePaginator(tt){Promise.resolve().then(()=>{const ot=this.paginator;if(ot&&(ot.length=tt,ot.pageIndex>0)){const Mt=Math.ceil(ot.length/ot.pageSize)-1||0,Bt=Math.min(ot.pageIndex,Mt);Bt!==ot.pageIndex&&(ot.pageIndex=Bt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},6850:(Qe,te,g)=>{"use strict";g.d(te,{Bu:()=>Qt,ES:()=>me,Ql:()=>Tt,RI:()=>Se,T8:()=>et,hQ:()=>xt,mq:()=>ue});var e=g(4438),t=g(6600),x=g(6939),D=g(1413),l=g(3726),w=g(7673),f=g(7786),R=g(983),h=g(1985),S=g(1807),y=g(8359),O=g(4412),I=g(5542),V=g(6860),j=g(8203),Y=g(8617),W=g(7336),Q=g(6977),J=g(6697),ie=g(9172),ee=g(5558),fe=g(5245),ne=g(5964),Me=g(3294),Ce=g(2318),le=g(177),T=g(9969);const n=["*"];function c(Te,ce){1&Te&&e.SdG(0)}const m=["tabListContainer"],d=["tabList"],C=["tabListInner"],A=["nextPaginator"],k=["previousPaginator"],_=Te=>({animationDuration:Te}),a=(Te,ce)=>({value:Te,params:ce});function b(Te,ce){}const z=["tabBodyWrapper"],N=["tabHeader"];function q(Te,ce){}function pe(Te,ce){if(1&Te&&e.DNE(0,q,0,0,"ng-template",12),2&Te){const Z=e.XpG().$implicit;e.Y8G("cdkPortalOutlet",Z.templateLabel)}}function ze(Te,ce){if(1&Te&&e.EFF(0),2&Te){const Z=e.XpG().$implicit;e.JRh(Z.textLabel)}}function Xe(Te,ce){if(1&Te){const Z=e.RV6();e.j41(0,"div",7,2),e.bIt("click",function(){const Pe=e.eBV(Z),pt=Pe.$implicit,Ke=Pe.$index,Fe=e.XpG(),Ge=e.sdS(1);return e.Njj(Fe._handleClick(pt,Ge,Ke))})("cdkFocusChange",function(Pe){const pt=e.eBV(Z).$index,Ke=e.XpG();return e.Njj(Ke._tabFocusChanged(Pe,pt))}),e.nrm(2,"span",8)(3,"div",9),e.j41(4,"span",10)(5,"span",11),e.DNE(6,pe,1,1,null,12)(7,ze,1,1),e.k0s()()()}if(2&Te){const Z=ce.$implicit,Re=ce.$index,Pe=e.sdS(1),pt=e.XpG();e.HbH(Z.labelClass),e.AVh("mdc-tab--active",pt.selectedIndex===Re),e.Y8G("id",pt._getTabLabelId(Re))("disabled",Z.disabled)("fitInkBarToContent",pt.fitInkBarToContent),e.BMQ("tabIndex",pt._getTabIndex(Re))("aria-posinset",Re+1)("aria-setsize",pt._tabs.length)("aria-controls",pt._getTabContentId(Re))("aria-selected",pt.selectedIndex===Re)("aria-label",Z.ariaLabel||null)("aria-labelledby",!Z.ariaLabel&&Z.ariaLabelledby?Z.ariaLabelledby:null),e.R7$(3),e.Y8G("matRippleTrigger",Pe)("matRippleDisabled",Z.disabled||pt.disableRipple),e.R7$(3),e.vxM(Z.templateLabel?6:7)}}function We(Te,ce){1&Te&&e.SdG(0)}function oe(Te,ce){if(1&Te){const Z=e.RV6();e.j41(0,"mat-tab-body",13),e.bIt("_onCentered",function(){e.eBV(Z);const Pe=e.XpG();return e.Njj(Pe._removeTabBodyWrapperHeight())})("_onCentering",function(Pe){e.eBV(Z);const pt=e.XpG();return e.Njj(pt._setTabBodyWrapperHeight(Pe))}),e.k0s()}if(2&Te){const Z=ce.$implicit,Re=ce.$index,Pe=e.XpG();e.HbH(Z.bodyClass),e.AVh("mat-mdc-tab-body-active",Pe.selectedIndex===Re),e.Y8G("id",Pe._getTabContentId(Re))("content",Z.content)("position",Z.position)("origin",Z.origin)("animationDuration",Pe.animationDuration)("preserveContent",Pe.preserveContent),e.BMQ("tabindex",null!=Pe.contentTabIndex&&Pe.selectedIndex===Re?Pe.contentTabIndex:null)("aria-labelledby",Pe._getTabLabelId(Re))("aria-hidden",Pe.selectedIndex!==Re)}}const X=["mat-tab-nav-bar",""],se=["mat-tab-link",""],ae=new e.nKC("MatTabContent");let he=(()=>{class Te{constructor(Z){this.template=Z}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:Te,selectors:[["","matTabContent",""]],standalone:!0,features:[e.Jv_([{provide:ae,useExisting:Te}])]})}}return Te})();const Ie=new e.nKC("MatTabLabel"),st=new e.nKC("MAT_TAB");let me=(()=>{class Te extends x.bV{constructor(Z,Re,Pe){super(Z,Re),this._closestTab=Pe}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.C4Q),e.rXU(e.c1b),e.rXU(st,8))}}static{this.\u0275dir=e.FsC({type:Te,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[e.Jv_([{provide:Ie,useExisting:Te}]),e.Vt3]})}}return Te})();const Ee=new e.nKC("MAT_TAB_GROUP");let ue=(()=>{class Te{get templateLabel(){return this._templateLabel}set templateLabel(Z){this._setTemplateLabelInput(Z)}get content(){return this._contentPortal}constructor(Z,Re){this._viewContainerRef=Z,this._closestTabGroup=Re,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new D.B,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(Z){(Z.hasOwnProperty("textLabel")||Z.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new x.VA(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Z){Z&&Z._closestTab===this&&(this._templateLabel=Z)}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.c1b),e.rXU(Ee,8))}}static{this.\u0275cmp=e.VBU({type:Te,selectors:[["mat-tab"]],contentQueries:function(Re,Pe,pt){if(1&Re&&(e.wni(pt,me,5),e.wni(pt,he,7,e.C4Q)),2&Re){let Ke;e.mGM(Ke=e.lsd())&&(Pe.templateLabel=Ke.first),e.mGM(Ke=e.lsd())&&(Pe._explicitContent=Ke.first)}},viewQuery:function(Re,Pe){if(1&Re&&e.GBs(e.C4Q,7),2&Re){let pt;e.mGM(pt=e.lsd())&&(Pe._implicitContent=pt.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",e.L39],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[e.Jv_([{provide:st,useExisting:Te}]),e.GFd,e.OA$,e.aNF],ngContentSelectors:n,decls:1,vars:0,template:function(Re,Pe){1&Re&&(e.NAR(),e.DNE(0,c,1,0,"ng-template"))},encapsulation:2})}}return Te})();const Be="mdc-tab-indicator--active",Ct="mdc-tab-indicator--no-transition";class ct{constructor(ce){this._items=ce}hide(){this._items.forEach(ce=>ce.deactivateInkBar())}alignToElement(ce){const Z=this._items.find(Pe=>Pe.elementRef.nativeElement===ce),Re=this._currentItem;if(Z!==Re&&(Re?.deactivateInkBar(),Z)){const Pe=Re?.elementRef.nativeElement.getBoundingClientRect?.();Z.activateInkBar(Pe),this._currentItem=Z}}}let dt=(()=>{class Te{constructor(){this._elementRef=(0,e.WQX)(e.aKT),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Z){this._fitToContent!==Z&&(this._fitToContent=Z,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Z){const Re=this._elementRef.nativeElement;if(!Z||!Re.getBoundingClientRect||!this._inkBarContentElement)return void Re.classList.add(Be);const Pe=Re.getBoundingClientRect(),pt=Z.width/Pe.width,Ke=Z.left-Pe.left;Re.classList.add(Ct),this._inkBarContentElement.style.setProperty("transform",`translateX(${Ke}px) scaleX(${pt})`),Re.getBoundingClientRect(),Re.classList.remove(Ct),Re.classList.add(Be),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Be)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const Z=this._elementRef.nativeElement.ownerDocument||document,Re=this._inkBarElement=Z.createElement("span"),Pe=this._inkBarContentElement=Z.createElement("span");Re.className="mdc-tab-indicator",Pe.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",Re.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static{this.\u0275fac=function(Re){return new(Re||Te)}}static{this.\u0275dir=e.FsC({type:Te,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",e.L39]},features:[e.GFd]})}}return Te})(),_e=(()=>{class Te extends dt{constructor(Z){super(),this.elementRef=Z,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:Te,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Re,Pe){2&Re&&(e.BMQ("aria-disabled",!!Pe.disabled),e.AVh("mat-mdc-tab-disabled",Pe.disabled))},inputs:{disabled:[2,"disabled","disabled",e.L39]},standalone:!0,features:[e.GFd,e.Vt3]})}}return Te})();const we=(0,V.BQ)({passive:!0});let vt=(()=>{class Te{get selectedIndex(){return this._selectedIndex}set selectedIndex(Z){const Re=isNaN(Z)?0:Z;this._selectedIndex!=Re&&(this._selectedIndexChanged=!0,this._selectedIndex=Re,this._keyManager&&this._keyManager.updateActiveItem(Re))}constructor(Z,Re,Pe,pt,Ke,Fe,Ge){this._elementRef=Z,this._changeDetectorRef=Re,this._viewportRuler=Pe,this._dir=pt,this._ngZone=Ke,this._platform=Fe,this._animationMode=Ge,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,Ke.runOutsideAngular(()=>{(0,l.R)(Z.nativeElement,"mouseleave").pipe((0,Q.Q)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,l.R)(this._previousPaginator.nativeElement,"touchstart",we).pipe((0,Q.Q)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,l.R)(this._nextPaginator.nativeElement,"touchstart",we).pipe((0,Q.Q)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Z=this._dir?this._dir.change:(0,w.of)("ltr"),Re=this._viewportRuler.change(150),Pe=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Y.Bu(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,J.s)(1)).subscribe(Pe),(0,f.h)(Z,Re,this._items.changes,this._itemsResized()).pipe((0,Q.Q)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Pe()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(pt=>{this.indexFocused.emit(pt),this._setTabFocus(pt)})}_itemsResized(){return"function"!=typeof ResizeObserver?R.w:this._items.changes.pipe((0,ie.Z)(this._items),(0,ee.n)(Z=>new h.c(Re=>this._ngZone.runOutsideAngular(()=>{const Pe=new ResizeObserver(pt=>Re.next(pt));return Z.forEach(pt=>Pe.observe(pt.elementRef.nativeElement)),()=>{Pe.disconnect()}}))),(0,fe.i)(1),(0,ne.p)(Z=>Z.some(Re=>Re.contentRect.width>0&&Re.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(Z){if(!(0,W.rp)(Z))switch(Z.keyCode){case W.Fm:case W.t6:if(this.focusIndex!==this.selectedIndex){const Re=this._items.get(this.focusIndex);Re&&!Re.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Z))}break;default:this._keyManager.onKeydown(Z)}}_onContentChanges(){const Z=this._elementRef.nativeElement.textContent;Z!==this._currentTextContent&&(this._currentTextContent=Z||"",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(Z){!this._isValidIndex(Z)||this.focusIndex===Z||!this._keyManager||this._keyManager.setActiveItem(Z)}_isValidIndex(Z){return!this._items||!!this._items.toArray()[Z]}_setTabFocus(Z){if(this._showPaginationControls&&this._scrollToLabel(Z),this._items&&this._items.length){this._items.toArray()[Z].focus();const Re=this._tabListContainer.nativeElement;Re.scrollLeft="ltr"==this._getLayoutDirection()?0:Re.scrollWidth-Re.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Z=this.scrollDistance,Re="ltr"===this._getLayoutDirection()?-Z:Z;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Re)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Z){this._scrollTo(Z)}_scrollHeader(Z){return this._scrollTo(this._scrollDistance+("before"==Z?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Z){this._stopInterval(),this._scrollHeader(Z)}_scrollToLabel(Z){if(this.disablePagination)return;const Re=this._items?this._items.toArray()[Z]:null;if(!Re)return;const Pe=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:pt,offsetWidth:Ke}=Re.elementRef.nativeElement;let Fe,Ge;"ltr"==this._getLayoutDirection()?(Fe=pt,Ge=Fe+Ke):(Ge=this._tabListInner.nativeElement.offsetWidth-pt,Fe=Ge-Ke);const qe=this.scrollDistance,at=this.scrollDistance+Pe;Feat&&(this.scrollDistance+=Math.min(Ge-at,Fe-qe))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Z=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Z||(this.scrollDistance=0),Z!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Z}}_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 Z=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Re=Z?Z.elementRef.nativeElement:null;Re?this._inkBar.alignToElement(Re):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Z,Re){Re&&null!=Re.button&&0!==Re.button||(this._stopInterval(),(0,S.O)(650,100).pipe((0,Q.Q)((0,f.h)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Pe,distance:pt}=this._scrollHeader(Z);(0===pt||pt>=Pe)&&this._stopInterval()}))}_scrollTo(Z){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Re=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Re,Z)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Re,distance:this._scrollDistance}}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(I.Xj),e.rXU(j.dS,8),e.rXU(e.SKi),e.rXU(V.OD),e.rXU(e.bc$,8))}}static{this.\u0275dir=e.FsC({type:Te,inputs:{disablePagination:[2,"disablePagination","disablePagination",e.L39],selectedIndex:[2,"selectedIndex","selectedIndex",e.Udg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[e.GFd]})}}return Te})(),$e=(()=>{class Te extends vt{constructor(Z,Re,Pe,pt,Ke,Fe,Ge){super(Z,Re,Pe,pt,Ke,Fe,Ge),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new ct(this._items),super.ngAfterContentInit()}_itemSelected(Z){Z.preventDefault()}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(I.Xj),e.rXU(j.dS,8),e.rXU(e.SKi),e.rXU(V.OD),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:Te,selectors:[["mat-tab-header"]],contentQueries:function(Re,Pe,pt){if(1&Re&&e.wni(pt,_e,4),2&Re){let Ke;e.mGM(Ke=e.lsd())&&(Pe._items=Ke)}},viewQuery:function(Re,Pe){if(1&Re&&(e.GBs(m,7),e.GBs(d,7),e.GBs(C,7),e.GBs(A,5),e.GBs(k,5)),2&Re){let pt;e.mGM(pt=e.lsd())&&(Pe._tabListContainer=pt.first),e.mGM(pt=e.lsd())&&(Pe._tabList=pt.first),e.mGM(pt=e.lsd())&&(Pe._tabListInner=pt.first),e.mGM(pt=e.lsd())&&(Pe._nextPaginator=pt.first),e.mGM(pt=e.lsd())&&(Pe._previousPaginator=pt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(Re,Pe){2&Re&&e.AVh("mat-mdc-tab-header-pagination-controls-enabled",Pe._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Pe._getLayoutDirection())},inputs:{disableRipple:[2,"disableRipple","disableRipple",e.L39]},standalone:!0,features:[e.GFd,e.Vt3,e.aNF],ngContentSelectors:n,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(Re,Pe){if(1&Re){const pt=e.RV6();e.NAR(),e.j41(0,"button",5,0),e.bIt("click",function(){return e.eBV(pt),e.Njj(Pe._handlePaginatorClick("before"))})("mousedown",function(Fe){return e.eBV(pt),e.Njj(Pe._handlePaginatorPress("before",Fe))})("touchend",function(){return e.eBV(pt),e.Njj(Pe._stopInterval())}),e.nrm(2,"div",6),e.k0s(),e.j41(3,"div",7,1),e.bIt("keydown",function(Fe){return e.eBV(pt),e.Njj(Pe._handleKeydown(Fe))}),e.j41(5,"div",8,2),e.bIt("cdkObserveContent",function(){return e.eBV(pt),e.Njj(Pe._onContentChanges())}),e.j41(7,"div",9,3),e.SdG(9),e.k0s()()(),e.j41(10,"button",10,4),e.bIt("mousedown",function(Fe){return e.eBV(pt),e.Njj(Pe._handlePaginatorPress("after",Fe))})("click",function(){return e.eBV(pt),e.Njj(Pe._handlePaginatorClick("after"))})("touchend",function(){return e.eBV(pt),e.Njj(Pe._stopInterval())}),e.nrm(12,"div",6),e.k0s()}2&Re&&(e.AVh("mat-mdc-tab-header-pagination-disabled",Pe._disableScrollBefore),e.Y8G("matRippleDisabled",Pe._disableScrollBefore||Pe.disableRipple)("disabled",Pe._disableScrollBefore||null),e.R7$(3),e.AVh("_mat-animation-noopable","NoopAnimations"===Pe._animationMode),e.R7$(7),e.AVh("mat-mdc-tab-header-pagination-disabled",Pe._disableScrollAfter),e.Y8G("matRippleDisabled",Pe._disableScrollAfter||Pe.disableRipple)("disabled",Pe._disableScrollAfter||null))},dependencies:[t.r6,Ce.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;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.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 Te})();const nt=new e.nKC("MAT_TABS_CONFIG"),qt={translateTab:(0,T.hZ)("translateTab",[(0,T.wk)("center, void, left-origin-center, right-origin-center",(0,T.iF)({transform:"none"})),(0,T.wk)("left",(0,T.iF)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,T.wk)("right",(0,T.iF)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,T.kY)("* => left, * => right, left => center, right => center",(0,T.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,T.kY)("void => left-origin-center",[(0,T.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,T.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,T.kY)("void => right-origin-center",[(0,T.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,T.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Nt=(()=>{class Te extends x.I3{constructor(Z,Re,Pe,pt){super(Z,Re,pt),this._host=Pe,this._centeringSub=y.yU.EMPTY,this._leavingSub=y.yU.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,ie.Z)(this._host._isCenterPosition(this._host._position))).subscribe(Z=>{Z&&!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(Re){return new(Re||Te)(e.rXU(e.OM3),e.rXU(e.c1b),e.rXU((0,e.Rfq)(()=>yt)),e.rXU(le.qQ))}}static{this.\u0275dir=e.FsC({type:Te,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[e.Vt3]})}}return Te})(),yt=(()=>{class Te{set position(Z){this._positionIndex=Z,this._computePositionAnimationState()}constructor(Z,Re,Pe){this._elementRef=Z,this._dir=Re,this._dirChangeSubscription=y.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,Re&&(this._dirChangeSubscription=Re.change.subscribe(pt=>{this._computePositionAnimationState(pt),Pe.markForCheck()})),this._translateTabComplete.pipe((0,Me.F)((pt,Ke)=>pt.fromState===Ke.fromState&&pt.toState===Ke.toState)).subscribe(pt=>{this._isCenterPosition(pt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(pt.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(Z){const Re=this._isCenterPosition(Z.toState);this._beforeCentering.emit(Re),Re&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Z){return"center"==Z||"left-origin-center"==Z||"right-origin-center"==Z}_computePositionAnimationState(Z=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Z?"left":"right":this._positionIndex>0?"ltr"==Z?"right":"left":"center"}_computePositionFromOrigin(Z){const Re=this._getLayoutDirection();return"ltr"==Re&&Z<=0||"rtl"==Re&&Z>0?"left-origin-center":"right-origin-center"}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.aKT),e.rXU(j.dS,8),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:Te,selectors:[["mat-tab-body"]],viewQuery:function(Re,Pe){if(1&Re&&e.GBs(x.I3,5),2&Re){let pt;e.mGM(pt=e.lsd())&&(Pe._portalHost=pt.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"},standalone:!0,features:[e.aNF],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(Re,Pe){if(1&Re){const pt=e.RV6();e.j41(0,"div",1,0),e.bIt("@translateTab.start",function(Fe){return e.eBV(pt),e.Njj(Pe._onTranslateTabStarted(Fe))})("@translateTab.done",function(Fe){return e.eBV(pt),e.Njj(Pe._translateTabComplete.next(Fe))}),e.DNE(2,b,0,0,"ng-template",2),e.k0s()}2&Re&&e.Y8G("@translateTab",e.l_i(3,a,Pe._position,e.eq3(1,_,Pe.animationDuration)))},dependencies:[Nt,I.uv],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:[qt.translateTab]}})}}return Te})(),jt=0,et=(()=>{class Te{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(Z){this._fitInkBarToContent=Z,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(Z){this._indexToSelect=isNaN(Z)?null:Z}get animationDuration(){return this._animationDuration}set animationDuration(Z){const Re=Z+"";this._animationDuration=/^\d+$/.test(Re)?Z+"ms":Re}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Z){this._contentTabIndex=isNaN(Z)?null:Z}get backgroundColor(){return this._backgroundColor}set backgroundColor(Z){const Re=this._elementRef.nativeElement.classList;Re.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Z&&Re.add("mat-tabs-with-background",`mat-background-${Z}`),this._backgroundColor=Z}constructor(Z,Re,Pe,pt){this._elementRef=Z,this._changeDetectorRef=Re,this._animationMode=pt,this._tabs=new e.rOR,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=y.yU.EMPTY,this._tabLabelSubscription=y.yU.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!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._isServer=!(0,e.WQX)(V.OD).isBrowser,this._groupId=jt++,this.animationDuration=Pe&&Pe.animationDuration?Pe.animationDuration:"500ms",this.disablePagination=!(!Pe||null==Pe.disablePagination)&&Pe.disablePagination,this.dynamicHeight=!(!Pe||null==Pe.dynamicHeight)&&Pe.dynamicHeight,null!=Pe?.contentTabIndex&&(this.contentTabIndex=Pe.contentTabIndex),this.preserveContent=!!Pe?.preserveContent,this.fitInkBarToContent=!(!Pe||null==Pe.fitInkBarToContent)&&Pe.fitInkBarToContent,this.stretchTabs=!Pe||null==Pe.stretchTabs||Pe.stretchTabs}ngAfterContentChecked(){const Z=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Z){const Re=null==this._selectedIndex;if(!Re){this.selectedTabChange.emit(this._createChangeEvent(Z));const Pe=this._tabBodyWrapper.nativeElement;Pe.style.minHeight=Pe.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Pe,pt)=>Pe.isActive=pt===Z),Re||(this.selectedIndexChange.emit(Z),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Re,Pe)=>{Re.position=Pe-Z,null!=this._selectedIndex&&0==Re.position&&!Re.origin&&(Re.origin=Z-this._selectedIndex)}),this._selectedIndex!==Z&&(this._selectedIndex=Z,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Z=this._clampTabIndex(this._indexToSelect);if(Z===this._selectedIndex){const Re=this._tabs.toArray();let Pe;for(let pt=0;pt{Re[Z].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Z))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,ie.Z)(this._allTabs)).subscribe(Z=>{this._tabs.reset(Z.filter(Re=>Re._closestTabGroup===this||!Re._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(Z){const Re=this._tabHeader;Re&&(Re.focusIndex=Z)}_focusChanged(Z){this._lastFocusedTabIndex=Z,this.focusChange.emit(this._createChangeEvent(Z))}_createChangeEvent(Z){const Re=new Ae;return Re.index=Z,this._tabs&&this._tabs.length&&(Re.tab=this._tabs.toArray()[Z]),Re}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,f.h)(...this._tabs.map(Z=>Z._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Z){return Math.min(this._tabs.length-1,Math.max(Z||0,0))}_getTabLabelId(Z){return`mat-tab-label-${this._groupId}-${Z}`}_getTabContentId(Z){return`mat-tab-content-${this._groupId}-${Z}`}_setTabBodyWrapperHeight(Z){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;const Re=this._tabBodyWrapper.nativeElement;Re.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Re.style.height=Z+"px")}_removeTabBodyWrapperHeight(){const Z=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Z.clientHeight,Z.style.height="",this.animationDone.emit()}_handleClick(Z,Re,Pe){Re.focusIndex=Pe,Z.disabled||(this.selectedIndex=Pe)}_getTabIndex(Z){return Z===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Z,Re){Z&&"mouse"!==Z&&"touch"!==Z&&(this._tabHeader.focusIndex=Re)}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(nt,8),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:Te,selectors:[["mat-tab-group"]],contentQueries:function(Re,Pe,pt){if(1&Re&&e.wni(pt,ue,5),2&Re){let Ke;e.mGM(Ke=e.lsd())&&(Pe._allTabs=Ke)}},viewQuery:function(Re,Pe){if(1&Re&&(e.GBs(z,5),e.GBs(N,5)),2&Re){let pt;e.mGM(pt=e.lsd())&&(Pe._tabBodyWrapper=pt.first),e.mGM(pt=e.lsd())&&(Pe._tabHeader=pt.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(Re,Pe){2&Re&&(e.HbH("mat-"+(Pe.color||"primary")),e.xc7("--mat-tab-animation-duration",Pe.animationDuration),e.AVh("mat-mdc-tab-group-dynamic-height",Pe.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Pe.headerPosition)("mat-mdc-tab-group-stretch-tabs",Pe.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",e.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",e.L39],dynamicHeight:[2,"dynamicHeight","dynamicHeight",e.L39],selectedIndex:[2,"selectedIndex","selectedIndex",e.Udg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",e.Udg],disablePagination:[2,"disablePagination","disablePagination",e.L39],disableRipple:[2,"disableRipple","disableRipple",e.L39],preserveContent:[2,"preserveContent","preserveContent",e.L39],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[e.Jv_([{provide:Ee,useExisting:Te}]),e.GFd,e.aNF],ngContentSelectors:n,decls:9,vars:6,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","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","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","content","position","origin","animationDuration","preserveContent"]],template:function(Re,Pe){if(1&Re){const pt=e.RV6();e.NAR(),e.j41(0,"mat-tab-header",3,0),e.bIt("indexFocused",function(Fe){return e.eBV(pt),e.Njj(Pe._focusChanged(Fe))})("selectFocusedIndex",function(Fe){return e.eBV(pt),e.Njj(Pe.selectedIndex=Fe)}),e.Z7z(2,Xe,8,17,"div",4,e.fX1),e.k0s(),e.DNE(4,We,1,0),e.j41(5,"div",5,1),e.Z7z(7,oe,1,13,"mat-tab-body",6,e.fX1),e.k0s()}2&Re&&(e.Y8G("selectedIndex",Pe.selectedIndex||0)("disableRipple",Pe.disableRipple)("disablePagination",Pe.disablePagination),e.R7$(2),e.Dyx(Pe._tabs),e.R7$(2),e.vxM(Pe._isServer?4:-1),e.R7$(),e.AVh("_mat-animation-noopable","NoopAnimations"===Pe._animationMode),e.R7$(2),e.Dyx(Pe._tabs))},dependencies:[$e,_e,Y.vR,t.r6,x.I3,yt],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 Te})();class Ae{}let It=0,Qt=(()=>{class Te extends vt{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(Z){this._fitInkBarToContent.next(Z),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(Z){const Re=Z+"";this._animationDuration=/^\d+$/.test(Re)?Z+"ms":Re}get backgroundColor(){return this._backgroundColor}set backgroundColor(Z){const Re=this._elementRef.nativeElement.classList;Re.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Z&&Re.add("mat-tabs-with-background",`mat-background-${Z}`),this._backgroundColor=Z}constructor(Z,Re,Pe,pt,Ke,Fe,Ge,qe){super(Z,pt,Ke,Re,Pe,Fe,Ge),this._fitInkBarToContent=new O.t(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=!(!qe||null==qe.disablePagination)&&qe.disablePagination,this.fitInkBarToContent=!(!qe||null==qe.fitInkBarToContent)&&qe.fitInkBarToContent,this.stretchTabs=!qe||null==qe.stretchTabs||qe.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new ct(this._items),this._items.changes.pipe((0,ie.Z)(null),(0,Q.Q)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const Z=this._items.toArray();for(let Re=0;Re.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;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.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 Te})(),Tt=(()=>{class Te extends dt{get active(){return this._isActive}set active(Z){Z!==this._isActive&&(this._isActive=Z,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(Z,Re,Pe,pt,Ke,Fe){super(),this._tabNavBar=Z,this.elementRef=Re,this._focusMonitor=Ke,this._destroyed=new D.B,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id="mat-tab-link-"+It++,this.rippleConfig=Pe||{},this.tabIndex=parseInt(pt)||0,"NoopAnimations"===Fe&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),Z._fitInkBarToContent.pipe((0,Q.Q)(this._destroyed)).subscribe(Ge=>{this.fitInkBarToContent=Ge})}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(Z){(Z.keyCode===W.t6||Z.keyCode===W.Fm)&&(this.disabled?Z.preventDefault():this._tabNavBar.tabPanel&&(Z.keyCode===W.t6&&Z.preventDefault(),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.disabled?-1:this.tabIndex}static{this.\u0275fac=function(Re){return new(Re||Te)(e.rXU(Qt),e.rXU(e.aKT),e.rXU(t.$E,8),e.kS0("tabindex"),e.rXU(Y.FN),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:Te,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(Re,Pe){1&Re&&e.bIt("focus",function(){return Pe._handleFocus()})("keydown",function(Ke){return Pe._handleKeydown(Ke)}),2&Re&&(e.BMQ("aria-controls",Pe._getAriaControls())("aria-current",Pe._getAriaCurrent())("aria-disabled",Pe.disabled)("aria-selected",Pe._getAriaSelected())("id",Pe.id)("tabIndex",Pe._getTabIndex())("role",Pe._getRole()),e.AVh("mat-mdc-tab-disabled",Pe.disabled)("mdc-tab--active",Pe.active))},inputs:{active:[2,"active","active",e.L39],disabled:[2,"disabled","disabled",e.L39],disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",Z=>null==Z?0:(0,e.Udg)(Z)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[e.GFd,e.Vt3,e.aNF],attrs:se,ngContentSelectors:n,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(Re,Pe){1&Re&&(e.NAR(),e.nrm(0,"span",0)(1,"div",1),e.j41(2,"span",2)(3,"span",3),e.SdG(4),e.k0s()()),2&Re&&(e.R7$(),e.Y8G("matRippleTrigger",Pe.elementRef.nativeElement)("matRippleDisabled",Pe.rippleDisabled))},dependencies:[t.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 Te})(),xt=(()=>{class Te{constructor(){this.id="mat-tab-nav-panel-"+It++}static{this.\u0275fac=function(Re){return new(Re||Te)}}static{this.\u0275cmp=e.VBU({type:Te,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(Re,Pe){2&Re&&e.BMQ("aria-labelledby",Pe._activeTabId)("id",Pe.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[e.aNF],ngContentSelectors:n,decls:1,vars:0,template:function(Re,Pe){1&Re&&(e.NAR(),e.SdG(0))},encapsulation:2,changeDetection:0})}}return Te})(),Se=(()=>{class Te{static{this.\u0275fac=function(Re){return new(Re||Te)}}static{this.\u0275mod=e.$C({type:Te})}static{this.\u0275inj=e.G2t({imports:[t.yE,t.yE]})}}return Te})()},5911:(Qe,te,g)=>{"use strict";g.d(te,{KQ:()=>R,s5:()=>S});var e=g(4438),t=g(6600),x=g(6860),D=g(177);const l=["*",[["mat-toolbar-row"]]],w=["*","mat-toolbar-row"];let f=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275dir=e.FsC({type:y,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0})}}return y})(),R=(()=>{class y{constructor(I,V,j){this._elementRef=I,this._platform=V,this._document=j}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static{this.\u0275fac=function(V){return new(V||y)(e.rXU(e.aKT),e.rXU(x.OD),e.rXU(D.qQ))}}static{this.\u0275cmp=e.VBU({type:y,selectors:[["mat-toolbar"]],contentQueries:function(V,j,Y){if(1&V&&e.wni(Y,f,5),2&V){let W;e.mGM(W=e.lsd())&&(j._toolbarRows=W)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(V,j){2&V&&(e.HbH(j.color?"mat-"+j.color:""),e.AVh("mat-toolbar-multiple-rows",j._toolbarRows.length>0)("mat-toolbar-single-row",0===j._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[e.aNF],ngContentSelectors:w,decls:2,vars:0,template:function(V,j){1&V&&(e.NAR(l),e.SdG(0),e.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:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.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 y})(),S=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275mod=e.$C({type:y})}static{this.\u0275inj=e.G2t({imports:[t.yE,t.yE]})}}return y})()},4823:(Qe,te,g)=>{"use strict";g.d(te,{oV:()=>d,uc:()=>k});var e=g(6977),t=g(6697),x=g(4085),D=g(7336),l=g(4438),w=g(177),f=g(6860),R=g(8617),h=g(8203),S=g(6969),y=g(5542),O=g(6939),I=g(1413),j=(g(9969),g(6600));const Y=["tooltip"],J=new l.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const _=(0,l.WQX)(S.hJ);return()=>_.scrollStrategies.reposition({scrollThrottle:20})}}),ee={provide:J,deps:[S.hJ],useFactory:function ie(_){return()=>_.scrollStrategies.reposition({scrollThrottle:20})}},ne=new l.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function fe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Ce="tooltip-panel",le=(0,f.BQ)({passive:!0});let d=(()=>{class _{get position(){return this._position}set position(b){b!==this._position&&(this._position=b,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(b){this._positionAtOrigin=(0,x.he)(b),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(b){this._disabled=(0,x.he)(b),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(b){this._showDelay=(0,x.OE)(b)}get hideDelay(){return this._hideDelay}set hideDelay(b){this._hideDelay=(0,x.OE)(b),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(b){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=b?String(b).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(b){this._tooltipClass=b,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(b,z,N,q,pe,ze,Xe,We,oe,X,se,ae){this._overlay=b,this._elementRef=z,this._scrollDispatcher=N,this._viewContainerRef=q,this._ngZone=pe,this._platform=ze,this._ariaDescriber=Xe,this._focusMonitor=We,this._dir=X,this._defaultOptions=se,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=C,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new I.B,this._scrollStrategy=oe,this._document=ae,se&&(this._showDelay=se.showDelay,this._hideDelay=se.hideDelay,se.position&&(this.position=se.position),se.positionAtOrigin&&(this.positionAtOrigin=se.positionAtOrigin),se.touchGestures&&(this.touchGestures=se.touchGestures)),X.change.pipe((0,e.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,e.Q)(this._destroyed)).subscribe(b=>{b?"keyboard"===b&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const b=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([z,N])=>{b.removeEventListener(z,N,le)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(b,this.message,"tooltip"),this._focusMonitor.stopMonitoring(b)}show(b=this.showDelay,z){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const N=this._createOverlay(z);this._detach(),this._portal=this._portal||new O.A8(this._tooltipComponent,this._viewContainerRef);const q=this._tooltipInstance=N.attach(this._portal).instance;q._triggerElement=this._elementRef.nativeElement,q._mouseLeaveHideDelay=this._hideDelay,q.afterHidden().pipe((0,e.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),q.show(b)}hide(b=this.hideDelay){const z=this._tooltipInstance;z&&(z.isVisible()?z.hide(b):(z._cancelPendingAnimations(),this._detach()))}toggle(b){this._isTooltipVisible()?this.hide():this.show(void 0,b)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(b){if(this._overlayRef){const q=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!b)&&q._origin instanceof l.aKT)return this._overlayRef;this._detach()}const z=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),N=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&b||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(z);return N.positionChanges.pipe((0,e.Q)(this._destroyed)).subscribe(q=>{this._updateCurrentPositionClass(q.connectionPair),this._tooltipInstance&&q.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:N,panelClass:`${this._cssClassPrefix}-${Ce}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,e.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,e.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,e.Q)(this._destroyed)).subscribe(q=>{this._isTooltipVisible()&&q.keyCode===D._f&&!(0,D.rp)(q)&&(q.preventDefault(),q.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(b){const z=b.getConfig().positionStrategy,N=this._getOrigin(),q=this._getOverlayPosition();z.withPositions([this._addOffset({...N.main,...q.main}),this._addOffset({...N.fallback,...q.fallback})])}_addOffset(b){const N=!this._dir||"ltr"==this._dir.value;return"top"===b.originY?b.offsetY=-8:"bottom"===b.originY?b.offsetY=8:"start"===b.originX?b.offsetX=N?-8:8:"end"===b.originX&&(b.offsetX=N?8:-8),b}_getOrigin(){const b=!this._dir||"ltr"==this._dir.value,z=this.position;let N;"above"==z||"below"==z?N={originX:"center",originY:"above"==z?"top":"bottom"}:"before"==z||"left"==z&&b||"right"==z&&!b?N={originX:"start",originY:"center"}:("after"==z||"right"==z&&b||"left"==z&&!b)&&(N={originX:"end",originY:"center"});const{x:q,y:pe}=this._invertPosition(N.originX,N.originY);return{main:N,fallback:{originX:q,originY:pe}}}_getOverlayPosition(){const b=!this._dir||"ltr"==this._dir.value,z=this.position;let N;"above"==z?N={overlayX:"center",overlayY:"bottom"}:"below"==z?N={overlayX:"center",overlayY:"top"}:"before"==z||"left"==z&&b||"right"==z&&!b?N={overlayX:"end",overlayY:"center"}:("after"==z||"right"==z&&b||"left"==z&&!b)&&(N={overlayX:"start",overlayY:"center"});const{x:q,y:pe}=this._invertPosition(N.overlayX,N.overlayY);return{main:N,fallback:{overlayX:q,overlayY:pe}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,t.s)(1),(0,e.Q)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(b){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=b,this._tooltipInstance._markForCheck())}_invertPosition(b,z){return"above"===this.position||"below"===this.position?"top"===z?z="bottom":"bottom"===z&&(z="top"):"end"===b?b="start":"start"===b&&(b="end"),{x:b,y:z}}_updateCurrentPositionClass(b){const{overlayY:z,originX:N,originY:q}=b;let pe;if(pe="center"===z?this._dir&&"rtl"===this._dir.value?"end"===N?"left":"right":"start"===N?"left":"right":"bottom"===z&&"top"===q?"above":"below",pe!==this._currentPosition){const ze=this._overlayRef;if(ze){const Xe=`${this._cssClassPrefix}-${Ce}-`;ze.removePanelClass(Xe+this._currentPosition),ze.addPanelClass(Xe+pe)}this._currentPosition=pe}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",b=>{let z;this._setupPointerExitEventsIfNeeded(),void 0!==b.x&&void 0!==b.y&&(z=b),this.show(void 0,z)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",b=>{const z=b.targetTouches?.[0],N=z?{x:z.clientX,y:z.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,N),this._defaultOptions.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const b=[];if(this._platformSupportsMouseEvents())b.push(["mouseleave",z=>{const N=z.relatedTarget;(!N||!this._overlayRef?.overlayElement.contains(N))&&this.hide()}],["wheel",z=>this._wheelListener(z)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const z=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};b.push(["touchend",z],["touchcancel",z])}this._addListeners(b),this._passiveListeners.push(...b)}_addListeners(b){b.forEach(([z,N])=>{this._elementRef.nativeElement.addEventListener(z,N,le)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(b){if(this._isTooltipVisible()){const z=this._document.elementFromPoint(b.clientX,b.clientY),N=this._elementRef.nativeElement;z!==N&&!N.contains(z)&&this.hide()}}_disableNativeGesturesIfNecessary(){const b=this.touchGestures;if("off"!==b){const z=this._elementRef.nativeElement,N=z.style;("on"===b||"INPUT"!==z.nodeName&&"TEXTAREA"!==z.nodeName)&&(N.userSelect=N.msUserSelect=N.webkitUserSelect=N.MozUserSelect="none"),("on"===b||!z.draggable)&&(N.webkitUserDrag="none"),N.touchAction="none",N.webkitTapHighlightColor="transparent"}}static{this.\u0275fac=function(z){return new(z||_)(l.rXU(S.hJ),l.rXU(l.aKT),l.rXU(y.R),l.rXU(l.c1b),l.rXU(l.SKi),l.rXU(f.OD),l.rXU(R.vr),l.rXU(R.FN),l.rXU(J),l.rXU(h.dS),l.rXU(ne,8),l.rXU(w.qQ))}}static{this.\u0275dir=l.FsC({type:_,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(z,N){2&z&&l.AVh("mat-mdc-tooltip-disabled",N.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"],standalone:!0})}}return _})(),C=(()=>{class _{constructor(b,z,N){this._changeDetectorRef=b,this._elementRef=z,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new I.B,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===N}show(b){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},b)}hide(b){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},b)}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:b}){(!b||!this._triggerElement.contains(b))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const b=this._elementRef.nativeElement.getBoundingClientRect();return b.height>24&&b.width>=200}_handleAnimationEnd({animationName:b}){(b===this._showAnimation||b===this._hideAnimation)&&this._finalizeAnimation(b===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(b){b?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(b){const z=this._tooltip.nativeElement,N=this._showAnimation,q=this._hideAnimation;if(z.classList.remove(b?q:N),z.classList.add(b?N:q),this._isVisible!==b&&(this._isVisible=b,this._changeDetectorRef.markForCheck()),b&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const pe=getComputedStyle(z);("0s"===pe.getPropertyValue("animation-duration")||"none"===pe.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}b&&this._onShow(),this._animationsDisabled&&(z.classList.add("_mat-animation-noopable"),this._finalizeAnimation(b))}static{this.\u0275fac=function(z){return new(z||_)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.bc$,8))}}static{this.\u0275cmp=l.VBU({type:_,selectors:[["mat-tooltip-component"]],viewQuery:function(z,N){if(1&z&&l.GBs(Y,7),2&z){let q;l.mGM(q=l.lsd())&&(N._tooltip=q.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(z,N){1&z&&l.bIt("mouseleave",function(pe){return N._handleMouseLeave(pe)}),2&z&&l.xc7("zoom",N.isVisible()?1:null)},standalone:!0,features:[l.aNF],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(z,N){if(1&z){const q=l.RV6();l.j41(0,"div",1,0),l.bIt("animationend",function(ze){return l.eBV(q),l.Njj(N._handleAnimationEnd(ze))}),l.j41(2,"div",2),l.EFF(3),l.k0s()()}2&z&&(l.AVh("mdc-tooltip--multiline",N._isMultiline),l.Y8G("ngClass",N.tooltipClass),l.R7$(3),l.JRh(N.message))},dependencies:[w.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.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 _})(),k=(()=>{class _{static{this.\u0275fac=function(z){return new(z||_)}}static{this.\u0275mod=l.$C({type:_})}static{this.\u0275inj=l.G2t({providers:[ee],imports:[R.Pd,w.MD,S.z_,j.yE,j.yE,y.Gj]})}}return _})()},7358:(Qe,te,g)=>{"use strict";g.d(te,{Zh:()=>J,d6:()=>R,jH:()=>Y,lQ:()=>I,pO:()=>V,q1:()=>S,wx:()=>O,yI:()=>h});var e=g(4109),t=g(4438),x=g(6600),D=g(5024),l=g(4412),w=g(7786),f=g(6354);let R=(()=>{class ie extends e.xn{constructor(fe,ne,Me){super(fe,ne),this.disabled=!1,this.tabIndex=Number(Me)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(ne){return new(ne||ie)(t.rXU(t.aKT),t.rXU(e.NL),t.kS0("tabindex"))}}static{this.\u0275dir=t.FsC({type:ie,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{disabled:[2,"disabled","disabled",t.L39],tabIndex:[2,"tabIndex","tabIndex",fe=>null==fe?0:(0,t.Udg)(fe)]},exportAs:["matTreeNode"],standalone:!0,features:[t.Jv_([{provide:e.xn,useExisting:ie}]),t.GFd,t.Vt3]})}}return ie})(),h=(()=>{class ie extends e.Sz{static{this.\u0275fac=(()=>{let fe;return function(Me){return(fe||(fe=t.xGo(ie)))(Me||ie)}})()}static{this.\u0275dir=t.FsC({type:ie,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},standalone:!0,features:[t.Jv_([{provide:e.Sz,useExisting:ie}]),t.Vt3]})}}return ie})(),S=(()=>{class ie extends e.s3{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(fe){this._tabIndex=fe??0}constructor(fe,ne,Me,Ce){super(fe,ne,Me),this.disabled=!1,this.tabIndex=Number(Ce)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(ne){return new(ne||ie)(t.rXU(t.aKT),t.rXU(e.NL),t.rXU(t._q3),t.kS0("tabindex"))}}static{this.\u0275dir=t.FsC({type:ie,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{node:[0,"matNestedTreeNode","node"],disabled:[2,"disabled","disabled",t.L39],tabIndex:"tabIndex"},exportAs:["matNestedTreeNode"],standalone:!0,features:[t.Jv_([{provide:e.s3,useExisting:ie},{provide:e.xn,useExisting:ie},{provide:e.kZ,useExisting:ie}]),t.GFd,t.Vt3]})}}return ie})(),O=(()=>{class ie{constructor(fe,ne){this.viewContainer=fe,this._node=ne}static{this.\u0275fac=function(ne){return new(ne||ie)(t.rXU(t.c1b),t.rXU(e.kZ,8))}}static{this.\u0275dir=t.FsC({type:ie,selectors:[["","matTreeNodeOutlet",""]],standalone:!0,features:[t.Jv_([{provide:e.a$,useExisting:ie}])]})}}return ie})(),I=(()=>{class ie extends e.NL{constructor(){super(...arguments),this._nodeOutlet=void 0}static{this.\u0275fac=(()=>{let fe;return function(Me){return(fe||(fe=t.xGo(ie)))(Me||ie)}})()}static{this.\u0275cmp=t.VBU({type:ie,selectors:[["mat-tree"]],viewQuery:function(ne,Me){if(1&ne&&t.GBs(O,7),2&ne){let Ce;t.mGM(Ce=t.lsd())&&(Me._nodeOutlet=Ce.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],standalone:!0,features:[t.Jv_([{provide:e.NL,useExisting:ie}]),t.Vt3,t.aNF],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(ne,Me){1&ne&&t.eu8(0,0)},dependencies:[O],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 ie})(),V=(()=>{class ie extends e.Hy{static{this.\u0275fac=(()=>{let fe;return function(Me){return(fe||(fe=t.xGo(ie)))(Me||ie)}})()}static{this.\u0275dir=t.FsC({type:ie,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[t.Jv_([{provide:e.Hy,useExisting:ie}]),t.Vt3]})}}return ie})(),Y=(()=>{class ie{static{this.\u0275fac=function(ne){return new(ne||ie)}}static{this.\u0275mod=t.$C({type:ie})}static{this.\u0275inj=t.G2t({imports:[e.Dc,x.yE,x.yE]})}}return ie})();class J extends D.qS{constructor(){super(...arguments),this._data=new l.t([])}get data(){return this._data.value}set data(ee){this._data.next(ee)}connect(ee){return(0,w.h)(ee.viewChange,this._data).pipe((0,f.T)(()=>this.data))}disconnect(){}}},345:(Qe,te,g)=>{"use strict";g.d(te,{B7:()=>Ce,Bb:()=>Ie,fM:()=>nt,hE:()=>Ee,sG:()=>X,up:()=>qt});var e=g(177),t=g(4438);class x extends e.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class D extends x{static makeCurrent(){(0,e.ZD)(new D)}onAndCancel(Te,ce,Z){return Te.addEventListener(ce,Z),()=>{Te.removeEventListener(ce,Z)}}dispatchEvent(Te,ce){Te.dispatchEvent(ce)}remove(Te){Te.remove()}createElement(Te,ce){return(ce=ce||this.getDefaultDocument()).createElement(Te)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Te){return Te.nodeType===Node.ELEMENT_NODE}isShadowRoot(Te){return Te instanceof DocumentFragment}getGlobalEventTarget(Te,ce){return"window"===ce?window:"document"===ce?Te:"body"===ce?Te.body:null}getBaseHref(Te){const ce=function w(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==ce?null:function f(Se){return new URL(Se,document.baseURI).pathname}(ce)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(Te){return(0,e._b)(document.cookie,Te)}}let l=null,h=(()=>{class Se{build(){return new XMLHttpRequest}static{this.\u0275fac=function(Z){return new(Z||Se)}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})();const S=new t.nKC("");let y=(()=>{class Se{constructor(ce,Z){this._zone=Z,this._eventNameToPlugin=new Map,ce.forEach(Re=>{Re.manager=this}),this._plugins=ce.slice().reverse()}addEventListener(ce,Z,Re){return this._findPluginFor(Z).addEventListener(ce,Z,Re)}getZone(){return this._zone}_findPluginFor(ce){let Z=this._eventNameToPlugin.get(ce);if(Z)return Z;if(Z=this._plugins.find(Pe=>Pe.supports(ce)),!Z)throw new t.wOt(5101,!1);return this._eventNameToPlugin.set(ce,Z),Z}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(S),t.KVO(t.SKi))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})();class O{constructor(Te){this._doc=Te}}const I="ng-app-id";let V=(()=>{class Se{constructor(ce,Z,Re,Pe={}){this.doc=ce,this.appId=Z,this.nonce=Re,this.platformId=Pe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,e.Vy)(Pe),this.resetHostNodes()}addStyles(ce){for(const Z of ce)1===this.changeUsageCount(Z,1)&&this.onStyleAdded(Z)}removeStyles(ce){for(const Z of ce)this.changeUsageCount(Z,-1)<=0&&this.onStyleRemoved(Z)}ngOnDestroy(){const ce=this.styleNodesInDOM;ce&&(ce.forEach(Z=>Z.remove()),ce.clear());for(const Z of this.getAllStyles())this.onStyleRemoved(Z);this.resetHostNodes()}addHost(ce){this.hostNodes.add(ce);for(const Z of this.getAllStyles())this.addStyleToHost(ce,Z)}removeHost(ce){this.hostNodes.delete(ce)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(ce){for(const Z of this.hostNodes)this.addStyleToHost(Z,ce)}onStyleRemoved(ce){const Z=this.styleRef;Z.get(ce)?.elements?.forEach(Re=>Re.remove()),Z.delete(ce)}collectServerRenderedStyles(){const ce=this.doc.head?.querySelectorAll(`style[${I}="${this.appId}"]`);if(ce?.length){const Z=new Map;return ce.forEach(Re=>{null!=Re.textContent&&Z.set(Re.textContent,Re)}),Z}return null}changeUsageCount(ce,Z){const Re=this.styleRef;if(Re.has(ce)){const Pe=Re.get(ce);return Pe.usage+=Z,Pe.usage}return Re.set(ce,{usage:Z,elements:[]}),Z}getStyleElement(ce,Z){const Re=this.styleNodesInDOM,Pe=Re?.get(Z);if(Pe?.parentNode===ce)return Re.delete(Z),Pe.removeAttribute(I),Pe;{const pt=this.doc.createElement("style");return this.nonce&&pt.setAttribute("nonce",this.nonce),pt.textContent=Z,this.platformIsServer&&pt.setAttribute(I,this.appId),ce.appendChild(pt),pt}}addStyleToHost(ce,Z){const Re=this.getStyleElement(ce,Z),Pe=this.styleRef,pt=Pe.get(Z)?.elements;pt?pt.push(Re):Pe.set(Z,{elements:[Re],usage:1})}resetHostNodes(){const ce=this.hostNodes;ce.clear(),ce.add(this.doc.head)}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(e.qQ),t.KVO(t.sZ2),t.KVO(t.BIS,8),t.KVO(t.Agw))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})();const j={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Y=/%COMP%/g,W="%COMP%",Q=`_nghost-${W}`,J=`_ngcontent-${W}`,ee=new t.nKC("",{providedIn:"root",factory:()=>!0});function Me(Se,Te){return Te.map(ce=>ce.replace(Y,Se))}let Ce=(()=>{class Se{constructor(ce,Z,Re,Pe,pt,Ke,Fe,Ge=null){this.eventManager=ce,this.sharedStylesHost=Z,this.appId=Re,this.removeStylesOnCompDestroy=Pe,this.doc=pt,this.platformId=Ke,this.ngZone=Fe,this.nonce=Ge,this.rendererByCompId=new Map,this.platformIsServer=(0,e.Vy)(Ke),this.defaultRenderer=new le(ce,pt,Fe,this.platformIsServer)}createRenderer(ce,Z){if(!ce||!Z)return this.defaultRenderer;this.platformIsServer&&Z.encapsulation===t.gXe.ShadowDom&&(Z={...Z,encapsulation:t.gXe.Emulated});const Re=this.getOrCreateRenderer(ce,Z);return Re instanceof C?Re.applyToHost(ce):Re instanceof d&&Re.applyStyles(),Re}getOrCreateRenderer(ce,Z){const Re=this.rendererByCompId;let Pe=Re.get(Z.id);if(!Pe){const pt=this.doc,Ke=this.ngZone,Fe=this.eventManager,Ge=this.sharedStylesHost,qe=this.removeStylesOnCompDestroy,at=this.platformIsServer;switch(Z.encapsulation){case t.gXe.Emulated:Pe=new C(Fe,Ge,Z,this.appId,qe,pt,Ke,at);break;case t.gXe.ShadowDom:return new m(Fe,Ge,ce,Z,pt,Ke,this.nonce,at);default:Pe=new d(Fe,Ge,Z,qe,pt,Ke,at)}Re.set(Z.id,Pe)}return Pe}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(y),t.KVO(V),t.KVO(t.sZ2),t.KVO(ee),t.KVO(e.qQ),t.KVO(t.Agw),t.KVO(t.SKi),t.KVO(t.BIS))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})();class le{constructor(Te,ce,Z,Re){this.eventManager=Te,this.doc=ce,this.ngZone=Z,this.platformIsServer=Re,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Te,ce){return ce?this.doc.createElementNS(j[ce]||ce,Te):this.doc.createElement(Te)}createComment(Te){return this.doc.createComment(Te)}createText(Te){return this.doc.createTextNode(Te)}appendChild(Te,ce){(c(Te)?Te.content:Te).appendChild(ce)}insertBefore(Te,ce,Z){Te&&(c(Te)?Te.content:Te).insertBefore(ce,Z)}removeChild(Te,ce){ce.remove()}selectRootElement(Te,ce){let Z="string"==typeof Te?this.doc.querySelector(Te):Te;if(!Z)throw new t.wOt(-5104,!1);return ce||(Z.textContent=""),Z}parentNode(Te){return Te.parentNode}nextSibling(Te){return Te.nextSibling}setAttribute(Te,ce,Z,Re){if(Re){ce=Re+":"+ce;const Pe=j[Re];Pe?Te.setAttributeNS(Pe,ce,Z):Te.setAttribute(ce,Z)}else Te.setAttribute(ce,Z)}removeAttribute(Te,ce,Z){if(Z){const Re=j[Z];Re?Te.removeAttributeNS(Re,ce):Te.removeAttribute(`${Z}:${ce}`)}else Te.removeAttribute(ce)}addClass(Te,ce){Te.classList.add(ce)}removeClass(Te,ce){Te.classList.remove(ce)}setStyle(Te,ce,Z,Re){Re&(t.czy.DashCase|t.czy.Important)?Te.style.setProperty(ce,Z,Re&t.czy.Important?"important":""):Te.style[ce]=Z}removeStyle(Te,ce,Z){Z&t.czy.DashCase?Te.style.removeProperty(ce):Te.style[ce]=""}setProperty(Te,ce,Z){null!=Te&&(Te[ce]=Z)}setValue(Te,ce){Te.nodeValue=ce}listen(Te,ce,Z){if("string"==typeof Te&&!(Te=(0,e.QT)().getGlobalEventTarget(this.doc,Te)))throw new Error(`Unsupported event target ${Te} for event ${ce}`);return this.eventManager.addEventListener(Te,ce,this.decoratePreventDefault(Z))}decoratePreventDefault(Te){return ce=>{if("__ngUnwrap__"===ce)return Te;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Te(ce)):Te(ce))&&ce.preventDefault()}}}function c(Se){return"TEMPLATE"===Se.tagName&&void 0!==Se.content}class m extends le{constructor(Te,ce,Z,Re,Pe,pt,Ke,Fe){super(Te,Pe,pt,Fe),this.sharedStylesHost=ce,this.hostEl=Z,this.shadowRoot=Z.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ge=Me(Re.id,Re.styles);for(const qe of Ge){const at=document.createElement("style");Ke&&at.setAttribute("nonce",Ke),at.textContent=qe,this.shadowRoot.appendChild(at)}}nodeOrShadowRoot(Te){return Te===this.hostEl?this.shadowRoot:Te}appendChild(Te,ce){return super.appendChild(this.nodeOrShadowRoot(Te),ce)}insertBefore(Te,ce,Z){return super.insertBefore(this.nodeOrShadowRoot(Te),ce,Z)}removeChild(Te,ce){return super.removeChild(null,ce)}parentNode(Te){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Te)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class d extends le{constructor(Te,ce,Z,Re,Pe,pt,Ke,Fe){super(Te,Pe,pt,Ke),this.sharedStylesHost=ce,this.removeStylesOnCompDestroy=Re,this.styles=Fe?Me(Fe,Z.styles):Z.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class C extends d{constructor(Te,ce,Z,Re,Pe,pt,Ke,Fe){const Ge=Re+"-"+Z.id;super(Te,ce,Z,Pe,pt,Ke,Fe,Ge),this.contentAttr=function fe(Se){return J.replace(Y,Se)}(Ge),this.hostAttr=function ne(Se){return Q.replace(Y,Se)}(Ge)}applyToHost(Te){this.applyStyles(),this.setAttribute(Te,this.hostAttr,"")}createElement(Te,ce){const Z=super.createElement(Te,ce);return super.setAttribute(Z,this.contentAttr,""),Z}}let A=(()=>{class Se extends O{constructor(ce){super(ce)}supports(ce){return!0}addEventListener(ce,Z,Re){return ce.addEventListener(Z,Re,!1),()=>this.removeEventListener(ce,Z,Re)}removeEventListener(ce,Z,Re){return ce.removeEventListener(Z,Re)}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(e.qQ))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})();const k=["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"},a={alt:Se=>Se.altKey,control:Se=>Se.ctrlKey,meta:Se=>Se.metaKey,shift:Se=>Se.shiftKey};let b=(()=>{class Se extends O{constructor(ce){super(ce)}supports(ce){return null!=Se.parseEventName(ce)}addEventListener(ce,Z,Re){const Pe=Se.parseEventName(Z),pt=Se.eventCallback(Pe.fullKey,Re,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.QT)().onAndCancel(ce,Pe.domEventName,pt))}static parseEventName(ce){const Z=ce.toLowerCase().split("."),Re=Z.shift();if(0===Z.length||"keydown"!==Re&&"keyup"!==Re)return null;const Pe=Se._normalizeKey(Z.pop());let pt="",Ke=Z.indexOf("code");if(Ke>-1&&(Z.splice(Ke,1),pt="code."),k.forEach(Ge=>{const qe=Z.indexOf(Ge);qe>-1&&(Z.splice(qe,1),pt+=Ge+".")}),pt+=Pe,0!=Z.length||0===Pe.length)return null;const Fe={};return Fe.domEventName=Re,Fe.fullKey=pt,Fe}static matchEventFullKeyCode(ce,Z){let Re=_[ce.key]||ce.key,Pe="";return Z.indexOf("code.")>-1&&(Re=ce.code,Pe="code."),!(null==Re||!Re)&&(Re=Re.toLowerCase()," "===Re?Re="space":"."===Re&&(Re="dot"),k.forEach(pt=>{pt!==Re&&(0,a[pt])(ce)&&(Pe+=pt+".")}),Pe+=Re,Pe===Z)}static eventCallback(ce,Z,Re){return Pe=>{Se.matchEventFullKeyCode(Pe,ce)&&Re.runGuarded(()=>Z(Pe))}}static _normalizeKey(ce){return"esc"===ce?"escape":ce}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(e.qQ))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})();const X=(0,t.oH4)(t.fpN,"browser",[{provide:t.Agw,useValue:e.AJ},{provide:t.PLl,useValue:function ze(){D.makeCurrent()},multi:!0},{provide:e.qQ,useFactory:function We(){return(0,t.TL$)(document),document},deps:[]}]),se=new t.nKC(""),ae=[{provide:t.e01,useClass:class R{addToWindow(Te){t.JZv.getAngularTestability=(Z,Re=!0)=>{const Pe=Te.findTestabilityInTree(Z,Re);if(null==Pe)throw new t.wOt(5103,!1);return Pe},t.JZv.getAllAngularTestabilities=()=>Te.getAllTestabilities(),t.JZv.getAllAngularRootElements=()=>Te.getAllRootElements(),t.JZv.frameworkStabilizers||(t.JZv.frameworkStabilizers=[]),t.JZv.frameworkStabilizers.push(Z=>{const Re=t.JZv.getAllAngularTestabilities();let Pe=Re.length;const pt=function(){Pe--,0==Pe&&Z()};Re.forEach(Ke=>{Ke.whenStable(pt)})})}findTestabilityInTree(Te,ce,Z){return null==ce?null:Te.getTestability(ce)??(Z?(0,e.QT)().isShadowRoot(ce)?this.findTestabilityInTree(Te,ce.host,!0):this.findTestabilityInTree(Te,ce.parentElement,!0):null)}},deps:[]},{provide:t.WHO,useClass:t.NYb,deps:[t.SKi,t.giA,t.e01]},{provide:t.NYb,useClass:t.NYb,deps:[t.SKi,t.giA,t.e01]}],he=[{provide:t.H8p,useValue:"root"},{provide:t.zcH,useFactory:function Xe(){return new t.zcH},deps:[]},{provide:S,useClass:A,multi:!0,deps:[e.qQ,t.SKi,t.Agw]},{provide:S,useClass:b,multi:!0,deps:[e.qQ]},Ce,V,y,{provide:t._9s,useExisting:Ce},{provide:e.N0,useClass:h,deps:[]},[]];let Ie=(()=>{class Se{constructor(ce){}static withServerTransition(ce){return{ngModule:Se,providers:[{provide:t.sZ2,useValue:ce.appId}]}}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(se,12))}}static{this.\u0275mod=t.$C({type:Se})}static{this.\u0275inj=t.G2t({providers:[...he,...ae],imports:[e.MD,t.Hbi]})}}return Se})(),Ee=(()=>{class Se{constructor(ce){this._doc=ce}getTitle(){return this._doc.title}setTitle(ce){this._doc.title=ce||""}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(e.qQ))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac,providedIn:"root"})}}return Se})();const we={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Ue=new t.nKC("HammerGestureConfig"),je=new t.nKC("HammerLoader");let vt=(()=>{class Se{constructor(){this.events=[],this.overrides={}}buildHammer(ce){const Z=new Hammer(ce,this.options);Z.get("pinch").set({enable:!0}),Z.get("rotate").set({enable:!0});for(const Re in this.overrides)Z.get(Re).set(this.overrides[Re]);return Z}static{this.\u0275fac=function(Z){return new(Z||Se)}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})(),$e=(()=>{class Se extends O{constructor(ce,Z,Re,Pe){super(ce),this._config=Z,this.console=Re,this.loader=Pe,this._loaderPromise=null}supports(ce){return!(!we.hasOwnProperty(ce.toLowerCase())&&!this.isCustomEvent(ce)||!window.Hammer&&!this.loader)}addEventListener(ce,Z,Re){const Pe=this.manager.getZone();if(Z=Z.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Pe.runOutsideAngular(()=>this.loader());let pt=!1,Ke=()=>{pt=!0};return Pe.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?pt||(Ke=this.addEventListener(ce,Z,Re)):Ke=()=>{}}).catch(()=>{Ke=()=>{}})),()=>{Ke()}}return Pe.runOutsideAngular(()=>{const pt=this._config.buildHammer(ce),Ke=function(Fe){Pe.runGuarded(function(){Re(Fe)})};return pt.on(Z,Ke),()=>{pt.off(Z,Ke),"function"==typeof pt.destroy&&pt.destroy()}})}isCustomEvent(ce){return this._config.events.indexOf(ce)>-1}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(e.qQ),t.KVO(Ue),t.KVO(t.H3F),t.KVO(je,8))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac})}}return Se})(),nt=(()=>{class Se{static{this.\u0275fac=function(Z){return new(Z||Se)}}static{this.\u0275mod=t.$C({type:Se})}static{this.\u0275inj=t.G2t({providers:[{provide:S,useClass:$e,multi:!0,deps:[e.qQ,Ue,t.H3F,[new t.Xx1,je]]},{provide:Ue,useClass:vt,deps:[]}]})}}return Se})(),qt=(()=>{class Se{static{this.\u0275fac=function(Z){return new(Z||Se)}}static{this.\u0275prov=t.jDH({token:Se,factory:function(Z){let Re=null;return Re=Z?new(Z||Se):t.KVO(Nt),Re},providedIn:"root"})}}return Se})(),Nt=(()=>{class Se extends qt{constructor(ce){super(),this._doc=ce}sanitize(ce,Z){if(null==Z)return null;switch(ce){case t.WPN.NONE:return Z;case t.WPN.HTML:return(0,t.ZF7)(Z,"HTML")?(0,t.rcV)(Z):(0,t.h9k)(this._doc,String(Z)).toString();case t.WPN.STYLE:return(0,t.ZF7)(Z,"Style")?(0,t.rcV)(Z):Z;case t.WPN.SCRIPT:if((0,t.ZF7)(Z,"Script"))return(0,t.rcV)(Z);throw new t.wOt(5200,!1);case t.WPN.URL:return(0,t.ZF7)(Z,"URL")?(0,t.rcV)(Z):(0,t.$MX)(String(Z));case t.WPN.RESOURCE_URL:if((0,t.ZF7)(Z,"ResourceURL"))return(0,t.rcV)(Z);throw new t.wOt(5201,!1);default:throw new t.wOt(5202,!1)}}bypassSecurityTrustHtml(ce){return(0,t.Kcf)(ce)}bypassSecurityTrustStyle(ce){return(0,t.cWb)(ce)}bypassSecurityTrustScript(ce){return(0,t.UyX)(ce)}bypassSecurityTrustUrl(ce){return(0,t.osQ)(ce)}bypassSecurityTrustResourceUrl(ce){return(0,t.e5t)(ce)}static{this.\u0275fac=function(Z){return new(Z||Se)(t.KVO(e.qQ))}}static{this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac,providedIn:"root"})}}return Se})()},1188:(Qe,te,g)=>{"use strict";g.d(te,{nX:()=>hn,j5:()=>ii,wF:()=>ye,L6:()=>Gi,Z:()=>He,gx:()=>nr,Ix:()=>Fn,Wk:()=>Fi,wQ:()=>bn,iI:()=>mo,n3:()=>vo});var e=g(4438),t=g(4402),x=g(2806),D=g(7673),l=g(4412),w=g(4572),f=g(9350),R=g(8793),h=g(9030),S=g(1203),y=g(8810),O=g(983),I=g(17),V=g(1413),j=g(8359),Y=g(177),W=g(6354),Q=g(5558),J=g(6697),ie=g(9172),ee=g(5964),fe=g(1397),ne=g(1594),Me=g(274),Ce=g(8141),le=g(9437),T=g(2816),n=g(9901),c=g(9974),m=g(4360);function d(ge){return ge<=0?()=>O.w:(0,c.N)((De,be)=>{let Ne=[];De.subscribe((0,m._)(be,ft=>{Ne.push(ft),ge{for(const ft of Ne)be.next(ft);be.complete()},void 0,()=>{Ne=null}))})}var C=g(3774),A=g(3669),_=g(3703),a=g(980),b=g(9898),z=g(6977),N=g(6365),q=g(345);const pe="primary",ze=Symbol("RouteTitle");class Xe{constructor(De){this.params=De||{}}has(De){return Object.prototype.hasOwnProperty.call(this.params,De)}get(De){if(this.has(De)){const be=this.params[De];return Array.isArray(be)?be[0]:be}return null}getAll(De){if(this.has(De)){const be=this.params[De];return Array.isArray(be)?be:[be]}return[]}get keys(){return Object.keys(this.params)}}function We(ge){return new Xe(ge)}function oe(ge,De,be){const Ne=be.path.split("/");if(Ne.length>ge.length||"full"===be.pathMatch&&(De.hasChildren()||Ne.lengthNe[Rt]===ft)}return ge===De}function Ie(ge){return ge.length>0?ge[ge.length-1]:null}function st(ge){return(0,t.A)(ge)?ge:(0,e.jNT)(ge)?(0,x.H)(Promise.resolve(ge)):(0,D.of)(ge)}const me={exact:function Ct(ge,De,be){if(!vt(ge.segments,De.segments)||!ve(ge.segments,De.segments,be)||ge.numberOfChildren!==De.numberOfChildren)return!1;for(const Ne in De.children)if(!ge.children[Ne]||!Ct(ge.children[Ne],De.children[Ne],be))return!1;return!0},subset:dt},Ee={exact:function Be(ge,De){return se(ge,De)},subset:function ct(ge,De){return Object.keys(De).length<=Object.keys(ge).length&&Object.keys(De).every(be=>he(ge[be],De[be]))},ignored:()=>!0};function ue(ge,De,be){return me[be.paths](ge.root,De.root,be.matrixParams)&&Ee[be.queryParams](ge.queryParams,De.queryParams)&&!("exact"===be.fragment&&ge.fragment!==De.fragment)}function dt(ge,De,be){return Yt(ge,De,De.segments,be)}function Yt(ge,De,be,Ne){if(ge.segments.length>be.length){const ft=ge.segments.slice(0,be.length);return!(!vt(ft,be)||De.hasChildren()||!ve(ft,be,Ne))}if(ge.segments.length===be.length){if(!vt(ge.segments,be)||!ve(ge.segments,be,Ne))return!1;for(const ft in De.children)if(!ge.children[ft]||!dt(ge.children[ft],De.children[ft],Ne))return!1;return!0}{const ft=be.slice(0,ge.segments.length),Rt=be.slice(ge.segments.length);return!!(vt(ge.segments,ft)&&ve(ge.segments,ft,Ne)&&ge.children[pe])&&Yt(ge.children[pe],De,Rt,Ne)}}function ve(ge,De,be){return De.every((Ne,ft)=>Ee[be](ge[ft].parameters,Ne.parameters))}class _e{constructor(De=new we([],{}),be={},Ne=null){this.root=De,this.queryParams=be,this.fragment=Ne}get queryParamMap(){return this._queryParamMap??=We(this.queryParams),this._queryParamMap}toString(){return Nt.serialize(this)}}class we{constructor(De,be){this.segments=De,this.children=be,this.parent=null,Object.values(be).forEach(Ne=>Ne.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return yt(this)}}class Ue{constructor(De,be){this.path=De,this.parameters=be}get parameterMap(){return this._parameterMap??=We(this.parameters),this._parameterMap}toString(){return xt(this)}}function vt(ge,De){return ge.length===De.length&&ge.every((be,Ne)=>be.path===De[Ne].path)}let nt=(()=>{class ge{static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>new qt,providedIn:"root"})}}return ge})();class qt{parse(De){const be=new qe(De);return new _e(be.parseRootSegment(),be.parseQueryParams(),be.parseFragment())}serialize(De){const be=`/${jt(De.root,!0)}`,Ne=function Te(ge){const De=Object.entries(ge).map(([be,Ne])=>Array.isArray(Ne)?Ne.map(ft=>`${et(be)}=${et(ft)}`).join("&"):`${et(be)}=${et(Ne)}`).filter(be=>be);return De.length?`?${De.join("&")}`:""}(De.queryParams);return`${be}${Ne}${"string"==typeof De.fragment?`#${function Ae(ge){return encodeURI(ge)}(De.fragment)}`:""}`}}const Nt=new qt;function yt(ge){return ge.segments.map(De=>xt(De)).join("/")}function jt(ge,De){if(!ge.hasChildren())return yt(ge);if(De){const be=ge.children[pe]?jt(ge.children[pe],!1):"",Ne=[];return Object.entries(ge.children).forEach(([ft,Rt])=>{ft!==pe&&Ne.push(`${ft}:${jt(Rt,!1)}`)}),Ne.length>0?`${be}(${Ne.join("//")})`:be}{const be=function $e(ge,De){let be=[];return Object.entries(ge.children).forEach(([Ne,ft])=>{Ne===pe&&(be=be.concat(De(ft,Ne)))}),Object.entries(ge.children).forEach(([Ne,ft])=>{Ne!==pe&&(be=be.concat(De(ft,Ne)))}),be}(ge,(Ne,ft)=>ft===pe?[jt(ge.children[pe],!1)]:[`${ft}:${jt(Ne,!1)}`]);return 1===Object.keys(ge.children).length&&null!=ge.children[pe]?`${yt(ge)}/${be[0]}`:`${yt(ge)}/(${be.join("//")})`}}function Je(ge){return encodeURIComponent(ge).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function et(ge){return Je(ge).replace(/%3B/gi,";")}function It(ge){return Je(ge).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qt(ge){return decodeURIComponent(ge)}function Tt(ge){return Qt(ge.replace(/\+/g,"%20"))}function xt(ge){return`${It(ge.path)}${function Se(ge){return Object.entries(ge).map(([De,be])=>`;${It(De)}=${It(be)}`).join("")}(ge.parameters)}`}const ce=/^[^\/()?;#]+/;function Z(ge){const De=ge.match(ce);return De?De[0]:""}const Re=/^[^\/()?;=#]+/,pt=/^[^=?&#]+/,Fe=/^[^&#]+/;class qe{constructor(De){this.url=De,this.remaining=De}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new we([],{}):new we([],this.parseChildren())}parseQueryParams(){const De={};if(this.consumeOptional("?"))do{this.parseQueryParam(De)}while(this.consumeOptional("&"));return De}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const De=[];for(this.peekStartsWith("(")||De.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),De.push(this.parseSegment());let be={};this.peekStartsWith("/(")&&(this.capture("/"),be=this.parseParens(!0));let Ne={};return this.peekStartsWith("(")&&(Ne=this.parseParens(!1)),(De.length>0||Object.keys(be).length>0)&&(Ne[pe]=new we(De,be)),Ne}parseSegment(){const De=Z(this.remaining);if(""===De&&this.peekStartsWith(";"))throw new e.wOt(4009,!1);return this.capture(De),new Ue(Qt(De),this.parseMatrixParams())}parseMatrixParams(){const De={};for(;this.consumeOptional(";");)this.parseParam(De);return De}parseParam(De){const be=function Pe(ge){const De=ge.match(Re);return De?De[0]:""}(this.remaining);if(!be)return;this.capture(be);let Ne="";if(this.consumeOptional("=")){const ft=Z(this.remaining);ft&&(Ne=ft,this.capture(Ne))}De[Qt(be)]=Qt(Ne)}parseQueryParam(De){const be=function Ke(ge){const De=ge.match(pt);return De?De[0]:""}(this.remaining);if(!be)return;this.capture(be);let Ne="";if(this.consumeOptional("=")){const Jt=function Ge(ge){const De=ge.match(Fe);return De?De[0]:""}(this.remaining);Jt&&(Ne=Jt,this.capture(Ne))}const ft=Tt(be),Rt=Tt(Ne);if(De.hasOwnProperty(ft)){let Jt=De[ft];Array.isArray(Jt)||(Jt=[Jt],De[ft]=Jt),Jt.push(Rt)}else De[ft]=Rt}parseParens(De){const be={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Ne=Z(this.remaining),ft=this.remaining[Ne.length];if("/"!==ft&&")"!==ft&&";"!==ft)throw new e.wOt(4010,!1);let Rt;Ne.indexOf(":")>-1?(Rt=Ne.slice(0,Ne.indexOf(":")),this.capture(Rt),this.capture(":")):De&&(Rt=pe);const Jt=this.parseChildren();be[Rt]=1===Object.keys(Jt).length?Jt[pe]:new we([],Jt),this.consumeOptional("//")}return be}peekStartsWith(De){return this.remaining.startsWith(De)}consumeOptional(De){return!!this.peekStartsWith(De)&&(this.remaining=this.remaining.substring(De.length),!0)}capture(De){if(!this.consumeOptional(De))throw new e.wOt(4011,!1)}}function at(ge){return ge.segments.length>0?new we([],{[pe]:ge}):ge}function Lt(ge){const De={};for(const[Ne,ft]of Object.entries(ge.children)){const Rt=Lt(ft);if(Ne===pe&&0===Rt.segments.length&&Rt.hasChildren())for(const[Jt,Mi]of Object.entries(Rt.children))De[Jt]=Mi;else(Rt.segments.length>0||Rt.hasChildren())&&(De[Ne]=Rt)}return function pi(ge){if(1===ge.numberOfChildren&&ge.children[pe]){const De=ge.children[pe];return new we(ge.segments.concat(De.segments),De.children)}return ge}(new we(ge.segments,De))}function $t(ge){return ge instanceof _e}function Ui(ge){let De;const ft=at(function be(Rt){const Jt={};for(const bi of Rt.children){const cn=be(bi);Jt[bi.outlet]=cn}const Mi=new we(Rt.url,Jt);return Rt===ge&&(De=Mi),Mi}(ge.root));return De??ft}function ti(ge,De,be,Ne){let ft=ge;for(;ft.parent;)ft=ft.parent;if(0===De.length)return tn(ft,ft,ft,be,Ne);const Rt=function Xt(ge){if("string"==typeof ge[0]&&1===ge.length&&"/"===ge[0])return new Qi(!0,0,ge);let De=0,be=!1;const Ne=ge.reduce((ft,Rt,Jt)=>{if("object"==typeof Rt&&null!=Rt){if(Rt.outlets){const Mi={};return Object.entries(Rt.outlets).forEach(([bi,cn])=>{Mi[bi]="string"==typeof cn?cn.split("/"):cn}),[...ft,{outlets:Mi}]}if(Rt.segmentPath)return[...ft,Rt.segmentPath]}return"string"!=typeof Rt?[...ft,Rt]:0===Jt?(Rt.split("/").forEach((Mi,bi)=>{0==bi&&"."===Mi||(0==bi&&""===Mi?be=!0:".."===Mi?De++:""!=Mi&&ft.push(Mi))}),ft):[...ft,Rt]},[]);return new Qi(be,De,Ne)}(De);if(Rt.toRoot())return tn(ft,ft,new we([],{}),be,Ne);const Jt=function tt(ge,De,be){if(ge.isAbsolute)return new St(De,!0,0);if(!be)return new St(De,!1,NaN);if(null===be.parent)return new St(be,!0,0);const Ne=fi(ge.commands[0])?0:1;return function ot(ge,De,be){let Ne=ge,ft=De,Rt=be;for(;Rt>ft;){if(Rt-=ft,Ne=Ne.parent,!Ne)throw new e.wOt(4005,!1);ft=Ne.segments.length}return new St(Ne,!1,ft-Rt)}(be,be.segments.length-1+Ne,ge.numberOfDoubleDots)}(Rt,ft,ge),Mi=Jt.processChildren?Ci(Jt.segmentGroup,Jt.index,Rt.commands):Bt(Jt.segmentGroup,Jt.index,Rt.commands);return tn(ft,Jt.segmentGroup,Mi,be,Ne)}function fi(ge){return"object"==typeof ge&&null!=ge&&!ge.outlets&&!ge.segmentPath}function xn(ge){return"object"==typeof ge&&null!=ge&&ge.outlets}function tn(ge,De,be,Ne,ft){let Jt,Rt={};Ne&&Object.entries(Ne).forEach(([bi,cn])=>{Rt[bi]=Array.isArray(cn)?cn.map(Pn=>`${Pn}`):`${cn}`}),Jt=ge===De?be:Vi(ge,De,be);const Mi=at(Lt(Jt));return new _e(Mi,Rt,ft)}function Vi(ge,De,be){const Ne={};return Object.entries(ge.children).forEach(([ft,Rt])=>{Ne[ft]=Rt===De?be:Vi(Rt,De,be)}),new we(ge.segments,Ne)}class Qi{constructor(De,be,Ne){if(this.isAbsolute=De,this.numberOfDoubleDots=be,this.commands=Ne,De&&Ne.length>0&&fi(Ne[0]))throw new e.wOt(4003,!1);const ft=Ne.find(xn);if(ft&&ft!==Ie(Ne))throw new e.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class St{constructor(De,be,Ne){this.segmentGroup=De,this.processChildren=be,this.index=Ne}}function Bt(ge,De,be){if(ge??=new we([],{}),0===ge.segments.length&&ge.hasChildren())return Ci(ge,De,be);const Ne=function Ti(ge,De,be){let Ne=0,ft=De;const Rt={match:!1,pathIndex:0,commandIndex:0};for(;ft=be.length)return Rt;const Jt=ge.segments[ft],Mi=be[Ne];if(xn(Mi))break;const bi=`${Mi}`,cn=Ne0&&void 0===bi)break;if(bi&&cn&&"object"==typeof cn&&void 0===cn.outlets){if(!mn(bi,cn,Jt))return Rt;Ne+=2}else{if(!mn(bi,{},Jt))return Rt;Ne++}ft++}return{match:!0,pathIndex:ft,commandIndex:Ne}}(ge,De,be),ft=be.slice(Ne.commandIndex);if(Ne.match&&Ne.pathIndexRt!==pe)&&ge.children[pe]&&1===ge.numberOfChildren&&0===ge.children[pe].segments.length){const Rt=Ci(ge.children[pe],De,be);return new we(ge.segments,Rt.children)}return Object.entries(Ne).forEach(([Rt,Jt])=>{"string"==typeof Jt&&(Jt=[Jt]),null!==Jt&&(ft[Rt]=Bt(ge.children[Rt],De,Jt))}),Object.entries(ge.children).forEach(([Rt,Jt])=>{void 0===Ne[Rt]&&(ft[Rt]=Jt)}),new we(ge.segments,ft)}}function Hi(ge,De,be){const Ne=ge.segments.slice(0,De);let ft=0;for(;ft{"string"==typeof Ne&&(Ne=[Ne]),null!==Ne&&(De[be]=Hi(new we([],{}),0,Ne))}),De}function ln(ge){const De={};return Object.entries(ge).forEach(([be,Ne])=>De[be]=`${Ne}`),De}function mn(ge,De,be){return ge==be.path&&se(De,be.parameters)}const Ut="imperative";var lt=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}(lt||{});class re{constructor(De,be){this.id=De,this.url=be}}class He extends re{constructor(De,be,Ne="imperative",ft=null){super(De,be),this.type=lt.NavigationStart,this.navigationTrigger=Ne,this.restoredState=ft}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ye extends re{constructor(De,be,Ne){super(De,be),this.urlAfterRedirects=Ne,this.type=lt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var rt=function(ge){return ge[ge.Redirect=0]="Redirect",ge[ge.SupersededByNewNavigation=1]="SupersededByNewNavigation",ge[ge.NoDataFromResolver=2]="NoDataFromResolver",ge[ge.GuardRejected=3]="GuardRejected",ge}(rt||{}),ht=function(ge){return ge[ge.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",ge[ge.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",ge}(ht||{});class ii extends re{constructor(De,be,Ne,ft){super(De,be),this.reason=Ne,this.code=ft,this.type=lt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class di extends re{constructor(De,be,Ne,ft){super(De,be),this.reason=Ne,this.code=ft,this.type=lt.NavigationSkipped}}class Gi extends re{constructor(De,be,Ne,ft){super(De,be),this.error=Ne,this.target=ft,this.type=lt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Cn extends re{constructor(De,be,Ne,ft){super(De,be),this.urlAfterRedirects=Ne,this.state=ft,this.type=lt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hn extends re{constructor(De,be,Ne,ft){super(De,be),this.urlAfterRedirects=Ne,this.state=ft,this.type=lt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qn extends re{constructor(De,be,Ne,ft,Rt){super(De,be),this.urlAfterRedirects=Ne,this.state=ft,this.shouldActivate=Rt,this.type=lt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Jn extends re{constructor(De,be,Ne,ft){super(De,be),this.urlAfterRedirects=Ne,this.state=ft,this.type=lt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nr extends re{constructor(De,be,Ne,ft){super(De,be),this.urlAfterRedirects=Ne,this.state=ft,this.type=lt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dr{constructor(De){this.route=De,this.type=lt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class wn{constructor(De){this.route=De,this.type=lt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ai{constructor(De){this.snapshot=De,this.type=lt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yi{constructor(De){this.snapshot=De,this.type=lt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ft{constructor(De){this.snapshot=De,this.type=lt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mi{constructor(De){this.snapshot=De,this.type=lt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gi{constructor(De,be,Ne){this.routerEvent=De,this.position=be,this.anchor=Ne,this.type=lt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class xi{}class Ni{constructor(De,be){this.url=De,this.navigationBehaviorOptions=be}}function qr(ge){return ge.outlet||pe}function Ma(ge){if(!ge)return null;if(ge.routeConfig?._injector)return ge.routeConfig._injector;for(let De=ge.parent;De;De=De.parent){const be=De.routeConfig;if(be?._loadedInjector)return be._loadedInjector;if(be?._injector)return be._injector}return null}class Ds{get injector(){return Ma(this.route?.snapshot)??this.rootInjector}set injector(De){}constructor(De){this.rootInjector=De,this.outlet=null,this.route=null,this.children=new Or(this.rootInjector),this.attachRef=null}}let Or=(()=>{class ge{constructor(be){this.rootInjector=be,this.contexts=new Map}onChildOutletCreated(be,Ne){const ft=this.getOrCreateContext(be);ft.outlet=Ne,this.contexts.set(be,ft)}onChildOutletDestroyed(be){const Ne=this.getContext(be);Ne&&(Ne.outlet=null,Ne.attachRef=null)}onOutletDeactivated(){const be=this.contexts;return this.contexts=new Map,be}onOutletReAttached(be){this.contexts=be}getOrCreateContext(be){let Ne=this.getContext(be);return Ne||(Ne=new Ds(this.rootInjector),this.contexts.set(be,Ne)),Ne}getContext(be){return this.contexts.get(be)||null}static{this.\u0275fac=function(Ne){return new(Ne||ge)(e.KVO(e.uvJ))}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();class hs{constructor(De){this._root=De}get root(){return this._root.value}parent(De){const be=this.pathFromRoot(De);return be.length>1?be[be.length-2]:null}children(De){const be=za(De,this._root);return be?be.children.map(Ne=>Ne.value):[]}firstChild(De){const be=za(De,this._root);return be&&be.children.length>0?be.children[0].value:null}siblings(De){const be=Fr(De,this._root);return be.length<2?[]:be[be.length-2].children.map(ft=>ft.value).filter(ft=>ft!==De)}pathFromRoot(De){return Fr(De,this._root).map(be=>be.value)}}function za(ge,De){if(ge===De.value)return De;for(const be of De.children){const Ne=za(ge,be);if(Ne)return Ne}return null}function Fr(ge,De){if(ge===De.value)return[De];for(const be of De.children){const Ne=Fr(ge,be);if(Ne.length)return Ne.unshift(De),Ne}return[]}class Ur{constructor(De,be){this.value=De,this.children=be}toString(){return`TreeNode(${this.value})`}}function yr(ge){const De={};return ge&&ge.children.forEach(be=>De[be.value.outlet]=be),De}class Ya extends hs{constructor(De,be){super(De),this.snapshot=be,ea(this,De)}toString(){return this.snapshot.toString()}}function xr(ge){const De=function ua(ge){const Rt=new Ba([],{},{},"",{},pe,ge,null,{});return new Ao("",new Ur(Rt,[]))}(ge),be=new l.t([new Ue("",{})]),Ne=new l.t({}),ft=new l.t({}),Rt=new l.t({}),Jt=new l.t(""),Mi=new hn(be,Ne,Rt,Jt,ft,pe,ge,De.root);return Mi.snapshot=De.root,new Ya(new Ur(Mi,[]),De)}class hn{constructor(De,be,Ne,ft,Rt,Jt,Mi,bi){this.urlSubject=De,this.paramsSubject=be,this.queryParamsSubject=Ne,this.fragmentSubject=ft,this.dataSubject=Rt,this.outlet=Jt,this.component=Mi,this._futureSnapshot=bi,this.title=this.dataSubject?.pipe((0,W.T)(cn=>cn[ze]))??(0,D.of)(void 0),this.url=De,this.params=be,this.queryParams=Ne,this.fragment=ft,this.data=Rt}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,W.T)(De=>We(De))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,W.T)(De=>We(De))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Do(ge,De,be="emptyOnly"){let Ne;const{routeConfig:ft}=ge;return Ne=null===De||"always"!==be&&""!==ft?.path&&(De.component||De.routeConfig?.loadComponent)?{params:{...ge.params},data:{...ge.data},resolve:{...ge.data,...ge._resolvedData??{}}}:{params:{...De.params,...ge.params},data:{...De.data,...ge.data},resolve:{...ge.data,...De.data,...ft?.data,...ge._resolvedData}},ft&&fo(ft)&&(Ne.resolve[ze]=ft.title),Ne}class Ba{get title(){return this.data?.[ze]}constructor(De,be,Ne,ft,Rt,Jt,Mi,bi,cn){this.url=De,this.params=be,this.queryParams=Ne,this.fragment=ft,this.data=Rt,this.outlet=Jt,this.component=Mi,this.routeConfig=bi,this._resolve=cn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=We(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=We(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Ne=>Ne.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ao extends hs{constructor(De,be){super(be),this.url=De,ea(this,be)}toString(){return _o(this._root)}}function ea(ge,De){De.value._routerState=ge,De.children.forEach(be=>ea(ge,be))}function _o(ge){const De=ge.children.length>0?` { ${ge.children.map(_o).join(", ")} } `:"";return`${ge.value}${De}`}function Va(ge){if(ge.snapshot){const De=ge.snapshot,be=ge._futureSnapshot;ge.snapshot=be,se(De.queryParams,be.queryParams)||ge.queryParamsSubject.next(be.queryParams),De.fragment!==be.fragment&&ge.fragmentSubject.next(be.fragment),se(De.params,be.params)||ge.paramsSubject.next(be.params),function X(ge,De){if(ge.length!==De.length)return!1;for(let be=0;bese(be.parameters,De[Ne].parameters))}(ge.url,De.url);return be&&!(!ge.parent!=!De.parent)&&(!ge.parent||ko(ge.parent,De.parent))}function fo(ge){return"string"==typeof ge.title||null===ge.title}let vo=(()=>{class ge{constructor(){this.activated=null,this._activatedRoute=null,this.name=pe,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)(Or),this.location=(0,e.WQX)(e.c1b),this.changeDetector=(0,e.WQX)(e.gRc),this.inputBinder=(0,e.WQX)(Ea,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(be){if(be.name){const{firstChange:Ne,previousValue:ft}=be.name;if(Ne)return;this.isTrackedInParentContexts(ft)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ft)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(be){return this.parentContexts.getContext(be)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const be=this.parentContexts.getContext(this.name);be?.route&&(be.attachRef?this.attach(be.attachRef,be.route):this.activateWith(be.route,be.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 be=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(be.instance),be}attach(be,Ne){this.activated=be,this._activatedRoute=Ne,this.location.insert(be.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(be.instance)}deactivate(){if(this.activated){const be=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(be)}}activateWith(be,Ne){if(this.isActivated)throw new e.wOt(4013,!1);this._activatedRoute=be;const ft=this.location,Jt=be.snapshot.component,Mi=this.parentContexts.getOrCreateContext(this.name).children,bi=new zr(be,Mi,ft.injector);this.activated=ft.createComponent(Jt,{index:ft.length,injector:bi,environmentInjector:Ne}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(Ne){return new(Ne||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 zr{__ngOutletInjector(De){return new zr(this.route,this.childContexts,De)}constructor(De,be,Ne){this.route=De,this.childContexts=be,this.parent=Ne}get(De,be){return De===hn?this.route:De===Or?this.childContexts:this.parent.get(De,be)}}const Ea=new e.nKC("");let fa=(()=>{class ge{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(be){this.unsubscribeFromRouteData(be),this.subscribeToRouteData(be)}unsubscribeFromRouteData(be){this.outletDataSubscriptions.get(be)?.unsubscribe(),this.outletDataSubscriptions.delete(be)}subscribeToRouteData(be){const{activatedRoute:Ne}=be,ft=(0,w.z)([Ne.queryParams,Ne.params,Ne.data]).pipe((0,Q.n)(([Rt,Jt,Mi],bi)=>(Mi={...Rt,...Jt,...Mi},0===bi?(0,D.of)(Mi):Promise.resolve(Mi)))).subscribe(Rt=>{if(!be.isActivated||!be.activatedComponentRef||be.activatedRoute!==Ne||null===Ne.component)return void this.unsubscribeFromRouteData(be);const Jt=(0,e.HJs)(Ne.component);if(Jt)for(const{templateName:Mi}of Jt.inputs)be.activatedComponentRef.setInput(Mi,Rt[Mi]);else this.unsubscribeFromRouteData(be)});this.outletDataSubscriptions.set(be,ft)}static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac})}}return ge})();function Ar(ge,De,be){if(be&&ge.shouldReuseRoute(De.value,be.value.snapshot)){const Ne=be.value;Ne._futureSnapshot=De.value;const ft=function Io(ge,De,be){return De.children.map(Ne=>{for(const ft of be.children)if(ge.shouldReuseRoute(Ne.value,ft.value.snapshot))return Ar(ge,Ne,ft);return Ar(ge,Ne)})}(ge,De,be);return new Ur(Ne,ft)}{if(ge.shouldAttach(De.value)){const Rt=ge.retrieve(De.value);if(null!==Rt){const Jt=Rt.route;return Jt.value._futureSnapshot=De.value,Jt.children=De.children.map(Mi=>Ar(ge,Mi)),Jt}}const Ne=function Ua(ge){return new hn(new l.t(ge.url),new l.t(ge.params),new l.t(ge.queryParams),new l.t(ge.fragment),new l.t(ge.data),ge.outlet,ge.component,ge)}(De.value),ft=De.children.map(Rt=>Ar(ge,Rt));return new Ur(Ne,ft)}}class ma{constructor(De,be){this.redirectTo=De,this.navigationBehaviorOptions=be}}const no="ngNavigationCancelingError";function ta(ge,De){const{redirectTo:be,navigationBehaviorOptions:Ne}=$t(De)?{redirectTo:De,navigationBehaviorOptions:void 0}:De,ft=Ro(!1,rt.Redirect);return ft.url=be,ft.navigationBehaviorOptions=Ne,ft}function Ro(ge,De){const be=new Error(`NavigationCancelingError: ${ge||""}`);return be[no]=!0,be.cancellationCode=De,be}function bo(ge){return!!ge&&ge[no]}class yo{constructor(De,be,Ne,ft,Rt){this.routeReuseStrategy=De,this.futureState=be,this.currState=Ne,this.forwardEvent=ft,this.inputBindingEnabled=Rt}activate(De){const be=this.futureState._root,Ne=this.currState?this.currState._root:null;this.deactivateChildRoutes(be,Ne,De),Va(this.futureState.root),this.activateChildRoutes(be,Ne,De)}deactivateChildRoutes(De,be,Ne){const ft=yr(be);De.children.forEach(Rt=>{const Jt=Rt.value.outlet;this.deactivateRoutes(Rt,ft[Jt],Ne),delete ft[Jt]}),Object.values(ft).forEach(Rt=>{this.deactivateRouteAndItsChildren(Rt,Ne)})}deactivateRoutes(De,be,Ne){const ft=De.value,Rt=be?be.value:null;if(ft===Rt)if(ft.component){const Jt=Ne.getContext(ft.outlet);Jt&&this.deactivateChildRoutes(De,be,Jt.children)}else this.deactivateChildRoutes(De,be,Ne);else Rt&&this.deactivateRouteAndItsChildren(be,Ne)}deactivateRouteAndItsChildren(De,be){De.value.component&&this.routeReuseStrategy.shouldDetach(De.value.snapshot)?this.detachAndStoreRouteSubtree(De,be):this.deactivateRouteAndOutlet(De,be)}detachAndStoreRouteSubtree(De,be){const Ne=be.getContext(De.value.outlet),ft=Ne&&De.value.component?Ne.children:be,Rt=yr(De);for(const Jt of Object.values(Rt))this.deactivateRouteAndItsChildren(Jt,ft);if(Ne&&Ne.outlet){const Jt=Ne.outlet.detach(),Mi=Ne.children.onOutletDeactivated();this.routeReuseStrategy.store(De.value.snapshot,{componentRef:Jt,route:De,contexts:Mi})}}deactivateRouteAndOutlet(De,be){const Ne=be.getContext(De.value.outlet),ft=Ne&&De.value.component?Ne.children:be,Rt=yr(De);for(const Jt of Object.values(Rt))this.deactivateRouteAndItsChildren(Jt,ft);Ne&&(Ne.outlet&&(Ne.outlet.deactivate(),Ne.children.onOutletDeactivated()),Ne.attachRef=null,Ne.route=null)}activateChildRoutes(De,be,Ne){const ft=yr(be);De.children.forEach(Rt=>{this.activateRoutes(Rt,ft[Rt.value.outlet],Ne),this.forwardEvent(new mi(Rt.value.snapshot))}),De.children.length&&this.forwardEvent(new Yi(De.value.snapshot))}activateRoutes(De,be,Ne){const ft=De.value,Rt=be?be.value:null;if(Va(ft),ft===Rt)if(ft.component){const Jt=Ne.getOrCreateContext(ft.outlet);this.activateChildRoutes(De,be,Jt.children)}else this.activateChildRoutes(De,be,Ne);else if(ft.component){const Jt=Ne.getOrCreateContext(ft.outlet);if(this.routeReuseStrategy.shouldAttach(ft.snapshot)){const Mi=this.routeReuseStrategy.retrieve(ft.snapshot);this.routeReuseStrategy.store(ft.snapshot,null),Jt.children.onOutletReAttached(Mi.contexts),Jt.attachRef=Mi.componentRef,Jt.route=Mi.route.value,Jt.outlet&&Jt.outlet.attach(Mi.componentRef,Mi.route.value),Va(Mi.route.value),this.activateChildRoutes(De,null,Jt.children)}else Jt.attachRef=null,Jt.route=ft,Jt.outlet&&Jt.outlet.activateWith(ft,Jt.injector),this.activateChildRoutes(De,null,Jt.children)}else this.activateChildRoutes(De,null,Ne)}}class ro{constructor(De){this.path=De,this.route=this.path[this.path.length-1]}}class Ka{constructor(De,be){this.component=De,this.route=be}}function Ga(ge,De,be){const Ne=ge._root;return Bo(Ne,De?De._root:null,be,[Ne.value])}function ia(ge,De){const be=Symbol(),Ne=De.get(ge,be);return Ne===be?"function"!=typeof ge||(0,e.LfX)(ge)?De.get(ge):ge:Ne}function Bo(ge,De,be,Ne,ft={canDeactivateChecks:[],canActivateChecks:[]}){const Rt=yr(De);return ge.children.forEach(Jt=>{(function Ot(ge,De,be,Ne,ft={canDeactivateChecks:[],canActivateChecks:[]}){const Rt=ge.value,Jt=De?De.value:null,Mi=be?be.getContext(ge.value.outlet):null;if(Jt&&Rt.routeConfig===Jt.routeConfig){const bi=function si(ge,De,be){if("function"==typeof be)return be(ge,De);switch(be){case"pathParamsChange":return!vt(ge.url,De.url);case"pathParamsOrQueryParamsChange":return!vt(ge.url,De.url)||!se(ge.queryParams,De.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ko(ge,De)||!se(ge.queryParams,De.queryParams);default:return!ko(ge,De)}}(Jt,Rt,Rt.routeConfig.runGuardsAndResolvers);bi?ft.canActivateChecks.push(new ro(Ne)):(Rt.data=Jt.data,Rt._resolvedData=Jt._resolvedData),Bo(ge,De,Rt.component?Mi?Mi.children:null:be,Ne,ft),bi&&Mi&&Mi.outlet&&Mi.outlet.isActivated&&ft.canDeactivateChecks.push(new Ka(Mi.outlet.component,Jt))}else Jt&&wt(De,Mi,ft),ft.canActivateChecks.push(new ro(Ne)),Bo(ge,null,Rt.component?Mi?Mi.children:null:be,Ne,ft)})(Jt,Rt[Jt.value.outlet],be,Ne.concat([Jt.value]),ft),delete Rt[Jt.value.outlet]}),Object.entries(Rt).forEach(([Jt,Mi])=>wt(Mi,be.getContext(Jt),ft)),ft}function wt(ge,De,be){const Ne=yr(ge),ft=ge.value;Object.entries(Ne).forEach(([Rt,Jt])=>{wt(Jt,ft.component?De?De.children.getContext(Rt):null:De,be)}),be.canDeactivateChecks.push(new Ka(ft.component&&De&&De.outlet&&De.outlet.isActivated?De.outlet.component:null,ft))}function ni(ge){return"function"==typeof ge}function Zo(ge){return ge instanceof f.G||"EmptyError"===ge?.name}const $a=Symbol("INITIAL_VALUE");function Vo(){return(0,Q.n)(ge=>(0,w.z)(ge.map(De=>De.pipe((0,J.s)(1),(0,ie.Z)($a)))).pipe((0,W.T)(De=>{for(const be of De)if(!0!==be){if(be===$a)return $a;if(!1===be||Gr(be))return be}return!0}),(0,ee.p)(De=>De!==$a),(0,J.s)(1)))}function Gr(ge){return $t(ge)||ge instanceof ma}function Cr(ge){return(0,S.F)((0,Ce.M)(De=>{if("boolean"!=typeof De)throw ta(0,De)}),(0,W.T)(De=>!0===De))}class _c{constructor(De){this.segmentGroup=De||null}}class ks extends Error{constructor(De){super(),this.urlTree=De}}function Uo(ge){return(0,y.$)(new _c(ge))}class us{constructor(De,be){this.urlSerializer=De,this.urlTree=be}lineralizeSegments(De,be){let Ne=[],ft=be.root;for(;;){if(Ne=Ne.concat(ft.segments),0===ft.numberOfChildren)return(0,D.of)(Ne);if(ft.numberOfChildren>1||!ft.children[pe])return(0,y.$)(new e.wOt(4e3,!1));ft=ft.children[pe]}}applyRedirectCommands(De,be,Ne,ft,Rt){if("string"!=typeof be){const Mi=be,{queryParams:bi,fragment:cn,routeConfig:Pn,url:zn,outlet:Er,params:Cs,data:Sa,title:xc}=ft,Ta=(0,e.N4e)(Rt,()=>Mi({params:Cs,data:Sa,queryParams:bi,fragment:cn,routeConfig:Pn,url:zn,outlet:Er,title:xc}));if(Ta instanceof _e)throw new ks(Ta);be=Ta}const Jt=this.applyRedirectCreateUrlTree(be,this.urlSerializer.parse(be),De,Ne);if("/"===be[0])throw new ks(Jt);return Jt}applyRedirectCreateUrlTree(De,be,Ne,ft){const Rt=this.createSegmentGroup(De,be.root,Ne,ft);return new _e(Rt,this.createQueryParams(be.queryParams,this.urlTree.queryParams),be.fragment)}createQueryParams(De,be){const Ne={};return Object.entries(De).forEach(([ft,Rt])=>{if("string"==typeof Rt&&":"===Rt[0]){const Mi=Rt.substring(1);Ne[ft]=be[Mi]}else Ne[ft]=Rt}),Ne}createSegmentGroup(De,be,Ne,ft){const Rt=this.createSegments(De,be.segments,Ne,ft);let Jt={};return Object.entries(be.children).forEach(([Mi,bi])=>{Jt[Mi]=this.createSegmentGroup(De,bi,Ne,ft)}),new we(Rt,Jt)}createSegments(De,be,Ne,ft){return be.map(Rt=>":"===Rt.path[0]?this.findPosParam(De,Rt,ft):this.findOrReturn(Rt,Ne))}findPosParam(De,be,Ne){const ft=Ne[be.path.substring(1)];if(!ft)throw new e.wOt(4001,!1);return ft}findOrReturn(De,be){let Ne=0;for(const ft of be){if(ft.path===De.path)return be.splice(Ne),ft;Ne++}return De}}const vs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Us(ge,De,be,Ne,ft){const Rt=jn(ge,De,be);return Rt.matched?(Ne=function On(ge,De){return ge.providers&&!ge._injector&&(ge._injector=(0,e.Ol2)(ge.providers,De,`Route: ${ge.path}`)),ge._injector??De}(De,Ne),function Qa(ge,De,be,Ne){const ft=De.canMatch;if(!ft||0===ft.length)return(0,D.of)(!0);const Rt=ft.map(Jt=>{const Mi=ia(Jt,ge);return st(function ao(ge){return ge&&ni(ge.canMatch)}(Mi)?Mi.canMatch(De,be):(0,e.N4e)(ge,()=>Mi(De,be)))});return(0,D.of)(Rt).pipe(Vo(),Cr())}(Ne,De,be).pipe((0,W.T)(Jt=>!0===Jt?Rt:{...vs}))):(0,D.of)(Rt)}function jn(ge,De,be){if("**"===De.path)return function na(ge){return{matched:!0,parameters:ge.length>0?Ie(ge).parameters:{},consumedSegments:ge,remainingSegments:[],positionalParamSegments:{}}}(be);if(""===De.path)return"full"===De.pathMatch&&(ge.hasChildren()||be.length>0)?{...vs}:{matched:!0,consumedSegments:[],remainingSegments:be,parameters:{},positionalParamSegments:{}};const ft=(De.matcher||oe)(be,ge,De);if(!ft)return{...vs};const Rt={};Object.entries(ft.posParams??{}).forEach(([Mi,bi])=>{Rt[Mi]=bi.path});const Jt=ft.consumed.length>0?{...Rt,...ft.consumed[ft.consumed.length-1].parameters}:Rt;return{matched:!0,consumedSegments:ft.consumed,remainingSegments:be.slice(ft.consumed.length),parameters:Jt,positionalParamSegments:ft.posParams??{}}}function Nr(ge,De,be,Ne){return be.length>0&&function dn(ge,De,be){return be.some(Ne=>qo(ge,De,Ne)&&qr(Ne)!==pe)}(ge,be,Ne)?{segmentGroup:new we(De,_a(Ne,new we(be,ge.children))),slicedSegments:[]}:0===be.length&&function Is(ge,De,be){return be.some(Ne=>qo(ge,De,Ne))}(ge,be,Ne)?{segmentGroup:new we(ge.segments,ca(ge,be,Ne,ge.children)),slicedSegments:be}:{segmentGroup:new we(ge.segments,ge.children),slicedSegments:be}}function ca(ge,De,be,Ne){const ft={};for(const Rt of be)if(qo(ge,De,Rt)&&!Ne[qr(Rt)]){const Jt=new we([],{});ft[qr(Rt)]=Jt}return{...Ne,...ft}}function _a(ge,De){const be={};be[pe]=De;for(const Ne of ge)if(""===Ne.path&&qr(Ne)!==pe){const ft=new we([],{});be[qr(Ne)]=ft}return be}function qo(ge,De,be){return(!(ge.hasChildren()||De.length>0)||"full"!==be.pathMatch)&&""===be.path}class rc{}class bs{constructor(De,be,Ne,ft,Rt,Jt,Mi){this.injector=De,this.configLoader=be,this.rootComponentType=Ne,this.config=ft,this.urlTree=Rt,this.paramsInheritanceStrategy=Jt,this.urlSerializer=Mi,this.applyRedirects=new us(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(De){return new e.wOt(4002,`'${De.segmentGroup}'`)}recognize(){const De=Nr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(De).pipe((0,W.T)(({children:be,rootSnapshot:Ne})=>{const ft=new Ur(Ne,be),Rt=new Ao("",ft),Jt=function Kt(ge,De,be=null,Ne=null){return ti(Ui(ge),De,be,Ne)}(Ne,[],this.urlTree.queryParams,this.urlTree.fragment);return Jt.queryParams=this.urlTree.queryParams,Rt.url=this.urlSerializer.serialize(Jt),{state:Rt,tree:Jt}}))}match(De){const be=new Ba([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),pe,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,De,pe,be).pipe((0,W.T)(Ne=>({children:Ne,rootSnapshot:be})),(0,le.W)(Ne=>{if(Ne instanceof ks)return this.urlTree=Ne.urlTree,this.match(Ne.urlTree.root);throw Ne instanceof _c?this.noMatchError(Ne):Ne}))}processSegmentGroup(De,be,Ne,ft,Rt){return 0===Ne.segments.length&&Ne.hasChildren()?this.processChildren(De,be,Ne,Rt):this.processSegment(De,be,Ne,Ne.segments,ft,!0,Rt).pipe((0,W.T)(Jt=>Jt instanceof Ur?[Jt]:[]))}processChildren(De,be,Ne,ft){const Rt=[];for(const Jt of Object.keys(Ne.children))"primary"===Jt?Rt.unshift(Jt):Rt.push(Jt);return(0,x.H)(Rt).pipe((0,Me.H)(Jt=>{const Mi=Ne.children[Jt],bi=function _s(ge,De){const be=ge.filter(Ne=>qr(Ne)===De);return be.push(...ge.filter(Ne=>qr(Ne)!==De)),be}(be,Jt);return this.processSegmentGroup(De,bi,Mi,Jt,ft)}),(0,T.S)((Jt,Mi)=>(Jt.push(...Mi),Jt)),(0,n.U)(null),function k(ge,De){const be=arguments.length>=2;return Ne=>Ne.pipe(ge?(0,ee.p)((ft,Rt)=>ge(ft,Rt,Ne)):A.D,d(1),be?(0,n.U)(De):(0,C.v)(()=>new f.G))}(),(0,fe.Z)(Jt=>{if(null===Jt)return Uo(Ne);const Mi=el(Jt);return function Fc(ge){ge.sort((De,be)=>De.value.outlet===pe?-1:be.value.outlet===pe?1:De.value.outlet.localeCompare(be.value.outlet))}(Mi),(0,D.of)(Mi)}))}processSegment(De,be,Ne,ft,Rt,Jt,Mi){return(0,x.H)(be).pipe((0,Me.H)(bi=>this.processSegmentAgainstRoute(bi._injector??De,be,bi,Ne,ft,Rt,Jt,Mi).pipe((0,le.W)(cn=>{if(cn instanceof _c)return(0,D.of)(null);throw cn}))),(0,ne.$)(bi=>!!bi),(0,le.W)(bi=>{if(Zo(bi))return function vc(ge,De,be){return 0===De.length&&!ge.children[be]}(Ne,ft,Rt)?(0,D.of)(new rc):Uo(Ne);throw bi}))}processSegmentAgainstRoute(De,be,Ne,ft,Rt,Jt,Mi,bi){return qr(Ne)===Jt||Jt!==pe&&qo(ft,Rt,Ne)?void 0===Ne.redirectTo?this.matchSegmentAgainstRoute(De,ft,Ne,Rt,Jt,bi):this.allowRedirects&&Mi?this.expandSegmentAgainstRouteUsingRedirect(De,ft,be,Ne,Rt,Jt,bi):Uo(ft):Uo(ft)}expandSegmentAgainstRouteUsingRedirect(De,be,Ne,ft,Rt,Jt,Mi){const{matched:bi,parameters:cn,consumedSegments:Pn,positionalParamSegments:zn,remainingSegments:Er}=jn(be,ft,Rt);if(!bi)return Uo(be);"string"==typeof ft.redirectTo&&"/"===ft.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Cs=new Ba(Rt,cn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Gs(ft),qr(ft),ft.component??ft._loadedComponent??null,ft,Hs(ft)),Sa=Do(Cs,Mi,this.paramsInheritanceStrategy);Cs.params=Object.freeze(Sa.params),Cs.data=Object.freeze(Sa.data);const xc=this.applyRedirects.applyRedirectCommands(Pn,ft.redirectTo,zn,Cs,De);return this.applyRedirects.lineralizeSegments(ft,xc).pipe((0,fe.Z)(Ta=>this.processSegment(De,Ne,be,Ta.concat(Er),Jt,!1,Mi)))}matchSegmentAgainstRoute(De,be,Ne,ft,Rt,Jt){const Mi=Us(be,Ne,ft,De);return"**"===Ne.path&&(be.children={}),Mi.pipe((0,Q.n)(bi=>bi.matched?this.getChildConfig(De=Ne._injector??De,Ne,ft).pipe((0,Q.n)(({routes:cn})=>{const Pn=Ne._loadedInjector??De,{parameters:zn,consumedSegments:Er,remainingSegments:Cs}=bi,Sa=new Ba(Er,zn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Gs(Ne),qr(Ne),Ne.component??Ne._loadedComponent??null,Ne,Hs(Ne)),xc=Do(Sa,Jt,this.paramsInheritanceStrategy);Sa.params=Object.freeze(xc.params),Sa.data=Object.freeze(xc.data);const{segmentGroup:Ta,slicedSegments:wo}=Nr(be,Er,Cs,cn);if(0===wo.length&&Ta.hasChildren())return this.processChildren(Pn,cn,Ta,Sa).pipe((0,W.T)(Cc=>new Ur(Sa,Cc)));if(0===cn.length&&0===wo.length)return(0,D.of)(new Ur(Sa,[]));const Ll=qr(Ne)===Rt;return this.processSegment(Pn,cn,Ta,wo,Ll?pe:Rt,!0,Sa).pipe((0,W.T)(Cc=>new Ur(Sa,Cc instanceof Ur?[Cc]:[])))})):Uo(be)))}getChildConfig(De,be,Ne){return be.children?(0,D.of)({routes:be.children,injector:De}):be.loadChildren?void 0!==be._loadedRoutes?(0,D.of)({routes:be._loadedRoutes,injector:be._loadedInjector}):function Oo(ge,De,be,Ne){const ft=De.canLoad;if(void 0===ft||0===ft.length)return(0,D.of)(!0);const Rt=ft.map(Jt=>{const Mi=ia(Jt,ge);return st(function Ji(ge){return ge&&ni(ge.canLoad)}(Mi)?Mi.canLoad(De,be):(0,e.N4e)(ge,()=>Mi(De,be)))});return(0,D.of)(Rt).pipe(Vo(),Cr())}(De,be,Ne).pipe((0,fe.Z)(ft=>ft?this.configLoader.loadChildren(De,be).pipe((0,Ce.M)(Rt=>{be._loadedRoutes=Rt.routes,be._loadedInjector=Rt.injector})):function Jo(){return(0,y.$)(Ro(!1,rt.GuardRejected))}())):(0,D.of)({routes:[],injector:De})}}function ac(ge){const De=ge.value.routeConfig;return De&&""===De.path}function el(ge){const De=[],be=new Set;for(const Ne of ge){if(!ac(Ne)){De.push(Ne);continue}const ft=De.find(Rt=>Ne.value.routeConfig===Rt.value.routeConfig);void 0!==ft?(ft.children.push(...Ne.children),be.add(ft)):De.push(Ne)}for(const Ne of be){const ft=el(Ne.children);De.push(new Ur(Ne.value,ft))}return De.filter(Ne=>!be.has(Ne))}function Gs(ge){return ge.data||{}}function Hs(ge){return ge.resolve||{}}function es(ge){const De=ge.children.map(be=>es(be)).flat();return[ge,...De]}function ys(ge){return(0,Q.n)(De=>{const be=ge(De);return be?(0,x.H)(be).pipe((0,W.T)(()=>De)):(0,D.of)(De)})}let sc=(()=>{class ge{buildTitle(be){let Ne,ft=be.root;for(;void 0!==ft;)Ne=this.getResolvedTitleForRoute(ft)??Ne,ft=ft.children.find(Rt=>Rt.outlet===pe);return Ne}getResolvedTitleForRoute(be){return be.data[ze]}static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>(0,e.WQX)(zc),providedIn:"root"})}}return ge})(),zc=(()=>{class ge extends sc{constructor(be){super(),this.title=be}updateTitle(be){const Ne=this.buildTitle(be);void 0!==Ne&&this.title.setTitle(Ne)}static{this.\u0275fac=function(Ne){return new(Ne||ge)(e.KVO(q.hE))}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();const Za=new e.nKC("",{providedIn:"root",factory:()=>({})});let Rs=(()=>{class ge{static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275cmp=e.VBU({type:ge,selectors:[["ng-component"]],standalone:!0,features:[e.aNF],decls:1,vars:0,template:function(Ne,ft){1&Ne&&e.nrm(0,"router-outlet")},dependencies:[vo],encapsulation:2})}}return ge})();function bc(ge){const De=ge.children&&ge.children.map(bc),be=De?{...ge,children:De}:{...ge};return!be.component&&!be.loadComponent&&(De||be.loadChildren)&&be.outlet&&be.outlet!==pe&&(be.component=Rs),be}const Ys=new e.nKC("");let tl=(()=>{class ge{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.WQX)(e.Ql9)}loadComponent(be){if(this.componentLoaders.get(be))return this.componentLoaders.get(be);if(be._loadedComponent)return(0,D.of)(be._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(be);const Ne=st(be.loadComponent()).pipe((0,W.T)(Ht),(0,Ce.M)(Rt=>{this.onLoadEndListener&&this.onLoadEndListener(be),be._loadedComponent=Rt}),(0,a.j)(()=>{this.componentLoaders.delete(be)})),ft=new I.G(Ne,()=>new V.B).pipe((0,b.B)());return this.componentLoaders.set(be,ft),ft}loadChildren(be,Ne){if(this.childrenLoaders.get(Ne))return this.childrenLoaders.get(Ne);if(Ne._loadedRoutes)return(0,D.of)({routes:Ne._loadedRoutes,injector:Ne._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Ne);const Rt=function mt(ge,De,be,Ne){return st(ge.loadChildren()).pipe((0,W.T)(Ht),(0,fe.Z)(ft=>ft instanceof e.Co$||Array.isArray(ft)?(0,D.of)(ft):(0,x.H)(De.compileModuleAsync(ft))),(0,W.T)(ft=>{Ne&&Ne(ge);let Rt,Jt,Mi=!1;return Array.isArray(ft)?(Jt=ft,!0):(Rt=ft.create(be).injector,Jt=Rt.get(Ys,[],{optional:!0,self:!0}).flat()),{routes:Jt.map(bc),injector:Rt}}))}(Ne,this.compiler,be,this.onLoadEndListener).pipe((0,a.j)(()=>{this.childrenLoaders.delete(Ne)})),Jt=new I.G(Rt,()=>new V.B).pipe((0,b.B)());return this.childrenLoaders.set(Ne,Jt),Jt}static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();function Ht(ge){return function Vt(ge){return ge&&"object"==typeof ge&&"default"in ge}(ge)?ge.default:ge}let ei=(()=>{class ge{static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>(0,e.WQX)(ci),providedIn:"root"})}}return ge})(),ci=(()=>{class ge{shouldProcessUrl(be){return!0}extract(be){return be}merge(be,Ne){return be}static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();const yi=new e.nKC(""),Oi=new e.nKC("");function ji(ge,De,be){const Ne=ge.get(Oi),ft=ge.get(Y.qQ);return ge.get(e.SKi).runOutsideAngular(()=>{if(!ft.startViewTransition||Ne.skipNextTransition)return Ne.skipNextTransition=!1,new Promise(cn=>setTimeout(cn));let Rt;const Jt=new Promise(cn=>{Rt=cn}),Mi=ft.startViewTransition(()=>(Rt(),function pn(ge){return new Promise(De=>{(0,e.mal)({read:()=>setTimeout(De)},{injector:ge})})}(ge))),{onViewTransitionCreated:bi}=Ne;return bi&&(0,e.N4e)(ge,()=>bi({transition:Mi,from:De,to:be})),Jt})}const _n=new e.nKC("");let Wn=(()=>{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)(tl),this.environmentInjector=(0,e.WQX)(e.uvJ),this.urlSerializer=(0,e.WQX)(nt),this.rootContexts=(0,e.WQX)(Or),this.location=(0,e.WQX)(Y.aZ),this.inputBindingEnabled=null!==(0,e.WQX)(Ea,{optional:!0}),this.titleStrategy=(0,e.WQX)(sc),this.options=(0,e.WQX)(Za,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,e.WQX)(ei),this.createViewTransition=(0,e.WQX)(yi,{optional:!0}),this.navigationErrorHandler=(0,e.WQX)(_n,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,D.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ft=>this.events.next(new wn(ft)),this.configLoader.onLoadStartListener=ft=>this.events.next(new dr(ft))}complete(){this.transitions?.complete()}handleNavigationRequest(be){const Ne=++this.navigationId;this.transitions?.next({...this.transitions.value,...be,id:Ne})}setupNavigations(be,Ne,ft){return this.transitions=new l.t({id:0,currentUrlTree:Ne,currentRawUrl:Ne,extractedUrl:this.urlHandlingStrategy.extract(Ne),urlAfterRedirects:this.urlHandlingStrategy.extract(Ne),rawUrl:Ne,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Ut,restoredState:null,currentSnapshot:ft.snapshot,targetSnapshot:null,currentRouterState:ft,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ee.p)(Rt=>0!==Rt.id),(0,W.T)(Rt=>({...Rt,extractedUrl:this.urlHandlingStrategy.extract(Rt.rawUrl)})),(0,Q.n)(Rt=>{let Jt=!1,Mi=!1;return(0,D.of)(Rt).pipe((0,Q.n)(bi=>{if(this.navigationId>Rt.id)return this.cancelNavigationTransition(Rt,"",rt.SupersededByNewNavigation),O.w;this.currentTransition=Rt,this.currentNavigation={id:bi.id,initialUrl:bi.rawUrl,extractedUrl:bi.extractedUrl,targetBrowserUrl:"string"==typeof bi.extras.browserUrl?this.urlSerializer.parse(bi.extras.browserUrl):bi.extras.browserUrl,trigger:bi.source,extras:bi.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const cn=!be.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!cn&&"reload"!==(bi.extras.onSameUrlNavigation??be.onSameUrlNavigation)){const zn="";return this.events.next(new di(bi.id,this.urlSerializer.serialize(bi.rawUrl),zn,ht.IgnoredSameUrlNavigation)),bi.resolve(!1),O.w}if(this.urlHandlingStrategy.shouldProcessUrl(bi.rawUrl))return(0,D.of)(bi).pipe((0,Q.n)(zn=>{const Er=this.transitions?.getValue();return this.events.next(new He(zn.id,this.urlSerializer.serialize(zn.extractedUrl),zn.source,zn.restoredState)),Er!==this.transitions?.getValue()?O.w:Promise.resolve(zn)}),function js(ge,De,be,Ne,ft,Rt){return(0,fe.Z)(Jt=>function xo(ge,De,be,Ne,ft,Rt,Jt="emptyOnly"){return new bs(ge,De,be,Ne,ft,Jt,Rt).recognize()}(ge,De,be,Ne,Jt.extractedUrl,ft,Rt).pipe((0,W.T)(({state:Mi,tree:bi})=>({...Jt,targetSnapshot:Mi,urlAfterRedirects:bi}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,be.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Ce.M)(zn=>{Rt.targetSnapshot=zn.targetSnapshot,Rt.urlAfterRedirects=zn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:zn.urlAfterRedirects};const Er=new Cn(zn.id,this.urlSerializer.serialize(zn.extractedUrl),this.urlSerializer.serialize(zn.urlAfterRedirects),zn.targetSnapshot);this.events.next(Er)}));if(cn&&this.urlHandlingStrategy.shouldProcessUrl(bi.currentRawUrl)){const{id:zn,extractedUrl:Er,source:Cs,restoredState:Sa,extras:xc}=bi,Ta=new He(zn,this.urlSerializer.serialize(Er),Cs,Sa);this.events.next(Ta);const wo=xr(this.rootComponentType).snapshot;return this.currentTransition=Rt={...bi,targetSnapshot:wo,urlAfterRedirects:Er,extras:{...xc,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Er,(0,D.of)(Rt)}{const zn="";return this.events.next(new di(bi.id,this.urlSerializer.serialize(bi.extractedUrl),zn,ht.IgnoredByUrlHandlingStrategy)),bi.resolve(!1),O.w}}),(0,Ce.M)(bi=>{const cn=new Hn(bi.id,this.urlSerializer.serialize(bi.extractedUrl),this.urlSerializer.serialize(bi.urlAfterRedirects),bi.targetSnapshot);this.events.next(cn)}),(0,W.T)(bi=>(this.currentTransition=Rt={...bi,guards:Ga(bi.targetSnapshot,bi.currentSnapshot,this.rootContexts)},Rt)),function Pi(ge,De){return(0,fe.Z)(be=>{const{targetSnapshot:Ne,currentSnapshot:ft,guards:{canActivateChecks:Rt,canDeactivateChecks:Jt}}=be;return 0===Jt.length&&0===Rt.length?(0,D.of)({...be,guardsResult:!0}):function it(ge,De,be,Ne){return(0,x.H)(ge).pipe((0,fe.Z)(ft=>function er(ge,De,be,Ne,ft){const Rt=De&&De.routeConfig?De.routeConfig.canDeactivate:null;if(!Rt||0===Rt.length)return(0,D.of)(!0);const Jt=Rt.map(Mi=>{const bi=Ma(De)??ft,cn=ia(Mi,bi);return st(function Ra(ge){return ge&&ni(ge.canDeactivate)}(cn)?cn.canDeactivate(ge,De,be,Ne):(0,e.N4e)(bi,()=>cn(ge,De,be,Ne))).pipe((0,ne.$)())});return(0,D.of)(Jt).pipe(Vo())}(ft.component,ft.route,be,De,Ne)),(0,ne.$)(ft=>!0!==ft,!0))}(Jt,Ne,ft,ge).pipe((0,fe.Z)(Mi=>Mi&&function Ei(ge){return"boolean"==typeof ge}(Mi)?function ut(ge,De,be,Ne){return(0,x.H)(De).pipe((0,Me.H)(ft=>(0,R.x)(function Dt(ge,De){return null!==ge&&De&&De(new Ai(ge)),(0,D.of)(!0)}(ft.route.parent,Ne),function Ve(ge,De){return null!==ge&&De&&De(new Ft(ge)),(0,D.of)(!0)}(ft.route,Ne),function vn(ge,De,be){const Ne=De[De.length-1],Rt=De.slice(0,De.length-1).reverse().map(Jt=>function sr(ge){const De=ge.routeConfig?ge.routeConfig.canActivateChild:null;return De&&0!==De.length?{node:ge,guards:De}:null}(Jt)).filter(Jt=>null!==Jt).map(Jt=>(0,h.v)(()=>{const Mi=Jt.guards.map(bi=>{const cn=Ma(Jt.node)??be,Pn=ia(bi,cn);return st(function ga(ge){return ge&&ni(ge.canActivateChild)}(Pn)?Pn.canActivateChild(Ne,ge):(0,e.N4e)(cn,()=>Pn(Ne,ge))).pipe((0,ne.$)())});return(0,D.of)(Mi).pipe(Vo())}));return(0,D.of)(Rt).pipe(Vo())}(ge,ft.path,be),function ai(ge,De,be){const Ne=De.routeConfig?De.routeConfig.canActivate:null;if(!Ne||0===Ne.length)return(0,D.of)(!0);const ft=Ne.map(Rt=>(0,h.v)(()=>{const Jt=Ma(De)??be,Mi=ia(Rt,Jt);return st(function cr(ge){return ge&&ni(ge.canActivate)}(Mi)?Mi.canActivate(De,ge):(0,e.N4e)(Jt,()=>Mi(De,ge))).pipe((0,ne.$)())}));return(0,D.of)(ft).pipe(Vo())}(ge,ft.route,be))),(0,ne.$)(ft=>!0!==ft,!0))}(Ne,Rt,ge,De):(0,D.of)(Mi)),(0,W.T)(Mi=>({...be,guardsResult:Mi})))})}(this.environmentInjector,bi=>this.events.next(bi)),(0,Ce.M)(bi=>{if(Rt.guardsResult=bi.guardsResult,bi.guardsResult&&"boolean"!=typeof bi.guardsResult)throw ta(0,bi.guardsResult);const cn=new Qn(bi.id,this.urlSerializer.serialize(bi.extractedUrl),this.urlSerializer.serialize(bi.urlAfterRedirects),bi.targetSnapshot,!!bi.guardsResult);this.events.next(cn)}),(0,ee.p)(bi=>!!bi.guardsResult||(this.cancelNavigationTransition(bi,"",rt.GuardRejected),!1)),ys(bi=>{if(bi.guards.canActivateChecks.length)return(0,D.of)(bi).pipe((0,Ce.M)(cn=>{const Pn=new Jn(cn.id,this.urlSerializer.serialize(cn.extractedUrl),this.urlSerializer.serialize(cn.urlAfterRedirects),cn.targetSnapshot);this.events.next(Pn)}),(0,Q.n)(cn=>{let Pn=!1;return(0,D.of)(cn).pipe(function Ws(ge,De){return(0,fe.Z)(be=>{const{targetSnapshot:Ne,guards:{canActivateChecks:ft}}=be;if(!ft.length)return(0,D.of)(be);const Rt=new Set(ft.map(bi=>bi.route)),Jt=new Set;for(const bi of Rt)if(!Jt.has(bi))for(const cn of es(bi))Jt.add(cn);let Mi=0;return(0,x.H)(Jt).pipe((0,Me.H)(bi=>Rt.has(bi)?function Pc(ge,De,be,Ne){const ft=ge.routeConfig,Rt=ge._resolve;return void 0!==ft?.title&&!fo(ft)&&(Rt[ze]=ft.title),function Xs(ge,De,be,Ne){const ft=ae(ge);if(0===ft.length)return(0,D.of)({});const Rt={};return(0,x.H)(ft).pipe((0,fe.Z)(Jt=>function oc(ge,De,be,Ne){const ft=Ma(De)??Ne,Rt=ia(ge,ft);return st(Rt.resolve?Rt.resolve(De,be):(0,e.N4e)(ft,()=>Rt(De,be)))}(ge[Jt],De,be,Ne).pipe((0,ne.$)(),(0,Ce.M)(Mi=>{if(Mi instanceof ma)throw ta(new qt,Mi);Rt[Jt]=Mi}))),d(1),(0,_.u)(Rt),(0,le.W)(Jt=>Zo(Jt)?O.w:(0,y.$)(Jt)))}(Rt,ge,De,Ne).pipe((0,W.T)(Jt=>(ge._resolvedData=Jt,ge.data=Do(ge,ge.parent,be).resolve,null)))}(bi,Ne,ge,De):(bi.data=Do(bi,bi.parent,ge).resolve,(0,D.of)(void 0))),(0,Ce.M)(()=>Mi++),d(1),(0,fe.Z)(bi=>Mi===Jt.size?(0,D.of)(be):O.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Ce.M)({next:()=>Pn=!0,complete:()=>{Pn||this.cancelNavigationTransition(cn,"",rt.NoDataFromResolver)}}))}),(0,Ce.M)(cn=>{const Pn=new nr(cn.id,this.urlSerializer.serialize(cn.extractedUrl),this.urlSerializer.serialize(cn.urlAfterRedirects),cn.targetSnapshot);this.events.next(Pn)}))}),ys(bi=>{const cn=Pn=>{const zn=[];Pn.routeConfig?.loadComponent&&!Pn.routeConfig._loadedComponent&&zn.push(this.configLoader.loadComponent(Pn.routeConfig).pipe((0,Ce.M)(Er=>{Pn.component=Er}),(0,W.T)(()=>{})));for(const Er of Pn.children)zn.push(...cn(Er));return zn};return(0,w.z)(cn(bi.targetSnapshot.root)).pipe((0,n.U)(null),(0,J.s)(1))}),ys(()=>this.afterPreactivation()),(0,Q.n)(()=>{const{currentSnapshot:bi,targetSnapshot:cn}=Rt,Pn=this.createViewTransition?.(this.environmentInjector,bi.root,cn.root);return Pn?(0,x.H)(Pn).pipe((0,W.T)(()=>Rt)):(0,D.of)(Rt)}),(0,W.T)(bi=>{const cn=function Bs(ge,De,be){const Ne=Ar(ge,De._root,be?be._root:void 0);return new Ya(Ne,De)}(be.routeReuseStrategy,bi.targetSnapshot,bi.currentRouterState);return this.currentTransition=Rt={...bi,targetRouterState:cn},this.currentNavigation.targetRouterState=cn,Rt}),(0,Ce.M)(()=>{this.events.next(new xi)}),((ge,De,be,Ne)=>(0,W.T)(ft=>(new yo(De,ft.targetRouterState,ft.currentRouterState,be,Ne).activate(ge),ft)))(this.rootContexts,be.routeReuseStrategy,bi=>this.events.next(bi),this.inputBindingEnabled),(0,J.s)(1),(0,Ce.M)({next:bi=>{Jt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ye(bi.id,this.urlSerializer.serialize(bi.extractedUrl),this.urlSerializer.serialize(bi.urlAfterRedirects))),this.titleStrategy?.updateTitle(bi.targetRouterState.snapshot),bi.resolve(!0)},complete:()=>{Jt=!0}}),(0,z.Q)(this.transitionAbortSubject.pipe((0,Ce.M)(bi=>{throw bi}))),(0,a.j)(()=>{!Jt&&!Mi&&this.cancelNavigationTransition(Rt,"",rt.SupersededByNewNavigation),this.currentTransition?.id===Rt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,le.W)(bi=>{if(Mi=!0,bo(bi))this.events.next(new ii(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),bi.message,bi.cancellationCode)),function As(ge){return bo(ge)&&$t(ge.url)}(bi)?this.events.next(new Ni(bi.url,bi.navigationBehaviorOptions)):Rt.resolve(!1);else{const cn=new Gi(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),bi,Rt.targetSnapshot??void 0);try{const Pn=(0,e.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(cn));if(Pn instanceof ma){const{message:zn,cancellationCode:Er}=ta(0,Pn);this.events.next(new ii(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),zn,Er)),this.events.next(new Ni(Pn.redirectTo,Pn.navigationBehaviorOptions))}else{this.events.next(cn);const zn=be.errorHandler(bi);Rt.resolve(!!zn)}}catch(Pn){this.options.resolveNavigationPromiseOnError?Rt.resolve(!1):Rt.reject(Pn)}}return O.w}))}))}cancelNavigationTransition(be,Ne,ft){const Rt=new ii(be.id,this.urlSerializer.serialize(be.extractedUrl),Ne,ft);this.events.next(Rt),be.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const be=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),Ne=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return be.toString()!==Ne?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();function xe(ge){return ge!==Ut}let bt=(()=>{class ge{static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>(0,e.WQX)(gt),providedIn:"root"})}}return ge})();class Ye{shouldDetach(De){return!1}store(De,be){}shouldAttach(De){return!1}retrieve(De){return null}shouldReuseRoute(De,be){return De.routeConfig===be.routeConfig}}let gt=(()=>{class ge extends Ye{static{this.\u0275fac=(()=>{let be;return function(ft){return(be||(be=e.xGo(ge)))(ft||ge)}})()}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})(),Zt=(()=>{class ge{static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:()=>(0,e.WQX)(Si),providedIn:"root"})}}return ge})(),Si=(()=>{class ge extends Zt{constructor(){super(...arguments),this.location=(0,e.WQX)(Y.aZ),this.urlSerializer=(0,e.WQX)(nt),this.options=(0,e.WQX)(Za,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,e.WQX)(ei),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new _e,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=xr(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(be){return this.location.subscribe(Ne=>{"popstate"===Ne.type&&be(Ne.url,Ne.state)})}handleRouterEvent(be,Ne){if(be instanceof He)this.stateMemento=this.createStateMemento();else if(be instanceof di)this.rawUrlTree=Ne.initialUrl;else if(be instanceof Cn){if("eager"===this.urlUpdateStrategy&&!Ne.extras.skipLocationChange){const ft=this.urlHandlingStrategy.merge(Ne.finalUrl,Ne.initialUrl);this.setBrowserUrl(Ne.targetBrowserUrl??ft,Ne)}}else be instanceof xi?(this.currentUrlTree=Ne.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Ne.finalUrl,Ne.initialUrl),this.routerState=Ne.targetRouterState,"deferred"===this.urlUpdateStrategy&&!Ne.extras.skipLocationChange&&this.setBrowserUrl(Ne.targetBrowserUrl??this.rawUrlTree,Ne)):be instanceof ii&&(be.code===rt.GuardRejected||be.code===rt.NoDataFromResolver)?this.restoreHistory(Ne):be instanceof Gi?this.restoreHistory(Ne,!0):be instanceof ye&&(this.lastSuccessfulId=be.id,this.currentPageId=this.browserPageId)}setBrowserUrl(be,Ne){const ft=be instanceof _e?this.urlSerializer.serialize(be):be;if(this.location.isCurrentPathEqualTo(ft)||Ne.extras.replaceUrl){const Jt={...Ne.extras.state,...this.generateNgRouterState(Ne.id,this.browserPageId)};this.location.replaceState(ft,"",Jt)}else{const Rt={...Ne.extras.state,...this.generateNgRouterState(Ne.id,this.browserPageId+1)};this.location.go(ft,"",Rt)}}restoreHistory(be,Ne=!1){if("computed"===this.canceledNavigationResolution){const Rt=this.currentPageId-this.browserPageId;0!==Rt?this.location.historyGo(Rt):this.currentUrlTree===be.finalUrl&&0===Rt&&(this.resetState(be),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Ne&&this.resetState(be),this.resetUrlToCurrentUrlTree())}resetState(be){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,be.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(be,Ne){return"computed"===this.canceledNavigationResolution?{navigationId:be,\u0275routerPageId:Ne}:{navigationId:be}}static{this.\u0275fac=(()=>{let be;return function(ft){return(be||(be=e.xGo(ge)))(ft||ge)}})()}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();var Ii=function(ge){return ge[ge.COMPLETE=0]="COMPLETE",ge[ge.FAILED=1]="FAILED",ge[ge.REDIRECTING=2]="REDIRECTING",ge}(Ii||{});function on(ge,De){ge.events.pipe((0,ee.p)(be=>be instanceof ye||be instanceof ii||be instanceof Gi||be instanceof di),(0,W.T)(be=>be instanceof ye||be instanceof di?Ii.COMPLETE:be instanceof ii&&(be.code===rt.Redirect||be.code===rt.SupersededByNewNavigation)?Ii.REDIRECTING:Ii.FAILED),(0,ee.p)(be=>be!==Ii.REDIRECTING),(0,J.s)(1)).subscribe(()=>{De()})}function Kn(ge){throw ge}const wr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},pr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Fn=(()=>{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)(Zt),this.options=(0,e.WQX)(Za,{optional:!0})||{},this.pendingTasks=(0,e.WQX)(e.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,e.WQX)(Wn),this.urlSerializer=(0,e.WQX)(nt),this.location=(0,e.WQX)(Y.aZ),this.urlHandlingStrategy=(0,e.WQX)(ei),this._events=new V.B,this.errorHandler=this.options.errorHandler||Kn,this.navigated=!1,this.routeReuseStrategy=(0,e.WQX)(bt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,e.WQX)(Ys,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,e.WQX)(Ea,{optional:!0}),this.eventsSubscription=new j.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:be=>{this.console.warn(be)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const be=this.navigationTransitions.events.subscribe(Ne=>{try{const ft=this.navigationTransitions.currentTransition,Rt=this.navigationTransitions.currentNavigation;if(null!==ft&&null!==Rt)if(this.stateManager.handleRouterEvent(Ne,Rt),Ne instanceof ii&&Ne.code!==rt.Redirect&&Ne.code!==rt.SupersededByNewNavigation)this.navigated=!0;else if(Ne instanceof ye)this.navigated=!0;else if(Ne instanceof Ni){const Jt=Ne.navigationBehaviorOptions,Mi=this.urlHandlingStrategy.merge(Ne.url,ft.currentRawUrl),bi={browserUrl:ft.extras.browserUrl,info:ft.extras.info,skipLocationChange:ft.extras.skipLocationChange,replaceUrl:ft.extras.replaceUrl||"eager"===this.urlUpdateStrategy||xe(ft.source),...Jt};this.scheduleNavigation(Mi,Ut,null,bi,{resolve:ft.resolve,reject:ft.reject,promise:ft.promise})}(function Dn(ge){return!(ge instanceof xi||ge instanceof Ni)})(Ne)&&this._events.next(Ne)}catch(ft){this.navigationTransitions.transitionAbortSubject.next(ft)}});this.eventsSubscription.add(be)}resetRootComponentType(be){this.routerState.root.component=be,this.navigationTransitions.rootComponentType=be}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ut,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((be,Ne)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(be,"popstate",Ne)},0)})}navigateToSyncWithBrowser(be,Ne,ft){const Rt={replaceUrl:!0},Jt=ft?.navigationId?ft:null;if(ft){const bi={...ft};delete bi.navigationId,delete bi.\u0275routerPageId,0!==Object.keys(bi).length&&(Rt.state=bi)}const Mi=this.parseUrl(be);this.scheduleNavigation(Mi,Ne,Jt,Rt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(be){this.config=be.map(bc),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(be,Ne={}){const{relativeTo:ft,queryParams:Rt,fragment:Jt,queryParamsHandling:Mi,preserveFragment:bi}=Ne,cn=bi?this.currentUrlTree.fragment:Jt;let zn,Pn=null;switch(Mi??this.options.defaultQueryParamsHandling){case"merge":Pn={...this.currentUrlTree.queryParams,...Rt};break;case"preserve":Pn=this.currentUrlTree.queryParams;break;default:Pn=Rt||null}null!==Pn&&(Pn=this.removeEmptyProps(Pn));try{zn=Ui(ft?ft.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof be[0]||"/"!==be[0][0])&&(be=[]),zn=this.currentUrlTree.root}return ti(zn,be,Pn,cn??null)}navigateByUrl(be,Ne={skipLocationChange:!1}){const ft=$t(be)?be:this.parseUrl(be),Rt=this.urlHandlingStrategy.merge(ft,this.rawUrlTree);return this.scheduleNavigation(Rt,Ut,null,Ne)}navigate(be,Ne={skipLocationChange:!1}){return function Sr(ge){for(let De=0;De(null!=Rt&&(Ne[ft]=Rt),Ne),{})}scheduleNavigation(be,Ne,ft,Rt,Jt){if(this.disposed)return Promise.resolve(!1);let Mi,bi,cn;Jt?(Mi=Jt.resolve,bi=Jt.reject,cn=Jt.promise):cn=new Promise((zn,Er)=>{Mi=zn,bi=Er});const Pn=this.pendingTasks.add();return on(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Pn))}),this.navigationTransitions.handleNavigationRequest({source:Ne,restoredState:ft,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:be,extras:Rt,resolve:Mi,reject:bi,promise:cn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),cn.catch(zn=>Promise.reject(zn))}static{this.\u0275fac=function(Ne){return new(Ne||ge)}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})(),Fi=(()=>{class ge{constructor(be,Ne,ft,Rt,Jt,Mi){this.router=be,this.route=Ne,this.tabIndexAttribute=ft,this.renderer=Rt,this.el=Jt,this.locationStrategy=Mi,this.href=null,this.onChanges=new V.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const bi=Jt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===bi||"area"===bi,this.isAnchorElement?this.subscription=be.events.subscribe(cn=>{cn instanceof ye&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(be){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",be)}ngOnChanges(be){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(be){null==be?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=$t(be)||Array.isArray(be)?be:[be],this.setTabIndexIfNotOnNativeEl("0"))}onClick(be,Ne,ft,Rt,Jt){const Mi=this.urlTree;return!!(null===Mi||this.isAnchorElement&&(0!==be||Ne||ft||Rt||Jt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Mi,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const be=this.urlTree;this.href=null!==be&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(be)):null;const Ne=null===this.href?null:(0,e.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Ne)}applyAttributeValue(be,Ne){const ft=this.renderer,Rt=this.el.nativeElement;null!==Ne?ft.setAttribute(Rt,be,Ne):ft.removeAttribute(Rt,be)}get urlTree(){return null===this.routerLinkInput?null:$t(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{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(Ne){return new(Ne||ge)(e.rXU(Fn),e.rXU(hn),e.kS0("tabindex"),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(Y.hb))}}static{this.\u0275dir=e.FsC({type:ge,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Ne,ft){1&Ne&&e.bIt("click",function(Jt){return ft.onClick(Jt.button,Jt.ctrlKey,Jt.shiftKey,Jt.altKey,Jt.metaKey)}),2&Ne&&e.BMQ("target",ft.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})(),bn=(()=>{class ge{get isActive(){return this._isActive}constructor(be,Ne,ft,Rt,Jt){this.router=be,this.element=Ne,this.renderer=ft,this.cdr=Rt,this.link=Jt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.bkB,this.routerEventsSubscription=be.events.subscribe(Mi=>{Mi instanceof ye&&this.update()})}ngAfterContentInit(){(0,D.of)(this.links.changes,(0,D.of)(null)).pipe((0,N.U)()).subscribe(be=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const be=[...this.links.toArray(),this.link].filter(Ne=>!!Ne).map(Ne=>Ne.onChanges);this.linkInputChangesSubscription=(0,x.H)(be).pipe((0,N.U)()).subscribe(Ne=>{this._isActive!==this.isLinkActive(this.router)(Ne)&&this.update()})}set routerLinkActive(be){const Ne=Array.isArray(be)?be:be.split(" ");this.classes=Ne.filter(ft=>!!ft)}ngOnChanges(be){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const be=this.hasActiveLinks();this.classes.forEach(Ne=>{be?this.renderer.addClass(this.element.nativeElement,Ne):this.renderer.removeClass(this.element.nativeElement,Ne)}),be&&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!==be&&(this._isActive=be,this.cdr.markForCheck(),this.isActiveChange.emit(be))})}isLinkActive(be){const Ne=function Tr(ge){return!!ge.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ft=>{const Rt=ft.urlTree;return!!Rt&&be.isActive(Rt,Ne)}}hasActiveLinks(){const be=this.isLinkActive(this.router);return this.link&&be(this.link)||this.links.some(be)}static{this.\u0275fac=function(Ne){return new(Ne||ge)(e.rXU(Fn),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(Fi,8))}}static{this.\u0275dir=e.FsC({type:ge,selectors:[["","routerLinkActive",""]],contentQueries:function(Ne,ft,Rt){if(1&Ne&&e.wni(Rt,Fi,5),2&Ne){let Jt;e.mGM(Jt=e.lsd())&&(ft.links=Jt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.OA$]})}}return ge})();class va{}let oo=(()=>{class ge{constructor(be,Ne,ft,Rt,Jt){this.router=be,this.injector=ft,this.preloadingStrategy=Rt,this.loader=Jt}setUpPreloading(){this.subscription=this.router.events.pipe((0,ee.p)(be=>be instanceof ye),(0,Me.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(be,Ne){const ft=[];for(const Rt of Ne){Rt.providers&&!Rt._injector&&(Rt._injector=(0,e.Ol2)(Rt.providers,be,`Route: ${Rt.path}`));const Jt=Rt._injector??be,Mi=Rt._loadedInjector??Jt;(Rt.loadChildren&&!Rt._loadedRoutes&&void 0===Rt.canLoad||Rt.loadComponent&&!Rt._loadedComponent)&&ft.push(this.preloadConfig(Jt,Rt)),(Rt.children||Rt._loadedRoutes)&&ft.push(this.processRoutes(Mi,Rt.children??Rt._loadedRoutes))}return(0,x.H)(ft).pipe((0,N.U)())}preloadConfig(be,Ne){return this.preloadingStrategy.preload(Ne,()=>{let ft;ft=Ne.loadChildren&&void 0===Ne.canLoad?this.loader.loadChildren(be,Ne):(0,D.of)(null);const Rt=ft.pipe((0,fe.Z)(Jt=>null===Jt?(0,D.of)(void 0):(Ne._loadedRoutes=Jt.routes,Ne._loadedInjector=Jt.injector,this.processRoutes(Jt.injector??be,Jt.routes))));if(Ne.loadComponent&&!Ne._loadedComponent){const Jt=this.loader.loadComponent(Ne);return(0,x.H)([Rt,Jt]).pipe((0,N.U)())}return Rt})}static{this.\u0275fac=function(Ne){return new(Ne||ge)(e.KVO(Fn),e.KVO(e.Ql9),e.KVO(e.uvJ),e.KVO(va),e.KVO(tl))}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}return ge})();const hr=new e.nKC("");let aa=(()=>{class ge{constructor(be,Ne,ft,Rt,Jt={}){this.urlSerializer=be,this.transitions=Ne,this.viewportScroller=ft,this.zone=Rt,this.options=Jt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},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(be=>{be instanceof He?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=be.navigationTrigger,this.restoredId=be.restoredState?be.restoredState.navigationId:0):be instanceof ye?(this.lastId=be.id,this.scheduleScrollEvent(be,this.urlSerializer.parse(be.urlAfterRedirects).fragment)):be instanceof di&&be.code===ht.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(be,this.urlSerializer.parse(be.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(be=>{be instanceof gi&&(be.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(be.position):be.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(be.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(be,Ne){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new gi(be,"popstate"===this.lastSource?this.store[this.restoredId]:null,Ne))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(Ne){e.QTQ()}}static{this.\u0275prov=e.jDH({token:ge,factory:ge.\u0275fac})}}return ge})();function Co(ge,De){return{\u0275kind:ge,\u0275providers:De}}function cc(){const ge=(0,e.WQX)(e.zZn);return De=>{const be=ge.get(e.o8S);if(De!==be.components[0])return;const Ne=ge.get(Fn),ft=ge.get(so);1===ge.get(Xi)&&Ne.initialNavigation(),ge.get(Fo,null,e.$GK.Optional)?.setUpPreloading(),ge.get(hr,null,e.$GK.Optional)?.init(),Ne.resetRootComponentType(be.componentTypes[0]),ft.closed||(ft.next(),ft.complete(),ft.unsubscribe())}}const so=new e.nKC("",{factory:()=>new V.B}),Xi=new e.nKC("",{providedIn:"root",factory:()=>1}),Fo=new e.nKC("");function En(ge){return Co(0,[{provide:Fo,useExisting:oo},{provide:va,useExisting:ge}])}function yc(ge){return Co(9,[{provide:yi,useValue:ji},{provide:Oi,useValue:{skipNextTransition:!!ge?.skipInitialTransition,...ge}}])}const xs=new e.nKC("ROUTER_FORROOT_GUARD"),Yr=[Y.aZ,{provide:nt,useClass:qt},Fn,Or,{provide:hn,useFactory:function Bn(ge){return ge.routerState.root},deps:[Fn]},tl,[]];let mo=(()=>{class ge{constructor(be){}static forRoot(be,Ne){return{ngModule:ge,providers:[Yr,[],{provide:Ys,multi:!0,useValue:be},{provide:xs,useFactory:vr,deps:[[Fn,new e.Xx1,new e.kdw]]},{provide:Za,useValue:Ne||{}},Ne?.useHash?{provide:Y.hb,useClass:Y.fw}:{provide:Y.hb,useClass:Y.Sm},{provide:hr,useFactory:()=>{const ge=(0,e.WQX)(Y.Xr),De=(0,e.WQX)(e.SKi),be=(0,e.WQX)(Za),Ne=(0,e.WQX)(Wn),ft=(0,e.WQX)(nt);return be.scrollOffset&&ge.setOffset(be.scrollOffset),new aa(ft,Ne,ge,De,be)}},Ne?.preloadingStrategy?En(Ne.preloadingStrategy).\u0275providers:[],Ne?.initialNavigation?Qr(Ne):[],Ne?.bindToComponentInputs?Co(8,[fa,{provide:Ea,useExisting:fa}]).\u0275providers:[],Ne?.enableViewTransitions?yc().\u0275providers:[],[{provide:$i,useFactory:cc},{provide:e.iLQ,multi:!0,useExisting:$i}]]}}static forChild(be){return{ngModule:ge,providers:[{provide:Ys,multi:!0,useValue:be}]}}static{this.\u0275fac=function(Ne){return new(Ne||ge)(e.KVO(xs,8))}}static{this.\u0275mod=e.$C({type:ge})}static{this.\u0275inj=e.G2t({})}}return ge})();function vr(ge){return"guarded"}function Qr(ge){return["disabled"===ge.initialNavigation?Co(3,[{provide:e.hnV,multi:!0,useFactory:()=>{const De=(0,e.WQX)(Fn);return()=>{De.setUpLocationChangeListener()}}},{provide:Xi,useValue:2}]).\u0275providers:[],"enabledBlocking"===ge.initialNavigation?Co(2,[{provide:Xi,useValue:0},{provide:e.hnV,multi:!0,deps:[e.zZn],useFactory:De=>{const be=De.get(Y.hj,Promise.resolve());return()=>be.then(()=>new Promise(Ne=>{const ft=De.get(Fn),Rt=De.get(so);on(ft,()=>{Ne(!0)}),De.get(Wn).afterPreactivation=()=>(Ne(!0),Rt.closed?(0,D.of)(void 0):Rt),ft.initialNavigation()}))}}]).\u0275providers:[]]}const $i=new e.nKC("")},60:(Qe,te,g)=>{"use strict";g.d(te,{aY:()=>sc,dX:()=>tl});var e=g(4438),t=g(177);const x=()=>{};let D={},l={},w=null,f={mark:x,measure:x};try{typeof window<"u"&&(D=window),typeof document<"u"&&(l=document),typeof MutationObserver<"u"&&(w=MutationObserver),typeof performance<"u"&&(f=performance)}catch{}const{userAgent:R=""}=D.navigator||{},h=D,S=l,y=w,O=f,V=!!S.documentElement&&!!S.head&&"function"==typeof S.addEventListener&&"function"==typeof S.createElement,j=~R.indexOf("MSIE")||~R.indexOf("Trident/");var Y="classic",W="duotone",Q="sharp",J="sharp-duotone",ie=[Y,W,Q,J],C={classic:{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"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},k=[1,2,3,4,5,6,7,8,9,10],_=k.concat([11,12,13,14,15,16,17,18,19,20]),a={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},b=[...Object.keys({classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]}),"solid","regular","light","thin","duotone","brands","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",a.GROUP,a.SWAP_OPACITY,a.PRIMARY,a.SECONDARY].concat(k.map(mt=>"".concat(mt,"x"))).concat(_.map(mt=>"w-".concat(mt)));const ze="___FONT_AWESOME___",Xe=16,We="fa",oe="svg-inline--fa",X="data-fa-i2svg",se="data-fa-pseudo-element",ae="data-fa-pseudo-element-pending",he="data-prefix",Ie="data-icon",st="fontawesome-i2svg",me="async",Ee=["HTML","HEAD","STYLE","SCRIPT"],ue=(()=>{try{return!0}catch{return!1}})(),Be=[Y,Q,J];function Ct(mt){return new Proxy(mt,{get:(Vt,Ht)=>Ht in Vt?Vt[Ht]:Vt[Y]})}const ct={...C};ct[Y]={...C[Y],fak:"kit","fa-kit":"kit",fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"};const dt=Ct(ct),Yt={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}};Yt[Y]={...Yt[Y],kit:"fak","kit-duotone":"fakd"};const ve=Ct(Yt),_e={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}};_e[Y]={..._e[Y],fak:"fa-kit"};const we=Ct(_e),Ue={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}};Ue[Y]={...Ue[Y],"fa-kit":"fak"};const je=Ct(Ue),vt=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,$e="fa-layers-text",nt=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,yt=(Ct({classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}}),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),jt=a,Je=new Set;Object.keys(ve[Y]).map(Je.add.bind(Je)),Object.keys(ve[Q]).map(Je.add.bind(Je)),Object.keys(ve[J]).map(Je.add.bind(Je));const et=["kit",...b],Ae=h.FontAwesomeConfig||{};S&&"function"==typeof S.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(Vt=>{let[Ht,ei]=Vt;const ci=function Qt(mt){return""===mt||"false"!==mt&&("true"===mt||mt)}(function It(mt){var Vt=S.querySelector("script["+mt+"]");if(Vt)return Vt.getAttribute(mt)}(Ht));null!=ci&&(Ae[ei]=ci)});const Tt={styleDefault:"solid",familyDefault:"classic",cssPrefix:We,replacementClass:oe,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ae.familyPrefix&&(Ae.cssPrefix=Ae.familyPrefix);const xt={...Tt,...Ae};xt.autoReplaceSvg||(xt.observeMutations=!1);const Se={};Object.keys(Tt).forEach(mt=>{Object.defineProperty(Se,mt,{enumerable:!0,set:function(Vt){xt[mt]=Vt,Te.forEach(Ht=>Ht(Se))},get:function(){return xt[mt]}})}),Object.defineProperty(Se,"familyPrefix",{enumerable:!0,set:function(mt){xt.cssPrefix=mt,Te.forEach(Vt=>Vt(Se))},get:function(){return xt.cssPrefix}}),h.FontAwesomeConfig=Se;const Te=[],Z=Xe,Re={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},pt="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ke(){let mt=12,Vt="";for(;mt-- >0;)Vt+=pt[62*Math.random()|0];return Vt}function Fe(mt){const Vt=[];for(let Ht=(mt||[]).length>>>0;Ht--;)Vt[Ht]=mt[Ht];return Vt}function Ge(mt){return mt.classList?Fe(mt.classList):(mt.getAttribute("class")||"").split(" ").filter(Vt=>Vt)}function qe(mt){return"".concat(mt).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Lt(mt){return Object.keys(mt||{}).reduce((Vt,Ht)=>Vt+"".concat(Ht,": ").concat(mt[Ht].trim(),";"),"")}function pi(mt){return mt.size!==Re.size||mt.x!==Re.x||mt.y!==Re.y||mt.rotate!==Re.rotate||mt.flipX||mt.flipY}var Ui=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\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-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\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 transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\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 transform: scale(var(--fa-counter-scale, 0.25));\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 transform: scale(var(--fa-layers-scale, 0.25));\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 transform: scale(var(--fa-layers-scale, 0.25));\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 transform: scale(var(--fa-layers-scale, 0.25));\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 transform: scale(var(--fa-layers-scale, 0.25));\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(-1 * var(--fa-li-width, 2em));\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 animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\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 animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\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 animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\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 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 transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\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-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\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 ti(){const mt=We,Vt=oe,Ht=Se.cssPrefix,ei=Se.replacementClass;let ci=Ui;if(Ht!==mt||ei!==Vt){const yi=new RegExp("\\.".concat(mt,"\\-"),"g"),Oi=new RegExp("\\--".concat(mt,"\\-"),"g"),ji=new RegExp("\\.".concat(Vt),"g");ci=ci.replace(yi,".".concat(Ht,"-")).replace(Oi,"--".concat(Ht,"-")).replace(ji,".".concat(ei))}return ci}let fi=!1;function xn(){Se.autoAddCss&&!fi&&(function Pe(mt){if(!mt||!V)return;const Vt=S.createElement("style");Vt.setAttribute("type","text/css"),Vt.innerHTML=mt;const Ht=S.head.childNodes;let ei=null;for(let ci=Ht.length-1;ci>-1;ci--){const yi=Ht[ci],Oi=(yi.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(Oi)>-1&&(ei=yi)}S.head.insertBefore(Vt,ei)}(ti()),fi=!0)}var tn={mixout:()=>({dom:{css:ti,insertCss:xn}}),hooks:()=>({beforeDOMElementCreation(){xn()},beforeI2svg(){xn()}})};const Vi=h||{};Vi[ze]||(Vi[ze]={}),Vi[ze].styles||(Vi[ze].styles={}),Vi[ze].hooks||(Vi[ze].hooks={}),Vi[ze].shims||(Vi[ze].shims=[]);var Qi=Vi[ze];const Xt=[],St=function(){S.removeEventListener("DOMContentLoaded",St),tt=1,Xt.map(mt=>mt())};let tt=!1;function Mt(mt){const{tag:Vt,attributes:Ht={},children:ei=[]}=mt;return"string"==typeof mt?qe(mt):"<".concat(Vt," ").concat(function at(mt){return Object.keys(mt||{}).reduce((Vt,Ht)=>Vt+"".concat(Ht,'="').concat(qe(mt[Ht]),'" '),"").trim()}(Ht),">").concat(ei.map(Mt).join(""),"")}function Bt(mt,Vt,Ht){if(mt&&mt[Vt]&&mt[Vt][Ht])return{prefix:Vt,iconName:Ht,icon:mt[Vt][Ht]}}V&&(tt=(S.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(S.readyState),tt||S.addEventListener("DOMContentLoaded",St));var Ti=function(Vt,Ht,ei,ci){var pn,_n,Wn,yi=Object.keys(Vt),Oi=yi.length,ji=void 0!==ci?function(Vt,Ht){return function(ei,ci,yi,Oi){return Vt.call(Ht,ei,ci,yi,Oi)}}(Ht,ci):Ht;for(void 0===ei?(pn=1,Wn=Vt[yi[0]]):(pn=0,Wn=ei);pn=55296&&ci<=56319&&Ht{const ei=mt[Ht];return ei.icon?Vt[ei.iconName]=ei.icon:Vt[Ht]=ei,Vt},{})}function Ut(mt,Vt){let Ht=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:ei=!1}=Ht,ci=mn(Vt);"function"!=typeof Qi.hooks.addPack||ei?Qi.styles[mt]={...Qi.styles[mt]||{},...ci}:Qi.hooks.addPack(mt,mn(Vt)),"fas"===mt&&Ut("fa",Vt)}const{styles:lt,shims:re}=Qi,He={[Y]:Object.values(we[Y]),[Q]:Object.values(we[Q]),[J]:Object.values(we[J])};let ye=null,rt={},ht={},ii={},di={},Gi={};const Cn={[Y]:Object.keys(dt[Y]),[Q]:Object.keys(dt[Q]),[J]:Object.keys(dt[J])};const Jn=()=>{const mt=ei=>Ti(lt,(ci,yi,Oi)=>(ci[Oi]=Ti(yi,ei,{}),ci),{});rt=mt((ei,ci,yi)=>(ci[3]&&(ei[ci[3]]=yi),ci[2]&&ci[2].filter(ji=>"number"==typeof ji).forEach(ji=>{ei[ji.toString(16)]=yi}),ei)),ht=mt((ei,ci,yi)=>(ei[yi]=yi,ci[2]&&ci[2].filter(ji=>"string"==typeof ji).forEach(ji=>{ei[ji]=yi}),ei)),Gi=mt((ei,ci,yi)=>{const Oi=ci[2];return ei[yi]=yi,Oi.forEach(ji=>{ei[ji]=yi}),ei});const Vt="far"in lt||Se.autoFetchSvg,Ht=Ti(re,(ei,ci)=>{const yi=ci[0];let Oi=ci[1];const ji=ci[2];return"far"===Oi&&!Vt&&(Oi="fas"),"string"==typeof yi&&(ei.names[yi]={prefix:Oi,iconName:ji}),"number"==typeof yi&&(ei.unicodes[yi.toString(16)]={prefix:Oi,iconName:ji}),ei},{names:{},unicodes:{}});ii=Ht.names,di=Ht.unicodes,ye=gi(Se.styleDefault,{family:Se.familyDefault})};function nr(mt,Vt){return(rt[mt]||{})[Vt]}function wn(mt,Vt){return(Gi[mt]||{})[Vt]}function Ai(mt){return ii[mt]||{prefix:null,iconName:null}}function Ft(){return ye}(function ce(mt){Te.push(mt)})(mt=>{ye=gi(mt.styleDefault,{family:Se.familyDefault})}),Jn();const mi=()=>({prefix:null,iconName:null,rest:[]});function gi(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:Ht=Y}=Vt;return ve[Ht][mt]||ve[Ht][dt[Ht][mt]]||(mt in Qi.styles?mt:null)||null}const xi={[Y]:Object.keys(we[Y]),[Q]:Object.keys(we[Q]),[J]:Object.keys(we[J])};function Ni(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:Ht=!1}=Vt,ei={[Y]:"".concat(Se.cssPrefix,"-").concat(Y),[Q]:"".concat(Se.cssPrefix,"-").concat(Q),[J]:"".concat(Se.cssPrefix,"-").concat(J)};let ci=null,yi=Y;const Oi=ie.filter(pn=>pn!==W);Oi.forEach(pn=>{(mt.includes(ei[pn])||mt.some(_n=>xi[pn].includes(_n)))&&(yi=pn)});const ji=mt.reduce((pn,_n)=>{const Wn=function Qn(mt,Vt){const Ht=Vt.split("-"),ei=Ht[0],ci=Ht.slice(1).join("-");return ei!==mt||""===ci||function Hn(mt){return~et.indexOf(mt)}(ci)?null:ci}(Se.cssPrefix,_n);if(lt[_n]?(_n=He[yi].includes(_n)?je[yi][_n]:_n,ci=_n,pn.prefix=_n):Cn[yi].indexOf(_n)>-1?(ci=_n,pn.prefix=gi(_n,{family:yi})):Wn?pn.iconName=Wn:_n!==Se.replacementClass&&!Oi.some(xe=>_n===ei[xe])&&pn.rest.push(_n),!Ht&&pn.prefix&&pn.iconName){const xe="fa"===ci?Ai(pn.iconName):{},bt=wn(pn.prefix,pn.iconName);xe.prefix&&(ci=null),pn.iconName=xe.iconName||bt||pn.iconName,pn.prefix=xe.prefix||pn.prefix,"far"===pn.prefix&&!lt.far&<.fas&&!Se.autoFetchSvg&&(pn.prefix="fas")}return pn},mi());return(mt.includes("fa-brands")||mt.includes("fab"))&&(ji.prefix="fab"),(mt.includes("fa-duotone")||mt.includes("fad"))&&(ji.prefix="fad"),!ji.prefix&&yi===Q&&(lt.fass||Se.autoFetchSvg)&&(ji.prefix="fass",ji.iconName=wn(ji.prefix,ji.iconName)||ji.iconName),!ji.prefix&&yi===J&&(lt.fasds||Se.autoFetchSvg)&&(ji.prefix="fasds",ji.iconName=wn(ji.prefix,ji.iconName)||ji.iconName),("fa"===ji.prefix||"fa"===ci)&&(ji.prefix=Ft()||"fas"),ji}let On=[],ir={};const gn={},Xr=Object.keys(gn);function mr(mt,Vt){for(var Ht=arguments.length,ei=new Array(Ht>2?Ht-2:0),ci=2;ci{Vt=Oi.apply(null,[Vt,...ei])}),Vt}function wa(mt){for(var Vt=arguments.length,Ht=new Array(Vt>1?Vt-1:0),ei=1;ei{yi.apply(null,Ht)})}function Xa(){const mt=arguments[0],Vt=Array.prototype.slice.call(arguments,1);return gn[mt]?gn[mt].apply(null,Vt):void 0}function ds(mt){"fa"===mt.prefix&&(mt.prefix="fas");let{iconName:Vt}=mt;const Ht=mt.prefix||Ft();if(Vt)return Vt=wn(Ht,Vt)||Vt,Bt(qr.definitions,Ht,Vt)||Bt(Qi.styles,Ht,Vt)}const qr=new class nn{constructor(){this.definitions={}}add(){for(var Vt=arguments.length,Ht=new Array(Vt),ei=0;ei{this.definitions[yi]={...this.definitions[yi]||{},...ci[yi]},Ut(yi,ci[yi]);const Oi=we[Y][yi];Oi&&Ut(Oi,ci[yi]),Jn()})}reset(){this.definitions={}}_pullDefinitions(Vt,Ht){const ei=Ht.prefix&&Ht.iconName&&Ht.icon?{0:Ht}:Ht;return Object.keys(ei).map(ci=>{const{prefix:yi,iconName:Oi,icon:ji}=ei[ci],pn=ji[2];Vt[yi]||(Vt[yi]={}),pn.length>0&&pn.forEach(_n=>{"string"==typeof _n&&(Vt[yi][_n]=ji)}),Vt[yi][Oi]=ji}),Vt}},Or={noAuto:()=>{Se.autoReplaceSvg=!1,Se.observeMutations=!1,wa("noAuto")},config:Se,dom:{i2svg:function(){let mt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return V?(wa("beforeI2svg",mt),Xa("pseudoElements2svg",mt),Xa("i2svg",mt)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let mt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:Vt}=mt;!1===Se.autoReplaceSvg&&(Se.autoReplaceSvg=!0),Se.observeMutations=!0,function ot(mt){V&&(tt?setTimeout(mt,0):Xt.push(mt))}(()=>{hs({autoReplaceSvgRoot:Vt}),wa("watch",mt)})}},parse:{icon:mt=>{if(null===mt)return null;if("object"==typeof mt&&mt.prefix&&mt.iconName)return{prefix:mt.prefix,iconName:wn(mt.prefix,mt.iconName)||mt.iconName};if(Array.isArray(mt)&&2===mt.length){const Vt=0===mt[1].indexOf("fa-")?mt[1].slice(3):mt[1],Ht=gi(mt[0]);return{prefix:Ht,iconName:wn(Ht,Vt)||Vt}}if("string"==typeof mt&&(mt.indexOf("".concat(Se.cssPrefix,"-"))>-1||mt.match(vt))){const Vt=Ni(mt.split(" "),{skipLookups:!0});return{prefix:Vt.prefix||Ft(),iconName:wn(Vt.prefix,Vt.iconName)||Vt.iconName}}if("string"==typeof mt){const Vt=Ft();return{prefix:Vt,iconName:wn(Vt,mt)||mt}}}},library:qr,findIconDefinition:ds,toHtml:Mt},hs=function(){let mt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:Vt=S}=mt;(Object.keys(Qi.styles).length>0||Se.autoFetchSvg)&&V&&Se.autoReplaceSvg&&Or.dom.i2svg({node:Vt})};function za(mt,Vt){return Object.defineProperty(mt,"abstract",{get:Vt}),Object.defineProperty(mt,"html",{get:function(){return mt.abstract.map(Ht=>Mt(Ht))}}),Object.defineProperty(mt,"node",{get:function(){if(!V)return;const Ht=S.createElement("div");return Ht.innerHTML=mt.html,Ht.children}}),mt}function yr(mt){const{icons:{main:Vt,mask:Ht},prefix:ei,iconName:ci,transform:yi,symbol:Oi,title:ji,maskId:pn,titleId:_n,extra:Wn,watchable:xe=!1}=mt,{width:bt,height:Ye}=Ht.found?Ht:Vt,gt="fak"===ei,Zt=[Se.replacementClass,ci?"".concat(Se.cssPrefix,"-").concat(ci):""].filter(pr=>-1===Wn.classes.indexOf(pr)).filter(pr=>""!==pr||!!pr).concat(Wn.classes).join(" ");let Si={children:[],attributes:{...Wn.attributes,"data-prefix":ei,"data-icon":ci,class:Zt,role:Wn.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(bt," ").concat(Ye)}};const Ii=gt&&!~Wn.classes.indexOf("fa-fw")?{width:"".concat(bt/Ye*16*.0625,"em")}:{};xe&&(Si.attributes[X]=""),ji&&(Si.children.push({tag:"title",attributes:{id:Si.attributes["aria-labelledby"]||"title-".concat(_n||Ke())},children:[ji]}),delete Si.attributes.title);const on={...Si,prefix:ei,iconName:ci,main:Vt,mask:Ht,maskId:pn,transform:yi,symbol:Oi,styles:{...Ii,...Wn.styles}},{children:Kn,attributes:wr}=Ht.found&&Vt.found?Xa("generateAbstractMask",on)||{children:[],attributes:{}}:Xa("generateAbstractIcon",on)||{children:[],attributes:{}};return on.children=Kn,on.attributes=wr,Oi?function Ur(mt){let{prefix:Vt,iconName:Ht,children:ei,attributes:ci,symbol:yi}=mt;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:{...ci,id:!0===yi?"".concat(Vt,"-").concat(Se.cssPrefix,"-").concat(Ht):yi},children:ei}]}]}(on):function Fr(mt){let{children:Vt,main:Ht,mask:ei,attributes:ci,styles:yi,transform:Oi}=mt;if(pi(Oi)&&Ht.found&&!ei.found){const{width:ji,height:pn}=Ht,_n={x:ji/pn/2,y:.5};ci.style=Lt({...yi,"transform-origin":"".concat(_n.x+Oi.x/16,"em ").concat(_n.y+Oi.y/16,"em")})}return[{tag:"svg",attributes:ci,children:Vt}]}(on)}function Ya(mt){const{content:Vt,width:Ht,height:ei,transform:ci,title:yi,extra:Oi,watchable:ji=!1}=mt,pn={...Oi.attributes,...yi?{title:yi}:{},class:Oi.classes.join(" ")};ji&&(pn[X]="");const _n={...Oi.styles};pi(ci)&&(_n.transform=function Kt(mt){let{transform:Vt,width:Ht=Xe,height:ei=Xe,startCentered:ci=!1}=mt,yi="";return yi+=ci&&j?"translate(".concat(Vt.x/Z-Ht/2,"em, ").concat(Vt.y/Z-ei/2,"em) "):ci?"translate(calc(-50% + ".concat(Vt.x/Z,"em), calc(-50% + ").concat(Vt.y/Z,"em)) "):"translate(".concat(Vt.x/Z,"em, ").concat(Vt.y/Z,"em) "),yi+="scale(".concat(Vt.size/Z*(Vt.flipX?-1:1),", ").concat(Vt.size/Z*(Vt.flipY?-1:1),") "),yi+="rotate(".concat(Vt.rotate,"deg) "),yi}({transform:ci,startCentered:!0,width:Ht,height:ei}),_n["-webkit-transform"]=_n.transform);const Wn=Lt(_n);Wn.length>0&&(pn.style=Wn);const xe=[];return xe.push({tag:"span",attributes:pn,children:[Vt]}),yi&&xe.push({tag:"span",attributes:{class:"sr-only"},children:[yi]}),xe}const{styles:ua}=Qi;function hn(mt){const Vt=mt[0],Ht=mt[1],[ei]=mt.slice(4);let ci=null;return ci=Array.isArray(ei)?{tag:"g",attributes:{class:"".concat(Se.cssPrefix,"-").concat(jt.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Se.cssPrefix,"-").concat(jt.SECONDARY),fill:"currentColor",d:ei[0]}},{tag:"path",attributes:{class:"".concat(Se.cssPrefix,"-").concat(jt.PRIMARY),fill:"currentColor",d:ei[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:ei}},{found:!0,width:Vt,height:Ht,icon:ci}}const Do={found:!1,width:512,height:512};function Ao(mt,Vt){let Ht=Vt;return"fa"===Vt&&null!==Se.styleDefault&&(Vt=Ft()),new Promise((ei,ci)=>{if("fa"===Ht){const yi=Ai(mt)||{};mt=yi.iconName||mt,Vt=yi.prefix||Vt}if(mt&&Vt&&ua[Vt]&&ua[Vt][mt])return ei(hn(ua[Vt][mt]));(function Ba(mt,Vt){!ue&&!Se.showMissingIcons&&mt&&console.error('Icon with name "'.concat(mt,'" and prefix "').concat(Vt,'" is missing.'))})(mt,Vt),ei({...Do,icon:Se.showMissingIcons&&mt&&Xa("missingIconAbstract")||{}})})}const ea=()=>{},_o=Se.measurePerformance&&O&&O.mark&&O.measure?O:{mark:ea,measure:ea},Va='FA "6.6.0"',fo=mt=>{_o.mark("".concat(Va," ").concat(mt," ends")),_o.measure("".concat(Va," ").concat(mt),"".concat(Va," ").concat(mt," begins"),"".concat(Va," ").concat(mt," ends"))};var vo={begin:mt=>(_o.mark("".concat(Va," ").concat(mt," begins")),()=>fo(mt)),end:fo};const zr=()=>{};function Ea(mt){return"string"==typeof(mt.getAttribute?mt.getAttribute(X):null)}function Io(mt){return S.createElementNS("http://www.w3.org/2000/svg",mt)}function Ua(mt){return S.createElement(mt)}function ma(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:Ht=("svg"===mt.tag?Io:Ua)}=Vt;if("string"==typeof mt)return S.createTextNode(mt);const ei=Ht(mt.tag);return Object.keys(mt.attributes||[]).forEach(function(yi){ei.setAttribute(yi,mt.attributes[yi])}),(mt.children||[]).forEach(function(yi){ei.appendChild(ma(yi,{ceFn:Ht}))}),ei}const ta={replace:function(mt){const Vt=mt[0];if(Vt.parentNode)if(mt[1].forEach(Ht=>{Vt.parentNode.insertBefore(ma(Ht),Vt)}),null===Vt.getAttribute(X)&&Se.keepOriginalSource){let Ht=S.createComment(function no(mt){let Vt=" ".concat(mt.outerHTML," ");return Vt="".concat(Vt,"Font Awesome fontawesome.com "),Vt}(Vt));Vt.parentNode.replaceChild(Ht,Vt)}else Vt.remove()},nest:function(mt){const Vt=mt[0],Ht=mt[1];if(~Ge(Vt).indexOf(Se.replacementClass))return ta.replace(mt);const ei=new RegExp("".concat(Se.cssPrefix,"-.*"));if(delete Ht[0].attributes.id,Ht[0].attributes.class){const yi=Ht[0].attributes.class.split(" ").reduce((Oi,ji)=>(ji===Se.replacementClass||ji.match(ei)?Oi.toSvg.push(ji):Oi.toNode.push(ji),Oi),{toNode:[],toSvg:[]});Ht[0].attributes.class=yi.toSvg.join(" "),0===yi.toNode.length?Vt.removeAttribute("class"):Vt.setAttribute("class",yi.toNode.join(" "))}const ci=Ht.map(yi=>Mt(yi)).join("\n");Vt.setAttribute(X,""),Vt.innerHTML=ci}};function Ro(mt){mt()}function As(mt,Vt){const Ht="function"==typeof Vt?Vt:zr;if(0===mt.length)Ht();else{let ei=Ro;Se.mutateApproach===me&&(ei=h.requestAnimationFrame||Ro),ei(()=>{const ci=function Ar(){return!0===Se.autoReplaceSvg?ta.replace:ta[Se.autoReplaceSvg]||ta.replace}(),yi=vo.begin("mutate");mt.map(ci),yi(),Ht()})}}let bo=!1;function $r(){bo=!0}function pa(){bo=!1}let yo=null;function ro(mt){if(!y||!Se.observeMutations)return;const{treeCallback:Vt=zr,nodeCallback:Ht=zr,pseudoElementsCallback:ei=zr,observeMutationsRoot:ci=S}=mt;yo=new y(yi=>{if(bo)return;const Oi=Ft();Fe(yi).forEach(ji=>{if("childList"===ji.type&&ji.addedNodes.length>0&&!Ea(ji.addedNodes[0])&&(Se.searchPseudoElements&&ei(ji.target),Vt(ji.target)),"attributes"===ji.type&&ji.target.parentNode&&Se.searchPseudoElements&&ei(ji.target.parentNode),"attributes"===ji.type&&Ea(ji.target)&&~yt.indexOf(ji.attributeName))if("class"===ji.attributeName&&function fa(mt){const Vt=mt.getAttribute?mt.getAttribute(he):null,Ht=mt.getAttribute?mt.getAttribute(Ie):null;return Vt&&Ht}(ji.target)){const{prefix:pn,iconName:_n}=Ni(Ge(ji.target));ji.target.setAttribute(he,pn||Oi),_n&&ji.target.setAttribute(Ie,_n)}else(function Bs(mt){return mt&&mt.classList&&mt.classList.contains&&mt.classList.contains(Se.replacementClass)})(ji.target)&&Ht(ji.target)})}),V&&yo.observe(ci,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Ot(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:Ht,prefix:ei,rest:ci}=function sr(mt){const Vt=mt.getAttribute("data-prefix"),Ht=mt.getAttribute("data-icon"),ei=void 0!==mt.innerText?mt.innerText.trim():"";let ci=Ni(Ge(mt));return ci.prefix||(ci.prefix=Ft()),Vt&&Ht&&(ci.prefix=Vt,ci.iconName=Ht),ci.iconName&&ci.prefix||(ci.prefix&&ei.length>0&&(ci.iconName=function dr(mt,Vt){return(ht[mt]||{})[Vt]}(ci.prefix,mt.innerText)||nr(ci.prefix,Zi(mt.innerText))),!ci.iconName&&Se.autoFetchSvg&&mt.firstChild&&mt.firstChild.nodeType===Node.TEXT_NODE&&(ci.iconName=mt.firstChild.data)),ci}(mt),yi=function ia(mt){const Vt=Fe(mt.attributes).reduce((ci,yi)=>("class"!==ci.name&&"style"!==ci.name&&(ci[yi.name]=yi.value),ci),{}),Ht=mt.getAttribute("title"),ei=mt.getAttribute("data-fa-title-id");return Se.autoA11y&&(Ht?Vt["aria-labelledby"]="".concat(Se.replacementClass,"-title-").concat(ei||Ke()):(Vt["aria-hidden"]="true",Vt.focusable="false")),Vt}(mt),Oi=mr("parseNodeAttributes",{},mt);let ji=Vt.styleParser?function Ga(mt){const Vt=mt.getAttribute("style");let Ht=[];return Vt&&(Ht=Vt.split(";").reduce((ei,ci)=>{const yi=ci.split(":"),Oi=yi[0],ji=yi.slice(1);return Oi&&ji.length>0&&(ei[Oi]=ji.join(":").trim()),ei},{})),Ht}(mt):[];return{iconName:Ht,title:mt.getAttribute("title"),titleId:mt.getAttribute("data-fa-title-id"),prefix:ei,transform:Re,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:ci,styles:ji,attributes:yi},...Oi}}const{styles:si}=Qi;function wt(mt){const Vt="nest"===Se.autoReplaceSvg?Ot(mt,{styleParser:!1}):Ot(mt);return~Vt.extra.classes.indexOf($e)?Xa("generateLayersText",mt,Vt):Xa("generateSvgReplacementMutation",mt,Vt)}let ni=new Set;function Ei(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!V)return Promise.resolve();const Ht=S.documentElement.classList,ei=Wn=>Ht.add("".concat(st,"-").concat(Wn)),ci=Wn=>Ht.remove("".concat(st,"-").concat(Wn)),yi=Se.autoFetchSvg?ni:Be.map(Wn=>"fa-".concat(Wn)).concat(Object.keys(si));yi.includes("fa")||yi.push("fa");const Oi=[".".concat($e,":not([").concat(X,"])")].concat(yi.map(Wn=>".".concat(Wn,":not([").concat(X,"])"))).join(", ");if(0===Oi.length)return Promise.resolve();let ji=[];try{ji=Fe(mt.querySelectorAll(Oi))}catch{}if(!(ji.length>0))return Promise.resolve();ei("pending"),ci("complete");const pn=vo.begin("onTree"),_n=ji.reduce((Wn,xe)=>{try{const bt=wt(xe);bt&&Wn.push(bt)}catch(bt){ue||"MissingIcon"===bt.name&&console.error(bt)}return Wn},[]);return new Promise((Wn,xe)=>{Promise.all(_n).then(bt=>{As(bt,()=>{ei("active"),ei("complete"),ci("pending"),"function"==typeof Vt&&Vt(),pn(),Wn()})}).catch(bt=>{pn(),xe(bt)})})}function Ji(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;wt(mt).then(Ht=>{Ht&&As([Ht],Vt)})}Be.map(mt=>{ni.add("fa-".concat(mt))}),Object.keys(dt[Y]).map(ni.add.bind(ni)),Object.keys(dt[Q]).map(ni.add.bind(ni)),Object.keys(dt[J]).map(ni.add.bind(ni)),ni=[...ni];const ga=function(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:Ht=Re,symbol:ei=!1,mask:ci=null,maskId:yi=null,title:Oi=null,titleId:ji=null,classes:pn=[],attributes:_n={},styles:Wn={}}=Vt;if(!mt)return;const{prefix:xe,iconName:bt,icon:Ye}=mt;return za({type:"icon",...mt},()=>(wa("beforeDOMElementCreation",{iconDefinition:mt,params:Vt}),Se.autoA11y&&(Oi?_n["aria-labelledby"]="".concat(Se.replacementClass,"-title-").concat(ji||Ke()):(_n["aria-hidden"]="true",_n.focusable="false")),yr({icons:{main:hn(Ye),mask:ci?hn(ci.icon):{found:!1,width:null,height:null,icon:{}}},prefix:xe,iconName:bt,transform:{...Re,...Ht},symbol:ei,title:Oi,maskId:yi,titleId:ji,extra:{attributes:_n,styles:Wn,classes:pn}})))};var Ra={mixout(){return{icon:(mt=ga,function(Vt){let Ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const ei=(Vt||{}).icon?Vt:ds(Vt||{});let{mask:ci}=Ht;return ci&&(ci=(ci||{}).icon?ci:ds(ci||{})),mt(ei,{...Ht,mask:ci})})};var mt},hooks:()=>({mutationObserverCallbacks:mt=>(mt.treeCallback=Ei,mt.nodeCallback=Ji,mt)}),provides(mt){mt.i2svg=function(Vt){const{node:Ht=S,callback:ei=()=>{}}=Vt;return Ei(Ht,ei)},mt.generateSvgReplacementMutation=function(Vt,Ht){const{iconName:ei,title:ci,titleId:yi,prefix:Oi,transform:ji,symbol:pn,mask:_n,maskId:Wn,extra:xe}=Ht;return new Promise((bt,Ye)=>{Promise.all([Ao(ei,Oi),_n.iconName?Ao(_n.iconName,_n.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(gt=>{let[Zt,Si]=gt;bt([Vt,yr({icons:{main:Zt,mask:Si},prefix:Oi,iconName:ei,transform:ji,symbol:pn,maskId:Wn,title:ci,titleId:yi,extra:xe,watchable:!0})])}).catch(Ye)})},mt.generateAbstractIcon=function(Vt){let{children:Ht,attributes:ei,main:ci,transform:yi,styles:Oi}=Vt;const ji=Lt(Oi);let pn;return ji.length>0&&(ei.style=ji),pi(yi)&&(pn=Xa("generateAbstractTransformGrouping",{main:ci,transform:yi,containerWidth:ci.width,iconWidth:ci.width})),Ht.push(pn||ci.icon),{children:Ht,attributes:ei}}}},ao={mixout:()=>({layer(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:Ht=[]}=Vt;return za({type:"layer"},()=>{wa("beforeDOMElementCreation",{assembler:mt,params:Vt});let ei=[];return mt(ci=>{Array.isArray(ci)?ci.map(yi=>{ei=ei.concat(yi.abstract)}):ei=ei.concat(ci.abstract)}),[{tag:"span",attributes:{class:["".concat(Se.cssPrefix,"-layers"),...Ht].join(" ")},children:ei}]})}})},Zo={mixout:()=>({counter(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:Ht=null,classes:ei=[],attributes:ci={},styles:yi={}}=Vt;return za({type:"counter",content:mt},()=>(wa("beforeDOMElementCreation",{content:mt,params:Vt}),function xr(mt){const{content:Vt,title:Ht,extra:ei}=mt,ci={...ei.attributes,...Ht?{title:Ht}:{},class:ei.classes.join(" ")},yi=Lt(ei.styles);yi.length>0&&(ci.style=yi);const Oi=[];return Oi.push({tag:"span",attributes:ci,children:[Vt]}),Ht&&Oi.push({tag:"span",attributes:{class:"sr-only"},children:[Ht]}),Oi}({content:mt.toString(),title:Ht,extra:{attributes:ci,styles:yi,classes:["".concat(Se.cssPrefix,"-layers-counter"),...ei]}})))}})},$a={mixout:()=>({text(mt){let Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:Ht=Re,title:ei=null,classes:ci=[],attributes:yi={},styles:Oi={}}=Vt;return za({type:"text",content:mt},()=>(wa("beforeDOMElementCreation",{content:mt,params:Vt}),Ya({content:mt,transform:{...Re,...Ht},title:ei,extra:{attributes:yi,styles:Oi,classes:["".concat(Se.cssPrefix,"-layers-text"),...ci]}})))}}),provides(mt){mt.generateLayersText=function(Vt,Ht){const{title:ei,transform:ci,extra:yi}=Ht;let Oi=null,ji=null;if(j){const pn=parseInt(getComputedStyle(Vt).fontSize,10),_n=Vt.getBoundingClientRect();Oi=_n.width/pn,ji=_n.height/pn}return Se.autoA11y&&!ei&&(yi.attributes["aria-hidden"]="true"),Promise.resolve([Vt,Ya({content:Vt.innerHTML,width:Oi,height:ji,transform:ci,title:ei,extra:yi,watchable:!0})])}}};const Vo=new RegExp('"',"ug"),Gr=[1105920,1112319],Pi={FontAwesome:{normal:"fas",400:"fas"},"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"},"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"},"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},it=Object.keys(Pi).reduce((mt,Vt)=>(mt[Vt.toLowerCase()]=Pi[Vt],mt),{}),ut=Object.keys(it).reduce((mt,Vt)=>{const Ht=it[Vt];return mt[Vt]=Ht[900]||[...Object.entries(Ht)][0][1],mt},{});function ai(mt,Vt){const Ht="".concat(ae).concat(Vt.replace(":","-"));return new Promise((ei,ci)=>{if(null!==mt.getAttribute(Ht))return ei();const Oi=Fe(mt.children).filter(bt=>bt.getAttribute(se)===Vt)[0],ji=h.getComputedStyle(mt,Vt),pn=ji.getPropertyValue("font-family"),_n=pn.match(nt),Wn=ji.getPropertyValue("font-weight"),xe=ji.getPropertyValue("content");if(Oi&&!_n)return mt.removeChild(Oi),ei();if(_n&&"none"!==xe&&""!==xe){const bt=ji.getPropertyValue("content");let Ye=function Dt(mt,Vt){const Ht=mt.replace(/^['"]|['"]$/g,"").toLowerCase(),ei=parseInt(Vt),ci=isNaN(ei)?"normal":ei;return(it[Ht]||{})[ci]||ut[Ht]}(pn,Wn);const{value:gt,isSecondary:Zt}=function Ve(mt){const Vt=mt.replace(Vo,""),Ht=function ln(mt,Vt){const Ht=mt.length;let ci,ei=mt.charCodeAt(Vt);return ei>=55296&&ei<=56319&&Ht>Vt+1&&(ci=mt.charCodeAt(Vt+1),ci>=56320&&ci<=57343)?1024*(ei-55296)+ci-56320+65536:ei}(Vt,0),ei=Ht>=Gr[0]&&Ht<=Gr[1],ci=2===Vt.length&&Vt[0]===Vt[1];return{value:Zi(ci?Vt[0]:Vt),isSecondary:ei||ci}}(bt),Si=_n[0].startsWith("FontAwesome");let Ii=nr(Ye,gt),on=Ii;if(Si){const Kn=function Yi(mt){const Vt=di[mt],Ht=nr("fas",mt);return Vt||(Ht?{prefix:"fas",iconName:Ht}:null)||{prefix:null,iconName:null}}(gt);Kn.iconName&&Kn.prefix&&(Ii=Kn.iconName,Ye=Kn.prefix)}if(!Ii||Zt||Oi&&Oi.getAttribute(he)===Ye&&Oi.getAttribute(Ie)===on)ei();else{mt.setAttribute(Ht,on),Oi&&mt.removeChild(Oi);const Kn=function Bo(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Re,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),{extra:wr}=Kn;wr.attributes[se]=Vt,Ao(Ii,Ye).then(pr=>{const Fn=yr({...Kn,icons:{main:pr,mask:mi()},prefix:Ye,iconName:on,extra:wr,watchable:!0}),Sr=S.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===Vt?mt.insertBefore(Sr,mt.firstChild):mt.appendChild(Sr),Sr.outerHTML=Fn.map(Dn=>Mt(Dn)).join("\n"),mt.removeAttribute(Ht),ei()}).catch(ci)}}else ei()})}function vn(mt){return Promise.all([ai(mt,"::before"),ai(mt,"::after")])}function er(mt){return!(mt.parentNode===document.head||~Ee.indexOf(mt.tagName.toUpperCase())||mt.getAttribute(se)||mt.parentNode&&"svg"===mt.parentNode.tagName)}function Oo(mt){if(V)return new Promise((Vt,Ht)=>{const ei=Fe(mt.querySelectorAll("*")).filter(er).map(vn),ci=vo.begin("searchPseudoElements");$r(),Promise.all(ei).then(()=>{ci(),pa(),Vt()}).catch(()=>{ci(),pa(),Ht()})})}let Qa=!1;const ks=mt=>mt.toLowerCase().split(" ").reduce((Ht,ei)=>{const ci=ei.toLowerCase().split("-"),yi=ci[0];let Oi=ci.slice(1).join("-");if(yi&&"h"===Oi)return Ht.flipX=!0,Ht;if(yi&&"v"===Oi)return Ht.flipY=!0,Ht;if(Oi=parseFloat(Oi),isNaN(Oi))return Ht;switch(yi){case"grow":Ht.size=Ht.size+Oi;break;case"shrink":Ht.size=Ht.size-Oi;break;case"left":Ht.x=Ht.x-Oi;break;case"right":Ht.x=Ht.x+Oi;break;case"up":Ht.y=Ht.y-Oi;break;case"down":Ht.y=Ht.y+Oi;break;case"rotate":Ht.rotate=Ht.rotate+Oi}return Ht},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0}),Vs={x:0,y:0,width:"100%",height:"100%"};function nc(mt){return mt.attributes&&(mt.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(mt.attributes.fill="black"),mt}function Jo(mt){return"g"===mt.tag?mt.children:[mt]}!function fr(mt,Vt){let{mixoutsTo:Ht}=Vt;On=mt,ir={},Object.keys(gn).forEach(ei=>{-1===Xr.indexOf(ei)&&delete gn[ei]}),On.forEach(ei=>{const ci=ei.mixout?ei.mixout():{};if(Object.keys(ci).forEach(yi=>{"function"==typeof ci[yi]&&(Ht[yi]=ci[yi]),"object"==typeof ci[yi]&&Object.keys(ci[yi]).forEach(Oi=>{Ht[yi]||(Ht[yi]={}),Ht[yi][Oi]=ci[yi][Oi]})}),ei.hooks){const yi=ei.hooks();Object.keys(yi).forEach(Oi=>{ir[Oi]||(ir[Oi]=[]),ir[Oi].push(yi[Oi])})}ei.provides&&ei.provides(gn)})}([tn,Ra,ao,Zo,$a,{hooks:()=>({mutationObserverCallbacks:mt=>(mt.pseudoElementsCallback=Oo,mt)}),provides(mt){mt.pseudoElements2svg=function(Vt){const{node:Ht=S}=Vt;Se.searchPseudoElements&&Oo(Ht)}}},{mixout:()=>({dom:{unwatch(){$r(),Qa=!0}}}),hooks:()=>({bootstrap(){ro(mr("mutationObserverCallbacks",{}))},noAuto(){!function Ka(){yo&&yo.disconnect()}()},watch(mt){const{observeMutationsRoot:Vt}=mt;Qa?pa():ro(mr("mutationObserverCallbacks",{observeMutationsRoot:Vt}))}})},{mixout:()=>({parse:{transform:mt=>ks(mt)}}),hooks:()=>({parseNodeAttributes(mt,Vt){const Ht=Vt.getAttribute("data-fa-transform");return Ht&&(mt.transform=ks(Ht)),mt}}),provides(mt){mt.generateAbstractTransformGrouping=function(Vt){let{main:Ht,transform:ei,containerWidth:ci,iconWidth:yi}=Vt;const Oi={transform:"translate(".concat(ci/2," 256)")},ji="translate(".concat(32*ei.x,", ").concat(32*ei.y,") "),pn="scale(".concat(ei.size/16*(ei.flipX?-1:1),", ").concat(ei.size/16*(ei.flipY?-1:1),") "),_n="rotate(".concat(ei.rotate," 0 0)"),Wn={transform:"".concat(ji," ").concat(pn," ").concat(_n)},xe={transform:"translate(".concat(yi/2*-1," -256)")};return{tag:"g",attributes:{...Oi},children:[{tag:"g",attributes:{...Wn},children:[{tag:Ht.icon.tag,children:Ht.icon.children,attributes:{...Ht.icon.attributes,...xe}}]}]}}}},{hooks:()=>({parseNodeAttributes(mt,Vt){const Ht=Vt.getAttribute("data-fa-mask"),ei=Ht?Ni(Ht.split(" ").map(ci=>ci.trim())):mi();return ei.prefix||(ei.prefix=Ft()),mt.mask=ei,mt.maskId=Vt.getAttribute("data-fa-mask-id"),mt}}),provides(mt){mt.generateAbstractMask=function(Vt){let{children:Ht,attributes:ei,main:ci,mask:yi,maskId:Oi,transform:ji}=Vt;const{width:pn,icon:_n}=ci,{width:Wn,icon:xe}=yi,bt=function $t(mt){let{transform:Vt,containerWidth:Ht,iconWidth:ei}=mt;const ci={transform:"translate(".concat(Ht/2," 256)")},yi="translate(".concat(32*Vt.x,", ").concat(32*Vt.y,") "),Oi="scale(".concat(Vt.size/16*(Vt.flipX?-1:1),", ").concat(Vt.size/16*(Vt.flipY?-1:1),") "),ji="rotate(".concat(Vt.rotate," 0 0)");return{outer:ci,inner:{transform:"".concat(yi," ").concat(Oi," ").concat(ji)},path:{transform:"translate(".concat(ei/2*-1," -256)")}}}({transform:ji,containerWidth:Wn,iconWidth:pn}),Ye={tag:"rect",attributes:{...Vs,fill:"white"}},gt=_n.children?{children:_n.children.map(nc)}:{},Zt={tag:"g",attributes:{...bt.inner},children:[nc({tag:_n.tag,attributes:{..._n.attributes,...bt.path},...gt})]},Si={tag:"g",attributes:{...bt.outer},children:[Zt]},Ii="mask-".concat(Oi||Ke()),on="clip-".concat(Oi||Ke()),Kn={tag:"mask",attributes:{...Vs,id:Ii,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"},children:[Ye,Si]},wr={tag:"defs",children:[{tag:"clipPath",attributes:{id:on},children:Jo(xe)},Kn]};return Ht.push(wr,{tag:"rect",attributes:{fill:"currentColor","clip-path":"url(#".concat(on,")"),mask:"url(#".concat(Ii,")"),...Vs}}),{children:Ht,attributes:ei}}}},{provides(mt){let Vt=!1;h.matchMedia&&(Vt=h.matchMedia("(prefers-reduced-motion: reduce)").matches),mt.missingIconAbstract=function(){const Ht=[],ei={fill:"currentColor"},ci={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Ht.push({tag:"path",attributes:{...ei,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"}});const yi={...ci,attributeName:"opacity"},Oi={tag:"circle",attributes:{...ei,cx:"256",cy:"364",r:"28"},children:[]};return Vt||Oi.children.push({tag:"animate",attributes:{...ci,attributeName:"r",values:"28;14;28;28;14;28;"}},{tag:"animate",attributes:{...yi,values:"1;0;1;1;0;1;"}}),Ht.push(Oi),Ht.push({tag:"path",attributes:{...ei,opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"},children:Vt?[]:[{tag:"animate",attributes:{...yi,values:"1;0;0;0;0;1;"}}]}),Vt||Ht.push({tag:"path",attributes:{...ei,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:{...yi,values:"0;0;1;1;0;0;"}}]}),{tag:"g",attributes:{class:"missing"},children:Ht}}}},{hooks:()=>({parseNodeAttributes(mt,Vt){const Ht=Vt.getAttribute("data-fa-symbol");return mt.symbol=null!==Ht&&(""===Ht||Ht),mt}})}],{mixoutsTo:Or});const Nr=Or.config,_a=Or.dom,dn=Or.parse,vc=Or.icon;var bs=g(345);const Fc=["*"],Nc=mt=>{const Vt={[`fa-${mt.animation}`]:null!=mt.animation&&!mt.animation.startsWith("spin"),"fa-spin":"spin"===mt.animation||"spin-reverse"===mt.animation,"fa-spin-pulse":"spin-pulse"===mt.animation||"spin-pulse-reverse"===mt.animation,"fa-spin-reverse":"spin-reverse"===mt.animation||"spin-pulse-reverse"===mt.animation,"fa-pulse":"spin-pulse"===mt.animation||"spin-pulse-reverse"===mt.animation,"fa-fw":mt.fixedWidth,"fa-border":mt.border,"fa-inverse":mt.inverse,"fa-layers-counter":mt.counter,"fa-flip-horizontal":"horizontal"===mt.flip||"both"===mt.flip,"fa-flip-vertical":"vertical"===mt.flip||"both"===mt.flip,[`fa-${mt.size}`]:null!==mt.size,[`fa-rotate-${mt.rotate}`]:null!==mt.rotate,[`fa-pull-${mt.pull}`]:null!==mt.pull,[`fa-stack-${mt.stackItemSize}`]:null!=mt.stackItemSize};return Object.keys(Vt).map(Ht=>Vt[Ht]?Ht:null).filter(Ht=>Ht)},Gs=new WeakSet,Hs="fa-auto-css";let Pc=(()=>{class mt{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null,this._autoAddCss=!0}set autoAddCss(Ht){Nr.autoAddCss=Ht,this._autoAddCss=Ht}get autoAddCss(){return this._autoAddCss}static{this.\u0275fac=function(ei){return new(ei||mt)}}static{this.\u0275prov=e.jDH({token:mt,factory:mt.\u0275fac,providedIn:"root"})}}return mt})(),Xs=(()=>{class mt{constructor(){this.definitions={}}addIcons(...Ht){for(const ei of Ht){ei.prefix in this.definitions||(this.definitions[ei.prefix]={}),this.definitions[ei.prefix][ei.iconName]=ei;for(const ci of ei.icon[2])"string"==typeof ci&&(this.definitions[ei.prefix][ci]=ei)}}addIconPacks(...Ht){for(const ei of Ht){const ci=Object.keys(ei).map(yi=>ei[yi]);this.addIcons(...ci)}}getIconDefinition(Ht,ei){return Ht in this.definitions&&ei in this.definitions[Ht]?this.definitions[Ht][ei]:null}static{this.\u0275fac=function(ei){return new(ei||mt)}}static{this.\u0275prov=e.jDH({token:mt,factory:mt.\u0275fac,providedIn:"root"})}}return mt})(),oc=(()=>{class mt{constructor(){this.stackItemSize="1x"}ngOnChanges(Ht){if("size"in Ht)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static{this.\u0275fac=function(ei){return new(ei||mt)}}static{this.\u0275dir=e.FsC({type:mt,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[e.OA$]})}}return mt})(),ys=(()=>{class mt{constructor(Ht,ei){this.renderer=Ht,this.elementRef=ei}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(Ht){"size"in Ht&&(null!=Ht.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${Ht.size.currentValue}`),null!=Ht.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${Ht.size.previousValue}`))}static{this.\u0275fac=function(ei){return new(ei||mt)(e.rXU(e.sFG),e.rXU(e.aKT))}}static{this.\u0275cmp=e.VBU({type:mt,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[e.OA$,e.aNF],ngContentSelectors:Fc,decls:1,vars:0,template:function(ei,ci){1&ei&&(e.NAR(),e.SdG(0))},encapsulation:2})}}return mt})(),sc=(()=>{class mt{constructor(Ht,ei,ci,yi,Oi){this.sanitizer=Ht,this.config=ei,this.iconLibrary=ci,this.stackItem=yi,this.document=(0,e.WQX)(t.qQ),null!=Oi&&null==yi&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(Ht){if(null!=this.icon||null!=this.config.fallbackIcon){if(Ht){const ei=this.findIconDefinition(this.icon??this.config.fallbackIcon);if(null!=ei){const ci=this.buildParams();!function js(mt,Vt){if(!Vt.autoAddCss||Gs.has(mt))return;if(null!=mt.getElementById(Hs))return Vt.autoAddCss=!1,void Gs.add(mt);const Ht=mt.createElement("style");Ht.setAttribute("type","text/css"),Ht.setAttribute("id",Hs),Ht.innerHTML=_a.css();const ei=mt.head.childNodes;let ci=null;for(let yi=ei.length-1;yi>-1;yi--){const Oi=ei[yi],ji=Oi.nodeName.toUpperCase();["STYLE","LINK"].indexOf(ji)>-1&&(ci=Oi)}mt.head.insertBefore(Ht,ci),Vt.autoAddCss=!1,Gs.add(mt)}(this.document,this.config);const yi=vc(ei,ci);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(yi.html.join("\n"))}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(Ht){const ei=((mt,Vt)=>(mt=>void 0!==mt.prefix&&void 0!==mt.iconName)(mt)?mt:Array.isArray(mt)&&2===mt.length?{prefix:mt[0],iconName:mt[1]}:{prefix:Vt,iconName:mt})(Ht,this.config.defaultPrefix);return"icon"in ei?ei:this.iconLibrary.getIconDefinition(ei.prefix,ei.iconName)??((mt=>{throw new Error(`Could not find icon with iconName=${mt.iconName} and prefix=${mt.prefix} in the icon library.`)})(ei),null)}buildParams(){const Ht={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},ei="string"==typeof this.transform?dn.transform(this.transform):this.transform;return{title:this.title,transform:ei,classes:Nc(Ht),mask:null!=this.mask?this.findIconDefinition(this.mask):null,symbol:this.symbol,attributes:{role:this.a11yRole}}}static{this.\u0275fac=function(ei){return new(ei||mt)(e.rXU(bs.up),e.rXU(Pc),e.rXU(Xs),e.rXU(oc,8),e.rXU(ys,8))}}static{this.\u0275cmp=e.VBU({type:mt,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(ei,ci){2&ei&&(e.Mr5("innerHTML",ci.renderedIconHTML,e.npT),e.BMQ("title",ci.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:[e.OA$,e.aNF],decls:0,vars:0,template:function(ei,ci){},encapsulation:2})}}return mt})(),tl=(()=>{class mt{static{this.\u0275fac=function(ei){return new(ei||mt)}}static{this.\u0275mod=e.$C({type:mt})}static{this.\u0275inj=e.G2t({})}}return mt})()},5383:(Qe,te,g)=>{"use strict";g.d(te,{$$g:()=>ea,$Fj:()=>_0,$sC:()=>Pm,BA1:()=>r2,C8j:()=>vp,CQO:()=>Ng,Ccf:()=>$6,D6w:()=>ll,DW4:()=>_n,EvL:()=>j4,FYJ:()=>pu,GR4:()=>Z3,GRI:()=>r8,HEq:()=>Vs,If6:()=>h_,Int:()=>AC,JKM:()=>Xh,Kcb:()=>Mp,M29:()=>P1,McB:()=>_i,Mf0:()=>X_,MjD:()=>U_,Oh6:()=>mi,QLR:()=>ku,TBz:()=>c5,Tq9:()=>Nx,Vpi:()=>J1,VwO:()=>c7,W1p:()=>Kh,WKo:()=>W9,WxX:()=>Je,Xbc:()=>cd,_eQ:()=>pn,_qq:()=>z8,aAJ:()=>f_,aFw:()=>Kl,cbP:()=>sg,dB:()=>g7,e4L:()=>Il,eGi:()=>rg,f6_:()=>F3,gdJ:()=>Co,hb3:()=>r4,iW_:()=>Db,iy8:()=>Yb,jPR:()=>Qg,jTw:()=>K0,k02:()=>$n,k6j:()=>pd,knH:()=>e6,ld_:()=>Wv,njF:()=>Zp,nsx:()=>n6,o97:()=>rp,pCJ:()=>ii,pS3:()=>d2,peG:()=>Ih,qFF:()=>f9,qIE:()=>fn,s5m:()=>Od,vfE:()=>Ql,xiI:()=>Rg,ymQ:()=>k2,zPk:()=>tc,zjW:()=>p2,zm_:()=>r_,zpE:()=>Tw});const Je={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"]},ii={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 304l91.4 0C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7L29.7 512C13.3 512 0 498.7 0 482.3zM625 177L497 305c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L591 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},mi={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M32 32l448 0c17.7 0 32 14.3 32 32l0 32c0 17.7-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96L0 64C0 46.3 14.3 32 32 32zm0 128l448 0 0 256c0 35.3-28.7 64-64 64L96 480c-35.3 0-64-28.7-64-64l0-256zm128 80c0 8.8 7.2 16 16 16l160 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-160 0c-8.8 0-16 7.2-16 16z"]},ea={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"]},Vs={prefix:"fas",iconName:"unlock-keyhole",icon:[448,512,["unlock-alt"],"f13e","M224 64c-44.2 0-80 35.8-80 80l0 48 240 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0 0-48C80 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-32l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0z"]},pn={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 448L64 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0c61.9 0 112-50.1 112-112c0-2.5-.1-5-.2-7.5z"]},_n={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144l0 48 160 0 0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192l0-48C80 64.5 144.5 0 224 0s144 64.5 144 144l0 48 16 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0z"]},Co={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 192l42.7 0c15.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 0L21.3 320C9.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.7l42.7 0C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3l-213.3 0zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352l117.3 0C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7l-330.7 0c-14.7 0-26.7-11.9-26.7-26.7z"]},pd={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"]},Il={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 75l-8.7 0-32 0-96 0c-35.3 0-64 28.7-64 64l0 96c0 35.3 28.7 64 64 64l0 128c0 17.7 14.3 32 32 32l64 0c17.7 0 32-14.3 32-32l0-128 8.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.6l0-147.6c18.6-8.8 32-32.5 32-60.4s-13.4-51.6-32-60.4L480 32zm-64 76.7L416 240l0 131.3C357.2 317.8 280.5 288 200.7 288l-8.7 0 0-96 8.7 0c79.8 0 156.5-29.8 215.3-83.3z"]},k2={prefix:"fas",iconName:"money-bill-wave",icon:[576,512,[],"f53a","M0 112.5L0 422.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.4l0-309.9c0-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 64l-64 0 0-64zm64-208c0 35.3-28.7 64-64 64l0-64 64 0zM512 304l0 64-64 0c0-35.3 28.7-64 64-64zM448 96l64 0 0 64c-35.3 0-64-28.7-64-64z"]},ll={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96l0 64c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 32zm280 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 64l0 64c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 288zm280 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"]},_0={prefix:"fas",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 32c17.7 0 32 14.3 32 32l0 336c0 8.8 7.2 16 16 16l400 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L80 480c-44.2 0-80-35.8-80-80L0 64C0 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 64l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 96l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},Kl={prefix:"fas",iconName:"window-restore",icon:[512,512,[],"f2d2","M432 64L208 64c-8.8 0-16 7.2-16 16l0 16-64 0 0-16c0-44.2 35.8-80 80-80L432 0c44.2 0 80 35.8 80 80l0 224c0 44.2-35.8 80-80 80l-16 0 0-64 16 0c8.8 0 16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zM0 192c0-35.3 28.7-64 64-64l256 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 192zm64 32c0 17.7 14.3 32 32 32l192 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 192c-17.7 0-32 14.3-32 32z"]},Od={prefix:"fas",iconName:"euro-sign",icon:[320,512,[8364,"eur","euro"],"f153","M48.1 240c-.1 2.7-.1 5.3-.1 8l0 16c0 2.7 0 5.3 .1 8L32 272c-17.7 0-32 14.3-32 32s14.3 32 32 32l28.3 0C89.9 419.9 170 480 264 480l24 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-24 0c-57.9 0-108.2-32.4-133.9-80L256 336c17.7 0 32-14.3 32-32s-14.3-32-32-32l-143.8 0c-.1-2.6-.2-5.3-.2-8l0-16c0-2.7 .1-5.4 .2-8L256 240c17.7 0 32-14.3 32-32s-14.3-32-32-32l-125.9 0c25.7-47.6 76-80 133.9-80l24 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-24 0C170 32 89.9 92.1 60.3 176L32 176c-17.7 0-32 14.3-32 32s14.3 32 32 32l16.1 0z"]},Ql={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.4L48 224l-16 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l16 0 0 44.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 480l256 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L88.5 416l.7-1.1C104.1 390 112 361.5 112 332.5l0-44.5 112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-112 0 0-63.6z"]},P1={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"]},Ih={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 160 128 160c-35.3 0-64 28.7-64 64l0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32C0 153.3 57.3 96 128 96l210.7 0L297.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 416 96 416c-17.7 0-32 14.3-32 32l0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32c0-53 43-96 96-96l146.7 0-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]},fn={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"]},j4={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M80 160c0-35.3 28.7-64 64-64l32 0c35.3 0 64 28.7 64 64l0 3.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 74l0 1.4c0 17.7 14.3 32 32 32s32-14.3 32-32l0-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7l0-3.6c0-70.7-57.3-128-128-128l-32 0C73.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"]},K0={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"]},Xh={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 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l40.9 0 56.7 170.1c4.5 13.5 17.4 22.4 31.6 21.9s26.4-10.4 29.8-24.2L233 288l46 0L321 455.8c3.4 13.8 15.6 23.7 29.8 24.2s27.1-8.4 31.6-21.9L439.1 288l40.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-19.6 0 50-149.9c5.6-16.8-3.5-34.9-20.2-40.5s-34.9 3.5-40.5 20.2L392.9 224l-64 0L287 56.2C283.5 42 270.7 32 256 32s-27.5 10-31 24.2L183 224l-64 0L62.4 53.9zm78 234.1l26.6 0-11.4 45.6L140.4 288zM249 224l7-28.1 7 28.1-14 0zm96 64l26.6 0-15.2 45.6L345 288z"]},Kh={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 240l0-223.4c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16L304 240zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4L256 288 412.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 288l238.4 0z"]},Zp={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 320L48 320c-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-48l352 0c26.5 0 48 21.5 48 48s-21.5 48-48 48L48 480c-26.5 0-48-21.5-48-48z"]},e6={prefix:"fas",iconName:"signs-post",icon:[512,512,["map-signs"],"f277","M224 32L64 32C46.3 32 32 46.3 32 64l0 64c0 17.7 14.3 32 32 32l377.4 0c4.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.7L288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32zM480 256c0-17.7-14.3-32-32-32l-160 0 0-32-64 0 0 32L70.6 224c-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.7L448 352c17.7 0 32-14.3 32-32l0-64zM288 480l0-96-64 0 0 96c0 17.7 14.3 32 32 32s32-14.3 32-32z"]},n6={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.4l54.1 0 109 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-109 0-54.1c0-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.7L352 176c-8.8 0-16-7.2-16-16l0-57.4c0-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"]},r2={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64L80 128c-8.8 0-16-7.2-16-16s7.2-16 16-16l368 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L64 32zM416 272a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},cd={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.3l0 87.8c18.8-10.9 40.7-17.1 64-17.1l96 0c35.3 0 64-28.7 64-64l0-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.3l0 6.7c0 70.7-57.3 128-128 128l-96 0c-35.3 0-64 28.7-64 64l0 6.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.3l0-6.7 0-198.7C19.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"]},c5={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 5L320 256c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c53 0 96 43 96 96s-43 96-96 96l-276.4 0c8.7-9.9 19.3-22.6 30-36.8c6.3-8.4 12.8-17.6 19-27.2L416 448c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0c-53 0-96-43-96-96s43-96 96-96l39.8 0c-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"]},d2={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"]},_i={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 304l91.4 0c11.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.7l0 .9c0 9.2 2.7 18.5 7.9 26.3L29.7 512C13.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.8l0 30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-25 14.4c.4 4 .7 8.1 .7 12.3s-.2 8.2-.7 12.3l25 14.4c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4l-24.9-14.3c-6.9 5.1-14.3 9.4-22.3 12.8l0 30.6c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8l0-30.5c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3 .7-12.4L343.8 325c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9l0-30.5zm92.1 133.5a48.1 48.1 0 1 0 -96.1 0 48.1 48.1 0 1 0 96.1 0z"]},$n={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.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},Pm={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"]},Db={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 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-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"]},c7={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M96 64c0-17.7 14.3-32 32-32l32 0c17.7 0 32 14.3 32 32l0 160 0 64 0 160c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32l0-64c-17.7 0-32-14.3-32-32s14.3-32 32-32l0-64c0-17.7 14.3-32 32-32l32 0 0-64zm448 0l0 64 32 0c17.7 0 32 14.3 32 32l0 64c17.7 0 32 14.3 32 32s-14.3 32-32 32l0 64c0 17.7-14.3 32-32 32l-32 0 0 64c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32l0-160 0-64 0-160c0-17.7 14.3-32 32-32l32 0c17.7 0 32 14.3 32 32zM416 224l0 64-192 0 0-64 192 0z"]},pu={prefix:"fas",iconName:"indian-rupee-sign",icon:[320,512,["indian-rupee","inr"],"e1bc","M0 64C0 46.3 14.3 32 32 32l64 0 16 0 176 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-56.2 0c9.6 14.4 16.7 30.6 20.7 48l35.6 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-35.6 0c-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 256l80 0c32.8 0 61-19.7 73.3-48L32 208c-17.7 0-32-14.3-32-32s14.3-32 32-32l153.3 0C173 115.7 144.8 96 112 96L96 96 32 96C14.3 96 0 81.7 0 64z"]},$6={prefix:"fas",iconName:"money-bill-1",icon:[576,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zm64 320l-64 0 0-64c35.3 0 64 28.7 64 64zM64 192l0-64 64 0c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64l0 64-64 0zm64-192c-35.3 0-64-28.7-64-64l64 0 0 64zM176 256a112 112 0 1 1 224 0 112 112 0 1 1 -224 0zm76-48c0 9.7 6.9 17.7 16 19.6l0 48.4-4 0c-11 0-20 9-20 20s9 20 20 20l24 0 24 0c11 0 20-9 20-20s-9-20-20-20l-4 0 0-68c0-11-9-20-20-20l-16 0c-11 0-20 9-20 20z"]},Yb=$6,p2={prefix:"fas",iconName:"franc-sign",icon:[320,512,[],"e18f","M80 32C62.3 32 48 46.3 48 64l0 160 0 96-16 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l16 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-80 0 0-64 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-96 176 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},g7={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"]},rg={prefix:"fas",iconName:"network-wired",icon:[640,512,[],"f6ff","M256 64l128 0 0 64-128 0 0-64zM240 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l48 0 0 32L32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0 0 32-48 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l160 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-48 0 0-32 256 0 0 32-48 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l160 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-48 0 0-32 96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-256 0 0-32 48 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48L240 0zM96 448l0-64 128 0 0 64L96 448zm320-64l128 0 0 64-128 0 0-64z"]},sg={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-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.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},r_={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 288l111.5 0L98.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.7l-111.5 0L349.4 44.6z"]},tc={prefix:"fas",iconName:"yen-sign",icon:[320,512,[165,"cny","jpy","rmb","yen"],"f157","M58.6 46.3C48.8 31.5 29 27.6 14.2 37.4S-4.4 67 5.4 81.8L100.2 224 48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 32-80 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-80 0 0-32 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-52.2 0L314.6 81.8c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.3z"]},F3={prefix:"fas",iconName:"ruble-sign",icon:[384,512,[8381,"rouble","rub","ruble"],"f158","M96 32C78.3 32 64 46.3 64 64l0 192-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0 0 32-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0 0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-32 112 0c79.5 0 144-64.5 144-144s-64.5-144-144-144L96 32zM240 256l-112 0 0-160 112 0c44.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 96l0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32c0-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 32l0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32c0-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"]},f_={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 512l362.8 0c-5.4-9.4-8.6-20.3-8.6-32l0-128c0-2.1 .1-4.2 .3-6.3c-31-26-71-41.7-114.6-41.7l-91.4 0zM528 240c17.7 0 32 14.3 32 32l0 48-64 0 0-48c0-17.7 14.3-32 32-32zm-80 32l0 48c-17.7 0-32 14.3-32 32l0 128c0 17.7 14.3 32 32 32l160 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32l0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]},Rg={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"]},rp={prefix:"fas",iconName:"bars-staggered",icon:[512,512,["reorder","stream"],"f550","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},Ng={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"]},U_={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"]},X_={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.8l0 464c0 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 488L0 24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16l192 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L96 144zM80 352c0 8.8 7.2 16 16 16l192 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L96 336c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l192 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L96 240z"]},Nx={prefix:"fas",iconName:"brazilian-real-sign",icon:[512,512,[],"e46c","M400 0c17.7 0 32 14.3 32 32l0 18.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.5l-1.7 0c-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.4l0 3.4c0 51.2-33.6 94.6-80 109.2l0 21.3c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-19.4c-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.5l0-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.2L368 32c0-17.7 14.3-32 32-32zM0 64C0 46.3 14.3 32 32 32l80 0c79.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 320 64 320l0 128c0 17.7-14.3 32-32 32s-32-14.3-32-32L0 288 0 64zM64 256l48 0c44.2 0 80-35.8 80-80s-35.8-80-80-80L64 96l0 160z"]},f9={prefix:"fas",iconName:"diagram-project",icon:[576,512,["project-diagram"],"f542","M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 16 192 0 0-16c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-16-192 0 0 16c0 1.7-.1 3.4-.3 5L272 288l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-1.7 .1-3.4 .3-5L144 224l-96 0c-26.5 0-48-21.5-48-48L0 80z"]},Qg={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"]},ku={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},r8={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"]},W9={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"]},AC={prefix:"fas",iconName:"clock-rotate-left",icon:[512,512,["history"],"f1da","M75 75L41 41C25.9 25.9 0 36.6 0 57.9L0 168c0 13.3 10.7 24 24 24l110.1 0c21.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 24l0 104c0 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-65 0-94.1c0-13.3-10.7-24-24-24z"]},vp={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.1l0 29.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.9l0-29.7zM274.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.1l0 29.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.1l0-29.7c0-44.8-36.3-81.1-81.1-81.1c-21.5 0-42.2 8.5-57.4 23.8L365.3 256z"]},Z3={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L398.4 96c-5.2 25.8-22.9 47.1-46.4 57.3L352 448l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0-192 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0 0-294.7c-23.5-10.3-41.2-31.6-46.4-57.3L128 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l128 0c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288l144.9 0L512 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 320l144.9 0L126.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"]},Mp={prefix:"fas",iconName:"baht-sign",icon:[320,512,[],"e0ac","M144 0c-17.7 0-32 14.3-32 32l0 32L37.6 64C16.8 64 0 80.8 0 101.6L0 224l0 41.7L0 288 0 406.3c0 23 18.7 41.7 41.7 41.7l70.3 0 0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32 32 0c61.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-112l0-32c0-17.7-14.3-32-32-32zM112 128l0 96-48 0 0-96 48 0zm64 96l0-96c26.5 0 48 21.5 48 48s-21.5 48-48 48zm-64 64l0 96-48 0 0-96 48 0zm64 96l0-96 32 0c26.5 0 48 21.5 48 48s-21.5 48-48 48l-32 0z"]},Tw={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 480L40 480c-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 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},z8={prefix:"fas",iconName:"right-left",icon:[512,512,["exchange-alt"],"f362","M32 96l320 0 0-64c0-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.6l0-64L32 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 32l-320 0 0 64c0 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 64 320 0z"]},Wv={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304l91.4 0c20.6 0 40.4 3.5 58.8 9.9C323 331 320 349.1 320 368c0 59.5 29.5 112.1 74.8 144L29.7 512C13.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 16l0 64c0 8.8 7.2 16 16 16l48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-48c0-8.8-7.2-16-16-16z"]},r4={prefix:"fas",iconName:"turkish-lira-sign",icon:[384,512,["try","turkish-lira"],"e2bb","M96 32c17.7 0 32 14.3 32 32l0 35.3L247.2 65.2c17-4.9 34.7 5 39.6 22s-5 34.7-22 39.6L128 165.9l0 29.4 119.2-34.1c17-4.9 34.7 5 39.6 22s-5 34.7-22 39.6L128 261.9 128 416l63.8 0c68.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 480L96 480c-17.7 0-32-14.3-32-32l0-167.9-23.2 6.6c-17 4.9-34.7-5-39.6-22s5-34.7 22-39.6L64 213.6l0-29.4-23.2 6.6c-17 4.9-34.7-5-39.6-22s5-34.7 22-39.6L64 117.6 64 64c0-17.7 14.3-32 32-32z"]},J1={prefix:"fas",iconName:"dollar-sign",icon:[320,512,[128178,61781,"dollar","usd"],"24","M160 0c17.7 0 32 14.3 32 32l0 35.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 11l0 33.4c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-34.9c-.4-.1-.9-.1-1.3-.2l-.2 0s0 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-.7s0 0 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-11L128 32c0-17.7 14.3-32 32-32z"]}},4054:(Qe,te,g)=>{"use strict";g.d(te,{En:()=>We,Vm:()=>Je,EH:()=>C,gp:()=>oe});var e=g(7673);g(274),g(3993);var w=g(7786),f=g(1985),R=g(1413),h=g(3557),S=g(983),y=g(8810),O=g(8071);class V{constructor(Se,Te,ce){this.kind=Se,this.value=Te,this.error=ce,this.hasValue="N"===Se}observe(Se){return j(this,Se)}do(Se,Te,ce){const{kind:Z,value:Re,error:Pe}=this;return"N"===Z?Se?.(Re):"E"===Z?Te?.(Pe):ce?.()}accept(Se,Te,ce){var Z;return(0,O.T)(null===(Z=Se)||void 0===Z?void 0:Z.next)?this.observe(Se):this.do(Se,Te,ce)}toObservable(){const{kind:Se,value:Te,error:ce}=this,Z="N"===Se?(0,e.of)(Te):"E"===Se?(0,y.$)(()=>ce):"C"===Se?S.w:0;if(!Z)throw new TypeError(`Unexpected notification kind ${Se}`);return Z}static createNext(Se){return new V("N",Se)}static createError(Se){return new V("E",void 0,Se)}static createComplete(){return V.completeNotification}}function j(xt,Se){var Te,ce,Z;const{kind:Re,value:Pe,error:pt}=xt;if("string"!=typeof Re)throw new TypeError('Invalid notification, missing "kind"');"N"===Re?null===(Te=Se.next)||void 0===Te||Te.call(Se,Pe):"E"===Re?null===(ce=Se.error)||void 0===ce||ce.call(Se,pt):null===(Z=Se.complete)||void 0===Z||Z.call(Se)}V.completeNotification=new V("C");var Y=g(9974),W=g(4360),J=g(6354),ie=g(9437),ee=g(5964),fe=g(8750);function ne(xt,Se,Te,ce){return(0,Y.N)((Z,Re)=>{let Pe;Se&&"function"!=typeof Se?({duration:Te,element:Pe,connector:ce}=Se):Pe=Se;const pt=new Map,Ke=pi=>{pt.forEach(pi),pi(Re)},Fe=pi=>Ke($t=>$t.error(pi));let Ge=0,qe=!1;const at=new W.H(Re,pi=>{try{const $t=xt(pi);let Kt=pt.get($t);if(!Kt){pt.set($t,Kt=ce?ce():new R.B);const Ui=function Lt(pi,$t){const Kt=new f.c(Ui=>{Ge++;const ti=$t.subscribe(Ui);return()=>{ti.unsubscribe(),0==--Ge&&qe&&at.unsubscribe()}});return Kt.key=pi,Kt}($t,Kt);if(Re.next(Ui),Te){const ti=(0,W._)(Kt,()=>{Kt.complete(),ti?.unsubscribe()},void 0,void 0,()=>pt.delete($t));at.add((0,fe.Tg)(Te(Ui)).subscribe(ti))}}Kt.next(Pe?Pe(pi):pi)}catch($t){Fe($t)}},()=>Ke(pi=>pi.complete()),Fe,()=>pt.clear(),()=>(qe=!0,0===Ge));Z.subscribe(at)})}var Me=g(1397);function Ce(xt,Se){return Se?Te=>Te.pipe(Ce((ce,Z)=>(0,fe.Tg)(xt(ce,Z)).pipe((0,J.T)((Re,Pe)=>Se(ce,Re,Z,Pe))))):(0,Y.N)((Te,ce)=>{let Z=0,Re=null,Pe=!1;Te.subscribe((0,W._)(ce,pt=>{Re||(Re=(0,W._)(ce,void 0,()=>{Re=null,Pe&&ce.complete()}),(0,fe.Tg)(xt(pt,Z++)).subscribe(Re))},()=>{Pe=!0,!Re&&ce.complete()}))})}var T=g(6697),n=g(4438),c=g(9640);const m={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},d="__@ngrx/effects_create__";function C(xt,Se={}){const Te=Se.functional?xt:xt(),ce={...m,...Se};return Object.defineProperty(Te,d,{value:ce}),Te}function a(xt){return Object.getPrototypeOf(xt)}function z(xt){return"function"==typeof xt}function N(xt){return xt.filter(z)}function pe(xt,Se,Te){const ce=a(xt),Re=ce&&"Object"!==ce.constructor.name?ce.constructor.name:null,Pe=function _(xt){return function A(xt){return Object.getOwnPropertyNames(xt).filter(ce=>!(!xt[ce]||!xt[ce].hasOwnProperty(d))&&xt[ce][d].hasOwnProperty("dispatch")).map(ce=>({propertyName:ce,...xt[ce][d]}))}(xt)}(xt).map(({propertyName:pt,dispatch:Ke,useEffectsErrorHandler:Fe})=>{const Ge="function"==typeof xt[pt]?xt[pt]():xt[pt],qe=Fe?Te(Ge,Se):Ge;return!1===Ke?qe.pipe((0,h.w)()):qe.pipe(function Q(){return(0,Y.N)((xt,Se)=>{xt.subscribe((0,W._)(Se,Te=>{Se.next(V.createNext(Te))},()=>{Se.next(V.createComplete()),Se.complete()},Te=>{Se.next(V.createError(Te)),Se.complete()}))})}()).pipe((0,J.T)(Lt=>({effect:xt[pt],notification:Lt,propertyName:pt,sourceName:Re,sourceInstance:xt})))});return(0,w.h)(...Pe)}function Xe(xt,Se,Te=10){return xt.pipe((0,ie.W)(ce=>(Se&&Se.handleError(ce),Te<=1?xt:Xe(xt,Se,Te-1))))}let We=(()=>{class xt extends f.c{constructor(Te){super(),Te&&(this.source=Te)}lift(Te){const ce=new xt;return ce.source=this,ce.operator=Te,ce}static{this.\u0275fac=function(ce){return new(ce||xt)(n.KVO(c.sA))}}static{this.\u0275prov=n.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}}return xt})();function oe(...xt){return(0,ee.p)(Se=>xt.some(Te=>"string"==typeof Te?Te===Se.type:Te.type===Se.type))}const X=new n.nKC("@ngrx/effects Internal Root Guard"),se=new n.nKC("@ngrx/effects User Provided Effects"),ae=new n.nKC("@ngrx/effects Internal Root Effects"),he=new n.nKC("@ngrx/effects Internal Root Effects Instances"),Ie=new n.nKC("@ngrx/effects Internal Feature Effects"),st=new n.nKC("@ngrx/effects Internal Feature Effects Instance Groups"),me=new n.nKC("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>Xe}),Ee="@ngrx/effects/init";(0,c.VP)(Ee);function je(xt){return vt(xt,"ngrxOnInitEffects")}function vt(xt,Se){return xt&&Se in xt&&"function"==typeof xt[Se]}let $e=(()=>{class xt extends R.B{constructor(Te,ce){super(),this.errorHandler=Te,this.effectsErrorHandler=ce}addEffects(Te){this.next(Te)}toActions(){return this.pipe(ne(Te=>function b(xt){return!!xt.constructor&&"Object"!==xt.constructor.name&&"Function"!==xt.constructor.name}(Te)?a(Te):Te),(0,Me.Z)(Te=>Te.pipe(ne(nt))),(0,Me.Z)(Te=>{const ce=Te.pipe(Ce(Re=>function qt(xt,Se){return Te=>{const ce=pe(Te,xt,Se);return function we(xt){return vt(xt,"ngrxOnRunEffects")}(Te)?Te.ngrxOnRunEffects(ce):ce}}(this.errorHandler,this.effectsErrorHandler)(Re)),(0,J.T)(Re=>(function Be(xt,Se){if("N"===xt.notification.kind){const Te=xt.notification.value;!function Ct(xt){return"function"!=typeof xt&&xt&&xt.type&&"string"==typeof xt.type}(Te)&&Se.handleError(new Error(`Effect ${function ct({propertyName:xt,sourceInstance:Se,sourceName:Te}){const ce="function"==typeof Se[xt];return Te?`"${Te}.${String(xt)}${ce?"()":""}"`:`"${String(xt)}()"`}(xt)} dispatched an invalid action: ${function dt(xt){try{return JSON.stringify(xt)}catch{return xt}}(Te)}`))}}(Re,this.errorHandler),Re.notification)),(0,ee.p)(Re=>"N"===Re.kind&&null!=Re.value),function le(){return(0,Y.N)((xt,Se)=>{xt.subscribe((0,W._)(Se,Te=>j(Te,Se)))})}()),Z=Te.pipe((0,T.s)(1),(0,ee.p)(je),(0,J.T)(Re=>Re.ngrxOnInitEffects()));return(0,w.h)(ce,Z)}))}static{this.\u0275fac=function(ce){return new(ce||xt)(n.KVO(n.zcH),n.KVO(me))}}static{this.\u0275prov=n.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}}return xt})();function nt(xt){return function ve(xt){return vt(xt,"ngrxOnIdentifyEffects")}(xt)?xt.ngrxOnIdentifyEffects():""}let Nt=(()=>{class xt{get isStarted(){return!!this.effectsSubscription}constructor(Te,ce){this.effectSources=Te,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||xt)(n.KVO($e),n.KVO(c.il))}}static{this.\u0275prov=n.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}}return xt})(),yt=(()=>{class xt{constructor(Te,ce,Z,Re,Pe,pt,Ke){this.sources=Te,ce.start();for(const Fe of Re)Te.addEffects(Fe);Z.dispatch({type:Ee})}addEffects(Te){this.sources.addEffects(Te)}static{this.\u0275fac=function(ce){return new(ce||xt)(n.KVO($e),n.KVO(Nt),n.KVO(c.il),n.KVO(he),n.KVO(c.wc,8),n.KVO(c.ae,8),n.KVO(X,8))}}static{this.\u0275mod=n.$C({type:xt})}static{this.\u0275inj=n.G2t({})}}return xt})(),jt=(()=>{class xt{constructor(Te,ce,Z,Re){const Pe=ce.flat();for(const pt of Pe)Te.addEffects(pt)}static{this.\u0275fac=function(ce){return new(ce||xt)(n.KVO(yt),n.KVO(st),n.KVO(c.wc,8),n.KVO(c.ae,8))}}static{this.\u0275mod=n.$C({type:xt})}static{this.\u0275inj=n.G2t({})}}return xt})(),Je=(()=>{class xt{static forFeature(...Te){const ce=Te.flat(),Z=N(ce);return{ngModule:jt,providers:[Z,{provide:Ie,multi:!0,useValue:ce},{provide:se,multi:!0,useValue:[]},{provide:st,multi:!0,useFactory:et,deps:[Ie,se]}]}}static forRoot(...Te){const ce=Te.flat(),Z=N(ce);return{ngModule:yt,providers:[Z,{provide:ae,useValue:[ce]},{provide:X,useFactory:Ae},{provide:se,multi:!0,useValue:[]},{provide:he,useFactory:et,deps:[ae,se]}]}}static{this.\u0275fac=function(ce){return new(ce||xt)}}static{this.\u0275mod=n.$C({type:xt})}static{this.\u0275inj=n.G2t({})}}return xt})();function et(xt,Se){const Te=[];for(const ce of xt)Te.push(...ce);for(const ce of Se)Te.push(...ce);return Te.map(ce=>function q(xt){return xt instanceof n.nKC||z(xt)}(ce)?(0,n.WQX)(ce):ce)}function Ae(){const xt=(0,n.WQX)(Nt,{optional:!0,skipSelf:!0}),Se=(0,n.WQX)(ae,{self:!0});if((1!==Se.length||0!==Se[0].length)&&xt)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},9640:(Qe,te,g)=>{"use strict";g.d(te,{SS:()=>le,Zz:()=>Ce,N_:()=>m,Bh:()=>ct,QU:()=>Ct,sA:()=>_e,h1:()=>Ue,il:()=>nt,ae:()=>dr,md:()=>wn,wc:()=>nr,q6:()=>dt,VP:()=>j,UX:()=>$t,vy:()=>Yi,Mz:()=>at,on:()=>Ai,xk:()=>Y});var e=g(4438),t=g(4412),x=g(1985),D=g(1413),l=g(7242),w=g(941),f=g(3993),R=g(2816),h=g(6354),y=g(3294),O=g(9079);const I={};function j(Ft,mi){if(I[Ft]=(I[Ft]||0)+1,"function"==typeof mi)return Q(Ft,(...xi)=>({...mi(...xi),type:Ft}));switch(mi?mi._as:"empty"){case"empty":return Q(Ft,()=>({type:Ft}));case"props":return Q(Ft,xi=>({...xi,type:Ft}));default:throw new Error("Unexpected config.")}}function Y(){return{_as:"props",_p:void 0}}function Q(Ft,mi){return Object.defineProperty(mi,"type",{value:Ft,writable:!1})}const Ce="@ngrx/store/init";let le=(()=>{class Ft extends t.t{constructor(){super({type:Ce})}next(gi){if("function"==typeof gi)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof gi>"u")throw new TypeError("Actions must be objects");if(typeof gi.type>"u")throw new TypeError("Actions must have a type property");super.next(gi)}complete(){}ngOnDestroy(){super.complete()}static{this.\u0275fac=function(xi){return new(xi||Ft)}}static{this.\u0275prov=e.jDH({token:Ft,factory:Ft.\u0275fac})}}return Ft})();const T=[le],n=new e.nKC("@ngrx/store Internal Root Guard"),c=new e.nKC("@ngrx/store Internal Initial State"),m=new e.nKC("@ngrx/store Initial State"),d=new e.nKC("@ngrx/store Reducer Factory"),C=new e.nKC("@ngrx/store Internal Reducer Factory Provider"),A=new e.nKC("@ngrx/store Initial Reducers"),k=new e.nKC("@ngrx/store Internal Initial Reducers"),_=new e.nKC("@ngrx/store Store Features"),a=new e.nKC("@ngrx/store Internal Store Reducers"),b=new e.nKC("@ngrx/store Internal Feature Reducers"),z=new e.nKC("@ngrx/store Internal Feature Configs"),N=new e.nKC("@ngrx/store Internal Store Features"),q=new e.nKC("@ngrx/store Internal Feature Reducers Token"),pe=new e.nKC("@ngrx/store Feature Reducers"),ze=new e.nKC("@ngrx/store User Provided Meta Reducers"),Xe=new e.nKC("@ngrx/store Meta Reducers"),We=new e.nKC("@ngrx/store Internal Resolved Meta Reducers"),oe=new e.nKC("@ngrx/store User Runtime Checks Config"),X=new e.nKC("@ngrx/store Internal User Runtime Checks Config"),se=new e.nKC("@ngrx/store Internal Runtime Checks"),ae=new e.nKC("@ngrx/store Check if Action types are unique");function st(Ft,mi={}){const gi=Object.keys(Ft),xi={};for(let nn=0;nnnn(Ni),gi(mi))}}function ue(Ft,mi){return Array.isArray(mi)&&mi.length>0&&(Ft=Ee.apply(null,[...mi,Ft])),(gi,xi)=>{const Ni=Ft(gi);return(nn,On)=>Ni(nn=void 0===nn?xi:nn,On)}}new e.nKC("@ngrx/store Root Store Provider"),new e.nKC("@ngrx/store Feature State Provider");class Ct extends x.c{}class ct extends le{}const dt="@ngrx/store/update-reducers";let Yt=(()=>{class Ft extends t.t{get currentReducers(){return this.reducers}constructor(gi,xi,Ni,nn){super(nn(Ni,xi)),this.dispatcher=gi,this.initialState=xi,this.reducers=Ni,this.reducerFactory=nn}addFeature(gi){this.addFeatures([gi])}addFeatures(gi){const xi=gi.reduce((Ni,{reducers:nn,reducerFactory:On,metaReducers:ir,initialState:gn,key:Xr})=>{const fr="function"==typeof nn?function Be(Ft){const mi=Array.isArray(Ft)&&Ft.length>0?Ee(...Ft):gi=>gi;return(gi,xi)=>(gi=mi(gi),(Ni,nn)=>gi(Ni=void 0===Ni?xi:Ni,nn))}(ir)(nn,gn):ue(On,ir)(nn,gn);return Ni[Xr]=fr,Ni},{});this.addReducers(xi)}removeFeature(gi){this.removeFeatures([gi])}removeFeatures(gi){this.removeReducers(gi.map(xi=>xi.key))}addReducer(gi,xi){this.addReducers({[gi]:xi})}addReducers(gi){this.reducers={...this.reducers,...gi},this.updateReducers(Object.keys(gi))}removeReducer(gi){this.removeReducers([gi])}removeReducers(gi){gi.forEach(xi=>{this.reducers=function me(Ft,mi){return Object.keys(Ft).filter(gi=>gi!==mi).reduce((gi,xi)=>Object.assign(gi,{[xi]:Ft[xi]}),{})}(this.reducers,xi)}),this.updateReducers(gi)}updateReducers(gi){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:dt,features:gi})}ngOnDestroy(){this.complete()}static{this.\u0275fac=function(xi){return new(xi||Ft)(e.KVO(ct),e.KVO(m),e.KVO(A),e.KVO(d))}}static{this.\u0275prov=e.jDH({token:Ft,factory:Ft.\u0275fac})}}return Ft})();const ve=[Yt,{provide:Ct,useExisting:Yt},{provide:ct,useExisting:le}];let _e=(()=>{class Ft extends D.B{ngOnDestroy(){this.complete()}static{this.\u0275fac=(()=>{let gi;return function(Ni){return(gi||(gi=e.xGo(Ft)))(Ni||Ft)}})()}static{this.\u0275prov=e.jDH({token:Ft,factory:Ft.\u0275fac})}}return Ft})();const we=[_e];class Ue extends x.c{}let je=(()=>{class Ft extends t.t{static{this.INIT=Ce}constructor(gi,xi,Ni,nn){super(nn);const Xr=gi.pipe((0,w.Q)(l.T)).pipe((0,f.E)(xi)).pipe((0,R.S)(vt,{state:nn}));this.stateSubscription=Xr.subscribe(({state:fr,action:mr})=>{this.next(fr),Ni.next(mr)}),this.state=(0,O.ot)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static{this.\u0275fac=function(xi){return new(xi||Ft)(e.KVO(le),e.KVO(Ct),e.KVO(_e),e.KVO(m))}}static{this.\u0275prov=e.jDH({token:Ft,factory:Ft.\u0275fac})}}return Ft})();function vt(Ft={state:void 0},[mi,gi]){const{state:xi}=Ft;return{state:gi(xi,mi),action:mi}}const $e=[je,{provide:Ue,useExisting:je}];let nt=(()=>{class Ft extends x.c{constructor(gi,xi,Ni){super(),this.actionsObserver=xi,this.reducerManager=Ni,this.source=gi,this.state=gi.state}select(gi,...xi){return Nt.call(null,gi,...xi)(this)}selectSignal(gi,xi){return(0,e.EWP)(()=>gi(this.state()),xi)}lift(gi){const xi=new Ft(this,this.actionsObserver,this.reducerManager);return xi.operator=gi,xi}dispatch(gi){this.actionsObserver.next(gi)}next(gi){this.actionsObserver.next(gi)}error(gi){this.actionsObserver.error(gi)}complete(){this.actionsObserver.complete()}addReducer(gi,xi){this.reducerManager.addReducer(gi,xi)}removeReducer(gi){this.reducerManager.removeReducer(gi)}static{this.\u0275fac=function(xi){return new(xi||Ft)(e.KVO(Ue),e.KVO(le),e.KVO(Yt))}}static{this.\u0275prov=e.jDH({token:Ft,factory:Ft.\u0275fac})}}return Ft})();const qt=[nt];function Nt(Ft,mi,...gi){return function(Ni){let nn;if("string"==typeof Ft){const On=[mi,...gi].filter(Boolean);nn=Ni.pipe(function S(...Ft){const mi=Ft.length;if(0===mi)throw new Error("list of properties cannot be empty.");return(0,h.T)(gi=>{let xi=gi;for(let Ni=0;NiFt(On,mi)))}return nn.pipe((0,y.F)())}}const yt="https://ngrx.io/guide/store/configuration/runtime-checks";function jt(Ft){return void 0===Ft}function Je(Ft){return null===Ft}function et(Ft){return Array.isArray(Ft)}function Tt(Ft){return"object"==typeof Ft&&null!==Ft}function Te(Ft){return"function"==typeof Ft}let Re=!1;function Ke(Ft,mi){return Ft===mi}function qe(Ft,mi=Ke,gi=Ke){let nn,xi=null,Ni=null;return{memoized:function Xr(){if(void 0!==nn)return nn.result;if(!xi)return Ni=Ft.apply(null,arguments),xi=arguments,Ni;if(!function Fe(Ft,mi,gi){for(let xi=0;xi"function"==typeof mi)}(xi[0])&&(xi=function Ui(Ft){const mi=Object.values(Ft),gi=Object.keys(Ft);return[...mi,(...Ni)=>gi.reduce((nn,On,ir)=>({...nn,[On]:Ni[ir]}),{})]}(xi[0]));const Ni=xi.slice(0,xi.length-1),nn=xi[xi.length-1],On=Ni.filter(fr=>fr.release&&"function"==typeof fr.release),ir=Ft(function(...fr){return nn.apply(null,fr)}),gn=qe(function(fr,mr){return mi.stateFn.apply(null,[fr,Ni,mr,ir])});return Object.assign(gn.memoized,{release:function Xr(){gn.reset(),ir.reset(),On.forEach(fr=>fr.release())},projector:ir.memoized,setResult:gn.setResult,clearResult:gn.clearResult})}}(qe)(...Ft)}function Lt(Ft,mi,gi,xi){if(void 0===gi){const nn=mi.map(On=>On(Ft));return xi.memoized.apply(null,nn)}const Ni=mi.map(nn=>nn(Ft,gi));return xi.memoized.apply(null,[...Ni,gi])}function $t(Ft){return at(mi=>{const gi=mi[Ft];return!function pt(){return Re}()&&(0,e.naY)()&&!(Ft in mi)&&console.warn(`@ngrx/store: The feature name "${Ft}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${Ft}', ...) or StoreModule.forFeature('${Ft}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),gi},mi=>mi)}function tn(Ft){return Ft instanceof e.nKC?(0,e.WQX)(Ft):Ft}function Vi(Ft,mi){return mi.map((gi,xi)=>{if(Ft[xi]instanceof e.nKC){const Ni=(0,e.WQX)(Ft[xi]);return{key:gi.key,reducerFactory:Ni.reducerFactory?Ni.reducerFactory:st,metaReducers:Ni.metaReducers?Ni.metaReducers:[],initialState:Ni.initialState}}return gi})}function Qi(Ft){return Ft.map(mi=>mi instanceof e.nKC?(0,e.WQX)(mi):mi)}function Xt(Ft){return"function"==typeof Ft?Ft():Ft}function St(Ft,mi){return Ft.concat(mi)}function tt(){if((0,e.WQX)(nt,{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 Mt(Ft){Object.freeze(Ft);const mi=Te(Ft);return Object.getOwnPropertyNames(Ft).forEach(gi=>{if(!gi.startsWith("\u0275")&&function Z(Ft,mi){return Object.prototype.hasOwnProperty.call(Ft,mi)}(Ft,gi)&&(!mi||"caller"!==gi&&"callee"!==gi&&"arguments"!==gi)){const xi=Ft[gi];(Tt(xi)||Te(xi))&&!Object.isFrozen(xi)&&Mt(xi)}}),Ft}function Ci(Ft,mi=[]){return(jt(Ft)||Je(Ft))&&0===mi.length?{path:["root"],value:Ft}:Object.keys(Ft).reduce((xi,Ni)=>{if(xi)return xi;const nn=Ft[Ni];return function ce(Ft){return Te(Ft)&&Ft.hasOwnProperty("\u0275cmp")}(nn)?xi:!(jt(nn)||Je(nn)||function Qt(Ft){return"number"==typeof Ft}(nn)||function It(Ft){return"boolean"==typeof Ft}(nn)||function Ae(Ft){return"string"==typeof Ft}(nn)||et(nn))&&(function Se(Ft){if(!function xt(Ft){return Tt(Ft)&&!et(Ft)}(Ft))return!1;const mi=Object.getPrototypeOf(Ft);return mi===Object.prototype||null===mi}(nn)?Ci(nn,[...mi,Ni]):{path:[...mi,Ni],value:nn})},!1)}function Ti(Ft,mi){if(!1===Ft)return;const gi=Ft.path.join("."),xi=new Error(`Detected unserializable ${mi} at "${gi}". ${yt}#strict${mi}serializability`);throw xi.value=Ft.value,xi.unserializablePath=gi,xi}function Zi(Ft){return(0,e.naY)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...Ft}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function ln({strictActionSerializability:Ft,strictStateSerializability:mi}){return gi=>Ft||mi?function Bt(Ft,mi){return function(gi,xi){mi.action(xi)&&Ti(Ci(xi),"action");const Ni=Ft(gi,xi);return mi.state()&&Ti(Ci(Ni),"state"),Ni}}(gi,{action:xi=>Ft&&!Ut(xi),state:()=>mi}):gi}function mn({strictActionImmutability:Ft,strictStateImmutability:mi}){return gi=>Ft||mi?function ot(Ft,mi){return function(gi,xi){const Ni=mi.action(xi)?Mt(xi):xi,nn=Ft(gi,Ni);return mi.state()?Mt(nn):nn}}(gi,{action:xi=>Ft&&!Ut(xi),state:()=>mi}):gi}function Ut(Ft){return Ft.type.startsWith("@ngrx")}function lt({strictActionWithinNgZone:Ft}){return mi=>Ft?function Hi(Ft,mi){return function(gi,xi){if(mi.action(xi)&&!e.SKi.isInAngularZone())throw new Error(`Action '${xi.type}' running outside NgZone. ${yt}#strictactionwithinngzone`);return Ft(gi,xi)}}(mi,{action:gi=>Ft&&!Ut(gi)}):mi}function re(Ft){return[{provide:X,useValue:Ft},{provide:oe,useFactory:ye,deps:[X]},{provide:se,deps:[oe],useFactory:Zi},{provide:Xe,multi:!0,deps:[se],useFactory:mn},{provide:Xe,multi:!0,deps:[se],useFactory:ln},{provide:Xe,multi:!0,deps:[se],useFactory:lt}]}function He(){return[{provide:ae,multi:!0,deps:[se],useFactory:rt}]}function ye(Ft){return Ft}function rt(Ft){if(!Ft.strictActionTypeUniqueness)return;const mi=Object.entries(I).filter(([,gi])=>gi>1).map(([gi])=>gi);if(mi.length)throw new Error(`Action types are registered more than once, ${mi.map(gi=>`"${gi}"`).join(", ")}. ${yt}#strictactiontypeuniqueness`)}function ii(Ft={},mi={}){return[{provide:n,useFactory:tt},{provide:c,useValue:mi.initialState},{provide:m,useFactory:Xt,deps:[c]},{provide:k,useValue:Ft},{provide:a,useExisting:Ft instanceof e.nKC?Ft:k},{provide:A,deps:[k,[new e.y_5(a)]],useFactory:tn},{provide:ze,useValue:mi.metaReducers?mi.metaReducers:[]},{provide:We,deps:[Xe,ze],useFactory:St},{provide:C,useValue:mi.reducerFactory?mi.reducerFactory:st},{provide:d,deps:[C,We],useFactory:ue},T,ve,we,$e,qt,re(mi.runtimeChecks),He()]}function Jn(Ft,mi,gi={}){return[{provide:z,multi:!0,useValue:Ft instanceof Object?{}:gi},{provide:_,multi:!0,useValue:{key:Ft instanceof Object?Ft.name:Ft,reducerFactory:gi instanceof e.nKC||!gi.reducerFactory?st:gi.reducerFactory,metaReducers:gi instanceof e.nKC||!gi.metaReducers?[]:gi.metaReducers,initialState:gi instanceof e.nKC||!gi.initialState?void 0:gi.initialState}},{provide:N,deps:[z,_],useFactory:Vi},{provide:b,multi:!0,useValue:Ft instanceof Object?Ft.reducer:mi},{provide:q,multi:!0,useExisting:mi instanceof e.nKC?mi:b},{provide:pe,multi:!0,deps:[b,[new e.y_5(q)]],useFactory:Qi},He()]}let nr=(()=>{class Ft{constructor(gi,xi,Ni,nn,On,ir){}static{this.\u0275fac=function(xi){return new(xi||Ft)(e.KVO(le),e.KVO(Ct),e.KVO(_e),e.KVO(nt),e.KVO(n,8),e.KVO(ae,8))}}static{this.\u0275mod=e.$C({type:Ft})}static{this.\u0275inj=e.G2t({})}}return Ft})(),dr=(()=>{class Ft{constructor(gi,xi,Ni,nn,On){this.features=gi,this.featureReducers=xi,this.reducerManager=Ni;const ir=gi.map((gn,Xr)=>{const mr=xi.shift()[Xr];return{...gn,reducers:mr,initialState:Xt(gn.initialState)}});Ni.addFeatures(ir)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static{this.\u0275fac=function(xi){return new(xi||Ft)(e.KVO(N),e.KVO(pe),e.KVO(Yt),e.KVO(nr),e.KVO(ae,8))}}static{this.\u0275mod=e.$C({type:Ft})}static{this.\u0275inj=e.G2t({})}}return Ft})(),wn=(()=>{class Ft{static forRoot(gi,xi){return{ngModule:nr,providers:[...ii(gi,xi)]}}static forFeature(gi,xi,Ni={}){return{ngModule:dr,providers:[...Jn(gi,xi,Ni)]}}static{this.\u0275fac=function(xi){return new(xi||Ft)}}static{this.\u0275mod=e.$C({type:Ft})}static{this.\u0275inj=e.G2t({})}}return Ft})();function Ai(...Ft){return{reducer:Ft.pop(),types:Ft.map(xi=>xi.type)}}function Yi(Ft,...mi){const gi=new Map;for(const xi of mi)for(const Ni of xi.types){const nn=gi.get(Ni);gi.set(Ni,nn?(ir,gn)=>xi.reducer(nn(ir,gn),gn):xi.reducer)}return function(xi=Ft,Ni){const nn=gi.get(Ni.type);return nn?nn(xi,Ni):xi}}},6064:(Qe,te,g)=>{"use strict";g.d(te,{Dl:()=>vm,L8:()=>_m,dV:()=>D6});var e=g(4438),t=g(177),x=g(1635),D=g(6939),l=g(3726),w=g(152),f=g(9969);function R(){}function h(u){return null==u?R:function(){return this.querySelector(u)}}function O(){return[]}function I(u){return null==u?O:function(){return this.querySelectorAll(u)}}function Y(u){return function(){return this.matches(u)}}function W(u){return function(L){return L.matches(u)}}var Q=Array.prototype.find;function ie(){return this.firstElementChild}var fe=Array.prototype.filter;function ne(){return Array.from(this.children)}function T(u){return new Array(u.length)}function c(u,L){this.ownerDocument=u.ownerDocument,this.namespaceURI=u.namespaceURI,this._next=null,this._parent=u,this.__data__=L}function d(u,L,s,M,U,K){for(var Et,ke=0,Gt=L.length,Pt=K.length;keL?1:u>=L?0:NaN}c.prototype={constructor:c,appendChild:function(u){return this._parent.insertBefore(u,this._next)},insertBefore:function(u,L){return this._parent.insertBefore(u,L)},querySelector:function(u){return this._parent.querySelector(u)},querySelectorAll:function(u){return this._parent.querySelectorAll(u)}};var ae="http://www.w3.org/1999/xhtml";const he={svg:"http://www.w3.org/2000/svg",xhtml:ae,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ie(u){var L=u+="",s=L.indexOf(":");return s>=0&&"xmlns"!==(L=u.slice(0,s))&&(u=u.slice(s+1)),he.hasOwnProperty(L)?{space:he[L],local:u}:u}function st(u){return function(){this.removeAttribute(u)}}function me(u){return function(){this.removeAttributeNS(u.space,u.local)}}function Ee(u,L){return function(){this.setAttribute(u,L)}}function ue(u,L){return function(){this.setAttributeNS(u.space,u.local,L)}}function Be(u,L){return function(){var s=L.apply(this,arguments);null==s?this.removeAttribute(u):this.setAttribute(u,s)}}function Ct(u,L){return function(){var s=L.apply(this,arguments);null==s?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,s)}}function dt(u){return u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView}function Yt(u){return function(){this.style.removeProperty(u)}}function ve(u,L,s){return function(){this.style.setProperty(u,L,s)}}function _e(u,L,s){return function(){var M=L.apply(this,arguments);null==M?this.style.removeProperty(u):this.style.setProperty(u,M,s)}}function Ue(u,L){return u.style.getPropertyValue(L)||dt(u).getComputedStyle(u,null).getPropertyValue(L)}function je(u){return function(){delete this[u]}}function vt(u,L){return function(){this[u]=L}}function $e(u,L){return function(){var s=L.apply(this,arguments);null==s?delete this[u]:this[u]=s}}function qt(u){return u.trim().split(/^|\s+/)}function Nt(u){return u.classList||new yt(u)}function yt(u){this._node=u,this._names=qt(u.getAttribute("class")||"")}function jt(u,L){for(var s=Nt(u),M=-1,U=L.length;++M=0&&(this._names.splice(L,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(u){return this._names.indexOf(u)>=0}};var Zi=[null];function ln(u,L){this._groups=u,this._parents=L}function mn(){return new ln([[document.documentElement]],Zi)}ln.prototype=mn.prototype={constructor:ln,select:function S(u){"function"!=typeof u&&(u=h(u));for(var L=this._groups,s=L.length,M=new Array(s),U=0;U=yn&&(yn=Yn+1);!(tr=ki[yn])&&++yn=0;)(ke=M[U])&&(K&&4^ke.compareDocumentPosition(K)&&K.parentNode.insertBefore(ke,K),K=ke);return this},sort:function q(u){function L(_i,wi){return _i&&wi?u(_i.__data__,wi.__data__):!_i-!wi}u||(u=pe);for(var s=this._groups,M=s.length,U=new Array(M),K=0;K1?this.each((null==L?Yt:"function"==typeof L?_e:ve)(u,L,s??"")):Ue(this.node(),u)},property:function nt(u,L){return arguments.length>1?this.each((null==L?je:"function"==typeof L?$e:vt)(u,L)):this.node()[u]},classed:function Qt(u,L){var s=qt(u+"");if(arguments.length<2){for(var M=Nt(this.node()),U=-1,K=s.length;++U=0&&(s=L.slice(M+1),L=L.slice(0,M)),{type:L,name:s}})}(u+""),K=M.length;if(!(arguments.length<2)){for(Et=L?tt:St,U=0;U{}};function ye(){for(var M,u=0,L=arguments.length,s={};u=0&&(M=s.slice(U+1),s=s.slice(0,U)),s&&!L.hasOwnProperty(s))throw new Error("unknown type: "+s);return{type:s,name:M}})}(u+"",s),K=-1,ke=M.length;if(!(arguments.length<2)){if(null!=L&&"function"!=typeof L)throw new Error("invalid callback: "+L);for(;++K0)for(var U,K,s=new Array(U),M=0;M>8&15|L>>4&240,L>>4&15|240&L,(15&L)<<4|15&L,1):8===s?Or(L>>24&255,L>>16&255,L>>8&255,(255&L)/255):4===s?Or(L>>12&15|L>>8&240,L>>8&15|L>>4&240,L>>4&15|240&L,((15&L)<<4|15&L)/255):null):(L=On.exec(u))?new Fr(L[1],L[2],L[3],1):(L=ir.exec(u))?new Fr(255*L[1]/100,255*L[2]/100,255*L[3]/100,1):(L=gn.exec(u))?Or(L[1],L[2],L[3],L[4]):(L=Xr.exec(u))?Or(255*L[1]/100,255*L[2]/100,255*L[3]/100,L[4]):(L=fr.exec(u))?Do(L[1],L[2]/100,L[3]/100,1):(L=mr.exec(u))?Do(L[1],L[2]/100,L[3]/100,L[4]):wa.hasOwnProperty(u)?Ds(wa[u]):"transparent"===u?new Fr(NaN,NaN,NaN,0):null}function Ds(u){return new Fr(u>>16&255,u>>8&255,255&u,1)}function Or(u,L,s,M){return M<=0&&(u=L=s=NaN),new Fr(u,L,s,M)}function za(u,L,s,M){return 1===arguments.length?function hs(u){return u instanceof Yi||(u=Ma(u)),u?new Fr((u=u.rgb()).r,u.g,u.b,u.opacity):new Fr}(u):new Fr(u,L,s,M??1)}function Fr(u,L,s,M){this.r=+u,this.g=+L,this.b=+s,this.opacity=+M}function Ur(){return`#${hn(this.r)}${hn(this.g)}${hn(this.b)}`}function Ya(){const u=xr(this.opacity);return`${1===u?"rgb(":"rgba("}${ua(this.r)}, ${ua(this.g)}, ${ua(this.b)}${1===u?")":`, ${u})`}`}function xr(u){return isNaN(u)?1:Math.max(0,Math.min(1,u))}function ua(u){return Math.max(0,Math.min(255,Math.round(u)||0))}function hn(u){return((u=ua(u))<16?"0":"")+u.toString(16)}function Do(u,L,s,M){return M<=0?u=L=s=NaN:s<=0||s>=1?u=L=NaN:L<=0&&(u=NaN),new ea(u,L,s,M)}function Ba(u){if(u instanceof ea)return new ea(u.h,u.s,u.l,u.opacity);if(u instanceof Yi||(u=Ma(u)),!u)return new ea;if(u instanceof ea)return u;var L=(u=u.rgb()).r/255,s=u.g/255,M=u.b/255,U=Math.min(L,s,M),K=Math.max(L,s,M),ke=NaN,Et=K-U,Gt=(K+U)/2;return Et?(ke=L===K?(s-M)/Et+6*(s0&&Gt<1?0:ke,new ea(ke,Et,Gt,u.opacity)}function ea(u,L,s,M){this.h=+u,this.s=+L,this.l=+s,this.opacity=+M}function _o(u){return(u=(u||0)%360)<0?u+360:u}function Va(u){return Math.max(0,Math.min(1,u||0))}function ko(u,L,s){return 255*(u<60?L+(s-L)*u/60:u<180?s:u<240?L+(s-L)*(240-u)/60:L)}function fo(u,L,s,M,U){var K=u*u,ke=K*u;return((1-3*u+3*K-ke)*L+(4-6*K+3*ke)*s+(1+3*u+3*K-3*ke)*M+ke*U)/6}wn(Yi,Ma,{copy(u){return Object.assign(new this.constructor,this,u)},displayable(){return this.rgb().displayable()},hex:Xa,formatHex:Xa,formatHex8:function ds(){return this.rgb().formatHex8()},formatHsl:function qr(){return Ba(this).formatHsl()},formatRgb:_s,toString:_s}),wn(Fr,za,Ai(Yi,{brighter(u){return u=null==u?mi:Math.pow(mi,u),new Fr(this.r*u,this.g*u,this.b*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new Fr(this.r*u,this.g*u,this.b*u,this.opacity)},rgb(){return this},clamp(){return new Fr(ua(this.r),ua(this.g),ua(this.b),xr(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:Ur,formatHex:Ur,formatHex8:function yr(){return`#${hn(this.r)}${hn(this.g)}${hn(this.b)}${hn(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ya,toString:Ya})),wn(ea,function Ao(u,L,s,M){return 1===arguments.length?Ba(u):new ea(u,L,s,M??1)},Ai(Yi,{brighter(u){return u=null==u?mi:Math.pow(mi,u),new ea(this.h,this.s,this.l*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new ea(this.h,this.s,this.l*u,this.opacity)},rgb(){var u=this.h%360+360*(this.h<0),L=isNaN(u)||isNaN(this.s)?0:this.s,s=this.l,M=s+(s<.5?s:1-s)*L,U=2*s-M;return new Fr(ko(u>=240?u-240:u+120,U,M),ko(u,U,M),ko(u<120?u+240:u-120,U,M),this.opacity)},clamp(){return new ea(_o(this.h),Va(this.s),Va(this.l),xr(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=xr(this.opacity);return`${1===u?"hsl(":"hsla("}${_o(this.h)}, ${100*Va(this.s)}%, ${100*Va(this.l)}%${1===u?")":`, ${u})`}`}}));const Ea=u=>()=>u;function Ua(u,L){var s=L-u;return s?function fa(u,L){return function(s){return u+s*L}}(u,s):Ea(isNaN(u)?L:u)}const ma=function u(L){var s=function Io(u){return 1==(u=+u)?Ua:function(L,s){return s-L?function Bs(u,L,s){return u=Math.pow(u,s),L=Math.pow(L,s)-u,s=1/s,function(M){return Math.pow(u+M*L,s)}}(L,s,u):Ea(isNaN(L)?s:L)}}(L);function M(U,K){var ke=s((U=za(U)).r,(K=za(K)).r),Et=s(U.g,K.g),Gt=s(U.b,K.b),Pt=Ua(U.opacity,K.opacity);return function(li){return U.r=ke(li),U.g=Et(li),U.b=Gt(li),U.opacity=Pt(li),U+""}}return M.gamma=u,M}(1);function no(u){return function(L){var ke,Et,s=L.length,M=new Array(s),U=new Array(s),K=new Array(s);for(ke=0;ke=1?(s=1,L-1):Math.floor(s*L),U=u[M],K=u[M+1];return fo((s-M/L)*L,M>0?u[M-1]:2*U-K,U,K,Ms&&(K=L.slice(s,K),Et[ke]?Et[ke]+=K:Et[++ke]=K),(M=M[0])===(U=U[0])?Et[ke]?Et[ke]+=U:Et[++ke]=U:(Et[++ke]=null,Gt.push({i:ke,x:pa(M,U)})),s=Ka.lastIndex;return s=0&&u._call.call(void 0,L),u=u._next;--Ei}()}finally{Ei=0,function Oo(){for(var u,s,L=Ra,M=1/0;L;)L._call?(M>L._time&&(M=L._time),u=L,L=L._next):(s=L._next,L._next=null,L=u?u._next=s:Ra=s);ao=u,Cr(M)}(),$a=0}}function er(){var u=Gr.now(),L=u-Zo;L>ga&&(Vo-=L,Zo=u)}function Cr(u){Ei||(Ji&&(Ji=clearTimeout(Ji)),u-$a>24?(u<1/0&&(Ji=setTimeout(vn,u-Gr.now()-Vo)),cr&&(cr=clearInterval(cr))):(cr||(Zo=Gr.now(),cr=setInterval(er,ga)),Ei=1,Pi(vn)))}function Qa(u,L,s){var M=new Ve;return M.restart(U=>{M.stop(),u(U+L)},L=null==L?0:+L,s),M}Ve.prototype=Dt.prototype={constructor:Ve,restart:function(u,L,s){if("function"!=typeof u)throw new TypeError("callback is not a function");s=(null==s?it():+s)+(null==L?0:+L),!this._next&&ao!==this&&(ao?ao._next=this:Ra=this,ao=this),this._call=u,this._time=s,Cr()},stop:function(){this._call&&(this._call=null,this._time=1/0,Cr())}};var _c=Gi("start","end","cancel","interrupt"),ks=[],Uo=0,Jo=3;function jn(u,L,s,M,U,K){var ke=u.__transition;if(ke){if(s in ke)return}else u.__transition={};!function _a(u,L,s){var U,M=u.__transition;function ke(Pt){var li,_i,wi,Di;if(1!==s.state)return Gt();for(li in M)if((Di=M[li]).name===s.name){if(Di.state===Jo)return Qa(ke);4===Di.state?(Di.state=6,Di.timer.stop(),Di.on.call("interrupt",u,u.__data__,Di.index,Di.group),delete M[li]):+liUo)throw new Error("too late; already scheduled");return s}function Nr(u,L){var s=ca(u,L);if(s.state>Jo)throw new Error("too late; already running");return s}function ca(u,L){var s=u.__transition;if(!s||!(s=s[L]))throw new Error("transition not found");return s}var xo,qo=180/Math.PI,vc={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function rc(u,L,s,M,U,K){var ke,Et,Gt;return(ke=Math.sqrt(u*u+L*L))&&(u/=ke,L/=ke),(Gt=u*s+L*M)&&(s-=u*Gt,M-=L*Gt),(Et=Math.sqrt(s*s+M*M))&&(s/=Et,M/=Et,Gt/=Et),u*M180?li+=360:li-Pt>180&&(Pt+=360),wi.push({i:_i.push(U(_i)+"rotate(",null,M)-2,x:pa(Pt,li)})):li&&_i.push(U(_i)+"rotate("+li+M)}(Pt.rotate,li.rotate,_i,wi),function Et(Pt,li,_i,wi){Pt!==li?wi.push({i:_i.push(U(_i)+"skewX(",null,M)-2,x:pa(Pt,li)}):li&&_i.push(U(_i)+"skewX("+li+M)}(Pt.skewX,li.skewX,_i,wi),function Gt(Pt,li,_i,wi,Di,sn){if(Pt!==_i||li!==wi){var kn=Di.push(U(Di)+"scale(",null,",",null,")");sn.push({i:kn-4,x:pa(Pt,_i)},{i:kn-2,x:pa(li,wi)})}else(1!==_i||1!==wi)&&Di.push(U(Di)+"scale("+_i+","+wi+")")}(Pt.scaleX,Pt.scaleY,li.scaleX,li.scaleY,_i,wi),Pt=li=null,function(Di){for(var ki,sn=-1,kn=wi.length;++sn=0&&(L=L.slice(0,s)),!L||"start"===L})}(L)?na:Nr;return function(){var ke=K(this,u),Et=ke.on;Et!==M&&(U=(M=Et).copy()).on(L,s),ke.on=U}}(s,u,L))},attr:function zc(u,L){var s=Ie(u),M="transform"===s?el:Ws;return this.attrTween(u,"function"==typeof L?(s.local?sc:ys)(s,M,js(this,"attr."+u,L)):null==L?(s.local?Pc:es)(s):(s.local?oc:Xs)(s,M,L))},attrTween:function tl(u,L){var s="attr."+u;if(arguments.length<2)return(s=this.tween(s))&&s._value;if(null==L)return this.tween(s,null);if("function"!=typeof L)throw new Error;var M=Ie(u);return this.tween(s,(M.local?bc:Ys)(M,L))},style:function bn(u,L,s){var M="transform"==(u+="")?ac:Ws;return null==L?this.styleTween(u,function pr(u,L){var s,M,U;return function(){var K=Ue(this,u),ke=(this.style.removeProperty(u),Ue(this,u));return K===ke?null:K===s&&ke===M?U:U=L(s=K,M=ke)}}(u,M)).on("end.style."+u,Fn(u)):"function"==typeof L?this.styleTween(u,function Dn(u,L,s){var M,U,K;return function(){var ke=Ue(this,u),Et=s(this),Gt=Et+"";return null==Et&&(this.style.removeProperty(u),Gt=Et=Ue(this,u)),ke===Gt?null:ke===M&&Gt===U?K:(U=Gt,K=L(M=ke,Et))}}(u,M,js(this,"style."+u,L))).each(function Fi(u,L){var s,M,U,Et,K="style."+L,ke="end."+K;return function(){var Gt=Nr(this,u),Pt=Gt.on,li=null==Gt.value[K]?Et||(Et=Fn(L)):void 0;(Pt!==s||U!==li)&&(M=(s=Pt).copy()).on(ke,U=li),Gt.on=M}}(this._id,u)):this.styleTween(u,function Sr(u,L,s){var M,K,U=s+"";return function(){var ke=Ue(this,u);return ke===U?null:ke===M?K:K=L(M=ke,s)}}(u,M,L),s).on("end.style."+u,null)},styleTween:function ra(u,L,s){var M="style."+(u+="");if(arguments.length<2)return(M=this.tween(M))&&M._value;if(null==L)return this.tween(M,null);if("function"!=typeof L)throw new Error;return this.tween(M,function va(u,L,s){var M,U;function K(){var ke=L.apply(this,arguments);return ke!==U&&(M=(U=ke)&&function Tr(u,L,s){return function(M){this.style.setProperty(u,L.call(this,M),s)}}(u,ke,s)),M}return K._value=L,K}(u,L,s??""))},text:function hr(u){return this.tween("text","function"==typeof u?function oo(u){return function(){var L=u(this);this.textContent=L??""}}(js(this,"text",u)):function Ja(u){return function(){this.textContent=u}}(null==u?"":u+""))},textTween:function Bn(u){var L="text";if(arguments.length<1)return(L=this.tween(L))&&L._value;if(null==u)return this.tween(L,null);if("function"!=typeof u)throw new Error;return this.tween(L,function ts(u){var L,s;function M(){var U=u.apply(this,arguments);return U!==s&&(L=(s=U)&&function aa(u){return function(L){this.textContent=u.call(this,L)}}(U)),L}return M._value=u,M}(u))},remove:function Si(){return this.on("end.remove",function Zt(u){return function(){var L=this.parentNode;for(var s in this.__transition)if(+s!==u)return;L&&L.removeChild(this)}}(this._id))},tween:function Hs(u,L){var s=this._id;if(u+="",arguments.length<2){for(var ke,M=ca(this.node(),s).tween,U=0,K=M.length;U2&&M.state<5,M.state=6,M.timer.stop(),M.on.call(U?"interrupt":"cancel",u,u.__data__,M.index,M.group),delete s[ke]):K=!1;K&&delete u.__transition}}(this,u)})},lt.prototype.transition=function En(u){var L,s;u instanceof Lr?(L=u._id,u=u._name):(L=cc(),(s=El).time=it(),u=null==u?null:u+"");for(var M=this._groups,U=M.length,K=0;KL?1:u>=L?0:NaN}function zn(u,L){return null==u||null==L?NaN:Lu?1:L>=u?0:NaN}function Er(u){let L,s,M;function U(Et,Gt,Pt=0,li=Et.length){if(Pt>>1;s(Et[_i],Gt)<0?Pt=_i+1:li=_i}while(PtPn(u(Et),Gt),M=(Et,Gt)=>u(Et)-Gt):(L=u===Pn||u===zn?u:Cs,s=u,M=u),{left:U,center:function ke(Et,Gt,Pt=0,li=Et.length){const _i=U(Et,Gt,Pt,li-1);return _i>Pt&&M(Et[_i-1],Gt)>-M(Et[_i],Gt)?_i-1:_i},right:function K(Et,Gt,Pt=0,li=Et.length){if(Pt>>1;s(Et[_i],Gt)<=0?Pt=_i+1:li=_i}while(Pt=Sa?10:K>=xc?5:K>=Ta?2:1;let Et,Gt,Pt;return U<0?(Pt=Math.pow(10,-U)/ke,Et=Math.round(u*Pt),Gt=Math.round(L*Pt),Et/PtL&&--Gt,Pt=-Pt):(Pt=Math.pow(10,U)*ke,Et=Math.round(u/Pt),Gt=Math.round(L/Pt),Et*PtL&&--Gt),Gt(u(K=new Date(+K)),K),U.ceil=K=>(u(K=new Date(K-1)),L(K,1),u(K),K),U.round=K=>{const ke=U(K),Et=U.ceil(K);return K-ke(L(K=new Date(+K),null==ke?1:Math.floor(ke)),K),U.range=(K,ke,Et)=>{const Gt=[];if(K=U.ceil(K),Et=null==Et?1:Math.floor(Et),!(K0))return Gt;let Pt;do{Gt.push(Pt=new Date(+K)),L(K,Et),u(K)}while(PtUn(ke=>{if(ke>=ke)for(;u(ke),!K(ke);)ke.setTime(ke-1)},(ke,Et)=>{if(ke>=ke)if(Et<0)for(;++Et<=0;)for(;L(ke,-1),!K(ke););else for(;--Et>=0;)for(;L(ke,1),!K(ke););}),s&&(U.count=(K,ke)=>(e1.setTime(+K),t1.setTime(+ke),u(e1),u(t1),Math.floor(s(e1,t1))),U.every=K=>(K=Math.floor(K),isFinite(K)&&K>0?K>1?U.filter(M?ke=>M(ke)%K==0:ke=>U.count(0,ke)%K==0):U:null)),U}const Dl=Un(()=>{},(u,L)=>{u.setTime(+u+L)},(u,L)=>L-u);Dl.every=u=>(u=Math.floor(u),isFinite(u)&&u>0?u>1?Un(L=>{L.setTime(Math.floor(L/u)*u)},(L,s)=>{L.setTime(+L+s*u)},(L,s)=>(s-L)/u):Dl:null);const co=Un(u=>{u.setTime(u-u.getMilliseconds())},(u,L)=>{u.setTime(+u+L*wc)},(u,L)=>(L-u)/wc,u=>u.getUTCSeconds()),nl=Un(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*wc)},(u,L)=>{u.setTime(+u+L*ws)},(u,L)=>(L-u)/ws,u=>u.getMinutes()),fs=Un(u=>{u.setUTCSeconds(0,0)},(u,L)=>{u.setTime(+u+L*ws)},(u,L)=>(L-u)/ws,u=>u.getUTCMinutes()),$s=Un(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*wc-u.getMinutes()*ws)},(u,L)=>{u.setTime(+u+L*dc)},(u,L)=>(L-u)/dc,u=>u.getHours()),Ms=Un(u=>{u.setUTCMinutes(0,0,0)},(u,L)=>{u.setTime(+u+L*dc)},(u,L)=>(L-u)/dc,u=>u.getUTCHours()),n1=Un(u=>u.setHours(0,0,0,0),(u,L)=>u.setDate(u.getDate()+L),(u,L)=>(L-u-(L.getTimezoneOffset()-u.getTimezoneOffset())*ws)/Mc,u=>u.getDate()-1),hc=(Un(u=>{u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCDate(u.getUTCDate()+L)},(u,L)=>(L-u)/Mc,u=>u.getUTCDate()-1),Un(u=>{u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCDate(u.getUTCDate()+L)},(u,L)=>(L-u)/Mc,u=>Math.floor(u/Mc)));function Ec(u){return Un(L=>{L.setDate(L.getDate()-(L.getDay()+7-u)%7),L.setHours(0,0,0,0)},(L,s)=>{L.setDate(L.getDate()+7*s)},(L,s)=>(s-L-(s.getTimezoneOffset()-L.getTimezoneOffset())*ws)/_d)}const Qs=Ec(0);function al(u){return Un(L=>{L.setUTCDate(L.getUTCDate()-(L.getUTCDay()+7-u)%7),L.setUTCHours(0,0,0,0)},(L,s)=>{L.setUTCDate(L.getUTCDate()+7*s)},(L,s)=>(s-L)/_d)}Ec(1),Ec(2),Ec(3),Ec(4),Ec(5),Ec(6);const L2=al(0),o1=(al(1),al(2),al(3),al(4),al(5),al(6),Un(u=>{u.setDate(1),u.setHours(0,0,0,0)},(u,L)=>{u.setMonth(u.getMonth()+L)},(u,L)=>L.getMonth()-u.getMonth()+12*(L.getFullYear()-u.getFullYear()),u=>u.getMonth())),a0=Un(u=>{u.setUTCDate(1),u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCMonth(u.getUTCMonth()+L)},(u,L)=>L.getUTCMonth()-u.getUTCMonth()+12*(L.getUTCFullYear()-u.getUTCFullYear()),u=>u.getUTCMonth()),Ns=Un(u=>{u.setMonth(0,1),u.setHours(0,0,0,0)},(u,L)=>{u.setFullYear(u.getFullYear()+L)},(u,L)=>L.getFullYear()-u.getFullYear(),u=>u.getFullYear());Ns.every=u=>isFinite(u=Math.floor(u))&&u>0?Un(L=>{L.setFullYear(Math.floor(L.getFullYear()/u)*u),L.setMonth(0,1),L.setHours(0,0,0,0)},(L,s)=>{L.setFullYear(L.getFullYear()+s*u)}):null;const ns=Un(u=>{u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCFullYear(u.getUTCFullYear()+L)},(u,L)=>L.getUTCFullYear()-u.getUTCFullYear(),u=>u.getUTCFullYear());function La(u,L,s,M,U,K){const ke=[[co,1,wc],[co,5,5e3],[co,15,15e3],[co,30,3e4],[K,1,ws],[K,5,5*ws],[K,15,15*ws],[K,30,30*ws],[U,1,dc],[U,3,3*dc],[U,6,6*dc],[U,12,12*dc],[M,1,Mc],[M,2,2*Mc],[s,1,_d],[L,1,vd],[L,3,3*vd],[u,1,Fs]];function Gt(Pt,li,_i){const wi=Math.abs(li-Pt)/_i,Di=Er(([,,ki])=>ki).right(ke,wi);if(Di===ke.length)return u.every(e0(Pt/Fs,li/Fs,_i));if(0===Di)return Dl.every(Math.max(e0(Pt,li,_i),1));const[sn,kn]=ke[wi/ke[Di-1][2]isFinite(u=Math.floor(u))&&u>0?Un(L=>{L.setUTCFullYear(Math.floor(L.getUTCFullYear()/u)*u),L.setUTCMonth(0,1),L.setUTCHours(0,0,0,0)},(L,s)=>{L.setUTCFullYear(L.getUTCFullYear()+s*u)}):null;const[Oa,Xu]=La(ns,a0,L2,hc,Ms,fs),[Ha,Vc]=La(Ns,o1,Qs,n1,$s,nl);var Sc=new Date,Uc=new Date;function Es(u,L,s,M){function U(K){return u(K=0===arguments.length?new Date:new Date(+K)),K}return U.floor=function(K){return u(K=new Date(+K)),K},U.ceil=function(K){return u(K=new Date(K-1)),L(K,1),u(K),K},U.round=function(K){var ke=U(K),Et=U.ceil(K);return K-ke0))return Gt;do{Gt.push(Pt=new Date(+K)),L(K,Et),u(K)}while(Pt=ke)for(;u(ke),!K(ke);)ke.setTime(ke-1)},function(ke,Et){if(ke>=ke)if(Et<0)for(;++Et<=0;)for(;L(ke,-1),!K(ke););else for(;--Et>=0;)for(;L(ke,1),!K(ke););})},s&&(U.count=function(K,ke){return Sc.setTime(+K),Uc.setTime(+ke),u(Sc),u(Uc),Math.floor(s(Sc,Uc))},U.every=function(K){return K=Math.floor(K),isFinite(K)&&K>0?K>1?U.filter(M?function(ke){return M(ke)%K==0}:function(ke){return U.count(0,ke)%K==0}):U:null}),U}const Ol=864e5,c1=7*Ol;function Tc(u){return Es(function(L){L.setUTCDate(L.getUTCDate()-(L.getUTCDay()+7-u)%7),L.setUTCHours(0,0,0,0)},function(L,s){L.setUTCDate(L.getUTCDate()+7*s)},function(L,s){return(s-L)/c1})}var O2=Tc(0),qa=Tc(1),sl=(Tc(2),Tc(3),Tc(4));const Cd=(Tc(5),Tc(6),Es(function(u){u.setUTCHours(0,0,0,0)},function(u,L){u.setUTCDate(u.getUTCDate()+L)},function(u,L){return(L-u)/Ol},function(u){return u.getUTCDate()-1}));function Gc(u){return Es(function(L){L.setDate(L.getDate()-(L.getDay()+7-u)%7),L.setHours(0,0,0,0)},function(L,s){L.setDate(L.getDate()+7*s)},function(L,s){return(s-L-6e4*(s.getTimezoneOffset()-L.getTimezoneOffset()))/c1})}var d1=Gc(0),h1=Gc(1),ll=(Gc(2),Gc(3),Gc(4));const Nl=(Gc(5),Gc(6),Es(u=>u.setHours(0,0,0,0),(u,L)=>u.setDate(u.getDate()+L),(u,L)=>(L-u-6e4*(L.getTimezoneOffset()-u.getTimezoneOffset()))/Ol,u=>u.getDate()-1));var dl=Es(function(u){u.setMonth(0,1),u.setHours(0,0,0,0)},function(u,L){u.setFullYear(u.getFullYear()+L)},function(u,L){return L.getFullYear()-u.getFullYear()},function(u){return u.getFullYear()});dl.every=function(u){return isFinite(u=Math.floor(u))&&u>0?Es(function(L){L.setFullYear(Math.floor(L.getFullYear()/u)*u),L.setMonth(0,1),L.setHours(0,0,0,0)},function(L,s){L.setFullYear(L.getFullYear()+s*u)}):null};const Pl=dl;var hl=Es(function(u){u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},function(u,L){u.setUTCFullYear(u.getUTCFullYear()+L)},function(u,L){return L.getUTCFullYear()-u.getUTCFullYear()},function(u){return u.getUTCFullYear()});hl.every=function(u){return isFinite(u=Math.floor(u))&&u>0?Es(function(L){L.setUTCFullYear(Math.floor(L.getUTCFullYear()/u)*u),L.setUTCMonth(0,1),L.setUTCHours(0,0,0,0)},function(L,s){L.setUTCFullYear(L.getUTCFullYear()+s*u)}):null};const m1=hl;function p1(u){if(0<=u.y&&u.y<100){var L=new Date(-1,u.m,u.d,u.H,u.M,u.S,u.L);return L.setFullYear(u.y),L}return new Date(u.y,u.m,u.d,u.H,u.M,u.S,u.L)}function d0(u){if(0<=u.y&&u.y<100){var L=new Date(Date.UTC(-1,u.m,u.d,u.H,u.M,u.S,u.L));return L.setUTCFullYear(u.y),L}return new Date(Date.UTC(u.y,u.m,u.d,u.H,u.M,u.S,u.L))}function ps(u,L,s){return{y:u,m:L,d:s,H:0,M:0,S:0,L:0}}var Sd={"-":"",_:" ",0:"0"},eo=/^\s*\d+/,U2=/^%/,Td=/[\\^$*+?|[\]().{}]/g;function Dr(u,L,s){var M=u<0?"-":"",U=(M?-u:u)+"",K=U.length;return M+(K[L.toLowerCase(),s]))}function h0(u,L,s){var M=eo.exec(L.slice(s,s+1));return M?(u.w=+M[0],s+M[0].length):-1}function H2(u,L,s){var M=eo.exec(L.slice(s,s+1));return M?(u.u=+M[0],s+M[0].length):-1}function Ju(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.U=+M[0],s+M[0].length):-1}function Ld(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.V=+M[0],s+M[0].length):-1}function ul(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.W=+M[0],s+M[0].length):-1}function j2(u,L,s){var M=eo.exec(L.slice(s,s+4));return M?(u.y=+M[0],s+M[0].length):-1}function g1(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.y=+M[0]+(+M[0]>68?1900:2e3),s+M[0].length):-1}function W2(u,L,s){var M=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(L.slice(s,s+6));return M?(u.Z=M[1]?0:-(M[2]+(M[3]||"00")),s+M[0].length):-1}function Vl(u,L,s){var M=eo.exec(L.slice(s,s+1));return M?(u.q=3*M[0]-3,s+M[0].length):-1}function Ul(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.m=M[0]-1,s+M[0].length):-1}function to(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.d=+M[0],s+M[0].length):-1}function qu(u,L,s){var M=eo.exec(L.slice(s,s+3));return M?(u.m=0,u.d=+M[0],s+M[0].length):-1}function _1(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.H=+M[0],s+M[0].length):-1}function u0(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.M=+M[0],s+M[0].length):-1}function X2(u,L,s){var M=eo.exec(L.slice(s,s+2));return M?(u.S=+M[0],s+M[0].length):-1}function Y2(u,L,s){var M=eo.exec(L.slice(s,s+3));return M?(u.L=+M[0],s+M[0].length):-1}function v1(u,L,s){var M=eo.exec(L.slice(s,s+6));return M?(u.L=Math.floor(M[0]/1e3),s+M[0].length):-1}function K2(u,L,s){var M=U2.exec(L.slice(s,s+1));return M?s+M[0].length:-1}function $2(u,L,s){var M=eo.exec(L.slice(s));return M?(u.Q=+M[0],s+M[0].length):-1}function Dd(u,L,s){var M=eo.exec(L.slice(s));return M?(u.s=+M[0],s+M[0].length):-1}function Dc(u,L){return Dr(u.getDate(),L,2)}function f0(u,L){return Dr(u.getHours(),L,2)}function ef(u,L){return Dr(u.getHours()%12||12,L,2)}function tf(u,L){return Dr(1+Nl.count(Pl(u),u),L,3)}function Q2(u,L){return Dr(u.getMilliseconds(),L,3)}function Z2(u,L){return Q2(u,L)+"000"}function nf(u,L){return Dr(u.getMonth()+1,L,2)}function J2(u,L){return Dr(u.getMinutes(),L,2)}function rf(u,L){return Dr(u.getSeconds(),L,2)}function q2(u){var L=u.getDay();return 0===L?7:L}function u4(u,L){return Dr(d1.count(Pl(u)-1,u),L,2)}function b1(u){var L=u.getDay();return L>=4||0===L?ll(u):ll.ceil(u)}function eh(u,L){return u=b1(u),Dr(ll.count(Pl(u),u)+(4===Pl(u).getDay()),L,2)}function Ho(u){return u.getDay()}function f4(u,L){return Dr(h1.count(Pl(u)-1,u),L,2)}function th(u,L){return Dr(u.getFullYear()%100,L,2)}function m4(u,L){return Dr((u=b1(u)).getFullYear()%100,L,2)}function y1(u,L){return Dr(u.getFullYear()%1e4,L,4)}function p4(u,L){var s=u.getDay();return Dr((u=s>=4||0===s?ll(u):ll.ceil(u)).getFullYear()%1e4,L,4)}function x1(u){var L=u.getTimezoneOffset();return(L>0?"-":(L*=-1,"+"))+Dr(L/60|0,"0",2)+Dr(L%60,"0",2)}function Hc(u,L){return Dr(u.getUTCDate(),L,2)}function Gl(u,L){return Dr(u.getUTCHours(),L,2)}function af(u,L){return Dr(u.getUTCHours()%12||12,L,2)}function ih(u,L){return Dr(1+Cd.count(m1(u),u),L,3)}function jc(u,L){return Dr(u.getUTCMilliseconds(),L,3)}function g4(u,L){return jc(u,L)+"000"}function sf(u,L){return Dr(u.getUTCMonth()+1,L,2)}function fc(u,L){return Dr(u.getUTCMinutes(),L,2)}function Wc(u,L){return Dr(u.getUTCSeconds(),L,2)}function nh(u){var L=u.getUTCDay();return 0===L?7:L}function rh(u,L){return Dr(O2.count(m1(u)-1,u),L,2)}function cf(u){var L=u.getUTCDay();return L>=4||0===L?sl(u):sl.ceil(u)}function C1(u,L){return u=cf(u),Dr(sl.count(m1(u),u)+(4===m1(u).getUTCDay()),L,2)}function w1(u){return u.getUTCDay()}function ah(u,L){return Dr(qa.count(m1(u)-1,u),L,2)}function Da(u,L){return Dr(u.getUTCFullYear()%100,L,2)}function lf(u,L){return Dr((u=cf(u)).getUTCFullYear()%100,L,2)}function M1(u,L){return Dr(u.getUTCFullYear()%1e4,L,4)}function df(u,L){var s=u.getUTCDay();return Dr((u=s>=4||0===s?sl(u):sl.ceil(u)).getUTCFullYear()%1e4,L,4)}function hf(){return"+0000"}function Ad(){return"%"}function m0(u){return+u}function p0(u){return Math.floor(+u/1e3)}function g0(u){return null===u?NaN:+u}!function Ac(u){(function Zu(u){var L=u.dateTime,s=u.date,M=u.time,U=u.periods,K=u.days,ke=u.shortDays,Et=u.months,Gt=u.shortMonths,Pt=zl(U),li=Bl(U),_i=zl(K),wi=Bl(K),Di=zl(ke),sn=Bl(ke),kn=zl(Et),ki=Bl(Et),Tn=zl(Gt),Yn=Bl(Gt),yn={a:function ka(Ln){return ke[Ln.getDay()]},A:function ss(Ln){return K[Ln.getDay()]},b:function Jr(Ln){return Gt[Ln.getMonth()]},B:function Ia(Ln){return Et[Ln.getMonth()]},c:null,d:Dc,e:Dc,f:Z2,g:m4,G:p4,H:f0,I:ef,j:tf,L:Q2,m:nf,M:J2,p:function Pa(Ln){return U[+(Ln.getHours()>=12)]},q:function go(Ln){return 1+~~(Ln.getMonth()/3)},Q:m0,s:p0,S:rf,u:q2,U:u4,V:eh,w:Ho,W:f4,x:null,X:null,y:th,Y:y1,Z:x1,"%":Ad},or={a:function dd(Ln){return ke[Ln.getUTCDay()]},A:function Wd(Ln){return K[Ln.getUTCDay()]},b:function Xd(Ln){return Gt[Ln.getUTCMonth()]},B:function $1(Ln){return Et[Ln.getUTCMonth()]},c:null,d:Hc,e:Hc,f:g4,g:lf,G:df,H:Gl,I:af,j:ih,L:jc,m:sf,M:fc,p:function So(Ln){return U[+(Ln.getUTCHours()>=12)]},q:function Yd(Ln){return 1+~~(Ln.getUTCMonth()/3)},Q:m0,s:p0,S:Wc,u:nh,U:rh,V:C1,w:w1,W:ah,x:null,X:null,y:Da,Y:M1,Z:hf,"%":Ad},tr={a:function xa(Ln,_r,Rr){var en=Di.exec(_r.slice(Rr));return en?(Ln.w=sn.get(en[0].toLowerCase()),Rr+en[0].length):-1},A:function Vn(Ln,_r,Rr){var en=_i.exec(_r.slice(Rr));return en?(Ln.w=wi.get(en[0].toLowerCase()),Rr+en[0].length):-1},b:function Na(Ln,_r,Rr){var en=Tn.exec(_r.slice(Rr));return en?(Ln.m=Yn.get(en[0].toLowerCase()),Rr+en[0].length):-1},B:function Ir(Ln,_r,Rr){var en=kn.exec(_r.slice(Rr));return en?(Ln.m=ki.get(en[0].toLowerCase()),Rr+en[0].length):-1},c:function Ca(Ln,_r,Rr){return ya(Ln,L,_r,Rr)},d:to,e:to,f:v1,g:g1,G:j2,H:_1,I:_1,j:qu,L:Y2,m:Ul,M:u0,p:function Ts(Ln,_r,Rr){var en=Pt.exec(_r.slice(Rr));return en?(Ln.p=li.get(en[0].toLowerCase()),Rr+en[0].length):-1},q:Vl,Q:$2,s:Dd,S:X2,u:H2,U:Ju,V:Ld,w:h0,W:ul,x:function Ko(Ln,_r,Rr){return ya(Ln,s,_r,Rr)},X:function ja(Ln,_r,Rr){return ya(Ln,M,_r,Rr)},y:g1,Y:j2,Z:W2,"%":K2};function Rn(Ln,_r){return function(Rr){var $o,$n,uo,en=[],ho=-1,sa=0,Ls=Ln.length;for(Rr instanceof Date||(Rr=new Date(+Rr));++ho53)return null;"w"in en||(en.w=1),"Z"in en?(Ls=(sa=d0(ps(en.y,0,1))).getUTCDay(),sa=Ls>4||0===Ls?qa.ceil(sa):qa(sa),sa=Cd.offset(sa,7*(en.V-1)),en.y=sa.getUTCFullYear(),en.m=sa.getUTCMonth(),en.d=sa.getUTCDate()+(en.w+6)%7):(Ls=(sa=p1(ps(en.y,0,1))).getDay(),sa=Ls>4||0===Ls?h1.ceil(sa):h1(sa),sa=Nl.offset(sa,7*(en.V-1)),en.y=sa.getFullYear(),en.m=sa.getMonth(),en.d=sa.getDate()+(en.w+6)%7)}else("W"in en||"U"in en)&&("w"in en||(en.w="u"in en?en.u%7:"W"in en?1:0),Ls="Z"in en?d0(ps(en.y,0,1)).getUTCDay():p1(ps(en.y,0,1)).getDay(),en.m=0,en.d="W"in en?(en.w+6)%7+7*en.W-(Ls+5)%7:en.w+7*en.U-(Ls+6)%7);return"Z"in en?(en.H+=en.Z/100|0,en.M+=en.Z%100,d0(en)):p1(en)}}function ya(Ln,_r,Rr,en){for(var $o,$n,ho=0,sa=_r.length,Ls=Rr.length;ho=Ls)return-1;if(37===($o=_r.charCodeAt(ho++))){if($o=_r.charAt(ho++),!($n=tr[$o in Sd?_r.charAt(ho++):$o])||(en=$n(Ln,Rr,en))<0)return-1}else if($o!=Rr.charCodeAt(en++))return-1}return en}return yn.x=Rn(s,yn),yn.X=Rn(M,yn),yn.c=Rn(L,yn),or.x=Rn(s,or),or.X=Rn(M,or),or.c=Rn(L,or),{format:function(Ln){var _r=Rn(Ln+="",yn);return _r.toString=function(){return Ln},_r},parse:function(Ln){var _r=Zr(Ln+="",!1);return _r.toString=function(){return Ln},_r},utcFormat:function(Ln){var _r=Rn(Ln+="",or);return _r.toString=function(){return Ln},_r},utcParse:function(Ln){var _r=Zr(Ln+="",!0);return _r.toString=function(){return Ln},_r}}})(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 _4=Er(Pn).right,pf=(Er(g0),_4);function _0(u,L){return u=+u,L=+L,function(s){return Math.round(u*(1-s)+L*s)}}function jl(u){return+u}var v0=[0,1];function Wl(u){return u}function Xl(u,L){return(L-=u=+u)?function(s){return(s-u)/L}:function Hl(u){return function(){return u}}(isNaN(L)?NaN:.5)}function gf(u,L,s){var M=u[0],U=u[1],K=L[0],ke=L[1];return UL&&(s=u,u=L,L=s),function(M){return Math.max(u,Math.min(L,M))}}(u[0],u[wi-1])),Et=wi>2?b0:gf,Gt=Pt=null,_i}function _i(wi){return null==wi||isNaN(wi=+wi)?K:(Gt||(Gt=Et(u.map(M),L,s)))(M(ke(wi)))}return _i.invert=function(wi){return ke(U((Pt||(Pt=Et(L,u.map(M),pa)))(wi)))},_i.domain=function(wi){return arguments.length?(u=Array.from(wi,jl),li()):u.slice()},_i.range=function(wi){return arguments.length?(L=Array.from(wi),li()):L.slice()},_i.rangeRound=function(wi){return L=Array.from(wi),s=_0,li()},_i.clamp=function(wi){return arguments.length?(ke=!!wi||Wl,li()):ke!==Wl},_i.interpolate=function(wi){return arguments.length?(s=wi,li()):s},_i.unknown=function(wi){return arguments.length?(K=wi,_i):K},function(wi,Di){return M=wi,U=Di,li()}}()(Wl,Wl)}function $l(u,L){switch(arguments.length){case 0:break;case 1:this.range(u);break;default:this.range(L).domain(u)}return this}var w0,bf=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function No(u){if(!(L=bf.exec(u)))throw new Error("invalid format: "+u);var L;return new kd({fill:L[1],align:L[2],sign:L[3],symbol:L[4],zero:L[5],width:L[6],comma:L[7],precision:L[8]&&L[8].slice(1),trim:L[9],type:L[10]})}function kd(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 pl(u,L){if((s=(u=L?u.toExponential(L-1):u.toExponential()).indexOf("e"))<0)return null;var s,M=u.slice(0,s);return[M.length>1?M[0]+M.slice(2):M,+u.slice(s+1)]}function Id(u){return(u=pl(Math.abs(u)))?u[1]:NaN}function E1(u,L){var s=pl(u,L);if(!s)return u+"";var M=s[0],U=s[1];return U<0?"0."+new Array(-U).join("0")+M:M.length>U+1?M.slice(0,U+1)+"."+M.slice(U+1):M+new Array(U-M.length+2).join("0")}No.prototype=kd.prototype,kd.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 uh={"%":(u,L)=>(100*u).toFixed(L),b:u=>Math.round(u).toString(2),c:u=>u+"",d:function dh(u){return Math.abs(u=Math.round(u))>=1e21?u.toLocaleString("en").replace(/,/g,""):u.toString(10)},e:(u,L)=>u.toExponential(L),f:(u,L)=>u.toFixed(L),g:(u,L)=>u.toPrecision(L),o:u=>Math.round(u).toString(8),p:(u,L)=>E1(100*u,L),r:E1,s:function xf(u,L){var s=pl(u,L);if(!s)return u+"";var M=s[0],U=s[1],K=U-(w0=3*Math.max(-8,Math.min(8,Math.floor(U/3))))+1,ke=M.length;return K===ke?M:K>ke?M+new Array(K-ke+1).join("0"):K>0?M.slice(0,K)+"."+M.slice(K):"0."+new Array(1-K).join("0")+pl(u,Math.max(0,L+K-1))[0]},X:u=>Math.round(u).toString(16).toUpperCase(),x:u=>Math.round(u).toString(16)};function M0(u){return u}var Rd,mh,ph,fh=Array.prototype.map,E0=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function T0(u){var L=u.domain;return u.ticks=function(s){var M=L();return function Ll(u,L,s){if(!((s=+s)>0))return[];if((u=+u)==(L=+L))return[u];const M=L=U))return[];const Et=K-U+1,Gt=new Array(Et);if(M)if(ke<0)for(let Pt=0;Pt0;){if((Pt=Cc(ke,Et,s))===Gt)return M[U]=ke,M[K]=Et,L(M);if(Pt>0)ke=Math.floor(ke/Pt)*Pt,Et=Math.ceil(Et/Pt)*Pt;else{if(!(Pt<0))break;ke=Math.ceil(ke*Pt)/Pt,Et=Math.floor(Et*Pt)/Pt}Gt=Pt}return u},u}function Yc(){var u=fl();return u.copy=function(){return function y0(u,L){return L.domain(u.domain()).range(u.range()).interpolate(u.interpolate()).clamp(u.clamp()).unknown(u.unknown())}(u,Yc())},$l.apply(u,arguments),T0(u)}function L0(u,L,s){u=+u,L=+L,s=(U=arguments.length)<2?(L=u,u=0,1):U<3?1:+s;for(var M=-1,U=0|Math.max(0,Math.ceil((L-u)/s)),K=new Array(U);++M0&&Et>0&&(Gt+Et+1>M&&(Et=Math.max(1,M-Gt)),K.push(s.substring(U-=Et,U+Et)),!((Gt+=Et+1)>M));)Et=u[ke=(ke+1)%u.length];return K.reverse().join(L)}}(fh.call(u.grouping,Number),u.thousands+""),s=void 0===u.currency?"":u.currency[0]+"",M=void 0===u.currency?"":u.currency[1]+"",U=void 0===u.decimal?".":u.decimal+"",K=void 0===u.numerals?M0:function kc(u){return function(L){return L.replace(/[0-9]/g,function(s){return u[+s]})}}(fh.call(u.numerals,String)),ke=void 0===u.percent?"%":u.percent+"",Et=void 0===u.minus?"\u2212":u.minus+"",Gt=void 0===u.nan?"NaN":u.nan+"";function Pt(_i){var wi=(_i=No(_i)).fill,Di=_i.align,sn=_i.sign,kn=_i.symbol,ki=_i.zero,Tn=_i.width,Yn=_i.comma,yn=_i.precision,or=_i.trim,tr=_i.type;"n"===tr?(Yn=!0,tr="g"):uh[tr]||(void 0===yn&&(yn=12),or=!0,tr="g"),(ki||"0"===wi&&"="===Di)&&(ki=!0,wi="0",Di="=");var Rn="$"===kn?s:"#"===kn&&/[boxX]/.test(tr)?"0"+tr.toLowerCase():"",Zr="$"===kn?M:/[%p]/.test(tr)?ke:"",ya=uh[tr],Ts=/[defgprs%]/.test(tr);function xa(Vn){var Ca,Ko,ja,Na=Rn,Ir=Zr;if("c"===tr)Ir=ya(Vn)+Ir,Vn="";else{var ka=(Vn=+Vn)<0||1/Vn<0;if(Vn=isNaN(Vn)?Gt:ya(Math.abs(Vn),yn),or&&(Vn=function hh(u){e:for(var U,L=u.length,s=1,M=-1;s0&&(M=0)}return M>0?u.slice(0,M)+u.slice(U+1):u}(Vn)),ka&&0==+Vn&&"+"!==sn&&(ka=!1),Na=(ka?"("===sn?sn:Et:"-"===sn||"("===sn?"":sn)+Na,Ir=("s"===tr?E0[8+w0/3]:"")+Ir+(ka&&"("===sn?")":""),Ts)for(Ca=-1,Ko=Vn.length;++Ca(ja=Vn.charCodeAt(Ca))||ja>57){Ir=(46===ja?U+Vn.slice(Ca+1):Vn.slice(Ca))+Ir,Vn=Vn.slice(0,Ca);break}}Yn&&!ki&&(Vn=L(Vn,1/0));var ss=Na.length+Vn.length+Ir.length,Jr=ss>1)+Na+Vn+Ir+Jr.slice(ss);break;default:Vn=Jr+Na+Vn+Ir}return K(Vn)}return yn=void 0===yn?6:/[gprs]/.test(tr)?Math.max(1,Math.min(21,yn)):Math.max(0,Math.min(20,yn)),xa.toString=function(){return _i+""},xa}return{format:Pt,formatPrefix:function li(_i,wi){var Di=Pt(((_i=No(_i)).type="f",_i)),sn=3*Math.max(-8,Math.min(8,Math.floor(Id(wi)/3))),kn=Math.pow(10,-sn),ki=E0[8+sn/3];return function(Tn){return Di(kn*Tn)+ki}}}}(u),mh=Rd.format,ph=Rd.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});class T1 extends Map{constructor(L,s=A0){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:s}}),null!=L)for(const[M,U]of L)this.set(M,U)}get(L){return super.get(D0(this,L))}has(L){return super.has(D0(this,L))}set(L,s){return super.set(function vh({_intern:u,_key:L},s){const M=L(s);return u.has(M)?u.get(M):(u.set(M,s),s)}(this,L),s)}delete(L){return super.delete(function Od({_intern:u,_key:L},s){const M=L(s);return u.has(M)&&(s=u.get(M),u.delete(M)),s}(this,L))}}function D0({_intern:u,_key:L},s){const M=L(s);return u.has(M)?u.get(M):s}function A0(u){return null!==u&&"object"==typeof u?u.valueOf():u}Set;const wf=Symbol("implicit");function L1(){var u=new T1,L=[],s=[],M=wf;function U(K){let ke=u.get(K);if(void 0===ke){if(M!==wf)return M;u.set(K,ke=L.push(K)-1)}return s[ke%s.length]}return U.domain=function(K){if(!arguments.length)return L.slice();L=[],u=new T1;for(const ke of K)u.has(ke)||u.set(ke,L.push(ke)-1);return U},U.range=function(K){return arguments.length?(s=Array.from(K),U):s.slice()},U.unknown=function(K){return arguments.length?(M=K,U):M},U.copy=function(){return L1(L,s).unknown(M)},$l.apply(U,arguments),U}function gl(){var K,ke,u=L1().unknown(void 0),L=u.domain,s=u.range,M=0,U=1,Et=!1,Gt=0,Pt=0,li=.5;function _i(){var wi=L().length,Di=U=1)return+s(u[M-1],M-1,u);var M,U=(M-1)*L,K=Math.floor(U),ke=+s(u[K],K,u);return ke+(+s(u[K+1],K+1,u)-ke)*(U-K)}}function Ef(){var M,u=[],L=[],s=[];function U(){var ke=0,Et=Math.max(1,L.length);for(s=new Array(Et-1);++ke0?s[Et-1]:u[0],Et({model:u});function Sf(u,L){}function io(u,L){if(1&u&&(e.j41(0,"span"),e.DNE(1,Sf,0,0,"ng-template",5),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",s.template)("ngTemplateOutletContext",e.eq3(2,x4,s.context))}}function Tf(u,L){if(1&u&&e.nrm(0,"span",6),2&u){const s=e.XpG();e.Y8G("innerHTML",s.title,e.npT)}}function Lf(u,L){if(1&u&&(e.j41(0,"header",4)(1,"span",5),e.EFF(2),e.k0s()()),2&u){const s=e.XpG();e.R7$(2),e.JRh(s.title)}}function Df(u,L){if(1&u){const s=e.RV6();e.j41(0,"li",6)(1,"ngx-charts-legend-entry",7),e.bIt("select",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.labelClick.emit(U))})("activate",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.activate(U))})("deactivate",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.deactivate(U))}),e.k0s()()}if(2&u){const s=L.$implicit,M=e.XpG();e.R7$(),e.Y8G("label",s.label)("formattedLabel",s.formattedLabel)("color",s.color)("isActive",M.isActive(s))}}const xh=["*"];function Ch(u,L){if(1&u&&e.nrm(0,"ngx-charts-scale-legend",4),2&u){const s=e.XpG();e.Y8G("horizontal",s.legendOptions&&s.legendOptions.position===s.LegendPosition.Below)("valueRange",s.legendOptions.domain)("colors",s.legendOptions.colors)("height",s.view[1])("width",s.legendWidth)}}function C4(u,L){if(1&u){const s=e.RV6();e.j41(0,"ngx-charts-legend",5),e.bIt("labelClick",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.legendLabelClick.emit(U))})("labelActivate",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.legendLabelActivate.emit(U))})("labelDeactivate",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.legendLabelDeactivate.emit(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("horizontal",s.legendOptions&&s.legendOptions.position===s.LegendPosition.Below)("data",s.legendOptions.domain)("title",s.legendOptions.title)("colors",s.legendOptions.colors)("height",s.view[1])("width",s.legendWidth)("activeEntries",s.activeEntries)}}const w4=["ngx-charts-axis-label",""],Fd=["ticksel"],Af=["ngx-charts-x-axis-ticks",""];function Ql(u,L){1&u&&(e.qSk(),e.eu8(0))}function R0(u,L){if(1&u&&(e.qSk(),e.j41(0,"tspan",10),e.EFF(1),e.k0s()),2&u){const s=L.$implicit;e.BMQ("y",12*L.index),e.R7$(),e.SpI(" ",s," ")}}function Zl(u,L){if(1&u&&(e.qSk(),e.qex(0),e.DNE(1,R0,2,2,"tspan",9),e.bVm()),2&u){const s=L.ngIf;e.R7$(),e.Y8G("ngForOf",s)}}function D1(u,L){if(1&u&&e.DNE(0,Zl,2,1,"ng-container",6),2&u){const s=e.XpG(2).$implicit,M=e.XpG();e.Y8G("ngIf",M.tickChunks(s))}}function O0(u,L){if(1&u&&e.EFF(0),2&u){const s=e.XpG().ngIf,M=e.XpG(2);e.SpI(" ",M.tickTrim(s)," ")}}function lo(u,L){if(1&u&&(e.qSk(),e.qex(0),e.j41(1,"title"),e.EFF(2),e.k0s(),e.j41(3,"text",7),e.DNE(4,Ql,1,0,"ng-container",8),e.k0s(),e.DNE(5,D1,1,1,"ng-template",null,1,e.C5r)(7,O0,1,1,"ng-template",null,2,e.C5r),e.bVm()),2&u){const s=L.ngIf,M=e.sdS(6),U=e.sdS(8),K=e.XpG(2);e.R7$(2),e.JRh(s),e.R7$(),e.BMQ("text-anchor",K.textAnchor)("transform",K.textTransform),e.R7$(),e.Y8G("ngIf",K.isWrapTicksSupported)("ngIfThen",M)("ngIfElse",U)}}function Jl(u,L){if(1&u&&(e.qSk(),e.j41(0,"g",5),e.DNE(1,lo,9,6,"ng-container",6),e.k0s()),2&u){const s=L.$implicit,M=e.XpG();e.BMQ("transform",M.tickTransform(s)),e.R7$(),e.Y8G("ngIf",M.tickFormat(s))}}function ql(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.nrm(1,"line",11),e.k0s()),2&u){const s=e.XpG(2);e.BMQ("transform",s.gridLineTransform()),e.R7$(),e.BMQ("y1",-s.gridLineHeight)}}function F0(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,ql,2,2,"g",6),e.k0s()),2&u){const s=L.$implicit,M=e.XpG();e.BMQ("transform",M.tickTransform(s)),e.R7$(),e.Y8G("ngIf",M.showGridLines)}}const A1=["ngx-charts-x-axis",""];function ed(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",2),e.bIt("dimensionsChanged",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.emitTicksHeight(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("trimTicks",s.trimTicks)("rotateTicks",s.rotateTicks)("maxTickLength",s.maxTickLength)("tickFormatting",s.tickFormatting)("tickArguments",s.tickArguments)("tickStroke",s.tickStroke)("scale",s.xScale)("orient",s.xOrient)("showGridLines",s.showGridLines)("gridLineHeight",s.dims.height)("width",s.dims.width)("tickValues",s.ticks)("wrapTicks",s.wrapTicks)}}function N0(u,L){if(1&u&&(e.qSk(),e.nrm(0,"g",3)),2&u){const s=e.XpG();e.Y8G("label",s.labelText)("offset",s.labelOffset)("orient",s.orientation.Bottom)("height",s.dims.height)("width",s.dims.width)}}const M4=["ngx-charts-y-axis-ticks",""];function k1(u,L){1&u&&(e.qSk(),e.eu8(0))}function Nd(u,L){if(1&u&&(e.qSk(),e.j41(0,"tspan",12),e.EFF(1),e.k0s()),2&u){const s=L.$implicit,M=L.index,U=e.XpG(6);e.BMQ("y",M*(8+U.tickSpacing)),e.R7$(),e.SpI(" ",s," ")}}function wh(u,L){if(1&u&&(e.qSk(),e.qex(0),e.DNE(1,Nd,2,2,"tspan",11),e.bVm()),2&u){const s=e.XpG().ngIf;e.R7$(),e.Y8G("ngForOf",s)}}function Mh(u,L){if(1&u&&(e.qSk(),e.qex(0),e.DNE(1,wh,2,1,"ng-container",10),e.bVm()),2&u){const s=L.ngIf;e.XpG(2);const M=e.sdS(8);e.R7$(),e.Y8G("ngIf",s.length>1)("ngIfElse",M)}}function kf(u,L){if(1&u&&e.DNE(0,Mh,2,2,"ng-container",7),2&u){const s=e.XpG(2).$implicit,M=e.XpG();e.Y8G("ngIf",M.tickChunks(s))}}function Eh(u,L){if(1&u&&e.EFF(0),2&u){const s=e.XpG().ngIf,M=e.XpG(2);e.SpI(" ",M.tickTrim(s)," ")}}function P0(u,L){if(1&u&&(e.qSk(),e.qex(0),e.j41(1,"title"),e.EFF(2),e.k0s(),e.j41(3,"text",8),e.DNE(4,k1,1,0,"ng-container",9),e.k0s(),e.DNE(5,kf,1,1,"ng-template",null,1,e.C5r)(7,Eh,1,1,"ng-template",null,2,e.C5r),e.bVm()),2&u){const s=L.ngIf,M=e.sdS(6),U=e.sdS(8),K=e.XpG(2);e.R7$(2),e.JRh(s),e.R7$(),e.xc7("font-size","12px"),e.BMQ("dy",K.dy)("x",K.x1)("y",K.y1)("text-anchor",K.textAnchor),e.R7$(),e.Y8G("ngIf",K.wrapTicks)("ngIfThen",M)("ngIfElse",U)}}function z0(u,L){if(1&u&&(e.qSk(),e.j41(0,"g",6),e.DNE(1,P0,9,10,"ng-container",7),e.k0s()),2&u){const s=L.$implicit,M=e.XpG();e.BMQ("transform",M.transform(s)),e.R7$(),e.Y8G("ngIf",M.tickFormat(s))}}function If(u,L){if(1&u&&(e.qSk(),e.nrm(0,"path",13)),2&u){const s=e.XpG();e.BMQ("d",s.referenceAreaPath)("transform",s.gridLineTransform())}}function Sh(u,L){if(1&u&&(e.qSk(),e.nrm(0,"line",15)),2&u){const s=e.XpG(3);e.BMQ("x2",s.gridLineWidth)}}function Pd(u,L){if(1&u&&(e.qSk(),e.nrm(0,"line",15)),2&u){const s=e.XpG(3);e.BMQ("x2",-s.gridLineWidth)}}function Th(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,Sh,1,1,"line",14)(2,Pd,1,1,"line",14),e.k0s()),2&u){const s=e.XpG(2);e.BMQ("transform",s.gridLineTransform()),e.R7$(),e.Y8G("ngIf",s.orient===s.Orientation.Left),e.R7$(),e.Y8G("ngIf",s.orient===s.Orientation.Right)}}function B0(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,Th,3,3,"g",7),e.k0s()),2&u){const s=L.$implicit,M=e.XpG();e.BMQ("transform",M.transform(s)),e.R7$(),e.Y8G("ngIf",M.showGridLines)}}function Rf(u,L){if(1&u&&(e.qSk(),e.j41(0,"g")(1,"title"),e.EFF(2),e.k0s(),e.j41(3,"text",17),e.EFF(4),e.k0s()()),2&u){const s=e.XpG(2).$implicit,M=e.XpG();e.R7$(2),e.JRh(M.tickTrim(M.tickFormat(s.value))),e.R7$(),e.BMQ("dy",M.dy)("y",-6)("x",M.gridLineWidth)("text-anchor",M.textAnchor),e.R7$(),e.SpI(" ",s.name," ")}}function E4(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.nrm(1,"line",16),e.DNE(2,Rf,5,6,"g",7),e.k0s()),2&u){const s=e.XpG().$implicit,M=e.XpG();e.BMQ("transform",M.transform(s.value)),e.R7$(),e.BMQ("x2",M.gridLineWidth)("transform",M.gridLineTransform()),e.R7$(),e.Y8G("ngIf",M.showRefLabels)}}function S4(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,E4,3,4,"g",7),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngIf",s.showRefLines)}}const zd=["ngx-charts-y-axis",""];function I1(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",2),e.bIt("dimensionsChanged",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.emitTicksWidth(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("trimTicks",s.trimTicks)("maxTickLength",s.maxTickLength)("tickFormatting",s.tickFormatting)("tickArguments",s.tickArguments)("tickValues",s.ticks)("tickStroke",s.tickStroke)("scale",s.yScale)("orient",s.yOrient)("showGridLines",s.showGridLines)("gridLineWidth",s.dims.width)("referenceLines",s.referenceLines)("showRefLines",s.showRefLines)("showRefLabels",s.showRefLabels)("height",s.dims.height)("wrapTicks",s.wrapTicks)}}function R1(u,L){if(1&u&&(e.qSk(),e.nrm(0,"g",3)),2&u){const s=e.XpG();e.Y8G("label",s.labelText)("offset",s.labelOffset)("orient",s.yOrient)("height",s.dims.height)("width",s.dims.width)}}const V0=["ngx-charts-svg-linear-gradient",""];function O1(u,L){if(1&u&&(e.qSk(),e.nrm(0,"stop")),2&u){const s=L.$implicit;e.xc7("stop-color",s.color)("stop-opacity",s.opacity),e.BMQ("offset",s.offset+"%")}}const N1=["ngx-charts-grid-panel",""],Lh=["ngx-charts-grid-panel-series",""];function U0(u,L){if(1&u&&(e.qSk(),e.nrm(0,"g",1)),2&u){const s=L.$implicit;e.AVh("grid-panel",!0)("odd","odd"===s.class)("even","even"===s.class),e.Y8G("height",s.height)("width",s.width)("x",s.x)("y",s.y)}}const U1=["tooltipTemplate"],rs=(u,L)=>[u,L],bl=".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",W0=["ngx-charts-bar",""];function X0(u,L){if(1&u&&(e.qSk(),e.j41(0,"defs"),e.nrm(1,"g",2),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("orientation",s.orientation)("name",s.gradientId)("stops",s.gradientStops)}}const Yf=["ngx-charts-bar-label",""],Mn=["ngx-charts-series-vertical",""];function Ki(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",2),e.bIt("select",function(U){e.eBV(s);const K=e.XpG(2);return e.Njj(K.onClick(U))})("activate",function(U){e.eBV(s);const K=e.XpG(2);return e.Njj(K.activate.emit(U))})("deactivate",function(U){e.eBV(s);const K=e.XpG(2);return e.Njj(K.deactivate.emit(U))}),e.k0s()}if(2&u){const s=L.$implicit,M=e.XpG(2);e.Y8G("@animationState","active")("@.disabled",!M.animations)("width",s.width)("height",s.height)("x",s.x)("y",s.y)("fill",s.color)("stops",s.gradientStops)("data",s.data)("orientation",M.barOrientation.Vertical)("roundEdges",s.roundEdges)("gradient",M.gradient)("ariaLabel",s.ariaLabel)("isActive",M.isActive(s.data))("tooltipDisabled",M.tooltipDisabled)("tooltipPlacement",M.tooltipPlacement)("tooltipType",M.tooltipType)("tooltipTitle",M.tooltipTemplate?void 0:s.tooltipText)("tooltipTemplate",M.tooltipTemplate)("tooltipContext",s.data)("noBarWhenZero",M.noBarWhenZero)("animations",M.animations)}}function an(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,Ki,1,22,"g",1),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngForOf",s.bars)("ngForTrackBy",s.trackBy)}}function Xn(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",2),e.bIt("select",function(U){e.eBV(s);const K=e.XpG(2);return e.Njj(K.onClick(U))})("activate",function(U){e.eBV(s);const K=e.XpG(2);return e.Njj(K.activate.emit(U))})("deactivate",function(U){e.eBV(s);const K=e.XpG(2);return e.Njj(K.deactivate.emit(U))}),e.k0s()}if(2&u){const s=L.$implicit,M=e.XpG(2);e.Y8G("width",s.width)("height",s.height)("x",s.x)("y",s.y)("fill",s.color)("stops",s.gradientStops)("data",s.data)("orientation",M.barOrientation.Vertical)("roundEdges",s.roundEdges)("gradient",M.gradient)("ariaLabel",s.ariaLabel)("isActive",M.isActive(s.data))("tooltipDisabled",M.tooltipDisabled)("tooltipPlacement",M.tooltipPlacement)("tooltipType",M.tooltipType)("tooltipTitle",M.tooltipTemplate?void 0:s.tooltipText)("tooltipTemplate",M.tooltipTemplate)("tooltipContext",s.data)("noBarWhenZero",M.noBarWhenZero)("animations",M.animations)}}function gr(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,Xn,1,20,"g",1),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngForOf",s.bars)("ngForTrackBy",s.trackBy)}}function jr(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",4),e.bIt("dimensionsChanged",function(U){const K=e.eBV(s).index,ke=e.XpG(2);return e.Njj(ke.dataLabelHeightChanged.emit({size:U,index:K}))}),e.k0s()}if(2&u){const s=L.$implicit,M=e.XpG(2);e.Y8G("barX",s.x)("barY",s.y)("barWidth",s.width)("barHeight",s.height)("value",s.total)("valueFormatting",M.dataLabelFormatting)("orientation",M.barOrientation.Vertical)}}function da(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,jr,1,7,"g",3),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngForOf",s.barsForDataLabels)("ngForTrackBy",s.trackDataLabelBy)}}function rr(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",5),e.bIt("dimensionsChanged",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.updateXAxisHeight(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("xScale",s.xScale)("dims",s.dims)("showGridLines",s.showGridLines)("showLabel",s.showXAxisLabel)("labelText",s.xAxisLabel)("trimTicks",s.trimXAxisTicks)("rotateTicks",s.rotateXAxisTicks)("maxTickLength",s.maxXAxisTickLength)("tickFormatting",s.xAxisTickFormatting)("ticks",s.xAxisTicks)("xAxisOffset",s.dataLabelMaxHeight.negative)("wrapTicks",s.wrapTicks)}}function Kr(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",6),e.bIt("dimensionsChanged",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.updateYAxisWidth(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("yScale",s.yScale)("dims",s.dims)("showGridLines",s.showGridLines)("showLabel",s.showYAxisLabel)("labelText",s.yAxisLabel)("trimTicks",s.trimYAxisTicks)("maxTickLength",s.maxYAxisTickLength)("tickFormatting",s.yAxisTickFormatting)("ticks",s.yAxisTicks)("wrapTicks",s.wrapTicks)}}function kr(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",6),e.bIt("dimensionsChanged",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.updateXAxisHeight(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("xScale",s.groupScale)("dims",s.dims)("showLabel",s.showXAxisLabel)("labelText",s.xAxisLabel)("trimTicks",s.trimXAxisTicks)("rotateTicks",s.rotateXAxisTicks)("maxTickLength",s.maxXAxisTickLength)("tickFormatting",s.xAxisTickFormatting)("ticks",s.xAxisTicks)("xAxisOffset",s.dataLabelMaxHeight.negative)("wrapTicks",s.wrapTicks)}}function Aa(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",7),e.bIt("dimensionsChanged",function(U){e.eBV(s);const K=e.XpG();return e.Njj(K.updateYAxisWidth(U))}),e.k0s()}if(2&u){const s=e.XpG();e.Y8G("yScale",s.valueScale)("dims",s.dims)("showGridLines",s.showGridLines)("showLabel",s.showYAxisLabel)("labelText",s.yAxisLabel)("trimTicks",s.trimYAxisTicks)("maxTickLength",s.maxYAxisTickLength)("tickFormatting",s.yAxisTickFormatting)("ticks",s.yAxisTicks)("wrapTicks",s.wrapTicks)}}function ha(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",9),e.bIt("select",function(U){const K=e.eBV(s).$implicit,ke=e.XpG(2);return e.Njj(ke.onClick(U,K))})("activate",function(U){const K=e.eBV(s).$implicit,ke=e.XpG(2);return e.Njj(ke.onActivate(U,K))})("deactivate",function(U){const K=e.eBV(s).$implicit,ke=e.XpG(2);return e.Njj(ke.onDeactivate(U,K))})("dataLabelHeightChanged",function(U){const K=e.eBV(s).index,ke=e.XpG(2);return e.Njj(ke.onDataLabelMaxHeightChanged(U,K))}),e.k0s()}if(2&u){const s=L.$implicit,M=e.XpG(2);e.Y8G("@animationState","active")("activeEntries",M.activeEntries)("xScale",M.innerScale)("yScale",M.valueScale)("colors",M.colors)("series",s.series)("dims",M.dims)("gradient",M.gradient)("tooltipDisabled",M.tooltipDisabled)("tooltipTemplate",M.tooltipTemplate)("showDataLabel",M.showDataLabel)("dataLabelFormatting",M.dataLabelFormatting)("seriesName",s.name)("roundEdges",M.roundEdges)("animations",M.animations)("noBarWhenZero",M.noBarWhenZero),e.BMQ("transform",M.groupTransform(s))}}function Zs(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,ha,1,17,"g",8),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngForOf",s.results)("ngForTrackBy",s.trackBy)}}function rd(u,L){if(1&u){const s=e.RV6();e.qSk(),e.j41(0,"g",9),e.bIt("select",function(U){const K=e.eBV(s).$implicit,ke=e.XpG(2);return e.Njj(ke.onClick(U,K))})("activate",function(U){const K=e.eBV(s).$implicit,ke=e.XpG(2);return e.Njj(ke.onActivate(U,K))})("deactivate",function(U){const K=e.eBV(s).$implicit,ke=e.XpG(2);return e.Njj(ke.onDeactivate(U,K))})("dataLabelHeightChanged",function(U){const K=e.eBV(s).index,ke=e.XpG(2);return e.Njj(ke.onDataLabelMaxHeightChanged(U,K))}),e.k0s()}if(2&u){const s=L.$implicit,M=e.XpG(2);e.Y8G("activeEntries",M.activeEntries)("xScale",M.innerScale)("yScale",M.valueScale)("colors",M.colors)("series",s.series)("dims",M.dims)("gradient",M.gradient)("tooltipDisabled",M.tooltipDisabled)("tooltipTemplate",M.tooltipTemplate)("showDataLabel",M.showDataLabel)("dataLabelFormatting",M.dataLabelFormatting)("seriesName",s.name)("roundEdges",M.roundEdges)("animations",M.animations)("noBarWhenZero",M.noBarWhenZero),e.BMQ("transform",M.groupTransform(s))}}function G1(u,L){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,rd,1,16,"g",8),e.k0s()),2&u){const s=e.XpG();e.R7$(),e.Y8G("ngForOf",s.results)("ngForTrackBy",s.trackBy)}}function Jh(u,L,s){s=s||{};let M,U,K,ke=null,Et=0;function Gt(){Et=!1===s.leading?0:+new Date,ke=null,K=u.apply(M,U)}return function(){const Pt=+new Date;!Et&&!1===s.leading&&(Et=Pt);const li=L-(Pt-Et);return M=this,U=arguments,li<=0?(clearTimeout(ke),ke=null,Et=Pt,K=u.apply(M,U)):!ke&&!1!==s.trailing&&(ke=setTimeout(Gt,li)),K}}function om(u,L){return function(M,U,K){return{configurable:!0,enumerable:K.enumerable,get:function(){return Object.defineProperty(this,U,{configurable:!0,enumerable:K.enumerable,value:Jh(K.value,u,L)}),this[U]}}}}var br=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u.Center="center",u}(br||{});function sm(u,L,s){return s===br.Top?u.top-7:s===br.Bottom?u.top+u.height-L.height+7:s===br.Center?u.top+u.height/2-L.height/2:void 0}function qh(u,L,s){return s===br.Left?u.left-7:s===br.Right?u.left+u.width-L.width+7:s===br.Center?u.left+u.width/2-L.width/2:void 0}class Js{static calculateVerticalAlignment(L,s,M){let U=sm(L,s,M);return U+s.height>window.innerHeight&&(U=window.innerHeight-s.height),U}static calculateVerticalCaret(L,s,M,U){let K;U===br.Top&&(K=L.height/2-M.height/2+7),U===br.Bottom&&(K=s.height-L.height/2-M.height/2-7),U===br.Center&&(K=s.height/2-M.height/2);const ke=sm(L,s,U);return ke+s.height>window.innerHeight&&(K+=ke+s.height-window.innerHeight),K}static calculateHorizontalAlignment(L,s,M){let U=qh(L,s,M);return U+s.width>window.innerWidth&&(U=window.innerWidth-s.width),U}static calculateHorizontalCaret(L,s,M,U){let K;U===br.Left&&(K=L.width/2-M.width/2+7),U===br.Right&&(K=s.width-L.width/2-M.width/2-7),U===br.Center&&(K=s.width/2-M.width/2);const ke=qh(L,s,U);return ke+s.width>window.innerWidth&&(K+=ke+s.width-window.innerWidth),K}static shouldFlip(L,s,M,U){let K=!1;return M===br.Right&&L.left+L.width+s.width+U>window.innerWidth&&(K=!0),M===br.Left&&L.left-s.width-U<0&&(K=!0),M===br.Top&&L.top-s.height-U<0&&(K=!0),M===br.Bottom&&L.top+L.height+s.height+U>window.innerHeight&&(K=!0),K}static positionCaret(L,s,M,U,K){let ke=0,Et=0;return L===br.Right?(Et=-7,ke=Js.calculateVerticalCaret(M,s,U,K)):L===br.Left?(Et=s.width,ke=Js.calculateVerticalCaret(M,s,U,K)):L===br.Top?(ke=s.height,Et=Js.calculateHorizontalCaret(M,s,U,K)):L===br.Bottom&&(ke=-7,Et=Js.calculateHorizontalCaret(M,s,U,K)),{top:ke,left:Et}}static positionContent(L,s,M,U,K){let ke=0,Et=0;return L===br.Right?(Et=M.left+M.width+U,ke=Js.calculateVerticalAlignment(M,s,K)):L===br.Left?(Et=M.left-s.width-U,ke=Js.calculateVerticalAlignment(M,s,K)):L===br.Top?(ke=M.top-s.height-U,Et=Js.calculateHorizontalAlignment(M,s,K)):L===br.Bottom&&(ke=M.top+M.height+U,Et=Js.calculateHorizontalAlignment(M,s,K)),{top:ke,left:Et}}static determinePlacement(L,s,M,U){if(Js.shouldFlip(M,s,L,U)){if(L===br.Right)return br.Left;if(L===br.Left)return br.Right;if(L===br.Top)return br.Bottom;if(L===br.Bottom)return br.Top}return L}}let s6=(()=>{class u{constructor(s,M,U){this.element=s,this.renderer=M,this.platformId=U}get cssClasses(){let s="ngx-charts-tooltip-content";return s+=` position-${this.placement}`,s+=` type-${this.type}`,s+=` ${this.cssClass}`,s}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,t.UE)(this.platformId))return;const s=this.element.nativeElement,M=this.host.nativeElement.getBoundingClientRect();if(!M.height&&!M.width)return;const U=s.getBoundingClientRect();this.checkFlip(M,U),this.positionContent(s,M,U),this.showCaret&&this.positionCaret(M,U),setTimeout(()=>this.renderer.addClass(s,"animate"),1)}positionContent(s,M,U){const{top:K,left:ke}=Js.positionContent(this.placement,U,M,this.spacing,this.alignment);this.renderer.setStyle(s,"top",`${K}px`),this.renderer.setStyle(s,"left",`${ke}px`)}positionCaret(s,M){const U=this.caretElm.nativeElement,K=U.getBoundingClientRect(),{top:ke,left:Et}=Js.positionCaret(this.placement,M,s,K,this.alignment);this.renderer.setStyle(U,"top",`${ke}px`),this.renderer.setStyle(U,"left",`${Et}px`)}checkFlip(s,M){this.placement=Js.determinePlacement(this.placement,M,s,this.spacing)}onWindowResize(){this.position()}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.Agw))},u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-tooltip-content"]],viewQuery:function(s,M){if(1&s&&e.GBs(I0,5),2&s){let U;e.mGM(U=e.lsd())&&(M.caretElm=U.first)}},hostVars:2,hostBindings:function(s,M){1&s&&e.bIt("resize",function(){return M.onWindowResize()},!1,e.tSv),2&s&&e.HbH(M.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(s,M){1&s&&(e.j41(0,"div"),e.nrm(1,"span",1,0),e.j41(3,"div",2),e.DNE(4,io,2,4,"span",3)(5,Tf,1,1,"span",4),e.k0s()()),2&s&&(e.R7$(),e.ZvI("tooltip-caret position-",M.placement,""),e.Y8G("hidden",!M.showCaret),e.R7$(3),e.Y8G("ngIf",!M.title),e.R7$(),e.Y8G("ngIf",M.title))},dependencies:[t.bT,t.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,x.Cg)([om(100)],u.prototype,"onWindowResize",null),u})();class eu{constructor(L){this.injectionService=L,this.defaults={},this.components=new Map}getByType(L=this.type){return this.components.get(L)}create(L){return this.createByType(this.type,L)}createByType(L,s){s=this.assignDefaults(s);const M=this.injectComponent(L,s);return this.register(L,M),M}destroy(L){const s=this.components.get(L.componentType);if(s&&s.length){const M=s.indexOf(L);M>-1&&(s[M].destroy(),s.splice(M,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(L){const s=this.components.get(L);if(s&&s.length){let M=s.length-1;for(;M>=0;)this.destroy(s[M--])}}injectComponent(L,s){return this.injectionService.appendComponent(L,s)}assignDefaults(L){const s={...this.defaults.inputs},M={...this.defaults.outputs};return!L.inputs&&!L.outputs&&(L={inputs:L}),s&&(L.inputs={...s,...L.inputs}),M&&(L.outputs={...M,...L.outputs}),L}register(L,s){this.components.has(L)||this.components.set(L,[]),this.components.get(L).push(s)}}let cm=(()=>{class u{constructor(s,M,U){this.applicationRef=s,this.componentFactoryResolver=M,this.injector=U}static setGlobalRootViewContainer(s){u.globalRootViewContainer=s}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(s){this._container=s}getComponentRootNode(s){return function c6(u){return u.element}(s)?s.element.nativeElement:s.hostView&&s.hostView.rootNodes.length>0?s.hostView.rootNodes[0]:s.location.nativeElement}getRootViewContainerNode(s){return this.getComponentRootNode(s)}projectComponentBindings(s,M){if(M){if(void 0!==M.inputs){const U=Object.getOwnPropertyNames(M.inputs);for(const K of U)s.instance[K]=M.inputs[K]}if(void 0!==M.outputs){const U=Object.getOwnPropertyNames(M.outputs);for(const K of U)s.instance[K]=M.outputs[K]}}return s}appendComponent(s,M={},U){U||(U=this.getRootViewContainer());const K=this.getComponentRootNode(U),ke=new D.aI(K,this.componentFactoryResolver,this.applicationRef,this.injector),Et=new D.A8(s),Gt=ke.attach(Et);return this.projectComponentBindings(Gt,M),Gt}}return u.globalRootViewContainer=null,u.\u0275fac=function(s){return new(s||u)(e.KVO(e.o8S),e.KVO(e.OM3),e.KVO(e.zZn))},u.\u0275prov=e.jDH({token:u,factory:u.\u0275fac}),u})(),a3=(()=>{class u extends eu{constructor(s){super(s),this.type=s6}}return u.\u0275fac=function(s){return new(s||u)(e.KVO(cm))},u.\u0275prov=e.jDH({token:u,factory:u.\u0275fac}),u})();var Ic=function(u){return u.Right="right",u.Below="below",u}(Ic||{}),Z0=function(u){return u.ScaleLegend="scaleLegend",u.Legend="legend",u}(Z0||{}),In=function(u){return u.Time="time",u.Linear="linear",u.Ordinal="ordinal",u.Quantile="quantile",u}(In||{});let tu=(()=>{class u{constructor(){this.horizontal=!1}ngOnChanges(s){const M=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${M})`}gradientString(s,M){M.push(1);const U=[];return s.reverse().forEach((K,ke)=>{U.push(`${K} ${Math.round(100*M[ke])}%`)}),U.join(", ")}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[e.OA$],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(s,M){1&s&&(e.j41(0,"div",0)(1,"div",1)(2,"span"),e.EFF(3),e.k0s()(),e.nrm(4,"div",2),e.j41(5,"div",1)(6,"span"),e.EFF(7),e.k0s()()()),2&s&&(e.xc7("height",M.horizontal?void 0:M.height,"px")("width",M.width,"px"),e.AVh("horizontal-legend",M.horizontal),e.R7$(3),e.JRh(M.valueRange[1].toLocaleString()),e.R7$(),e.xc7("background",M.gradient),e.R7$(3),e.JRh(M.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 J0(u){return u instanceof Date?u.toLocaleDateString():u.toLocaleString()}let s3=(()=>{class u{constructor(){this.isActive=!1,this.select=new e.bkB,this.activate=new e.bkB,this.deactivate=new e.bkB,this.toggle=new e.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(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(s,M){1&s&&e.bIt("mouseenter",function(){return M.onMouseEnter()})("mouseleave",function(){return M.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(s,M){1&s&&(e.j41(0,"span",0),e.bIt("click",function(){return M.select.emit(M.formattedLabel)}),e.j41(1,"span",1),e.bIt("click",function(){return M.toggle.emit(M.formattedLabel)}),e.k0s(),e.j41(2,"span",2),e.EFF(3),e.k0s()()),2&s&&(e.AVh("active",M.isActive),e.Y8G("title",M.formattedLabel),e.R7$(),e.xc7("background-color",M.color),e.R7$(2),e.SpI(" ",M.trimmedLabel," "))},encapsulation:2,changeDetection:0}),u})(),c3=(()=>{class u{constructor(s){this.cd=s,this.horizontal=!1,this.labelClick=new e.bkB,this.labelActivate=new e.bkB,this.labelDeactivate=new e.bkB,this.legendEntries=[]}ngOnChanges(s){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const s=[];for(const M of this.data){const U=J0(M);-1===s.findIndex(ke=>ke.label===U)&&s.push({label:M,formattedLabel:U,color:this.colors.getColor(M)})}return s}isActive(s){return!!this.activeEntries&&void 0!==this.activeEntries.find(U=>s.label===U.name)}activate(s){this.labelActivate.emit(s)}deactivate(s){this.labelDeactivate.emit(s)}trackBy(s,M){return M.label}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.gRc))},u.\u0275cmp=e.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:[e.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(s,M){1&s&&(e.j41(0,"div"),e.DNE(1,Lf,3,1,"header",0),e.j41(2,"div",1)(3,"ul",2),e.DNE(4,Df,2,4,"li",3),e.k0s()()()),2&s&&(e.xc7("width",M.width,"px"),e.R7$(),e.Y8G("ngIf",(null==M.title?null:M.title.length)>0),e.R7$(2),e.xc7("max-height",M.height-45,"px"),e.AVh("horizontal-legend",M.horizontal),e.R7$(),e.Y8G("ngForOf",M.legendEntries)("ngForTrackBy",M.trackBy))},dependencies:[s3,t.bT,t.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})(),Y1=(()=>{class u{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new e.bkB,this.legendLabelActivate=new e.bkB,this.legendLabelDeactivate=new e.bkB,this.LegendPosition=Ic,this.LegendType=Z0}ngOnChanges(s){this.update()}update(){let s=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===Ic.Right)&&(s=this.legendType===Z0.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-s)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==Ic.Right?this.chartWidth:Math.floor(this.view[0]*s/12)}getLegendType(){return this.legendOptions.scaleType===In.Linear?Z0.ScaleLegend:Z0.Legend}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.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:[e.Jv_([a3]),e.OA$],ngContentSelectors:xh,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(s,M){1&s&&(e.NAR(),e.j41(0,"div",0),e.qSk(),e.j41(1,"svg",1),e.SdG(2),e.k0s(),e.DNE(3,Ch,1,5,"ngx-charts-scale-legend",2)(4,C4,1,7,"ngx-charts-legend",3),e.k0s()),2&s&&(e.xc7("width",M.view[0],"px")("height",M.view[1],"px"),e.R7$(),e.BMQ("width",M.chartWidth)("height",M.view[1]),e.R7$(2),e.Y8G("ngIf",M.showLegend&&M.legendType===M.LegendType.ScaleLegend),e.R7$(),e.Y8G("ngIf",M.showLegend&&M.legendType===M.LegendType.Legend))},dependencies:[tu,c3,t.bT],encapsulation:2,changeDetection:0}),u})(),l3=(()=>{class u{constructor(s,M){this.element=s,this.zone=M,this.visible=new e.bkB,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const s=()=>{if(!this.element)return;const{offsetHeight:M,offsetWidth:U}=this.element.nativeElement;M&&U?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>s(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>s())})}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.aKT),e.rXU(e.SKi))},u.\u0275dir=e.FsC({type:u,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),u})();function l6(u){return"[object Date]"===toString.call(u)}let iu=(()=>{class u{constructor(s,M,U,K){this.chartElement=s,this.zone=M,this.cd=U,this.platformId=K,this.scheme="cool",this.schemeType=In.Ordinal,this.animations=!0,this.select=new e.bkB}ngOnInit(){(0,t.Vy)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new l3(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(s){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 s=this.getContainerDims();s&&(this.width=s.width,this.height=s.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 s,M;const U=this.chartElement.nativeElement;if((0,t.UE)(this.platformId)&&null!==U.parentNode){const K=U.parentNode.getBoundingClientRect();s=K.width,M=K.height}return s&&M?{width:s,height:M}:null}formatDates(){for(let s=0;s{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=M}cloneData(s){const M=[];for(const U of s){const K={};if(void 0!==U.name&&(K.name=U.name),void 0!==U.value&&(K.value=U.value),void 0!==U.series){K.series=[];for(const ke of U.series){const Et=Object.assign({},ke);K.series.push(Et)}}void 0!==U.extra&&(K.extra=JSON.parse(JSON.stringify(U.extra))),void 0!==U.source&&(K.source=U.source),void 0!==U.target&&(K.target=U.target),M.push(K)}return M}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(e.Agw))},u.\u0275cmp=e.VBU({type:u,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[e.OA$],decls:1,vars:0,template:function(s,M){1&s&&e.nrm(0,"div")},encapsulation:2}),u})();var Po=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u}(Po||{});let q0=(()=>{class u{constructor(s){this.textHeight=25,this.margin=5,this.element=s.nativeElement}ngOnChanges(s){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case Po.Top:case Po.Bottom:this.y=this.offset,this.x=this.width/2;break;case Po.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case Po.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.aKT))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[e.OA$],attrs:w4,decls:2,vars:6,template:function(s,M){1&s&&(e.qSk(),e.j41(0,"text"),e.EFF(1),e.k0s()),2&s&&(e.BMQ("stroke-width",M.strokeWidth)("x",M.x)("y",M.y)("text-anchor",M.textAnchor)("transform",M.transform),e.R7$(),e.SpI(" ",M.label," "))},encapsulation:2,changeDetection:0}),u})();function e2(u,L=16){return"string"!=typeof u?"number"==typeof u?u+"":"":(u=u.trim()).length<=L?u:`${u.slice(0,L)}...`}function Rc(u,L){if(u.length>L){const s=[],M=Math.floor(u.length/L);for(let U=0;U{const Et=(K.pop()||"")+" ";return Et.length+ke.length>L?[...K,Et.trim(),ke.trim()]:[...K,Et+ke]},[]);else{let K=0;for(;Ks&&(U=U.splice(0,s),U[U.length-1]+="..."),U}var yl=function(u){return u.Start="start",u.Middle="middle",u.End="end",u}(yl||{});let nu=(()=>{class u{constructor(s){this.platformId=s,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.wrapTicks=!1,this.dimensionsChanged=new e.bkB,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=yl.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(s){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.UE)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const s=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);s!==this.height&&(this.height=s,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const s=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:s.tickFormat?s.tickFormat.apply(s,this.tickArguments):function(U){return"Date"===U.constructor.name?U.toLocaleDateString():U.toLocaleString()};const M=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(U){return this.scale(U)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",M&&0!==M?(this.textTransform=`rotate(${M})`,this.textAnchor=yl.End,this.verticalSpacing=10):this.textAnchor=yl.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(s){let M=0;this.maxTicksLength=0;for(let _i=0;_ithis.maxTicksLength&&(this.maxTicksLength=Di)}const ke=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let Et=ke;const Gt=Math.floor(this.width/s.length);for(;Et>Gt&&M>-90;)M-=30,Et=Math.cos(M*(Math.PI/180))*ke;let Pt=14;if(this.isWrapTicksSupported){const _i=this.ticks.reduce((Di,sn)=>sn.length>Di.length?sn:Di,"");Pt=14*(this.tickChunks(_i).length||1),this.maxPossibleLengthForTickIfWrapped=this.getMaxPossibleLengthForTick(_i)}const li=0!==M?Math.max(Math.abs(Math.sin(M*Math.PI/180))*this.maxTickLength*7,10):Pt;return this.approxHeight=Math.min(li,200),M}getTicks(){let s;const M=this.getMaxTicks(20),U=this.getMaxTicks(100);return this.tickValues?s=this.tickValues:this.scale.ticks?s=this.scale.ticks.apply(this.scale,[U]):(s=this.scale.domain(),s=Rc(s,M)),s}getMaxTicks(s){return Math.floor(this.width/s)}tickTransform(s){return"translate("+this.adjustedScale(s)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(s){return this.trimTicks?e2(s,this.maxTickLength):s}getMaxPossibleLengthForTick(s){if(this.scale.bandwidth){const U=Math.floor(this.scale.bandwidth()/7),K=s.slice(0,U);return Math.max(K.length,this.maxTickLength)}return this.maxTickLength}tickChunks(s){if(s.toString().length>this.maxTickLength&&this.scale.bandwidth){let U=this.rotateTicks?Math.floor(this.scale.step()/14):5;if(U<=1)return[this.tickTrim(s)];let K=Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength);return(0,t.UE)(this.platformId)||(K=Math.floor(Math.min(this.approxHeight/5,Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength)))),U=Math.min(U,5),lm(s,K,U<1?1:U)}return[this.tickTrim(s)]}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.Agw))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(s,M){if(1&s&&e.GBs(Fd,5),2&s){let U;e.mGM(U=e.lsd())&&(M.ticksElement=U.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.OA$],attrs:Af,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(s,M){1&s&&(e.qSk(),e.j41(0,"g",null,0),e.DNE(2,Jl,2,2,"g",3),e.k0s(),e.DNE(3,F0,2,2,"g",4)),2&s&&(e.R7$(2),e.Y8G("ngForOf",M.ticks),e.R7$(),e.Y8G("ngForOf",M.ticks))},dependencies:[t.Sq,t.bT],encapsulation:2,changeDetection:0}),u})(),dm=(()=>{class u{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=Po.Bottom,this.xAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new e.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=Po}ngOnChanges(s){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:s}){const M=s+25+5;M!==this.labelOffset&&(this.labelOffset=M,setTimeout(()=>{this.dimensionsChanged.emit({height:s})},0))}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(s,M){if(1&s&&e.GBs(nu,5),2&s){let U;e.mGM(U=e.lsd())&&(M.ticksComponent=U.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",xAxisOffset:"xAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.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(s,M){1&s&&(e.qSk(),e.j41(0,"g"),e.DNE(1,ed,1,13,"g",0)(2,N0,1,5,"g",1),e.k0s()),2&s&&(e.BMQ("class",M.xAxisClassName)("transform",M.transform),e.R7$(),e.Y8G("ngIf",M.xScale),e.R7$(),e.Y8G("ngIf",M.showLabel))},dependencies:[nu,q0,t.bT],encapsulation:2,changeDetection:0}),u})();function qs(u,L,s,M,U,[K,ke,Et,Gt]){let Pt="";return Pt=`M${[u+U,L]}`,Pt+="h"+((s=0===(s=Math.floor(s))?1:s)-2*U),Pt+=ke?`a${[U,U]} 0 0 1 ${[U,U]}`:`h${U}v${U}`,Pt+="v"+((M=0===(M=Math.floor(M))?1:M)-2*U),Pt+=Gt?`a${[U,U]} 0 0 1 ${[-U,U]}`:`v${U}h${-U}`,Pt+="h"+(2*U-s),Pt+=Et?`a${[U,U]} 0 0 1 ${[-U,-U]}`:`h${-U}v${-U}`,Pt+="v"+(2*U-M),Pt+=K?`a${[U,U]} 0 0 1 ${[U,-U]}`:`v${-U}h${U}`,Pt+="z",Pt}let ru=(()=>{class u{constructor(s){this.platformId=s,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.wrapTicks=!1,this.dimensionsChanged=new e.bkB,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=yl.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=Po}ngOnChanges(s){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.UE)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const s=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);s!==this.width&&(this.width=s,this.dimensionsChanged.emit({width:s}),setTimeout(()=>this.updateDims()))}update(){const s=this.scale,M=this.orient===Po.Top||this.orient===Po.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:s.tickFormat?s.tickFormat.apply(s,this.tickArguments):function(U){return"Date"===U.constructor.name?U.toLocaleDateString():U.toLocaleString()},this.adjustedScale=s.bandwidth?U=>{const K=s(U)+.5*s.bandwidth();if(this.wrapTicks&&U.toString().length>this.maxTickLength){const ke=this.tickChunks(U).length;if(1===ke)return K;const Pt=.5*s.bandwidth()-8*ke*.5;return s(U)+Pt}return K}:s,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case Po.Top:case Po.Bottom:this.transform=function(U){return"translate("+this.adjustedScale(U)+",0)"},this.textAnchor=yl.Middle,this.y2=this.innerTickSize*M,this.y1=this.tickSpacing*M,this.dy=M<0?"0em":".71em";break;case Po.Left:this.transform=function(U){return"translate(0,"+this.adjustedScale(U)+")"},this.textAnchor=yl.End,this.x2=this.innerTickSize*-M,this.x1=this.tickSpacing*-M,this.dy=".32em";break;case Po.Right:this.transform=function(U){return"translate(0,"+this.adjustedScale(U)+")"},this.textAnchor=yl.Start,this.x2=this.innerTickSize*-M,this.x1=this.tickSpacing*-M,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(s=>s.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(s=>s.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=qs(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let s;const M=this.getMaxTicks(20),U=this.getMaxTicks(50);return this.tickValues?s=this.tickValues:this.scale.ticks?s=this.scale.ticks.apply(this.scale,[U]):(s=this.scale.domain(),s=Rc(s,M)),s}getMaxTicks(s){return Math.floor(this.height/s)}tickTransform(s){return`translate(${this.adjustedScale(s)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(s){return this.trimTicks?e2(s,this.maxTickLength):s}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(U=>this.tickTrim(this.tickFormat(U)).length))}tickChunks(s){if(s.toString().length>this.maxTickLength&&this.scale.bandwidth){const M=this.maxTickLength,U=Math.floor(this.scale.bandwidth()/15);return U<=1?[this.tickTrim(s)]:lm(s,M,Math.min(U,5))}return[this.tickFormat(s)]}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.Agw))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(s,M){if(1&s&&e.GBs(Fd,5),2&s){let U;e.mGM(U=e.lsd())&&(M.ticksElement=U.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.OA$],attrs:M4,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(s,M){1&s&&(e.qSk(),e.j41(0,"g",null,0),e.DNE(2,z0,2,2,"g",3),e.k0s(),e.DNE(3,If,1,2,"path",4)(4,B0,2,2,"g",5)(5,S4,2,1,"g",5)),2&s&&(e.R7$(2),e.Y8G("ngForOf",M.ticks),e.R7$(),e.Y8G("ngIf",M.referenceLineLength>1&&M.refMax&&M.refMin&&M.showRefLines),e.R7$(),e.Y8G("ngForOf",M.ticks),e.R7$(),e.Y8G("ngForOf",M.referenceLines))},dependencies:[t.Sq,t.bT],encapsulation:2,changeDetection:0}),u})(),od=(()=>{class u{constructor(){this.showGridLines=!1,this.yOrient=Po.Left,this.yAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new e.bkB,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(s){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===Po.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:s}){s!==this.labelOffset&&this.yOrient===Po.Right?(this.labelOffset=s+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:s})},0)):s!==this.labelOffset&&(this.labelOffset=s,setTimeout(()=>{this.dimensionsChanged.emit({width:s})},0))}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(s,M){if(1&s&&e.GBs(ru,5),2&s){let U;e.mGM(U=e.lsd())&&(M.ticksComponent=U.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.OA$],attrs:zd,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(s,M){1&s&&(e.qSk(),e.j41(0,"g"),e.DNE(1,I1,1,15,"g",0)(2,R1,1,5,"g",1),e.k0s()),2&s&&(e.BMQ("class",M.yAxisClassName)("transform",M.transform),e.R7$(),e.Y8G("ngIf",M.yScale),e.R7$(),e.Y8G("ngIf",M.showLabel))},dependencies:[ru,q0,t.bT],encapsulation:2,changeDetection:0}),u})(),Hd=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[t.MD]]}),u})();var sd=function(u){return u.popover="popover",u.tooltip="tooltip",u}(sd||{}),Zc=function(u){return u[u.all="all"]="all",u[u.focus="focus"]="focus",u[u.mouseover="mouseover"]="mouseover",u}(Zc||{});let t2=(()=>{class u{constructor(s,M,U){this.tooltipService=s,this.viewContainerRef=M,this.renderer=U,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=br.Top,this.tooltipAlignment=br.Center,this.tooltipType=sd.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=Zc.all,this.tooltipImmediateExit=!1,this.show=new e.bkB,this.hide=new e.bkB}get listensForFocus(){return this.tooltipShowEvent===Zc.all||this.tooltipShowEvent===Zc.focus}get listensForHover(){return this.tooltipShowEvent===Zc.all||this.tooltipShowEvent===Zc.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(s){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(s))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(s){if(this.component||this.tooltipDisabled)return;const M=s?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const U=this.createBoundOptions();this.component=this.tooltipService.create(U),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},M)}addHideListeners(s){this.mouseEnterContentEvent=this.renderer.listen(s,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(s,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",M=>{s.contains(M.target)||this.hideTooltip()}))}hideTooltip(s=!1){if(!this.component)return;const M=()=>{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),s?M():this.timeout=setTimeout(M,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(s){return new(s||u)(e.rXU(a3),e.rXU(e.c1b),e.rXU(e.sFG))},u.\u0275dir=e.FsC({type:u,selectors:[["","ngx-tooltip",""]],hostBindings:function(s,M){1&s&&e.bIt("focusin",function(){return M.onFocus()})("blur",function(){return M.onBlur()})("mouseenter",function(){return M.onMouseEnter()})("mouseleave",function(K){return M.onMouseLeave(K.target)})("click",function(){return M.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})(),d3=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({providers:[cm,a3],imports:[[t.MD]]}),u})();const h3={};function n2(){let u=("0000"+(Math.random()*Math.pow(36,4)|0).toString(36)).slice(-4);return u=`a${u}`,h3[u]?n2():(h3[u]=!0,u)}var Eo=function(u){return u.Vertical="vertical",u.Horizontal="horizontal",u}(Eo||{});let r2=(()=>{class u{constructor(){this.orientation=Eo.Vertical}ngOnChanges(s){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===Eo.Horizontal?this.x2="100%":this.orientation===Eo.Vertical&&(this.y1="100%")}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[e.OA$],attrs:V0,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(s,M){1&s&&(e.qSk(),e.j41(0,"linearGradient",0),e.DNE(1,O1,1,5,"stop",1),e.k0s()),2&s&&(e.Y8G("id",M.name),e.BMQ("x1",M.x1)("y1",M.y1)("x2",M.x2)("y2",M.y2),e.R7$(),e.Y8G("ngForOf",M.stops))},dependencies:[t.Sq],encapsulation:2,changeDetection:0}),u})(),um=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:N1,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(s,M){1&s&&(e.qSk(),e.nrm(0,"rect",0)),2&s&&e.BMQ("height",M.height)("width",M.width)("x",M.x)("y",M.y)},encapsulation:2,changeDetection:0}),u})();var jd=function(u){return u.Odd="odd",u.Even="even",u}(jd||{});let a2,fm=(()=>{class u{ngOnChanges(s){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(s=>{let M,U,K,ke,Et,Gt=jd.Odd;if(this.orient===Eo.Vertical){const Pt=this.xScale(s.name);Number.parseInt((Pt/this.xScale.step()).toString(),10)%2==1&&(Gt=jd.Even),M=this.xScale.bandwidth()*this.xScale.paddingInner(),U=this.xScale.bandwidth()+M,K=this.dims.height,ke=this.xScale(s.name)-M/2,Et=0}else if(this.orient===Eo.Horizontal){const Pt=this.yScale(s.name);Number.parseInt((Pt/this.yScale.step()).toString(),10)%2==1&&(Gt=jd.Even),M=this.yScale.bandwidth()*this.yScale.paddingInner(),U=this.dims.width,K=this.yScale.bandwidth()+M,ke=0,Et=this.yScale(s.name)-M/2}return{name:s.name,class:Gt,height:K,width:U,x:ke,y:Et}})}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[e.OA$],attrs:Lh,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(s,M){1&s&&e.DNE(0,U0,1,10,"g",0),2&s&&e.Y8G("ngForOf",M.gridPanels)},dependencies:[um,t.Sq],encapsulation:2,changeDetection:0}),u})();typeof window<"u"?a2=window:typeof global<"u"&&(a2=global);let ec=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[t.MD,Hd,d3],t.MD,Hd,d3]}),u})();function o2({width:u,height:L,margins:s,showXAxis:M=!1,showYAxis:U=!1,xAxisHeight:K=0,yAxisWidth:ke=0,showXLabel:Et=!1,showYLabel:Gt=!1,showLegend:Pt=!1,legendType:li=In.Ordinal,legendPosition:_i=Ic.Right,columns:wi=12}){let Di=s[3],sn=u,kn=L-s[0]-s[2];return Pt&&_i===Ic.Right&&(wi-=li===In.Ordinal?2:1),sn=sn*wi/12,sn=sn-s[1]-s[3],M&&(kn-=5,kn-=K,Et&&(kn-=30)),U&&(sn-=5,sn-=ke,Di+=ke,Di+=10,Gt&&(sn-=30,Di+=30)),sn=Math.max(0,sn),kn=Math.max(0,kn),{width:Math.floor(sn),height:Math.floor(kn),xOffset:Math.floor(Di)}}const cu=[{name:"vivid",selectable:!0,group:In.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:In.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:In.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:In.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:In.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:In.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:In.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:In.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:In.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:In.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:In.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:In.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:In.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:In.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:In.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class pm{constructor(L,s,M,U){"string"==typeof L&&(L=cu.find(K=>K.name===L)),this.colorDomain=L.domain,this.scaleType=s,this.domain=M,this.customColors=U,this.scale=this.generateColorScheme(L,s,this.domain)}generateColorScheme(L,s,M){let U;switch("string"==typeof L&&(L=cu.find(K=>K.name===L)),s){case In.Quantile:U=Ef().range(L.domain).domain(M);break;case In.Ordinal:U=L1().range(L.domain).domain(M);break;case In.Linear:{const K=[...L.domain];1===K.length&&(K.push(K[0]),this.colorDomain=K);const ke=L0(0,1,1/K.length);U=Yc().range(K).domain(ke)}}return U}getColor(L){if(null==L)throw new Error("Value can not be null");if(this.scaleType===In.Linear){const s=Yc().domain(this.domain).range([0,1]);return this.scale(s(L))}{if("function"==typeof this.customColors)return this.customColors(L);const s=L.toString();let M;return this.customColors&&this.customColors.length>0&&(M=this.customColors.find(U=>U.name.toLowerCase()===s.toLowerCase())),M?M.value:this.scale(L)}}getLinearGradientStops(L,s){void 0===s&&(s=this.domain[0]);const M=Yc().domain(this.domain).range([0,1]),U=gl().domain(this.colorDomain).range([0,1]),K=this.getColor(L),ke=M(s),Et=this.getColor(s),Gt=M(L);let Pt=1,li=ke;const _i=[];for(_i.push({color:Et,offset:ke,originalOffset:ke,opacity:1});li=(Gt-U.bandwidth()).toFixed(4))break;_i.push({color:wi,offset:Di,opacity:1}),li=Di,Pt++}}if(_i[_i.length-1].offset<100&&_i.push({color:K,offset:Gt,opacity:1}),Gt===ke)_i[0].offset=0,_i[1].offset=100;else if(100!==_i[_i.length-1].offset)for(const wi of _i)wi.offset=(wi.offset-ke)/(Gt-ke)*100;return _i}}let lu=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),s2=(()=>{class u{constructor(s){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new e.bkB,this.activate=new e.bkB,this.deactivate=new e.bkB,this.hasGradient=!1,this.hideBar=!1,this.element=s.nativeElement}ngOnChanges(s){s.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+n2().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 s=function re(u){return"string"==typeof u?new ln([[document.querySelector(u)]],[document.documentElement]):new ln([[u]],Zi)}(this.element).select(".bar"),M=this.getPath();this.animations?s.transition().duration(500).attr("d",M):s.attr("d",M)}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 M,s=this.getRadius();return this.roundEdges?this.orientation===Eo.Vertical?(s=Math.min(this.height,s),M=qs(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===Eo.Horizontal&&(s=Math.min(this.width,s),M=qs(this.x,this.y,1,this.height,0,this.edges)):this.orientation===Eo.Vertical?M=qs(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===Eo.Horizontal&&(M=qs(this.x,this.y,1,this.height,0,this.edges)),M}getPath(){let M,s=this.getRadius();return this.roundEdges?this.orientation===Eo.Vertical?(s=Math.min(this.height,s),M=qs(this.x,this.y,this.width,this.height,s,this.edges)):this.orientation===Eo.Horizontal&&(s=Math.min(this.width,s),M=qs(this.x,this.y,this.width,this.height,s,this.edges)):M=qs(this.x,this.y,this.width,this.height,s,this.edges),M}getRadius(){let s=0;return this.roundEdges&&this.height>5&&this.width>5&&(s=Math.floor(Math.min(5,this.height/2,this.width/2))),s}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let s=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===Eo.Vertical?s=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===Eo.Horizontal&&(s=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),s}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===Eo.Vertical&&0===this.height||this.orientation===Eo.Horizontal&&0===this.width)}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.aKT))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(s,M){1&s&&e.bIt("mouseenter",function(){return M.onMouseEnter()})("mouseleave",function(){return M.onMouseLeave()})},inputs:{fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",orientation:"orientation",roundEdges:"roundEdges",gradient:"gradient",offset:"offset",isActive:"isActive",stops:"stops",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.OA$],attrs:W0,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(s,M){1&s&&(e.DNE(0,X0,2,3,"defs",0),e.qSk(),e.j41(1,"path",1),e.bIt("click",function(){return M.select.emit(M.data)}),e.k0s()),2&s&&(e.Y8G("ngIf",M.hasGradient),e.R7$(),e.AVh("active",M.isActive)("hidden",M.hideBar),e.BMQ("d",M.path)("aria-label",M.ariaLabel)("fill",M.hasGradient?M.gradientFill:M.fill))},dependencies:[r2,t.bT],encapsulation:2,changeDetection:0}),u})();var Oc=function(u){return u.Standard="standard",u.Normalized="normalized",u.Stacked="stacked",u}(Oc||{}),xl=function(u){return u.positive="positive",u.negative="negative",u}(xl||{});let gm=(()=>{class u{constructor(s){this.dimensionsChanged=new e.bkB,this.horizontalPadding=2,this.verticalPadding=5,this.element=s.nativeElement}ngOnChanges(s){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):J0(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(s){return new(s||u)(e.rXU(e.aKT))},u.\u0275cmp=e.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:[e.OA$],attrs:Yf,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(s,M){1&s&&(e.qSk(),e.j41(0,"text",0),e.EFF(1),e.k0s()),2&s&&(e.BMQ("text-anchor",M.textAnchor)("transform",M.transform)("x",M.x)("y",M.y),e.R7$(),e.SpI(" ",M.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}),u})(),du=(()=>{class u{constructor(s){this.platformId=s,this.type=Oc.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new e.bkB,this.activate=new e.bkB,this.deactivate=new e.bkB,this.dataLabelHeightChanged=new e.bkB,this.barsForDataLabels=[],this.barOrientation=Eo,this.isSSR=!1}ngOnInit(){(0,t.Vy)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(s){this.update()}update(){let s;this.updateTooltipSettings(),this.series.length&&(s=this.xScale.bandwidth()),s=Math.round(s);const M=Math.max(this.yScale.domain()[0],0),U={[xl.positive]:0,[xl.negative]:0};let ke,K=xl.positive;this.type===Oc.Normalized&&(ke=this.series.map(Et=>Et.value).reduce((Et,Gt)=>Et+Gt,0)),this.bars=this.series.map((Et,Gt)=>{let Pt=Et.value;const li=this.getLabel(Et),_i=J0(li);K=Pt>0?xl.positive:xl.negative;const Di={value:Pt,label:li,roundEdges:this.roundEdges,data:Et,width:s,formattedLabel:_i,height:0,x:0,y:0};if(this.type===Oc.Standard)Di.height=Math.abs(this.yScale(Pt)-this.yScale(M)),Di.x=this.xScale(li),Di.y=this.yScale(Pt<0?0:Pt);else if(this.type===Oc.Stacked){const kn=U[K],ki=kn+Pt;U[K]+=Pt,Di.height=this.yScale(kn)-this.yScale(ki),Di.x=0,Di.y=this.yScale(ki),Di.offset0=kn,Di.offset1=ki}else if(this.type===Oc.Normalized){let kn=U[K],ki=kn+Pt;U[K]+=Pt,ke>0?(kn=100*kn/ke,ki=100*ki/ke):(kn=0,ki=0),Di.height=this.yScale(kn)-this.yScale(ki),Di.x=0,Di.y=this.yScale(ki),Di.offset0=kn,Di.offset1=ki,Pt=(ki-kn).toFixed(2)+"%"}this.colors.scaleType===In.Ordinal?Di.color=this.colors.getColor(li):this.type===Oc.Standard?(Di.color=this.colors.getColor(Pt),Di.gradientStops=this.colors.getLinearGradientStops(Pt)):(Di.color=this.colors.getColor(Di.offset1),Di.gradientStops=this.colors.getLinearGradientStops(Di.offset1,Di.offset0));let sn=_i;return Di.ariaLabel=_i+" "+Pt.toLocaleString(),null!=this.seriesName&&(sn=`${this.seriesName} \u2022 ${_i}`,Di.data.series=this.seriesName,Di.ariaLabel=this.seriesName+" "+Di.ariaLabel),Di.tooltipText=this.tooltipDisabled?void 0:`\n ${function o3(u){return u.toLocaleString().replace(/[&'`"<>]/g,L=>({"&":"&","'":"'","`":"`",'"':""","<":"<",">":">"}[L]))}(sn)}\n ${this.dataLabelFormatting?this.dataLabelFormatting(Pt):Pt.toLocaleString()}\n `,Di}),this.updateDataLabels()}updateDataLabels(){if(this.type===Oc.Stacked){this.barsForDataLabels=[];const s={};s.series=this.seriesName;const M=this.series.map(K=>K.value).reduce((K,ke)=>ke>0?K+ke:K,0),U=this.series.map(K=>K.value).reduce((K,ke)=>ke<0?K+ke:K,0);s.total=M+U,s.x=0,s.y=0,s.height=this.yScale(s.total>0?M:U),s.width=this.xScale.bandwidth(),this.barsForDataLabels.push(s)}else this.barsForDataLabels=this.series.map(s=>{const M={};return M.series=this.seriesName??s.label,M.total=s.value,M.x=this.xScale(s.label),M.y=this.yScale(0),M.height=this.yScale(M.total)-this.yScale(0),M.width=this.xScale.bandwidth(),M})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:br.Top,this.tooltipType=this.tooltipDisabled?void 0:sd.tooltip}isActive(s){return!!this.activeEntries&&void 0!==this.activeEntries.find(U=>s.name===U.name&&s.value===U.value)}onClick(s){this.select.emit(s)}getLabel(s){return s.label?s.label:s.name}trackBy(s,M){return M.label}trackDataLabelBy(s,M){return s+"#"+M.series+"#"+M.total}}return u.\u0275fac=function(s){return new(s||u)(e.rXU(e.Agw))},u.\u0275cmp=e.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:[e.OA$],attrs:Mn,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(s,M){1&s&&e.DNE(0,an,2,2,"g",0)(1,gr,2,2,"g",0)(2,da,2,2,"g",0),2&s&&(e.Y8G("ngIf",!M.isSSR),e.R7$(),e.Y8G("ngIf",M.isSSR),e.R7$(),e.Y8G("ngIf",M.showDataLabel))},dependencies:[s2,gm,t.bT,t.Sq,t2],encapsulation:2,data:{animation:[(0,f.hZ)("animationState",[(0,f.kY)(":leave",[(0,f.iF)({opacity:1}),(0,f.i0)(500,(0,f.iF)({opacity:0}))])])]},changeDetection:0}),u})(),_m=(()=>{class u extends iu{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Ic.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.bkB,this.deactivate=new e.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=o2({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 s=this.xDomain.length/(this.dims.width/this.barPadding+1);return gl().range([0,this.dims.width]).paddingInner(s).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const s=Yc().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?s.nice():s}getXDomain(){return this.results.map(s=>s.label)}getYDomain(){const s=this.results.map(K=>K.value);let M=this.yScaleMin?Math.min(this.yScaleMin,...s):Math.min(0,...s);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(M=Math.min(M,...this.yAxisTicks));let U=this.yScaleMax?Math.max(this.yScaleMax,...s):Math.max(0,...s);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(U=Math.max(U,...this.yAxisTicks)),[M,U]}onClick(s){this.select.emit(s)}setColors(){let s;s=this.schemeType===In.Ordinal?this.xDomain:this.yDomain,this.colors=new pm(this.scheme,this.schemeType,s,this.customColors)}getLegendOptions(){const s={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return s.scaleType===In.Ordinal?(s.domain=this.xDomain,s.colors=this.colors,s.title=this.legendTitle):(s.domain=this.yDomain,s.colors=this.colors.scale),s}updateYAxisWidth({width:s}){this.yAxisWidth=s,this.update()}updateXAxisHeight({height:s}){this.xAxisHeight=s,this.update()}onDataLabelMaxHeightChanged(s){s.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,s.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,s.size.height),s.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(s,M=!1){s=this.results.find(K=>M?K.label===s.name:K.name===s.name),!(this.activeEntries.findIndex(K=>K.name===s.name&&K.value===s.value&&K.series===s.series)>-1)&&(this.activeEntries=[s,...this.activeEntries],this.activate.emit({value:s,entries:this.activeEntries}))}onDeactivate(s,M=!1){s=this.results.find(K=>M?K.label===s.name:K.name===s.name);const U=this.activeEntries.findIndex(K=>K.name===s.name&&K.value===s.value&&K.series===s.series);this.activeEntries.splice(U,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:s,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let L;return function(M){return(L||(L=e.xGo(u)))(M||u)}})(),u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(s,M,U){if(1&s&&e.wni(U,U1,5),2&s){let K;e.mGM(K=e.lsd())&&(M.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:[e.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(s,M){1&s&&(e.j41(0,"ngx-charts-chart",0),e.bIt("legendLabelClick",function(K){return M.onClick(K)})("legendLabelActivate",function(K){return M.onActivate(K,!0)})("legendLabelDeactivate",function(K){return M.onDeactivate(K,!0)}),e.qSk(),e.j41(1,"g",1),e.DNE(2,rr,1,12,"g",2)(3,Kr,1,10,"g",3),e.j41(4,"g",4),e.bIt("activate",function(K){return M.onActivate(K)})("deactivate",function(K){return M.onDeactivate(K)})("select",function(K){return M.onClick(K)})("dataLabelHeightChanged",function(K){return M.onDataLabelMaxHeightChanged(K)}),e.k0s()()()),2&s&&(e.Y8G("view",e.l_i(22,rs,M.width,M.height))("showLegend",M.legend)("legendOptions",M.legendOptions)("activeEntries",M.activeEntries)("animations",M.animations),e.R7$(),e.BMQ("transform",M.transform),e.R7$(),e.Y8G("ngIf",M.xAxis),e.R7$(),e.Y8G("ngIf",M.yAxis),e.R7$(),e.Y8G("xScale",M.xScale)("yScale",M.yScale)("colors",M.colors)("series",M.results)("dims",M.dims)("gradient",M.gradient)("tooltipDisabled",M.tooltipDisabled)("tooltipTemplate",M.tooltipTemplate)("showDataLabel",M.showDataLabel)("dataLabelFormatting",M.dataLabelFormatting)("activeEntries",M.activeEntries)("roundEdges",M.roundEdges)("animations",M.animations)("noBarWhenZero",M.noBarWhenZero))},dependencies:[Y1,dm,od,du,t.bT],styles:[bl],encapsulation:2,changeDetection:0}),u})(),vm=(()=>{class u extends iu{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Ic.Right,this.tooltipDisabled=!1,this.scaleType=In.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.bkB,this.deactivate=new e.bkB,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=Eo,this.trackBy=(s,M)=>M.name}ngOnInit(){(0,t.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=o2({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(s,M){s.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,s.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,s.size.height),M===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const s=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return gl().rangeRound([0,this.dims.width]).paddingInner(s).paddingOuter(s/2).domain(this.groupDomain)}getInnerScale(){const s=this.groupScale.bandwidth(),M=this.innerDomain.length/(s/this.barPadding+1);return gl().rangeRound([0,s]).paddingInner(M).domain(this.innerDomain)}getValueScale(){const s=Yc().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?s.nice():s}getGroupDomain(){const s=[];for(const M of this.results)s.includes(M.label)||s.push(M.label);return s}getInnerDomain(){const s=[];for(const M of this.results)for(const U of M.series)s.includes(U.label)||s.push(U.label);return s}getValueDomain(){const s=[];for(const K of this.results)for(const ke of K.series)s.includes(ke.value)||s.push(ke.value);return[Math.min(0,...s),this.yScaleMax?Math.max(this.yScaleMax,...s):Math.max(0,...s)]}groupTransform(s){return`translate(${this.groupScale(s.label)}, 0)`}onClick(s,M){M&&(s.series=M.name),this.select.emit(s)}setColors(){let s;s=this.schemeType===In.Ordinal?this.innerDomain:this.valueDomain,this.colors=new pm(this.scheme,this.schemeType,s,this.customColors)}getLegendOptions(){const s={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return s.scaleType===In.Ordinal?(s.domain=this.innerDomain,s.colors=this.colors,s.title=this.legendTitle):(s.domain=this.valueDomain,s.colors=this.colors.scale),s}updateYAxisWidth({width:s}){this.yAxisWidth=s,this.update()}updateXAxisHeight({height:s}){this.xAxisHeight=s,this.update()}onActivate(s,M,U=!1){const K=Object.assign({},s);M&&(K.series=M.name);const ke=this.results.map(Et=>Et.series).flat().filter(Et=>U?Et.label===K.name:Et.name===K.name&&Et.series===K.series);this.activeEntries=[...ke],this.activate.emit({value:K,entries:this.activeEntries})}onDeactivate(s,M,U=!1){const K=Object.assign({},s);M&&(K.series=M.name),this.activeEntries=this.activeEntries.filter(ke=>U?ke.label!==K.name:!(ke.name===K.name&&ke.series===K.series)),this.deactivate.emit({value:K,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let L;return function(M){return(L||(L=e.xGo(u)))(M||u)}})(),u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(s,M,U){if(1&s&&e.wni(U,U1,5),2&s){let K;e.mGM(K=e.lsd())&&(M.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:[e.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(s,M){1&s&&(e.j41(0,"ngx-charts-chart",0),e.bIt("legendLabelActivate",function(K){return M.onActivate(K,void 0,!0)})("legendLabelDeactivate",function(K){return M.onDeactivate(K,void 0,!0)})("legendLabelClick",function(K){return M.onClick(K)}),e.qSk(),e.j41(1,"g",1),e.nrm(2,"g",2),e.DNE(3,kr,1,11,"g",3)(4,Aa,1,10,"g",4)(5,Zs,2,2,"g",5),e.k0s(),e.DNE(6,G1,2,2,"g",5),e.k0s()),2&s&&(e.Y8G("view",e.l_i(15,rs,M.width,M.height))("showLegend",M.legend)("legendOptions",M.legendOptions)("activeEntries",M.activeEntries)("animations",M.animations),e.R7$(),e.BMQ("transform",M.transform),e.R7$(),e.Y8G("xScale",M.groupScale)("yScale",M.valueScale)("data",M.results)("dims",M.dims)("orient",M.barOrientation.Vertical),e.R7$(),e.Y8G("ngIf",M.xAxis),e.R7$(),e.Y8G("ngIf",M.yAxis),e.R7$(),e.Y8G("ngIf",!M.isSSR),e.R7$(),e.Y8G("ngIf",M.isSSR))},dependencies:[Y1,fm,dm,od,du,t.bT,t.Sq],styles:[bl],encapsulation:2,data:{animation:[(0,f.hZ)("animationState",[(0,f.kY)(":leave",[(0,f.iF)({opacity:1,transform:"*"}),(0,f.i0)(500,(0,f.iF)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}),u})(),_3=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})();_l();let d2=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),ym=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),y6=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),wm=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})();Math;let x3=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),C3=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec,x3,wm]]}),u})(),T6=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),L6=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),K1=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec,x3,_3]]}),u})(),Rm=(()=>{class u{}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[ec]]}),u})(),D6=(()=>{class u{constructor(){!function Im(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[ec,lu,_3,d2,ym,y6,Rm,wm,C3,T6,x3,L6,K1]}),u})()},8288:(Qe,te,g)=>{"use strict";g.d(te,{Um:()=>h,XK:()=>S});var e=g(467),t=g(4438),x=g(177),D=g(8314);function l(y,O){if(1&y&&t.nrm(0,"canvas",1),2&y){const I=t.XpG();t.HbH(I.styleClass),t.Y8G("qrCode",I.value)("qrCodeErrorCorrectionLevel",I.errorCorrectionLevel)("qrCodeCenterImageSrc",I.centerImageSrc)("qrCodeCenterImageWidth",I.centerImageSize)("qrCodeCenterImageHeight",I.centerImageSize)("qrCodeMargin",I.margin)("width",I.size)("height",I.size)("ngStyle",I.style)("darkColor",I.darkColor)("lightColor",I.lightColor)}}const w=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let f=(()=>{class y{static{this.DEFAULT_ERROR_CORRECTION_LEVEL="M"}static{this.DEFAULT_CENTER_IMAGE_SIZE=40}constructor(I){this.viewContainerRef=I,this.errorCorrectionLevel=y.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var I=this;return(0,e.A)(function*(){if(!I.value)return;I.version&&I.version>40?(console.warn("[qrCode] max version is 40, clamping"),I.version=40):I.version&&I.version<1?(console.warn("[qrCode] min version is 1, clamping"),I.version=1):void 0!==I.version&&isNaN(I.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),I.version=void 0);const V=I.viewContainerRef.element.nativeElement;if(!V)return;const j=V.getContext("2d");j&&j.clearRect(0,0,j.canvas.width,j.canvas.height);const Y=I.errorCorrectionLevel??y.DEFAULT_ERROR_CORRECTION_LEVEL,W=w.test(I.darkColor)?I.darkColor:void 0,Q=w.test(I.lightColor)?I.lightColor:void 0;(0,t.naY)()&&(!W&&I.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!Q&&I.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield D.toCanvas(V,I.value,{version:I.version,errorCorrectionLevel:Y,width:I.width,margin:I.margin,color:{dark:W,light:Q}});const J=I.centerImageSrc,ie=R(I.centerImageWidth,y.DEFAULT_CENTER_IMAGE_SIZE),ee=R(I.centerImageHeight,y.DEFAULT_CENTER_IMAGE_SIZE);if(J&&j){I.centerImage||(I.centerImage=new Image(ie,ee));const fe=I.centerImage;J!==I.centerImage.src&&(fe.src=J),ie!==I.centerImage.width&&(fe.width=ie),ee!==I.centerImage.height&&(fe.height=ee);const ne=()=>{j.drawImage(fe,V.width/2-ie/2,V.height/2-ee/2,ie,ee)};fe.onload=ne,fe.complete&&ne()}})()}static{this.\u0275fac=function(V){return new(V||y)(t.rXU(t.c1b))}}static{this.\u0275dir=t.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:[t.OA$]})}}return y})();function R(y,O){return void 0===y||""===y?O:"string"==typeof y?parseInt(y,10):y}let h=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275cmp=t.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(V,j){1&V&&t.DNE(0,l,1,13,"canvas",0),2&V&&t.vxM(j.value?0:-1)},dependencies:[x.B3,f],encapsulation:2})}}return y})(),S=(()=>{class y{static{this.\u0275fac=function(V){return new(V||y)}}static{this.\u0275mod=t.$C({type:y})}static{this.\u0275inj=t.G2t({imports:[x.MD]})}}return y})()},497:(Qe,te,g)=>{"use strict";g.d(te,{kU:()=>Tt,ZF:()=>Re,Ld:()=>Z,U$:()=>pt});var e=g(1413),t=g(3726),x=g(7786),D=g(3798),l=g(6977),w=g(3294),f=g(3703),R=g(4438),h=g(177);function S(Ke){return getComputedStyle(Ke)}function y(Ke,Fe){for(var Ge in Fe){var qe=Fe[Ge];"number"==typeof qe&&(qe+="px"),Ke.style[Ge]=qe}return Ke}function O(Ke){var Fe=document.createElement("div");return Fe.className=Ke,Fe}var I=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function V(Ke,Fe){if(!I)throw new Error("No element matching method supported");return I.call(Ke,Fe)}function j(Ke){Ke.remove?Ke.remove():Ke.parentNode&&Ke.parentNode.removeChild(Ke)}function Y(Ke,Fe){return Array.prototype.filter.call(Ke.children,function(Ge){return V(Ge,Fe)})}var W={main:"ps",rtl:"ps__rtl",element:{thumb:function(Ke){return"ps__thumb-"+Ke},rail:function(Ke){return"ps__rail-"+Ke},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(Ke){return"ps--active-"+Ke},scrolling:function(Ke){return"ps--scrolling-"+Ke}}},Q={x:null,y:null};function J(Ke,Fe){var Ge=Ke.element.classList,qe=W.state.scrolling(Fe);Ge.contains(qe)?clearTimeout(Q[Fe]):Ge.add(qe)}function ie(Ke,Fe){Q[Fe]=setTimeout(function(){return Ke.isAlive&&Ke.element.classList.remove(W.state.scrolling(Fe))},Ke.settings.scrollingThreshold)}var fe=function(Fe){this.element=Fe,this.handlers={}},ne={isEmpty:{configurable:!0}};fe.prototype.bind=function(Fe,Ge){typeof this.handlers[Fe]>"u"&&(this.handlers[Fe]=[]),this.handlers[Fe].push(Ge),this.element.addEventListener(Fe,Ge,!1)},fe.prototype.unbind=function(Fe,Ge){var qe=this;this.handlers[Fe]=this.handlers[Fe].filter(function(at){return!(!Ge||at===Ge)||(qe.element.removeEventListener(Fe,at,!1),!1)})},fe.prototype.unbindAll=function(){for(var Fe in this.handlers)this.unbind(Fe)},ne.isEmpty.get=function(){var Ke=this;return Object.keys(this.handlers).every(function(Fe){return 0===Ke.handlers[Fe].length})},Object.defineProperties(fe.prototype,ne);var Me=function(){this.eventElements=[]};function Ce(Ke){if("function"==typeof window.CustomEvent)return new CustomEvent(Ke);var Fe=document.createEvent("CustomEvent");return Fe.initCustomEvent(Ke,!1,!1,void 0),Fe}function le(Ke,Fe,Ge,qe,at){var Lt;if(void 0===qe&&(qe=!0),void 0===at&&(at=!1),"top"===Fe)Lt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==Fe)throw new Error("A proper axis should be provided");Lt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function T(Ke,Fe,Ge,qe,at){var Lt=Ge[0],pi=Ge[1],$t=Ge[2],Kt=Ge[3],Ui=Ge[4],ti=Ge[5];void 0===qe&&(qe=!0),void 0===at&&(at=!1);var fi=Ke.element;Ke.reach[Kt]=null,fi[$t]<1&&(Ke.reach[Kt]="start"),fi[$t]>Ke[Lt]-Ke[pi]-1&&(Ke.reach[Kt]="end"),Fe&&(fi.dispatchEvent(Ce("ps-scroll-"+Kt)),Fe<0?fi.dispatchEvent(Ce("ps-scroll-"+Ui)):Fe>0&&fi.dispatchEvent(Ce("ps-scroll-"+ti)),qe&&function ee(Ke,Fe){J(Ke,Fe),ie(Ke,Fe)}(Ke,Kt)),Ke.reach[Kt]&&(Fe||at)&&fi.dispatchEvent(Ce("ps-"+Kt+"-reach-"+Ke.reach[Kt]))}(Ke,Ge,Lt,qe,at)}function n(Ke){return parseInt(Ke,10)||0}Me.prototype.eventElement=function(Fe){var Ge=this.eventElements.filter(function(qe){return qe.element===Fe})[0];return Ge||(Ge=new fe(Fe),this.eventElements.push(Ge)),Ge},Me.prototype.bind=function(Fe,Ge,qe){this.eventElement(Fe).bind(Ge,qe)},Me.prototype.unbind=function(Fe,Ge,qe){var at=this.eventElement(Fe);at.unbind(Ge,qe),at.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(at),1)},Me.prototype.unbindAll=function(){this.eventElements.forEach(function(Fe){return Fe.unbindAll()}),this.eventElements=[]},Me.prototype.once=function(Fe,Ge,qe){var at=this.eventElement(Fe),Lt=function(pi){at.unbind(Ge,Lt),qe(pi)};at.bind(Ge,Lt)};var d={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 C(Ke){var Fe=Ke.element,Ge=Math.floor(Fe.scrollTop),qe=Fe.getBoundingClientRect();Ke.containerWidth=Math.round(qe.width),Ke.containerHeight=Math.round(qe.height),Ke.contentWidth=Fe.scrollWidth,Ke.contentHeight=Fe.scrollHeight,Fe.contains(Ke.scrollbarXRail)||(Y(Fe,W.element.rail("x")).forEach(function(at){return j(at)}),Fe.appendChild(Ke.scrollbarXRail)),Fe.contains(Ke.scrollbarYRail)||(Y(Fe,W.element.rail("y")).forEach(function(at){return j(at)}),Fe.appendChild(Ke.scrollbarYRail)),!Ke.settings.suppressScrollX&&Ke.containerWidth+Ke.settings.scrollXMarginOffset=Ke.railXWidth-Ke.scrollbarXWidth&&(Ke.scrollbarXLeft=Ke.railXWidth-Ke.scrollbarXWidth),Ke.scrollbarYTop>=Ke.railYHeight-Ke.scrollbarYHeight&&(Ke.scrollbarYTop=Ke.railYHeight-Ke.scrollbarYHeight),function k(Ke,Fe){var Ge={width:Fe.railXWidth},qe=Math.floor(Ke.scrollTop);Ge.left=Fe.isRtl?Fe.negativeScrollAdjustment+Ke.scrollLeft+Fe.containerWidth-Fe.contentWidth:Ke.scrollLeft,Fe.isScrollbarXUsingBottom?Ge.bottom=Fe.scrollbarXBottom-qe:Ge.top=Fe.scrollbarXTop+qe,y(Fe.scrollbarXRail,Ge);var at={top:qe,height:Fe.railYHeight};Fe.isScrollbarYUsingRight?at.right=Fe.isRtl?Fe.contentWidth-(Fe.negativeScrollAdjustment+Ke.scrollLeft)-Fe.scrollbarYRight-Fe.scrollbarYOuterWidth-9:Fe.scrollbarYRight-Ke.scrollLeft:at.left=Fe.isRtl?Fe.negativeScrollAdjustment+Ke.scrollLeft+2*Fe.containerWidth-Fe.contentWidth-Fe.scrollbarYLeft-Fe.scrollbarYOuterWidth:Fe.scrollbarYLeft+Ke.scrollLeft,y(Fe.scrollbarYRail,at),y(Fe.scrollbarX,{left:Fe.scrollbarXLeft,width:Fe.scrollbarXWidth-Fe.railBorderXWidth}),y(Fe.scrollbarY,{top:Fe.scrollbarYTop,height:Fe.scrollbarYHeight-Fe.railBorderYWidth})}(Fe,Ke),Ke.scrollbarXActive?Fe.classList.add(W.state.active("x")):(Fe.classList.remove(W.state.active("x")),Ke.scrollbarXWidth=0,Ke.scrollbarXLeft=0,Fe.scrollLeft=!0===Ke.isRtl?Ke.contentWidth:0),Ke.scrollbarYActive?Fe.classList.add(W.state.active("y")):(Fe.classList.remove(W.state.active("y")),Ke.scrollbarYHeight=0,Ke.scrollbarYTop=0,Fe.scrollTop=0)}function A(Ke,Fe){return Ke.settings.minScrollbarLength&&(Fe=Math.max(Fe,Ke.settings.minScrollbarLength)),Ke.settings.maxScrollbarLength&&(Fe=Math.min(Fe,Ke.settings.maxScrollbarLength)),Fe}function b(Ke,Fe){var Ge=Fe[0],qe=Fe[1],at=Fe[2],Lt=Fe[3],pi=Fe[4],$t=Fe[5],Kt=Fe[6],Ui=Fe[7],ti=Fe[8],fi=Ke.element,xn=null,tn=null,Vi=null;function Qi(tt){tt.touches&&tt.touches[0]&&(tt[at]=tt.touches[0].pageY),fi[Kt]=xn+Vi*(tt[at]-tn),J(Ke,Ui),C(Ke),tt.stopPropagation(),tt.type.startsWith("touch")&&tt.changedTouches.length>1&&tt.preventDefault()}function Xt(){ie(Ke,Ui),Ke[ti].classList.remove(W.state.clicking),Ke.event.unbind(Ke.ownerDocument,"mousemove",Qi)}function St(tt,ot){xn=fi[Kt],ot&&tt.touches&&(tt[at]=tt.touches[0].pageY),tn=tt[at],Vi=(Ke[qe]-Ke[Ge])/(Ke[Lt]-Ke[$t]),ot?Ke.event.bind(Ke.ownerDocument,"touchmove",Qi):(Ke.event.bind(Ke.ownerDocument,"mousemove",Qi),Ke.event.once(Ke.ownerDocument,"mouseup",Xt),tt.preventDefault()),Ke[ti].classList.add(W.state.clicking),tt.stopPropagation()}Ke.event.bind(Ke[pi],"mousedown",function(tt){St(tt)}),Ke.event.bind(Ke[pi],"touchstart",function(tt){St(tt,!0)})}var ze={"click-rail":function _(Ke){Ke.event.bind(Ke.scrollbarY,"mousedown",function(Ge){return Ge.stopPropagation()}),Ke.event.bind(Ke.scrollbarYRail,"mousedown",function(Ge){var qe=Ge.pageY-window.pageYOffset-Ke.scrollbarYRail.getBoundingClientRect().top;Ke.element.scrollTop+=(qe>Ke.scrollbarYTop?1:-1)*Ke.containerHeight,C(Ke),Ge.stopPropagation()}),Ke.event.bind(Ke.scrollbarX,"mousedown",function(Ge){return Ge.stopPropagation()}),Ke.event.bind(Ke.scrollbarXRail,"mousedown",function(Ge){var qe=Ge.pageX-window.pageXOffset-Ke.scrollbarXRail.getBoundingClientRect().left;Ke.element.scrollLeft+=(qe>Ke.scrollbarXLeft?1:-1)*Ke.containerWidth,C(Ke),Ge.stopPropagation()})},"drag-thumb":function a(Ke){b(Ke,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),b(Ke,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function z(Ke){var Fe=Ke.element;Ke.event.bind(Ke.ownerDocument,"keydown",function(Lt){if(!(Lt.isDefaultPrevented&&Lt.isDefaultPrevented()||Lt.defaultPrevented)&&(V(Fe,":hover")||V(Ke.scrollbarX,":focus")||V(Ke.scrollbarY,":focus"))){var pi=document.activeElement?document.activeElement:Ke.ownerDocument.activeElement;if(pi){if("IFRAME"===pi.tagName)pi=pi.contentDocument.activeElement;else for(;pi.shadowRoot;)pi=pi.shadowRoot.activeElement;if(function c(Ke){return V(Ke,"input,[contenteditable]")||V(Ke,"select,[contenteditable]")||V(Ke,"textarea,[contenteditable]")||V(Ke,"button,[contenteditable]")}(pi))return}var $t=0,Kt=0;switch(Lt.which){case 37:$t=Lt.metaKey?-Ke.contentWidth:Lt.altKey?-Ke.containerWidth:-30;break;case 38:Kt=Lt.metaKey?Ke.contentHeight:Lt.altKey?Ke.containerHeight:30;break;case 39:$t=Lt.metaKey?Ke.contentWidth:Lt.altKey?Ke.containerWidth:30;break;case 40:Kt=Lt.metaKey?-Ke.contentHeight:Lt.altKey?-Ke.containerHeight:-30;break;case 32:Kt=Lt.shiftKey?Ke.containerHeight:-Ke.containerHeight;break;case 33:Kt=Ke.containerHeight;break;case 34:Kt=-Ke.containerHeight;break;case 36:Kt=Ke.contentHeight;break;case 35:Kt=-Ke.contentHeight;break;default:return}Ke.settings.suppressScrollX&&0!==$t||Ke.settings.suppressScrollY&&0!==Kt||(Fe.scrollTop-=Kt,Fe.scrollLeft+=$t,C(Ke),function at(Lt,pi){var $t=Math.floor(Fe.scrollTop);if(0===Lt){if(!Ke.scrollbarYActive)return!1;if(0===$t&&pi>0||$t>=Ke.contentHeight-Ke.containerHeight&&pi<0)return!Ke.settings.wheelPropagation}var Kt=Fe.scrollLeft;if(0===pi){if(!Ke.scrollbarXActive)return!1;if(0===Kt&&Lt<0||Kt>=Ke.contentWidth-Ke.containerWidth&&Lt>0)return!Ke.settings.wheelPropagation}return!0}($t,Kt)&&Lt.preventDefault())}})},wheel:function N(Ke){var Fe=Ke.element;function Lt(pi){var $t=function qe(pi){var $t=pi.deltaX,Kt=-1*pi.deltaY;return(typeof $t>"u"||typeof Kt>"u")&&($t=-1*pi.wheelDeltaX/6,Kt=pi.wheelDeltaY/6),pi.deltaMode&&1===pi.deltaMode&&($t*=10,Kt*=10),$t!=$t&&Kt!=Kt&&($t=0,Kt=pi.wheelDelta),pi.shiftKey?[-Kt,-$t]:[$t,Kt]}(pi),Kt=$t[0],Ui=$t[1];if(!function at(pi,$t,Kt){if(!d.isWebKit&&Fe.querySelector("select:focus"))return!0;if(!Fe.contains(pi))return!1;for(var Ui=pi;Ui&&Ui!==Fe;){if(Ui.classList.contains(W.element.consuming))return!0;var ti=S(Ui);if(Kt&&ti.overflowY.match(/(scroll|auto)/)){var fi=Ui.scrollHeight-Ui.clientHeight;if(fi>0&&(Ui.scrollTop>0&&Kt<0||Ui.scrollTop0))return!0}if($t&&ti.overflowX.match(/(scroll|auto)/)){var xn=Ui.scrollWidth-Ui.clientWidth;if(xn>0&&(Ui.scrollLeft>0&&$t<0||Ui.scrollLeft0))return!0}Ui=Ui.parentNode}return!1}(pi.target,Kt,Ui)){var ti=!1;Ke.settings.useBothWheelAxes?Ke.scrollbarYActive&&!Ke.scrollbarXActive?(Ui?Fe.scrollTop-=Ui*Ke.settings.wheelSpeed:Fe.scrollTop+=Kt*Ke.settings.wheelSpeed,ti=!0):Ke.scrollbarXActive&&!Ke.scrollbarYActive&&(Kt?Fe.scrollLeft+=Kt*Ke.settings.wheelSpeed:Fe.scrollLeft-=Ui*Ke.settings.wheelSpeed,ti=!0):(Fe.scrollTop-=Ui*Ke.settings.wheelSpeed,Fe.scrollLeft+=Kt*Ke.settings.wheelSpeed),C(Ke),ti=ti||function Ge(pi,$t){var Kt=Math.floor(Fe.scrollTop),Ui=0===Fe.scrollTop,ti=Kt+Fe.offsetHeight===Fe.scrollHeight,fi=0===Fe.scrollLeft,xn=Fe.scrollLeft+Fe.offsetWidth===Fe.scrollWidth;return!(Math.abs($t)>Math.abs(pi)?Ui||ti:fi||xn)||!Ke.settings.wheelPropagation}(Kt,Ui),ti&&!pi.ctrlKey&&(pi.stopPropagation(),pi.preventDefault())}}typeof window.onwheel<"u"?Ke.event.bind(Fe,"wheel",Lt):typeof window.onmousewheel<"u"&&Ke.event.bind(Fe,"mousewheel",Lt)},touch:function q(Ke){if(d.supportsTouch||d.supportsIePointer){var Fe=Ke.element,at={},Lt=0,pi={},$t=null;d.supportsTouch?(Ke.event.bind(Fe,"touchstart",ti),Ke.event.bind(Fe,"touchmove",xn),Ke.event.bind(Fe,"touchend",tn)):d.supportsIePointer&&(window.PointerEvent?(Ke.event.bind(Fe,"pointerdown",ti),Ke.event.bind(Fe,"pointermove",xn),Ke.event.bind(Fe,"pointerup",tn)):window.MSPointerEvent&&(Ke.event.bind(Fe,"MSPointerDown",ti),Ke.event.bind(Fe,"MSPointerMove",xn),Ke.event.bind(Fe,"MSPointerUp",tn)))}function qe(Vi,Qi){Fe.scrollTop-=Qi,Fe.scrollLeft-=Vi,C(Ke)}function Kt(Vi){return Vi.targetTouches?Vi.targetTouches[0]:Vi}function Ui(Vi){return!(Vi.pointerType&&"pen"===Vi.pointerType&&0===Vi.buttons||!(Vi.targetTouches&&1===Vi.targetTouches.length||Vi.pointerType&&"mouse"!==Vi.pointerType&&Vi.pointerType!==Vi.MSPOINTER_TYPE_MOUSE))}function ti(Vi){if(Ui(Vi)){var Qi=Kt(Vi);at.pageX=Qi.pageX,at.pageY=Qi.pageY,Lt=(new Date).getTime(),null!==$t&&clearInterval($t)}}function xn(Vi){if(Ui(Vi)){var Qi=Kt(Vi),Xt={pageX:Qi.pageX,pageY:Qi.pageY},St=Xt.pageX-at.pageX,tt=Xt.pageY-at.pageY;if(function fi(Vi,Qi,Xt){if(!Fe.contains(Vi))return!1;for(var St=Vi;St&&St!==Fe;){if(St.classList.contains(W.element.consuming))return!0;var tt=S(St);if(Xt&&tt.overflowY.match(/(scroll|auto)/)){var ot=St.scrollHeight-St.clientHeight;if(ot>0&&(St.scrollTop>0&&Xt<0||St.scrollTop0))return!0}if(Qi&&tt.overflowX.match(/(scroll|auto)/)){var Mt=St.scrollWidth-St.clientWidth;if(Mt>0&&(St.scrollLeft>0&&Qi<0||St.scrollLeft0))return!0}St=St.parentNode}return!1}(Vi.target,St,tt))return;qe(St,tt),at=Xt;var ot=(new Date).getTime(),Mt=ot-Lt;Mt>0&&(pi.x=St/Mt,pi.y=tt/Mt,Lt=ot),function Ge(Vi,Qi){var Xt=Math.floor(Fe.scrollTop),St=Fe.scrollLeft,tt=Math.abs(Vi),ot=Math.abs(Qi);if(ot>tt){if(Qi<0&&Xt===Ke.contentHeight-Ke.containerHeight||Qi>0&&0===Xt)return 0===window.scrollY&&Qi>0&&d.isChrome}else if(tt>ot&&(Vi<0&&St===Ke.contentWidth-Ke.containerWidth||Vi>0&&0===St))return!0;return!0}(St,tt)&&Vi.preventDefault()}}function tn(){Ke.settings.swipeEasing&&(clearInterval($t),$t=setInterval(function(){Ke.isInitialized?clearInterval($t):pi.x||pi.y?Math.abs(pi.x)<.01&&Math.abs(pi.y)<.01?clearInterval($t):Ke.element?(qe(30*pi.x,30*pi.y),pi.x*=.8,pi.y*=.8):clearInterval($t):clearInterval($t)},10))}}},Xe=function(Fe,Ge){var qe=this;if(void 0===Ge&&(Ge={}),"string"==typeof Fe&&(Fe=document.querySelector(Fe)),!Fe||!Fe.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var at in this.element=Fe,Fe.classList.add(W.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},Ge)this.settings[at]=Ge[at];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var ti,Ui,Lt=function(){return Fe.classList.add(W.state.focus)},pi=function(){return Fe.classList.remove(W.state.focus)};this.isRtl="rtl"===S(Fe).direction,!0===this.isRtl&&Fe.classList.add(W.rtl),this.isNegativeScroll=(Ui=Fe.scrollLeft,Fe.scrollLeft=-1,ti=Fe.scrollLeft<0,Fe.scrollLeft=Ui,ti),this.negativeScrollAdjustment=this.isNegativeScroll?Fe.scrollWidth-Fe.clientWidth:0,this.event=new Me,this.ownerDocument=Fe.ownerDocument||document,this.scrollbarXRail=O(W.element.rail("x")),Fe.appendChild(this.scrollbarXRail),this.scrollbarX=O(W.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Lt),this.event.bind(this.scrollbarX,"blur",pi),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var $t=S(this.scrollbarXRail);this.scrollbarXBottom=parseInt($t.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=n($t.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=n($t.borderLeftWidth)+n($t.borderRightWidth),y(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=n($t.marginLeft)+n($t.marginRight),y(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=O(W.element.rail("y")),Fe.appendChild(this.scrollbarYRail),this.scrollbarY=O(W.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Lt),this.event.bind(this.scrollbarY,"blur",pi),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var Kt=S(this.scrollbarYRail);this.scrollbarYRight=parseInt(Kt.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=n(Kt.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function m(Ke){var Fe=S(Ke);return n(Fe.width)+n(Fe.paddingLeft)+n(Fe.paddingRight)+n(Fe.borderLeftWidth)+n(Fe.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=n(Kt.borderTopWidth)+n(Kt.borderBottomWidth),y(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=n(Kt.marginTop)+n(Kt.marginBottom),y(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:Fe.scrollLeft<=0?"start":Fe.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:Fe.scrollTop<=0?"start":Fe.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Ui){return ze[Ui](qe)}),this.lastScrollTop=Math.floor(Fe.scrollTop),this.lastScrollLeft=Fe.scrollLeft,this.event.bind(this.element,"scroll",function(Ui){return qe.onScroll(Ui)}),C(this)};Xe.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(S(this.scrollbarXRail).marginLeft)+n(S(this.scrollbarXRail).marginRight),this.railYMarginHeight=n(S(this.scrollbarYRail).marginTop)+n(S(this.scrollbarYRail).marginBottom),y(this.scrollbarXRail,{display:"none"}),y(this.scrollbarYRail,{display:"none"}),C(this),le(this,"top",0,!1,!0),le(this,"left",0,!1,!0),y(this.scrollbarXRail,{display:""}),y(this.scrollbarYRail,{display:""}))},Xe.prototype.onScroll=function(Fe){this.isAlive&&(C(this),le(this,"top",this.element.scrollTop-this.lastScrollTop),le(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Xe.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),j(this.scrollbarX),j(this.scrollbarY),j(this.scrollbarXRail),j(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Xe.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(Fe){return!Fe.match(/^ps([-_].+|)$/)}).join(" ")};const We=Xe;var oe=function(){if(typeof Map<"u")return Map;function Ke(Fe,Ge){var qe=-1;return Fe.some(function(at,Lt){return at[0]===Ge&&(qe=Lt,!0)}),qe}return function(){function Fe(){this.__entries__=[]}return Object.defineProperty(Fe.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),Fe.prototype.get=function(Ge){var qe=Ke(this.__entries__,Ge),at=this.__entries__[qe];return at&&at[1]},Fe.prototype.set=function(Ge,qe){var at=Ke(this.__entries__,Ge);~at?this.__entries__[at][1]=qe:this.__entries__.push([Ge,qe])},Fe.prototype.delete=function(Ge){var qe=this.__entries__,at=Ke(qe,Ge);~at&&qe.splice(at,1)},Fe.prototype.has=function(Ge){return!!~Ke(this.__entries__,Ge)},Fe.prototype.clear=function(){this.__entries__.splice(0)},Fe.prototype.forEach=function(Ge,qe){void 0===qe&&(qe=null);for(var at=0,Lt=this.__entries__;at0},Ke.prototype.connect_=function(){!X||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ee?(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)},Ke.prototype.disconnect_=function(){!X||!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)},Ke.prototype.onTransitionEnd_=function(Fe){var Ge=Fe.propertyName,qe=void 0===Ge?"":Ge;me.some(function(Lt){return!!~qe.indexOf(Lt)})&&this.refresh()},Ke.getInstance=function(){return this.instance_||(this.instance_=new Ke),this.instance_},Ke.instance_=null,Ke}(),Be=function(Ke,Fe){for(var Ge=0,qe=Object.keys(Fe);Ge"u")&&Element instanceof Object){if(!(Fe instanceof Ct(Fe).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ge=this.observations_;Ge.has(Fe)||(Ge.set(Fe,new qt(Fe)),this.controller_.addObserver(this),this.controller_.refresh())}},Ke.prototype.unobserve=function(Fe){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(Fe instanceof Ct(Fe).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ge=this.observations_;Ge.has(Fe)&&(Ge.delete(Fe),Ge.size||this.controller_.removeObserver(this))}},Ke.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},Ke.prototype.gatherActive=function(){var Fe=this;this.clearActive(),this.observations_.forEach(function(Ge){Ge.isActive()&&Fe.activeObservations_.push(Ge)})},Ke.prototype.broadcastActive=function(){if(this.hasActive()){var Fe=this.callbackCtx_,Ge=this.activeObservations_.map(function(qe){return new Nt(qe.target,qe.broadcastRect())});this.callback_.call(Fe,Ge,Fe),this.clearActive()}},Ke.prototype.clearActive=function(){this.activeObservations_.splice(0)},Ke.prototype.hasActive=function(){return this.activeObservations_.length>0},Ke}(),jt=typeof WeakMap<"u"?new WeakMap:new oe,Je=function(){return function Ke(Fe){if(!(this instanceof Ke))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Ge=ue.getInstance(),qe=new yt(Fe,Ge,this);jt.set(this,qe)}}();["observe","unobserve","disconnect"].forEach(function(Ke){Je.prototype[Ke]=function(){var Fe;return(Fe=jt.get(this))[Ke].apply(Fe,arguments)}});const Ae=typeof se.ResizeObserver<"u"?se.ResizeObserver:Je,It=["*"];function Qt(Ke,Fe){if(1&Ke&&(R.j41(0,"div",3),R.nrm(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),R.k0s()),2&Ke){const Ge=R.XpG();R.AVh("ps-at-top",Ge.states.top)("ps-at-left",Ge.states.left)("ps-at-right",Ge.states.right)("ps-at-bottom",Ge.states.bottom),R.R7$(),R.AVh("ps-indicator-show",Ge.indicatorY&&Ge.interaction),R.R7$(),R.AVh("ps-indicator-show",Ge.indicatorX&&Ge.interaction),R.R7$(),R.AVh("ps-indicator-show",Ge.indicatorX&&Ge.interaction),R.R7$(),R.AVh("ps-indicator-show",Ge.indicatorY&&Ge.interaction)}}const Tt=new R.nKC("PERFECT_SCROLLBAR_CONFIG");class xt{constructor(Fe,Ge,qe,at){this.x=Fe,this.y=Ge,this.w=qe,this.h=at}}class Se{constructor(Fe,Ge){this.x=Fe,this.y=Ge}}const Te=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class ce{constructor(Fe={}){this.assign(Fe)}assign(Fe={}){for(const Ge in Fe)this[Ge]=Fe[Ge]}}let Z=(()=>{class Ke{constructor(Ge,qe,at,Lt,pi){this.zone=Ge,this.differs=qe,this.elementRef=at,this.platformId=Lt,this.defaults=pi,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new e.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,h.UE)(this.platformId)){const Ge=new ce(this.defaults);Ge.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new We(this.elementRef.nativeElement,Ge)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new Ae(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{Te.forEach(qe=>{const at=qe.replace(/([A-Z])/g,Lt=>`-${Lt.toLowerCase()}`);(0,t.R)(this.elementRef.nativeElement,at).pipe((0,D.Z)(20),(0,l.Q)(this.ngDestroy)).subscribe(Lt=>{this[qe].emit(Lt)})})})}}ngOnDestroy(){(0,h.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,h.UE)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(Ge){Ge.disabled&&!Ge.disabled.isFirstChange()&&(0,h.UE)(this.platformId)&&Ge.disabled.currentValue!==Ge.disabled.previousValue&&(!0===Ge.disabled.currentValue?this.ngOnDestroy():!1===Ge.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(Ge="scroll"){return new xt(this.elementRef.nativeElement[Ge+"Left"],this.elementRef.nativeElement[Ge+"Top"],this.elementRef.nativeElement[Ge+"Width"],this.elementRef.nativeElement[Ge+"Height"])}position(Ge=!1){return!Ge&&this.instance?new Se(this.instance.reach.x||0,this.instance.reach.y||0):new Se(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(Ge="any"){const qe=this.elementRef.nativeElement;return"any"===Ge?qe.classList.contains("ps--active-x")||qe.classList.contains("ps--active-y"):"both"===Ge?qe.classList.contains("ps--active-x")&&qe.classList.contains("ps--active-y"):qe.classList.contains("ps--active-"+Ge)}scrollTo(Ge,qe,at){this.disabled||(null==qe&&null==at?this.animateScrolling("scrollTop",Ge,at):(null!=Ge&&this.animateScrolling("scrollLeft",Ge,at),null!=qe&&this.animateScrolling("scrollTop",qe,at)))}scrollToX(Ge,qe){this.animateScrolling("scrollLeft",Ge,qe)}scrollToY(Ge,qe){this.animateScrolling("scrollTop",Ge,qe)}scrollToTop(Ge,qe){this.animateScrolling("scrollTop",Ge||0,qe)}scrollToLeft(Ge,qe){this.animateScrolling("scrollLeft",Ge||0,qe)}scrollToRight(Ge,qe){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(Ge||0),qe)}scrollToBottom(Ge,qe){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(Ge||0),qe)}scrollToElement(Ge,qe,at){if("string"==typeof Ge&&(Ge=this.elementRef.nativeElement.querySelector(Ge)),Ge){const Lt=Ge.getBoundingClientRect(),pi=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",Lt.left-pi.left+this.elementRef.nativeElement.scrollLeft+(qe||0),at),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",Lt.top-pi.top+this.elementRef.nativeElement.scrollTop+(qe||0),at)}}animateScrolling(Ge,qe,at){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!at||typeof window>"u")this.elementRef.nativeElement[Ge]=qe;else if(qe!==this.elementRef.nativeElement[Ge]){let Lt=0,pi=0,$t=performance.now(),Kt=this.elementRef.nativeElement[Ge];const Ui=(Kt-qe)/2,ti=fi=>{pi+=Math.PI/(at/(fi-$t)),Lt=Math.round(qe+Ui+Ui*Math.cos(pi)),this.elementRef.nativeElement[Ge]===Kt&&(pi>=Math.PI?this.animateScrolling(Ge,qe,0):(this.elementRef.nativeElement[Ge]=Lt,Kt=this.elementRef.nativeElement[Ge],$t=fi,this.animation=window.requestAnimationFrame(ti)))};window.requestAnimationFrame(ti)}}}return Ke.\u0275fac=function(Ge){return new(Ge||Ke)(R.rXU(R.SKi),R.rXU(R.MKu),R.rXU(R.aKT),R.rXU(R.Agw),R.rXU(Tt,8))},Ke.\u0275dir=R.FsC({type:Ke,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$]}),Ke})(),Re=(()=>{class Ke{constructor(Ge,qe,at){this.zone=Ge,this.cdRef=qe,this.platformId=at,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new e.B,this.stateUpdate=new e.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,h.UE)(this.platformId)&&(this.stateUpdate.pipe((0,l.Q)(this.ngDestroy),(0,w.F)((Ge,qe)=>Ge===qe&&!this.stateTimeout)).subscribe(Ge=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===Ge||"y"===Ge?(this.interaction=!1,"x"===Ge?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===Ge&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===Ge||"right"===Ge?(this.states.left=!1,this.states.right=!1,this.states[Ge]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===Ge||"bottom"===Ge)&&(this.states.top=!1,this.states.bottom=!1,this.states[Ge]=!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 Ge=this.directiveRef.elementRef.nativeElement;(0,t.R)(Ge,"wheel").pipe((0,l.Q)(this.ngDestroy)).subscribe(qe=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(qe,qe.deltaX,qe.deltaY)}),(0,t.R)(Ge,"touchmove").pipe((0,l.Q)(this.ngDestroy)).subscribe(qe=>{if(!this.disabled&&this.autoPropagation){const at=qe.touches[0].clientX,Lt=qe.touches[0].clientY;this.checkPropagation(qe,at-this.scrollPositionX,Lt-this.scrollPositionY),this.scrollPositionX=at,this.scrollPositionY=Lt}}),(0,x.h)((0,t.R)(Ge,"ps-scroll-x").pipe((0,f.u)("x")),(0,t.R)(Ge,"ps-scroll-y").pipe((0,f.u)("y")),(0,t.R)(Ge,"ps-x-reach-end").pipe((0,f.u)("right")),(0,t.R)(Ge,"ps-y-reach-end").pipe((0,f.u)("bottom")),(0,t.R)(Ge,"ps-x-reach-start").pipe((0,f.u)("left")),(0,t.R)(Ge,"ps-y-reach-start").pipe((0,f.u)("top"))).pipe((0,l.Q)(this.ngDestroy)).subscribe(qe=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(qe)})}}),window.setTimeout(()=>{Te.forEach(Ge=>{this.directiveRef&&(this.directiveRef[Ge]=this[Ge])})},0))}ngOnDestroy(){(0,h.UE)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,h.UE)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const Ge=this.directiveRef.elementRef.nativeElement;this.usePropagationX=Ge.classList.contains("ps--active-x"),this.usePropagationY=Ge.classList.contains("ps--active-y")}}checkPropagation(Ge,qe,at){this.interaction=!0;const Lt=qe<0?-1:1,pi=at<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Lt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==pi))&&(Ge.preventDefault(),Ge.stopPropagation()),qe&&(this.scrollDirectionX=Lt),at&&(this.scrollDirectionY=pi),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return Ke.\u0275fac=function(Ge){return new(Ge||Ke)(R.rXU(R.SKi),R.rXU(R.gRc),R.rXU(R.Agw))},Ke.\u0275cmp=R.VBU({type:Ke,selectors:[["perfect-scrollbar"]],viewQuery:function(Ge,qe){if(1&Ge&&R.GBs(Z,7),2&Ge){let at;R.mGM(at=R.lsd())&&(qe.directiveRef=at.first)}},hostVars:4,hostBindings:function(Ge,qe){2&Ge&&R.AVh("ps-show-limits",qe.autoPropagation)("ps-show-active",qe.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:It,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(Ge,qe){1&Ge&&(R.NAR(),R.j41(0,"div",0)(1,"div",1),R.SdG(2),R.k0s(),R.DNE(3,Qt,5,16,"div",2),R.k0s()),2&Ge&&(R.AVh("ps",qe.usePSClass),R.Y8G("perfectScrollbar",qe.config)("disabled",qe.disabled),R.R7$(3),R.Y8G("ngIf",qe.scrollIndicators))},dependencies:[Z,h.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}),Ke})(),pt=(()=>{class Ke{}return Ke.\u0275fac=function(Ge){return new(Ge||Ke)},Ke.\u0275mod=R.$C({type:Ke}),Ke.\u0275inj=R.G2t({imports:[[h.MD],h.MD]}),Ke})()},467:(Qe,te,g)=>{"use strict";function e(x,D,l,w,f,R,h){try{var S=x[R](h),y=S.value}catch(O){return void l(O)}S.done?D(y):Promise.resolve(y).then(w,f)}function t(x){return function(){var D=this,l=arguments;return new Promise(function(w,f){var R=x.apply(D,l);function h(y){e(R,w,f,h,S,"next",y)}function S(y){e(R,w,f,h,S,"throw",y)}h(void 0)})}}g.d(te,{A:()=>t})},1635:(Qe,te,g)=>{"use strict";function l(z,N,q,pe){var We,ze=arguments.length,Xe=ze<3?N:null===pe?pe=Object.getOwnPropertyDescriptor(N,q):pe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Xe=Reflect.decorate(z,N,q,pe);else for(var oe=z.length-1;oe>=0;oe--)(We=z[oe])&&(Xe=(ze<3?We(Xe):ze>3?We(N,q,Xe):We(N,q))||Xe);return ze>3&&Xe&&Object.defineProperty(N,q,Xe),Xe}function O(z,N,q,pe){return new(q||(q=Promise))(function(Xe,We){function oe(ae){try{se(pe.next(ae))}catch(he){We(he)}}function X(ae){try{se(pe.throw(ae))}catch(he){We(he)}}function se(ae){ae.done?Xe(ae.value):function ze(Xe){return Xe instanceof q?Xe:new q(function(We){We(Xe)})}(ae.value).then(oe,X)}se((pe=pe.apply(z,N||[])).next())})}function ee(z){return this instanceof ee?(this.v=z,this):new ee(z)}function fe(z,N,q){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ze,pe=q.apply(z,N||[]),Xe=[];return ze=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),oe("next"),oe("throw"),oe("return",function We(st){return function(me){return Promise.resolve(me).then(st,he)}}),ze[Symbol.asyncIterator]=function(){return this},ze;function oe(st,me){pe[st]&&(ze[st]=function(Ee){return new Promise(function(ue,Be){Xe.push([st,Ee,ue,Be])>1||X(st,Ee)})},me&&(ze[st]=me(ze[st])))}function X(st,me){try{!function se(st){st.value instanceof ee?Promise.resolve(st.value.v).then(ae,he):Ie(Xe[0][2],st)}(pe[st](me))}catch(Ee){Ie(Xe[0][3],Ee)}}function ae(st){X("next",st)}function he(st){X("throw",st)}function Ie(st,me){st(me),Xe.shift(),Xe.length&&X(Xe[0][0],Xe[0][1])}}function Me(z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var q,N=z[Symbol.asyncIterator];return N?N.call(z):(z=function Y(z){var N="function"==typeof Symbol&&Symbol.iterator,q=N&&z[N],pe=0;if(q)return q.call(z);if(z&&"number"==typeof z.length)return{next:function(){return z&&pe>=z.length&&(z=void 0),{value:z&&z[pe++],done:!z}}};throw new TypeError(N?"Object is not iterable.":"Symbol.iterator is not defined.")}(z),q={},pe("next"),pe("throw"),pe("return"),q[Symbol.asyncIterator]=function(){return this},q);function pe(Xe){q[Xe]=z[Xe]&&function(We){return new Promise(function(oe,X){!function ze(Xe,We,oe,X){Promise.resolve(X).then(function(se){Xe({value:se,done:oe})},We)}(oe,X,(We=z[Xe](We)).done,We.value)})}}}g.d(te,{AQ:()=>fe,Cg:()=>l,N3:()=>ee,sH:()=>O,xN:()=>Me}),"function"==typeof SuppressedError&&SuppressedError},3219:Qe=>{"use strict";Qe.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:Qe=>{"use strict";Qe.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:Qe=>{"use strict";Qe.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:Qe=>{"use strict";Qe.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:Qe=>{"use strict";Qe.exports={rE:"6.6.0"}},5579:Qe=>{"use strict";Qe.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"}')}},Qe=>{Qe(Qe.s=3471)}]); \ No newline at end of file diff --git a/server/controllers/shared/RTLConf.ts b/server/controllers/shared/RTLConf.ts index ed0f0ed6c..7e3c7ae01 100644 --- a/server/controllers/shared/RTLConf.ts +++ b/server/controllers/shared/RTLConf.ts @@ -8,7 +8,7 @@ import { Database, DatabaseService } from '../../utils/database.js'; import { Logger, LoggerService } from '../../utils/logger.js'; import { Common, CommonService } from '../../utils/common.js'; import { WSServer } from '../../utils/webSocketServer.js'; -import { Authentication, SSO } from '../../models/config.model.js'; +import { Authentication } from '../../models/config.model.js'; const options = { url: '' }; const logger: LoggerService = Logger; @@ -116,7 +116,9 @@ export const getApplicationSettings = (req, res, next) => { if (err) { // Delete unnecessary data for initial response (without security token) const selNodeIdx = appConfData.nodes.findIndex((node) => node.index === appConfData.selectedNodeIndex) || 0; - appConfData.SSO = new SSO(); + delete appConfData.SSO.rtlCookiePath; + delete appConfData.SSO.cookieValue; + delete appConfData.SSO.logoutRedirectLink; appConfData.secret2FA = ''; appConfData.dbDirectoryPath = ''; appConfData.nodes[selNodeIdx].authentication = new Authentication(); diff --git a/src/app/app.component.ts b/src/app/app.component.ts index c082854a5..8515e47a6 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -98,7 +98,7 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy { } this.actions.pipe( takeUntil(this.unSubs[4]), - filter((action) => action.type === RTLActions.FETCH_APPLICATION_SETTINGS || action.type === RTLActions.LOGIN || action.type === RTLActions.LOGOUT)). + filter((action) => action.type === RTLActions.SET_APPLICATION_SETTINGS || action.type === RTLActions.LOGIN || action.type === RTLActions.LOGOUT)). subscribe((action: (any)) => { if (action.type === RTLActions.SET_APPLICATION_SETTINGS) { if (!this.sessionService.getItem('token')) {